1 2005-07-26 Tom Tromey <tromey@redhat.com>
3 * gnu/java/net/protocol/ftp/package.html,
4 gnu/javax/swing/text/html/package.html,
5 gnu/javax/swing/text/html/parser/package.html,
6 gnu/javax/swing/text/html/parser/models/package.html,
7 gnu/javax/swing/text/html/parser/support/package.html,
8 gnu/javax/swing/text/html/parser/support/low/package.html,
9 gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
10 gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
11 gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
12 java/awt/geom/doc-files/CubicCurve2D-1.png,
13 java/awt/geom/doc-files/CubicCurve2D-2.png,
14 java/awt/geom/doc-files/CubicCurve2D-3.png,
15 java/awt/geom/doc-files/CubicCurve2D-4.png,
16 java/awt/geom/doc-files/CubicCurve2D-5.png,
17 java/awt/geom/doc-files/Ellipse-1.png,
18 java/awt/geom/doc-files/FlatteningPathIterator-1.html,
19 java/awt/geom/doc-files/GeneralPath-1.png,
20 java/awt/geom/doc-files/QuadCurve2D-1.png,
21 java/awt/geom/doc-files/QuadCurve2D-2.png,
22 java/awt/geom/doc-files/QuadCurve2D-3.png,
23 java/awt/geom/doc-files/QuadCurve2D-4.png,
24 java/awt/geom/doc-files/QuadCurve2D-5.png,
25 javax/imageio/package.html, javax/imageio/event/package.html,
26 javax/imageio/metadata/package.html,
27 javax/imageio/spi/package.html, javax/imageio/stream/package.html,
28 javax/swing/border/doc-files/BevelBorder-1.png,
29 javax/swing/border/doc-files/BevelBorder-2.png,
30 javax/swing/border/doc-files/BevelBorder-3.png,
31 javax/swing/border/doc-files/EmptyBorder-1.png,
32 javax/swing/border/doc-files/EtchedBorder-1.png,
33 javax/swing/border/doc-files/EtchedBorder-2.png,
34 javax/swing/border/doc-files/LineBorder-1.png,
35 javax/swing/border/doc-files/MatteBorder-1.png,
36 javax/swing/border/doc-files/MatteBorder-2.png,
37 javax/swing/border/doc-files/MatteBorder-3.png,
38 javax/swing/border/doc-files/MatteBorder-4.png,
39 javax/swing/border/doc-files/MatteBorder-5.png,
40 javax/swing/border/doc-files/MatteBorder-6.png,
41 javax/swing/border/doc-files/SoftBevelBorder-1.png,
42 javax/swing/border/doc-files/SoftBevelBorder-2.png,
43 javax/swing/border/doc-files/SoftBevelBorder-3.png,
44 javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
45 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
46 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
47 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
48 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
49 javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
50 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
51 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
52 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
53 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
54 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
55 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
56 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
57 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
58 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
59 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
60 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
61 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
62 javax/swing/plaf/doc-files/ComponentUI-1.dia,
63 javax/swing/plaf/doc-files/ComponentUI-1.png,
64 javax/swing/plaf/doc-files/TreeUI-1.png,
65 javax/xml/datatype/package.html, javax/xml/namespace/package.html,
66 javax/xml/parsers/package.html, javax/xml/transform/package.html,
67 javax/xml/transform/dom/package.html,
68 javax/xml/transform/sax/package.html,
69 javax/xml/transform/stream/package.html,
70 javax/xml/validation/package.html, javax/xml/xpath/package.html:
73 2005-07-22 Tom Tromey <tromey@redhat.com>
75 * include/Makefile.in: Rebuilt.
76 * include/Makefile.am (tool_include__HEADERS): Include
79 2005-07-20 Tom Tromey <tromey@redhat.com>
81 * sources.am, Makefile.in: Rebuilt.
82 * Makefile.am (all_xlib_lo_files): Removed.
83 (all_libgcj_lo_files): Likewise.
84 (lib_gnu_awt_xlib_la_LIBADD): List correct .lo files.
85 (xlib_java_source_files): Removed.
86 (xlib_nat_headers): Updated.
88 * configure.ac: Create standard.omit.
89 * standard.omit.in: New file.
90 * standard.omit: Removed.
91 * scripts/makemake.tcl (gnu/gcj/xlib, gnu/awt/xlib): Now
93 (emit_package_rule): Special case xlib peers.
94 (emit_source_var): Likewise.
95 Read standard.omit.in.
96 * gnu/awt/xlib/XToolkit.java (createEmbeddedWindow): New method.
98 2005-07-18 Tom Tromey <tromey@redhat.com>
102 2005-07-19 Matthias Klose <doko@debian.org>
104 * classpath/java/awt/im/InputContext.java (clinit): Initialize
107 2005-07-18 Tom Tromey <tromey@redhat.com>
110 * sources.am, Makefile.in: Rebuilt.
111 * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
113 (emit_source_var): Don't emit patsubst with './'.
115 2005-07-18 Tom Tromey <tromey@redhat.com>
117 * Makefile.in: Rebuilt.
118 * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
120 2005-07-17 Andreas Jaeger <aj@suse.de>
122 * defineclass.cc (handleClassBegin): Remove unused variable.
124 2005-07-16 Andreas Schwab <schwab@suse.de>
126 * scripts/makemake.tcl (emit_package_rule): Emit command to create
128 * Makefile.am (%.lo): Don't create it here.
129 * sources.am, Makefile.in: Regenerated.
131 2005-07-15 Tom Tromey <tromey@redhat.com>
133 Major merge with Classpath.
134 Removed many duplicate files.
136 * classpath: Imported new directory.
137 * standard.omit: New file.
138 * Makefile.in, aclocal.m4, configure: Rebuilt.
139 * sources.am: New file.
140 * configure.ac: Run Classpath configure script. Moved code around
141 to support. Disable xlib AWT peers (temporarily).
142 * Makefile.am (SUBDIRS): Added 'classpath'
144 (AM_CPPFLAGS): Added more -I options.
145 (BOOTCLASSPATH): Simplified.
146 Completely redid how sources are built.
148 * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
149 * include/jni.h: Removed (in Classpath).
150 * scripts/classes.pl: Updated to look at built classes.
151 * scripts/makemake.tcl: New file.
152 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
154 (gcj_jni_invocation_compile_c_to_binary): Likewise.
156 2005-07-15 Scott Gilbertson <scottg@mantatest.com>
158 * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
159 (eventMask): New field.
160 (XCanvasPeer(Component)): Use attributes field.
161 (setBackground): Implemented.
162 (setEventMask): Process mask only if changed.
163 * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
164 (eventLoopThread): New field.
165 (XEventLoop(Display,EventQueue)): Start eventLoopThread.
166 (interrupt): Removed.
168 * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
169 and Component events.
170 * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
172 (configureNotify): Set and clear processingConfigureNotify.
173 (setBounds): Process only if processingConfigureNotify is false.
174 (toBack): Implemented.
175 (toFront): Implemented.
176 * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
177 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
179 * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
180 (wakeNativeQueue): Do nothing.
181 (iterateNativeQueue): Do queue.wait if blocking.
182 * gnu/gcj/xlib/Font.java (loadFont): New method.
183 (loadFontImpl): Renamed native method, was loadFont.
184 * gnu/gcj/xlib/Window.java (toFront): New method.
185 (toBack): New method.
186 * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was
188 * gnu/gcj/xlib/natWindow.cc (toBack): New method.
189 (toFront): New method.
190 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
192 2005-07-14 Andrew Haley <aph@redhat.com>
194 * gnu/java/net/protocol/file/Connection.java (unquote): New
196 (connect): Unquote filename.
197 gnu/java/net/protocol/jar/Connection.java (getInputStream):
199 (getJarFile): Likewise.
201 * java/net/URLConnection.java (getContentHandler): Guard cast with
204 * java/net/URL.java (URL): If the file part of a spec is absolute,
205 ignore the file part of its context.
207 2005-07-14 Aaron Luchko <aluchko@redhat.com>
209 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
210 Implemented VirtualMachine Command Set.
212 2005-07-14 Tom Tromey <tromey@redhat.com>
214 * java/lang/Class.java (getProtectionDomain): Merged javadoc from
217 2005-07-12 Aaron Luchko <aluchko@redhat.com>
219 * gnu/classpath/jdwp/processor/FieldCommandSet.java:
220 Implemented the Field CommandSet.
221 * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
222 Implemented the InterfaceType CommandSet.
224 2005-07-12 Aaron Luchko <aluchko@redhat.com>
226 * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
227 shutdown to jdwp instead of connection.
229 2005-07-12 Aaron Luchko <aluchko@redhat.com>
231 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
234 2005-07-08 Colin Walters <walters@verbum.org>
236 * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
237 check for abstract classes or interfaces here; JVM spec
238 says it should throw an exception, so we'll do so later.
239 * interpret.cc (run): Throw an InstantiationException for
240 abstract classes and interfaces.
242 2005-07-08 Andrew Haley <aph@redhat.com>
244 * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
245 (regular, non-realtime scheduling), not SCHED_RR (realtime,
248 2005-07-07 Aaron Luchko <aluchko@redhat.com>
250 * gnu/classpath/jdwp/util/Signature.java
251 (computeFieldSignature): New Method.
253 2005-07-07 Aaron Luchko <aluchko@redhat.com>
255 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
258 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
260 * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
261 6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
263 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
265 * testsuite/libjava.compile/PR21045.java: New test.
266 * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
267 15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
269 2005-07-06 Tom Tromey <tromey@redhat.com>
271 * java/io/InputStreamReader.java (refill): Handle no-progress
273 * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
275 2005-07-06 Tom Tromey <tromey@redhat.com>
277 * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
279 2005-07-05 Bryce McKinlay <mckinlay@redhat.com>
281 * testsuite/libjava.compile/PR19674.java: New test.
283 2005-07-05 Aaron Luchko <aluchko@redhat.com>
285 * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
288 2005-07-04 Aaron Luchko <aluchko@redhat.com>
290 * gnu/classpath/jdwp/processor/CommandSet.java: New file.
291 * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
292 CommandSets to handle JdwpCommandPackets.
293 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
296 2005-07-01 Tom Tromey <tromey@redhat.com>
298 * libtool-version: Updated.
300 2005-06-30 Aaron Luchko <aluchko@redhat.com>
302 * gnu/classpath/jdwp/util/JdwpString.java: New file.
304 2005-06-30 Keith Seitz <keiths@redhat.com>
306 * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
307 (myWrite): New abstract method.
310 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
312 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
314 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
315 JdwpPacket.write instead of JdwpPacket.toBytes.
317 2005-06-30 Keith Seitz <keiths@redhat.com>
319 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
321 (_bytes): New member.
322 (_doStream): New member.
323 (JdwpConnection): Initialize new members.
325 2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
327 * all files: Update for new FSF address.
329 2005-06-29 Tom Tromey <tromey@redhat.com>
332 * testsuite/libjava.lang/pr22211.java: New file.
333 * java/lang/natThread.cc (finish_): Synchronize when updating
335 (_Jv_AttachCurrentThread): Likewise.
336 (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
337 * java/lang/Thread.java (isAlive): Now synchronized.
339 2005-06-29 Tom Tromey <tromey@redhat.com>
341 * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
344 2005-06-28 Robin Green <greenrd@greenrd.org>
347 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
350 2005-06-27 Tom Tromey <tromey@redhat.com>
352 PR java/21540, PR java/13788:
353 * testsuite/libjava.compile/pr21540.java: New file.
354 * testsuite/libjava.compile/pr13788.java: New file.
355 * testsuite/libjava.jacks/jacks.xfail: Updated.
357 2005-06-26 Andreas Tobler <a.tobler@schweiz.ch>
359 * testsuite/libjava.mauve/xfails: Updated to reflect current state
360 of mauve and libjava.
362 2005-06-24 Tom Tromey <tromey@redhat.com>
364 * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
365 where class' name is NULL.
366 (_Jv_FindClass): Don't wait for class state.
367 * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
369 * include/java-interp.h (_Jv_DefineClass): Updated.
370 * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
371 (struct _Jv_ClassReader): Likewise.
372 (found_name): New field.
373 (handleClassBegin): Set *found_name.
374 (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
375 (handleClassBegin): Throw error if super class not set.
376 (read_methods): Correctly call check_tag and prepare_pool_entry.
378 2005-06-24 Tom Tromey <tromey@redhat.com>
380 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
382 2005-06-24 Tom Tromey <tromey@redhat.com>
384 * verify.cc (verify_instructions_0): Correctly handle situation
385 where PC falls off end.
387 2005-06-24 Tom Tromey <tromey@redhat.com>
389 * interpret.cc (compile): Handle case where table entry is
392 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
394 * testsuite/libjava.compile/PR20697.java: New test-case.
396 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
398 * Makefile.am (SUBDIRS): Use append for conditional.
399 (toolexeclib_LTLIBRARIES): Likewise.
400 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
401 a conditional append.
402 * Makefile.in: Regenerate.
404 2005-06-17 Keith Seitz <keiths@redhat.com>
406 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
407 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
408 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
410 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
411 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
413 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
414 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
415 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
416 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
418 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
419 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
421 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
423 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
424 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
425 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
426 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
427 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
428 * Makefile.in: Regenerate.
430 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
432 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
433 (USING_POSIX_PLATFORM): ... here.
434 * Makefile.am: Delete USING_ECOS_PLATFORM.
435 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
436 external/Makefile.in, external/sax/Makefile.in,
437 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
439 2005-06-15 Tom Tromey <tromey@redhat.com>
442 * testsuite/libjava.lang/pr17536.java: New file.
443 * testsuite/libjava.lang/pr17536.out: New file.
445 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
448 * gnu/java/net/protocol/http/HTTPURLConnection.java
449 (getHeaderFieldKey): Check index.
451 2005-06-15 Tom Tromey <tromey@redhat.com>
454 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
456 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
457 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
459 (append_partial_itable): Use it.
460 (set_vtable_entries): Likewise.
462 2005-06-15 Tom Tromey <tromey@redhat.com>
464 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
465 last_was_sep in loop.
467 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
469 * configure.host: Handle Solaris 10/x86.
471 2005-06-14 Keith Seitz <keiths@redhat.com>
473 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
474 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
476 2005-06-14 Keith Seitz <keiths@redhat.com>
478 * gnu/classpath/jdwp/id/ArrayId.java: New file.
479 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
480 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
481 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
482 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
483 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
484 * gnu/classpath/jdwp/id/JdwpId.java: New file.
485 * gnu/classpath/jdwp/id/ObjectId.java: New file.
486 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
487 * gnu/classpath/jdwp/id/StringId.java: New file.
488 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
489 * gnu/classpath/jdwp/id/ThreadId.java: New file.
491 2005-06-14 Tom Tromey <tromey@redhat.com>
494 * configure, aclocal.m4, Makefile.in: Rebuilt.
496 2005-06-14 Tom Tromey <tromey@redhat.com>
498 * java/lang/Class.java (getClasses): New method.
499 (internalGetClasses): Likewise.
500 (getClassLoader): Updated documentation.
501 (getDeclaredClasses): New overload; old overload no longer
503 (_getConstructors): Removed.
504 (resourcePath): Updated.
505 * java/lang/natClass.cc (getClasses): Removed.
506 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
508 (_getConstructors): Removed.
510 2005-06-13 Jim Huang <jserv@kaffe.org>
513 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
514 (_Jv_JNI_NewObject): Likewise.
516 2005-06-13 Tom Tromey <tromey@redhat.com>
519 * testsuite/libjava.lang/pr21844.java: New file.
520 * testsuite/libjava.lang/pr21844.out: New file.
522 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
525 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
528 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
530 * java/text/MessageFormat.java (parse): When parsing strings, check
531 for an empty pattern trailer.
533 2005-06-06 Keith Seitz <keiths@redhat.com>
535 * gnu/classpath/jdwp/util/Signature.java: New file.
536 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
538 2005-06-05 Anthony Green <green@redhat.com>
540 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
543 2005-06-04 Anthony Green <green@redhat.com>
545 * java/net/URLClassLoader.java: import gnu.gcj.Core,
546 and gnu.java.net.protocol.core.CoreInputStream.
547 (CureURLLoader): New class.
548 (CoreResource): New class.
549 (addURLImpl): Add special treatment for the "core" protocol.
550 * gnu/gcj/natCore.cc (find): New method.
551 * gnu/gcj/Core.java (find): New method.
553 2005-06-03 Keith Seitz <keiths@redhat.com>
555 * gnu/classpath/jdwp/transport/ITransport.java: New file.
556 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
557 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
559 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
561 * jawt.c: Remove malloc.h, covered by stdlib.h.
563 * testsuite/libjava.jni/jni.exp
564 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
567 2005-06-02 Keith Seitz <keiths@redhat.com>
569 * gnu/classpath/jdwp/transport/TransportException.java: New file.
571 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
573 * mauve-libgcj: Remove implemented classes from the fail section.
574 Add two new not implemented to it.
576 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
578 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
579 AC_SUBST definition from configure.host.
580 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
581 to -fomit-frame-pointer on 32-bit x86 targets.
583 2005-06-01 Tom Tromey <tromey@redhat.com>
585 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
587 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
590 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
591 (static): Add possessive matching to JAVA_1_4 syntax.
592 * gnu/regexp/RETokenRepeated.java (possessive): New field.
593 (makePossessive, isPossessive): New methods.
594 (match): Don't back off during possessive matching.
595 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
596 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
599 2005-06-01 Keith Seitz <keiths@redhat.com>
601 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
602 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
603 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
605 2005-06-01 Tom Tromey <tromey@redhat.com>
608 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
609 (currentLoader): New method.
610 * java/io/ObjectInputStream.java (resolveProxyClass): Use
612 (currentLoader): Now native.
613 (currentClassLoader): Removed.
614 * testsuite/libjava.lang/pr21785.java: New file.
615 * testsuite/libjava.lang/pr21785.out: New file.
617 2005-06-01 Tom Tromey <tromey@redhat.com>
620 * java/lang/natString.cc (substring): Changed sharing heuristic.
622 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
625 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
626 MAXPATHLEN. Format exception message using a StringBuffer instead.
628 2005-05-29 Michael Koch <konqueror@gmx.de>
631 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
633 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
635 * ChangeLog: Fix typo.
637 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
639 Testsuite adjustments for PR java/19870.
640 * testsuite/libjava.lang/PR19870.java: New testcase.
641 * testsuite/libjava.lang/PR19870.out: Expected output for the
643 * testsuite/libjava.jacks/jacks.xfail: Add
644 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
647 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
649 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
650 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
651 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
653 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
654 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
655 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
656 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
658 2005-05-25 Richard Henderson <rth@redhat.com>
661 * sysdep/descriptor-n.h: New file.
662 * sysdep/descriptor-y.h: New file.
663 * sysdep/powerpc/descriptor.h: New file.
664 * configure.host: Set $descriptor_h appropriate for the host.
665 * configure.ac: Link it.
666 * configure: Regenerate.
667 * stacktrace.cc: Include sysdep/descriptor.h.
668 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
670 2005-05-25 Chris Burdess <dog@gnu.org>
672 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
673 end entity callbacks.
675 2005-05-24 Gary Benson <gbenson@redhat.com>
678 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
679 Handle DateFormat.DEFAULT case correctly.
681 2005-05-21 Tom Tromey <tromey@redhat.com>
684 * java/lang/ref/natReference.cc (find_slot): Handle case where
685 table has no NULL entries.
686 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
687 table has no NULL entries.
689 2005-05-22 Andreas Jaeger <aj@suse.de>
691 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
694 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
696 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
698 2005-05-19 Richard Henderson <rth@redhat.com>
700 * exception.cc: Revert 05-17 gcc_unreachable change.
702 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
704 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
705 _Jv_RegisterInitiatingLoader to register array classes, not
707 (_Jv_RegisterInitiatingLoader): Give up if called very early during
708 bootstrapping. Add a FIXME to handle this case better.
710 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
712 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
714 (libgcj_la_SOURCES): New. Move sources here.
715 (libgcj.la): Remove rule.
717 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
720 * gnu/java/security/provider/DSASignature.java: Import updates
723 2005-05-18 Anthony Green <green@redhat.com>
725 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
726 classpath_jawt_object_unlock, classpath_jawt_create_lock,
727 classpath_jawt_destroy_lock): New functions.
728 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
729 classpath_jawt_object_unlock, classpath_jawt_create_lock,
730 classpath_jawt_destroy_lock): New functions.
731 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
733 * jawt.c: #include malloc.h.
734 (_Jv_Lock): Use lock.
736 (_Jv_GetDrawingSurface): Initialize lock.
737 (_Jv_FreeDrawingSurface): Destroy lock.
738 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
740 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
742 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
743 * Makefile.in: Regenerate.
745 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
747 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
748 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
749 * aclocal.m4, configure, config.h.in, include/config.h.in,
750 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
751 external/Makefile.in, external/sax/Makefile.in,
752 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
754 2005-05-17 David Daney <ddaney@avtrex.com>
757 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
759 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
761 * exception.cc (abort): Remove std::abort hack.
762 (gcc_unreacheable): Define.
764 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
766 * Makefile.am (Makefile.deps): Do not create native.list and
768 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
769 * Makefile.in: Regenerate.
771 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
773 * configure.ac (--enable-libgcj-multifile): Remove.
775 * Makefile.am (all_native_compiled_source_files,
776 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
777 all_libgcj_lo_files, all_xlib_lo_files,
778 all_java_deps_files, all_java_stamp_files,
779 all_java_filelist_files): New variables.
780 (EXTRA_DIST): New Automake variable.
781 (CLEANFILES): Add .stamp, .list and .lo files.
782 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
783 (classes.stamp): Depend on $(all_java_stamp_files).
784 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
785 going through write_entries_to_file.
787 (all_java_source_files, all_property_files): Move earlier.
788 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
789 all_java_class_files): Remove.
790 (gtk_awt_peer_sources): Rename to...
791 (gtk_awt_peer_source_files): ... this. Adjust throughout.
794 (libgcj0_convenience_la_SOURCES): Remove Java source files.
795 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
796 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
797 (libgcj_la_SOURCES): Remove.
798 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
799 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
800 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
802 * configure: Regenerate.
803 * Makefile.in: Regenerate.
804 * external/Makefile.in: Regenerate.
805 * external/sax/Makefile.in: Regenerate.
806 * external/w3c_dom/Makefile.in: Regenerate.
807 * gcj/Makefile.in: Regenerate.
808 * include/Makefile.in: Regenerate.
809 * libltdl/Makefile.in: Regenerate.
810 * testsuite/Makefile.in: Regenerate.
812 2005-05-16 Tom Tromey <tromey@redhat.com>
814 * java/nio/charset/Charset.java (encode, decode): Synchronize on
815 'this', not the class.
817 2005-05-16 Tom Tromey <tromey@redhat.com>
819 * gnu/java/net/protocol/http/Headers.java (parse): Include final
822 2005-05-16 Tom Tromey <tromey@redhat.com>
825 * java/net/URI.java (unquote): Handle lower-case letters as well.
827 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
830 * gnu/regexp/RE.java: Add support for quoting constructs.
832 2005-05-15 Tom Tromey <tromey@redhat.com>
834 * java/lang/String.java (startsWith): Fixed javadoc.
836 2005-05-15 Tom Tromey <tromey@redhat.com>
839 * testsuite/libjava.compile/pr21519.java: New file.
840 * testsuite/libjava.compile/pr21519.no-link: New file.
842 2005-05-15 Tom Tromey <tromey@redhat.com>
844 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
846 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
849 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
850 interrupt status flag if _Jv_CondWait is interrupted.
852 2005-05-13 Tom Tromey <tromey@redhat.com>
854 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
857 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
859 * include/jvm.h (gcj::verifyClasses): Declare.
860 * link.cc (gcj::verbose_class_flag): Moved.
861 * prims.cc (gcj::verifyClasses): Define here.
862 (gcj::verbose_class_flag): Move definition here.
863 (_Jv_Linker::wait_for_state): Don't call verify_class
864 if gcj::verifyClasses is not set.
865 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
867 2005-05-12 Aaron Luchko <aluchko@redhat.com>
869 * gij.cc (main): Recognize '-verify', '-noverify', and
872 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
874 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
876 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
878 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
881 2005-05-11 Tom Tromey <tromey@redhat.com>
883 * external/w3c_dom/Makefile.in: Rebuilt.
884 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
886 * external/sax/Makefile.in: Rebuilt.
887 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
889 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
891 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
892 Call _Jv_CopyClassesToSystemLoader.
893 * java/lang/natClassLoader.cc (system_class_list): New global.
894 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
896 (_Jv_CopyClassesToSystemLoader): New function.
897 (SYSTEM_LOADER_INITIALIZED): New define.
898 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
899 (_Jv_CheckABIVersion): Use it.
900 (_Jv_ClassForBootstrapLoader): New function.
901 * Makefile.in: Rebuilt.
902 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
904 2005-05-10 Tom Tromey <tromey@redhat.com>
906 * gcj/javaprims.h: Updated.
907 * java/lang/String.java (String(StringBuilder)): New constructor.
908 * java/lang/natStringBuilder.cc: New file.
909 * java/lang/StringBuilder.java: New file.
910 * Makefile.in: Rebuilt.
911 * Makefile.am (core_java_source_files): Added StringBuilder.java.
912 (nat_source_files): Added natStringBuilder.cc.
914 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
917 * testsuite/libjava.jacks/jacks.xfail: Adjust.
919 2005-05-09 Mike Stump <mrs@apple.com>
921 * configure: Regenerate.
923 2005-05-09 David Daney <ddaney@avtrex.com>
925 * java/util/BitSet.java (get(int, int)): Fix breakage when
926 requested set doesn't start on a multiple of 64.
928 2005-05-07 Matthias Klose <doko@debian.org>
930 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
932 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
934 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
935 * Makefile.in: Regenerate.
936 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
937 (createCompatibleVolatileImage(int,int)): Implement.
938 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
940 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
942 (createVolatileImage): Implement.
943 (createBuffers): Likewise.
944 (getBackBuffer): Likewise.
946 (destroyBuffers): Likewise.
947 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
948 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
949 (CanvasFlipBufferStrategy): Likewise.
950 (createBufferStrategy(int)): New method.
951 (createBufferStrategy(int,BufferCapabilities)): Likewise.
952 * java/awt/Component.java (BltBufferStrategy): Implement and
954 (FlipBufferStrategy): Likewise.
955 * java/awt/Window.java (WindowBltBufferStrategy): New class.
956 (WindowFlipBufferStrategy): Likewise.
957 (createBufferStrategy(int)): New method.
958 (createBufferStrategy(int,BufferCapabilities)): Likewise.
959 (getBufferStrategy): Likewise.
960 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
961 front to frontCaps and back to backCaps.
963 2005-05-06 Michael Koch <konqueror@gmx.de>
965 * java/awt/BufferCapabilities.java
966 (BufferCapabilities): Merged javadoc.
968 2005-05-06 Michael Koch <konqueror@gmx.de>
970 * java/util/Locale.java
971 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
972 (getLocale): New methods. Use it everywhere where instances of Locales
974 (getDisplayLanguage): Merged javadoc.
975 (getDisplayCountry): Likewise.
976 (getDisplayVariant): Likewise.
978 2005-05-06 Archie Cobbs <archie@dellroad.org>
980 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
981 use DeleteLocalRef() to avoid exhausting local native references.
983 2005-05-06 Mark Wielaard <mark@klomp.org>
985 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
986 (window_delete_cb): Don't use C++ style comments.
988 2005-05-06 Robert Schuster <thebohemian@gmx.net>
990 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
993 2005-05-06 Robert Schuster <thebohemian@gmx.net>
995 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
996 (window_delete_cb): Made the function return TRUE.
998 2005-05-06 Roman Kennke <roman@kennke.org>
1000 * javax/swing/text/PlainView.java
1001 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
1003 * javax/swing/text/Utilities.java
1004 (drawTabbedText): Initilialize local variable pos correctly.
1006 2005-05-06 Roman Kennke <roman@kennke.org>
1008 * javax/swing/text/AbstractDocument.java
1009 (LeafElement): Made start and end package private fields for
1010 effective reindexing.
1011 * javax/swing/text/PlainDocument.java
1012 (constructor): The field rootElement is always BranchElement,
1013 so we handle it as such.
1014 (removeUpdate): Rewritten reindexing for removeUpdate so that
1015 the actual removal is taken into account.
1017 2005-05-06 Roman Kennke <roman@kennke.org>
1019 * javax/swing/text/GapContent.java:
1020 Removed debugging output stuff, which I accidentally left in.
1022 2005-05-06 Roman Kennke <roman@kennke.org>
1024 * javax/swing/text/GapContent.java:
1025 Implemented a real GapContent. Only the public methods have
1026 been implemented so far and still no UndoableEdit support.
1028 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
1030 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
1033 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1035 * java/awt/image/BufferStrategy.java: Document.
1037 * java/awt/BufferCapabilities.java: Document.
1039 2005-05-04 Tom Tromey <tromey@redhat.com>
1041 * java/nio/channels/FileLock.java (toString): Entirely avoid
1044 2005-05-04 Andrew Overholt <overholt@redhat.com>
1046 * java/nio/channels/FileLock.java (toString): Re-implement using
1049 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1051 * java/awt/ImageCapabilities.java: Document.
1053 * java/awt/image/VolatileImage.java: Unindent copyright header.
1055 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
1057 * java/awt/image/VolatileImage.java: Document.
1059 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
1061 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
1062 (init_glib_threads): Check if threading system is already
1065 2005-05-03 Andrew Overholt <overholt@redhat.com>
1068 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
1069 could not be acquired.
1070 * java/nio/channels/FileLock.java (toString): Re-implement to be
1071 in line with other implementations.
1073 2005-05-03 Tom Tromey <tromey@redhat.com>
1075 * java/lang/VMSecurityManager.java (currentClassLoader): Use
1076 'systemClasssLoader' directly.
1078 2005-05-03 Tom Tromey <tromey@redhat.com>
1080 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
1081 call VMClassLoader.getSystemClassLoader.
1083 2005-04-29 Michael Koch <konqueror@gmx.de>
1085 * java/net/NetworkInterface.java
1087 (NetworkInterface(String,InetAddress)): Made package-private.
1088 (NetworkInterface(String,InetAddress[])): New constructor.
1089 (getRealNetworkInterfaces): Removed.
1090 (getByName): Use VMNetworkInterface.getInterfaces().
1091 (getByInetAddress): Likewise.
1092 (getNetworkInterfaces): Likewise.
1093 * java/net/VMNetworkInterface.java,
1094 java/net/natVMNetworkInterfaceNoNet.cc,
1095 java/net/natVMNetworkInterfacePosix.c,c
1096 java/net/natVMNetworkInterfaceWin32.cc: New files.
1097 * java/net/natNetworkInterfaceNoNet.cc,
1098 java/net/natNetworkInterfacePosix.cc,
1099 java/net/natNetworkInterfaceWin32.cc: Removed.
1102 * configure, Makefile.in: Regenerated.
1104 2005-04-29 Andrew Haley <aph@redhat.com>
1106 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
1108 2005-04-29 Dalibor Topic <robilad@kaffe.org>
1110 * java/nio/channels/FileChannelImpl.java
1111 (FileChannelImpl(String, int)): Removed.
1112 (FileChannelImpl(File, int)): Added. Check if opened file is a
1114 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
1115 Call FileChannelImpl(File, int).
1116 * java/io/FileOutputStream.java (FileInputStream): Call
1117 FileChannelImpl(File, int).
1118 * java/io/RandomAccessFile.java (RandomAccessFile):
1119 Call FileChannelImpl(File, int). Switched constructors around.
1121 2005-04-27 Andrew Haley <aph@redhat.com>
1124 * prims.cc (_Jv_ResolvePoolEntry): New function.
1125 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
1126 * link.cc (_Jv_Linker::find_field): New arg: found_class.
1127 (resolve_pool_entry): Initialize the class in which a field is
1129 (link_symbol_table): Pass new arg to found_class.
1131 2005-04-29 Michael Koch <konqueror@gmx.de>
1133 * java/nio/charset/Charset.java
1134 (provider): Reformatted.
1136 2005-04-29 Michael Koch <konqueror@gmx.de>
1138 * gnu/java/net/protocol/http/HTTPConnection.java:
1139 (userAgent): Initialize from system properties.
1140 (initUserAgent): Removed.
1142 2005-04-29 Mark Wielaard <mark@klomp.org>
1144 * java/util/ResourceBundle.java (getObject): Clarify
1145 MissingResourceException detailed message.
1146 (tryBundle(String,ClassLoader)): Likewise.
1148 2005-04-29 Robert Schuster <thebohemian@gmx.net>
1150 * java/beans/FeatureDescriptor.java:
1151 (getShortDescription): Implemented fallback mechanism and fixed
1152 documentation (fixes bug #12637).
1153 (getDisplayName): Dito.
1155 2005-04-29 Robert Schuster <thebohemian@gmx.net>
1157 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
1158 will now be set correctly.
1159 (flushCaches): Now flushes all cached intermediate data.
1161 2005-04-28 Michael Koch <konqueror@gmx.de>
1163 * java/net/InetAddress.java
1164 (aton): Fixed javadoc.
1167 2005-04-28 Tom Tromey <tromey@redhat.com>
1169 * javax/swing/Timer.java
1170 (drainEvents, queueEvent): Now package-private.
1172 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
1174 * javax/swing/Timer.java
1175 (constructor): Assigning initialDelay.
1177 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
1179 * javax/swing/Timer.java
1180 (Waker.run): firing the first action event.
1182 2005-04-28 Michael Koch <konqueror@gmx.de>
1184 * javax/swing/Timer.java: Reordered all fields and methods,
1185 Added more javadocs.
1187 2005-04-28 Michael Koch <konqueror@gmx.de>
1189 * javax/swing/Timer.java: Javadocs merged
1192 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
1194 * gnu/java/net/protocol/file/Connection.java
1195 (StaticData): New inner class to contain statics.
1196 (connect, getHeaderField): Modified to use StaticData.
1198 2005-04-28 Michael Koch <konqueror@gmx.de>
1200 * gnu/java/net/protocol/file/Connection.java
1201 (lineSeparator): Initialize with SystemProperties.getProperty().
1203 2005-04-27 Chris Burdess <dog@gnu.org>
1205 * gnu/java/net/protocol/file/Connection.java: Return correct content
1206 length for directory listing.
1207 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
1208 #11285: return valid URLs for directories.i
1210 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
1212 * Makefile.am (ordinary_java_source_files): Add
1213 gnu/java/net/protocol/https/Handler.java.
1214 * Makefile.in: Regenerate.
1215 * java/net/URL.java: Remove org.metastatic.jessie from default
1216 protocol search path.
1218 2005-04-27 Chris Burdess <dog@gnu.org>
1220 * gnu/java/net/protocol/https/Handler.java: New file.
1222 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
1224 * javax/imageio/spi/IIORegistry.java (IIORegistry):
1225 Don't assume that awt Toolkit is always ClasspathToolkit.
1227 2005-04-27 Chris Burdess <dog@gnu.org>
1229 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
1230 absolute and relative paths in Location header.
1232 2005-04-27 Chris Burdess <dog@gnu.org>
1234 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
1235 FileNotFoundException and implement getErrorStream on 404.
1237 2005-04-27 Sven de Marothy <sven@physto.se>
1239 * java/util/TimeZone.java,
1240 (getDefaultDisplayName): Fix previous fix.
1242 2005-04-27 Sven de Marothy <sven@physto.se>
1244 * java/util/TimeZone.java,
1245 (getDefaultDisplayName): Don't print zero offsets.
1247 2005-04-27 Roman Kennke <roman@kennke.org>
1249 * javax/swing/plaf/basic/BasicScrollBarUI
1250 (getThumbBounds): Do not make thumb smaller than
1252 * javax/swing/plaf/metal/MetalLookAndFeel
1253 (initComponentDefaults): Added color defaults for ScrollBar.
1254 * javax/swing/plaf/metal/MetalScrollBarUI
1255 (paintThumb): Added.
1256 (getMinimumThumbSize): Added.
1258 2005-04-27 Roman Kennke <roman@kennke.org>
1260 * javax/swing/plaf/metal/MetalLookAndFeel
1261 (initComponentDefaults): Added some default colors.
1263 2005-04-27 Roman Kennke <roman@kennke.org>
1265 * javax/swing/plaf/basic/BasicScrollBarUI.java
1266 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
1267 to 'ScrollBar.thumbShadow'. The formes does not exist.
1268 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
1270 2005-04-27 Roman Kennke <roman@kennke.org>
1272 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
1273 * javax/swing/BoxLayout.java: Likewise.
1274 * javax/swing/UIManager.java: Likewise.
1275 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1276 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
1277 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1278 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
1279 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
1280 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
1281 * javax/swing/text/Document.java: Likewise.
1282 * javax/swing/text/GapContent.java: Likewise.
1283 * javax/swing/text/SimpleAttributeSet.java: Likewise.
1284 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
1286 2005-04-27 Roman Kennke <roman@kennke.org>
1288 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1289 (getPropertyPrefix): Added.
1291 2005-04-27 Roman Kennke <roman@kennke.org>
1293 * javax/swing/plaf/basic/BasicButtonUI.java
1294 (getPropertyPrefix): Added.
1295 (installDefaults): Use getPropertyPrefix instead of hard-coded
1298 2005-04-27 Roman Kennke <roman@kennke.org>
1300 * javax/swing/JToggleButton.java
1301 (JToggleButton): Removed horizontalAlignment setting, this
1302 was wrong. Added setting of an actionCommand, ToggleButtons
1303 have "" as default actionCommand.
1305 2005-04-27 Michael Koch <konqueror@gmx.de>
1307 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
1308 to work around CNI limitation.
1310 2005-04-27 Sven de Marothy <sven@physto.se>
1312 * java/nio/charset/Charset.java:
1313 (defaultCharset()): New method.
1314 Status updated to 1.5
1316 2005-04-27 Sven de Marothy <sven@physto.se>
1318 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
1320 2005-04-27 Sven de Marothy <sven@physto.se>
1322 * java/nio/charset/Charset.java: Reset cached de/encoders.
1324 2005-04-27 Robert Schuster <thebohemian@gmx.net>
1326 * java/nio/charset/Charset.java (forName): Throws
1327 IllegalArgumentException when argument is null
1328 and added documentation.
1330 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
1332 * java/nio/charset/Charset.java (providers):
1333 New method to make an array of CharsetProviders defined in
1334 META-INF/services/java.nio.charset.spi.CharsetProvider.
1335 (charsetForName, availableCharsets): Use the
1336 new method providers().
1338 2005-04-26 Michael Koch <konqueror@gmx.de>
1340 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
1341 Fixed typos in javadocs.
1342 (isSiteLocalAddress): Fixed handling of byte values.
1343 (isMCLinkLocal): Likewise.
1344 * java/net/Inet4Address.java
1345 (isMulticastAddress): Call super method.
1346 (isLoopbackAddress): Likewise.
1347 (isAnyLocalAddress): Likewise.
1348 (isLinkLocalAddress): Likewise.
1349 (isSiteLocalAddress): Likewise.
1350 (isMCGlobal): Likewise.
1351 (isMCNodeLocal): Likewise.
1352 (isMCLinkLocal): Likewise.
1353 (isMCSiteLocal): Likewise.
1354 (isMCOrgLocal): Likewise.
1355 (getHostAddress): Likewise.
1357 2005-04-26 Sven de Marothy <sven@physto.se>
1359 * java/net/InetAddress.java
1360 (toString): Don't print empty hostnames.
1362 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
1365 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
1366 'false' to native lock().
1367 (lock): Pass 'true' to native lock().
1369 2005-04-26 Michael Koch <konqueror@gmx.de>
1371 * java/net/InetAddress.java:
1372 Fixed typos in javadocs.
1374 2005-04-26 Andrew Haley <aph@redhat.com>
1377 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1380 2005-04-26 Tom Tromey <tromey@redhat.com>
1382 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1383 gnu): Now package-private.
1384 * javax/swing/text/html/parser/DocumentParser.java (parser,
1385 callBack, gnu): Now package-private.
1386 * javax/swing/text/StringContent.java (content, setOffset,
1387 checkLocation): Now package-private.
1388 * javax/swing/text/JTextComponent.java (doc): Now
1390 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1391 lastGoodOrientation, origParent, borders, cachedBounds,
1392 cachedOrientation, DragWindow): Now package-private.
1393 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1394 decrButton, viewport, panel, currentScrollLocation, layoutManager,
1395 tabAreaRect, contentRect, createIncreaseButton,
1396 createDecreaseButton, findPointForIndex): Now package-private.
1397 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1398 (currentDividerLocation, moveDividerTo): Now package-private.
1399 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1401 * javax/swing/plaf/basic/BasicScrollBarUI.java
1402 (calculatePreferredSize, valueForYPosition, valueForXPosition):
1403 Now package-private.
1404 * javax/swing/plaf/basic/BasicPopupMenuUI.java
1405 (topWindowListener): Now package-private.
1406 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1407 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1408 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1410 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1412 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1413 Now package-private.
1414 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1416 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1417 borderInsets): Now package-private.
1418 (arrowButtonWidth): Likewise. Now a constant.
1419 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1420 makeTabs, updatePreviewPanel): Now package-private.
1421 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1422 darkShadow, highlight): Now package-private.
1423 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1424 (addColorToQueue): Now package-private.
1425 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1426 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1427 GSpinner, BSpinner): Now package-private.
1428 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1429 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1430 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1431 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1432 updateTrack): Now package-private.
1433 * javax/swing/TransferHandler.java (clipboard): Now
1435 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1437 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1439 * javax/swing/RepaintManager.java (globalManager): Now
1441 * javax/swing/JFormattedTextField.java (editValid): Now
1443 * javax/swing/JColorChooser.java (makeModal): Now
1445 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1446 index, path): Now package-private.
1447 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1448 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1449 pointEquals): Now package-private.
1450 * java/awt/geom/Arc2D.java (type): Now package-private.
1451 * java/awt/Window.java (windowFocusOwner): Now package-private.
1452 * java/awt/TextComponent.java (editable, selectionStart,
1453 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1455 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1457 * java/awt/MenuComponent.java (focusListener): Now
1459 * java/awt/Frame.java (state): Now package-private.
1460 * java/awt/Choice.java (pItems): Now package-private.
1461 * java/awt/Checkbox.java (state): Now package-private.
1462 * java/awt/Button.java (actionCommand, label): Now
1464 * gnu/javax/swing/text/html/parser/support/Parser.java
1465 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1467 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1469 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1470 clip, transform, font, comp): Now package-private.
1472 2005-04-26 Tom Tromey <tromey@redhat.com>
1474 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1477 2005-04-26 Mark Wielaard <mark@klomp.org>
1479 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1480 to MalformedURLException.
1482 2005-04-26 Michael Koch <konqueror@gmx.de>
1484 * java/security/AccessControlContext.java:
1486 (protectedDomains): Renamed from 'protectionDomain'.
1487 * java/security/AccessController.java:
1490 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1492 * gnu/java/security/action/GetSecurityPropertyAction.java
1493 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1494 of extending GetPropertyAction.
1497 (setParamters): New methods.
1498 (GetSecurityPropertyAction): Use new setParameters methods.
1500 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1502 * java/security/Security.java,
1503 java/security/cert/X509CRLSelector.java,
1504 java/security/cert/X509CertSelector.java:
1505 Modified to use SystemProperties.
1507 2005-04-26 Michael Koch <konqueror@gmx.de>
1509 * java/lang/System.java
1510 (setSecurityManager): Fixed comment.
1511 (getSecurityManager): Removed obsolete comment.
1513 2005-04-25 Tom Tromey <tromey@redhat.com>
1515 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1517 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1519 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1520 (connectSignals): Realize the window widget after connecting
1523 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1525 * java/awt/GraphicsEnvironment.java
1526 (localGraphicsEnvironment): New field.
1527 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1529 (isHeadless): Added support for java.awt.headless property.
1530 (isHeadlessInstance): Call headless().
1532 2005-04-25 Roman Kennke <roman@kennke.org>
1534 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1535 (getDisplayMode): Added. Returns the current display mode.
1536 (isFullScreenSupported): Added.
1537 * java/awt/GraphicsDevice.java
1538 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1539 This resizes and relocates the fullscreen window so that it uses
1540 the whole screen. This is not a fully accelerated fullscreen
1543 2005-04-25 Michael Koch <konqueror@gmx.de>
1545 * java/lang/Runtime.java,
1546 java/lang/SecurityManager.java,
1547 java/lang/System.java,
1548 java/lang/ThreadGroup.java:
1549 Replaced java.lang.Runtime.securityManager by
1550 java.lang.SecurityManager.current (as used in GNU classpath).
1552 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1554 * java/awt/Transparency.java
1555 (getTransparency): fixed API docs.
1557 2005-04-25 Archie Cobbs <archie@dellroad.org>
1559 * java/lang/Throwable.java: simplify initializing cause in constructor
1561 2005-04-25 Michael Koch <konqueror@gmx.de>
1563 * gnu/classpath/SystemProperties.java: New file.
1564 * gnu/classpath/natSystemProperties.cc: New file.
1565 * java/lang/Runtime.java
1566 (defaultProperties): Removed.
1568 (): Made thrown exceptions more verbose.
1569 (insertSystemProperties): Removed.
1570 * java/lang/System.java
1572 (properties): Likewise.
1573 (setSecurityManager): Reordered modifiers.
1574 (getenv): Improved javadoc.
1576 (isWordsBigEndian): Removed.
1577 * java/lang/natRuntime.cc
1578 (_Jv_SetDLLSearchPath): Likewise.
1579 (file_encoding): Likewise.
1580 (default_file_encoding): Likewise.
1581 (getpwuid_adaptor): Likewise.
1582 (insertSystemProperties): Likewise.
1583 * java/lang/natSystem.cc
1584 (isWordsBigEndian): Likewise.
1586 (ordinary_java_source_files):
1587 Added gnu/classpath/SystemProperties.java.
1588 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1589 * Makefile.in: Regenerated.
1591 2005-04-25 Roman Kennke <roman@kennke.org>
1593 * javax/swing/plaf/basic/BasicScrollBarUI.java
1594 (initDefaults): Initialize thumb*Color fields correctly.
1596 2005-04-25 Roman Kennke <roman@kennke.org>
1598 * javax/swing/text/GapContent.java:
1601 2005-04-25 Roman Kennke <roman@kennke.org>
1603 * javax/swing/plaf/metal/MetalBorders.java:
1604 Added inner class ScrollPaneBorder.
1605 * javax/swing/plaf/metal/MetalLookAndFeel.java
1606 (initComponentDefaults): Added default for "ScrollPane.border"
1607 to use the new ScrollPaneBorder.
1609 2005-04-25 Roman Kennke <roman@kennke.org>
1611 * javax/swing/text/AbstractDocument.java:
1612 Added FIXME comments. This class still has to be
1613 implemented thread-safe.
1615 2005-04-25 Roman Kennke <roman@kennke.org>
1617 * javax/swing/tree/DefaultTreeSelectionModel.java
1618 (DefaultTreeSelectionModel): Initialize listenerList here.
1620 2005-04-25 Roman Kennke <roman@kennke.org>
1622 * javax/swing/plaf/metal/MetalTextFieldUI.java
1623 (createUI): Return one instance per Component instead of a
1626 2005-04-25 Roman Kennke <roman@kennke.org>
1628 * javax/swing/text/Document.java:
1629 Added API documentation comments.
1631 2005-04-25 Roman Kennke <roman@kennke.org>
1633 * javax/swing/text/AbstractDocument.java
1634 (getDocumentProperties): Implemented.
1635 (setDocumentProperties): Implemented.
1636 (getProperty): Implemented.
1637 (putProperty): Implemented.
1639 2005-04-25 Roman Kennke <roman@kennke.org>
1641 * javax/swing/BoxLayout
1642 (preferredLayoutSize): Fixed computation so that it correctly
1643 adds the top and bottom insets of the container.
1645 2005-04-25 Roman Kennke <roman@kennke.org>
1647 * javax/swing/plaf/basic/BasicMenuItemUI.java
1648 (paintText): Make use of the 'selectionForeground' UI default
1651 2005-04-25 Roman Kennke <roman@kennke.org>
1653 * javax/swing/plaf/basic/BasicLookAndFeel.java
1654 (initSystemColorDefaults): Modified colors to match the
1655 BasicLookAndFeel in the reference implementation.
1656 (initComponentDefaults): Likewise.
1658 2005-04-25 Tom Tromey <tromey@redhat.com>
1660 * include/jni.h (_Jv_va_list): Removed.
1661 Moved configuration code...
1662 * include/jni_md.h: ... here. New file.
1663 * include/Makefile.in: Rebuilt.
1664 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1666 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1668 * java/io/FileInputStream.java (FileInputStream(File)),
1669 java/io/FileOutputStream.java (FileOutputStream(File)):
1670 Removed unnecessary File.isDirectory() check.
1672 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1674 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1675 gij if get_multilibs fails.
1677 2005-04-22 Anthony Green <green@redhat.com>
1679 * jni.cc (natrehash): Don't bother clearing memory again.
1680 * interpret.cc (do_allocate_static_fields): Ditto.
1681 * java/lang/natString.cc (rehash): Ditto.
1683 2005-04-22 Roman Kennke <roman@kennke.org>
1685 * javax/swing/plaf/basic/BasicLookAndFeel.java
1686 (initComponentDefaults): Changed Button.border to be
1687 BasicBorders.getButtonBorder as it should be.
1689 2005-04-22 Roman Kennke <roman@kennke.org>
1691 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1692 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1693 should according to a mauve testcase, instead of the preferred
1696 2005-04-22 Roman Kennke <roman@kennke.org>
1698 * javax/swing/JMenu.java
1699 (add): add(Component) now calls PopupMenu.insert(..) instead of
1700 PopupMenu.add(..). add(..) is not implemented for Component,
1701 so JComponent.add(..) is called instead, adding the component
1704 2005-04-22 Roman Kennke <roman@kennke.org>
1706 * javax/swing/plaf/basic/BasicButtonListener.java
1707 (mousePressed): replaced query to getModifiersEx with getModifiers.
1708 This method relied on faulty behaviour in getModifierEx.
1709 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1710 This method relied on faulty behaviour in getModifierEx.
1712 2005-04-22 Roman Kennke <roman@kennke.org>
1714 * javax/swing/plaf/metal/MetalLookAndFeel.java
1715 (getDefaults): Call addCustomEntriesToTable on the theme.
1717 2005-04-22 Roman Kennke <roman@kennke.org>
1719 * javax/swing/tree/DefaultTreeSelectionModel.java
1720 (constructor): Added implementation.
1721 (getRowMapper): Added implementation.
1722 (setSelectionMode): Added implementation.
1723 (getSelectionMode): Added implementation.
1724 (getSelectionPath): Added implementation.
1725 (getSelectionPaths): Added implementation.
1726 (getSelectionCount): Added implementation.
1727 (isSelectionEmpty): Added implementation.
1728 (getSelectionRows): Added implementation.
1729 (getMinSelectionRow): Added implementation.
1730 (getMaxSelectionRow): Added implementation.
1731 (getLeadSelectionRow): Added implementation.
1732 (getLeadSelectionPath): Added implementation.
1734 2005-04-22 Casey Marshall <csm@gnu.org>
1736 * gnu/java/security/der/DERValue.java
1737 (getValueAs): new method.
1738 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1739 (<init>): read both dates with 'DERValue.getValueAs', with
1740 'GENERALIZED_TIME' as the argument.
1742 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1744 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1745 be null, check for that case and don't deference it.
1747 2005-04-22 Sven de Marothy <sven@physto.se>
1749 * java/util/logging/LogManager.java: Reformatted.
1750 (readConfiguration): If a logger for a key is not found, create one.
1752 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1754 * java/rmi/Naming.java:
1755 Added class documentation.
1756 (lookup(String)): Call parseURL and getName.
1757 (bind(String,java.rmi.Remote)): Likewise.
1758 (unbind(String)): Likewise.
1759 (rebind(String, java.rmi.Remote)): Likewise.
1760 (list(String)): Call parseURL.
1761 (parseURL(String)): New method to handle parsing and defaults.
1762 (getName(java.net.URL)): New method to handle finding the service name.
1764 2005-04-21 Tom Tromey <tromey@redhat.com>
1766 * java/lang/natClass.cc (initializeClass): Link class.
1768 2005-04-21 Tom Tromey <tromey@redhat.com>
1770 * java/lang/AssertionError.java: Typo fix.
1772 2005-04-21 Tom Tromey <tromey@redhat.com>
1774 * java/lang/VMClassLoader.java (transformException): Removed.
1775 (resolveClass): No longer native. Now does nothing.
1776 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1778 2005-04-21 Anthony Green <green@redhat.com>
1781 * testsuite/libjava.special/special.exp,
1782 testsuite/libjava.special/pr21115I.java,
1783 testsuite/libjava.special/pr21115.java,
1784 testsuite/libjava.special/pr21115.out: New files.
1786 2005-04-21 Chris Burdess <dog@gnu.org>
1788 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1789 CRLF-delimited chunks.
1791 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1793 * java/net/URI.java:
1794 Added class documentation.
1795 (parseURI(String)): Only handle scheme-specific parts
1796 if URI is not opaque. Allow for parts that can't be null.
1797 (toString()): Output the scheme-specific part whole, rather
1798 than as its possibly non-existent components.
1800 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1802 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1803 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1804 Adjusted to match new regexp.
1806 2005-04-20 Michael Koch <konqueror@gmx.de>
1808 * gnu/java/net/protocol/file/Connection.java,
1809 gnu/java/net/protocol/jar/Connection.java:
1810 Reorganized import statements. Fixed @author tags.
1812 2005-04-20 Chris Burdess <dog@gnu.org>
1814 * java/io/DataOutputStream.java (writeUTF): Use block write for
1817 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1819 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1820 (readLine): Changed newline handling.
1822 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1824 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1825 ColorModel,byte[],int,int): Fixed byte to int conversion.
1827 2005-04-20 Michael Koch <konqueror@gmx.de>
1829 * java/io/FilePermission.java
1830 (serialVersionUID): Made private.
1831 (ALL_FILES): New constant.
1832 (implies): Handle '<<ALL FILES>>' case.
1834 2005-04-20 Sven de Marothy <sven@physto.se>
1836 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1837 (drawImage): Don't notify the image observer for offscreen images.
1838 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1839 (setPixels): Don't notify the image observer.
1841 2005-04-20 Sven de Marothy <sven@physto.se>
1843 * java/nio/ByteBufferImpl.java:
1844 (putChar): Inlined for speed.
1845 (put, get): Bulk methods can use arraycopy.
1846 * java/nio/CharBufferImpl.java:
1847 (put, get): Bulk methods can use arraycopy.
1849 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1851 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1853 * java/nio/CharBufferImpl.java
1854 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1855 (get(), put(char)): Inlined checks and field updates. Fixed to
1856 take array_offset into account.
1857 (get(int), put(int, char)): Fixed to take array_offset into account.
1859 2005-04-20 Sven de Marothy <sven@physto.se>
1861 * java/text/SimpleDateFormat.java:
1862 (formatWithAttribute): Pad year before truncating digits.
1864 2005-04-20 Michael Koch <konqueror@gmx.de>
1866 * gnu/java/net/PlainDatagramSocketImpl.java:
1867 Merged copyright header.
1868 * gnu/java/net/PlainSocketImpl.java:
1869 Reorganized import statements. Fixed @author tags.
1871 2005-04-20 Michael Koch <konqueror@gmx.de>
1873 * gnu/java/lang/ClassHelper.java,
1874 gnu/java/lang/reflect/TypeSignature.java:
1877 2005-04-20 Michael Koch <konqueror@gmx.de>
1879 * gnu/java/beans/IntrospectionIncubator.java:
1880 Fixed HTML tags in javadocs.
1882 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1884 * gnu/java/beans/IntrospectionIncubator.java
1885 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1886 set(), is(), add() and remove() with properties or events.
1888 2005-04-20 Michael Koch <konqueror@gmx.de>
1890 * gnu/java/awt/image/XBMDecoder.java:
1891 Fixed modifier order.
1893 2005-04-20 Roman Kennke <roman@kennke.org>
1895 * javax/swing/plaf/basic/BasicButtonUI.java
1896 (paint): This should not care about margin and insets
1897 at the same time, as insets already include the margin
1899 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1900 (getPreferredButtonSize): Likewise.
1901 * javax/swing/plaf/metal/MetalBorders.java
1902 (getBorderInsets): Likewise.
1904 2005-04-20 Roman Kennke <roman@kennke.org>
1906 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1907 (createMessageArea): The JPanel that holds the message area
1908 doesn't need to override getPreferredSize. This prevents some
1909 message components from rendering nicely.
1911 2005-04-20 Roman Kennke <roman@kennke.org>
1913 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1914 (createUI): Do not share instances between components.
1915 * javax/swing/plaf/metal/MetalSliderUI.java
1916 (createUI): Do not share instances between components.
1918 2005-04-20 Roman Kennke <roman@kennke.org>
1920 * javax/swing/plaf/metal/MetalBorders:
1921 (PopupMenuBorder): Added.
1922 * javax/swing/plaf/metal/MetalLookAndFeel
1923 (initComponentDefaults): Added PopupMenuBorder.
1925 2005-04-20 Roman Kennke <roman@kennke.org>
1927 * javax/swing/tree/DefaultTreeSelectionModel.java:
1928 Added API documentation all over the class.
1930 2005-04-20 Roman Kennke <roman@kennke.org>
1932 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1933 (installDefaults): Link managed JScrollPane in instance field.
1934 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1936 2005-04-20 Roman Kennke <roman@kennke.org>
1938 * javax/swing/plaf/basic/BasicScrollBarUI.java
1939 (PropertyChangeHandler.propertyChange): Add default
1940 to switch statement to avoid errors with unusual values
1942 (installComponents): Likewise.
1944 2005-04-20 Roman Kennke <roman@kennke.org>
1946 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1947 (createUI): Instances cannot be shared among JScrollPanes.
1949 2005-04-20 Roman Kennke <roman@kennke.org>
1951 * javax/swing/plaf/metal/MetalLookAndFeel.java
1952 (initComponentDefaults): Added defaults for Menu, MenuBar
1955 2005-04-20 Roman Kennke <roman@kennke.org>
1957 * javax/swing/plaf/basic/BasicScrollBarUI.java
1958 (installUI): Install listeners after everything all, otherwise
1959 we get strange NPEs in some situations, especially with
1961 (createIncreaseButton): Orientation is expected to be
1962 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1963 HORIZONTAL or VERTICAL.
1964 (createDecreaseButton): Orientation is expected to be
1965 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1966 HORIZONTAL or VERTICAL.
1967 (installComponents): Orientation for buttons is expected to be
1968 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1969 HORIZONTAL or VERTICAL.
1971 2005-04-20 Roman Kennke <roman@kennke.org>
1973 * javax/swing/JToolBar.java
1974 (addImpl): Adjust added AbstractButtons to look and feel like
1976 * javax/swing/plaf/metal/MetalBorders.java:
1977 Adjusted insets of ButtonBorder.
1978 (RolloverMarginBorder): Added class for toolbar buttons.
1979 (getButtonBorder): Adjusted factory method to return a shared
1980 instance of button border.
1981 (getToolbarButtonBorder): Added factory method to return a shared
1982 instance of toolbar button border.
1983 (getMarginBorder): Added factory method to return a shared
1984 instance of margin border.
1985 * javax/swing/plaf/metal/MetalButtonUI.java
1986 (installDefauls): If button is child of a JToolBar then set
1987 special border on this button.
1989 2005-04-20 Michael Koch <konqueror@gmx.de>
1991 * java/net/URLConnection.java
1992 (getContent): Fixed javadoc comment.
1994 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1996 * java/net/URL.java:
1997 (toURI()): Implemented.
1999 2005-04-19 Michael Koch <konqueror@gmx.de>
2001 * java/net/InetAddress.java
2002 (InetAddress): Fixed javadoc comment.
2004 (lookup): Added javadoc.
2005 (getFamily): Likewise.
2006 * java/net/ServerSocket.java
2007 (getChannel): Improved javadoc comment.
2009 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
2011 * gnu/xml/dom/html2/DomHTMLParser.java:
2012 Changed 'enum' references to become 'enumeration'.
2014 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2016 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
2018 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
2020 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
2021 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
2022 * gnu/javax/swing/text/html/parser/htmlValidator.java:
2023 (validateParameters(TagElement,htmlAttributeSet)):
2024 Replaced 'enum' with 'enumeration'.
2025 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
2028 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2030 * javax/swing/text/html/parser/Entity.java (getType): New method.
2031 * javax/swing/text/html/parser/DocumentParser.java:
2032 Inherit from javax.swing.text.html.parser.Parser.
2034 2005-04-19 Chris Burdess <dog@gnu.org>
2036 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
2037 check for HTML/XHTML namespace.
2039 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2041 * javax/swing/text/html/parser/Parser.java,
2042 javax/swing/text/html/parser/Entity.java:
2043 Inheriting from DTDConstants.
2044 * javax/swing/text/html/parser/AttributeList.java
2045 (getValues): Changed return type.
2046 * javax/swing/text/html/parser/DocumentParser
2047 (parse): Adding the callback parameter that receives
2050 2005-04-19 Chris Burdess <dog@gnu.org>
2052 * gnu/xml/dom/DomImpl.java,
2053 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
2054 gnu/xml/dom/html2/DomHTMLDocument.java,
2055 gnu/xml/dom/html2/DomHTMLElement.java,
2056 gnu/xml/dom/html2/DomHTMLFormElement.java,
2057 gnu/xml/dom/html2/DomHTMLFrameElement.java,
2058 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
2059 gnu/xml/dom/html2/DomHTMLImpl.java,
2060 gnu/xml/dom/html2/DomHTMLInputElement.java,
2061 gnu/xml/dom/html2/DomHTMLObjectElement.java,
2062 gnu/xml/dom/html2/DomHTMLOptionElement.java,
2063 gnu/xml/dom/html2/DomHTMLSelectElement.java,
2064 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
2065 gnu/xml/dom/html2/DomHTMLTableElement.java,
2066 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
2067 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
2068 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
2069 UI events, and tree utility functions.
2071 2005-04-19 Michael Koch <konqueror@gmx.de>
2073 * gnu/javax/swing/text/html/parser/HTML_401F.java,
2074 gnu/javax/swing/text/html/parser/gnuDTD.java,
2075 gnu/javax/swing/text/html/parser/models/node.java:
2076 Reworked import statements.
2078 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
2080 * javax/swing/text/html/HTMLDocument.java: New file.
2082 2005-04-19 Michael Koch <konqueror@gmx.de>
2084 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
2086 * javax/swing/text/html/parser/AttributeList.java:
2087 Fixed order of modifiers.
2088 (AttributeList): Made final.
2089 * javax/swing/text/html/parser/ContentModel.java:
2090 Fixed html characters in javadocs.
2091 * javax/swing/text/html/parser/DTD.java
2092 (DTD): Don't implement java.io.Serializable directly.
2093 (getElement): Simplified.
2094 * javax/swing/text/html/parser/DTDConstants.java:
2096 * javax/swing/text/html/parser/Element.java:
2097 Fixed order of modifiers.
2098 * javax/swing/text/html/parser/Parser.java:
2099 Reformatted. Don't use fully-qualified class names.
2100 * javax/swing/text/html/parser/ParserDelegator.java:
2101 Fixed order of modifiers.
2102 * javax/swing/text/rtf/RTFParser.java:
2103 Re-ordered import statements.
2104 * javax/swing/text/rtf/RTFScanner.java:
2105 Removed unused import statement.
2107 2005-04-19 Chris Burdess <dog@gnu.org>
2109 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
2110 gnu/xml/dom/html2/DomHTMLCollection.java,
2111 gnu/xml/dom/html2/DomHTMLDocument.java,
2112 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
2114 * gnu/xml/dom/html2/DomHTMLDListElement.java,
2115 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
2116 gnu/xml/dom/html2/DomHTMLDivElement.java,
2117 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
2118 gnu/xml/dom/html2/DomHTMLFontElement.java,
2119 gnu/xml/dom/html2/DomHTMLFormElement.java,
2120 gnu/xml/dom/html2/DomHTMLFrameElement.java,
2121 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
2122 gnu/xml/dom/html2/DomHTMLHRElement.java,
2123 gnu/xml/dom/html2/DomHTMLHeadElement.java,
2124 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
2125 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
2126 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
2127 gnu/xml/dom/html2/DomHTMLImageElement.java,
2128 gnu/xml/dom/html2/DomHTMLInputElement.java,
2129 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
2130 gnu/xml/dom/html2/DomHTMLLIElement.java,
2131 gnu/xml/dom/html2/DomHTMLLabelElement.java,
2132 gnu/xml/dom/html2/DomHTMLLegendElement.java,
2133 gnu/xml/dom/html2/DomHTMLLinkElement.java,
2134 gnu/xml/dom/html2/DomHTMLMapElement.java,
2135 gnu/xml/dom/html2/DomHTMLMenuElement.java,
2136 gnu/xml/dom/html2/DomHTMLMetaElement.java,
2137 gnu/xml/dom/html2/DomHTMLModElement.java,
2138 gnu/xml/dom/html2/DomHTMLOListElement.java,
2139 gnu/xml/dom/html2/DomHTMLObjectElement.java,
2140 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
2141 gnu/xml/dom/html2/DomHTMLOptionElement.java,
2142 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
2143 gnu/xml/dom/html2/DomHTMLParamElement.java,
2144 gnu/xml/dom/html2/DomHTMLPreElement.java,
2145 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
2146 gnu/xml/dom/html2/DomHTMLScriptElement.java,
2147 gnu/xml/dom/html2/DomHTMLSelectElement.java,
2148 gnu/xml/dom/html2/DomHTMLStyleElement.java,
2149 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
2150 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
2151 gnu/xml/dom/html2/DomHTMLTableColElement.java,
2152 gnu/xml/dom/html2/DomHTMLTableElement.java,
2153 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
2154 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
2155 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
2156 gnu/xml/dom/html2/DomHTMLTitleElement.java,
2157 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
2159 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2161 * javax/swing/text/ChangedCharSetException.java,
2162 javax/swing/text/html/HTMLEditorKit.java,
2163 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
2164 javax/swing/text/html/parser/AttributeList.java,
2165 javax/swing/text/html/parser/ContentModel.java,
2166 javax/swing/text/html/parser/DocumentParser.java,
2167 javax/swing/text/html/parser/DTD.java,
2168 javax/swing/text/html/parser/DTDConstants.java,
2169 javax/swing/text/html/parser/Element.java,
2170 javax/swing/text/html/parser/Entity.java,
2171 javax/swing/text/html/parser/Parser.java,
2172 javax/swing/text/html/parser/TagElement.java,
2173 gnu/javax/swing/text/html/package.html,
2174 gnu/javax/swing/text/html/parser/gnuDTD.java,
2175 gnu/javax/swing/text/html/parser/HTML_401F.java,
2176 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
2177 gnu/javax/swing/text/html/parser/htmlValidator.java,
2178 gnu/javax/swing/text/html/parser/package.html,
2179 gnu/javax/swing/text/html/parser/models/list.java,
2180 gnu/javax/swing/text/html/parser/models/node.java,
2181 gnu/javax/swing/text/html/parser/models/noTagModel.java,
2182 gnu/javax/swing/text/html/parser/models/package.html,
2183 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
2184 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
2185 gnu/javax/swing/text/html/parser/models/transformer.java,
2186 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
2187 gnu/javax/swing/text/html/parser/support/package.html,
2188 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
2189 gnu/javax/swing/text/html/parser/support/Parser.java,
2190 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
2191 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
2192 gnu/javax/swing/text/html/parser/support/low/Constants.java,
2193 gnu/javax/swing/text/html/parser/support/low/Location.java,
2194 gnu/javax/swing/text/html/parser/support/low/node.java,
2195 gnu/javax/swing/text/html/parser/support/low/package.html,
2196 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
2197 gnu/javax/swing/text/html/parser/support/low/pattern.java,
2198 gnu/javax/swing/text/html/parser/support/low/Queue.java,
2199 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
2201 * javax/swing/text/html/HTML.java,
2202 javax/swing/text/html/parser/ParserDelegator.java:
2203 New files (replacing).
2204 * javax/swing/text/html/package.html,
2205 javax/swing/text/html/parser/package.html: Documenting the
2208 2005-04-19 Chris Burdess <dog@gnu.org>
2210 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
2211 gnu/xml/dom/html2/DomHTMLAppletElement.java,
2212 gnu/xml/dom/html2/DomHTMLAreaElement.java,
2213 gnu/xml/dom/html2/DomHTMLBaseElement.java,
2214 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
2215 gnu/xml/dom/html2/DomHTMLBodyElement.java,
2216 gnu/xml/dom/html2/DomHTMLBRElement.java,
2217 gnu/xml/dom/html2/DomHTMLButtonElement.java,
2218 gnu/xml/dom/html2/DomHTMLCollection.java,
2219 gnu/xml/dom/html2/DomHTMLDocument.java,
2220 gnu/xml/dom/html2/DomHTMLElement.java: New files.
2222 2005-04-19 Michael Koch <konqueror@gmx.de>
2224 * Makefile.am: Added new files.
2225 * Makefile.in: Regenerated.
2227 2005-04-19 Roman Kennke <roman@kennke.org>
2229 * javax/swing/text/JTextComponent.java
2230 (JTextComponent): Added repaintListener which issues repaint
2231 requests when the underlying document changes.
2232 (setDocument): Adds repaintListener to document when the
2233 document is changed.
2234 * javax/swing/text/DefaultEditorKit.java:
2235 Removed repaint calls on JTextComponent. This is now handled
2236 through a DocumentListener in JTextComponent that repaints
2237 the component when needed.
2239 2005-04-19 Roman Kennke <roman@kennke.org>
2242 * javax/swing/text/StyleContext.java
2243 (NamedStyle.setResolveParent): Added null
2246 2005-04-19 Michael Koch <konqueror@gmx.de>
2248 * java/rmi/server/RemoteObject.java:
2249 Removed unused import statement.
2251 2005-04-19 Michael Koch <konqueror@gmx.de>
2253 * java/net/URL.java: Formatting cleanups.
2255 2005-04-19 Michael Koch <konqueror@gmx.de>
2257 * java/awt/FontMetrics.java: Reformatted.
2258 (getFontRenderContext): Handle case when java.awt.Graphics context is
2261 2005-04-19 Michael Koch <konqueror@gmx.de>
2263 * java/awt/FontMetrics.java
2264 (getStringBounds): New methods.
2267 2005-04-19 Michael Koch <konqueror@gmx.de>
2269 * gnu/java/security/x509/X509Certificate.java
2270 (parse): Handle val == null case.
2272 2005-04-19 Roman Kennke <roman@kennke.org>
2274 * javax/swing/plaf/metal/MetalLookAndFeel.java
2275 (initComponentDefaults): Added defaults for Menu, MenuBar
2278 2005-04-19 Roman Kennke <roman@kennke.org>
2280 * javax/swing/plaf/metal/MetalLookAndFeel.java
2281 (initComponentDefaults): Added Label.font.
2282 (initSystemColorDefaults): Added this method and adjusted the
2283 general control color.
2285 2005-04-19 Roman Kennke <roman@kennke.org>
2287 * javax/swing/plaf/metal/MetalBorders.java:
2289 * javax/swing/plaf/metal/MetalButtonUI.java:
2290 (installDefaults): Install button font.
2291 * javax/swing/plaf/metal/MetalLookAndFeel.java:
2292 (initComponentDefaults): Added button border, font and margin.
2293 Changed components background color to the Metal current themes
2296 2005-04-19 Roman Kennke <roman@kennke.org>
2298 * javax/swing/plaf/metal/MetalLookAndFeel.java
2299 (initComponentDefaults): Added to set Metal specific component
2302 2005-04-19 Mark Wielaard <mark@klomp.org>
2304 * javax/swing/plaf/metal/MetalLookAndFeel.java
2305 (initClassDefaults): Call super.initClassDefaults().
2307 2005-04-19 Roman Kennke <roman@kennke.org>
2309 * javax/swing/plaf/metal/MetalLookAndFeel.java
2310 (initClassDefaults): Added to include the *UI classes.
2312 2005-04-19 Roman Kennke <roman@kennke.org>
2314 * javax/swing/plaf/metal/MetalComboBoxUI.java:
2316 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
2318 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
2320 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
2322 * javax/swing/plaf/metal/MetalProgressBarUI.java:
2324 * javax/swing/plaf/metal/MetalRootPaneUI.java:
2326 * javax/swing/plaf/metal/MetalScrollBarUI.java:
2328 * javax/swing/plaf/metal/MetalSeparatorUI.java:
2330 * javax/swing/plaf/metal/MetalSliderUI.java:
2332 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
2334 * javax/swing/plaf/metal/MetalTextFieldUI.java:
2336 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
2338 2005-04-19 Roman Kennke <roman@kennke.org>
2340 * javax/swing/plaf/metal/MetalButtonUI.java:
2341 Added skeleton class.
2342 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
2343 Added skeleton class.
2344 * javax/swing/plaf/metal/MetalLabelUI.java:
2345 Added skeleton class.
2346 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
2347 Added skeleton class.
2348 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
2349 Added skeleton class.
2350 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
2351 Added skeleton class.
2353 2005-04-19 Roman Kennke <roman@kennke.org>
2355 * javax/swing/UIDefaults.java:
2356 Added API documentation for all methods.
2358 2005-04-19 Roman Kennke <roman@kennke.org>
2360 * javax/swing/UIDefaults.java
2361 (put): Now uses new checkAndPut method instead of checking
2363 (putDefaults): Fixed so that it accepts null-values and
2364 treats them like remove(key).
2365 (checkAndPut): Added. This checks for null-values and calls
2368 2005-04-19 Michael Koch <konqueror@gmx.de>
2370 * Makefile.am: Added new files.
2371 * Makefile.in: Regenerated.
2373 2005-04-19 Mark Wielaard <mark@klomp.org>
2375 * java/lang/natRuntime.cc (insertSystemProperties): Set
2376 java.class.path to CLASSPATH only when not empty. Fall back to
2377 default path "." when java.class.path is empty.
2379 2005-04-19 Michael Koch <konqueror@gmx.de>
2381 * javax/swing/text/rtf/ControlWordToken.java,
2382 javax/swing/text/rtf/RTFEditorKit.java,
2383 javax/swing/text/rtf/RTFParseException.java,
2384 javax/swing/text/rtf/RTFParser.java,
2385 javax/swing/text/rtf/RTFScanner.java,
2386 javax/swing/text/rtf/TextToken.java,
2387 javax/swing/text/rtf/Token.java: New files.
2388 * Makefile.am: Added new files.
2389 * Makefile.in: Regenerated.
2391 2005-04-19 Michael Koch <konqueror@gmx.de>
2393 * java/awt/geom/QuadCurve2D.java:
2394 Fixed Brian Gough's name for real.
2396 2005-04-19 Roman Kennke <roman@kennke.org>
2398 * javax/swing/UIManager.java:
2399 Make the UIManager respect the swing.defaultlaf system
2402 2005-04-19 Tom Tromey <tromey@redhat.com>
2404 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2407 2005-04-19 Roman Kennke <roman@kennke.org>
2409 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2410 Fixed tabs to spaces.
2412 2005-04-19 Roman Kennke <roman@kennke.org>
2414 * javax/swing/plaf/basic/BasicMenuUI.java
2415 (getMaximumSize): Now returns preferredSize because JMenu should
2416 never be bigger than that.
2417 * javax/swing/JRootPane
2418 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2420 2005-04-19 Roman Kennke <roman@kennke.org>
2422 * javax/swing/JRootPane.java:
2423 Fixed various tabs to be spaces.
2424 (RootLayout.layoutContainer): Made menubar left aligned.
2426 2005-04-19 Roman Kennke <roman@ontographics.com>
2428 * javax/swing/JList.java
2429 (getPreferredScrollableViewportSize):
2430 The previous implementation was merely guessing the size,
2431 now it respects layoutOrientation, visibleRowCount
2433 (getScrollableTracksViewportHeight):
2434 Reimplemented so that layoutOrientation, visibleRowCount
2435 and preferred size are respected.
2436 (getScrollableTracksViewportWidth):
2437 Reimplemented so that layoutOrientation, visibleRowCount
2438 and preferred size are respected.
2439 * javax/swing/plaf/basic/BasicListUI.java
2441 Improved calculation of preferredSize when JList is
2442 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2444 The previous implementation assumed a layoutOrientation of
2445 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2446 JList.VERTICAL_WRAP.
2448 2005-04-19 Roman Kennke <roman@ontographics.com>
2450 * javax/swing/plaf/basic/BasicListUI.java
2451 (paintCell): use CellRendererPane for painting the cells.
2453 2005-04-19 Roman Kennke <roman@ontographics.com>
2455 * javax/swing/plaf/basic/BasicListUI:
2456 fixed modifiers of several fields, methods and inner
2457 classes to match the 'spec'.
2458 (getMaximumSize): removed. It's not in the spec and the
2459 implementations was superfluous.
2461 2005-04-19 Roman Kennke <roman@ontographics.com>
2463 * javax/swing/plaf/basic/BasicListUI:
2464 make BasicListUI capable of wrapping lists
2465 (layoutOrientation property of javax.swing.JList)
2467 2005-04-19 Roman Kennke <roman@ontographics.com>
2469 * javax/swing/plaf/basic/BasicListUI
2470 (updateLayoutState,paint): make BasicListUI aware of the
2471 width of the rendered JList.
2473 2005-04-19 Roman Kennke <roman@kennke.org>
2475 * javax/swing/ImageIcon.java
2476 Added API documentation.
2478 2005-04-19 Roman Kennke <roman@kennke.org>
2480 * javax/swing/text/ImageIcon.java
2481 (ImageIcon): Use setImage instead of direct assignment.
2482 (setImage): Call loadImage to make sure that the image is loaded.
2483 (loadImage): Waits for the image to complete loading.
2484 (getImageLoadStatus): Added. Returns the load status of the
2487 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2489 * javax/swing/JTextArea.java (replaceRange):
2490 Fixing doc.remove(start, length) misinterpretation.
2492 2005-04-19 Roman Kennke <roman@ontographics.com>
2494 * javax/swing/CellRendererPane.java:
2495 implemented all methods of this class.
2496 reformatted all wrong formatted code.
2498 2005-04-19 Roman Kennke <roman@kennke.org>
2500 * javax/swing/BoxLayout.java:
2501 (layoutContainer): Made this layout manager respect the
2502 minimum, maximum and preferred size more correctly.
2504 2005-04-19 Roman Kennke <roman@ontographics.com>
2506 * javax/swing/BoxLayout.java:
2507 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2508 layoutContainer): Make these methods and thereby the
2509 BoxLayout respect the insets (like borders) of the
2510 component that is laid out.
2512 2005-04-19 Roman Kennke <roman@kennke.org>
2514 * javax/swing/JComponent.java:
2515 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2516 Untabified the file.
2518 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2520 * javax/swing/JComboBox.java (constructors): selecting the
2521 first item if the box was constructed from the provided
2522 non - empty array or vector.
2524 2005-04-19 Michael Koch <konqueror@gmx.de>
2526 * gnu/java/awt/peer/gtk/GdkGraphics.java
2527 (getClipBounds): Handle clip being null.
2528 (setClip): Likewise.
2529 * java/beans/beancontext/BeanContextSupport.java
2533 (removeAll): Likewise.
2534 (retainAll): Likewise.
2536 2005-04-19 Michael Koch <konqueror@gmx.de>
2538 * java/beans/beancontext/BeanContextServicesSupport.java
2539 (BeanContextServicesSupport): Reimplemented.
2540 (addBeanContextServicesListener): Implemented.
2541 (initialize): Likewise.
2542 (removeBeanContextServicesListener): Likewise.
2543 * java/beans/beancontext/BeanContextSupport.java
2545 (addBeanContextMembershipListener): Likewise.
2546 (getLocale): Likewise.
2547 (initialize): Likewise.
2548 (iterator): Likewise.
2550 (toArray): Likewise.
2552 2005-04-19 Roman Kennke <roman@kennke.org>
2554 * java/awt/MediaTracker.java:
2555 Reindented tabs to spaces.
2557 2005-04-19 Roman Kennke <roman@kennke.org>
2559 * java/awt/MediaTracker.java
2560 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2561 confused the media tracker and lead to lockups. The LOADING
2562 bit is handled on other places.
2563 (addImage): Removed the 'start image tracking' stuff. This
2564 is not necessary and could confuse the media tracker.
2565 (checkAll): Improved the check for image status so that
2566 images that already complete images are detected. Also now
2567 are really all images checked and if necessary loaded. Before
2568 the method bailed out after the first incomplete image.
2569 (statusAll): Detect images that are complete after the
2570 call to Component.prepareImage(..).
2571 (checkID): The same as in checkAll.
2572 (statusID): The same as in statusAll.
2574 2005-04-19 Roman Kennke <roman@kennke.org>
2576 * java/awt/MediaTracker.java
2577 (addImage): Synchronized list access.
2578 (waitForAll): Fixed comparison of time (changed < to >).
2579 (waitForID): Fixed comparison of time (changed < to >).
2580 (removeImage): Synchronized list access.
2582 2005-04-19 Roman Kennke <roman@kennke.org>
2584 * java/awt/MediaTracker.java
2585 Added API documentation.
2587 2005-04-19 Roman Kennke <roman@kennke.org>
2589 * java/awt/MediaTracker.java
2590 (MediaEntry.imageUpdate): Fixed flags. The different flags
2591 must not be ORed together.
2592 (checkAll): Modified to handle different meaning of the flags.
2593 (waitForAll): Fixed so that it waits maximum the
2594 specified amount of milliseconds.
2595 (statusAll): Modified to handle different meaning of the flags.
2596 (waitForID): Fixed so that it waits maximum the
2597 specified amount of milliseconds.
2599 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2601 * java/awt/Font.java (decode): Handle null argument and allow
2604 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2606 * java/beans/EventHandler.java: Reworked documentation.
2607 (invoke): Fixed behavior to match spec.
2609 2005-04-19 Michael Koch <konqueror@gmx.de>
2611 * java/awt/print/PrinterJob.java
2612 (pageDialog): New method.
2613 (printDialog): Implemented.
2615 2005-04-19 Michael Koch <konqueror@gmx.de>
2617 * java/awt/image/ConvolveOp.java:
2618 Removed comment added by eclipse.
2620 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2622 * java/awt/image/IndexColorModel.java
2623 (getRGB): Check if pixel is negative.
2625 2005-04-19 Michael Koch <konqueror@gmx.de>
2627 * java/awt/image/RasterOp.java:
2628 Fixed wrong formatting.
2630 2005-04-18 Roman Kennke <roman@kennke.org>
2632 * java/awt/Compmonent.java
2633 (setComponentOrientation): Made this property firing a
2634 PropertyChangeEvent.
2636 2005-04-18 Roman Kennke <roman@kennke.org>
2638 * java/awt/BorderLayout.java
2639 (calcSize): Check for overflow when component sizes are added.
2641 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2643 * java/awt/AWTEvent.java (toString): Added case
2644 for source not being an AWT component.
2646 2005-04-18 Chris Burdess <dog@gnu.org>
2648 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2650 2005-04-18 Michael Koch <konqueror@gmx.de>
2652 gnu/java/awt/EmbeddedWindowSupport.java,
2653 gnu/java/net/HeaderFieldHelper.java,
2654 gnu/java/net/URLParseError.java,
2655 gnu/java/net/protocol/file/Handler.java,
2656 gnu/java/net/protocol/jar/Handler.java:
2657 Fixed usage of @author tag.
2659 2005-04-18 Michael Koch <konqueror@gmx.de>
2661 * gnu/xml/aelfred2/XmlParser.java:
2662 Reverted my typo fix.
2664 2005-04-18 Michael Koch <konqueror@gmx.de>
2666 * java/awt/geom/CubicCurve2D.java,
2667 java/awt/geom/QuadCurve2D.java:
2668 Fixed mentioning of Brian Gouph.
2670 2005-04-18 Michael Koch <konqueror@gmx.de>
2672 * gnu/java/awt/Buffers.java,
2673 gnu/java/awt/image/ImageDecoder.java,
2674 gnu/java/awt/image/XBMDecoder.java,
2675 gnu/java/awt/peer/ClasspathFontPeer.java,
2676 gnu/java/net/CRLFInputStream.java,
2677 gnu/java/net/EmptyX509TrustManager.java,
2678 gnu/java/net/LineInputStream.java,
2679 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2680 gnu/java/net/protocol/ftp/BlockInputStream.java,
2681 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2682 gnu/java/net/protocol/ftp/DTP.java,
2683 gnu/java/net/protocol/ftp/DTPInputStream.java,
2684 gnu/java/net/protocol/ftp/FTPConnection.java,
2685 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2686 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2687 gnu/java/net/protocol/ftp/StreamInputStream.java,
2688 gnu/java/net/protocol/http/ChunkedInputStream.java,
2689 gnu/java/net/protocol/http/HTTPConnection.java,
2690 gnu/java/net/protocol/http/HTTPURLConnection.java,
2691 gnu/java/net/protocol/http/Headers.java,
2692 gnu/java/net/protocol/http/Request.java,
2693 gnu/java/nio/ChannelInputStream.java,
2694 gnu/java/nio/ChannelOutputStream.java,
2695 gnu/java/nio/InputStreamChannel.java,
2696 gnu/java/nio/OutputStreamChannel.java,
2697 gnu/java/nio/SelectorProviderImpl.java,
2698 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2699 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2700 gnu/java/rmi/dgc/DGCImpl.java,
2701 gnu/java/rmi/registry/RegistryImpl.java,
2702 gnu/java/rmi/server/ProtocolConstants.java,
2703 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2704 gnu/java/rmi/server/RMIIncomingThread.java,
2705 gnu/java/rmi/server/RMIObjectInputStream.java,
2706 gnu/java/rmi/server/RMIObjectOutputStream.java,
2707 gnu/java/rmi/server/RMIVoidValue.java,
2708 gnu/java/rmi/server/UnicastConnectionManager.java,
2709 gnu/java/rmi/server/UnicastRef.java,
2710 gnu/java/rmi/server/UnicastRemoteCall.java,
2711 gnu/java/rmi/server/UnicastRemoteStub.java,
2712 gnu/java/rmi/server/UnicastServerRef.java,
2713 gnu/java/security/OID.java,
2714 gnu/java/security/der/DERReader.java,
2715 gnu/java/security/provider/CollectionCertStoreImpl.java,
2716 gnu/java/security/provider/DSAParameterGenerator.java,
2717 gnu/java/security/provider/DefaultPolicy.java,
2718 gnu/java/security/provider/EncodedKeyFactory.java,
2719 gnu/java/security/provider/GnuDHPublicKey.java,
2720 gnu/java/security/provider/GnuDSAPrivateKey.java,
2721 gnu/java/security/provider/GnuDSAPublicKey.java,
2722 gnu/java/security/provider/GnuRSAPrivateKey.java,
2723 gnu/java/security/provider/GnuRSAPublicKey.java,
2724 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2725 gnu/java/security/provider/RSA.java,
2726 gnu/java/security/provider/SHA1PRNG.java,
2727 gnu/java/security/provider/SHA1withRSA.java,
2728 gnu/java/security/provider/X509CertificateFactory.java,
2729 gnu/java/security/x509/GnuPKIExtension.java,
2730 gnu/java/security/x509/X500DistinguishedName.java,
2731 gnu/java/security/x509/X509CRL.java,
2732 gnu/java/security/x509/X509CRLEntry.java,
2733 gnu/java/security/x509/X509CertPath.java,
2734 gnu/java/security/x509/X509CertSelectorImpl.java,
2735 gnu/java/security/x509/X509Certificate.java,
2736 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2737 gnu/java/security/x509/ext/BasicConstraints.java,
2738 gnu/java/security/x509/ext/CRLNumber.java,
2739 gnu/java/security/x509/ext/CertificatePolicies.java,
2740 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2741 gnu/java/security/x509/ext/Extension.java,
2742 gnu/java/security/x509/ext/GeneralNames.java,
2743 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2744 gnu/java/security/x509/ext/KeyUsage.java,
2745 gnu/java/security/x509/ext/PolicyConstraint.java,
2746 gnu/java/security/x509/ext/PolicyMappings.java,
2747 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2748 gnu/java/security/x509/ext/ReasonCode.java,
2749 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2750 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2751 Reorganized import statements.
2753 2005-04-18 Michael Koch <konqueror@gmx.de>
2755 * gnu/java/awt/color/CieXyzConverter.java,
2756 gnu/java/awt/color/ClutProfileConverter.java,
2757 gnu/java/awt/color/ColorLookUpTable.java,
2758 gnu/java/awt/color/ColorSpaceConverter.java,
2759 gnu/java/awt/color/GrayProfileConverter.java,
2760 gnu/java/awt/color/GrayScaleConverter.java,
2761 gnu/java/awt/color/LinearRGBConverter.java,
2762 gnu/java/awt/color/ProfileHeader.java,
2763 gnu/java/awt/color/PyccConverter.java,
2764 gnu/java/awt/color/RgbProfileConverter.java,
2765 gnu/java/awt/color/SrgbConverter.java,
2766 gnu/java/awt/color/TagEntry.java,
2767 gnu/java/awt/color/ToneReproductionCurve.java:
2768 Standardized file headers.
2770 2005-04-16 Tom Tromey <tromey@redhat.com>
2772 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2773 'ANY' package-private.
2775 2005-04-15 Tom Tromey <tromey@redhat.com>
2777 * Makefile.in: Rebuilt.
2778 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2779 (libgcj0_convenience_la_LIBADD): ... here.
2781 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2783 * gij.cc (version): Properly quote java version.
2784 (main): Fix typo in comment.
2786 2005-04-13 Mark Wielaard <mark@klomp.org>
2788 * java/lang/natRuntime.cc (insertSystemProperties): Set
2789 java.class.path to CLASSPATH if not already set.
2791 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2793 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2795 2005-04-12 Mike Stump <mrs@apple.com>
2797 * configure: Regenerate.
2799 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2802 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2803 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2805 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2808 * scripts/TexinfoDoclet.java: Removed.
2809 * Makefile.am (texinfo): Removed.
2810 * Makefile.in: Regenerated.
2812 2005-04-11 Michael Koch <konqueror@gmx.de>
2814 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2815 Fixed wrong casting.
2817 2005-04-06 Andrew Haley <aph@redhat.com>
2819 * testsuite/libjava.lang/bytearray.java: New file.
2820 * testsuite/libjava.lang/bytearray.out: New file.
2821 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2822 (loadClass): Use it.
2823 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2825 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2827 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2828 gcj-dbtool dependency
2829 * Makefile.in: Regenerated
2831 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2833 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2834 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2836 2005-04-05 Andrew Haley <aph@redhat.com>
2838 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2839 (Tokenizer): New class.
2840 (getFiles): New method.
2841 (main): Add "-" argument.
2843 Read list of files from stdin when merging map databases.
2844 (usage): Add "-" argument.
2848 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2851 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2852 * Makefile.in: Regenerate.
2853 * configure.ac: Add --with-java-home option.
2854 * configure: Regenerate.
2855 * external/Makefile.in: Regenerate.
2856 * external/sax/Makefile.in: Regenerate.
2857 * external/w3c_dom/Makefile.in: Regenerate.
2858 * gcj/Makefile.in: Regenerate.
2859 * include/Makefile.in: Regenerate.
2860 * testsuite/Makefile.in: Regenerate.
2861 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2864 2005-04-05 Tom Tromey <tromey@redhat.com>
2866 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2867 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2868 Rewrote to use _Jv_FindClassFromSignature.
2869 * verify.cc (resolve): throw NoClassDefFoundError.
2870 * link.cc (resolve_field): Throw NoClassDefFoundError.
2871 (find_field): Likewise.
2872 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2873 Handle error cases. Added 'endp' argument.
2874 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2876 2005-04-05 Tom Tromey <tromey@redhat.com>
2878 * Makefile.in: Rebuilt.
2879 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2880 gtk_awt_peer_sources.
2881 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2882 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2883 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2884 (gtk-awt-peer.lo): New target.
2886 2005-04-04 Steve Pribyl <steve@netfuel.com>
2889 * configure.ac: Fix fastjar definition for cross builds.
2890 * configure: Rebuilt.
2892 2005-04-04 Tom Tromey <tromey@redhat.com>
2894 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2895 it was already found.
2897 2005-04-04 Tom Tromey <tromey@redhat.com>
2899 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2900 org.metastatic.jessie.
2902 2005-04-02 Anthony Green <green@redhat.com>
2905 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2907 2005-04-02 Mark Wielaard <mark@klomp.org>
2909 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2910 Attributes and attribute order doesn't matter.
2911 (BasicAttributesEnumeration.where): Initialize to zero.
2912 (BasicAttributesEnumeration.nextElement): Update and compare where
2913 appropriately (zero based).
2915 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2917 PR libgcj/20090, PR libgcj/20526
2918 * gij.cc (nonstandard_opts_help): New function.
2919 (add_option): New function.
2920 (main): Support java options. Set java.class.path. Don't set
2922 * prims.cc (parse_x_arg): New function.
2923 (parse_init_args): Call parse_x_arg for -X and _ options, when
2924 ignoreUnrecognized is true.
2925 (new _Jv_RunMain): New vm_args variant.
2926 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2927 (_Jv_Jar_Class_Path): Remove variable.
2928 * include/java-props.h: Likewise.
2929 * include/cni.h (JvRealloc): New function.
2930 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2931 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2932 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2934 * configure.ac (JV_VERSION): Define.
2935 (JV_API_VERSION): Likewise.
2936 * configure: Regenerate.
2937 * include/config.h.in: Regenerate.
2939 2005-04-01 Mark Anderson <mark@panonet.net>
2941 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2942 -Infinity as parameters.
2944 2005-04-01 Michael Koch <konqueror@gmx.de>
2946 * java/io/PipedInputStream.java
2947 (read): Make sure a positive byte value is returned. Revised javadoc.
2948 Thanks to Olafur Bragason for reporting these bugs.
2950 2005-04-01 Tom Tromey <tromey@redhat.com>
2952 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2953 Updated for name change.
2954 (nativeFindClass): New method.
2955 (loadClass): Use nativeFindClass.
2956 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2958 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2959 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2961 (initialize): New method.
2962 (nativeFindClass): Declare.
2963 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2964 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2965 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2967 (definePackageForNative): Removed.
2968 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2969 Moved to VMClassLoader.java.
2970 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2971 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2972 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2973 removed VMClassLoader.java.
2974 (nat_source_files): Removed natVMClassLoader.cc.
2976 2005-04-01 Tom Tromey <tromey@redhat.com>
2978 * Makefile.in: Rebuilt.
2979 * Makefile.am (db_pathtail): Use $(gcc_version), not
2982 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2984 * java/util/Timer.java
2985 (run): Stop the queue if a task throws an exception.
2987 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2989 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2991 2005-03-29 Ian Lance Taylor <ian@airs.com>
2993 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2994 * external/sax/Makefile.in: Rebuild.
2995 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2997 * external/w3c_dom/Makefile.in: Rebuild.
2999 2005-03-29 Tom Tromey <tromey@redhat.com>
3001 * java/lang/natRuntime.cc (insertSystemProperties): Set
3002 gnu.gcj.runtime.endorsed.dirs.
3003 * Makefile.in: Rebuilt.
3004 * Makefile.am (ordinary_java_source_files): Added
3005 HelperClassLoader.java.
3006 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
3007 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
3009 (init): Use addDirectoriesFromProperty.
3010 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
3011 HelperClassLoader. Use addDirectoriesFromProperty. Handle
3012 gnu.gcj.runtime.endorsed.dirs.
3013 * gnu/gcj/runtime/HelperClassLoader.java: New file.
3015 2005-03-26 Chris Burdess <dog@gnu.org>
3017 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
3020 2005-03-13 Michael Koch <konqueror@gmx.de>
3022 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
3024 2005-03-11 Chris Burdess <dog@gnu.org>
3026 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
3029 2005-02-27 Chris Burdess <dog@gnu.org>
3031 * gnu/xml/aelfred2/JAXPFactory.java,
3032 gnu/xml/aelfred2/SAXDriver.java,
3033 gnu/xml/aelfred2/XmlParser.java,
3034 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
3035 formatting conventions. Replaced arrays of Object with struct-like
3036 classes for easier maintainability. Made SAXDriver.stringInterning
3037 package private to allow access from XmlParser inside the loop without
3038 a method call overhead.
3040 2005-03-11 Chris Burdess <dog@gnu.org>
3042 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
3045 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
3047 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
3048 settings to sub Makefiles.
3049 (GCJH, ZIP): Prefix with top_builddir.
3050 * configure: Rebuild.
3051 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
3052 * external/w3c_dom/Makefile.in: Rebuild.
3053 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
3054 * external/sax/Makefile.in: Rebuild.
3056 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
3058 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
3059 libsocket to the libraries to link for Solaris.
3061 2005-03-28 Per Bothner <per@bothner.com>
3063 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
3064 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
3066 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
3068 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
3069 to fix a ONESTEP fallout.
3070 * Makefile.in: Regenerate.
3072 2005-03-25 Mike Stump <mrs@apple.com>
3074 * configure.ac: Fix ZIP and GCJH at configure time to absolute
3075 paths like we do for the compiler, as we use it in external/sax
3076 and it doesn't get MULTIBUILDTOP right when multilibing.
3078 2005-03-24 Anthony Green <green@redhat.com>
3080 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
3082 (usage): Add [LIBDIR] to help output.
3083 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
3084 * Makefile.am (AM_CXXFLAGS): Define
3085 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
3086 (db_pathtail): New macro.
3088 2005-03-24 Tom Tromey <tromey@redhat.com>
3090 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
3091 add sax and w3c libraries.
3092 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
3094 * external/w3c_dom/Makefile.in: Rebuilt.
3095 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
3097 (libw3c_gcj_la_LDFLAGS): New variable.
3098 (noinst_LTLIBRARIES): Renamed.
3099 * external/sax/Makefile.in: Rebuilt.
3100 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
3102 (libsax_gcj_la_LDFLAGS): New variable.
3103 (noinst_LTLIBRARIES): Renamed.
3105 2005-03-23 Tom Tromey <tromey@redhat.com>
3107 * Makefile.in: Rebuilt.
3108 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
3109 (libgcj0_convenience_la_SOURCES): Don't include
3110 gnu_xml_source_files.
3111 (libgcj0_convenience_la_LIBADD): New variable.
3112 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
3113 (all_java_source_files): javax_imageio_source_files,
3114 javax_xml_source_files, and gnu_java_beans_source_files.
3115 ($(gnu_xml_source_files:.java=.lo)): Removed target.
3116 (gnu-xml.lo): New target.
3117 (javax-imageio.lo): Likewise.
3118 (javax-xml.lo): Likewise.
3119 (gnu-java-beans.lo): Likewise.
3120 (gnu_java_beans_source_files): New variable.
3121 (javax_imageio_source_files): Likewise.
3122 (javax_xml_source_files): Likewise.
3123 (javax_source_files): Moved files to other variable.
3124 (awt_java_source_files): Likewise.
3125 (ordinary_java_source_files): Added BootClassLoader.java.
3126 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
3127 not system class loader.
3128 (initBootLoader): New method.
3129 (loadClass): Search bootLoader.
3130 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
3131 boot loader, not system class loader.
3132 (_Jv_UnregisterInitiatingLoader): Likewise.
3133 (_Jv_FindClass): Likewise. Ensure entries in
3134 bootstrap_class_list are unique.
3135 * java/lang/natClass.cc (getClassLoader): Don't special case
3136 system class loader.
3137 * java/lang/VMClassLoader.java (bootLoader): New field.
3138 (getResource): Use bootLoader.
3139 (getResources): Likewise.
3140 (initBootLoader): Declare.
3141 * gnu/gcj/runtime/BootClassLoader.java: New file.
3142 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
3143 (EMPTY_ENUMERATION): Now package-private.
3144 * external/w3c_com/Makefile.in: Rebuilt.
3145 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
3146 (w3c.jar): New target.
3147 (classes.stamp): Updated.
3148 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3149 Changed name of library.
3150 (libw3c_gcj_la_SOURCES): New variable.
3151 (libw3c_gcj_la_GCJFLAGS): Likewise.
3152 (source_files): Renamed from lib3c_convenience_la_SOURCES.
3153 * external/sax/Makefile.in: Rebuilt.
3154 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
3155 (sax.jar): New target.
3156 (classes.stamp): Updated.
3157 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3158 Changed name of library.
3159 (libsax_gcj_la_SOURCES): New variable.
3160 (libsax_gcj_la_GCJFLAGS): Likewise.
3161 (source_files): Renamed from libsax_convenience_la_SOURCES.
3162 * stacktrace.cc (non_system_trace_fn): Don't look at system class
3164 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
3166 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
3168 2005-03-23 Sven de Marothy <sven@physto.se>
3170 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
3172 * java/util/Calendar.java
3173 (set): Use starting day of week when one is needed if none is given.
3174 * java/text/SimpleDateFormat.java
3175 (parse): Handle 1-12 and 1-24 timestamps correctly.
3176 * java/util/GregorianCalendar.java
3177 (computeTime, computeFields): HOUR should be in 0-11 format.
3178 (nonLeniencyCheck): Adjust leniency checking to that fact.
3179 (getLinearDay): Should be private.
3181 2005-03-23 Tom Tromey <tromey@redhat.com>
3183 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3184 (_Jv_CheckABIVersion): Use it.
3186 2005-03-22 Mike Stump <mrs@apple.com>
3188 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
3190 * include/posix.h: .dylib is used on all Apple MACH platforms.
3191 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
3193 2005-03-22 Tom Tromey <tromey@redhat.com>
3195 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
3197 2005-03-21 Tom Tromey <tromey@redhat.com>
3199 * java/lang/VMCompiler.java (static block): Also catch
3200 BufferUnderflowException.
3202 2005-03-21 Zack Weinberg <zack@codesourcery.com>
3204 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
3205 set tool_include_dir. In all substitutions, leave $(gcc_version)
3206 to be expanded by the Makefile.
3207 * aclocal.m4, configure: Regenerate.
3208 * Makefile.am: Set gcc_version. Replace all uses of
3209 @gcc_version@ with $(gcc_version).
3210 * external/Makefile.am, external/sax/Makefile.am
3211 * external/w3c_dom/Makefile.am, gcj/Makefile.am
3212 * testsuite/Makefile.am: Set gcc_version.
3213 * include/Makefile.am: Set gcc_version and tool_include_dir.
3214 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
3215 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
3216 * testsuite/Makefile.in: Regenerate.
3218 2005-03-17 Andrew Haley <aph@redhat.com>
3220 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
3222 Pass klass to _Jv_StackTrace::GetClassContext().
3223 * java/lang/ClassLoader.java (getParent): Pass class to
3224 VMSecurityManager.getClassContext()
3225 (getSystemClassLoader): Likewise.
3226 * java/lang/Package.java (getPackage): Likewise.
3227 (getPackages): Likewise.
3228 * java/lang/SecurityManager.java (getClassContext): Likewise.
3229 (currentClassLoader): Likewise.
3230 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
3231 (currentClassLoader) Add new arg: caller.
3232 Pass caller to VMSecurityManager.getClassContext.
3234 * stacktrace.cc (GetClassContext): Correct calculation of
3237 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
3238 im->source_file_name.
3240 2005-03-16 Andrew Haley <aph@redhat.com>
3242 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
3244 2005-03-16 Tom Tromey <tromey@redhat.com>
3246 * link.cc (ensure_class_linked): Removed #ifdef.
3247 (print_class_loaded): Likewise.
3248 (wait_for_state): Likewise.
3249 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
3250 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
3251 * include/java-interp.h: ... here.
3253 2005-03-16 Tom Tromey <tromey@redhat.com>
3255 * gnu/java/lang/MainThread.java (run): Load main class using
3256 system class loader.
3258 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
3260 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
3261 lgcc_s to the libraries to link for Darwin.
3263 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
3265 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
3266 interpreter-specific code with #ifdef INTERPRETER.
3267 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
3268 (_Jv_StackTrace::FillInFrameInfo): Likewise.
3269 (_Jv_StackTrace::non_system_trace_fn): Likewise.
3270 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
3271 #ifdef INTERPRETER. Also protect declarations that use it.
3272 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
3273 #ifdef INTERPRETER block.
3275 2005-03-15 Jakub Jelinek <jakub@redhat.com>
3278 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
3279 * Makefile.in: Rebuilt.
3281 2005-03-15 David Daney <ddaney@avtrex.com>
3283 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
3286 2005-03-15 David Daney <ddaney@avtrex.com>
3288 * java/io/BufferedInputStream.java (available): Use 'in' instead
3289 of 'super' for underlying stream access.
3291 (read(byte[], int, int)): Ditto.
3293 (skip): Call skip on underlying stream when possible.
3295 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
3297 * stacktrace.cc (GetCallerInfo): Return nothing in case of
3298 SJLJ_EXCEPTIONS is defined.
3300 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
3302 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
3305 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
3307 * testsuite/lib/libjava.exp (libjava_init): Use the same target
3309 (libjava_arguments): Likewise.
3311 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
3312 (gcj_jni_test_one): Likewise.
3313 (gcj_jni_invocation_compile_c_to_binary): Likewise.
3314 Add flags to keep the Darwin linker quiet.
3315 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
3316 Add -liconv for Darwin.
3318 2005-03-11 Tom Tromey <tromey@redhat.com>
3320 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3321 (_Jv_CheckABIVersion): Use it.
3323 2005-03-11 Tom Tromey <tromey@redhat.com>
3325 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
3326 (usage): Document '-p'.
3327 * Makefile.in: Rebuilt.
3328 * Makefile.am (dbexecdir): New variable.
3329 (db_name): Likewise.
3330 (dbexec_DATA): Likewise.
3331 ($(db_name)): New target.
3332 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
3333 * java/lang/natRuntime.cc (insertSystemProperties): Set default
3336 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3338 * exception.cc: Remove stray MethodRef.h include.
3339 * java/lang/natClass.cc: Likewise.
3340 * gnu/gcj/runtime/MethodRef.java: Removed.
3341 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3342 gnu/gcj/runtime/natStackTrace.cc: Really removed.
3343 * java/lang/natRuntime.cc (_load): Remove unsed variable.
3344 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
3345 * Makefile.in: Rebuilt.
3347 2005-03-10 Tom Tromey <tromey@redhat.com>
3349 * Makefile.in: Rebuilt.
3350 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
3352 2005-03-10 Chris Burdess <dog@bluezoo.org>
3354 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
3355 not currently parsing the DTD.
3357 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3359 New Stack Trace infrastructure.
3360 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
3361 (gnu/gcj/runtime/StackTrace.java): Removed.
3362 (ordinary_java_source_files): Remove obsolete files.
3363 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
3364 * configure.host (fallback_backtrace_h): Set backtrace header
3365 for mingw and cygwin targets.
3366 * configure.ac: Make symlink for fallback backtrace headers.
3367 * Makefile.in, configure: Rebuilt.
3368 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
3369 Read 'LineNumberTable' attribute.
3370 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
3372 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
3374 * exception.cc: Remove unused include.
3375 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
3376 (SAVE_PC): New macro. Save current PC in the interpreter frame.
3377 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
3378 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
3379 table to direct threaded instruction values.
3380 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
3381 (_Jv_InterpMethod::run): No longer member function. All
3382 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
3383 is made or where an instruction could throw.
3384 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3386 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3387 (catch_fpe): Likewise.
3388 * stacktrace.cc: New file. Stack trace code now here.
3389 * gnu/gcj/runtime/MethodRef.java:
3390 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3391 calls addr2line to look up PC addresses in a given binary or shared
3393 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3394 gnu/gcj/runtime/natStackTrace.cc: Removed.
3395 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3396 this function name is specially recognised by the stack trace code
3397 and shouldn't be changed.
3398 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3399 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
3400 (_Jv_InterpMethod::run): Update declaration.
3401 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3403 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3404 * include/java-stack.h: New file. Declarations for stack tracing.
3405 * include/jvm.h (_Jv_Frame_info): Removed.
3406 * java/lang/Class.h: Update friend declarations.
3407 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3409 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3410 (getStackTrace): Now native.
3411 (data): New RawDataManaged field.
3412 * java/lang/natClass.cc: Update includes.
3413 (forName): Use _Jv_StackTrace::GetCallingClass for
3414 calling-classloader check.
3415 (getClassLoader): Likewise.
3416 * java/lang/natRuntime.cc: Update includes.
3417 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3418 * java/lang/natVMSecurityManager.cc: Update includes.
3419 (getClassContext): Use _Jv_StackTrace::GetClassContext.
3420 * java/lang/natVMThrowable.cc: New file. Native methods for
3422 * java/lang/reflect/natArray.cc: Update includes.
3423 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3424 accessibility check.
3425 * java/lang/reflect/natConstructor.cc: Update includes.
3426 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3427 accessibility check.
3428 * java/lang/reflect/natField.cc: Update includes.
3429 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3430 accessibility check.
3431 * java/lang/reflect/natMethod.cc: Update includes.
3432 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3433 accessibility check.
3434 * java/util/natResourceBundle.cc: Update includes.
3435 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3436 * java/util/logging/natLogger.cc: Update includes. Use
3437 _Jv_StackTrace::GetCallerInfo to get call-site info.
3438 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3440 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3443 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3445 * testsuite/libjava.compile/PR20312.java: New file.
3446 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3447 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3449 2005-03-09 Andrew Haley <aph@redhat.com>
3451 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3453 (smallTransferTo): New.
3454 (transferFrom): Loop around smallTransferFrom, copying pageSize
3456 (transferTo): Likewise.
3458 2005-03-09 David Daney <ddaney@avtrex.com>
3461 Merge BufferedInputStream from GNU Classpath.
3462 * java/io/BufferedInputStream.java (marktarget): Field removed.
3463 (CHUNKSIZE): Field removed.
3464 (bufferSize): New field.
3465 (BufferedInputStream): Initialize fields.
3466 (close): Invalidate mark and buffer indexes.
3468 (read()): Move mark handling code to refill.
3469 (read(byte[], int, int)): Ditto.
3470 (skip): Ditto and simplify EOF testing.
3471 (refill): Rewritten.
3472 * java/io/InputStreamReader.java (refill): Removed mark and reset
3473 of internal BufferedInputStream.
3475 2005-03-09 Tom Tromey <tromey@redhat.com>
3477 * java/lang/natVMClassLoader.cc (defineClass): Reference
3478 'systemClassLoader' field directly.
3479 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3481 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3482 Reference 'systemClassLoader' field directly.
3483 (_Jv_UnregisterInitiatingLoader): Likewise.
3484 (_Jv_FindClass): Likewise.
3486 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3488 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3490 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3491 the file in GNU Classpath style.
3493 2005-03-09 Tom Tromey <tromey@redhat.com>
3495 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3496 (toString): Synchronize.
3498 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3500 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3501 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3503 2005-03-07 Tom Tromey <tromey@redhat.com>
3505 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3506 (usage): Document '-f'.
3508 2005-03-07 Tom Tromey <tromey@redhat.com>
3510 * java/lang/VMCompiler.java (md5Digest): New field.
3511 (compileClass): Clone md5Digest instead of looking up a new one.
3513 2005-03-07 Tom Tromey <tromey@redhat.com>
3516 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3517 * link.cc (find_field_helper): Added 'type' argument.
3518 (find_field): Updated.
3520 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3521 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3522 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3523 throw UnsupportedOperationException, fixed comments.
3524 (setFont, setForeground): Fixed comments.
3525 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3526 return type to boolean.
3527 (getNextEvent): Fixed javadocs.
3528 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3529 (nativeQueueEmpty): Removed unused code.
3530 (iterateNativeQueue): Removed outer loop.
3532 2005-03-06 Roger Sayle <roger@eyesopen.com>
3535 * Makefile.am (libgcj0_convenience.la): Revert last change.
3536 * Makefile.in: Regenerate.
3538 2005-03-05 Anthony Green <green@redhat.com>
3540 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3541 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3542 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3543 (_Jv_GetDrawingSurface): Set visualID.
3544 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3545 (JAWT_GetAWT): Set Lock and Unlock.
3546 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3548 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3549 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3550 JAWT_LOCK_SURFACE_CHANGED): New macros.
3551 (struct _JAWT): Add Lock and Unlock.
3553 2005-03-05 Roger Sayle <roger@eyesopen.com>
3554 Alexandre Oliva <aoliva@redhat.com>
3555 Kelley Cook <kcook@gcc.gnu.org>
3558 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3559 of the object files to link to avoid exceeding the command line
3560 length limits on some platforms.
3561 (clean-local): Clean up objectlist files.
3562 * Makefile.in: Regenerate.
3564 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3566 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3567 spec_case. Initialize pointer mlo.
3569 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3572 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3574 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3577 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3578 uninitialized variable z.
3580 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3581 possible unused variables.
3583 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3585 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3587 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3590 * testsuite/libjava.jni/jni.exp
3591 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3593 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3595 2005-02-23 David Daney <ddaney@avtrex.com>
3597 * configure.host: Don't use -mxgot for MIPS builds.
3599 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3602 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3603 (COMPPATH): Removed.
3604 (ZIP, GCJH): Replace it with ../$(host_subdir).
3605 (built_gcc_dir): Add $(host_subdir).
3606 * configure: Regenerate.
3607 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3608 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3609 external/w3c_dom/Makefile.in: Regenerate.
3611 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3613 * java/awt/font/TextAttribute.java: changed names to lower case;
3614 (readResolve): implemented.
3615 Added doc comments all over.
3617 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3620 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3621 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3622 value. Move argument parsing code to prims.cc.
3623 * prims.cc (no_properties): Remove.
3624 (_Jv_Compiler_Properties): Initialize to NULL.
3625 (_Jv_Properties_Count): Initialize to 0.
3626 (parse_verbose_args): New function.
3627 (parse_init_args): New function.
3628 (_Jv_CreateJavaVM): Call parse_init_args.
3629 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3630 * gcj/cni.h (JvVMOption): New struct.
3631 (JvVMInitArgs): Likewise.
3632 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3634 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3635 (_Jv_VMInitArgs): Likewise.
3636 * include/java-props.h (_Jv_Properties_Count): Declare.
3637 * java/lang/natRuntime.cc (insertSystemProperties): Use
3638 _Jv_Properties_Count in for loop exit condition.
3639 * testsuite/libjava.jni/jni.exp
3640 (gcj_invocation_compile_c_to_binary): New procedure.
3641 (gcj_invocation_test_one): Likewise.
3642 (gcj_jni_run): Run JNI invocation API tests.
3643 * testsuite/libjava.jni/invocation/PR16923.c,
3644 testsuite/libjava.jni/invocation/PR16923.java,
3645 testsuite/libjava.jni/invocation/PR16923.out: New test.
3647 2005-02-23 Michael Koch <konqueror@gmx.de>
3649 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3650 * Makefile.in: Regenerated.
3652 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3654 * gnu/java/nio/ChannelReader: Fixed comments.
3656 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3658 * java/nio/channels/Channels: Added FIXMEs about
3659 stub method implementation.
3660 (newReader): Implemented.
3661 * gnu/java/nio/ChannelReader: New class.
3663 2005-02-23 Michael Koch <konqueror@gmx.de>
3665 * java/text/SimpleDateFormat.java:
3666 Removed unused import.
3668 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3671 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3672 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3673 * Makefile.in: Regenerate.
3674 * configure.ac: Check for libXtst.
3675 * configure: Regenerate.
3677 2005-02-22 Mark Wielaard <address@bogus.example.com>
3679 * java/security/AlgorithmParameterGenerator.java (getInstance):
3680 Mention provider when throwing NoSuchProviderException.
3681 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3682 * java/security/KeyFactory.java (getInstance): Likewise.
3683 * java/security/KeyStore.java (getInstance): Likewise.
3684 * java/security/SecureRandom.java (getInstance): Likewise.
3685 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3687 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3689 * java/lang/reflect/Proxy.java,
3691 java/security/SecureRandom.java,
3692 java/util/Timer.java,
3693 java/util/prefs/AbstractPreferences.java:
3694 Don't catch java.lang.ThreadDeath.
3696 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3698 * java/awt/font/TransformAttribute.java,
3699 (TransformAttribute(AffineTransform)): throw
3700 IllegalArgumentException for null transform.
3701 (getTransform): return a copy of transform.
3702 Added doc comments to all.
3704 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3706 * java/io/Externalizable.java,
3707 java/io/Serializable.java
3708 (serialVersionUID): Removed.
3709 * java/rmi/server/RemoteObject.java,
3710 java/rmi/server/UID.java
3711 (serialVersionUID): Made private.
3712 * java/rmi/server/RemoteRef.java,
3713 java/rmi/server/ServerRef.java
3714 (serialVersionUID): Set proper value.
3715 * java/security/interfaces/DSAPrivateKey.java,
3716 java/security/interfaces/DSAPublicKey.java,
3717 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3718 java/security/interfaces/RSAPrivateCrtKey.java,
3719 java/security/interfaces/RSAPrivateKey.java,
3720 java/security/interfaces/RSAPublicKey.java,
3721 javax/crypto/SecretKey.java
3722 (serialVersionUID): Added.
3724 2005-02-22 Tom Tromey <tromey@redhat.com>
3726 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3728 2005-02-22 Tom Tromey <tromey@redhat.com>
3731 * verify.cc (type::EITHER): New constant.
3732 (check_field_constant): Use it.
3733 (type::compatible): Handle it.
3735 2005-02-22 Michael Koch <konqueror@gmx.de>
3737 * gnu/java/security/PolicyFile.java,
3738 gnu/java/security/pkcs/PKCS7SignedData.java,
3739 gnu/java/security/pkcs/SignerInfo.java:
3740 Fixed copyright header.
3742 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3744 * java/beans/PropertyDescriptor.java
3745 (PropertyDescriptor,setReadMethod): Set propertyType.
3747 2005-02-22 Michael Koch <konqueror@gmx.de>
3749 * java/nio/DirectByteBufferImpl.java
3750 (owner): Fixed formatting of javadoc.
3751 * java/text/DateFormat.java
3752 (getAvailableLocales): Fixed formatting.
3753 * java/text/SimpleDateFormat.java:
3754 Fixed formatting and import statement order.
3755 * java/util/Calendar.java
3756 (Calendar): Fixed javadoc to be HTML compliant.
3757 * java/util/SimpleTimeZone.java:
3760 2005-02-22 Roman Kennke <roman@ontographics.com>
3762 * javax/swing/plaf/basic/BasicLookAndFeel.java
3763 (initComponentDefaults): Fixed Button left and right margin.
3765 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3767 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3771 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3772 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3773 (getWidth): New method.
3774 (getHeight): Likewise.
3775 (create): Remove width, height and insets parameters. Move size
3777 (realize_cb): ... here. New function.
3778 (connectSignals): Connect realize_cb.
3779 (request_frame_extents): Remove FIXME. Move
3780 postInsetsChangedEvent lookup ...
3781 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3782 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3783 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3785 (windowGetWidthID): Likewise.
3786 (windowGetHeightID): Likewise.
3788 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3791 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3792 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3794 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3796 Merge serialization from GNU Classpath.
3797 * gcj/method.h: Add missing #includes.
3798 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3799 primitive class IDs on the stream here...
3800 (resolveClass): ...not here.
3801 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3803 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3804 setLongNative, setIntNative, setShortNative, setCharNative,
3805 setByteNative, setBooleanNative, setObjectNative): New native methods.
3806 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3807 setLongNative, setIntNative, setShortNative, setCharNative,
3808 setByteNative, setBooleanNative, setObjectNative): Implement them.
3809 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3810 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3811 the constructor here.
3812 (callConstructor): Removed.
3813 (getCallersClassLoader): Removed.
3814 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3815 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3816 to control whether setting final field values is permitted. Call
3817 getAddr() with checkFinal parameter instead of setAddr().
3818 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3819 only if not done already.
3820 (getAddr): Add checkFinal parameter. Do the final field check only if
3824 2005-02-21 Mark Wielaard <mark@klomp.org>
3827 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3830 2005-02-21 Mark Wielaard <mark@klomp.org>
3833 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3834 without a super class and us ObjectStreamClass.lookupForClassObject().
3835 (resolveClass): Check for primitive types.
3836 (lookupClass): Return null when argument is null.
3838 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3840 * java/io/ObjectInputStream.java
3841 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3843 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3845 * java/io/ObjectOutputStream.java
3846 (writeObject, callWriteMethod): Replaced reflection with accessing
3847 cached info in ObjectStreamClass.
3848 (getMethod): Removed.
3849 * java/io/ObjectStreamClass.java
3850 (findMethod): Added check to make sure the method found has the
3852 (cacheMethods): Added writeReplace and writeObject methods.
3853 (setFlags): Look at new writeObjectMethod field instead of doing
3855 (writeReplaceMethod): New field.
3856 (writeObjectMethod): New field.
3858 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3859 Jeroen Frijters <jeroen@frijters.net>
3861 * java/io/ObjectInputStream.java
3862 (newObject): Changed prototype. Get a constructor reflect object
3864 (callConstructor): Removed.
3865 (allocateObject): Changed prototype.
3866 (readClassDescriptor): Build the constructor reflection directly.
3867 (readObject): Invoke newObject using the new prototype.
3869 * java/io/ObjectStreamClass.java
3870 (firstNonSerializableParent): Removed.
3871 (firstNonSerializableParentConstructor): Added.
3873 2005-02-21 Mark Wielaard <mark@klomp.org>
3875 * gnu/java/locale/LocaleInformation_en.java: Extend
3876 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3878 2005-02-21 Mark Wielaard <mark@klomp.org>
3880 * java/text/SimpleDateFormat.java
3881 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3882 NullPointerException when formatData is null.
3884 2005-02-21 Mark Wielaard <mark@klomp.org>
3886 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3887 taking dstSavings into account.
3889 2005-02-21 Sven de Marothy <sven@physto.se>
3891 * java/text/SimpleDateFormat.java,
3892 (parse): Set correct DST_OFFSET to the correct value.
3894 2005-02-21 Mark Wielaard <mark@klomp.org>
3896 * java/util/SimpleTimeZone.java (checkRule): Throw
3897 IllegalArgumentException when month out of range.
3899 2005-02-21 Sven de Marothy <sven@physto.se>
3901 * java/util/GregorianCalendar.java,
3902 (add): Don't set fields directly anymore. Use set()
3904 2005-02-21 Mark Wielaard <mark@klomp.org>
3906 * java/text/SimpleDateFormat.java (CompiledField.toString):
3907 Use StringBuffer, not StringBuilder.
3908 (toString): Likewise.
3910 2005-02-21 Sven de Marothy <sven@physto.se>
3912 * java/util/Calendar.java
3913 (clear): Dates should clear to local time.
3914 * java/util/GregorianCalendar.java
3915 (computeTime): Fix priority problem with DAY_OF_WEEK,
3916 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3918 2005-02-21 Sven de Marothy <sven@physto.se>
3920 * java/util/Calendar.java
3921 (Calendar): Constructor should clear fields.
3923 2005-02-21 Sven de Marothy <sven@physto.se>
3925 * java/text/SimpleDateFormat.java
3926 (parse): Tweak handling of 2-year dates
3927 * java/util/Calendar.java
3928 (clear): Clear fields to correct value.
3929 * java/util/GregorianCalendar.java
3930 (computeTime): Correct handling of time zones.
3931 Correct field minimum values.
3933 2005-02-21 Sven de Marothy <sven@physto.se>
3935 * java/util/Calendar.java
3936 (set) Invalidate all fields on first call to set().
3938 2005-02-21 Sven de Marothy <sven@physto.se>
3940 * java/util/GregorianCalendar.java
3941 (computeTime): Fixed handling of time zones.
3943 2005-02-21 Sven de Marothy <sven@physto.se>
3945 * java/util/Calendar.java
3946 (clear): Set values to Epoch instead of zero.
3947 (set): Set isSet to the relevant field pattern instead of just
3949 * java/util/GregorianCalendar.java
3950 (getBundle): Removed.
3951 (getDayOfYear): Removed.
3952 (getFirstDayOfMonth): New private method.
3953 (nonLeniencyCheck): New private method.
3954 (computeTime): Correct handling of insufficient data.
3956 2005-02-21 Sven de Marothy <sven@physto.se>
3958 * java/util/Calendar.java: Invalidate ERA field on setting
3960 * java/util/SimpleTimeZone.java:
3961 (getDaysInMonth): Reimplemented.
3962 * java/util/GregorianCalendar.java:
3963 (getLinearTime): Removed.
3964 (isLeapYear(int,boolean)): Removed.
3965 (before(), after()): Removed.
3966 (computeTime): Reimplemented.
3968 2005-02-21 Sven de Marothy <sven@physto.se>
3970 * java/util/Calendar.java: Reformatted.
3971 * java/util/GregorianCalendar.java: Reformatted.
3972 * java/util/SimpleTimeZone.java: Reformatted.
3974 2005-02-21 Sven de Marothy <sven@physto.se>
3976 * java/util/GregorianCalendar.java
3977 (GregorianCalendar): Update fields in the constructor
3979 2005-02-21 Noa Resare <noa@resare.com>
3981 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3982 (set(int,int)): Set and use new field.
3983 (set(int,int,int)): Check new field.
3985 2005-02-21 Noa Resare <address@hidden>
3987 * java/util/Calendar.java(set):
3988 Fix for DST related regression.
3990 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3992 * java/util/Calendar.java
3993 (setTimeInMillis): Added call to clear, removed computeFields call.
3994 * java/util/Date.java
3995 (Date(int,int,int,int,int,int)): Removed workaround for
3996 GregorianCalendar bug.
3997 * java/util/GregorianCalendar.java
3998 (GregorianCalendar): Chained all constructors to a (new)
4000 (computeTime): Fixed support for lenient month treatment.
4001 (getLinearDay): Return long instead of int.
4002 (calculateDay): Added fields argument and changed day argument
4005 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
4007 * java/text/SimpleDateFormat.java
4008 Lots of documentation updates.
4009 (readObject(java.io.ObjectInputStream)): Wraps
4010 IllegalArgumentException as specified.
4011 (compileFormat(String)): Uses standardChars
4012 rather than the local pattern characters.
4013 Throws IllegalArgumentException rather than
4015 (toString()): Extended to include all variables
4017 (translateLocalizedPattern(String, String, String)):
4018 Renamed to better define the use of this method.
4020 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
4022 * java/text/DateFormat.java:
4023 Documented pattern character offset constants and
4025 (Field): Added new static fields for new pattern chars.
4026 * java/text/SimpleDateFormat.java:
4027 (CompiledField): Changed name of FieldSizePair class
4028 to CompiledField after adding the character as an
4029 attribute. Changed fields to private and added
4030 accessors to give encapsulation.
4031 (CompiledField.CompiledField(int,int,char)): Extended
4032 with character field.
4033 (CompiledField.getField()): New accessor method.
4034 (CompiledField.getSize()): New acceessor method.
4035 (CompiledField.getCharacter()): New accessor method.
4036 (CompiledField.toString()): Added primarily for debugging.
4037 (standardChars): Now uses extended 24 character sequence.
4038 (compileFormat(String)): Changed to use CompiledField.
4039 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
4040 java.text.FieldPosition)): Changed to use CompiledField.
4041 New handler for RFC 822 timezones added.
4043 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
4045 * java/text/SimpleDateFormat.java:
4046 (parse(String, java.text.ParsePosition)):
4047 Changed 'E' and 'M' cases to use both
4048 short and long names. Extended 'z'
4049 case to also handle 'Z', and deal
4050 with simple GMT offsets such as +0100.
4051 (computeOffset(String)): New private method,
4052 which converts a GMT offset specification,
4053 such as GMT-0500 to a numeric offset in
4055 * java/util/TimeZone.java:
4056 (timezones()): Added "CEST", the daylight
4057 savings time version of "CET", or Central
4060 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
4062 * java/text/SimpleDateFormat.java:
4063 (parse): Set the DST offset to 0 when parsing
4064 GMT offset timezones.
4066 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
4068 * java/text/SimpleDateFormat.java:
4069 (parse): Use offset to set ZONE_OFFSET
4070 rather than the DST_OFFSET, so that
4071 GMT offset timezones change the right
4074 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
4076 * java/text/SimpleDateFormat.java:
4077 (getDateFormatSymbols()): return a copy
4078 (setDateFormatSymbols(java.text.DateFormatSymbols)):
4079 throw exception on null input
4080 (clone()): implemented to clone
4083 2005-02-21 Sven de Marothy <sven@physto.se>
4085 * java/text/SimpleDateFormat.java
4086 (parse): comparison should be case-insensitive, ignore null
4089 2005-02-21 Robert Schuster <theBohemian@gmx.net>
4091 * gnu/java/beans/IntrospectionIncubator.java
4092 (addMethod) Reverts the patch that ntroduced a regression (see bug
4093 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
4095 2005-02-21 Michael Koch <konqueror@gmx.de>
4097 * java/awt/Checkbox.java
4098 (next_checkbox_number): New static variable.
4099 (generateName): New method.
4100 (getUniqueLong): Likewise.
4101 * java/awt/Window.java
4102 (next_window_number): New static variable.
4103 (generateName): New method.
4104 (getUniqueLong): Likewise.
4106 2005-02-21 Mark Wielaard <mark@klomp.org>
4108 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
4111 2005-02-21 Andrew Haley <aph@redhat.com>
4113 * Makefile.in: Rebuilt.
4114 * Makefile.am (nat_source_files): Added natLogger.cc.
4115 * java/util/logging/natLogger.cc: New file.
4116 * java/util/logging/Logger.java (getCallerStackFrame): Now
4119 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
4121 * Makefile.am (all_property_files): Remove left over.
4122 (classes.stamp): Add stamp for the ONESTEP build, also known as
4123 --enable-libgcj-multifile.
4124 * Makefile.in: Regenerated.
4126 2005-02-21 Michael Koch <konqueror@gmx.de>
4128 * java/awt/Button.java,
4129 java/awt/Container.java,
4131 java/awt/Frame.java,
4132 java/text/CollationElementIterator.java,
4133 java/text/RuleBasedCollator.java,
4134 java/util/PropertyPermission.java:
4135 Fixed formatting issues all over.
4137 2005-02-21 Mark Wielaard <mark@klomp.org>
4139 * java/io/FileDescriptor.java (sync): Add real exception to
4140 SyncFailedException.
4142 2005-02-21 Michael Koch <konqueror@gmx.de>
4144 * java/io/InputStreamReader.java:
4147 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
4150 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
4152 2005-02-20 Dalibor Topic <robilad@kaffe.org>
4154 * libraries/javalib/gnu/regexp/RE.java,
4155 libraries/javalib/java/io/ObjectInputStream.java,
4156 libraries/javalib/java/security/AllPermission.java,
4157 libraries/javalib/java/security/BasicPermission.java,
4158 libraries/javalib/java/security/Permissions.java,
4159 libraries/javalib/java/text/MessageFormat.java:
4160 Made 'inner' classes real public static inner classes,
4161 and made them final where possible, or removed them
4164 2005-02-20 Michael Koch <konqueror@gmx.de>
4166 * gnu/java/text/FormatCharacterIterator.java:
4167 Removed redundant modifiers.
4169 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4171 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
4174 2005-02-19 Michael Koch <konqueror@gmx.de>
4176 * Makefile.am: Added new files in gnu/java/beans and
4177 java/beans/XMLDecoder.java.
4178 * Makefile.in: Regenerated.
4180 2005-02-19 Robert Schuster <thebohemian@gmx.net>
4182 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
4183 assignment behavior by using java.lang.reflect.Array.set()
4186 2005-02-19 Dalibor Topic <robilad@kaffe.org>
4188 * gnu/java/beans/EmptyBeanInfo.java,
4189 gnu/java/beans/info/ComponentBeanInfo.java:
4190 Removed unused files.
4192 2005-02-19 Robert Schuster <thebohemian@gmx.net>
4194 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
4195 of AppletStub for java.beans.Beans.instantiate.
4196 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
4198 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
4199 to be conformant with Javadoc guidelines.
4200 (instantiate): Added two more overloaded variants, reworked user
4201 documentation, fixed exception behavior, fixed behavior when
4204 2005-02-19 Mark Wielaard <mark@klomp.org>
4206 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
4208 * gnu/java/beans/decoder/DummyContext.java: Likewise.
4210 2005-02-19 Robert Schuster <theBohemian@gmx.net>
4212 * gnu/java/beans/decoder/AbstractContext.java,
4213 gnu/java/beans/decoder/AbstractCreatableContext.java,
4214 gnu/java/beans/decoder/AbstractElementHandler.java,
4215 gnu/java/beans/decoder/AbstractObjectContext.java,
4216 gnu/java/beans/decoder/ArrayContext.java,
4217 gnu/java/beans/decoder/ArrayHandler.java,
4218 gnu/java/beans/decoder/AssemblyException.java,
4219 gnu/java/beans/decoder/BooleanHandler.java,
4220 gnu/java/beans/decoder/ByteHandler.java,
4221 gnu/java/beans/decoder/CharHandler.java,
4222 gnu/java/beans/decoder/ClassHandler.java,
4223 gnu/java/beans/decoder/ConstructorContext.java,
4224 gnu/java/beans/decoder/Context.java,
4225 gnu/java/beans/decoder/DecoderContext.java,
4226 gnu/java/beans/decoder/DefaultExceptionListener.java,
4227 gnu/java/beans/decoder/DoubleHandler.java,
4228 gnu/java/beans/decoder/DummyContext.java,
4229 gnu/java/beans/decoder/DummyHandler.java,
4230 gnu/java/beans/decoder/ElementHandler.java,
4231 gnu/java/beans/decoder/FloatHandler.java,
4232 gnu/java/beans/decoder/GrowableArrayContext.java,
4233 gnu/java/beans/decoder/IndexContext.java,
4234 gnu/java/beans/decoder/IntHandler.java,
4235 gnu/java/beans/decoder/JavaHandler.java,
4236 gnu/java/beans/decoder/LongHandler.java,
4237 gnu/java/beans/decoder/MethodContext.java,
4238 gnu/java/beans/decoder/MethodFinder.java,
4239 gnu/java/beans/decoder/NullHandler.java,
4240 gnu/java/beans/decoder/ObjectContext.java,
4241 gnu/java/beans/decoder/ObjectHandler.java,
4242 gnu/java/beans/decoder/PersistenceParser.java,
4243 gnu/java/beans/decoder/PropertyContext.java,
4244 gnu/java/beans/decoder/ShortHandler.java,
4245 gnu/java/beans/decoder/SimpleHandler.java,
4246 gnu/java/beans/decoder/StaticMethodContext.java,
4247 gnu/java/beans/decoder/StringHandler.java,
4248 gnu/java/beans/decoder/VoidHandler.java: New class
4249 implementing java.beans.XMLDecoder decoding functionality.
4250 * java/beans/XMLDecoder.java: New class.
4252 2005-02-19 Michael Koch <konqueror@gmx.de>
4254 * javax/swing/JTextField.java
4255 (notfiyAction): Added javadoc.
4257 2005-02-19 Sven de Marothy <sven@physto.se>
4259 * javax/swing/SpinnerDateModel.java: Implemented.
4261 2005-02-19 Michael Koch <konqueror@gmx.de>
4263 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
4264 * Makefile.in: Regenerated.
4266 2005-02-19 Michael Koch <konqueror@gmx.de>
4268 * gnu/java/nio/SelectorImpl.java:
4269 Reworked import statements.
4270 (register): Removed unused code.
4271 * java/nio/channels/Channels.java: Reformatted.
4272 * java/nio/charset/Charset.java: Likewise.
4273 * java/rmi/server/RemoteObject.java
4274 (serialVersionUID): Made private.
4275 * java/rmi/server/UID.java
4276 (serialVersionUID): Likewise.
4278 2005-02-19 Michael Koch <konqueror@gmx.de>
4280 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
4281 gnu/java/net/protocol/ftp/BlockInputStream.java,
4282 gnu/java/net/protocol/ftp/BlockOutputStream.java,
4283 gnu/java/net/protocol/ftp/CompressedInputStream.java,
4284 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
4285 gnu/java/net/protocol/ftp/DTPInputStream.java,
4286 gnu/java/net/protocol/ftp/DTP.java,
4287 gnu/java/net/protocol/ftp/DTPOutputStream.java,
4288 gnu/java/net/protocol/ftp/FTPConnection.java,
4289 gnu/java/net/protocol/ftp/FTPException.java,
4290 gnu/java/net/protocol/ftp/FTPResponse.java,
4291 gnu/java/net/protocol/ftp/FTPURLConnection.java,
4292 gnu/java/net/protocol/ftp/Handler.java,
4293 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
4294 gnu/java/net/protocol/ftp/StreamInputStream.java,
4295 gnu/java/net/protocol/ftp/StreamOutputStream.java,
4296 gnu/java/net/CRLFInputStream.java,
4297 gnu/java/net/CRLFOutputStream.java,
4298 gnu/java/net/GetLocalHostAction.java,
4299 gnu/java/net/protocol/ftp/package.html: New files.
4300 * Makefile.am: Added new files.
4301 * Makefile.in: Regenerated.
4303 2005-02-18 Tom Tromey <tromey@redhat.com>
4305 * link.cc (make_vtable): Remove abstract method check.
4306 (append_partial_itable): Likewise.
4309 * verify.cc (type::equals): Fixed test.
4310 * testsuite/libjava.lang/PR20056.out: New file.
4311 * testsuite/libjava.lang/PR20056.java: New file.
4313 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
4315 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
4316 not the HashEntry. Reported by Jean-Marie White.
4318 2005-02-18 Tom Tromey <tromey@redhat.com>
4321 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
4322 * link.cc (has_field_p): New function.
4323 * verify.cc (check_field_constant): Added 'putfield' argument.
4324 (verify_instructions_0): Updated.
4325 (type::equals): New method.
4327 2005-02-18 Anthony Green <green@redhat.com>
4329 * NEWS: Draft of libgcj NEWS for 4.0.
4331 2005-02-18 Anthony Green <green@redhat.com>
4333 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
4334 architecture names to "i386" for compatibility reasons. Win32
4337 2005-02-18 Anthony Green <green@redhat.com>
4339 * gij.cc (version): Change year for '--version' to 2005.
4340 * gnu/gcj/convert/Convert.java: Ditto.
4341 * gnu/java/rmi/rmic/RMIC.java: Ditto.
4342 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
4344 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
4345 recent copyright year in `--version' output.
4347 2005-02-18 Robert Schuster <thebohemian@gmx.net>
4349 * java/nio/charset/Charset.java (forName): Throws
4350 IllegalArgumentException when argument is null
4351 and added documentation.
4353 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4355 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
4356 Move the position of the source buffer forward.
4358 2005-02-17 Tom Tromey <tromey@redhat.com>
4360 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
4361 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
4362 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
4363 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
4364 Changed type of second argument. Rewrote.
4365 (make_vtable): Use it.
4366 (append_partial_itable): Updated.
4367 (layout_vtable_methods): Updated.
4369 2005-02-17 Michael Koch <konqueror@gmx.de>
4371 * gnu/java/net/PlainSocketImpl.java
4372 (shutdownInput): Added javadoc.
4373 (shutdownOutput): Likewise.
4375 2005-02-17 Michael Koch <konqueror@gmx.de>
4377 * javax/print/attribute/standard/Chromaticity.java,
4378 javax/print/attribute/standard/Destination.java,
4379 javax/print/attribute/standard/MediaPrintableArea.java,
4380 javax/print/attribute/standard/MediaSize.java: New files.
4381 * Makefile.am: Added new files.
4382 * Makefile.in: Regenerated.
4384 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
4385 Michael Koch <konqueror@gmx.de>
4387 * gnu/java/net/protocol/http/Cookie.java,
4388 gnu/java/net/protocol/http/HTTPConnection.java,
4389 gnu/java/net/protocol/http/HTTPDateFormat.java,
4390 gnu/java/net/protocol/http/Request.java,
4391 gnu/java/nio/PipeImpl.java,
4392 gnu/java/rmi/dgc/DGCImpl.java,
4393 gnu/java/rmi/server/ConnectionRunnerPool.java,
4394 gnu/java/rmi/server/UnicastConnectionManager.java,
4395 gnu/java/security/der/DERWriter.java,
4396 gnu/java/security/pkcs/SignerInfo.java,
4397 gnu/java/security/provider/EncodedKeyFactory.java,
4398 gnu/java/security/provider/GnuDHPublicKey.java,
4399 gnu/java/security/provider/GnuDSAPrivateKey.java,
4400 gnu/java/security/provider/GnuDSAPublicKey.java,
4401 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4402 gnu/java/security/x509/X500DistinguishedName.java,
4403 gnu/java/security/x509/X509CRL.java,
4404 gnu/java/security/x509/X509CRLEntry.java,
4405 gnu/java/security/x509/X509Certificate.java,
4406 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4407 gnu/java/security/x509/ext/CertificatePolicies.java,
4408 gnu/java/security/x509/ext/PolicyConstraint.java,
4409 gnu/xml/dom/Consumer.java,
4410 gnu/xml/dom/DomCharacterData.java,
4411 gnu/xml/dom/DomDocument.java,
4412 gnu/xml/dom/DomDocumentBuilder.java,
4413 gnu/xml/dom/DomIterator.java,
4414 gnu/xml/dom/DomNode.java,
4415 gnu/xml/dom/DomXPathExpression.java,
4416 gnu/xml/dom/DomXPathResult.java,
4417 gnu/xml/dom/JAXPFactory.java,
4418 gnu/xml/pipeline/CallFilter.java,
4419 gnu/xml/pipeline/DomConsumer.java,
4420 gnu/xml/pipeline/LinkFilter.java,
4421 gnu/xml/pipeline/NSFilter.java,
4422 gnu/xml/pipeline/TeeConsumer.java,
4423 gnu/xml/pipeline/ValidationConsumer.java,
4424 gnu/xml/pipeline/WellFormednessFilter.java,
4425 gnu/xml/pipeline/XIncludeFilter.java,
4426 gnu/xml/pipeline/XsltFilter.java,
4427 gnu/xml/transform/ApplyImportsNode.java,
4428 gnu/xml/transform/Bindings.java,
4429 gnu/xml/transform/DocumentFunction.java,
4430 gnu/xml/transform/FormatNumberFunction.java,
4431 gnu/xml/transform/NodeNumberNode.java,
4432 gnu/xml/transform/NumberNode.java,
4433 gnu/xml/transform/Stylesheet.java,
4434 gnu/xml/transform/SystemPropertyFunction.java,
4435 gnu/xml/transform/Template.java,
4436 gnu/xml/transform/TemplatesImpl.java,
4437 gnu/xml/transform/TransformerImpl.java,
4438 gnu/xml/transform/ValueOfNode.java,
4439 gnu/xml/transform/XSLURIResolver.java,
4440 gnu/xml/util/DoParse.java,
4441 gnu/xml/util/Resolver.java,
4442 gnu/xml/xpath/Expr.java,
4443 gnu/xml/xpath/FunctionCall.java,
4444 gnu/xml/xpath/RelationalExpr.java,
4445 gnu/xml/xpath/Selector.java,
4446 gnu/xml/xpath/XPathParser.java:
4447 Reworked import statements, fixed modifier order and some little
4450 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4452 * java/nio/ByteBufferImpl.java (compact):
4453 Set position and limit even if no bytes were moved.
4455 2005-02-17 Michael Koch <konqueror@gmx.de>
4457 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4458 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4459 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4460 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4461 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4462 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4463 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4464 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4465 * java/nio/FloatBufferImpl.java (compact): Set position.
4466 * java/nio/CharBufferImpl.java (compact): Likewise.
4467 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4468 * java/nio/IntBufferImpl.java (compact): Likewise.
4469 * java/nio/LongBufferImpl.java (compact): Likewise.
4470 * java/nio/ShortBufferImpl.java (compact): Likewise.
4472 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4474 * java/nio/ByteBufferImpl.java,
4475 java/nio/CharBufferImpl.java,
4476 java/nio/DirectByteBufferImpl.java,
4477 java/nio/DoubleBufferImpl.java,
4478 java/nio/FloatBufferImpl.java,
4479 java/nio/IntBufferImpl.java,
4480 java/nio/LongBufferImpl.java,
4481 java/nio/MappedByteBufferImpl.java,
4482 java/nio/ShortBufferImpl.java
4483 (compact): Added explicit read-only check and invalidate mark.
4485 2005-02-17 Michael Koch <konqueror@gmx.de>
4487 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4488 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4489 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4490 gnu/java/awt/peer/gtk/GdkGraphics.java,
4491 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4492 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4493 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4494 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4495 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4496 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4497 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4498 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4499 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4500 gnu/java/awt/peer/gtk/GtkClipboard.java,
4501 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4502 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4503 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4504 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4505 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4506 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4507 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4508 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4509 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4510 gnu/java/awt/peer/gtk/GtkToolkit.java,
4511 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4512 java/applet/Applet.java,
4513 java/awt/AWTError.java,
4514 java/awt/AWTEvent.java,
4515 java/awt/AWTEventMulticaster.java,
4516 java/awt/AWTException.java,
4517 java/awt/AWTKeyStroke.java,
4518 java/awt/AWTPermission.java,
4519 java/awt/ActiveEvent.java,
4520 java/awt/Adjustable.java,
4521 java/awt/AlphaComposite.java,
4522 java/awt/AttributeValue.java,
4523 java/awt/BorderLayout.java,
4524 java/awt/BufferCapabilities.java,
4525 java/awt/Button.java,
4526 java/awt/Canvas.java,
4527 java/awt/CheckboxGroup.java,
4528 java/awt/CheckboxMenuItem.java,
4529 java/awt/Color.java,
4530 java/awt/ColorPaintContext.java,
4531 java/awt/Component.java,
4532 java/awt/ComponentOrientation.java,
4533 java/awt/Composite.java,
4534 java/awt/CompositeContext.java,
4535 java/awt/Container.java,
4536 java/awt/ContainerOrderFocusTraversalPolicy.java,
4537 java/awt/DefaultFocusTraversalPolicy.java,
4538 java/awt/Dialog.java,
4539 java/awt/Dimension.java,
4540 java/awt/DisplayMode.java,
4541 java/awt/EventQueue.java,
4542 java/awt/FileDialog.java,
4543 java/awt/FontFormatException.java,
4544 java/awt/Graphics.java,
4545 java/awt/Graphics2D.java,
4546 java/awt/GraphicsConfigTemplate.java,
4547 java/awt/GraphicsConfiguration.java,
4548 java/awt/GraphicsDevice.java,
4549 java/awt/GridBagLayout.java,
4550 java/awt/GridBagLayoutInfo.java,
4551 java/awt/GridLayout.java,
4552 java/awt/HeadlessException.java,
4553 java/awt/IllegalComponentStateException.java,
4554 java/awt/Image.java,
4555 java/awt/Insets.java,
4556 java/awt/ItemSelectable.java,
4557 java/awt/JobAttributes.java,
4558 java/awt/KeyEventDispatcher.java,
4559 java/awt/KeyEventPostProcessor.java,
4560 java/awt/KeyboardFocusManager.java,
4561 java/awt/Label.java,
4562 java/awt/LayoutManager.java,
4563 java/awt/MenuBar.java,
4564 java/awt/MenuComponent.java,
4565 java/awt/MenuContainer.java,
4566 java/awt/PageAttributes.java,
4567 java/awt/Paint.java,
4568 java/awt/PaintContext.java,
4569 java/awt/Panel.java,
4570 java/awt/Point.java,
4571 java/awt/Polygon.java,
4572 java/awt/PrintGraphics.java,
4573 java/awt/PrintJob.java,
4574 java/awt/Rectangle.java,
4575 java/awt/RenderingHints.java,
4576 java/awt/Shape.java,
4577 java/awt/Stroke.java,
4578 java/awt/SystemColor.java,
4579 java/awt/Toolkit.java,
4580 java/awt/Transparency.java,
4581 java/awt/Window.java,
4582 java/awt/color/CMMException.java,
4583 java/awt/color/ColorSpace.java,
4584 java/awt/color/ICC_ColorSpace.java,
4585 java/awt/color/ICC_Profile.java,
4586 java/awt/color/ProfileDataException.java,
4587 java/awt/datatransfer/FlavorTable.java,
4588 java/awt/datatransfer/MimeTypeParseException.java,
4589 java/awt/datatransfer/Transferable.java,
4590 java/awt/datatransfer/UnsupportedFlavorException.java,
4591 java/awt/dnd/Autoscroll.java,
4592 java/awt/dnd/DnDConstants.java,
4593 java/awt/dnd/DragGestureListener.java,
4594 java/awt/dnd/DragSourceAdapter.java,
4595 java/awt/dnd/DragSourceDropEvent.java,
4596 java/awt/dnd/DragSourceListener.java,
4597 java/awt/dnd/DragSourceMotionListener.java,
4598 java/awt/dnd/DropTargetAdapter.java,
4599 java/awt/dnd/DropTargetContext.java,
4600 java/awt/dnd/DropTargetListener.java,
4601 java/awt/dnd/InvalidDnDOperationException.java,
4602 java/awt/dnd/MouseDragGestureRecognizer.java,
4603 java/awt/dnd/peer/DropTargetContextPeer.java,
4604 java/awt/event/AWTEventListener.java,
4605 java/awt/event/AWTEventListenerProxy.java,
4606 java/awt/event/ActionEvent.java,
4607 java/awt/event/AdjustmentEvent.java,
4608 java/awt/event/AdjustmentListener.java,
4609 java/awt/event/ComponentAdapter.java,
4610 java/awt/event/ComponentEvent.java,
4611 java/awt/event/ComponentListener.java,
4612 java/awt/event/ContainerAdapter.java,
4613 java/awt/event/ContainerEvent.java,
4614 java/awt/event/ContainerListener.java,
4615 java/awt/event/FocusAdapter.java,
4616 java/awt/event/FocusEvent.java,
4617 java/awt/event/FocusListener.java,
4618 java/awt/event/InputEvent.java,
4619 java/awt/event/InputMethodEvent.java,
4620 java/awt/event/InputMethodListener.java,
4621 java/awt/event/InvocationEvent.java,
4622 java/awt/event/ItemEvent.java,
4623 java/awt/event/ItemListener.java,
4624 java/awt/event/KeyAdapter.java,
4625 java/awt/event/KeyEvent.java,
4626 java/awt/event/KeyListener.java,
4627 java/awt/event/MouseAdapter.java,
4628 java/awt/event/MouseEvent.java,
4629 java/awt/event/MouseListener.java,
4630 java/awt/event/MouseMotionAdapter.java,
4631 java/awt/event/MouseMotionListener.java,
4632 java/awt/event/MouseWheelEvent.java,
4633 java/awt/event/MouseWheelListener.java,
4634 java/awt/event/PaintEvent.java,
4635 java/awt/event/TextEvent.java,
4636 java/awt/event/TextListener.java,
4637 java/awt/event/WindowAdapter.java,
4638 java/awt/event/WindowEvent.java,
4639 java/awt/event/WindowFocusListener.java,
4640 java/awt/event/WindowListener.java,
4641 java/awt/event/WindowStateListener.java,
4642 java/awt/font/TextHitInfo.java,
4643 java/awt/geom/CubicCurve2D.java,
4644 java/awt/geom/Dimension2D.java,
4645 java/awt/geom/Ellipse2D.java,
4646 java/awt/geom/IllegalPathStateException.java,
4647 java/awt/geom/Line2D.java,
4648 java/awt/geom/NoninvertibleTransformException.java,
4649 java/awt/geom/PathIterator.java,
4650 java/awt/geom/Point2D.java,
4651 java/awt/geom/QuadCurve2D.java,
4652 java/awt/geom/RectangularShape.java,
4653 java/awt/geom/RoundRectangle2D.java,
4654 java/awt/im/InputContext.java,
4655 java/awt/im/InputMethodHighlight.java,
4656 java/awt/im/InputMethodRequests.java,
4657 java/awt/im/InputSubset.java,
4658 java/awt/im/spi/InputMethod.java,
4659 java/awt/im/spi/InputMethodDescriptor.java,
4660 java/awt/image/BandCombineOp.java,
4661 java/awt/image/BandedSampleModel.java,
4662 java/awt/image/ByteLookupTable.java,
4663 java/awt/image/ComponentSampleModel.java,
4664 java/awt/image/DataBuffer.java,
4665 java/awt/image/DataBufferByte.java,
4666 java/awt/image/DataBufferDouble.java,
4667 java/awt/image/DataBufferFloat.java,
4668 java/awt/image/DataBufferInt.java,
4669 java/awt/image/DataBufferShort.java,
4670 java/awt/image/DataBufferUShort.java,
4671 java/awt/image/ImagingOpException.java,
4672 java/awt/image/Kernel.java,
4673 java/awt/image/LookupTable.java,
4674 java/awt/image/MultiPixelPackedSampleModel.java,
4675 java/awt/image/PackedColorModel.java,
4676 java/awt/image/PixelInterleavedSampleModel.java,
4677 java/awt/image/RGBImageFilter.java,
4678 java/awt/image/Raster.java,
4679 java/awt/image/RasterFormatException.java,
4680 java/awt/image/SampleModel.java,
4681 java/awt/image/ShortLookupTable.java,
4682 java/awt/image/SinglePixelPackedSampleModel.java,
4683 java/awt/image/WritableRaster.java,
4684 java/awt/print/PrinterAbortException.java,
4685 java/awt/print/PrinterException.java,
4686 java/awt/print/PrinterIOException.java,
4687 java/beans/AppletInitializer.java,
4688 java/beans/ExceptionListener.java,
4689 java/beans/PropertyChangeEvent.java,
4690 java/beans/PropertyChangeListenerProxy.java,
4691 java/beans/PropertyChangeSupport.java,
4692 java/beans/PropertyDescriptor.java,
4693 java/beans/VetoableChangeListenerProxy.java,
4694 java/beans/VetoableChangeSupport.java,
4695 java/io/BufferedReader.java,
4696 java/io/ByteArrayInputStream.java,
4697 java/io/ByteArrayOutputStream.java,
4698 java/io/CharArrayReader.java,
4699 java/io/CharArrayWriter.java,
4700 java/io/CharConversionException.java,
4701 java/io/DataInput.java,
4702 java/io/DataInputStream.java,
4703 java/io/DataOutput.java,
4704 java/io/DataOutputStream.java,
4705 java/io/EOFException.java,
4706 java/io/FileInputStream.java,
4707 java/io/FileNotFoundException.java,
4708 java/io/FileOutputStream.java,
4709 java/io/FilenameFilter.java,
4710 java/io/FilterInputStream.java,
4711 java/io/FilterOutputStream.java,
4712 java/io/FilterReader.java,
4713 java/io/FilterWriter.java,
4714 java/io/IOException.java,
4715 java/io/InputStream.java,
4716 java/io/InterruptedIOException.java,
4717 java/io/LineNumberInputStream.java,
4718 java/io/LineNumberReader.java,
4719 java/io/ObjectInputStream.java,
4720 java/io/ObjectStreamException.java,
4721 java/io/OptionalDataException.java,
4722 java/io/OutputStream.java,
4723 java/io/OutputStreamWriter.java,
4724 java/io/PrintStream.java,
4725 java/io/PrintWriter.java,
4726 java/io/PushbackInputStream.java,
4727 java/io/PushbackReader.java,
4728 java/io/RandomAccessFile.java,
4729 java/io/Reader.java,
4730 java/io/SequenceInputStream.java,
4731 java/io/Serializable.java,
4732 java/io/StreamCorruptedException.java,
4733 java/io/StreamTokenizer.java,
4734 java/io/StringBufferInputStream.java,
4735 java/io/StringWriter.java,
4736 java/io/SyncFailedException.java,
4737 java/io/UTFDataFormatException.java,
4738 java/io/UnsupportedEncodingException.java,
4739 java/io/WriteAbortedException.java,
4740 java/io/Writer.java,
4741 java/lang/AbstractMethodError.java,
4742 java/lang/ArithmeticException.java,
4743 java/lang/ArrayIndexOutOfBoundsException.java,
4744 java/lang/ArrayStoreException.java,
4745 java/lang/AssertionError.java,
4746 java/lang/Boolean.java,
4747 java/lang/Byte.java,
4748 java/lang/Class.java,
4749 java/lang/ClassCastException.java,
4750 java/lang/ClassCircularityError.java,
4751 java/lang/ClassLoader.java,
4752 java/lang/ClassNotFoundException.java,
4753 java/lang/CloneNotSupportedException.java,
4754 java/lang/Cloneable.java,
4755 java/lang/Comparable.java,
4756 java/lang/Compiler.java,
4757 java/lang/Double.java,
4758 java/lang/Error.java,
4759 java/lang/Exception.java,
4760 java/lang/ExceptionInInitializerError.java,
4761 java/lang/Float.java,
4762 java/lang/IllegalAccessError.java,
4763 java/lang/IllegalAccessException.java,
4764 java/lang/IllegalArgumentException.java,
4765 java/lang/IllegalMonitorStateException.java,
4766 java/lang/IllegalStateException.java,
4767 java/lang/IllegalThreadStateException.java,
4768 java/lang/IncompatibleClassChangeError.java,
4769 java/lang/IndexOutOfBoundsException.java,
4770 java/lang/InheritableThreadLocal.java,
4771 java/lang/InstantiationError.java,
4772 java/lang/InstantiationException.java,
4773 java/lang/Integer.java,
4774 java/lang/InternalError.java,
4775 java/lang/InterruptedException.java,
4776 java/lang/LinkageError.java,
4777 java/lang/Long.java,
4778 java/lang/NegativeArraySizeException.java,
4779 java/lang/NoClassDefFoundError.java,
4780 java/lang/NoSuchFieldError.java,
4781 java/lang/NoSuchFieldException.java,
4782 java/lang/NoSuchMethodError.java,
4783 java/lang/NoSuchMethodException.java,
4784 java/lang/NullPointerException.java,
4785 java/lang/Number.java,
4786 java/lang/NumberFormatException.java,
4787 java/lang/OutOfMemoryError.java,
4788 java/lang/Process.java,
4789 java/lang/Runnable.java,
4790 java/lang/Runtime.java,
4791 java/lang/RuntimeException.java,
4792 java/lang/RuntimePermission.java,
4793 java/lang/SecurityException.java,
4794 java/lang/SecurityManager.java,
4795 java/lang/Short.java,
4796 java/lang/StackOverflowError.java,
4797 java/lang/StackTraceElement.java,
4798 java/lang/StringBuffer.java,
4799 java/lang/StringIndexOutOfBoundsException.java,
4800 java/lang/ThreadDeath.java,
4801 java/lang/ThreadGroup.java,
4802 java/lang/Throwable.java,
4803 java/lang/UnsatisfiedLinkError.java,
4804 java/lang/UnsupportedOperationException.java,
4805 java/lang/VerifyError.java,
4806 java/lang/VirtualMachineError.java,
4807 java/lang/reflect/AccessibleObject.java,
4808 java/lang/reflect/Array.java,
4809 java/lang/reflect/InvocationTargetException.java,
4810 java/lang/reflect/Member.java,
4811 java/lang/reflect/Modifier.java,
4812 java/lang/reflect/Proxy.java,
4813 java/lang/reflect/ReflectPermission.java,
4814 java/lang/reflect/UndeclaredThrowableException.java,
4815 java/math/BigInteger.java,
4816 java/net/NetworkInterface.java,
4817 java/nio/ByteBufferHelper.java,
4818 java/nio/ByteBufferImpl.java,
4819 java/nio/DirectByteBufferImpl.java,
4820 java/nio/DoubleBufferImpl.java,
4821 java/nio/FloatBufferImpl.java,
4822 java/nio/IntBufferImpl.java,
4823 java/nio/LongBufferImpl.java,
4824 java/nio/ShortBufferImpl.java,
4825 java/nio/channels/Channel.java,
4826 java/nio/channels/IllegalBlockingModeException.java,
4827 java/nio/charset/spi/CharsetProvider.java,
4828 java/security/AccessControlException.java,
4829 java/security/BasicPermission.java,
4830 java/security/DigestException.java,
4831 java/security/DigestInputStream.java,
4832 java/security/DigestOutputStream.java,
4833 java/security/GeneralSecurityException.java,
4834 java/security/Guard.java,
4835 java/security/GuardedObject.java,
4836 java/security/InvalidAlgorithmParameterException.java,
4837 java/security/InvalidKeyException.java,
4838 java/security/InvalidParameterException.java,
4839 java/security/Key.java,
4840 java/security/KeyException.java,
4841 java/security/KeyManagementException.java,
4842 java/security/KeyStoreException.java,
4843 java/security/MessageDigestSpi.java,
4844 java/security/NoSuchAlgorithmException.java,
4845 java/security/NoSuchProviderException.java,
4846 java/security/Permission.java,
4847 java/security/PermissionCollection.java,
4848 java/security/Permissions.java,
4849 java/security/Principal.java,
4850 java/security/PrivateKey.java,
4851 java/security/PrivilegedActionException.java,
4852 java/security/ProviderException.java,
4853 java/security/PublicKey.java,
4854 java/security/SecureRandom.java,
4855 java/security/SecureRandomSpi.java,
4856 java/security/SignatureException.java,
4857 java/security/SignatureSpi.java,
4858 java/security/SignedObject.java,
4859 java/security/Signer.java,
4860 java/security/UnrecoverableKeyException.java,
4861 java/security/UnresolvedPermission.java,
4862 java/security/acl/AclNotFoundException.java,
4863 java/security/acl/LastOwnerException.java,
4864 java/security/acl/NotOwnerException.java,
4865 java/security/cert/CertPath.java,
4866 java/security/cert/CertPathBuilderException.java,
4867 java/security/cert/CertPathValidatorException.java,
4868 java/security/cert/CertStoreException.java,
4869 java/text/BreakIterator.java,
4870 java/text/ChoiceFormat.java,
4871 java/text/CollationElementIterator.java,
4872 java/text/CollationKey.java,
4873 java/text/Collator.java,
4874 java/text/DateFormat.java,
4875 java/text/DateFormatSymbols.java,
4876 java/text/DecimalFormat.java,
4877 java/text/DecimalFormatSymbols.java,
4878 java/text/FieldPosition.java,
4879 java/text/Format.java,
4880 java/text/NumberFormat.java,
4881 java/text/ParseException.java,
4882 java/text/ParsePosition.java,
4883 java/text/StringCharacterIterator.java,
4884 java/util/AbstractCollection.java,
4885 java/util/AbstractList.java,
4886 java/util/AbstractMap.java,
4887 java/util/AbstractSequentialList.java,
4888 java/util/AbstractSet.java,
4889 java/util/ArrayList.java,
4890 java/util/Arrays.java,
4891 java/util/BitSet.java,
4892 java/util/Collection.java,
4893 java/util/Collections.java,
4894 java/util/Comparator.java,
4895 java/util/ConcurrentModificationException.java,
4896 java/util/Currency.java,
4897 java/util/Date.java,
4898 java/util/EmptyStackException.java,
4899 java/util/Enumeration.java,
4900 java/util/EventListener.java,
4901 java/util/EventListenerProxy.java,
4902 java/util/EventObject.java,
4903 java/util/HashMap.java,
4904 java/util/HashSet.java,
4905 java/util/Hashtable.java,
4906 java/util/IdentityHashMap.java,
4907 java/util/Iterator.java,
4908 java/util/LinkedHashSet.java,
4909 java/util/LinkedList.java,
4910 java/util/List.java,
4911 java/util/ListIterator.java,
4912 java/util/ListResourceBundle.java,
4914 java/util/MissingResourceException.java,
4915 java/util/NoSuchElementException.java,
4916 java/util/Observable.java,
4917 java/util/Observer.java,
4918 java/util/Properties.java,
4919 java/util/PropertyPermissionCollection.java,
4920 java/util/RandomAccess.java,
4922 java/util/SortedMap.java,
4923 java/util/SortedSet.java,
4924 java/util/Stack.java,
4925 java/util/StringTokenizer.java,
4926 java/util/TooManyListenersException.java,
4927 java/util/TreeMap.java,
4928 java/util/TreeSet.java,
4929 java/util/Vector.java,
4930 java/util/logging/FileHandler.java,
4931 java/util/logging/Level.java,
4932 java/util/prefs/BackingStoreException.java,
4933 java/util/prefs/InvalidPreferencesFormatException.java,
4934 java/util/prefs/Preferences.java,
4935 javax/accessibility/Accessible.java,
4936 javax/accessibility/AccessibleAction.java,
4937 javax/accessibility/AccessibleBundle.java,
4938 javax/accessibility/AccessibleComponent.java,
4939 javax/accessibility/AccessibleContext.java,
4940 javax/accessibility/AccessibleEditableText.java,
4941 javax/accessibility/AccessibleExtendedComponent.java,
4942 javax/accessibility/AccessibleExtendedTable.java,
4943 javax/accessibility/AccessibleHyperlink.java,
4944 javax/accessibility/AccessibleHypertext.java,
4945 javax/accessibility/AccessibleIcon.java,
4946 javax/accessibility/AccessibleKeyBinding.java,
4947 javax/accessibility/AccessibleRelation.java,
4948 javax/accessibility/AccessibleRelationSet.java,
4949 javax/accessibility/AccessibleResourceBundle.java,
4950 javax/accessibility/AccessibleRole.java,
4951 javax/accessibility/AccessibleSelection.java,
4952 javax/accessibility/AccessibleState.java,
4953 javax/accessibility/AccessibleStateSet.java,
4954 javax/accessibility/AccessibleTable.java,
4955 javax/accessibility/AccessibleTableModelChange.java,
4956 javax/accessibility/AccessibleText.java,
4957 javax/accessibility/AccessibleValue.java,
4958 javax/imageio/IIOException.java,
4959 javax/imageio/ImageIO.java,
4960 javax/imageio/spi/IIOServiceProvider.java,
4961 javax/imageio/spi/ImageInputStreamSpi.java,
4962 javax/imageio/spi/ImageOutputStreamSpi.java,
4963 javax/imageio/spi/ImageReaderWriterSpi.java,
4964 javax/imageio/spi/ImageTranscoderSpi.java,
4965 javax/imageio/spi/RegisterableService.java,
4966 javax/imageio/spi/ServiceRegistry.java,
4967 javax/imageio/stream/IIOByteBuffer.java,
4968 javax/imageio/stream/ImageInputStream.java,
4969 javax/imageio/stream/ImageOutputStream.java,
4970 javax/naming/Binding.java,
4971 javax/naming/CannotProceedException.java,
4972 javax/naming/CompositeName.java,
4973 javax/naming/CompoundName.java,
4974 javax/naming/LinkException.java,
4975 javax/naming/LinkRef.java,
4976 javax/naming/NameClassPair.java,
4977 javax/naming/Reference.java,
4978 javax/naming/ReferralException.java,
4979 javax/naming/directory/Attribute.java,
4980 javax/naming/directory/AttributeModificationException.java,
4981 javax/naming/directory/Attributes.java,
4982 javax/naming/directory/DirContext.java,
4983 javax/naming/directory/ModificationItem.java,
4984 javax/naming/directory/SearchControls.java,
4985 javax/naming/directory/SearchResult.java,
4986 javax/naming/event/EventContext.java,
4987 javax/naming/event/EventDirContext.java,
4988 javax/naming/event/NamespaceChangeListener.java,
4989 javax/naming/event/NamingExceptionEvent.java,
4990 javax/naming/event/NamingListener.java,
4991 javax/naming/event/ObjectChangeListener.java,
4992 javax/naming/ldap/Control.java,
4993 javax/naming/ldap/ExtendedResponse.java,
4994 javax/naming/ldap/HasControls.java,
4995 javax/naming/ldap/LdapContext.java,
4996 javax/naming/ldap/UnsolicitedNotification.java,
4997 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4998 javax/naming/ldap/UnsolicitedNotificationListener.java,
4999 javax/naming/spi/DirectoryManager.java,
5000 javax/naming/spi/ResolveResult.java,
5001 javax/naming/spi/Resolver.java,
5002 javax/security/auth/callback/Callback.java,
5003 javax/security/auth/callback/CallbackHandler.java,
5004 javax/security/auth/callback/ChoiceCallback.java,
5005 javax/security/auth/callback/ConfirmationCallback.java,
5006 javax/security/auth/callback/LanguageCallback.java,
5007 javax/security/auth/callback/NameCallback.java,
5008 javax/security/auth/callback/PasswordCallback.java,
5009 javax/security/auth/callback/TextInputCallback.java,
5010 javax/security/auth/callback/TextOutputCallback.java,
5011 javax/security/auth/callback/UnsupportedCallbackException.java,
5012 javax/security/sasl/Sasl.java,
5013 javax/security/sasl/SaslServerFactory.java,
5014 javax/swing/DefaultBoundedRangeModel.java,
5015 javax/swing/JComponent.java,
5016 javax/swing/JList.java,
5017 javax/swing/JProgressBar.java,
5018 javax/swing/JRadioButton.java,
5019 javax/swing/JTextArea.java,
5020 javax/swing/JTextField.java,
5021 javax/swing/JToggleButton.java,
5022 javax/swing/JTree.java,
5023 javax/swing/SpinnerListModel.java,
5024 javax/swing/event/EventListenerList.java,
5025 javax/swing/text/JTextComponent.java,
5026 javax/swing/text/StringContent.java,
5027 javax/swing/text/Utilities.java,
5028 javax/swing/undo/UndoManager.java,
5029 javax/swing/undo/UndoableEditSupport.java,
5030 javax/transaction/HeuristicCommitException.java,
5031 javax/transaction/HeuristicMixedException.java,
5032 javax/transaction/HeuristicRollbackException.java,
5033 javax/transaction/InvalidTransactionException.java,
5034 javax/transaction/NotSupportedException.java,
5035 javax/transaction/RollbackException.java,
5036 javax/transaction/Status.java,
5037 javax/transaction/Synchronization.java,
5038 javax/transaction/SystemException.java,
5039 javax/transaction/Transaction.java,
5040 javax/transaction/TransactionManager.java,
5041 javax/transaction/TransactionRequiredException.java,
5042 javax/transaction/TransactionRolledbackException.java,
5043 javax/transaction/UserTransaction.java,
5044 javax/transaction/xa/XAException.java,
5045 javax/transaction/xa/XAResource.java,
5046 javax/transaction/xa/Xid.java,
5047 javax/xml/XMLConstants.java,
5048 javax/xml/datatype/DatatypeConfigurationException.java,
5049 javax/xml/datatype/DatatypeConstants.java,
5050 javax/xml/datatype/DatatypeFactory.java,
5051 javax/xml/datatype/Duration.java,
5052 javax/xml/datatype/XMLGregorianCalendar.java,
5053 javax/xml/namespace/NamespaceContext.java,
5054 javax/xml/namespace/QName.java,
5055 javax/xml/parsers/DocumentBuilder.java,
5056 javax/xml/parsers/DocumentBuilderFactory.java,
5057 javax/xml/parsers/FactoryConfigurationError.java,
5058 javax/xml/parsers/ParserConfigurationException.java,
5059 javax/xml/parsers/SAXParser.java,
5060 javax/xml/parsers/SAXParserFactory.java,
5061 javax/xml/transform/ErrorListener.java,
5062 javax/xml/transform/OutputKeys.java,
5063 javax/xml/transform/Result.java,
5064 javax/xml/transform/Source.java,
5065 javax/xml/transform/SourceLocator.java,
5066 javax/xml/transform/Templates.java,
5067 javax/xml/transform/Transformer.java,
5068 javax/xml/transform/TransformerConfigurationException.java,
5069 javax/xml/transform/TransformerException.java,
5070 javax/xml/transform/TransformerFactory.java,
5071 javax/xml/transform/TransformerFactoryConfigurationError.java,
5072 javax/xml/transform/URIResolver.java,
5073 javax/xml/transform/dom/DOMLocator.java,
5074 javax/xml/transform/dom/DOMResult.java,
5075 javax/xml/transform/dom/DOMSource.java,
5076 javax/xml/transform/sax/SAXResult.java,
5077 javax/xml/transform/sax/SAXSource.java,
5078 javax/xml/transform/sax/SAXTransformerFactory.java,
5079 javax/xml/transform/sax/TemplatesHandler.java,
5080 javax/xml/transform/sax/TransformerHandler.java,
5081 javax/xml/transform/stream/StreamResult.java,
5082 javax/xml/transform/stream/StreamSource.java,
5083 javax/xml/validation/Schema.java,
5084 javax/xml/validation/SchemaFactory.java,
5085 javax/xml/validation/TypeInfoProvider.java,
5086 javax/xml/validation/Validator.java,
5087 javax/xml/validation/ValidatorHandler.java,
5088 javax/xml/xpath/XPathConstants.java,
5089 javax/xml/xpath/XPathException.java,
5090 javax/xml/xpath/XPathExpression.java,
5091 javax/xml/xpath/XPathExpressionException.java,
5092 javax/xml/xpath/XPathFactory.java,
5093 javax/xml/xpath/XPathFactoryConfigurationException.java,
5094 javax/xml/xpath/XPathFunction.java,
5095 javax/xml/xpath/XPathFunctionException.java,
5096 javax/xml/xpath/XPathFunctionResolver.java:
5097 Fixed usage of @author tag, reworked import statements,
5098 removed CVS tags, changed the modifier order and fixed
5099 HTML usage in javadocs.
5101 2005-02-16 Julian Scheid <julian@sektor37.de>
5103 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
5105 (encodeLoop): Likewise.
5107 2005-02-16 Mark Wielaard <mark@klomp.org>
5109 * Makefile.am (ordinary_java_source_files): Add new files
5110 gnu/java/security/ber/BER.java,
5111 gnu/java/security/ber/BEREncodingException.java,
5112 gnu/java/security/ber/BERReader.java,
5113 gnu/java/security/ber/BERValue.java,
5114 gnu/java/security/pkcs/PKCS7SignedData.java and
5115 gnu/java/security/pkcs/SignerInfo.java.
5116 * Makefile.in: Regenerated.
5118 2005-02-16 Casey Marshall <csm@gnu.org>
5120 * gnu/java/security/provider/GnuDSAPrivateKey.java
5121 (encodedKey): new field.
5122 (getFormat): return "PKCS#8".
5123 (getEncoded): implemented.
5124 (toString): check for 'null' values.
5125 * gnu/java/security/provider/GnuDSAPublicKey.java
5126 (encodedKey): new field.
5127 (getFormat): return "X.509".
5128 (getEncoded): implemented.
5129 (toString): check for 'null' values.
5131 2005-02-16 Michael Koch <konqueror@gmx.de>
5133 * java/util/jar/JarFile.java: Imports reworked.
5135 2005-02-16 Mark Wielaard <mark@klomp.org>
5137 * java/util/jar/JarFile.java (verify): Make package private.
5138 (signaturesRead): Likewise.
5139 (verified): Likewise.
5140 (entryCerts): Likewise.
5143 (entries): Construct new JarEnumeration with reference to this.
5144 (JarEnumeration): Make static.
5145 (JarEnumeration.jarfile): New field.
5146 (JarEnumeration.nextElement): Use and synchronize on jarfile.
5147 Compare verified value to Boolean.TRUE or Boolean.False only
5148 when verify is true.
5149 (getEntry): Make synchronized. Compare value of verified to
5151 (getInputStream): Construct EntryInputStream with reference to this.
5152 (getManifest): Make synchronized.
5153 (EntryInputStream): Make static.
5154 (EntryInputStream.jarfile): New field.
5155 (EntryInputStream.EntryInputStream): Check if manifest exists,
5156 before getting attributes.
5157 (eof): Synchronize on jarfile.
5159 2005-02-16 Casey Marshall <csm@gnu.org>
5161 * java/util/jar/JarFile.java (verify): return if the jar is signed
5162 with an unsupported algorithm.
5164 2005-02-16 Mark Wielaard <mark@klomp.org>
5166 * java/util/jar/JarFile.java (EntryInputStream): Add actual
5167 InputStream as argument.
5168 (getInputStream): Construct a new EntryInputStream with the result of
5169 super.getInputStream(entry).
5171 2005-02-16 Casey Marshall <csm@gnu.org>
5173 Signed JAR file support.
5174 * java/net/URLClassLoader.java
5175 (JarURLResource.getCertificates): re-read jar entry to ensure
5176 certificates are picked up.
5177 (findClass): fill in class `signers' field, too.
5178 * java/util/jar/JarFile.java (META_INF): new constant.
5179 (PKCS7_DSA_SUFFIX): new constant.
5180 (PKCS7_RSA_SUFFIX): new constant.
5181 (DIGEST_KEY_SUFFIX): new constant.
5182 (SF_SUFFIX): new constant.
5183 (MD2_OID): new constant.
5184 (MD4_OID): new constant.
5185 (MD5_OID): new constant.
5186 (SHA1_OID): new constant.
5187 (DSA_ENCRYPTION_OID): new constant.
5188 (RSA_ENCRYPTION_OID): new constant.
5189 (signaturesRead): new field.
5190 (verified): new field.
5191 (entryCerts): new field.
5192 (DEBUG): new constant.
5193 (debug): new method.
5194 (JarEnumeration.nextElement): fill in entry certificates, read
5195 signatures if they haven't been read.
5196 (getEntry): likewise.
5197 (getInputStream): verify stream if it hasn't been verified yet.
5198 (readSignatures): new method.
5199 (verify): new method.
5200 (verifyHashes): new method.
5201 (readManifestEntry): new method.
5202 (EntryInputStream): new class.
5203 * gnu/java/io/Base64InputStream.java (decode): new class
5205 * gnu/java/security/der/DERReader.java don't make class
5207 (in): made protected.
5209 (readLength): likewise.
5210 * gnu/java/security/ber/BER.java,
5211 * gnu/java/security/ber/BEREncodingException.java,
5212 * gnu/java/security/ber/BERReader.java,
5213 * gnu/java/security/ber/BERValue.java,
5214 * gnu/java/security/pkcs/PKCS7SignedData.java,
5215 * gnu/java/security/pkcs/SignerInfo.java:
5218 2005-02-16 Tom Tromey <tromey@redhat.com>
5220 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
5221 copied file on exit.
5223 2005-02-15 Mark Wielaard <mark@klomp.org>
5225 * java/awt/BasicStroke.java (hashCode): Check for null dash.
5227 2005-02-15 Michael Koch <konqueror@gmx.de>
5229 * gnu/java/awt/peer/gtk/GtkArg.java,
5230 gnu/java/awt/peer/gtk/GtkArgList.java:
5233 2005-02-15 Craig Black <craig.black@aonix.com>
5235 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
5236 (postMenuActionEvent): Implement to notify ItemListeners.
5237 * java/awt/CheckboxMenuItem.java
5238 (dispatchEventImpl): Update state on ItemEvent.
5239 * java/awt/MenuItem.java
5240 (processActionEvent): Retarget event source.
5242 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5244 * gnu/java/awt/color/ClutProfileConverter.java,
5245 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
5246 gnu/java/awt/peer/gtk/GdkFontPeer.java,
5247 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
5248 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
5249 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
5250 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
5251 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
5252 gnu/java/awt/peer/gtk/GdkTextLayout.java,
5253 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5254 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5255 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5256 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5257 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5258 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5259 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5260 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5261 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5262 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5263 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5264 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5265 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5266 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5267 gnu/java/awt/peer/gtk/GtkToolkit.java,
5268 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5269 javax/swing/JPopupMenu.java,
5270 javax/swing/JSpinner.java,
5271 javax/swing/SortingFocusTraversalPolicy.java,
5272 javax/swing/SwingUtilities.java,
5273 javax/swing/plaf/basic/BasicComboBoxEditor.java,
5274 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
5275 javax/swing/tree/DefaultMutableTreeNode.java:
5276 Removed unused imports and expanded starred
5279 2005-02-15 Mark Wielaard <mark@klomp.org>
5281 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
5282 IllegalArgumentException when the given String is null.
5284 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
5285 when given keystoke sequence cannot be parsed.
5287 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
5288 if one is installed. Only install the given menubar is not null.
5290 * javax/swing/JViewport.java (getViewSize): Return an empty
5291 Dimension when the view isn't set or preferred component size when
5294 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
5295 empty Dimension when there is no view set.
5296 (minimumLayoutSize): Likewise.
5297 (layoutContainer): Don't try to layout when there is no view.
5299 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5302 * include/jawt.h: Likewise.
5303 * include/jawt_md.h: Likewise.
5304 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
5306 * jni/classpath/classpath_jawt.h: Likewise.
5307 * jni/gtk-peer/gtk_jawt.c: Likewise.
5308 * Makefile.am: Build libjawt.so.
5310 2005-02-15 Michael Koch <konqueror@gmx.de>
5312 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
5313 Merged file header with classpath CVS head.
5314 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5315 Merged code formatting with classpath CVS head.
5316 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
5318 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5319 Handle special JNI strings with 2 '\0' at the end.
5320 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5321 Merged file header with classpath CVS head.
5322 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5323 Merged code formatting with classpath CVS head.
5325 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5327 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
5328 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
5329 (handle_response): Use GTK_RESPONSE_ACCEPT.
5331 2005-02-15 Graydon Hoare <graydon@redhat.com>
5333 * Makefile.am: Fix library build breakage.
5334 * Makefile.in: Regenerate.
5336 2005-02-15 Michael Koch <konqueror@gmx.de>
5338 * javax/swing/JTabbedPane.java
5339 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
5341 2005-02-15 Michael Koch <konqueror@gmx.de>
5343 * javax/swing/tree/DefaultMutableTreeNode.java:
5344 Reworked Javadocs all over.
5345 (getPathToRoot): Fixed direction of result array initialization.
5347 2005-02-15 Michael Koch <konqueror@gmx.de>
5349 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5350 Fix includes for cairo 0.3.0 snappshot.
5351 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5352 Merged file header from classpath CVS HEAD.
5354 2005-02-15 Craig Black <craig.black@aonix.com>
5356 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5357 (copyState): Pass a JNI global reference to signal handler.
5358 (realize_cb): Use and free JNI global reference.
5359 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5360 (create): Pass a JNI global reference to signal handler.
5361 (selection_changed): Match declaration.
5362 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5363 (dispose): Do not remove entries from state tables until after widget is
5366 2005-02-15 Michael Koch <konqueror@gmx.de>
5368 * java/awt/Container.javai (paramString):
5369 If layoutMgr is null just return result of super.paramString().
5370 * java/awt/Scrollbar.java: Reformatted.
5371 * java/awt/im/InputContext.java (static):
5372 Removed redundant initializations.
5374 2005-02-15 Michael Koch <konqueror@gmx.de>
5376 * javax/swing/ImageIcon.java,
5377 javax/swing/UIManager.java,
5378 javax/swing/text/EditorKit.java,
5379 javax/swing/text/Segment.java:
5380 More whitespace cleanups.
5382 2005-02-15 Michael Koch <konqueror@gmx.de>
5384 * gnu/java/awt/EmbeddedWindow.java,
5385 gnu/java/awt/image/ImageDecoder.java,
5386 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5387 java/awt/DefaultKeyboardFocusManager.java,
5388 java/awt/Frame.java,
5389 java/awt/image/RGBImageFilter.java,
5390 javax/swing/AbstractButton.java,
5391 javax/swing/ActionMap.java,
5392 javax/swing/ComponentInputMap.java,
5393 javax/swing/DefaultDesktopManager.java,
5394 javax/swing/ImageIcon.java,
5395 javax/swing/InputMap.java,
5396 javax/swing/JButton.java,
5397 javax/swing/JCheckBox.java,
5398 javax/swing/JCheckBoxMenuItem.java,
5399 javax/swing/JEditorPane.java,
5400 javax/swing/JMenu.java,
5401 javax/swing/JMenuItem.java,
5402 javax/swing/JOptionPane.java,
5403 javax/swing/JRootPane.java,
5404 javax/swing/JTable.java,
5405 javax/swing/MenuSelectionManager.java,
5406 javax/swing/RepaintManager.java,
5407 javax/swing/ScrollPaneLayout.java,
5408 javax/swing/SortingFocusTraversalPolicy.java,
5409 javax/swing/UIManager.java,
5410 javax/swing/ViewportLayout.java,
5411 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5412 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5413 javax/swing/plaf/basic/BasicLabelUI.java,
5414 javax/swing/plaf/basic/BasicListUI.java,
5415 javax/swing/plaf/basic/BasicMenuItemUI.java,
5416 javax/swing/plaf/basic/BasicMenuUI.java,
5417 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5418 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5419 javax/swing/plaf/basic/BasicRootPaneUI.java,
5420 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5421 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5422 javax/swing/plaf/basic/BasicTextUI.java,
5423 javax/swing/table/TableColumnModel.java,
5424 javax/swing/text/AbstractDocument.java,
5425 javax/swing/text/EditorKit.java,
5426 javax/swing/text/Position.java,
5427 javax/swing/text/Segment.java,
5428 javax/swing/text/StyledEditorKit.java,
5429 javax/swing/text/ViewFactory.java:
5430 Cleanup whitespace differences to classpath CVS HEAD.
5432 2005-02-15 Graydon Hoare <graydon@redhat.com>
5434 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5435 (finalize): Call finish from here.
5436 (produce): Not from here.
5437 * Makefile.am (gtk_c_source_files):
5438 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5439 * Makefile.in: Regenerate.
5440 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5442 (cairoDrawGdkTextLayout):
5444 (getPeerTextMetrics):
5445 (getPeerFontMetrics): Remove.
5446 (setFont): Don't call cairoSetFont.
5447 (cairoDrawGlyphVector): Accept font peer argument.
5448 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5449 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5450 (ensure_metrics_cairo):
5451 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5452 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5453 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5454 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5456 (metrics_surface): Remove.
5457 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5458 Pass and install font peer.
5460 2005-02-15 Graydon Hoare <graydon@redhat.com>
5462 * Makefile.am: Create "split library" structure.
5463 * Makefile.in: Regenerate.
5465 2005-02-15 Graydon Hoare <graydon@redhat.com>
5467 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5468 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5469 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5470 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5471 Release GDK lock during upcalls.
5473 2005-02-15 Graydon Hoare <graydon@redhat.com>
5475 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5476 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5477 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5478 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5479 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5480 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5481 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5484 (getTextMetrics): New native methods.
5485 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5486 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5487 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5488 * Makefile.in: Regenerate.
5490 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5492 * javax/swing/SwingUtilities.java:
5493 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5494 Implemented and documented.
5495 (getAccessibleChild(java.awt.Component, int)): Likewise.
5496 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5497 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5498 (getAccessibleStateSet(java.awt.Component)): Likewise.
5500 2005-02-15 Michael Koch <konqueror@gmx.de>
5502 * javax/swing/SwingUtilities.java
5503 (getFontMetrics): Removed.
5505 2005-02-15 Michael Koch <konqueror@gmx.de>
5507 * java/awt/Container.java
5508 (paramString): Implemented.
5509 * javax/swing/AbstractButton.java
5510 (paramString): Implemented.
5511 * javax/swing/JComponent.java
5512 (paramString): Implemented.
5513 * javax/swing/JMenu.java
5514 (paramString): Implemented.
5515 * javax/swing/JMenuBar.java
5516 (paramString): Implemented.
5517 * javax/swing/JMenuItem.java
5518 (paramString): Implemented.
5519 * javax/swing/JPopupMenu.java
5520 (paramString): Implemented.
5522 2005-02-15 Michael Koch <konqueror@gmx.de>
5524 * javax/swing/JMenu.java
5525 (uiClassID): Removed.
5526 (JMenu): Set invoker on popup menu.
5527 (getUIClassID): Return id directly.
5528 (getItemCount): Simply return getMenuComponentCount().
5530 (isTopLevelMenu): Simplified.
5531 * javax/swing/JMenuItem.java
5532 (uiClassID): Removed.
5533 (getUIClassID): Return id directly.
5534 * javax/swing/JPopupMenu.java
5535 (uiClassID): Removed.
5536 (JPopupMenu): Always initialize correctly.
5537 (getSubElements): Only return components implementing MenuElement
5539 (HeavyWeightPopup.hide): Removed.
5541 2005-02-15 Michael Koch <konqueror@gmx.de>
5543 * java/awt/image/ReplicateScaleFilter.java
5544 (replicatePixels): Made private.
5545 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5546 (DefaultRGBChooserPanel): Made package private.
5547 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5548 (RecentSwatchPanel): Likewise.
5549 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5550 (MouseInputAdapter): Made abstract.
5551 * javax/swing/tree/DefaultMutableTreeNode.java
5553 (growTree): Likewise.
5555 2005-02-15 Michael Koch <konqueror@gmx.de>
5557 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5560 2005-02-15 Michael Koch <konqueror@gmx.de>
5562 * javax/swing/JComponent.java (getComponentGraphics):
5563 Removed accidently commited code.
5565 2005-02-15 Graydon Hoare <graydon@redhat.com>
5567 * java/awt/dnd/DropTarget.java
5568 (addDropTargetListener): Despite documentation, do not throw.
5569 * javax/swing/JComponent.java: Set a default DropTarget.
5571 2005-02-15 Michael Koch <konqueror@gmx.de>
5573 * javax/swing/AbstractAction.java
5574 (ENABLED_PROPERTY): Removed.
5575 (setEnabled): Replaced constant with real string.
5576 * javax/swing/AbstractButton.java
5577 (createActionPropertyChangeListener.propertyChange): Likewise.
5578 * javax/swing/JComboBox.java
5579 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5580 (EDITABLE_CHANGED_PROPERTY): Removed.
5581 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5582 (ENABLED_CHANGED_PROPERTY):Likewise.
5583 (RENDERER_CHANGED_PROPERTY):Likewise.
5584 (EDITOR_CHANGED_PROPERTY):Likewise.
5585 (MODEL_CHANGED_PROPERTY):Likewise.
5586 (uiClassID):Likewise.
5587 (getUIClassID): Replaced constant with real string.
5588 (setModel):Likewise.
5589 (setEditable):Likewise.
5590 (setMaximumRowCount):Likewise.
5591 (setRenderer):Likewise.
5592 (setEditor):Likewise.
5593 (setEnabled):Likewise.
5594 * javax/swing/JLabel.java
5595 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5596 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5597 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5598 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5599 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5600 (ICON_CHANGED_PROPERTY): Likewise.
5601 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5602 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5603 (TEXT_CHANGED_PROPERTY): Likewise.
5604 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5605 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5606 (setText): Replaced constant with real string.
5607 (setIcon): Likewise.
5608 (setDisabledIcon): Likewise.
5609 (setDisplayedMnemonic): Likewise.
5610 (setIconTextGap): Likewise.
5611 (setVerticalAlignment): Likewise.
5612 (setHorizontalAlignment): Likewise.
5613 (setVerticalTextPosition): Likewise.
5614 (setHorizontalTextPosition): Likewise.
5615 (setLabelFor): Replaced constant with real string.
5616 Fire property change event after property got changed.
5617 * javax/swing/JList.java
5618 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5619 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5620 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5621 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5622 (MODEL_PROPERTY_CHANGED): Likewise.
5623 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5624 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5625 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5626 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5627 (setFixedCellWidth): Reimplemented.
5628 (setFixedCellHeight): Exit if new value is identical.
5629 Replaced constant with real string.
5630 (setSelectionBackground): Likewise.
5631 (setSelectionForeground): Likewise.
5632 (setPrototypeCellValue): Likewise.
5633 (setCellRenderer): Replaced constant with real string.
5634 (setModel): Likewise.
5635 (setSelectionModel): Likewise.
5636 * javax/swing/JMenuBar.java
5637 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5638 (MODEL_CHANGED_PROPERTY): Likewise.
5639 (MARGIN_CHANGED_PROPERTY): Likewise.
5640 (setBorderPainted): Reimplemented.
5641 (setMargin): Likewise.
5642 (setSelectionModel): Replaced constant with real string.
5643 * javax/swing/JPopupMenu.java
5644 (LABEL_CHANGED_PROPERTY): Removed.
5645 (VISIBLE_CHANGED_PROPERTY): Likewise.
5646 (borderPainted): Likewise.
5647 (setLabel): Replaced constant with real string.
5648 (setVisible): Exit if new value is identical.
5649 Replaced constant with real string.
5650 * javax/swing/JProgressBar.java
5651 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5652 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5653 (STRING_CHANGED_PROPERTY): Likewise.
5654 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5655 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5656 (setOrientation): Replaced constant with real string.
5657 (setStringPainted): Likewise.
5658 (setString): Likewise.
5659 (setBorderPainted): Likewise.
5660 (setIndeterminate): Likewise.
5661 * javax/swing/JScrollBar.java
5662 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5663 (MODEL_CHANGED_PROPERTY): Likewise.
5664 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5665 (setOrientation): Replaced constant with real string.
5666 (setModel): Likewise.
5667 (setUnitIncrement): Likewise.
5668 (setBlockIncrement): Likewise.
5669 * javax/swing/JScrollPane.java
5670 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5671 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5672 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5673 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5674 (LAYOUT_CHANGED_PROPERTY): Likewise.
5675 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5676 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5677 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5678 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5679 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5680 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5681 (setComponentOrientation): Replaced constant with real string.
5682 (setColumnHeader): Likewise.
5683 (setHorizontalScrollBar): Likewise.
5684 (setHorizontalScrollBarPolicy): Likewise.
5685 (setRowHeader): Likewise.
5686 (setVerticalScrollBar): Likewise.
5687 (setVerticalScrollBarPolicy): Likewise.
5688 (setWheelScrollingEnabled): Likewise.
5689 (setViewport): Likewise.
5690 (setViewportBorder): Likewise.
5691 * javax/swing/JSlider.java
5692 (INVERTED_CHANGED_PROPERTY): Removed.
5693 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5694 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5695 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5696 (MODEL_CHANGED_PROPERTY): Likewise.
5697 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5698 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5699 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5700 (setModel): Replaced constant with real string.
5701 (setOrientation): Likewise.
5702 (setLabelTable): Likewise.
5703 (setInverted): Likewise.
5704 (setMajorTickSpacing): Likewise.
5705 (setMinorTickSpacing): Likewise.
5706 (setPaintTicks): Likewise.
5707 (setPaintLabels): Likewise.
5708 * javax/swing/JTabbedPane.java
5709 (MODEL_CHANGED_PROPERTY): Removed.
5710 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5711 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5712 (setModel): Replaced constant with real string.
5713 (setTabPlacement): Likewise.
5714 (setTabLayoutPolicy): Likewise.
5715 * javax/swing/JToolBar.java
5716 (ORIENTATION_CHANGED_PROPERTY): Removed.
5717 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5718 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5719 (MARGIN_CHANGED_PROPERTY): Likewise.
5720 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5721 (setRollover): Replaced constant with real string.
5722 (setMargin): Likewise.
5723 (setBorderPainted): Likewise.
5724 (setFloatable): Likewise.
5725 (setOrientation): Likewise.
5726 * javax/swing/plaf/basic/BasicComboBoxUI.java
5727 (PropertyChangeHandler.propertyChange): Likewise.
5728 * javax/swing/plaf/basic/BasicComboPopup.java
5729 (PropertyChangeHandler.propertyChange): Likewise.
5730 * javax/swing/plaf/basic/BasicMenuBarUI.java
5731 (PropertyChangeHandler.propertyChange): Likewise.
5732 * javax/swing/plaf/basic/BasicProgressBarUI.java
5733 (PropertyChangeHandler.propertyChange): Likewise.
5734 * javax/swing/plaf/basic/BasicScrollBarUI.java
5735 (PropertyChangeHandler.propertyChange): Likewise.
5736 * javax/swing/plaf/basic/BasicSliderUI.java
5737 (PropertyChangeHandler.propertyChange): Likewise.
5738 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5739 (PropertyChangeHandler.propertyChange): Likewise.
5740 * javax/swing/plaf/basic/BasicToolBarUI.java
5741 (PropertyChangeHandler.propertyChange): Likewise.
5743 2005-02-15 Michael Koch <konqueror@gmx.de>
5745 * javax/swing/DefaultButtonModel.java
5746 (changeState): Made private.
5747 * javax/swing/DefaultDesktopManager.java
5748 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5749 * javax/swing/JLayeredPane.java
5750 (layerToRange): Made private.
5751 (incrLayer): Likewise.
5752 (decrLayer): Likewise.
5753 * javax/swing/JTable.java
5754 (dragEnabled): Likewise.
5755 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5756 * javax/swing/KeyStroke.java
5757 (Keystroke): Made private.
5758 * javax/swing/TransferHandler.java
5759 (COMMAND_COPY): Likewise.
5760 (COMMAND_CUT): Likewise.
5761 (COMMAND_PASTE): Likewise.
5763 2005-02-15 Michael Koch <konqueror@gmx.de>
5765 * javax/swing/JTextField.java
5766 (postActionEvent): Use text in field when actionCommand is null.
5767 (getActionCommand): Removed.
5769 2005-02-15 Michael Koch <konqueror@gmx.de>
5771 * javax/swing/AbstractSet.java: Removed.
5772 * Makefile.am: Removed javax/swing/AbstractSet.java.
5773 * Makefile.in: Regenerated.
5775 2005-02-15 Michael Koch <konqueror@gmx.de>
5777 * java/awt/Window.java
5778 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5779 * java/awt/dnd/DnDConstants.java
5780 (DnDConstants): New private constructor.
5782 2005-02-15 Michael Koch <konqueror@gmx.de>
5784 * javax/swing/DefaultCellRenderer.java: Removed.
5785 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5786 * Makefile.in: Regenerated.
5788 2005-02-15 Michael Koch <konqueror@gmx.de>
5790 * javax/swing/AbstractButton.java
5791 (fireItemStateChanged): Made protected.
5792 (fireActionPerformed): Likewise.
5793 (fireStateChanged): Likewise.
5794 * javax/swing/DefaultButtonModel.java
5795 (fireItemStateChanged): Likewise.
5796 (fireActionPerformed): Likewise.
5797 (fireStateChanged): Likewise.
5798 * javax/swing/JApplet.java
5800 (frameInit): Likewise.
5801 (setRootPane): Made protected.
5802 (createRootPane): Likewise.
5803 * javax/swing/JComponent.java
5804 (getClientProperty): Likewise.
5805 (putClientProperty): Likewise.
5806 * javax/swing/JEditorPane.java
5807 (getContentType): Likewise.
5808 (setContentType): Likewise.
5809 * javax/swing/JFrame.java
5810 (setRootPane): Likewise.
5811 (createRootPane): Likewise.
5812 * javax/swing/JInternalFrame.java
5813 (getFocusCycleRootAncestor): Made final. Added @since tag.
5814 (isFocusCycleRoot): Likewise.
5815 (getWarningString): Made final.
5816 * javax/swing/JScrollBar.java
5817 (changeListener): Removed.
5818 (changeEvent): Likewise.
5819 (createChangeListener): Likewise.
5820 (fireStateChanged): Likewise.
5821 (addChangeListener): Likewise.
5822 (removeChangeListener): Likewise.
5823 (getChangeListeners): Likewise.
5824 * javax/swing/JScrollPane.java
5825 (createViewport): Made protected.
5826 * javax/swing/JViewport.java
5827 (addImpl): Likewise.
5828 (setBorder): New method.
5829 * javax/swing/JWindow.java
5830 (setRootPane): Made protected.
5831 (createRootPane): Likewise.
5832 * javax/swing/plaf/basic/BasicButtonUI.java
5833 (installListeners): Likewise.
5834 (uninstallListeners): Likewise.
5835 * javax/swing/plaf/basic/BasicProgressBarUI.java
5836 (incrementAnimationIndex): Likewise.
5837 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5838 (createLayoutManager): Likewise.
5839 * javax/swing/table/DefaultTableCellRenderer.java
5840 (firePropertyChange): Likewise.
5841 * javax/swing/table/JTableHeader.java
5842 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5844 * javax/swing/text/PlainDocument.java
5845 (reindex): Made private.
5846 * javax/swing/text/PlainView.java
5847 (drawLine): Made protected.
5848 (getTabSize): Likewise.
5849 * javax/swing/text/View.java
5851 (preferenceChanged): New method.
5852 (getBreakWeight): Likewise.
5853 (breakView): Likewise.
5854 (getViewIndex): Likewise.
5856 2005-02-15 Michael Koch <konqueror@gmx.de>
5858 * javax/swing/JScrollPane.java
5859 (ScrollBar): Made class protected.
5860 * javax/swing/JSpinner.java
5861 (JSpinner): Added @since tag.
5862 (listenerList): Removed.
5863 * javax/swing/JTable.java
5864 (setValueAt): New method.
5865 (getColumn): Likewise.
5866 * javax/swing/JWindow.java
5867 (rootPaneCheckingEnabled): Renamed from checking.
5869 2005-02-15 Michael Koch <konqueror@gmx.de>
5871 * javax/swing/plaf/basic/BasicTextUI.java
5872 (RootView.modelToView): Made it public and return a java.awt.Shape.
5873 Handle null subview.
5874 (uninstall): Set textComponent to null when its not possible used
5876 * javax/swing/text/View.java
5877 (setParent): Use better argument name.
5878 (getContainer): Get parent via getParent().
5879 (getViewFactory): Likewise.
5880 (getAttributes): Get element via getElement().
5881 (getStartOffset): Likewise.
5882 (getEndOffset): Likewise.
5883 (getResizeWeight): New method.
5884 (getMaximumSpan): Likewise.
5885 (getMinimumSpan): Likewise.
5886 (setSize): Likewise.
5887 (getGraphics): Likewise.
5889 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5891 * java/awt/Checkbox.java:
5892 (AccessibleAWTCheckbox()): Added public constructor
5894 * java/awt/Choice.java:
5895 (AccessibleAWTChoice): Added class documentation.
5896 (AccessibleAWTChoice()): Added public constructor
5898 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5899 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5900 and changed role to COMBO_BOX.
5901 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5902 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5903 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5905 2005-02-15 Graydon Hoare <graydon@redhat.com>
5906 Michael Koch <konqueror@gmx.de>
5908 * javax/swing/LayoutFocusTraversalPolicy.java,
5909 javax/swing/SortingFocusTraversalPolicy.java:
5911 * Makefile.am: Added new classes.
5912 * Makefike.in: Regenerated.
5915 2005-02-15 Michael Koch <konqueror@gmx.de>
5917 * javax/swing/DebugGraphics.java: Mostly implemented.
5919 2005-02-15 Michael Koch <konqueror@gmx.de>
5921 * javax/swing/SwingUtilities.java
5922 (findFocusOwner): New method.
5924 2005-02-15 Michael Koch <konqueror@gmx.de>
5926 * javax/swing/text/DefaultEditorKit.java
5927 (read): Added '\n' after each line.
5928 * javax/swing/text/PlainView.java
5929 (modelToView): Update metrics.
5930 (drawLine): Use offsets from element.
5931 (paint): Update metrics. Draw all lines.
5933 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5935 * java/awt/Checkbox.java:
5936 (AccessibleAWTCheckbox): Added class documentation
5937 * java/awt/Scrollbar.java:
5938 (AccessibleAWTScrollBar): typo corrected and docs added
5939 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5940 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5941 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5942 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5943 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5944 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5945 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5946 (getAccessibleContext()): name of accessible class corrected
5948 2005-02-15 Mark Wielaard <mark@klomp.org>
5950 * java/awt/BasicStroke.java (hashCode): Implement.
5953 2005-02-15 Michael Koch <konqueror@gmx.de>
5955 * java/awt/print/PrinterJob.java
5956 (pageDialog): Throws java.awt.HeadlessException.
5957 (printDialog): Likewise.
5959 2005-02-15 Mark Wielaard <mark@klomp.org>
5961 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5963 2005-02-15 Michael Koch <konqueror@gmx.de>
5965 * javax/swing/JTable.java
5966 (getValueAt): New method.
5967 * javax/swing/table/JTableHeader.java
5968 (columnAtPoint): New method.
5970 2005-02-15 Michael Koch <konqueror@gmx.de>
5972 * javax/swing/JTextField.java
5973 (actions): New field.
5974 (static): Initalize actions field.
5975 (getActions): New method.
5977 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5979 * java/awt/Checkbox.java:
5980 (AccessibleAWTCheckbox): name capitalization corrected
5981 and serialization UID added.
5982 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5984 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5985 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5986 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5987 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5988 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5989 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5990 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5991 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5992 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5993 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5994 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5996 (getAccessibleContext()): name of accessible class corrected
5998 2005-02-15 Sven de Marothy <sven@physto.se>
6000 * java/awt/geom/doc-files/Area-1.png,
6001 java/awt/geom/doc-files/Ellipse-1.png,
6002 java/awt/geom/doc-files/GeneralPath-1.png:
6005 2005-02-15 Graydon Hoare <graydon@redhat.com>
6007 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
6008 Use union to avoid type-punning warning.
6010 2005-02-15 Michael Koch <konqueror@gmx.de>
6012 * javax/swing/DefaultListSelectionModel.java
6013 (clone): New method.
6015 2005-02-15 Mark Wielaard <mark@klomp.org>
6017 Reported by Martin Platter <motse@complang.tuwien.ac.at>
6018 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6019 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
6020 Correct method signature of gtkSetFilename.
6022 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
6024 * javax/swing/text/StringContent.java: New file.
6026 2005-02-15 Michael Koch <konqueror@gmx.de>
6028 * Makefile.am: Added javax/swing/text/StringContent.java.
6029 * Makefile.in: Regenerated.
6031 2005-02-15 Michael Koch <konqueror@gmx.de>
6033 * gnu/java/awt/ClasspathToolkit.java:
6034 Import statements reworked.
6035 (imageCache): Made it of type java.util.HashMap.
6037 2005-02-15 Michael Koch <konqueror@gmx.de>
6039 * javax/imageio/stream/MemoryCacheImageInputStream.java:
6040 Reworked import statements.
6042 2005-02-15 Graydon Hoare <graydon@redhat.com>
6044 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
6045 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6046 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
6047 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6048 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
6049 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
6050 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
6051 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
6052 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6053 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
6054 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
6055 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
6056 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
6057 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
6058 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6059 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
6060 Rewrite uses of extern variable to be function calls.
6061 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
6062 function, from extern variable.
6063 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6064 (gdk_env): Remove variable, add new function.
6065 (java_vm): Add new variable.
6066 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
6067 java_vm rather than old gdk_env variable.
6069 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6071 * javax/swing/DefaultListModel.java
6072 (add): fire correct event,
6073 (addElement): corrected interval indices in event,
6074 (clear): corrected upper bound for interval, only fire event if
6076 (setSize): fire appropriate event.
6078 2005-02-15 Graydon Hoare <graydon@redhat.com>
6080 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
6081 * gnu/awt/xlib/XToolkit.java: Likewise.
6082 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
6083 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
6084 * gnu/java/awt/ClasspathToolkit.java: Likewise.
6085 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
6086 * java/awt/EventQueue.java (getNextEvent):
6087 Adjust event loop to switch to native mode after 100ms.
6088 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
6089 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
6090 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
6091 Wake up event thread.
6092 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6093 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
6094 Adjust event loop to switch to java mode after 100ms.
6096 2005-02-15 Graydon Hoare <graydon@redhat.com>
6098 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
6099 accidentally removed in last change.
6101 2005-02-15 Michael Koch <konqueror@gmx.de>
6103 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6104 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
6106 2005-02-15 Graydon Hoare <graydon@redhat.com>
6108 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
6109 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
6110 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
6111 * jni.cc: Reuse bottom frame between calls, avoid clearing
6112 frame when no local references are made.
6114 2005-02-15 Michael Koch <konqueror@gmx.de>
6116 * javax/swing/UIDefaults.java (UIDefaults):
6117 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
6118 Fixed HTML entity and removed a redundant comma.
6120 2005-02-15 Michael Koch <konqueror@gmx.de>
6122 * javax/swing/text/DefaultEditorKit.java
6123 (deinstall): Removed.
6124 (install): Likewise.
6126 2005-02-15 Michael Koch <konqueror@gmx.de>
6128 * javax/swing/UIDefaults.java (put): Handle value of null.
6130 2005-02-15 Michael Koch <konqueror@gmx.de>
6132 * java/awt/Robot.java,
6133 java/awt/Scrollbar.java,
6134 java/awt/print/PrinterJob.java,
6135 javax/swing/JTable.java,
6136 javax/swing/text/AbstractDocument.java:
6137 Reworked import statements.
6139 2005-02-15 Michael Koch <konqueror@gmx.de>
6141 * javax/swing/JEditorPane.java
6142 (read): Implemented.
6144 * javax/swing/text/DefaultEditorKit.java
6145 (page): Renamed from page_url. Made private.
6146 (editorKit): Renamed from kit. Made private.
6148 (JEditorPane): All constructors reimplemented.
6149 (getContentType): Use content type from editor kit.
6150 (getEditorKit): Return editorKit.
6151 (getEditorKitForContentType):Likewise.
6152 (getPage): Return page.
6153 (setContentType): Reimplemented.
6154 (setEditorKit): Likewise.
6155 (setEditorKitForContentType): Removed wrong implementation.
6156 (setPage): Implemented.
6158 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6160 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
6161 (nativeSetIconImageFromData): Re-add native implementation.
6163 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6165 * javax/swing/table/DefaultTableModel.java
6166 (DefaultTableModel()): Added Javadocs.
6167 (DefaultTableModel(int, int)): Fixed implementation.
6168 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
6169 for negative rowCount.
6170 (DefaultTableModel(Object[], int)): Added Javadocs.
6171 (DefaultTableModel(Vector, Vector)): Likewise.
6172 (DefaultTableModel(Object[][], Object[])): Likewise.
6173 (getDataVector): Likewise.
6174 (setDataVector(Vector, Vector)): Likewise.
6175 (setDataVector(Object[][], Object[])): Likewise.
6176 (newDataAvailable): Likewise.
6177 (newRowsAdded): Likewise.
6178 (rowsRemoved): Likewise.
6179 (setColumnIdentifiers(Vector)): Allow for null argument.
6180 (setColumnIdentifiers(Object[])): Added Javadocs.
6181 (setNumRows): Likewise.
6182 (setRowCount): Adds new rows if necessary, and sends more specific
6184 (setColumnCount): Allow for null columnIdentifiers.
6185 (addColumn(Object)): Added Javadocs.
6186 (addColumn(Object, Vector)): Handle null columnData.
6187 (addColumn(Object, Object[])): Handle columnData with more or less
6188 entries than rows in the table.
6189 (addRow(Vector)): Fire appropriate event.
6190 (addRow(Object[])): Added Javadocs.
6191 (insertRow(int, Vector)): Fire appropriate event.
6192 (insertRow(int, Object[])): Added Javadocs.
6193 (moveRow): Reimplemented.
6194 (removeRow(int)): Fire appropriate event.
6195 (getColumnCount): Allow for null columnIdentifiers.
6196 (getColumnName): Now returns empty string when column index is too
6198 (isCellEditable): Added Javadocs.
6199 (getValueAt): Likewise.
6200 (setValueAt): Fire more specific event.
6201 (convertToVector): Added Javadocs.
6202 * javax/swing/table/TableModel.java
6205 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6207 * libgcj.spec.in (lib): Add -l-javax-imageio.
6209 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6211 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
6212 references to event queue q with method call q().
6213 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
6214 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
6215 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
6216 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
6217 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
6218 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
6221 2005-02-15 Graydon Hoare <graydon@redhat.com>
6223 * gnu/java/awt/ClasspathToolkit.java
6224 (registerImageIOSpis): New method.
6225 * gnu/java/awt/image/ImageDecoder.java
6226 (imageDecoder): New constructor using InputStream
6227 (startProduction): Handle existing InputStream.
6228 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6229 (findSimpleIntegerArray): Make public and static.
6230 (updateBufferedImage): Set each pixel, in a loop.
6231 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6232 Implement ImageIO SPI classes.
6233 (createBufferedImage): Rewrite in terms of SPI classes.
6234 * gnu/java/awt/peer/gtk/GtkToolkit.java
6235 (registerImageIOSpis): New method.
6236 * java/lang/reflect/natMethod.cc
6237 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
6238 which lets JNI call interface methods properly.
6239 * javax/imageio/ImageIO.java
6240 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6241 (WriterMIMETypeFilter.filter): Likewise.
6242 (ImageReaderIterator): Pass extension argument through to SPI.
6243 (getReadersByFilter): Likewise.
6244 (getWritersByFilter): Likewise.
6245 (getImageReadersByFormatName): Likewise.
6246 (getImageReadersByMIMEType): Likewise.
6247 (getImageReadersBySuffix): Likewise.
6248 (getImageWritersByFormatName): Likewise.
6249 (getImageWritersByMIMEType): Likewise.
6250 (getImageWritersBySuffix): Likewise.
6253 * javax/imageio/ImageReader.java
6254 (progressListeners): Initialize.
6255 (setInput): Implement.
6256 * javax/imageio/ImageWriter.java
6257 (progressListeners): Initialize.
6258 (warningListeners): Likewise.
6259 (warningLocales): Likewise.
6260 (setOutput): Test "isInstance" rather than class equality.
6261 * javax/imageio/spi/IIORegistry.java
6262 (static): Add reader and writer SPIs.
6263 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6264 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6265 (query_formats): New function.
6266 (save_to_stream): Likewise.
6267 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
6269 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6271 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
6273 (keyPress): Likewise.
6274 (keyRelease): Likewise.
6276 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6278 * javax/swing/JTable.java
6279 (columnAtPoint): New Method. Implemented.
6280 (rowAtPoint): Likewise.
6281 (countSelections): Fixed few small count errors.
6282 (getSelections): Likewise.
6283 (setSelectionMode): Set selection mode for column
6284 selection model in addition to row selection model.
6285 * javax/swing/plaf/basic/BasicTableUI.java:
6286 (getRowForPoint): Removed. Replaced by
6287 JTable.rowAtPoint().
6288 (getColForPoint): Removed. Replaced by
6289 JTable.columnAtPoint().
6290 (updateSelection): Updated to call JTable.columnAtPoint
6291 and JTable.rowAtPoint.
6292 * javax/swing/table/DefaultTableColumnModel.java:
6293 (getSelectedColumns): Implemented.
6294 (getSelectedColumnCount): Implemented.
6296 2005-02-15 Graydon Hoare <graydon@redhat.com>
6299 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
6300 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
6301 * Makefile.in: Regenerate.
6302 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
6303 * gnu/awt/xlib/XFramePeer.java: Likewise.
6304 * gnu/awt/xlib/XToolkit.java: Likewise.
6305 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
6306 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
6307 * gnu/java/awt/ClasspathToolkit.java
6310 (iterateNativeQueue): New methods.
6311 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
6312 * gnu/java/awt/peer/gtk/GtkToolkit.java
6313 (gtkInit): Absorb from defunct GtkMainThread class.
6314 (static): Run gtkInit in static startup block.
6315 (GtkToolkit): Remove construction of GtkMainThread and queue.
6316 (getSystemEventQueueImpl): Construct queue when requested.
6319 (iterateNativeQueue): New methods.
6320 * java/awt/Component.java (removeNotify): Remove race.
6321 * java/awt/EventDispatchThread.java
6322 (EventDispatchThread): Don't start on construction.
6323 (run): Remove isInterrupted check.
6324 * java/awt/EventQueue.java (shutdown): New flag.
6325 (isShutdown): New method checking J2SE shutdown condition.
6326 (setShutdown): New method.
6327 (getNextEvent): Restructure to use ClasspathToolkit.
6328 (postEvent): Activate new thread on posting, wake thread on
6329 post of possible shutdown condition event.
6330 * java/awt/Frame.java
6331 (Frame): Call noteFrame in all constructors.
6332 (fireDummyEvent): New helper method.
6333 (addNotify): Fire a dummy event to wake up queue.
6334 (removeNotify): Fire a dummy event to wake up queue.
6335 (noteFrame): New method.
6336 (weakFrames): New static field.
6337 (getFrames): Implement.
6338 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
6340 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
6341 Move everything from GtkMainThread into this file
6342 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
6343 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
6344 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
6345 New functions to implement single-threaded queue semantics.
6347 2005-02-15 Michael Koch <konqueror@gmx.de>
6349 * javax/swing/plaf/metal/MetalLookAndFeel.java
6350 (getControlTextFont): New method.
6351 (getMenuTextFont): Likewise.
6352 (getSubTextFont): Likewise.
6353 (getSystemTextFont): Likewise.
6354 (getUserTextFont): Likewise.
6355 (getWindowTitleFont): Likewise.
6357 2005-02-15 Michael Koch <konqueror@gmx.de>
6359 * javax/swing/text/AbstractDocument.java
6360 (documentFilter): New field.
6361 (getDocumentFilter): New method.
6362 (setDocumentFilter): Likewise.
6365 2005-02-15 Michael Koch <konqueror@gmx.de>
6367 * javax/swing/JTree.java
6368 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
6370 2005-02-15 Michael Koch <konqueror@gmx.de>
6372 * javax/swing/text/AbstractDocument.java
6373 (AbstractElement.getLength): Fixed off-by-one error.
6374 (AbstractElement.children): Made abstract.
6375 (AbstractElement.getAllowsChildren): Likewise.
6376 (AbstractElement.getElement): Likewise.
6377 (AbstractElement.dumpElement): New private method.
6378 (AbstractElement.dump): New method.
6379 (BranchElememt.getName): Fixed implementation.
6380 (BranchElememt.toString): Likewise.
6381 (BranchElememt.getElement): Fixed arguments.
6382 (LeafElement.getName): Fixed implementation.
6383 (LeafElement.toString): Likewise.
6384 * javax/swing/text/GapContent.java
6385 (GapContent): Put default content into buffer.
6386 * javax/swing/text/PlainDocument.java
6387 (reindex): Use empty attribute sets instead of null.
6388 (createDefaultRoot): Reimplemented.
6389 (insertUpdate): Call super method.
6390 (removeUpdate): Likewise.
6391 (getParagraphElement): Implemented.
6393 2005-02-15 Michael Koch <konqueror@gmx.de>
6395 * gnu/java/awt/ClasspathToolkit.java
6396 (createRobot): Throws java.awt.AWTException.
6397 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
6398 Added '__attribute__((unused))' to all unused method arguments.
6400 2005-02-15 Michael Koch <konqueror@gmx.de>
6402 * javax/swing/DefaultBoundedRangeModel.java
6403 (fireValueChanged): Fixed off-by-one error.
6405 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6407 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
6408 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
6410 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
6411 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
6412 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
6413 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
6414 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6415 (getDefaultScreenDevice): Implement.
6416 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
6417 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
6418 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
6419 * java/awt/Robot.java: Implement.
6420 * java/awt/peer/RobotPeer.java: Rename parameters.
6421 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6422 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6423 (awt_keycode_to_keysym): Make non-static.
6424 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6425 AWT_BUTTON3_MASK): Declare constants.
6426 (awt_keycode_to_keysym): Declare.
6428 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6429 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6430 and is non-empty pass its value to "make check".
6431 (test_mauve_sim): Likewise.
6433 2005-02-15 Michael Koch <konqueror@gmx.de>
6435 * javax/imageio/IIOParam.java
6436 (setSourceBands): New method.
6437 (setSourceSubsampling): Likewise.
6438 * javax/imageio/ImageReadParam.java
6439 (setDestination): Likewise.
6440 (setDestinationBands): Likewise.
6441 (setSourceProgressivePasses): Likewise.
6442 * javax/imageio/metadata/IIOInvalidTreeException.java
6443 (serialVersionUID): New static field.
6444 * javax/imageio/metadata/IIOMetadataNode.java
6445 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6446 (parent): Dont initailize with default value explicitely.
6448 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6449 (removeAttributeNode): Likewise.
6450 (removeAttributeNS): Likewise.
6451 (setAttribute): Likewise.
6452 (setAttributeNode): Likewise.
6453 (setAttributeNodeNS): Likewise.
6454 (setAttributeNS): Likewise.
6455 (appendChild): Likewise.
6456 (getNodeValue): Likewise.
6457 (insertBefore): Likewise.
6458 (removeChild): Likewise.
6459 (replaceChild): Likewise.
6460 (setPrefix): Likewise.
6462 2005-02-15 Michael Koch <konqueror@gmx.de>
6464 * javax/swing/LookAndFeel.java
6465 (getDesktopPropertyValue): New method.
6467 2005-02-15 Michael Koch <konqueror@gmx.de>
6469 * javax/swing/JTree.java
6470 (hasChildren): New instance field.
6472 2005-02-15 Michael Koch <konqueror@gmx.de>
6474 * javax/swing/JComponent.java
6475 (getToolTipText): New method.
6476 (getTitledBorderText): Likewise.
6477 (getAccessibleKeyBinding): Likewise.
6478 (getVerifyInputWhenFocusTarget): Likewise.
6479 (setVerifyInputWhenFocusTarget): Likewise.
6480 (verifyInputWhenFocusTarget): New instance field.
6482 2005-02-15 Michael Koch <konqueror@gmx.de>
6484 * javax/swing/DefaultListSelectionModel.java
6485 (fireValueChanged): New method.
6487 2005-02-15 Michael Koch <konqueror@gmx.de>
6489 * javax/swing/DefaultBoundedRangeModel.java:
6490 Fixed javadocs all over.
6491 (fireStateChanged): Simplified.
6492 * javax/swing/BoundedRangeModel.java:
6495 2005-02-15 Michael Koch <konqueror@gmx.de>
6497 * javax/swing/JRootPane.java
6498 (setMenuBar): Added @deprecated tag.
6499 (getMenuBar): Likewise.
6500 * javax/swing/JTable.java
6501 (sizeColumnsToFit): Likewise.
6503 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6505 * javax/swing/ImageIcon.java (setImage): Implemented.
6507 2005-02-15 Michael Koch <konqueror@gmx.de>
6509 * javax/swing/JTable.java:
6510 Removed unused imports.
6512 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6514 (prepareRenderer): Get column's index in dataModel instead
6515 of column's view index.
6516 (getColumnCount): return count of the columns in ColumnModel,
6518 (removeColumn): Implemented.
6519 (moveColumm): Likewise.
6520 (setRowHeight): throw IllegalArgumentException if height is
6522 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6523 (DefaultTableColumnModel):Add call to createSelectionModel().
6524 (addColumn): Fire columnAdded event to registered listeners.
6525 (removeColumn): Fire columnRemoved event to registered listeners.
6526 (moveColumn): Fire columnMoved event to registered listeners.
6527 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6528 (getColumnIndex): Changed parameter name.
6529 (setColumnSelectionAllowed): Likewise.
6530 (fireColumnAdded): Implemented.
6531 (fireColumnRemoved): Likewise.
6532 (fireColumnMoved): Likewise.
6533 (fireColumnMarginChanged): Likewise.
6534 (getListeners): Changed parameter name.
6535 (propertyChange): Implemented.
6536 (valueChanged): Changed parameter name.
6537 (createSelectionModel): Implemented.
6539 2005-02-15 Michael Koch <konqueror@gmx.de>
6541 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6542 Explicitely import used classes.
6543 (getLocalGraphicsEnvironment): Simplify.
6544 * java/awt/Window.java (Window):
6545 Enable code to get the default GraphicsConfiguration.
6547 2005-02-15 Michael Koch <konqueror@gmx.de>
6549 * javax/swing/plaf/metal/DefaultMetalTheme.java
6550 (CONTROL_TEXT_FONT): New static field.
6551 (MENU_TEXT_FONT): Likewise.
6552 (SUB_TEXT_FONT): Likewise.
6553 (SYSTEM_TEXT_FONT): Likewise.
6554 (USER_TEXT_FONT): Likewise.
6555 (WINDOW_TITLE_FONT): Likewise.
6556 (getControlTextFont): New method.
6557 (getMenuTextFont): Likewise.
6558 (getSubTextFont): Likewise.
6559 (getSystemTextFont): Likewise.
6560 (getUserTextFont): Likewise.
6561 (getWindowTitleFont): Likewise.
6562 * javax/swing/plaf/metal/MetalTheme.java
6563 (BLACK): Initialize with Color.BLACK.
6564 (WHITE): Initialize with Color.WHITE.
6565 (getInactiveControlTextColor): Return getControlDisabled().
6566 (getMenuDisabledForeground): Return getSecondary3().
6567 (getControlTextFont): New abstract method.
6568 (getMenuTextFont): Likewise.
6569 (getSubTextFont): Likewise.
6570 (getSystemTextFont): Likewise.
6571 (getUserTextFont): Likewise.
6572 (getWindowTitleFont): Likewise.
6574 2005-02-15 Michael Koch <konqueror@gmx.de>
6576 * javax/swing/JFormattedTextField.java
6577 (getFocusLostBehavior): Fixed typo in method name.
6578 (setFocusLostBehavior): Likewise.
6580 2005-02-15 Michael Koch <konqueror@gmx.de>
6582 * javax/swing/TransferHandler.java:
6583 Reworked import statements.
6585 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6587 * java/awt/Button.java,
6588 java/awt/Canvas.java,
6589 java/awt/Checkbox.java,
6590 java/awt/CheckboxMenuItem.java,
6591 java/awt/Choice.java,
6592 java/awt/Dialog.java,
6593 java/awt/Frame.java,
6594 java/awt/Label.java,
6597 java/awt/MenuBar.java,
6598 java/awt/MenuItem.java,
6599 java/awt/PopupMenu.java,
6600 java/awt/ScrollPane.java,
6601 java/awt/Scrollbar.java,
6602 java/awt/TextArea.java,
6603 java/awt/Window.java (getAccessibleContext): Clean up comments.
6605 * java/awt/Button.java,
6606 java/awt/Checkbox.java,
6607 java/awt/Choice.java,
6609 java/awt/PopupMenu.java,
6610 java/awt/TextArea.java (getAccessibleContext): Only create new
6612 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6614 2005-02-15 Michael Koch <konqueror@gmx.de>
6616 * java/awt/Button.java,
6617 javax/swing/JApplet.java,
6618 javax/swing/JFormattedTextField.java,
6619 javax/swing/JWindow.java,
6620 javax/swing/JTree.java,
6621 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6622 javax/swing/plaf/basic/BasicTextPaneUI.java,
6623 javax/swing/plaf/basic/BasicTreeUI.java:
6624 Reworked import statements.
6626 2005-02-15 Michael Koch <konqueror@gmx.de>
6628 * Makefile.am: Put javax.imageio into its own library and link it
6629 against lib-org-w3c-dom.la to fix bootstrapping.
6630 * Makefile.in: Regenerated.
6632 2005-02-15 Michael Koch <konqueror@gmx.de>
6634 * javax/swing/text/TextAction.java
6635 (getTextComponent): Simplified. Added Javadoc.
6636 (augmentList): Implemented. Added Javadoc.
6637 (getFocusedComponent): Added javadoc.
6639 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6641 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6642 getAccessibleContext): Implement.
6643 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6644 getAccessibleContext): Implement.
6646 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6648 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6650 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6652 * java/awt/Window.java (getAccessibleContext): Fix comment.
6653 Remove extra import.
6655 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6657 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6658 (isActive, isFocused, getAccessibleContext): Implement.
6660 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6662 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6663 * java/awt/MenuComponent.java (accessibleContext): Make package
6665 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6666 AccessibleAWTCheckboxMenuItem): Implement.
6668 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6670 * java/awt/List.java: Implement AccessibleAWTList,
6671 AccessibleAWTListChild.
6673 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6675 * java/awt/Choice.java: Add implements declaration for
6678 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6680 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6683 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6685 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6686 implemented interface list.
6688 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6690 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6691 * javax/imageio/metadata/IIOAttr.java: New class.
6692 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6693 * javax/imageio/metadata/IIONodeList.java: New class.
6694 * Makefile.am: Added new files.
6695 * Makefile.in: Regenerated.
6697 2005-02-15 Michael Koch <konqueror@gmx.de>
6699 * javax/swing/AbstractAction.java,
6700 javax/swing/AbstractCellEditor.java,
6701 javax/swing/AbstractListModel.java,
6702 javax/swing/DefaultBoundedRangeModel.java,
6703 javax/swing/DefaultButtonModel.java,
6704 javax/swing/DefaultCellEditor.java,
6705 javax/swing/DefaultComboBoxModel.java,
6706 javax/swing/DefaultDesktopManager.java,
6707 javax/swing/JMenu.java,
6708 javax/swing/JSlider.java,
6709 javax/swing/KeyStroke.java,
6710 javax/swing/OverlayLayout.java,
6711 javax/swing/ScrollPaneLayout.java,
6712 javax/swing/SizeRequirements.java,
6713 javax/swing/ViewportLayout.java:
6714 Made serialVersionUID private.
6716 2005-02-15 Michael Koch <konqueror@gmx.de>
6718 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6721 2005-02-15 Michael Koch <konqueror@gmx.de>
6723 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6725 2005-02-15 Michael Koch <konqueror@gmx.de>
6727 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6729 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6731 * java/awt/EventDispatchThread.java,
6732 java/awt/Toolkit.java:
6733 Don't catch java.lang.ThreadDeath.
6735 2005-02-15 Michael Koch <konqueror@gmx.de>
6737 * javax/swing/text/PasswordView.java
6738 (drawEchoCharacter): Added javadoc.
6739 (drawSelectedText): Likewise.
6740 (drawUnselectedText): Likewise.
6742 2005-02-15 Michael Koch <konqueror@gmx.de>
6744 * javax/swing/JRootPane.java
6745 (windowDecorationStyle): New field.
6746 (setMenuBar): New method.
6747 (getMenuBar): Likewise.
6748 (getWindowDecorationStyle): Likewise.
6749 (setWindowDecorationStyle): Likewise.
6751 2005-02-15 Michael Koch <konqueror@gmx.de>
6753 * javax/swing/DefaultListSelectionModel.java
6754 (leadAnchorNotificationEnabled): Made protected.
6756 2005-02-15 Michael Koch <konqueror@gmx.de>
6758 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6759 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6760 * Makefile.in: Regenerated.
6763 2005-02-15 Michael Koch <konqueror@gmx.de>
6765 * javax/swing/JFormattedTextField.java: Implemented.
6766 * javax/swing/JWindow.java
6767 (JWindow): New constructors.
6768 (initWindow): Renamed from initFrame.
6769 * javax/swing/UIDefaults.java
6770 (ActiveValue): Made interface static.
6771 (LazyValue): Likewise.
6772 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6773 (TitlePaneLayout.TitlePaneLayout): New constructor.
6774 * javax/swing/plaf/basic/BasicSliderUI.java
6775 (ChangeHandler): Made public.
6776 (FocusHandler): Likewise.
6777 (PropertyChangeHandler): Likewise.
6778 (ScrollListener): Likewise.
6779 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6780 (FocusHandler): Likewise.
6781 (MouseHandler): Likewise.
6782 * javax/swing/plaf/basic/BasicTextPaneUI.java
6783 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6784 * javax/swing/plaf/basic/BasicToolBarUI.java
6785 (BasicToolBarUI): Simplified. Reworked javadoc.
6786 (canDock): Simplified. Make public.
6787 (DockingListener): Made public.
6788 * javax/swing/text/JTextComponent.java
6789 (navigationFilter): New field.
6790 (getNavigationFilter): New method.
6791 (setNavigationFilter): Likewise.
6793 2005-02-15 Michael Koch <konqueror@gmx.de>
6795 * javax/swing/plaf/metal/MetalTheme.java
6796 (getControlTextColor): Return getControlInfo().
6797 (getHighlightedTextColor): Return getControlTextColor().
6799 2005-02-15 Michael Koch <konqueror@gmx.de>
6801 * javax/swing/plaf/basic/BasicButtonListener.java
6802 (BasicButtonListener): New constructor.
6803 * javax/swing/plaf/basic/BasicButtonUI.java
6804 (createButtonListener): Usw new BasicButtonListener constructor.
6806 2005-02-15 Michael Koch <konqueror@gmx.de>
6808 * javax/imageio/event/package.html,
6809 javax/imageio/metadata/package.html: New files.
6811 2005-02-15 Michael Koch <konqueror@gmx.de>
6813 * java/awt/image/MemoryImageSource.java: Reformatted.
6815 2005-02-15 Michael Koch <konqueror@gmx.de>
6817 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6819 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6821 * java/awt/color/ICC_Profile.java
6822 (finalize): Removed pointless field assignments.
6824 2005-02-15 Michael Koch <konqueror@gmx.de>
6826 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6827 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6828 * Makefile.in: Regenerated.
6830 2005-02-15 Michael Koch <konqueror@gmx.de>
6832 * javax/swing/text/DefaultStyledDocument.java: New file.
6833 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6834 * Makefile.in: Regenerated.
6836 2005-02-15 Michael Koch <konqueror@gmx.de>
6838 * javax/swing/JFileChooser.java
6839 (showDialog): Return CANCEL_OPTION for now.
6840 (showOpenDialog): Likewise.
6841 (showSaveDialog): Likewise.
6843 2005-02-15 Michael Koch <konqueror@gmx.de>
6845 * javax/swing/JApplet.java
6846 (HIDE_ON_CLOSE): Removed.
6847 (EXIT_ON_CLOSE): Likewise.
6848 (DISPOSE_ON_CLOSE): Likewise.
6849 (DO_NOTHING_ON_CLOSE): Likewise.
6850 (close_action): Likewise.
6851 (getDefaultCloseOperation): Likewise.
6852 (setDefaultCloseOperation): Likewise.
6853 (processWindowEvent): Likewise.
6854 (getPreferredSize): Simplified.
6855 * javax/swing/JInternalFrame.java
6856 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6858 * javax/swing/JWindow.java
6859 (HIDE_ON_CLOSE): Removed.
6860 (EXIT_ON_CLOSE): Likewise.
6861 (DISPOSE_ON_CLOSE): Likewise.
6862 (DO_NOTHING_ON_CLOSE): Likewise.
6863 (close_action): Likewise.
6864 (processKeyEvent): Likewise.
6865 (setDefaultCloseOperation): Likewise.
6866 (getPreferredSize): Simplified.
6868 2005-02-15 Michael Koch <konqueror@gmx.de>
6870 * javax/swing/JTextField.java
6871 (getPreferredSize): Re-implemented.
6873 2005-02-15 Michael Koch <konqueror@gmx.de>
6875 * javax/swing/JLabel.java
6876 (setDisplayedMnemonic): Use only upper case characters.
6877 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6878 PropertyChangeEvent after property got set to the new index.
6880 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6882 * javax/swing/JComboBox.java:
6883 (JComboBox): Removed selection of the
6884 first item in the model.
6886 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6888 * javax/swing/JComboBox.java
6889 added support for no item being selected
6890 (JComboBox): select first or nothing depending on element count
6891 (setModel): cleaned up unneeded "this." usage, added more
6892 docs, made exception behavior match that of the JDK
6893 (setLighWeightPopupEnabled): removed unneeded "this." usage
6895 (setMaximumRowCount): dito
6897 (setPrototypeDisplayValue): dito
6898 (getSelectedItem): simplified, added more user doc
6899 (setSelectedIndex): corrected exception behavior, added more user doc
6900 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6901 added performance warning to user doc
6902 (addItem): fixed exception behavior, added user doc
6903 (insertItemAt): dito
6905 (removeItemAt): dito
6906 (removeAll): fixed exception behavior, added user doc, added support
6907 for model not being instance of DefaultComboBoxModel
6908 (getSelectedItemObjects): simplified
6909 (getItemCount): fixed dependency on DefaultComboBoxModel
6910 (getItemAt): fixed dependency on MutableComboBoxModel
6911 * javax/swing/DefaultComboBoxModel.java:
6912 (setSelectedItem): updates selected item only if new
6913 value is null or known (match JDK behavior)
6914 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6915 (paintCurrentValue): renders "" if no item is selected
6917 2005-02-15 Michael Koch <konqueror@gmx.de>
6919 * javax/swing/plaf/metal/MetalTheme.java,
6920 javax/swing/plaf/metal/DefaultMetalTheme.java:
6922 * javax/swing/plaf/metal/MetalLookAndFeel.java
6923 * Makefile.am: Added the new files.
6924 * Makefile.in: Regenerated.
6926 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6928 * javax/swing/JTable.java
6929 (editorComp): New field.
6930 (JTable): Initialize local variables and call updateUI
6931 (selectionBackground): Make protected.
6932 (selectionForeground): Likewise.
6933 (initializeLocalVars): Create default editors and renderers,
6934 initialize editingColumn, editingRow variables.
6935 (createDefaultEditors): New Method.
6936 (createDefaultRenderers): Likewise.
6937 (createDefaultListSelectionModel): Removed
6938 (createDefaultSelectionModel): New Method.
6939 (createDefaultTableHeader): Likewise
6940 (removeColumn): Likewise.
6941 (getEditingColumn): Likewise.
6942 (setEditingColumn): Likewise.
6943 (getEditingRow): Likewise.
6944 (setEditingRow): Likewise.
6945 (getEditorComponent): Likewise.
6946 (isEditing): Likewise.
6947 (setDefaultEditor): Likewise.
6948 (addColumnSelectionInterval): Likewise.
6949 (addRowSelectionInterval): Likewise.
6950 (setColumnSelectionInterval): Likewise.
6951 (setRowSelectionInterval): Likewise.
6952 (removeColumnSelectionInterval): Likewise.
6953 (removeRowSelectionInterval): Likewise.
6954 (isColumnSelected): Likewise.
6955 (isRowSelected): Likewise.
6956 (isCellSelected): Likewise.
6957 (selectAll): Likewise.
6959 2005-02-15 Michael Koch <konqueror@gmx.de>
6961 * javax/swing/JTable.java
6962 (addColumn): New method.
6963 (getColumnClass): Likewise.
6964 (getColumnName): Likewise.
6966 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6968 * javax/swing/TransferHandler.java
6969 (createTransferable): Made protected.
6971 2005-02-15 Michael Koch <konqueror@gmx.de>
6973 * javax/swing/JTable.java,
6974 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6975 javax/swing/plaf/basic/BasicTableUI.java:
6976 Use fixed get/setIntercellSpacing() methods.
6978 2005-02-15 Michael Koch <konqueror@gmx.de>
6980 * javax/swing/JTable.java
6981 (getIntercellSpacing): Fixed typo in method name.
6982 (setIntercellSpacing): Likewise.
6984 2005-02-15 Michael Koch <konqueror@gmx.de>
6986 * javax/swing/text/JTextComponent.java
6987 (focusAccelerator): New variable.
6988 (getFocusAccelerator): New method.
6989 (setFocusAccelerator): Likewise.
6991 2005-02-15 Michael Koch <konqueror@gmx.de>
6993 * javax/swing/JComponent.java
6994 (setTransferHandler): Made public. Fire property change event.
6995 * javax/swing/TransferHandler.java: Implemented.
6996 * javax/swing/text/JTextComponent.java
6997 (DefaultTransferHandler): New inner class.
6998 (defaultTransferHandler): New variable.
7002 (doTransferAction): Likewise.
7004 2005-02-15 Michael Koch <konqueror@gmx.de>
7006 * javax/swing/JTree.java
7007 (collapsePath): New method.
7008 (collapseRow): Likewise.
7009 (expandPath): Likewise.
7010 (expandRow): Likewise.
7011 (checkExpandParents): Likewise.
7012 (doExpandParents): Likewise.
7013 (setExpandedState): Likewise.
7014 (makeVisible): Likewise.
7016 2005-02-15 Michael Koch <konqueror@gmx.de>
7018 * javax/swing/JPasswordField.java: Updated javadocs.
7020 2005-02-15 Michael Koch <konqueror@gmx.de>
7022 * javax/swing/JLayeredPane.java
7023 (getLayer): Fixed return type, made public.
7024 (getPosition): Use new getLayer().
7025 (SetPosition): Likewise.
7026 (getIndexOf): Likewise.
7028 * javax/swing/JInternalFrame.java
7029 (getLayer): Use new JLayeredPane.getLayer().
7032 2005-02-15 Michael Koch <konqueror@gmx.de>
7034 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
7035 (setHeaderValue): Simplified. Do nothing when old value == new value.
7037 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
7039 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
7040 against null clip region.
7041 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
7042 gtkWindowSetResizable.
7043 (postConfigureEvent): Only revalidate if frame size has changed.
7044 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
7045 Only revalidate if frame size has changed.
7046 * java/awt/Component.java (reshape): Only repaint and post
7047 component events if component is showing.
7048 * java/awt/Container.java (addImpl): Only post container event if
7049 container is showing.
7051 * java/awt/Window.java (setLocationRelativeTo): Implement.
7052 (setBoundsCallback): Only post component events if component is
7054 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
7055 Protect against null graphics structure. Flush gdk event queue.
7057 2005-02-15 Michael Koch <konqueror@gmx.de>
7059 * javax/imageio/ImageReader.java,
7060 javax/imageio/ImageTranscoder.java,
7061 javax/imageio/ImageWriter.java,
7062 javax/imageio/spi/ImageInputStreamSpi.java,
7063 javax/imageio/spi/ImageOutputStreamSpi.java,
7064 javax/imageio/spi/ServiceRegistry.java,
7065 javax/imageio/stream/ImageInputStream.java,
7066 javax/imageio/stream/ImageOutputStream.java: Updated.
7067 * javax/imageio/IIOException.java,
7068 javax/imageio/IIOImage.java,
7069 javax/imageio/IIOParam.java,
7070 javax/imageio/IIOParamController.java,
7071 javax/imageio/ImageIO.java,
7072 javax/imageio/ImageReadParam.java,
7073 javax/imageio/ImageTypeSpecifier.java,
7074 javax/imageio/ImageWriteParam.java,
7075 javax/imageio/spi/IIORegistry.java,
7076 javax/imageio/spi/ImageReaderSpi.java,
7077 javax/imageio/spi/ImageWriterSpi.java,
7078 javax/imageio/stream/FileCacheImageInputStream.java,
7079 javax/imageio/stream/FileCacheImageOutputStream.java,
7080 javax/imageio/stream/FileImageInputStream.java,
7081 javax/imageio/stream/FileImageOutputStream.java,
7082 javax/imageio/stream/ImageInputStreamImpl.java,
7083 javax/imageio/stream/ImageOutputStreamImpl.java,
7084 javax/imageio/stream/MemoryCacheImageInputStream.java,
7085 javax/imageio/stream/MemoryCacheImageOutputStream.java,
7086 javax/imageio/event/IIOReadProgressListener.java,
7087 javax/imageio/event/IIOReadUpdateListener.java,
7088 javax/imageio/event/IIOReadWarningListener.java,
7089 javax/imageio/event/IIOWriteProgressListener.java,
7090 javax/imageio/event/IIOWriteWarningListener.java,
7091 javax/imageio/metadata/IIOMetadata.java,
7092 javax/imageio/metadata/IIOMetadataController.java,
7093 javax/imageio/metadata/IIOMetadataFormat.java,
7094 javax/imageio/metadata/IIOInvalidTreeException.java,
7095 javax/imageio/metadata/IIOMetadataFormatImpl.java,
7096 javax/imageio/metadata/IIOMetadataNode.java: New files.
7097 * Makefile.am (javax_source_files): Added new files
7098 * Makefile.in: Regenerated.
7100 2005-02-15 Graydon Hoare <graydon@redhat.com>
7102 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
7103 Rework painting into BufferedImages
7104 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
7105 Construct BufferedImage with alpha only when alpha is
7106 present in colormodel.
7107 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7108 Rework painting into client-side jint arrays.
7109 * jni/gtk-peer/gtkcairopeer.h:
7112 2005-02-15 Michael Koch <konqueror@gmx.de>
7114 * javax/swing/DefaultListCellRenderer.java
7115 (serialVersionUID): Made private.
7116 (getListCellRendererComponent): Set horizontal alignment.
7117 * javax/swing/JLabel.java
7118 (setVerticalAlignment): Re-implemented.
7119 (setHorizontalAlignment): Do nothing if old value = new value.
7120 * javax/swing/JList.java
7121 (setCellRenderer): Likewise.
7122 (setModel): Re-implemented.
7123 (setSelectionModel): Likewise.
7125 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
7127 * java/awt/Component.java,
7128 java/awt/geom/Rectangle2D.java:
7131 2005-02-15 Michael Koch <konqueror@gmx.de>
7133 * javax/swing/AbstractListModel.java
7134 (fireContentsChanged): Simplified.
7135 (fireIntervalAdded): Likewise.
7136 (fireIntervalRemoved): Likewise.
7137 * javax/swing/DefaultSingleSelectionModel.java:
7139 (fireStateChanged): Simplified.
7140 * javax/swing/JPopupMenu.java
7141 (setSelectionModel): Set property.
7143 2005-02-15 Michael Koch <konqueror@gmx.de>
7145 * java/awt/print/Book.java: Reformatted.
7147 2005-02-15 Michael Koch <konqueror@gmx.de>
7149 * java/awt/geom/Area.java
7150 (QuadSegment.curveArea): Remove unused variables.
7151 (CubicSegment.curveArea): Likewise.
7153 2005-02-15 Michael Koch <konqueror@gmx.de>
7155 * javax/swing/JTree.java
7156 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
7157 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
7158 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
7159 (EXPANDED): New constant.
7160 (COLLAPSED): Likewise.
7161 (nodeStates): New field.
7162 (cellEditor): New method.
7163 (cellRenderer): Likewise.
7164 (selectionModel): Likewise.
7165 (treeModel): Likewise.
7166 (scrollPathToVisible): Likewise.
7167 (scrollRowToVisible): Likewise.
7168 (isCollapsed): Likewise.
7169 (isExpanded): Likewise.
7170 (clearToggledPaths): Likewise.
7171 (getDescendantToggledPaths): Likewise.
7172 (hasBeenExpanded): Likewise.
7173 (isVisible): Likewise.
7174 (isPathEditable): Likewise.
7176 2005-02-15 Michael Koch <konqueror@gmx.de>
7178 * javax/swing/JLayeredPane.java: Reformatted.
7180 2005-02-15 Michael Koch <konqueror@gmx.de>
7182 * javax/swing/tree/DefaultMutableTreeNode.java:
7184 * javax/swing/tree/MutableTreeNode.java:
7187 2005-02-15 Michael Koch <konqueror@gmx.de>
7189 * javax/swing/JFormattedTextField.java
7190 (setDocument): Call setDocument of super class. Don't fire property
7193 2005-02-15 Sven de Marothy <sven@physto.se>
7195 * java/awt/image/IndexColorModel.java:
7196 Add FIXME with respect to alpha handling.
7197 (getAlpha): Default to returning opaque pixels.
7198 * java/awt/image/MultiPixelPackedSampleModel.java
7199 (MultiPixelPackedSampleModel): Corrected parameters, order of
7200 bit shifts and masks, stride length off by one.
7202 2005-02-15 Michael Koch <konqueror@gmx.de>
7204 * javax/swing/JList.java, javax/swing/JTree.java:
7205 Added much new methods and fixed much methods setting bound properties.
7207 2005-02-16 Mark Wielaard <mark@klomp.org>
7209 * Makefile.am (gnu_xml_source_files): Removed
7210 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
7211 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
7212 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
7213 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
7214 gnu/xml/dom/DomDocumentFragment.java,
7215 gnu/xml/dom/DomProcessingInstruction.java and
7216 gnu/xml/dom/ls/DomLSException.java.
7217 * Makefile.in: Regenerated.
7219 2005-02-16 Tom Tromey <tromey@redhat.com>
7221 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
7222 attribute index is out of bounds.
7224 2005-02-16 Chris Burdess <dog@gnu.org>
7226 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
7227 isDeclared methods. Improved performance of isSpecified methods.
7229 2005-02-16 Chris Burdess <dog@gnu.org>
7231 Fixes bug libgcj/19864
7232 * gnu/xml/dom/DomAttr.java,
7233 gnu/xml/dom/DomCDATA.java,
7234 gnu/xml/dom/DomCDATASection.java,
7235 gnu/xml/dom/DomCharacterData.java,
7236 gnu/xml/dom/DomDOMException.java,
7237 gnu/xml/dom/DomDoctype.java,
7238 gnu/xml/dom/DomDocument.java,
7239 gnu/xml/dom/DomDocumentConfiguration.java,
7240 gnu/xml/dom/DomDocumentFragment.java,
7241 gnu/xml/dom/DomElement.java,
7242 gnu/xml/dom/DomEx.java,
7243 gnu/xml/dom/DomFragment.java,
7244 gnu/xml/dom/DomImpl.java,
7245 gnu/xml/dom/DomIterator.java,
7246 gnu/xml/dom/DomNamedNodeMap.java,
7247 gnu/xml/dom/DomNode.java,
7248 gnu/xml/dom/DomNsNode.java,
7249 gnu/xml/dom/DomPI.java,
7250 gnu/xml/dom/DomProcessingInstruction.java,
7251 gnu/xml/dom/DomText.java,
7252 gnu/xml/dom/DomLSEx.java,
7253 gnu/xml/dom/DomLSException.java,
7254 gnu/xml/dom/DomLSParser.java,
7255 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
7256 implementation class names to conform to Classpath guidelines. Make
7257 DomLSException use JDK 1.4+ exception chaining.
7258 * gnu/xml/util/SAXNullTransformerFactory.java,
7259 gnu/xml/xpath/Predicate.java: Use constants relative to
7260 declaring class or interface.
7262 2005-02-16 Andrew Haley <aph@redhat.com>
7264 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
7265 null, create a new AccessControlContext.
7266 * java/security/SecureClassLoader.java (protectionDomainCache):
7268 (defineClass): Create a new protection domain and add it to our
7271 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
7272 addStub() to keep track of the stub we've exported.
7273 (unexportObject): Call deleteStub().
7274 * java/rmi/server/RemoteObject.java (stubs): New field.
7275 (addStub): New method.
7276 (deleteStub): New method.
7279 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
7280 true to findHelper (tryParents).
7281 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
7283 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
7284 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
7286 If tryParents is false, don't scan parent class loaders.
7288 * java/security/Permissions.java (PermissionsHash.implies):
7289 Iterate over the collection and invoke implies() on each
7292 2005-02-16 Andrew Haley <aph@redhat.com>
7294 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
7296 (PersistentByteMap): Set name
7297 Magic number changed to 0x67636a64 ("gcjd").
7298 (init): Force the map to be prime.
7299 (emptyPersistentByteMap): File name was a string, now a File.
7300 (addBytes): Share srings between entries.
7301 (stringTableSize): New method.
7302 (capacity): Scale by load factor.
7303 (force): New method.
7304 (getFile): New method.
7305 (close): New method.
7306 (putAll): New method.
7307 (ByteWrapper): New class.
7308 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
7309 (main): Guess the average string size as 32, not 64.
7310 Copy a database before modifying it, so that we can update a
7311 database in a running system.
7312 If a database isn't big enough, resize it.
7313 "-m": new option: merges databases.
7314 "-a": Create a new detabase if it doesn't exist.
7315 (usage): Correct, add new option.
7316 (addJar): Copy a database before modifying it.
7317 (resizeMap): New method.
7319 2005-02-15 David Daney <ddaney@avtrex.com>
7320 Bryce McKinlay <mckinlay@redhat.com>
7322 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
7323 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
7324 ensure that GC threads inherit the new signal mask.
7325 (block_sigchld): Call JvFail rather than throwing exception if
7326 pthread_sigmask() fails.
7328 2005-02-15 Mark Wielaard <mark@klomp.org>
7330 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
7331 file path elements are separated by spaces.
7333 2005-02-15 Mark Wielaard <mark@klomp.org>
7335 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
7336 to describe attributes without a constant field value in this class.
7338 2005-02-15 Michael Koch <konqueror@gmx.de>
7340 * java/util/jar/Attributes.java
7341 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
7343 2005-02-15 Mark Wielaard <mark@klomp.org>
7345 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
7346 space for parsing CLASS_PATH attribute.
7348 2005-02-15 Mark Wielaard <mark@klomp.org>
7350 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
7351 aside for "GCJLIBS" in directory where jarfiles are loaded.
7352 (JarURLLoader.getClass): Removed method.
7353 (JarURLLoader.toString): Removed method.
7354 (FileResource.toString): Removed method.
7356 2005-02-15 Mark Wielaard <mark@klomp.org>
7358 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
7359 and/or cause before throwing.
7361 2005-02-15 Richard Henderson <rth@redhat.com>
7363 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
7364 (libgcj0_convenience_la_SOURCES): ... here.
7365 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
7366 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
7367 * Makefile.in: Regenerate.
7369 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7372 * include/jawt.h: Likewise.
7373 * include/jawt_md.h: Likewise.
7374 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7376 * include/Makefile.in: Regenerate.
7377 * jni/classpath/classpath_jawt.h: Likewise.
7378 * jni/gtk-peer/gtk_jawt.c: Likewise.
7379 * Makefile.am: Build libjawt.so.
7380 * Makefile.in: Regenerate.
7382 2005-02-14 Tom Tromey <tromey@redhat.com>
7384 * testsuite/libjava.lang/PR19921.java: Use correct class name.
7386 2005-02-14 Tom Tromey <tromey@redhat.com>
7388 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
7389 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
7391 2005-02-14 Tom Tromey <tromey@redhat.com>
7394 * testsuite/libjava.lang/PR19929.out: New file.
7395 * testsuite/libjava.lang/PR19929.java: New file.
7397 2005-02-14 Anthony Green <green@redhat.com>
7400 * testsuite/libjava.jni/PR18116.c: New file.
7401 * testsuite/libjava.jni/PR18116.java: New file.
7402 * testsuite/libjava.jni/PR18116.out: New file.
7404 2005-02-13 Anthony Green <green@redhat.com>
7407 * jni.cc (nathash_add): Don't strdup the method signature.
7408 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
7412 2005-02-12 Mark Wielaard <mark@klomp.org>
7414 Fixes bug libgcj/8170
7415 * java/lang/ClassLoader.java (loadClass): Don't rewrap
7416 ClassNotFoundException.
7417 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
7418 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
7419 (remove_internal): New field superceding remove_interpreter.
7420 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7421 Remove no-class methods starting with "_Jv_". And Replace null
7422 class or method names with the empty string. Stop at either the
7423 MainThread or a real Thread run() method.
7424 (newElement): Made static.
7425 * java/net/URLClassLoader.java (findClass): Throw
7426 ClassNotFoundExceptions including urls, plus parent using toString().
7427 (thisString): New field.
7428 (toString): New method.
7430 2005-02-10 Tom Tromey <tromey@redhat.com>
7432 * external/sax/Makefile.in: Rebuilt.
7433 * external/sax/Makefile.am (all-local): Removed.
7434 (BUILT_SOURCES): New variable.
7435 (mostlyclean-local): No error if no classes to delete.
7436 * external/w3c_dom/Makefile.in: Rebuilt.
7437 * external/w3c_dom/Makefile.am (all-local): Removed.
7438 (BUILT_SOURCES): New variable.
7439 (mostlyclean-local): No error if no classes to delete.
7441 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7443 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7444 of mauve and libjava.
7446 2005-02-09 Tom Tromey <tromey@redhat.com>
7448 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7449 jar file with OPEN_DELETE.
7450 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7451 OPEN_DELETE is used.
7453 2005-02-09 Tom Tromey <tromey@redhat.com>
7455 * java/util/zip/InflaterInputStream.java (markSupported):
7457 (mark, reset): Likewise.
7459 2005-02-08 Tom Tromey <tromey@redhat.com>
7461 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7462 name or port is missing.
7463 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7464 AUTHORITY_PORT_GROUP): Updated.
7466 2005-02-08 Tom Tromey <tromey@redhat.com>
7468 * configure: Rebuilt.
7469 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7472 2005-02-07 Tom Tromey <tromey@redhat.com>
7474 * java/lang/natRuntime.cc (insertSystemProperties): Set
7475 sun.boot.class.path earlier.
7477 2005-02-07 Tom Tromey <tromey@redhat.com>
7479 * defineclass.cc (handleClassBegin): Use
7480 _Jv_RegisterInitiatingLoader.
7481 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7482 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7483 class. Use _Jv_UnregisterInitiatingLoader.
7484 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7487 2005-02-07 Mark Wielaard <mark@klomp.org>
7489 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7490 java/util/regex/Matcher.java (lookingAt): Set position when match
7492 (matches): Implemented through lookingAt().
7494 2005-02-07 Mark Wielaard <mark@klomp.org>
7496 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7497 * java/util/regex/Pattern.java (split(CharSequence,int)):
7498 Fix while empties > 0 loops.
7500 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7502 * gnu/java/nio/charset/ISO_8859_1.java,
7503 gnu/java/nio/charset/US_ASCII.java,
7504 gnu/java/nio/charset/UTF_16.java,
7505 gnu/java/nio/charset/UTF_16_LE.java,
7506 gnu/java/nio/charset/UTF_16_BE.java,
7507 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7508 and aliases according to
7509 "http://www.iana.org/assignments/character-sets",
7510 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7511 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7512 * gnu/java/nio/charset/Provider.java: Made charset lookup
7513 case-insensitive which fixes bug #11740.
7515 2005-02-07 Tom Tromey <tromey@redhat.com>
7518 * Makefile.in: Rebuilt.
7519 * Makefile.am (src.zip): New target.
7520 (install-src.zip): Likewise.
7521 (sourcesdir): New variable.
7523 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7525 * javax/imageio/metadata/IIOMetadataNode.java:
7527 * javax/imageio/metadata/IIOAttr.java,
7528 javax/imageio/metadata/IIONamedNodeMap.java,
7529 javax/imageio/metadata/IIONodeList.java:
7532 2005-02-06 Graydon Hoare <graydon@redhat.com>
7534 * gnu/java/awt/ClasspathToolkit.java
7535 (registerImageIOSpis): New method.
7536 * javax/imageio/ImageIO.java
7537 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7538 (WriterMIMETypeFilter.filter): Likewise.
7539 (ImageReaderIterator): Pass extension argument through to SPI.
7540 (getReadersByFilter): Likewise.
7541 (getWritersByFilter): Likewise.
7542 (getImageReadersByFormatName): Likewise.
7543 (getImageReadersByMIMEType): Likewise.
7544 (getImageReadersBySuffix): Likewise.
7545 (getImageWritersByFormatName): Likewise.
7546 (getImageWritersByMIMEType): Likewise.
7547 (getImageWritersBySuffix): Likewise.
7550 * javax/imageio/ImageReader.java
7551 (progressListeners): Initialize.
7552 (setInput): Implement.
7553 * javax/imageio/ImageWriter.java
7554 (progressListeners): Initialize.
7555 (warningListeners): Likewise.
7556 (warningLocales): Likewise.
7557 (setOutput): Test "isInstance" rather than class equality.
7558 * javax/imageio/spi/IIORegistry.java
7559 (static): Add reader and writer SPIs.
7560 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7562 2005-02-06 Michael Koch <konqueror@gmx.de>
7564 * javax/imageio/metadata/IIOInvalidTreeException.java
7565 (IIOInvalidTreeException): Reformatted.
7566 * javax/imageio/spi/IIORegistry.java
7567 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7568 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7569 Reworked import statements.
7571 2005-02-06 Michael Koch <konqueror@gmx.de>
7573 * javax/imageio/stream/FileImageOutputStream.java:
7576 2005-02-06 Michael Koch <konqueror@gmx.de>
7578 * javax/imageio/stream/FileCacheImageInputStream.java,
7579 javax/imageio/stream/FileCacheImageOutputStream.java,
7580 javax/imageio/stream/FileImageInputStream.java,
7581 javax/imageio/stream/ImageInputStreamImpl.java,
7582 javax/imageio/stream/ImageOutputStreamImpl.java,
7583 javax/imageio/stream/MemoryCacheImageInputStream.java,
7584 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7585 Added all missing methods in javax.imageio.stream.
7587 2005-02-02 David Daney <ddaney@avtrex.com>
7589 * java/net/InetAddress.java (InetAddress): Make a private copy of
7591 * java/net/Inet4Address.java (getAddress): Return a copy of the
7593 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7595 (getAddress): Return a copy of the address.
7598 2005-02-02 Tom Tromey <tromey@redhat.com>
7600 * Makefile.in: Rebuilt.
7601 * Makefile.am (classes.stamp): New target, broken out from
7603 ($(all_java_class_files)): Depend on it.
7604 (libgcj-@gcc_version@.jar): Likewise.
7605 (all-recursive): Likewise.
7606 (CLEANFILES): Include classes.stamp.
7608 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7610 * link.cc: Include <stdio.h>
7612 2005-02-02 Tom Tromey <tromey@redhat.com>
7615 * Makefile.in: Rebuilt.
7616 * Makefile.am (ordinary_java_source_files): Added new class.
7617 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7618 Use system_instance, not instance.
7619 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7620 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7622 (system_instance): New field.
7623 (initialize): Initialize the system loader as well.
7624 (VMClassLoader): Default to LIB_CACHE.
7626 2005-02-02 Tom Tromey <tromey@redhat.com>
7628 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7629 * prims.cc: Fixed comment.
7631 2005-02-01 Tom Tromey <tromey@redhat.com>
7633 * Makefile.in: Rebuilt.
7634 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7635 (.java.class): Use BOOTCLASSPATH.
7637 2005-02-01 Tom Tromey <tromey@redhat.com>
7639 * external/w3c_dom/Makefile.am: New file.
7640 * external/w3c_dom/Makefile.in: New file.
7641 * external/sax/Makefile.am: New file.
7642 * external/sax/Makefile.in: New file.
7643 * external/Makefile.in: New file.
7644 * external/Makefile.am: New file.
7645 * external/README: New file from Classpath.
7646 * configure, aclocal.m4, Makefile.in: Rebuilt.
7647 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7648 * Makefile.am (SUBDIRS): Added external.
7649 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7650 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7651 (BOOTCLASSPATH): New variable.
7652 (AM_GCJFLAGS): Use it.
7653 (gnu_xml_source_files): New variable.
7654 (libgcj_la_SOURCES): Use it.
7655 (libgcj_la_LDADD): Include new convenience libraries.
7656 (lib_org_ietf_jgss_la_SOURCES): Removed.
7657 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7658 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7659 (lib_org_w3c_dom_la_SOURCES): Removed.
7660 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7661 (lib_org_w3c_dom_la_LIBADD): Likewise.
7662 (lib_org_xml_sax_la_SOURCES): Removed.
7663 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7664 (lib_org_xml_sax_la_LIBADD): Likewise.
7665 (all_java_source_files): Updated.
7666 (property_files): Likewise.
7667 (libgcj-@gcc_version@.jar): Include classes from external/.
7668 (javax_source_files): Updated.
7669 (ordinary_java_source_files): Updated.
7670 * javax/xml/XMLConstants.java,
7671 javax/xml/datatype/DatatypeConfigurationException.java,
7672 javax/xml/datatype/DatatypeConstants.java,
7673 javax/xml/datatype/DatatypeFactory.java,
7674 javax/xml/datatype/Duration.java,
7675 javax/xml/datatype/XMLGregorianCalendar.java,
7676 javax/xml/datatype/package.html,
7677 javax/xml/namespace/NamespaceContext.java,
7678 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7679 javax/xml/parsers/DocumentBuilder.java,
7680 javax/xml/parsers/DocumentBuilderFactory.java,
7681 javax/xml/parsers/FactoryConfigurationError.java,
7682 javax/xml/parsers/ParserConfigurationException.java,
7683 javax/xml/parsers/SAXParser.java,
7684 javax/xml/parsers/SAXParserFactory.java,
7685 javax/xml/parsers/package.html,
7686 javax/xml/transform/ErrorListener.java,
7687 javax/xml/transform/OutputKeys.java,
7688 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7689 javax/xml/transform/SourceLocator.java,
7690 javax/xml/transform/Templates.java,
7691 javax/xml/transform/Transformer.java,
7692 javax/xml/transform/TransformerConfigurationException.java,
7693 javax/xml/transform/TransformerException.java,
7694 javax/xml/transform/TransformerFactory.java,
7695 javax/xml/transform/TransformerFactoryConfigurationError.java,
7696 javax/xml/transform/URIResolver.java,
7697 javax/xml/transform/package.html,
7698 javax/xml/transform/dom/DOMLocator.java,
7699 javax/xml/transform/dom/DOMResult.java,
7700 javax/xml/transform/dom/DOMSource.java,
7701 javax/xml/transform/dom/package.html,
7702 javax/xml/transform/sax/SAXResult.java,
7703 javax/xml/transform/sax/SAXSource.java,
7704 javax/xml/transform/sax/SAXTransformerFactory.java,
7705 javax/xml/transform/sax/TemplatesHandler.java,
7706 javax/xml/transform/sax/TransformerHandler.java,
7707 javax/xml/transform/sax/package.html,
7708 javax/xml/transform/stream/StreamResult.java,
7709 javax/xml/transform/stream/StreamSource.java,
7710 javax/xml/transform/stream/package.html,
7711 javax/xml/validation/Schema.java,
7712 javax/xml/validation/SchemaFactory.java,
7713 javax/xml/validation/TypeInfoProvider.java,
7714 javax/xml/validation/Validator.java,
7715 javax/xml/validation/ValidatorHandler.java,
7716 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7717 javax/xml/xpath/XPathConstants.java,
7718 javax/xml/xpath/XPathException.java,
7719 javax/xml/xpath/XPathExpression.java,
7720 javax/xml/xpath/XPathExpressionException.java,
7721 javax/xml/xpath/XPathFactory.java,
7722 javax/xml/xpath/XPathFactoryConfigurationException.java,
7723 javax/xml/xpath/XPathFunction.java,
7724 javax/xml/xpath/XPathFunctionException.java,
7725 javax/xml/xpath/XPathFunctionResolver.java,
7726 javax/xml/xpath/XPathVariableResolver.java,
7727 javax/xml/xpath/package.html: New files, from GNU JAXP.
7728 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7729 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7730 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7731 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7732 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7733 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7734 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7735 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7736 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7737 org/w3c/dom/ranges/DocumentRange.java,
7738 org/w3c/dom/ranges/Range.java,
7739 org/w3c/dom/ranges/RangeException.java,
7740 org/w3c/dom/traversal/DocumentTraversal.java,
7741 org/w3c/dom/traversal/NodeFilter.java,
7742 org/w3c/dom/traversal/NodeIterator.java,
7743 org/w3c/dom/traversal/TreeWalker.java,
7744 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7745 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7746 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7747 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7748 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7749 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7750 org/xml/sax/SAXNotRecognizedException.java,
7751 org/xml/sax/SAXNotSupportedException.java,
7752 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7753 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7754 org/xml/sax/ext/DeclHandler.java,
7755 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7756 org/xml/sax/helpers/AttributeListImpl.java,
7757 org/xml/sax/helpers/AttributesImpl.java,
7758 org/xml/sax/helpers/DefaultHandler.java,
7759 org/xml/sax/helpers/LocatorImpl.java,
7760 org/xml/sax/helpers/NamespaceSupport.java,
7761 org/xml/sax/helpers/NewInstance.java,
7762 org/xml/sax/helpers/ParserAdapter.java,
7763 org/xml/sax/helpers/ParserFactory.java,
7764 org/xml/sax/helpers/XMLFilterImpl.java,
7765 org/xml/sax/helpers/XMLReaderAdapter.java,
7766 org/xml/sax/helpers/XMLReaderFactory.java,
7767 org/xml/sax/helpers/package.html: Moved to external/.
7768 * external/sax/README,
7769 external/sax/org/xml/sax/AttributeList.java,
7770 external/sax/org/xml/sax/Attributes.java,
7771 external/sax/org/xml/sax/ContentHandler.java,
7772 external/sax/org/xml/sax/DTDHandler.java,
7773 external/sax/org/xml/sax/DocumentHandler.java,
7774 external/sax/org/xml/sax/EntityResolver.java,
7775 external/sax/org/xml/sax/ErrorHandler.java,
7776 external/sax/org/xml/sax/HandlerBase.java,
7777 external/sax/org/xml/sax/InputSource.java,
7778 external/sax/org/xml/sax/Locator.java,
7779 external/sax/org/xml/sax/Parser.java,
7780 external/sax/org/xml/sax/SAXException.java,
7781 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7782 external/sax/org/xml/sax/SAXNotSupportedException.java,
7783 external/sax/org/xml/sax/SAXParseException.java,
7784 external/sax/org/xml/sax/XMLFilter.java,
7785 external/sax/org/xml/sax/XMLReader.java,
7786 external/sax/org/xml/sax/package.html,
7787 external/sax/org/xml/sax/ext/Attributes2.java,
7788 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7789 external/sax/org/xml/sax/ext/DeclHandler.java,
7790 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7791 external/sax/org/xml/sax/ext/EntityResolver2.java,
7792 external/sax/org/xml/sax/ext/LexicalHandler.java,
7793 external/sax/org/xml/sax/ext/Locator2.java,
7794 external/sax/org/xml/sax/ext/Locator2Impl.java,
7795 external/sax/org/xml/sax/ext/package.html,
7796 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7797 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7798 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7799 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7800 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7801 external/sax/org/xml/sax/helpers/NewInstance.java,
7802 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7803 external/sax/org/xml/sax/helpers/ParserFactory.java,
7804 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7805 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7806 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7807 external/sax/org/xml/sax/helpers/package.html,
7808 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7809 external/w3c_dom/org/w3c/dom/Attr.java,
7810 external/w3c_dom/org/w3c/dom/CDATASection.java,
7811 external/w3c_dom/org/w3c/dom/CharacterData.java,
7812 external/w3c_dom/org/w3c/dom/Comment.java,
7813 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7814 external/w3c_dom/org/w3c/dom/DOMError.java,
7815 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7816 external/w3c_dom/org/w3c/dom/DOMException.java,
7817 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7818 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7819 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7820 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7821 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7822 external/w3c_dom/org/w3c/dom/Document.java,
7823 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7824 external/w3c_dom/org/w3c/dom/DocumentType.java,
7825 external/w3c_dom/org/w3c/dom/Element.java,
7826 external/w3c_dom/org/w3c/dom/Entity.java,
7827 external/w3c_dom/org/w3c/dom/EntityReference.java,
7828 external/w3c_dom/org/w3c/dom/NameList.java,
7829 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7830 external/w3c_dom/org/w3c/dom/Node.java,
7831 external/w3c_dom/org/w3c/dom/NodeList.java,
7832 external/w3c_dom/org/w3c/dom/Notation.java,
7833 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7834 external/w3c_dom/org/w3c/dom/Text.java,
7835 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7836 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7837 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7838 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7839 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7840 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7841 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7842 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7843 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7844 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7845 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7846 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7847 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7848 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7849 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7850 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7851 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7852 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7853 external/w3c_dom/org/w3c/dom/css/Counter.java,
7854 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7855 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7856 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7857 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7858 external/w3c_dom/org/w3c/dom/css/Rect.java,
7859 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7860 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7861 external/w3c_dom/org/w3c/dom/events/Event.java,
7862 external/w3c_dom/org/w3c/dom/events/EventException.java,
7863 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7864 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7865 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7866 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7867 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7868 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7869 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7870 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7871 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7872 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7873 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7874 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7875 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7876 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7877 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7878 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7879 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7880 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7881 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7882 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7883 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7884 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7885 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7886 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7887 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7888 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7889 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7890 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7891 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7892 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7893 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7894 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7895 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7896 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7897 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7898 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7899 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7900 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7901 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7902 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7903 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7904 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7905 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7906 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7907 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7908 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7909 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7910 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7911 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7912 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7913 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7914 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7915 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7916 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7917 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7918 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7919 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7920 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7921 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7922 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7923 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7924 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7925 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7926 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7927 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7928 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7929 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7930 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7931 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7932 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7933 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7934 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7935 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7936 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7937 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7938 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7939 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7940 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7941 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7942 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7943 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7944 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7945 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7946 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7947 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7948 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7949 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7950 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7951 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7952 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7953 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7954 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7957 2005-01-31 Anthony Green <green@redhat.com>
7959 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7960 Support IP_MULTICAST_LOOP.
7961 (setOption): Support IP_MULTICAST_LOOP.
7963 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7964 SO_REUSEADDR support.
7965 (getOption): Support SO_REUSEADDR.
7967 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7970 * java/util/Date.java
7971 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7973 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7975 (getTimezoneOffset): Inverted sign.
7977 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7979 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7980 remove other passing tests and add new XFAILs.
7982 2005-01-24 Tom Tromey <tromey@redhat.com>
7984 * java/lang/Class.h (next): Updated documentation. Renamed to
7986 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7987 _Jv_CheckABIVersion.
7988 (_Jv_RegisterClasses_Counted): Likewise.
7989 (_Jv_RegisterClassHookDefault): Fix starting condition of
7990 duplicate-checking loop.
7991 * include/jvm.h (GCJ_VERSION): New define.
7992 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7993 (_Jv_CheckABIVersion): New function.
7995 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7997 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7998 (libgij_la_LDFLAGS): Add.
7999 * Makefile.in: Rebuilt.
8001 2005-01-24 Roger Sayle <roger@eyesopen.com>
8004 * testsuite/libjava.compile/PR19295.java: New test case.
8006 2005-01-19 Tom Tromey <tromey@redhat.com>
8008 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
8009 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
8010 if 'handler' is valid.
8012 2005-01-17 Tom Tromey <tromey@redhat.com>
8014 * java/text/MessageFormat.java (scanString): Changed how quoting
8016 (scanFormatElement): Likewise.
8018 2004-12-07 Mark Wielaard <mark@klomp.org>
8020 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
8022 2005-01-15 Michael Koch <konqueror@gmx.de>
8026 (AUTHORITY_REGEXP): New regexp constant.
8027 (AUTHORITY_USERINFO_GROUP): New constant.
8028 (AUTHORITY_HOST_GROUP): Likewise.
8029 (AUTHORITY_PORT_GROUP): Likewise.
8030 (port): Changed default value to -1.
8031 (parseURI): Parse authority part and initialize host,
8034 2005-01-14 Robin Green <greenrd@greenrd.org>
8036 * java/io/File.java (toURI): Generate a URI which we understand.
8038 2005-01-13 Graydon Hoare <graydon@redhat.com>
8040 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
8041 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
8042 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
8043 * jni.cc: Reuse bottom frame between calls, avoid clearing
8044 frame when no local references are made.
8046 2005-01-13 Michael Koch <konqueror@gmx.de>
8049 * java/lang/Thread.java
8050 (Thread): Call checkAccess().
8051 (stop): Fixed argument name to match javadoc.
8052 * java/lang/natThread.cc
8053 (interrupt): Call checkAccess().
8056 2005-01-11 Michael Koch <konqueror@gmx.de>
8059 * java/net/URL.java (URL): Handle specs like
8060 "/redir?http://domain2.com/index.html" which start with a slash.
8062 2005-01-11 Michael Koch <konqueror@gmx.de>
8064 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
8065 * gnu/java/net/BASE64.java,
8066 gnu/java/net/EmptyX509TrustManager.java,
8067 gnu/java/net/LineInputStream.java,
8068 gnu/java/net/protocol/http/Authenticator.java,
8069 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
8070 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
8071 gnu/java/net/protocol/http/ChunkedInputStream.java,
8072 gnu/java/net/protocol/http/Cookie.java,
8073 gnu/java/net/protocol/http/CookieManager.java,
8074 gnu/java/net/protocol/http/Credentials.java,
8075 gnu/java/net/protocol/http/HTTPConnection.java,
8076 gnu/java/net/protocol/http/HTTPDateFormat.java,
8077 gnu/java/net/protocol/http/HTTPURLConnection.java,
8078 gnu/java/net/protocol/http/Headers.java,
8079 gnu/java/net/protocol/http/Request.java,
8080 gnu/java/net/protocol/http/RequestBodyWriter.java,
8081 gnu/java/net/protocol/http/Response.java,
8082 gnu/java/net/protocol/http/ResponseBodyReader.java,
8083 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
8084 gnu/java/net/protocol/http/SimpleCookieManager.java,
8085 gnu/java/net/protocol/http/event/ConnectionEvent.java,
8086 gnu/java/net/protocol/http/event/ConnectionListener.java,
8087 gnu/java/net/protocol/http/event/RequestEvent.java,
8088 gnu/java/net/protocol/http/event/RequestListener.java: New files.
8089 * gnu/java/net/protocol/http/Connection.java: Removed.
8090 * gnu/java/net/protocol/http/Handler.java,
8091 javax/net/ssl/HttpsURLConnection.java: Updated.
8092 * Makefile.am: Added new files and remove old ones.
8093 * Makefile.in: Regenerated.
8095 2005-01-11 Tom Tromey <tromey@redhat.com>
8098 * java/io/BufferedInputStream.java (read): Repeatedly read to
8100 (refill): Change test to see if buffer must be grown.
8102 2005-01-10 Tom Tromey <tromey@redhat.com>
8104 * mauve-libgcj: Exclude some swing tests.
8106 2005-01-10 Tom Tromey <tromey@redhat.com>
8108 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
8109 * java/lang/Package.java (getPackages): Use VMClassLoader when
8111 (getPackage): Likewise.
8112 * prims.cc (_Jv_CreateJavaVM): Call
8113 _Jv_RegisterBootstrapPackages.
8114 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
8115 * java/lang/VMClassLoader.java (getPackage): Rewrote.
8116 (getPackages): Likewise.
8117 (definedPackages): New field.
8118 (definePackageForNative): New method.
8119 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
8120 * java/lang/natVMClassLoader.cc (loadClass): Updated.
8121 * defineclass.cc (handleClassBegin): Use
8122 ClassLoader.findLoadedClass.
8123 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
8125 (struct _Jv_LoaderInfo): Removed.
8126 (initiated_classes): Likewise.
8127 (_Jv_UnregisterClass): Don't use initiated_classes.
8128 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
8129 (_Jv_FindClass): Register classes found during boostrap.
8130 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
8131 (bootstrap_class_list): New global.
8132 (bootstrap_index): Likewise.
8133 (_Jv_RegisterBootstrapPackages): New function.
8134 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
8135 definePackageForNative.
8136 (findClass): Updated.
8137 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
8140 2005-01-10 Tom Tromey <tromey@redhat.com>
8143 * include/jvm.h (_Jv_Linker::find_field): Declare.
8144 (_Jv_Linker::find_field_helper): Likewise.
8145 * link.cc (find_field_helper): New method.
8146 (find_field): Likewise.
8147 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
8149 (link_symbol_table): Use find_field.
8151 2005-01-10 Michael Koch <konqueror@gmx.de>
8154 * java/util/Locale.java (Locale): Don't uppercase variant.
8155 (getISOCountries): Fixed typo in javadoc.
8157 2005-01-10 Michael Koch <konqueror@gmx.de>
8159 * java/util/SimpleTimeZone.java (checkRule):
8160 Throw IllegalArgumentException on invalid month values.
8161 * java/util/TimeZone.java (setID):
8162 Throw NullPointerException if needed.
8164 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
8166 * java/util/SimpleTimeZone.java (getOffset):
8167 offset end date with daylight savings
8169 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
8171 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
8172 * testsuite/libjava.compile/PR19277.xfail: Likewise.
8174 2005-01-09 Michael Koch <konqueror@gmx.de>
8177 * java/net/InetAddress.java (getLocalHost):
8178 Throw UnknownHostException if local hostname cannot be determined.
8180 2005-01-06 Tom Tromey <tromey@redhat.com>
8182 * java/lang/ClassLoader.java (findClass): Fixed documentation.
8184 2005-01-07 Michael Koch <konqueror@gmx.de>
8187 * java/nio/Buffer.java (address): New field.
8188 * java/nio/DirectByteBufferImpl.java (address): Removed.
8189 * java/nio/MappedByteBufferImpl.java (address): Likewise.
8190 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
8191 Explicitly initialize Buffer.address if needed.
8192 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
8193 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
8194 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
8195 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
8196 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
8197 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
8198 DirectByteBufferImpl object.
8199 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
8200 * testsuite/libjava.jni/directbuffer.c,
8201 testsuite/libjava.jni/directbuffer.java,
8202 testsuite/libjava.jni/directbuffer.out,
8203 testsuite/libjava.jni/bytebuffer.c,
8204 testsuite/libjava.jni/bytebuffer.java,
8205 testsuite/libjava.jni/bytebuffer.out: New files.
8207 2005-01-05 Tom Tromey <tromey@redhat.com>
8209 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
8211 (compressedSize): Now 'long'. Default to -1.
8212 (getCompressedSize): Rewrote.
8213 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
8214 deflate at all if we need input.
8216 2005-01-05 Tom Tromey <tromey@redhat.com>
8219 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
8222 2005-01-05 Tom Tromey <tromey@redhat.com>
8224 * java/lang/natRuntime.cc (insertSystemProperties): Set
8225 java.ext.dirs earlier.
8227 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
8229 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
8230 sync_info element of the object if needed.
8232 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
8234 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
8235 a non-zero exit status from 'false'.
8237 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
8239 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.