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