1 2005-07-18 Tom Tromey <tromey@redhat.com>
3 * Makefile.in: Rebuilt.
4 * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
6 2005-07-17 Andreas Jaeger <aj@suse.de>
8 * defineclass.cc (handleClassBegin): Remove unused variable.
10 2005-07-16 Andreas Schwab <schwab@suse.de>
12 * scripts/makemake.tcl (emit_package_rule): Emit command to create
14 * Makefile.am (%.lo): Don't create it here.
15 * sources.am, Makefile.in: Regenerated.
17 2005-07-15 Tom Tromey <tromey@redhat.com>
19 Major merge with Classpath.
20 Removed many duplicate files.
22 * classpath: Imported new directory.
23 * standard.omit: New file.
24 * Makefile.in, aclocal.m4, configure: Rebuilt.
25 * sources.am: New file.
26 * configure.ac: Run Classpath configure script. Moved code around
27 to support. Disable xlib AWT peers (temporarily).
28 * Makefile.am (SUBDIRS): Added 'classpath'
30 (AM_CPPFLAGS): Added more -I options.
31 (BOOTCLASSPATH): Simplified.
32 Completely redid how sources are built.
34 * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
35 * include/jni.h: Removed (in Classpath).
36 * scripts/classes.pl: Updated to look at built classes.
37 * scripts/makemake.tcl: New file.
38 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
40 (gcj_jni_invocation_compile_c_to_binary): Likewise.
42 2005-07-15 Scott Gilbertson <scottg@mantatest.com>
44 * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
45 (eventMask): New field.
46 (XCanvasPeer(Component)): Use attributes field.
47 (setBackground): Implemented.
48 (setEventMask): Process mask only if changed.
49 * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
50 (eventLoopThread): New field.
51 (XEventLoop(Display,EventQueue)): Start eventLoopThread.
54 * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
56 * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
58 (configureNotify): Set and clear processingConfigureNotify.
59 (setBounds): Process only if processingConfigureNotify is false.
60 (toBack): Implemented.
61 (toFront): Implemented.
62 * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
63 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
65 * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
66 (wakeNativeQueue): Do nothing.
67 (iterateNativeQueue): Do queue.wait if blocking.
68 * gnu/gcj/xlib/Font.java (loadFont): New method.
69 (loadFontImpl): Renamed native method, was loadFont.
70 * gnu/gcj/xlib/Window.java (toFront): New method.
72 * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was
74 * gnu/gcj/xlib/natWindow.cc (toBack): New method.
75 (toFront): New method.
76 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
78 2005-07-14 Andrew Haley <aph@redhat.com>
80 * gnu/java/net/protocol/file/Connection.java (unquote): New
82 (connect): Unquote filename.
83 gnu/java/net/protocol/jar/Connection.java (getInputStream):
85 (getJarFile): Likewise.
87 * java/net/URLConnection.java (getContentHandler): Guard cast with
90 * java/net/URL.java (URL): If the file part of a spec is absolute,
91 ignore the file part of its context.
93 2005-07-14 Aaron Luchko <aluchko@redhat.com>
95 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
96 Implemented VirtualMachine Command Set.
98 2005-07-14 Tom Tromey <tromey@redhat.com>
100 * java/lang/Class.java (getProtectionDomain): Merged javadoc from
103 2005-07-12 Aaron Luchko <aluchko@redhat.com>
105 * gnu/classpath/jdwp/processor/FieldCommandSet.java:
106 Implemented the Field CommandSet.
107 * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
108 Implemented the InterfaceType CommandSet.
110 2005-07-12 Aaron Luchko <aluchko@redhat.com>
112 * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
113 shutdown to jdwp instead of connection.
115 2005-07-12 Aaron Luchko <aluchko@redhat.com>
117 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
120 2005-07-08 Colin Walters <walters@verbum.org>
122 * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
123 check for abstract classes or interfaces here; JVM spec
124 says it should throw an exception, so we'll do so later.
125 * interpret.cc (run): Throw an InstantiationException for
126 abstract classes and interfaces.
128 2005-07-08 Andrew Haley <aph@redhat.com>
130 * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
131 (regular, non-realtime scheduling), not SCHED_RR (realtime,
134 2005-07-07 Aaron Luchko <aluchko@redhat.com>
136 * gnu/classpath/jdwp/util/Signature.java
137 (computeFieldSignature): New Method.
139 2005-07-07 Aaron Luchko <aluchko@redhat.com>
141 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
144 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
146 * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
147 6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
149 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
151 * testsuite/libjava.compile/PR21045.java: New test.
152 * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
153 15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
155 2005-07-06 Tom Tromey <tromey@redhat.com>
157 * java/io/InputStreamReader.java (refill): Handle no-progress
159 * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
161 2005-07-06 Tom Tromey <tromey@redhat.com>
163 * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
165 2005-07-05 Bryce McKinlay <mckinlay@redhat.com>
167 * testsuite/libjava.compile/PR19674.java: New test.
169 2005-07-05 Aaron Luchko <aluchko@redhat.com>
171 * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
174 2005-07-04 Aaron Luchko <aluchko@redhat.com>
176 * gnu/classpath/jdwp/processor/CommandSet.java: New file.
177 * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
178 CommandSets to handle JdwpCommandPackets.
179 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
182 2005-07-01 Tom Tromey <tromey@redhat.com>
184 * libtool-version: Updated.
186 2005-06-30 Aaron Luchko <aluchko@redhat.com>
188 * gnu/classpath/jdwp/util/JdwpString.java: New file.
190 2005-06-30 Keith Seitz <keiths@redhat.com>
192 * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
193 (myWrite): New abstract method.
196 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
198 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
200 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
201 JdwpPacket.write instead of JdwpPacket.toBytes.
203 2005-06-30 Keith Seitz <keiths@redhat.com>
205 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
207 (_bytes): New member.
208 (_doStream): New member.
209 (JdwpConnection): Initialize new members.
211 2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
213 * all files: Update for new FSF address.
215 2005-06-29 Tom Tromey <tromey@redhat.com>
218 * testsuite/libjava.lang/pr22211.java: New file.
219 * java/lang/natThread.cc (finish_): Synchronize when updating
221 (_Jv_AttachCurrentThread): Likewise.
222 (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
223 * java/lang/Thread.java (isAlive): Now synchronized.
225 2005-06-29 Tom Tromey <tromey@redhat.com>
227 * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
230 2005-06-28 Robin Green <greenrd@greenrd.org>
233 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
236 2005-06-27 Tom Tromey <tromey@redhat.com>
238 PR java/21540, PR java/13788:
239 * testsuite/libjava.compile/pr21540.java: New file.
240 * testsuite/libjava.compile/pr13788.java: New file.
241 * testsuite/libjava.jacks/jacks.xfail: Updated.
243 2005-06-26 Andreas Tobler <a.tobler@schweiz.ch>
245 * testsuite/libjava.mauve/xfails: Updated to reflect current state
246 of mauve and libjava.
248 2005-06-24 Tom Tromey <tromey@redhat.com>
250 * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
251 where class' name is NULL.
252 (_Jv_FindClass): Don't wait for class state.
253 * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
255 * include/java-interp.h (_Jv_DefineClass): Updated.
256 * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
257 (struct _Jv_ClassReader): Likewise.
258 (found_name): New field.
259 (handleClassBegin): Set *found_name.
260 (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
261 (handleClassBegin): Throw error if super class not set.
262 (read_methods): Correctly call check_tag and prepare_pool_entry.
264 2005-06-24 Tom Tromey <tromey@redhat.com>
266 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
268 2005-06-24 Tom Tromey <tromey@redhat.com>
270 * verify.cc (verify_instructions_0): Correctly handle situation
271 where PC falls off end.
273 2005-06-24 Tom Tromey <tromey@redhat.com>
275 * interpret.cc (compile): Handle case where table entry is
278 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
280 * testsuite/libjava.compile/PR20697.java: New test-case.
282 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
284 * Makefile.am (SUBDIRS): Use append for conditional.
285 (toolexeclib_LTLIBRARIES): Likewise.
286 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
287 a conditional append.
288 * Makefile.in: Regenerate.
290 2005-06-17 Keith Seitz <keiths@redhat.com>
292 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
293 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
294 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
296 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
297 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
299 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
300 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
301 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
302 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
304 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
305 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
307 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
309 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
310 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
311 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
312 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
313 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
314 * Makefile.in: Regenerate.
316 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
318 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
319 (USING_POSIX_PLATFORM): ... here.
320 * Makefile.am: Delete USING_ECOS_PLATFORM.
321 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
322 external/Makefile.in, external/sax/Makefile.in,
323 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
325 2005-06-15 Tom Tromey <tromey@redhat.com>
328 * testsuite/libjava.lang/pr17536.java: New file.
329 * testsuite/libjava.lang/pr17536.out: New file.
331 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
334 * gnu/java/net/protocol/http/HTTPURLConnection.java
335 (getHeaderFieldKey): Check index.
337 2005-06-15 Tom Tromey <tromey@redhat.com>
340 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
342 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
343 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
345 (append_partial_itable): Use it.
346 (set_vtable_entries): Likewise.
348 2005-06-15 Tom Tromey <tromey@redhat.com>
350 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
351 last_was_sep in loop.
353 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
355 * configure.host: Handle Solaris 10/x86.
357 2005-06-14 Keith Seitz <keiths@redhat.com>
359 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
360 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
362 2005-06-14 Keith Seitz <keiths@redhat.com>
364 * gnu/classpath/jdwp/id/ArrayId.java: New file.
365 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
366 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
367 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
368 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
369 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
370 * gnu/classpath/jdwp/id/JdwpId.java: New file.
371 * gnu/classpath/jdwp/id/ObjectId.java: New file.
372 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
373 * gnu/classpath/jdwp/id/StringId.java: New file.
374 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
375 * gnu/classpath/jdwp/id/ThreadId.java: New file.
377 2005-06-14 Tom Tromey <tromey@redhat.com>
380 * configure, aclocal.m4, Makefile.in: Rebuilt.
382 2005-06-14 Tom Tromey <tromey@redhat.com>
384 * java/lang/Class.java (getClasses): New method.
385 (internalGetClasses): Likewise.
386 (getClassLoader): Updated documentation.
387 (getDeclaredClasses): New overload; old overload no longer
389 (_getConstructors): Removed.
390 (resourcePath): Updated.
391 * java/lang/natClass.cc (getClasses): Removed.
392 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
394 (_getConstructors): Removed.
396 2005-06-13 Jim Huang <jserv@kaffe.org>
399 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
400 (_Jv_JNI_NewObject): Likewise.
402 2005-06-13 Tom Tromey <tromey@redhat.com>
405 * testsuite/libjava.lang/pr21844.java: New file.
406 * testsuite/libjava.lang/pr21844.out: New file.
408 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
411 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
414 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
416 * java/text/MessageFormat.java (parse): When parsing strings, check
417 for an empty pattern trailer.
419 2005-06-06 Keith Seitz <keiths@redhat.com>
421 * gnu/classpath/jdwp/util/Signature.java: New file.
422 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
424 2005-06-05 Anthony Green <green@redhat.com>
426 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
429 2005-06-04 Anthony Green <green@redhat.com>
431 * java/net/URLClassLoader.java: import gnu.gcj.Core,
432 and gnu.java.net.protocol.core.CoreInputStream.
433 (CureURLLoader): New class.
434 (CoreResource): New class.
435 (addURLImpl): Add special treatment for the "core" protocol.
436 * gnu/gcj/natCore.cc (find): New method.
437 * gnu/gcj/Core.java (find): New method.
439 2005-06-03 Keith Seitz <keiths@redhat.com>
441 * gnu/classpath/jdwp/transport/ITransport.java: New file.
442 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
443 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
445 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
447 * jawt.c: Remove malloc.h, covered by stdlib.h.
449 * testsuite/libjava.jni/jni.exp
450 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
453 2005-06-02 Keith Seitz <keiths@redhat.com>
455 * gnu/classpath/jdwp/transport/TransportException.java: New file.
457 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
459 * mauve-libgcj: Remove implemented classes from the fail section.
460 Add two new not implemented to it.
462 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
464 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
465 AC_SUBST definition from configure.host.
466 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
467 to -fomit-frame-pointer on 32-bit x86 targets.
469 2005-06-01 Tom Tromey <tromey@redhat.com>
471 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
473 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
476 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
477 (static): Add possessive matching to JAVA_1_4 syntax.
478 * gnu/regexp/RETokenRepeated.java (possessive): New field.
479 (makePossessive, isPossessive): New methods.
480 (match): Don't back off during possessive matching.
481 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
482 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
485 2005-06-01 Keith Seitz <keiths@redhat.com>
487 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
488 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
489 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
491 2005-06-01 Tom Tromey <tromey@redhat.com>
494 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
495 (currentLoader): New method.
496 * java/io/ObjectInputStream.java (resolveProxyClass): Use
498 (currentLoader): Now native.
499 (currentClassLoader): Removed.
500 * testsuite/libjava.lang/pr21785.java: New file.
501 * testsuite/libjava.lang/pr21785.out: New file.
503 2005-06-01 Tom Tromey <tromey@redhat.com>
506 * java/lang/natString.cc (substring): Changed sharing heuristic.
508 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
511 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
512 MAXPATHLEN. Format exception message using a StringBuffer instead.
514 2005-05-29 Michael Koch <konqueror@gmx.de>
517 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
519 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
521 * ChangeLog: Fix typo.
523 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
525 Testsuite adjustments for PR java/19870.
526 * testsuite/libjava.lang/PR19870.java: New testcase.
527 * testsuite/libjava.lang/PR19870.out: Expected output for the
529 * testsuite/libjava.jacks/jacks.xfail: Add
530 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
533 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
535 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
536 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
537 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
539 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
540 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
541 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
542 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
544 2005-05-25 Richard Henderson <rth@redhat.com>
547 * sysdep/descriptor-n.h: New file.
548 * sysdep/descriptor-y.h: New file.
549 * sysdep/powerpc/descriptor.h: New file.
550 * configure.host: Set $descriptor_h appropriate for the host.
551 * configure.ac: Link it.
552 * configure: Regenerate.
553 * stacktrace.cc: Include sysdep/descriptor.h.
554 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
556 2005-05-25 Chris Burdess <dog@gnu.org>
558 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
559 end entity callbacks.
561 2005-05-24 Gary Benson <gbenson@redhat.com>
564 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
565 Handle DateFormat.DEFAULT case correctly.
567 2005-05-21 Tom Tromey <tromey@redhat.com>
570 * java/lang/ref/natReference.cc (find_slot): Handle case where
571 table has no NULL entries.
572 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
573 table has no NULL entries.
575 2005-05-22 Andreas Jaeger <aj@suse.de>
577 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
580 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
582 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
584 2005-05-19 Richard Henderson <rth@redhat.com>
586 * exception.cc: Revert 05-17 gcc_unreachable change.
588 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
590 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
591 _Jv_RegisterInitiatingLoader to register array classes, not
593 (_Jv_RegisterInitiatingLoader): Give up if called very early during
594 bootstrapping. Add a FIXME to handle this case better.
596 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
598 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
600 (libgcj_la_SOURCES): New. Move sources here.
601 (libgcj.la): Remove rule.
603 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
606 * gnu/java/security/provider/DSASignature.java: Import updates
609 2005-05-18 Anthony Green <green@redhat.com>
611 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
612 classpath_jawt_object_unlock, classpath_jawt_create_lock,
613 classpath_jawt_destroy_lock): New functions.
614 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
615 classpath_jawt_object_unlock, classpath_jawt_create_lock,
616 classpath_jawt_destroy_lock): New functions.
617 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
619 * jawt.c: #include malloc.h.
620 (_Jv_Lock): Use lock.
622 (_Jv_GetDrawingSurface): Initialize lock.
623 (_Jv_FreeDrawingSurface): Destroy lock.
624 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
626 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
628 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
629 * Makefile.in: Regenerate.
631 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
633 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
634 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
635 * aclocal.m4, configure, config.h.in, include/config.h.in,
636 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
637 external/Makefile.in, external/sax/Makefile.in,
638 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
640 2005-05-17 David Daney <ddaney@avtrex.com>
643 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
645 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
647 * exception.cc (abort): Remove std::abort hack.
648 (gcc_unreacheable): Define.
650 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
652 * Makefile.am (Makefile.deps): Do not create native.list and
654 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
655 * Makefile.in: Regenerate.
657 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
659 * configure.ac (--enable-libgcj-multifile): Remove.
661 * Makefile.am (all_native_compiled_source_files,
662 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
663 all_libgcj_lo_files, all_xlib_lo_files,
664 all_java_deps_files, all_java_stamp_files,
665 all_java_filelist_files): New variables.
666 (EXTRA_DIST): New Automake variable.
667 (CLEANFILES): Add .stamp, .list and .lo files.
668 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
669 (classes.stamp): Depend on $(all_java_stamp_files).
670 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
671 going through write_entries_to_file.
673 (all_java_source_files, all_property_files): Move earlier.
674 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
675 all_java_class_files): Remove.
676 (gtk_awt_peer_sources): Rename to...
677 (gtk_awt_peer_source_files): ... this. Adjust throughout.
680 (libgcj0_convenience_la_SOURCES): Remove Java source files.
681 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
682 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
683 (libgcj_la_SOURCES): Remove.
684 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
685 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
686 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
688 * configure: Regenerate.
689 * Makefile.in: Regenerate.
690 * external/Makefile.in: Regenerate.
691 * external/sax/Makefile.in: Regenerate.
692 * external/w3c_dom/Makefile.in: Regenerate.
693 * gcj/Makefile.in: Regenerate.
694 * include/Makefile.in: Regenerate.
695 * libltdl/Makefile.in: Regenerate.
696 * testsuite/Makefile.in: Regenerate.
698 2005-05-16 Tom Tromey <tromey@redhat.com>
700 * java/nio/charset/Charset.java (encode, decode): Synchronize on
701 'this', not the class.
703 2005-05-16 Tom Tromey <tromey@redhat.com>
705 * gnu/java/net/protocol/http/Headers.java (parse): Include final
708 2005-05-16 Tom Tromey <tromey@redhat.com>
711 * java/net/URI.java (unquote): Handle lower-case letters as well.
713 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
716 * gnu/regexp/RE.java: Add support for quoting constructs.
718 2005-05-15 Tom Tromey <tromey@redhat.com>
720 * java/lang/String.java (startsWith): Fixed javadoc.
722 2005-05-15 Tom Tromey <tromey@redhat.com>
725 * testsuite/libjava.compile/pr21519.java: New file.
726 * testsuite/libjava.compile/pr21519.no-link: New file.
728 2005-05-15 Tom Tromey <tromey@redhat.com>
730 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
732 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
735 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
736 interrupt status flag if _Jv_CondWait is interrupted.
738 2005-05-13 Tom Tromey <tromey@redhat.com>
740 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
743 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
745 * include/jvm.h (gcj::verifyClasses): Declare.
746 * link.cc (gcj::verbose_class_flag): Moved.
747 * prims.cc (gcj::verifyClasses): Define here.
748 (gcj::verbose_class_flag): Move definition here.
749 (_Jv_Linker::wait_for_state): Don't call verify_class
750 if gcj::verifyClasses is not set.
751 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
753 2005-05-12 Aaron Luchko <aluchko@redhat.com>
755 * gij.cc (main): Recognize '-verify', '-noverify', and
758 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
760 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
762 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
764 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
767 2005-05-11 Tom Tromey <tromey@redhat.com>
769 * external/w3c_dom/Makefile.in: Rebuilt.
770 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
772 * external/sax/Makefile.in: Rebuilt.
773 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
775 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
777 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
778 Call _Jv_CopyClassesToSystemLoader.
779 * java/lang/natClassLoader.cc (system_class_list): New global.
780 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
782 (_Jv_CopyClassesToSystemLoader): New function.
783 (SYSTEM_LOADER_INITIALIZED): New define.
784 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
785 (_Jv_CheckABIVersion): Use it.
786 (_Jv_ClassForBootstrapLoader): New function.
787 * Makefile.in: Rebuilt.
788 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
790 2005-05-10 Tom Tromey <tromey@redhat.com>
792 * gcj/javaprims.h: Updated.
793 * java/lang/String.java (String(StringBuilder)): New constructor.
794 * java/lang/natStringBuilder.cc: New file.
795 * java/lang/StringBuilder.java: New file.
796 * Makefile.in: Rebuilt.
797 * Makefile.am (core_java_source_files): Added StringBuilder.java.
798 (nat_source_files): Added natStringBuilder.cc.
800 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
803 * testsuite/libjava.jacks/jacks.xfail: Adjust.
805 2005-05-09 Mike Stump <mrs@apple.com>
807 * configure: Regenerate.
809 2005-05-09 David Daney <ddaney@avtrex.com>
811 * java/util/BitSet.java (get(int, int)): Fix breakage when
812 requested set doesn't start on a multiple of 64.
814 2005-05-07 Matthias Klose <doko@debian.org>
816 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
818 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
820 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
821 * Makefile.in: Regenerate.
822 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
823 (createCompatibleVolatileImage(int,int)): Implement.
824 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
826 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
828 (createVolatileImage): Implement.
829 (createBuffers): Likewise.
830 (getBackBuffer): Likewise.
832 (destroyBuffers): Likewise.
833 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
834 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
835 (CanvasFlipBufferStrategy): Likewise.
836 (createBufferStrategy(int)): New method.
837 (createBufferStrategy(int,BufferCapabilities)): Likewise.
838 * java/awt/Component.java (BltBufferStrategy): Implement and
840 (FlipBufferStrategy): Likewise.
841 * java/awt/Window.java (WindowBltBufferStrategy): New class.
842 (WindowFlipBufferStrategy): Likewise.
843 (createBufferStrategy(int)): New method.
844 (createBufferStrategy(int,BufferCapabilities)): Likewise.
845 (getBufferStrategy): Likewise.
846 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
847 front to frontCaps and back to backCaps.
849 2005-05-06 Michael Koch <konqueror@gmx.de>
851 * java/awt/BufferCapabilities.java
852 (BufferCapabilities): Merged javadoc.
854 2005-05-06 Michael Koch <konqueror@gmx.de>
856 * java/util/Locale.java
857 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
858 (getLocale): New methods. Use it everywhere where instances of Locales
860 (getDisplayLanguage): Merged javadoc.
861 (getDisplayCountry): Likewise.
862 (getDisplayVariant): Likewise.
864 2005-05-06 Archie Cobbs <archie@dellroad.org>
866 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
867 use DeleteLocalRef() to avoid exhausting local native references.
869 2005-05-06 Mark Wielaard <mark@klomp.org>
871 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
872 (window_delete_cb): Don't use C++ style comments.
874 2005-05-06 Robert Schuster <thebohemian@gmx.net>
876 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
879 2005-05-06 Robert Schuster <thebohemian@gmx.net>
881 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
882 (window_delete_cb): Made the function return TRUE.
884 2005-05-06 Roman Kennke <roman@kennke.org>
886 * javax/swing/text/PlainView.java
887 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
889 * javax/swing/text/Utilities.java
890 (drawTabbedText): Initilialize local variable pos correctly.
892 2005-05-06 Roman Kennke <roman@kennke.org>
894 * javax/swing/text/AbstractDocument.java
895 (LeafElement): Made start and end package private fields for
896 effective reindexing.
897 * javax/swing/text/PlainDocument.java
898 (constructor): The field rootElement is always BranchElement,
899 so we handle it as such.
900 (removeUpdate): Rewritten reindexing for removeUpdate so that
901 the actual removal is taken into account.
903 2005-05-06 Roman Kennke <roman@kennke.org>
905 * javax/swing/text/GapContent.java:
906 Removed debugging output stuff, which I accidentally left in.
908 2005-05-06 Roman Kennke <roman@kennke.org>
910 * javax/swing/text/GapContent.java:
911 Implemented a real GapContent. Only the public methods have
912 been implemented so far and still no UndoableEdit support.
914 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
916 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
919 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
921 * java/awt/image/BufferStrategy.java: Document.
923 * java/awt/BufferCapabilities.java: Document.
925 2005-05-04 Tom Tromey <tromey@redhat.com>
927 * java/nio/channels/FileLock.java (toString): Entirely avoid
930 2005-05-04 Andrew Overholt <overholt@redhat.com>
932 * java/nio/channels/FileLock.java (toString): Re-implement using
935 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
937 * java/awt/ImageCapabilities.java: Document.
939 * java/awt/image/VolatileImage.java: Unindent copyright header.
941 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
943 * java/awt/image/VolatileImage.java: Document.
945 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
947 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
948 (init_glib_threads): Check if threading system is already
951 2005-05-03 Andrew Overholt <overholt@redhat.com>
954 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
955 could not be acquired.
956 * java/nio/channels/FileLock.java (toString): Re-implement to be
957 in line with other implementations.
959 2005-05-03 Tom Tromey <tromey@redhat.com>
961 * java/lang/VMSecurityManager.java (currentClassLoader): Use
962 'systemClasssLoader' directly.
964 2005-05-03 Tom Tromey <tromey@redhat.com>
966 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
967 call VMClassLoader.getSystemClassLoader.
969 2005-04-29 Michael Koch <konqueror@gmx.de>
971 * java/net/NetworkInterface.java
973 (NetworkInterface(String,InetAddress)): Made package-private.
974 (NetworkInterface(String,InetAddress[])): New constructor.
975 (getRealNetworkInterfaces): Removed.
976 (getByName): Use VMNetworkInterface.getInterfaces().
977 (getByInetAddress): Likewise.
978 (getNetworkInterfaces): Likewise.
979 * java/net/VMNetworkInterface.java,
980 java/net/natVMNetworkInterfaceNoNet.cc,
981 java/net/natVMNetworkInterfacePosix.c,c
982 java/net/natVMNetworkInterfaceWin32.cc: New files.
983 * java/net/natNetworkInterfaceNoNet.cc,
984 java/net/natNetworkInterfacePosix.cc,
985 java/net/natNetworkInterfaceWin32.cc: Removed.
988 * configure, Makefile.in: Regenerated.
990 2005-04-29 Andrew Haley <aph@redhat.com>
992 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
994 2005-04-29 Dalibor Topic <robilad@kaffe.org>
996 * java/nio/channels/FileChannelImpl.java
997 (FileChannelImpl(String, int)): Removed.
998 (FileChannelImpl(File, int)): Added. Check if opened file is a
1000 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
1001 Call FileChannelImpl(File, int).
1002 * java/io/FileOutputStream.java (FileInputStream): Call
1003 FileChannelImpl(File, int).
1004 * java/io/RandomAccessFile.java (RandomAccessFile):
1005 Call FileChannelImpl(File, int). Switched constructors around.
1007 2005-04-27 Andrew Haley <aph@redhat.com>
1010 * prims.cc (_Jv_ResolvePoolEntry): New function.
1011 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
1012 * link.cc (_Jv_Linker::find_field): New arg: found_class.
1013 (resolve_pool_entry): Initialize the class in which a field is
1015 (link_symbol_table): Pass new arg to found_class.
1017 2005-04-29 Michael Koch <konqueror@gmx.de>
1019 * java/nio/charset/Charset.java
1020 (provider): Reformatted.
1022 2005-04-29 Michael Koch <konqueror@gmx.de>
1024 * gnu/java/net/protocol/http/HTTPConnection.java:
1025 (userAgent): Initialize from system properties.
1026 (initUserAgent): Removed.
1028 2005-04-29 Mark Wielaard <mark@klomp.org>
1030 * java/util/ResourceBundle.java (getObject): Clarify
1031 MissingResourceException detailed message.
1032 (tryBundle(String,ClassLoader)): Likewise.
1034 2005-04-29 Robert Schuster <thebohemian@gmx.net>
1036 * java/beans/FeatureDescriptor.java:
1037 (getShortDescription): Implemented fallback mechanism and fixed
1038 documentation (fixes bug #12637).
1039 (getDisplayName): Dito.
1041 2005-04-29 Robert Schuster <thebohemian@gmx.net>
1043 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
1044 will now be set correctly.
1045 (flushCaches): Now flushes all cached intermediate data.
1047 2005-04-28 Michael Koch <konqueror@gmx.de>
1049 * java/net/InetAddress.java
1050 (aton): Fixed javadoc.
1053 2005-04-28 Tom Tromey <tromey@redhat.com>
1055 * javax/swing/Timer.java
1056 (drainEvents, queueEvent): Now package-private.
1058 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
1060 * javax/swing/Timer.java
1061 (constructor): Assigning initialDelay.
1063 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
1065 * javax/swing/Timer.java
1066 (Waker.run): firing the first action event.
1068 2005-04-28 Michael Koch <konqueror@gmx.de>
1070 * javax/swing/Timer.java: Reordered all fields and methods,
1071 Added more javadocs.
1073 2005-04-28 Michael Koch <konqueror@gmx.de>
1075 * javax/swing/Timer.java: Javadocs merged
1078 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
1080 * gnu/java/net/protocol/file/Connection.java
1081 (StaticData): New inner class to contain statics.
1082 (connect, getHeaderField): Modified to use StaticData.
1084 2005-04-28 Michael Koch <konqueror@gmx.de>
1086 * gnu/java/net/protocol/file/Connection.java
1087 (lineSeparator): Initialize with SystemProperties.getProperty().
1089 2005-04-27 Chris Burdess <dog@gnu.org>
1091 * gnu/java/net/protocol/file/Connection.java: Return correct content
1092 length for directory listing.
1093 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
1094 #11285: return valid URLs for directories.i
1096 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
1098 * Makefile.am (ordinary_java_source_files): Add
1099 gnu/java/net/protocol/https/Handler.java.
1100 * Makefile.in: Regenerate.
1101 * java/net/URL.java: Remove org.metastatic.jessie from default
1102 protocol search path.
1104 2005-04-27 Chris Burdess <dog@gnu.org>
1106 * gnu/java/net/protocol/https/Handler.java: New file.
1108 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
1110 * javax/imageio/spi/IIORegistry.java (IIORegistry):
1111 Don't assume that awt Toolkit is always ClasspathToolkit.
1113 2005-04-27 Chris Burdess <dog@gnu.org>
1115 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
1116 absolute and relative paths in Location header.
1118 2005-04-27 Chris Burdess <dog@gnu.org>
1120 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
1121 FileNotFoundException and implement getErrorStream on 404.
1123 2005-04-27 Sven de Marothy <sven@physto.se>
1125 * java/util/TimeZone.java,
1126 (getDefaultDisplayName): Fix previous fix.
1128 2005-04-27 Sven de Marothy <sven@physto.se>
1130 * java/util/TimeZone.java,
1131 (getDefaultDisplayName): Don't print zero offsets.
1133 2005-04-27 Roman Kennke <roman@kennke.org>
1135 * javax/swing/plaf/basic/BasicScrollBarUI
1136 (getThumbBounds): Do not make thumb smaller than
1138 * javax/swing/plaf/metal/MetalLookAndFeel
1139 (initComponentDefaults): Added color defaults for ScrollBar.
1140 * javax/swing/plaf/metal/MetalScrollBarUI
1141 (paintThumb): Added.
1142 (getMinimumThumbSize): Added.
1144 2005-04-27 Roman Kennke <roman@kennke.org>
1146 * javax/swing/plaf/metal/MetalLookAndFeel
1147 (initComponentDefaults): Added some default colors.
1149 2005-04-27 Roman Kennke <roman@kennke.org>
1151 * javax/swing/plaf/basic/BasicScrollBarUI.java
1152 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
1153 to 'ScrollBar.thumbShadow'. The formes does not exist.
1154 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
1156 2005-04-27 Roman Kennke <roman@kennke.org>
1158 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
1159 * javax/swing/BoxLayout.java: Likewise.
1160 * javax/swing/UIManager.java: Likewise.
1161 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1162 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
1163 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1164 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
1165 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
1166 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
1167 * javax/swing/text/Document.java: Likewise.
1168 * javax/swing/text/GapContent.java: Likewise.
1169 * javax/swing/text/SimpleAttributeSet.java: Likewise.
1170 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
1172 2005-04-27 Roman Kennke <roman@kennke.org>
1174 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1175 (getPropertyPrefix): Added.
1177 2005-04-27 Roman Kennke <roman@kennke.org>
1179 * javax/swing/plaf/basic/BasicButtonUI.java
1180 (getPropertyPrefix): Added.
1181 (installDefaults): Use getPropertyPrefix instead of hard-coded
1184 2005-04-27 Roman Kennke <roman@kennke.org>
1186 * javax/swing/JToggleButton.java
1187 (JToggleButton): Removed horizontalAlignment setting, this
1188 was wrong. Added setting of an actionCommand, ToggleButtons
1189 have "" as default actionCommand.
1191 2005-04-27 Michael Koch <konqueror@gmx.de>
1193 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
1194 to work around CNI limitation.
1196 2005-04-27 Sven de Marothy <sven@physto.se>
1198 * java/nio/charset/Charset.java:
1199 (defaultCharset()): New method.
1200 Status updated to 1.5
1202 2005-04-27 Sven de Marothy <sven@physto.se>
1204 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
1206 2005-04-27 Sven de Marothy <sven@physto.se>
1208 * java/nio/charset/Charset.java: Reset cached de/encoders.
1210 2005-04-27 Robert Schuster <thebohemian@gmx.net>
1212 * java/nio/charset/Charset.java (forName): Throws
1213 IllegalArgumentException when argument is null
1214 and added documentation.
1216 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
1218 * java/nio/charset/Charset.java (providers):
1219 New method to make an array of CharsetProviders defined in
1220 META-INF/services/java.nio.charset.spi.CharsetProvider.
1221 (charsetForName, availableCharsets): Use the
1222 new method providers().
1224 2005-04-26 Michael Koch <konqueror@gmx.de>
1226 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
1227 Fixed typos in javadocs.
1228 (isSiteLocalAddress): Fixed handling of byte values.
1229 (isMCLinkLocal): Likewise.
1230 * java/net/Inet4Address.java
1231 (isMulticastAddress): Call super method.
1232 (isLoopbackAddress): Likewise.
1233 (isAnyLocalAddress): Likewise.
1234 (isLinkLocalAddress): Likewise.
1235 (isSiteLocalAddress): Likewise.
1236 (isMCGlobal): Likewise.
1237 (isMCNodeLocal): Likewise.
1238 (isMCLinkLocal): Likewise.
1239 (isMCSiteLocal): Likewise.
1240 (isMCOrgLocal): Likewise.
1241 (getHostAddress): Likewise.
1243 2005-04-26 Sven de Marothy <sven@physto.se>
1245 * java/net/InetAddress.java
1246 (toString): Don't print empty hostnames.
1248 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
1251 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
1252 'false' to native lock().
1253 (lock): Pass 'true' to native lock().
1255 2005-04-26 Michael Koch <konqueror@gmx.de>
1257 * java/net/InetAddress.java:
1258 Fixed typos in javadocs.
1260 2005-04-26 Andrew Haley <aph@redhat.com>
1263 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1266 2005-04-26 Tom Tromey <tromey@redhat.com>
1268 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1269 gnu): Now package-private.
1270 * javax/swing/text/html/parser/DocumentParser.java (parser,
1271 callBack, gnu): Now package-private.
1272 * javax/swing/text/StringContent.java (content, setOffset,
1273 checkLocation): Now package-private.
1274 * javax/swing/text/JTextComponent.java (doc): Now
1276 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1277 lastGoodOrientation, origParent, borders, cachedBounds,
1278 cachedOrientation, DragWindow): Now package-private.
1279 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1280 decrButton, viewport, panel, currentScrollLocation, layoutManager,
1281 tabAreaRect, contentRect, createIncreaseButton,
1282 createDecreaseButton, findPointForIndex): Now package-private.
1283 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1284 (currentDividerLocation, moveDividerTo): Now package-private.
1285 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1287 * javax/swing/plaf/basic/BasicScrollBarUI.java
1288 (calculatePreferredSize, valueForYPosition, valueForXPosition):
1289 Now package-private.
1290 * javax/swing/plaf/basic/BasicPopupMenuUI.java
1291 (topWindowListener): Now package-private.
1292 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1293 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1294 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1296 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1298 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1299 Now package-private.
1300 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1302 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1303 borderInsets): Now package-private.
1304 (arrowButtonWidth): Likewise. Now a constant.
1305 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1306 makeTabs, updatePreviewPanel): Now package-private.
1307 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1308 darkShadow, highlight): Now package-private.
1309 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1310 (addColorToQueue): Now package-private.
1311 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1312 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1313 GSpinner, BSpinner): Now package-private.
1314 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1315 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1316 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1317 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1318 updateTrack): Now package-private.
1319 * javax/swing/TransferHandler.java (clipboard): Now
1321 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1323 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1325 * javax/swing/RepaintManager.java (globalManager): Now
1327 * javax/swing/JFormattedTextField.java (editValid): Now
1329 * javax/swing/JColorChooser.java (makeModal): Now
1331 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1332 index, path): Now package-private.
1333 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1334 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1335 pointEquals): Now package-private.
1336 * java/awt/geom/Arc2D.java (type): Now package-private.
1337 * java/awt/Window.java (windowFocusOwner): Now package-private.
1338 * java/awt/TextComponent.java (editable, selectionStart,
1339 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1341 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1343 * java/awt/MenuComponent.java (focusListener): Now
1345 * java/awt/Frame.java (state): Now package-private.
1346 * java/awt/Choice.java (pItems): Now package-private.
1347 * java/awt/Checkbox.java (state): Now package-private.
1348 * java/awt/Button.java (actionCommand, label): Now
1350 * gnu/javax/swing/text/html/parser/support/Parser.java
1351 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1353 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1355 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1356 clip, transform, font, comp): Now package-private.
1358 2005-04-26 Tom Tromey <tromey@redhat.com>
1360 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1363 2005-04-26 Mark Wielaard <mark@klomp.org>
1365 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1366 to MalformedURLException.
1368 2005-04-26 Michael Koch <konqueror@gmx.de>
1370 * java/security/AccessControlContext.java:
1372 (protectedDomains): Renamed from 'protectionDomain'.
1373 * java/security/AccessController.java:
1376 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1378 * gnu/java/security/action/GetSecurityPropertyAction.java
1379 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1380 of extending GetPropertyAction.
1383 (setParamters): New methods.
1384 (GetSecurityPropertyAction): Use new setParameters methods.
1386 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1388 * java/security/Security.java,
1389 java/security/cert/X509CRLSelector.java,
1390 java/security/cert/X509CertSelector.java:
1391 Modified to use SystemProperties.
1393 2005-04-26 Michael Koch <konqueror@gmx.de>
1395 * java/lang/System.java
1396 (setSecurityManager): Fixed comment.
1397 (getSecurityManager): Removed obsolete comment.
1399 2005-04-25 Tom Tromey <tromey@redhat.com>
1401 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1403 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1405 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1406 (connectSignals): Realize the window widget after connecting
1409 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1411 * java/awt/GraphicsEnvironment.java
1412 (localGraphicsEnvironment): New field.
1413 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1415 (isHeadless): Added support for java.awt.headless property.
1416 (isHeadlessInstance): Call headless().
1418 2005-04-25 Roman Kennke <roman@kennke.org>
1420 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1421 (getDisplayMode): Added. Returns the current display mode.
1422 (isFullScreenSupported): Added.
1423 * java/awt/GraphicsDevice.java
1424 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1425 This resizes and relocates the fullscreen window so that it uses
1426 the whole screen. This is not a fully accelerated fullscreen
1429 2005-04-25 Michael Koch <konqueror@gmx.de>
1431 * java/lang/Runtime.java,
1432 java/lang/SecurityManager.java,
1433 java/lang/System.java,
1434 java/lang/ThreadGroup.java:
1435 Replaced java.lang.Runtime.securityManager by
1436 java.lang.SecurityManager.current (as used in GNU classpath).
1438 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1440 * java/awt/Transparency.java
1441 (getTransparency): fixed API docs.
1443 2005-04-25 Archie Cobbs <archie@dellroad.org>
1445 * java/lang/Throwable.java: simplify initializing cause in constructor
1447 2005-04-25 Michael Koch <konqueror@gmx.de>
1449 * gnu/classpath/SystemProperties.java: New file.
1450 * gnu/classpath/natSystemProperties.cc: New file.
1451 * java/lang/Runtime.java
1452 (defaultProperties): Removed.
1454 (): Made thrown exceptions more verbose.
1455 (insertSystemProperties): Removed.
1456 * java/lang/System.java
1458 (properties): Likewise.
1459 (setSecurityManager): Reordered modifiers.
1460 (getenv): Improved javadoc.
1462 (isWordsBigEndian): Removed.
1463 * java/lang/natRuntime.cc
1464 (_Jv_SetDLLSearchPath): Likewise.
1465 (file_encoding): Likewise.
1466 (default_file_encoding): Likewise.
1467 (getpwuid_adaptor): Likewise.
1468 (insertSystemProperties): Likewise.
1469 * java/lang/natSystem.cc
1470 (isWordsBigEndian): Likewise.
1472 (ordinary_java_source_files):
1473 Added gnu/classpath/SystemProperties.java.
1474 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1475 * Makefile.in: Regenerated.
1477 2005-04-25 Roman Kennke <roman@kennke.org>
1479 * javax/swing/plaf/basic/BasicScrollBarUI.java
1480 (initDefaults): Initialize thumb*Color fields correctly.
1482 2005-04-25 Roman Kennke <roman@kennke.org>
1484 * javax/swing/text/GapContent.java:
1487 2005-04-25 Roman Kennke <roman@kennke.org>
1489 * javax/swing/plaf/metal/MetalBorders.java:
1490 Added inner class ScrollPaneBorder.
1491 * javax/swing/plaf/metal/MetalLookAndFeel.java
1492 (initComponentDefaults): Added default for "ScrollPane.border"
1493 to use the new ScrollPaneBorder.
1495 2005-04-25 Roman Kennke <roman@kennke.org>
1497 * javax/swing/text/AbstractDocument.java:
1498 Added FIXME comments. This class still has to be
1499 implemented thread-safe.
1501 2005-04-25 Roman Kennke <roman@kennke.org>
1503 * javax/swing/tree/DefaultTreeSelectionModel.java
1504 (DefaultTreeSelectionModel): Initialize listenerList here.
1506 2005-04-25 Roman Kennke <roman@kennke.org>
1508 * javax/swing/plaf/metal/MetalTextFieldUI.java
1509 (createUI): Return one instance per Component instead of a
1512 2005-04-25 Roman Kennke <roman@kennke.org>
1514 * javax/swing/text/Document.java:
1515 Added API documentation comments.
1517 2005-04-25 Roman Kennke <roman@kennke.org>
1519 * javax/swing/text/AbstractDocument.java
1520 (getDocumentProperties): Implemented.
1521 (setDocumentProperties): Implemented.
1522 (getProperty): Implemented.
1523 (putProperty): Implemented.
1525 2005-04-25 Roman Kennke <roman@kennke.org>
1527 * javax/swing/BoxLayout
1528 (preferredLayoutSize): Fixed computation so that it correctly
1529 adds the top and bottom insets of the container.
1531 2005-04-25 Roman Kennke <roman@kennke.org>
1533 * javax/swing/plaf/basic/BasicMenuItemUI.java
1534 (paintText): Make use of the 'selectionForeground' UI default
1537 2005-04-25 Roman Kennke <roman@kennke.org>
1539 * javax/swing/plaf/basic/BasicLookAndFeel.java
1540 (initSystemColorDefaults): Modified colors to match the
1541 BasicLookAndFeel in the reference implementation.
1542 (initComponentDefaults): Likewise.
1544 2005-04-25 Tom Tromey <tromey@redhat.com>
1546 * include/jni.h (_Jv_va_list): Removed.
1547 Moved configuration code...
1548 * include/jni_md.h: ... here. New file.
1549 * include/Makefile.in: Rebuilt.
1550 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1552 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1554 * java/io/FileInputStream.java (FileInputStream(File)),
1555 java/io/FileOutputStream.java (FileOutputStream(File)):
1556 Removed unnecessary File.isDirectory() check.
1558 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1560 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1561 gij if get_multilibs fails.
1563 2005-04-22 Anthony Green <green@redhat.com>
1565 * jni.cc (natrehash): Don't bother clearing memory again.
1566 * interpret.cc (do_allocate_static_fields): Ditto.
1567 * java/lang/natString.cc (rehash): Ditto.
1569 2005-04-22 Roman Kennke <roman@kennke.org>
1571 * javax/swing/plaf/basic/BasicLookAndFeel.java
1572 (initComponentDefaults): Changed Button.border to be
1573 BasicBorders.getButtonBorder as it should be.
1575 2005-04-22 Roman Kennke <roman@kennke.org>
1577 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1578 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1579 should according to a mauve testcase, instead of the preferred
1582 2005-04-22 Roman Kennke <roman@kennke.org>
1584 * javax/swing/JMenu.java
1585 (add): add(Component) now calls PopupMenu.insert(..) instead of
1586 PopupMenu.add(..). add(..) is not implemented for Component,
1587 so JComponent.add(..) is called instead, adding the component
1590 2005-04-22 Roman Kennke <roman@kennke.org>
1592 * javax/swing/plaf/basic/BasicButtonListener.java
1593 (mousePressed): replaced query to getModifiersEx with getModifiers.
1594 This method relied on faulty behaviour in getModifierEx.
1595 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1596 This method relied on faulty behaviour in getModifierEx.
1598 2005-04-22 Roman Kennke <roman@kennke.org>
1600 * javax/swing/plaf/metal/MetalLookAndFeel.java
1601 (getDefaults): Call addCustomEntriesToTable on the theme.
1603 2005-04-22 Roman Kennke <roman@kennke.org>
1605 * javax/swing/tree/DefaultTreeSelectionModel.java
1606 (constructor): Added implementation.
1607 (getRowMapper): Added implementation.
1608 (setSelectionMode): Added implementation.
1609 (getSelectionMode): Added implementation.
1610 (getSelectionPath): Added implementation.
1611 (getSelectionPaths): Added implementation.
1612 (getSelectionCount): Added implementation.
1613 (isSelectionEmpty): Added implementation.
1614 (getSelectionRows): Added implementation.
1615 (getMinSelectionRow): Added implementation.
1616 (getMaxSelectionRow): Added implementation.
1617 (getLeadSelectionRow): Added implementation.
1618 (getLeadSelectionPath): Added implementation.
1620 2005-04-22 Casey Marshall <csm@gnu.org>
1622 * gnu/java/security/der/DERValue.java
1623 (getValueAs): new method.
1624 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1625 (<init>): read both dates with 'DERValue.getValueAs', with
1626 'GENERALIZED_TIME' as the argument.
1628 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1630 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1631 be null, check for that case and don't deference it.
1633 2005-04-22 Sven de Marothy <sven@physto.se>
1635 * java/util/logging/LogManager.java: Reformatted.
1636 (readConfiguration): If a logger for a key is not found, create one.
1638 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1640 * java/rmi/Naming.java:
1641 Added class documentation.
1642 (lookup(String)): Call parseURL and getName.
1643 (bind(String,java.rmi.Remote)): Likewise.
1644 (unbind(String)): Likewise.
1645 (rebind(String, java.rmi.Remote)): Likewise.
1646 (list(String)): Call parseURL.
1647 (parseURL(String)): New method to handle parsing and defaults.
1648 (getName(java.net.URL)): New method to handle finding the service name.
1650 2005-04-21 Tom Tromey <tromey@redhat.com>
1652 * java/lang/natClass.cc (initializeClass): Link class.
1654 2005-04-21 Tom Tromey <tromey@redhat.com>
1656 * java/lang/AssertionError.java: Typo fix.
1658 2005-04-21 Tom Tromey <tromey@redhat.com>
1660 * java/lang/VMClassLoader.java (transformException): Removed.
1661 (resolveClass): No longer native. Now does nothing.
1662 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1664 2005-04-21 Anthony Green <green@redhat.com>
1667 * testsuite/libjava.special/special.exp,
1668 testsuite/libjava.special/pr21115I.java,
1669 testsuite/libjava.special/pr21115.java,
1670 testsuite/libjava.special/pr21115.out: New files.
1672 2005-04-21 Chris Burdess <dog@gnu.org>
1674 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1675 CRLF-delimited chunks.
1677 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1679 * java/net/URI.java:
1680 Added class documentation.
1681 (parseURI(String)): Only handle scheme-specific parts
1682 if URI is not opaque. Allow for parts that can't be null.
1683 (toString()): Output the scheme-specific part whole, rather
1684 than as its possibly non-existent components.
1686 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1688 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1689 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1690 Adjusted to match new regexp.
1692 2005-04-20 Michael Koch <konqueror@gmx.de>
1694 * gnu/java/net/protocol/file/Connection.java,
1695 gnu/java/net/protocol/jar/Connection.java:
1696 Reorganized import statements. Fixed @author tags.
1698 2005-04-20 Chris Burdess <dog@gnu.org>
1700 * java/io/DataOutputStream.java (writeUTF): Use block write for
1703 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1705 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1706 (readLine): Changed newline handling.
1708 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1710 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1711 ColorModel,byte[],int,int): Fixed byte to int conversion.
1713 2005-04-20 Michael Koch <konqueror@gmx.de>
1715 * java/io/FilePermission.java
1716 (serialVersionUID): Made private.
1717 (ALL_FILES): New constant.
1718 (implies): Handle '<<ALL FILES>>' case.
1720 2005-04-20 Sven de Marothy <sven@physto.se>
1722 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1723 (drawImage): Don't notify the image observer for offscreen images.
1724 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1725 (setPixels): Don't notify the image observer.
1727 2005-04-20 Sven de Marothy <sven@physto.se>
1729 * java/nio/ByteBufferImpl.java:
1730 (putChar): Inlined for speed.
1731 (put, get): Bulk methods can use arraycopy.
1732 * java/nio/CharBufferImpl.java:
1733 (put, get): Bulk methods can use arraycopy.
1735 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1737 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1739 * java/nio/CharBufferImpl.java
1740 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1741 (get(), put(char)): Inlined checks and field updates. Fixed to
1742 take array_offset into account.
1743 (get(int), put(int, char)): Fixed to take array_offset into account.
1745 2005-04-20 Sven de Marothy <sven@physto.se>
1747 * java/text/SimpleDateFormat.java:
1748 (formatWithAttribute): Pad year before truncating digits.
1750 2005-04-20 Michael Koch <konqueror@gmx.de>
1752 * gnu/java/net/PlainDatagramSocketImpl.java:
1753 Merged copyright header.
1754 * gnu/java/net/PlainSocketImpl.java:
1755 Reorganized import statements. Fixed @author tags.
1757 2005-04-20 Michael Koch <konqueror@gmx.de>
1759 * gnu/java/lang/ClassHelper.java,
1760 gnu/java/lang/reflect/TypeSignature.java:
1763 2005-04-20 Michael Koch <konqueror@gmx.de>
1765 * gnu/java/beans/IntrospectionIncubator.java:
1766 Fixed HTML tags in javadocs.
1768 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1770 * gnu/java/beans/IntrospectionIncubator.java
1771 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1772 set(), is(), add() and remove() with properties or events.
1774 2005-04-20 Michael Koch <konqueror@gmx.de>
1776 * gnu/java/awt/image/XBMDecoder.java:
1777 Fixed modifier order.
1779 2005-04-20 Roman Kennke <roman@kennke.org>
1781 * javax/swing/plaf/basic/BasicButtonUI.java
1782 (paint): This should not care about margin and insets
1783 at the same time, as insets already include the margin
1785 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1786 (getPreferredButtonSize): Likewise.
1787 * javax/swing/plaf/metal/MetalBorders.java
1788 (getBorderInsets): Likewise.
1790 2005-04-20 Roman Kennke <roman@kennke.org>
1792 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1793 (createMessageArea): The JPanel that holds the message area
1794 doesn't need to override getPreferredSize. This prevents some
1795 message components from rendering nicely.
1797 2005-04-20 Roman Kennke <roman@kennke.org>
1799 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1800 (createUI): Do not share instances between components.
1801 * javax/swing/plaf/metal/MetalSliderUI.java
1802 (createUI): Do not share instances between components.
1804 2005-04-20 Roman Kennke <roman@kennke.org>
1806 * javax/swing/plaf/metal/MetalBorders:
1807 (PopupMenuBorder): Added.
1808 * javax/swing/plaf/metal/MetalLookAndFeel
1809 (initComponentDefaults): Added PopupMenuBorder.
1811 2005-04-20 Roman Kennke <roman@kennke.org>
1813 * javax/swing/tree/DefaultTreeSelectionModel.java:
1814 Added API documentation all over the class.
1816 2005-04-20 Roman Kennke <roman@kennke.org>
1818 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1819 (installDefaults): Link managed JScrollPane in instance field.
1820 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1822 2005-04-20 Roman Kennke <roman@kennke.org>
1824 * javax/swing/plaf/basic/BasicScrollBarUI.java
1825 (PropertyChangeHandler.propertyChange): Add default
1826 to switch statement to avoid errors with unusual values
1828 (installComponents): Likewise.
1830 2005-04-20 Roman Kennke <roman@kennke.org>
1832 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1833 (createUI): Instances cannot be shared among JScrollPanes.
1835 2005-04-20 Roman Kennke <roman@kennke.org>
1837 * javax/swing/plaf/metal/MetalLookAndFeel.java
1838 (initComponentDefaults): Added defaults for Menu, MenuBar
1841 2005-04-20 Roman Kennke <roman@kennke.org>
1843 * javax/swing/plaf/basic/BasicScrollBarUI.java
1844 (installUI): Install listeners after everything all, otherwise
1845 we get strange NPEs in some situations, especially with
1847 (createIncreaseButton): Orientation is expected to be
1848 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1849 HORIZONTAL or VERTICAL.
1850 (createDecreaseButton): Orientation is expected to be
1851 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1852 HORIZONTAL or VERTICAL.
1853 (installComponents): Orientation for buttons is expected to be
1854 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1855 HORIZONTAL or VERTICAL.
1857 2005-04-20 Roman Kennke <roman@kennke.org>
1859 * javax/swing/JToolBar.java
1860 (addImpl): Adjust added AbstractButtons to look and feel like
1862 * javax/swing/plaf/metal/MetalBorders.java:
1863 Adjusted insets of ButtonBorder.
1864 (RolloverMarginBorder): Added class for toolbar buttons.
1865 (getButtonBorder): Adjusted factory method to return a shared
1866 instance of button border.
1867 (getToolbarButtonBorder): Added factory method to return a shared
1868 instance of toolbar button border.
1869 (getMarginBorder): Added factory method to return a shared
1870 instance of margin border.
1871 * javax/swing/plaf/metal/MetalButtonUI.java
1872 (installDefauls): If button is child of a JToolBar then set
1873 special border on this button.
1875 2005-04-20 Michael Koch <konqueror@gmx.de>
1877 * java/net/URLConnection.java
1878 (getContent): Fixed javadoc comment.
1880 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1882 * java/net/URL.java:
1883 (toURI()): Implemented.
1885 2005-04-19 Michael Koch <konqueror@gmx.de>
1887 * java/net/InetAddress.java
1888 (InetAddress): Fixed javadoc comment.
1890 (lookup): Added javadoc.
1891 (getFamily): Likewise.
1892 * java/net/ServerSocket.java
1893 (getChannel): Improved javadoc comment.
1895 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1897 * gnu/xml/dom/html2/DomHTMLParser.java:
1898 Changed 'enum' references to become 'enumeration'.
1900 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1902 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1904 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1906 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1907 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1908 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1909 (validateParameters(TagElement,htmlAttributeSet)):
1910 Replaced 'enum' with 'enumeration'.
1911 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1914 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1916 * javax/swing/text/html/parser/Entity.java (getType): New method.
1917 * javax/swing/text/html/parser/DocumentParser.java:
1918 Inherit from javax.swing.text.html.parser.Parser.
1920 2005-04-19 Chris Burdess <dog@gnu.org>
1922 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1923 check for HTML/XHTML namespace.
1925 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1927 * javax/swing/text/html/parser/Parser.java,
1928 javax/swing/text/html/parser/Entity.java:
1929 Inheriting from DTDConstants.
1930 * javax/swing/text/html/parser/AttributeList.java
1931 (getValues): Changed return type.
1932 * javax/swing/text/html/parser/DocumentParser
1933 (parse): Adding the callback parameter that receives
1936 2005-04-19 Chris Burdess <dog@gnu.org>
1938 * gnu/xml/dom/DomImpl.java,
1939 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1940 gnu/xml/dom/html2/DomHTMLDocument.java,
1941 gnu/xml/dom/html2/DomHTMLElement.java,
1942 gnu/xml/dom/html2/DomHTMLFormElement.java,
1943 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1944 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1945 gnu/xml/dom/html2/DomHTMLImpl.java,
1946 gnu/xml/dom/html2/DomHTMLInputElement.java,
1947 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1948 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1949 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1950 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1951 gnu/xml/dom/html2/DomHTMLTableElement.java,
1952 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1953 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1954 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1955 UI events, and tree utility functions.
1957 2005-04-19 Michael Koch <konqueror@gmx.de>
1959 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1960 gnu/javax/swing/text/html/parser/gnuDTD.java,
1961 gnu/javax/swing/text/html/parser/models/node.java:
1962 Reworked import statements.
1964 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1966 * javax/swing/text/html/HTMLDocument.java: New file.
1968 2005-04-19 Michael Koch <konqueror@gmx.de>
1970 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1972 * javax/swing/text/html/parser/AttributeList.java:
1973 Fixed order of modifiers.
1974 (AttributeList): Made final.
1975 * javax/swing/text/html/parser/ContentModel.java:
1976 Fixed html characters in javadocs.
1977 * javax/swing/text/html/parser/DTD.java
1978 (DTD): Don't implement java.io.Serializable directly.
1979 (getElement): Simplified.
1980 * javax/swing/text/html/parser/DTDConstants.java:
1982 * javax/swing/text/html/parser/Element.java:
1983 Fixed order of modifiers.
1984 * javax/swing/text/html/parser/Parser.java:
1985 Reformatted. Don't use fully-qualified class names.
1986 * javax/swing/text/html/parser/ParserDelegator.java:
1987 Fixed order of modifiers.
1988 * javax/swing/text/rtf/RTFParser.java:
1989 Re-ordered import statements.
1990 * javax/swing/text/rtf/RTFScanner.java:
1991 Removed unused import statement.
1993 2005-04-19 Chris Burdess <dog@gnu.org>
1995 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1996 gnu/xml/dom/html2/DomHTMLCollection.java,
1997 gnu/xml/dom/html2/DomHTMLDocument.java,
1998 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
2000 * gnu/xml/dom/html2/DomHTMLDListElement.java,
2001 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
2002 gnu/xml/dom/html2/DomHTMLDivElement.java,
2003 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
2004 gnu/xml/dom/html2/DomHTMLFontElement.java,
2005 gnu/xml/dom/html2/DomHTMLFormElement.java,
2006 gnu/xml/dom/html2/DomHTMLFrameElement.java,
2007 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
2008 gnu/xml/dom/html2/DomHTMLHRElement.java,
2009 gnu/xml/dom/html2/DomHTMLHeadElement.java,
2010 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
2011 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
2012 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
2013 gnu/xml/dom/html2/DomHTMLImageElement.java,
2014 gnu/xml/dom/html2/DomHTMLInputElement.java,
2015 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
2016 gnu/xml/dom/html2/DomHTMLLIElement.java,
2017 gnu/xml/dom/html2/DomHTMLLabelElement.java,
2018 gnu/xml/dom/html2/DomHTMLLegendElement.java,
2019 gnu/xml/dom/html2/DomHTMLLinkElement.java,
2020 gnu/xml/dom/html2/DomHTMLMapElement.java,
2021 gnu/xml/dom/html2/DomHTMLMenuElement.java,
2022 gnu/xml/dom/html2/DomHTMLMetaElement.java,
2023 gnu/xml/dom/html2/DomHTMLModElement.java,
2024 gnu/xml/dom/html2/DomHTMLOListElement.java,
2025 gnu/xml/dom/html2/DomHTMLObjectElement.java,
2026 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
2027 gnu/xml/dom/html2/DomHTMLOptionElement.java,
2028 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
2029 gnu/xml/dom/html2/DomHTMLParamElement.java,
2030 gnu/xml/dom/html2/DomHTMLPreElement.java,
2031 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
2032 gnu/xml/dom/html2/DomHTMLScriptElement.java,
2033 gnu/xml/dom/html2/DomHTMLSelectElement.java,
2034 gnu/xml/dom/html2/DomHTMLStyleElement.java,
2035 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
2036 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
2037 gnu/xml/dom/html2/DomHTMLTableColElement.java,
2038 gnu/xml/dom/html2/DomHTMLTableElement.java,
2039 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
2040 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
2041 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
2042 gnu/xml/dom/html2/DomHTMLTitleElement.java,
2043 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
2045 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2047 * javax/swing/text/ChangedCharSetException.java,
2048 javax/swing/text/html/HTMLEditorKit.java,
2049 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
2050 javax/swing/text/html/parser/AttributeList.java,
2051 javax/swing/text/html/parser/ContentModel.java,
2052 javax/swing/text/html/parser/DocumentParser.java,
2053 javax/swing/text/html/parser/DTD.java,
2054 javax/swing/text/html/parser/DTDConstants.java,
2055 javax/swing/text/html/parser/Element.java,
2056 javax/swing/text/html/parser/Entity.java,
2057 javax/swing/text/html/parser/Parser.java,
2058 javax/swing/text/html/parser/TagElement.java,
2059 gnu/javax/swing/text/html/package.html,
2060 gnu/javax/swing/text/html/parser/gnuDTD.java,
2061 gnu/javax/swing/text/html/parser/HTML_401F.java,
2062 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
2063 gnu/javax/swing/text/html/parser/htmlValidator.java,
2064 gnu/javax/swing/text/html/parser/package.html,
2065 gnu/javax/swing/text/html/parser/models/list.java,
2066 gnu/javax/swing/text/html/parser/models/node.java,
2067 gnu/javax/swing/text/html/parser/models/noTagModel.java,
2068 gnu/javax/swing/text/html/parser/models/package.html,
2069 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
2070 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
2071 gnu/javax/swing/text/html/parser/models/transformer.java,
2072 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
2073 gnu/javax/swing/text/html/parser/support/package.html,
2074 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
2075 gnu/javax/swing/text/html/parser/support/Parser.java,
2076 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
2077 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
2078 gnu/javax/swing/text/html/parser/support/low/Constants.java,
2079 gnu/javax/swing/text/html/parser/support/low/Location.java,
2080 gnu/javax/swing/text/html/parser/support/low/node.java,
2081 gnu/javax/swing/text/html/parser/support/low/package.html,
2082 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
2083 gnu/javax/swing/text/html/parser/support/low/pattern.java,
2084 gnu/javax/swing/text/html/parser/support/low/Queue.java,
2085 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
2087 * javax/swing/text/html/HTML.java,
2088 javax/swing/text/html/parser/ParserDelegator.java:
2089 New files (replacing).
2090 * javax/swing/text/html/package.html,
2091 javax/swing/text/html/parser/package.html: Documenting the
2094 2005-04-19 Chris Burdess <dog@gnu.org>
2096 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
2097 gnu/xml/dom/html2/DomHTMLAppletElement.java,
2098 gnu/xml/dom/html2/DomHTMLAreaElement.java,
2099 gnu/xml/dom/html2/DomHTMLBaseElement.java,
2100 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
2101 gnu/xml/dom/html2/DomHTMLBodyElement.java,
2102 gnu/xml/dom/html2/DomHTMLBRElement.java,
2103 gnu/xml/dom/html2/DomHTMLButtonElement.java,
2104 gnu/xml/dom/html2/DomHTMLCollection.java,
2105 gnu/xml/dom/html2/DomHTMLDocument.java,
2106 gnu/xml/dom/html2/DomHTMLElement.java: New files.
2108 2005-04-19 Michael Koch <konqueror@gmx.de>
2110 * Makefile.am: Added new files.
2111 * Makefile.in: Regenerated.
2113 2005-04-19 Roman Kennke <roman@kennke.org>
2115 * javax/swing/text/JTextComponent.java
2116 (JTextComponent): Added repaintListener which issues repaint
2117 requests when the underlying document changes.
2118 (setDocument): Adds repaintListener to document when the
2119 document is changed.
2120 * javax/swing/text/DefaultEditorKit.java:
2121 Removed repaint calls on JTextComponent. This is now handled
2122 through a DocumentListener in JTextComponent that repaints
2123 the component when needed.
2125 2005-04-19 Roman Kennke <roman@kennke.org>
2128 * javax/swing/text/StyleContext.java
2129 (NamedStyle.setResolveParent): Added null
2132 2005-04-19 Michael Koch <konqueror@gmx.de>
2134 * java/rmi/server/RemoteObject.java:
2135 Removed unused import statement.
2137 2005-04-19 Michael Koch <konqueror@gmx.de>
2139 * java/net/URL.java: Formatting cleanups.
2141 2005-04-19 Michael Koch <konqueror@gmx.de>
2143 * java/awt/FontMetrics.java: Reformatted.
2144 (getFontRenderContext): Handle case when java.awt.Graphics context is
2147 2005-04-19 Michael Koch <konqueror@gmx.de>
2149 * java/awt/FontMetrics.java
2150 (getStringBounds): New methods.
2153 2005-04-19 Michael Koch <konqueror@gmx.de>
2155 * gnu/java/security/x509/X509Certificate.java
2156 (parse): Handle val == null case.
2158 2005-04-19 Roman Kennke <roman@kennke.org>
2160 * javax/swing/plaf/metal/MetalLookAndFeel.java
2161 (initComponentDefaults): Added defaults for Menu, MenuBar
2164 2005-04-19 Roman Kennke <roman@kennke.org>
2166 * javax/swing/plaf/metal/MetalLookAndFeel.java
2167 (initComponentDefaults): Added Label.font.
2168 (initSystemColorDefaults): Added this method and adjusted the
2169 general control color.
2171 2005-04-19 Roman Kennke <roman@kennke.org>
2173 * javax/swing/plaf/metal/MetalBorders.java:
2175 * javax/swing/plaf/metal/MetalButtonUI.java:
2176 (installDefaults): Install button font.
2177 * javax/swing/plaf/metal/MetalLookAndFeel.java:
2178 (initComponentDefaults): Added button border, font and margin.
2179 Changed components background color to the Metal current themes
2182 2005-04-19 Roman Kennke <roman@kennke.org>
2184 * javax/swing/plaf/metal/MetalLookAndFeel.java
2185 (initComponentDefaults): Added to set Metal specific component
2188 2005-04-19 Mark Wielaard <mark@klomp.org>
2190 * javax/swing/plaf/metal/MetalLookAndFeel.java
2191 (initClassDefaults): Call super.initClassDefaults().
2193 2005-04-19 Roman Kennke <roman@kennke.org>
2195 * javax/swing/plaf/metal/MetalLookAndFeel.java
2196 (initClassDefaults): Added to include the *UI classes.
2198 2005-04-19 Roman Kennke <roman@kennke.org>
2200 * javax/swing/plaf/metal/MetalComboBoxUI.java:
2202 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
2204 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
2206 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
2208 * javax/swing/plaf/metal/MetalProgressBarUI.java:
2210 * javax/swing/plaf/metal/MetalRootPaneUI.java:
2212 * javax/swing/plaf/metal/MetalScrollBarUI.java:
2214 * javax/swing/plaf/metal/MetalSeparatorUI.java:
2216 * javax/swing/plaf/metal/MetalSliderUI.java:
2218 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
2220 * javax/swing/plaf/metal/MetalTextFieldUI.java:
2222 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
2224 2005-04-19 Roman Kennke <roman@kennke.org>
2226 * javax/swing/plaf/metal/MetalButtonUI.java:
2227 Added skeleton class.
2228 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
2229 Added skeleton class.
2230 * javax/swing/plaf/metal/MetalLabelUI.java:
2231 Added skeleton class.
2232 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
2233 Added skeleton class.
2234 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
2235 Added skeleton class.
2236 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
2237 Added skeleton class.
2239 2005-04-19 Roman Kennke <roman@kennke.org>
2241 * javax/swing/UIDefaults.java:
2242 Added API documentation for all methods.
2244 2005-04-19 Roman Kennke <roman@kennke.org>
2246 * javax/swing/UIDefaults.java
2247 (put): Now uses new checkAndPut method instead of checking
2249 (putDefaults): Fixed so that it accepts null-values and
2250 treats them like remove(key).
2251 (checkAndPut): Added. This checks for null-values and calls
2254 2005-04-19 Michael Koch <konqueror@gmx.de>
2256 * Makefile.am: Added new files.
2257 * Makefile.in: Regenerated.
2259 2005-04-19 Mark Wielaard <mark@klomp.org>
2261 * java/lang/natRuntime.cc (insertSystemProperties): Set
2262 java.class.path to CLASSPATH only when not empty. Fall back to
2263 default path "." when java.class.path is empty.
2265 2005-04-19 Michael Koch <konqueror@gmx.de>
2267 * javax/swing/text/rtf/ControlWordToken.java,
2268 javax/swing/text/rtf/RTFEditorKit.java,
2269 javax/swing/text/rtf/RTFParseException.java,
2270 javax/swing/text/rtf/RTFParser.java,
2271 javax/swing/text/rtf/RTFScanner.java,
2272 javax/swing/text/rtf/TextToken.java,
2273 javax/swing/text/rtf/Token.java: New files.
2274 * Makefile.am: Added new files.
2275 * Makefile.in: Regenerated.
2277 2005-04-19 Michael Koch <konqueror@gmx.de>
2279 * java/awt/geom/QuadCurve2D.java:
2280 Fixed Brian Gough's name for real.
2282 2005-04-19 Roman Kennke <roman@kennke.org>
2284 * javax/swing/UIManager.java:
2285 Make the UIManager respect the swing.defaultlaf system
2288 2005-04-19 Tom Tromey <tromey@redhat.com>
2290 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2293 2005-04-19 Roman Kennke <roman@kennke.org>
2295 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2296 Fixed tabs to spaces.
2298 2005-04-19 Roman Kennke <roman@kennke.org>
2300 * javax/swing/plaf/basic/BasicMenuUI.java
2301 (getMaximumSize): Now returns preferredSize because JMenu should
2302 never be bigger than that.
2303 * javax/swing/JRootPane
2304 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2306 2005-04-19 Roman Kennke <roman@kennke.org>
2308 * javax/swing/JRootPane.java:
2309 Fixed various tabs to be spaces.
2310 (RootLayout.layoutContainer): Made menubar left aligned.
2312 2005-04-19 Roman Kennke <roman@ontographics.com>
2314 * javax/swing/JList.java
2315 (getPreferredScrollableViewportSize):
2316 The previous implementation was merely guessing the size,
2317 now it respects layoutOrientation, visibleRowCount
2319 (getScrollableTracksViewportHeight):
2320 Reimplemented so that layoutOrientation, visibleRowCount
2321 and preferred size are respected.
2322 (getScrollableTracksViewportWidth):
2323 Reimplemented so that layoutOrientation, visibleRowCount
2324 and preferred size are respected.
2325 * javax/swing/plaf/basic/BasicListUI.java
2327 Improved calculation of preferredSize when JList is
2328 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2330 The previous implementation assumed a layoutOrientation of
2331 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2332 JList.VERTICAL_WRAP.
2334 2005-04-19 Roman Kennke <roman@ontographics.com>
2336 * javax/swing/plaf/basic/BasicListUI.java
2337 (paintCell): use CellRendererPane for painting the cells.
2339 2005-04-19 Roman Kennke <roman@ontographics.com>
2341 * javax/swing/plaf/basic/BasicListUI:
2342 fixed modifiers of several fields, methods and inner
2343 classes to match the 'spec'.
2344 (getMaximumSize): removed. It's not in the spec and the
2345 implementations was superfluous.
2347 2005-04-19 Roman Kennke <roman@ontographics.com>
2349 * javax/swing/plaf/basic/BasicListUI:
2350 make BasicListUI capable of wrapping lists
2351 (layoutOrientation property of javax.swing.JList)
2353 2005-04-19 Roman Kennke <roman@ontographics.com>
2355 * javax/swing/plaf/basic/BasicListUI
2356 (updateLayoutState,paint): make BasicListUI aware of the
2357 width of the rendered JList.
2359 2005-04-19 Roman Kennke <roman@kennke.org>
2361 * javax/swing/ImageIcon.java
2362 Added API documentation.
2364 2005-04-19 Roman Kennke <roman@kennke.org>
2366 * javax/swing/text/ImageIcon.java
2367 (ImageIcon): Use setImage instead of direct assignment.
2368 (setImage): Call loadImage to make sure that the image is loaded.
2369 (loadImage): Waits for the image to complete loading.
2370 (getImageLoadStatus): Added. Returns the load status of the
2373 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2375 * javax/swing/JTextArea.java (replaceRange):
2376 Fixing doc.remove(start, length) misinterpretation.
2378 2005-04-19 Roman Kennke <roman@ontographics.com>
2380 * javax/swing/CellRendererPane.java:
2381 implemented all methods of this class.
2382 reformatted all wrong formatted code.
2384 2005-04-19 Roman Kennke <roman@kennke.org>
2386 * javax/swing/BoxLayout.java:
2387 (layoutContainer): Made this layout manager respect the
2388 minimum, maximum and preferred size more correctly.
2390 2005-04-19 Roman Kennke <roman@ontographics.com>
2392 * javax/swing/BoxLayout.java:
2393 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2394 layoutContainer): Make these methods and thereby the
2395 BoxLayout respect the insets (like borders) of the
2396 component that is laid out.
2398 2005-04-19 Roman Kennke <roman@kennke.org>
2400 * javax/swing/JComponent.java:
2401 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2402 Untabified the file.
2404 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2406 * javax/swing/JComboBox.java (constructors): selecting the
2407 first item if the box was constructed from the provided
2408 non - empty array or vector.
2410 2005-04-19 Michael Koch <konqueror@gmx.de>
2412 * gnu/java/awt/peer/gtk/GdkGraphics.java
2413 (getClipBounds): Handle clip being null.
2414 (setClip): Likewise.
2415 * java/beans/beancontext/BeanContextSupport.java
2419 (removeAll): Likewise.
2420 (retainAll): Likewise.
2422 2005-04-19 Michael Koch <konqueror@gmx.de>
2424 * java/beans/beancontext/BeanContextServicesSupport.java
2425 (BeanContextServicesSupport): Reimplemented.
2426 (addBeanContextServicesListener): Implemented.
2427 (initialize): Likewise.
2428 (removeBeanContextServicesListener): Likewise.
2429 * java/beans/beancontext/BeanContextSupport.java
2431 (addBeanContextMembershipListener): Likewise.
2432 (getLocale): Likewise.
2433 (initialize): Likewise.
2434 (iterator): Likewise.
2436 (toArray): Likewise.
2438 2005-04-19 Roman Kennke <roman@kennke.org>
2440 * java/awt/MediaTracker.java:
2441 Reindented tabs to spaces.
2443 2005-04-19 Roman Kennke <roman@kennke.org>
2445 * java/awt/MediaTracker.java
2446 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2447 confused the media tracker and lead to lockups. The LOADING
2448 bit is handled on other places.
2449 (addImage): Removed the 'start image tracking' stuff. This
2450 is not necessary and could confuse the media tracker.
2451 (checkAll): Improved the check for image status so that
2452 images that already complete images are detected. Also now
2453 are really all images checked and if necessary loaded. Before
2454 the method bailed out after the first incomplete image.
2455 (statusAll): Detect images that are complete after the
2456 call to Component.prepareImage(..).
2457 (checkID): The same as in checkAll.
2458 (statusID): The same as in statusAll.
2460 2005-04-19 Roman Kennke <roman@kennke.org>
2462 * java/awt/MediaTracker.java
2463 (addImage): Synchronized list access.
2464 (waitForAll): Fixed comparison of time (changed < to >).
2465 (waitForID): Fixed comparison of time (changed < to >).
2466 (removeImage): Synchronized list access.
2468 2005-04-19 Roman Kennke <roman@kennke.org>
2470 * java/awt/MediaTracker.java
2471 Added API documentation.
2473 2005-04-19 Roman Kennke <roman@kennke.org>
2475 * java/awt/MediaTracker.java
2476 (MediaEntry.imageUpdate): Fixed flags. The different flags
2477 must not be ORed together.
2478 (checkAll): Modified to handle different meaning of the flags.
2479 (waitForAll): Fixed so that it waits maximum the
2480 specified amount of milliseconds.
2481 (statusAll): Modified to handle different meaning of the flags.
2482 (waitForID): Fixed so that it waits maximum the
2483 specified amount of milliseconds.
2485 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2487 * java/awt/Font.java (decode): Handle null argument and allow
2490 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2492 * java/beans/EventHandler.java: Reworked documentation.
2493 (invoke): Fixed behavior to match spec.
2495 2005-04-19 Michael Koch <konqueror@gmx.de>
2497 * java/awt/print/PrinterJob.java
2498 (pageDialog): New method.
2499 (printDialog): Implemented.
2501 2005-04-19 Michael Koch <konqueror@gmx.de>
2503 * java/awt/image/ConvolveOp.java:
2504 Removed comment added by eclipse.
2506 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2508 * java/awt/image/IndexColorModel.java
2509 (getRGB): Check if pixel is negative.
2511 2005-04-19 Michael Koch <konqueror@gmx.de>
2513 * java/awt/image/RasterOp.java:
2514 Fixed wrong formatting.
2516 2005-04-18 Roman Kennke <roman@kennke.org>
2518 * java/awt/Compmonent.java
2519 (setComponentOrientation): Made this property firing a
2520 PropertyChangeEvent.
2522 2005-04-18 Roman Kennke <roman@kennke.org>
2524 * java/awt/BorderLayout.java
2525 (calcSize): Check for overflow when component sizes are added.
2527 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2529 * java/awt/AWTEvent.java (toString): Added case
2530 for source not being an AWT component.
2532 2005-04-18 Chris Burdess <dog@gnu.org>
2534 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2536 2005-04-18 Michael Koch <konqueror@gmx.de>
2538 gnu/java/awt/EmbeddedWindowSupport.java,
2539 gnu/java/net/HeaderFieldHelper.java,
2540 gnu/java/net/URLParseError.java,
2541 gnu/java/net/protocol/file/Handler.java,
2542 gnu/java/net/protocol/jar/Handler.java:
2543 Fixed usage of @author tag.
2545 2005-04-18 Michael Koch <konqueror@gmx.de>
2547 * gnu/xml/aelfred2/XmlParser.java:
2548 Reverted my typo fix.
2550 2005-04-18 Michael Koch <konqueror@gmx.de>
2552 * java/awt/geom/CubicCurve2D.java,
2553 java/awt/geom/QuadCurve2D.java:
2554 Fixed mentioning of Brian Gouph.
2556 2005-04-18 Michael Koch <konqueror@gmx.de>
2558 * gnu/java/awt/Buffers.java,
2559 gnu/java/awt/image/ImageDecoder.java,
2560 gnu/java/awt/image/XBMDecoder.java,
2561 gnu/java/awt/peer/ClasspathFontPeer.java,
2562 gnu/java/net/CRLFInputStream.java,
2563 gnu/java/net/EmptyX509TrustManager.java,
2564 gnu/java/net/LineInputStream.java,
2565 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2566 gnu/java/net/protocol/ftp/BlockInputStream.java,
2567 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2568 gnu/java/net/protocol/ftp/DTP.java,
2569 gnu/java/net/protocol/ftp/DTPInputStream.java,
2570 gnu/java/net/protocol/ftp/FTPConnection.java,
2571 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2572 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2573 gnu/java/net/protocol/ftp/StreamInputStream.java,
2574 gnu/java/net/protocol/http/ChunkedInputStream.java,
2575 gnu/java/net/protocol/http/HTTPConnection.java,
2576 gnu/java/net/protocol/http/HTTPURLConnection.java,
2577 gnu/java/net/protocol/http/Headers.java,
2578 gnu/java/net/protocol/http/Request.java,
2579 gnu/java/nio/ChannelInputStream.java,
2580 gnu/java/nio/ChannelOutputStream.java,
2581 gnu/java/nio/InputStreamChannel.java,
2582 gnu/java/nio/OutputStreamChannel.java,
2583 gnu/java/nio/SelectorProviderImpl.java,
2584 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2585 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2586 gnu/java/rmi/dgc/DGCImpl.java,
2587 gnu/java/rmi/registry/RegistryImpl.java,
2588 gnu/java/rmi/server/ProtocolConstants.java,
2589 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2590 gnu/java/rmi/server/RMIIncomingThread.java,
2591 gnu/java/rmi/server/RMIObjectInputStream.java,
2592 gnu/java/rmi/server/RMIObjectOutputStream.java,
2593 gnu/java/rmi/server/RMIVoidValue.java,
2594 gnu/java/rmi/server/UnicastConnectionManager.java,
2595 gnu/java/rmi/server/UnicastRef.java,
2596 gnu/java/rmi/server/UnicastRemoteCall.java,
2597 gnu/java/rmi/server/UnicastRemoteStub.java,
2598 gnu/java/rmi/server/UnicastServerRef.java,
2599 gnu/java/security/OID.java,
2600 gnu/java/security/der/DERReader.java,
2601 gnu/java/security/provider/CollectionCertStoreImpl.java,
2602 gnu/java/security/provider/DSAParameterGenerator.java,
2603 gnu/java/security/provider/DefaultPolicy.java,
2604 gnu/java/security/provider/EncodedKeyFactory.java,
2605 gnu/java/security/provider/GnuDHPublicKey.java,
2606 gnu/java/security/provider/GnuDSAPrivateKey.java,
2607 gnu/java/security/provider/GnuDSAPublicKey.java,
2608 gnu/java/security/provider/GnuRSAPrivateKey.java,
2609 gnu/java/security/provider/GnuRSAPublicKey.java,
2610 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2611 gnu/java/security/provider/RSA.java,
2612 gnu/java/security/provider/SHA1PRNG.java,
2613 gnu/java/security/provider/SHA1withRSA.java,
2614 gnu/java/security/provider/X509CertificateFactory.java,
2615 gnu/java/security/x509/GnuPKIExtension.java,
2616 gnu/java/security/x509/X500DistinguishedName.java,
2617 gnu/java/security/x509/X509CRL.java,
2618 gnu/java/security/x509/X509CRLEntry.java,
2619 gnu/java/security/x509/X509CertPath.java,
2620 gnu/java/security/x509/X509CertSelectorImpl.java,
2621 gnu/java/security/x509/X509Certificate.java,
2622 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2623 gnu/java/security/x509/ext/BasicConstraints.java,
2624 gnu/java/security/x509/ext/CRLNumber.java,
2625 gnu/java/security/x509/ext/CertificatePolicies.java,
2626 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2627 gnu/java/security/x509/ext/Extension.java,
2628 gnu/java/security/x509/ext/GeneralNames.java,
2629 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2630 gnu/java/security/x509/ext/KeyUsage.java,
2631 gnu/java/security/x509/ext/PolicyConstraint.java,
2632 gnu/java/security/x509/ext/PolicyMappings.java,
2633 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2634 gnu/java/security/x509/ext/ReasonCode.java,
2635 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2636 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2637 Reorganized import statements.
2639 2005-04-18 Michael Koch <konqueror@gmx.de>
2641 * gnu/java/awt/color/CieXyzConverter.java,
2642 gnu/java/awt/color/ClutProfileConverter.java,
2643 gnu/java/awt/color/ColorLookUpTable.java,
2644 gnu/java/awt/color/ColorSpaceConverter.java,
2645 gnu/java/awt/color/GrayProfileConverter.java,
2646 gnu/java/awt/color/GrayScaleConverter.java,
2647 gnu/java/awt/color/LinearRGBConverter.java,
2648 gnu/java/awt/color/ProfileHeader.java,
2649 gnu/java/awt/color/PyccConverter.java,
2650 gnu/java/awt/color/RgbProfileConverter.java,
2651 gnu/java/awt/color/SrgbConverter.java,
2652 gnu/java/awt/color/TagEntry.java,
2653 gnu/java/awt/color/ToneReproductionCurve.java:
2654 Standardized file headers.
2656 2005-04-16 Tom Tromey <tromey@redhat.com>
2658 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2659 'ANY' package-private.
2661 2005-04-15 Tom Tromey <tromey@redhat.com>
2663 * Makefile.in: Rebuilt.
2664 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2665 (libgcj0_convenience_la_LIBADD): ... here.
2667 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2669 * gij.cc (version): Properly quote java version.
2670 (main): Fix typo in comment.
2672 2005-04-13 Mark Wielaard <mark@klomp.org>
2674 * java/lang/natRuntime.cc (insertSystemProperties): Set
2675 java.class.path to CLASSPATH if not already set.
2677 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2679 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2681 2005-04-12 Mike Stump <mrs@apple.com>
2683 * configure: Regenerate.
2685 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2688 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2689 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2691 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2694 * scripts/TexinfoDoclet.java: Removed.
2695 * Makefile.am (texinfo): Removed.
2696 * Makefile.in: Regenerated.
2698 2005-04-11 Michael Koch <konqueror@gmx.de>
2700 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2701 Fixed wrong casting.
2703 2005-04-06 Andrew Haley <aph@redhat.com>
2705 * testsuite/libjava.lang/bytearray.java: New file.
2706 * testsuite/libjava.lang/bytearray.out: New file.
2707 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2708 (loadClass): Use it.
2709 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2711 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2713 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2714 gcj-dbtool dependency
2715 * Makefile.in: Regenerated
2717 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2719 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2720 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2722 2005-04-05 Andrew Haley <aph@redhat.com>
2724 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2725 (Tokenizer): New class.
2726 (getFiles): New method.
2727 (main): Add "-" argument.
2729 Read list of files from stdin when merging map databases.
2730 (usage): Add "-" argument.
2734 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2737 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2738 * Makefile.in: Regenerate.
2739 * configure.ac: Add --with-java-home option.
2740 * configure: Regenerate.
2741 * external/Makefile.in: Regenerate.
2742 * external/sax/Makefile.in: Regenerate.
2743 * external/w3c_dom/Makefile.in: Regenerate.
2744 * gcj/Makefile.in: Regenerate.
2745 * include/Makefile.in: Regenerate.
2746 * testsuite/Makefile.in: Regenerate.
2747 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2750 2005-04-05 Tom Tromey <tromey@redhat.com>
2752 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2753 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2754 Rewrote to use _Jv_FindClassFromSignature.
2755 * verify.cc (resolve): throw NoClassDefFoundError.
2756 * link.cc (resolve_field): Throw NoClassDefFoundError.
2757 (find_field): Likewise.
2758 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2759 Handle error cases. Added 'endp' argument.
2760 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2762 2005-04-05 Tom Tromey <tromey@redhat.com>
2764 * Makefile.in: Rebuilt.
2765 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2766 gtk_awt_peer_sources.
2767 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2768 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2769 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2770 (gtk-awt-peer.lo): New target.
2772 2005-04-04 Steve Pribyl <steve@netfuel.com>
2775 * configure.ac: Fix fastjar definition for cross builds.
2776 * configure: Rebuilt.
2778 2005-04-04 Tom Tromey <tromey@redhat.com>
2780 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2781 it was already found.
2783 2005-04-04 Tom Tromey <tromey@redhat.com>
2785 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2786 org.metastatic.jessie.
2788 2005-04-02 Anthony Green <green@redhat.com>
2791 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2793 2005-04-02 Mark Wielaard <mark@klomp.org>
2795 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2796 Attributes and attribute order doesn't matter.
2797 (BasicAttributesEnumeration.where): Initialize to zero.
2798 (BasicAttributesEnumeration.nextElement): Update and compare where
2799 appropriately (zero based).
2801 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2803 PR libgcj/20090, PR libgcj/20526
2804 * gij.cc (nonstandard_opts_help): New function.
2805 (add_option): New function.
2806 (main): Support java options. Set java.class.path. Don't set
2808 * prims.cc (parse_x_arg): New function.
2809 (parse_init_args): Call parse_x_arg for -X and _ options, when
2810 ignoreUnrecognized is true.
2811 (new _Jv_RunMain): New vm_args variant.
2812 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2813 (_Jv_Jar_Class_Path): Remove variable.
2814 * include/java-props.h: Likewise.
2815 * include/cni.h (JvRealloc): New function.
2816 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2817 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2818 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2820 * configure.ac (JV_VERSION): Define.
2821 (JV_API_VERSION): Likewise.
2822 * configure: Regenerate.
2823 * include/config.h.in: Regenerate.
2825 2005-04-01 Mark Anderson <mark@panonet.net>
2827 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2828 -Infinity as parameters.
2830 2005-04-01 Michael Koch <konqueror@gmx.de>
2832 * java/io/PipedInputStream.java
2833 (read): Make sure a positive byte value is returned. Revised javadoc.
2834 Thanks to Olafur Bragason for reporting these bugs.
2836 2005-04-01 Tom Tromey <tromey@redhat.com>
2838 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2839 Updated for name change.
2840 (nativeFindClass): New method.
2841 (loadClass): Use nativeFindClass.
2842 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2844 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2845 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2847 (initialize): New method.
2848 (nativeFindClass): Declare.
2849 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2850 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2851 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2853 (definePackageForNative): Removed.
2854 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2855 Moved to VMClassLoader.java.
2856 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2857 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2858 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2859 removed VMClassLoader.java.
2860 (nat_source_files): Removed natVMClassLoader.cc.
2862 2005-04-01 Tom Tromey <tromey@redhat.com>
2864 * Makefile.in: Rebuilt.
2865 * Makefile.am (db_pathtail): Use $(gcc_version), not
2868 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2870 * java/util/Timer.java
2871 (run): Stop the queue if a task throws an exception.
2873 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2875 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2877 2005-03-29 Ian Lance Taylor <ian@airs.com>
2879 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2880 * external/sax/Makefile.in: Rebuild.
2881 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2883 * external/w3c_dom/Makefile.in: Rebuild.
2885 2005-03-29 Tom Tromey <tromey@redhat.com>
2887 * java/lang/natRuntime.cc (insertSystemProperties): Set
2888 gnu.gcj.runtime.endorsed.dirs.
2889 * Makefile.in: Rebuilt.
2890 * Makefile.am (ordinary_java_source_files): Added
2891 HelperClassLoader.java.
2892 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2893 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2895 (init): Use addDirectoriesFromProperty.
2896 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2897 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2898 gnu.gcj.runtime.endorsed.dirs.
2899 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2901 2005-03-26 Chris Burdess <dog@gnu.org>
2903 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2906 2005-03-13 Michael Koch <konqueror@gmx.de>
2908 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2910 2005-03-11 Chris Burdess <dog@gnu.org>
2912 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2915 2005-02-27 Chris Burdess <dog@gnu.org>
2917 * gnu/xml/aelfred2/JAXPFactory.java,
2918 gnu/xml/aelfred2/SAXDriver.java,
2919 gnu/xml/aelfred2/XmlParser.java,
2920 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2921 formatting conventions. Replaced arrays of Object with struct-like
2922 classes for easier maintainability. Made SAXDriver.stringInterning
2923 package private to allow access from XmlParser inside the loop without
2924 a method call overhead.
2926 2005-03-11 Chris Burdess <dog@gnu.org>
2928 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2931 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2933 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2934 settings to sub Makefiles.
2935 (GCJH, ZIP): Prefix with top_builddir.
2936 * configure: Rebuild.
2937 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2938 * external/w3c_dom/Makefile.in: Rebuild.
2939 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2940 * external/sax/Makefile.in: Rebuild.
2942 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2944 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2945 libsocket to the libraries to link for Solaris.
2947 2005-03-28 Per Bothner <per@bothner.com>
2949 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2950 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2952 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2954 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2955 to fix a ONESTEP fallout.
2956 * Makefile.in: Regenerate.
2958 2005-03-25 Mike Stump <mrs@apple.com>
2960 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2961 paths like we do for the compiler, as we use it in external/sax
2962 and it doesn't get MULTIBUILDTOP right when multilibing.
2964 2005-03-24 Anthony Green <green@redhat.com>
2966 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2968 (usage): Add [LIBDIR] to help output.
2969 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2970 * Makefile.am (AM_CXXFLAGS): Define
2971 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2972 (db_pathtail): New macro.
2974 2005-03-24 Tom Tromey <tromey@redhat.com>
2976 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2977 add sax and w3c libraries.
2978 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2980 * external/w3c_dom/Makefile.in: Rebuilt.
2981 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2983 (libw3c_gcj_la_LDFLAGS): New variable.
2984 (noinst_LTLIBRARIES): Renamed.
2985 * external/sax/Makefile.in: Rebuilt.
2986 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2988 (libsax_gcj_la_LDFLAGS): New variable.
2989 (noinst_LTLIBRARIES): Renamed.
2991 2005-03-23 Tom Tromey <tromey@redhat.com>
2993 * Makefile.in: Rebuilt.
2994 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2995 (libgcj0_convenience_la_SOURCES): Don't include
2996 gnu_xml_source_files.
2997 (libgcj0_convenience_la_LIBADD): New variable.
2998 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2999 (all_java_source_files): javax_imageio_source_files,
3000 javax_xml_source_files, and gnu_java_beans_source_files.
3001 ($(gnu_xml_source_files:.java=.lo)): Removed target.
3002 (gnu-xml.lo): New target.
3003 (javax-imageio.lo): Likewise.
3004 (javax-xml.lo): Likewise.
3005 (gnu-java-beans.lo): Likewise.
3006 (gnu_java_beans_source_files): New variable.
3007 (javax_imageio_source_files): Likewise.
3008 (javax_xml_source_files): Likewise.
3009 (javax_source_files): Moved files to other variable.
3010 (awt_java_source_files): Likewise.
3011 (ordinary_java_source_files): Added BootClassLoader.java.
3012 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
3013 not system class loader.
3014 (initBootLoader): New method.
3015 (loadClass): Search bootLoader.
3016 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
3017 boot loader, not system class loader.
3018 (_Jv_UnregisterInitiatingLoader): Likewise.
3019 (_Jv_FindClass): Likewise. Ensure entries in
3020 bootstrap_class_list are unique.
3021 * java/lang/natClass.cc (getClassLoader): Don't special case
3022 system class loader.
3023 * java/lang/VMClassLoader.java (bootLoader): New field.
3024 (getResource): Use bootLoader.
3025 (getResources): Likewise.
3026 (initBootLoader): Declare.
3027 * gnu/gcj/runtime/BootClassLoader.java: New file.
3028 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
3029 (EMPTY_ENUMERATION): Now package-private.
3030 * external/w3c_com/Makefile.in: Rebuilt.
3031 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
3032 (w3c.jar): New target.
3033 (classes.stamp): Updated.
3034 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3035 Changed name of library.
3036 (libw3c_gcj_la_SOURCES): New variable.
3037 (libw3c_gcj_la_GCJFLAGS): Likewise.
3038 (source_files): Renamed from lib3c_convenience_la_SOURCES.
3039 * external/sax/Makefile.in: Rebuilt.
3040 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
3041 (sax.jar): New target.
3042 (classes.stamp): Updated.
3043 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3044 Changed name of library.
3045 (libsax_gcj_la_SOURCES): New variable.
3046 (libsax_gcj_la_GCJFLAGS): Likewise.
3047 (source_files): Renamed from libsax_convenience_la_SOURCES.
3048 * stacktrace.cc (non_system_trace_fn): Don't look at system class
3050 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
3052 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
3054 2005-03-23 Sven de Marothy <sven@physto.se>
3056 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
3058 * java/util/Calendar.java
3059 (set): Use starting day of week when one is needed if none is given.
3060 * java/text/SimpleDateFormat.java
3061 (parse): Handle 1-12 and 1-24 timestamps correctly.
3062 * java/util/GregorianCalendar.java
3063 (computeTime, computeFields): HOUR should be in 0-11 format.
3064 (nonLeniencyCheck): Adjust leniency checking to that fact.
3065 (getLinearDay): Should be private.
3067 2005-03-23 Tom Tromey <tromey@redhat.com>
3069 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3070 (_Jv_CheckABIVersion): Use it.
3072 2005-03-22 Mike Stump <mrs@apple.com>
3074 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
3076 * include/posix.h: .dylib is used on all Apple MACH platforms.
3077 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
3079 2005-03-22 Tom Tromey <tromey@redhat.com>
3081 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
3083 2005-03-21 Tom Tromey <tromey@redhat.com>
3085 * java/lang/VMCompiler.java (static block): Also catch
3086 BufferUnderflowException.
3088 2005-03-21 Zack Weinberg <zack@codesourcery.com>
3090 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
3091 set tool_include_dir. In all substitutions, leave $(gcc_version)
3092 to be expanded by the Makefile.
3093 * aclocal.m4, configure: Regenerate.
3094 * Makefile.am: Set gcc_version. Replace all uses of
3095 @gcc_version@ with $(gcc_version).
3096 * external/Makefile.am, external/sax/Makefile.am
3097 * external/w3c_dom/Makefile.am, gcj/Makefile.am
3098 * testsuite/Makefile.am: Set gcc_version.
3099 * include/Makefile.am: Set gcc_version and tool_include_dir.
3100 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
3101 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
3102 * testsuite/Makefile.in: Regenerate.
3104 2005-03-17 Andrew Haley <aph@redhat.com>
3106 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
3108 Pass klass to _Jv_StackTrace::GetClassContext().
3109 * java/lang/ClassLoader.java (getParent): Pass class to
3110 VMSecurityManager.getClassContext()
3111 (getSystemClassLoader): Likewise.
3112 * java/lang/Package.java (getPackage): Likewise.
3113 (getPackages): Likewise.
3114 * java/lang/SecurityManager.java (getClassContext): Likewise.
3115 (currentClassLoader): Likewise.
3116 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
3117 (currentClassLoader) Add new arg: caller.
3118 Pass caller to VMSecurityManager.getClassContext.
3120 * stacktrace.cc (GetClassContext): Correct calculation of
3123 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
3124 im->source_file_name.
3126 2005-03-16 Andrew Haley <aph@redhat.com>
3128 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
3130 2005-03-16 Tom Tromey <tromey@redhat.com>
3132 * link.cc (ensure_class_linked): Removed #ifdef.
3133 (print_class_loaded): Likewise.
3134 (wait_for_state): Likewise.
3135 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
3136 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
3137 * include/java-interp.h: ... here.
3139 2005-03-16 Tom Tromey <tromey@redhat.com>
3141 * gnu/java/lang/MainThread.java (run): Load main class using
3142 system class loader.
3144 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
3146 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
3147 lgcc_s to the libraries to link for Darwin.
3149 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
3151 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
3152 interpreter-specific code with #ifdef INTERPRETER.
3153 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
3154 (_Jv_StackTrace::FillInFrameInfo): Likewise.
3155 (_Jv_StackTrace::non_system_trace_fn): Likewise.
3156 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
3157 #ifdef INTERPRETER. Also protect declarations that use it.
3158 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
3159 #ifdef INTERPRETER block.
3161 2005-03-15 Jakub Jelinek <jakub@redhat.com>
3164 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
3165 * Makefile.in: Rebuilt.
3167 2005-03-15 David Daney <ddaney@avtrex.com>
3169 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
3172 2005-03-15 David Daney <ddaney@avtrex.com>
3174 * java/io/BufferedInputStream.java (available): Use 'in' instead
3175 of 'super' for underlying stream access.
3177 (read(byte[], int, int)): Ditto.
3179 (skip): Call skip on underlying stream when possible.
3181 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
3183 * stacktrace.cc (GetCallerInfo): Return nothing in case of
3184 SJLJ_EXCEPTIONS is defined.
3186 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
3188 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
3191 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
3193 * testsuite/lib/libjava.exp (libjava_init): Use the same target
3195 (libjava_arguments): Likewise.
3197 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
3198 (gcj_jni_test_one): Likewise.
3199 (gcj_jni_invocation_compile_c_to_binary): Likewise.
3200 Add flags to keep the Darwin linker quiet.
3201 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
3202 Add -liconv for Darwin.
3204 2005-03-11 Tom Tromey <tromey@redhat.com>
3206 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3207 (_Jv_CheckABIVersion): Use it.
3209 2005-03-11 Tom Tromey <tromey@redhat.com>
3211 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
3212 (usage): Document '-p'.
3213 * Makefile.in: Rebuilt.
3214 * Makefile.am (dbexecdir): New variable.
3215 (db_name): Likewise.
3216 (dbexec_DATA): Likewise.
3217 ($(db_name)): New target.
3218 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
3219 * java/lang/natRuntime.cc (insertSystemProperties): Set default
3222 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3224 * exception.cc: Remove stray MethodRef.h include.
3225 * java/lang/natClass.cc: Likewise.
3226 * gnu/gcj/runtime/MethodRef.java: Removed.
3227 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3228 gnu/gcj/runtime/natStackTrace.cc: Really removed.
3229 * java/lang/natRuntime.cc (_load): Remove unsed variable.
3230 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
3231 * Makefile.in: Rebuilt.
3233 2005-03-10 Tom Tromey <tromey@redhat.com>
3235 * Makefile.in: Rebuilt.
3236 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
3238 2005-03-10 Chris Burdess <dog@bluezoo.org>
3240 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
3241 not currently parsing the DTD.
3243 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3245 New Stack Trace infrastructure.
3246 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
3247 (gnu/gcj/runtime/StackTrace.java): Removed.
3248 (ordinary_java_source_files): Remove obsolete files.
3249 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
3250 * configure.host (fallback_backtrace_h): Set backtrace header
3251 for mingw and cygwin targets.
3252 * configure.ac: Make symlink for fallback backtrace headers.
3253 * Makefile.in, configure: Rebuilt.
3254 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
3255 Read 'LineNumberTable' attribute.
3256 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
3258 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
3260 * exception.cc: Remove unused include.
3261 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
3262 (SAVE_PC): New macro. Save current PC in the interpreter frame.
3263 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
3264 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
3265 table to direct threaded instruction values.
3266 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
3267 (_Jv_InterpMethod::run): No longer member function. All
3268 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
3269 is made or where an instruction could throw.
3270 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3272 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3273 (catch_fpe): Likewise.
3274 * stacktrace.cc: New file. Stack trace code now here.
3275 * gnu/gcj/runtime/MethodRef.java:
3276 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3277 calls addr2line to look up PC addresses in a given binary or shared
3279 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3280 gnu/gcj/runtime/natStackTrace.cc: Removed.
3281 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3282 this function name is specially recognised by the stack trace code
3283 and shouldn't be changed.
3284 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3285 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
3286 (_Jv_InterpMethod::run): Update declaration.
3287 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3289 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3290 * include/java-stack.h: New file. Declarations for stack tracing.
3291 * include/jvm.h (_Jv_Frame_info): Removed.
3292 * java/lang/Class.h: Update friend declarations.
3293 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3295 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3296 (getStackTrace): Now native.
3297 (data): New RawDataManaged field.
3298 * java/lang/natClass.cc: Update includes.
3299 (forName): Use _Jv_StackTrace::GetCallingClass for
3300 calling-classloader check.
3301 (getClassLoader): Likewise.
3302 * java/lang/natRuntime.cc: Update includes.
3303 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3304 * java/lang/natVMSecurityManager.cc: Update includes.
3305 (getClassContext): Use _Jv_StackTrace::GetClassContext.
3306 * java/lang/natVMThrowable.cc: New file. Native methods for
3308 * java/lang/reflect/natArray.cc: Update includes.
3309 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3310 accessibility check.
3311 * java/lang/reflect/natConstructor.cc: Update includes.
3312 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3313 accessibility check.
3314 * java/lang/reflect/natField.cc: Update includes.
3315 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3316 accessibility check.
3317 * java/lang/reflect/natMethod.cc: Update includes.
3318 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3319 accessibility check.
3320 * java/util/natResourceBundle.cc: Update includes.
3321 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3322 * java/util/logging/natLogger.cc: Update includes. Use
3323 _Jv_StackTrace::GetCallerInfo to get call-site info.
3324 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3326 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3329 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3331 * testsuite/libjava.compile/PR20312.java: New file.
3332 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3333 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3335 2005-03-09 Andrew Haley <aph@redhat.com>
3337 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3339 (smallTransferTo): New.
3340 (transferFrom): Loop around smallTransferFrom, copying pageSize
3342 (transferTo): Likewise.
3344 2005-03-09 David Daney <ddaney@avtrex.com>
3347 Merge BufferedInputStream from GNU Classpath.
3348 * java/io/BufferedInputStream.java (marktarget): Field removed.
3349 (CHUNKSIZE): Field removed.
3350 (bufferSize): New field.
3351 (BufferedInputStream): Initialize fields.
3352 (close): Invalidate mark and buffer indexes.
3354 (read()): Move mark handling code to refill.
3355 (read(byte[], int, int)): Ditto.
3356 (skip): Ditto and simplify EOF testing.
3357 (refill): Rewritten.
3358 * java/io/InputStreamReader.java (refill): Removed mark and reset
3359 of internal BufferedInputStream.
3361 2005-03-09 Tom Tromey <tromey@redhat.com>
3363 * java/lang/natVMClassLoader.cc (defineClass): Reference
3364 'systemClassLoader' field directly.
3365 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3367 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3368 Reference 'systemClassLoader' field directly.
3369 (_Jv_UnregisterInitiatingLoader): Likewise.
3370 (_Jv_FindClass): Likewise.
3372 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3374 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3376 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3377 the file in GNU Classpath style.
3379 2005-03-09 Tom Tromey <tromey@redhat.com>
3381 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3382 (toString): Synchronize.
3384 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3386 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3387 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3389 2005-03-07 Tom Tromey <tromey@redhat.com>
3391 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3392 (usage): Document '-f'.
3394 2005-03-07 Tom Tromey <tromey@redhat.com>
3396 * java/lang/VMCompiler.java (md5Digest): New field.
3397 (compileClass): Clone md5Digest instead of looking up a new one.
3399 2005-03-07 Tom Tromey <tromey@redhat.com>
3402 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3403 * link.cc (find_field_helper): Added 'type' argument.
3404 (find_field): Updated.
3406 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3407 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3408 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3409 throw UnsupportedOperationException, fixed comments.
3410 (setFont, setForeground): Fixed comments.
3411 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3412 return type to boolean.
3413 (getNextEvent): Fixed javadocs.
3414 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3415 (nativeQueueEmpty): Removed unused code.
3416 (iterateNativeQueue): Removed outer loop.
3418 2005-03-06 Roger Sayle <roger@eyesopen.com>
3421 * Makefile.am (libgcj0_convenience.la): Revert last change.
3422 * Makefile.in: Regenerate.
3424 2005-03-05 Anthony Green <green@redhat.com>
3426 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3427 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3428 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3429 (_Jv_GetDrawingSurface): Set visualID.
3430 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3431 (JAWT_GetAWT): Set Lock and Unlock.
3432 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3434 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3435 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3436 JAWT_LOCK_SURFACE_CHANGED): New macros.
3437 (struct _JAWT): Add Lock and Unlock.
3439 2005-03-05 Roger Sayle <roger@eyesopen.com>
3440 Alexandre Oliva <aoliva@redhat.com>
3441 Kelley Cook <kcook@gcc.gnu.org>
3444 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3445 of the object files to link to avoid exceeding the command line
3446 length limits on some platforms.
3447 (clean-local): Clean up objectlist files.
3448 * Makefile.in: Regenerate.
3450 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3452 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3453 spec_case. Initialize pointer mlo.
3455 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3458 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3460 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3463 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3464 uninitialized variable z.
3466 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3467 possible unused variables.
3469 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3471 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3473 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3476 * testsuite/libjava.jni/jni.exp
3477 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3479 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3481 2005-02-23 David Daney <ddaney@avtrex.com>
3483 * configure.host: Don't use -mxgot for MIPS builds.
3485 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3488 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3489 (COMPPATH): Removed.
3490 (ZIP, GCJH): Replace it with ../$(host_subdir).
3491 (built_gcc_dir): Add $(host_subdir).
3492 * configure: Regenerate.
3493 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3494 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3495 external/w3c_dom/Makefile.in: Regenerate.
3497 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3499 * java/awt/font/TextAttribute.java: changed names to lower case;
3500 (readResolve): implemented.
3501 Added doc comments all over.
3503 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3506 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3507 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3508 value. Move argument parsing code to prims.cc.
3509 * prims.cc (no_properties): Remove.
3510 (_Jv_Compiler_Properties): Initialize to NULL.
3511 (_Jv_Properties_Count): Initialize to 0.
3512 (parse_verbose_args): New function.
3513 (parse_init_args): New function.
3514 (_Jv_CreateJavaVM): Call parse_init_args.
3515 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3516 * gcj/cni.h (JvVMOption): New struct.
3517 (JvVMInitArgs): Likewise.
3518 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3520 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3521 (_Jv_VMInitArgs): Likewise.
3522 * include/java-props.h (_Jv_Properties_Count): Declare.
3523 * java/lang/natRuntime.cc (insertSystemProperties): Use
3524 _Jv_Properties_Count in for loop exit condition.
3525 * testsuite/libjava.jni/jni.exp
3526 (gcj_invocation_compile_c_to_binary): New procedure.
3527 (gcj_invocation_test_one): Likewise.
3528 (gcj_jni_run): Run JNI invocation API tests.
3529 * testsuite/libjava.jni/invocation/PR16923.c,
3530 testsuite/libjava.jni/invocation/PR16923.java,
3531 testsuite/libjava.jni/invocation/PR16923.out: New test.
3533 2005-02-23 Michael Koch <konqueror@gmx.de>
3535 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3536 * Makefile.in: Regenerated.
3538 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3540 * gnu/java/nio/ChannelReader: Fixed comments.
3542 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3544 * java/nio/channels/Channels: Added FIXMEs about
3545 stub method implementation.
3546 (newReader): Implemented.
3547 * gnu/java/nio/ChannelReader: New class.
3549 2005-02-23 Michael Koch <konqueror@gmx.de>
3551 * java/text/SimpleDateFormat.java:
3552 Removed unused import.
3554 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3557 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3558 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3559 * Makefile.in: Regenerate.
3560 * configure.ac: Check for libXtst.
3561 * configure: Regenerate.
3563 2005-02-22 Mark Wielaard <address@bogus.example.com>
3565 * java/security/AlgorithmParameterGenerator.java (getInstance):
3566 Mention provider when throwing NoSuchProviderException.
3567 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3568 * java/security/KeyFactory.java (getInstance): Likewise.
3569 * java/security/KeyStore.java (getInstance): Likewise.
3570 * java/security/SecureRandom.java (getInstance): Likewise.
3571 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3573 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3575 * java/lang/reflect/Proxy.java,
3577 java/security/SecureRandom.java,
3578 java/util/Timer.java,
3579 java/util/prefs/AbstractPreferences.java:
3580 Don't catch java.lang.ThreadDeath.
3582 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3584 * java/awt/font/TransformAttribute.java,
3585 (TransformAttribute(AffineTransform)): throw
3586 IllegalArgumentException for null transform.
3587 (getTransform): return a copy of transform.
3588 Added doc comments to all.
3590 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3592 * java/io/Externalizable.java,
3593 java/io/Serializable.java
3594 (serialVersionUID): Removed.
3595 * java/rmi/server/RemoteObject.java,
3596 java/rmi/server/UID.java
3597 (serialVersionUID): Made private.
3598 * java/rmi/server/RemoteRef.java,
3599 java/rmi/server/ServerRef.java
3600 (serialVersionUID): Set proper value.
3601 * java/security/interfaces/DSAPrivateKey.java,
3602 java/security/interfaces/DSAPublicKey.java,
3603 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3604 java/security/interfaces/RSAPrivateCrtKey.java,
3605 java/security/interfaces/RSAPrivateKey.java,
3606 java/security/interfaces/RSAPublicKey.java,
3607 javax/crypto/SecretKey.java
3608 (serialVersionUID): Added.
3610 2005-02-22 Tom Tromey <tromey@redhat.com>
3612 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3614 2005-02-22 Tom Tromey <tromey@redhat.com>
3617 * verify.cc (type::EITHER): New constant.
3618 (check_field_constant): Use it.
3619 (type::compatible): Handle it.
3621 2005-02-22 Michael Koch <konqueror@gmx.de>
3623 * gnu/java/security/PolicyFile.java,
3624 gnu/java/security/pkcs/PKCS7SignedData.java,
3625 gnu/java/security/pkcs/SignerInfo.java:
3626 Fixed copyright header.
3628 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3630 * java/beans/PropertyDescriptor.java
3631 (PropertyDescriptor,setReadMethod): Set propertyType.
3633 2005-02-22 Michael Koch <konqueror@gmx.de>
3635 * java/nio/DirectByteBufferImpl.java
3636 (owner): Fixed formatting of javadoc.
3637 * java/text/DateFormat.java
3638 (getAvailableLocales): Fixed formatting.
3639 * java/text/SimpleDateFormat.java:
3640 Fixed formatting and import statement order.
3641 * java/util/Calendar.java
3642 (Calendar): Fixed javadoc to be HTML compliant.
3643 * java/util/SimpleTimeZone.java:
3646 2005-02-22 Roman Kennke <roman@ontographics.com>
3648 * javax/swing/plaf/basic/BasicLookAndFeel.java
3649 (initComponentDefaults): Fixed Button left and right margin.
3651 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3653 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3657 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3658 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3659 (getWidth): New method.
3660 (getHeight): Likewise.
3661 (create): Remove width, height and insets parameters. Move size
3663 (realize_cb): ... here. New function.
3664 (connectSignals): Connect realize_cb.
3665 (request_frame_extents): Remove FIXME. Move
3666 postInsetsChangedEvent lookup ...
3667 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3668 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3669 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3671 (windowGetWidthID): Likewise.
3672 (windowGetHeightID): Likewise.
3674 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3677 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3678 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3680 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3682 Merge serialization from GNU Classpath.
3683 * gcj/method.h: Add missing #includes.
3684 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3685 primitive class IDs on the stream here...
3686 (resolveClass): ...not here.
3687 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3689 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3690 setLongNative, setIntNative, setShortNative, setCharNative,
3691 setByteNative, setBooleanNative, setObjectNative): New native methods.
3692 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3693 setLongNative, setIntNative, setShortNative, setCharNative,
3694 setByteNative, setBooleanNative, setObjectNative): Implement them.
3695 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3696 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3697 the constructor here.
3698 (callConstructor): Removed.
3699 (getCallersClassLoader): Removed.
3700 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3701 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3702 to control whether setting final field values is permitted. Call
3703 getAddr() with checkFinal parameter instead of setAddr().
3704 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3705 only if not done already.
3706 (getAddr): Add checkFinal parameter. Do the final field check only if
3710 2005-02-21 Mark Wielaard <mark@klomp.org>
3713 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3716 2005-02-21 Mark Wielaard <mark@klomp.org>
3719 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3720 without a super class and us ObjectStreamClass.lookupForClassObject().
3721 (resolveClass): Check for primitive types.
3722 (lookupClass): Return null when argument is null.
3724 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3726 * java/io/ObjectInputStream.java
3727 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3729 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3731 * java/io/ObjectOutputStream.java
3732 (writeObject, callWriteMethod): Replaced reflection with accessing
3733 cached info in ObjectStreamClass.
3734 (getMethod): Removed.
3735 * java/io/ObjectStreamClass.java
3736 (findMethod): Added check to make sure the method found has the
3738 (cacheMethods): Added writeReplace and writeObject methods.
3739 (setFlags): Look at new writeObjectMethod field instead of doing
3741 (writeReplaceMethod): New field.
3742 (writeObjectMethod): New field.
3744 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3745 Jeroen Frijters <jeroen@frijters.net>
3747 * java/io/ObjectInputStream.java
3748 (newObject): Changed prototype. Get a constructor reflect object
3750 (callConstructor): Removed.
3751 (allocateObject): Changed prototype.
3752 (readClassDescriptor): Build the constructor reflection directly.
3753 (readObject): Invoke newObject using the new prototype.
3755 * java/io/ObjectStreamClass.java
3756 (firstNonSerializableParent): Removed.
3757 (firstNonSerializableParentConstructor): Added.
3759 2005-02-21 Mark Wielaard <mark@klomp.org>
3761 * gnu/java/locale/LocaleInformation_en.java: Extend
3762 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3764 2005-02-21 Mark Wielaard <mark@klomp.org>
3766 * java/text/SimpleDateFormat.java
3767 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3768 NullPointerException when formatData is null.
3770 2005-02-21 Mark Wielaard <mark@klomp.org>
3772 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3773 taking dstSavings into account.
3775 2005-02-21 Sven de Marothy <sven@physto.se>
3777 * java/text/SimpleDateFormat.java,
3778 (parse): Set correct DST_OFFSET to the correct value.
3780 2005-02-21 Mark Wielaard <mark@klomp.org>
3782 * java/util/SimpleTimeZone.java (checkRule): Throw
3783 IllegalArgumentException when month out of range.
3785 2005-02-21 Sven de Marothy <sven@physto.se>
3787 * java/util/GregorianCalendar.java,
3788 (add): Don't set fields directly anymore. Use set()
3790 2005-02-21 Mark Wielaard <mark@klomp.org>
3792 * java/text/SimpleDateFormat.java (CompiledField.toString):
3793 Use StringBuffer, not StringBuilder.
3794 (toString): Likewise.
3796 2005-02-21 Sven de Marothy <sven@physto.se>
3798 * java/util/Calendar.java
3799 (clear): Dates should clear to local time.
3800 * java/util/GregorianCalendar.java
3801 (computeTime): Fix priority problem with DAY_OF_WEEK,
3802 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3804 2005-02-21 Sven de Marothy <sven@physto.se>
3806 * java/util/Calendar.java
3807 (Calendar): Constructor should clear fields.
3809 2005-02-21 Sven de Marothy <sven@physto.se>
3811 * java/text/SimpleDateFormat.java
3812 (parse): Tweak handling of 2-year dates
3813 * java/util/Calendar.java
3814 (clear): Clear fields to correct value.
3815 * java/util/GregorianCalendar.java
3816 (computeTime): Correct handling of time zones.
3817 Correct field minimum values.
3819 2005-02-21 Sven de Marothy <sven@physto.se>
3821 * java/util/Calendar.java
3822 (set) Invalidate all fields on first call to set().
3824 2005-02-21 Sven de Marothy <sven@physto.se>
3826 * java/util/GregorianCalendar.java
3827 (computeTime): Fixed handling of time zones.
3829 2005-02-21 Sven de Marothy <sven@physto.se>
3831 * java/util/Calendar.java
3832 (clear): Set values to Epoch instead of zero.
3833 (set): Set isSet to the relevant field pattern instead of just
3835 * java/util/GregorianCalendar.java
3836 (getBundle): Removed.
3837 (getDayOfYear): Removed.
3838 (getFirstDayOfMonth): New private method.
3839 (nonLeniencyCheck): New private method.
3840 (computeTime): Correct handling of insufficient data.
3842 2005-02-21 Sven de Marothy <sven@physto.se>
3844 * java/util/Calendar.java: Invalidate ERA field on setting
3846 * java/util/SimpleTimeZone.java:
3847 (getDaysInMonth): Reimplemented.
3848 * java/util/GregorianCalendar.java:
3849 (getLinearTime): Removed.
3850 (isLeapYear(int,boolean)): Removed.
3851 (before(), after()): Removed.
3852 (computeTime): Reimplemented.
3854 2005-02-21 Sven de Marothy <sven@physto.se>
3856 * java/util/Calendar.java: Reformatted.
3857 * java/util/GregorianCalendar.java: Reformatted.
3858 * java/util/SimpleTimeZone.java: Reformatted.
3860 2005-02-21 Sven de Marothy <sven@physto.se>
3862 * java/util/GregorianCalendar.java
3863 (GregorianCalendar): Update fields in the constructor
3865 2005-02-21 Noa Resare <noa@resare.com>
3867 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3868 (set(int,int)): Set and use new field.
3869 (set(int,int,int)): Check new field.
3871 2005-02-21 Noa Resare <address@hidden>
3873 * java/util/Calendar.java(set):
3874 Fix for DST related regression.
3876 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3878 * java/util/Calendar.java
3879 (setTimeInMillis): Added call to clear, removed computeFields call.
3880 * java/util/Date.java
3881 (Date(int,int,int,int,int,int)): Removed workaround for
3882 GregorianCalendar bug.
3883 * java/util/GregorianCalendar.java
3884 (GregorianCalendar): Chained all constructors to a (new)
3886 (computeTime): Fixed support for lenient month treatment.
3887 (getLinearDay): Return long instead of int.
3888 (calculateDay): Added fields argument and changed day argument
3891 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3893 * java/text/SimpleDateFormat.java
3894 Lots of documentation updates.
3895 (readObject(java.io.ObjectInputStream)): Wraps
3896 IllegalArgumentException as specified.
3897 (compileFormat(String)): Uses standardChars
3898 rather than the local pattern characters.
3899 Throws IllegalArgumentException rather than
3901 (toString()): Extended to include all variables
3903 (translateLocalizedPattern(String, String, String)):
3904 Renamed to better define the use of this method.
3906 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3908 * java/text/DateFormat.java:
3909 Documented pattern character offset constants and
3911 (Field): Added new static fields for new pattern chars.
3912 * java/text/SimpleDateFormat.java:
3913 (CompiledField): Changed name of FieldSizePair class
3914 to CompiledField after adding the character as an
3915 attribute. Changed fields to private and added
3916 accessors to give encapsulation.
3917 (CompiledField.CompiledField(int,int,char)): Extended
3918 with character field.
3919 (CompiledField.getField()): New accessor method.
3920 (CompiledField.getSize()): New acceessor method.
3921 (CompiledField.getCharacter()): New accessor method.
3922 (CompiledField.toString()): Added primarily for debugging.
3923 (standardChars): Now uses extended 24 character sequence.
3924 (compileFormat(String)): Changed to use CompiledField.
3925 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3926 java.text.FieldPosition)): Changed to use CompiledField.
3927 New handler for RFC 822 timezones added.
3929 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3931 * java/text/SimpleDateFormat.java:
3932 (parse(String, java.text.ParsePosition)):
3933 Changed 'E' and 'M' cases to use both
3934 short and long names. Extended 'z'
3935 case to also handle 'Z', and deal
3936 with simple GMT offsets such as +0100.
3937 (computeOffset(String)): New private method,
3938 which converts a GMT offset specification,
3939 such as GMT-0500 to a numeric offset in
3941 * java/util/TimeZone.java:
3942 (timezones()): Added "CEST", the daylight
3943 savings time version of "CET", or Central
3946 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3948 * java/text/SimpleDateFormat.java:
3949 (parse): Set the DST offset to 0 when parsing
3950 GMT offset timezones.
3952 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3954 * java/text/SimpleDateFormat.java:
3955 (parse): Use offset to set ZONE_OFFSET
3956 rather than the DST_OFFSET, so that
3957 GMT offset timezones change the right
3960 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3962 * java/text/SimpleDateFormat.java:
3963 (getDateFormatSymbols()): return a copy
3964 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3965 throw exception on null input
3966 (clone()): implemented to clone
3969 2005-02-21 Sven de Marothy <sven@physto.se>
3971 * java/text/SimpleDateFormat.java
3972 (parse): comparison should be case-insensitive, ignore null
3975 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3977 * gnu/java/beans/IntrospectionIncubator.java
3978 (addMethod) Reverts the patch that ntroduced a regression (see bug
3979 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3981 2005-02-21 Michael Koch <konqueror@gmx.de>
3983 * java/awt/Checkbox.java
3984 (next_checkbox_number): New static variable.
3985 (generateName): New method.
3986 (getUniqueLong): Likewise.
3987 * java/awt/Window.java
3988 (next_window_number): New static variable.
3989 (generateName): New method.
3990 (getUniqueLong): Likewise.
3992 2005-02-21 Mark Wielaard <mark@klomp.org>
3994 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3997 2005-02-21 Andrew Haley <aph@redhat.com>
3999 * Makefile.in: Rebuilt.
4000 * Makefile.am (nat_source_files): Added natLogger.cc.
4001 * java/util/logging/natLogger.cc: New file.
4002 * java/util/logging/Logger.java (getCallerStackFrame): Now
4005 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
4007 * Makefile.am (all_property_files): Remove left over.
4008 (classes.stamp): Add stamp for the ONESTEP build, also known as
4009 --enable-libgcj-multifile.
4010 * Makefile.in: Regenerated.
4012 2005-02-21 Michael Koch <konqueror@gmx.de>
4014 * java/awt/Button.java,
4015 java/awt/Container.java,
4017 java/awt/Frame.java,
4018 java/text/CollationElementIterator.java,
4019 java/text/RuleBasedCollator.java,
4020 java/util/PropertyPermission.java:
4021 Fixed formatting issues all over.
4023 2005-02-21 Mark Wielaard <mark@klomp.org>
4025 * java/io/FileDescriptor.java (sync): Add real exception to
4026 SyncFailedException.
4028 2005-02-21 Michael Koch <konqueror@gmx.de>
4030 * java/io/InputStreamReader.java:
4033 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
4036 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
4038 2005-02-20 Dalibor Topic <robilad@kaffe.org>
4040 * libraries/javalib/gnu/regexp/RE.java,
4041 libraries/javalib/java/io/ObjectInputStream.java,
4042 libraries/javalib/java/security/AllPermission.java,
4043 libraries/javalib/java/security/BasicPermission.java,
4044 libraries/javalib/java/security/Permissions.java,
4045 libraries/javalib/java/text/MessageFormat.java:
4046 Made 'inner' classes real public static inner classes,
4047 and made them final where possible, or removed them
4050 2005-02-20 Michael Koch <konqueror@gmx.de>
4052 * gnu/java/text/FormatCharacterIterator.java:
4053 Removed redundant modifiers.
4055 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4057 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
4060 2005-02-19 Michael Koch <konqueror@gmx.de>
4062 * Makefile.am: Added new files in gnu/java/beans and
4063 java/beans/XMLDecoder.java.
4064 * Makefile.in: Regenerated.
4066 2005-02-19 Robert Schuster <thebohemian@gmx.net>
4068 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
4069 assignment behavior by using java.lang.reflect.Array.set()
4072 2005-02-19 Dalibor Topic <robilad@kaffe.org>
4074 * gnu/java/beans/EmptyBeanInfo.java,
4075 gnu/java/beans/info/ComponentBeanInfo.java:
4076 Removed unused files.
4078 2005-02-19 Robert Schuster <thebohemian@gmx.net>
4080 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
4081 of AppletStub for java.beans.Beans.instantiate.
4082 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
4084 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
4085 to be conformant with Javadoc guidelines.
4086 (instantiate): Added two more overloaded variants, reworked user
4087 documentation, fixed exception behavior, fixed behavior when
4090 2005-02-19 Mark Wielaard <mark@klomp.org>
4092 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
4094 * gnu/java/beans/decoder/DummyContext.java: Likewise.
4096 2005-02-19 Robert Schuster <theBohemian@gmx.net>
4098 * gnu/java/beans/decoder/AbstractContext.java,
4099 gnu/java/beans/decoder/AbstractCreatableContext.java,
4100 gnu/java/beans/decoder/AbstractElementHandler.java,
4101 gnu/java/beans/decoder/AbstractObjectContext.java,
4102 gnu/java/beans/decoder/ArrayContext.java,
4103 gnu/java/beans/decoder/ArrayHandler.java,
4104 gnu/java/beans/decoder/AssemblyException.java,
4105 gnu/java/beans/decoder/BooleanHandler.java,
4106 gnu/java/beans/decoder/ByteHandler.java,
4107 gnu/java/beans/decoder/CharHandler.java,
4108 gnu/java/beans/decoder/ClassHandler.java,
4109 gnu/java/beans/decoder/ConstructorContext.java,
4110 gnu/java/beans/decoder/Context.java,
4111 gnu/java/beans/decoder/DecoderContext.java,
4112 gnu/java/beans/decoder/DefaultExceptionListener.java,
4113 gnu/java/beans/decoder/DoubleHandler.java,
4114 gnu/java/beans/decoder/DummyContext.java,
4115 gnu/java/beans/decoder/DummyHandler.java,
4116 gnu/java/beans/decoder/ElementHandler.java,
4117 gnu/java/beans/decoder/FloatHandler.java,
4118 gnu/java/beans/decoder/GrowableArrayContext.java,
4119 gnu/java/beans/decoder/IndexContext.java,
4120 gnu/java/beans/decoder/IntHandler.java,
4121 gnu/java/beans/decoder/JavaHandler.java,
4122 gnu/java/beans/decoder/LongHandler.java,
4123 gnu/java/beans/decoder/MethodContext.java,
4124 gnu/java/beans/decoder/MethodFinder.java,
4125 gnu/java/beans/decoder/NullHandler.java,
4126 gnu/java/beans/decoder/ObjectContext.java,
4127 gnu/java/beans/decoder/ObjectHandler.java,
4128 gnu/java/beans/decoder/PersistenceParser.java,
4129 gnu/java/beans/decoder/PropertyContext.java,
4130 gnu/java/beans/decoder/ShortHandler.java,
4131 gnu/java/beans/decoder/SimpleHandler.java,
4132 gnu/java/beans/decoder/StaticMethodContext.java,
4133 gnu/java/beans/decoder/StringHandler.java,
4134 gnu/java/beans/decoder/VoidHandler.java: New class
4135 implementing java.beans.XMLDecoder decoding functionality.
4136 * java/beans/XMLDecoder.java: New class.
4138 2005-02-19 Michael Koch <konqueror@gmx.de>
4140 * javax/swing/JTextField.java
4141 (notfiyAction): Added javadoc.
4143 2005-02-19 Sven de Marothy <sven@physto.se>
4145 * javax/swing/SpinnerDateModel.java: Implemented.
4147 2005-02-19 Michael Koch <konqueror@gmx.de>
4149 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
4150 * Makefile.in: Regenerated.
4152 2005-02-19 Michael Koch <konqueror@gmx.de>
4154 * gnu/java/nio/SelectorImpl.java:
4155 Reworked import statements.
4156 (register): Removed unused code.
4157 * java/nio/channels/Channels.java: Reformatted.
4158 * java/nio/charset/Charset.java: Likewise.
4159 * java/rmi/server/RemoteObject.java
4160 (serialVersionUID): Made private.
4161 * java/rmi/server/UID.java
4162 (serialVersionUID): Likewise.
4164 2005-02-19 Michael Koch <konqueror@gmx.de>
4166 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
4167 gnu/java/net/protocol/ftp/BlockInputStream.java,
4168 gnu/java/net/protocol/ftp/BlockOutputStream.java,
4169 gnu/java/net/protocol/ftp/CompressedInputStream.java,
4170 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
4171 gnu/java/net/protocol/ftp/DTPInputStream.java,
4172 gnu/java/net/protocol/ftp/DTP.java,
4173 gnu/java/net/protocol/ftp/DTPOutputStream.java,
4174 gnu/java/net/protocol/ftp/FTPConnection.java,
4175 gnu/java/net/protocol/ftp/FTPException.java,
4176 gnu/java/net/protocol/ftp/FTPResponse.java,
4177 gnu/java/net/protocol/ftp/FTPURLConnection.java,
4178 gnu/java/net/protocol/ftp/Handler.java,
4179 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
4180 gnu/java/net/protocol/ftp/StreamInputStream.java,
4181 gnu/java/net/protocol/ftp/StreamOutputStream.java,
4182 gnu/java/net/CRLFInputStream.java,
4183 gnu/java/net/CRLFOutputStream.java,
4184 gnu/java/net/GetLocalHostAction.java,
4185 gnu/java/net/protocol/ftp/package.html: New files.
4186 * Makefile.am: Added new files.
4187 * Makefile.in: Regenerated.
4189 2005-02-18 Tom Tromey <tromey@redhat.com>
4191 * link.cc (make_vtable): Remove abstract method check.
4192 (append_partial_itable): Likewise.
4195 * verify.cc (type::equals): Fixed test.
4196 * testsuite/libjava.lang/PR20056.out: New file.
4197 * testsuite/libjava.lang/PR20056.java: New file.
4199 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
4201 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
4202 not the HashEntry. Reported by Jean-Marie White.
4204 2005-02-18 Tom Tromey <tromey@redhat.com>
4207 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
4208 * link.cc (has_field_p): New function.
4209 * verify.cc (check_field_constant): Added 'putfield' argument.
4210 (verify_instructions_0): Updated.
4211 (type::equals): New method.
4213 2005-02-18 Anthony Green <green@redhat.com>
4215 * NEWS: Draft of libgcj NEWS for 4.0.
4217 2005-02-18 Anthony Green <green@redhat.com>
4219 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
4220 architecture names to "i386" for compatibility reasons. Win32
4223 2005-02-18 Anthony Green <green@redhat.com>
4225 * gij.cc (version): Change year for '--version' to 2005.
4226 * gnu/gcj/convert/Convert.java: Ditto.
4227 * gnu/java/rmi/rmic/RMIC.java: Ditto.
4228 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
4230 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
4231 recent copyright year in `--version' output.
4233 2005-02-18 Robert Schuster <thebohemian@gmx.net>
4235 * java/nio/charset/Charset.java (forName): Throws
4236 IllegalArgumentException when argument is null
4237 and added documentation.
4239 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4241 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
4242 Move the position of the source buffer forward.
4244 2005-02-17 Tom Tromey <tromey@redhat.com>
4246 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
4247 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
4248 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
4249 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
4250 Changed type of second argument. Rewrote.
4251 (make_vtable): Use it.
4252 (append_partial_itable): Updated.
4253 (layout_vtable_methods): Updated.
4255 2005-02-17 Michael Koch <konqueror@gmx.de>
4257 * gnu/java/net/PlainSocketImpl.java
4258 (shutdownInput): Added javadoc.
4259 (shutdownOutput): Likewise.
4261 2005-02-17 Michael Koch <konqueror@gmx.de>
4263 * javax/print/attribute/standard/Chromaticity.java,
4264 javax/print/attribute/standard/Destination.java,
4265 javax/print/attribute/standard/MediaPrintableArea.java,
4266 javax/print/attribute/standard/MediaSize.java: New files.
4267 * Makefile.am: Added new files.
4268 * Makefile.in: Regenerated.
4270 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
4271 Michael Koch <konqueror@gmx.de>
4273 * gnu/java/net/protocol/http/Cookie.java,
4274 gnu/java/net/protocol/http/HTTPConnection.java,
4275 gnu/java/net/protocol/http/HTTPDateFormat.java,
4276 gnu/java/net/protocol/http/Request.java,
4277 gnu/java/nio/PipeImpl.java,
4278 gnu/java/rmi/dgc/DGCImpl.java,
4279 gnu/java/rmi/server/ConnectionRunnerPool.java,
4280 gnu/java/rmi/server/UnicastConnectionManager.java,
4281 gnu/java/security/der/DERWriter.java,
4282 gnu/java/security/pkcs/SignerInfo.java,
4283 gnu/java/security/provider/EncodedKeyFactory.java,
4284 gnu/java/security/provider/GnuDHPublicKey.java,
4285 gnu/java/security/provider/GnuDSAPrivateKey.java,
4286 gnu/java/security/provider/GnuDSAPublicKey.java,
4287 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4288 gnu/java/security/x509/X500DistinguishedName.java,
4289 gnu/java/security/x509/X509CRL.java,
4290 gnu/java/security/x509/X509CRLEntry.java,
4291 gnu/java/security/x509/X509Certificate.java,
4292 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4293 gnu/java/security/x509/ext/CertificatePolicies.java,
4294 gnu/java/security/x509/ext/PolicyConstraint.java,
4295 gnu/xml/dom/Consumer.java,
4296 gnu/xml/dom/DomCharacterData.java,
4297 gnu/xml/dom/DomDocument.java,
4298 gnu/xml/dom/DomDocumentBuilder.java,
4299 gnu/xml/dom/DomIterator.java,
4300 gnu/xml/dom/DomNode.java,
4301 gnu/xml/dom/DomXPathExpression.java,
4302 gnu/xml/dom/DomXPathResult.java,
4303 gnu/xml/dom/JAXPFactory.java,
4304 gnu/xml/pipeline/CallFilter.java,
4305 gnu/xml/pipeline/DomConsumer.java,
4306 gnu/xml/pipeline/LinkFilter.java,
4307 gnu/xml/pipeline/NSFilter.java,
4308 gnu/xml/pipeline/TeeConsumer.java,
4309 gnu/xml/pipeline/ValidationConsumer.java,
4310 gnu/xml/pipeline/WellFormednessFilter.java,
4311 gnu/xml/pipeline/XIncludeFilter.java,
4312 gnu/xml/pipeline/XsltFilter.java,
4313 gnu/xml/transform/ApplyImportsNode.java,
4314 gnu/xml/transform/Bindings.java,
4315 gnu/xml/transform/DocumentFunction.java,
4316 gnu/xml/transform/FormatNumberFunction.java,
4317 gnu/xml/transform/NodeNumberNode.java,
4318 gnu/xml/transform/NumberNode.java,
4319 gnu/xml/transform/Stylesheet.java,
4320 gnu/xml/transform/SystemPropertyFunction.java,
4321 gnu/xml/transform/Template.java,
4322 gnu/xml/transform/TemplatesImpl.java,
4323 gnu/xml/transform/TransformerImpl.java,
4324 gnu/xml/transform/ValueOfNode.java,
4325 gnu/xml/transform/XSLURIResolver.java,
4326 gnu/xml/util/DoParse.java,
4327 gnu/xml/util/Resolver.java,
4328 gnu/xml/xpath/Expr.java,
4329 gnu/xml/xpath/FunctionCall.java,
4330 gnu/xml/xpath/RelationalExpr.java,
4331 gnu/xml/xpath/Selector.java,
4332 gnu/xml/xpath/XPathParser.java:
4333 Reworked import statements, fixed modifier order and some little
4336 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4338 * java/nio/ByteBufferImpl.java (compact):
4339 Set position and limit even if no bytes were moved.
4341 2005-02-17 Michael Koch <konqueror@gmx.de>
4343 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4344 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4345 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4346 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4347 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4348 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4349 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4350 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4351 * java/nio/FloatBufferImpl.java (compact): Set position.
4352 * java/nio/CharBufferImpl.java (compact): Likewise.
4353 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4354 * java/nio/IntBufferImpl.java (compact): Likewise.
4355 * java/nio/LongBufferImpl.java (compact): Likewise.
4356 * java/nio/ShortBufferImpl.java (compact): Likewise.
4358 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4360 * java/nio/ByteBufferImpl.java,
4361 java/nio/CharBufferImpl.java,
4362 java/nio/DirectByteBufferImpl.java,
4363 java/nio/DoubleBufferImpl.java,
4364 java/nio/FloatBufferImpl.java,
4365 java/nio/IntBufferImpl.java,
4366 java/nio/LongBufferImpl.java,
4367 java/nio/MappedByteBufferImpl.java,
4368 java/nio/ShortBufferImpl.java
4369 (compact): Added explicit read-only check and invalidate mark.
4371 2005-02-17 Michael Koch <konqueror@gmx.de>
4373 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4374 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4375 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4376 gnu/java/awt/peer/gtk/GdkGraphics.java,
4377 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4378 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4379 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4380 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4381 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4382 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4383 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4384 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4385 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4386 gnu/java/awt/peer/gtk/GtkClipboard.java,
4387 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4388 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4389 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4390 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4391 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4392 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4393 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4394 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4395 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4396 gnu/java/awt/peer/gtk/GtkToolkit.java,
4397 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4398 java/applet/Applet.java,
4399 java/awt/AWTError.java,
4400 java/awt/AWTEvent.java,
4401 java/awt/AWTEventMulticaster.java,
4402 java/awt/AWTException.java,
4403 java/awt/AWTKeyStroke.java,
4404 java/awt/AWTPermission.java,
4405 java/awt/ActiveEvent.java,
4406 java/awt/Adjustable.java,
4407 java/awt/AlphaComposite.java,
4408 java/awt/AttributeValue.java,
4409 java/awt/BorderLayout.java,
4410 java/awt/BufferCapabilities.java,
4411 java/awt/Button.java,
4412 java/awt/Canvas.java,
4413 java/awt/CheckboxGroup.java,
4414 java/awt/CheckboxMenuItem.java,
4415 java/awt/Color.java,
4416 java/awt/ColorPaintContext.java,
4417 java/awt/Component.java,
4418 java/awt/ComponentOrientation.java,
4419 java/awt/Composite.java,
4420 java/awt/CompositeContext.java,
4421 java/awt/Container.java,
4422 java/awt/ContainerOrderFocusTraversalPolicy.java,
4423 java/awt/DefaultFocusTraversalPolicy.java,
4424 java/awt/Dialog.java,
4425 java/awt/Dimension.java,
4426 java/awt/DisplayMode.java,
4427 java/awt/EventQueue.java,
4428 java/awt/FileDialog.java,
4429 java/awt/FontFormatException.java,
4430 java/awt/Graphics.java,
4431 java/awt/Graphics2D.java,
4432 java/awt/GraphicsConfigTemplate.java,
4433 java/awt/GraphicsConfiguration.java,
4434 java/awt/GraphicsDevice.java,
4435 java/awt/GridBagLayout.java,
4436 java/awt/GridBagLayoutInfo.java,
4437 java/awt/GridLayout.java,
4438 java/awt/HeadlessException.java,
4439 java/awt/IllegalComponentStateException.java,
4440 java/awt/Image.java,
4441 java/awt/Insets.java,
4442 java/awt/ItemSelectable.java,
4443 java/awt/JobAttributes.java,
4444 java/awt/KeyEventDispatcher.java,
4445 java/awt/KeyEventPostProcessor.java,
4446 java/awt/KeyboardFocusManager.java,
4447 java/awt/Label.java,
4448 java/awt/LayoutManager.java,
4449 java/awt/MenuBar.java,
4450 java/awt/MenuComponent.java,
4451 java/awt/MenuContainer.java,
4452 java/awt/PageAttributes.java,
4453 java/awt/Paint.java,
4454 java/awt/PaintContext.java,
4455 java/awt/Panel.java,
4456 java/awt/Point.java,
4457 java/awt/Polygon.java,
4458 java/awt/PrintGraphics.java,
4459 java/awt/PrintJob.java,
4460 java/awt/Rectangle.java,
4461 java/awt/RenderingHints.java,
4462 java/awt/Shape.java,
4463 java/awt/Stroke.java,
4464 java/awt/SystemColor.java,
4465 java/awt/Toolkit.java,
4466 java/awt/Transparency.java,
4467 java/awt/Window.java,
4468 java/awt/color/CMMException.java,
4469 java/awt/color/ColorSpace.java,
4470 java/awt/color/ICC_ColorSpace.java,
4471 java/awt/color/ICC_Profile.java,
4472 java/awt/color/ProfileDataException.java,
4473 java/awt/datatransfer/FlavorTable.java,
4474 java/awt/datatransfer/MimeTypeParseException.java,
4475 java/awt/datatransfer/Transferable.java,
4476 java/awt/datatransfer/UnsupportedFlavorException.java,
4477 java/awt/dnd/Autoscroll.java,
4478 java/awt/dnd/DnDConstants.java,
4479 java/awt/dnd/DragGestureListener.java,
4480 java/awt/dnd/DragSourceAdapter.java,
4481 java/awt/dnd/DragSourceDropEvent.java,
4482 java/awt/dnd/DragSourceListener.java,
4483 java/awt/dnd/DragSourceMotionListener.java,
4484 java/awt/dnd/DropTargetAdapter.java,
4485 java/awt/dnd/DropTargetContext.java,
4486 java/awt/dnd/DropTargetListener.java,
4487 java/awt/dnd/InvalidDnDOperationException.java,
4488 java/awt/dnd/MouseDragGestureRecognizer.java,
4489 java/awt/dnd/peer/DropTargetContextPeer.java,
4490 java/awt/event/AWTEventListener.java,
4491 java/awt/event/AWTEventListenerProxy.java,
4492 java/awt/event/ActionEvent.java,
4493 java/awt/event/AdjustmentEvent.java,
4494 java/awt/event/AdjustmentListener.java,
4495 java/awt/event/ComponentAdapter.java,
4496 java/awt/event/ComponentEvent.java,
4497 java/awt/event/ComponentListener.java,
4498 java/awt/event/ContainerAdapter.java,
4499 java/awt/event/ContainerEvent.java,
4500 java/awt/event/ContainerListener.java,
4501 java/awt/event/FocusAdapter.java,
4502 java/awt/event/FocusEvent.java,
4503 java/awt/event/FocusListener.java,
4504 java/awt/event/InputEvent.java,
4505 java/awt/event/InputMethodEvent.java,
4506 java/awt/event/InputMethodListener.java,
4507 java/awt/event/InvocationEvent.java,
4508 java/awt/event/ItemEvent.java,
4509 java/awt/event/ItemListener.java,
4510 java/awt/event/KeyAdapter.java,
4511 java/awt/event/KeyEvent.java,
4512 java/awt/event/KeyListener.java,
4513 java/awt/event/MouseAdapter.java,
4514 java/awt/event/MouseEvent.java,
4515 java/awt/event/MouseListener.java,
4516 java/awt/event/MouseMotionAdapter.java,
4517 java/awt/event/MouseMotionListener.java,
4518 java/awt/event/MouseWheelEvent.java,
4519 java/awt/event/MouseWheelListener.java,
4520 java/awt/event/PaintEvent.java,
4521 java/awt/event/TextEvent.java,
4522 java/awt/event/TextListener.java,
4523 java/awt/event/WindowAdapter.java,
4524 java/awt/event/WindowEvent.java,
4525 java/awt/event/WindowFocusListener.java,
4526 java/awt/event/WindowListener.java,
4527 java/awt/event/WindowStateListener.java,
4528 java/awt/font/TextHitInfo.java,
4529 java/awt/geom/CubicCurve2D.java,
4530 java/awt/geom/Dimension2D.java,
4531 java/awt/geom/Ellipse2D.java,
4532 java/awt/geom/IllegalPathStateException.java,
4533 java/awt/geom/Line2D.java,
4534 java/awt/geom/NoninvertibleTransformException.java,
4535 java/awt/geom/PathIterator.java,
4536 java/awt/geom/Point2D.java,
4537 java/awt/geom/QuadCurve2D.java,
4538 java/awt/geom/RectangularShape.java,
4539 java/awt/geom/RoundRectangle2D.java,
4540 java/awt/im/InputContext.java,
4541 java/awt/im/InputMethodHighlight.java,
4542 java/awt/im/InputMethodRequests.java,
4543 java/awt/im/InputSubset.java,
4544 java/awt/im/spi/InputMethod.java,
4545 java/awt/im/spi/InputMethodDescriptor.java,
4546 java/awt/image/BandCombineOp.java,
4547 java/awt/image/BandedSampleModel.java,
4548 java/awt/image/ByteLookupTable.java,
4549 java/awt/image/ComponentSampleModel.java,
4550 java/awt/image/DataBuffer.java,
4551 java/awt/image/DataBufferByte.java,
4552 java/awt/image/DataBufferDouble.java,
4553 java/awt/image/DataBufferFloat.java,
4554 java/awt/image/DataBufferInt.java,
4555 java/awt/image/DataBufferShort.java,
4556 java/awt/image/DataBufferUShort.java,
4557 java/awt/image/ImagingOpException.java,
4558 java/awt/image/Kernel.java,
4559 java/awt/image/LookupTable.java,
4560 java/awt/image/MultiPixelPackedSampleModel.java,
4561 java/awt/image/PackedColorModel.java,
4562 java/awt/image/PixelInterleavedSampleModel.java,
4563 java/awt/image/RGBImageFilter.java,
4564 java/awt/image/Raster.java,
4565 java/awt/image/RasterFormatException.java,
4566 java/awt/image/SampleModel.java,
4567 java/awt/image/ShortLookupTable.java,
4568 java/awt/image/SinglePixelPackedSampleModel.java,
4569 java/awt/image/WritableRaster.java,
4570 java/awt/print/PrinterAbortException.java,
4571 java/awt/print/PrinterException.java,
4572 java/awt/print/PrinterIOException.java,
4573 java/beans/AppletInitializer.java,
4574 java/beans/ExceptionListener.java,
4575 java/beans/PropertyChangeEvent.java,
4576 java/beans/PropertyChangeListenerProxy.java,
4577 java/beans/PropertyChangeSupport.java,
4578 java/beans/PropertyDescriptor.java,
4579 java/beans/VetoableChangeListenerProxy.java,
4580 java/beans/VetoableChangeSupport.java,
4581 java/io/BufferedReader.java,
4582 java/io/ByteArrayInputStream.java,
4583 java/io/ByteArrayOutputStream.java,
4584 java/io/CharArrayReader.java,
4585 java/io/CharArrayWriter.java,
4586 java/io/CharConversionException.java,
4587 java/io/DataInput.java,
4588 java/io/DataInputStream.java,
4589 java/io/DataOutput.java,
4590 java/io/DataOutputStream.java,
4591 java/io/EOFException.java,
4592 java/io/FileInputStream.java,
4593 java/io/FileNotFoundException.java,
4594 java/io/FileOutputStream.java,
4595 java/io/FilenameFilter.java,
4596 java/io/FilterInputStream.java,
4597 java/io/FilterOutputStream.java,
4598 java/io/FilterReader.java,
4599 java/io/FilterWriter.java,
4600 java/io/IOException.java,
4601 java/io/InputStream.java,
4602 java/io/InterruptedIOException.java,
4603 java/io/LineNumberInputStream.java,
4604 java/io/LineNumberReader.java,
4605 java/io/ObjectInputStream.java,
4606 java/io/ObjectStreamException.java,
4607 java/io/OptionalDataException.java,
4608 java/io/OutputStream.java,
4609 java/io/OutputStreamWriter.java,
4610 java/io/PrintStream.java,
4611 java/io/PrintWriter.java,
4612 java/io/PushbackInputStream.java,
4613 java/io/PushbackReader.java,
4614 java/io/RandomAccessFile.java,
4615 java/io/Reader.java,
4616 java/io/SequenceInputStream.java,
4617 java/io/Serializable.java,
4618 java/io/StreamCorruptedException.java,
4619 java/io/StreamTokenizer.java,
4620 java/io/StringBufferInputStream.java,
4621 java/io/StringWriter.java,
4622 java/io/SyncFailedException.java,
4623 java/io/UTFDataFormatException.java,
4624 java/io/UnsupportedEncodingException.java,
4625 java/io/WriteAbortedException.java,
4626 java/io/Writer.java,
4627 java/lang/AbstractMethodError.java,
4628 java/lang/ArithmeticException.java,
4629 java/lang/ArrayIndexOutOfBoundsException.java,
4630 java/lang/ArrayStoreException.java,
4631 java/lang/AssertionError.java,
4632 java/lang/Boolean.java,
4633 java/lang/Byte.java,
4634 java/lang/Class.java,
4635 java/lang/ClassCastException.java,
4636 java/lang/ClassCircularityError.java,
4637 java/lang/ClassLoader.java,
4638 java/lang/ClassNotFoundException.java,
4639 java/lang/CloneNotSupportedException.java,
4640 java/lang/Cloneable.java,
4641 java/lang/Comparable.java,
4642 java/lang/Compiler.java,
4643 java/lang/Double.java,
4644 java/lang/Error.java,
4645 java/lang/Exception.java,
4646 java/lang/ExceptionInInitializerError.java,
4647 java/lang/Float.java,
4648 java/lang/IllegalAccessError.java,
4649 java/lang/IllegalAccessException.java,
4650 java/lang/IllegalArgumentException.java,
4651 java/lang/IllegalMonitorStateException.java,
4652 java/lang/IllegalStateException.java,
4653 java/lang/IllegalThreadStateException.java,
4654 java/lang/IncompatibleClassChangeError.java,
4655 java/lang/IndexOutOfBoundsException.java,
4656 java/lang/InheritableThreadLocal.java,
4657 java/lang/InstantiationError.java,
4658 java/lang/InstantiationException.java,
4659 java/lang/Integer.java,
4660 java/lang/InternalError.java,
4661 java/lang/InterruptedException.java,
4662 java/lang/LinkageError.java,
4663 java/lang/Long.java,
4664 java/lang/NegativeArraySizeException.java,
4665 java/lang/NoClassDefFoundError.java,
4666 java/lang/NoSuchFieldError.java,
4667 java/lang/NoSuchFieldException.java,
4668 java/lang/NoSuchMethodError.java,
4669 java/lang/NoSuchMethodException.java,
4670 java/lang/NullPointerException.java,
4671 java/lang/Number.java,
4672 java/lang/NumberFormatException.java,
4673 java/lang/OutOfMemoryError.java,
4674 java/lang/Process.java,
4675 java/lang/Runnable.java,
4676 java/lang/Runtime.java,
4677 java/lang/RuntimeException.java,
4678 java/lang/RuntimePermission.java,
4679 java/lang/SecurityException.java,
4680 java/lang/SecurityManager.java,
4681 java/lang/Short.java,
4682 java/lang/StackOverflowError.java,
4683 java/lang/StackTraceElement.java,
4684 java/lang/StringBuffer.java,
4685 java/lang/StringIndexOutOfBoundsException.java,
4686 java/lang/ThreadDeath.java,
4687 java/lang/ThreadGroup.java,
4688 java/lang/Throwable.java,
4689 java/lang/UnsatisfiedLinkError.java,
4690 java/lang/UnsupportedOperationException.java,
4691 java/lang/VerifyError.java,
4692 java/lang/VirtualMachineError.java,
4693 java/lang/reflect/AccessibleObject.java,
4694 java/lang/reflect/Array.java,
4695 java/lang/reflect/InvocationTargetException.java,
4696 java/lang/reflect/Member.java,
4697 java/lang/reflect/Modifier.java,
4698 java/lang/reflect/Proxy.java,
4699 java/lang/reflect/ReflectPermission.java,
4700 java/lang/reflect/UndeclaredThrowableException.java,
4701 java/math/BigInteger.java,
4702 java/net/NetworkInterface.java,
4703 java/nio/ByteBufferHelper.java,
4704 java/nio/ByteBufferImpl.java,
4705 java/nio/DirectByteBufferImpl.java,
4706 java/nio/DoubleBufferImpl.java,
4707 java/nio/FloatBufferImpl.java,
4708 java/nio/IntBufferImpl.java,
4709 java/nio/LongBufferImpl.java,
4710 java/nio/ShortBufferImpl.java,
4711 java/nio/channels/Channel.java,
4712 java/nio/channels/IllegalBlockingModeException.java,
4713 java/nio/charset/spi/CharsetProvider.java,
4714 java/security/AccessControlException.java,
4715 java/security/BasicPermission.java,
4716 java/security/DigestException.java,
4717 java/security/DigestInputStream.java,
4718 java/security/DigestOutputStream.java,
4719 java/security/GeneralSecurityException.java,
4720 java/security/Guard.java,
4721 java/security/GuardedObject.java,
4722 java/security/InvalidAlgorithmParameterException.java,
4723 java/security/InvalidKeyException.java,
4724 java/security/InvalidParameterException.java,
4725 java/security/Key.java,
4726 java/security/KeyException.java,
4727 java/security/KeyManagementException.java,
4728 java/security/KeyStoreException.java,
4729 java/security/MessageDigestSpi.java,
4730 java/security/NoSuchAlgorithmException.java,
4731 java/security/NoSuchProviderException.java,
4732 java/security/Permission.java,
4733 java/security/PermissionCollection.java,
4734 java/security/Permissions.java,
4735 java/security/Principal.java,
4736 java/security/PrivateKey.java,
4737 java/security/PrivilegedActionException.java,
4738 java/security/ProviderException.java,
4739 java/security/PublicKey.java,
4740 java/security/SecureRandom.java,
4741 java/security/SecureRandomSpi.java,
4742 java/security/SignatureException.java,
4743 java/security/SignatureSpi.java,
4744 java/security/SignedObject.java,
4745 java/security/Signer.java,
4746 java/security/UnrecoverableKeyException.java,
4747 java/security/UnresolvedPermission.java,
4748 java/security/acl/AclNotFoundException.java,
4749 java/security/acl/LastOwnerException.java,
4750 java/security/acl/NotOwnerException.java,
4751 java/security/cert/CertPath.java,
4752 java/security/cert/CertPathBuilderException.java,
4753 java/security/cert/CertPathValidatorException.java,
4754 java/security/cert/CertStoreException.java,
4755 java/text/BreakIterator.java,
4756 java/text/ChoiceFormat.java,
4757 java/text/CollationElementIterator.java,
4758 java/text/CollationKey.java,
4759 java/text/Collator.java,
4760 java/text/DateFormat.java,
4761 java/text/DateFormatSymbols.java,
4762 java/text/DecimalFormat.java,
4763 java/text/DecimalFormatSymbols.java,
4764 java/text/FieldPosition.java,
4765 java/text/Format.java,
4766 java/text/NumberFormat.java,
4767 java/text/ParseException.java,
4768 java/text/ParsePosition.java,
4769 java/text/StringCharacterIterator.java,
4770 java/util/AbstractCollection.java,
4771 java/util/AbstractList.java,
4772 java/util/AbstractMap.java,
4773 java/util/AbstractSequentialList.java,
4774 java/util/AbstractSet.java,
4775 java/util/ArrayList.java,
4776 java/util/Arrays.java,
4777 java/util/BitSet.java,
4778 java/util/Collection.java,
4779 java/util/Collections.java,
4780 java/util/Comparator.java,
4781 java/util/ConcurrentModificationException.java,
4782 java/util/Currency.java,
4783 java/util/Date.java,
4784 java/util/EmptyStackException.java,
4785 java/util/Enumeration.java,
4786 java/util/EventListener.java,
4787 java/util/EventListenerProxy.java,
4788 java/util/EventObject.java,
4789 java/util/HashMap.java,
4790 java/util/HashSet.java,
4791 java/util/Hashtable.java,
4792 java/util/IdentityHashMap.java,
4793 java/util/Iterator.java,
4794 java/util/LinkedHashSet.java,
4795 java/util/LinkedList.java,
4796 java/util/List.java,
4797 java/util/ListIterator.java,
4798 java/util/ListResourceBundle.java,
4800 java/util/MissingResourceException.java,
4801 java/util/NoSuchElementException.java,
4802 java/util/Observable.java,
4803 java/util/Observer.java,
4804 java/util/Properties.java,
4805 java/util/PropertyPermissionCollection.java,
4806 java/util/RandomAccess.java,
4808 java/util/SortedMap.java,
4809 java/util/SortedSet.java,
4810 java/util/Stack.java,
4811 java/util/StringTokenizer.java,
4812 java/util/TooManyListenersException.java,
4813 java/util/TreeMap.java,
4814 java/util/TreeSet.java,
4815 java/util/Vector.java,
4816 java/util/logging/FileHandler.java,
4817 java/util/logging/Level.java,
4818 java/util/prefs/BackingStoreException.java,
4819 java/util/prefs/InvalidPreferencesFormatException.java,
4820 java/util/prefs/Preferences.java,
4821 javax/accessibility/Accessible.java,
4822 javax/accessibility/AccessibleAction.java,
4823 javax/accessibility/AccessibleBundle.java,
4824 javax/accessibility/AccessibleComponent.java,
4825 javax/accessibility/AccessibleContext.java,
4826 javax/accessibility/AccessibleEditableText.java,
4827 javax/accessibility/AccessibleExtendedComponent.java,
4828 javax/accessibility/AccessibleExtendedTable.java,
4829 javax/accessibility/AccessibleHyperlink.java,
4830 javax/accessibility/AccessibleHypertext.java,
4831 javax/accessibility/AccessibleIcon.java,
4832 javax/accessibility/AccessibleKeyBinding.java,
4833 javax/accessibility/AccessibleRelation.java,
4834 javax/accessibility/AccessibleRelationSet.java,
4835 javax/accessibility/AccessibleResourceBundle.java,
4836 javax/accessibility/AccessibleRole.java,
4837 javax/accessibility/AccessibleSelection.java,
4838 javax/accessibility/AccessibleState.java,
4839 javax/accessibility/AccessibleStateSet.java,
4840 javax/accessibility/AccessibleTable.java,
4841 javax/accessibility/AccessibleTableModelChange.java,
4842 javax/accessibility/AccessibleText.java,
4843 javax/accessibility/AccessibleValue.java,
4844 javax/imageio/IIOException.java,
4845 javax/imageio/ImageIO.java,
4846 javax/imageio/spi/IIOServiceProvider.java,
4847 javax/imageio/spi/ImageInputStreamSpi.java,
4848 javax/imageio/spi/ImageOutputStreamSpi.java,
4849 javax/imageio/spi/ImageReaderWriterSpi.java,
4850 javax/imageio/spi/ImageTranscoderSpi.java,
4851 javax/imageio/spi/RegisterableService.java,
4852 javax/imageio/spi/ServiceRegistry.java,
4853 javax/imageio/stream/IIOByteBuffer.java,
4854 javax/imageio/stream/ImageInputStream.java,
4855 javax/imageio/stream/ImageOutputStream.java,
4856 javax/naming/Binding.java,
4857 javax/naming/CannotProceedException.java,
4858 javax/naming/CompositeName.java,
4859 javax/naming/CompoundName.java,
4860 javax/naming/LinkException.java,
4861 javax/naming/LinkRef.java,
4862 javax/naming/NameClassPair.java,
4863 javax/naming/Reference.java,
4864 javax/naming/ReferralException.java,
4865 javax/naming/directory/Attribute.java,
4866 javax/naming/directory/AttributeModificationException.java,
4867 javax/naming/directory/Attributes.java,
4868 javax/naming/directory/DirContext.java,
4869 javax/naming/directory/ModificationItem.java,
4870 javax/naming/directory/SearchControls.java,
4871 javax/naming/directory/SearchResult.java,
4872 javax/naming/event/EventContext.java,
4873 javax/naming/event/EventDirContext.java,
4874 javax/naming/event/NamespaceChangeListener.java,
4875 javax/naming/event/NamingExceptionEvent.java,
4876 javax/naming/event/NamingListener.java,
4877 javax/naming/event/ObjectChangeListener.java,
4878 javax/naming/ldap/Control.java,
4879 javax/naming/ldap/ExtendedResponse.java,
4880 javax/naming/ldap/HasControls.java,
4881 javax/naming/ldap/LdapContext.java,
4882 javax/naming/ldap/UnsolicitedNotification.java,
4883 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4884 javax/naming/ldap/UnsolicitedNotificationListener.java,
4885 javax/naming/spi/DirectoryManager.java,
4886 javax/naming/spi/ResolveResult.java,
4887 javax/naming/spi/Resolver.java,
4888 javax/security/auth/callback/Callback.java,
4889 javax/security/auth/callback/CallbackHandler.java,
4890 javax/security/auth/callback/ChoiceCallback.java,
4891 javax/security/auth/callback/ConfirmationCallback.java,
4892 javax/security/auth/callback/LanguageCallback.java,
4893 javax/security/auth/callback/NameCallback.java,
4894 javax/security/auth/callback/PasswordCallback.java,
4895 javax/security/auth/callback/TextInputCallback.java,
4896 javax/security/auth/callback/TextOutputCallback.java,
4897 javax/security/auth/callback/UnsupportedCallbackException.java,
4898 javax/security/sasl/Sasl.java,
4899 javax/security/sasl/SaslServerFactory.java,
4900 javax/swing/DefaultBoundedRangeModel.java,
4901 javax/swing/JComponent.java,
4902 javax/swing/JList.java,
4903 javax/swing/JProgressBar.java,
4904 javax/swing/JRadioButton.java,
4905 javax/swing/JTextArea.java,
4906 javax/swing/JTextField.java,
4907 javax/swing/JToggleButton.java,
4908 javax/swing/JTree.java,
4909 javax/swing/SpinnerListModel.java,
4910 javax/swing/event/EventListenerList.java,
4911 javax/swing/text/JTextComponent.java,
4912 javax/swing/text/StringContent.java,
4913 javax/swing/text/Utilities.java,
4914 javax/swing/undo/UndoManager.java,
4915 javax/swing/undo/UndoableEditSupport.java,
4916 javax/transaction/HeuristicCommitException.java,
4917 javax/transaction/HeuristicMixedException.java,
4918 javax/transaction/HeuristicRollbackException.java,
4919 javax/transaction/InvalidTransactionException.java,
4920 javax/transaction/NotSupportedException.java,
4921 javax/transaction/RollbackException.java,
4922 javax/transaction/Status.java,
4923 javax/transaction/Synchronization.java,
4924 javax/transaction/SystemException.java,
4925 javax/transaction/Transaction.java,
4926 javax/transaction/TransactionManager.java,
4927 javax/transaction/TransactionRequiredException.java,
4928 javax/transaction/TransactionRolledbackException.java,
4929 javax/transaction/UserTransaction.java,
4930 javax/transaction/xa/XAException.java,
4931 javax/transaction/xa/XAResource.java,
4932 javax/transaction/xa/Xid.java,
4933 javax/xml/XMLConstants.java,
4934 javax/xml/datatype/DatatypeConfigurationException.java,
4935 javax/xml/datatype/DatatypeConstants.java,
4936 javax/xml/datatype/DatatypeFactory.java,
4937 javax/xml/datatype/Duration.java,
4938 javax/xml/datatype/XMLGregorianCalendar.java,
4939 javax/xml/namespace/NamespaceContext.java,
4940 javax/xml/namespace/QName.java,
4941 javax/xml/parsers/DocumentBuilder.java,
4942 javax/xml/parsers/DocumentBuilderFactory.java,
4943 javax/xml/parsers/FactoryConfigurationError.java,
4944 javax/xml/parsers/ParserConfigurationException.java,
4945 javax/xml/parsers/SAXParser.java,
4946 javax/xml/parsers/SAXParserFactory.java,
4947 javax/xml/transform/ErrorListener.java,
4948 javax/xml/transform/OutputKeys.java,
4949 javax/xml/transform/Result.java,
4950 javax/xml/transform/Source.java,
4951 javax/xml/transform/SourceLocator.java,
4952 javax/xml/transform/Templates.java,
4953 javax/xml/transform/Transformer.java,
4954 javax/xml/transform/TransformerConfigurationException.java,
4955 javax/xml/transform/TransformerException.java,
4956 javax/xml/transform/TransformerFactory.java,
4957 javax/xml/transform/TransformerFactoryConfigurationError.java,
4958 javax/xml/transform/URIResolver.java,
4959 javax/xml/transform/dom/DOMLocator.java,
4960 javax/xml/transform/dom/DOMResult.java,
4961 javax/xml/transform/dom/DOMSource.java,
4962 javax/xml/transform/sax/SAXResult.java,
4963 javax/xml/transform/sax/SAXSource.java,
4964 javax/xml/transform/sax/SAXTransformerFactory.java,
4965 javax/xml/transform/sax/TemplatesHandler.java,
4966 javax/xml/transform/sax/TransformerHandler.java,
4967 javax/xml/transform/stream/StreamResult.java,
4968 javax/xml/transform/stream/StreamSource.java,
4969 javax/xml/validation/Schema.java,
4970 javax/xml/validation/SchemaFactory.java,
4971 javax/xml/validation/TypeInfoProvider.java,
4972 javax/xml/validation/Validator.java,
4973 javax/xml/validation/ValidatorHandler.java,
4974 javax/xml/xpath/XPathConstants.java,
4975 javax/xml/xpath/XPathException.java,
4976 javax/xml/xpath/XPathExpression.java,
4977 javax/xml/xpath/XPathExpressionException.java,
4978 javax/xml/xpath/XPathFactory.java,
4979 javax/xml/xpath/XPathFactoryConfigurationException.java,
4980 javax/xml/xpath/XPathFunction.java,
4981 javax/xml/xpath/XPathFunctionException.java,
4982 javax/xml/xpath/XPathFunctionResolver.java:
4983 Fixed usage of @author tag, reworked import statements,
4984 removed CVS tags, changed the modifier order and fixed
4985 HTML usage in javadocs.
4987 2005-02-16 Julian Scheid <julian@sektor37.de>
4989 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4991 (encodeLoop): Likewise.
4993 2005-02-16 Mark Wielaard <mark@klomp.org>
4995 * Makefile.am (ordinary_java_source_files): Add new files
4996 gnu/java/security/ber/BER.java,
4997 gnu/java/security/ber/BEREncodingException.java,
4998 gnu/java/security/ber/BERReader.java,
4999 gnu/java/security/ber/BERValue.java,
5000 gnu/java/security/pkcs/PKCS7SignedData.java and
5001 gnu/java/security/pkcs/SignerInfo.java.
5002 * Makefile.in: Regenerated.
5004 2005-02-16 Casey Marshall <csm@gnu.org>
5006 * gnu/java/security/provider/GnuDSAPrivateKey.java
5007 (encodedKey): new field.
5008 (getFormat): return "PKCS#8".
5009 (getEncoded): implemented.
5010 (toString): check for 'null' values.
5011 * gnu/java/security/provider/GnuDSAPublicKey.java
5012 (encodedKey): new field.
5013 (getFormat): return "X.509".
5014 (getEncoded): implemented.
5015 (toString): check for 'null' values.
5017 2005-02-16 Michael Koch <konqueror@gmx.de>
5019 * java/util/jar/JarFile.java: Imports reworked.
5021 2005-02-16 Mark Wielaard <mark@klomp.org>
5023 * java/util/jar/JarFile.java (verify): Make package private.
5024 (signaturesRead): Likewise.
5025 (verified): Likewise.
5026 (entryCerts): Likewise.
5029 (entries): Construct new JarEnumeration with reference to this.
5030 (JarEnumeration): Make static.
5031 (JarEnumeration.jarfile): New field.
5032 (JarEnumeration.nextElement): Use and synchronize on jarfile.
5033 Compare verified value to Boolean.TRUE or Boolean.False only
5034 when verify is true.
5035 (getEntry): Make synchronized. Compare value of verified to
5037 (getInputStream): Construct EntryInputStream with reference to this.
5038 (getManifest): Make synchronized.
5039 (EntryInputStream): Make static.
5040 (EntryInputStream.jarfile): New field.
5041 (EntryInputStream.EntryInputStream): Check if manifest exists,
5042 before getting attributes.
5043 (eof): Synchronize on jarfile.
5045 2005-02-16 Casey Marshall <csm@gnu.org>
5047 * java/util/jar/JarFile.java (verify): return if the jar is signed
5048 with an unsupported algorithm.
5050 2005-02-16 Mark Wielaard <mark@klomp.org>
5052 * java/util/jar/JarFile.java (EntryInputStream): Add actual
5053 InputStream as argument.
5054 (getInputStream): Construct a new EntryInputStream with the result of
5055 super.getInputStream(entry).
5057 2005-02-16 Casey Marshall <csm@gnu.org>
5059 Signed JAR file support.
5060 * java/net/URLClassLoader.java
5061 (JarURLResource.getCertificates): re-read jar entry to ensure
5062 certificates are picked up.
5063 (findClass): fill in class `signers' field, too.
5064 * java/util/jar/JarFile.java (META_INF): new constant.
5065 (PKCS7_DSA_SUFFIX): new constant.
5066 (PKCS7_RSA_SUFFIX): new constant.
5067 (DIGEST_KEY_SUFFIX): new constant.
5068 (SF_SUFFIX): new constant.
5069 (MD2_OID): new constant.
5070 (MD4_OID): new constant.
5071 (MD5_OID): new constant.
5072 (SHA1_OID): new constant.
5073 (DSA_ENCRYPTION_OID): new constant.
5074 (RSA_ENCRYPTION_OID): new constant.
5075 (signaturesRead): new field.
5076 (verified): new field.
5077 (entryCerts): new field.
5078 (DEBUG): new constant.
5079 (debug): new method.
5080 (JarEnumeration.nextElement): fill in entry certificates, read
5081 signatures if they haven't been read.
5082 (getEntry): likewise.
5083 (getInputStream): verify stream if it hasn't been verified yet.
5084 (readSignatures): new method.
5085 (verify): new method.
5086 (verifyHashes): new method.
5087 (readManifestEntry): new method.
5088 (EntryInputStream): new class.
5089 * gnu/java/io/Base64InputStream.java (decode): new class
5091 * gnu/java/security/der/DERReader.java don't make class
5093 (in): made protected.
5095 (readLength): likewise.
5096 * gnu/java/security/ber/BER.java,
5097 * gnu/java/security/ber/BEREncodingException.java,
5098 * gnu/java/security/ber/BERReader.java,
5099 * gnu/java/security/ber/BERValue.java,
5100 * gnu/java/security/pkcs/PKCS7SignedData.java,
5101 * gnu/java/security/pkcs/SignerInfo.java:
5104 2005-02-16 Tom Tromey <tromey@redhat.com>
5106 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
5107 copied file on exit.
5109 2005-02-15 Mark Wielaard <mark@klomp.org>
5111 * java/awt/BasicStroke.java (hashCode): Check for null dash.
5113 2005-02-15 Michael Koch <konqueror@gmx.de>
5115 * gnu/java/awt/peer/gtk/GtkArg.java,
5116 gnu/java/awt/peer/gtk/GtkArgList.java:
5119 2005-02-15 Craig Black <craig.black@aonix.com>
5121 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
5122 (postMenuActionEvent): Implement to notify ItemListeners.
5123 * java/awt/CheckboxMenuItem.java
5124 (dispatchEventImpl): Update state on ItemEvent.
5125 * java/awt/MenuItem.java
5126 (processActionEvent): Retarget event source.
5128 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5130 * gnu/java/awt/color/ClutProfileConverter.java,
5131 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
5132 gnu/java/awt/peer/gtk/GdkFontPeer.java,
5133 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
5134 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
5135 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
5136 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
5137 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
5138 gnu/java/awt/peer/gtk/GdkTextLayout.java,
5139 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5140 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5141 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5142 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5143 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5144 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5145 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5146 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5147 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5148 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5149 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5150 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5151 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5152 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5153 gnu/java/awt/peer/gtk/GtkToolkit.java,
5154 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5155 javax/swing/JPopupMenu.java,
5156 javax/swing/JSpinner.java,
5157 javax/swing/SortingFocusTraversalPolicy.java,
5158 javax/swing/SwingUtilities.java,
5159 javax/swing/plaf/basic/BasicComboBoxEditor.java,
5160 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
5161 javax/swing/tree/DefaultMutableTreeNode.java:
5162 Removed unused imports and expanded starred
5165 2005-02-15 Mark Wielaard <mark@klomp.org>
5167 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
5168 IllegalArgumentException when the given String is null.
5170 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
5171 when given keystoke sequence cannot be parsed.
5173 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
5174 if one is installed. Only install the given menubar is not null.
5176 * javax/swing/JViewport.java (getViewSize): Return an empty
5177 Dimension when the view isn't set or preferred component size when
5180 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
5181 empty Dimension when there is no view set.
5182 (minimumLayoutSize): Likewise.
5183 (layoutContainer): Don't try to layout when there is no view.
5185 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5188 * include/jawt.h: Likewise.
5189 * include/jawt_md.h: Likewise.
5190 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
5192 * jni/classpath/classpath_jawt.h: Likewise.
5193 * jni/gtk-peer/gtk_jawt.c: Likewise.
5194 * Makefile.am: Build libjawt.so.
5196 2005-02-15 Michael Koch <konqueror@gmx.de>
5198 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
5199 Merged file header with classpath CVS head.
5200 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5201 Merged code formatting with classpath CVS head.
5202 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
5204 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5205 Handle special JNI strings with 2 '\0' at the end.
5206 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5207 Merged file header with classpath CVS head.
5208 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5209 Merged code formatting with classpath CVS head.
5211 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5213 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
5214 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
5215 (handle_response): Use GTK_RESPONSE_ACCEPT.
5217 2005-02-15 Graydon Hoare <graydon@redhat.com>
5219 * Makefile.am: Fix library build breakage.
5220 * Makefile.in: Regenerate.
5222 2005-02-15 Michael Koch <konqueror@gmx.de>
5224 * javax/swing/JTabbedPane.java
5225 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
5227 2005-02-15 Michael Koch <konqueror@gmx.de>
5229 * javax/swing/tree/DefaultMutableTreeNode.java:
5230 Reworked Javadocs all over.
5231 (getPathToRoot): Fixed direction of result array initialization.
5233 2005-02-15 Michael Koch <konqueror@gmx.de>
5235 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5236 Fix includes for cairo 0.3.0 snappshot.
5237 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5238 Merged file header from classpath CVS HEAD.
5240 2005-02-15 Craig Black <craig.black@aonix.com>
5242 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5243 (copyState): Pass a JNI global reference to signal handler.
5244 (realize_cb): Use and free JNI global reference.
5245 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5246 (create): Pass a JNI global reference to signal handler.
5247 (selection_changed): Match declaration.
5248 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5249 (dispose): Do not remove entries from state tables until after widget is
5252 2005-02-15 Michael Koch <konqueror@gmx.de>
5254 * java/awt/Container.javai (paramString):
5255 If layoutMgr is null just return result of super.paramString().
5256 * java/awt/Scrollbar.java: Reformatted.
5257 * java/awt/im/InputContext.java (static):
5258 Removed redundant initializations.
5260 2005-02-15 Michael Koch <konqueror@gmx.de>
5262 * javax/swing/ImageIcon.java,
5263 javax/swing/UIManager.java,
5264 javax/swing/text/EditorKit.java,
5265 javax/swing/text/Segment.java:
5266 More whitespace cleanups.
5268 2005-02-15 Michael Koch <konqueror@gmx.de>
5270 * gnu/java/awt/EmbeddedWindow.java,
5271 gnu/java/awt/image/ImageDecoder.java,
5272 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5273 java/awt/DefaultKeyboardFocusManager.java,
5274 java/awt/Frame.java,
5275 java/awt/image/RGBImageFilter.java,
5276 javax/swing/AbstractButton.java,
5277 javax/swing/ActionMap.java,
5278 javax/swing/ComponentInputMap.java,
5279 javax/swing/DefaultDesktopManager.java,
5280 javax/swing/ImageIcon.java,
5281 javax/swing/InputMap.java,
5282 javax/swing/JButton.java,
5283 javax/swing/JCheckBox.java,
5284 javax/swing/JCheckBoxMenuItem.java,
5285 javax/swing/JEditorPane.java,
5286 javax/swing/JMenu.java,
5287 javax/swing/JMenuItem.java,
5288 javax/swing/JOptionPane.java,
5289 javax/swing/JRootPane.java,
5290 javax/swing/JTable.java,
5291 javax/swing/MenuSelectionManager.java,
5292 javax/swing/RepaintManager.java,
5293 javax/swing/ScrollPaneLayout.java,
5294 javax/swing/SortingFocusTraversalPolicy.java,
5295 javax/swing/UIManager.java,
5296 javax/swing/ViewportLayout.java,
5297 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5298 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5299 javax/swing/plaf/basic/BasicLabelUI.java,
5300 javax/swing/plaf/basic/BasicListUI.java,
5301 javax/swing/plaf/basic/BasicMenuItemUI.java,
5302 javax/swing/plaf/basic/BasicMenuUI.java,
5303 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5304 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5305 javax/swing/plaf/basic/BasicRootPaneUI.java,
5306 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5307 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5308 javax/swing/plaf/basic/BasicTextUI.java,
5309 javax/swing/table/TableColumnModel.java,
5310 javax/swing/text/AbstractDocument.java,
5311 javax/swing/text/EditorKit.java,
5312 javax/swing/text/Position.java,
5313 javax/swing/text/Segment.java,
5314 javax/swing/text/StyledEditorKit.java,
5315 javax/swing/text/ViewFactory.java:
5316 Cleanup whitespace differences to classpath CVS HEAD.
5318 2005-02-15 Graydon Hoare <graydon@redhat.com>
5320 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5321 (finalize): Call finish from here.
5322 (produce): Not from here.
5323 * Makefile.am (gtk_c_source_files):
5324 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5325 * Makefile.in: Regenerate.
5326 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5328 (cairoDrawGdkTextLayout):
5330 (getPeerTextMetrics):
5331 (getPeerFontMetrics): Remove.
5332 (setFont): Don't call cairoSetFont.
5333 (cairoDrawGlyphVector): Accept font peer argument.
5334 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5335 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5336 (ensure_metrics_cairo):
5337 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5338 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5339 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5340 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5342 (metrics_surface): Remove.
5343 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5344 Pass and install font peer.
5346 2005-02-15 Graydon Hoare <graydon@redhat.com>
5348 * Makefile.am: Create "split library" structure.
5349 * Makefile.in: Regenerate.
5351 2005-02-15 Graydon Hoare <graydon@redhat.com>
5353 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5354 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5355 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5356 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5357 Release GDK lock during upcalls.
5359 2005-02-15 Graydon Hoare <graydon@redhat.com>
5361 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5362 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5363 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5364 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5365 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5366 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5367 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5370 (getTextMetrics): New native methods.
5371 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5372 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5373 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5374 * Makefile.in: Regenerate.
5376 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5378 * javax/swing/SwingUtilities.java:
5379 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5380 Implemented and documented.
5381 (getAccessibleChild(java.awt.Component, int)): Likewise.
5382 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5383 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5384 (getAccessibleStateSet(java.awt.Component)): Likewise.
5386 2005-02-15 Michael Koch <konqueror@gmx.de>
5388 * javax/swing/SwingUtilities.java
5389 (getFontMetrics): Removed.
5391 2005-02-15 Michael Koch <konqueror@gmx.de>
5393 * java/awt/Container.java
5394 (paramString): Implemented.
5395 * javax/swing/AbstractButton.java
5396 (paramString): Implemented.
5397 * javax/swing/JComponent.java
5398 (paramString): Implemented.
5399 * javax/swing/JMenu.java
5400 (paramString): Implemented.
5401 * javax/swing/JMenuBar.java
5402 (paramString): Implemented.
5403 * javax/swing/JMenuItem.java
5404 (paramString): Implemented.
5405 * javax/swing/JPopupMenu.java
5406 (paramString): Implemented.
5408 2005-02-15 Michael Koch <konqueror@gmx.de>
5410 * javax/swing/JMenu.java
5411 (uiClassID): Removed.
5412 (JMenu): Set invoker on popup menu.
5413 (getUIClassID): Return id directly.
5414 (getItemCount): Simply return getMenuComponentCount().
5416 (isTopLevelMenu): Simplified.
5417 * javax/swing/JMenuItem.java
5418 (uiClassID): Removed.
5419 (getUIClassID): Return id directly.
5420 * javax/swing/JPopupMenu.java
5421 (uiClassID): Removed.
5422 (JPopupMenu): Always initialize correctly.
5423 (getSubElements): Only return components implementing MenuElement
5425 (HeavyWeightPopup.hide): Removed.
5427 2005-02-15 Michael Koch <konqueror@gmx.de>
5429 * java/awt/image/ReplicateScaleFilter.java
5430 (replicatePixels): Made private.
5431 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5432 (DefaultRGBChooserPanel): Made package private.
5433 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5434 (RecentSwatchPanel): Likewise.
5435 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5436 (MouseInputAdapter): Made abstract.
5437 * javax/swing/tree/DefaultMutableTreeNode.java
5439 (growTree): Likewise.
5441 2005-02-15 Michael Koch <konqueror@gmx.de>
5443 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5446 2005-02-15 Michael Koch <konqueror@gmx.de>
5448 * javax/swing/JComponent.java (getComponentGraphics):
5449 Removed accidently commited code.
5451 2005-02-15 Graydon Hoare <graydon@redhat.com>
5453 * java/awt/dnd/DropTarget.java
5454 (addDropTargetListener): Despite documentation, do not throw.
5455 * javax/swing/JComponent.java: Set a default DropTarget.
5457 2005-02-15 Michael Koch <konqueror@gmx.de>
5459 * javax/swing/AbstractAction.java
5460 (ENABLED_PROPERTY): Removed.
5461 (setEnabled): Replaced constant with real string.
5462 * javax/swing/AbstractButton.java
5463 (createActionPropertyChangeListener.propertyChange): Likewise.
5464 * javax/swing/JComboBox.java
5465 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5466 (EDITABLE_CHANGED_PROPERTY): Removed.
5467 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5468 (ENABLED_CHANGED_PROPERTY):Likewise.
5469 (RENDERER_CHANGED_PROPERTY):Likewise.
5470 (EDITOR_CHANGED_PROPERTY):Likewise.
5471 (MODEL_CHANGED_PROPERTY):Likewise.
5472 (uiClassID):Likewise.
5473 (getUIClassID): Replaced constant with real string.
5474 (setModel):Likewise.
5475 (setEditable):Likewise.
5476 (setMaximumRowCount):Likewise.
5477 (setRenderer):Likewise.
5478 (setEditor):Likewise.
5479 (setEnabled):Likewise.
5480 * javax/swing/JLabel.java
5481 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5482 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5483 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5484 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5485 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5486 (ICON_CHANGED_PROPERTY): Likewise.
5487 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5488 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5489 (TEXT_CHANGED_PROPERTY): Likewise.
5490 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5491 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5492 (setText): Replaced constant with real string.
5493 (setIcon): Likewise.
5494 (setDisabledIcon): Likewise.
5495 (setDisplayedMnemonic): Likewise.
5496 (setIconTextGap): Likewise.
5497 (setVerticalAlignment): Likewise.
5498 (setHorizontalAlignment): Likewise.
5499 (setVerticalTextPosition): Likewise.
5500 (setHorizontalTextPosition): Likewise.
5501 (setLabelFor): Replaced constant with real string.
5502 Fire property change event after property got changed.
5503 * javax/swing/JList.java
5504 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5505 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5506 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5507 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5508 (MODEL_PROPERTY_CHANGED): Likewise.
5509 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5510 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5511 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5512 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5513 (setFixedCellWidth): Reimplemented.
5514 (setFixedCellHeight): Exit if new value is identical.
5515 Replaced constant with real string.
5516 (setSelectionBackground): Likewise.
5517 (setSelectionForeground): Likewise.
5518 (setPrototypeCellValue): Likewise.
5519 (setCellRenderer): Replaced constant with real string.
5520 (setModel): Likewise.
5521 (setSelectionModel): Likewise.
5522 * javax/swing/JMenuBar.java
5523 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5524 (MODEL_CHANGED_PROPERTY): Likewise.
5525 (MARGIN_CHANGED_PROPERTY): Likewise.
5526 (setBorderPainted): Reimplemented.
5527 (setMargin): Likewise.
5528 (setSelectionModel): Replaced constant with real string.
5529 * javax/swing/JPopupMenu.java
5530 (LABEL_CHANGED_PROPERTY): Removed.
5531 (VISIBLE_CHANGED_PROPERTY): Likewise.
5532 (borderPainted): Likewise.
5533 (setLabel): Replaced constant with real string.
5534 (setVisible): Exit if new value is identical.
5535 Replaced constant with real string.
5536 * javax/swing/JProgressBar.java
5537 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5538 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5539 (STRING_CHANGED_PROPERTY): Likewise.
5540 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5541 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5542 (setOrientation): Replaced constant with real string.
5543 (setStringPainted): Likewise.
5544 (setString): Likewise.
5545 (setBorderPainted): Likewise.
5546 (setIndeterminate): Likewise.
5547 * javax/swing/JScrollBar.java
5548 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5549 (MODEL_CHANGED_PROPERTY): Likewise.
5550 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5551 (setOrientation): Replaced constant with real string.
5552 (setModel): Likewise.
5553 (setUnitIncrement): Likewise.
5554 (setBlockIncrement): Likewise.
5555 * javax/swing/JScrollPane.java
5556 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5557 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5558 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5559 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5560 (LAYOUT_CHANGED_PROPERTY): Likewise.
5561 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5562 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5563 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5564 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5565 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5566 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5567 (setComponentOrientation): Replaced constant with real string.
5568 (setColumnHeader): Likewise.
5569 (setHorizontalScrollBar): Likewise.
5570 (setHorizontalScrollBarPolicy): Likewise.
5571 (setRowHeader): Likewise.
5572 (setVerticalScrollBar): Likewise.
5573 (setVerticalScrollBarPolicy): Likewise.
5574 (setWheelScrollingEnabled): Likewise.
5575 (setViewport): Likewise.
5576 (setViewportBorder): Likewise.
5577 * javax/swing/JSlider.java
5578 (INVERTED_CHANGED_PROPERTY): Removed.
5579 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5580 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5581 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5582 (MODEL_CHANGED_PROPERTY): Likewise.
5583 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5584 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5585 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5586 (setModel): Replaced constant with real string.
5587 (setOrientation): Likewise.
5588 (setLabelTable): Likewise.
5589 (setInverted): Likewise.
5590 (setMajorTickSpacing): Likewise.
5591 (setMinorTickSpacing): Likewise.
5592 (setPaintTicks): Likewise.
5593 (setPaintLabels): Likewise.
5594 * javax/swing/JTabbedPane.java
5595 (MODEL_CHANGED_PROPERTY): Removed.
5596 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5597 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5598 (setModel): Replaced constant with real string.
5599 (setTabPlacement): Likewise.
5600 (setTabLayoutPolicy): Likewise.
5601 * javax/swing/JToolBar.java
5602 (ORIENTATION_CHANGED_PROPERTY): Removed.
5603 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5604 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5605 (MARGIN_CHANGED_PROPERTY): Likewise.
5606 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5607 (setRollover): Replaced constant with real string.
5608 (setMargin): Likewise.
5609 (setBorderPainted): Likewise.
5610 (setFloatable): Likewise.
5611 (setOrientation): Likewise.
5612 * javax/swing/plaf/basic/BasicComboBoxUI.java
5613 (PropertyChangeHandler.propertyChange): Likewise.
5614 * javax/swing/plaf/basic/BasicComboPopup.java
5615 (PropertyChangeHandler.propertyChange): Likewise.
5616 * javax/swing/plaf/basic/BasicMenuBarUI.java
5617 (PropertyChangeHandler.propertyChange): Likewise.
5618 * javax/swing/plaf/basic/BasicProgressBarUI.java
5619 (PropertyChangeHandler.propertyChange): Likewise.
5620 * javax/swing/plaf/basic/BasicScrollBarUI.java
5621 (PropertyChangeHandler.propertyChange): Likewise.
5622 * javax/swing/plaf/basic/BasicSliderUI.java
5623 (PropertyChangeHandler.propertyChange): Likewise.
5624 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5625 (PropertyChangeHandler.propertyChange): Likewise.
5626 * javax/swing/plaf/basic/BasicToolBarUI.java
5627 (PropertyChangeHandler.propertyChange): Likewise.
5629 2005-02-15 Michael Koch <konqueror@gmx.de>
5631 * javax/swing/DefaultButtonModel.java
5632 (changeState): Made private.
5633 * javax/swing/DefaultDesktopManager.java
5634 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5635 * javax/swing/JLayeredPane.java
5636 (layerToRange): Made private.
5637 (incrLayer): Likewise.
5638 (decrLayer): Likewise.
5639 * javax/swing/JTable.java
5640 (dragEnabled): Likewise.
5641 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5642 * javax/swing/KeyStroke.java
5643 (Keystroke): Made private.
5644 * javax/swing/TransferHandler.java
5645 (COMMAND_COPY): Likewise.
5646 (COMMAND_CUT): Likewise.
5647 (COMMAND_PASTE): Likewise.
5649 2005-02-15 Michael Koch <konqueror@gmx.de>
5651 * javax/swing/JTextField.java
5652 (postActionEvent): Use text in field when actionCommand is null.
5653 (getActionCommand): Removed.
5655 2005-02-15 Michael Koch <konqueror@gmx.de>
5657 * javax/swing/AbstractSet.java: Removed.
5658 * Makefile.am: Removed javax/swing/AbstractSet.java.
5659 * Makefile.in: Regenerated.
5661 2005-02-15 Michael Koch <konqueror@gmx.de>
5663 * java/awt/Window.java
5664 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5665 * java/awt/dnd/DnDConstants.java
5666 (DnDConstants): New private constructor.
5668 2005-02-15 Michael Koch <konqueror@gmx.de>
5670 * javax/swing/DefaultCellRenderer.java: Removed.
5671 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5672 * Makefile.in: Regenerated.
5674 2005-02-15 Michael Koch <konqueror@gmx.de>
5676 * javax/swing/AbstractButton.java
5677 (fireItemStateChanged): Made protected.
5678 (fireActionPerformed): Likewise.
5679 (fireStateChanged): Likewise.
5680 * javax/swing/DefaultButtonModel.java
5681 (fireItemStateChanged): Likewise.
5682 (fireActionPerformed): Likewise.
5683 (fireStateChanged): Likewise.
5684 * javax/swing/JApplet.java
5686 (frameInit): Likewise.
5687 (setRootPane): Made protected.
5688 (createRootPane): Likewise.
5689 * javax/swing/JComponent.java
5690 (getClientProperty): Likewise.
5691 (putClientProperty): Likewise.
5692 * javax/swing/JEditorPane.java
5693 (getContentType): Likewise.
5694 (setContentType): Likewise.
5695 * javax/swing/JFrame.java
5696 (setRootPane): Likewise.
5697 (createRootPane): Likewise.
5698 * javax/swing/JInternalFrame.java
5699 (getFocusCycleRootAncestor): Made final. Added @since tag.
5700 (isFocusCycleRoot): Likewise.
5701 (getWarningString): Made final.
5702 * javax/swing/JScrollBar.java
5703 (changeListener): Removed.
5704 (changeEvent): Likewise.
5705 (createChangeListener): Likewise.
5706 (fireStateChanged): Likewise.
5707 (addChangeListener): Likewise.
5708 (removeChangeListener): Likewise.
5709 (getChangeListeners): Likewise.
5710 * javax/swing/JScrollPane.java
5711 (createViewport): Made protected.
5712 * javax/swing/JViewport.java
5713 (addImpl): Likewise.
5714 (setBorder): New method.
5715 * javax/swing/JWindow.java
5716 (setRootPane): Made protected.
5717 (createRootPane): Likewise.
5718 * javax/swing/plaf/basic/BasicButtonUI.java
5719 (installListeners): Likewise.
5720 (uninstallListeners): Likewise.
5721 * javax/swing/plaf/basic/BasicProgressBarUI.java
5722 (incrementAnimationIndex): Likewise.
5723 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5724 (createLayoutManager): Likewise.
5725 * javax/swing/table/DefaultTableCellRenderer.java
5726 (firePropertyChange): Likewise.
5727 * javax/swing/table/JTableHeader.java
5728 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5730 * javax/swing/text/PlainDocument.java
5731 (reindex): Made private.
5732 * javax/swing/text/PlainView.java
5733 (drawLine): Made protected.
5734 (getTabSize): Likewise.
5735 * javax/swing/text/View.java
5737 (preferenceChanged): New method.
5738 (getBreakWeight): Likewise.
5739 (breakView): Likewise.
5740 (getViewIndex): Likewise.
5742 2005-02-15 Michael Koch <konqueror@gmx.de>
5744 * javax/swing/JScrollPane.java
5745 (ScrollBar): Made class protected.
5746 * javax/swing/JSpinner.java
5747 (JSpinner): Added @since tag.
5748 (listenerList): Removed.
5749 * javax/swing/JTable.java
5750 (setValueAt): New method.
5751 (getColumn): Likewise.
5752 * javax/swing/JWindow.java
5753 (rootPaneCheckingEnabled): Renamed from checking.
5755 2005-02-15 Michael Koch <konqueror@gmx.de>
5757 * javax/swing/plaf/basic/BasicTextUI.java
5758 (RootView.modelToView): Made it public and return a java.awt.Shape.
5759 Handle null subview.
5760 (uninstall): Set textComponent to null when its not possible used
5762 * javax/swing/text/View.java
5763 (setParent): Use better argument name.
5764 (getContainer): Get parent via getParent().
5765 (getViewFactory): Likewise.
5766 (getAttributes): Get element via getElement().
5767 (getStartOffset): Likewise.
5768 (getEndOffset): Likewise.
5769 (getResizeWeight): New method.
5770 (getMaximumSpan): Likewise.
5771 (getMinimumSpan): Likewise.
5772 (setSize): Likewise.
5773 (getGraphics): Likewise.
5775 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5777 * java/awt/Checkbox.java:
5778 (AccessibleAWTCheckbox()): Added public constructor
5780 * java/awt/Choice.java:
5781 (AccessibleAWTChoice): Added class documentation.
5782 (AccessibleAWTChoice()): Added public constructor
5784 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5785 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5786 and changed role to COMBO_BOX.
5787 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5788 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5789 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5791 2005-02-15 Graydon Hoare <graydon@redhat.com>
5792 Michael Koch <konqueror@gmx.de>
5794 * javax/swing/LayoutFocusTraversalPolicy.java,
5795 javax/swing/SortingFocusTraversalPolicy.java:
5797 * Makefile.am: Added new classes.
5798 * Makefike.in: Regenerated.
5801 2005-02-15 Michael Koch <konqueror@gmx.de>
5803 * javax/swing/DebugGraphics.java: Mostly implemented.
5805 2005-02-15 Michael Koch <konqueror@gmx.de>
5807 * javax/swing/SwingUtilities.java
5808 (findFocusOwner): New method.
5810 2005-02-15 Michael Koch <konqueror@gmx.de>
5812 * javax/swing/text/DefaultEditorKit.java
5813 (read): Added '\n' after each line.
5814 * javax/swing/text/PlainView.java
5815 (modelToView): Update metrics.
5816 (drawLine): Use offsets from element.
5817 (paint): Update metrics. Draw all lines.
5819 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5821 * java/awt/Checkbox.java:
5822 (AccessibleAWTCheckbox): Added class documentation
5823 * java/awt/Scrollbar.java:
5824 (AccessibleAWTScrollBar): typo corrected and docs added
5825 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5826 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5827 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5828 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5829 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5830 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5831 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5832 (getAccessibleContext()): name of accessible class corrected
5834 2005-02-15 Mark Wielaard <mark@klomp.org>
5836 * java/awt/BasicStroke.java (hashCode): Implement.
5839 2005-02-15 Michael Koch <konqueror@gmx.de>
5841 * java/awt/print/PrinterJob.java
5842 (pageDialog): Throws java.awt.HeadlessException.
5843 (printDialog): Likewise.
5845 2005-02-15 Mark Wielaard <mark@klomp.org>
5847 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5849 2005-02-15 Michael Koch <konqueror@gmx.de>
5851 * javax/swing/JTable.java
5852 (getValueAt): New method.
5853 * javax/swing/table/JTableHeader.java
5854 (columnAtPoint): New method.
5856 2005-02-15 Michael Koch <konqueror@gmx.de>
5858 * javax/swing/JTextField.java
5859 (actions): New field.
5860 (static): Initalize actions field.
5861 (getActions): New method.
5863 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5865 * java/awt/Checkbox.java:
5866 (AccessibleAWTCheckbox): name capitalization corrected
5867 and serialization UID added.
5868 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5870 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5871 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5872 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5873 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5874 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5875 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5876 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5877 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5878 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5879 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5880 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5882 (getAccessibleContext()): name of accessible class corrected
5884 2005-02-15 Sven de Marothy <sven@physto.se>
5886 * java/awt/geom/doc-files/Area-1.png,
5887 java/awt/geom/doc-files/Ellipse-1.png,
5888 java/awt/geom/doc-files/GeneralPath-1.png:
5891 2005-02-15 Graydon Hoare <graydon@redhat.com>
5893 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5894 Use union to avoid type-punning warning.
5896 2005-02-15 Michael Koch <konqueror@gmx.de>
5898 * javax/swing/DefaultListSelectionModel.java
5899 (clone): New method.
5901 2005-02-15 Mark Wielaard <mark@klomp.org>
5903 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5904 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5905 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5906 Correct method signature of gtkSetFilename.
5908 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5910 * javax/swing/text/StringContent.java: New file.
5912 2005-02-15 Michael Koch <konqueror@gmx.de>
5914 * Makefile.am: Added javax/swing/text/StringContent.java.
5915 * Makefile.in: Regenerated.
5917 2005-02-15 Michael Koch <konqueror@gmx.de>
5919 * gnu/java/awt/ClasspathToolkit.java:
5920 Import statements reworked.
5921 (imageCache): Made it of type java.util.HashMap.
5923 2005-02-15 Michael Koch <konqueror@gmx.de>
5925 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5926 Reworked import statements.
5928 2005-02-15 Graydon Hoare <graydon@redhat.com>
5930 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5931 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5932 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5933 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5934 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5935 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5936 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5937 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5938 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5939 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5940 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5941 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5942 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5943 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5944 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5945 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5946 Rewrite uses of extern variable to be function calls.
5947 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5948 function, from extern variable.
5949 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5950 (gdk_env): Remove variable, add new function.
5951 (java_vm): Add new variable.
5952 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5953 java_vm rather than old gdk_env variable.
5955 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5957 * javax/swing/DefaultListModel.java
5958 (add): fire correct event,
5959 (addElement): corrected interval indices in event,
5960 (clear): corrected upper bound for interval, only fire event if
5962 (setSize): fire appropriate event.
5964 2005-02-15 Graydon Hoare <graydon@redhat.com>
5966 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5967 * gnu/awt/xlib/XToolkit.java: Likewise.
5968 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5969 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5970 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5971 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5972 * java/awt/EventQueue.java (getNextEvent):
5973 Adjust event loop to switch to native mode after 100ms.
5974 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5975 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5976 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5977 Wake up event thread.
5978 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5979 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5980 Adjust event loop to switch to java mode after 100ms.
5982 2005-02-15 Graydon Hoare <graydon@redhat.com>
5984 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5985 accidentally removed in last change.
5987 2005-02-15 Michael Koch <konqueror@gmx.de>
5989 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5990 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5992 2005-02-15 Graydon Hoare <graydon@redhat.com>
5994 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5995 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5996 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5997 * jni.cc: Reuse bottom frame between calls, avoid clearing
5998 frame when no local references are made.
6000 2005-02-15 Michael Koch <konqueror@gmx.de>
6002 * javax/swing/UIDefaults.java (UIDefaults):
6003 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
6004 Fixed HTML entity and removed a redundant comma.
6006 2005-02-15 Michael Koch <konqueror@gmx.de>
6008 * javax/swing/text/DefaultEditorKit.java
6009 (deinstall): Removed.
6010 (install): Likewise.
6012 2005-02-15 Michael Koch <konqueror@gmx.de>
6014 * javax/swing/UIDefaults.java (put): Handle value of null.
6016 2005-02-15 Michael Koch <konqueror@gmx.de>
6018 * java/awt/Robot.java,
6019 java/awt/Scrollbar.java,
6020 java/awt/print/PrinterJob.java,
6021 javax/swing/JTable.java,
6022 javax/swing/text/AbstractDocument.java:
6023 Reworked import statements.
6025 2005-02-15 Michael Koch <konqueror@gmx.de>
6027 * javax/swing/JEditorPane.java
6028 (read): Implemented.
6030 * javax/swing/text/DefaultEditorKit.java
6031 (page): Renamed from page_url. Made private.
6032 (editorKit): Renamed from kit. Made private.
6034 (JEditorPane): All constructors reimplemented.
6035 (getContentType): Use content type from editor kit.
6036 (getEditorKit): Return editorKit.
6037 (getEditorKitForContentType):Likewise.
6038 (getPage): Return page.
6039 (setContentType): Reimplemented.
6040 (setEditorKit): Likewise.
6041 (setEditorKitForContentType): Removed wrong implementation.
6042 (setPage): Implemented.
6044 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6046 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
6047 (nativeSetIconImageFromData): Re-add native implementation.
6049 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6051 * javax/swing/table/DefaultTableModel.java
6052 (DefaultTableModel()): Added Javadocs.
6053 (DefaultTableModel(int, int)): Fixed implementation.
6054 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
6055 for negative rowCount.
6056 (DefaultTableModel(Object[], int)): Added Javadocs.
6057 (DefaultTableModel(Vector, Vector)): Likewise.
6058 (DefaultTableModel(Object[][], Object[])): Likewise.
6059 (getDataVector): Likewise.
6060 (setDataVector(Vector, Vector)): Likewise.
6061 (setDataVector(Object[][], Object[])): Likewise.
6062 (newDataAvailable): Likewise.
6063 (newRowsAdded): Likewise.
6064 (rowsRemoved): Likewise.
6065 (setColumnIdentifiers(Vector)): Allow for null argument.
6066 (setColumnIdentifiers(Object[])): Added Javadocs.
6067 (setNumRows): Likewise.
6068 (setRowCount): Adds new rows if necessary, and sends more specific
6070 (setColumnCount): Allow for null columnIdentifiers.
6071 (addColumn(Object)): Added Javadocs.
6072 (addColumn(Object, Vector)): Handle null columnData.
6073 (addColumn(Object, Object[])): Handle columnData with more or less
6074 entries than rows in the table.
6075 (addRow(Vector)): Fire appropriate event.
6076 (addRow(Object[])): Added Javadocs.
6077 (insertRow(int, Vector)): Fire appropriate event.
6078 (insertRow(int, Object[])): Added Javadocs.
6079 (moveRow): Reimplemented.
6080 (removeRow(int)): Fire appropriate event.
6081 (getColumnCount): Allow for null columnIdentifiers.
6082 (getColumnName): Now returns empty string when column index is too
6084 (isCellEditable): Added Javadocs.
6085 (getValueAt): Likewise.
6086 (setValueAt): Fire more specific event.
6087 (convertToVector): Added Javadocs.
6088 * javax/swing/table/TableModel.java
6091 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6093 * libgcj.spec.in (lib): Add -l-javax-imageio.
6095 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6097 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
6098 references to event queue q with method call q().
6099 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
6100 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
6101 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
6102 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
6103 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
6104 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
6107 2005-02-15 Graydon Hoare <graydon@redhat.com>
6109 * gnu/java/awt/ClasspathToolkit.java
6110 (registerImageIOSpis): New method.
6111 * gnu/java/awt/image/ImageDecoder.java
6112 (imageDecoder): New constructor using InputStream
6113 (startProduction): Handle existing InputStream.
6114 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6115 (findSimpleIntegerArray): Make public and static.
6116 (updateBufferedImage): Set each pixel, in a loop.
6117 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6118 Implement ImageIO SPI classes.
6119 (createBufferedImage): Rewrite in terms of SPI classes.
6120 * gnu/java/awt/peer/gtk/GtkToolkit.java
6121 (registerImageIOSpis): New method.
6122 * java/lang/reflect/natMethod.cc
6123 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
6124 which lets JNI call interface methods properly.
6125 * javax/imageio/ImageIO.java
6126 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6127 (WriterMIMETypeFilter.filter): Likewise.
6128 (ImageReaderIterator): Pass extension argument through to SPI.
6129 (getReadersByFilter): Likewise.
6130 (getWritersByFilter): Likewise.
6131 (getImageReadersByFormatName): Likewise.
6132 (getImageReadersByMIMEType): Likewise.
6133 (getImageReadersBySuffix): Likewise.
6134 (getImageWritersByFormatName): Likewise.
6135 (getImageWritersByMIMEType): Likewise.
6136 (getImageWritersBySuffix): Likewise.
6139 * javax/imageio/ImageReader.java
6140 (progressListeners): Initialize.
6141 (setInput): Implement.
6142 * javax/imageio/ImageWriter.java
6143 (progressListeners): Initialize.
6144 (warningListeners): Likewise.
6145 (warningLocales): Likewise.
6146 (setOutput): Test "isInstance" rather than class equality.
6147 * javax/imageio/spi/IIORegistry.java
6148 (static): Add reader and writer SPIs.
6149 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6150 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6151 (query_formats): New function.
6152 (save_to_stream): Likewise.
6153 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
6155 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6157 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
6159 (keyPress): Likewise.
6160 (keyRelease): Likewise.
6162 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6164 * javax/swing/JTable.java
6165 (columnAtPoint): New Method. Implemented.
6166 (rowAtPoint): Likewise.
6167 (countSelections): Fixed few small count errors.
6168 (getSelections): Likewise.
6169 (setSelectionMode): Set selection mode for column
6170 selection model in addition to row selection model.
6171 * javax/swing/plaf/basic/BasicTableUI.java:
6172 (getRowForPoint): Removed. Replaced by
6173 JTable.rowAtPoint().
6174 (getColForPoint): Removed. Replaced by
6175 JTable.columnAtPoint().
6176 (updateSelection): Updated to call JTable.columnAtPoint
6177 and JTable.rowAtPoint.
6178 * javax/swing/table/DefaultTableColumnModel.java:
6179 (getSelectedColumns): Implemented.
6180 (getSelectedColumnCount): Implemented.
6182 2005-02-15 Graydon Hoare <graydon@redhat.com>
6185 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
6186 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
6187 * Makefile.in: Regenerate.
6188 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
6189 * gnu/awt/xlib/XFramePeer.java: Likewise.
6190 * gnu/awt/xlib/XToolkit.java: Likewise.
6191 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
6192 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
6193 * gnu/java/awt/ClasspathToolkit.java
6196 (iterateNativeQueue): New methods.
6197 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
6198 * gnu/java/awt/peer/gtk/GtkToolkit.java
6199 (gtkInit): Absorb from defunct GtkMainThread class.
6200 (static): Run gtkInit in static startup block.
6201 (GtkToolkit): Remove construction of GtkMainThread and queue.
6202 (getSystemEventQueueImpl): Construct queue when requested.
6205 (iterateNativeQueue): New methods.
6206 * java/awt/Component.java (removeNotify): Remove race.
6207 * java/awt/EventDispatchThread.java
6208 (EventDispatchThread): Don't start on construction.
6209 (run): Remove isInterrupted check.
6210 * java/awt/EventQueue.java (shutdown): New flag.
6211 (isShutdown): New method checking J2SE shutdown condition.
6212 (setShutdown): New method.
6213 (getNextEvent): Restructure to use ClasspathToolkit.
6214 (postEvent): Activate new thread on posting, wake thread on
6215 post of possible shutdown condition event.
6216 * java/awt/Frame.java
6217 (Frame): Call noteFrame in all constructors.
6218 (fireDummyEvent): New helper method.
6219 (addNotify): Fire a dummy event to wake up queue.
6220 (removeNotify): Fire a dummy event to wake up queue.
6221 (noteFrame): New method.
6222 (weakFrames): New static field.
6223 (getFrames): Implement.
6224 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
6226 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
6227 Move everything from GtkMainThread into this file
6228 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
6229 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
6230 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
6231 New functions to implement single-threaded queue semantics.
6233 2005-02-15 Michael Koch <konqueror@gmx.de>
6235 * javax/swing/plaf/metal/MetalLookAndFeel.java
6236 (getControlTextFont): New method.
6237 (getMenuTextFont): Likewise.
6238 (getSubTextFont): Likewise.
6239 (getSystemTextFont): Likewise.
6240 (getUserTextFont): Likewise.
6241 (getWindowTitleFont): Likewise.
6243 2005-02-15 Michael Koch <konqueror@gmx.de>
6245 * javax/swing/text/AbstractDocument.java
6246 (documentFilter): New field.
6247 (getDocumentFilter): New method.
6248 (setDocumentFilter): Likewise.
6251 2005-02-15 Michael Koch <konqueror@gmx.de>
6253 * javax/swing/JTree.java
6254 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
6256 2005-02-15 Michael Koch <konqueror@gmx.de>
6258 * javax/swing/text/AbstractDocument.java
6259 (AbstractElement.getLength): Fixed off-by-one error.
6260 (AbstractElement.children): Made abstract.
6261 (AbstractElement.getAllowsChildren): Likewise.
6262 (AbstractElement.getElement): Likewise.
6263 (AbstractElement.dumpElement): New private method.
6264 (AbstractElement.dump): New method.
6265 (BranchElememt.getName): Fixed implementation.
6266 (BranchElememt.toString): Likewise.
6267 (BranchElememt.getElement): Fixed arguments.
6268 (LeafElement.getName): Fixed implementation.
6269 (LeafElement.toString): Likewise.
6270 * javax/swing/text/GapContent.java
6271 (GapContent): Put default content into buffer.
6272 * javax/swing/text/PlainDocument.java
6273 (reindex): Use empty attribute sets instead of null.
6274 (createDefaultRoot): Reimplemented.
6275 (insertUpdate): Call super method.
6276 (removeUpdate): Likewise.
6277 (getParagraphElement): Implemented.
6279 2005-02-15 Michael Koch <konqueror@gmx.de>
6281 * gnu/java/awt/ClasspathToolkit.java
6282 (createRobot): Throws java.awt.AWTException.
6283 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
6284 Added '__attribute__((unused))' to all unused method arguments.
6286 2005-02-15 Michael Koch <konqueror@gmx.de>
6288 * javax/swing/DefaultBoundedRangeModel.java
6289 (fireValueChanged): Fixed off-by-one error.
6291 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6293 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
6294 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
6296 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
6297 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
6298 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
6299 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
6300 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6301 (getDefaultScreenDevice): Implement.
6302 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
6303 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
6304 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
6305 * java/awt/Robot.java: Implement.
6306 * java/awt/peer/RobotPeer.java: Rename parameters.
6307 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6308 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6309 (awt_keycode_to_keysym): Make non-static.
6310 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6311 AWT_BUTTON3_MASK): Declare constants.
6312 (awt_keycode_to_keysym): Declare.
6314 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6315 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6316 and is non-empty pass its value to "make check".
6317 (test_mauve_sim): Likewise.
6319 2005-02-15 Michael Koch <konqueror@gmx.de>
6321 * javax/imageio/IIOParam.java
6322 (setSourceBands): New method.
6323 (setSourceSubsampling): Likewise.
6324 * javax/imageio/ImageReadParam.java
6325 (setDestination): Likewise.
6326 (setDestinationBands): Likewise.
6327 (setSourceProgressivePasses): Likewise.
6328 * javax/imageio/metadata/IIOInvalidTreeException.java
6329 (serialVersionUID): New static field.
6330 * javax/imageio/metadata/IIOMetadataNode.java
6331 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6332 (parent): Dont initailize with default value explicitely.
6334 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6335 (removeAttributeNode): Likewise.
6336 (removeAttributeNS): Likewise.
6337 (setAttribute): Likewise.
6338 (setAttributeNode): Likewise.
6339 (setAttributeNodeNS): Likewise.
6340 (setAttributeNS): Likewise.
6341 (appendChild): Likewise.
6342 (getNodeValue): Likewise.
6343 (insertBefore): Likewise.
6344 (removeChild): Likewise.
6345 (replaceChild): Likewise.
6346 (setPrefix): Likewise.
6348 2005-02-15 Michael Koch <konqueror@gmx.de>
6350 * javax/swing/LookAndFeel.java
6351 (getDesktopPropertyValue): New method.
6353 2005-02-15 Michael Koch <konqueror@gmx.de>
6355 * javax/swing/JTree.java
6356 (hasChildren): New instance field.
6358 2005-02-15 Michael Koch <konqueror@gmx.de>
6360 * javax/swing/JComponent.java
6361 (getToolTipText): New method.
6362 (getTitledBorderText): Likewise.
6363 (getAccessibleKeyBinding): Likewise.
6364 (getVerifyInputWhenFocusTarget): Likewise.
6365 (setVerifyInputWhenFocusTarget): Likewise.
6366 (verifyInputWhenFocusTarget): New instance field.
6368 2005-02-15 Michael Koch <konqueror@gmx.de>
6370 * javax/swing/DefaultListSelectionModel.java
6371 (fireValueChanged): New method.
6373 2005-02-15 Michael Koch <konqueror@gmx.de>
6375 * javax/swing/DefaultBoundedRangeModel.java:
6376 Fixed javadocs all over.
6377 (fireStateChanged): Simplified.
6378 * javax/swing/BoundedRangeModel.java:
6381 2005-02-15 Michael Koch <konqueror@gmx.de>
6383 * javax/swing/JRootPane.java
6384 (setMenuBar): Added @deprecated tag.
6385 (getMenuBar): Likewise.
6386 * javax/swing/JTable.java
6387 (sizeColumnsToFit): Likewise.
6389 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6391 * javax/swing/ImageIcon.java (setImage): Implemented.
6393 2005-02-15 Michael Koch <konqueror@gmx.de>
6395 * javax/swing/JTable.java:
6396 Removed unused imports.
6398 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6400 (prepareRenderer): Get column's index in dataModel instead
6401 of column's view index.
6402 (getColumnCount): return count of the columns in ColumnModel,
6404 (removeColumn): Implemented.
6405 (moveColumm): Likewise.
6406 (setRowHeight): throw IllegalArgumentException if height is
6408 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6409 (DefaultTableColumnModel):Add call to createSelectionModel().
6410 (addColumn): Fire columnAdded event to registered listeners.
6411 (removeColumn): Fire columnRemoved event to registered listeners.
6412 (moveColumn): Fire columnMoved event to registered listeners.
6413 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6414 (getColumnIndex): Changed parameter name.
6415 (setColumnSelectionAllowed): Likewise.
6416 (fireColumnAdded): Implemented.
6417 (fireColumnRemoved): Likewise.
6418 (fireColumnMoved): Likewise.
6419 (fireColumnMarginChanged): Likewise.
6420 (getListeners): Changed parameter name.
6421 (propertyChange): Implemented.
6422 (valueChanged): Changed parameter name.
6423 (createSelectionModel): Implemented.
6425 2005-02-15 Michael Koch <konqueror@gmx.de>
6427 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6428 Explicitely import used classes.
6429 (getLocalGraphicsEnvironment): Simplify.
6430 * java/awt/Window.java (Window):
6431 Enable code to get the default GraphicsConfiguration.
6433 2005-02-15 Michael Koch <konqueror@gmx.de>
6435 * javax/swing/plaf/metal/DefaultMetalTheme.java
6436 (CONTROL_TEXT_FONT): New static field.
6437 (MENU_TEXT_FONT): Likewise.
6438 (SUB_TEXT_FONT): Likewise.
6439 (SYSTEM_TEXT_FONT): Likewise.
6440 (USER_TEXT_FONT): Likewise.
6441 (WINDOW_TITLE_FONT): Likewise.
6442 (getControlTextFont): New method.
6443 (getMenuTextFont): Likewise.
6444 (getSubTextFont): Likewise.
6445 (getSystemTextFont): Likewise.
6446 (getUserTextFont): Likewise.
6447 (getWindowTitleFont): Likewise.
6448 * javax/swing/plaf/metal/MetalTheme.java
6449 (BLACK): Initialize with Color.BLACK.
6450 (WHITE): Initialize with Color.WHITE.
6451 (getInactiveControlTextColor): Return getControlDisabled().
6452 (getMenuDisabledForeground): Return getSecondary3().
6453 (getControlTextFont): New abstract method.
6454 (getMenuTextFont): Likewise.
6455 (getSubTextFont): Likewise.
6456 (getSystemTextFont): Likewise.
6457 (getUserTextFont): Likewise.
6458 (getWindowTitleFont): Likewise.
6460 2005-02-15 Michael Koch <konqueror@gmx.de>
6462 * javax/swing/JFormattedTextField.java
6463 (getFocusLostBehavior): Fixed typo in method name.
6464 (setFocusLostBehavior): Likewise.
6466 2005-02-15 Michael Koch <konqueror@gmx.de>
6468 * javax/swing/TransferHandler.java:
6469 Reworked import statements.
6471 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6473 * java/awt/Button.java,
6474 java/awt/Canvas.java,
6475 java/awt/Checkbox.java,
6476 java/awt/CheckboxMenuItem.java,
6477 java/awt/Choice.java,
6478 java/awt/Dialog.java,
6479 java/awt/Frame.java,
6480 java/awt/Label.java,
6483 java/awt/MenuBar.java,
6484 java/awt/MenuItem.java,
6485 java/awt/PopupMenu.java,
6486 java/awt/ScrollPane.java,
6487 java/awt/Scrollbar.java,
6488 java/awt/TextArea.java,
6489 java/awt/Window.java (getAccessibleContext): Clean up comments.
6491 * java/awt/Button.java,
6492 java/awt/Checkbox.java,
6493 java/awt/Choice.java,
6495 java/awt/PopupMenu.java,
6496 java/awt/TextArea.java (getAccessibleContext): Only create new
6498 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6500 2005-02-15 Michael Koch <konqueror@gmx.de>
6502 * java/awt/Button.java,
6503 javax/swing/JApplet.java,
6504 javax/swing/JFormattedTextField.java,
6505 javax/swing/JWindow.java,
6506 javax/swing/JTree.java,
6507 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6508 javax/swing/plaf/basic/BasicTextPaneUI.java,
6509 javax/swing/plaf/basic/BasicTreeUI.java:
6510 Reworked import statements.
6512 2005-02-15 Michael Koch <konqueror@gmx.de>
6514 * Makefile.am: Put javax.imageio into its own library and link it
6515 against lib-org-w3c-dom.la to fix bootstrapping.
6516 * Makefile.in: Regenerated.
6518 2005-02-15 Michael Koch <konqueror@gmx.de>
6520 * javax/swing/text/TextAction.java
6521 (getTextComponent): Simplified. Added Javadoc.
6522 (augmentList): Implemented. Added Javadoc.
6523 (getFocusedComponent): Added javadoc.
6525 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6527 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6528 getAccessibleContext): Implement.
6529 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6530 getAccessibleContext): Implement.
6532 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6534 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6536 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6538 * java/awt/Window.java (getAccessibleContext): Fix comment.
6539 Remove extra import.
6541 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6543 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6544 (isActive, isFocused, getAccessibleContext): Implement.
6546 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6548 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6549 * java/awt/MenuComponent.java (accessibleContext): Make package
6551 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6552 AccessibleAWTCheckboxMenuItem): Implement.
6554 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6556 * java/awt/List.java: Implement AccessibleAWTList,
6557 AccessibleAWTListChild.
6559 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6561 * java/awt/Choice.java: Add implements declaration for
6564 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6566 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6569 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6571 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6572 implemented interface list.
6574 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6576 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6577 * javax/imageio/metadata/IIOAttr.java: New class.
6578 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6579 * javax/imageio/metadata/IIONodeList.java: New class.
6580 * Makefile.am: Added new files.
6581 * Makefile.in: Regenerated.
6583 2005-02-15 Michael Koch <konqueror@gmx.de>
6585 * javax/swing/AbstractAction.java,
6586 javax/swing/AbstractCellEditor.java,
6587 javax/swing/AbstractListModel.java,
6588 javax/swing/DefaultBoundedRangeModel.java,
6589 javax/swing/DefaultButtonModel.java,
6590 javax/swing/DefaultCellEditor.java,
6591 javax/swing/DefaultComboBoxModel.java,
6592 javax/swing/DefaultDesktopManager.java,
6593 javax/swing/JMenu.java,
6594 javax/swing/JSlider.java,
6595 javax/swing/KeyStroke.java,
6596 javax/swing/OverlayLayout.java,
6597 javax/swing/ScrollPaneLayout.java,
6598 javax/swing/SizeRequirements.java,
6599 javax/swing/ViewportLayout.java:
6600 Made serialVersionUID private.
6602 2005-02-15 Michael Koch <konqueror@gmx.de>
6604 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6607 2005-02-15 Michael Koch <konqueror@gmx.de>
6609 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6611 2005-02-15 Michael Koch <konqueror@gmx.de>
6613 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6615 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6617 * java/awt/EventDispatchThread.java,
6618 java/awt/Toolkit.java:
6619 Don't catch java.lang.ThreadDeath.
6621 2005-02-15 Michael Koch <konqueror@gmx.de>
6623 * javax/swing/text/PasswordView.java
6624 (drawEchoCharacter): Added javadoc.
6625 (drawSelectedText): Likewise.
6626 (drawUnselectedText): Likewise.
6628 2005-02-15 Michael Koch <konqueror@gmx.de>
6630 * javax/swing/JRootPane.java
6631 (windowDecorationStyle): New field.
6632 (setMenuBar): New method.
6633 (getMenuBar): Likewise.
6634 (getWindowDecorationStyle): Likewise.
6635 (setWindowDecorationStyle): Likewise.
6637 2005-02-15 Michael Koch <konqueror@gmx.de>
6639 * javax/swing/DefaultListSelectionModel.java
6640 (leadAnchorNotificationEnabled): Made protected.
6642 2005-02-15 Michael Koch <konqueror@gmx.de>
6644 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6645 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6646 * Makefile.in: Regenerated.
6649 2005-02-15 Michael Koch <konqueror@gmx.de>
6651 * javax/swing/JFormattedTextField.java: Implemented.
6652 * javax/swing/JWindow.java
6653 (JWindow): New constructors.
6654 (initWindow): Renamed from initFrame.
6655 * javax/swing/UIDefaults.java
6656 (ActiveValue): Made interface static.
6657 (LazyValue): Likewise.
6658 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6659 (TitlePaneLayout.TitlePaneLayout): New constructor.
6660 * javax/swing/plaf/basic/BasicSliderUI.java
6661 (ChangeHandler): Made public.
6662 (FocusHandler): Likewise.
6663 (PropertyChangeHandler): Likewise.
6664 (ScrollListener): Likewise.
6665 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6666 (FocusHandler): Likewise.
6667 (MouseHandler): Likewise.
6668 * javax/swing/plaf/basic/BasicTextPaneUI.java
6669 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6670 * javax/swing/plaf/basic/BasicToolBarUI.java
6671 (BasicToolBarUI): Simplified. Reworked javadoc.
6672 (canDock): Simplified. Make public.
6673 (DockingListener): Made public.
6674 * javax/swing/text/JTextComponent.java
6675 (navigationFilter): New field.
6676 (getNavigationFilter): New method.
6677 (setNavigationFilter): Likewise.
6679 2005-02-15 Michael Koch <konqueror@gmx.de>
6681 * javax/swing/plaf/metal/MetalTheme.java
6682 (getControlTextColor): Return getControlInfo().
6683 (getHighlightedTextColor): Return getControlTextColor().
6685 2005-02-15 Michael Koch <konqueror@gmx.de>
6687 * javax/swing/plaf/basic/BasicButtonListener.java
6688 (BasicButtonListener): New constructor.
6689 * javax/swing/plaf/basic/BasicButtonUI.java
6690 (createButtonListener): Usw new BasicButtonListener constructor.
6692 2005-02-15 Michael Koch <konqueror@gmx.de>
6694 * javax/imageio/event/package.html,
6695 javax/imageio/metadata/package.html: New files.
6697 2005-02-15 Michael Koch <konqueror@gmx.de>
6699 * java/awt/image/MemoryImageSource.java: Reformatted.
6701 2005-02-15 Michael Koch <konqueror@gmx.de>
6703 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6705 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6707 * java/awt/color/ICC_Profile.java
6708 (finalize): Removed pointless field assignments.
6710 2005-02-15 Michael Koch <konqueror@gmx.de>
6712 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6713 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6714 * Makefile.in: Regenerated.
6716 2005-02-15 Michael Koch <konqueror@gmx.de>
6718 * javax/swing/text/DefaultStyledDocument.java: New file.
6719 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6720 * Makefile.in: Regenerated.
6722 2005-02-15 Michael Koch <konqueror@gmx.de>
6724 * javax/swing/JFileChooser.java
6725 (showDialog): Return CANCEL_OPTION for now.
6726 (showOpenDialog): Likewise.
6727 (showSaveDialog): Likewise.
6729 2005-02-15 Michael Koch <konqueror@gmx.de>
6731 * javax/swing/JApplet.java
6732 (HIDE_ON_CLOSE): Removed.
6733 (EXIT_ON_CLOSE): Likewise.
6734 (DISPOSE_ON_CLOSE): Likewise.
6735 (DO_NOTHING_ON_CLOSE): Likewise.
6736 (close_action): Likewise.
6737 (getDefaultCloseOperation): Likewise.
6738 (setDefaultCloseOperation): Likewise.
6739 (processWindowEvent): Likewise.
6740 (getPreferredSize): Simplified.
6741 * javax/swing/JInternalFrame.java
6742 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6744 * javax/swing/JWindow.java
6745 (HIDE_ON_CLOSE): Removed.
6746 (EXIT_ON_CLOSE): Likewise.
6747 (DISPOSE_ON_CLOSE): Likewise.
6748 (DO_NOTHING_ON_CLOSE): Likewise.
6749 (close_action): Likewise.
6750 (processKeyEvent): Likewise.
6751 (setDefaultCloseOperation): Likewise.
6752 (getPreferredSize): Simplified.
6754 2005-02-15 Michael Koch <konqueror@gmx.de>
6756 * javax/swing/JTextField.java
6757 (getPreferredSize): Re-implemented.
6759 2005-02-15 Michael Koch <konqueror@gmx.de>
6761 * javax/swing/JLabel.java
6762 (setDisplayedMnemonic): Use only upper case characters.
6763 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6764 PropertyChangeEvent after property got set to the new index.
6766 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6768 * javax/swing/JComboBox.java:
6769 (JComboBox): Removed selection of the
6770 first item in the model.
6772 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6774 * javax/swing/JComboBox.java
6775 added support for no item being selected
6776 (JComboBox): select first or nothing depending on element count
6777 (setModel): cleaned up unneeded "this." usage, added more
6778 docs, made exception behavior match that of the JDK
6779 (setLighWeightPopupEnabled): removed unneeded "this." usage
6781 (setMaximumRowCount): dito
6783 (setPrototypeDisplayValue): dito
6784 (getSelectedItem): simplified, added more user doc
6785 (setSelectedIndex): corrected exception behavior, added more user doc
6786 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6787 added performance warning to user doc
6788 (addItem): fixed exception behavior, added user doc
6789 (insertItemAt): dito
6791 (removeItemAt): dito
6792 (removeAll): fixed exception behavior, added user doc, added support
6793 for model not being instance of DefaultComboBoxModel
6794 (getSelectedItemObjects): simplified
6795 (getItemCount): fixed dependency on DefaultComboBoxModel
6796 (getItemAt): fixed dependency on MutableComboBoxModel
6797 * javax/swing/DefaultComboBoxModel.java:
6798 (setSelectedItem): updates selected item only if new
6799 value is null or known (match JDK behavior)
6800 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6801 (paintCurrentValue): renders "" if no item is selected
6803 2005-02-15 Michael Koch <konqueror@gmx.de>
6805 * javax/swing/plaf/metal/MetalTheme.java,
6806 javax/swing/plaf/metal/DefaultMetalTheme.java:
6808 * javax/swing/plaf/metal/MetalLookAndFeel.java
6809 * Makefile.am: Added the new files.
6810 * Makefile.in: Regenerated.
6812 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6814 * javax/swing/JTable.java
6815 (editorComp): New field.
6816 (JTable): Initialize local variables and call updateUI
6817 (selectionBackground): Make protected.
6818 (selectionForeground): Likewise.
6819 (initializeLocalVars): Create default editors and renderers,
6820 initialize editingColumn, editingRow variables.
6821 (createDefaultEditors): New Method.
6822 (createDefaultRenderers): Likewise.
6823 (createDefaultListSelectionModel): Removed
6824 (createDefaultSelectionModel): New Method.
6825 (createDefaultTableHeader): Likewise
6826 (removeColumn): Likewise.
6827 (getEditingColumn): Likewise.
6828 (setEditingColumn): Likewise.
6829 (getEditingRow): Likewise.
6830 (setEditingRow): Likewise.
6831 (getEditorComponent): Likewise.
6832 (isEditing): Likewise.
6833 (setDefaultEditor): Likewise.
6834 (addColumnSelectionInterval): Likewise.
6835 (addRowSelectionInterval): Likewise.
6836 (setColumnSelectionInterval): Likewise.
6837 (setRowSelectionInterval): Likewise.
6838 (removeColumnSelectionInterval): Likewise.
6839 (removeRowSelectionInterval): Likewise.
6840 (isColumnSelected): Likewise.
6841 (isRowSelected): Likewise.
6842 (isCellSelected): Likewise.
6843 (selectAll): Likewise.
6845 2005-02-15 Michael Koch <konqueror@gmx.de>
6847 * javax/swing/JTable.java
6848 (addColumn): New method.
6849 (getColumnClass): Likewise.
6850 (getColumnName): Likewise.
6852 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6854 * javax/swing/TransferHandler.java
6855 (createTransferable): Made protected.
6857 2005-02-15 Michael Koch <konqueror@gmx.de>
6859 * javax/swing/JTable.java,
6860 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6861 javax/swing/plaf/basic/BasicTableUI.java:
6862 Use fixed get/setIntercellSpacing() methods.
6864 2005-02-15 Michael Koch <konqueror@gmx.de>
6866 * javax/swing/JTable.java
6867 (getIntercellSpacing): Fixed typo in method name.
6868 (setIntercellSpacing): Likewise.
6870 2005-02-15 Michael Koch <konqueror@gmx.de>
6872 * javax/swing/text/JTextComponent.java
6873 (focusAccelerator): New variable.
6874 (getFocusAccelerator): New method.
6875 (setFocusAccelerator): Likewise.
6877 2005-02-15 Michael Koch <konqueror@gmx.de>
6879 * javax/swing/JComponent.java
6880 (setTransferHandler): Made public. Fire property change event.
6881 * javax/swing/TransferHandler.java: Implemented.
6882 * javax/swing/text/JTextComponent.java
6883 (DefaultTransferHandler): New inner class.
6884 (defaultTransferHandler): New variable.
6888 (doTransferAction): Likewise.
6890 2005-02-15 Michael Koch <konqueror@gmx.de>
6892 * javax/swing/JTree.java
6893 (collapsePath): New method.
6894 (collapseRow): Likewise.
6895 (expandPath): Likewise.
6896 (expandRow): Likewise.
6897 (checkExpandParents): Likewise.
6898 (doExpandParents): Likewise.
6899 (setExpandedState): Likewise.
6900 (makeVisible): Likewise.
6902 2005-02-15 Michael Koch <konqueror@gmx.de>
6904 * javax/swing/JPasswordField.java: Updated javadocs.
6906 2005-02-15 Michael Koch <konqueror@gmx.de>
6908 * javax/swing/JLayeredPane.java
6909 (getLayer): Fixed return type, made public.
6910 (getPosition): Use new getLayer().
6911 (SetPosition): Likewise.
6912 (getIndexOf): Likewise.
6914 * javax/swing/JInternalFrame.java
6915 (getLayer): Use new JLayeredPane.getLayer().
6918 2005-02-15 Michael Koch <konqueror@gmx.de>
6920 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6921 (setHeaderValue): Simplified. Do nothing when old value == new value.
6923 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6925 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6926 against null clip region.
6927 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6928 gtkWindowSetResizable.
6929 (postConfigureEvent): Only revalidate if frame size has changed.
6930 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6931 Only revalidate if frame size has changed.
6932 * java/awt/Component.java (reshape): Only repaint and post
6933 component events if component is showing.
6934 * java/awt/Container.java (addImpl): Only post container event if
6935 container is showing.
6937 * java/awt/Window.java (setLocationRelativeTo): Implement.
6938 (setBoundsCallback): Only post component events if component is
6940 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6941 Protect against null graphics structure. Flush gdk event queue.
6943 2005-02-15 Michael Koch <konqueror@gmx.de>
6945 * javax/imageio/ImageReader.java,
6946 javax/imageio/ImageTranscoder.java,
6947 javax/imageio/ImageWriter.java,
6948 javax/imageio/spi/ImageInputStreamSpi.java,
6949 javax/imageio/spi/ImageOutputStreamSpi.java,
6950 javax/imageio/spi/ServiceRegistry.java,
6951 javax/imageio/stream/ImageInputStream.java,
6952 javax/imageio/stream/ImageOutputStream.java: Updated.
6953 * javax/imageio/IIOException.java,
6954 javax/imageio/IIOImage.java,
6955 javax/imageio/IIOParam.java,
6956 javax/imageio/IIOParamController.java,
6957 javax/imageio/ImageIO.java,
6958 javax/imageio/ImageReadParam.java,
6959 javax/imageio/ImageTypeSpecifier.java,
6960 javax/imageio/ImageWriteParam.java,
6961 javax/imageio/spi/IIORegistry.java,
6962 javax/imageio/spi/ImageReaderSpi.java,
6963 javax/imageio/spi/ImageWriterSpi.java,
6964 javax/imageio/stream/FileCacheImageInputStream.java,
6965 javax/imageio/stream/FileCacheImageOutputStream.java,
6966 javax/imageio/stream/FileImageInputStream.java,
6967 javax/imageio/stream/FileImageOutputStream.java,
6968 javax/imageio/stream/ImageInputStreamImpl.java,
6969 javax/imageio/stream/ImageOutputStreamImpl.java,
6970 javax/imageio/stream/MemoryCacheImageInputStream.java,
6971 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6972 javax/imageio/event/IIOReadProgressListener.java,
6973 javax/imageio/event/IIOReadUpdateListener.java,
6974 javax/imageio/event/IIOReadWarningListener.java,
6975 javax/imageio/event/IIOWriteProgressListener.java,
6976 javax/imageio/event/IIOWriteWarningListener.java,
6977 javax/imageio/metadata/IIOMetadata.java,
6978 javax/imageio/metadata/IIOMetadataController.java,
6979 javax/imageio/metadata/IIOMetadataFormat.java,
6980 javax/imageio/metadata/IIOInvalidTreeException.java,
6981 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6982 javax/imageio/metadata/IIOMetadataNode.java: New files.
6983 * Makefile.am (javax_source_files): Added new files
6984 * Makefile.in: Regenerated.
6986 2005-02-15 Graydon Hoare <graydon@redhat.com>
6988 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6989 Rework painting into BufferedImages
6990 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6991 Construct BufferedImage with alpha only when alpha is
6992 present in colormodel.
6993 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6994 Rework painting into client-side jint arrays.
6995 * jni/gtk-peer/gtkcairopeer.h:
6998 2005-02-15 Michael Koch <konqueror@gmx.de>
7000 * javax/swing/DefaultListCellRenderer.java
7001 (serialVersionUID): Made private.
7002 (getListCellRendererComponent): Set horizontal alignment.
7003 * javax/swing/JLabel.java
7004 (setVerticalAlignment): Re-implemented.
7005 (setHorizontalAlignment): Do nothing if old value = new value.
7006 * javax/swing/JList.java
7007 (setCellRenderer): Likewise.
7008 (setModel): Re-implemented.
7009 (setSelectionModel): Likewise.
7011 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
7013 * java/awt/Component.java,
7014 java/awt/geom/Rectangle2D.java:
7017 2005-02-15 Michael Koch <konqueror@gmx.de>
7019 * javax/swing/AbstractListModel.java
7020 (fireContentsChanged): Simplified.
7021 (fireIntervalAdded): Likewise.
7022 (fireIntervalRemoved): Likewise.
7023 * javax/swing/DefaultSingleSelectionModel.java:
7025 (fireStateChanged): Simplified.
7026 * javax/swing/JPopupMenu.java
7027 (setSelectionModel): Set property.
7029 2005-02-15 Michael Koch <konqueror@gmx.de>
7031 * java/awt/print/Book.java: Reformatted.
7033 2005-02-15 Michael Koch <konqueror@gmx.de>
7035 * java/awt/geom/Area.java
7036 (QuadSegment.curveArea): Remove unused variables.
7037 (CubicSegment.curveArea): Likewise.
7039 2005-02-15 Michael Koch <konqueror@gmx.de>
7041 * javax/swing/JTree.java
7042 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
7043 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
7044 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
7045 (EXPANDED): New constant.
7046 (COLLAPSED): Likewise.
7047 (nodeStates): New field.
7048 (cellEditor): New method.
7049 (cellRenderer): Likewise.
7050 (selectionModel): Likewise.
7051 (treeModel): Likewise.
7052 (scrollPathToVisible): Likewise.
7053 (scrollRowToVisible): Likewise.
7054 (isCollapsed): Likewise.
7055 (isExpanded): Likewise.
7056 (clearToggledPaths): Likewise.
7057 (getDescendantToggledPaths): Likewise.
7058 (hasBeenExpanded): Likewise.
7059 (isVisible): Likewise.
7060 (isPathEditable): Likewise.
7062 2005-02-15 Michael Koch <konqueror@gmx.de>
7064 * javax/swing/JLayeredPane.java: Reformatted.
7066 2005-02-15 Michael Koch <konqueror@gmx.de>
7068 * javax/swing/tree/DefaultMutableTreeNode.java:
7070 * javax/swing/tree/MutableTreeNode.java:
7073 2005-02-15 Michael Koch <konqueror@gmx.de>
7075 * javax/swing/JFormattedTextField.java
7076 (setDocument): Call setDocument of super class. Don't fire property
7079 2005-02-15 Sven de Marothy <sven@physto.se>
7081 * java/awt/image/IndexColorModel.java:
7082 Add FIXME with respect to alpha handling.
7083 (getAlpha): Default to returning opaque pixels.
7084 * java/awt/image/MultiPixelPackedSampleModel.java
7085 (MultiPixelPackedSampleModel): Corrected parameters, order of
7086 bit shifts and masks, stride length off by one.
7088 2005-02-15 Michael Koch <konqueror@gmx.de>
7090 * javax/swing/JList.java, javax/swing/JTree.java:
7091 Added much new methods and fixed much methods setting bound properties.
7093 2005-02-16 Mark Wielaard <mark@klomp.org>
7095 * Makefile.am (gnu_xml_source_files): Removed
7096 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
7097 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
7098 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
7099 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
7100 gnu/xml/dom/DomDocumentFragment.java,
7101 gnu/xml/dom/DomProcessingInstruction.java and
7102 gnu/xml/dom/ls/DomLSException.java.
7103 * Makefile.in: Regenerated.
7105 2005-02-16 Tom Tromey <tromey@redhat.com>
7107 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
7108 attribute index is out of bounds.
7110 2005-02-16 Chris Burdess <dog@gnu.org>
7112 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
7113 isDeclared methods. Improved performance of isSpecified methods.
7115 2005-02-16 Chris Burdess <dog@gnu.org>
7117 Fixes bug libgcj/19864
7118 * gnu/xml/dom/DomAttr.java,
7119 gnu/xml/dom/DomCDATA.java,
7120 gnu/xml/dom/DomCDATASection.java,
7121 gnu/xml/dom/DomCharacterData.java,
7122 gnu/xml/dom/DomDOMException.java,
7123 gnu/xml/dom/DomDoctype.java,
7124 gnu/xml/dom/DomDocument.java,
7125 gnu/xml/dom/DomDocumentConfiguration.java,
7126 gnu/xml/dom/DomDocumentFragment.java,
7127 gnu/xml/dom/DomElement.java,
7128 gnu/xml/dom/DomEx.java,
7129 gnu/xml/dom/DomFragment.java,
7130 gnu/xml/dom/DomImpl.java,
7131 gnu/xml/dom/DomIterator.java,
7132 gnu/xml/dom/DomNamedNodeMap.java,
7133 gnu/xml/dom/DomNode.java,
7134 gnu/xml/dom/DomNsNode.java,
7135 gnu/xml/dom/DomPI.java,
7136 gnu/xml/dom/DomProcessingInstruction.java,
7137 gnu/xml/dom/DomText.java,
7138 gnu/xml/dom/DomLSEx.java,
7139 gnu/xml/dom/DomLSException.java,
7140 gnu/xml/dom/DomLSParser.java,
7141 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
7142 implementation class names to conform to Classpath guidelines. Make
7143 DomLSException use JDK 1.4+ exception chaining.
7144 * gnu/xml/util/SAXNullTransformerFactory.java,
7145 gnu/xml/xpath/Predicate.java: Use constants relative to
7146 declaring class or interface.
7148 2005-02-16 Andrew Haley <aph@redhat.com>
7150 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
7151 null, create a new AccessControlContext.
7152 * java/security/SecureClassLoader.java (protectionDomainCache):
7154 (defineClass): Create a new protection domain and add it to our
7157 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
7158 addStub() to keep track of the stub we've exported.
7159 (unexportObject): Call deleteStub().
7160 * java/rmi/server/RemoteObject.java (stubs): New field.
7161 (addStub): New method.
7162 (deleteStub): New method.
7165 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
7166 true to findHelper (tryParents).
7167 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
7169 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
7170 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
7172 If tryParents is false, don't scan parent class loaders.
7174 * java/security/Permissions.java (PermissionsHash.implies):
7175 Iterate over the collection and invoke implies() on each
7178 2005-02-16 Andrew Haley <aph@redhat.com>
7180 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
7182 (PersistentByteMap): Set name
7183 Magic number changed to 0x67636a64 ("gcjd").
7184 (init): Force the map to be prime.
7185 (emptyPersistentByteMap): File name was a string, now a File.
7186 (addBytes): Share srings between entries.
7187 (stringTableSize): New method.
7188 (capacity): Scale by load factor.
7189 (force): New method.
7190 (getFile): New method.
7191 (close): New method.
7192 (putAll): New method.
7193 (ByteWrapper): New class.
7194 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
7195 (main): Guess the average string size as 32, not 64.
7196 Copy a database before modifying it, so that we can update a
7197 database in a running system.
7198 If a database isn't big enough, resize it.
7199 "-m": new option: merges databases.
7200 "-a": Create a new detabase if it doesn't exist.
7201 (usage): Correct, add new option.
7202 (addJar): Copy a database before modifying it.
7203 (resizeMap): New method.
7205 2005-02-15 David Daney <ddaney@avtrex.com>
7206 Bryce McKinlay <mckinlay@redhat.com>
7208 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
7209 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
7210 ensure that GC threads inherit the new signal mask.
7211 (block_sigchld): Call JvFail rather than throwing exception if
7212 pthread_sigmask() fails.
7214 2005-02-15 Mark Wielaard <mark@klomp.org>
7216 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
7217 file path elements are separated by spaces.
7219 2005-02-15 Mark Wielaard <mark@klomp.org>
7221 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
7222 to describe attributes without a constant field value in this class.
7224 2005-02-15 Michael Koch <konqueror@gmx.de>
7226 * java/util/jar/Attributes.java
7227 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
7229 2005-02-15 Mark Wielaard <mark@klomp.org>
7231 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
7232 space for parsing CLASS_PATH attribute.
7234 2005-02-15 Mark Wielaard <mark@klomp.org>
7236 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
7237 aside for "GCJLIBS" in directory where jarfiles are loaded.
7238 (JarURLLoader.getClass): Removed method.
7239 (JarURLLoader.toString): Removed method.
7240 (FileResource.toString): Removed method.
7242 2005-02-15 Mark Wielaard <mark@klomp.org>
7244 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
7245 and/or cause before throwing.
7247 2005-02-15 Richard Henderson <rth@redhat.com>
7249 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
7250 (libgcj0_convenience_la_SOURCES): ... here.
7251 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
7252 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
7253 * Makefile.in: Regenerate.
7255 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7258 * include/jawt.h: Likewise.
7259 * include/jawt_md.h: Likewise.
7260 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7262 * include/Makefile.in: Regenerate.
7263 * jni/classpath/classpath_jawt.h: Likewise.
7264 * jni/gtk-peer/gtk_jawt.c: Likewise.
7265 * Makefile.am: Build libjawt.so.
7266 * Makefile.in: Regenerate.
7268 2005-02-14 Tom Tromey <tromey@redhat.com>
7270 * testsuite/libjava.lang/PR19921.java: Use correct class name.
7272 2005-02-14 Tom Tromey <tromey@redhat.com>
7274 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
7275 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
7277 2005-02-14 Tom Tromey <tromey@redhat.com>
7280 * testsuite/libjava.lang/PR19929.out: New file.
7281 * testsuite/libjava.lang/PR19929.java: New file.
7283 2005-02-14 Anthony Green <green@redhat.com>
7286 * testsuite/libjava.jni/PR18116.c: New file.
7287 * testsuite/libjava.jni/PR18116.java: New file.
7288 * testsuite/libjava.jni/PR18116.out: New file.
7290 2005-02-13 Anthony Green <green@redhat.com>
7293 * jni.cc (nathash_add): Don't strdup the method signature.
7294 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
7298 2005-02-12 Mark Wielaard <mark@klomp.org>
7300 Fixes bug libgcj/8170
7301 * java/lang/ClassLoader.java (loadClass): Don't rewrap
7302 ClassNotFoundException.
7303 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
7304 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
7305 (remove_internal): New field superceding remove_interpreter.
7306 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7307 Remove no-class methods starting with "_Jv_". And Replace null
7308 class or method names with the empty string. Stop at either the
7309 MainThread or a real Thread run() method.
7310 (newElement): Made static.
7311 * java/net/URLClassLoader.java (findClass): Throw
7312 ClassNotFoundExceptions including urls, plus parent using toString().
7313 (thisString): New field.
7314 (toString): New method.
7316 2005-02-10 Tom Tromey <tromey@redhat.com>
7318 * external/sax/Makefile.in: Rebuilt.
7319 * external/sax/Makefile.am (all-local): Removed.
7320 (BUILT_SOURCES): New variable.
7321 (mostlyclean-local): No error if no classes to delete.
7322 * external/w3c_dom/Makefile.in: Rebuilt.
7323 * external/w3c_dom/Makefile.am (all-local): Removed.
7324 (BUILT_SOURCES): New variable.
7325 (mostlyclean-local): No error if no classes to delete.
7327 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7329 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7330 of mauve and libjava.
7332 2005-02-09 Tom Tromey <tromey@redhat.com>
7334 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7335 jar file with OPEN_DELETE.
7336 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7337 OPEN_DELETE is used.
7339 2005-02-09 Tom Tromey <tromey@redhat.com>
7341 * java/util/zip/InflaterInputStream.java (markSupported):
7343 (mark, reset): Likewise.
7345 2005-02-08 Tom Tromey <tromey@redhat.com>
7347 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7348 name or port is missing.
7349 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7350 AUTHORITY_PORT_GROUP): Updated.
7352 2005-02-08 Tom Tromey <tromey@redhat.com>
7354 * configure: Rebuilt.
7355 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7358 2005-02-07 Tom Tromey <tromey@redhat.com>
7360 * java/lang/natRuntime.cc (insertSystemProperties): Set
7361 sun.boot.class.path earlier.
7363 2005-02-07 Tom Tromey <tromey@redhat.com>
7365 * defineclass.cc (handleClassBegin): Use
7366 _Jv_RegisterInitiatingLoader.
7367 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7368 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7369 class. Use _Jv_UnregisterInitiatingLoader.
7370 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7373 2005-02-07 Mark Wielaard <mark@klomp.org>
7375 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7376 java/util/regex/Matcher.java (lookingAt): Set position when match
7378 (matches): Implemented through lookingAt().
7380 2005-02-07 Mark Wielaard <mark@klomp.org>
7382 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7383 * java/util/regex/Pattern.java (split(CharSequence,int)):
7384 Fix while empties > 0 loops.
7386 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7388 * gnu/java/nio/charset/ISO_8859_1.java,
7389 gnu/java/nio/charset/US_ASCII.java,
7390 gnu/java/nio/charset/UTF_16.java,
7391 gnu/java/nio/charset/UTF_16_LE.java,
7392 gnu/java/nio/charset/UTF_16_BE.java,
7393 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7394 and aliases according to
7395 "http://www.iana.org/assignments/character-sets",
7396 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7397 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7398 * gnu/java/nio/charset/Provider.java: Made charset lookup
7399 case-insensitive which fixes bug #11740.
7401 2005-02-07 Tom Tromey <tromey@redhat.com>
7404 * Makefile.in: Rebuilt.
7405 * Makefile.am (src.zip): New target.
7406 (install-src.zip): Likewise.
7407 (sourcesdir): New variable.
7409 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7411 * javax/imageio/metadata/IIOMetadataNode.java:
7413 * javax/imageio/metadata/IIOAttr.java,
7414 javax/imageio/metadata/IIONamedNodeMap.java,
7415 javax/imageio/metadata/IIONodeList.java:
7418 2005-02-06 Graydon Hoare <graydon@redhat.com>
7420 * gnu/java/awt/ClasspathToolkit.java
7421 (registerImageIOSpis): New method.
7422 * javax/imageio/ImageIO.java
7423 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7424 (WriterMIMETypeFilter.filter): Likewise.
7425 (ImageReaderIterator): Pass extension argument through to SPI.
7426 (getReadersByFilter): Likewise.
7427 (getWritersByFilter): Likewise.
7428 (getImageReadersByFormatName): Likewise.
7429 (getImageReadersByMIMEType): Likewise.
7430 (getImageReadersBySuffix): Likewise.
7431 (getImageWritersByFormatName): Likewise.
7432 (getImageWritersByMIMEType): Likewise.
7433 (getImageWritersBySuffix): Likewise.
7436 * javax/imageio/ImageReader.java
7437 (progressListeners): Initialize.
7438 (setInput): Implement.
7439 * javax/imageio/ImageWriter.java
7440 (progressListeners): Initialize.
7441 (warningListeners): Likewise.
7442 (warningLocales): Likewise.
7443 (setOutput): Test "isInstance" rather than class equality.
7444 * javax/imageio/spi/IIORegistry.java
7445 (static): Add reader and writer SPIs.
7446 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7448 2005-02-06 Michael Koch <konqueror@gmx.de>
7450 * javax/imageio/metadata/IIOInvalidTreeException.java
7451 (IIOInvalidTreeException): Reformatted.
7452 * javax/imageio/spi/IIORegistry.java
7453 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7454 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7455 Reworked import statements.
7457 2005-02-06 Michael Koch <konqueror@gmx.de>
7459 * javax/imageio/stream/FileImageOutputStream.java:
7462 2005-02-06 Michael Koch <konqueror@gmx.de>
7464 * javax/imageio/stream/FileCacheImageInputStream.java,
7465 javax/imageio/stream/FileCacheImageOutputStream.java,
7466 javax/imageio/stream/FileImageInputStream.java,
7467 javax/imageio/stream/ImageInputStreamImpl.java,
7468 javax/imageio/stream/ImageOutputStreamImpl.java,
7469 javax/imageio/stream/MemoryCacheImageInputStream.java,
7470 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7471 Added all missing methods in javax.imageio.stream.
7473 2005-02-02 David Daney <ddaney@avtrex.com>
7475 * java/net/InetAddress.java (InetAddress): Make a private copy of
7477 * java/net/Inet4Address.java (getAddress): Return a copy of the
7479 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7481 (getAddress): Return a copy of the address.
7484 2005-02-02 Tom Tromey <tromey@redhat.com>
7486 * Makefile.in: Rebuilt.
7487 * Makefile.am (classes.stamp): New target, broken out from
7489 ($(all_java_class_files)): Depend on it.
7490 (libgcj-@gcc_version@.jar): Likewise.
7491 (all-recursive): Likewise.
7492 (CLEANFILES): Include classes.stamp.
7494 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7496 * link.cc: Include <stdio.h>
7498 2005-02-02 Tom Tromey <tromey@redhat.com>
7501 * Makefile.in: Rebuilt.
7502 * Makefile.am (ordinary_java_source_files): Added new class.
7503 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7504 Use system_instance, not instance.
7505 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7506 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7508 (system_instance): New field.
7509 (initialize): Initialize the system loader as well.
7510 (VMClassLoader): Default to LIB_CACHE.
7512 2005-02-02 Tom Tromey <tromey@redhat.com>
7514 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7515 * prims.cc: Fixed comment.
7517 2005-02-01 Tom Tromey <tromey@redhat.com>
7519 * Makefile.in: Rebuilt.
7520 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7521 (.java.class): Use BOOTCLASSPATH.
7523 2005-02-01 Tom Tromey <tromey@redhat.com>
7525 * external/w3c_dom/Makefile.am: New file.
7526 * external/w3c_dom/Makefile.in: New file.
7527 * external/sax/Makefile.am: New file.
7528 * external/sax/Makefile.in: New file.
7529 * external/Makefile.in: New file.
7530 * external/Makefile.am: New file.
7531 * external/README: New file from Classpath.
7532 * configure, aclocal.m4, Makefile.in: Rebuilt.
7533 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7534 * Makefile.am (SUBDIRS): Added external.
7535 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7536 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7537 (BOOTCLASSPATH): New variable.
7538 (AM_GCJFLAGS): Use it.
7539 (gnu_xml_source_files): New variable.
7540 (libgcj_la_SOURCES): Use it.
7541 (libgcj_la_LDADD): Include new convenience libraries.
7542 (lib_org_ietf_jgss_la_SOURCES): Removed.
7543 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7544 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7545 (lib_org_w3c_dom_la_SOURCES): Removed.
7546 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7547 (lib_org_w3c_dom_la_LIBADD): Likewise.
7548 (lib_org_xml_sax_la_SOURCES): Removed.
7549 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7550 (lib_org_xml_sax_la_LIBADD): Likewise.
7551 (all_java_source_files): Updated.
7552 (property_files): Likewise.
7553 (libgcj-@gcc_version@.jar): Include classes from external/.
7554 (javax_source_files): Updated.
7555 (ordinary_java_source_files): Updated.
7556 * javax/xml/XMLConstants.java,
7557 javax/xml/datatype/DatatypeConfigurationException.java,
7558 javax/xml/datatype/DatatypeConstants.java,
7559 javax/xml/datatype/DatatypeFactory.java,
7560 javax/xml/datatype/Duration.java,
7561 javax/xml/datatype/XMLGregorianCalendar.java,
7562 javax/xml/datatype/package.html,
7563 javax/xml/namespace/NamespaceContext.java,
7564 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7565 javax/xml/parsers/DocumentBuilder.java,
7566 javax/xml/parsers/DocumentBuilderFactory.java,
7567 javax/xml/parsers/FactoryConfigurationError.java,
7568 javax/xml/parsers/ParserConfigurationException.java,
7569 javax/xml/parsers/SAXParser.java,
7570 javax/xml/parsers/SAXParserFactory.java,
7571 javax/xml/parsers/package.html,
7572 javax/xml/transform/ErrorListener.java,
7573 javax/xml/transform/OutputKeys.java,
7574 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7575 javax/xml/transform/SourceLocator.java,
7576 javax/xml/transform/Templates.java,
7577 javax/xml/transform/Transformer.java,
7578 javax/xml/transform/TransformerConfigurationException.java,
7579 javax/xml/transform/TransformerException.java,
7580 javax/xml/transform/TransformerFactory.java,
7581 javax/xml/transform/TransformerFactoryConfigurationError.java,
7582 javax/xml/transform/URIResolver.java,
7583 javax/xml/transform/package.html,
7584 javax/xml/transform/dom/DOMLocator.java,
7585 javax/xml/transform/dom/DOMResult.java,
7586 javax/xml/transform/dom/DOMSource.java,
7587 javax/xml/transform/dom/package.html,
7588 javax/xml/transform/sax/SAXResult.java,
7589 javax/xml/transform/sax/SAXSource.java,
7590 javax/xml/transform/sax/SAXTransformerFactory.java,
7591 javax/xml/transform/sax/TemplatesHandler.java,
7592 javax/xml/transform/sax/TransformerHandler.java,
7593 javax/xml/transform/sax/package.html,
7594 javax/xml/transform/stream/StreamResult.java,
7595 javax/xml/transform/stream/StreamSource.java,
7596 javax/xml/transform/stream/package.html,
7597 javax/xml/validation/Schema.java,
7598 javax/xml/validation/SchemaFactory.java,
7599 javax/xml/validation/TypeInfoProvider.java,
7600 javax/xml/validation/Validator.java,
7601 javax/xml/validation/ValidatorHandler.java,
7602 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7603 javax/xml/xpath/XPathConstants.java,
7604 javax/xml/xpath/XPathException.java,
7605 javax/xml/xpath/XPathExpression.java,
7606 javax/xml/xpath/XPathExpressionException.java,
7607 javax/xml/xpath/XPathFactory.java,
7608 javax/xml/xpath/XPathFactoryConfigurationException.java,
7609 javax/xml/xpath/XPathFunction.java,
7610 javax/xml/xpath/XPathFunctionException.java,
7611 javax/xml/xpath/XPathFunctionResolver.java,
7612 javax/xml/xpath/XPathVariableResolver.java,
7613 javax/xml/xpath/package.html: New files, from GNU JAXP.
7614 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7615 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7616 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7617 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7618 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7619 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7620 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7621 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7622 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7623 org/w3c/dom/ranges/DocumentRange.java,
7624 org/w3c/dom/ranges/Range.java,
7625 org/w3c/dom/ranges/RangeException.java,
7626 org/w3c/dom/traversal/DocumentTraversal.java,
7627 org/w3c/dom/traversal/NodeFilter.java,
7628 org/w3c/dom/traversal/NodeIterator.java,
7629 org/w3c/dom/traversal/TreeWalker.java,
7630 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7631 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7632 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7633 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7634 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7635 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7636 org/xml/sax/SAXNotRecognizedException.java,
7637 org/xml/sax/SAXNotSupportedException.java,
7638 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7639 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7640 org/xml/sax/ext/DeclHandler.java,
7641 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7642 org/xml/sax/helpers/AttributeListImpl.java,
7643 org/xml/sax/helpers/AttributesImpl.java,
7644 org/xml/sax/helpers/DefaultHandler.java,
7645 org/xml/sax/helpers/LocatorImpl.java,
7646 org/xml/sax/helpers/NamespaceSupport.java,
7647 org/xml/sax/helpers/NewInstance.java,
7648 org/xml/sax/helpers/ParserAdapter.java,
7649 org/xml/sax/helpers/ParserFactory.java,
7650 org/xml/sax/helpers/XMLFilterImpl.java,
7651 org/xml/sax/helpers/XMLReaderAdapter.java,
7652 org/xml/sax/helpers/XMLReaderFactory.java,
7653 org/xml/sax/helpers/package.html: Moved to external/.
7654 * external/sax/README,
7655 external/sax/org/xml/sax/AttributeList.java,
7656 external/sax/org/xml/sax/Attributes.java,
7657 external/sax/org/xml/sax/ContentHandler.java,
7658 external/sax/org/xml/sax/DTDHandler.java,
7659 external/sax/org/xml/sax/DocumentHandler.java,
7660 external/sax/org/xml/sax/EntityResolver.java,
7661 external/sax/org/xml/sax/ErrorHandler.java,
7662 external/sax/org/xml/sax/HandlerBase.java,
7663 external/sax/org/xml/sax/InputSource.java,
7664 external/sax/org/xml/sax/Locator.java,
7665 external/sax/org/xml/sax/Parser.java,
7666 external/sax/org/xml/sax/SAXException.java,
7667 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7668 external/sax/org/xml/sax/SAXNotSupportedException.java,
7669 external/sax/org/xml/sax/SAXParseException.java,
7670 external/sax/org/xml/sax/XMLFilter.java,
7671 external/sax/org/xml/sax/XMLReader.java,
7672 external/sax/org/xml/sax/package.html,
7673 external/sax/org/xml/sax/ext/Attributes2.java,
7674 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7675 external/sax/org/xml/sax/ext/DeclHandler.java,
7676 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7677 external/sax/org/xml/sax/ext/EntityResolver2.java,
7678 external/sax/org/xml/sax/ext/LexicalHandler.java,
7679 external/sax/org/xml/sax/ext/Locator2.java,
7680 external/sax/org/xml/sax/ext/Locator2Impl.java,
7681 external/sax/org/xml/sax/ext/package.html,
7682 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7683 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7684 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7685 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7686 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7687 external/sax/org/xml/sax/helpers/NewInstance.java,
7688 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7689 external/sax/org/xml/sax/helpers/ParserFactory.java,
7690 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7691 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7692 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7693 external/sax/org/xml/sax/helpers/package.html,
7694 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7695 external/w3c_dom/org/w3c/dom/Attr.java,
7696 external/w3c_dom/org/w3c/dom/CDATASection.java,
7697 external/w3c_dom/org/w3c/dom/CharacterData.java,
7698 external/w3c_dom/org/w3c/dom/Comment.java,
7699 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7700 external/w3c_dom/org/w3c/dom/DOMError.java,
7701 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7702 external/w3c_dom/org/w3c/dom/DOMException.java,
7703 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7704 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7705 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7706 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7707 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7708 external/w3c_dom/org/w3c/dom/Document.java,
7709 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7710 external/w3c_dom/org/w3c/dom/DocumentType.java,
7711 external/w3c_dom/org/w3c/dom/Element.java,
7712 external/w3c_dom/org/w3c/dom/Entity.java,
7713 external/w3c_dom/org/w3c/dom/EntityReference.java,
7714 external/w3c_dom/org/w3c/dom/NameList.java,
7715 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7716 external/w3c_dom/org/w3c/dom/Node.java,
7717 external/w3c_dom/org/w3c/dom/NodeList.java,
7718 external/w3c_dom/org/w3c/dom/Notation.java,
7719 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7720 external/w3c_dom/org/w3c/dom/Text.java,
7721 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7722 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7723 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7724 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7725 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7726 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7727 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7728 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7729 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7730 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7731 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7732 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7733 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7734 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7735 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7736 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7737 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7738 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7739 external/w3c_dom/org/w3c/dom/css/Counter.java,
7740 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7741 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7742 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7743 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7744 external/w3c_dom/org/w3c/dom/css/Rect.java,
7745 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7746 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7747 external/w3c_dom/org/w3c/dom/events/Event.java,
7748 external/w3c_dom/org/w3c/dom/events/EventException.java,
7749 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7750 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7751 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7752 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7753 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7754 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7755 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7756 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7757 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7758 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7759 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7760 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7761 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7762 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7763 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7764 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7765 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7766 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7767 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7768 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7769 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7770 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7771 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7772 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7773 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7774 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7775 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7776 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7777 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7778 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7779 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7780 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7781 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7782 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7783 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7784 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7785 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7786 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7787 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7788 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7789 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7790 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7791 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7792 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7793 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7794 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7795 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7796 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7797 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7798 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7799 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7800 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7801 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7802 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7803 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7804 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7805 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7806 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7807 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7808 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7809 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7810 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7811 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7812 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7813 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7814 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7815 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7816 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7817 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7818 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7819 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7820 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7821 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7822 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7823 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7824 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7825 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7826 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7827 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7828 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7829 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7830 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7831 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7832 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7833 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7834 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7835 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7836 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7837 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7838 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7839 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7840 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7843 2005-01-31 Anthony Green <green@redhat.com>
7845 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7846 Support IP_MULTICAST_LOOP.
7847 (setOption): Support IP_MULTICAST_LOOP.
7849 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7850 SO_REUSEADDR support.
7851 (getOption): Support SO_REUSEADDR.
7853 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7856 * java/util/Date.java
7857 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7859 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7861 (getTimezoneOffset): Inverted sign.
7863 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7865 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7866 remove other passing tests and add new XFAILs.
7868 2005-01-24 Tom Tromey <tromey@redhat.com>
7870 * java/lang/Class.h (next): Updated documentation. Renamed to
7872 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7873 _Jv_CheckABIVersion.
7874 (_Jv_RegisterClasses_Counted): Likewise.
7875 (_Jv_RegisterClassHookDefault): Fix starting condition of
7876 duplicate-checking loop.
7877 * include/jvm.h (GCJ_VERSION): New define.
7878 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7879 (_Jv_CheckABIVersion): New function.
7881 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7883 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7884 (libgij_la_LDFLAGS): Add.
7885 * Makefile.in: Rebuilt.
7887 2005-01-24 Roger Sayle <roger@eyesopen.com>
7890 * testsuite/libjava.compile/PR19295.java: New test case.
7892 2005-01-19 Tom Tromey <tromey@redhat.com>
7894 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7895 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7896 if 'handler' is valid.
7898 2005-01-17 Tom Tromey <tromey@redhat.com>
7900 * java/text/MessageFormat.java (scanString): Changed how quoting
7902 (scanFormatElement): Likewise.
7904 2004-12-07 Mark Wielaard <mark@klomp.org>
7906 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7908 2005-01-15 Michael Koch <konqueror@gmx.de>
7912 (AUTHORITY_REGEXP): New regexp constant.
7913 (AUTHORITY_USERINFO_GROUP): New constant.
7914 (AUTHORITY_HOST_GROUP): Likewise.
7915 (AUTHORITY_PORT_GROUP): Likewise.
7916 (port): Changed default value to -1.
7917 (parseURI): Parse authority part and initialize host,
7920 2005-01-14 Robin Green <greenrd@greenrd.org>
7922 * java/io/File.java (toURI): Generate a URI which we understand.
7924 2005-01-13 Graydon Hoare <graydon@redhat.com>
7926 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7927 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7928 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7929 * jni.cc: Reuse bottom frame between calls, avoid clearing
7930 frame when no local references are made.
7932 2005-01-13 Michael Koch <konqueror@gmx.de>
7935 * java/lang/Thread.java
7936 (Thread): Call checkAccess().
7937 (stop): Fixed argument name to match javadoc.
7938 * java/lang/natThread.cc
7939 (interrupt): Call checkAccess().
7942 2005-01-11 Michael Koch <konqueror@gmx.de>
7945 * java/net/URL.java (URL): Handle specs like
7946 "/redir?http://domain2.com/index.html" which start with a slash.
7948 2005-01-11 Michael Koch <konqueror@gmx.de>
7950 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7951 * gnu/java/net/BASE64.java,
7952 gnu/java/net/EmptyX509TrustManager.java,
7953 gnu/java/net/LineInputStream.java,
7954 gnu/java/net/protocol/http/Authenticator.java,
7955 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7956 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7957 gnu/java/net/protocol/http/ChunkedInputStream.java,
7958 gnu/java/net/protocol/http/Cookie.java,
7959 gnu/java/net/protocol/http/CookieManager.java,
7960 gnu/java/net/protocol/http/Credentials.java,
7961 gnu/java/net/protocol/http/HTTPConnection.java,
7962 gnu/java/net/protocol/http/HTTPDateFormat.java,
7963 gnu/java/net/protocol/http/HTTPURLConnection.java,
7964 gnu/java/net/protocol/http/Headers.java,
7965 gnu/java/net/protocol/http/Request.java,
7966 gnu/java/net/protocol/http/RequestBodyWriter.java,
7967 gnu/java/net/protocol/http/Response.java,
7968 gnu/java/net/protocol/http/ResponseBodyReader.java,
7969 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7970 gnu/java/net/protocol/http/SimpleCookieManager.java,
7971 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7972 gnu/java/net/protocol/http/event/ConnectionListener.java,
7973 gnu/java/net/protocol/http/event/RequestEvent.java,
7974 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7975 * gnu/java/net/protocol/http/Connection.java: Removed.
7976 * gnu/java/net/protocol/http/Handler.java,
7977 javax/net/ssl/HttpsURLConnection.java: Updated.
7978 * Makefile.am: Added new files and remove old ones.
7979 * Makefile.in: Regenerated.
7981 2005-01-11 Tom Tromey <tromey@redhat.com>
7984 * java/io/BufferedInputStream.java (read): Repeatedly read to
7986 (refill): Change test to see if buffer must be grown.
7988 2005-01-10 Tom Tromey <tromey@redhat.com>
7990 * mauve-libgcj: Exclude some swing tests.
7992 2005-01-10 Tom Tromey <tromey@redhat.com>
7994 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7995 * java/lang/Package.java (getPackages): Use VMClassLoader when
7997 (getPackage): Likewise.
7998 * prims.cc (_Jv_CreateJavaVM): Call
7999 _Jv_RegisterBootstrapPackages.
8000 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
8001 * java/lang/VMClassLoader.java (getPackage): Rewrote.
8002 (getPackages): Likewise.
8003 (definedPackages): New field.
8004 (definePackageForNative): New method.
8005 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
8006 * java/lang/natVMClassLoader.cc (loadClass): Updated.
8007 * defineclass.cc (handleClassBegin): Use
8008 ClassLoader.findLoadedClass.
8009 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
8011 (struct _Jv_LoaderInfo): Removed.
8012 (initiated_classes): Likewise.
8013 (_Jv_UnregisterClass): Don't use initiated_classes.
8014 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
8015 (_Jv_FindClass): Register classes found during boostrap.
8016 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
8017 (bootstrap_class_list): New global.
8018 (bootstrap_index): Likewise.
8019 (_Jv_RegisterBootstrapPackages): New function.
8020 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
8021 definePackageForNative.
8022 (findClass): Updated.
8023 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
8026 2005-01-10 Tom Tromey <tromey@redhat.com>
8029 * include/jvm.h (_Jv_Linker::find_field): Declare.
8030 (_Jv_Linker::find_field_helper): Likewise.
8031 * link.cc (find_field_helper): New method.
8032 (find_field): Likewise.
8033 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
8035 (link_symbol_table): Use find_field.
8037 2005-01-10 Michael Koch <konqueror@gmx.de>
8040 * java/util/Locale.java (Locale): Don't uppercase variant.
8041 (getISOCountries): Fixed typo in javadoc.
8043 2005-01-10 Michael Koch <konqueror@gmx.de>
8045 * java/util/SimpleTimeZone.java (checkRule):
8046 Throw IllegalArgumentException on invalid month values.
8047 * java/util/TimeZone.java (setID):
8048 Throw NullPointerException if needed.
8050 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
8052 * java/util/SimpleTimeZone.java (getOffset):
8053 offset end date with daylight savings
8055 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
8057 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
8058 * testsuite/libjava.compile/PR19277.xfail: Likewise.
8060 2005-01-09 Michael Koch <konqueror@gmx.de>
8063 * java/net/InetAddress.java (getLocalHost):
8064 Throw UnknownHostException if local hostname cannot be determined.
8066 2005-01-06 Tom Tromey <tromey@redhat.com>
8068 * java/lang/ClassLoader.java (findClass): Fixed documentation.
8070 2005-01-07 Michael Koch <konqueror@gmx.de>
8073 * java/nio/Buffer.java (address): New field.
8074 * java/nio/DirectByteBufferImpl.java (address): Removed.
8075 * java/nio/MappedByteBufferImpl.java (address): Likewise.
8076 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
8077 Explicitly initialize Buffer.address if needed.
8078 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
8079 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
8080 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
8081 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
8082 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
8083 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
8084 DirectByteBufferImpl object.
8085 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
8086 * testsuite/libjava.jni/directbuffer.c,
8087 testsuite/libjava.jni/directbuffer.java,
8088 testsuite/libjava.jni/directbuffer.out,
8089 testsuite/libjava.jni/bytebuffer.c,
8090 testsuite/libjava.jni/bytebuffer.java,
8091 testsuite/libjava.jni/bytebuffer.out: New files.
8093 2005-01-05 Tom Tromey <tromey@redhat.com>
8095 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
8097 (compressedSize): Now 'long'. Default to -1.
8098 (getCompressedSize): Rewrote.
8099 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
8100 deflate at all if we need input.
8102 2005-01-05 Tom Tromey <tromey@redhat.com>
8105 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
8108 2005-01-05 Tom Tromey <tromey@redhat.com>
8110 * java/lang/natRuntime.cc (insertSystemProperties): Set
8111 java.ext.dirs earlier.
8113 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
8115 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
8116 sync_info element of the object if needed.
8118 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
8120 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
8121 a non-zero exit status from 'false'.
8123 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
8125 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.