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