1 2005-08-16 Tom Tromey <tromey@redhat.com>
3 * gnu/xml/xpath/XPathParser.y: Removed.
5 2005-08-12 Morgan Deters <mdeters@morgandeters.com>
8 * java/lang/natObject.cc (clone): Clear sync_info.
10 2005-07-26 Tom Tromey <tromey@redhat.com>
12 * gnu/java/net/protocol/ftp/package.html,
13 gnu/javax/swing/text/html/package.html,
14 gnu/javax/swing/text/html/parser/package.html,
15 gnu/javax/swing/text/html/parser/models/package.html,
16 gnu/javax/swing/text/html/parser/support/package.html,
17 gnu/javax/swing/text/html/parser/support/low/package.html,
18 gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
19 gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
20 gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
21 java/awt/geom/doc-files/CubicCurve2D-1.png,
22 java/awt/geom/doc-files/CubicCurve2D-2.png,
23 java/awt/geom/doc-files/CubicCurve2D-3.png,
24 java/awt/geom/doc-files/CubicCurve2D-4.png,
25 java/awt/geom/doc-files/CubicCurve2D-5.png,
26 java/awt/geom/doc-files/Ellipse-1.png,
27 java/awt/geom/doc-files/FlatteningPathIterator-1.html,
28 java/awt/geom/doc-files/GeneralPath-1.png,
29 java/awt/geom/doc-files/QuadCurve2D-1.png,
30 java/awt/geom/doc-files/QuadCurve2D-2.png,
31 java/awt/geom/doc-files/QuadCurve2D-3.png,
32 java/awt/geom/doc-files/QuadCurve2D-4.png,
33 java/awt/geom/doc-files/QuadCurve2D-5.png,
34 javax/imageio/package.html, javax/imageio/event/package.html,
35 javax/imageio/metadata/package.html,
36 javax/imageio/spi/package.html, javax/imageio/stream/package.html,
37 javax/swing/border/doc-files/BevelBorder-1.png,
38 javax/swing/border/doc-files/BevelBorder-2.png,
39 javax/swing/border/doc-files/BevelBorder-3.png,
40 javax/swing/border/doc-files/EmptyBorder-1.png,
41 javax/swing/border/doc-files/EtchedBorder-1.png,
42 javax/swing/border/doc-files/EtchedBorder-2.png,
43 javax/swing/border/doc-files/LineBorder-1.png,
44 javax/swing/border/doc-files/MatteBorder-1.png,
45 javax/swing/border/doc-files/MatteBorder-2.png,
46 javax/swing/border/doc-files/MatteBorder-3.png,
47 javax/swing/border/doc-files/MatteBorder-4.png,
48 javax/swing/border/doc-files/MatteBorder-5.png,
49 javax/swing/border/doc-files/MatteBorder-6.png,
50 javax/swing/border/doc-files/SoftBevelBorder-1.png,
51 javax/swing/border/doc-files/SoftBevelBorder-2.png,
52 javax/swing/border/doc-files/SoftBevelBorder-3.png,
53 javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
54 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
55 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
56 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
57 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
58 javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
59 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
60 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
61 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
62 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
63 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
64 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
65 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
66 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
67 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
68 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
69 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
70 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
71 javax/swing/plaf/doc-files/ComponentUI-1.dia,
72 javax/swing/plaf/doc-files/ComponentUI-1.png,
73 javax/swing/plaf/doc-files/TreeUI-1.png,
74 javax/xml/datatype/package.html, javax/xml/namespace/package.html,
75 javax/xml/parsers/package.html, javax/xml/transform/package.html,
76 javax/xml/transform/dom/package.html,
77 javax/xml/transform/sax/package.html,
78 javax/xml/transform/stream/package.html,
79 javax/xml/validation/package.html, javax/xml/xpath/package.html:
82 2005-07-22 Tom Tromey <tromey@redhat.com>
84 * include/Makefile.in: Rebuilt.
85 * include/Makefile.am (tool_include__HEADERS): Include
88 2005-07-20 Tom Tromey <tromey@redhat.com>
90 * sources.am, Makefile.in: Rebuilt.
91 * Makefile.am (all_xlib_lo_files): Removed.
92 (all_libgcj_lo_files): Likewise.
93 (lib_gnu_awt_xlib_la_LIBADD): List correct .lo files.
94 (xlib_java_source_files): Removed.
95 (xlib_nat_headers): Updated.
97 * configure.ac: Create standard.omit.
98 * standard.omit.in: New file.
99 * standard.omit: Removed.
100 * scripts/makemake.tcl (gnu/gcj/xlib, gnu/awt/xlib): Now
102 (emit_package_rule): Special case xlib peers.
103 (emit_source_var): Likewise.
104 Read standard.omit.in.
105 * gnu/awt/xlib/XToolkit.java (createEmbeddedWindow): New method.
107 2005-07-18 Tom Tromey <tromey@redhat.com>
111 2005-07-19 Matthias Klose <doko@debian.org>
113 * classpath/java/awt/im/InputContext.java (clinit): Initialize
116 2005-07-18 Tom Tromey <tromey@redhat.com>
119 * sources.am, Makefile.in: Rebuilt.
120 * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
122 (emit_source_var): Don't emit patsubst with './'.
124 2005-07-18 Tom Tromey <tromey@redhat.com>
126 * Makefile.in: Rebuilt.
127 * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
129 2005-07-17 Andreas Jaeger <aj@suse.de>
131 * defineclass.cc (handleClassBegin): Remove unused variable.
133 2005-07-16 Andreas Schwab <schwab@suse.de>
135 * scripts/makemake.tcl (emit_package_rule): Emit command to create
137 * Makefile.am (%.lo): Don't create it here.
138 * sources.am, Makefile.in: Regenerated.
140 2005-07-15 Tom Tromey <tromey@redhat.com>
142 Major merge with Classpath.
143 Removed many duplicate files.
145 * classpath: Imported new directory.
146 * standard.omit: New file.
147 * Makefile.in, aclocal.m4, configure: Rebuilt.
148 * sources.am: New file.
149 * configure.ac: Run Classpath configure script. Moved code around
150 to support. Disable xlib AWT peers (temporarily).
151 * Makefile.am (SUBDIRS): Added 'classpath'
153 (AM_CPPFLAGS): Added more -I options.
154 (BOOTCLASSPATH): Simplified.
155 Completely redid how sources are built.
157 * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
158 * include/jni.h: Removed (in Classpath).
159 * scripts/classes.pl: Updated to look at built classes.
160 * scripts/makemake.tcl: New file.
161 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
163 (gcj_jni_invocation_compile_c_to_binary): Likewise.
165 2005-07-15 Scott Gilbertson <scottg@mantatest.com>
167 * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
168 (eventMask): New field.
169 (XCanvasPeer(Component)): Use attributes field.
170 (setBackground): Implemented.
171 (setEventMask): Process mask only if changed.
172 * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
173 (eventLoopThread): New field.
174 (XEventLoop(Display,EventQueue)): Start eventLoopThread.
175 (interrupt): Removed.
177 * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
178 and Component events.
179 * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
181 (configureNotify): Set and clear processingConfigureNotify.
182 (setBounds): Process only if processingConfigureNotify is false.
183 (toBack): Implemented.
184 (toFront): Implemented.
185 * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
186 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
188 * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
189 (wakeNativeQueue): Do nothing.
190 (iterateNativeQueue): Do queue.wait if blocking.
191 * gnu/gcj/xlib/Font.java (loadFont): New method.
192 (loadFontImpl): Renamed native method, was loadFont.
193 * gnu/gcj/xlib/Window.java (toFront): New method.
194 (toBack): New method.
195 * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was
197 * gnu/gcj/xlib/natWindow.cc (toBack): New method.
198 (toFront): New method.
199 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
201 2005-07-14 Andrew Haley <aph@redhat.com>
203 * gnu/java/net/protocol/file/Connection.java (unquote): New
205 (connect): Unquote filename.
206 gnu/java/net/protocol/jar/Connection.java (getInputStream):
208 (getJarFile): Likewise.
210 * java/net/URLConnection.java (getContentHandler): Guard cast with
213 * java/net/URL.java (URL): If the file part of a spec is absolute,
214 ignore the file part of its context.
216 2005-07-14 Aaron Luchko <aluchko@redhat.com>
218 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
219 Implemented VirtualMachine Command Set.
221 2005-07-14 Tom Tromey <tromey@redhat.com>
223 * java/lang/Class.java (getProtectionDomain): Merged javadoc from
226 2005-07-12 Aaron Luchko <aluchko@redhat.com>
228 * gnu/classpath/jdwp/processor/FieldCommandSet.java:
229 Implemented the Field CommandSet.
230 * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
231 Implemented the InterfaceType CommandSet.
233 2005-07-12 Aaron Luchko <aluchko@redhat.com>
235 * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
236 shutdown to jdwp instead of connection.
238 2005-07-12 Aaron Luchko <aluchko@redhat.com>
240 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
243 2005-07-08 Colin Walters <walters@verbum.org>
245 * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
246 check for abstract classes or interfaces here; JVM spec
247 says it should throw an exception, so we'll do so later.
248 * interpret.cc (run): Throw an InstantiationException for
249 abstract classes and interfaces.
251 2005-07-08 Andrew Haley <aph@redhat.com>
253 * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
254 (regular, non-realtime scheduling), not SCHED_RR (realtime,
257 2005-07-07 Aaron Luchko <aluchko@redhat.com>
259 * gnu/classpath/jdwp/util/Signature.java
260 (computeFieldSignature): New Method.
262 2005-07-07 Aaron Luchko <aluchko@redhat.com>
264 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
267 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
269 * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
270 6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
272 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
274 * testsuite/libjava.compile/PR21045.java: New test.
275 * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
276 15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
278 2005-07-06 Tom Tromey <tromey@redhat.com>
280 * java/io/InputStreamReader.java (refill): Handle no-progress
282 * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
284 2005-07-06 Tom Tromey <tromey@redhat.com>
286 * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
288 2005-07-05 Bryce McKinlay <mckinlay@redhat.com>
290 * testsuite/libjava.compile/PR19674.java: New test.
292 2005-07-05 Aaron Luchko <aluchko@redhat.com>
294 * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
297 2005-07-04 Aaron Luchko <aluchko@redhat.com>
299 * gnu/classpath/jdwp/processor/CommandSet.java: New file.
300 * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
301 CommandSets to handle JdwpCommandPackets.
302 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
305 2005-07-01 Tom Tromey <tromey@redhat.com>
307 * libtool-version: Updated.
309 2005-06-30 Aaron Luchko <aluchko@redhat.com>
311 * gnu/classpath/jdwp/util/JdwpString.java: New file.
313 2005-06-30 Keith Seitz <keiths@redhat.com>
315 * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
316 (myWrite): New abstract method.
319 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
321 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
323 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
324 JdwpPacket.write instead of JdwpPacket.toBytes.
326 2005-06-30 Keith Seitz <keiths@redhat.com>
328 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
330 (_bytes): New member.
331 (_doStream): New member.
332 (JdwpConnection): Initialize new members.
334 2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
336 * all files: Update for new FSF address.
338 2005-06-29 Tom Tromey <tromey@redhat.com>
341 * testsuite/libjava.lang/pr22211.java: New file.
342 * java/lang/natThread.cc (finish_): Synchronize when updating
344 (_Jv_AttachCurrentThread): Likewise.
345 (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
346 * java/lang/Thread.java (isAlive): Now synchronized.
348 2005-06-29 Tom Tromey <tromey@redhat.com>
350 * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
353 2005-06-28 Robin Green <greenrd@greenrd.org>
356 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
359 2005-06-27 Tom Tromey <tromey@redhat.com>
361 PR java/21540, PR java/13788:
362 * testsuite/libjava.compile/pr21540.java: New file.
363 * testsuite/libjava.compile/pr13788.java: New file.
364 * testsuite/libjava.jacks/jacks.xfail: Updated.
366 2005-06-26 Andreas Tobler <a.tobler@schweiz.ch>
368 * testsuite/libjava.mauve/xfails: Updated to reflect current state
369 of mauve and libjava.
371 2005-06-24 Tom Tromey <tromey@redhat.com>
373 * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
374 where class' name is NULL.
375 (_Jv_FindClass): Don't wait for class state.
376 * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
378 * include/java-interp.h (_Jv_DefineClass): Updated.
379 * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
380 (struct _Jv_ClassReader): Likewise.
381 (found_name): New field.
382 (handleClassBegin): Set *found_name.
383 (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
384 (handleClassBegin): Throw error if super class not set.
385 (read_methods): Correctly call check_tag and prepare_pool_entry.
387 2005-06-24 Tom Tromey <tromey@redhat.com>
389 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
391 2005-06-24 Tom Tromey <tromey@redhat.com>
393 * verify.cc (verify_instructions_0): Correctly handle situation
394 where PC falls off end.
396 2005-06-24 Tom Tromey <tromey@redhat.com>
398 * interpret.cc (compile): Handle case where table entry is
401 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
403 * testsuite/libjava.compile/PR20697.java: New test-case.
405 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
407 * Makefile.am (SUBDIRS): Use append for conditional.
408 (toolexeclib_LTLIBRARIES): Likewise.
409 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
410 a conditional append.
411 * Makefile.in: Regenerate.
413 2005-06-17 Keith Seitz <keiths@redhat.com>
415 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
416 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
417 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
419 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
420 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
422 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
423 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
424 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
425 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
427 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
428 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
430 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
432 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
433 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
434 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
435 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
436 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
437 * Makefile.in: Regenerate.
439 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
441 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
442 (USING_POSIX_PLATFORM): ... here.
443 * Makefile.am: Delete USING_ECOS_PLATFORM.
444 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
445 external/Makefile.in, external/sax/Makefile.in,
446 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
448 2005-06-15 Tom Tromey <tromey@redhat.com>
451 * testsuite/libjava.lang/pr17536.java: New file.
452 * testsuite/libjava.lang/pr17536.out: New file.
454 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
457 * gnu/java/net/protocol/http/HTTPURLConnection.java
458 (getHeaderFieldKey): Check index.
460 2005-06-15 Tom Tromey <tromey@redhat.com>
463 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
465 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
466 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
468 (append_partial_itable): Use it.
469 (set_vtable_entries): Likewise.
471 2005-06-15 Tom Tromey <tromey@redhat.com>
473 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
474 last_was_sep in loop.
476 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
478 * configure.host: Handle Solaris 10/x86.
480 2005-06-14 Keith Seitz <keiths@redhat.com>
482 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
483 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
485 2005-06-14 Keith Seitz <keiths@redhat.com>
487 * gnu/classpath/jdwp/id/ArrayId.java: New file.
488 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
489 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
490 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
491 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
492 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
493 * gnu/classpath/jdwp/id/JdwpId.java: New file.
494 * gnu/classpath/jdwp/id/ObjectId.java: New file.
495 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
496 * gnu/classpath/jdwp/id/StringId.java: New file.
497 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
498 * gnu/classpath/jdwp/id/ThreadId.java: New file.
500 2005-06-14 Tom Tromey <tromey@redhat.com>
503 * configure, aclocal.m4, Makefile.in: Rebuilt.
505 2005-06-14 Tom Tromey <tromey@redhat.com>
507 * java/lang/Class.java (getClasses): New method.
508 (internalGetClasses): Likewise.
509 (getClassLoader): Updated documentation.
510 (getDeclaredClasses): New overload; old overload no longer
512 (_getConstructors): Removed.
513 (resourcePath): Updated.
514 * java/lang/natClass.cc (getClasses): Removed.
515 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
517 (_getConstructors): Removed.
519 2005-06-13 Jim Huang <jserv@kaffe.org>
522 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
523 (_Jv_JNI_NewObject): Likewise.
525 2005-06-13 Tom Tromey <tromey@redhat.com>
528 * testsuite/libjava.lang/pr21844.java: New file.
529 * testsuite/libjava.lang/pr21844.out: New file.
531 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
534 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
537 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
539 * java/text/MessageFormat.java (parse): When parsing strings, check
540 for an empty pattern trailer.
542 2005-06-06 Keith Seitz <keiths@redhat.com>
544 * gnu/classpath/jdwp/util/Signature.java: New file.
545 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
547 2005-06-05 Anthony Green <green@redhat.com>
549 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
552 2005-06-04 Anthony Green <green@redhat.com>
554 * java/net/URLClassLoader.java: import gnu.gcj.Core,
555 and gnu.java.net.protocol.core.CoreInputStream.
556 (CureURLLoader): New class.
557 (CoreResource): New class.
558 (addURLImpl): Add special treatment for the "core" protocol.
559 * gnu/gcj/natCore.cc (find): New method.
560 * gnu/gcj/Core.java (find): New method.
562 2005-06-03 Keith Seitz <keiths@redhat.com>
564 * gnu/classpath/jdwp/transport/ITransport.java: New file.
565 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
566 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
568 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
570 * jawt.c: Remove malloc.h, covered by stdlib.h.
572 * testsuite/libjava.jni/jni.exp
573 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
576 2005-06-02 Keith Seitz <keiths@redhat.com>
578 * gnu/classpath/jdwp/transport/TransportException.java: New file.
580 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
582 * mauve-libgcj: Remove implemented classes from the fail section.
583 Add two new not implemented to it.
585 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
587 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
588 AC_SUBST definition from configure.host.
589 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
590 to -fomit-frame-pointer on 32-bit x86 targets.
592 2005-06-01 Tom Tromey <tromey@redhat.com>
594 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
596 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
599 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
600 (static): Add possessive matching to JAVA_1_4 syntax.
601 * gnu/regexp/RETokenRepeated.java (possessive): New field.
602 (makePossessive, isPossessive): New methods.
603 (match): Don't back off during possessive matching.
604 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
605 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
608 2005-06-01 Keith Seitz <keiths@redhat.com>
610 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
611 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
612 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
614 2005-06-01 Tom Tromey <tromey@redhat.com>
617 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
618 (currentLoader): New method.
619 * java/io/ObjectInputStream.java (resolveProxyClass): Use
621 (currentLoader): Now native.
622 (currentClassLoader): Removed.
623 * testsuite/libjava.lang/pr21785.java: New file.
624 * testsuite/libjava.lang/pr21785.out: New file.
626 2005-06-01 Tom Tromey <tromey@redhat.com>
629 * java/lang/natString.cc (substring): Changed sharing heuristic.
631 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
634 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
635 MAXPATHLEN. Format exception message using a StringBuffer instead.
637 2005-05-29 Michael Koch <konqueror@gmx.de>
640 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
642 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
644 * ChangeLog: Fix typo.
646 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
648 Testsuite adjustments for PR java/19870.
649 * testsuite/libjava.lang/PR19870.java: New testcase.
650 * testsuite/libjava.lang/PR19870.out: Expected output for the
652 * testsuite/libjava.jacks/jacks.xfail: Add
653 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
656 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
658 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
659 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
660 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
662 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
663 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
664 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
665 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
667 2005-05-25 Richard Henderson <rth@redhat.com>
670 * sysdep/descriptor-n.h: New file.
671 * sysdep/descriptor-y.h: New file.
672 * sysdep/powerpc/descriptor.h: New file.
673 * configure.host: Set $descriptor_h appropriate for the host.
674 * configure.ac: Link it.
675 * configure: Regenerate.
676 * stacktrace.cc: Include sysdep/descriptor.h.
677 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
679 2005-05-25 Chris Burdess <dog@gnu.org>
681 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
682 end entity callbacks.
684 2005-05-24 Gary Benson <gbenson@redhat.com>
687 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
688 Handle DateFormat.DEFAULT case correctly.
690 2005-05-21 Tom Tromey <tromey@redhat.com>
693 * java/lang/ref/natReference.cc (find_slot): Handle case where
694 table has no NULL entries.
695 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
696 table has no NULL entries.
698 2005-05-22 Andreas Jaeger <aj@suse.de>
700 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
703 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
705 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
707 2005-05-19 Richard Henderson <rth@redhat.com>
709 * exception.cc: Revert 05-17 gcc_unreachable change.
711 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
713 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
714 _Jv_RegisterInitiatingLoader to register array classes, not
716 (_Jv_RegisterInitiatingLoader): Give up if called very early during
717 bootstrapping. Add a FIXME to handle this case better.
719 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
721 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
723 (libgcj_la_SOURCES): New. Move sources here.
724 (libgcj.la): Remove rule.
726 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
729 * gnu/java/security/provider/DSASignature.java: Import updates
732 2005-05-18 Anthony Green <green@redhat.com>
734 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
735 classpath_jawt_object_unlock, classpath_jawt_create_lock,
736 classpath_jawt_destroy_lock): New functions.
737 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
738 classpath_jawt_object_unlock, classpath_jawt_create_lock,
739 classpath_jawt_destroy_lock): New functions.
740 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
742 * jawt.c: #include malloc.h.
743 (_Jv_Lock): Use lock.
745 (_Jv_GetDrawingSurface): Initialize lock.
746 (_Jv_FreeDrawingSurface): Destroy lock.
747 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
749 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
751 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
752 * Makefile.in: Regenerate.
754 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
756 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
757 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
758 * aclocal.m4, configure, config.h.in, include/config.h.in,
759 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
760 external/Makefile.in, external/sax/Makefile.in,
761 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
763 2005-05-17 David Daney <ddaney@avtrex.com>
766 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
768 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
770 * exception.cc (abort): Remove std::abort hack.
771 (gcc_unreacheable): Define.
773 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
775 * Makefile.am (Makefile.deps): Do not create native.list and
777 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
778 * Makefile.in: Regenerate.
780 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
782 * configure.ac (--enable-libgcj-multifile): Remove.
784 * Makefile.am (all_native_compiled_source_files,
785 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
786 all_libgcj_lo_files, all_xlib_lo_files,
787 all_java_deps_files, all_java_stamp_files,
788 all_java_filelist_files): New variables.
789 (EXTRA_DIST): New Automake variable.
790 (CLEANFILES): Add .stamp, .list and .lo files.
791 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
792 (classes.stamp): Depend on $(all_java_stamp_files).
793 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
794 going through write_entries_to_file.
796 (all_java_source_files, all_property_files): Move earlier.
797 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
798 all_java_class_files): Remove.
799 (gtk_awt_peer_sources): Rename to...
800 (gtk_awt_peer_source_files): ... this. Adjust throughout.
803 (libgcj0_convenience_la_SOURCES): Remove Java source files.
804 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
805 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
806 (libgcj_la_SOURCES): Remove.
807 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
808 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
809 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
811 * configure: Regenerate.
812 * Makefile.in: Regenerate.
813 * external/Makefile.in: Regenerate.
814 * external/sax/Makefile.in: Regenerate.
815 * external/w3c_dom/Makefile.in: Regenerate.
816 * gcj/Makefile.in: Regenerate.
817 * include/Makefile.in: Regenerate.
818 * libltdl/Makefile.in: Regenerate.
819 * testsuite/Makefile.in: Regenerate.
821 2005-05-16 Tom Tromey <tromey@redhat.com>
823 * java/nio/charset/Charset.java (encode, decode): Synchronize on
824 'this', not the class.
826 2005-05-16 Tom Tromey <tromey@redhat.com>
828 * gnu/java/net/protocol/http/Headers.java (parse): Include final
831 2005-05-16 Tom Tromey <tromey@redhat.com>
834 * java/net/URI.java (unquote): Handle lower-case letters as well.
836 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
839 * gnu/regexp/RE.java: Add support for quoting constructs.
841 2005-05-15 Tom Tromey <tromey@redhat.com>
843 * java/lang/String.java (startsWith): Fixed javadoc.
845 2005-05-15 Tom Tromey <tromey@redhat.com>
848 * testsuite/libjava.compile/pr21519.java: New file.
849 * testsuite/libjava.compile/pr21519.no-link: New file.
851 2005-05-15 Tom Tromey <tromey@redhat.com>
853 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
855 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
858 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
859 interrupt status flag if _Jv_CondWait is interrupted.
861 2005-05-13 Tom Tromey <tromey@redhat.com>
863 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
866 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
868 * include/jvm.h (gcj::verifyClasses): Declare.
869 * link.cc (gcj::verbose_class_flag): Moved.
870 * prims.cc (gcj::verifyClasses): Define here.
871 (gcj::verbose_class_flag): Move definition here.
872 (_Jv_Linker::wait_for_state): Don't call verify_class
873 if gcj::verifyClasses is not set.
874 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
876 2005-05-12 Aaron Luchko <aluchko@redhat.com>
878 * gij.cc (main): Recognize '-verify', '-noverify', and
881 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
883 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
885 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
887 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
890 2005-05-11 Tom Tromey <tromey@redhat.com>
892 * external/w3c_dom/Makefile.in: Rebuilt.
893 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
895 * external/sax/Makefile.in: Rebuilt.
896 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
898 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
900 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
901 Call _Jv_CopyClassesToSystemLoader.
902 * java/lang/natClassLoader.cc (system_class_list): New global.
903 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
905 (_Jv_CopyClassesToSystemLoader): New function.
906 (SYSTEM_LOADER_INITIALIZED): New define.
907 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
908 (_Jv_CheckABIVersion): Use it.
909 (_Jv_ClassForBootstrapLoader): New function.
910 * Makefile.in: Rebuilt.
911 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
913 2005-05-10 Tom Tromey <tromey@redhat.com>
915 * gcj/javaprims.h: Updated.
916 * java/lang/String.java (String(StringBuilder)): New constructor.
917 * java/lang/natStringBuilder.cc: New file.
918 * java/lang/StringBuilder.java: New file.
919 * Makefile.in: Rebuilt.
920 * Makefile.am (core_java_source_files): Added StringBuilder.java.
921 (nat_source_files): Added natStringBuilder.cc.
923 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
926 * testsuite/libjava.jacks/jacks.xfail: Adjust.
928 2005-05-09 Mike Stump <mrs@apple.com>
930 * configure: Regenerate.
932 2005-05-09 David Daney <ddaney@avtrex.com>
934 * java/util/BitSet.java (get(int, int)): Fix breakage when
935 requested set doesn't start on a multiple of 64.
937 2005-05-07 Matthias Klose <doko@debian.org>
939 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
941 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
943 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
944 * Makefile.in: Regenerate.
945 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
946 (createCompatibleVolatileImage(int,int)): Implement.
947 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
949 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
951 (createVolatileImage): Implement.
952 (createBuffers): Likewise.
953 (getBackBuffer): Likewise.
955 (destroyBuffers): Likewise.
956 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
957 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
958 (CanvasFlipBufferStrategy): Likewise.
959 (createBufferStrategy(int)): New method.
960 (createBufferStrategy(int,BufferCapabilities)): Likewise.
961 * java/awt/Component.java (BltBufferStrategy): Implement and
963 (FlipBufferStrategy): Likewise.
964 * java/awt/Window.java (WindowBltBufferStrategy): New class.
965 (WindowFlipBufferStrategy): Likewise.
966 (createBufferStrategy(int)): New method.
967 (createBufferStrategy(int,BufferCapabilities)): Likewise.
968 (getBufferStrategy): Likewise.
969 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
970 front to frontCaps and back to backCaps.
972 2005-05-06 Michael Koch <konqueror@gmx.de>
974 * java/awt/BufferCapabilities.java
975 (BufferCapabilities): Merged javadoc.
977 2005-05-06 Michael Koch <konqueror@gmx.de>
979 * java/util/Locale.java
980 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
981 (getLocale): New methods. Use it everywhere where instances of Locales
983 (getDisplayLanguage): Merged javadoc.
984 (getDisplayCountry): Likewise.
985 (getDisplayVariant): Likewise.
987 2005-05-06 Archie Cobbs <archie@dellroad.org>
989 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
990 use DeleteLocalRef() to avoid exhausting local native references.
992 2005-05-06 Mark Wielaard <mark@klomp.org>
994 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
995 (window_delete_cb): Don't use C++ style comments.
997 2005-05-06 Robert Schuster <thebohemian@gmx.net>
999 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
1002 2005-05-06 Robert Schuster <thebohemian@gmx.net>
1004 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
1005 (window_delete_cb): Made the function return TRUE.
1007 2005-05-06 Roman Kennke <roman@kennke.org>
1009 * javax/swing/text/PlainView.java
1010 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
1012 * javax/swing/text/Utilities.java
1013 (drawTabbedText): Initilialize local variable pos correctly.
1015 2005-05-06 Roman Kennke <roman@kennke.org>
1017 * javax/swing/text/AbstractDocument.java
1018 (LeafElement): Made start and end package private fields for
1019 effective reindexing.
1020 * javax/swing/text/PlainDocument.java
1021 (constructor): The field rootElement is always BranchElement,
1022 so we handle it as such.
1023 (removeUpdate): Rewritten reindexing for removeUpdate so that
1024 the actual removal is taken into account.
1026 2005-05-06 Roman Kennke <roman@kennke.org>
1028 * javax/swing/text/GapContent.java:
1029 Removed debugging output stuff, which I accidentally left in.
1031 2005-05-06 Roman Kennke <roman@kennke.org>
1033 * javax/swing/text/GapContent.java:
1034 Implemented a real GapContent. Only the public methods have
1035 been implemented so far and still no UndoableEdit support.
1037 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
1039 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
1042 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1044 * java/awt/image/BufferStrategy.java: Document.
1046 * java/awt/BufferCapabilities.java: Document.
1048 2005-05-04 Tom Tromey <tromey@redhat.com>
1050 * java/nio/channels/FileLock.java (toString): Entirely avoid
1053 2005-05-04 Andrew Overholt <overholt@redhat.com>
1055 * java/nio/channels/FileLock.java (toString): Re-implement using
1058 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1060 * java/awt/ImageCapabilities.java: Document.
1062 * java/awt/image/VolatileImage.java: Unindent copyright header.
1064 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
1066 * java/awt/image/VolatileImage.java: Document.
1068 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
1070 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
1071 (init_glib_threads): Check if threading system is already
1074 2005-05-03 Andrew Overholt <overholt@redhat.com>
1077 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
1078 could not be acquired.
1079 * java/nio/channels/FileLock.java (toString): Re-implement to be
1080 in line with other implementations.
1082 2005-05-03 Tom Tromey <tromey@redhat.com>
1084 * java/lang/VMSecurityManager.java (currentClassLoader): Use
1085 'systemClasssLoader' directly.
1087 2005-05-03 Tom Tromey <tromey@redhat.com>
1089 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
1090 call VMClassLoader.getSystemClassLoader.
1092 2005-04-29 Michael Koch <konqueror@gmx.de>
1094 * java/net/NetworkInterface.java
1096 (NetworkInterface(String,InetAddress)): Made package-private.
1097 (NetworkInterface(String,InetAddress[])): New constructor.
1098 (getRealNetworkInterfaces): Removed.
1099 (getByName): Use VMNetworkInterface.getInterfaces().
1100 (getByInetAddress): Likewise.
1101 (getNetworkInterfaces): Likewise.
1102 * java/net/VMNetworkInterface.java,
1103 java/net/natVMNetworkInterfaceNoNet.cc,
1104 java/net/natVMNetworkInterfacePosix.c,c
1105 java/net/natVMNetworkInterfaceWin32.cc: New files.
1106 * java/net/natNetworkInterfaceNoNet.cc,
1107 java/net/natNetworkInterfacePosix.cc,
1108 java/net/natNetworkInterfaceWin32.cc: Removed.
1111 * configure, Makefile.in: Regenerated.
1113 2005-04-29 Andrew Haley <aph@redhat.com>
1115 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
1117 2005-04-29 Dalibor Topic <robilad@kaffe.org>
1119 * java/nio/channels/FileChannelImpl.java
1120 (FileChannelImpl(String, int)): Removed.
1121 (FileChannelImpl(File, int)): Added. Check if opened file is a
1123 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
1124 Call FileChannelImpl(File, int).
1125 * java/io/FileOutputStream.java (FileInputStream): Call
1126 FileChannelImpl(File, int).
1127 * java/io/RandomAccessFile.java (RandomAccessFile):
1128 Call FileChannelImpl(File, int). Switched constructors around.
1130 2005-04-27 Andrew Haley <aph@redhat.com>
1133 * prims.cc (_Jv_ResolvePoolEntry): New function.
1134 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
1135 * link.cc (_Jv_Linker::find_field): New arg: found_class.
1136 (resolve_pool_entry): Initialize the class in which a field is
1138 (link_symbol_table): Pass new arg to found_class.
1140 2005-04-29 Michael Koch <konqueror@gmx.de>
1142 * java/nio/charset/Charset.java
1143 (provider): Reformatted.
1145 2005-04-29 Michael Koch <konqueror@gmx.de>
1147 * gnu/java/net/protocol/http/HTTPConnection.java:
1148 (userAgent): Initialize from system properties.
1149 (initUserAgent): Removed.
1151 2005-04-29 Mark Wielaard <mark@klomp.org>
1153 * java/util/ResourceBundle.java (getObject): Clarify
1154 MissingResourceException detailed message.
1155 (tryBundle(String,ClassLoader)): Likewise.
1157 2005-04-29 Robert Schuster <thebohemian@gmx.net>
1159 * java/beans/FeatureDescriptor.java:
1160 (getShortDescription): Implemented fallback mechanism and fixed
1161 documentation (fixes bug #12637).
1162 (getDisplayName): Dito.
1164 2005-04-29 Robert Schuster <thebohemian@gmx.net>
1166 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
1167 will now be set correctly.
1168 (flushCaches): Now flushes all cached intermediate data.
1170 2005-04-28 Michael Koch <konqueror@gmx.de>
1172 * java/net/InetAddress.java
1173 (aton): Fixed javadoc.
1176 2005-04-28 Tom Tromey <tromey@redhat.com>
1178 * javax/swing/Timer.java
1179 (drainEvents, queueEvent): Now package-private.
1181 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
1183 * javax/swing/Timer.java
1184 (constructor): Assigning initialDelay.
1186 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
1188 * javax/swing/Timer.java
1189 (Waker.run): firing the first action event.
1191 2005-04-28 Michael Koch <konqueror@gmx.de>
1193 * javax/swing/Timer.java: Reordered all fields and methods,
1194 Added more javadocs.
1196 2005-04-28 Michael Koch <konqueror@gmx.de>
1198 * javax/swing/Timer.java: Javadocs merged
1201 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
1203 * gnu/java/net/protocol/file/Connection.java
1204 (StaticData): New inner class to contain statics.
1205 (connect, getHeaderField): Modified to use StaticData.
1207 2005-04-28 Michael Koch <konqueror@gmx.de>
1209 * gnu/java/net/protocol/file/Connection.java
1210 (lineSeparator): Initialize with SystemProperties.getProperty().
1212 2005-04-27 Chris Burdess <dog@gnu.org>
1214 * gnu/java/net/protocol/file/Connection.java: Return correct content
1215 length for directory listing.
1216 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
1217 #11285: return valid URLs for directories.i
1219 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
1221 * Makefile.am (ordinary_java_source_files): Add
1222 gnu/java/net/protocol/https/Handler.java.
1223 * Makefile.in: Regenerate.
1224 * java/net/URL.java: Remove org.metastatic.jessie from default
1225 protocol search path.
1227 2005-04-27 Chris Burdess <dog@gnu.org>
1229 * gnu/java/net/protocol/https/Handler.java: New file.
1231 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
1233 * javax/imageio/spi/IIORegistry.java (IIORegistry):
1234 Don't assume that awt Toolkit is always ClasspathToolkit.
1236 2005-04-27 Chris Burdess <dog@gnu.org>
1238 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
1239 absolute and relative paths in Location header.
1241 2005-04-27 Chris Burdess <dog@gnu.org>
1243 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
1244 FileNotFoundException and implement getErrorStream on 404.
1246 2005-04-27 Sven de Marothy <sven@physto.se>
1248 * java/util/TimeZone.java,
1249 (getDefaultDisplayName): Fix previous fix.
1251 2005-04-27 Sven de Marothy <sven@physto.se>
1253 * java/util/TimeZone.java,
1254 (getDefaultDisplayName): Don't print zero offsets.
1256 2005-04-27 Roman Kennke <roman@kennke.org>
1258 * javax/swing/plaf/basic/BasicScrollBarUI
1259 (getThumbBounds): Do not make thumb smaller than
1261 * javax/swing/plaf/metal/MetalLookAndFeel
1262 (initComponentDefaults): Added color defaults for ScrollBar.
1263 * javax/swing/plaf/metal/MetalScrollBarUI
1264 (paintThumb): Added.
1265 (getMinimumThumbSize): Added.
1267 2005-04-27 Roman Kennke <roman@kennke.org>
1269 * javax/swing/plaf/metal/MetalLookAndFeel
1270 (initComponentDefaults): Added some default colors.
1272 2005-04-27 Roman Kennke <roman@kennke.org>
1274 * javax/swing/plaf/basic/BasicScrollBarUI.java
1275 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
1276 to 'ScrollBar.thumbShadow'. The formes does not exist.
1277 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
1279 2005-04-27 Roman Kennke <roman@kennke.org>
1281 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
1282 * javax/swing/BoxLayout.java: Likewise.
1283 * javax/swing/UIManager.java: Likewise.
1284 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1285 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
1286 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1287 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
1288 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
1289 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
1290 * javax/swing/text/Document.java: Likewise.
1291 * javax/swing/text/GapContent.java: Likewise.
1292 * javax/swing/text/SimpleAttributeSet.java: Likewise.
1293 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
1295 2005-04-27 Roman Kennke <roman@kennke.org>
1297 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1298 (getPropertyPrefix): Added.
1300 2005-04-27 Roman Kennke <roman@kennke.org>
1302 * javax/swing/plaf/basic/BasicButtonUI.java
1303 (getPropertyPrefix): Added.
1304 (installDefaults): Use getPropertyPrefix instead of hard-coded
1307 2005-04-27 Roman Kennke <roman@kennke.org>
1309 * javax/swing/JToggleButton.java
1310 (JToggleButton): Removed horizontalAlignment setting, this
1311 was wrong. Added setting of an actionCommand, ToggleButtons
1312 have "" as default actionCommand.
1314 2005-04-27 Michael Koch <konqueror@gmx.de>
1316 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
1317 to work around CNI limitation.
1319 2005-04-27 Sven de Marothy <sven@physto.se>
1321 * java/nio/charset/Charset.java:
1322 (defaultCharset()): New method.
1323 Status updated to 1.5
1325 2005-04-27 Sven de Marothy <sven@physto.se>
1327 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
1329 2005-04-27 Sven de Marothy <sven@physto.se>
1331 * java/nio/charset/Charset.java: Reset cached de/encoders.
1333 2005-04-27 Robert Schuster <thebohemian@gmx.net>
1335 * java/nio/charset/Charset.java (forName): Throws
1336 IllegalArgumentException when argument is null
1337 and added documentation.
1339 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
1341 * java/nio/charset/Charset.java (providers):
1342 New method to make an array of CharsetProviders defined in
1343 META-INF/services/java.nio.charset.spi.CharsetProvider.
1344 (charsetForName, availableCharsets): Use the
1345 new method providers().
1347 2005-04-26 Michael Koch <konqueror@gmx.de>
1349 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
1350 Fixed typos in javadocs.
1351 (isSiteLocalAddress): Fixed handling of byte values.
1352 (isMCLinkLocal): Likewise.
1353 * java/net/Inet4Address.java
1354 (isMulticastAddress): Call super method.
1355 (isLoopbackAddress): Likewise.
1356 (isAnyLocalAddress): Likewise.
1357 (isLinkLocalAddress): Likewise.
1358 (isSiteLocalAddress): Likewise.
1359 (isMCGlobal): Likewise.
1360 (isMCNodeLocal): Likewise.
1361 (isMCLinkLocal): Likewise.
1362 (isMCSiteLocal): Likewise.
1363 (isMCOrgLocal): Likewise.
1364 (getHostAddress): Likewise.
1366 2005-04-26 Sven de Marothy <sven@physto.se>
1368 * java/net/InetAddress.java
1369 (toString): Don't print empty hostnames.
1371 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
1374 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
1375 'false' to native lock().
1376 (lock): Pass 'true' to native lock().
1378 2005-04-26 Michael Koch <konqueror@gmx.de>
1380 * java/net/InetAddress.java:
1381 Fixed typos in javadocs.
1383 2005-04-26 Andrew Haley <aph@redhat.com>
1386 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1389 2005-04-26 Tom Tromey <tromey@redhat.com>
1391 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1392 gnu): Now package-private.
1393 * javax/swing/text/html/parser/DocumentParser.java (parser,
1394 callBack, gnu): Now package-private.
1395 * javax/swing/text/StringContent.java (content, setOffset,
1396 checkLocation): Now package-private.
1397 * javax/swing/text/JTextComponent.java (doc): Now
1399 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1400 lastGoodOrientation, origParent, borders, cachedBounds,
1401 cachedOrientation, DragWindow): Now package-private.
1402 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1403 decrButton, viewport, panel, currentScrollLocation, layoutManager,
1404 tabAreaRect, contentRect, createIncreaseButton,
1405 createDecreaseButton, findPointForIndex): Now package-private.
1406 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1407 (currentDividerLocation, moveDividerTo): Now package-private.
1408 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1410 * javax/swing/plaf/basic/BasicScrollBarUI.java
1411 (calculatePreferredSize, valueForYPosition, valueForXPosition):
1412 Now package-private.
1413 * javax/swing/plaf/basic/BasicPopupMenuUI.java
1414 (topWindowListener): Now package-private.
1415 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1416 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1417 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1419 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1421 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1422 Now package-private.
1423 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1425 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1426 borderInsets): Now package-private.
1427 (arrowButtonWidth): Likewise. Now a constant.
1428 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1429 makeTabs, updatePreviewPanel): Now package-private.
1430 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1431 darkShadow, highlight): Now package-private.
1432 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1433 (addColorToQueue): Now package-private.
1434 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1435 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1436 GSpinner, BSpinner): Now package-private.
1437 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1438 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1439 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1440 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1441 updateTrack): Now package-private.
1442 * javax/swing/TransferHandler.java (clipboard): Now
1444 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1446 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1448 * javax/swing/RepaintManager.java (globalManager): Now
1450 * javax/swing/JFormattedTextField.java (editValid): Now
1452 * javax/swing/JColorChooser.java (makeModal): Now
1454 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1455 index, path): Now package-private.
1456 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1457 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1458 pointEquals): Now package-private.
1459 * java/awt/geom/Arc2D.java (type): Now package-private.
1460 * java/awt/Window.java (windowFocusOwner): Now package-private.
1461 * java/awt/TextComponent.java (editable, selectionStart,
1462 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1464 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1466 * java/awt/MenuComponent.java (focusListener): Now
1468 * java/awt/Frame.java (state): Now package-private.
1469 * java/awt/Choice.java (pItems): Now package-private.
1470 * java/awt/Checkbox.java (state): Now package-private.
1471 * java/awt/Button.java (actionCommand, label): Now
1473 * gnu/javax/swing/text/html/parser/support/Parser.java
1474 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1476 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1478 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1479 clip, transform, font, comp): Now package-private.
1481 2005-04-26 Tom Tromey <tromey@redhat.com>
1483 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1486 2005-04-26 Mark Wielaard <mark@klomp.org>
1488 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1489 to MalformedURLException.
1491 2005-04-26 Michael Koch <konqueror@gmx.de>
1493 * java/security/AccessControlContext.java:
1495 (protectedDomains): Renamed from 'protectionDomain'.
1496 * java/security/AccessController.java:
1499 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1501 * gnu/java/security/action/GetSecurityPropertyAction.java
1502 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1503 of extending GetPropertyAction.
1506 (setParamters): New methods.
1507 (GetSecurityPropertyAction): Use new setParameters methods.
1509 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1511 * java/security/Security.java,
1512 java/security/cert/X509CRLSelector.java,
1513 java/security/cert/X509CertSelector.java:
1514 Modified to use SystemProperties.
1516 2005-04-26 Michael Koch <konqueror@gmx.de>
1518 * java/lang/System.java
1519 (setSecurityManager): Fixed comment.
1520 (getSecurityManager): Removed obsolete comment.
1522 2005-04-25 Tom Tromey <tromey@redhat.com>
1524 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1526 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1528 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1529 (connectSignals): Realize the window widget after connecting
1532 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1534 * java/awt/GraphicsEnvironment.java
1535 (localGraphicsEnvironment): New field.
1536 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1538 (isHeadless): Added support for java.awt.headless property.
1539 (isHeadlessInstance): Call headless().
1541 2005-04-25 Roman Kennke <roman@kennke.org>
1543 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1544 (getDisplayMode): Added. Returns the current display mode.
1545 (isFullScreenSupported): Added.
1546 * java/awt/GraphicsDevice.java
1547 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1548 This resizes and relocates the fullscreen window so that it uses
1549 the whole screen. This is not a fully accelerated fullscreen
1552 2005-04-25 Michael Koch <konqueror@gmx.de>
1554 * java/lang/Runtime.java,
1555 java/lang/SecurityManager.java,
1556 java/lang/System.java,
1557 java/lang/ThreadGroup.java:
1558 Replaced java.lang.Runtime.securityManager by
1559 java.lang.SecurityManager.current (as used in GNU classpath).
1561 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1563 * java/awt/Transparency.java
1564 (getTransparency): fixed API docs.
1566 2005-04-25 Archie Cobbs <archie@dellroad.org>
1568 * java/lang/Throwable.java: simplify initializing cause in constructor
1570 2005-04-25 Michael Koch <konqueror@gmx.de>
1572 * gnu/classpath/SystemProperties.java: New file.
1573 * gnu/classpath/natSystemProperties.cc: New file.
1574 * java/lang/Runtime.java
1575 (defaultProperties): Removed.
1577 (): Made thrown exceptions more verbose.
1578 (insertSystemProperties): Removed.
1579 * java/lang/System.java
1581 (properties): Likewise.
1582 (setSecurityManager): Reordered modifiers.
1583 (getenv): Improved javadoc.
1585 (isWordsBigEndian): Removed.
1586 * java/lang/natRuntime.cc
1587 (_Jv_SetDLLSearchPath): Likewise.
1588 (file_encoding): Likewise.
1589 (default_file_encoding): Likewise.
1590 (getpwuid_adaptor): Likewise.
1591 (insertSystemProperties): Likewise.
1592 * java/lang/natSystem.cc
1593 (isWordsBigEndian): Likewise.
1595 (ordinary_java_source_files):
1596 Added gnu/classpath/SystemProperties.java.
1597 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1598 * Makefile.in: Regenerated.
1600 2005-04-25 Roman Kennke <roman@kennke.org>
1602 * javax/swing/plaf/basic/BasicScrollBarUI.java
1603 (initDefaults): Initialize thumb*Color fields correctly.
1605 2005-04-25 Roman Kennke <roman@kennke.org>
1607 * javax/swing/text/GapContent.java:
1610 2005-04-25 Roman Kennke <roman@kennke.org>
1612 * javax/swing/plaf/metal/MetalBorders.java:
1613 Added inner class ScrollPaneBorder.
1614 * javax/swing/plaf/metal/MetalLookAndFeel.java
1615 (initComponentDefaults): Added default for "ScrollPane.border"
1616 to use the new ScrollPaneBorder.
1618 2005-04-25 Roman Kennke <roman@kennke.org>
1620 * javax/swing/text/AbstractDocument.java:
1621 Added FIXME comments. This class still has to be
1622 implemented thread-safe.
1624 2005-04-25 Roman Kennke <roman@kennke.org>
1626 * javax/swing/tree/DefaultTreeSelectionModel.java
1627 (DefaultTreeSelectionModel): Initialize listenerList here.
1629 2005-04-25 Roman Kennke <roman@kennke.org>
1631 * javax/swing/plaf/metal/MetalTextFieldUI.java
1632 (createUI): Return one instance per Component instead of a
1635 2005-04-25 Roman Kennke <roman@kennke.org>
1637 * javax/swing/text/Document.java:
1638 Added API documentation comments.
1640 2005-04-25 Roman Kennke <roman@kennke.org>
1642 * javax/swing/text/AbstractDocument.java
1643 (getDocumentProperties): Implemented.
1644 (setDocumentProperties): Implemented.
1645 (getProperty): Implemented.
1646 (putProperty): Implemented.
1648 2005-04-25 Roman Kennke <roman@kennke.org>
1650 * javax/swing/BoxLayout
1651 (preferredLayoutSize): Fixed computation so that it correctly
1652 adds the top and bottom insets of the container.
1654 2005-04-25 Roman Kennke <roman@kennke.org>
1656 * javax/swing/plaf/basic/BasicMenuItemUI.java
1657 (paintText): Make use of the 'selectionForeground' UI default
1660 2005-04-25 Roman Kennke <roman@kennke.org>
1662 * javax/swing/plaf/basic/BasicLookAndFeel.java
1663 (initSystemColorDefaults): Modified colors to match the
1664 BasicLookAndFeel in the reference implementation.
1665 (initComponentDefaults): Likewise.
1667 2005-04-25 Tom Tromey <tromey@redhat.com>
1669 * include/jni.h (_Jv_va_list): Removed.
1670 Moved configuration code...
1671 * include/jni_md.h: ... here. New file.
1672 * include/Makefile.in: Rebuilt.
1673 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1675 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1677 * java/io/FileInputStream.java (FileInputStream(File)),
1678 java/io/FileOutputStream.java (FileOutputStream(File)):
1679 Removed unnecessary File.isDirectory() check.
1681 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1683 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1684 gij if get_multilibs fails.
1686 2005-04-22 Anthony Green <green@redhat.com>
1688 * jni.cc (natrehash): Don't bother clearing memory again.
1689 * interpret.cc (do_allocate_static_fields): Ditto.
1690 * java/lang/natString.cc (rehash): Ditto.
1692 2005-04-22 Roman Kennke <roman@kennke.org>
1694 * javax/swing/plaf/basic/BasicLookAndFeel.java
1695 (initComponentDefaults): Changed Button.border to be
1696 BasicBorders.getButtonBorder as it should be.
1698 2005-04-22 Roman Kennke <roman@kennke.org>
1700 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1701 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1702 should according to a mauve testcase, instead of the preferred
1705 2005-04-22 Roman Kennke <roman@kennke.org>
1707 * javax/swing/JMenu.java
1708 (add): add(Component) now calls PopupMenu.insert(..) instead of
1709 PopupMenu.add(..). add(..) is not implemented for Component,
1710 so JComponent.add(..) is called instead, adding the component
1713 2005-04-22 Roman Kennke <roman@kennke.org>
1715 * javax/swing/plaf/basic/BasicButtonListener.java
1716 (mousePressed): replaced query to getModifiersEx with getModifiers.
1717 This method relied on faulty behaviour in getModifierEx.
1718 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1719 This method relied on faulty behaviour in getModifierEx.
1721 2005-04-22 Roman Kennke <roman@kennke.org>
1723 * javax/swing/plaf/metal/MetalLookAndFeel.java
1724 (getDefaults): Call addCustomEntriesToTable on the theme.
1726 2005-04-22 Roman Kennke <roman@kennke.org>
1728 * javax/swing/tree/DefaultTreeSelectionModel.java
1729 (constructor): Added implementation.
1730 (getRowMapper): Added implementation.
1731 (setSelectionMode): Added implementation.
1732 (getSelectionMode): Added implementation.
1733 (getSelectionPath): Added implementation.
1734 (getSelectionPaths): Added implementation.
1735 (getSelectionCount): Added implementation.
1736 (isSelectionEmpty): Added implementation.
1737 (getSelectionRows): Added implementation.
1738 (getMinSelectionRow): Added implementation.
1739 (getMaxSelectionRow): Added implementation.
1740 (getLeadSelectionRow): Added implementation.
1741 (getLeadSelectionPath): Added implementation.
1743 2005-04-22 Casey Marshall <csm@gnu.org>
1745 * gnu/java/security/der/DERValue.java
1746 (getValueAs): new method.
1747 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1748 (<init>): read both dates with 'DERValue.getValueAs', with
1749 'GENERALIZED_TIME' as the argument.
1751 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1753 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1754 be null, check for that case and don't deference it.
1756 2005-04-22 Sven de Marothy <sven@physto.se>
1758 * java/util/logging/LogManager.java: Reformatted.
1759 (readConfiguration): If a logger for a key is not found, create one.
1761 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1763 * java/rmi/Naming.java:
1764 Added class documentation.
1765 (lookup(String)): Call parseURL and getName.
1766 (bind(String,java.rmi.Remote)): Likewise.
1767 (unbind(String)): Likewise.
1768 (rebind(String, java.rmi.Remote)): Likewise.
1769 (list(String)): Call parseURL.
1770 (parseURL(String)): New method to handle parsing and defaults.
1771 (getName(java.net.URL)): New method to handle finding the service name.
1773 2005-04-21 Tom Tromey <tromey@redhat.com>
1775 * java/lang/natClass.cc (initializeClass): Link class.
1777 2005-04-21 Tom Tromey <tromey@redhat.com>
1779 * java/lang/AssertionError.java: Typo fix.
1781 2005-04-21 Tom Tromey <tromey@redhat.com>
1783 * java/lang/VMClassLoader.java (transformException): Removed.
1784 (resolveClass): No longer native. Now does nothing.
1785 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1787 2005-04-21 Anthony Green <green@redhat.com>
1790 * testsuite/libjava.special/special.exp,
1791 testsuite/libjava.special/pr21115I.java,
1792 testsuite/libjava.special/pr21115.java,
1793 testsuite/libjava.special/pr21115.out: New files.
1795 2005-04-21 Chris Burdess <dog@gnu.org>
1797 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1798 CRLF-delimited chunks.
1800 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1802 * java/net/URI.java:
1803 Added class documentation.
1804 (parseURI(String)): Only handle scheme-specific parts
1805 if URI is not opaque. Allow for parts that can't be null.
1806 (toString()): Output the scheme-specific part whole, rather
1807 than as its possibly non-existent components.
1809 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1811 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1812 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1813 Adjusted to match new regexp.
1815 2005-04-20 Michael Koch <konqueror@gmx.de>
1817 * gnu/java/net/protocol/file/Connection.java,
1818 gnu/java/net/protocol/jar/Connection.java:
1819 Reorganized import statements. Fixed @author tags.
1821 2005-04-20 Chris Burdess <dog@gnu.org>
1823 * java/io/DataOutputStream.java (writeUTF): Use block write for
1826 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1828 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1829 (readLine): Changed newline handling.
1831 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1833 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1834 ColorModel,byte[],int,int): Fixed byte to int conversion.
1836 2005-04-20 Michael Koch <konqueror@gmx.de>
1838 * java/io/FilePermission.java
1839 (serialVersionUID): Made private.
1840 (ALL_FILES): New constant.
1841 (implies): Handle '<<ALL FILES>>' case.
1843 2005-04-20 Sven de Marothy <sven@physto.se>
1845 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1846 (drawImage): Don't notify the image observer for offscreen images.
1847 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1848 (setPixels): Don't notify the image observer.
1850 2005-04-20 Sven de Marothy <sven@physto.se>
1852 * java/nio/ByteBufferImpl.java:
1853 (putChar): Inlined for speed.
1854 (put, get): Bulk methods can use arraycopy.
1855 * java/nio/CharBufferImpl.java:
1856 (put, get): Bulk methods can use arraycopy.
1858 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1860 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1862 * java/nio/CharBufferImpl.java
1863 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1864 (get(), put(char)): Inlined checks and field updates. Fixed to
1865 take array_offset into account.
1866 (get(int), put(int, char)): Fixed to take array_offset into account.
1868 2005-04-20 Sven de Marothy <sven@physto.se>
1870 * java/text/SimpleDateFormat.java:
1871 (formatWithAttribute): Pad year before truncating digits.
1873 2005-04-20 Michael Koch <konqueror@gmx.de>
1875 * gnu/java/net/PlainDatagramSocketImpl.java:
1876 Merged copyright header.
1877 * gnu/java/net/PlainSocketImpl.java:
1878 Reorganized import statements. Fixed @author tags.
1880 2005-04-20 Michael Koch <konqueror@gmx.de>
1882 * gnu/java/lang/ClassHelper.java,
1883 gnu/java/lang/reflect/TypeSignature.java:
1886 2005-04-20 Michael Koch <konqueror@gmx.de>
1888 * gnu/java/beans/IntrospectionIncubator.java:
1889 Fixed HTML tags in javadocs.
1891 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1893 * gnu/java/beans/IntrospectionIncubator.java
1894 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1895 set(), is(), add() and remove() with properties or events.
1897 2005-04-20 Michael Koch <konqueror@gmx.de>
1899 * gnu/java/awt/image/XBMDecoder.java:
1900 Fixed modifier order.
1902 2005-04-20 Roman Kennke <roman@kennke.org>
1904 * javax/swing/plaf/basic/BasicButtonUI.java
1905 (paint): This should not care about margin and insets
1906 at the same time, as insets already include the margin
1908 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1909 (getPreferredButtonSize): Likewise.
1910 * javax/swing/plaf/metal/MetalBorders.java
1911 (getBorderInsets): Likewise.
1913 2005-04-20 Roman Kennke <roman@kennke.org>
1915 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1916 (createMessageArea): The JPanel that holds the message area
1917 doesn't need to override getPreferredSize. This prevents some
1918 message components from rendering nicely.
1920 2005-04-20 Roman Kennke <roman@kennke.org>
1922 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1923 (createUI): Do not share instances between components.
1924 * javax/swing/plaf/metal/MetalSliderUI.java
1925 (createUI): Do not share instances between components.
1927 2005-04-20 Roman Kennke <roman@kennke.org>
1929 * javax/swing/plaf/metal/MetalBorders:
1930 (PopupMenuBorder): Added.
1931 * javax/swing/plaf/metal/MetalLookAndFeel
1932 (initComponentDefaults): Added PopupMenuBorder.
1934 2005-04-20 Roman Kennke <roman@kennke.org>
1936 * javax/swing/tree/DefaultTreeSelectionModel.java:
1937 Added API documentation all over the class.
1939 2005-04-20 Roman Kennke <roman@kennke.org>
1941 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1942 (installDefaults): Link managed JScrollPane in instance field.
1943 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1945 2005-04-20 Roman Kennke <roman@kennke.org>
1947 * javax/swing/plaf/basic/BasicScrollBarUI.java
1948 (PropertyChangeHandler.propertyChange): Add default
1949 to switch statement to avoid errors with unusual values
1951 (installComponents): Likewise.
1953 2005-04-20 Roman Kennke <roman@kennke.org>
1955 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1956 (createUI): Instances cannot be shared among JScrollPanes.
1958 2005-04-20 Roman Kennke <roman@kennke.org>
1960 * javax/swing/plaf/metal/MetalLookAndFeel.java
1961 (initComponentDefaults): Added defaults for Menu, MenuBar
1964 2005-04-20 Roman Kennke <roman@kennke.org>
1966 * javax/swing/plaf/basic/BasicScrollBarUI.java
1967 (installUI): Install listeners after everything all, otherwise
1968 we get strange NPEs in some situations, especially with
1970 (createIncreaseButton): Orientation is expected to be
1971 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1972 HORIZONTAL or VERTICAL.
1973 (createDecreaseButton): Orientation is expected to be
1974 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1975 HORIZONTAL or VERTICAL.
1976 (installComponents): Orientation for buttons is expected to be
1977 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1978 HORIZONTAL or VERTICAL.
1980 2005-04-20 Roman Kennke <roman@kennke.org>
1982 * javax/swing/JToolBar.java
1983 (addImpl): Adjust added AbstractButtons to look and feel like
1985 * javax/swing/plaf/metal/MetalBorders.java:
1986 Adjusted insets of ButtonBorder.
1987 (RolloverMarginBorder): Added class for toolbar buttons.
1988 (getButtonBorder): Adjusted factory method to return a shared
1989 instance of button border.
1990 (getToolbarButtonBorder): Added factory method to return a shared
1991 instance of toolbar button border.
1992 (getMarginBorder): Added factory method to return a shared
1993 instance of margin border.
1994 * javax/swing/plaf/metal/MetalButtonUI.java
1995 (installDefauls): If button is child of a JToolBar then set
1996 special border on this button.
1998 2005-04-20 Michael Koch <konqueror@gmx.de>
2000 * java/net/URLConnection.java
2001 (getContent): Fixed javadoc comment.
2003 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
2005 * java/net/URL.java:
2006 (toURI()): Implemented.
2008 2005-04-19 Michael Koch <konqueror@gmx.de>
2010 * java/net/InetAddress.java
2011 (InetAddress): Fixed javadoc comment.
2013 (lookup): Added javadoc.
2014 (getFamily): Likewise.
2015 * java/net/ServerSocket.java
2016 (getChannel): Improved javadoc comment.
2018 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
2020 * gnu/xml/dom/html2/DomHTMLParser.java:
2021 Changed 'enum' references to become 'enumeration'.
2023 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2025 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
2027 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
2029 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
2030 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
2031 * gnu/javax/swing/text/html/parser/htmlValidator.java:
2032 (validateParameters(TagElement,htmlAttributeSet)):
2033 Replaced 'enum' with 'enumeration'.
2034 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
2037 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2039 * javax/swing/text/html/parser/Entity.java (getType): New method.
2040 * javax/swing/text/html/parser/DocumentParser.java:
2041 Inherit from javax.swing.text.html.parser.Parser.
2043 2005-04-19 Chris Burdess <dog@gnu.org>
2045 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
2046 check for HTML/XHTML namespace.
2048 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2050 * javax/swing/text/html/parser/Parser.java,
2051 javax/swing/text/html/parser/Entity.java:
2052 Inheriting from DTDConstants.
2053 * javax/swing/text/html/parser/AttributeList.java
2054 (getValues): Changed return type.
2055 * javax/swing/text/html/parser/DocumentParser
2056 (parse): Adding the callback parameter that receives
2059 2005-04-19 Chris Burdess <dog@gnu.org>
2061 * gnu/xml/dom/DomImpl.java,
2062 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
2063 gnu/xml/dom/html2/DomHTMLDocument.java,
2064 gnu/xml/dom/html2/DomHTMLElement.java,
2065 gnu/xml/dom/html2/DomHTMLFormElement.java,
2066 gnu/xml/dom/html2/DomHTMLFrameElement.java,
2067 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
2068 gnu/xml/dom/html2/DomHTMLImpl.java,
2069 gnu/xml/dom/html2/DomHTMLInputElement.java,
2070 gnu/xml/dom/html2/DomHTMLObjectElement.java,
2071 gnu/xml/dom/html2/DomHTMLOptionElement.java,
2072 gnu/xml/dom/html2/DomHTMLSelectElement.java,
2073 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
2074 gnu/xml/dom/html2/DomHTMLTableElement.java,
2075 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
2076 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
2077 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
2078 UI events, and tree utility functions.
2080 2005-04-19 Michael Koch <konqueror@gmx.de>
2082 * gnu/javax/swing/text/html/parser/HTML_401F.java,
2083 gnu/javax/swing/text/html/parser/gnuDTD.java,
2084 gnu/javax/swing/text/html/parser/models/node.java:
2085 Reworked import statements.
2087 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
2089 * javax/swing/text/html/HTMLDocument.java: New file.
2091 2005-04-19 Michael Koch <konqueror@gmx.de>
2093 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
2095 * javax/swing/text/html/parser/AttributeList.java:
2096 Fixed order of modifiers.
2097 (AttributeList): Made final.
2098 * javax/swing/text/html/parser/ContentModel.java:
2099 Fixed html characters in javadocs.
2100 * javax/swing/text/html/parser/DTD.java
2101 (DTD): Don't implement java.io.Serializable directly.
2102 (getElement): Simplified.
2103 * javax/swing/text/html/parser/DTDConstants.java:
2105 * javax/swing/text/html/parser/Element.java:
2106 Fixed order of modifiers.
2107 * javax/swing/text/html/parser/Parser.java:
2108 Reformatted. Don't use fully-qualified class names.
2109 * javax/swing/text/html/parser/ParserDelegator.java:
2110 Fixed order of modifiers.
2111 * javax/swing/text/rtf/RTFParser.java:
2112 Re-ordered import statements.
2113 * javax/swing/text/rtf/RTFScanner.java:
2114 Removed unused import statement.
2116 2005-04-19 Chris Burdess <dog@gnu.org>
2118 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
2119 gnu/xml/dom/html2/DomHTMLCollection.java,
2120 gnu/xml/dom/html2/DomHTMLDocument.java,
2121 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
2123 * gnu/xml/dom/html2/DomHTMLDListElement.java,
2124 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
2125 gnu/xml/dom/html2/DomHTMLDivElement.java,
2126 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
2127 gnu/xml/dom/html2/DomHTMLFontElement.java,
2128 gnu/xml/dom/html2/DomHTMLFormElement.java,
2129 gnu/xml/dom/html2/DomHTMLFrameElement.java,
2130 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
2131 gnu/xml/dom/html2/DomHTMLHRElement.java,
2132 gnu/xml/dom/html2/DomHTMLHeadElement.java,
2133 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
2134 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
2135 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
2136 gnu/xml/dom/html2/DomHTMLImageElement.java,
2137 gnu/xml/dom/html2/DomHTMLInputElement.java,
2138 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
2139 gnu/xml/dom/html2/DomHTMLLIElement.java,
2140 gnu/xml/dom/html2/DomHTMLLabelElement.java,
2141 gnu/xml/dom/html2/DomHTMLLegendElement.java,
2142 gnu/xml/dom/html2/DomHTMLLinkElement.java,
2143 gnu/xml/dom/html2/DomHTMLMapElement.java,
2144 gnu/xml/dom/html2/DomHTMLMenuElement.java,
2145 gnu/xml/dom/html2/DomHTMLMetaElement.java,
2146 gnu/xml/dom/html2/DomHTMLModElement.java,
2147 gnu/xml/dom/html2/DomHTMLOListElement.java,
2148 gnu/xml/dom/html2/DomHTMLObjectElement.java,
2149 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
2150 gnu/xml/dom/html2/DomHTMLOptionElement.java,
2151 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
2152 gnu/xml/dom/html2/DomHTMLParamElement.java,
2153 gnu/xml/dom/html2/DomHTMLPreElement.java,
2154 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
2155 gnu/xml/dom/html2/DomHTMLScriptElement.java,
2156 gnu/xml/dom/html2/DomHTMLSelectElement.java,
2157 gnu/xml/dom/html2/DomHTMLStyleElement.java,
2158 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
2159 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
2160 gnu/xml/dom/html2/DomHTMLTableColElement.java,
2161 gnu/xml/dom/html2/DomHTMLTableElement.java,
2162 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
2163 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
2164 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
2165 gnu/xml/dom/html2/DomHTMLTitleElement.java,
2166 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
2168 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2170 * javax/swing/text/ChangedCharSetException.java,
2171 javax/swing/text/html/HTMLEditorKit.java,
2172 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
2173 javax/swing/text/html/parser/AttributeList.java,
2174 javax/swing/text/html/parser/ContentModel.java,
2175 javax/swing/text/html/parser/DocumentParser.java,
2176 javax/swing/text/html/parser/DTD.java,
2177 javax/swing/text/html/parser/DTDConstants.java,
2178 javax/swing/text/html/parser/Element.java,
2179 javax/swing/text/html/parser/Entity.java,
2180 javax/swing/text/html/parser/Parser.java,
2181 javax/swing/text/html/parser/TagElement.java,
2182 gnu/javax/swing/text/html/package.html,
2183 gnu/javax/swing/text/html/parser/gnuDTD.java,
2184 gnu/javax/swing/text/html/parser/HTML_401F.java,
2185 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
2186 gnu/javax/swing/text/html/parser/htmlValidator.java,
2187 gnu/javax/swing/text/html/parser/package.html,
2188 gnu/javax/swing/text/html/parser/models/list.java,
2189 gnu/javax/swing/text/html/parser/models/node.java,
2190 gnu/javax/swing/text/html/parser/models/noTagModel.java,
2191 gnu/javax/swing/text/html/parser/models/package.html,
2192 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
2193 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
2194 gnu/javax/swing/text/html/parser/models/transformer.java,
2195 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
2196 gnu/javax/swing/text/html/parser/support/package.html,
2197 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
2198 gnu/javax/swing/text/html/parser/support/Parser.java,
2199 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
2200 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
2201 gnu/javax/swing/text/html/parser/support/low/Constants.java,
2202 gnu/javax/swing/text/html/parser/support/low/Location.java,
2203 gnu/javax/swing/text/html/parser/support/low/node.java,
2204 gnu/javax/swing/text/html/parser/support/low/package.html,
2205 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
2206 gnu/javax/swing/text/html/parser/support/low/pattern.java,
2207 gnu/javax/swing/text/html/parser/support/low/Queue.java,
2208 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
2210 * javax/swing/text/html/HTML.java,
2211 javax/swing/text/html/parser/ParserDelegator.java:
2212 New files (replacing).
2213 * javax/swing/text/html/package.html,
2214 javax/swing/text/html/parser/package.html: Documenting the
2217 2005-04-19 Chris Burdess <dog@gnu.org>
2219 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
2220 gnu/xml/dom/html2/DomHTMLAppletElement.java,
2221 gnu/xml/dom/html2/DomHTMLAreaElement.java,
2222 gnu/xml/dom/html2/DomHTMLBaseElement.java,
2223 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
2224 gnu/xml/dom/html2/DomHTMLBodyElement.java,
2225 gnu/xml/dom/html2/DomHTMLBRElement.java,
2226 gnu/xml/dom/html2/DomHTMLButtonElement.java,
2227 gnu/xml/dom/html2/DomHTMLCollection.java,
2228 gnu/xml/dom/html2/DomHTMLDocument.java,
2229 gnu/xml/dom/html2/DomHTMLElement.java: New files.
2231 2005-04-19 Michael Koch <konqueror@gmx.de>
2233 * Makefile.am: Added new files.
2234 * Makefile.in: Regenerated.
2236 2005-04-19 Roman Kennke <roman@kennke.org>
2238 * javax/swing/text/JTextComponent.java
2239 (JTextComponent): Added repaintListener which issues repaint
2240 requests when the underlying document changes.
2241 (setDocument): Adds repaintListener to document when the
2242 document is changed.
2243 * javax/swing/text/DefaultEditorKit.java:
2244 Removed repaint calls on JTextComponent. This is now handled
2245 through a DocumentListener in JTextComponent that repaints
2246 the component when needed.
2248 2005-04-19 Roman Kennke <roman@kennke.org>
2251 * javax/swing/text/StyleContext.java
2252 (NamedStyle.setResolveParent): Added null
2255 2005-04-19 Michael Koch <konqueror@gmx.de>
2257 * java/rmi/server/RemoteObject.java:
2258 Removed unused import statement.
2260 2005-04-19 Michael Koch <konqueror@gmx.de>
2262 * java/net/URL.java: Formatting cleanups.
2264 2005-04-19 Michael Koch <konqueror@gmx.de>
2266 * java/awt/FontMetrics.java: Reformatted.
2267 (getFontRenderContext): Handle case when java.awt.Graphics context is
2270 2005-04-19 Michael Koch <konqueror@gmx.de>
2272 * java/awt/FontMetrics.java
2273 (getStringBounds): New methods.
2276 2005-04-19 Michael Koch <konqueror@gmx.de>
2278 * gnu/java/security/x509/X509Certificate.java
2279 (parse): Handle val == null case.
2281 2005-04-19 Roman Kennke <roman@kennke.org>
2283 * javax/swing/plaf/metal/MetalLookAndFeel.java
2284 (initComponentDefaults): Added defaults for Menu, MenuBar
2287 2005-04-19 Roman Kennke <roman@kennke.org>
2289 * javax/swing/plaf/metal/MetalLookAndFeel.java
2290 (initComponentDefaults): Added Label.font.
2291 (initSystemColorDefaults): Added this method and adjusted the
2292 general control color.
2294 2005-04-19 Roman Kennke <roman@kennke.org>
2296 * javax/swing/plaf/metal/MetalBorders.java:
2298 * javax/swing/plaf/metal/MetalButtonUI.java:
2299 (installDefaults): Install button font.
2300 * javax/swing/plaf/metal/MetalLookAndFeel.java:
2301 (initComponentDefaults): Added button border, font and margin.
2302 Changed components background color to the Metal current themes
2305 2005-04-19 Roman Kennke <roman@kennke.org>
2307 * javax/swing/plaf/metal/MetalLookAndFeel.java
2308 (initComponentDefaults): Added to set Metal specific component
2311 2005-04-19 Mark Wielaard <mark@klomp.org>
2313 * javax/swing/plaf/metal/MetalLookAndFeel.java
2314 (initClassDefaults): Call super.initClassDefaults().
2316 2005-04-19 Roman Kennke <roman@kennke.org>
2318 * javax/swing/plaf/metal/MetalLookAndFeel.java
2319 (initClassDefaults): Added to include the *UI classes.
2321 2005-04-19 Roman Kennke <roman@kennke.org>
2323 * javax/swing/plaf/metal/MetalComboBoxUI.java:
2325 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
2327 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
2329 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
2331 * javax/swing/plaf/metal/MetalProgressBarUI.java:
2333 * javax/swing/plaf/metal/MetalRootPaneUI.java:
2335 * javax/swing/plaf/metal/MetalScrollBarUI.java:
2337 * javax/swing/plaf/metal/MetalSeparatorUI.java:
2339 * javax/swing/plaf/metal/MetalSliderUI.java:
2341 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
2343 * javax/swing/plaf/metal/MetalTextFieldUI.java:
2345 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
2347 2005-04-19 Roman Kennke <roman@kennke.org>
2349 * javax/swing/plaf/metal/MetalButtonUI.java:
2350 Added skeleton class.
2351 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
2352 Added skeleton class.
2353 * javax/swing/plaf/metal/MetalLabelUI.java:
2354 Added skeleton class.
2355 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
2356 Added skeleton class.
2357 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
2358 Added skeleton class.
2359 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
2360 Added skeleton class.
2362 2005-04-19 Roman Kennke <roman@kennke.org>
2364 * javax/swing/UIDefaults.java:
2365 Added API documentation for all methods.
2367 2005-04-19 Roman Kennke <roman@kennke.org>
2369 * javax/swing/UIDefaults.java
2370 (put): Now uses new checkAndPut method instead of checking
2372 (putDefaults): Fixed so that it accepts null-values and
2373 treats them like remove(key).
2374 (checkAndPut): Added. This checks for null-values and calls
2377 2005-04-19 Michael Koch <konqueror@gmx.de>
2379 * Makefile.am: Added new files.
2380 * Makefile.in: Regenerated.
2382 2005-04-19 Mark Wielaard <mark@klomp.org>
2384 * java/lang/natRuntime.cc (insertSystemProperties): Set
2385 java.class.path to CLASSPATH only when not empty. Fall back to
2386 default path "." when java.class.path is empty.
2388 2005-04-19 Michael Koch <konqueror@gmx.de>
2390 * javax/swing/text/rtf/ControlWordToken.java,
2391 javax/swing/text/rtf/RTFEditorKit.java,
2392 javax/swing/text/rtf/RTFParseException.java,
2393 javax/swing/text/rtf/RTFParser.java,
2394 javax/swing/text/rtf/RTFScanner.java,
2395 javax/swing/text/rtf/TextToken.java,
2396 javax/swing/text/rtf/Token.java: New files.
2397 * Makefile.am: Added new files.
2398 * Makefile.in: Regenerated.
2400 2005-04-19 Michael Koch <konqueror@gmx.de>
2402 * java/awt/geom/QuadCurve2D.java:
2403 Fixed Brian Gough's name for real.
2405 2005-04-19 Roman Kennke <roman@kennke.org>
2407 * javax/swing/UIManager.java:
2408 Make the UIManager respect the swing.defaultlaf system
2411 2005-04-19 Tom Tromey <tromey@redhat.com>
2413 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2416 2005-04-19 Roman Kennke <roman@kennke.org>
2418 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2419 Fixed tabs to spaces.
2421 2005-04-19 Roman Kennke <roman@kennke.org>
2423 * javax/swing/plaf/basic/BasicMenuUI.java
2424 (getMaximumSize): Now returns preferredSize because JMenu should
2425 never be bigger than that.
2426 * javax/swing/JRootPane
2427 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2429 2005-04-19 Roman Kennke <roman@kennke.org>
2431 * javax/swing/JRootPane.java:
2432 Fixed various tabs to be spaces.
2433 (RootLayout.layoutContainer): Made menubar left aligned.
2435 2005-04-19 Roman Kennke <roman@ontographics.com>
2437 * javax/swing/JList.java
2438 (getPreferredScrollableViewportSize):
2439 The previous implementation was merely guessing the size,
2440 now it respects layoutOrientation, visibleRowCount
2442 (getScrollableTracksViewportHeight):
2443 Reimplemented so that layoutOrientation, visibleRowCount
2444 and preferred size are respected.
2445 (getScrollableTracksViewportWidth):
2446 Reimplemented so that layoutOrientation, visibleRowCount
2447 and preferred size are respected.
2448 * javax/swing/plaf/basic/BasicListUI.java
2450 Improved calculation of preferredSize when JList is
2451 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2453 The previous implementation assumed a layoutOrientation of
2454 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2455 JList.VERTICAL_WRAP.
2457 2005-04-19 Roman Kennke <roman@ontographics.com>
2459 * javax/swing/plaf/basic/BasicListUI.java
2460 (paintCell): use CellRendererPane for painting the cells.
2462 2005-04-19 Roman Kennke <roman@ontographics.com>
2464 * javax/swing/plaf/basic/BasicListUI:
2465 fixed modifiers of several fields, methods and inner
2466 classes to match the 'spec'.
2467 (getMaximumSize): removed. It's not in the spec and the
2468 implementations was superfluous.
2470 2005-04-19 Roman Kennke <roman@ontographics.com>
2472 * javax/swing/plaf/basic/BasicListUI:
2473 make BasicListUI capable of wrapping lists
2474 (layoutOrientation property of javax.swing.JList)
2476 2005-04-19 Roman Kennke <roman@ontographics.com>
2478 * javax/swing/plaf/basic/BasicListUI
2479 (updateLayoutState,paint): make BasicListUI aware of the
2480 width of the rendered JList.
2482 2005-04-19 Roman Kennke <roman@kennke.org>
2484 * javax/swing/ImageIcon.java
2485 Added API documentation.
2487 2005-04-19 Roman Kennke <roman@kennke.org>
2489 * javax/swing/text/ImageIcon.java
2490 (ImageIcon): Use setImage instead of direct assignment.
2491 (setImage): Call loadImage to make sure that the image is loaded.
2492 (loadImage): Waits for the image to complete loading.
2493 (getImageLoadStatus): Added. Returns the load status of the
2496 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2498 * javax/swing/JTextArea.java (replaceRange):
2499 Fixing doc.remove(start, length) misinterpretation.
2501 2005-04-19 Roman Kennke <roman@ontographics.com>
2503 * javax/swing/CellRendererPane.java:
2504 implemented all methods of this class.
2505 reformatted all wrong formatted code.
2507 2005-04-19 Roman Kennke <roman@kennke.org>
2509 * javax/swing/BoxLayout.java:
2510 (layoutContainer): Made this layout manager respect the
2511 minimum, maximum and preferred size more correctly.
2513 2005-04-19 Roman Kennke <roman@ontographics.com>
2515 * javax/swing/BoxLayout.java:
2516 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2517 layoutContainer): Make these methods and thereby the
2518 BoxLayout respect the insets (like borders) of the
2519 component that is laid out.
2521 2005-04-19 Roman Kennke <roman@kennke.org>
2523 * javax/swing/JComponent.java:
2524 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2525 Untabified the file.
2527 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2529 * javax/swing/JComboBox.java (constructors): selecting the
2530 first item if the box was constructed from the provided
2531 non - empty array or vector.
2533 2005-04-19 Michael Koch <konqueror@gmx.de>
2535 * gnu/java/awt/peer/gtk/GdkGraphics.java
2536 (getClipBounds): Handle clip being null.
2537 (setClip): Likewise.
2538 * java/beans/beancontext/BeanContextSupport.java
2542 (removeAll): Likewise.
2543 (retainAll): Likewise.
2545 2005-04-19 Michael Koch <konqueror@gmx.de>
2547 * java/beans/beancontext/BeanContextServicesSupport.java
2548 (BeanContextServicesSupport): Reimplemented.
2549 (addBeanContextServicesListener): Implemented.
2550 (initialize): Likewise.
2551 (removeBeanContextServicesListener): Likewise.
2552 * java/beans/beancontext/BeanContextSupport.java
2554 (addBeanContextMembershipListener): Likewise.
2555 (getLocale): Likewise.
2556 (initialize): Likewise.
2557 (iterator): Likewise.
2559 (toArray): Likewise.
2561 2005-04-19 Roman Kennke <roman@kennke.org>
2563 * java/awt/MediaTracker.java:
2564 Reindented tabs to spaces.
2566 2005-04-19 Roman Kennke <roman@kennke.org>
2568 * java/awt/MediaTracker.java
2569 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2570 confused the media tracker and lead to lockups. The LOADING
2571 bit is handled on other places.
2572 (addImage): Removed the 'start image tracking' stuff. This
2573 is not necessary and could confuse the media tracker.
2574 (checkAll): Improved the check for image status so that
2575 images that already complete images are detected. Also now
2576 are really all images checked and if necessary loaded. Before
2577 the method bailed out after the first incomplete image.
2578 (statusAll): Detect images that are complete after the
2579 call to Component.prepareImage(..).
2580 (checkID): The same as in checkAll.
2581 (statusID): The same as in statusAll.
2583 2005-04-19 Roman Kennke <roman@kennke.org>
2585 * java/awt/MediaTracker.java
2586 (addImage): Synchronized list access.
2587 (waitForAll): Fixed comparison of time (changed < to >).
2588 (waitForID): Fixed comparison of time (changed < to >).
2589 (removeImage): Synchronized list access.
2591 2005-04-19 Roman Kennke <roman@kennke.org>
2593 * java/awt/MediaTracker.java
2594 Added API documentation.
2596 2005-04-19 Roman Kennke <roman@kennke.org>
2598 * java/awt/MediaTracker.java
2599 (MediaEntry.imageUpdate): Fixed flags. The different flags
2600 must not be ORed together.
2601 (checkAll): Modified to handle different meaning of the flags.
2602 (waitForAll): Fixed so that it waits maximum the
2603 specified amount of milliseconds.
2604 (statusAll): Modified to handle different meaning of the flags.
2605 (waitForID): Fixed so that it waits maximum the
2606 specified amount of milliseconds.
2608 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2610 * java/awt/Font.java (decode): Handle null argument and allow
2613 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2615 * java/beans/EventHandler.java: Reworked documentation.
2616 (invoke): Fixed behavior to match spec.
2618 2005-04-19 Michael Koch <konqueror@gmx.de>
2620 * java/awt/print/PrinterJob.java
2621 (pageDialog): New method.
2622 (printDialog): Implemented.
2624 2005-04-19 Michael Koch <konqueror@gmx.de>
2626 * java/awt/image/ConvolveOp.java:
2627 Removed comment added by eclipse.
2629 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2631 * java/awt/image/IndexColorModel.java
2632 (getRGB): Check if pixel is negative.
2634 2005-04-19 Michael Koch <konqueror@gmx.de>
2636 * java/awt/image/RasterOp.java:
2637 Fixed wrong formatting.
2639 2005-04-18 Roman Kennke <roman@kennke.org>
2641 * java/awt/Compmonent.java
2642 (setComponentOrientation): Made this property firing a
2643 PropertyChangeEvent.
2645 2005-04-18 Roman Kennke <roman@kennke.org>
2647 * java/awt/BorderLayout.java
2648 (calcSize): Check for overflow when component sizes are added.
2650 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2652 * java/awt/AWTEvent.java (toString): Added case
2653 for source not being an AWT component.
2655 2005-04-18 Chris Burdess <dog@gnu.org>
2657 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2659 2005-04-18 Michael Koch <konqueror@gmx.de>
2661 gnu/java/awt/EmbeddedWindowSupport.java,
2662 gnu/java/net/HeaderFieldHelper.java,
2663 gnu/java/net/URLParseError.java,
2664 gnu/java/net/protocol/file/Handler.java,
2665 gnu/java/net/protocol/jar/Handler.java:
2666 Fixed usage of @author tag.
2668 2005-04-18 Michael Koch <konqueror@gmx.de>
2670 * gnu/xml/aelfred2/XmlParser.java:
2671 Reverted my typo fix.
2673 2005-04-18 Michael Koch <konqueror@gmx.de>
2675 * java/awt/geom/CubicCurve2D.java,
2676 java/awt/geom/QuadCurve2D.java:
2677 Fixed mentioning of Brian Gouph.
2679 2005-04-18 Michael Koch <konqueror@gmx.de>
2681 * gnu/java/awt/Buffers.java,
2682 gnu/java/awt/image/ImageDecoder.java,
2683 gnu/java/awt/image/XBMDecoder.java,
2684 gnu/java/awt/peer/ClasspathFontPeer.java,
2685 gnu/java/net/CRLFInputStream.java,
2686 gnu/java/net/EmptyX509TrustManager.java,
2687 gnu/java/net/LineInputStream.java,
2688 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2689 gnu/java/net/protocol/ftp/BlockInputStream.java,
2690 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2691 gnu/java/net/protocol/ftp/DTP.java,
2692 gnu/java/net/protocol/ftp/DTPInputStream.java,
2693 gnu/java/net/protocol/ftp/FTPConnection.java,
2694 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2695 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2696 gnu/java/net/protocol/ftp/StreamInputStream.java,
2697 gnu/java/net/protocol/http/ChunkedInputStream.java,
2698 gnu/java/net/protocol/http/HTTPConnection.java,
2699 gnu/java/net/protocol/http/HTTPURLConnection.java,
2700 gnu/java/net/protocol/http/Headers.java,
2701 gnu/java/net/protocol/http/Request.java,
2702 gnu/java/nio/ChannelInputStream.java,
2703 gnu/java/nio/ChannelOutputStream.java,
2704 gnu/java/nio/InputStreamChannel.java,
2705 gnu/java/nio/OutputStreamChannel.java,
2706 gnu/java/nio/SelectorProviderImpl.java,
2707 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2708 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2709 gnu/java/rmi/dgc/DGCImpl.java,
2710 gnu/java/rmi/registry/RegistryImpl.java,
2711 gnu/java/rmi/server/ProtocolConstants.java,
2712 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2713 gnu/java/rmi/server/RMIIncomingThread.java,
2714 gnu/java/rmi/server/RMIObjectInputStream.java,
2715 gnu/java/rmi/server/RMIObjectOutputStream.java,
2716 gnu/java/rmi/server/RMIVoidValue.java,
2717 gnu/java/rmi/server/UnicastConnectionManager.java,
2718 gnu/java/rmi/server/UnicastRef.java,
2719 gnu/java/rmi/server/UnicastRemoteCall.java,
2720 gnu/java/rmi/server/UnicastRemoteStub.java,
2721 gnu/java/rmi/server/UnicastServerRef.java,
2722 gnu/java/security/OID.java,
2723 gnu/java/security/der/DERReader.java,
2724 gnu/java/security/provider/CollectionCertStoreImpl.java,
2725 gnu/java/security/provider/DSAParameterGenerator.java,
2726 gnu/java/security/provider/DefaultPolicy.java,
2727 gnu/java/security/provider/EncodedKeyFactory.java,
2728 gnu/java/security/provider/GnuDHPublicKey.java,
2729 gnu/java/security/provider/GnuDSAPrivateKey.java,
2730 gnu/java/security/provider/GnuDSAPublicKey.java,
2731 gnu/java/security/provider/GnuRSAPrivateKey.java,
2732 gnu/java/security/provider/GnuRSAPublicKey.java,
2733 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2734 gnu/java/security/provider/RSA.java,
2735 gnu/java/security/provider/SHA1PRNG.java,
2736 gnu/java/security/provider/SHA1withRSA.java,
2737 gnu/java/security/provider/X509CertificateFactory.java,
2738 gnu/java/security/x509/GnuPKIExtension.java,
2739 gnu/java/security/x509/X500DistinguishedName.java,
2740 gnu/java/security/x509/X509CRL.java,
2741 gnu/java/security/x509/X509CRLEntry.java,
2742 gnu/java/security/x509/X509CertPath.java,
2743 gnu/java/security/x509/X509CertSelectorImpl.java,
2744 gnu/java/security/x509/X509Certificate.java,
2745 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2746 gnu/java/security/x509/ext/BasicConstraints.java,
2747 gnu/java/security/x509/ext/CRLNumber.java,
2748 gnu/java/security/x509/ext/CertificatePolicies.java,
2749 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2750 gnu/java/security/x509/ext/Extension.java,
2751 gnu/java/security/x509/ext/GeneralNames.java,
2752 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2753 gnu/java/security/x509/ext/KeyUsage.java,
2754 gnu/java/security/x509/ext/PolicyConstraint.java,
2755 gnu/java/security/x509/ext/PolicyMappings.java,
2756 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2757 gnu/java/security/x509/ext/ReasonCode.java,
2758 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2759 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2760 Reorganized import statements.
2762 2005-04-18 Michael Koch <konqueror@gmx.de>
2764 * gnu/java/awt/color/CieXyzConverter.java,
2765 gnu/java/awt/color/ClutProfileConverter.java,
2766 gnu/java/awt/color/ColorLookUpTable.java,
2767 gnu/java/awt/color/ColorSpaceConverter.java,
2768 gnu/java/awt/color/GrayProfileConverter.java,
2769 gnu/java/awt/color/GrayScaleConverter.java,
2770 gnu/java/awt/color/LinearRGBConverter.java,
2771 gnu/java/awt/color/ProfileHeader.java,
2772 gnu/java/awt/color/PyccConverter.java,
2773 gnu/java/awt/color/RgbProfileConverter.java,
2774 gnu/java/awt/color/SrgbConverter.java,
2775 gnu/java/awt/color/TagEntry.java,
2776 gnu/java/awt/color/ToneReproductionCurve.java:
2777 Standardized file headers.
2779 2005-04-16 Tom Tromey <tromey@redhat.com>
2781 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2782 'ANY' package-private.
2784 2005-04-15 Tom Tromey <tromey@redhat.com>
2786 * Makefile.in: Rebuilt.
2787 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2788 (libgcj0_convenience_la_LIBADD): ... here.
2790 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2792 * gij.cc (version): Properly quote java version.
2793 (main): Fix typo in comment.
2795 2005-04-13 Mark Wielaard <mark@klomp.org>
2797 * java/lang/natRuntime.cc (insertSystemProperties): Set
2798 java.class.path to CLASSPATH if not already set.
2800 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2802 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2804 2005-04-12 Mike Stump <mrs@apple.com>
2806 * configure: Regenerate.
2808 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2811 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2812 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2814 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2817 * scripts/TexinfoDoclet.java: Removed.
2818 * Makefile.am (texinfo): Removed.
2819 * Makefile.in: Regenerated.
2821 2005-04-11 Michael Koch <konqueror@gmx.de>
2823 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2824 Fixed wrong casting.
2826 2005-04-06 Andrew Haley <aph@redhat.com>
2828 * testsuite/libjava.lang/bytearray.java: New file.
2829 * testsuite/libjava.lang/bytearray.out: New file.
2830 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2831 (loadClass): Use it.
2832 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2834 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2836 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2837 gcj-dbtool dependency
2838 * Makefile.in: Regenerated
2840 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2842 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2843 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2845 2005-04-05 Andrew Haley <aph@redhat.com>
2847 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2848 (Tokenizer): New class.
2849 (getFiles): New method.
2850 (main): Add "-" argument.
2852 Read list of files from stdin when merging map databases.
2853 (usage): Add "-" argument.
2857 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2860 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2861 * Makefile.in: Regenerate.
2862 * configure.ac: Add --with-java-home option.
2863 * configure: Regenerate.
2864 * external/Makefile.in: Regenerate.
2865 * external/sax/Makefile.in: Regenerate.
2866 * external/w3c_dom/Makefile.in: Regenerate.
2867 * gcj/Makefile.in: Regenerate.
2868 * include/Makefile.in: Regenerate.
2869 * testsuite/Makefile.in: Regenerate.
2870 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2873 2005-04-05 Tom Tromey <tromey@redhat.com>
2875 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2876 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2877 Rewrote to use _Jv_FindClassFromSignature.
2878 * verify.cc (resolve): throw NoClassDefFoundError.
2879 * link.cc (resolve_field): Throw NoClassDefFoundError.
2880 (find_field): Likewise.
2881 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2882 Handle error cases. Added 'endp' argument.
2883 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2885 2005-04-05 Tom Tromey <tromey@redhat.com>
2887 * Makefile.in: Rebuilt.
2888 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2889 gtk_awt_peer_sources.
2890 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2891 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2892 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2893 (gtk-awt-peer.lo): New target.
2895 2005-04-04 Steve Pribyl <steve@netfuel.com>
2898 * configure.ac: Fix fastjar definition for cross builds.
2899 * configure: Rebuilt.
2901 2005-04-04 Tom Tromey <tromey@redhat.com>
2903 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2904 it was already found.
2906 2005-04-04 Tom Tromey <tromey@redhat.com>
2908 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2909 org.metastatic.jessie.
2911 2005-04-02 Anthony Green <green@redhat.com>
2914 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2916 2005-04-02 Mark Wielaard <mark@klomp.org>
2918 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2919 Attributes and attribute order doesn't matter.
2920 (BasicAttributesEnumeration.where): Initialize to zero.
2921 (BasicAttributesEnumeration.nextElement): Update and compare where
2922 appropriately (zero based).
2924 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2926 PR libgcj/20090, PR libgcj/20526
2927 * gij.cc (nonstandard_opts_help): New function.
2928 (add_option): New function.
2929 (main): Support java options. Set java.class.path. Don't set
2931 * prims.cc (parse_x_arg): New function.
2932 (parse_init_args): Call parse_x_arg for -X and _ options, when
2933 ignoreUnrecognized is true.
2934 (new _Jv_RunMain): New vm_args variant.
2935 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2936 (_Jv_Jar_Class_Path): Remove variable.
2937 * include/java-props.h: Likewise.
2938 * include/cni.h (JvRealloc): New function.
2939 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2940 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2941 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2943 * configure.ac (JV_VERSION): Define.
2944 (JV_API_VERSION): Likewise.
2945 * configure: Regenerate.
2946 * include/config.h.in: Regenerate.
2948 2005-04-01 Mark Anderson <mark@panonet.net>
2950 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2951 -Infinity as parameters.
2953 2005-04-01 Michael Koch <konqueror@gmx.de>
2955 * java/io/PipedInputStream.java
2956 (read): Make sure a positive byte value is returned. Revised javadoc.
2957 Thanks to Olafur Bragason for reporting these bugs.
2959 2005-04-01 Tom Tromey <tromey@redhat.com>
2961 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2962 Updated for name change.
2963 (nativeFindClass): New method.
2964 (loadClass): Use nativeFindClass.
2965 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2967 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2968 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2970 (initialize): New method.
2971 (nativeFindClass): Declare.
2972 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2973 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2974 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2976 (definePackageForNative): Removed.
2977 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2978 Moved to VMClassLoader.java.
2979 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2980 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2981 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2982 removed VMClassLoader.java.
2983 (nat_source_files): Removed natVMClassLoader.cc.
2985 2005-04-01 Tom Tromey <tromey@redhat.com>
2987 * Makefile.in: Rebuilt.
2988 * Makefile.am (db_pathtail): Use $(gcc_version), not
2991 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2993 * java/util/Timer.java
2994 (run): Stop the queue if a task throws an exception.
2996 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2998 * javax/swing/text/JTextComponent.java (viewToModel): New method.
3000 2005-03-29 Ian Lance Taylor <ian@airs.com>
3002 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
3003 * external/sax/Makefile.in: Rebuild.
3004 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
3006 * external/w3c_dom/Makefile.in: Rebuild.
3008 2005-03-29 Tom Tromey <tromey@redhat.com>
3010 * java/lang/natRuntime.cc (insertSystemProperties): Set
3011 gnu.gcj.runtime.endorsed.dirs.
3012 * Makefile.in: Rebuilt.
3013 * Makefile.am (ordinary_java_source_files): Added
3014 HelperClassLoader.java.
3015 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
3016 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
3018 (init): Use addDirectoriesFromProperty.
3019 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
3020 HelperClassLoader. Use addDirectoriesFromProperty. Handle
3021 gnu.gcj.runtime.endorsed.dirs.
3022 * gnu/gcj/runtime/HelperClassLoader.java: New file.
3024 2005-03-26 Chris Burdess <dog@gnu.org>
3026 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
3029 2005-03-13 Michael Koch <konqueror@gmx.de>
3031 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
3033 2005-03-11 Chris Burdess <dog@gnu.org>
3035 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
3038 2005-02-27 Chris Burdess <dog@gnu.org>
3040 * gnu/xml/aelfred2/JAXPFactory.java,
3041 gnu/xml/aelfred2/SAXDriver.java,
3042 gnu/xml/aelfred2/XmlParser.java,
3043 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
3044 formatting conventions. Replaced arrays of Object with struct-like
3045 classes for easier maintainability. Made SAXDriver.stringInterning
3046 package private to allow access from XmlParser inside the loop without
3047 a method call overhead.
3049 2005-03-11 Chris Burdess <dog@gnu.org>
3051 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
3054 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
3056 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
3057 settings to sub Makefiles.
3058 (GCJH, ZIP): Prefix with top_builddir.
3059 * configure: Rebuild.
3060 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
3061 * external/w3c_dom/Makefile.in: Rebuild.
3062 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
3063 * external/sax/Makefile.in: Rebuild.
3065 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
3067 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
3068 libsocket to the libraries to link for Solaris.
3070 2005-03-28 Per Bothner <per@bothner.com>
3072 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
3073 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
3075 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
3077 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
3078 to fix a ONESTEP fallout.
3079 * Makefile.in: Regenerate.
3081 2005-03-25 Mike Stump <mrs@apple.com>
3083 * configure.ac: Fix ZIP and GCJH at configure time to absolute
3084 paths like we do for the compiler, as we use it in external/sax
3085 and it doesn't get MULTIBUILDTOP right when multilibing.
3087 2005-03-24 Anthony Green <green@redhat.com>
3089 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
3091 (usage): Add [LIBDIR] to help output.
3092 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
3093 * Makefile.am (AM_CXXFLAGS): Define
3094 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
3095 (db_pathtail): New macro.
3097 2005-03-24 Tom Tromey <tromey@redhat.com>
3099 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
3100 add sax and w3c libraries.
3101 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
3103 * external/w3c_dom/Makefile.in: Rebuilt.
3104 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
3106 (libw3c_gcj_la_LDFLAGS): New variable.
3107 (noinst_LTLIBRARIES): Renamed.
3108 * external/sax/Makefile.in: Rebuilt.
3109 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
3111 (libsax_gcj_la_LDFLAGS): New variable.
3112 (noinst_LTLIBRARIES): Renamed.
3114 2005-03-23 Tom Tromey <tromey@redhat.com>
3116 * Makefile.in: Rebuilt.
3117 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
3118 (libgcj0_convenience_la_SOURCES): Don't include
3119 gnu_xml_source_files.
3120 (libgcj0_convenience_la_LIBADD): New variable.
3121 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
3122 (all_java_source_files): javax_imageio_source_files,
3123 javax_xml_source_files, and gnu_java_beans_source_files.
3124 ($(gnu_xml_source_files:.java=.lo)): Removed target.
3125 (gnu-xml.lo): New target.
3126 (javax-imageio.lo): Likewise.
3127 (javax-xml.lo): Likewise.
3128 (gnu-java-beans.lo): Likewise.
3129 (gnu_java_beans_source_files): New variable.
3130 (javax_imageio_source_files): Likewise.
3131 (javax_xml_source_files): Likewise.
3132 (javax_source_files): Moved files to other variable.
3133 (awt_java_source_files): Likewise.
3134 (ordinary_java_source_files): Added BootClassLoader.java.
3135 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
3136 not system class loader.
3137 (initBootLoader): New method.
3138 (loadClass): Search bootLoader.
3139 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
3140 boot loader, not system class loader.
3141 (_Jv_UnregisterInitiatingLoader): Likewise.
3142 (_Jv_FindClass): Likewise. Ensure entries in
3143 bootstrap_class_list are unique.
3144 * java/lang/natClass.cc (getClassLoader): Don't special case
3145 system class loader.
3146 * java/lang/VMClassLoader.java (bootLoader): New field.
3147 (getResource): Use bootLoader.
3148 (getResources): Likewise.
3149 (initBootLoader): Declare.
3150 * gnu/gcj/runtime/BootClassLoader.java: New file.
3151 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
3152 (EMPTY_ENUMERATION): Now package-private.
3153 * external/w3c_com/Makefile.in: Rebuilt.
3154 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
3155 (w3c.jar): New target.
3156 (classes.stamp): Updated.
3157 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3158 Changed name of library.
3159 (libw3c_gcj_la_SOURCES): New variable.
3160 (libw3c_gcj_la_GCJFLAGS): Likewise.
3161 (source_files): Renamed from lib3c_convenience_la_SOURCES.
3162 * external/sax/Makefile.in: Rebuilt.
3163 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
3164 (sax.jar): New target.
3165 (classes.stamp): Updated.
3166 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3167 Changed name of library.
3168 (libsax_gcj_la_SOURCES): New variable.
3169 (libsax_gcj_la_GCJFLAGS): Likewise.
3170 (source_files): Renamed from libsax_convenience_la_SOURCES.
3171 * stacktrace.cc (non_system_trace_fn): Don't look at system class
3173 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
3175 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
3177 2005-03-23 Sven de Marothy <sven@physto.se>
3179 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
3181 * java/util/Calendar.java
3182 (set): Use starting day of week when one is needed if none is given.
3183 * java/text/SimpleDateFormat.java
3184 (parse): Handle 1-12 and 1-24 timestamps correctly.
3185 * java/util/GregorianCalendar.java
3186 (computeTime, computeFields): HOUR should be in 0-11 format.
3187 (nonLeniencyCheck): Adjust leniency checking to that fact.
3188 (getLinearDay): Should be private.
3190 2005-03-23 Tom Tromey <tromey@redhat.com>
3192 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3193 (_Jv_CheckABIVersion): Use it.
3195 2005-03-22 Mike Stump <mrs@apple.com>
3197 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
3199 * include/posix.h: .dylib is used on all Apple MACH platforms.
3200 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
3202 2005-03-22 Tom Tromey <tromey@redhat.com>
3204 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
3206 2005-03-21 Tom Tromey <tromey@redhat.com>
3208 * java/lang/VMCompiler.java (static block): Also catch
3209 BufferUnderflowException.
3211 2005-03-21 Zack Weinberg <zack@codesourcery.com>
3213 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
3214 set tool_include_dir. In all substitutions, leave $(gcc_version)
3215 to be expanded by the Makefile.
3216 * aclocal.m4, configure: Regenerate.
3217 * Makefile.am: Set gcc_version. Replace all uses of
3218 @gcc_version@ with $(gcc_version).
3219 * external/Makefile.am, external/sax/Makefile.am
3220 * external/w3c_dom/Makefile.am, gcj/Makefile.am
3221 * testsuite/Makefile.am: Set gcc_version.
3222 * include/Makefile.am: Set gcc_version and tool_include_dir.
3223 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
3224 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
3225 * testsuite/Makefile.in: Regenerate.
3227 2005-03-17 Andrew Haley <aph@redhat.com>
3229 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
3231 Pass klass to _Jv_StackTrace::GetClassContext().
3232 * java/lang/ClassLoader.java (getParent): Pass class to
3233 VMSecurityManager.getClassContext()
3234 (getSystemClassLoader): Likewise.
3235 * java/lang/Package.java (getPackage): Likewise.
3236 (getPackages): Likewise.
3237 * java/lang/SecurityManager.java (getClassContext): Likewise.
3238 (currentClassLoader): Likewise.
3239 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
3240 (currentClassLoader) Add new arg: caller.
3241 Pass caller to VMSecurityManager.getClassContext.
3243 * stacktrace.cc (GetClassContext): Correct calculation of
3246 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
3247 im->source_file_name.
3249 2005-03-16 Andrew Haley <aph@redhat.com>
3251 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
3253 2005-03-16 Tom Tromey <tromey@redhat.com>
3255 * link.cc (ensure_class_linked): Removed #ifdef.
3256 (print_class_loaded): Likewise.
3257 (wait_for_state): Likewise.
3258 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
3259 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
3260 * include/java-interp.h: ... here.
3262 2005-03-16 Tom Tromey <tromey@redhat.com>
3264 * gnu/java/lang/MainThread.java (run): Load main class using
3265 system class loader.
3267 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
3269 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
3270 lgcc_s to the libraries to link for Darwin.
3272 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
3274 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
3275 interpreter-specific code with #ifdef INTERPRETER.
3276 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
3277 (_Jv_StackTrace::FillInFrameInfo): Likewise.
3278 (_Jv_StackTrace::non_system_trace_fn): Likewise.
3279 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
3280 #ifdef INTERPRETER. Also protect declarations that use it.
3281 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
3282 #ifdef INTERPRETER block.
3284 2005-03-15 Jakub Jelinek <jakub@redhat.com>
3287 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
3288 * Makefile.in: Rebuilt.
3290 2005-03-15 David Daney <ddaney@avtrex.com>
3292 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
3295 2005-03-15 David Daney <ddaney@avtrex.com>
3297 * java/io/BufferedInputStream.java (available): Use 'in' instead
3298 of 'super' for underlying stream access.
3300 (read(byte[], int, int)): Ditto.
3302 (skip): Call skip on underlying stream when possible.
3304 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
3306 * stacktrace.cc (GetCallerInfo): Return nothing in case of
3307 SJLJ_EXCEPTIONS is defined.
3309 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
3311 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
3314 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
3316 * testsuite/lib/libjava.exp (libjava_init): Use the same target
3318 (libjava_arguments): Likewise.
3320 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
3321 (gcj_jni_test_one): Likewise.
3322 (gcj_jni_invocation_compile_c_to_binary): Likewise.
3323 Add flags to keep the Darwin linker quiet.
3324 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
3325 Add -liconv for Darwin.
3327 2005-03-11 Tom Tromey <tromey@redhat.com>
3329 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3330 (_Jv_CheckABIVersion): Use it.
3332 2005-03-11 Tom Tromey <tromey@redhat.com>
3334 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
3335 (usage): Document '-p'.
3336 * Makefile.in: Rebuilt.
3337 * Makefile.am (dbexecdir): New variable.
3338 (db_name): Likewise.
3339 (dbexec_DATA): Likewise.
3340 ($(db_name)): New target.
3341 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
3342 * java/lang/natRuntime.cc (insertSystemProperties): Set default
3345 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3347 * exception.cc: Remove stray MethodRef.h include.
3348 * java/lang/natClass.cc: Likewise.
3349 * gnu/gcj/runtime/MethodRef.java: Removed.
3350 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3351 gnu/gcj/runtime/natStackTrace.cc: Really removed.
3352 * java/lang/natRuntime.cc (_load): Remove unsed variable.
3353 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
3354 * Makefile.in: Rebuilt.
3356 2005-03-10 Tom Tromey <tromey@redhat.com>
3358 * Makefile.in: Rebuilt.
3359 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
3361 2005-03-10 Chris Burdess <dog@bluezoo.org>
3363 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
3364 not currently parsing the DTD.
3366 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3368 New Stack Trace infrastructure.
3369 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
3370 (gnu/gcj/runtime/StackTrace.java): Removed.
3371 (ordinary_java_source_files): Remove obsolete files.
3372 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
3373 * configure.host (fallback_backtrace_h): Set backtrace header
3374 for mingw and cygwin targets.
3375 * configure.ac: Make symlink for fallback backtrace headers.
3376 * Makefile.in, configure: Rebuilt.
3377 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
3378 Read 'LineNumberTable' attribute.
3379 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
3381 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
3383 * exception.cc: Remove unused include.
3384 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
3385 (SAVE_PC): New macro. Save current PC in the interpreter frame.
3386 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
3387 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
3388 table to direct threaded instruction values.
3389 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
3390 (_Jv_InterpMethod::run): No longer member function. All
3391 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
3392 is made or where an instruction could throw.
3393 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3395 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3396 (catch_fpe): Likewise.
3397 * stacktrace.cc: New file. Stack trace code now here.
3398 * gnu/gcj/runtime/MethodRef.java:
3399 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3400 calls addr2line to look up PC addresses in a given binary or shared
3402 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3403 gnu/gcj/runtime/natStackTrace.cc: Removed.
3404 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3405 this function name is specially recognised by the stack trace code
3406 and shouldn't be changed.
3407 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3408 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
3409 (_Jv_InterpMethod::run): Update declaration.
3410 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3412 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3413 * include/java-stack.h: New file. Declarations for stack tracing.
3414 * include/jvm.h (_Jv_Frame_info): Removed.
3415 * java/lang/Class.h: Update friend declarations.
3416 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3418 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3419 (getStackTrace): Now native.
3420 (data): New RawDataManaged field.
3421 * java/lang/natClass.cc: Update includes.
3422 (forName): Use _Jv_StackTrace::GetCallingClass for
3423 calling-classloader check.
3424 (getClassLoader): Likewise.
3425 * java/lang/natRuntime.cc: Update includes.
3426 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3427 * java/lang/natVMSecurityManager.cc: Update includes.
3428 (getClassContext): Use _Jv_StackTrace::GetClassContext.
3429 * java/lang/natVMThrowable.cc: New file. Native methods for
3431 * java/lang/reflect/natArray.cc: Update includes.
3432 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3433 accessibility check.
3434 * java/lang/reflect/natConstructor.cc: Update includes.
3435 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3436 accessibility check.
3437 * java/lang/reflect/natField.cc: Update includes.
3438 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3439 accessibility check.
3440 * java/lang/reflect/natMethod.cc: Update includes.
3441 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3442 accessibility check.
3443 * java/util/natResourceBundle.cc: Update includes.
3444 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3445 * java/util/logging/natLogger.cc: Update includes. Use
3446 _Jv_StackTrace::GetCallerInfo to get call-site info.
3447 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3449 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3452 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3454 * testsuite/libjava.compile/PR20312.java: New file.
3455 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3456 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3458 2005-03-09 Andrew Haley <aph@redhat.com>
3460 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3462 (smallTransferTo): New.
3463 (transferFrom): Loop around smallTransferFrom, copying pageSize
3465 (transferTo): Likewise.
3467 2005-03-09 David Daney <ddaney@avtrex.com>
3470 Merge BufferedInputStream from GNU Classpath.
3471 * java/io/BufferedInputStream.java (marktarget): Field removed.
3472 (CHUNKSIZE): Field removed.
3473 (bufferSize): New field.
3474 (BufferedInputStream): Initialize fields.
3475 (close): Invalidate mark and buffer indexes.
3477 (read()): Move mark handling code to refill.
3478 (read(byte[], int, int)): Ditto.
3479 (skip): Ditto and simplify EOF testing.
3480 (refill): Rewritten.
3481 * java/io/InputStreamReader.java (refill): Removed mark and reset
3482 of internal BufferedInputStream.
3484 2005-03-09 Tom Tromey <tromey@redhat.com>
3486 * java/lang/natVMClassLoader.cc (defineClass): Reference
3487 'systemClassLoader' field directly.
3488 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3490 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3491 Reference 'systemClassLoader' field directly.
3492 (_Jv_UnregisterInitiatingLoader): Likewise.
3493 (_Jv_FindClass): Likewise.
3495 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3497 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3499 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3500 the file in GNU Classpath style.
3502 2005-03-09 Tom Tromey <tromey@redhat.com>
3504 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3505 (toString): Synchronize.
3507 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3509 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3510 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3512 2005-03-07 Tom Tromey <tromey@redhat.com>
3514 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3515 (usage): Document '-f'.
3517 2005-03-07 Tom Tromey <tromey@redhat.com>
3519 * java/lang/VMCompiler.java (md5Digest): New field.
3520 (compileClass): Clone md5Digest instead of looking up a new one.
3522 2005-03-07 Tom Tromey <tromey@redhat.com>
3525 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3526 * link.cc (find_field_helper): Added 'type' argument.
3527 (find_field): Updated.
3529 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3530 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3531 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3532 throw UnsupportedOperationException, fixed comments.
3533 (setFont, setForeground): Fixed comments.
3534 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3535 return type to boolean.
3536 (getNextEvent): Fixed javadocs.
3537 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3538 (nativeQueueEmpty): Removed unused code.
3539 (iterateNativeQueue): Removed outer loop.
3541 2005-03-06 Roger Sayle <roger@eyesopen.com>
3544 * Makefile.am (libgcj0_convenience.la): Revert last change.
3545 * Makefile.in: Regenerate.
3547 2005-03-05 Anthony Green <green@redhat.com>
3549 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3550 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3551 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3552 (_Jv_GetDrawingSurface): Set visualID.
3553 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3554 (JAWT_GetAWT): Set Lock and Unlock.
3555 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3557 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3558 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3559 JAWT_LOCK_SURFACE_CHANGED): New macros.
3560 (struct _JAWT): Add Lock and Unlock.
3562 2005-03-05 Roger Sayle <roger@eyesopen.com>
3563 Alexandre Oliva <aoliva@redhat.com>
3564 Kelley Cook <kcook@gcc.gnu.org>
3567 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3568 of the object files to link to avoid exceeding the command line
3569 length limits on some platforms.
3570 (clean-local): Clean up objectlist files.
3571 * Makefile.in: Regenerate.
3573 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3575 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3576 spec_case. Initialize pointer mlo.
3578 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3581 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3583 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3586 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3587 uninitialized variable z.
3589 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3590 possible unused variables.
3592 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3594 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3596 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3599 * testsuite/libjava.jni/jni.exp
3600 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3602 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3604 2005-02-23 David Daney <ddaney@avtrex.com>
3606 * configure.host: Don't use -mxgot for MIPS builds.
3608 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3611 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3612 (COMPPATH): Removed.
3613 (ZIP, GCJH): Replace it with ../$(host_subdir).
3614 (built_gcc_dir): Add $(host_subdir).
3615 * configure: Regenerate.
3616 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3617 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3618 external/w3c_dom/Makefile.in: Regenerate.
3620 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3622 * java/awt/font/TextAttribute.java: changed names to lower case;
3623 (readResolve): implemented.
3624 Added doc comments all over.
3626 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3629 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3630 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3631 value. Move argument parsing code to prims.cc.
3632 * prims.cc (no_properties): Remove.
3633 (_Jv_Compiler_Properties): Initialize to NULL.
3634 (_Jv_Properties_Count): Initialize to 0.
3635 (parse_verbose_args): New function.
3636 (parse_init_args): New function.
3637 (_Jv_CreateJavaVM): Call parse_init_args.
3638 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3639 * gcj/cni.h (JvVMOption): New struct.
3640 (JvVMInitArgs): Likewise.
3641 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3643 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3644 (_Jv_VMInitArgs): Likewise.
3645 * include/java-props.h (_Jv_Properties_Count): Declare.
3646 * java/lang/natRuntime.cc (insertSystemProperties): Use
3647 _Jv_Properties_Count in for loop exit condition.
3648 * testsuite/libjava.jni/jni.exp
3649 (gcj_invocation_compile_c_to_binary): New procedure.
3650 (gcj_invocation_test_one): Likewise.
3651 (gcj_jni_run): Run JNI invocation API tests.
3652 * testsuite/libjava.jni/invocation/PR16923.c,
3653 testsuite/libjava.jni/invocation/PR16923.java,
3654 testsuite/libjava.jni/invocation/PR16923.out: New test.
3656 2005-02-23 Michael Koch <konqueror@gmx.de>
3658 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3659 * Makefile.in: Regenerated.
3661 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3663 * gnu/java/nio/ChannelReader: Fixed comments.
3665 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3667 * java/nio/channels/Channels: Added FIXMEs about
3668 stub method implementation.
3669 (newReader): Implemented.
3670 * gnu/java/nio/ChannelReader: New class.
3672 2005-02-23 Michael Koch <konqueror@gmx.de>
3674 * java/text/SimpleDateFormat.java:
3675 Removed unused import.
3677 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3680 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3681 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3682 * Makefile.in: Regenerate.
3683 * configure.ac: Check for libXtst.
3684 * configure: Regenerate.
3686 2005-02-22 Mark Wielaard <address@bogus.example.com>
3688 * java/security/AlgorithmParameterGenerator.java (getInstance):
3689 Mention provider when throwing NoSuchProviderException.
3690 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3691 * java/security/KeyFactory.java (getInstance): Likewise.
3692 * java/security/KeyStore.java (getInstance): Likewise.
3693 * java/security/SecureRandom.java (getInstance): Likewise.
3694 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3696 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3698 * java/lang/reflect/Proxy.java,
3700 java/security/SecureRandom.java,
3701 java/util/Timer.java,
3702 java/util/prefs/AbstractPreferences.java:
3703 Don't catch java.lang.ThreadDeath.
3705 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3707 * java/awt/font/TransformAttribute.java,
3708 (TransformAttribute(AffineTransform)): throw
3709 IllegalArgumentException for null transform.
3710 (getTransform): return a copy of transform.
3711 Added doc comments to all.
3713 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3715 * java/io/Externalizable.java,
3716 java/io/Serializable.java
3717 (serialVersionUID): Removed.
3718 * java/rmi/server/RemoteObject.java,
3719 java/rmi/server/UID.java
3720 (serialVersionUID): Made private.
3721 * java/rmi/server/RemoteRef.java,
3722 java/rmi/server/ServerRef.java
3723 (serialVersionUID): Set proper value.
3724 * java/security/interfaces/DSAPrivateKey.java,
3725 java/security/interfaces/DSAPublicKey.java,
3726 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3727 java/security/interfaces/RSAPrivateCrtKey.java,
3728 java/security/interfaces/RSAPrivateKey.java,
3729 java/security/interfaces/RSAPublicKey.java,
3730 javax/crypto/SecretKey.java
3731 (serialVersionUID): Added.
3733 2005-02-22 Tom Tromey <tromey@redhat.com>
3735 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3737 2005-02-22 Tom Tromey <tromey@redhat.com>
3740 * verify.cc (type::EITHER): New constant.
3741 (check_field_constant): Use it.
3742 (type::compatible): Handle it.
3744 2005-02-22 Michael Koch <konqueror@gmx.de>
3746 * gnu/java/security/PolicyFile.java,
3747 gnu/java/security/pkcs/PKCS7SignedData.java,
3748 gnu/java/security/pkcs/SignerInfo.java:
3749 Fixed copyright header.
3751 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3753 * java/beans/PropertyDescriptor.java
3754 (PropertyDescriptor,setReadMethod): Set propertyType.
3756 2005-02-22 Michael Koch <konqueror@gmx.de>
3758 * java/nio/DirectByteBufferImpl.java
3759 (owner): Fixed formatting of javadoc.
3760 * java/text/DateFormat.java
3761 (getAvailableLocales): Fixed formatting.
3762 * java/text/SimpleDateFormat.java:
3763 Fixed formatting and import statement order.
3764 * java/util/Calendar.java
3765 (Calendar): Fixed javadoc to be HTML compliant.
3766 * java/util/SimpleTimeZone.java:
3769 2005-02-22 Roman Kennke <roman@ontographics.com>
3771 * javax/swing/plaf/basic/BasicLookAndFeel.java
3772 (initComponentDefaults): Fixed Button left and right margin.
3774 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3776 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3780 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3781 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3782 (getWidth): New method.
3783 (getHeight): Likewise.
3784 (create): Remove width, height and insets parameters. Move size
3786 (realize_cb): ... here. New function.
3787 (connectSignals): Connect realize_cb.
3788 (request_frame_extents): Remove FIXME. Move
3789 postInsetsChangedEvent lookup ...
3790 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3791 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3792 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3794 (windowGetWidthID): Likewise.
3795 (windowGetHeightID): Likewise.
3797 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3800 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3801 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3803 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3805 Merge serialization from GNU Classpath.
3806 * gcj/method.h: Add missing #includes.
3807 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3808 primitive class IDs on the stream here...
3809 (resolveClass): ...not here.
3810 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3812 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3813 setLongNative, setIntNative, setShortNative, setCharNative,
3814 setByteNative, setBooleanNative, setObjectNative): New native methods.
3815 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3816 setLongNative, setIntNative, setShortNative, setCharNative,
3817 setByteNative, setBooleanNative, setObjectNative): Implement them.
3818 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3819 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3820 the constructor here.
3821 (callConstructor): Removed.
3822 (getCallersClassLoader): Removed.
3823 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3824 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3825 to control whether setting final field values is permitted. Call
3826 getAddr() with checkFinal parameter instead of setAddr().
3827 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3828 only if not done already.
3829 (getAddr): Add checkFinal parameter. Do the final field check only if
3833 2005-02-21 Mark Wielaard <mark@klomp.org>
3836 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3839 2005-02-21 Mark Wielaard <mark@klomp.org>
3842 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3843 without a super class and us ObjectStreamClass.lookupForClassObject().
3844 (resolveClass): Check for primitive types.
3845 (lookupClass): Return null when argument is null.
3847 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3849 * java/io/ObjectInputStream.java
3850 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3852 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3854 * java/io/ObjectOutputStream.java
3855 (writeObject, callWriteMethod): Replaced reflection with accessing
3856 cached info in ObjectStreamClass.
3857 (getMethod): Removed.
3858 * java/io/ObjectStreamClass.java
3859 (findMethod): Added check to make sure the method found has the
3861 (cacheMethods): Added writeReplace and writeObject methods.
3862 (setFlags): Look at new writeObjectMethod field instead of doing
3864 (writeReplaceMethod): New field.
3865 (writeObjectMethod): New field.
3867 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3868 Jeroen Frijters <jeroen@frijters.net>
3870 * java/io/ObjectInputStream.java
3871 (newObject): Changed prototype. Get a constructor reflect object
3873 (callConstructor): Removed.
3874 (allocateObject): Changed prototype.
3875 (readClassDescriptor): Build the constructor reflection directly.
3876 (readObject): Invoke newObject using the new prototype.
3878 * java/io/ObjectStreamClass.java
3879 (firstNonSerializableParent): Removed.
3880 (firstNonSerializableParentConstructor): Added.
3882 2005-02-21 Mark Wielaard <mark@klomp.org>
3884 * gnu/java/locale/LocaleInformation_en.java: Extend
3885 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3887 2005-02-21 Mark Wielaard <mark@klomp.org>
3889 * java/text/SimpleDateFormat.java
3890 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3891 NullPointerException when formatData is null.
3893 2005-02-21 Mark Wielaard <mark@klomp.org>
3895 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3896 taking dstSavings into account.
3898 2005-02-21 Sven de Marothy <sven@physto.se>
3900 * java/text/SimpleDateFormat.java,
3901 (parse): Set correct DST_OFFSET to the correct value.
3903 2005-02-21 Mark Wielaard <mark@klomp.org>
3905 * java/util/SimpleTimeZone.java (checkRule): Throw
3906 IllegalArgumentException when month out of range.
3908 2005-02-21 Sven de Marothy <sven@physto.se>
3910 * java/util/GregorianCalendar.java,
3911 (add): Don't set fields directly anymore. Use set()
3913 2005-02-21 Mark Wielaard <mark@klomp.org>
3915 * java/text/SimpleDateFormat.java (CompiledField.toString):
3916 Use StringBuffer, not StringBuilder.
3917 (toString): Likewise.
3919 2005-02-21 Sven de Marothy <sven@physto.se>
3921 * java/util/Calendar.java
3922 (clear): Dates should clear to local time.
3923 * java/util/GregorianCalendar.java
3924 (computeTime): Fix priority problem with DAY_OF_WEEK,
3925 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3927 2005-02-21 Sven de Marothy <sven@physto.se>
3929 * java/util/Calendar.java
3930 (Calendar): Constructor should clear fields.
3932 2005-02-21 Sven de Marothy <sven@physto.se>
3934 * java/text/SimpleDateFormat.java
3935 (parse): Tweak handling of 2-year dates
3936 * java/util/Calendar.java
3937 (clear): Clear fields to correct value.
3938 * java/util/GregorianCalendar.java
3939 (computeTime): Correct handling of time zones.
3940 Correct field minimum values.
3942 2005-02-21 Sven de Marothy <sven@physto.se>
3944 * java/util/Calendar.java
3945 (set) Invalidate all fields on first call to set().
3947 2005-02-21 Sven de Marothy <sven@physto.se>
3949 * java/util/GregorianCalendar.java
3950 (computeTime): Fixed handling of time zones.
3952 2005-02-21 Sven de Marothy <sven@physto.se>
3954 * java/util/Calendar.java
3955 (clear): Set values to Epoch instead of zero.
3956 (set): Set isSet to the relevant field pattern instead of just
3958 * java/util/GregorianCalendar.java
3959 (getBundle): Removed.
3960 (getDayOfYear): Removed.
3961 (getFirstDayOfMonth): New private method.
3962 (nonLeniencyCheck): New private method.
3963 (computeTime): Correct handling of insufficient data.
3965 2005-02-21 Sven de Marothy <sven@physto.se>
3967 * java/util/Calendar.java: Invalidate ERA field on setting
3969 * java/util/SimpleTimeZone.java:
3970 (getDaysInMonth): Reimplemented.
3971 * java/util/GregorianCalendar.java:
3972 (getLinearTime): Removed.
3973 (isLeapYear(int,boolean)): Removed.
3974 (before(), after()): Removed.
3975 (computeTime): Reimplemented.
3977 2005-02-21 Sven de Marothy <sven@physto.se>
3979 * java/util/Calendar.java: Reformatted.
3980 * java/util/GregorianCalendar.java: Reformatted.
3981 * java/util/SimpleTimeZone.java: Reformatted.
3983 2005-02-21 Sven de Marothy <sven@physto.se>
3985 * java/util/GregorianCalendar.java
3986 (GregorianCalendar): Update fields in the constructor
3988 2005-02-21 Noa Resare <noa@resare.com>
3990 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3991 (set(int,int)): Set and use new field.
3992 (set(int,int,int)): Check new field.
3994 2005-02-21 Noa Resare <address@hidden>
3996 * java/util/Calendar.java(set):
3997 Fix for DST related regression.
3999 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
4001 * java/util/Calendar.java
4002 (setTimeInMillis): Added call to clear, removed computeFields call.
4003 * java/util/Date.java
4004 (Date(int,int,int,int,int,int)): Removed workaround for
4005 GregorianCalendar bug.
4006 * java/util/GregorianCalendar.java
4007 (GregorianCalendar): Chained all constructors to a (new)
4009 (computeTime): Fixed support for lenient month treatment.
4010 (getLinearDay): Return long instead of int.
4011 (calculateDay): Added fields argument and changed day argument
4014 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
4016 * java/text/SimpleDateFormat.java
4017 Lots of documentation updates.
4018 (readObject(java.io.ObjectInputStream)): Wraps
4019 IllegalArgumentException as specified.
4020 (compileFormat(String)): Uses standardChars
4021 rather than the local pattern characters.
4022 Throws IllegalArgumentException rather than
4024 (toString()): Extended to include all variables
4026 (translateLocalizedPattern(String, String, String)):
4027 Renamed to better define the use of this method.
4029 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
4031 * java/text/DateFormat.java:
4032 Documented pattern character offset constants and
4034 (Field): Added new static fields for new pattern chars.
4035 * java/text/SimpleDateFormat.java:
4036 (CompiledField): Changed name of FieldSizePair class
4037 to CompiledField after adding the character as an
4038 attribute. Changed fields to private and added
4039 accessors to give encapsulation.
4040 (CompiledField.CompiledField(int,int,char)): Extended
4041 with character field.
4042 (CompiledField.getField()): New accessor method.
4043 (CompiledField.getSize()): New acceessor method.
4044 (CompiledField.getCharacter()): New accessor method.
4045 (CompiledField.toString()): Added primarily for debugging.
4046 (standardChars): Now uses extended 24 character sequence.
4047 (compileFormat(String)): Changed to use CompiledField.
4048 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
4049 java.text.FieldPosition)): Changed to use CompiledField.
4050 New handler for RFC 822 timezones added.
4052 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
4054 * java/text/SimpleDateFormat.java:
4055 (parse(String, java.text.ParsePosition)):
4056 Changed 'E' and 'M' cases to use both
4057 short and long names. Extended 'z'
4058 case to also handle 'Z', and deal
4059 with simple GMT offsets such as +0100.
4060 (computeOffset(String)): New private method,
4061 which converts a GMT offset specification,
4062 such as GMT-0500 to a numeric offset in
4064 * java/util/TimeZone.java:
4065 (timezones()): Added "CEST", the daylight
4066 savings time version of "CET", or Central
4069 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
4071 * java/text/SimpleDateFormat.java:
4072 (parse): Set the DST offset to 0 when parsing
4073 GMT offset timezones.
4075 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
4077 * java/text/SimpleDateFormat.java:
4078 (parse): Use offset to set ZONE_OFFSET
4079 rather than the DST_OFFSET, so that
4080 GMT offset timezones change the right
4083 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
4085 * java/text/SimpleDateFormat.java:
4086 (getDateFormatSymbols()): return a copy
4087 (setDateFormatSymbols(java.text.DateFormatSymbols)):
4088 throw exception on null input
4089 (clone()): implemented to clone
4092 2005-02-21 Sven de Marothy <sven@physto.se>
4094 * java/text/SimpleDateFormat.java
4095 (parse): comparison should be case-insensitive, ignore null
4098 2005-02-21 Robert Schuster <theBohemian@gmx.net>
4100 * gnu/java/beans/IntrospectionIncubator.java
4101 (addMethod) Reverts the patch that ntroduced a regression (see bug
4102 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
4104 2005-02-21 Michael Koch <konqueror@gmx.de>
4106 * java/awt/Checkbox.java
4107 (next_checkbox_number): New static variable.
4108 (generateName): New method.
4109 (getUniqueLong): Likewise.
4110 * java/awt/Window.java
4111 (next_window_number): New static variable.
4112 (generateName): New method.
4113 (getUniqueLong): Likewise.
4115 2005-02-21 Mark Wielaard <mark@klomp.org>
4117 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
4120 2005-02-21 Andrew Haley <aph@redhat.com>
4122 * Makefile.in: Rebuilt.
4123 * Makefile.am (nat_source_files): Added natLogger.cc.
4124 * java/util/logging/natLogger.cc: New file.
4125 * java/util/logging/Logger.java (getCallerStackFrame): Now
4128 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
4130 * Makefile.am (all_property_files): Remove left over.
4131 (classes.stamp): Add stamp for the ONESTEP build, also known as
4132 --enable-libgcj-multifile.
4133 * Makefile.in: Regenerated.
4135 2005-02-21 Michael Koch <konqueror@gmx.de>
4137 * java/awt/Button.java,
4138 java/awt/Container.java,
4140 java/awt/Frame.java,
4141 java/text/CollationElementIterator.java,
4142 java/text/RuleBasedCollator.java,
4143 java/util/PropertyPermission.java:
4144 Fixed formatting issues all over.
4146 2005-02-21 Mark Wielaard <mark@klomp.org>
4148 * java/io/FileDescriptor.java (sync): Add real exception to
4149 SyncFailedException.
4151 2005-02-21 Michael Koch <konqueror@gmx.de>
4153 * java/io/InputStreamReader.java:
4156 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
4159 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
4161 2005-02-20 Dalibor Topic <robilad@kaffe.org>
4163 * libraries/javalib/gnu/regexp/RE.java,
4164 libraries/javalib/java/io/ObjectInputStream.java,
4165 libraries/javalib/java/security/AllPermission.java,
4166 libraries/javalib/java/security/BasicPermission.java,
4167 libraries/javalib/java/security/Permissions.java,
4168 libraries/javalib/java/text/MessageFormat.java:
4169 Made 'inner' classes real public static inner classes,
4170 and made them final where possible, or removed them
4173 2005-02-20 Michael Koch <konqueror@gmx.de>
4175 * gnu/java/text/FormatCharacterIterator.java:
4176 Removed redundant modifiers.
4178 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4180 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
4183 2005-02-19 Michael Koch <konqueror@gmx.de>
4185 * Makefile.am: Added new files in gnu/java/beans and
4186 java/beans/XMLDecoder.java.
4187 * Makefile.in: Regenerated.
4189 2005-02-19 Robert Schuster <thebohemian@gmx.net>
4191 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
4192 assignment behavior by using java.lang.reflect.Array.set()
4195 2005-02-19 Dalibor Topic <robilad@kaffe.org>
4197 * gnu/java/beans/EmptyBeanInfo.java,
4198 gnu/java/beans/info/ComponentBeanInfo.java:
4199 Removed unused files.
4201 2005-02-19 Robert Schuster <thebohemian@gmx.net>
4203 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
4204 of AppletStub for java.beans.Beans.instantiate.
4205 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
4207 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
4208 to be conformant with Javadoc guidelines.
4209 (instantiate): Added two more overloaded variants, reworked user
4210 documentation, fixed exception behavior, fixed behavior when
4213 2005-02-19 Mark Wielaard <mark@klomp.org>
4215 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
4217 * gnu/java/beans/decoder/DummyContext.java: Likewise.
4219 2005-02-19 Robert Schuster <theBohemian@gmx.net>
4221 * gnu/java/beans/decoder/AbstractContext.java,
4222 gnu/java/beans/decoder/AbstractCreatableContext.java,
4223 gnu/java/beans/decoder/AbstractElementHandler.java,
4224 gnu/java/beans/decoder/AbstractObjectContext.java,
4225 gnu/java/beans/decoder/ArrayContext.java,
4226 gnu/java/beans/decoder/ArrayHandler.java,
4227 gnu/java/beans/decoder/AssemblyException.java,
4228 gnu/java/beans/decoder/BooleanHandler.java,
4229 gnu/java/beans/decoder/ByteHandler.java,
4230 gnu/java/beans/decoder/CharHandler.java,
4231 gnu/java/beans/decoder/ClassHandler.java,
4232 gnu/java/beans/decoder/ConstructorContext.java,
4233 gnu/java/beans/decoder/Context.java,
4234 gnu/java/beans/decoder/DecoderContext.java,
4235 gnu/java/beans/decoder/DefaultExceptionListener.java,
4236 gnu/java/beans/decoder/DoubleHandler.java,
4237 gnu/java/beans/decoder/DummyContext.java,
4238 gnu/java/beans/decoder/DummyHandler.java,
4239 gnu/java/beans/decoder/ElementHandler.java,
4240 gnu/java/beans/decoder/FloatHandler.java,
4241 gnu/java/beans/decoder/GrowableArrayContext.java,
4242 gnu/java/beans/decoder/IndexContext.java,
4243 gnu/java/beans/decoder/IntHandler.java,
4244 gnu/java/beans/decoder/JavaHandler.java,
4245 gnu/java/beans/decoder/LongHandler.java,
4246 gnu/java/beans/decoder/MethodContext.java,
4247 gnu/java/beans/decoder/MethodFinder.java,
4248 gnu/java/beans/decoder/NullHandler.java,
4249 gnu/java/beans/decoder/ObjectContext.java,
4250 gnu/java/beans/decoder/ObjectHandler.java,
4251 gnu/java/beans/decoder/PersistenceParser.java,
4252 gnu/java/beans/decoder/PropertyContext.java,
4253 gnu/java/beans/decoder/ShortHandler.java,
4254 gnu/java/beans/decoder/SimpleHandler.java,
4255 gnu/java/beans/decoder/StaticMethodContext.java,
4256 gnu/java/beans/decoder/StringHandler.java,
4257 gnu/java/beans/decoder/VoidHandler.java: New class
4258 implementing java.beans.XMLDecoder decoding functionality.
4259 * java/beans/XMLDecoder.java: New class.
4261 2005-02-19 Michael Koch <konqueror@gmx.de>
4263 * javax/swing/JTextField.java
4264 (notfiyAction): Added javadoc.
4266 2005-02-19 Sven de Marothy <sven@physto.se>
4268 * javax/swing/SpinnerDateModel.java: Implemented.
4270 2005-02-19 Michael Koch <konqueror@gmx.de>
4272 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
4273 * Makefile.in: Regenerated.
4275 2005-02-19 Michael Koch <konqueror@gmx.de>
4277 * gnu/java/nio/SelectorImpl.java:
4278 Reworked import statements.
4279 (register): Removed unused code.
4280 * java/nio/channels/Channels.java: Reformatted.
4281 * java/nio/charset/Charset.java: Likewise.
4282 * java/rmi/server/RemoteObject.java
4283 (serialVersionUID): Made private.
4284 * java/rmi/server/UID.java
4285 (serialVersionUID): Likewise.
4287 2005-02-19 Michael Koch <konqueror@gmx.de>
4289 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
4290 gnu/java/net/protocol/ftp/BlockInputStream.java,
4291 gnu/java/net/protocol/ftp/BlockOutputStream.java,
4292 gnu/java/net/protocol/ftp/CompressedInputStream.java,
4293 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
4294 gnu/java/net/protocol/ftp/DTPInputStream.java,
4295 gnu/java/net/protocol/ftp/DTP.java,
4296 gnu/java/net/protocol/ftp/DTPOutputStream.java,
4297 gnu/java/net/protocol/ftp/FTPConnection.java,
4298 gnu/java/net/protocol/ftp/FTPException.java,
4299 gnu/java/net/protocol/ftp/FTPResponse.java,
4300 gnu/java/net/protocol/ftp/FTPURLConnection.java,
4301 gnu/java/net/protocol/ftp/Handler.java,
4302 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
4303 gnu/java/net/protocol/ftp/StreamInputStream.java,
4304 gnu/java/net/protocol/ftp/StreamOutputStream.java,
4305 gnu/java/net/CRLFInputStream.java,
4306 gnu/java/net/CRLFOutputStream.java,
4307 gnu/java/net/GetLocalHostAction.java,
4308 gnu/java/net/protocol/ftp/package.html: New files.
4309 * Makefile.am: Added new files.
4310 * Makefile.in: Regenerated.
4312 2005-02-18 Tom Tromey <tromey@redhat.com>
4314 * link.cc (make_vtable): Remove abstract method check.
4315 (append_partial_itable): Likewise.
4318 * verify.cc (type::equals): Fixed test.
4319 * testsuite/libjava.lang/PR20056.out: New file.
4320 * testsuite/libjava.lang/PR20056.java: New file.
4322 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
4324 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
4325 not the HashEntry. Reported by Jean-Marie White.
4327 2005-02-18 Tom Tromey <tromey@redhat.com>
4330 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
4331 * link.cc (has_field_p): New function.
4332 * verify.cc (check_field_constant): Added 'putfield' argument.
4333 (verify_instructions_0): Updated.
4334 (type::equals): New method.
4336 2005-02-18 Anthony Green <green@redhat.com>
4338 * NEWS: Draft of libgcj NEWS for 4.0.
4340 2005-02-18 Anthony Green <green@redhat.com>
4342 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
4343 architecture names to "i386" for compatibility reasons. Win32
4346 2005-02-18 Anthony Green <green@redhat.com>
4348 * gij.cc (version): Change year for '--version' to 2005.
4349 * gnu/gcj/convert/Convert.java: Ditto.
4350 * gnu/java/rmi/rmic/RMIC.java: Ditto.
4351 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
4353 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
4354 recent copyright year in `--version' output.
4356 2005-02-18 Robert Schuster <thebohemian@gmx.net>
4358 * java/nio/charset/Charset.java (forName): Throws
4359 IllegalArgumentException when argument is null
4360 and added documentation.
4362 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4364 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
4365 Move the position of the source buffer forward.
4367 2005-02-17 Tom Tromey <tromey@redhat.com>
4369 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
4370 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
4371 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
4372 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
4373 Changed type of second argument. Rewrote.
4374 (make_vtable): Use it.
4375 (append_partial_itable): Updated.
4376 (layout_vtable_methods): Updated.
4378 2005-02-17 Michael Koch <konqueror@gmx.de>
4380 * gnu/java/net/PlainSocketImpl.java
4381 (shutdownInput): Added javadoc.
4382 (shutdownOutput): Likewise.
4384 2005-02-17 Michael Koch <konqueror@gmx.de>
4386 * javax/print/attribute/standard/Chromaticity.java,
4387 javax/print/attribute/standard/Destination.java,
4388 javax/print/attribute/standard/MediaPrintableArea.java,
4389 javax/print/attribute/standard/MediaSize.java: New files.
4390 * Makefile.am: Added new files.
4391 * Makefile.in: Regenerated.
4393 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
4394 Michael Koch <konqueror@gmx.de>
4396 * gnu/java/net/protocol/http/Cookie.java,
4397 gnu/java/net/protocol/http/HTTPConnection.java,
4398 gnu/java/net/protocol/http/HTTPDateFormat.java,
4399 gnu/java/net/protocol/http/Request.java,
4400 gnu/java/nio/PipeImpl.java,
4401 gnu/java/rmi/dgc/DGCImpl.java,
4402 gnu/java/rmi/server/ConnectionRunnerPool.java,
4403 gnu/java/rmi/server/UnicastConnectionManager.java,
4404 gnu/java/security/der/DERWriter.java,
4405 gnu/java/security/pkcs/SignerInfo.java,
4406 gnu/java/security/provider/EncodedKeyFactory.java,
4407 gnu/java/security/provider/GnuDHPublicKey.java,
4408 gnu/java/security/provider/GnuDSAPrivateKey.java,
4409 gnu/java/security/provider/GnuDSAPublicKey.java,
4410 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4411 gnu/java/security/x509/X500DistinguishedName.java,
4412 gnu/java/security/x509/X509CRL.java,
4413 gnu/java/security/x509/X509CRLEntry.java,
4414 gnu/java/security/x509/X509Certificate.java,
4415 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4416 gnu/java/security/x509/ext/CertificatePolicies.java,
4417 gnu/java/security/x509/ext/PolicyConstraint.java,
4418 gnu/xml/dom/Consumer.java,
4419 gnu/xml/dom/DomCharacterData.java,
4420 gnu/xml/dom/DomDocument.java,
4421 gnu/xml/dom/DomDocumentBuilder.java,
4422 gnu/xml/dom/DomIterator.java,
4423 gnu/xml/dom/DomNode.java,
4424 gnu/xml/dom/DomXPathExpression.java,
4425 gnu/xml/dom/DomXPathResult.java,
4426 gnu/xml/dom/JAXPFactory.java,
4427 gnu/xml/pipeline/CallFilter.java,
4428 gnu/xml/pipeline/DomConsumer.java,
4429 gnu/xml/pipeline/LinkFilter.java,
4430 gnu/xml/pipeline/NSFilter.java,
4431 gnu/xml/pipeline/TeeConsumer.java,
4432 gnu/xml/pipeline/ValidationConsumer.java,
4433 gnu/xml/pipeline/WellFormednessFilter.java,
4434 gnu/xml/pipeline/XIncludeFilter.java,
4435 gnu/xml/pipeline/XsltFilter.java,
4436 gnu/xml/transform/ApplyImportsNode.java,
4437 gnu/xml/transform/Bindings.java,
4438 gnu/xml/transform/DocumentFunction.java,
4439 gnu/xml/transform/FormatNumberFunction.java,
4440 gnu/xml/transform/NodeNumberNode.java,
4441 gnu/xml/transform/NumberNode.java,
4442 gnu/xml/transform/Stylesheet.java,
4443 gnu/xml/transform/SystemPropertyFunction.java,
4444 gnu/xml/transform/Template.java,
4445 gnu/xml/transform/TemplatesImpl.java,
4446 gnu/xml/transform/TransformerImpl.java,
4447 gnu/xml/transform/ValueOfNode.java,
4448 gnu/xml/transform/XSLURIResolver.java,
4449 gnu/xml/util/DoParse.java,
4450 gnu/xml/util/Resolver.java,
4451 gnu/xml/xpath/Expr.java,
4452 gnu/xml/xpath/FunctionCall.java,
4453 gnu/xml/xpath/RelationalExpr.java,
4454 gnu/xml/xpath/Selector.java,
4455 gnu/xml/xpath/XPathParser.java:
4456 Reworked import statements, fixed modifier order and some little
4459 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4461 * java/nio/ByteBufferImpl.java (compact):
4462 Set position and limit even if no bytes were moved.
4464 2005-02-17 Michael Koch <konqueror@gmx.de>
4466 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4467 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4468 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4469 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4470 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4471 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4472 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4473 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4474 * java/nio/FloatBufferImpl.java (compact): Set position.
4475 * java/nio/CharBufferImpl.java (compact): Likewise.
4476 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4477 * java/nio/IntBufferImpl.java (compact): Likewise.
4478 * java/nio/LongBufferImpl.java (compact): Likewise.
4479 * java/nio/ShortBufferImpl.java (compact): Likewise.
4481 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4483 * java/nio/ByteBufferImpl.java,
4484 java/nio/CharBufferImpl.java,
4485 java/nio/DirectByteBufferImpl.java,
4486 java/nio/DoubleBufferImpl.java,
4487 java/nio/FloatBufferImpl.java,
4488 java/nio/IntBufferImpl.java,
4489 java/nio/LongBufferImpl.java,
4490 java/nio/MappedByteBufferImpl.java,
4491 java/nio/ShortBufferImpl.java
4492 (compact): Added explicit read-only check and invalidate mark.
4494 2005-02-17 Michael Koch <konqueror@gmx.de>
4496 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4497 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4498 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4499 gnu/java/awt/peer/gtk/GdkGraphics.java,
4500 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4501 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4502 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4503 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4504 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4505 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4506 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4507 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4508 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4509 gnu/java/awt/peer/gtk/GtkClipboard.java,
4510 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4511 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4512 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4513 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4514 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4515 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4516 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4517 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4518 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4519 gnu/java/awt/peer/gtk/GtkToolkit.java,
4520 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4521 java/applet/Applet.java,
4522 java/awt/AWTError.java,
4523 java/awt/AWTEvent.java,
4524 java/awt/AWTEventMulticaster.java,
4525 java/awt/AWTException.java,
4526 java/awt/AWTKeyStroke.java,
4527 java/awt/AWTPermission.java,
4528 java/awt/ActiveEvent.java,
4529 java/awt/Adjustable.java,
4530 java/awt/AlphaComposite.java,
4531 java/awt/AttributeValue.java,
4532 java/awt/BorderLayout.java,
4533 java/awt/BufferCapabilities.java,
4534 java/awt/Button.java,
4535 java/awt/Canvas.java,
4536 java/awt/CheckboxGroup.java,
4537 java/awt/CheckboxMenuItem.java,
4538 java/awt/Color.java,
4539 java/awt/ColorPaintContext.java,
4540 java/awt/Component.java,
4541 java/awt/ComponentOrientation.java,
4542 java/awt/Composite.java,
4543 java/awt/CompositeContext.java,
4544 java/awt/Container.java,
4545 java/awt/ContainerOrderFocusTraversalPolicy.java,
4546 java/awt/DefaultFocusTraversalPolicy.java,
4547 java/awt/Dialog.java,
4548 java/awt/Dimension.java,
4549 java/awt/DisplayMode.java,
4550 java/awt/EventQueue.java,
4551 java/awt/FileDialog.java,
4552 java/awt/FontFormatException.java,
4553 java/awt/Graphics.java,
4554 java/awt/Graphics2D.java,
4555 java/awt/GraphicsConfigTemplate.java,
4556 java/awt/GraphicsConfiguration.java,
4557 java/awt/GraphicsDevice.java,
4558 java/awt/GridBagLayout.java,
4559 java/awt/GridBagLayoutInfo.java,
4560 java/awt/GridLayout.java,
4561 java/awt/HeadlessException.java,
4562 java/awt/IllegalComponentStateException.java,
4563 java/awt/Image.java,
4564 java/awt/Insets.java,
4565 java/awt/ItemSelectable.java,
4566 java/awt/JobAttributes.java,
4567 java/awt/KeyEventDispatcher.java,
4568 java/awt/KeyEventPostProcessor.java,
4569 java/awt/KeyboardFocusManager.java,
4570 java/awt/Label.java,
4571 java/awt/LayoutManager.java,
4572 java/awt/MenuBar.java,
4573 java/awt/MenuComponent.java,
4574 java/awt/MenuContainer.java,
4575 java/awt/PageAttributes.java,
4576 java/awt/Paint.java,
4577 java/awt/PaintContext.java,
4578 java/awt/Panel.java,
4579 java/awt/Point.java,
4580 java/awt/Polygon.java,
4581 java/awt/PrintGraphics.java,
4582 java/awt/PrintJob.java,
4583 java/awt/Rectangle.java,
4584 java/awt/RenderingHints.java,
4585 java/awt/Shape.java,
4586 java/awt/Stroke.java,
4587 java/awt/SystemColor.java,
4588 java/awt/Toolkit.java,
4589 java/awt/Transparency.java,
4590 java/awt/Window.java,
4591 java/awt/color/CMMException.java,
4592 java/awt/color/ColorSpace.java,
4593 java/awt/color/ICC_ColorSpace.java,
4594 java/awt/color/ICC_Profile.java,
4595 java/awt/color/ProfileDataException.java,
4596 java/awt/datatransfer/FlavorTable.java,
4597 java/awt/datatransfer/MimeTypeParseException.java,
4598 java/awt/datatransfer/Transferable.java,
4599 java/awt/datatransfer/UnsupportedFlavorException.java,
4600 java/awt/dnd/Autoscroll.java,
4601 java/awt/dnd/DnDConstants.java,
4602 java/awt/dnd/DragGestureListener.java,
4603 java/awt/dnd/DragSourceAdapter.java,
4604 java/awt/dnd/DragSourceDropEvent.java,
4605 java/awt/dnd/DragSourceListener.java,
4606 java/awt/dnd/DragSourceMotionListener.java,
4607 java/awt/dnd/DropTargetAdapter.java,
4608 java/awt/dnd/DropTargetContext.java,
4609 java/awt/dnd/DropTargetListener.java,
4610 java/awt/dnd/InvalidDnDOperationException.java,
4611 java/awt/dnd/MouseDragGestureRecognizer.java,
4612 java/awt/dnd/peer/DropTargetContextPeer.java,
4613 java/awt/event/AWTEventListener.java,
4614 java/awt/event/AWTEventListenerProxy.java,
4615 java/awt/event/ActionEvent.java,
4616 java/awt/event/AdjustmentEvent.java,
4617 java/awt/event/AdjustmentListener.java,
4618 java/awt/event/ComponentAdapter.java,
4619 java/awt/event/ComponentEvent.java,
4620 java/awt/event/ComponentListener.java,
4621 java/awt/event/ContainerAdapter.java,
4622 java/awt/event/ContainerEvent.java,
4623 java/awt/event/ContainerListener.java,
4624 java/awt/event/FocusAdapter.java,
4625 java/awt/event/FocusEvent.java,
4626 java/awt/event/FocusListener.java,
4627 java/awt/event/InputEvent.java,
4628 java/awt/event/InputMethodEvent.java,
4629 java/awt/event/InputMethodListener.java,
4630 java/awt/event/InvocationEvent.java,
4631 java/awt/event/ItemEvent.java,
4632 java/awt/event/ItemListener.java,
4633 java/awt/event/KeyAdapter.java,
4634 java/awt/event/KeyEvent.java,
4635 java/awt/event/KeyListener.java,
4636 java/awt/event/MouseAdapter.java,
4637 java/awt/event/MouseEvent.java,
4638 java/awt/event/MouseListener.java,
4639 java/awt/event/MouseMotionAdapter.java,
4640 java/awt/event/MouseMotionListener.java,
4641 java/awt/event/MouseWheelEvent.java,
4642 java/awt/event/MouseWheelListener.java,
4643 java/awt/event/PaintEvent.java,
4644 java/awt/event/TextEvent.java,
4645 java/awt/event/TextListener.java,
4646 java/awt/event/WindowAdapter.java,
4647 java/awt/event/WindowEvent.java,
4648 java/awt/event/WindowFocusListener.java,
4649 java/awt/event/WindowListener.java,
4650 java/awt/event/WindowStateListener.java,
4651 java/awt/font/TextHitInfo.java,
4652 java/awt/geom/CubicCurve2D.java,
4653 java/awt/geom/Dimension2D.java,
4654 java/awt/geom/Ellipse2D.java,
4655 java/awt/geom/IllegalPathStateException.java,
4656 java/awt/geom/Line2D.java,
4657 java/awt/geom/NoninvertibleTransformException.java,
4658 java/awt/geom/PathIterator.java,
4659 java/awt/geom/Point2D.java,
4660 java/awt/geom/QuadCurve2D.java,
4661 java/awt/geom/RectangularShape.java,
4662 java/awt/geom/RoundRectangle2D.java,
4663 java/awt/im/InputContext.java,
4664 java/awt/im/InputMethodHighlight.java,
4665 java/awt/im/InputMethodRequests.java,
4666 java/awt/im/InputSubset.java,
4667 java/awt/im/spi/InputMethod.java,
4668 java/awt/im/spi/InputMethodDescriptor.java,
4669 java/awt/image/BandCombineOp.java,
4670 java/awt/image/BandedSampleModel.java,
4671 java/awt/image/ByteLookupTable.java,
4672 java/awt/image/ComponentSampleModel.java,
4673 java/awt/image/DataBuffer.java,
4674 java/awt/image/DataBufferByte.java,
4675 java/awt/image/DataBufferDouble.java,
4676 java/awt/image/DataBufferFloat.java,
4677 java/awt/image/DataBufferInt.java,
4678 java/awt/image/DataBufferShort.java,
4679 java/awt/image/DataBufferUShort.java,
4680 java/awt/image/ImagingOpException.java,
4681 java/awt/image/Kernel.java,
4682 java/awt/image/LookupTable.java,
4683 java/awt/image/MultiPixelPackedSampleModel.java,
4684 java/awt/image/PackedColorModel.java,
4685 java/awt/image/PixelInterleavedSampleModel.java,
4686 java/awt/image/RGBImageFilter.java,
4687 java/awt/image/Raster.java,
4688 java/awt/image/RasterFormatException.java,
4689 java/awt/image/SampleModel.java,
4690 java/awt/image/ShortLookupTable.java,
4691 java/awt/image/SinglePixelPackedSampleModel.java,
4692 java/awt/image/WritableRaster.java,
4693 java/awt/print/PrinterAbortException.java,
4694 java/awt/print/PrinterException.java,
4695 java/awt/print/PrinterIOException.java,
4696 java/beans/AppletInitializer.java,
4697 java/beans/ExceptionListener.java,
4698 java/beans/PropertyChangeEvent.java,
4699 java/beans/PropertyChangeListenerProxy.java,
4700 java/beans/PropertyChangeSupport.java,
4701 java/beans/PropertyDescriptor.java,
4702 java/beans/VetoableChangeListenerProxy.java,
4703 java/beans/VetoableChangeSupport.java,
4704 java/io/BufferedReader.java,
4705 java/io/ByteArrayInputStream.java,
4706 java/io/ByteArrayOutputStream.java,
4707 java/io/CharArrayReader.java,
4708 java/io/CharArrayWriter.java,
4709 java/io/CharConversionException.java,
4710 java/io/DataInput.java,
4711 java/io/DataInputStream.java,
4712 java/io/DataOutput.java,
4713 java/io/DataOutputStream.java,
4714 java/io/EOFException.java,
4715 java/io/FileInputStream.java,
4716 java/io/FileNotFoundException.java,
4717 java/io/FileOutputStream.java,
4718 java/io/FilenameFilter.java,
4719 java/io/FilterInputStream.java,
4720 java/io/FilterOutputStream.java,
4721 java/io/FilterReader.java,
4722 java/io/FilterWriter.java,
4723 java/io/IOException.java,
4724 java/io/InputStream.java,
4725 java/io/InterruptedIOException.java,
4726 java/io/LineNumberInputStream.java,
4727 java/io/LineNumberReader.java,
4728 java/io/ObjectInputStream.java,
4729 java/io/ObjectStreamException.java,
4730 java/io/OptionalDataException.java,
4731 java/io/OutputStream.java,
4732 java/io/OutputStreamWriter.java,
4733 java/io/PrintStream.java,
4734 java/io/PrintWriter.java,
4735 java/io/PushbackInputStream.java,
4736 java/io/PushbackReader.java,
4737 java/io/RandomAccessFile.java,
4738 java/io/Reader.java,
4739 java/io/SequenceInputStream.java,
4740 java/io/Serializable.java,
4741 java/io/StreamCorruptedException.java,
4742 java/io/StreamTokenizer.java,
4743 java/io/StringBufferInputStream.java,
4744 java/io/StringWriter.java,
4745 java/io/SyncFailedException.java,
4746 java/io/UTFDataFormatException.java,
4747 java/io/UnsupportedEncodingException.java,
4748 java/io/WriteAbortedException.java,
4749 java/io/Writer.java,
4750 java/lang/AbstractMethodError.java,
4751 java/lang/ArithmeticException.java,
4752 java/lang/ArrayIndexOutOfBoundsException.java,
4753 java/lang/ArrayStoreException.java,
4754 java/lang/AssertionError.java,
4755 java/lang/Boolean.java,
4756 java/lang/Byte.java,
4757 java/lang/Class.java,
4758 java/lang/ClassCastException.java,
4759 java/lang/ClassCircularityError.java,
4760 java/lang/ClassLoader.java,
4761 java/lang/ClassNotFoundException.java,
4762 java/lang/CloneNotSupportedException.java,
4763 java/lang/Cloneable.java,
4764 java/lang/Comparable.java,
4765 java/lang/Compiler.java,
4766 java/lang/Double.java,
4767 java/lang/Error.java,
4768 java/lang/Exception.java,
4769 java/lang/ExceptionInInitializerError.java,
4770 java/lang/Float.java,
4771 java/lang/IllegalAccessError.java,
4772 java/lang/IllegalAccessException.java,
4773 java/lang/IllegalArgumentException.java,
4774 java/lang/IllegalMonitorStateException.java,
4775 java/lang/IllegalStateException.java,
4776 java/lang/IllegalThreadStateException.java,
4777 java/lang/IncompatibleClassChangeError.java,
4778 java/lang/IndexOutOfBoundsException.java,
4779 java/lang/InheritableThreadLocal.java,
4780 java/lang/InstantiationError.java,
4781 java/lang/InstantiationException.java,
4782 java/lang/Integer.java,
4783 java/lang/InternalError.java,
4784 java/lang/InterruptedException.java,
4785 java/lang/LinkageError.java,
4786 java/lang/Long.java,
4787 java/lang/NegativeArraySizeException.java,
4788 java/lang/NoClassDefFoundError.java,
4789 java/lang/NoSuchFieldError.java,
4790 java/lang/NoSuchFieldException.java,
4791 java/lang/NoSuchMethodError.java,
4792 java/lang/NoSuchMethodException.java,
4793 java/lang/NullPointerException.java,
4794 java/lang/Number.java,
4795 java/lang/NumberFormatException.java,
4796 java/lang/OutOfMemoryError.java,
4797 java/lang/Process.java,
4798 java/lang/Runnable.java,
4799 java/lang/Runtime.java,
4800 java/lang/RuntimeException.java,
4801 java/lang/RuntimePermission.java,
4802 java/lang/SecurityException.java,
4803 java/lang/SecurityManager.java,
4804 java/lang/Short.java,
4805 java/lang/StackOverflowError.java,
4806 java/lang/StackTraceElement.java,
4807 java/lang/StringBuffer.java,
4808 java/lang/StringIndexOutOfBoundsException.java,
4809 java/lang/ThreadDeath.java,
4810 java/lang/ThreadGroup.java,
4811 java/lang/Throwable.java,
4812 java/lang/UnsatisfiedLinkError.java,
4813 java/lang/UnsupportedOperationException.java,
4814 java/lang/VerifyError.java,
4815 java/lang/VirtualMachineError.java,
4816 java/lang/reflect/AccessibleObject.java,
4817 java/lang/reflect/Array.java,
4818 java/lang/reflect/InvocationTargetException.java,
4819 java/lang/reflect/Member.java,
4820 java/lang/reflect/Modifier.java,
4821 java/lang/reflect/Proxy.java,
4822 java/lang/reflect/ReflectPermission.java,
4823 java/lang/reflect/UndeclaredThrowableException.java,
4824 java/math/BigInteger.java,
4825 java/net/NetworkInterface.java,
4826 java/nio/ByteBufferHelper.java,
4827 java/nio/ByteBufferImpl.java,
4828 java/nio/DirectByteBufferImpl.java,
4829 java/nio/DoubleBufferImpl.java,
4830 java/nio/FloatBufferImpl.java,
4831 java/nio/IntBufferImpl.java,
4832 java/nio/LongBufferImpl.java,
4833 java/nio/ShortBufferImpl.java,
4834 java/nio/channels/Channel.java,
4835 java/nio/channels/IllegalBlockingModeException.java,
4836 java/nio/charset/spi/CharsetProvider.java,
4837 java/security/AccessControlException.java,
4838 java/security/BasicPermission.java,
4839 java/security/DigestException.java,
4840 java/security/DigestInputStream.java,
4841 java/security/DigestOutputStream.java,
4842 java/security/GeneralSecurityException.java,
4843 java/security/Guard.java,
4844 java/security/GuardedObject.java,
4845 java/security/InvalidAlgorithmParameterException.java,
4846 java/security/InvalidKeyException.java,
4847 java/security/InvalidParameterException.java,
4848 java/security/Key.java,
4849 java/security/KeyException.java,
4850 java/security/KeyManagementException.java,
4851 java/security/KeyStoreException.java,
4852 java/security/MessageDigestSpi.java,
4853 java/security/NoSuchAlgorithmException.java,
4854 java/security/NoSuchProviderException.java,
4855 java/security/Permission.java,
4856 java/security/PermissionCollection.java,
4857 java/security/Permissions.java,
4858 java/security/Principal.java,
4859 java/security/PrivateKey.java,
4860 java/security/PrivilegedActionException.java,
4861 java/security/ProviderException.java,
4862 java/security/PublicKey.java,
4863 java/security/SecureRandom.java,
4864 java/security/SecureRandomSpi.java,
4865 java/security/SignatureException.java,
4866 java/security/SignatureSpi.java,
4867 java/security/SignedObject.java,
4868 java/security/Signer.java,
4869 java/security/UnrecoverableKeyException.java,
4870 java/security/UnresolvedPermission.java,
4871 java/security/acl/AclNotFoundException.java,
4872 java/security/acl/LastOwnerException.java,
4873 java/security/acl/NotOwnerException.java,
4874 java/security/cert/CertPath.java,
4875 java/security/cert/CertPathBuilderException.java,
4876 java/security/cert/CertPathValidatorException.java,
4877 java/security/cert/CertStoreException.java,
4878 java/text/BreakIterator.java,
4879 java/text/ChoiceFormat.java,
4880 java/text/CollationElementIterator.java,
4881 java/text/CollationKey.java,
4882 java/text/Collator.java,
4883 java/text/DateFormat.java,
4884 java/text/DateFormatSymbols.java,
4885 java/text/DecimalFormat.java,
4886 java/text/DecimalFormatSymbols.java,
4887 java/text/FieldPosition.java,
4888 java/text/Format.java,
4889 java/text/NumberFormat.java,
4890 java/text/ParseException.java,
4891 java/text/ParsePosition.java,
4892 java/text/StringCharacterIterator.java,
4893 java/util/AbstractCollection.java,
4894 java/util/AbstractList.java,
4895 java/util/AbstractMap.java,
4896 java/util/AbstractSequentialList.java,
4897 java/util/AbstractSet.java,
4898 java/util/ArrayList.java,
4899 java/util/Arrays.java,
4900 java/util/BitSet.java,
4901 java/util/Collection.java,
4902 java/util/Collections.java,
4903 java/util/Comparator.java,
4904 java/util/ConcurrentModificationException.java,
4905 java/util/Currency.java,
4906 java/util/Date.java,
4907 java/util/EmptyStackException.java,
4908 java/util/Enumeration.java,
4909 java/util/EventListener.java,
4910 java/util/EventListenerProxy.java,
4911 java/util/EventObject.java,
4912 java/util/HashMap.java,
4913 java/util/HashSet.java,
4914 java/util/Hashtable.java,
4915 java/util/IdentityHashMap.java,
4916 java/util/Iterator.java,
4917 java/util/LinkedHashSet.java,
4918 java/util/LinkedList.java,
4919 java/util/List.java,
4920 java/util/ListIterator.java,
4921 java/util/ListResourceBundle.java,
4923 java/util/MissingResourceException.java,
4924 java/util/NoSuchElementException.java,
4925 java/util/Observable.java,
4926 java/util/Observer.java,
4927 java/util/Properties.java,
4928 java/util/PropertyPermissionCollection.java,
4929 java/util/RandomAccess.java,
4931 java/util/SortedMap.java,
4932 java/util/SortedSet.java,
4933 java/util/Stack.java,
4934 java/util/StringTokenizer.java,
4935 java/util/TooManyListenersException.java,
4936 java/util/TreeMap.java,
4937 java/util/TreeSet.java,
4938 java/util/Vector.java,
4939 java/util/logging/FileHandler.java,
4940 java/util/logging/Level.java,
4941 java/util/prefs/BackingStoreException.java,
4942 java/util/prefs/InvalidPreferencesFormatException.java,
4943 java/util/prefs/Preferences.java,
4944 javax/accessibility/Accessible.java,
4945 javax/accessibility/AccessibleAction.java,
4946 javax/accessibility/AccessibleBundle.java,
4947 javax/accessibility/AccessibleComponent.java,
4948 javax/accessibility/AccessibleContext.java,
4949 javax/accessibility/AccessibleEditableText.java,
4950 javax/accessibility/AccessibleExtendedComponent.java,
4951 javax/accessibility/AccessibleExtendedTable.java,
4952 javax/accessibility/AccessibleHyperlink.java,
4953 javax/accessibility/AccessibleHypertext.java,
4954 javax/accessibility/AccessibleIcon.java,
4955 javax/accessibility/AccessibleKeyBinding.java,
4956 javax/accessibility/AccessibleRelation.java,
4957 javax/accessibility/AccessibleRelationSet.java,
4958 javax/accessibility/AccessibleResourceBundle.java,
4959 javax/accessibility/AccessibleRole.java,
4960 javax/accessibility/AccessibleSelection.java,
4961 javax/accessibility/AccessibleState.java,
4962 javax/accessibility/AccessibleStateSet.java,
4963 javax/accessibility/AccessibleTable.java,
4964 javax/accessibility/AccessibleTableModelChange.java,
4965 javax/accessibility/AccessibleText.java,
4966 javax/accessibility/AccessibleValue.java,
4967 javax/imageio/IIOException.java,
4968 javax/imageio/ImageIO.java,
4969 javax/imageio/spi/IIOServiceProvider.java,
4970 javax/imageio/spi/ImageInputStreamSpi.java,
4971 javax/imageio/spi/ImageOutputStreamSpi.java,
4972 javax/imageio/spi/ImageReaderWriterSpi.java,
4973 javax/imageio/spi/ImageTranscoderSpi.java,
4974 javax/imageio/spi/RegisterableService.java,
4975 javax/imageio/spi/ServiceRegistry.java,
4976 javax/imageio/stream/IIOByteBuffer.java,
4977 javax/imageio/stream/ImageInputStream.java,
4978 javax/imageio/stream/ImageOutputStream.java,
4979 javax/naming/Binding.java,
4980 javax/naming/CannotProceedException.java,
4981 javax/naming/CompositeName.java,
4982 javax/naming/CompoundName.java,
4983 javax/naming/LinkException.java,
4984 javax/naming/LinkRef.java,
4985 javax/naming/NameClassPair.java,
4986 javax/naming/Reference.java,
4987 javax/naming/ReferralException.java,
4988 javax/naming/directory/Attribute.java,
4989 javax/naming/directory/AttributeModificationException.java,
4990 javax/naming/directory/Attributes.java,
4991 javax/naming/directory/DirContext.java,
4992 javax/naming/directory/ModificationItem.java,
4993 javax/naming/directory/SearchControls.java,
4994 javax/naming/directory/SearchResult.java,
4995 javax/naming/event/EventContext.java,
4996 javax/naming/event/EventDirContext.java,
4997 javax/naming/event/NamespaceChangeListener.java,
4998 javax/naming/event/NamingExceptionEvent.java,
4999 javax/naming/event/NamingListener.java,
5000 javax/naming/event/ObjectChangeListener.java,
5001 javax/naming/ldap/Control.java,
5002 javax/naming/ldap/ExtendedResponse.java,
5003 javax/naming/ldap/HasControls.java,
5004 javax/naming/ldap/LdapContext.java,
5005 javax/naming/ldap/UnsolicitedNotification.java,
5006 javax/naming/ldap/UnsolicitedNotificationEvent.java,
5007 javax/naming/ldap/UnsolicitedNotificationListener.java,
5008 javax/naming/spi/DirectoryManager.java,
5009 javax/naming/spi/ResolveResult.java,
5010 javax/naming/spi/Resolver.java,
5011 javax/security/auth/callback/Callback.java,
5012 javax/security/auth/callback/CallbackHandler.java,
5013 javax/security/auth/callback/ChoiceCallback.java,
5014 javax/security/auth/callback/ConfirmationCallback.java,
5015 javax/security/auth/callback/LanguageCallback.java,
5016 javax/security/auth/callback/NameCallback.java,
5017 javax/security/auth/callback/PasswordCallback.java,
5018 javax/security/auth/callback/TextInputCallback.java,
5019 javax/security/auth/callback/TextOutputCallback.java,
5020 javax/security/auth/callback/UnsupportedCallbackException.java,
5021 javax/security/sasl/Sasl.java,
5022 javax/security/sasl/SaslServerFactory.java,
5023 javax/swing/DefaultBoundedRangeModel.java,
5024 javax/swing/JComponent.java,
5025 javax/swing/JList.java,
5026 javax/swing/JProgressBar.java,
5027 javax/swing/JRadioButton.java,
5028 javax/swing/JTextArea.java,
5029 javax/swing/JTextField.java,
5030 javax/swing/JToggleButton.java,
5031 javax/swing/JTree.java,
5032 javax/swing/SpinnerListModel.java,
5033 javax/swing/event/EventListenerList.java,
5034 javax/swing/text/JTextComponent.java,
5035 javax/swing/text/StringContent.java,
5036 javax/swing/text/Utilities.java,
5037 javax/swing/undo/UndoManager.java,
5038 javax/swing/undo/UndoableEditSupport.java,
5039 javax/transaction/HeuristicCommitException.java,
5040 javax/transaction/HeuristicMixedException.java,
5041 javax/transaction/HeuristicRollbackException.java,
5042 javax/transaction/InvalidTransactionException.java,
5043 javax/transaction/NotSupportedException.java,
5044 javax/transaction/RollbackException.java,
5045 javax/transaction/Status.java,
5046 javax/transaction/Synchronization.java,
5047 javax/transaction/SystemException.java,
5048 javax/transaction/Transaction.java,
5049 javax/transaction/TransactionManager.java,
5050 javax/transaction/TransactionRequiredException.java,
5051 javax/transaction/TransactionRolledbackException.java,
5052 javax/transaction/UserTransaction.java,
5053 javax/transaction/xa/XAException.java,
5054 javax/transaction/xa/XAResource.java,
5055 javax/transaction/xa/Xid.java,
5056 javax/xml/XMLConstants.java,
5057 javax/xml/datatype/DatatypeConfigurationException.java,
5058 javax/xml/datatype/DatatypeConstants.java,
5059 javax/xml/datatype/DatatypeFactory.java,
5060 javax/xml/datatype/Duration.java,
5061 javax/xml/datatype/XMLGregorianCalendar.java,
5062 javax/xml/namespace/NamespaceContext.java,
5063 javax/xml/namespace/QName.java,
5064 javax/xml/parsers/DocumentBuilder.java,
5065 javax/xml/parsers/DocumentBuilderFactory.java,
5066 javax/xml/parsers/FactoryConfigurationError.java,
5067 javax/xml/parsers/ParserConfigurationException.java,
5068 javax/xml/parsers/SAXParser.java,
5069 javax/xml/parsers/SAXParserFactory.java,
5070 javax/xml/transform/ErrorListener.java,
5071 javax/xml/transform/OutputKeys.java,
5072 javax/xml/transform/Result.java,
5073 javax/xml/transform/Source.java,
5074 javax/xml/transform/SourceLocator.java,
5075 javax/xml/transform/Templates.java,
5076 javax/xml/transform/Transformer.java,
5077 javax/xml/transform/TransformerConfigurationException.java,
5078 javax/xml/transform/TransformerException.java,
5079 javax/xml/transform/TransformerFactory.java,
5080 javax/xml/transform/TransformerFactoryConfigurationError.java,
5081 javax/xml/transform/URIResolver.java,
5082 javax/xml/transform/dom/DOMLocator.java,
5083 javax/xml/transform/dom/DOMResult.java,
5084 javax/xml/transform/dom/DOMSource.java,
5085 javax/xml/transform/sax/SAXResult.java,
5086 javax/xml/transform/sax/SAXSource.java,
5087 javax/xml/transform/sax/SAXTransformerFactory.java,
5088 javax/xml/transform/sax/TemplatesHandler.java,
5089 javax/xml/transform/sax/TransformerHandler.java,
5090 javax/xml/transform/stream/StreamResult.java,
5091 javax/xml/transform/stream/StreamSource.java,
5092 javax/xml/validation/Schema.java,
5093 javax/xml/validation/SchemaFactory.java,
5094 javax/xml/validation/TypeInfoProvider.java,
5095 javax/xml/validation/Validator.java,
5096 javax/xml/validation/ValidatorHandler.java,
5097 javax/xml/xpath/XPathConstants.java,
5098 javax/xml/xpath/XPathException.java,
5099 javax/xml/xpath/XPathExpression.java,
5100 javax/xml/xpath/XPathExpressionException.java,
5101 javax/xml/xpath/XPathFactory.java,
5102 javax/xml/xpath/XPathFactoryConfigurationException.java,
5103 javax/xml/xpath/XPathFunction.java,
5104 javax/xml/xpath/XPathFunctionException.java,
5105 javax/xml/xpath/XPathFunctionResolver.java:
5106 Fixed usage of @author tag, reworked import statements,
5107 removed CVS tags, changed the modifier order and fixed
5108 HTML usage in javadocs.
5110 2005-02-16 Julian Scheid <julian@sektor37.de>
5112 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
5114 (encodeLoop): Likewise.
5116 2005-02-16 Mark Wielaard <mark@klomp.org>
5118 * Makefile.am (ordinary_java_source_files): Add new files
5119 gnu/java/security/ber/BER.java,
5120 gnu/java/security/ber/BEREncodingException.java,
5121 gnu/java/security/ber/BERReader.java,
5122 gnu/java/security/ber/BERValue.java,
5123 gnu/java/security/pkcs/PKCS7SignedData.java and
5124 gnu/java/security/pkcs/SignerInfo.java.
5125 * Makefile.in: Regenerated.
5127 2005-02-16 Casey Marshall <csm@gnu.org>
5129 * gnu/java/security/provider/GnuDSAPrivateKey.java
5130 (encodedKey): new field.
5131 (getFormat): return "PKCS#8".
5132 (getEncoded): implemented.
5133 (toString): check for 'null' values.
5134 * gnu/java/security/provider/GnuDSAPublicKey.java
5135 (encodedKey): new field.
5136 (getFormat): return "X.509".
5137 (getEncoded): implemented.
5138 (toString): check for 'null' values.
5140 2005-02-16 Michael Koch <konqueror@gmx.de>
5142 * java/util/jar/JarFile.java: Imports reworked.
5144 2005-02-16 Mark Wielaard <mark@klomp.org>
5146 * java/util/jar/JarFile.java (verify): Make package private.
5147 (signaturesRead): Likewise.
5148 (verified): Likewise.
5149 (entryCerts): Likewise.
5152 (entries): Construct new JarEnumeration with reference to this.
5153 (JarEnumeration): Make static.
5154 (JarEnumeration.jarfile): New field.
5155 (JarEnumeration.nextElement): Use and synchronize on jarfile.
5156 Compare verified value to Boolean.TRUE or Boolean.False only
5157 when verify is true.
5158 (getEntry): Make synchronized. Compare value of verified to
5160 (getInputStream): Construct EntryInputStream with reference to this.
5161 (getManifest): Make synchronized.
5162 (EntryInputStream): Make static.
5163 (EntryInputStream.jarfile): New field.
5164 (EntryInputStream.EntryInputStream): Check if manifest exists,
5165 before getting attributes.
5166 (eof): Synchronize on jarfile.
5168 2005-02-16 Casey Marshall <csm@gnu.org>
5170 * java/util/jar/JarFile.java (verify): return if the jar is signed
5171 with an unsupported algorithm.
5173 2005-02-16 Mark Wielaard <mark@klomp.org>
5175 * java/util/jar/JarFile.java (EntryInputStream): Add actual
5176 InputStream as argument.
5177 (getInputStream): Construct a new EntryInputStream with the result of
5178 super.getInputStream(entry).
5180 2005-02-16 Casey Marshall <csm@gnu.org>
5182 Signed JAR file support.
5183 * java/net/URLClassLoader.java
5184 (JarURLResource.getCertificates): re-read jar entry to ensure
5185 certificates are picked up.
5186 (findClass): fill in class `signers' field, too.
5187 * java/util/jar/JarFile.java (META_INF): new constant.
5188 (PKCS7_DSA_SUFFIX): new constant.
5189 (PKCS7_RSA_SUFFIX): new constant.
5190 (DIGEST_KEY_SUFFIX): new constant.
5191 (SF_SUFFIX): new constant.
5192 (MD2_OID): new constant.
5193 (MD4_OID): new constant.
5194 (MD5_OID): new constant.
5195 (SHA1_OID): new constant.
5196 (DSA_ENCRYPTION_OID): new constant.
5197 (RSA_ENCRYPTION_OID): new constant.
5198 (signaturesRead): new field.
5199 (verified): new field.
5200 (entryCerts): new field.
5201 (DEBUG): new constant.
5202 (debug): new method.
5203 (JarEnumeration.nextElement): fill in entry certificates, read
5204 signatures if they haven't been read.
5205 (getEntry): likewise.
5206 (getInputStream): verify stream if it hasn't been verified yet.
5207 (readSignatures): new method.
5208 (verify): new method.
5209 (verifyHashes): new method.
5210 (readManifestEntry): new method.
5211 (EntryInputStream): new class.
5212 * gnu/java/io/Base64InputStream.java (decode): new class
5214 * gnu/java/security/der/DERReader.java don't make class
5216 (in): made protected.
5218 (readLength): likewise.
5219 * gnu/java/security/ber/BER.java,
5220 * gnu/java/security/ber/BEREncodingException.java,
5221 * gnu/java/security/ber/BERReader.java,
5222 * gnu/java/security/ber/BERValue.java,
5223 * gnu/java/security/pkcs/PKCS7SignedData.java,
5224 * gnu/java/security/pkcs/SignerInfo.java:
5227 2005-02-16 Tom Tromey <tromey@redhat.com>
5229 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
5230 copied file on exit.
5232 2005-02-15 Mark Wielaard <mark@klomp.org>
5234 * java/awt/BasicStroke.java (hashCode): Check for null dash.
5236 2005-02-15 Michael Koch <konqueror@gmx.de>
5238 * gnu/java/awt/peer/gtk/GtkArg.java,
5239 gnu/java/awt/peer/gtk/GtkArgList.java:
5242 2005-02-15 Craig Black <craig.black@aonix.com>
5244 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
5245 (postMenuActionEvent): Implement to notify ItemListeners.
5246 * java/awt/CheckboxMenuItem.java
5247 (dispatchEventImpl): Update state on ItemEvent.
5248 * java/awt/MenuItem.java
5249 (processActionEvent): Retarget event source.
5251 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5253 * gnu/java/awt/color/ClutProfileConverter.java,
5254 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
5255 gnu/java/awt/peer/gtk/GdkFontPeer.java,
5256 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
5257 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
5258 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
5259 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
5260 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
5261 gnu/java/awt/peer/gtk/GdkTextLayout.java,
5262 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5263 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5264 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5265 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5266 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5267 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5268 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5269 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5270 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5271 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5272 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5273 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5274 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5275 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5276 gnu/java/awt/peer/gtk/GtkToolkit.java,
5277 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5278 javax/swing/JPopupMenu.java,
5279 javax/swing/JSpinner.java,
5280 javax/swing/SortingFocusTraversalPolicy.java,
5281 javax/swing/SwingUtilities.java,
5282 javax/swing/plaf/basic/BasicComboBoxEditor.java,
5283 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
5284 javax/swing/tree/DefaultMutableTreeNode.java:
5285 Removed unused imports and expanded starred
5288 2005-02-15 Mark Wielaard <mark@klomp.org>
5290 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
5291 IllegalArgumentException when the given String is null.
5293 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
5294 when given keystoke sequence cannot be parsed.
5296 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
5297 if one is installed. Only install the given menubar is not null.
5299 * javax/swing/JViewport.java (getViewSize): Return an empty
5300 Dimension when the view isn't set or preferred component size when
5303 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
5304 empty Dimension when there is no view set.
5305 (minimumLayoutSize): Likewise.
5306 (layoutContainer): Don't try to layout when there is no view.
5308 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5311 * include/jawt.h: Likewise.
5312 * include/jawt_md.h: Likewise.
5313 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
5315 * jni/classpath/classpath_jawt.h: Likewise.
5316 * jni/gtk-peer/gtk_jawt.c: Likewise.
5317 * Makefile.am: Build libjawt.so.
5319 2005-02-15 Michael Koch <konqueror@gmx.de>
5321 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
5322 Merged file header with classpath CVS head.
5323 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5324 Merged code formatting with classpath CVS head.
5325 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
5327 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5328 Handle special JNI strings with 2 '\0' at the end.
5329 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5330 Merged file header with classpath CVS head.
5331 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5332 Merged code formatting with classpath CVS head.
5334 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5336 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
5337 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
5338 (handle_response): Use GTK_RESPONSE_ACCEPT.
5340 2005-02-15 Graydon Hoare <graydon@redhat.com>
5342 * Makefile.am: Fix library build breakage.
5343 * Makefile.in: Regenerate.
5345 2005-02-15 Michael Koch <konqueror@gmx.de>
5347 * javax/swing/JTabbedPane.java
5348 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
5350 2005-02-15 Michael Koch <konqueror@gmx.de>
5352 * javax/swing/tree/DefaultMutableTreeNode.java:
5353 Reworked Javadocs all over.
5354 (getPathToRoot): Fixed direction of result array initialization.
5356 2005-02-15 Michael Koch <konqueror@gmx.de>
5358 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5359 Fix includes for cairo 0.3.0 snappshot.
5360 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5361 Merged file header from classpath CVS HEAD.
5363 2005-02-15 Craig Black <craig.black@aonix.com>
5365 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5366 (copyState): Pass a JNI global reference to signal handler.
5367 (realize_cb): Use and free JNI global reference.
5368 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5369 (create): Pass a JNI global reference to signal handler.
5370 (selection_changed): Match declaration.
5371 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5372 (dispose): Do not remove entries from state tables until after widget is
5375 2005-02-15 Michael Koch <konqueror@gmx.de>
5377 * java/awt/Container.javai (paramString):
5378 If layoutMgr is null just return result of super.paramString().
5379 * java/awt/Scrollbar.java: Reformatted.
5380 * java/awt/im/InputContext.java (static):
5381 Removed redundant initializations.
5383 2005-02-15 Michael Koch <konqueror@gmx.de>
5385 * javax/swing/ImageIcon.java,
5386 javax/swing/UIManager.java,
5387 javax/swing/text/EditorKit.java,
5388 javax/swing/text/Segment.java:
5389 More whitespace cleanups.
5391 2005-02-15 Michael Koch <konqueror@gmx.de>
5393 * gnu/java/awt/EmbeddedWindow.java,
5394 gnu/java/awt/image/ImageDecoder.java,
5395 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5396 java/awt/DefaultKeyboardFocusManager.java,
5397 java/awt/Frame.java,
5398 java/awt/image/RGBImageFilter.java,
5399 javax/swing/AbstractButton.java,
5400 javax/swing/ActionMap.java,
5401 javax/swing/ComponentInputMap.java,
5402 javax/swing/DefaultDesktopManager.java,
5403 javax/swing/ImageIcon.java,
5404 javax/swing/InputMap.java,
5405 javax/swing/JButton.java,
5406 javax/swing/JCheckBox.java,
5407 javax/swing/JCheckBoxMenuItem.java,
5408 javax/swing/JEditorPane.java,
5409 javax/swing/JMenu.java,
5410 javax/swing/JMenuItem.java,
5411 javax/swing/JOptionPane.java,
5412 javax/swing/JRootPane.java,
5413 javax/swing/JTable.java,
5414 javax/swing/MenuSelectionManager.java,
5415 javax/swing/RepaintManager.java,
5416 javax/swing/ScrollPaneLayout.java,
5417 javax/swing/SortingFocusTraversalPolicy.java,
5418 javax/swing/UIManager.java,
5419 javax/swing/ViewportLayout.java,
5420 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5421 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5422 javax/swing/plaf/basic/BasicLabelUI.java,
5423 javax/swing/plaf/basic/BasicListUI.java,
5424 javax/swing/plaf/basic/BasicMenuItemUI.java,
5425 javax/swing/plaf/basic/BasicMenuUI.java,
5426 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5427 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5428 javax/swing/plaf/basic/BasicRootPaneUI.java,
5429 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5430 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5431 javax/swing/plaf/basic/BasicTextUI.java,
5432 javax/swing/table/TableColumnModel.java,
5433 javax/swing/text/AbstractDocument.java,
5434 javax/swing/text/EditorKit.java,
5435 javax/swing/text/Position.java,
5436 javax/swing/text/Segment.java,
5437 javax/swing/text/StyledEditorKit.java,
5438 javax/swing/text/ViewFactory.java:
5439 Cleanup whitespace differences to classpath CVS HEAD.
5441 2005-02-15 Graydon Hoare <graydon@redhat.com>
5443 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5444 (finalize): Call finish from here.
5445 (produce): Not from here.
5446 * Makefile.am (gtk_c_source_files):
5447 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5448 * Makefile.in: Regenerate.
5449 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5451 (cairoDrawGdkTextLayout):
5453 (getPeerTextMetrics):
5454 (getPeerFontMetrics): Remove.
5455 (setFont): Don't call cairoSetFont.
5456 (cairoDrawGlyphVector): Accept font peer argument.
5457 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5458 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5459 (ensure_metrics_cairo):
5460 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5461 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5462 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5463 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5465 (metrics_surface): Remove.
5466 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5467 Pass and install font peer.
5469 2005-02-15 Graydon Hoare <graydon@redhat.com>
5471 * Makefile.am: Create "split library" structure.
5472 * Makefile.in: Regenerate.
5474 2005-02-15 Graydon Hoare <graydon@redhat.com>
5476 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5477 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5478 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5479 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5480 Release GDK lock during upcalls.
5482 2005-02-15 Graydon Hoare <graydon@redhat.com>
5484 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5485 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5486 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5487 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5488 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5489 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5490 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5493 (getTextMetrics): New native methods.
5494 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5495 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5496 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5497 * Makefile.in: Regenerate.
5499 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5501 * javax/swing/SwingUtilities.java:
5502 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5503 Implemented and documented.
5504 (getAccessibleChild(java.awt.Component, int)): Likewise.
5505 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5506 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5507 (getAccessibleStateSet(java.awt.Component)): Likewise.
5509 2005-02-15 Michael Koch <konqueror@gmx.de>
5511 * javax/swing/SwingUtilities.java
5512 (getFontMetrics): Removed.
5514 2005-02-15 Michael Koch <konqueror@gmx.de>
5516 * java/awt/Container.java
5517 (paramString): Implemented.
5518 * javax/swing/AbstractButton.java
5519 (paramString): Implemented.
5520 * javax/swing/JComponent.java
5521 (paramString): Implemented.
5522 * javax/swing/JMenu.java
5523 (paramString): Implemented.
5524 * javax/swing/JMenuBar.java
5525 (paramString): Implemented.
5526 * javax/swing/JMenuItem.java
5527 (paramString): Implemented.
5528 * javax/swing/JPopupMenu.java
5529 (paramString): Implemented.
5531 2005-02-15 Michael Koch <konqueror@gmx.de>
5533 * javax/swing/JMenu.java
5534 (uiClassID): Removed.
5535 (JMenu): Set invoker on popup menu.
5536 (getUIClassID): Return id directly.
5537 (getItemCount): Simply return getMenuComponentCount().
5539 (isTopLevelMenu): Simplified.
5540 * javax/swing/JMenuItem.java
5541 (uiClassID): Removed.
5542 (getUIClassID): Return id directly.
5543 * javax/swing/JPopupMenu.java
5544 (uiClassID): Removed.
5545 (JPopupMenu): Always initialize correctly.
5546 (getSubElements): Only return components implementing MenuElement
5548 (HeavyWeightPopup.hide): Removed.
5550 2005-02-15 Michael Koch <konqueror@gmx.de>
5552 * java/awt/image/ReplicateScaleFilter.java
5553 (replicatePixels): Made private.
5554 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5555 (DefaultRGBChooserPanel): Made package private.
5556 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5557 (RecentSwatchPanel): Likewise.
5558 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5559 (MouseInputAdapter): Made abstract.
5560 * javax/swing/tree/DefaultMutableTreeNode.java
5562 (growTree): Likewise.
5564 2005-02-15 Michael Koch <konqueror@gmx.de>
5566 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5569 2005-02-15 Michael Koch <konqueror@gmx.de>
5571 * javax/swing/JComponent.java (getComponentGraphics):
5572 Removed accidently commited code.
5574 2005-02-15 Graydon Hoare <graydon@redhat.com>
5576 * java/awt/dnd/DropTarget.java
5577 (addDropTargetListener): Despite documentation, do not throw.
5578 * javax/swing/JComponent.java: Set a default DropTarget.
5580 2005-02-15 Michael Koch <konqueror@gmx.de>
5582 * javax/swing/AbstractAction.java
5583 (ENABLED_PROPERTY): Removed.
5584 (setEnabled): Replaced constant with real string.
5585 * javax/swing/AbstractButton.java
5586 (createActionPropertyChangeListener.propertyChange): Likewise.
5587 * javax/swing/JComboBox.java
5588 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5589 (EDITABLE_CHANGED_PROPERTY): Removed.
5590 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5591 (ENABLED_CHANGED_PROPERTY):Likewise.
5592 (RENDERER_CHANGED_PROPERTY):Likewise.
5593 (EDITOR_CHANGED_PROPERTY):Likewise.
5594 (MODEL_CHANGED_PROPERTY):Likewise.
5595 (uiClassID):Likewise.
5596 (getUIClassID): Replaced constant with real string.
5597 (setModel):Likewise.
5598 (setEditable):Likewise.
5599 (setMaximumRowCount):Likewise.
5600 (setRenderer):Likewise.
5601 (setEditor):Likewise.
5602 (setEnabled):Likewise.
5603 * javax/swing/JLabel.java
5604 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5605 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5606 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5607 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5608 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5609 (ICON_CHANGED_PROPERTY): Likewise.
5610 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5611 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5612 (TEXT_CHANGED_PROPERTY): Likewise.
5613 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5614 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5615 (setText): Replaced constant with real string.
5616 (setIcon): Likewise.
5617 (setDisabledIcon): Likewise.
5618 (setDisplayedMnemonic): Likewise.
5619 (setIconTextGap): Likewise.
5620 (setVerticalAlignment): Likewise.
5621 (setHorizontalAlignment): Likewise.
5622 (setVerticalTextPosition): Likewise.
5623 (setHorizontalTextPosition): Likewise.
5624 (setLabelFor): Replaced constant with real string.
5625 Fire property change event after property got changed.
5626 * javax/swing/JList.java
5627 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5628 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5629 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5630 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5631 (MODEL_PROPERTY_CHANGED): Likewise.
5632 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5633 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5634 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5635 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5636 (setFixedCellWidth): Reimplemented.
5637 (setFixedCellHeight): Exit if new value is identical.
5638 Replaced constant with real string.
5639 (setSelectionBackground): Likewise.
5640 (setSelectionForeground): Likewise.
5641 (setPrototypeCellValue): Likewise.
5642 (setCellRenderer): Replaced constant with real string.
5643 (setModel): Likewise.
5644 (setSelectionModel): Likewise.
5645 * javax/swing/JMenuBar.java
5646 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5647 (MODEL_CHANGED_PROPERTY): Likewise.
5648 (MARGIN_CHANGED_PROPERTY): Likewise.
5649 (setBorderPainted): Reimplemented.
5650 (setMargin): Likewise.
5651 (setSelectionModel): Replaced constant with real string.
5652 * javax/swing/JPopupMenu.java
5653 (LABEL_CHANGED_PROPERTY): Removed.
5654 (VISIBLE_CHANGED_PROPERTY): Likewise.
5655 (borderPainted): Likewise.
5656 (setLabel): Replaced constant with real string.
5657 (setVisible): Exit if new value is identical.
5658 Replaced constant with real string.
5659 * javax/swing/JProgressBar.java
5660 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5661 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5662 (STRING_CHANGED_PROPERTY): Likewise.
5663 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5664 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5665 (setOrientation): Replaced constant with real string.
5666 (setStringPainted): Likewise.
5667 (setString): Likewise.
5668 (setBorderPainted): Likewise.
5669 (setIndeterminate): Likewise.
5670 * javax/swing/JScrollBar.java
5671 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5672 (MODEL_CHANGED_PROPERTY): Likewise.
5673 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5674 (setOrientation): Replaced constant with real string.
5675 (setModel): Likewise.
5676 (setUnitIncrement): Likewise.
5677 (setBlockIncrement): Likewise.
5678 * javax/swing/JScrollPane.java
5679 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5680 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5681 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5682 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5683 (LAYOUT_CHANGED_PROPERTY): Likewise.
5684 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5685 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5686 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5687 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5688 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5689 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5690 (setComponentOrientation): Replaced constant with real string.
5691 (setColumnHeader): Likewise.
5692 (setHorizontalScrollBar): Likewise.
5693 (setHorizontalScrollBarPolicy): Likewise.
5694 (setRowHeader): Likewise.
5695 (setVerticalScrollBar): Likewise.
5696 (setVerticalScrollBarPolicy): Likewise.
5697 (setWheelScrollingEnabled): Likewise.
5698 (setViewport): Likewise.
5699 (setViewportBorder): Likewise.
5700 * javax/swing/JSlider.java
5701 (INVERTED_CHANGED_PROPERTY): Removed.
5702 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5703 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5704 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5705 (MODEL_CHANGED_PROPERTY): Likewise.
5706 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5707 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5708 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5709 (setModel): Replaced constant with real string.
5710 (setOrientation): Likewise.
5711 (setLabelTable): Likewise.
5712 (setInverted): Likewise.
5713 (setMajorTickSpacing): Likewise.
5714 (setMinorTickSpacing): Likewise.
5715 (setPaintTicks): Likewise.
5716 (setPaintLabels): Likewise.
5717 * javax/swing/JTabbedPane.java
5718 (MODEL_CHANGED_PROPERTY): Removed.
5719 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5720 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5721 (setModel): Replaced constant with real string.
5722 (setTabPlacement): Likewise.
5723 (setTabLayoutPolicy): Likewise.
5724 * javax/swing/JToolBar.java
5725 (ORIENTATION_CHANGED_PROPERTY): Removed.
5726 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5727 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5728 (MARGIN_CHANGED_PROPERTY): Likewise.
5729 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5730 (setRollover): Replaced constant with real string.
5731 (setMargin): Likewise.
5732 (setBorderPainted): Likewise.
5733 (setFloatable): Likewise.
5734 (setOrientation): Likewise.
5735 * javax/swing/plaf/basic/BasicComboBoxUI.java
5736 (PropertyChangeHandler.propertyChange): Likewise.
5737 * javax/swing/plaf/basic/BasicComboPopup.java
5738 (PropertyChangeHandler.propertyChange): Likewise.
5739 * javax/swing/plaf/basic/BasicMenuBarUI.java
5740 (PropertyChangeHandler.propertyChange): Likewise.
5741 * javax/swing/plaf/basic/BasicProgressBarUI.java
5742 (PropertyChangeHandler.propertyChange): Likewise.
5743 * javax/swing/plaf/basic/BasicScrollBarUI.java
5744 (PropertyChangeHandler.propertyChange): Likewise.
5745 * javax/swing/plaf/basic/BasicSliderUI.java
5746 (PropertyChangeHandler.propertyChange): Likewise.
5747 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5748 (PropertyChangeHandler.propertyChange): Likewise.
5749 * javax/swing/plaf/basic/BasicToolBarUI.java
5750 (PropertyChangeHandler.propertyChange): Likewise.
5752 2005-02-15 Michael Koch <konqueror@gmx.de>
5754 * javax/swing/DefaultButtonModel.java
5755 (changeState): Made private.
5756 * javax/swing/DefaultDesktopManager.java
5757 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5758 * javax/swing/JLayeredPane.java
5759 (layerToRange): Made private.
5760 (incrLayer): Likewise.
5761 (decrLayer): Likewise.
5762 * javax/swing/JTable.java
5763 (dragEnabled): Likewise.
5764 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5765 * javax/swing/KeyStroke.java
5766 (Keystroke): Made private.
5767 * javax/swing/TransferHandler.java
5768 (COMMAND_COPY): Likewise.
5769 (COMMAND_CUT): Likewise.
5770 (COMMAND_PASTE): Likewise.
5772 2005-02-15 Michael Koch <konqueror@gmx.de>
5774 * javax/swing/JTextField.java
5775 (postActionEvent): Use text in field when actionCommand is null.
5776 (getActionCommand): Removed.
5778 2005-02-15 Michael Koch <konqueror@gmx.de>
5780 * javax/swing/AbstractSet.java: Removed.
5781 * Makefile.am: Removed javax/swing/AbstractSet.java.
5782 * Makefile.in: Regenerated.
5784 2005-02-15 Michael Koch <konqueror@gmx.de>
5786 * java/awt/Window.java
5787 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5788 * java/awt/dnd/DnDConstants.java
5789 (DnDConstants): New private constructor.
5791 2005-02-15 Michael Koch <konqueror@gmx.de>
5793 * javax/swing/DefaultCellRenderer.java: Removed.
5794 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5795 * Makefile.in: Regenerated.
5797 2005-02-15 Michael Koch <konqueror@gmx.de>
5799 * javax/swing/AbstractButton.java
5800 (fireItemStateChanged): Made protected.
5801 (fireActionPerformed): Likewise.
5802 (fireStateChanged): Likewise.
5803 * javax/swing/DefaultButtonModel.java
5804 (fireItemStateChanged): Likewise.
5805 (fireActionPerformed): Likewise.
5806 (fireStateChanged): Likewise.
5807 * javax/swing/JApplet.java
5809 (frameInit): Likewise.
5810 (setRootPane): Made protected.
5811 (createRootPane): Likewise.
5812 * javax/swing/JComponent.java
5813 (getClientProperty): Likewise.
5814 (putClientProperty): Likewise.
5815 * javax/swing/JEditorPane.java
5816 (getContentType): Likewise.
5817 (setContentType): Likewise.
5818 * javax/swing/JFrame.java
5819 (setRootPane): Likewise.
5820 (createRootPane): Likewise.
5821 * javax/swing/JInternalFrame.java
5822 (getFocusCycleRootAncestor): Made final. Added @since tag.
5823 (isFocusCycleRoot): Likewise.
5824 (getWarningString): Made final.
5825 * javax/swing/JScrollBar.java
5826 (changeListener): Removed.
5827 (changeEvent): Likewise.
5828 (createChangeListener): Likewise.
5829 (fireStateChanged): Likewise.
5830 (addChangeListener): Likewise.
5831 (removeChangeListener): Likewise.
5832 (getChangeListeners): Likewise.
5833 * javax/swing/JScrollPane.java
5834 (createViewport): Made protected.
5835 * javax/swing/JViewport.java
5836 (addImpl): Likewise.
5837 (setBorder): New method.
5838 * javax/swing/JWindow.java
5839 (setRootPane): Made protected.
5840 (createRootPane): Likewise.
5841 * javax/swing/plaf/basic/BasicButtonUI.java
5842 (installListeners): Likewise.
5843 (uninstallListeners): Likewise.
5844 * javax/swing/plaf/basic/BasicProgressBarUI.java
5845 (incrementAnimationIndex): Likewise.
5846 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5847 (createLayoutManager): Likewise.
5848 * javax/swing/table/DefaultTableCellRenderer.java
5849 (firePropertyChange): Likewise.
5850 * javax/swing/table/JTableHeader.java
5851 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5853 * javax/swing/text/PlainDocument.java
5854 (reindex): Made private.
5855 * javax/swing/text/PlainView.java
5856 (drawLine): Made protected.
5857 (getTabSize): Likewise.
5858 * javax/swing/text/View.java
5860 (preferenceChanged): New method.
5861 (getBreakWeight): Likewise.
5862 (breakView): Likewise.
5863 (getViewIndex): Likewise.
5865 2005-02-15 Michael Koch <konqueror@gmx.de>
5867 * javax/swing/JScrollPane.java
5868 (ScrollBar): Made class protected.
5869 * javax/swing/JSpinner.java
5870 (JSpinner): Added @since tag.
5871 (listenerList): Removed.
5872 * javax/swing/JTable.java
5873 (setValueAt): New method.
5874 (getColumn): Likewise.
5875 * javax/swing/JWindow.java
5876 (rootPaneCheckingEnabled): Renamed from checking.
5878 2005-02-15 Michael Koch <konqueror@gmx.de>
5880 * javax/swing/plaf/basic/BasicTextUI.java
5881 (RootView.modelToView): Made it public and return a java.awt.Shape.
5882 Handle null subview.
5883 (uninstall): Set textComponent to null when its not possible used
5885 * javax/swing/text/View.java
5886 (setParent): Use better argument name.
5887 (getContainer): Get parent via getParent().
5888 (getViewFactory): Likewise.
5889 (getAttributes): Get element via getElement().
5890 (getStartOffset): Likewise.
5891 (getEndOffset): Likewise.
5892 (getResizeWeight): New method.
5893 (getMaximumSpan): Likewise.
5894 (getMinimumSpan): Likewise.
5895 (setSize): Likewise.
5896 (getGraphics): Likewise.
5898 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5900 * java/awt/Checkbox.java:
5901 (AccessibleAWTCheckbox()): Added public constructor
5903 * java/awt/Choice.java:
5904 (AccessibleAWTChoice): Added class documentation.
5905 (AccessibleAWTChoice()): Added public constructor
5907 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5908 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5909 and changed role to COMBO_BOX.
5910 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5911 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5912 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5914 2005-02-15 Graydon Hoare <graydon@redhat.com>
5915 Michael Koch <konqueror@gmx.de>
5917 * javax/swing/LayoutFocusTraversalPolicy.java,
5918 javax/swing/SortingFocusTraversalPolicy.java:
5920 * Makefile.am: Added new classes.
5921 * Makefike.in: Regenerated.
5924 2005-02-15 Michael Koch <konqueror@gmx.de>
5926 * javax/swing/DebugGraphics.java: Mostly implemented.
5928 2005-02-15 Michael Koch <konqueror@gmx.de>
5930 * javax/swing/SwingUtilities.java
5931 (findFocusOwner): New method.
5933 2005-02-15 Michael Koch <konqueror@gmx.de>
5935 * javax/swing/text/DefaultEditorKit.java
5936 (read): Added '\n' after each line.
5937 * javax/swing/text/PlainView.java
5938 (modelToView): Update metrics.
5939 (drawLine): Use offsets from element.
5940 (paint): Update metrics. Draw all lines.
5942 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5944 * java/awt/Checkbox.java:
5945 (AccessibleAWTCheckbox): Added class documentation
5946 * java/awt/Scrollbar.java:
5947 (AccessibleAWTScrollBar): typo corrected and docs added
5948 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5949 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5950 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5951 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5952 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5953 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5954 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5955 (getAccessibleContext()): name of accessible class corrected
5957 2005-02-15 Mark Wielaard <mark@klomp.org>
5959 * java/awt/BasicStroke.java (hashCode): Implement.
5962 2005-02-15 Michael Koch <konqueror@gmx.de>
5964 * java/awt/print/PrinterJob.java
5965 (pageDialog): Throws java.awt.HeadlessException.
5966 (printDialog): Likewise.
5968 2005-02-15 Mark Wielaard <mark@klomp.org>
5970 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5972 2005-02-15 Michael Koch <konqueror@gmx.de>
5974 * javax/swing/JTable.java
5975 (getValueAt): New method.
5976 * javax/swing/table/JTableHeader.java
5977 (columnAtPoint): New method.
5979 2005-02-15 Michael Koch <konqueror@gmx.de>
5981 * javax/swing/JTextField.java
5982 (actions): New field.
5983 (static): Initalize actions field.
5984 (getActions): New method.
5986 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5988 * java/awt/Checkbox.java:
5989 (AccessibleAWTCheckbox): name capitalization corrected
5990 and serialization UID added.
5991 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5993 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5994 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5995 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5996 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5997 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5998 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5999 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
6000 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
6001 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
6002 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
6003 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
6005 (getAccessibleContext()): name of accessible class corrected
6007 2005-02-15 Sven de Marothy <sven@physto.se>
6009 * java/awt/geom/doc-files/Area-1.png,
6010 java/awt/geom/doc-files/Ellipse-1.png,
6011 java/awt/geom/doc-files/GeneralPath-1.png:
6014 2005-02-15 Graydon Hoare <graydon@redhat.com>
6016 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
6017 Use union to avoid type-punning warning.
6019 2005-02-15 Michael Koch <konqueror@gmx.de>
6021 * javax/swing/DefaultListSelectionModel.java
6022 (clone): New method.
6024 2005-02-15 Mark Wielaard <mark@klomp.org>
6026 Reported by Martin Platter <motse@complang.tuwien.ac.at>
6027 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6028 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
6029 Correct method signature of gtkSetFilename.
6031 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
6033 * javax/swing/text/StringContent.java: New file.
6035 2005-02-15 Michael Koch <konqueror@gmx.de>
6037 * Makefile.am: Added javax/swing/text/StringContent.java.
6038 * Makefile.in: Regenerated.
6040 2005-02-15 Michael Koch <konqueror@gmx.de>
6042 * gnu/java/awt/ClasspathToolkit.java:
6043 Import statements reworked.
6044 (imageCache): Made it of type java.util.HashMap.
6046 2005-02-15 Michael Koch <konqueror@gmx.de>
6048 * javax/imageio/stream/MemoryCacheImageInputStream.java:
6049 Reworked import statements.
6051 2005-02-15 Graydon Hoare <graydon@redhat.com>
6053 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
6054 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6055 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
6056 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6057 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
6058 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
6059 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
6060 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
6061 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6062 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
6063 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
6064 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
6065 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
6066 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
6067 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6068 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
6069 Rewrite uses of extern variable to be function calls.
6070 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
6071 function, from extern variable.
6072 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6073 (gdk_env): Remove variable, add new function.
6074 (java_vm): Add new variable.
6075 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
6076 java_vm rather than old gdk_env variable.
6078 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6080 * javax/swing/DefaultListModel.java
6081 (add): fire correct event,
6082 (addElement): corrected interval indices in event,
6083 (clear): corrected upper bound for interval, only fire event if
6085 (setSize): fire appropriate event.
6087 2005-02-15 Graydon Hoare <graydon@redhat.com>
6089 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
6090 * gnu/awt/xlib/XToolkit.java: Likewise.
6091 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
6092 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
6093 * gnu/java/awt/ClasspathToolkit.java: Likewise.
6094 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
6095 * java/awt/EventQueue.java (getNextEvent):
6096 Adjust event loop to switch to native mode after 100ms.
6097 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
6098 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
6099 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
6100 Wake up event thread.
6101 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6102 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
6103 Adjust event loop to switch to java mode after 100ms.
6105 2005-02-15 Graydon Hoare <graydon@redhat.com>
6107 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
6108 accidentally removed in last change.
6110 2005-02-15 Michael Koch <konqueror@gmx.de>
6112 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6113 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
6115 2005-02-15 Graydon Hoare <graydon@redhat.com>
6117 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
6118 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
6119 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
6120 * jni.cc: Reuse bottom frame between calls, avoid clearing
6121 frame when no local references are made.
6123 2005-02-15 Michael Koch <konqueror@gmx.de>
6125 * javax/swing/UIDefaults.java (UIDefaults):
6126 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
6127 Fixed HTML entity and removed a redundant comma.
6129 2005-02-15 Michael Koch <konqueror@gmx.de>
6131 * javax/swing/text/DefaultEditorKit.java
6132 (deinstall): Removed.
6133 (install): Likewise.
6135 2005-02-15 Michael Koch <konqueror@gmx.de>
6137 * javax/swing/UIDefaults.java (put): Handle value of null.
6139 2005-02-15 Michael Koch <konqueror@gmx.de>
6141 * java/awt/Robot.java,
6142 java/awt/Scrollbar.java,
6143 java/awt/print/PrinterJob.java,
6144 javax/swing/JTable.java,
6145 javax/swing/text/AbstractDocument.java:
6146 Reworked import statements.
6148 2005-02-15 Michael Koch <konqueror@gmx.de>
6150 * javax/swing/JEditorPane.java
6151 (read): Implemented.
6153 * javax/swing/text/DefaultEditorKit.java
6154 (page): Renamed from page_url. Made private.
6155 (editorKit): Renamed from kit. Made private.
6157 (JEditorPane): All constructors reimplemented.
6158 (getContentType): Use content type from editor kit.
6159 (getEditorKit): Return editorKit.
6160 (getEditorKitForContentType):Likewise.
6161 (getPage): Return page.
6162 (setContentType): Reimplemented.
6163 (setEditorKit): Likewise.
6164 (setEditorKitForContentType): Removed wrong implementation.
6165 (setPage): Implemented.
6167 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6169 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
6170 (nativeSetIconImageFromData): Re-add native implementation.
6172 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6174 * javax/swing/table/DefaultTableModel.java
6175 (DefaultTableModel()): Added Javadocs.
6176 (DefaultTableModel(int, int)): Fixed implementation.
6177 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
6178 for negative rowCount.
6179 (DefaultTableModel(Object[], int)): Added Javadocs.
6180 (DefaultTableModel(Vector, Vector)): Likewise.
6181 (DefaultTableModel(Object[][], Object[])): Likewise.
6182 (getDataVector): Likewise.
6183 (setDataVector(Vector, Vector)): Likewise.
6184 (setDataVector(Object[][], Object[])): Likewise.
6185 (newDataAvailable): Likewise.
6186 (newRowsAdded): Likewise.
6187 (rowsRemoved): Likewise.
6188 (setColumnIdentifiers(Vector)): Allow for null argument.
6189 (setColumnIdentifiers(Object[])): Added Javadocs.
6190 (setNumRows): Likewise.
6191 (setRowCount): Adds new rows if necessary, and sends more specific
6193 (setColumnCount): Allow for null columnIdentifiers.
6194 (addColumn(Object)): Added Javadocs.
6195 (addColumn(Object, Vector)): Handle null columnData.
6196 (addColumn(Object, Object[])): Handle columnData with more or less
6197 entries than rows in the table.
6198 (addRow(Vector)): Fire appropriate event.
6199 (addRow(Object[])): Added Javadocs.
6200 (insertRow(int, Vector)): Fire appropriate event.
6201 (insertRow(int, Object[])): Added Javadocs.
6202 (moveRow): Reimplemented.
6203 (removeRow(int)): Fire appropriate event.
6204 (getColumnCount): Allow for null columnIdentifiers.
6205 (getColumnName): Now returns empty string when column index is too
6207 (isCellEditable): Added Javadocs.
6208 (getValueAt): Likewise.
6209 (setValueAt): Fire more specific event.
6210 (convertToVector): Added Javadocs.
6211 * javax/swing/table/TableModel.java
6214 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6216 * libgcj.spec.in (lib): Add -l-javax-imageio.
6218 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6220 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
6221 references to event queue q with method call q().
6222 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
6223 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
6224 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
6225 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
6226 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
6227 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
6230 2005-02-15 Graydon Hoare <graydon@redhat.com>
6232 * gnu/java/awt/ClasspathToolkit.java
6233 (registerImageIOSpis): New method.
6234 * gnu/java/awt/image/ImageDecoder.java
6235 (imageDecoder): New constructor using InputStream
6236 (startProduction): Handle existing InputStream.
6237 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6238 (findSimpleIntegerArray): Make public and static.
6239 (updateBufferedImage): Set each pixel, in a loop.
6240 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6241 Implement ImageIO SPI classes.
6242 (createBufferedImage): Rewrite in terms of SPI classes.
6243 * gnu/java/awt/peer/gtk/GtkToolkit.java
6244 (registerImageIOSpis): New method.
6245 * java/lang/reflect/natMethod.cc
6246 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
6247 which lets JNI call interface methods properly.
6248 * javax/imageio/ImageIO.java
6249 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6250 (WriterMIMETypeFilter.filter): Likewise.
6251 (ImageReaderIterator): Pass extension argument through to SPI.
6252 (getReadersByFilter): Likewise.
6253 (getWritersByFilter): Likewise.
6254 (getImageReadersByFormatName): Likewise.
6255 (getImageReadersByMIMEType): Likewise.
6256 (getImageReadersBySuffix): Likewise.
6257 (getImageWritersByFormatName): Likewise.
6258 (getImageWritersByMIMEType): Likewise.
6259 (getImageWritersBySuffix): Likewise.
6262 * javax/imageio/ImageReader.java
6263 (progressListeners): Initialize.
6264 (setInput): Implement.
6265 * javax/imageio/ImageWriter.java
6266 (progressListeners): Initialize.
6267 (warningListeners): Likewise.
6268 (warningLocales): Likewise.
6269 (setOutput): Test "isInstance" rather than class equality.
6270 * javax/imageio/spi/IIORegistry.java
6271 (static): Add reader and writer SPIs.
6272 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6273 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6274 (query_formats): New function.
6275 (save_to_stream): Likewise.
6276 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
6278 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6280 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
6282 (keyPress): Likewise.
6283 (keyRelease): Likewise.
6285 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6287 * javax/swing/JTable.java
6288 (columnAtPoint): New Method. Implemented.
6289 (rowAtPoint): Likewise.
6290 (countSelections): Fixed few small count errors.
6291 (getSelections): Likewise.
6292 (setSelectionMode): Set selection mode for column
6293 selection model in addition to row selection model.
6294 * javax/swing/plaf/basic/BasicTableUI.java:
6295 (getRowForPoint): Removed. Replaced by
6296 JTable.rowAtPoint().
6297 (getColForPoint): Removed. Replaced by
6298 JTable.columnAtPoint().
6299 (updateSelection): Updated to call JTable.columnAtPoint
6300 and JTable.rowAtPoint.
6301 * javax/swing/table/DefaultTableColumnModel.java:
6302 (getSelectedColumns): Implemented.
6303 (getSelectedColumnCount): Implemented.
6305 2005-02-15 Graydon Hoare <graydon@redhat.com>
6308 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
6309 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
6310 * Makefile.in: Regenerate.
6311 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
6312 * gnu/awt/xlib/XFramePeer.java: Likewise.
6313 * gnu/awt/xlib/XToolkit.java: Likewise.
6314 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
6315 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
6316 * gnu/java/awt/ClasspathToolkit.java
6319 (iterateNativeQueue): New methods.
6320 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
6321 * gnu/java/awt/peer/gtk/GtkToolkit.java
6322 (gtkInit): Absorb from defunct GtkMainThread class.
6323 (static): Run gtkInit in static startup block.
6324 (GtkToolkit): Remove construction of GtkMainThread and queue.
6325 (getSystemEventQueueImpl): Construct queue when requested.
6328 (iterateNativeQueue): New methods.
6329 * java/awt/Component.java (removeNotify): Remove race.
6330 * java/awt/EventDispatchThread.java
6331 (EventDispatchThread): Don't start on construction.
6332 (run): Remove isInterrupted check.
6333 * java/awt/EventQueue.java (shutdown): New flag.
6334 (isShutdown): New method checking J2SE shutdown condition.
6335 (setShutdown): New method.
6336 (getNextEvent): Restructure to use ClasspathToolkit.
6337 (postEvent): Activate new thread on posting, wake thread on
6338 post of possible shutdown condition event.
6339 * java/awt/Frame.java
6340 (Frame): Call noteFrame in all constructors.
6341 (fireDummyEvent): New helper method.
6342 (addNotify): Fire a dummy event to wake up queue.
6343 (removeNotify): Fire a dummy event to wake up queue.
6344 (noteFrame): New method.
6345 (weakFrames): New static field.
6346 (getFrames): Implement.
6347 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
6349 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
6350 Move everything from GtkMainThread into this file
6351 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
6352 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
6353 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
6354 New functions to implement single-threaded queue semantics.
6356 2005-02-15 Michael Koch <konqueror@gmx.de>
6358 * javax/swing/plaf/metal/MetalLookAndFeel.java
6359 (getControlTextFont): New method.
6360 (getMenuTextFont): Likewise.
6361 (getSubTextFont): Likewise.
6362 (getSystemTextFont): Likewise.
6363 (getUserTextFont): Likewise.
6364 (getWindowTitleFont): Likewise.
6366 2005-02-15 Michael Koch <konqueror@gmx.de>
6368 * javax/swing/text/AbstractDocument.java
6369 (documentFilter): New field.
6370 (getDocumentFilter): New method.
6371 (setDocumentFilter): Likewise.
6374 2005-02-15 Michael Koch <konqueror@gmx.de>
6376 * javax/swing/JTree.java
6377 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
6379 2005-02-15 Michael Koch <konqueror@gmx.de>
6381 * javax/swing/text/AbstractDocument.java
6382 (AbstractElement.getLength): Fixed off-by-one error.
6383 (AbstractElement.children): Made abstract.
6384 (AbstractElement.getAllowsChildren): Likewise.
6385 (AbstractElement.getElement): Likewise.
6386 (AbstractElement.dumpElement): New private method.
6387 (AbstractElement.dump): New method.
6388 (BranchElememt.getName): Fixed implementation.
6389 (BranchElememt.toString): Likewise.
6390 (BranchElememt.getElement): Fixed arguments.
6391 (LeafElement.getName): Fixed implementation.
6392 (LeafElement.toString): Likewise.
6393 * javax/swing/text/GapContent.java
6394 (GapContent): Put default content into buffer.
6395 * javax/swing/text/PlainDocument.java
6396 (reindex): Use empty attribute sets instead of null.
6397 (createDefaultRoot): Reimplemented.
6398 (insertUpdate): Call super method.
6399 (removeUpdate): Likewise.
6400 (getParagraphElement): Implemented.
6402 2005-02-15 Michael Koch <konqueror@gmx.de>
6404 * gnu/java/awt/ClasspathToolkit.java
6405 (createRobot): Throws java.awt.AWTException.
6406 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
6407 Added '__attribute__((unused))' to all unused method arguments.
6409 2005-02-15 Michael Koch <konqueror@gmx.de>
6411 * javax/swing/DefaultBoundedRangeModel.java
6412 (fireValueChanged): Fixed off-by-one error.
6414 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6416 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
6417 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
6419 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
6420 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
6421 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
6422 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
6423 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6424 (getDefaultScreenDevice): Implement.
6425 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
6426 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
6427 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
6428 * java/awt/Robot.java: Implement.
6429 * java/awt/peer/RobotPeer.java: Rename parameters.
6430 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6431 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6432 (awt_keycode_to_keysym): Make non-static.
6433 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6434 AWT_BUTTON3_MASK): Declare constants.
6435 (awt_keycode_to_keysym): Declare.
6437 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6438 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6439 and is non-empty pass its value to "make check".
6440 (test_mauve_sim): Likewise.
6442 2005-02-15 Michael Koch <konqueror@gmx.de>
6444 * javax/imageio/IIOParam.java
6445 (setSourceBands): New method.
6446 (setSourceSubsampling): Likewise.
6447 * javax/imageio/ImageReadParam.java
6448 (setDestination): Likewise.
6449 (setDestinationBands): Likewise.
6450 (setSourceProgressivePasses): Likewise.
6451 * javax/imageio/metadata/IIOInvalidTreeException.java
6452 (serialVersionUID): New static field.
6453 * javax/imageio/metadata/IIOMetadataNode.java
6454 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6455 (parent): Dont initailize with default value explicitely.
6457 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6458 (removeAttributeNode): Likewise.
6459 (removeAttributeNS): Likewise.
6460 (setAttribute): Likewise.
6461 (setAttributeNode): Likewise.
6462 (setAttributeNodeNS): Likewise.
6463 (setAttributeNS): Likewise.
6464 (appendChild): Likewise.
6465 (getNodeValue): Likewise.
6466 (insertBefore): Likewise.
6467 (removeChild): Likewise.
6468 (replaceChild): Likewise.
6469 (setPrefix): Likewise.
6471 2005-02-15 Michael Koch <konqueror@gmx.de>
6473 * javax/swing/LookAndFeel.java
6474 (getDesktopPropertyValue): New method.
6476 2005-02-15 Michael Koch <konqueror@gmx.de>
6478 * javax/swing/JTree.java
6479 (hasChildren): New instance field.
6481 2005-02-15 Michael Koch <konqueror@gmx.de>
6483 * javax/swing/JComponent.java
6484 (getToolTipText): New method.
6485 (getTitledBorderText): Likewise.
6486 (getAccessibleKeyBinding): Likewise.
6487 (getVerifyInputWhenFocusTarget): Likewise.
6488 (setVerifyInputWhenFocusTarget): Likewise.
6489 (verifyInputWhenFocusTarget): New instance field.
6491 2005-02-15 Michael Koch <konqueror@gmx.de>
6493 * javax/swing/DefaultListSelectionModel.java
6494 (fireValueChanged): New method.
6496 2005-02-15 Michael Koch <konqueror@gmx.de>
6498 * javax/swing/DefaultBoundedRangeModel.java:
6499 Fixed javadocs all over.
6500 (fireStateChanged): Simplified.
6501 * javax/swing/BoundedRangeModel.java:
6504 2005-02-15 Michael Koch <konqueror@gmx.de>
6506 * javax/swing/JRootPane.java
6507 (setMenuBar): Added @deprecated tag.
6508 (getMenuBar): Likewise.
6509 * javax/swing/JTable.java
6510 (sizeColumnsToFit): Likewise.
6512 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6514 * javax/swing/ImageIcon.java (setImage): Implemented.
6516 2005-02-15 Michael Koch <konqueror@gmx.de>
6518 * javax/swing/JTable.java:
6519 Removed unused imports.
6521 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6523 (prepareRenderer): Get column's index in dataModel instead
6524 of column's view index.
6525 (getColumnCount): return count of the columns in ColumnModel,
6527 (removeColumn): Implemented.
6528 (moveColumm): Likewise.
6529 (setRowHeight): throw IllegalArgumentException if height is
6531 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6532 (DefaultTableColumnModel):Add call to createSelectionModel().
6533 (addColumn): Fire columnAdded event to registered listeners.
6534 (removeColumn): Fire columnRemoved event to registered listeners.
6535 (moveColumn): Fire columnMoved event to registered listeners.
6536 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6537 (getColumnIndex): Changed parameter name.
6538 (setColumnSelectionAllowed): Likewise.
6539 (fireColumnAdded): Implemented.
6540 (fireColumnRemoved): Likewise.
6541 (fireColumnMoved): Likewise.
6542 (fireColumnMarginChanged): Likewise.
6543 (getListeners): Changed parameter name.
6544 (propertyChange): Implemented.
6545 (valueChanged): Changed parameter name.
6546 (createSelectionModel): Implemented.
6548 2005-02-15 Michael Koch <konqueror@gmx.de>
6550 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6551 Explicitely import used classes.
6552 (getLocalGraphicsEnvironment): Simplify.
6553 * java/awt/Window.java (Window):
6554 Enable code to get the default GraphicsConfiguration.
6556 2005-02-15 Michael Koch <konqueror@gmx.de>
6558 * javax/swing/plaf/metal/DefaultMetalTheme.java
6559 (CONTROL_TEXT_FONT): New static field.
6560 (MENU_TEXT_FONT): Likewise.
6561 (SUB_TEXT_FONT): Likewise.
6562 (SYSTEM_TEXT_FONT): Likewise.
6563 (USER_TEXT_FONT): Likewise.
6564 (WINDOW_TITLE_FONT): Likewise.
6565 (getControlTextFont): New method.
6566 (getMenuTextFont): Likewise.
6567 (getSubTextFont): Likewise.
6568 (getSystemTextFont): Likewise.
6569 (getUserTextFont): Likewise.
6570 (getWindowTitleFont): Likewise.
6571 * javax/swing/plaf/metal/MetalTheme.java
6572 (BLACK): Initialize with Color.BLACK.
6573 (WHITE): Initialize with Color.WHITE.
6574 (getInactiveControlTextColor): Return getControlDisabled().
6575 (getMenuDisabledForeground): Return getSecondary3().
6576 (getControlTextFont): New abstract method.
6577 (getMenuTextFont): Likewise.
6578 (getSubTextFont): Likewise.
6579 (getSystemTextFont): Likewise.
6580 (getUserTextFont): Likewise.
6581 (getWindowTitleFont): Likewise.
6583 2005-02-15 Michael Koch <konqueror@gmx.de>
6585 * javax/swing/JFormattedTextField.java
6586 (getFocusLostBehavior): Fixed typo in method name.
6587 (setFocusLostBehavior): Likewise.
6589 2005-02-15 Michael Koch <konqueror@gmx.de>
6591 * javax/swing/TransferHandler.java:
6592 Reworked import statements.
6594 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6596 * java/awt/Button.java,
6597 java/awt/Canvas.java,
6598 java/awt/Checkbox.java,
6599 java/awt/CheckboxMenuItem.java,
6600 java/awt/Choice.java,
6601 java/awt/Dialog.java,
6602 java/awt/Frame.java,
6603 java/awt/Label.java,
6606 java/awt/MenuBar.java,
6607 java/awt/MenuItem.java,
6608 java/awt/PopupMenu.java,
6609 java/awt/ScrollPane.java,
6610 java/awt/Scrollbar.java,
6611 java/awt/TextArea.java,
6612 java/awt/Window.java (getAccessibleContext): Clean up comments.
6614 * java/awt/Button.java,
6615 java/awt/Checkbox.java,
6616 java/awt/Choice.java,
6618 java/awt/PopupMenu.java,
6619 java/awt/TextArea.java (getAccessibleContext): Only create new
6621 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6623 2005-02-15 Michael Koch <konqueror@gmx.de>
6625 * java/awt/Button.java,
6626 javax/swing/JApplet.java,
6627 javax/swing/JFormattedTextField.java,
6628 javax/swing/JWindow.java,
6629 javax/swing/JTree.java,
6630 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6631 javax/swing/plaf/basic/BasicTextPaneUI.java,
6632 javax/swing/plaf/basic/BasicTreeUI.java:
6633 Reworked import statements.
6635 2005-02-15 Michael Koch <konqueror@gmx.de>
6637 * Makefile.am: Put javax.imageio into its own library and link it
6638 against lib-org-w3c-dom.la to fix bootstrapping.
6639 * Makefile.in: Regenerated.
6641 2005-02-15 Michael Koch <konqueror@gmx.de>
6643 * javax/swing/text/TextAction.java
6644 (getTextComponent): Simplified. Added Javadoc.
6645 (augmentList): Implemented. Added Javadoc.
6646 (getFocusedComponent): Added javadoc.
6648 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6650 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6651 getAccessibleContext): Implement.
6652 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6653 getAccessibleContext): Implement.
6655 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6657 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6659 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6661 * java/awt/Window.java (getAccessibleContext): Fix comment.
6662 Remove extra import.
6664 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6666 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6667 (isActive, isFocused, getAccessibleContext): Implement.
6669 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6671 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6672 * java/awt/MenuComponent.java (accessibleContext): Make package
6674 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6675 AccessibleAWTCheckboxMenuItem): Implement.
6677 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6679 * java/awt/List.java: Implement AccessibleAWTList,
6680 AccessibleAWTListChild.
6682 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6684 * java/awt/Choice.java: Add implements declaration for
6687 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6689 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6692 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6694 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6695 implemented interface list.
6697 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6699 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6700 * javax/imageio/metadata/IIOAttr.java: New class.
6701 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6702 * javax/imageio/metadata/IIONodeList.java: New class.
6703 * Makefile.am: Added new files.
6704 * Makefile.in: Regenerated.
6706 2005-02-15 Michael Koch <konqueror@gmx.de>
6708 * javax/swing/AbstractAction.java,
6709 javax/swing/AbstractCellEditor.java,
6710 javax/swing/AbstractListModel.java,
6711 javax/swing/DefaultBoundedRangeModel.java,
6712 javax/swing/DefaultButtonModel.java,
6713 javax/swing/DefaultCellEditor.java,
6714 javax/swing/DefaultComboBoxModel.java,
6715 javax/swing/DefaultDesktopManager.java,
6716 javax/swing/JMenu.java,
6717 javax/swing/JSlider.java,
6718 javax/swing/KeyStroke.java,
6719 javax/swing/OverlayLayout.java,
6720 javax/swing/ScrollPaneLayout.java,
6721 javax/swing/SizeRequirements.java,
6722 javax/swing/ViewportLayout.java:
6723 Made serialVersionUID private.
6725 2005-02-15 Michael Koch <konqueror@gmx.de>
6727 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6730 2005-02-15 Michael Koch <konqueror@gmx.de>
6732 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6734 2005-02-15 Michael Koch <konqueror@gmx.de>
6736 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6738 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6740 * java/awt/EventDispatchThread.java,
6741 java/awt/Toolkit.java:
6742 Don't catch java.lang.ThreadDeath.
6744 2005-02-15 Michael Koch <konqueror@gmx.de>
6746 * javax/swing/text/PasswordView.java
6747 (drawEchoCharacter): Added javadoc.
6748 (drawSelectedText): Likewise.
6749 (drawUnselectedText): Likewise.
6751 2005-02-15 Michael Koch <konqueror@gmx.de>
6753 * javax/swing/JRootPane.java
6754 (windowDecorationStyle): New field.
6755 (setMenuBar): New method.
6756 (getMenuBar): Likewise.
6757 (getWindowDecorationStyle): Likewise.
6758 (setWindowDecorationStyle): Likewise.
6760 2005-02-15 Michael Koch <konqueror@gmx.de>
6762 * javax/swing/DefaultListSelectionModel.java
6763 (leadAnchorNotificationEnabled): Made protected.
6765 2005-02-15 Michael Koch <konqueror@gmx.de>
6767 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6768 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6769 * Makefile.in: Regenerated.
6772 2005-02-15 Michael Koch <konqueror@gmx.de>
6774 * javax/swing/JFormattedTextField.java: Implemented.
6775 * javax/swing/JWindow.java
6776 (JWindow): New constructors.
6777 (initWindow): Renamed from initFrame.
6778 * javax/swing/UIDefaults.java
6779 (ActiveValue): Made interface static.
6780 (LazyValue): Likewise.
6781 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6782 (TitlePaneLayout.TitlePaneLayout): New constructor.
6783 * javax/swing/plaf/basic/BasicSliderUI.java
6784 (ChangeHandler): Made public.
6785 (FocusHandler): Likewise.
6786 (PropertyChangeHandler): Likewise.
6787 (ScrollListener): Likewise.
6788 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6789 (FocusHandler): Likewise.
6790 (MouseHandler): Likewise.
6791 * javax/swing/plaf/basic/BasicTextPaneUI.java
6792 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6793 * javax/swing/plaf/basic/BasicToolBarUI.java
6794 (BasicToolBarUI): Simplified. Reworked javadoc.
6795 (canDock): Simplified. Make public.
6796 (DockingListener): Made public.
6797 * javax/swing/text/JTextComponent.java
6798 (navigationFilter): New field.
6799 (getNavigationFilter): New method.
6800 (setNavigationFilter): Likewise.
6802 2005-02-15 Michael Koch <konqueror@gmx.de>
6804 * javax/swing/plaf/metal/MetalTheme.java
6805 (getControlTextColor): Return getControlInfo().
6806 (getHighlightedTextColor): Return getControlTextColor().
6808 2005-02-15 Michael Koch <konqueror@gmx.de>
6810 * javax/swing/plaf/basic/BasicButtonListener.java
6811 (BasicButtonListener): New constructor.
6812 * javax/swing/plaf/basic/BasicButtonUI.java
6813 (createButtonListener): Usw new BasicButtonListener constructor.
6815 2005-02-15 Michael Koch <konqueror@gmx.de>
6817 * javax/imageio/event/package.html,
6818 javax/imageio/metadata/package.html: New files.
6820 2005-02-15 Michael Koch <konqueror@gmx.de>
6822 * java/awt/image/MemoryImageSource.java: Reformatted.
6824 2005-02-15 Michael Koch <konqueror@gmx.de>
6826 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6828 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6830 * java/awt/color/ICC_Profile.java
6831 (finalize): Removed pointless field assignments.
6833 2005-02-15 Michael Koch <konqueror@gmx.de>
6835 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6836 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6837 * Makefile.in: Regenerated.
6839 2005-02-15 Michael Koch <konqueror@gmx.de>
6841 * javax/swing/text/DefaultStyledDocument.java: New file.
6842 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6843 * Makefile.in: Regenerated.
6845 2005-02-15 Michael Koch <konqueror@gmx.de>
6847 * javax/swing/JFileChooser.java
6848 (showDialog): Return CANCEL_OPTION for now.
6849 (showOpenDialog): Likewise.
6850 (showSaveDialog): Likewise.
6852 2005-02-15 Michael Koch <konqueror@gmx.de>
6854 * javax/swing/JApplet.java
6855 (HIDE_ON_CLOSE): Removed.
6856 (EXIT_ON_CLOSE): Likewise.
6857 (DISPOSE_ON_CLOSE): Likewise.
6858 (DO_NOTHING_ON_CLOSE): Likewise.
6859 (close_action): Likewise.
6860 (getDefaultCloseOperation): Likewise.
6861 (setDefaultCloseOperation): Likewise.
6862 (processWindowEvent): Likewise.
6863 (getPreferredSize): Simplified.
6864 * javax/swing/JInternalFrame.java
6865 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6867 * javax/swing/JWindow.java
6868 (HIDE_ON_CLOSE): Removed.
6869 (EXIT_ON_CLOSE): Likewise.
6870 (DISPOSE_ON_CLOSE): Likewise.
6871 (DO_NOTHING_ON_CLOSE): Likewise.
6872 (close_action): Likewise.
6873 (processKeyEvent): Likewise.
6874 (setDefaultCloseOperation): Likewise.
6875 (getPreferredSize): Simplified.
6877 2005-02-15 Michael Koch <konqueror@gmx.de>
6879 * javax/swing/JTextField.java
6880 (getPreferredSize): Re-implemented.
6882 2005-02-15 Michael Koch <konqueror@gmx.de>
6884 * javax/swing/JLabel.java
6885 (setDisplayedMnemonic): Use only upper case characters.
6886 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6887 PropertyChangeEvent after property got set to the new index.
6889 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6891 * javax/swing/JComboBox.java:
6892 (JComboBox): Removed selection of the
6893 first item in the model.
6895 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6897 * javax/swing/JComboBox.java
6898 added support for no item being selected
6899 (JComboBox): select first or nothing depending on element count
6900 (setModel): cleaned up unneeded "this." usage, added more
6901 docs, made exception behavior match that of the JDK
6902 (setLighWeightPopupEnabled): removed unneeded "this." usage
6904 (setMaximumRowCount): dito
6906 (setPrototypeDisplayValue): dito
6907 (getSelectedItem): simplified, added more user doc
6908 (setSelectedIndex): corrected exception behavior, added more user doc
6909 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6910 added performance warning to user doc
6911 (addItem): fixed exception behavior, added user doc
6912 (insertItemAt): dito
6914 (removeItemAt): dito
6915 (removeAll): fixed exception behavior, added user doc, added support
6916 for model not being instance of DefaultComboBoxModel
6917 (getSelectedItemObjects): simplified
6918 (getItemCount): fixed dependency on DefaultComboBoxModel
6919 (getItemAt): fixed dependency on MutableComboBoxModel
6920 * javax/swing/DefaultComboBoxModel.java:
6921 (setSelectedItem): updates selected item only if new
6922 value is null or known (match JDK behavior)
6923 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6924 (paintCurrentValue): renders "" if no item is selected
6926 2005-02-15 Michael Koch <konqueror@gmx.de>
6928 * javax/swing/plaf/metal/MetalTheme.java,
6929 javax/swing/plaf/metal/DefaultMetalTheme.java:
6931 * javax/swing/plaf/metal/MetalLookAndFeel.java
6932 * Makefile.am: Added the new files.
6933 * Makefile.in: Regenerated.
6935 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6937 * javax/swing/JTable.java
6938 (editorComp): New field.
6939 (JTable): Initialize local variables and call updateUI
6940 (selectionBackground): Make protected.
6941 (selectionForeground): Likewise.
6942 (initializeLocalVars): Create default editors and renderers,
6943 initialize editingColumn, editingRow variables.
6944 (createDefaultEditors): New Method.
6945 (createDefaultRenderers): Likewise.
6946 (createDefaultListSelectionModel): Removed
6947 (createDefaultSelectionModel): New Method.
6948 (createDefaultTableHeader): Likewise
6949 (removeColumn): Likewise.
6950 (getEditingColumn): Likewise.
6951 (setEditingColumn): Likewise.
6952 (getEditingRow): Likewise.
6953 (setEditingRow): Likewise.
6954 (getEditorComponent): Likewise.
6955 (isEditing): Likewise.
6956 (setDefaultEditor): Likewise.
6957 (addColumnSelectionInterval): Likewise.
6958 (addRowSelectionInterval): Likewise.
6959 (setColumnSelectionInterval): Likewise.
6960 (setRowSelectionInterval): Likewise.
6961 (removeColumnSelectionInterval): Likewise.
6962 (removeRowSelectionInterval): Likewise.
6963 (isColumnSelected): Likewise.
6964 (isRowSelected): Likewise.
6965 (isCellSelected): Likewise.
6966 (selectAll): Likewise.
6968 2005-02-15 Michael Koch <konqueror@gmx.de>
6970 * javax/swing/JTable.java
6971 (addColumn): New method.
6972 (getColumnClass): Likewise.
6973 (getColumnName): Likewise.
6975 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6977 * javax/swing/TransferHandler.java
6978 (createTransferable): Made protected.
6980 2005-02-15 Michael Koch <konqueror@gmx.de>
6982 * javax/swing/JTable.java,
6983 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6984 javax/swing/plaf/basic/BasicTableUI.java:
6985 Use fixed get/setIntercellSpacing() methods.
6987 2005-02-15 Michael Koch <konqueror@gmx.de>
6989 * javax/swing/JTable.java
6990 (getIntercellSpacing): Fixed typo in method name.
6991 (setIntercellSpacing): Likewise.
6993 2005-02-15 Michael Koch <konqueror@gmx.de>
6995 * javax/swing/text/JTextComponent.java
6996 (focusAccelerator): New variable.
6997 (getFocusAccelerator): New method.
6998 (setFocusAccelerator): Likewise.
7000 2005-02-15 Michael Koch <konqueror@gmx.de>
7002 * javax/swing/JComponent.java
7003 (setTransferHandler): Made public. Fire property change event.
7004 * javax/swing/TransferHandler.java: Implemented.
7005 * javax/swing/text/JTextComponent.java
7006 (DefaultTransferHandler): New inner class.
7007 (defaultTransferHandler): New variable.
7011 (doTransferAction): Likewise.
7013 2005-02-15 Michael Koch <konqueror@gmx.de>
7015 * javax/swing/JTree.java
7016 (collapsePath): New method.
7017 (collapseRow): Likewise.
7018 (expandPath): Likewise.
7019 (expandRow): Likewise.
7020 (checkExpandParents): Likewise.
7021 (doExpandParents): Likewise.
7022 (setExpandedState): Likewise.
7023 (makeVisible): Likewise.
7025 2005-02-15 Michael Koch <konqueror@gmx.de>
7027 * javax/swing/JPasswordField.java: Updated javadocs.
7029 2005-02-15 Michael Koch <konqueror@gmx.de>
7031 * javax/swing/JLayeredPane.java
7032 (getLayer): Fixed return type, made public.
7033 (getPosition): Use new getLayer().
7034 (SetPosition): Likewise.
7035 (getIndexOf): Likewise.
7037 * javax/swing/JInternalFrame.java
7038 (getLayer): Use new JLayeredPane.getLayer().
7041 2005-02-15 Michael Koch <konqueror@gmx.de>
7043 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
7044 (setHeaderValue): Simplified. Do nothing when old value == new value.
7046 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
7048 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
7049 against null clip region.
7050 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
7051 gtkWindowSetResizable.
7052 (postConfigureEvent): Only revalidate if frame size has changed.
7053 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
7054 Only revalidate if frame size has changed.
7055 * java/awt/Component.java (reshape): Only repaint and post
7056 component events if component is showing.
7057 * java/awt/Container.java (addImpl): Only post container event if
7058 container is showing.
7060 * java/awt/Window.java (setLocationRelativeTo): Implement.
7061 (setBoundsCallback): Only post component events if component is
7063 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
7064 Protect against null graphics structure. Flush gdk event queue.
7066 2005-02-15 Michael Koch <konqueror@gmx.de>
7068 * javax/imageio/ImageReader.java,
7069 javax/imageio/ImageTranscoder.java,
7070 javax/imageio/ImageWriter.java,
7071 javax/imageio/spi/ImageInputStreamSpi.java,
7072 javax/imageio/spi/ImageOutputStreamSpi.java,
7073 javax/imageio/spi/ServiceRegistry.java,
7074 javax/imageio/stream/ImageInputStream.java,
7075 javax/imageio/stream/ImageOutputStream.java: Updated.
7076 * javax/imageio/IIOException.java,
7077 javax/imageio/IIOImage.java,
7078 javax/imageio/IIOParam.java,
7079 javax/imageio/IIOParamController.java,
7080 javax/imageio/ImageIO.java,
7081 javax/imageio/ImageReadParam.java,
7082 javax/imageio/ImageTypeSpecifier.java,
7083 javax/imageio/ImageWriteParam.java,
7084 javax/imageio/spi/IIORegistry.java,
7085 javax/imageio/spi/ImageReaderSpi.java,
7086 javax/imageio/spi/ImageWriterSpi.java,
7087 javax/imageio/stream/FileCacheImageInputStream.java,
7088 javax/imageio/stream/FileCacheImageOutputStream.java,
7089 javax/imageio/stream/FileImageInputStream.java,
7090 javax/imageio/stream/FileImageOutputStream.java,
7091 javax/imageio/stream/ImageInputStreamImpl.java,
7092 javax/imageio/stream/ImageOutputStreamImpl.java,
7093 javax/imageio/stream/MemoryCacheImageInputStream.java,
7094 javax/imageio/stream/MemoryCacheImageOutputStream.java,
7095 javax/imageio/event/IIOReadProgressListener.java,
7096 javax/imageio/event/IIOReadUpdateListener.java,
7097 javax/imageio/event/IIOReadWarningListener.java,
7098 javax/imageio/event/IIOWriteProgressListener.java,
7099 javax/imageio/event/IIOWriteWarningListener.java,
7100 javax/imageio/metadata/IIOMetadata.java,
7101 javax/imageio/metadata/IIOMetadataController.java,
7102 javax/imageio/metadata/IIOMetadataFormat.java,
7103 javax/imageio/metadata/IIOInvalidTreeException.java,
7104 javax/imageio/metadata/IIOMetadataFormatImpl.java,
7105 javax/imageio/metadata/IIOMetadataNode.java: New files.
7106 * Makefile.am (javax_source_files): Added new files
7107 * Makefile.in: Regenerated.
7109 2005-02-15 Graydon Hoare <graydon@redhat.com>
7111 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
7112 Rework painting into BufferedImages
7113 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
7114 Construct BufferedImage with alpha only when alpha is
7115 present in colormodel.
7116 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7117 Rework painting into client-side jint arrays.
7118 * jni/gtk-peer/gtkcairopeer.h:
7121 2005-02-15 Michael Koch <konqueror@gmx.de>
7123 * javax/swing/DefaultListCellRenderer.java
7124 (serialVersionUID): Made private.
7125 (getListCellRendererComponent): Set horizontal alignment.
7126 * javax/swing/JLabel.java
7127 (setVerticalAlignment): Re-implemented.
7128 (setHorizontalAlignment): Do nothing if old value = new value.
7129 * javax/swing/JList.java
7130 (setCellRenderer): Likewise.
7131 (setModel): Re-implemented.
7132 (setSelectionModel): Likewise.
7134 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
7136 * java/awt/Component.java,
7137 java/awt/geom/Rectangle2D.java:
7140 2005-02-15 Michael Koch <konqueror@gmx.de>
7142 * javax/swing/AbstractListModel.java
7143 (fireContentsChanged): Simplified.
7144 (fireIntervalAdded): Likewise.
7145 (fireIntervalRemoved): Likewise.
7146 * javax/swing/DefaultSingleSelectionModel.java:
7148 (fireStateChanged): Simplified.
7149 * javax/swing/JPopupMenu.java
7150 (setSelectionModel): Set property.
7152 2005-02-15 Michael Koch <konqueror@gmx.de>
7154 * java/awt/print/Book.java: Reformatted.
7156 2005-02-15 Michael Koch <konqueror@gmx.de>
7158 * java/awt/geom/Area.java
7159 (QuadSegment.curveArea): Remove unused variables.
7160 (CubicSegment.curveArea): Likewise.
7162 2005-02-15 Michael Koch <konqueror@gmx.de>
7164 * javax/swing/JTree.java
7165 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
7166 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
7167 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
7168 (EXPANDED): New constant.
7169 (COLLAPSED): Likewise.
7170 (nodeStates): New field.
7171 (cellEditor): New method.
7172 (cellRenderer): Likewise.
7173 (selectionModel): Likewise.
7174 (treeModel): Likewise.
7175 (scrollPathToVisible): Likewise.
7176 (scrollRowToVisible): Likewise.
7177 (isCollapsed): Likewise.
7178 (isExpanded): Likewise.
7179 (clearToggledPaths): Likewise.
7180 (getDescendantToggledPaths): Likewise.
7181 (hasBeenExpanded): Likewise.
7182 (isVisible): Likewise.
7183 (isPathEditable): Likewise.
7185 2005-02-15 Michael Koch <konqueror@gmx.de>
7187 * javax/swing/JLayeredPane.java: Reformatted.
7189 2005-02-15 Michael Koch <konqueror@gmx.de>
7191 * javax/swing/tree/DefaultMutableTreeNode.java:
7193 * javax/swing/tree/MutableTreeNode.java:
7196 2005-02-15 Michael Koch <konqueror@gmx.de>
7198 * javax/swing/JFormattedTextField.java
7199 (setDocument): Call setDocument of super class. Don't fire property
7202 2005-02-15 Sven de Marothy <sven@physto.se>
7204 * java/awt/image/IndexColorModel.java:
7205 Add FIXME with respect to alpha handling.
7206 (getAlpha): Default to returning opaque pixels.
7207 * java/awt/image/MultiPixelPackedSampleModel.java
7208 (MultiPixelPackedSampleModel): Corrected parameters, order of
7209 bit shifts and masks, stride length off by one.
7211 2005-02-15 Michael Koch <konqueror@gmx.de>
7213 * javax/swing/JList.java, javax/swing/JTree.java:
7214 Added much new methods and fixed much methods setting bound properties.
7216 2005-02-16 Mark Wielaard <mark@klomp.org>
7218 * Makefile.am (gnu_xml_source_files): Removed
7219 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
7220 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
7221 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
7222 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
7223 gnu/xml/dom/DomDocumentFragment.java,
7224 gnu/xml/dom/DomProcessingInstruction.java and
7225 gnu/xml/dom/ls/DomLSException.java.
7226 * Makefile.in: Regenerated.
7228 2005-02-16 Tom Tromey <tromey@redhat.com>
7230 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
7231 attribute index is out of bounds.
7233 2005-02-16 Chris Burdess <dog@gnu.org>
7235 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
7236 isDeclared methods. Improved performance of isSpecified methods.
7238 2005-02-16 Chris Burdess <dog@gnu.org>
7240 Fixes bug libgcj/19864
7241 * gnu/xml/dom/DomAttr.java,
7242 gnu/xml/dom/DomCDATA.java,
7243 gnu/xml/dom/DomCDATASection.java,
7244 gnu/xml/dom/DomCharacterData.java,
7245 gnu/xml/dom/DomDOMException.java,
7246 gnu/xml/dom/DomDoctype.java,
7247 gnu/xml/dom/DomDocument.java,
7248 gnu/xml/dom/DomDocumentConfiguration.java,
7249 gnu/xml/dom/DomDocumentFragment.java,
7250 gnu/xml/dom/DomElement.java,
7251 gnu/xml/dom/DomEx.java,
7252 gnu/xml/dom/DomFragment.java,
7253 gnu/xml/dom/DomImpl.java,
7254 gnu/xml/dom/DomIterator.java,
7255 gnu/xml/dom/DomNamedNodeMap.java,
7256 gnu/xml/dom/DomNode.java,
7257 gnu/xml/dom/DomNsNode.java,
7258 gnu/xml/dom/DomPI.java,
7259 gnu/xml/dom/DomProcessingInstruction.java,
7260 gnu/xml/dom/DomText.java,
7261 gnu/xml/dom/DomLSEx.java,
7262 gnu/xml/dom/DomLSException.java,
7263 gnu/xml/dom/DomLSParser.java,
7264 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
7265 implementation class names to conform to Classpath guidelines. Make
7266 DomLSException use JDK 1.4+ exception chaining.
7267 * gnu/xml/util/SAXNullTransformerFactory.java,
7268 gnu/xml/xpath/Predicate.java: Use constants relative to
7269 declaring class or interface.
7271 2005-02-16 Andrew Haley <aph@redhat.com>
7273 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
7274 null, create a new AccessControlContext.
7275 * java/security/SecureClassLoader.java (protectionDomainCache):
7277 (defineClass): Create a new protection domain and add it to our
7280 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
7281 addStub() to keep track of the stub we've exported.
7282 (unexportObject): Call deleteStub().
7283 * java/rmi/server/RemoteObject.java (stubs): New field.
7284 (addStub): New method.
7285 (deleteStub): New method.
7288 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
7289 true to findHelper (tryParents).
7290 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
7292 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
7293 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
7295 If tryParents is false, don't scan parent class loaders.
7297 * java/security/Permissions.java (PermissionsHash.implies):
7298 Iterate over the collection and invoke implies() on each
7301 2005-02-16 Andrew Haley <aph@redhat.com>
7303 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
7305 (PersistentByteMap): Set name
7306 Magic number changed to 0x67636a64 ("gcjd").
7307 (init): Force the map to be prime.
7308 (emptyPersistentByteMap): File name was a string, now a File.
7309 (addBytes): Share srings between entries.
7310 (stringTableSize): New method.
7311 (capacity): Scale by load factor.
7312 (force): New method.
7313 (getFile): New method.
7314 (close): New method.
7315 (putAll): New method.
7316 (ByteWrapper): New class.
7317 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
7318 (main): Guess the average string size as 32, not 64.
7319 Copy a database before modifying it, so that we can update a
7320 database in a running system.
7321 If a database isn't big enough, resize it.
7322 "-m": new option: merges databases.
7323 "-a": Create a new detabase if it doesn't exist.
7324 (usage): Correct, add new option.
7325 (addJar): Copy a database before modifying it.
7326 (resizeMap): New method.
7328 2005-02-15 David Daney <ddaney@avtrex.com>
7329 Bryce McKinlay <mckinlay@redhat.com>
7331 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
7332 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
7333 ensure that GC threads inherit the new signal mask.
7334 (block_sigchld): Call JvFail rather than throwing exception if
7335 pthread_sigmask() fails.
7337 2005-02-15 Mark Wielaard <mark@klomp.org>
7339 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
7340 file path elements are separated by spaces.
7342 2005-02-15 Mark Wielaard <mark@klomp.org>
7344 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
7345 to describe attributes without a constant field value in this class.
7347 2005-02-15 Michael Koch <konqueror@gmx.de>
7349 * java/util/jar/Attributes.java
7350 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
7352 2005-02-15 Mark Wielaard <mark@klomp.org>
7354 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
7355 space for parsing CLASS_PATH attribute.
7357 2005-02-15 Mark Wielaard <mark@klomp.org>
7359 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
7360 aside for "GCJLIBS" in directory where jarfiles are loaded.
7361 (JarURLLoader.getClass): Removed method.
7362 (JarURLLoader.toString): Removed method.
7363 (FileResource.toString): Removed method.
7365 2005-02-15 Mark Wielaard <mark@klomp.org>
7367 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
7368 and/or cause before throwing.
7370 2005-02-15 Richard Henderson <rth@redhat.com>
7372 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
7373 (libgcj0_convenience_la_SOURCES): ... here.
7374 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
7375 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
7376 * Makefile.in: Regenerate.
7378 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7381 * include/jawt.h: Likewise.
7382 * include/jawt_md.h: Likewise.
7383 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7385 * include/Makefile.in: Regenerate.
7386 * jni/classpath/classpath_jawt.h: Likewise.
7387 * jni/gtk-peer/gtk_jawt.c: Likewise.
7388 * Makefile.am: Build libjawt.so.
7389 * Makefile.in: Regenerate.
7391 2005-02-14 Tom Tromey <tromey@redhat.com>
7393 * testsuite/libjava.lang/PR19921.java: Use correct class name.
7395 2005-02-14 Tom Tromey <tromey@redhat.com>
7397 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
7398 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
7400 2005-02-14 Tom Tromey <tromey@redhat.com>
7403 * testsuite/libjava.lang/PR19929.out: New file.
7404 * testsuite/libjava.lang/PR19929.java: New file.
7406 2005-02-14 Anthony Green <green@redhat.com>
7409 * testsuite/libjava.jni/PR18116.c: New file.
7410 * testsuite/libjava.jni/PR18116.java: New file.
7411 * testsuite/libjava.jni/PR18116.out: New file.
7413 2005-02-13 Anthony Green <green@redhat.com>
7416 * jni.cc (nathash_add): Don't strdup the method signature.
7417 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
7421 2005-02-12 Mark Wielaard <mark@klomp.org>
7423 Fixes bug libgcj/8170
7424 * java/lang/ClassLoader.java (loadClass): Don't rewrap
7425 ClassNotFoundException.
7426 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
7427 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
7428 (remove_internal): New field superceding remove_interpreter.
7429 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7430 Remove no-class methods starting with "_Jv_". And Replace null
7431 class or method names with the empty string. Stop at either the
7432 MainThread or a real Thread run() method.
7433 (newElement): Made static.
7434 * java/net/URLClassLoader.java (findClass): Throw
7435 ClassNotFoundExceptions including urls, plus parent using toString().
7436 (thisString): New field.
7437 (toString): New method.
7439 2005-02-10 Tom Tromey <tromey@redhat.com>
7441 * external/sax/Makefile.in: Rebuilt.
7442 * external/sax/Makefile.am (all-local): Removed.
7443 (BUILT_SOURCES): New variable.
7444 (mostlyclean-local): No error if no classes to delete.
7445 * external/w3c_dom/Makefile.in: Rebuilt.
7446 * external/w3c_dom/Makefile.am (all-local): Removed.
7447 (BUILT_SOURCES): New variable.
7448 (mostlyclean-local): No error if no classes to delete.
7450 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7452 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7453 of mauve and libjava.
7455 2005-02-09 Tom Tromey <tromey@redhat.com>
7457 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7458 jar file with OPEN_DELETE.
7459 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7460 OPEN_DELETE is used.
7462 2005-02-09 Tom Tromey <tromey@redhat.com>
7464 * java/util/zip/InflaterInputStream.java (markSupported):
7466 (mark, reset): Likewise.
7468 2005-02-08 Tom Tromey <tromey@redhat.com>
7470 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7471 name or port is missing.
7472 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7473 AUTHORITY_PORT_GROUP): Updated.
7475 2005-02-08 Tom Tromey <tromey@redhat.com>
7477 * configure: Rebuilt.
7478 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7481 2005-02-07 Tom Tromey <tromey@redhat.com>
7483 * java/lang/natRuntime.cc (insertSystemProperties): Set
7484 sun.boot.class.path earlier.
7486 2005-02-07 Tom Tromey <tromey@redhat.com>
7488 * defineclass.cc (handleClassBegin): Use
7489 _Jv_RegisterInitiatingLoader.
7490 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7491 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7492 class. Use _Jv_UnregisterInitiatingLoader.
7493 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7496 2005-02-07 Mark Wielaard <mark@klomp.org>
7498 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7499 java/util/regex/Matcher.java (lookingAt): Set position when match
7501 (matches): Implemented through lookingAt().
7503 2005-02-07 Mark Wielaard <mark@klomp.org>
7505 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7506 * java/util/regex/Pattern.java (split(CharSequence,int)):
7507 Fix while empties > 0 loops.
7509 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7511 * gnu/java/nio/charset/ISO_8859_1.java,
7512 gnu/java/nio/charset/US_ASCII.java,
7513 gnu/java/nio/charset/UTF_16.java,
7514 gnu/java/nio/charset/UTF_16_LE.java,
7515 gnu/java/nio/charset/UTF_16_BE.java,
7516 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7517 and aliases according to
7518 "http://www.iana.org/assignments/character-sets",
7519 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7520 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7521 * gnu/java/nio/charset/Provider.java: Made charset lookup
7522 case-insensitive which fixes bug #11740.
7524 2005-02-07 Tom Tromey <tromey@redhat.com>
7527 * Makefile.in: Rebuilt.
7528 * Makefile.am (src.zip): New target.
7529 (install-src.zip): Likewise.
7530 (sourcesdir): New variable.
7532 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7534 * javax/imageio/metadata/IIOMetadataNode.java:
7536 * javax/imageio/metadata/IIOAttr.java,
7537 javax/imageio/metadata/IIONamedNodeMap.java,
7538 javax/imageio/metadata/IIONodeList.java:
7541 2005-02-06 Graydon Hoare <graydon@redhat.com>
7543 * gnu/java/awt/ClasspathToolkit.java
7544 (registerImageIOSpis): New method.
7545 * javax/imageio/ImageIO.java
7546 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7547 (WriterMIMETypeFilter.filter): Likewise.
7548 (ImageReaderIterator): Pass extension argument through to SPI.
7549 (getReadersByFilter): Likewise.
7550 (getWritersByFilter): Likewise.
7551 (getImageReadersByFormatName): Likewise.
7552 (getImageReadersByMIMEType): Likewise.
7553 (getImageReadersBySuffix): Likewise.
7554 (getImageWritersByFormatName): Likewise.
7555 (getImageWritersByMIMEType): Likewise.
7556 (getImageWritersBySuffix): Likewise.
7559 * javax/imageio/ImageReader.java
7560 (progressListeners): Initialize.
7561 (setInput): Implement.
7562 * javax/imageio/ImageWriter.java
7563 (progressListeners): Initialize.
7564 (warningListeners): Likewise.
7565 (warningLocales): Likewise.
7566 (setOutput): Test "isInstance" rather than class equality.
7567 * javax/imageio/spi/IIORegistry.java
7568 (static): Add reader and writer SPIs.
7569 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7571 2005-02-06 Michael Koch <konqueror@gmx.de>
7573 * javax/imageio/metadata/IIOInvalidTreeException.java
7574 (IIOInvalidTreeException): Reformatted.
7575 * javax/imageio/spi/IIORegistry.java
7576 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7577 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7578 Reworked import statements.
7580 2005-02-06 Michael Koch <konqueror@gmx.de>
7582 * javax/imageio/stream/FileImageOutputStream.java:
7585 2005-02-06 Michael Koch <konqueror@gmx.de>
7587 * javax/imageio/stream/FileCacheImageInputStream.java,
7588 javax/imageio/stream/FileCacheImageOutputStream.java,
7589 javax/imageio/stream/FileImageInputStream.java,
7590 javax/imageio/stream/ImageInputStreamImpl.java,
7591 javax/imageio/stream/ImageOutputStreamImpl.java,
7592 javax/imageio/stream/MemoryCacheImageInputStream.java,
7593 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7594 Added all missing methods in javax.imageio.stream.
7596 2005-02-02 David Daney <ddaney@avtrex.com>
7598 * java/net/InetAddress.java (InetAddress): Make a private copy of
7600 * java/net/Inet4Address.java (getAddress): Return a copy of the
7602 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7604 (getAddress): Return a copy of the address.
7607 2005-02-02 Tom Tromey <tromey@redhat.com>
7609 * Makefile.in: Rebuilt.
7610 * Makefile.am (classes.stamp): New target, broken out from
7612 ($(all_java_class_files)): Depend on it.
7613 (libgcj-@gcc_version@.jar): Likewise.
7614 (all-recursive): Likewise.
7615 (CLEANFILES): Include classes.stamp.
7617 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7619 * link.cc: Include <stdio.h>
7621 2005-02-02 Tom Tromey <tromey@redhat.com>
7624 * Makefile.in: Rebuilt.
7625 * Makefile.am (ordinary_java_source_files): Added new class.
7626 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7627 Use system_instance, not instance.
7628 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7629 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7631 (system_instance): New field.
7632 (initialize): Initialize the system loader as well.
7633 (VMClassLoader): Default to LIB_CACHE.
7635 2005-02-02 Tom Tromey <tromey@redhat.com>
7637 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7638 * prims.cc: Fixed comment.
7640 2005-02-01 Tom Tromey <tromey@redhat.com>
7642 * Makefile.in: Rebuilt.
7643 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7644 (.java.class): Use BOOTCLASSPATH.
7646 2005-02-01 Tom Tromey <tromey@redhat.com>
7648 * external/w3c_dom/Makefile.am: New file.
7649 * external/w3c_dom/Makefile.in: New file.
7650 * external/sax/Makefile.am: New file.
7651 * external/sax/Makefile.in: New file.
7652 * external/Makefile.in: New file.
7653 * external/Makefile.am: New file.
7654 * external/README: New file from Classpath.
7655 * configure, aclocal.m4, Makefile.in: Rebuilt.
7656 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7657 * Makefile.am (SUBDIRS): Added external.
7658 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7659 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7660 (BOOTCLASSPATH): New variable.
7661 (AM_GCJFLAGS): Use it.
7662 (gnu_xml_source_files): New variable.
7663 (libgcj_la_SOURCES): Use it.
7664 (libgcj_la_LDADD): Include new convenience libraries.
7665 (lib_org_ietf_jgss_la_SOURCES): Removed.
7666 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7667 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7668 (lib_org_w3c_dom_la_SOURCES): Removed.
7669 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7670 (lib_org_w3c_dom_la_LIBADD): Likewise.
7671 (lib_org_xml_sax_la_SOURCES): Removed.
7672 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7673 (lib_org_xml_sax_la_LIBADD): Likewise.
7674 (all_java_source_files): Updated.
7675 (property_files): Likewise.
7676 (libgcj-@gcc_version@.jar): Include classes from external/.
7677 (javax_source_files): Updated.
7678 (ordinary_java_source_files): Updated.
7679 * javax/xml/XMLConstants.java,
7680 javax/xml/datatype/DatatypeConfigurationException.java,
7681 javax/xml/datatype/DatatypeConstants.java,
7682 javax/xml/datatype/DatatypeFactory.java,
7683 javax/xml/datatype/Duration.java,
7684 javax/xml/datatype/XMLGregorianCalendar.java,
7685 javax/xml/datatype/package.html,
7686 javax/xml/namespace/NamespaceContext.java,
7687 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7688 javax/xml/parsers/DocumentBuilder.java,
7689 javax/xml/parsers/DocumentBuilderFactory.java,
7690 javax/xml/parsers/FactoryConfigurationError.java,
7691 javax/xml/parsers/ParserConfigurationException.java,
7692 javax/xml/parsers/SAXParser.java,
7693 javax/xml/parsers/SAXParserFactory.java,
7694 javax/xml/parsers/package.html,
7695 javax/xml/transform/ErrorListener.java,
7696 javax/xml/transform/OutputKeys.java,
7697 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7698 javax/xml/transform/SourceLocator.java,
7699 javax/xml/transform/Templates.java,
7700 javax/xml/transform/Transformer.java,
7701 javax/xml/transform/TransformerConfigurationException.java,
7702 javax/xml/transform/TransformerException.java,
7703 javax/xml/transform/TransformerFactory.java,
7704 javax/xml/transform/TransformerFactoryConfigurationError.java,
7705 javax/xml/transform/URIResolver.java,
7706 javax/xml/transform/package.html,
7707 javax/xml/transform/dom/DOMLocator.java,
7708 javax/xml/transform/dom/DOMResult.java,
7709 javax/xml/transform/dom/DOMSource.java,
7710 javax/xml/transform/dom/package.html,
7711 javax/xml/transform/sax/SAXResult.java,
7712 javax/xml/transform/sax/SAXSource.java,
7713 javax/xml/transform/sax/SAXTransformerFactory.java,
7714 javax/xml/transform/sax/TemplatesHandler.java,
7715 javax/xml/transform/sax/TransformerHandler.java,
7716 javax/xml/transform/sax/package.html,
7717 javax/xml/transform/stream/StreamResult.java,
7718 javax/xml/transform/stream/StreamSource.java,
7719 javax/xml/transform/stream/package.html,
7720 javax/xml/validation/Schema.java,
7721 javax/xml/validation/SchemaFactory.java,
7722 javax/xml/validation/TypeInfoProvider.java,
7723 javax/xml/validation/Validator.java,
7724 javax/xml/validation/ValidatorHandler.java,
7725 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7726 javax/xml/xpath/XPathConstants.java,
7727 javax/xml/xpath/XPathException.java,
7728 javax/xml/xpath/XPathExpression.java,
7729 javax/xml/xpath/XPathExpressionException.java,
7730 javax/xml/xpath/XPathFactory.java,
7731 javax/xml/xpath/XPathFactoryConfigurationException.java,
7732 javax/xml/xpath/XPathFunction.java,
7733 javax/xml/xpath/XPathFunctionException.java,
7734 javax/xml/xpath/XPathFunctionResolver.java,
7735 javax/xml/xpath/XPathVariableResolver.java,
7736 javax/xml/xpath/package.html: New files, from GNU JAXP.
7737 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7738 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7739 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7740 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7741 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7742 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7743 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7744 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7745 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7746 org/w3c/dom/ranges/DocumentRange.java,
7747 org/w3c/dom/ranges/Range.java,
7748 org/w3c/dom/ranges/RangeException.java,
7749 org/w3c/dom/traversal/DocumentTraversal.java,
7750 org/w3c/dom/traversal/NodeFilter.java,
7751 org/w3c/dom/traversal/NodeIterator.java,
7752 org/w3c/dom/traversal/TreeWalker.java,
7753 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7754 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7755 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7756 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7757 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7758 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7759 org/xml/sax/SAXNotRecognizedException.java,
7760 org/xml/sax/SAXNotSupportedException.java,
7761 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7762 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7763 org/xml/sax/ext/DeclHandler.java,
7764 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7765 org/xml/sax/helpers/AttributeListImpl.java,
7766 org/xml/sax/helpers/AttributesImpl.java,
7767 org/xml/sax/helpers/DefaultHandler.java,
7768 org/xml/sax/helpers/LocatorImpl.java,
7769 org/xml/sax/helpers/NamespaceSupport.java,
7770 org/xml/sax/helpers/NewInstance.java,
7771 org/xml/sax/helpers/ParserAdapter.java,
7772 org/xml/sax/helpers/ParserFactory.java,
7773 org/xml/sax/helpers/XMLFilterImpl.java,
7774 org/xml/sax/helpers/XMLReaderAdapter.java,
7775 org/xml/sax/helpers/XMLReaderFactory.java,
7776 org/xml/sax/helpers/package.html: Moved to external/.
7777 * external/sax/README,
7778 external/sax/org/xml/sax/AttributeList.java,
7779 external/sax/org/xml/sax/Attributes.java,
7780 external/sax/org/xml/sax/ContentHandler.java,
7781 external/sax/org/xml/sax/DTDHandler.java,
7782 external/sax/org/xml/sax/DocumentHandler.java,
7783 external/sax/org/xml/sax/EntityResolver.java,
7784 external/sax/org/xml/sax/ErrorHandler.java,
7785 external/sax/org/xml/sax/HandlerBase.java,
7786 external/sax/org/xml/sax/InputSource.java,
7787 external/sax/org/xml/sax/Locator.java,
7788 external/sax/org/xml/sax/Parser.java,
7789 external/sax/org/xml/sax/SAXException.java,
7790 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7791 external/sax/org/xml/sax/SAXNotSupportedException.java,
7792 external/sax/org/xml/sax/SAXParseException.java,
7793 external/sax/org/xml/sax/XMLFilter.java,
7794 external/sax/org/xml/sax/XMLReader.java,
7795 external/sax/org/xml/sax/package.html,
7796 external/sax/org/xml/sax/ext/Attributes2.java,
7797 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7798 external/sax/org/xml/sax/ext/DeclHandler.java,
7799 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7800 external/sax/org/xml/sax/ext/EntityResolver2.java,
7801 external/sax/org/xml/sax/ext/LexicalHandler.java,
7802 external/sax/org/xml/sax/ext/Locator2.java,
7803 external/sax/org/xml/sax/ext/Locator2Impl.java,
7804 external/sax/org/xml/sax/ext/package.html,
7805 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7806 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7807 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7808 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7809 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7810 external/sax/org/xml/sax/helpers/NewInstance.java,
7811 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7812 external/sax/org/xml/sax/helpers/ParserFactory.java,
7813 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7814 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7815 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7816 external/sax/org/xml/sax/helpers/package.html,
7817 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7818 external/w3c_dom/org/w3c/dom/Attr.java,
7819 external/w3c_dom/org/w3c/dom/CDATASection.java,
7820 external/w3c_dom/org/w3c/dom/CharacterData.java,
7821 external/w3c_dom/org/w3c/dom/Comment.java,
7822 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7823 external/w3c_dom/org/w3c/dom/DOMError.java,
7824 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7825 external/w3c_dom/org/w3c/dom/DOMException.java,
7826 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7827 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7828 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7829 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7830 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7831 external/w3c_dom/org/w3c/dom/Document.java,
7832 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7833 external/w3c_dom/org/w3c/dom/DocumentType.java,
7834 external/w3c_dom/org/w3c/dom/Element.java,
7835 external/w3c_dom/org/w3c/dom/Entity.java,
7836 external/w3c_dom/org/w3c/dom/EntityReference.java,
7837 external/w3c_dom/org/w3c/dom/NameList.java,
7838 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7839 external/w3c_dom/org/w3c/dom/Node.java,
7840 external/w3c_dom/org/w3c/dom/NodeList.java,
7841 external/w3c_dom/org/w3c/dom/Notation.java,
7842 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7843 external/w3c_dom/org/w3c/dom/Text.java,
7844 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7845 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7846 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7847 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7848 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7849 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7850 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7851 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7852 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7853 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7854 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7855 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7856 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7857 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7858 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7859 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7860 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7861 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7862 external/w3c_dom/org/w3c/dom/css/Counter.java,
7863 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7864 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7865 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7866 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7867 external/w3c_dom/org/w3c/dom/css/Rect.java,
7868 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7869 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7870 external/w3c_dom/org/w3c/dom/events/Event.java,
7871 external/w3c_dom/org/w3c/dom/events/EventException.java,
7872 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7873 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7874 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7875 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7876 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7877 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7878 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7879 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7880 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7881 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7882 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7883 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7884 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7885 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7886 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7887 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7888 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7889 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7890 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7891 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7892 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7893 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7894 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7895 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7896 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7897 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7898 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7899 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7900 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7901 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7902 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7903 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7904 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7905 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7906 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7907 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7908 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7909 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7910 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7911 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7912 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7913 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7914 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7915 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7916 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7917 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7918 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7919 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7920 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7921 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7922 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7923 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7924 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7925 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7926 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7927 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7928 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7929 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7930 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7931 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7932 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7933 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7934 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7935 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7936 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7937 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7938 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7939 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7940 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7941 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7942 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7943 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7944 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7945 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7946 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7947 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7948 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7949 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7950 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7951 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7952 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7953 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7954 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7955 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7956 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7957 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7958 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7959 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7960 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7961 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7962 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7963 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7966 2005-01-31 Anthony Green <green@redhat.com>
7968 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7969 Support IP_MULTICAST_LOOP.
7970 (setOption): Support IP_MULTICAST_LOOP.
7972 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7973 SO_REUSEADDR support.
7974 (getOption): Support SO_REUSEADDR.
7976 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7979 * java/util/Date.java
7980 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7982 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7984 (getTimezoneOffset): Inverted sign.
7986 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7988 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7989 remove other passing tests and add new XFAILs.
7991 2005-01-24 Tom Tromey <tromey@redhat.com>
7993 * java/lang/Class.h (next): Updated documentation. Renamed to
7995 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7996 _Jv_CheckABIVersion.
7997 (_Jv_RegisterClasses_Counted): Likewise.
7998 (_Jv_RegisterClassHookDefault): Fix starting condition of
7999 duplicate-checking loop.
8000 * include/jvm.h (GCJ_VERSION): New define.
8001 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
8002 (_Jv_CheckABIVersion): New function.
8004 2005-01-24 Jakub Jelinek <jakub@redhat.com>
8006 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
8007 (libgij_la_LDFLAGS): Add.
8008 * Makefile.in: Rebuilt.
8010 2005-01-24 Roger Sayle <roger@eyesopen.com>
8013 * testsuite/libjava.compile/PR19295.java: New test case.
8015 2005-01-19 Tom Tromey <tromey@redhat.com>
8017 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
8018 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
8019 if 'handler' is valid.
8021 2005-01-17 Tom Tromey <tromey@redhat.com>
8023 * java/text/MessageFormat.java (scanString): Changed how quoting
8025 (scanFormatElement): Likewise.
8027 2004-12-07 Mark Wielaard <mark@klomp.org>
8029 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
8031 2005-01-15 Michael Koch <konqueror@gmx.de>
8035 (AUTHORITY_REGEXP): New regexp constant.
8036 (AUTHORITY_USERINFO_GROUP): New constant.
8037 (AUTHORITY_HOST_GROUP): Likewise.
8038 (AUTHORITY_PORT_GROUP): Likewise.
8039 (port): Changed default value to -1.
8040 (parseURI): Parse authority part and initialize host,
8043 2005-01-14 Robin Green <greenrd@greenrd.org>
8045 * java/io/File.java (toURI): Generate a URI which we understand.
8047 2005-01-13 Graydon Hoare <graydon@redhat.com>
8049 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
8050 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
8051 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
8052 * jni.cc: Reuse bottom frame between calls, avoid clearing
8053 frame when no local references are made.
8055 2005-01-13 Michael Koch <konqueror@gmx.de>
8058 * java/lang/Thread.java
8059 (Thread): Call checkAccess().
8060 (stop): Fixed argument name to match javadoc.
8061 * java/lang/natThread.cc
8062 (interrupt): Call checkAccess().
8065 2005-01-11 Michael Koch <konqueror@gmx.de>
8068 * java/net/URL.java (URL): Handle specs like
8069 "/redir?http://domain2.com/index.html" which start with a slash.
8071 2005-01-11 Michael Koch <konqueror@gmx.de>
8073 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
8074 * gnu/java/net/BASE64.java,
8075 gnu/java/net/EmptyX509TrustManager.java,
8076 gnu/java/net/LineInputStream.java,
8077 gnu/java/net/protocol/http/Authenticator.java,
8078 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
8079 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
8080 gnu/java/net/protocol/http/ChunkedInputStream.java,
8081 gnu/java/net/protocol/http/Cookie.java,
8082 gnu/java/net/protocol/http/CookieManager.java,
8083 gnu/java/net/protocol/http/Credentials.java,
8084 gnu/java/net/protocol/http/HTTPConnection.java,
8085 gnu/java/net/protocol/http/HTTPDateFormat.java,
8086 gnu/java/net/protocol/http/HTTPURLConnection.java,
8087 gnu/java/net/protocol/http/Headers.java,
8088 gnu/java/net/protocol/http/Request.java,
8089 gnu/java/net/protocol/http/RequestBodyWriter.java,
8090 gnu/java/net/protocol/http/Response.java,
8091 gnu/java/net/protocol/http/ResponseBodyReader.java,
8092 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
8093 gnu/java/net/protocol/http/SimpleCookieManager.java,
8094 gnu/java/net/protocol/http/event/ConnectionEvent.java,
8095 gnu/java/net/protocol/http/event/ConnectionListener.java,
8096 gnu/java/net/protocol/http/event/RequestEvent.java,
8097 gnu/java/net/protocol/http/event/RequestListener.java: New files.
8098 * gnu/java/net/protocol/http/Connection.java: Removed.
8099 * gnu/java/net/protocol/http/Handler.java,
8100 javax/net/ssl/HttpsURLConnection.java: Updated.
8101 * Makefile.am: Added new files and remove old ones.
8102 * Makefile.in: Regenerated.
8104 2005-01-11 Tom Tromey <tromey@redhat.com>
8107 * java/io/BufferedInputStream.java (read): Repeatedly read to
8109 (refill): Change test to see if buffer must be grown.
8111 2005-01-10 Tom Tromey <tromey@redhat.com>
8113 * mauve-libgcj: Exclude some swing tests.
8115 2005-01-10 Tom Tromey <tromey@redhat.com>
8117 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
8118 * java/lang/Package.java (getPackages): Use VMClassLoader when
8120 (getPackage): Likewise.
8121 * prims.cc (_Jv_CreateJavaVM): Call
8122 _Jv_RegisterBootstrapPackages.
8123 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
8124 * java/lang/VMClassLoader.java (getPackage): Rewrote.
8125 (getPackages): Likewise.
8126 (definedPackages): New field.
8127 (definePackageForNative): New method.
8128 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
8129 * java/lang/natVMClassLoader.cc (loadClass): Updated.
8130 * defineclass.cc (handleClassBegin): Use
8131 ClassLoader.findLoadedClass.
8132 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
8134 (struct _Jv_LoaderInfo): Removed.
8135 (initiated_classes): Likewise.
8136 (_Jv_UnregisterClass): Don't use initiated_classes.
8137 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
8138 (_Jv_FindClass): Register classes found during boostrap.
8139 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
8140 (bootstrap_class_list): New global.
8141 (bootstrap_index): Likewise.
8142 (_Jv_RegisterBootstrapPackages): New function.
8143 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
8144 definePackageForNative.
8145 (findClass): Updated.
8146 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
8149 2005-01-10 Tom Tromey <tromey@redhat.com>
8152 * include/jvm.h (_Jv_Linker::find_field): Declare.
8153 (_Jv_Linker::find_field_helper): Likewise.
8154 * link.cc (find_field_helper): New method.
8155 (find_field): Likewise.
8156 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
8158 (link_symbol_table): Use find_field.
8160 2005-01-10 Michael Koch <konqueror@gmx.de>
8163 * java/util/Locale.java (Locale): Don't uppercase variant.
8164 (getISOCountries): Fixed typo in javadoc.
8166 2005-01-10 Michael Koch <konqueror@gmx.de>
8168 * java/util/SimpleTimeZone.java (checkRule):
8169 Throw IllegalArgumentException on invalid month values.
8170 * java/util/TimeZone.java (setID):
8171 Throw NullPointerException if needed.
8173 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
8175 * java/util/SimpleTimeZone.java (getOffset):
8176 offset end date with daylight savings
8178 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
8180 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
8181 * testsuite/libjava.compile/PR19277.xfail: Likewise.
8183 2005-01-09 Michael Koch <konqueror@gmx.de>
8186 * java/net/InetAddress.java (getLocalHost):
8187 Throw UnknownHostException if local hostname cannot be determined.
8189 2005-01-06 Tom Tromey <tromey@redhat.com>
8191 * java/lang/ClassLoader.java (findClass): Fixed documentation.
8193 2005-01-07 Michael Koch <konqueror@gmx.de>
8196 * java/nio/Buffer.java (address): New field.
8197 * java/nio/DirectByteBufferImpl.java (address): Removed.
8198 * java/nio/MappedByteBufferImpl.java (address): Likewise.
8199 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
8200 Explicitly initialize Buffer.address if needed.
8201 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
8202 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
8203 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
8204 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
8205 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
8206 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
8207 DirectByteBufferImpl object.
8208 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
8209 * testsuite/libjava.jni/directbuffer.c,
8210 testsuite/libjava.jni/directbuffer.java,
8211 testsuite/libjava.jni/directbuffer.out,
8212 testsuite/libjava.jni/bytebuffer.c,
8213 testsuite/libjava.jni/bytebuffer.java,
8214 testsuite/libjava.jni/bytebuffer.out: New files.
8216 2005-01-05 Tom Tromey <tromey@redhat.com>
8218 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
8220 (compressedSize): Now 'long'. Default to -1.
8221 (getCompressedSize): Rewrote.
8222 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
8223 deflate at all if we need input.
8225 2005-01-05 Tom Tromey <tromey@redhat.com>
8228 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
8231 2005-01-05 Tom Tromey <tromey@redhat.com>
8233 * java/lang/natRuntime.cc (insertSystemProperties): Set
8234 java.ext.dirs earlier.
8236 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
8238 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
8239 sync_info element of the object if needed.
8241 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
8243 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
8244 a non-zero exit status from 'false'.
8246 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
8248 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.