1 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
4 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
5 * Makefile.in: Regenerate.
6 * configure.ac: Add --with-java-home option.
7 * configure: Regenerate.
8 * external/Makefile.in: Regenerate.
9 * external/sax/Makefile.in: Regenerate.
10 * external/w3c_dom/Makefile.in: Regenerate.
11 * gcj/Makefile.in: Regenerate.
12 * include/Makefile.in: Regenerate.
13 * testsuite/Makefile.in: Regenerate.
14 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
17 2005-04-05 Tom Tromey <tromey@redhat.com>
19 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
20 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
21 Rewrote to use _Jv_FindClassFromSignature.
22 * verify.cc (resolve): throw NoClassDefFoundError.
23 * link.cc (resolve_field): Throw NoClassDefFoundError.
24 (find_field): Likewise.
25 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
26 Handle error cases. Added 'endp' argument.
27 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
29 2005-04-05 Tom Tromey <tromey@redhat.com>
31 * Makefile.in: Rebuilt.
32 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
34 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
35 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
36 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
37 (gtk-awt-peer.lo): New target.
39 2005-04-04 Steve Pribyl <steve@netfuel.com>
42 * configure.ac: Fix fastjar definition for cross builds.
45 2005-04-04 Tom Tromey <tromey@redhat.com>
47 * java/lang/ClassLoader.java (loadClass): Resolve class even if
50 2005-04-04 Tom Tromey <tromey@redhat.com>
52 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
53 org.metastatic.jessie.
55 2005-04-02 Anthony Green <green@redhat.com>
58 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
60 2005-04-02 Mark Wielaard <mark@klomp.org>
62 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
63 Attributes and attribute order doesn't matter.
64 (BasicAttributesEnumeration.where): Initialize to zero.
65 (BasicAttributesEnumeration.nextElement): Update and compare where
66 appropriately (zero based).
68 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
70 PR libgcj/20090, PR libgcj/20526
71 * gij.cc (nonstandard_opts_help): New function.
72 (add_option): New function.
73 (main): Support java options. Set java.class.path. Don't set
75 * prims.cc (parse_x_arg): New function.
76 (parse_init_args): Call parse_x_arg for -X and _ options, when
77 ignoreUnrecognized is true.
78 (new _Jv_RunMain): New vm_args variant.
79 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
80 (_Jv_Jar_Class_Path): Remove variable.
81 * include/java-props.h: Likewise.
82 * include/cni.h (JvRealloc): New function.
83 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
84 * java/lang/natRuntime.cc (insertSystemProperties): Remove
85 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
87 * configure.ac (JV_VERSION): Define.
88 (JV_API_VERSION): Likewise.
89 * configure: Regenerate.
90 * include/config.h.in: Regenerate.
92 2005-04-01 Mark Anderson <mark@panonet.net>
94 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
95 -Infinity as parameters.
97 2005-04-01 Michael Koch <konqueror@gmx.de>
99 * java/io/PipedInputStream.java
100 (read): Make sure a positive byte value is returned. Revised javadoc.
101 Thanks to Olafur Bragason for reporting these bugs.
103 2005-04-01 Tom Tromey <tromey@redhat.com>
105 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
106 Updated for name change.
107 (nativeFindClass): New method.
108 (loadClass): Use nativeFindClass.
109 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
111 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
112 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
114 (initialize): New method.
115 (nativeFindClass): Declare.
116 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
117 * gnu/gcj/runtime/VMClassLoader.java: Removed.
118 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
120 (definePackageForNative): Removed.
121 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
122 Moved to VMClassLoader.java.
123 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
124 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
125 (ordinary_java_source_files): Added ExtensionClassLoader.java,
126 removed VMClassLoader.java.
127 (nat_source_files): Removed natVMClassLoader.cc.
129 2005-04-01 Tom Tromey <tromey@redhat.com>
131 * Makefile.in: Rebuilt.
132 * Makefile.am (db_pathtail): Use $(gcc_version), not
135 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
137 * java/util/Timer.java
138 (run): Stop the queue if a task throws an exception.
140 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
142 * javax/swing/text/JTextComponent.java (viewToModel): New method.
144 2005-03-29 Ian Lance Taylor <ian@airs.com>
146 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
147 * external/sax/Makefile.in: Rebuild.
148 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
150 * external/w3c_dom/Makefile.in: Rebuild.
152 2005-03-29 Tom Tromey <tromey@redhat.com>
154 * java/lang/natRuntime.cc (insertSystemProperties): Set
155 gnu.gcj.runtime.endorsed.dirs.
156 * Makefile.in: Rebuilt.
157 * Makefile.am (ordinary_java_source_files): Added
158 HelperClassLoader.java.
159 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
160 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
162 (init): Use addDirectoriesFromProperty.
163 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
164 HelperClassLoader. Use addDirectoriesFromProperty. Handle
165 gnu.gcj.runtime.endorsed.dirs.
166 * gnu/gcj/runtime/HelperClassLoader.java: New file.
168 2005-03-26 Chris Burdess <dog@gnu.org>
170 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
173 2005-03-13 Michael Koch <konqueror@gmx.de>
175 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
177 2005-03-11 Chris Burdess <dog@gnu.org>
179 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
182 2005-02-27 Chris Burdess <dog@gnu.org>
184 * gnu/xml/aelfred2/JAXPFactory.java,
185 gnu/xml/aelfred2/SAXDriver.java,
186 gnu/xml/aelfred2/XmlParser.java,
187 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
188 formatting conventions. Replaced arrays of Object with struct-like
189 classes for easier maintainability. Made SAXDriver.stringInterning
190 package private to allow access from XmlParser inside the loop without
191 a method call overhead.
193 2005-03-11 Chris Burdess <dog@gnu.org>
195 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
198 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
200 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
201 settings to sub Makefiles.
202 (GCJH, ZIP): Prefix with top_builddir.
203 * configure: Rebuild.
204 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
205 * external/w3c_dom/Makefile.in: Rebuild.
206 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
207 * external/sax/Makefile.in: Rebuild.
209 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
211 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
212 libsocket to the libraries to link for Solaris.
214 2005-03-28 Per Bothner <per@bothner.com>
216 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
217 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
219 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
221 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
222 to fix a ONESTEP fallout.
223 * Makefile.in: Regenerate.
225 2005-03-25 Mike Stump <mrs@apple.com>
227 * configure.ac: Fix ZIP and GCJH at configure time to absolute
228 paths like we do for the compiler, as we use it in external/sax
229 and it doesn't get MULTIBUILDTOP right when multilibing.
231 2005-03-24 Anthony Green <green@redhat.com>
233 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
235 (usage): Add [LIBDIR] to help output.
236 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
237 * Makefile.am (AM_CXXFLAGS): Define
238 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
239 (db_pathtail): New macro.
241 2005-03-24 Tom Tromey <tromey@redhat.com>
243 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
244 add sax and w3c libraries.
245 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
247 * external/w3c_dom/Makefile.in: Rebuilt.
248 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
250 (libw3c_gcj_la_LDFLAGS): New variable.
251 (noinst_LTLIBRARIES): Renamed.
252 * external/sax/Makefile.in: Rebuilt.
253 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
255 (libsax_gcj_la_LDFLAGS): New variable.
256 (noinst_LTLIBRARIES): Renamed.
258 2005-03-23 Tom Tromey <tromey@redhat.com>
260 * Makefile.in: Rebuilt.
261 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
262 (libgcj0_convenience_la_SOURCES): Don't include
263 gnu_xml_source_files.
264 (libgcj0_convenience_la_LIBADD): New variable.
265 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
266 (all_java_source_files): javax_imageio_source_files,
267 javax_xml_source_files, and gnu_java_beans_source_files.
268 ($(gnu_xml_source_files:.java=.lo)): Removed target.
269 (gnu-xml.lo): New target.
270 (javax-imageio.lo): Likewise.
271 (javax-xml.lo): Likewise.
272 (gnu-java-beans.lo): Likewise.
273 (gnu_java_beans_source_files): New variable.
274 (javax_imageio_source_files): Likewise.
275 (javax_xml_source_files): Likewise.
276 (javax_source_files): Moved files to other variable.
277 (awt_java_source_files): Likewise.
278 (ordinary_java_source_files): Added BootClassLoader.java.
279 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
280 not system class loader.
281 (initBootLoader): New method.
282 (loadClass): Search bootLoader.
283 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
284 boot loader, not system class loader.
285 (_Jv_UnregisterInitiatingLoader): Likewise.
286 (_Jv_FindClass): Likewise. Ensure entries in
287 bootstrap_class_list are unique.
288 * java/lang/natClass.cc (getClassLoader): Don't special case
290 * java/lang/VMClassLoader.java (bootLoader): New field.
291 (getResource): Use bootLoader.
292 (getResources): Likewise.
293 (initBootLoader): Declare.
294 * gnu/gcj/runtime/BootClassLoader.java: New file.
295 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
296 (EMPTY_ENUMERATION): Now package-private.
297 * external/w3c_com/Makefile.in: Rebuilt.
298 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
299 (w3c.jar): New target.
300 (classes.stamp): Updated.
301 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
302 Changed name of library.
303 (libw3c_gcj_la_SOURCES): New variable.
304 (libw3c_gcj_la_GCJFLAGS): Likewise.
305 (source_files): Renamed from lib3c_convenience_la_SOURCES.
306 * external/sax/Makefile.in: Rebuilt.
307 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
308 (sax.jar): New target.
309 (classes.stamp): Updated.
310 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
311 Changed name of library.
312 (libsax_gcj_la_SOURCES): New variable.
313 (libsax_gcj_la_GCJFLAGS): Likewise.
314 (source_files): Renamed from libsax_convenience_la_SOURCES.
315 * stacktrace.cc (non_system_trace_fn): Don't look at system class
317 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
319 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
321 2005-03-23 Sven de Marothy <sven@physto.se>
323 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
325 * java/util/Calendar.java
326 (set): Use starting day of week when one is needed if none is given.
327 * java/text/SimpleDateFormat.java
328 (parse): Handle 1-12 and 1-24 timestamps correctly.
329 * java/util/GregorianCalendar.java
330 (computeTime, computeFields): HOUR should be in 0-11 format.
331 (nonLeniencyCheck): Adjust leniency checking to that fact.
332 (getLinearDay): Should be private.
334 2005-03-23 Tom Tromey <tromey@redhat.com>
336 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
337 (_Jv_CheckABIVersion): Use it.
339 2005-03-22 Mike Stump <mrs@apple.com>
341 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
343 * include/posix.h: .dylib is used on all Apple MACH platforms.
344 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
346 2005-03-22 Tom Tromey <tromey@redhat.com>
348 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
350 2005-03-21 Tom Tromey <tromey@redhat.com>
352 * java/lang/VMCompiler.java (static block): Also catch
353 BufferUnderflowException.
355 2005-03-21 Zack Weinberg <zack@codesourcery.com>
357 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
358 set tool_include_dir. In all substitutions, leave $(gcc_version)
359 to be expanded by the Makefile.
360 * aclocal.m4, configure: Regenerate.
361 * Makefile.am: Set gcc_version. Replace all uses of
362 @gcc_version@ with $(gcc_version).
363 * external/Makefile.am, external/sax/Makefile.am
364 * external/w3c_dom/Makefile.am, gcj/Makefile.am
365 * testsuite/Makefile.am: Set gcc_version.
366 * include/Makefile.am: Set gcc_version and tool_include_dir.
367 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
368 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
369 * testsuite/Makefile.in: Regenerate.
371 2005-03-17 Andrew Haley <aph@redhat.com>
373 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
375 Pass klass to _Jv_StackTrace::GetClassContext().
376 * java/lang/ClassLoader.java (getParent): Pass class to
377 VMSecurityManager.getClassContext()
378 (getSystemClassLoader): Likewise.
379 * java/lang/Package.java (getPackage): Likewise.
380 (getPackages): Likewise.
381 * java/lang/SecurityManager.java (getClassContext): Likewise.
382 (currentClassLoader): Likewise.
383 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
384 (currentClassLoader) Add new arg: caller.
385 Pass caller to VMSecurityManager.getClassContext.
387 * stacktrace.cc (GetClassContext): Correct calculation of
390 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
391 im->source_file_name.
393 2005-03-16 Andrew Haley <aph@redhat.com>
395 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
397 2005-03-16 Tom Tromey <tromey@redhat.com>
399 * link.cc (ensure_class_linked): Removed #ifdef.
400 (print_class_loaded): Likewise.
401 (wait_for_state): Likewise.
402 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
403 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
404 * include/java-interp.h: ... here.
406 2005-03-16 Tom Tromey <tromey@redhat.com>
408 * gnu/java/lang/MainThread.java (run): Load main class using
411 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
413 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
414 lgcc_s to the libraries to link for Darwin.
416 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
418 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
419 interpreter-specific code with #ifdef INTERPRETER.
420 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
421 (_Jv_StackTrace::FillInFrameInfo): Likewise.
422 (_Jv_StackTrace::non_system_trace_fn): Likewise.
423 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
424 #ifdef INTERPRETER. Also protect declarations that use it.
425 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
426 #ifdef INTERPRETER block.
428 2005-03-15 Jakub Jelinek <jakub@redhat.com>
431 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
432 * Makefile.in: Rebuilt.
434 2005-03-15 David Daney <ddaney@avtrex.com>
436 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
439 2005-03-15 David Daney <ddaney@avtrex.com>
441 * java/io/BufferedInputStream.java (available): Use 'in' instead
442 of 'super' for underlying stream access.
444 (read(byte[], int, int)): Ditto.
446 (skip): Call skip on underlying stream when possible.
448 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
450 * stacktrace.cc (GetCallerInfo): Return nothing in case of
451 SJLJ_EXCEPTIONS is defined.
453 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
455 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
458 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
460 * testsuite/lib/libjava.exp (libjava_init): Use the same target
462 (libjava_arguments): Likewise.
464 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
465 (gcj_jni_test_one): Likewise.
466 (gcj_jni_invocation_compile_c_to_binary): Likewise.
467 Add flags to keep the Darwin linker quiet.
468 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
469 Add -liconv for Darwin.
471 2005-03-11 Tom Tromey <tromey@redhat.com>
473 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
474 (_Jv_CheckABIVersion): Use it.
476 2005-03-11 Tom Tromey <tromey@redhat.com>
478 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
479 (usage): Document '-p'.
480 * Makefile.in: Rebuilt.
481 * Makefile.am (dbexecdir): New variable.
483 (dbexec_DATA): Likewise.
484 ($(db_name)): New target.
485 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
486 * java/lang/natRuntime.cc (insertSystemProperties): Set default
489 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
491 * exception.cc: Remove stray MethodRef.h include.
492 * java/lang/natClass.cc: Likewise.
493 * gnu/gcj/runtime/MethodRef.java: Removed.
494 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
495 gnu/gcj/runtime/natStackTrace.cc: Really removed.
496 * java/lang/natRuntime.cc (_load): Remove unsed variable.
497 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
498 * Makefile.in: Rebuilt.
500 2005-03-10 Tom Tromey <tromey@redhat.com>
502 * Makefile.in: Rebuilt.
503 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
505 2005-03-10 Chris Burdess <dog@bluezoo.org>
507 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
508 not currently parsing the DTD.
510 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
512 New Stack Trace infrastructure.
513 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
514 (gnu/gcj/runtime/StackTrace.java): Removed.
515 (ordinary_java_source_files): Remove obsolete files.
516 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
517 * configure.host (fallback_backtrace_h): Set backtrace header
518 for mingw and cygwin targets.
519 * configure.ac: Make symlink for fallback backtrace headers.
520 * Makefile.in, configure: Rebuilt.
521 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
522 Read 'LineNumberTable' attribute.
523 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
525 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
527 * exception.cc: Remove unused include.
528 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
529 (SAVE_PC): New macro. Save current PC in the interpreter frame.
530 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
531 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
532 table to direct threaded instruction values.
533 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
534 (_Jv_InterpMethod::run): No longer member function. All
535 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
536 is made or where an instruction could throw.
537 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
539 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
540 (catch_fpe): Likewise.
541 * stacktrace.cc: New file. Stack trace code now here.
542 * gnu/gcj/runtime/MethodRef.java:
543 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
544 calls addr2line to look up PC addresses in a given binary or shared
546 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
547 gnu/gcj/runtime/natStackTrace.cc: Removed.
548 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
549 this function name is specially recognised by the stack trace code
550 and shouldn't be changed.
551 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
552 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
553 (_Jv_InterpMethod::run): Update declaration.
554 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
556 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
557 * include/java-stack.h: New file. Declarations for stack tracing.
558 * include/jvm.h (_Jv_Frame_info): Removed.
559 * java/lang/Class.h: Update friend declarations.
560 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
562 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
563 (getStackTrace): Now native.
564 (data): New RawDataManaged field.
565 * java/lang/natClass.cc: Update includes.
566 (forName): Use _Jv_StackTrace::GetCallingClass for
567 calling-classloader check.
568 (getClassLoader): Likewise.
569 * java/lang/natRuntime.cc: Update includes.
570 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
571 * java/lang/natVMSecurityManager.cc: Update includes.
572 (getClassContext): Use _Jv_StackTrace::GetClassContext.
573 * java/lang/natVMThrowable.cc: New file. Native methods for
575 * java/lang/reflect/natArray.cc: Update includes.
576 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
578 * java/lang/reflect/natConstructor.cc: Update includes.
579 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
581 * java/lang/reflect/natField.cc: Update includes.
582 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
584 * java/lang/reflect/natMethod.cc: Update includes.
585 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
587 * java/util/natResourceBundle.cc: Update includes.
588 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
589 * java/util/logging/natLogger.cc: Update includes. Use
590 _Jv_StackTrace::GetCallerInfo to get call-site info.
591 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
593 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
596 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
598 * testsuite/libjava.compile/PR20312.java: New file.
599 * testsuite/libjava.compile/PR20312.xfail: Likewise.
600 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
602 2005-03-09 Andrew Haley <aph@redhat.com>
604 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
606 (smallTransferTo): New.
607 (transferFrom): Loop around smallTransferFrom, copying pageSize
609 (transferTo): Likewise.
611 2005-03-09 David Daney <ddaney@avtrex.com>
614 Merge BufferedInputStream from GNU Classpath.
615 * java/io/BufferedInputStream.java (marktarget): Field removed.
616 (CHUNKSIZE): Field removed.
617 (bufferSize): New field.
618 (BufferedInputStream): Initialize fields.
619 (close): Invalidate mark and buffer indexes.
621 (read()): Move mark handling code to refill.
622 (read(byte[], int, int)): Ditto.
623 (skip): Ditto and simplify EOF testing.
625 * java/io/InputStreamReader.java (refill): Removed mark and reset
626 of internal BufferedInputStream.
628 2005-03-09 Tom Tromey <tromey@redhat.com>
630 * java/lang/natVMClassLoader.cc (defineClass): Reference
631 'systemClassLoader' field directly.
632 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
634 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
635 Reference 'systemClassLoader' field directly.
636 (_Jv_UnregisterInitiatingLoader): Likewise.
637 (_Jv_FindClass): Likewise.
639 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
641 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
643 * java/lang/mprec.h: Remove commented headers. Fix comment to match
644 the file in GNU Classpath style.
646 2005-03-09 Tom Tromey <tromey@redhat.com>
648 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
649 (toString): Synchronize.
651 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
653 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
654 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
656 2005-03-07 Tom Tromey <tromey@redhat.com>
658 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
659 (usage): Document '-f'.
661 2005-03-07 Tom Tromey <tromey@redhat.com>
663 * java/lang/VMCompiler.java (md5Digest): New field.
664 (compileClass): Clone md5Digest instead of looking up a new one.
666 2005-03-07 Tom Tromey <tromey@redhat.com>
669 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
670 * link.cc (find_field_helper): Added 'type' argument.
671 (find_field): Updated.
673 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
674 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
675 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
676 throw UnsupportedOperationException, fixed comments.
677 (setFont, setForeground): Fixed comments.
678 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
679 return type to boolean.
680 (getNextEvent): Fixed javadocs.
681 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
682 (nativeQueueEmpty): Removed unused code.
683 (iterateNativeQueue): Removed outer loop.
685 2005-03-06 Roger Sayle <roger@eyesopen.com>
688 * Makefile.am (libgcj0_convenience.la): Revert last change.
689 * Makefile.in: Regenerate.
691 2005-03-05 Anthony Green <green@redhat.com>
693 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
694 classpath_jawt_lock, classpath_jawt_unlock): New functions.
695 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
696 (_Jv_GetDrawingSurface): Set visualID.
697 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
698 (JAWT_GetAWT): Set Lock and Unlock.
699 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
701 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
702 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
703 JAWT_LOCK_SURFACE_CHANGED): New macros.
704 (struct _JAWT): Add Lock and Unlock.
706 2005-03-05 Roger Sayle <roger@eyesopen.com>
707 Alexandre Oliva <aoliva@redhat.com>
708 Kelley Cook <kcook@gcc.gnu.org>
711 * Makefile.am (libgcj0_convenience.la): New rule to create a file
712 of the object files to link to avoid exceeding the command line
713 length limits on some platforms.
714 (clean-local): Clean up objectlist files.
715 * Makefile.in: Regenerate.
717 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
719 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
720 spec_case. Initialize pointer mlo.
722 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
725 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
727 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
730 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
731 uninitialized variable z.
733 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
734 possible unused variables.
736 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
738 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
740 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
743 * testsuite/libjava.jni/jni.exp
744 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
746 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
748 2005-02-23 David Daney <ddaney@avtrex.com>
750 * configure.host: Don't use -mxgot for MIPS builds.
752 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
755 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
757 (ZIP, GCJH): Replace it with ../$(host_subdir).
758 (built_gcc_dir): Add $(host_subdir).
759 * configure: Regenerate.
760 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
761 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
762 external/w3c_dom/Makefile.in: Regenerate.
764 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
766 * java/awt/font/TextAttribute.java: changed names to lower case;
767 (readResolve): implemented.
768 Added doc comments all over.
770 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
773 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
774 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
775 value. Move argument parsing code to prims.cc.
776 * prims.cc (no_properties): Remove.
777 (_Jv_Compiler_Properties): Initialize to NULL.
778 (_Jv_Properties_Count): Initialize to 0.
779 (parse_verbose_args): New function.
780 (parse_init_args): New function.
781 (_Jv_CreateJavaVM): Call parse_init_args.
782 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
783 * gcj/cni.h (JvVMOption): New struct.
784 (JvVMInitArgs): Likewise.
785 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
787 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
788 (_Jv_VMInitArgs): Likewise.
789 * include/java-props.h (_Jv_Properties_Count): Declare.
790 * java/lang/natRuntime.cc (insertSystemProperties): Use
791 _Jv_Properties_Count in for loop exit condition.
792 * testsuite/libjava.jni/jni.exp
793 (gcj_invocation_compile_c_to_binary): New procedure.
794 (gcj_invocation_test_one): Likewise.
795 (gcj_jni_run): Run JNI invocation API tests.
796 * testsuite/libjava.jni/invocation/PR16923.c,
797 testsuite/libjava.jni/invocation/PR16923.java,
798 testsuite/libjava.jni/invocation/PR16923.out: New test.
800 2005-02-23 Michael Koch <konqueror@gmx.de>
802 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
803 * Makefile.in: Regenerated.
805 2005-02-23 Robert Schuster <thebohemian@gmx.net>
807 * gnu/java/nio/ChannelReader: Fixed comments.
809 2005-02-23 Robert Schuster <thebohemian@gmx.net>
811 * java/nio/channels/Channels: Added FIXMEs about
812 stub method implementation.
813 (newReader): Implemented.
814 * gnu/java/nio/ChannelReader: New class.
816 2005-02-23 Michael Koch <konqueror@gmx.de>
818 * java/text/SimpleDateFormat.java:
819 Removed unused import.
821 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
824 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
825 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
826 * Makefile.in: Regenerate.
827 * configure.ac: Check for libXtst.
828 * configure: Regenerate.
830 2005-02-22 Mark Wielaard <address@bogus.example.com>
832 * java/security/AlgorithmParameterGenerator.java (getInstance):
833 Mention provider when throwing NoSuchProviderException.
834 * java/security/AlgorithmParameters.java (getInstance): Likewise.
835 * java/security/KeyFactory.java (getInstance): Likewise.
836 * java/security/KeyStore.java (getInstance): Likewise.
837 * java/security/SecureRandom.java (getInstance): Likewise.
838 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
840 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
842 * java/lang/reflect/Proxy.java,
844 java/security/SecureRandom.java,
845 java/util/Timer.java,
846 java/util/prefs/AbstractPreferences.java:
847 Don't catch java.lang.ThreadDeath.
849 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
851 * java/awt/font/TransformAttribute.java,
852 (TransformAttribute(AffineTransform)): throw
853 IllegalArgumentException for null transform.
854 (getTransform): return a copy of transform.
855 Added doc comments to all.
857 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
859 * java/io/Externalizable.java,
860 java/io/Serializable.java
861 (serialVersionUID): Removed.
862 * java/rmi/server/RemoteObject.java,
863 java/rmi/server/UID.java
864 (serialVersionUID): Made private.
865 * java/rmi/server/RemoteRef.java,
866 java/rmi/server/ServerRef.java
867 (serialVersionUID): Set proper value.
868 * java/security/interfaces/DSAPrivateKey.java,
869 java/security/interfaces/DSAPublicKey.java,
870 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
871 java/security/interfaces/RSAPrivateCrtKey.java,
872 java/security/interfaces/RSAPrivateKey.java,
873 java/security/interfaces/RSAPublicKey.java,
874 javax/crypto/SecretKey.java
875 (serialVersionUID): Added.
877 2005-02-22 Tom Tromey <tromey@redhat.com>
879 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
881 2005-02-22 Tom Tromey <tromey@redhat.com>
884 * verify.cc (type::EITHER): New constant.
885 (check_field_constant): Use it.
886 (type::compatible): Handle it.
888 2005-02-22 Michael Koch <konqueror@gmx.de>
890 * gnu/java/security/PolicyFile.java,
891 gnu/java/security/pkcs/PKCS7SignedData.java,
892 gnu/java/security/pkcs/SignerInfo.java:
893 Fixed copyright header.
895 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
897 * java/beans/PropertyDescriptor.java
898 (PropertyDescriptor,setReadMethod): Set propertyType.
900 2005-02-22 Michael Koch <konqueror@gmx.de>
902 * java/nio/DirectByteBufferImpl.java
903 (owner): Fixed formatting of javadoc.
904 * java/text/DateFormat.java
905 (getAvailableLocales): Fixed formatting.
906 * java/text/SimpleDateFormat.java:
907 Fixed formatting and import statement order.
908 * java/util/Calendar.java
909 (Calendar): Fixed javadoc to be HTML compliant.
910 * java/util/SimpleTimeZone.java:
913 2005-02-22 Roman Kennke <roman@ontographics.com>
915 * javax/swing/plaf/basic/BasicLookAndFeel.java
916 (initComponentDefaults): Fixed Button left and right margin.
918 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
920 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
924 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
925 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
926 (getWidth): New method.
927 (getHeight): Likewise.
928 (create): Remove width, height and insets parameters. Move size
930 (realize_cb): ... here. New function.
931 (connectSignals): Connect realize_cb.
932 (request_frame_extents): Remove FIXME. Move
933 postInsetsChangedEvent lookup ...
934 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
935 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
936 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
938 (windowGetWidthID): Likewise.
939 (windowGetHeightID): Likewise.
941 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
944 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
945 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
947 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
949 Merge serialization from GNU Classpath.
950 * gcj/method.h: Add missing #includes.
951 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
952 primitive class IDs on the stream here...
953 (resolveClass): ...not here.
954 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
956 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
957 setLongNative, setIntNative, setShortNative, setCharNative,
958 setByteNative, setBooleanNative, setObjectNative): New native methods.
959 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
960 setLongNative, setIntNative, setShortNative, setCharNative,
961 setByteNative, setBooleanNative, setObjectNative): Implement them.
962 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
963 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
964 the constructor here.
965 (callConstructor): Removed.
966 (getCallersClassLoader): Removed.
967 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
968 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
969 to control whether setting final field values is permitted. Call
970 getAddr() with checkFinal parameter instead of setAddr().
971 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
972 only if not done already.
973 (getAddr): Add checkFinal parameter. Do the final field check only if
977 2005-02-21 Mark Wielaard <mark@klomp.org>
980 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
983 2005-02-21 Mark Wielaard <mark@klomp.org>
986 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
987 without a super class and us ObjectStreamClass.lookupForClassObject().
988 (resolveClass): Check for primitive types.
989 (lookupClass): Return null when argument is null.
991 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
993 * java/io/ObjectInputStream.java
994 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
996 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
998 * java/io/ObjectOutputStream.java
999 (writeObject, callWriteMethod): Replaced reflection with accessing
1000 cached info in ObjectStreamClass.
1001 (getMethod): Removed.
1002 * java/io/ObjectStreamClass.java
1003 (findMethod): Added check to make sure the method found has the
1005 (cacheMethods): Added writeReplace and writeObject methods.
1006 (setFlags): Look at new writeObjectMethod field instead of doing
1008 (writeReplaceMethod): New field.
1009 (writeObjectMethod): New field.
1011 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
1012 Jeroen Frijters <jeroen@frijters.net>
1014 * java/io/ObjectInputStream.java
1015 (newObject): Changed prototype. Get a constructor reflect object
1017 (callConstructor): Removed.
1018 (allocateObject): Changed prototype.
1019 (readClassDescriptor): Build the constructor reflection directly.
1020 (readObject): Invoke newObject using the new prototype.
1022 * java/io/ObjectStreamClass.java
1023 (firstNonSerializableParent): Removed.
1024 (firstNonSerializableParentConstructor): Added.
1026 2005-02-21 Mark Wielaard <mark@klomp.org>
1028 * gnu/java/locale/LocaleInformation_en.java: Extend
1029 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
1031 2005-02-21 Mark Wielaard <mark@klomp.org>
1033 * java/text/SimpleDateFormat.java
1034 (SimpleDateFormat(String, DateFormatSymbols)): Throw
1035 NullPointerException when formatData is null.
1037 2005-02-21 Mark Wielaard <mark@klomp.org>
1039 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
1040 taking dstSavings into account.
1042 2005-02-21 Sven de Marothy <sven@physto.se>
1044 * java/text/SimpleDateFormat.java,
1045 (parse): Set correct DST_OFFSET to the correct value.
1047 2005-02-21 Mark Wielaard <mark@klomp.org>
1049 * java/util/SimpleTimeZone.java (checkRule): Throw
1050 IllegalArgumentException when month out of range.
1052 2005-02-21 Sven de Marothy <sven@physto.se>
1054 * java/util/GregorianCalendar.java,
1055 (add): Don't set fields directly anymore. Use set()
1057 2005-02-21 Mark Wielaard <mark@klomp.org>
1059 * java/text/SimpleDateFormat.java (CompiledField.toString):
1060 Use StringBuffer, not StringBuilder.
1061 (toString): Likewise.
1063 2005-02-21 Sven de Marothy <sven@physto.se>
1065 * java/util/Calendar.java
1066 (clear): Dates should clear to local time.
1067 * java/util/GregorianCalendar.java
1068 (computeTime): Fix priority problem with DAY_OF_WEEK,
1069 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
1071 2005-02-21 Sven de Marothy <sven@physto.se>
1073 * java/util/Calendar.java
1074 (Calendar): Constructor should clear fields.
1076 2005-02-21 Sven de Marothy <sven@physto.se>
1078 * java/text/SimpleDateFormat.java
1079 (parse): Tweak handling of 2-year dates
1080 * java/util/Calendar.java
1081 (clear): Clear fields to correct value.
1082 * java/util/GregorianCalendar.java
1083 (computeTime): Correct handling of time zones.
1084 Correct field minimum values.
1086 2005-02-21 Sven de Marothy <sven@physto.se>
1088 * java/util/Calendar.java
1089 (set) Invalidate all fields on first call to set().
1091 2005-02-21 Sven de Marothy <sven@physto.se>
1093 * java/util/GregorianCalendar.java
1094 (computeTime): Fixed handling of time zones.
1096 2005-02-21 Sven de Marothy <sven@physto.se>
1098 * java/util/Calendar.java
1099 (clear): Set values to Epoch instead of zero.
1100 (set): Set isSet to the relevant field pattern instead of just
1102 * java/util/GregorianCalendar.java
1103 (getBundle): Removed.
1104 (getDayOfYear): Removed.
1105 (getFirstDayOfMonth): New private method.
1106 (nonLeniencyCheck): New private method.
1107 (computeTime): Correct handling of insufficient data.
1109 2005-02-21 Sven de Marothy <sven@physto.se>
1111 * java/util/Calendar.java: Invalidate ERA field on setting
1113 * java/util/SimpleTimeZone.java:
1114 (getDaysInMonth): Reimplemented.
1115 * java/util/GregorianCalendar.java:
1116 (getLinearTime): Removed.
1117 (isLeapYear(int,boolean)): Removed.
1118 (before(), after()): Removed.
1119 (computeTime): Reimplemented.
1121 2005-02-21 Sven de Marothy <sven@physto.se>
1123 * java/util/Calendar.java: Reformatted.
1124 * java/util/GregorianCalendar.java: Reformatted.
1125 * java/util/SimpleTimeZone.java: Reformatted.
1127 2005-02-21 Sven de Marothy <sven@physto.se>
1129 * java/util/GregorianCalendar.java
1130 (GregorianCalendar): Update fields in the constructor
1132 2005-02-21 Noa Resare <noa@resare.com>
1134 * java/util/Calendar.java (explicitDSTOffset): New instance field.
1135 (set(int,int)): Set and use new field.
1136 (set(int,int,int)): Check new field.
1138 2005-02-21 Noa Resare <address@hidden>
1140 * java/util/Calendar.java(set):
1141 Fix for DST related regression.
1143 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
1145 * java/util/Calendar.java
1146 (setTimeInMillis): Added call to clear, removed computeFields call.
1147 * java/util/Date.java
1148 (Date(int,int,int,int,int,int)): Removed workaround for
1149 GregorianCalendar bug.
1150 * java/util/GregorianCalendar.java
1151 (GregorianCalendar): Chained all constructors to a (new)
1153 (computeTime): Fixed support for lenient month treatment.
1154 (getLinearDay): Return long instead of int.
1155 (calculateDay): Added fields argument and changed day argument
1158 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
1160 * java/text/SimpleDateFormat.java
1161 Lots of documentation updates.
1162 (readObject(java.io.ObjectInputStream)): Wraps
1163 IllegalArgumentException as specified.
1164 (compileFormat(String)): Uses standardChars
1165 rather than the local pattern characters.
1166 Throws IllegalArgumentException rather than
1168 (toString()): Extended to include all variables
1170 (translateLocalizedPattern(String, String, String)):
1171 Renamed to better define the use of this method.
1173 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
1175 * java/text/DateFormat.java:
1176 Documented pattern character offset constants and
1178 (Field): Added new static fields for new pattern chars.
1179 * java/text/SimpleDateFormat.java:
1180 (CompiledField): Changed name of FieldSizePair class
1181 to CompiledField after adding the character as an
1182 attribute. Changed fields to private and added
1183 accessors to give encapsulation.
1184 (CompiledField.CompiledField(int,int,char)): Extended
1185 with character field.
1186 (CompiledField.getField()): New accessor method.
1187 (CompiledField.getSize()): New acceessor method.
1188 (CompiledField.getCharacter()): New accessor method.
1189 (CompiledField.toString()): Added primarily for debugging.
1190 (standardChars): Now uses extended 24 character sequence.
1191 (compileFormat(String)): Changed to use CompiledField.
1192 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
1193 java.text.FieldPosition)): Changed to use CompiledField.
1194 New handler for RFC 822 timezones added.
1196 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
1198 * java/text/SimpleDateFormat.java:
1199 (parse(String, java.text.ParsePosition)):
1200 Changed 'E' and 'M' cases to use both
1201 short and long names. Extended 'z'
1202 case to also handle 'Z', and deal
1203 with simple GMT offsets such as +0100.
1204 (computeOffset(String)): New private method,
1205 which converts a GMT offset specification,
1206 such as GMT-0500 to a numeric offset in
1208 * java/util/TimeZone.java:
1209 (timezones()): Added "CEST", the daylight
1210 savings time version of "CET", or Central
1213 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
1215 * java/text/SimpleDateFormat.java:
1216 (parse): Set the DST offset to 0 when parsing
1217 GMT offset timezones.
1219 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
1221 * java/text/SimpleDateFormat.java:
1222 (parse): Use offset to set ZONE_OFFSET
1223 rather than the DST_OFFSET, so that
1224 GMT offset timezones change the right
1227 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
1229 * java/text/SimpleDateFormat.java:
1230 (getDateFormatSymbols()): return a copy
1231 (setDateFormatSymbols(java.text.DateFormatSymbols)):
1232 throw exception on null input
1233 (clone()): implemented to clone
1236 2005-02-21 Sven de Marothy <sven@physto.se>
1238 * java/text/SimpleDateFormat.java
1239 (parse): comparison should be case-insensitive, ignore null
1242 2005-02-21 Robert Schuster <theBohemian@gmx.net>
1244 * gnu/java/beans/IntrospectionIncubator.java
1245 (addMethod) Reverts the patch that ntroduced a regression (see bug
1246 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
1248 2005-02-21 Michael Koch <konqueror@gmx.de>
1250 * java/awt/Checkbox.java
1251 (next_checkbox_number): New static variable.
1252 (generateName): New method.
1253 (getUniqueLong): Likewise.
1254 * java/awt/Window.java
1255 (next_window_number): New static variable.
1256 (generateName): New method.
1257 (getUniqueLong): Likewise.
1259 2005-02-21 Mark Wielaard <mark@klomp.org>
1261 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
1264 2005-02-21 Andrew Haley <aph@redhat.com>
1266 * Makefile.in: Rebuilt.
1267 * Makefile.am (nat_source_files): Added natLogger.cc.
1268 * java/util/logging/natLogger.cc: New file.
1269 * java/util/logging/Logger.java (getCallerStackFrame): Now
1272 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
1274 * Makefile.am (all_property_files): Remove left over.
1275 (classes.stamp): Add stamp for the ONESTEP build, also known as
1276 --enable-libgcj-multifile.
1277 * Makefile.in: Regenerated.
1279 2005-02-21 Michael Koch <konqueror@gmx.de>
1281 * java/awt/Button.java,
1282 java/awt/Container.java,
1284 java/awt/Frame.java,
1285 java/text/CollationElementIterator.java,
1286 java/text/RuleBasedCollator.java,
1287 java/util/PropertyPermission.java:
1288 Fixed formatting issues all over.
1290 2005-02-21 Mark Wielaard <mark@klomp.org>
1292 * java/io/FileDescriptor.java (sync): Add real exception to
1293 SyncFailedException.
1295 2005-02-21 Michael Koch <konqueror@gmx.de>
1297 * java/io/InputStreamReader.java:
1300 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
1303 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
1305 2005-02-20 Dalibor Topic <robilad@kaffe.org>
1307 * libraries/javalib/gnu/regexp/RE.java,
1308 libraries/javalib/java/io/ObjectInputStream.java,
1309 libraries/javalib/java/security/AllPermission.java,
1310 libraries/javalib/java/security/BasicPermission.java,
1311 libraries/javalib/java/security/Permissions.java,
1312 libraries/javalib/java/text/MessageFormat.java:
1313 Made 'inner' classes real public static inner classes,
1314 and made them final where possible, or removed them
1317 2005-02-20 Michael Koch <konqueror@gmx.de>
1319 * gnu/java/text/FormatCharacterIterator.java:
1320 Removed redundant modifiers.
1322 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
1324 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
1327 2005-02-19 Michael Koch <konqueror@gmx.de>
1329 * Makefile.am: Added new files in gnu/java/beans and
1330 java/beans/XMLDecoder.java.
1331 * Makefile.in: Regenerated.
1333 2005-02-19 Robert Schuster <thebohemian@gmx.net>
1335 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
1336 assignment behavior by using java.lang.reflect.Array.set()
1339 2005-02-19 Dalibor Topic <robilad@kaffe.org>
1341 * gnu/java/beans/EmptyBeanInfo.java,
1342 gnu/java/beans/info/ComponentBeanInfo.java:
1343 Removed unused files.
1345 2005-02-19 Robert Schuster <thebohemian@gmx.net>
1347 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
1348 of AppletStub for java.beans.Beans.instantiate.
1349 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
1351 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
1352 to be conformant with Javadoc guidelines.
1353 (instantiate): Added two more overloaded variants, reworked user
1354 documentation, fixed exception behavior, fixed behavior when
1357 2005-02-19 Mark Wielaard <mark@klomp.org>
1359 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
1361 * gnu/java/beans/decoder/DummyContext.java: Likewise.
1363 2005-02-19 Robert Schuster <theBohemian@gmx.net>
1365 * gnu/java/beans/decoder/AbstractContext.java,
1366 gnu/java/beans/decoder/AbstractCreatableContext.java,
1367 gnu/java/beans/decoder/AbstractElementHandler.java,
1368 gnu/java/beans/decoder/AbstractObjectContext.java,
1369 gnu/java/beans/decoder/ArrayContext.java,
1370 gnu/java/beans/decoder/ArrayHandler.java,
1371 gnu/java/beans/decoder/AssemblyException.java,
1372 gnu/java/beans/decoder/BooleanHandler.java,
1373 gnu/java/beans/decoder/ByteHandler.java,
1374 gnu/java/beans/decoder/CharHandler.java,
1375 gnu/java/beans/decoder/ClassHandler.java,
1376 gnu/java/beans/decoder/ConstructorContext.java,
1377 gnu/java/beans/decoder/Context.java,
1378 gnu/java/beans/decoder/DecoderContext.java,
1379 gnu/java/beans/decoder/DefaultExceptionListener.java,
1380 gnu/java/beans/decoder/DoubleHandler.java,
1381 gnu/java/beans/decoder/DummyContext.java,
1382 gnu/java/beans/decoder/DummyHandler.java,
1383 gnu/java/beans/decoder/ElementHandler.java,
1384 gnu/java/beans/decoder/FloatHandler.java,
1385 gnu/java/beans/decoder/GrowableArrayContext.java,
1386 gnu/java/beans/decoder/IndexContext.java,
1387 gnu/java/beans/decoder/IntHandler.java,
1388 gnu/java/beans/decoder/JavaHandler.java,
1389 gnu/java/beans/decoder/LongHandler.java,
1390 gnu/java/beans/decoder/MethodContext.java,
1391 gnu/java/beans/decoder/MethodFinder.java,
1392 gnu/java/beans/decoder/NullHandler.java,
1393 gnu/java/beans/decoder/ObjectContext.java,
1394 gnu/java/beans/decoder/ObjectHandler.java,
1395 gnu/java/beans/decoder/PersistenceParser.java,
1396 gnu/java/beans/decoder/PropertyContext.java,
1397 gnu/java/beans/decoder/ShortHandler.java,
1398 gnu/java/beans/decoder/SimpleHandler.java,
1399 gnu/java/beans/decoder/StaticMethodContext.java,
1400 gnu/java/beans/decoder/StringHandler.java,
1401 gnu/java/beans/decoder/VoidHandler.java: New class
1402 implementing java.beans.XMLDecoder decoding functionality.
1403 * java/beans/XMLDecoder.java: New class.
1405 2005-02-19 Michael Koch <konqueror@gmx.de>
1407 * javax/swing/JTextField.java
1408 (notfiyAction): Added javadoc.
1410 2005-02-19 Sven de Marothy <sven@physto.se>
1412 * javax/swing/SpinnerDateModel.java: Implemented.
1414 2005-02-19 Michael Koch <konqueror@gmx.de>
1416 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
1417 * Makefile.in: Regenerated.
1419 2005-02-19 Michael Koch <konqueror@gmx.de>
1421 * gnu/java/nio/SelectorImpl.java:
1422 Reworked import statements.
1423 (register): Removed unused code.
1424 * java/nio/channels/Channels.java: Reformatted.
1425 * java/nio/charset/Charset.java: Likewise.
1426 * java/rmi/server/RemoteObject.java
1427 (serialVersionUID): Made private.
1428 * java/rmi/server/UID.java
1429 (serialVersionUID): Likewise.
1431 2005-02-19 Michael Koch <konqueror@gmx.de>
1433 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
1434 gnu/java/net/protocol/ftp/BlockInputStream.java,
1435 gnu/java/net/protocol/ftp/BlockOutputStream.java,
1436 gnu/java/net/protocol/ftp/CompressedInputStream.java,
1437 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
1438 gnu/java/net/protocol/ftp/DTPInputStream.java,
1439 gnu/java/net/protocol/ftp/DTP.java,
1440 gnu/java/net/protocol/ftp/DTPOutputStream.java,
1441 gnu/java/net/protocol/ftp/FTPConnection.java,
1442 gnu/java/net/protocol/ftp/FTPException.java,
1443 gnu/java/net/protocol/ftp/FTPResponse.java,
1444 gnu/java/net/protocol/ftp/FTPURLConnection.java,
1445 gnu/java/net/protocol/ftp/Handler.java,
1446 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
1447 gnu/java/net/protocol/ftp/StreamInputStream.java,
1448 gnu/java/net/protocol/ftp/StreamOutputStream.java,
1449 gnu/java/net/CRLFInputStream.java,
1450 gnu/java/net/CRLFOutputStream.java,
1451 gnu/java/net/GetLocalHostAction.java,
1452 gnu/java/net/protocol/ftp/package.html: New files.
1453 * Makefile.am: Added new files.
1454 * Makefile.in: Regenerated.
1456 2005-02-18 Tom Tromey <tromey@redhat.com>
1458 * link.cc (make_vtable): Remove abstract method check.
1459 (append_partial_itable): Likewise.
1462 * verify.cc (type::equals): Fixed test.
1463 * testsuite/libjava.lang/PR20056.out: New file.
1464 * testsuite/libjava.lang/PR20056.java: New file.
1466 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
1468 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
1469 not the HashEntry. Reported by Jean-Marie White.
1471 2005-02-18 Tom Tromey <tromey@redhat.com>
1474 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
1475 * link.cc (has_field_p): New function.
1476 * verify.cc (check_field_constant): Added 'putfield' argument.
1477 (verify_instructions_0): Updated.
1478 (type::equals): New method.
1480 2005-02-18 Anthony Green <green@redhat.com>
1482 * NEWS: Draft of libgcj NEWS for 4.0.
1484 2005-02-18 Anthony Green <green@redhat.com>
1486 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
1487 architecture names to "i386" for compatibility reasons. Win32
1490 2005-02-18 Anthony Green <green@redhat.com>
1492 * gij.cc (version): Change year for '--version' to 2005.
1493 * gnu/gcj/convert/Convert.java: Ditto.
1494 * gnu/java/rmi/rmic/RMIC.java: Ditto.
1495 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
1497 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
1498 recent copyright year in `--version' output.
1500 2005-02-18 Robert Schuster <thebohemian@gmx.net>
1502 * java/nio/charset/Charset.java (forName): Throws
1503 IllegalArgumentException when argument is null
1504 and added documentation.
1506 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
1508 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
1509 Move the position of the source buffer forward.
1511 2005-02-17 Tom Tromey <tromey@redhat.com>
1513 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
1514 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
1515 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
1516 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
1517 Changed type of second argument. Rewrote.
1518 (make_vtable): Use it.
1519 (append_partial_itable): Updated.
1520 (layout_vtable_methods): Updated.
1522 2005-02-17 Michael Koch <konqueror@gmx.de>
1524 * gnu/java/net/PlainSocketImpl.java
1525 (shutdownInput): Added javadoc.
1526 (shutdownOutput): Likewise.
1528 2005-02-17 Michael Koch <konqueror@gmx.de>
1530 * javax/print/attribute/standard/Chromaticity.java,
1531 javax/print/attribute/standard/Destination.java,
1532 javax/print/attribute/standard/MediaPrintableArea.java,
1533 javax/print/attribute/standard/MediaSize.java: New files.
1534 * Makefile.am: Added new files.
1535 * Makefile.in: Regenerated.
1537 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
1538 Michael Koch <konqueror@gmx.de>
1540 * gnu/java/net/protocol/http/Cookie.java,
1541 gnu/java/net/protocol/http/HTTPConnection.java,
1542 gnu/java/net/protocol/http/HTTPDateFormat.java,
1543 gnu/java/net/protocol/http/Request.java,
1544 gnu/java/nio/PipeImpl.java,
1545 gnu/java/rmi/dgc/DGCImpl.java,
1546 gnu/java/rmi/server/ConnectionRunnerPool.java,
1547 gnu/java/rmi/server/UnicastConnectionManager.java,
1548 gnu/java/security/der/DERWriter.java,
1549 gnu/java/security/pkcs/SignerInfo.java,
1550 gnu/java/security/provider/EncodedKeyFactory.java,
1551 gnu/java/security/provider/GnuDHPublicKey.java,
1552 gnu/java/security/provider/GnuDSAPrivateKey.java,
1553 gnu/java/security/provider/GnuDSAPublicKey.java,
1554 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
1555 gnu/java/security/x509/X500DistinguishedName.java,
1556 gnu/java/security/x509/X509CRL.java,
1557 gnu/java/security/x509/X509CRLEntry.java,
1558 gnu/java/security/x509/X509Certificate.java,
1559 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
1560 gnu/java/security/x509/ext/CertificatePolicies.java,
1561 gnu/java/security/x509/ext/PolicyConstraint.java,
1562 gnu/xml/dom/Consumer.java,
1563 gnu/xml/dom/DomCharacterData.java,
1564 gnu/xml/dom/DomDocument.java,
1565 gnu/xml/dom/DomDocumentBuilder.java,
1566 gnu/xml/dom/DomIterator.java,
1567 gnu/xml/dom/DomNode.java,
1568 gnu/xml/dom/DomXPathExpression.java,
1569 gnu/xml/dom/DomXPathResult.java,
1570 gnu/xml/dom/JAXPFactory.java,
1571 gnu/xml/pipeline/CallFilter.java,
1572 gnu/xml/pipeline/DomConsumer.java,
1573 gnu/xml/pipeline/LinkFilter.java,
1574 gnu/xml/pipeline/NSFilter.java,
1575 gnu/xml/pipeline/TeeConsumer.java,
1576 gnu/xml/pipeline/ValidationConsumer.java,
1577 gnu/xml/pipeline/WellFormednessFilter.java,
1578 gnu/xml/pipeline/XIncludeFilter.java,
1579 gnu/xml/pipeline/XsltFilter.java,
1580 gnu/xml/transform/ApplyImportsNode.java,
1581 gnu/xml/transform/Bindings.java,
1582 gnu/xml/transform/DocumentFunction.java,
1583 gnu/xml/transform/FormatNumberFunction.java,
1584 gnu/xml/transform/NodeNumberNode.java,
1585 gnu/xml/transform/NumberNode.java,
1586 gnu/xml/transform/Stylesheet.java,
1587 gnu/xml/transform/SystemPropertyFunction.java,
1588 gnu/xml/transform/Template.java,
1589 gnu/xml/transform/TemplatesImpl.java,
1590 gnu/xml/transform/TransformerImpl.java,
1591 gnu/xml/transform/ValueOfNode.java,
1592 gnu/xml/transform/XSLURIResolver.java,
1593 gnu/xml/util/DoParse.java,
1594 gnu/xml/util/Resolver.java,
1595 gnu/xml/xpath/Expr.java,
1596 gnu/xml/xpath/FunctionCall.java,
1597 gnu/xml/xpath/RelationalExpr.java,
1598 gnu/xml/xpath/Selector.java,
1599 gnu/xml/xpath/XPathParser.java:
1600 Reworked import statements, fixed modifier order and some little
1603 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
1605 * java/nio/ByteBufferImpl.java (compact):
1606 Set position and limit even if no bytes were moved.
1608 2005-02-17 Michael Koch <konqueror@gmx.de>
1610 * java/nio/CharViewBufferImpl.java (compact): Likewise.
1611 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
1612 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
1613 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
1614 * java/nio/IntViewBufferImpl.java (compact): Likewise.
1615 * java/nio/LongViewBufferImpl.java (compact): Likewise.
1616 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
1617 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
1618 * java/nio/FloatBufferImpl.java (compact): Set position.
1619 * java/nio/CharBufferImpl.java (compact): Likewise.
1620 * java/nio/DoubleBufferImpl.java (compact): Likewise.
1621 * java/nio/IntBufferImpl.java (compact): Likewise.
1622 * java/nio/LongBufferImpl.java (compact): Likewise.
1623 * java/nio/ShortBufferImpl.java (compact): Likewise.
1625 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
1627 * java/nio/ByteBufferImpl.java,
1628 java/nio/CharBufferImpl.java,
1629 java/nio/DirectByteBufferImpl.java,
1630 java/nio/DoubleBufferImpl.java,
1631 java/nio/FloatBufferImpl.java,
1632 java/nio/IntBufferImpl.java,
1633 java/nio/LongBufferImpl.java,
1634 java/nio/MappedByteBufferImpl.java,
1635 java/nio/ShortBufferImpl.java
1636 (compact): Added explicit read-only check and invalidate mark.
1638 2005-02-17 Michael Koch <konqueror@gmx.de>
1640 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1641 gnu/java/awt/peer/gtk/GdkFontPeer.java,
1642 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1643 gnu/java/awt/peer/gtk/GdkGraphics.java,
1644 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1645 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
1646 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1647 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1648 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
1649 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
1650 gnu/java/awt/peer/gtk/GdkTextLayout.java,
1651 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
1652 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
1653 gnu/java/awt/peer/gtk/GtkClipboard.java,
1654 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1655 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1656 gnu/java/awt/peer/gtk/GtkFontPeer.java,
1657 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1658 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
1659 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
1660 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
1661 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
1662 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
1663 gnu/java/awt/peer/gtk/GtkToolkit.java,
1664 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1665 java/applet/Applet.java,
1666 java/awt/AWTError.java,
1667 java/awt/AWTEvent.java,
1668 java/awt/AWTEventMulticaster.java,
1669 java/awt/AWTException.java,
1670 java/awt/AWTKeyStroke.java,
1671 java/awt/AWTPermission.java,
1672 java/awt/ActiveEvent.java,
1673 java/awt/Adjustable.java,
1674 java/awt/AlphaComposite.java,
1675 java/awt/AttributeValue.java,
1676 java/awt/BorderLayout.java,
1677 java/awt/BufferCapabilities.java,
1678 java/awt/Button.java,
1679 java/awt/Canvas.java,
1680 java/awt/CheckboxGroup.java,
1681 java/awt/CheckboxMenuItem.java,
1682 java/awt/Color.java,
1683 java/awt/ColorPaintContext.java,
1684 java/awt/Component.java,
1685 java/awt/ComponentOrientation.java,
1686 java/awt/Composite.java,
1687 java/awt/CompositeContext.java,
1688 java/awt/Container.java,
1689 java/awt/ContainerOrderFocusTraversalPolicy.java,
1690 java/awt/DefaultFocusTraversalPolicy.java,
1691 java/awt/Dialog.java,
1692 java/awt/Dimension.java,
1693 java/awt/DisplayMode.java,
1694 java/awt/EventQueue.java,
1695 java/awt/FileDialog.java,
1696 java/awt/FontFormatException.java,
1697 java/awt/Graphics.java,
1698 java/awt/Graphics2D.java,
1699 java/awt/GraphicsConfigTemplate.java,
1700 java/awt/GraphicsConfiguration.java,
1701 java/awt/GraphicsDevice.java,
1702 java/awt/GridBagLayout.java,
1703 java/awt/GridBagLayoutInfo.java,
1704 java/awt/GridLayout.java,
1705 java/awt/HeadlessException.java,
1706 java/awt/IllegalComponentStateException.java,
1707 java/awt/Image.java,
1708 java/awt/Insets.java,
1709 java/awt/ItemSelectable.java,
1710 java/awt/JobAttributes.java,
1711 java/awt/KeyEventDispatcher.java,
1712 java/awt/KeyEventPostProcessor.java,
1713 java/awt/KeyboardFocusManager.java,
1714 java/awt/Label.java,
1715 java/awt/LayoutManager.java,
1716 java/awt/MenuBar.java,
1717 java/awt/MenuComponent.java,
1718 java/awt/MenuContainer.java,
1719 java/awt/PageAttributes.java,
1720 java/awt/Paint.java,
1721 java/awt/PaintContext.java,
1722 java/awt/Panel.java,
1723 java/awt/Point.java,
1724 java/awt/Polygon.java,
1725 java/awt/PrintGraphics.java,
1726 java/awt/PrintJob.java,
1727 java/awt/Rectangle.java,
1728 java/awt/RenderingHints.java,
1729 java/awt/Shape.java,
1730 java/awt/Stroke.java,
1731 java/awt/SystemColor.java,
1732 java/awt/Toolkit.java,
1733 java/awt/Transparency.java,
1734 java/awt/Window.java,
1735 java/awt/color/CMMException.java,
1736 java/awt/color/ColorSpace.java,
1737 java/awt/color/ICC_ColorSpace.java,
1738 java/awt/color/ICC_Profile.java,
1739 java/awt/color/ProfileDataException.java,
1740 java/awt/datatransfer/FlavorTable.java,
1741 java/awt/datatransfer/MimeTypeParseException.java,
1742 java/awt/datatransfer/Transferable.java,
1743 java/awt/datatransfer/UnsupportedFlavorException.java,
1744 java/awt/dnd/Autoscroll.java,
1745 java/awt/dnd/DnDConstants.java,
1746 java/awt/dnd/DragGestureListener.java,
1747 java/awt/dnd/DragSourceAdapter.java,
1748 java/awt/dnd/DragSourceDropEvent.java,
1749 java/awt/dnd/DragSourceListener.java,
1750 java/awt/dnd/DragSourceMotionListener.java,
1751 java/awt/dnd/DropTargetAdapter.java,
1752 java/awt/dnd/DropTargetContext.java,
1753 java/awt/dnd/DropTargetListener.java,
1754 java/awt/dnd/InvalidDnDOperationException.java,
1755 java/awt/dnd/MouseDragGestureRecognizer.java,
1756 java/awt/dnd/peer/DropTargetContextPeer.java,
1757 java/awt/event/AWTEventListener.java,
1758 java/awt/event/AWTEventListenerProxy.java,
1759 java/awt/event/ActionEvent.java,
1760 java/awt/event/AdjustmentEvent.java,
1761 java/awt/event/AdjustmentListener.java,
1762 java/awt/event/ComponentAdapter.java,
1763 java/awt/event/ComponentEvent.java,
1764 java/awt/event/ComponentListener.java,
1765 java/awt/event/ContainerAdapter.java,
1766 java/awt/event/ContainerEvent.java,
1767 java/awt/event/ContainerListener.java,
1768 java/awt/event/FocusAdapter.java,
1769 java/awt/event/FocusEvent.java,
1770 java/awt/event/FocusListener.java,
1771 java/awt/event/InputEvent.java,
1772 java/awt/event/InputMethodEvent.java,
1773 java/awt/event/InputMethodListener.java,
1774 java/awt/event/InvocationEvent.java,
1775 java/awt/event/ItemEvent.java,
1776 java/awt/event/ItemListener.java,
1777 java/awt/event/KeyAdapter.java,
1778 java/awt/event/KeyEvent.java,
1779 java/awt/event/KeyListener.java,
1780 java/awt/event/MouseAdapter.java,
1781 java/awt/event/MouseEvent.java,
1782 java/awt/event/MouseListener.java,
1783 java/awt/event/MouseMotionAdapter.java,
1784 java/awt/event/MouseMotionListener.java,
1785 java/awt/event/MouseWheelEvent.java,
1786 java/awt/event/MouseWheelListener.java,
1787 java/awt/event/PaintEvent.java,
1788 java/awt/event/TextEvent.java,
1789 java/awt/event/TextListener.java,
1790 java/awt/event/WindowAdapter.java,
1791 java/awt/event/WindowEvent.java,
1792 java/awt/event/WindowFocusListener.java,
1793 java/awt/event/WindowListener.java,
1794 java/awt/event/WindowStateListener.java,
1795 java/awt/font/TextHitInfo.java,
1796 java/awt/geom/CubicCurve2D.java,
1797 java/awt/geom/Dimension2D.java,
1798 java/awt/geom/Ellipse2D.java,
1799 java/awt/geom/IllegalPathStateException.java,
1800 java/awt/geom/Line2D.java,
1801 java/awt/geom/NoninvertibleTransformException.java,
1802 java/awt/geom/PathIterator.java,
1803 java/awt/geom/Point2D.java,
1804 java/awt/geom/QuadCurve2D.java,
1805 java/awt/geom/RectangularShape.java,
1806 java/awt/geom/RoundRectangle2D.java,
1807 java/awt/im/InputContext.java,
1808 java/awt/im/InputMethodHighlight.java,
1809 java/awt/im/InputMethodRequests.java,
1810 java/awt/im/InputSubset.java,
1811 java/awt/im/spi/InputMethod.java,
1812 java/awt/im/spi/InputMethodDescriptor.java,
1813 java/awt/image/BandCombineOp.java,
1814 java/awt/image/BandedSampleModel.java,
1815 java/awt/image/ByteLookupTable.java,
1816 java/awt/image/ComponentSampleModel.java,
1817 java/awt/image/DataBuffer.java,
1818 java/awt/image/DataBufferByte.java,
1819 java/awt/image/DataBufferDouble.java,
1820 java/awt/image/DataBufferFloat.java,
1821 java/awt/image/DataBufferInt.java,
1822 java/awt/image/DataBufferShort.java,
1823 java/awt/image/DataBufferUShort.java,
1824 java/awt/image/ImagingOpException.java,
1825 java/awt/image/Kernel.java,
1826 java/awt/image/LookupTable.java,
1827 java/awt/image/MultiPixelPackedSampleModel.java,
1828 java/awt/image/PackedColorModel.java,
1829 java/awt/image/PixelInterleavedSampleModel.java,
1830 java/awt/image/RGBImageFilter.java,
1831 java/awt/image/Raster.java,
1832 java/awt/image/RasterFormatException.java,
1833 java/awt/image/SampleModel.java,
1834 java/awt/image/ShortLookupTable.java,
1835 java/awt/image/SinglePixelPackedSampleModel.java,
1836 java/awt/image/WritableRaster.java,
1837 java/awt/print/PrinterAbortException.java,
1838 java/awt/print/PrinterException.java,
1839 java/awt/print/PrinterIOException.java,
1840 java/beans/AppletInitializer.java,
1841 java/beans/ExceptionListener.java,
1842 java/beans/PropertyChangeEvent.java,
1843 java/beans/PropertyChangeListenerProxy.java,
1844 java/beans/PropertyChangeSupport.java,
1845 java/beans/PropertyDescriptor.java,
1846 java/beans/VetoableChangeListenerProxy.java,
1847 java/beans/VetoableChangeSupport.java,
1848 java/io/BufferedReader.java,
1849 java/io/ByteArrayInputStream.java,
1850 java/io/ByteArrayOutputStream.java,
1851 java/io/CharArrayReader.java,
1852 java/io/CharArrayWriter.java,
1853 java/io/CharConversionException.java,
1854 java/io/DataInput.java,
1855 java/io/DataInputStream.java,
1856 java/io/DataOutput.java,
1857 java/io/DataOutputStream.java,
1858 java/io/EOFException.java,
1859 java/io/FileInputStream.java,
1860 java/io/FileNotFoundException.java,
1861 java/io/FileOutputStream.java,
1862 java/io/FilenameFilter.java,
1863 java/io/FilterInputStream.java,
1864 java/io/FilterOutputStream.java,
1865 java/io/FilterReader.java,
1866 java/io/FilterWriter.java,
1867 java/io/IOException.java,
1868 java/io/InputStream.java,
1869 java/io/InterruptedIOException.java,
1870 java/io/LineNumberInputStream.java,
1871 java/io/LineNumberReader.java,
1872 java/io/ObjectInputStream.java,
1873 java/io/ObjectStreamException.java,
1874 java/io/OptionalDataException.java,
1875 java/io/OutputStream.java,
1876 java/io/OutputStreamWriter.java,
1877 java/io/PrintStream.java,
1878 java/io/PrintWriter.java,
1879 java/io/PushbackInputStream.java,
1880 java/io/PushbackReader.java,
1881 java/io/RandomAccessFile.java,
1882 java/io/Reader.java,
1883 java/io/SequenceInputStream.java,
1884 java/io/Serializable.java,
1885 java/io/StreamCorruptedException.java,
1886 java/io/StreamTokenizer.java,
1887 java/io/StringBufferInputStream.java,
1888 java/io/StringWriter.java,
1889 java/io/SyncFailedException.java,
1890 java/io/UTFDataFormatException.java,
1891 java/io/UnsupportedEncodingException.java,
1892 java/io/WriteAbortedException.java,
1893 java/io/Writer.java,
1894 java/lang/AbstractMethodError.java,
1895 java/lang/ArithmeticException.java,
1896 java/lang/ArrayIndexOutOfBoundsException.java,
1897 java/lang/ArrayStoreException.java,
1898 java/lang/AssertionError.java,
1899 java/lang/Boolean.java,
1900 java/lang/Byte.java,
1901 java/lang/Class.java,
1902 java/lang/ClassCastException.java,
1903 java/lang/ClassCircularityError.java,
1904 java/lang/ClassLoader.java,
1905 java/lang/ClassNotFoundException.java,
1906 java/lang/CloneNotSupportedException.java,
1907 java/lang/Cloneable.java,
1908 java/lang/Comparable.java,
1909 java/lang/Compiler.java,
1910 java/lang/Double.java,
1911 java/lang/Error.java,
1912 java/lang/Exception.java,
1913 java/lang/ExceptionInInitializerError.java,
1914 java/lang/Float.java,
1915 java/lang/IllegalAccessError.java,
1916 java/lang/IllegalAccessException.java,
1917 java/lang/IllegalArgumentException.java,
1918 java/lang/IllegalMonitorStateException.java,
1919 java/lang/IllegalStateException.java,
1920 java/lang/IllegalThreadStateException.java,
1921 java/lang/IncompatibleClassChangeError.java,
1922 java/lang/IndexOutOfBoundsException.java,
1923 java/lang/InheritableThreadLocal.java,
1924 java/lang/InstantiationError.java,
1925 java/lang/InstantiationException.java,
1926 java/lang/Integer.java,
1927 java/lang/InternalError.java,
1928 java/lang/InterruptedException.java,
1929 java/lang/LinkageError.java,
1930 java/lang/Long.java,
1931 java/lang/NegativeArraySizeException.java,
1932 java/lang/NoClassDefFoundError.java,
1933 java/lang/NoSuchFieldError.java,
1934 java/lang/NoSuchFieldException.java,
1935 java/lang/NoSuchMethodError.java,
1936 java/lang/NoSuchMethodException.java,
1937 java/lang/NullPointerException.java,
1938 java/lang/Number.java,
1939 java/lang/NumberFormatException.java,
1940 java/lang/OutOfMemoryError.java,
1941 java/lang/Process.java,
1942 java/lang/Runnable.java,
1943 java/lang/Runtime.java,
1944 java/lang/RuntimeException.java,
1945 java/lang/RuntimePermission.java,
1946 java/lang/SecurityException.java,
1947 java/lang/SecurityManager.java,
1948 java/lang/Short.java,
1949 java/lang/StackOverflowError.java,
1950 java/lang/StackTraceElement.java,
1951 java/lang/StringBuffer.java,
1952 java/lang/StringIndexOutOfBoundsException.java,
1953 java/lang/ThreadDeath.java,
1954 java/lang/ThreadGroup.java,
1955 java/lang/Throwable.java,
1956 java/lang/UnsatisfiedLinkError.java,
1957 java/lang/UnsupportedOperationException.java,
1958 java/lang/VerifyError.java,
1959 java/lang/VirtualMachineError.java,
1960 java/lang/reflect/AccessibleObject.java,
1961 java/lang/reflect/Array.java,
1962 java/lang/reflect/InvocationTargetException.java,
1963 java/lang/reflect/Member.java,
1964 java/lang/reflect/Modifier.java,
1965 java/lang/reflect/Proxy.java,
1966 java/lang/reflect/ReflectPermission.java,
1967 java/lang/reflect/UndeclaredThrowableException.java,
1968 java/math/BigInteger.java,
1969 java/net/NetworkInterface.java,
1970 java/nio/ByteBufferHelper.java,
1971 java/nio/ByteBufferImpl.java,
1972 java/nio/DirectByteBufferImpl.java,
1973 java/nio/DoubleBufferImpl.java,
1974 java/nio/FloatBufferImpl.java,
1975 java/nio/IntBufferImpl.java,
1976 java/nio/LongBufferImpl.java,
1977 java/nio/ShortBufferImpl.java,
1978 java/nio/channels/Channel.java,
1979 java/nio/channels/IllegalBlockingModeException.java,
1980 java/nio/charset/spi/CharsetProvider.java,
1981 java/security/AccessControlException.java,
1982 java/security/BasicPermission.java,
1983 java/security/DigestException.java,
1984 java/security/DigestInputStream.java,
1985 java/security/DigestOutputStream.java,
1986 java/security/GeneralSecurityException.java,
1987 java/security/Guard.java,
1988 java/security/GuardedObject.java,
1989 java/security/InvalidAlgorithmParameterException.java,
1990 java/security/InvalidKeyException.java,
1991 java/security/InvalidParameterException.java,
1992 java/security/Key.java,
1993 java/security/KeyException.java,
1994 java/security/KeyManagementException.java,
1995 java/security/KeyStoreException.java,
1996 java/security/MessageDigestSpi.java,
1997 java/security/NoSuchAlgorithmException.java,
1998 java/security/NoSuchProviderException.java,
1999 java/security/Permission.java,
2000 java/security/PermissionCollection.java,
2001 java/security/Permissions.java,
2002 java/security/Principal.java,
2003 java/security/PrivateKey.java,
2004 java/security/PrivilegedActionException.java,
2005 java/security/ProviderException.java,
2006 java/security/PublicKey.java,
2007 java/security/SecureRandom.java,
2008 java/security/SecureRandomSpi.java,
2009 java/security/SignatureException.java,
2010 java/security/SignatureSpi.java,
2011 java/security/SignedObject.java,
2012 java/security/Signer.java,
2013 java/security/UnrecoverableKeyException.java,
2014 java/security/UnresolvedPermission.java,
2015 java/security/acl/AclNotFoundException.java,
2016 java/security/acl/LastOwnerException.java,
2017 java/security/acl/NotOwnerException.java,
2018 java/security/cert/CertPath.java,
2019 java/security/cert/CertPathBuilderException.java,
2020 java/security/cert/CertPathValidatorException.java,
2021 java/security/cert/CertStoreException.java,
2022 java/text/BreakIterator.java,
2023 java/text/ChoiceFormat.java,
2024 java/text/CollationElementIterator.java,
2025 java/text/CollationKey.java,
2026 java/text/Collator.java,
2027 java/text/DateFormat.java,
2028 java/text/DateFormatSymbols.java,
2029 java/text/DecimalFormat.java,
2030 java/text/DecimalFormatSymbols.java,
2031 java/text/FieldPosition.java,
2032 java/text/Format.java,
2033 java/text/NumberFormat.java,
2034 java/text/ParseException.java,
2035 java/text/ParsePosition.java,
2036 java/text/StringCharacterIterator.java,
2037 java/util/AbstractCollection.java,
2038 java/util/AbstractList.java,
2039 java/util/AbstractMap.java,
2040 java/util/AbstractSequentialList.java,
2041 java/util/AbstractSet.java,
2042 java/util/ArrayList.java,
2043 java/util/Arrays.java,
2044 java/util/BitSet.java,
2045 java/util/Collection.java,
2046 java/util/Collections.java,
2047 java/util/Comparator.java,
2048 java/util/ConcurrentModificationException.java,
2049 java/util/Currency.java,
2050 java/util/Date.java,
2051 java/util/EmptyStackException.java,
2052 java/util/Enumeration.java,
2053 java/util/EventListener.java,
2054 java/util/EventListenerProxy.java,
2055 java/util/EventObject.java,
2056 java/util/HashMap.java,
2057 java/util/HashSet.java,
2058 java/util/Hashtable.java,
2059 java/util/IdentityHashMap.java,
2060 java/util/Iterator.java,
2061 java/util/LinkedHashSet.java,
2062 java/util/LinkedList.java,
2063 java/util/List.java,
2064 java/util/ListIterator.java,
2065 java/util/ListResourceBundle.java,
2067 java/util/MissingResourceException.java,
2068 java/util/NoSuchElementException.java,
2069 java/util/Observable.java,
2070 java/util/Observer.java,
2071 java/util/Properties.java,
2072 java/util/PropertyPermissionCollection.java,
2073 java/util/RandomAccess.java,
2075 java/util/SortedMap.java,
2076 java/util/SortedSet.java,
2077 java/util/Stack.java,
2078 java/util/StringTokenizer.java,
2079 java/util/TooManyListenersException.java,
2080 java/util/TreeMap.java,
2081 java/util/TreeSet.java,
2082 java/util/Vector.java,
2083 java/util/logging/FileHandler.java,
2084 java/util/logging/Level.java,
2085 java/util/prefs/BackingStoreException.java,
2086 java/util/prefs/InvalidPreferencesFormatException.java,
2087 java/util/prefs/Preferences.java,
2088 javax/accessibility/Accessible.java,
2089 javax/accessibility/AccessibleAction.java,
2090 javax/accessibility/AccessibleBundle.java,
2091 javax/accessibility/AccessibleComponent.java,
2092 javax/accessibility/AccessibleContext.java,
2093 javax/accessibility/AccessibleEditableText.java,
2094 javax/accessibility/AccessibleExtendedComponent.java,
2095 javax/accessibility/AccessibleExtendedTable.java,
2096 javax/accessibility/AccessibleHyperlink.java,
2097 javax/accessibility/AccessibleHypertext.java,
2098 javax/accessibility/AccessibleIcon.java,
2099 javax/accessibility/AccessibleKeyBinding.java,
2100 javax/accessibility/AccessibleRelation.java,
2101 javax/accessibility/AccessibleRelationSet.java,
2102 javax/accessibility/AccessibleResourceBundle.java,
2103 javax/accessibility/AccessibleRole.java,
2104 javax/accessibility/AccessibleSelection.java,
2105 javax/accessibility/AccessibleState.java,
2106 javax/accessibility/AccessibleStateSet.java,
2107 javax/accessibility/AccessibleTable.java,
2108 javax/accessibility/AccessibleTableModelChange.java,
2109 javax/accessibility/AccessibleText.java,
2110 javax/accessibility/AccessibleValue.java,
2111 javax/imageio/IIOException.java,
2112 javax/imageio/ImageIO.java,
2113 javax/imageio/spi/IIOServiceProvider.java,
2114 javax/imageio/spi/ImageInputStreamSpi.java,
2115 javax/imageio/spi/ImageOutputStreamSpi.java,
2116 javax/imageio/spi/ImageReaderWriterSpi.java,
2117 javax/imageio/spi/ImageTranscoderSpi.java,
2118 javax/imageio/spi/RegisterableService.java,
2119 javax/imageio/spi/ServiceRegistry.java,
2120 javax/imageio/stream/IIOByteBuffer.java,
2121 javax/imageio/stream/ImageInputStream.java,
2122 javax/imageio/stream/ImageOutputStream.java,
2123 javax/naming/Binding.java,
2124 javax/naming/CannotProceedException.java,
2125 javax/naming/CompositeName.java,
2126 javax/naming/CompoundName.java,
2127 javax/naming/LinkException.java,
2128 javax/naming/LinkRef.java,
2129 javax/naming/NameClassPair.java,
2130 javax/naming/Reference.java,
2131 javax/naming/ReferralException.java,
2132 javax/naming/directory/Attribute.java,
2133 javax/naming/directory/AttributeModificationException.java,
2134 javax/naming/directory/Attributes.java,
2135 javax/naming/directory/DirContext.java,
2136 javax/naming/directory/ModificationItem.java,
2137 javax/naming/directory/SearchControls.java,
2138 javax/naming/directory/SearchResult.java,
2139 javax/naming/event/EventContext.java,
2140 javax/naming/event/EventDirContext.java,
2141 javax/naming/event/NamespaceChangeListener.java,
2142 javax/naming/event/NamingExceptionEvent.java,
2143 javax/naming/event/NamingListener.java,
2144 javax/naming/event/ObjectChangeListener.java,
2145 javax/naming/ldap/Control.java,
2146 javax/naming/ldap/ExtendedResponse.java,
2147 javax/naming/ldap/HasControls.java,
2148 javax/naming/ldap/LdapContext.java,
2149 javax/naming/ldap/UnsolicitedNotification.java,
2150 javax/naming/ldap/UnsolicitedNotificationEvent.java,
2151 javax/naming/ldap/UnsolicitedNotificationListener.java,
2152 javax/naming/spi/DirectoryManager.java,
2153 javax/naming/spi/ResolveResult.java,
2154 javax/naming/spi/Resolver.java,
2155 javax/security/auth/callback/Callback.java,
2156 javax/security/auth/callback/CallbackHandler.java,
2157 javax/security/auth/callback/ChoiceCallback.java,
2158 javax/security/auth/callback/ConfirmationCallback.java,
2159 javax/security/auth/callback/LanguageCallback.java,
2160 javax/security/auth/callback/NameCallback.java,
2161 javax/security/auth/callback/PasswordCallback.java,
2162 javax/security/auth/callback/TextInputCallback.java,
2163 javax/security/auth/callback/TextOutputCallback.java,
2164 javax/security/auth/callback/UnsupportedCallbackException.java,
2165 javax/security/sasl/Sasl.java,
2166 javax/security/sasl/SaslServerFactory.java,
2167 javax/swing/DefaultBoundedRangeModel.java,
2168 javax/swing/JComponent.java,
2169 javax/swing/JList.java,
2170 javax/swing/JProgressBar.java,
2171 javax/swing/JRadioButton.java,
2172 javax/swing/JTextArea.java,
2173 javax/swing/JTextField.java,
2174 javax/swing/JToggleButton.java,
2175 javax/swing/JTree.java,
2176 javax/swing/SpinnerListModel.java,
2177 javax/swing/event/EventListenerList.java,
2178 javax/swing/text/JTextComponent.java,
2179 javax/swing/text/StringContent.java,
2180 javax/swing/text/Utilities.java,
2181 javax/swing/undo/UndoManager.java,
2182 javax/swing/undo/UndoableEditSupport.java,
2183 javax/transaction/HeuristicCommitException.java,
2184 javax/transaction/HeuristicMixedException.java,
2185 javax/transaction/HeuristicRollbackException.java,
2186 javax/transaction/InvalidTransactionException.java,
2187 javax/transaction/NotSupportedException.java,
2188 javax/transaction/RollbackException.java,
2189 javax/transaction/Status.java,
2190 javax/transaction/Synchronization.java,
2191 javax/transaction/SystemException.java,
2192 javax/transaction/Transaction.java,
2193 javax/transaction/TransactionManager.java,
2194 javax/transaction/TransactionRequiredException.java,
2195 javax/transaction/TransactionRolledbackException.java,
2196 javax/transaction/UserTransaction.java,
2197 javax/transaction/xa/XAException.java,
2198 javax/transaction/xa/XAResource.java,
2199 javax/transaction/xa/Xid.java,
2200 javax/xml/XMLConstants.java,
2201 javax/xml/datatype/DatatypeConfigurationException.java,
2202 javax/xml/datatype/DatatypeConstants.java,
2203 javax/xml/datatype/DatatypeFactory.java,
2204 javax/xml/datatype/Duration.java,
2205 javax/xml/datatype/XMLGregorianCalendar.java,
2206 javax/xml/namespace/NamespaceContext.java,
2207 javax/xml/namespace/QName.java,
2208 javax/xml/parsers/DocumentBuilder.java,
2209 javax/xml/parsers/DocumentBuilderFactory.java,
2210 javax/xml/parsers/FactoryConfigurationError.java,
2211 javax/xml/parsers/ParserConfigurationException.java,
2212 javax/xml/parsers/SAXParser.java,
2213 javax/xml/parsers/SAXParserFactory.java,
2214 javax/xml/transform/ErrorListener.java,
2215 javax/xml/transform/OutputKeys.java,
2216 javax/xml/transform/Result.java,
2217 javax/xml/transform/Source.java,
2218 javax/xml/transform/SourceLocator.java,
2219 javax/xml/transform/Templates.java,
2220 javax/xml/transform/Transformer.java,
2221 javax/xml/transform/TransformerConfigurationException.java,
2222 javax/xml/transform/TransformerException.java,
2223 javax/xml/transform/TransformerFactory.java,
2224 javax/xml/transform/TransformerFactoryConfigurationError.java,
2225 javax/xml/transform/URIResolver.java,
2226 javax/xml/transform/dom/DOMLocator.java,
2227 javax/xml/transform/dom/DOMResult.java,
2228 javax/xml/transform/dom/DOMSource.java,
2229 javax/xml/transform/sax/SAXResult.java,
2230 javax/xml/transform/sax/SAXSource.java,
2231 javax/xml/transform/sax/SAXTransformerFactory.java,
2232 javax/xml/transform/sax/TemplatesHandler.java,
2233 javax/xml/transform/sax/TransformerHandler.java,
2234 javax/xml/transform/stream/StreamResult.java,
2235 javax/xml/transform/stream/StreamSource.java,
2236 javax/xml/validation/Schema.java,
2237 javax/xml/validation/SchemaFactory.java,
2238 javax/xml/validation/TypeInfoProvider.java,
2239 javax/xml/validation/Validator.java,
2240 javax/xml/validation/ValidatorHandler.java,
2241 javax/xml/xpath/XPathConstants.java,
2242 javax/xml/xpath/XPathException.java,
2243 javax/xml/xpath/XPathExpression.java,
2244 javax/xml/xpath/XPathExpressionException.java,
2245 javax/xml/xpath/XPathFactory.java,
2246 javax/xml/xpath/XPathFactoryConfigurationException.java,
2247 javax/xml/xpath/XPathFunction.java,
2248 javax/xml/xpath/XPathFunctionException.java,
2249 javax/xml/xpath/XPathFunctionResolver.java:
2250 Fixed usage of @author tag, reworked import statements,
2251 removed CVS tags, changed the modifier order and fixed
2252 HTML usage in javadocs.
2254 2005-02-16 Julian Scheid <julian@sektor37.de>
2256 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
2258 (encodeLoop): Likewise.
2260 2005-02-16 Mark Wielaard <mark@klomp.org>
2262 * Makefile.am (ordinary_java_source_files): Add new files
2263 gnu/java/security/ber/BER.java,
2264 gnu/java/security/ber/BEREncodingException.java,
2265 gnu/java/security/ber/BERReader.java,
2266 gnu/java/security/ber/BERValue.java,
2267 gnu/java/security/pkcs/PKCS7SignedData.java and
2268 gnu/java/security/pkcs/SignerInfo.java.
2269 * Makefile.in: Regenerated.
2271 2005-02-16 Casey Marshall <csm@gnu.org>
2273 * gnu/java/security/provider/GnuDSAPrivateKey.java
2274 (encodedKey): new field.
2275 (getFormat): return "PKCS#8".
2276 (getEncoded): implemented.
2277 (toString): check for 'null' values.
2278 * gnu/java/security/provider/GnuDSAPublicKey.java
2279 (encodedKey): new field.
2280 (getFormat): return "X.509".
2281 (getEncoded): implemented.
2282 (toString): check for 'null' values.
2284 2005-02-16 Michael Koch <konqueror@gmx.de>
2286 * java/util/jar/JarFile.java: Imports reworked.
2288 2005-02-16 Mark Wielaard <mark@klomp.org>
2290 * java/util/jar/JarFile.java (verify): Make package private.
2291 (signaturesRead): Likewise.
2292 (verified): Likewise.
2293 (entryCerts): Likewise.
2296 (entries): Construct new JarEnumeration with reference to this.
2297 (JarEnumeration): Make static.
2298 (JarEnumeration.jarfile): New field.
2299 (JarEnumeration.nextElement): Use and synchronize on jarfile.
2300 Compare verified value to Boolean.TRUE or Boolean.False only
2301 when verify is true.
2302 (getEntry): Make synchronized. Compare value of verified to
2304 (getInputStream): Construct EntryInputStream with reference to this.
2305 (getManifest): Make synchronized.
2306 (EntryInputStream): Make static.
2307 (EntryInputStream.jarfile): New field.
2308 (EntryInputStream.EntryInputStream): Check if manifest exists,
2309 before getting attributes.
2310 (eof): Synchronize on jarfile.
2312 2005-02-16 Casey Marshall <csm@gnu.org>
2314 * java/util/jar/JarFile.java (verify): return if the jar is signed
2315 with an unsupported algorithm.
2317 2005-02-16 Mark Wielaard <mark@klomp.org>
2319 * java/util/jar/JarFile.java (EntryInputStream): Add actual
2320 InputStream as argument.
2321 (getInputStream): Construct a new EntryInputStream with the result of
2322 super.getInputStream(entry).
2324 2005-02-16 Casey Marshall <csm@gnu.org>
2326 Signed JAR file support.
2327 * java/net/URLClassLoader.java
2328 (JarURLResource.getCertificates): re-read jar entry to ensure
2329 certificates are picked up.
2330 (findClass): fill in class `signers' field, too.
2331 * java/util/jar/JarFile.java (META_INF): new constant.
2332 (PKCS7_DSA_SUFFIX): new constant.
2333 (PKCS7_RSA_SUFFIX): new constant.
2334 (DIGEST_KEY_SUFFIX): new constant.
2335 (SF_SUFFIX): new constant.
2336 (MD2_OID): new constant.
2337 (MD4_OID): new constant.
2338 (MD5_OID): new constant.
2339 (SHA1_OID): new constant.
2340 (DSA_ENCRYPTION_OID): new constant.
2341 (RSA_ENCRYPTION_OID): new constant.
2342 (signaturesRead): new field.
2343 (verified): new field.
2344 (entryCerts): new field.
2345 (DEBUG): new constant.
2346 (debug): new method.
2347 (JarEnumeration.nextElement): fill in entry certificates, read
2348 signatures if they haven't been read.
2349 (getEntry): likewise.
2350 (getInputStream): verify stream if it hasn't been verified yet.
2351 (readSignatures): new method.
2352 (verify): new method.
2353 (verifyHashes): new method.
2354 (readManifestEntry): new method.
2355 (EntryInputStream): new class.
2356 * gnu/java/io/Base64InputStream.java (decode): new class
2358 * gnu/java/security/der/DERReader.java don't make class
2360 (in): made protected.
2362 (readLength): likewise.
2363 * gnu/java/security/ber/BER.java,
2364 * gnu/java/security/ber/BEREncodingException.java,
2365 * gnu/java/security/ber/BERReader.java,
2366 * gnu/java/security/ber/BERValue.java,
2367 * gnu/java/security/pkcs/PKCS7SignedData.java,
2368 * gnu/java/security/pkcs/SignerInfo.java:
2371 2005-02-16 Tom Tromey <tromey@redhat.com>
2373 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
2374 copied file on exit.
2376 2005-02-15 Mark Wielaard <mark@klomp.org>
2378 * java/awt/BasicStroke.java (hashCode): Check for null dash.
2380 2005-02-15 Michael Koch <konqueror@gmx.de>
2382 * gnu/java/awt/peer/gtk/GtkArg.java,
2383 gnu/java/awt/peer/gtk/GtkArgList.java:
2386 2005-02-15 Craig Black <craig.black@aonix.com>
2388 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
2389 (postMenuActionEvent): Implement to notify ItemListeners.
2390 * java/awt/CheckboxMenuItem.java
2391 (dispatchEventImpl): Update state on ItemEvent.
2392 * java/awt/MenuItem.java
2393 (processActionEvent): Retarget event source.
2395 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
2397 * gnu/java/awt/color/ClutProfileConverter.java,
2398 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
2399 gnu/java/awt/peer/gtk/GdkFontPeer.java,
2400 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2401 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2402 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
2403 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2404 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
2405 gnu/java/awt/peer/gtk/GdkTextLayout.java,
2406 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2407 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2408 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
2409 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2410 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
2411 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
2412 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
2413 gnu/java/awt/peer/gtk/GtkFontPeer.java,
2414 gnu/java/awt/peer/gtk/GtkFramePeer.java,
2415 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
2416 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
2417 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
2418 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
2419 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
2420 gnu/java/awt/peer/gtk/GtkToolkit.java,
2421 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2422 javax/swing/JPopupMenu.java,
2423 javax/swing/JSpinner.java,
2424 javax/swing/SortingFocusTraversalPolicy.java,
2425 javax/swing/SwingUtilities.java,
2426 javax/swing/plaf/basic/BasicComboBoxEditor.java,
2427 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
2428 javax/swing/tree/DefaultMutableTreeNode.java:
2429 Removed unused imports and expanded starred
2432 2005-02-15 Mark Wielaard <mark@klomp.org>
2434 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
2435 IllegalArgumentException when the given String is null.
2437 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
2438 when given keystoke sequence cannot be parsed.
2440 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
2441 if one is installed. Only install the given menubar is not null.
2443 * javax/swing/JViewport.java (getViewSize): Return an empty
2444 Dimension when the view isn't set or preferred component size when
2447 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
2448 empty Dimension when there is no view set.
2449 (minimumLayoutSize): Likewise.
2450 (layoutContainer): Don't try to layout when there is no view.
2452 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
2455 * include/jawt.h: Likewise.
2456 * include/jawt_md.h: Likewise.
2457 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
2459 * jni/classpath/classpath_jawt.h: Likewise.
2460 * jni/gtk-peer/gtk_jawt.c: Likewise.
2461 * Makefile.am: Build libjawt.so.
2463 2005-02-15 Michael Koch <konqueror@gmx.de>
2465 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
2466 Merged file header with classpath CVS head.
2467 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
2468 Merged code formatting with classpath CVS head.
2469 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
2471 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
2472 Handle special JNI strings with 2 '\0' at the end.
2473 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2474 Merged file header with classpath CVS head.
2475 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
2476 Merged code formatting with classpath CVS head.
2478 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
2480 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
2481 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
2482 (handle_response): Use GTK_RESPONSE_ACCEPT.
2484 2005-02-15 Graydon Hoare <graydon@redhat.com>
2486 * Makefile.am: Fix library build breakage.
2487 * Makefile.in: Regenerate.
2489 2005-02-15 Michael Koch <konqueror@gmx.de>
2491 * javax/swing/JTabbedPane.java
2492 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
2494 2005-02-15 Michael Koch <konqueror@gmx.de>
2496 * javax/swing/tree/DefaultMutableTreeNode.java:
2497 Reworked Javadocs all over.
2498 (getPathToRoot): Fixed direction of result array initialization.
2500 2005-02-15 Michael Koch <konqueror@gmx.de>
2502 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2503 Fix includes for cairo 0.3.0 snappshot.
2504 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
2505 Merged file header from classpath CVS HEAD.
2507 2005-02-15 Craig Black <craig.black@aonix.com>
2509 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2510 (copyState): Pass a JNI global reference to signal handler.
2511 (realize_cb): Use and free JNI global reference.
2512 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2513 (create): Pass a JNI global reference to signal handler.
2514 (selection_changed): Match declaration.
2515 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
2516 (dispose): Do not remove entries from state tables until after widget is
2519 2005-02-15 Michael Koch <konqueror@gmx.de>
2521 * java/awt/Container.javai (paramString):
2522 If layoutMgr is null just return result of super.paramString().
2523 * java/awt/Scrollbar.java: Reformatted.
2524 * java/awt/im/InputContext.java (static):
2525 Removed redundant initializations.
2527 2005-02-15 Michael Koch <konqueror@gmx.de>
2529 * javax/swing/ImageIcon.java,
2530 javax/swing/UIManager.java,
2531 javax/swing/text/EditorKit.java,
2532 javax/swing/text/Segment.java:
2533 More whitespace cleanups.
2535 2005-02-15 Michael Koch <konqueror@gmx.de>
2537 * gnu/java/awt/EmbeddedWindow.java,
2538 gnu/java/awt/image/ImageDecoder.java,
2539 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
2540 java/awt/DefaultKeyboardFocusManager.java,
2541 java/awt/Frame.java,
2542 java/awt/image/RGBImageFilter.java,
2543 javax/swing/AbstractButton.java,
2544 javax/swing/ActionMap.java,
2545 javax/swing/ComponentInputMap.java,
2546 javax/swing/DefaultDesktopManager.java,
2547 javax/swing/ImageIcon.java,
2548 javax/swing/InputMap.java,
2549 javax/swing/JButton.java,
2550 javax/swing/JCheckBox.java,
2551 javax/swing/JCheckBoxMenuItem.java,
2552 javax/swing/JEditorPane.java,
2553 javax/swing/JMenu.java,
2554 javax/swing/JMenuItem.java,
2555 javax/swing/JOptionPane.java,
2556 javax/swing/JRootPane.java,
2557 javax/swing/JTable.java,
2558 javax/swing/MenuSelectionManager.java,
2559 javax/swing/RepaintManager.java,
2560 javax/swing/ScrollPaneLayout.java,
2561 javax/swing/SortingFocusTraversalPolicy.java,
2562 javax/swing/UIManager.java,
2563 javax/swing/ViewportLayout.java,
2564 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
2565 javax/swing/plaf/basic/BasicInternalFrameUI.java,
2566 javax/swing/plaf/basic/BasicLabelUI.java,
2567 javax/swing/plaf/basic/BasicListUI.java,
2568 javax/swing/plaf/basic/BasicMenuItemUI.java,
2569 javax/swing/plaf/basic/BasicMenuUI.java,
2570 javax/swing/plaf/basic/BasicOptionPaneUI.java,
2571 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
2572 javax/swing/plaf/basic/BasicRootPaneUI.java,
2573 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2574 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
2575 javax/swing/plaf/basic/BasicTextUI.java,
2576 javax/swing/table/TableColumnModel.java,
2577 javax/swing/text/AbstractDocument.java,
2578 javax/swing/text/EditorKit.java,
2579 javax/swing/text/Position.java,
2580 javax/swing/text/Segment.java,
2581 javax/swing/text/StyledEditorKit.java,
2582 javax/swing/text/ViewFactory.java:
2583 Cleanup whitespace differences to classpath CVS HEAD.
2585 2005-02-15 Graydon Hoare <graydon@redhat.com>
2587 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
2588 (finalize): Call finish from here.
2589 (produce): Not from here.
2590 * Makefile.am (gtk_c_source_files):
2591 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
2592 * Makefile.in: Regenerate.
2593 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2595 (cairoDrawGdkTextLayout):
2597 (getPeerTextMetrics):
2598 (getPeerFontMetrics): Remove.
2599 (setFont): Don't call cairoSetFont.
2600 (cairoDrawGlyphVector): Accept font peer argument.
2601 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
2602 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2603 (ensure_metrics_cairo):
2604 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
2605 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
2606 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
2607 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
2609 (metrics_surface): Remove.
2610 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
2611 Pass and install font peer.
2613 2005-02-15 Graydon Hoare <graydon@redhat.com>
2615 * Makefile.am: Create "split library" structure.
2616 * Makefile.in: Regenerate.
2618 2005-02-15 Graydon Hoare <graydon@redhat.com>
2620 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
2621 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2622 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
2623 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2624 Release GDK lock during upcalls.
2626 2005-02-15 Graydon Hoare <graydon@redhat.com>
2628 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
2629 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2630 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
2631 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
2632 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
2633 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
2634 * gnu/java/awt/peer/gtk/GdkFontPeer.java
2637 (getTextMetrics): New native methods.
2638 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
2639 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
2640 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
2641 * Makefile.in: Regenerate.
2643 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
2645 * javax/swing/SwingUtilities.java:
2646 (getAccessibleAt(java.awt.Component, java.awt.Point)):
2647 Implemented and documented.
2648 (getAccessibleChild(java.awt.Component, int)): Likewise.
2649 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
2650 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
2651 (getAccessibleStateSet(java.awt.Component)): Likewise.
2653 2005-02-15 Michael Koch <konqueror@gmx.de>
2655 * javax/swing/SwingUtilities.java
2656 (getFontMetrics): Removed.
2658 2005-02-15 Michael Koch <konqueror@gmx.de>
2660 * java/awt/Container.java
2661 (paramString): Implemented.
2662 * javax/swing/AbstractButton.java
2663 (paramString): Implemented.
2664 * javax/swing/JComponent.java
2665 (paramString): Implemented.
2666 * javax/swing/JMenu.java
2667 (paramString): Implemented.
2668 * javax/swing/JMenuBar.java
2669 (paramString): Implemented.
2670 * javax/swing/JMenuItem.java
2671 (paramString): Implemented.
2672 * javax/swing/JPopupMenu.java
2673 (paramString): Implemented.
2675 2005-02-15 Michael Koch <konqueror@gmx.de>
2677 * javax/swing/JMenu.java
2678 (uiClassID): Removed.
2679 (JMenu): Set invoker on popup menu.
2680 (getUIClassID): Return id directly.
2681 (getItemCount): Simply return getMenuComponentCount().
2683 (isTopLevelMenu): Simplified.
2684 * javax/swing/JMenuItem.java
2685 (uiClassID): Removed.
2686 (getUIClassID): Return id directly.
2687 * javax/swing/JPopupMenu.java
2688 (uiClassID): Removed.
2689 (JPopupMenu): Always initialize correctly.
2690 (getSubElements): Only return components implementing MenuElement
2692 (HeavyWeightPopup.hide): Removed.
2694 2005-02-15 Michael Koch <konqueror@gmx.de>
2696 * java/awt/image/ReplicateScaleFilter.java
2697 (replicatePixels): Made private.
2698 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
2699 (DefaultRGBChooserPanel): Made package private.
2700 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
2701 (RecentSwatchPanel): Likewise.
2702 * javax/swing/event/MouseInputAdapter.java: Reformatted.
2703 (MouseInputAdapter): Made abstract.
2704 * javax/swing/tree/DefaultMutableTreeNode.java
2706 (growTree): Likewise.
2708 2005-02-15 Michael Koch <konqueror@gmx.de>
2710 * java/awt/dnd/DropTarget.java (addDropTargetListener):
2713 2005-02-15 Michael Koch <konqueror@gmx.de>
2715 * javax/swing/JComponent.java (getComponentGraphics):
2716 Removed accidently commited code.
2718 2005-02-15 Graydon Hoare <graydon@redhat.com>
2720 * java/awt/dnd/DropTarget.java
2721 (addDropTargetListener): Despite documentation, do not throw.
2722 * javax/swing/JComponent.java: Set a default DropTarget.
2724 2005-02-15 Michael Koch <konqueror@gmx.de>
2726 * javax/swing/AbstractAction.java
2727 (ENABLED_PROPERTY): Removed.
2728 (setEnabled): Replaced constant with real string.
2729 * javax/swing/AbstractButton.java
2730 (createActionPropertyChangeListener.propertyChange): Likewise.
2731 * javax/swing/JComboBox.java
2732 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
2733 (EDITABLE_CHANGED_PROPERTY): Removed.
2734 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
2735 (ENABLED_CHANGED_PROPERTY):Likewise.
2736 (RENDERER_CHANGED_PROPERTY):Likewise.
2737 (EDITOR_CHANGED_PROPERTY):Likewise.
2738 (MODEL_CHANGED_PROPERTY):Likewise.
2739 (uiClassID):Likewise.
2740 (getUIClassID): Replaced constant with real string.
2741 (setModel):Likewise.
2742 (setEditable):Likewise.
2743 (setMaximumRowCount):Likewise.
2744 (setRenderer):Likewise.
2745 (setEditor):Likewise.
2746 (setEnabled):Likewise.
2747 * javax/swing/JLabel.java
2748 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
2749 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
2750 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
2751 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
2752 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
2753 (ICON_CHANGED_PROPERTY): Likewise.
2754 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
2755 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
2756 (TEXT_CHANGED_PROPERTY): Likewise.
2757 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
2758 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
2759 (setText): Replaced constant with real string.
2760 (setIcon): Likewise.
2761 (setDisabledIcon): Likewise.
2762 (setDisplayedMnemonic): Likewise.
2763 (setIconTextGap): Likewise.
2764 (setVerticalAlignment): Likewise.
2765 (setHorizontalAlignment): Likewise.
2766 (setVerticalTextPosition): Likewise.
2767 (setHorizontalTextPosition): Likewise.
2768 (setLabelFor): Replaced constant with real string.
2769 Fire property change event after property got changed.
2770 * javax/swing/JList.java
2771 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
2772 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
2773 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
2774 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
2775 (MODEL_PROPERTY_CHANGED): Likewise.
2776 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
2777 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
2778 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
2779 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
2780 (setFixedCellWidth): Reimplemented.
2781 (setFixedCellHeight): Exit if new value is identical.
2782 Replaced constant with real string.
2783 (setSelectionBackground): Likewise.
2784 (setSelectionForeground): Likewise.
2785 (setPrototypeCellValue): Likewise.
2786 (setCellRenderer): Replaced constant with real string.
2787 (setModel): Likewise.
2788 (setSelectionModel): Likewise.
2789 * javax/swing/JMenuBar.java
2790 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
2791 (MODEL_CHANGED_PROPERTY): Likewise.
2792 (MARGIN_CHANGED_PROPERTY): Likewise.
2793 (setBorderPainted): Reimplemented.
2794 (setMargin): Likewise.
2795 (setSelectionModel): Replaced constant with real string.
2796 * javax/swing/JPopupMenu.java
2797 (LABEL_CHANGED_PROPERTY): Removed.
2798 (VISIBLE_CHANGED_PROPERTY): Likewise.
2799 (borderPainted): Likewise.
2800 (setLabel): Replaced constant with real string.
2801 (setVisible): Exit if new value is identical.
2802 Replaced constant with real string.
2803 * javax/swing/JProgressBar.java
2804 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
2805 (ORIENTATION_CHANGED_PROPERTY): Likewise.
2806 (STRING_CHANGED_PROPERTY): Likewise.
2807 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
2808 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
2809 (setOrientation): Replaced constant with real string.
2810 (setStringPainted): Likewise.
2811 (setString): Likewise.
2812 (setBorderPainted): Likewise.
2813 (setIndeterminate): Likewise.
2814 * javax/swing/JScrollBar.java
2815 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
2816 (MODEL_CHANGED_PROPERTY): Likewise.
2817 (ORIENTATION_CHANGED_PROPERTY): Likewise.
2818 (setOrientation): Replaced constant with real string.
2819 (setModel): Likewise.
2820 (setUnitIncrement): Likewise.
2821 (setBlockIncrement): Likewise.
2822 * javax/swing/JScrollPane.java
2823 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
2824 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
2825 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
2826 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
2827 (LAYOUT_CHANGED_PROPERTY): Likewise.
2828 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
2829 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
2830 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
2831 (VIEWPORT_CHANGED_PROPERTY): Likewise.
2832 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
2833 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
2834 (setComponentOrientation): Replaced constant with real string.
2835 (setColumnHeader): Likewise.
2836 (setHorizontalScrollBar): Likewise.
2837 (setHorizontalScrollBarPolicy): Likewise.
2838 (setRowHeader): Likewise.
2839 (setVerticalScrollBar): Likewise.
2840 (setVerticalScrollBarPolicy): Likewise.
2841 (setWheelScrollingEnabled): Likewise.
2842 (setViewport): Likewise.
2843 (setViewportBorder): Likewise.
2844 * javax/swing/JSlider.java
2845 (INVERTED_CHANGED_PROPERTY): Removed.
2846 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
2847 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
2848 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
2849 (MODEL_CHANGED_PROPERTY): Likewise.
2850 (ORIENTATION_CHANGED_PROPERTY): Likewise.
2851 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
2852 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
2853 (setModel): Replaced constant with real string.
2854 (setOrientation): Likewise.
2855 (setLabelTable): Likewise.
2856 (setInverted): Likewise.
2857 (setMajorTickSpacing): Likewise.
2858 (setMinorTickSpacing): Likewise.
2859 (setPaintTicks): Likewise.
2860 (setPaintLabels): Likewise.
2861 * javax/swing/JTabbedPane.java
2862 (MODEL_CHANGED_PROPERTY): Removed.
2863 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
2864 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
2865 (setModel): Replaced constant with real string.
2866 (setTabPlacement): Likewise.
2867 (setTabLayoutPolicy): Likewise.
2868 * javax/swing/JToolBar.java
2869 (ORIENTATION_CHANGED_PROPERTY): Removed.
2870 (FLOATABLE_CHANGED_PROPERTY): Likewise.
2871 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
2872 (MARGIN_CHANGED_PROPERTY): Likewise.
2873 (ROLLOVER_CHANGED_PROPERTY): Likewise.
2874 (setRollover): Replaced constant with real string.
2875 (setMargin): Likewise.
2876 (setBorderPainted): Likewise.
2877 (setFloatable): Likewise.
2878 (setOrientation): Likewise.
2879 * javax/swing/plaf/basic/BasicComboBoxUI.java
2880 (PropertyChangeHandler.propertyChange): Likewise.
2881 * javax/swing/plaf/basic/BasicComboPopup.java
2882 (PropertyChangeHandler.propertyChange): Likewise.
2883 * javax/swing/plaf/basic/BasicMenuBarUI.java
2884 (PropertyChangeHandler.propertyChange): Likewise.
2885 * javax/swing/plaf/basic/BasicProgressBarUI.java
2886 (PropertyChangeHandler.propertyChange): Likewise.
2887 * javax/swing/plaf/basic/BasicScrollBarUI.java
2888 (PropertyChangeHandler.propertyChange): Likewise.
2889 * javax/swing/plaf/basic/BasicSliderUI.java
2890 (PropertyChangeHandler.propertyChange): Likewise.
2891 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2892 (PropertyChangeHandler.propertyChange): Likewise.
2893 * javax/swing/plaf/basic/BasicToolBarUI.java
2894 (PropertyChangeHandler.propertyChange): Likewise.
2896 2005-02-15 Michael Koch <konqueror@gmx.de>
2898 * javax/swing/DefaultButtonModel.java
2899 (changeState): Made private.
2900 * javax/swing/DefaultDesktopManager.java
2901 (setWasIcon): Fixed second argument to be java.lang.Boolean.
2902 * javax/swing/JLayeredPane.java
2903 (layerToRange): Made private.
2904 (incrLayer): Likewise.
2905 (decrLayer): Likewise.
2906 * javax/swing/JTable.java
2907 (dragEnabled): Likewise.
2908 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
2909 * javax/swing/KeyStroke.java
2910 (Keystroke): Made private.
2911 * javax/swing/TransferHandler.java
2912 (COMMAND_COPY): Likewise.
2913 (COMMAND_CUT): Likewise.
2914 (COMMAND_PASTE): Likewise.
2916 2005-02-15 Michael Koch <konqueror@gmx.de>
2918 * javax/swing/JTextField.java
2919 (postActionEvent): Use text in field when actionCommand is null.
2920 (getActionCommand): Removed.
2922 2005-02-15 Michael Koch <konqueror@gmx.de>
2924 * javax/swing/AbstractSet.java: Removed.
2925 * Makefile.am: Removed javax/swing/AbstractSet.java.
2926 * Makefile.in: Regenerated.
2928 2005-02-15 Michael Koch <konqueror@gmx.de>
2930 * java/awt/Window.java
2931 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
2932 * java/awt/dnd/DnDConstants.java
2933 (DnDConstants): New private constructor.
2935 2005-02-15 Michael Koch <konqueror@gmx.de>
2937 * javax/swing/DefaultCellRenderer.java: Removed.
2938 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
2939 * Makefile.in: Regenerated.
2941 2005-02-15 Michael Koch <konqueror@gmx.de>
2943 * javax/swing/AbstractButton.java
2944 (fireItemStateChanged): Made protected.
2945 (fireActionPerformed): Likewise.
2946 (fireStateChanged): Likewise.
2947 * javax/swing/DefaultButtonModel.java
2948 (fireItemStateChanged): Likewise.
2949 (fireActionPerformed): Likewise.
2950 (fireStateChanged): Likewise.
2951 * javax/swing/JApplet.java
2953 (frameInit): Likewise.
2954 (setRootPane): Made protected.
2955 (createRootPane): Likewise.
2956 * javax/swing/JComponent.java
2957 (getClientProperty): Likewise.
2958 (putClientProperty): Likewise.
2959 * javax/swing/JEditorPane.java
2960 (getContentType): Likewise.
2961 (setContentType): Likewise.
2962 * javax/swing/JFrame.java
2963 (setRootPane): Likewise.
2964 (createRootPane): Likewise.
2965 * javax/swing/JInternalFrame.java
2966 (getFocusCycleRootAncestor): Made final. Added @since tag.
2967 (isFocusCycleRoot): Likewise.
2968 (getWarningString): Made final.
2969 * javax/swing/JScrollBar.java
2970 (changeListener): Removed.
2971 (changeEvent): Likewise.
2972 (createChangeListener): Likewise.
2973 (fireStateChanged): Likewise.
2974 (addChangeListener): Likewise.
2975 (removeChangeListener): Likewise.
2976 (getChangeListeners): Likewise.
2977 * javax/swing/JScrollPane.java
2978 (createViewport): Made protected.
2979 * javax/swing/JViewport.java
2980 (addImpl): Likewise.
2981 (setBorder): New method.
2982 * javax/swing/JWindow.java
2983 (setRootPane): Made protected.
2984 (createRootPane): Likewise.
2985 * javax/swing/plaf/basic/BasicButtonUI.java
2986 (installListeners): Likewise.
2987 (uninstallListeners): Likewise.
2988 * javax/swing/plaf/basic/BasicProgressBarUI.java
2989 (incrementAnimationIndex): Likewise.
2990 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2991 (createLayoutManager): Likewise.
2992 * javax/swing/table/DefaultTableCellRenderer.java
2993 (firePropertyChange): Likewise.
2994 * javax/swing/table/JTableHeader.java
2995 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
2997 * javax/swing/text/PlainDocument.java
2998 (reindex): Made private.
2999 * javax/swing/text/PlainView.java
3000 (drawLine): Made protected.
3001 (getTabSize): Likewise.
3002 * javax/swing/text/View.java
3004 (preferenceChanged): New method.
3005 (getBreakWeight): Likewise.
3006 (breakView): Likewise.
3007 (getViewIndex): Likewise.
3009 2005-02-15 Michael Koch <konqueror@gmx.de>
3011 * javax/swing/JScrollPane.java
3012 (ScrollBar): Made class protected.
3013 * javax/swing/JSpinner.java
3014 (JSpinner): Added @since tag.
3015 (listenerList): Removed.
3016 * javax/swing/JTable.java
3017 (setValueAt): New method.
3018 (getColumn): Likewise.
3019 * javax/swing/JWindow.java
3020 (rootPaneCheckingEnabled): Renamed from checking.
3022 2005-02-15 Michael Koch <konqueror@gmx.de>
3024 * javax/swing/plaf/basic/BasicTextUI.java
3025 (RootView.modelToView): Made it public and return a java.awt.Shape.
3026 Handle null subview.
3027 (uninstall): Set textComponent to null when its not possible used
3029 * javax/swing/text/View.java
3030 (setParent): Use better argument name.
3031 (getContainer): Get parent via getParent().
3032 (getViewFactory): Likewise.
3033 (getAttributes): Get element via getElement().
3034 (getStartOffset): Likewise.
3035 (getEndOffset): Likewise.
3036 (getResizeWeight): New method.
3037 (getMaximumSpan): Likewise.
3038 (getMinimumSpan): Likewise.
3039 (setSize): Likewise.
3040 (getGraphics): Likewise.
3042 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
3044 * java/awt/Checkbox.java:
3045 (AccessibleAWTCheckbox()): Added public constructor
3047 * java/awt/Choice.java:
3048 (AccessibleAWTChoice): Added class documentation.
3049 (AccessibleAWTChoice()): Added public constructor
3051 (AccessibleAWTChoice.getAccessibleAction()): Documented.
3052 (AccessibleAWTChoice.getAccessibleRole()): Documented,
3053 and changed role to COMBO_BOX.
3054 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
3055 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
3056 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
3058 2005-02-15 Graydon Hoare <graydon@redhat.com>
3059 Michael Koch <konqueror@gmx.de>
3061 * javax/swing/LayoutFocusTraversalPolicy.java,
3062 javax/swing/SortingFocusTraversalPolicy.java:
3064 * Makefile.am: Added new classes.
3065 * Makefike.in: Regenerated.
3068 2005-02-15 Michael Koch <konqueror@gmx.de>
3070 * javax/swing/DebugGraphics.java: Mostly implemented.
3072 2005-02-15 Michael Koch <konqueror@gmx.de>
3074 * javax/swing/SwingUtilities.java
3075 (findFocusOwner): New method.
3077 2005-02-15 Michael Koch <konqueror@gmx.de>
3079 * javax/swing/text/DefaultEditorKit.java
3080 (read): Added '\n' after each line.
3081 * javax/swing/text/PlainView.java
3082 (modelToView): Update metrics.
3083 (drawLine): Use offsets from element.
3084 (paint): Update metrics. Draw all lines.
3086 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
3088 * java/awt/Checkbox.java:
3089 (AccessibleAWTCheckbox): Added class documentation
3090 * java/awt/Scrollbar.java:
3091 (AccessibleAWTScrollBar): typo corrected and docs added
3092 (AccessibleAWTScrollBar.getAccessibleRole()): documented
3093 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
3094 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
3095 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
3096 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
3097 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
3098 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
3099 (getAccessibleContext()): name of accessible class corrected
3101 2005-02-15 Mark Wielaard <mark@klomp.org>
3103 * java/awt/BasicStroke.java (hashCode): Implement.
3106 2005-02-15 Michael Koch <konqueror@gmx.de>
3108 * java/awt/print/PrinterJob.java
3109 (pageDialog): Throws java.awt.HeadlessException.
3110 (printDialog): Likewise.
3112 2005-02-15 Mark Wielaard <mark@klomp.org>
3114 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
3116 2005-02-15 Michael Koch <konqueror@gmx.de>
3118 * javax/swing/JTable.java
3119 (getValueAt): New method.
3120 * javax/swing/table/JTableHeader.java
3121 (columnAtPoint): New method.
3123 2005-02-15 Michael Koch <konqueror@gmx.de>
3125 * javax/swing/JTextField.java
3126 (actions): New field.
3127 (static): Initalize actions field.
3128 (getActions): New method.
3130 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
3132 * java/awt/Checkbox.java:
3133 (AccessibleAWTCheckbox): name capitalization corrected
3134 and serialization UID added.
3135 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
3137 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
3138 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
3139 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
3140 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
3141 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
3142 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
3143 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
3144 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
3145 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
3146 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
3147 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
3149 (getAccessibleContext()): name of accessible class corrected
3151 2005-02-15 Sven de Marothy <sven@physto.se>
3153 * java/awt/geom/doc-files/Area-1.png,
3154 java/awt/geom/doc-files/Ellipse-1.png,
3155 java/awt/geom/doc-files/GeneralPath-1.png:
3158 2005-02-15 Graydon Hoare <graydon@redhat.com>
3160 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
3161 Use union to avoid type-punning warning.
3163 2005-02-15 Michael Koch <konqueror@gmx.de>
3165 * javax/swing/DefaultListSelectionModel.java
3166 (clone): New method.
3168 2005-02-15 Mark Wielaard <mark@klomp.org>
3170 Reported by Martin Platter <motse@complang.tuwien.ac.at>
3171 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3172 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
3173 Correct method signature of gtkSetFilename.
3175 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
3177 * javax/swing/text/StringContent.java: New file.
3179 2005-02-15 Michael Koch <konqueror@gmx.de>
3181 * Makefile.am: Added javax/swing/text/StringContent.java.
3182 * Makefile.in: Regenerated.
3184 2005-02-15 Michael Koch <konqueror@gmx.de>
3186 * gnu/java/awt/ClasspathToolkit.java:
3187 Import statements reworked.
3188 (imageCache): Made it of type java.util.HashMap.
3190 2005-02-15 Michael Koch <konqueror@gmx.de>
3192 * javax/imageio/stream/MemoryCacheImageInputStream.java:
3193 Reworked import statements.
3195 2005-02-15 Graydon Hoare <graydon@redhat.com>
3197 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
3198 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
3199 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
3200 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
3201 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
3202 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
3203 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
3204 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
3205 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3206 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
3207 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
3208 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
3209 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
3210 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
3211 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
3212 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
3213 Rewrite uses of extern variable to be function calls.
3214 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
3215 function, from extern variable.
3216 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3217 (gdk_env): Remove variable, add new function.
3218 (java_vm): Add new variable.
3219 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
3220 java_vm rather than old gdk_env variable.
3222 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
3224 * javax/swing/DefaultListModel.java
3225 (add): fire correct event,
3226 (addElement): corrected interval indices in event,
3227 (clear): corrected upper bound for interval, only fire event if
3229 (setSize): fire appropriate event.
3231 2005-02-15 Graydon Hoare <graydon@redhat.com>
3233 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
3234 * gnu/awt/xlib/XToolkit.java: Likewise.
3235 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
3236 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
3237 * gnu/java/awt/ClasspathToolkit.java: Likewise.
3238 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
3239 * java/awt/EventQueue.java (getNextEvent):
3240 Adjust event loop to switch to native mode after 100ms.
3241 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
3242 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
3243 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
3244 Wake up event thread.
3245 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3246 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
3247 Adjust event loop to switch to java mode after 100ms.
3249 2005-02-15 Graydon Hoare <graydon@redhat.com>
3251 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
3252 accidentally removed in last change.
3254 2005-02-15 Michael Koch <konqueror@gmx.de>
3256 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3257 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
3259 2005-02-15 Graydon Hoare <graydon@redhat.com>
3261 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
3262 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
3263 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
3264 * jni.cc: Reuse bottom frame between calls, avoid clearing
3265 frame when no local references are made.
3267 2005-02-15 Michael Koch <konqueror@gmx.de>
3269 * javax/swing/UIDefaults.java (UIDefaults):
3270 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
3271 Fixed HTML entity and removed a redundant comma.
3273 2005-02-15 Michael Koch <konqueror@gmx.de>
3275 * javax/swing/text/DefaultEditorKit.java
3276 (deinstall): Removed.
3277 (install): Likewise.
3279 2005-02-15 Michael Koch <konqueror@gmx.de>
3281 * javax/swing/UIDefaults.java (put): Handle value of null.
3283 2005-02-15 Michael Koch <konqueror@gmx.de>
3285 * java/awt/Robot.java,
3286 java/awt/Scrollbar.java,
3287 java/awt/print/PrinterJob.java,
3288 javax/swing/JTable.java,
3289 javax/swing/text/AbstractDocument.java:
3290 Reworked import statements.
3292 2005-02-15 Michael Koch <konqueror@gmx.de>
3294 * javax/swing/JEditorPane.java
3295 (read): Implemented.
3297 * javax/swing/text/DefaultEditorKit.java
3298 (page): Renamed from page_url. Made private.
3299 (editorKit): Renamed from kit. Made private.
3301 (JEditorPane): All constructors reimplemented.
3302 (getContentType): Use content type from editor kit.
3303 (getEditorKit): Return editorKit.
3304 (getEditorKitForContentType):Likewise.
3305 (getPage): Return page.
3306 (setContentType): Reimplemented.
3307 (setEditorKit): Likewise.
3308 (setEditorKitForContentType): Removed wrong implementation.
3309 (setPage): Implemented.
3311 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
3313 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3314 (nativeSetIconImageFromData): Re-add native implementation.
3316 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
3318 * javax/swing/table/DefaultTableModel.java
3319 (DefaultTableModel()): Added Javadocs.
3320 (DefaultTableModel(int, int)): Fixed implementation.
3321 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
3322 for negative rowCount.
3323 (DefaultTableModel(Object[], int)): Added Javadocs.
3324 (DefaultTableModel(Vector, Vector)): Likewise.
3325 (DefaultTableModel(Object[][], Object[])): Likewise.
3326 (getDataVector): Likewise.
3327 (setDataVector(Vector, Vector)): Likewise.
3328 (setDataVector(Object[][], Object[])): Likewise.
3329 (newDataAvailable): Likewise.
3330 (newRowsAdded): Likewise.
3331 (rowsRemoved): Likewise.
3332 (setColumnIdentifiers(Vector)): Allow for null argument.
3333 (setColumnIdentifiers(Object[])): Added Javadocs.
3334 (setNumRows): Likewise.
3335 (setRowCount): Adds new rows if necessary, and sends more specific
3337 (setColumnCount): Allow for null columnIdentifiers.
3338 (addColumn(Object)): Added Javadocs.
3339 (addColumn(Object, Vector)): Handle null columnData.
3340 (addColumn(Object, Object[])): Handle columnData with more or less
3341 entries than rows in the table.
3342 (addRow(Vector)): Fire appropriate event.
3343 (addRow(Object[])): Added Javadocs.
3344 (insertRow(int, Vector)): Fire appropriate event.
3345 (insertRow(int, Object[])): Added Javadocs.
3346 (moveRow): Reimplemented.
3347 (removeRow(int)): Fire appropriate event.
3348 (getColumnCount): Allow for null columnIdentifiers.
3349 (getColumnName): Now returns empty string when column index is too
3351 (isCellEditable): Added Javadocs.
3352 (getValueAt): Likewise.
3353 (setValueAt): Fire more specific event.
3354 (convertToVector): Added Javadocs.
3355 * javax/swing/table/TableModel.java
3358 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
3360 * libgcj.spec.in (lib): Add -l-javax-imageio.
3362 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
3364 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
3365 references to event queue q with method call q().
3366 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
3367 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
3368 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
3369 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
3370 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
3371 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
3374 2005-02-15 Graydon Hoare <graydon@redhat.com>
3376 * gnu/java/awt/ClasspathToolkit.java
3377 (registerImageIOSpis): New method.
3378 * gnu/java/awt/image/ImageDecoder.java
3379 (imageDecoder): New constructor using InputStream
3380 (startProduction): Handle existing InputStream.
3381 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
3382 (findSimpleIntegerArray): Make public and static.
3383 (updateBufferedImage): Set each pixel, in a loop.
3384 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
3385 Implement ImageIO SPI classes.
3386 (createBufferedImage): Rewrite in terms of SPI classes.
3387 * gnu/java/awt/peer/gtk/GtkToolkit.java
3388 (registerImageIOSpis): New method.
3389 * java/lang/reflect/natMethod.cc
3390 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
3391 which lets JNI call interface methods properly.
3392 * javax/imageio/ImageIO.java
3393 (WriterFormatFilter.filter): Fix copy-and-paste typos.
3394 (WriterMIMETypeFilter.filter): Likewise.
3395 (ImageReaderIterator): Pass extension argument through to SPI.
3396 (getReadersByFilter): Likewise.
3397 (getWritersByFilter): Likewise.
3398 (getImageReadersByFormatName): Likewise.
3399 (getImageReadersByMIMEType): Likewise.
3400 (getImageReadersBySuffix): Likewise.
3401 (getImageWritersByFormatName): Likewise.
3402 (getImageWritersByMIMEType): Likewise.
3403 (getImageWritersBySuffix): Likewise.
3406 * javax/imageio/ImageReader.java
3407 (progressListeners): Initialize.
3408 (setInput): Implement.
3409 * javax/imageio/ImageWriter.java
3410 (progressListeners): Initialize.
3411 (warningListeners): Likewise.
3412 (warningLocales): Likewise.
3413 (setOutput): Test "isInstance" rather than class equality.
3414 * javax/imageio/spi/IIORegistry.java
3415 (static): Add reader and writer SPIs.
3416 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
3417 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
3418 (query_formats): New function.
3419 (save_to_stream): Likewise.
3420 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
3422 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
3424 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
3426 (keyPress): Likewise.
3427 (keyRelease): Likewise.
3429 2005-02-15 Olga Rodimina <rodimina@redhat.com>
3431 * javax/swing/JTable.java
3432 (columnAtPoint): New Method. Implemented.
3433 (rowAtPoint): Likewise.
3434 (countSelections): Fixed few small count errors.
3435 (getSelections): Likewise.
3436 (setSelectionMode): Set selection mode for column
3437 selection model in addition to row selection model.
3438 * javax/swing/plaf/basic/BasicTableUI.java:
3439 (getRowForPoint): Removed. Replaced by
3440 JTable.rowAtPoint().
3441 (getColForPoint): Removed. Replaced by
3442 JTable.columnAtPoint().
3443 (updateSelection): Updated to call JTable.columnAtPoint
3444 and JTable.rowAtPoint.
3445 * javax/swing/table/DefaultTableColumnModel.java:
3446 (getSelectedColumns): Implemented.
3447 (getSelectedColumnCount): Implemented.
3449 2005-02-15 Graydon Hoare <graydon@redhat.com>
3452 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
3453 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
3454 * Makefile.in: Regenerate.
3455 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
3456 * gnu/awt/xlib/XFramePeer.java: Likewise.
3457 * gnu/awt/xlib/XToolkit.java: Likewise.
3458 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
3459 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
3460 * gnu/java/awt/ClasspathToolkit.java
3463 (iterateNativeQueue): New methods.
3464 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
3465 * gnu/java/awt/peer/gtk/GtkToolkit.java
3466 (gtkInit): Absorb from defunct GtkMainThread class.
3467 (static): Run gtkInit in static startup block.
3468 (GtkToolkit): Remove construction of GtkMainThread and queue.
3469 (getSystemEventQueueImpl): Construct queue when requested.
3472 (iterateNativeQueue): New methods.
3473 * java/awt/Component.java (removeNotify): Remove race.
3474 * java/awt/EventDispatchThread.java
3475 (EventDispatchThread): Don't start on construction.
3476 (run): Remove isInterrupted check.
3477 * java/awt/EventQueue.java (shutdown): New flag.
3478 (isShutdown): New method checking J2SE shutdown condition.
3479 (setShutdown): New method.
3480 (getNextEvent): Restructure to use ClasspathToolkit.
3481 (postEvent): Activate new thread on posting, wake thread on
3482 post of possible shutdown condition event.
3483 * java/awt/Frame.java
3484 (Frame): Call noteFrame in all constructors.
3485 (fireDummyEvent): New helper method.
3486 (addNotify): Fire a dummy event to wake up queue.
3487 (removeNotify): Fire a dummy event to wake up queue.
3488 (noteFrame): New method.
3489 (weakFrames): New static field.
3490 (getFrames): Implement.
3491 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
3493 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
3494 Move everything from GtkMainThread into this file
3495 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
3496 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
3497 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
3498 New functions to implement single-threaded queue semantics.
3500 2005-02-15 Michael Koch <konqueror@gmx.de>
3502 * javax/swing/plaf/metal/MetalLookAndFeel.java
3503 (getControlTextFont): New method.
3504 (getMenuTextFont): Likewise.
3505 (getSubTextFont): Likewise.
3506 (getSystemTextFont): Likewise.
3507 (getUserTextFont): Likewise.
3508 (getWindowTitleFont): Likewise.
3510 2005-02-15 Michael Koch <konqueror@gmx.de>
3512 * javax/swing/text/AbstractDocument.java
3513 (documentFilter): New field.
3514 (getDocumentFilter): New method.
3515 (setDocumentFilter): Likewise.
3518 2005-02-15 Michael Koch <konqueror@gmx.de>
3520 * javax/swing/JTree.java
3521 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
3523 2005-02-15 Michael Koch <konqueror@gmx.de>
3525 * javax/swing/text/AbstractDocument.java
3526 (AbstractElement.getLength): Fixed off-by-one error.
3527 (AbstractElement.children): Made abstract.
3528 (AbstractElement.getAllowsChildren): Likewise.
3529 (AbstractElement.getElement): Likewise.
3530 (AbstractElement.dumpElement): New private method.
3531 (AbstractElement.dump): New method.
3532 (BranchElememt.getName): Fixed implementation.
3533 (BranchElememt.toString): Likewise.
3534 (BranchElememt.getElement): Fixed arguments.
3535 (LeafElement.getName): Fixed implementation.
3536 (LeafElement.toString): Likewise.
3537 * javax/swing/text/GapContent.java
3538 (GapContent): Put default content into buffer.
3539 * javax/swing/text/PlainDocument.java
3540 (reindex): Use empty attribute sets instead of null.
3541 (createDefaultRoot): Reimplemented.
3542 (insertUpdate): Call super method.
3543 (removeUpdate): Likewise.
3544 (getParagraphElement): Implemented.
3546 2005-02-15 Michael Koch <konqueror@gmx.de>
3548 * gnu/java/awt/ClasspathToolkit.java
3549 (createRobot): Throws java.awt.AWTException.
3550 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
3551 Added '__attribute__((unused))' to all unused method arguments.
3553 2005-02-15 Michael Koch <konqueror@gmx.de>
3555 * javax/swing/DefaultBoundedRangeModel.java
3556 (fireValueChanged): Fixed off-by-one error.
3558 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
3560 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
3561 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
3563 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
3564 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
3565 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
3566 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
3567 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
3568 (getDefaultScreenDevice): Implement.
3569 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
3570 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
3571 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
3572 * java/awt/Robot.java: Implement.
3573 * java/awt/peer/RobotPeer.java: Rename parameters.
3574 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
3575 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3576 (awt_keycode_to_keysym): Make non-static.
3577 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
3578 AWT_BUTTON3_MASK): Declare constants.
3579 (awt_keycode_to_keysym): Declare.
3581 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
3582 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
3583 and is non-empty pass its value to "make check".
3584 (test_mauve_sim): Likewise.
3586 2005-02-15 Michael Koch <konqueror@gmx.de>
3588 * javax/imageio/IIOParam.java
3589 (setSourceBands): New method.
3590 (setSourceSubsampling): Likewise.
3591 * javax/imageio/ImageReadParam.java
3592 (setDestination): Likewise.
3593 (setDestinationBands): Likewise.
3594 (setSourceProgressivePasses): Likewise.
3595 * javax/imageio/metadata/IIOInvalidTreeException.java
3596 (serialVersionUID): New static field.
3597 * javax/imageio/metadata/IIOMetadataNode.java
3598 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
3599 (parent): Dont initailize with default value explicitely.
3601 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
3602 (removeAttributeNode): Likewise.
3603 (removeAttributeNS): Likewise.
3604 (setAttribute): Likewise.
3605 (setAttributeNode): Likewise.
3606 (setAttributeNodeNS): Likewise.
3607 (setAttributeNS): Likewise.
3608 (appendChild): Likewise.
3609 (getNodeValue): Likewise.
3610 (insertBefore): Likewise.
3611 (removeChild): Likewise.
3612 (replaceChild): Likewise.
3613 (setPrefix): Likewise.
3615 2005-02-15 Michael Koch <konqueror@gmx.de>
3617 * javax/swing/LookAndFeel.java
3618 (getDesktopPropertyValue): New method.
3620 2005-02-15 Michael Koch <konqueror@gmx.de>
3622 * javax/swing/JTree.java
3623 (hasChildren): New instance field.
3625 2005-02-15 Michael Koch <konqueror@gmx.de>
3627 * javax/swing/JComponent.java
3628 (getToolTipText): New method.
3629 (getTitledBorderText): Likewise.
3630 (getAccessibleKeyBinding): Likewise.
3631 (getVerifyInputWhenFocusTarget): Likewise.
3632 (setVerifyInputWhenFocusTarget): Likewise.
3633 (verifyInputWhenFocusTarget): New instance field.
3635 2005-02-15 Michael Koch <konqueror@gmx.de>
3637 * javax/swing/DefaultListSelectionModel.java
3638 (fireValueChanged): New method.
3640 2005-02-15 Michael Koch <konqueror@gmx.de>
3642 * javax/swing/DefaultBoundedRangeModel.java:
3643 Fixed javadocs all over.
3644 (fireStateChanged): Simplified.
3645 * javax/swing/BoundedRangeModel.java:
3648 2005-02-15 Michael Koch <konqueror@gmx.de>
3650 * javax/swing/JRootPane.java
3651 (setMenuBar): Added @deprecated tag.
3652 (getMenuBar): Likewise.
3653 * javax/swing/JTable.java
3654 (sizeColumnsToFit): Likewise.
3656 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
3658 * javax/swing/ImageIcon.java (setImage): Implemented.
3660 2005-02-15 Michael Koch <konqueror@gmx.de>
3662 * javax/swing/JTable.java:
3663 Removed unused imports.
3665 2005-02-15 Olga Rodimina <rodimina@redhat.com>
3667 (prepareRenderer): Get column's index in dataModel instead
3668 of column's view index.
3669 (getColumnCount): return count of the columns in ColumnModel,
3671 (removeColumn): Implemented.
3672 (moveColumm): Likewise.
3673 (setRowHeight): throw IllegalArgumentException if height is
3675 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
3676 (DefaultTableColumnModel):Add call to createSelectionModel().
3677 (addColumn): Fire columnAdded event to registered listeners.
3678 (removeColumn): Fire columnRemoved event to registered listeners.
3679 (moveColumn): Fire columnMoved event to registered listeners.
3680 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
3681 (getColumnIndex): Changed parameter name.
3682 (setColumnSelectionAllowed): Likewise.
3683 (fireColumnAdded): Implemented.
3684 (fireColumnRemoved): Likewise.
3685 (fireColumnMoved): Likewise.
3686 (fireColumnMarginChanged): Likewise.
3687 (getListeners): Changed parameter name.
3688 (propertyChange): Implemented.
3689 (valueChanged): Changed parameter name.
3690 (createSelectionModel): Implemented.
3692 2005-02-15 Michael Koch <konqueror@gmx.de>
3694 * gnu/java/awt/peer/gtk/GtkToolkit.java:
3695 Explicitely import used classes.
3696 (getLocalGraphicsEnvironment): Simplify.
3697 * java/awt/Window.java (Window):
3698 Enable code to get the default GraphicsConfiguration.
3700 2005-02-15 Michael Koch <konqueror@gmx.de>
3702 * javax/swing/plaf/metal/DefaultMetalTheme.java
3703 (CONTROL_TEXT_FONT): New static field.
3704 (MENU_TEXT_FONT): Likewise.
3705 (SUB_TEXT_FONT): Likewise.
3706 (SYSTEM_TEXT_FONT): Likewise.
3707 (USER_TEXT_FONT): Likewise.
3708 (WINDOW_TITLE_FONT): Likewise.
3709 (getControlTextFont): New method.
3710 (getMenuTextFont): Likewise.
3711 (getSubTextFont): Likewise.
3712 (getSystemTextFont): Likewise.
3713 (getUserTextFont): Likewise.
3714 (getWindowTitleFont): Likewise.
3715 * javax/swing/plaf/metal/MetalTheme.java
3716 (BLACK): Initialize with Color.BLACK.
3717 (WHITE): Initialize with Color.WHITE.
3718 (getInactiveControlTextColor): Return getControlDisabled().
3719 (getMenuDisabledForeground): Return getSecondary3().
3720 (getControlTextFont): New abstract method.
3721 (getMenuTextFont): Likewise.
3722 (getSubTextFont): Likewise.
3723 (getSystemTextFont): Likewise.
3724 (getUserTextFont): Likewise.
3725 (getWindowTitleFont): Likewise.
3727 2005-02-15 Michael Koch <konqueror@gmx.de>
3729 * javax/swing/JFormattedTextField.java
3730 (getFocusLostBehavior): Fixed typo in method name.
3731 (setFocusLostBehavior): Likewise.
3733 2005-02-15 Michael Koch <konqueror@gmx.de>
3735 * javax/swing/TransferHandler.java:
3736 Reworked import statements.
3738 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
3740 * java/awt/Button.java,
3741 java/awt/Canvas.java,
3742 java/awt/Checkbox.java,
3743 java/awt/CheckboxMenuItem.java,
3744 java/awt/Choice.java,
3745 java/awt/Dialog.java,
3746 java/awt/Frame.java,
3747 java/awt/Label.java,
3750 java/awt/MenuBar.java,
3751 java/awt/MenuItem.java,
3752 java/awt/PopupMenu.java,
3753 java/awt/ScrollPane.java,
3754 java/awt/Scrollbar.java,
3755 java/awt/TextArea.java,
3756 java/awt/Window.java (getAccessibleContext): Clean up comments.
3758 * java/awt/Button.java,
3759 java/awt/Checkbox.java,
3760 java/awt/Choice.java,
3762 java/awt/PopupMenu.java,
3763 java/awt/TextArea.java (getAccessibleContext): Only create new
3765 * java/awt/TextComponent.java (getAccessibleContext): Implement.
3767 2005-02-15 Michael Koch <konqueror@gmx.de>
3769 * java/awt/Button.java,
3770 javax/swing/JApplet.java,
3771 javax/swing/JFormattedTextField.java,
3772 javax/swing/JWindow.java,
3773 javax/swing/JTree.java,
3774 javax/swing/plaf/basic/BasicEditorPaneUI.java,
3775 javax/swing/plaf/basic/BasicTextPaneUI.java,
3776 javax/swing/plaf/basic/BasicTreeUI.java:
3777 Reworked import statements.
3779 2005-02-15 Michael Koch <konqueror@gmx.de>
3781 * Makefile.am: Put javax.imageio into its own library and link it
3782 against lib-org-w3c-dom.la to fix bootstrapping.
3783 * Makefile.in: Regenerated.
3785 2005-02-15 Michael Koch <konqueror@gmx.de>
3787 * javax/swing/text/TextAction.java
3788 (getTextComponent): Simplified. Added Javadoc.
3789 (augmentList): Implemented. Added Javadoc.
3790 (getFocusedComponent): Added javadoc.
3792 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
3794 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
3795 getAccessibleContext): Implement.
3796 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
3797 getAccessibleContext): Implement.
3799 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
3801 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
3803 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
3805 * java/awt/Window.java (getAccessibleContext): Fix comment.
3806 Remove extra import.
3808 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
3810 * java/awt/Window.java (AccessibleAWTWindow): Implement.
3811 (isActive, isFocused, getAccessibleContext): Implement.
3813 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
3815 * java/awt/MenuItem.java (getAccessibleContext): Implement.
3816 * java/awt/MenuComponent.java (accessibleContext): Make package
3818 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
3819 AccessibleAWTCheckboxMenuItem): Implement.
3821 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
3823 * java/awt/List.java: Implement AccessibleAWTList,
3824 AccessibleAWTListChild.
3826 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
3828 * java/awt/Choice.java: Add implements declaration for
3831 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
3833 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
3836 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
3838 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
3839 implemented interface list.
3841 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
3843 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
3844 * javax/imageio/metadata/IIOAttr.java: New class.
3845 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
3846 * javax/imageio/metadata/IIONodeList.java: New class.
3847 * Makefile.am: Added new files.
3848 * Makefile.in: Regenerated.
3850 2005-02-15 Michael Koch <konqueror@gmx.de>
3852 * javax/swing/AbstractAction.java,
3853 javax/swing/AbstractCellEditor.java,
3854 javax/swing/AbstractListModel.java,
3855 javax/swing/DefaultBoundedRangeModel.java,
3856 javax/swing/DefaultButtonModel.java,
3857 javax/swing/DefaultCellEditor.java,
3858 javax/swing/DefaultComboBoxModel.java,
3859 javax/swing/DefaultDesktopManager.java,
3860 javax/swing/JMenu.java,
3861 javax/swing/JSlider.java,
3862 javax/swing/KeyStroke.java,
3863 javax/swing/OverlayLayout.java,
3864 javax/swing/ScrollPaneLayout.java,
3865 javax/swing/SizeRequirements.java,
3866 javax/swing/ViewportLayout.java:
3867 Made serialVersionUID private.
3869 2005-02-15 Michael Koch <konqueror@gmx.de>
3871 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
3874 2005-02-15 Michael Koch <konqueror@gmx.de>
3876 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
3878 2005-02-15 Michael Koch <konqueror@gmx.de>
3880 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
3882 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
3884 * java/awt/EventDispatchThread.java,
3885 java/awt/Toolkit.java:
3886 Don't catch java.lang.ThreadDeath.
3888 2005-02-15 Michael Koch <konqueror@gmx.de>
3890 * javax/swing/text/PasswordView.java
3891 (drawEchoCharacter): Added javadoc.
3892 (drawSelectedText): Likewise.
3893 (drawUnselectedText): Likewise.
3895 2005-02-15 Michael Koch <konqueror@gmx.de>
3897 * javax/swing/JRootPane.java
3898 (windowDecorationStyle): New field.
3899 (setMenuBar): New method.
3900 (getMenuBar): Likewise.
3901 (getWindowDecorationStyle): Likewise.
3902 (setWindowDecorationStyle): Likewise.
3904 2005-02-15 Michael Koch <konqueror@gmx.de>
3906 * javax/swing/DefaultListSelectionModel.java
3907 (leadAnchorNotificationEnabled): Made protected.
3909 2005-02-15 Michael Koch <konqueror@gmx.de>
3911 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
3912 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
3913 * Makefile.in: Regenerated.
3916 2005-02-15 Michael Koch <konqueror@gmx.de>
3918 * javax/swing/JFormattedTextField.java: Implemented.
3919 * javax/swing/JWindow.java
3920 (JWindow): New constructors.
3921 (initWindow): Renamed from initFrame.
3922 * javax/swing/UIDefaults.java
3923 (ActiveValue): Made interface static.
3924 (LazyValue): Likewise.
3925 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
3926 (TitlePaneLayout.TitlePaneLayout): New constructor.
3927 * javax/swing/plaf/basic/BasicSliderUI.java
3928 (ChangeHandler): Made public.
3929 (FocusHandler): Likewise.
3930 (PropertyChangeHandler): Likewise.
3931 (ScrollListener): Likewise.
3932 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3933 (FocusHandler): Likewise.
3934 (MouseHandler): Likewise.
3935 * javax/swing/plaf/basic/BasicTextPaneUI.java
3936 (BasicTextPaneUI): Extend BasicEditorPaneUI.
3937 * javax/swing/plaf/basic/BasicToolBarUI.java
3938 (BasicToolBarUI): Simplified. Reworked javadoc.
3939 (canDock): Simplified. Make public.
3940 (DockingListener): Made public.
3941 * javax/swing/text/JTextComponent.java
3942 (navigationFilter): New field.
3943 (getNavigationFilter): New method.
3944 (setNavigationFilter): Likewise.
3946 2005-02-15 Michael Koch <konqueror@gmx.de>
3948 * javax/swing/plaf/metal/MetalTheme.java
3949 (getControlTextColor): Return getControlInfo().
3950 (getHighlightedTextColor): Return getControlTextColor().
3952 2005-02-15 Michael Koch <konqueror@gmx.de>
3954 * javax/swing/plaf/basic/BasicButtonListener.java
3955 (BasicButtonListener): New constructor.
3956 * javax/swing/plaf/basic/BasicButtonUI.java
3957 (createButtonListener): Usw new BasicButtonListener constructor.
3959 2005-02-15 Michael Koch <konqueror@gmx.de>
3961 * javax/imageio/event/package.html,
3962 javax/imageio/metadata/package.html: New files.
3964 2005-02-15 Michael Koch <konqueror@gmx.de>
3966 * java/awt/image/MemoryImageSource.java: Reformatted.
3968 2005-02-15 Michael Koch <konqueror@gmx.de>
3970 * javax/swing/tree/TreeCellEditor.java: Refomatted.
3972 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
3974 * java/awt/color/ICC_Profile.java
3975 (finalize): Removed pointless field assignments.
3977 2005-02-15 Michael Koch <konqueror@gmx.de>
3979 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
3980 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
3981 * Makefile.in: Regenerated.
3983 2005-02-15 Michael Koch <konqueror@gmx.de>
3985 * javax/swing/text/DefaultStyledDocument.java: New file.
3986 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
3987 * Makefile.in: Regenerated.
3989 2005-02-15 Michael Koch <konqueror@gmx.de>
3991 * javax/swing/JFileChooser.java
3992 (showDialog): Return CANCEL_OPTION for now.
3993 (showOpenDialog): Likewise.
3994 (showSaveDialog): Likewise.
3996 2005-02-15 Michael Koch <konqueror@gmx.de>
3998 * javax/swing/JApplet.java
3999 (HIDE_ON_CLOSE): Removed.
4000 (EXIT_ON_CLOSE): Likewise.
4001 (DISPOSE_ON_CLOSE): Likewise.
4002 (DO_NOTHING_ON_CLOSE): Likewise.
4003 (close_action): Likewise.
4004 (getDefaultCloseOperation): Likewise.
4005 (setDefaultCloseOperation): Likewise.
4006 (processWindowEvent): Likewise.
4007 (getPreferredSize): Simplified.
4008 * javax/swing/JInternalFrame.java
4009 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
4011 * javax/swing/JWindow.java
4012 (HIDE_ON_CLOSE): Removed.
4013 (EXIT_ON_CLOSE): Likewise.
4014 (DISPOSE_ON_CLOSE): Likewise.
4015 (DO_NOTHING_ON_CLOSE): Likewise.
4016 (close_action): Likewise.
4017 (processKeyEvent): Likewise.
4018 (setDefaultCloseOperation): Likewise.
4019 (getPreferredSize): Simplified.
4021 2005-02-15 Michael Koch <konqueror@gmx.de>
4023 * javax/swing/JTextField.java
4024 (getPreferredSize): Re-implemented.
4026 2005-02-15 Michael Koch <konqueror@gmx.de>
4028 * javax/swing/JLabel.java
4029 (setDisplayedMnemonic): Use only upper case characters.
4030 (setDisplayedMnemonicIndex): Handle index == -1 and fire
4031 PropertyChangeEvent after property got set to the new index.
4033 2005-02-15 Robert Schuster <thebohemian@gmx.net>
4035 * javax/swing/JComboBox.java:
4036 (JComboBox): Removed selection of the
4037 first item in the model.
4039 2005-02-15 Robert Schuster <thebohemian@gmx.net>
4041 * javax/swing/JComboBox.java
4042 added support for no item being selected
4043 (JComboBox): select first or nothing depending on element count
4044 (setModel): cleaned up unneeded "this." usage, added more
4045 docs, made exception behavior match that of the JDK
4046 (setLighWeightPopupEnabled): removed unneeded "this." usage
4048 (setMaximumRowCount): dito
4050 (setPrototypeDisplayValue): dito
4051 (getSelectedItem): simplified, added more user doc
4052 (setSelectedIndex): corrected exception behavior, added more user doc
4053 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
4054 added performance warning to user doc
4055 (addItem): fixed exception behavior, added user doc
4056 (insertItemAt): dito
4058 (removeItemAt): dito
4059 (removeAll): fixed exception behavior, added user doc, added support
4060 for model not being instance of DefaultComboBoxModel
4061 (getSelectedItemObjects): simplified
4062 (getItemCount): fixed dependency on DefaultComboBoxModel
4063 (getItemAt): fixed dependency on MutableComboBoxModel
4064 * javax/swing/DefaultComboBoxModel.java:
4065 (setSelectedItem): updates selected item only if new
4066 value is null or known (match JDK behavior)
4067 * javax/swing/plaf/basic/BasicComboBoxUI.java:
4068 (paintCurrentValue): renders "" if no item is selected
4070 2005-02-15 Michael Koch <konqueror@gmx.de>
4072 * javax/swing/plaf/metal/MetalTheme.java,
4073 javax/swing/plaf/metal/DefaultMetalTheme.java:
4075 * javax/swing/plaf/metal/MetalLookAndFeel.java
4076 * Makefile.am: Added the new files.
4077 * Makefile.in: Regenerated.
4079 2005-02-15 Olga Rodimina <rodimina@redhat.com>
4081 * javax/swing/JTable.java
4082 (editorComp): New field.
4083 (JTable): Initialize local variables and call updateUI
4084 (selectionBackground): Make protected.
4085 (selectionForeground): Likewise.
4086 (initializeLocalVars): Create default editors and renderers,
4087 initialize editingColumn, editingRow variables.
4088 (createDefaultEditors): New Method.
4089 (createDefaultRenderers): Likewise.
4090 (createDefaultListSelectionModel): Removed
4091 (createDefaultSelectionModel): New Method.
4092 (createDefaultTableHeader): Likewise
4093 (removeColumn): Likewise.
4094 (getEditingColumn): Likewise.
4095 (setEditingColumn): Likewise.
4096 (getEditingRow): Likewise.
4097 (setEditingRow): Likewise.
4098 (getEditorComponent): Likewise.
4099 (isEditing): Likewise.
4100 (setDefaultEditor): Likewise.
4101 (addColumnSelectionInterval): Likewise.
4102 (addRowSelectionInterval): Likewise.
4103 (setColumnSelectionInterval): Likewise.
4104 (setRowSelectionInterval): Likewise.
4105 (removeColumnSelectionInterval): Likewise.
4106 (removeRowSelectionInterval): Likewise.
4107 (isColumnSelected): Likewise.
4108 (isRowSelected): Likewise.
4109 (isCellSelected): Likewise.
4110 (selectAll): Likewise.
4112 2005-02-15 Michael Koch <konqueror@gmx.de>
4114 * javax/swing/JTable.java
4115 (addColumn): New method.
4116 (getColumnClass): Likewise.
4117 (getColumnName): Likewise.
4119 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
4121 * javax/swing/TransferHandler.java
4122 (createTransferable): Made protected.
4124 2005-02-15 Michael Koch <konqueror@gmx.de>
4126 * javax/swing/JTable.java,
4127 javax/swing/plaf/basic/BasicTableHeaderUI.java,
4128 javax/swing/plaf/basic/BasicTableUI.java:
4129 Use fixed get/setIntercellSpacing() methods.
4131 2005-02-15 Michael Koch <konqueror@gmx.de>
4133 * javax/swing/JTable.java
4134 (getIntercellSpacing): Fixed typo in method name.
4135 (setIntercellSpacing): Likewise.
4137 2005-02-15 Michael Koch <konqueror@gmx.de>
4139 * javax/swing/text/JTextComponent.java
4140 (focusAccelerator): New variable.
4141 (getFocusAccelerator): New method.
4142 (setFocusAccelerator): Likewise.
4144 2005-02-15 Michael Koch <konqueror@gmx.de>
4146 * javax/swing/JComponent.java
4147 (setTransferHandler): Made public. Fire property change event.
4148 * javax/swing/TransferHandler.java: Implemented.
4149 * javax/swing/text/JTextComponent.java
4150 (DefaultTransferHandler): New inner class.
4151 (defaultTransferHandler): New variable.
4155 (doTransferAction): Likewise.
4157 2005-02-15 Michael Koch <konqueror@gmx.de>
4159 * javax/swing/JTree.java
4160 (collapsePath): New method.
4161 (collapseRow): Likewise.
4162 (expandPath): Likewise.
4163 (expandRow): Likewise.
4164 (checkExpandParents): Likewise.
4165 (doExpandParents): Likewise.
4166 (setExpandedState): Likewise.
4167 (makeVisible): Likewise.
4169 2005-02-15 Michael Koch <konqueror@gmx.de>
4171 * javax/swing/JPasswordField.java: Updated javadocs.
4173 2005-02-15 Michael Koch <konqueror@gmx.de>
4175 * javax/swing/JLayeredPane.java
4176 (getLayer): Fixed return type, made public.
4177 (getPosition): Use new getLayer().
4178 (SetPosition): Likewise.
4179 (getIndexOf): Likewise.
4181 * javax/swing/JInternalFrame.java
4182 (getLayer): Use new JLayeredPane.getLayer().
4185 2005-02-15 Michael Koch <konqueror@gmx.de>
4187 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
4188 (setHeaderValue): Simplified. Do nothing when old value == new value.
4190 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4192 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
4193 against null clip region.
4194 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
4195 gtkWindowSetResizable.
4196 (postConfigureEvent): Only revalidate if frame size has changed.
4197 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
4198 Only revalidate if frame size has changed.
4199 * java/awt/Component.java (reshape): Only repaint and post
4200 component events if component is showing.
4201 * java/awt/Container.java (addImpl): Only post container event if
4202 container is showing.
4204 * java/awt/Window.java (setLocationRelativeTo): Implement.
4205 (setBoundsCallback): Only post component events if component is
4207 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
4208 Protect against null graphics structure. Flush gdk event queue.
4210 2005-02-15 Michael Koch <konqueror@gmx.de>
4212 * javax/imageio/ImageReader.java,
4213 javax/imageio/ImageTranscoder.java,
4214 javax/imageio/ImageWriter.java,
4215 javax/imageio/spi/ImageInputStreamSpi.java,
4216 javax/imageio/spi/ImageOutputStreamSpi.java,
4217 javax/imageio/spi/ServiceRegistry.java,
4218 javax/imageio/stream/ImageInputStream.java,
4219 javax/imageio/stream/ImageOutputStream.java: Updated.
4220 * javax/imageio/IIOException.java,
4221 javax/imageio/IIOImage.java,
4222 javax/imageio/IIOParam.java,
4223 javax/imageio/IIOParamController.java,
4224 javax/imageio/ImageIO.java,
4225 javax/imageio/ImageReadParam.java,
4226 javax/imageio/ImageTypeSpecifier.java,
4227 javax/imageio/ImageWriteParam.java,
4228 javax/imageio/spi/IIORegistry.java,
4229 javax/imageio/spi/ImageReaderSpi.java,
4230 javax/imageio/spi/ImageWriterSpi.java,
4231 javax/imageio/stream/FileCacheImageInputStream.java,
4232 javax/imageio/stream/FileCacheImageOutputStream.java,
4233 javax/imageio/stream/FileImageInputStream.java,
4234 javax/imageio/stream/FileImageOutputStream.java,
4235 javax/imageio/stream/ImageInputStreamImpl.java,
4236 javax/imageio/stream/ImageOutputStreamImpl.java,
4237 javax/imageio/stream/MemoryCacheImageInputStream.java,
4238 javax/imageio/stream/MemoryCacheImageOutputStream.java,
4239 javax/imageio/event/IIOReadProgressListener.java,
4240 javax/imageio/event/IIOReadUpdateListener.java,
4241 javax/imageio/event/IIOReadWarningListener.java,
4242 javax/imageio/event/IIOWriteProgressListener.java,
4243 javax/imageio/event/IIOWriteWarningListener.java,
4244 javax/imageio/metadata/IIOMetadata.java,
4245 javax/imageio/metadata/IIOMetadataController.java,
4246 javax/imageio/metadata/IIOMetadataFormat.java,
4247 javax/imageio/metadata/IIOInvalidTreeException.java,
4248 javax/imageio/metadata/IIOMetadataFormatImpl.java,
4249 javax/imageio/metadata/IIOMetadataNode.java: New files.
4250 * Makefile.am (javax_source_files): Added new files
4251 * Makefile.in: Regenerated.
4253 2005-02-15 Graydon Hoare <graydon@redhat.com>
4255 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4256 Rework painting into BufferedImages
4257 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4258 Construct BufferedImage with alpha only when alpha is
4259 present in colormodel.
4260 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4261 Rework painting into client-side jint arrays.
4262 * jni/gtk-peer/gtkcairopeer.h:
4265 2005-02-15 Michael Koch <konqueror@gmx.de>
4267 * javax/swing/DefaultListCellRenderer.java
4268 (serialVersionUID): Made private.
4269 (getListCellRendererComponent): Set horizontal alignment.
4270 * javax/swing/JLabel.java
4271 (setVerticalAlignment): Re-implemented.
4272 (setHorizontalAlignment): Do nothing if old value = new value.
4273 * javax/swing/JList.java
4274 (setCellRenderer): Likewise.
4275 (setModel): Re-implemented.
4276 (setSelectionModel): Likewise.
4278 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
4280 * java/awt/Component.java,
4281 java/awt/geom/Rectangle2D.java:
4284 2005-02-15 Michael Koch <konqueror@gmx.de>
4286 * javax/swing/AbstractListModel.java
4287 (fireContentsChanged): Simplified.
4288 (fireIntervalAdded): Likewise.
4289 (fireIntervalRemoved): Likewise.
4290 * javax/swing/DefaultSingleSelectionModel.java:
4292 (fireStateChanged): Simplified.
4293 * javax/swing/JPopupMenu.java
4294 (setSelectionModel): Set property.
4296 2005-02-15 Michael Koch <konqueror@gmx.de>
4298 * java/awt/print/Book.java: Reformatted.
4300 2005-02-15 Michael Koch <konqueror@gmx.de>
4302 * java/awt/geom/Area.java
4303 (QuadSegment.curveArea): Remove unused variables.
4304 (CubicSegment.curveArea): Likewise.
4306 2005-02-15 Michael Koch <konqueror@gmx.de>
4308 * javax/swing/JTree.java
4309 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
4310 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
4311 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
4312 (EXPANDED): New constant.
4313 (COLLAPSED): Likewise.
4314 (nodeStates): New field.
4315 (cellEditor): New method.
4316 (cellRenderer): Likewise.
4317 (selectionModel): Likewise.
4318 (treeModel): Likewise.
4319 (scrollPathToVisible): Likewise.
4320 (scrollRowToVisible): Likewise.
4321 (isCollapsed): Likewise.
4322 (isExpanded): Likewise.
4323 (clearToggledPaths): Likewise.
4324 (getDescendantToggledPaths): Likewise.
4325 (hasBeenExpanded): Likewise.
4326 (isVisible): Likewise.
4327 (isPathEditable): Likewise.
4329 2005-02-15 Michael Koch <konqueror@gmx.de>
4331 * javax/swing/JLayeredPane.java: Reformatted.
4333 2005-02-15 Michael Koch <konqueror@gmx.de>
4335 * javax/swing/tree/DefaultMutableTreeNode.java:
4337 * javax/swing/tree/MutableTreeNode.java:
4340 2005-02-15 Michael Koch <konqueror@gmx.de>
4342 * javax/swing/JFormattedTextField.java
4343 (setDocument): Call setDocument of super class. Don't fire property
4346 2005-02-15 Sven de Marothy <sven@physto.se>
4348 * java/awt/image/IndexColorModel.java:
4349 Add FIXME with respect to alpha handling.
4350 (getAlpha): Default to returning opaque pixels.
4351 * java/awt/image/MultiPixelPackedSampleModel.java
4352 (MultiPixelPackedSampleModel): Corrected parameters, order of
4353 bit shifts and masks, stride length off by one.
4355 2005-02-15 Michael Koch <konqueror@gmx.de>
4357 * javax/swing/JList.java, javax/swing/JTree.java:
4358 Added much new methods and fixed much methods setting bound properties.
4360 2005-02-16 Mark Wielaard <mark@klomp.org>
4362 * Makefile.am (gnu_xml_source_files): Removed
4363 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
4364 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
4365 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
4366 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
4367 gnu/xml/dom/DomDocumentFragment.java,
4368 gnu/xml/dom/DomProcessingInstruction.java and
4369 gnu/xml/dom/ls/DomLSException.java.
4370 * Makefile.in: Regenerated.
4372 2005-02-16 Tom Tromey <tromey@redhat.com>
4374 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
4375 attribute index is out of bounds.
4377 2005-02-16 Chris Burdess <dog@gnu.org>
4379 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
4380 isDeclared methods. Improved performance of isSpecified methods.
4382 2005-02-16 Chris Burdess <dog@gnu.org>
4384 Fixes bug libgcj/19864
4385 * gnu/xml/dom/DomAttr.java,
4386 gnu/xml/dom/DomCDATA.java,
4387 gnu/xml/dom/DomCDATASection.java,
4388 gnu/xml/dom/DomCharacterData.java,
4389 gnu/xml/dom/DomDOMException.java,
4390 gnu/xml/dom/DomDoctype.java,
4391 gnu/xml/dom/DomDocument.java,
4392 gnu/xml/dom/DomDocumentConfiguration.java,
4393 gnu/xml/dom/DomDocumentFragment.java,
4394 gnu/xml/dom/DomElement.java,
4395 gnu/xml/dom/DomEx.java,
4396 gnu/xml/dom/DomFragment.java,
4397 gnu/xml/dom/DomImpl.java,
4398 gnu/xml/dom/DomIterator.java,
4399 gnu/xml/dom/DomNamedNodeMap.java,
4400 gnu/xml/dom/DomNode.java,
4401 gnu/xml/dom/DomNsNode.java,
4402 gnu/xml/dom/DomPI.java,
4403 gnu/xml/dom/DomProcessingInstruction.java,
4404 gnu/xml/dom/DomText.java,
4405 gnu/xml/dom/DomLSEx.java,
4406 gnu/xml/dom/DomLSException.java,
4407 gnu/xml/dom/DomLSParser.java,
4408 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
4409 implementation class names to conform to Classpath guidelines. Make
4410 DomLSException use JDK 1.4+ exception chaining.
4411 * gnu/xml/util/SAXNullTransformerFactory.java,
4412 gnu/xml/xpath/Predicate.java: Use constants relative to
4413 declaring class or interface.
4415 2005-02-16 Andrew Haley <aph@redhat.com>
4417 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
4418 null, create a new AccessControlContext.
4419 * java/security/SecureClassLoader.java (protectionDomainCache):
4421 (defineClass): Create a new protection domain and add it to our
4424 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
4425 addStub() to keep track of the stub we've exported.
4426 (unexportObject): Call deleteStub().
4427 * java/rmi/server/RemoteObject.java (stubs): New field.
4428 (addStub): New method.
4429 (deleteStub): New method.
4432 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
4433 true to findHelper (tryParents).
4434 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
4436 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
4437 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
4439 If tryParents is false, don't scan parent class loaders.
4441 * java/security/Permissions.java (PermissionsHash.implies):
4442 Iterate over the collection and invoke implies() on each
4445 2005-02-16 Andrew Haley <aph@redhat.com>
4447 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
4449 (PersistentByteMap): Set name
4450 Magic number changed to 0x67636a64 ("gcjd").
4451 (init): Force the map to be prime.
4452 (emptyPersistentByteMap): File name was a string, now a File.
4453 (addBytes): Share srings between entries.
4454 (stringTableSize): New method.
4455 (capacity): Scale by load factor.
4456 (force): New method.
4457 (getFile): New method.
4458 (close): New method.
4459 (putAll): New method.
4460 (ByteWrapper): New class.
4461 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
4462 (main): Guess the average string size as 32, not 64.
4463 Copy a database before modifying it, so that we can update a
4464 database in a running system.
4465 If a database isn't big enough, resize it.
4466 "-m": new option: merges databases.
4467 "-a": Create a new detabase if it doesn't exist.
4468 (usage): Correct, add new option.
4469 (addJar): Copy a database before modifying it.
4470 (resizeMap): New method.
4472 2005-02-15 David Daney <ddaney@avtrex.com>
4473 Bryce McKinlay <mckinlay@redhat.com>
4475 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
4476 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
4477 ensure that GC threads inherit the new signal mask.
4478 (block_sigchld): Call JvFail rather than throwing exception if
4479 pthread_sigmask() fails.
4481 2005-02-15 Mark Wielaard <mark@klomp.org>
4483 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
4484 file path elements are separated by spaces.
4486 2005-02-15 Mark Wielaard <mark@klomp.org>
4488 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
4489 to describe attributes without a constant field value in this class.
4491 2005-02-15 Michael Koch <konqueror@gmx.de>
4493 * java/util/jar/Attributes.java
4494 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
4496 2005-02-15 Mark Wielaard <mark@klomp.org>
4498 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
4499 space for parsing CLASS_PATH attribute.
4501 2005-02-15 Mark Wielaard <mark@klomp.org>
4503 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
4504 aside for "GCJLIBS" in directory where jarfiles are loaded.
4505 (JarURLLoader.getClass): Removed method.
4506 (JarURLLoader.toString): Removed method.
4507 (FileResource.toString): Removed method.
4509 2005-02-15 Mark Wielaard <mark@klomp.org>
4511 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
4512 and/or cause before throwing.
4514 2005-02-15 Richard Henderson <rth@redhat.com>
4516 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
4517 (libgcj0_convenience_la_SOURCES): ... here.
4518 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
4519 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
4520 * Makefile.in: Regenerate.
4522 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
4525 * include/jawt.h: Likewise.
4526 * include/jawt_md.h: Likewise.
4527 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4529 * include/Makefile.in: Regenerate.
4530 * jni/classpath/classpath_jawt.h: Likewise.
4531 * jni/gtk-peer/gtk_jawt.c: Likewise.
4532 * Makefile.am: Build libjawt.so.
4533 * Makefile.in: Regenerate.
4535 2005-02-14 Tom Tromey <tromey@redhat.com>
4537 * testsuite/libjava.lang/PR19921.java: Use correct class name.
4539 2005-02-14 Tom Tromey <tromey@redhat.com>
4541 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
4542 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
4544 2005-02-14 Tom Tromey <tromey@redhat.com>
4547 * testsuite/libjava.lang/PR19929.out: New file.
4548 * testsuite/libjava.lang/PR19929.java: New file.
4550 2005-02-14 Anthony Green <green@redhat.com>
4553 * testsuite/libjava.jni/PR18116.c: New file.
4554 * testsuite/libjava.jni/PR18116.java: New file.
4555 * testsuite/libjava.jni/PR18116.out: New file.
4557 2005-02-13 Anthony Green <green@redhat.com>
4560 * jni.cc (nathash_add): Don't strdup the method signature.
4561 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
4565 2005-02-12 Mark Wielaard <mark@klomp.org>
4567 Fixes bug libgcj/8170
4568 * java/lang/ClassLoader.java (loadClass): Don't rewrap
4569 ClassNotFoundException.
4570 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
4571 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
4572 (remove_internal): New field superceding remove_interpreter.
4573 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
4574 Remove no-class methods starting with "_Jv_". And Replace null
4575 class or method names with the empty string. Stop at either the
4576 MainThread or a real Thread run() method.
4577 (newElement): Made static.
4578 * java/net/URLClassLoader.java (findClass): Throw
4579 ClassNotFoundExceptions including urls, plus parent using toString().
4580 (thisString): New field.
4581 (toString): New method.
4583 2005-02-10 Tom Tromey <tromey@redhat.com>
4585 * external/sax/Makefile.in: Rebuilt.
4586 * external/sax/Makefile.am (all-local): Removed.
4587 (BUILT_SOURCES): New variable.
4588 (mostlyclean-local): No error if no classes to delete.
4589 * external/w3c_dom/Makefile.in: Rebuilt.
4590 * external/w3c_dom/Makefile.am (all-local): Removed.
4591 (BUILT_SOURCES): New variable.
4592 (mostlyclean-local): No error if no classes to delete.
4594 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
4596 * testsuite/libjava.mauve/xfails: Updated to reflect current state
4597 of mauve and libjava.
4599 2005-02-09 Tom Tromey <tromey@redhat.com>
4601 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
4602 jar file with OPEN_DELETE.
4603 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
4604 OPEN_DELETE is used.
4606 2005-02-09 Tom Tromey <tromey@redhat.com>
4608 * java/util/zip/InflaterInputStream.java (markSupported):
4610 (mark, reset): Likewise.
4612 2005-02-08 Tom Tromey <tromey@redhat.com>
4614 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
4615 name or port is missing.
4616 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
4617 AUTHORITY_PORT_GROUP): Updated.
4619 2005-02-08 Tom Tromey <tromey@redhat.com>
4621 * configure: Rebuilt.
4622 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
4625 2005-02-07 Tom Tromey <tromey@redhat.com>
4627 * java/lang/natRuntime.cc (insertSystemProperties): Set
4628 sun.boot.class.path earlier.
4630 2005-02-07 Tom Tromey <tromey@redhat.com>
4632 * defineclass.cc (handleClassBegin): Use
4633 _Jv_RegisterInitiatingLoader.
4634 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
4635 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
4636 class. Use _Jv_UnregisterInitiatingLoader.
4637 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
4640 2005-02-07 Mark Wielaard <mark@klomp.org>
4642 Reported by Timo Lindfors <timo.lindfors@iki.fi>
4643 java/util/regex/Matcher.java (lookingAt): Set position when match
4645 (matches): Implemented through lookingAt().
4647 2005-02-07 Mark Wielaard <mark@klomp.org>
4649 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
4650 * java/util/regex/Pattern.java (split(CharSequence,int)):
4651 Fix while empties > 0 loops.
4653 2005-02-07 Robert Schuster <thebohemian@gmx.net>
4655 * gnu/java/nio/charset/ISO_8859_1.java,
4656 gnu/java/nio/charset/US_ASCII.java,
4657 gnu/java/nio/charset/UTF_16.java,
4658 gnu/java/nio/charset/UTF_16_LE.java,
4659 gnu/java/nio/charset/UTF_16_BE.java,
4660 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
4661 and aliases according to
4662 "http://www.iana.org/assignments/character-sets",
4663 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
4664 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
4665 * gnu/java/nio/charset/Provider.java: Made charset lookup
4666 case-insensitive which fixes bug #11740.
4668 2005-02-07 Tom Tromey <tromey@redhat.com>
4671 * Makefile.in: Rebuilt.
4672 * Makefile.am (src.zip): New target.
4673 (install-src.zip): Likewise.
4674 (sourcesdir): New variable.
4676 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
4678 * javax/imageio/metadata/IIOMetadataNode.java:
4680 * javax/imageio/metadata/IIOAttr.java,
4681 javax/imageio/metadata/IIONamedNodeMap.java,
4682 javax/imageio/metadata/IIONodeList.java:
4685 2005-02-06 Graydon Hoare <graydon@redhat.com>
4687 * gnu/java/awt/ClasspathToolkit.java
4688 (registerImageIOSpis): New method.
4689 * javax/imageio/ImageIO.java
4690 (WriterFormatFilter.filter): Fix copy-and-paste typos.
4691 (WriterMIMETypeFilter.filter): Likewise.
4692 (ImageReaderIterator): Pass extension argument through to SPI.
4693 (getReadersByFilter): Likewise.
4694 (getWritersByFilter): Likewise.
4695 (getImageReadersByFormatName): Likewise.
4696 (getImageReadersByMIMEType): Likewise.
4697 (getImageReadersBySuffix): Likewise.
4698 (getImageWritersByFormatName): Likewise.
4699 (getImageWritersByMIMEType): Likewise.
4700 (getImageWritersBySuffix): Likewise.
4703 * javax/imageio/ImageReader.java
4704 (progressListeners): Initialize.
4705 (setInput): Implement.
4706 * javax/imageio/ImageWriter.java
4707 (progressListeners): Initialize.
4708 (warningListeners): Likewise.
4709 (warningLocales): Likewise.
4710 (setOutput): Test "isInstance" rather than class equality.
4711 * javax/imageio/spi/IIORegistry.java
4712 (static): Add reader and writer SPIs.
4713 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
4715 2004-02-06 Michael Koch <konqueror@gmx.de>
4717 * javax/imageio/metadata/IIOInvalidTreeException.java
4718 (IIOInvalidTreeException): Reformatted.
4719 * javax/imageio/spi/IIORegistry.java
4720 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
4721 * javax/imageio/stream/MemoryCacheImageInputStream.java:
4722 Reworked import statements.
4724 2004-02-06 Michael Koch <konqueror@gmx.de>
4726 * javax/imageio/stream/FileImageOutputStream.java:
4729 2004-02-06 Michael Koch <konqueror@gmx.de>
4731 * javax/imageio/stream/FileCacheImageInputStream.java,
4732 javax/imageio/stream/FileCacheImageOutputStream.java,
4733 javax/imageio/stream/FileImageInputStream.java,
4734 javax/imageio/stream/ImageInputStreamImpl.java,
4735 javax/imageio/stream/ImageOutputStreamImpl.java,
4736 javax/imageio/stream/MemoryCacheImageInputStream.java,
4737 javax/imageio/stream/MemoryCacheImageOutputStream.java:
4738 Added all missing methods in javax.imageio.stream.
4740 2005-02-02 David Daney <ddaney@avtrex.com>
4742 * java/net/InetAddress.java (InetAddress): Make a private copy of
4744 * java/net/Inet4Address.java (getAddress): Return a copy of the
4746 * java/net/Inet6Address.java (Inet6Address): Use private copy of
4748 (getAddress): Return a copy of the address.
4751 2005-02-02 Tom Tromey <tromey@redhat.com>
4753 * Makefile.in: Rebuilt.
4754 * Makefile.am (classes.stamp): New target, broken out from
4756 ($(all_java_class_files)): Depend on it.
4757 (libgcj-@gcc_version@.jar): Likewise.
4758 (all-recursive): Likewise.
4759 (CLEANFILES): Include classes.stamp.
4761 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
4763 * link.cc: Include <stdio.h>
4765 2005-02-02 Tom Tromey <tromey@redhat.com>
4768 * Makefile.in: Rebuilt.
4769 * Makefile.am (ordinary_java_source_files): Added new class.
4770 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
4771 Use system_instance, not instance.
4772 * gnu/gcj/runtime/SystemClassLoader.java: New file.
4773 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
4775 (system_instance): New field.
4776 (initialize): Initialize the system loader as well.
4777 (VMClassLoader): Default to LIB_CACHE.
4779 2005-02-02 Tom Tromey <tromey@redhat.com>
4781 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
4782 * prims.cc: Fixed comment.
4784 2005-02-01 Tom Tromey <tromey@redhat.com>
4786 * Makefile.in: Rebuilt.
4787 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
4788 (.java.class): Use BOOTCLASSPATH.
4790 2005-02-01 Tom Tromey <tromey@redhat.com>
4792 * external/w3c_dom/Makefile.am: New file.
4793 * external/w3c_dom/Makefile.in: New file.
4794 * external/sax/Makefile.am: New file.
4795 * external/sax/Makefile.in: New file.
4796 * external/Makefile.in: New file.
4797 * external/Makefile.am: New file.
4798 * external/README: New file from Classpath.
4799 * configure, aclocal.m4, Makefile.in: Rebuilt.
4800 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
4801 * Makefile.am (SUBDIRS): Added external.
4802 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
4803 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
4804 (BOOTCLASSPATH): New variable.
4805 (AM_GCJFLAGS): Use it.
4806 (gnu_xml_source_files): New variable.
4807 (libgcj_la_SOURCES): Use it.
4808 (libgcj_la_LDADD): Include new convenience libraries.
4809 (lib_org_ietf_jgss_la_SOURCES): Removed.
4810 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
4811 (lib_org_ietf_jgss_la_LIBADD): Likewise.
4812 (lib_org_w3c_dom_la_SOURCES): Removed.
4813 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
4814 (lib_org_w3c_dom_la_LIBADD): Likewise.
4815 (lib_org_xml_sax_la_SOURCES): Removed.
4816 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
4817 (lib_org_xml_sax_la_LIBADD): Likewise.
4818 (all_java_source_files): Updated.
4819 (property_files): Likewise.
4820 (libgcj-@gcc_version@.jar): Include classes from external/.
4821 (javax_source_files): Updated.
4822 (ordinary_java_source_files): Updated.
4823 * javax/xml/XMLConstants.java,
4824 javax/xml/datatype/DatatypeConfigurationException.java,
4825 javax/xml/datatype/DatatypeConstants.java,
4826 javax/xml/datatype/DatatypeFactory.java,
4827 javax/xml/datatype/Duration.java,
4828 javax/xml/datatype/XMLGregorianCalendar.java,
4829 javax/xml/datatype/package.html,
4830 javax/xml/namespace/NamespaceContext.java,
4831 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
4832 javax/xml/parsers/DocumentBuilder.java,
4833 javax/xml/parsers/DocumentBuilderFactory.java,
4834 javax/xml/parsers/FactoryConfigurationError.java,
4835 javax/xml/parsers/ParserConfigurationException.java,
4836 javax/xml/parsers/SAXParser.java,
4837 javax/xml/parsers/SAXParserFactory.java,
4838 javax/xml/parsers/package.html,
4839 javax/xml/transform/ErrorListener.java,
4840 javax/xml/transform/OutputKeys.java,
4841 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
4842 javax/xml/transform/SourceLocator.java,
4843 javax/xml/transform/Templates.java,
4844 javax/xml/transform/Transformer.java,
4845 javax/xml/transform/TransformerConfigurationException.java,
4846 javax/xml/transform/TransformerException.java,
4847 javax/xml/transform/TransformerFactory.java,
4848 javax/xml/transform/TransformerFactoryConfigurationError.java,
4849 javax/xml/transform/URIResolver.java,
4850 javax/xml/transform/package.html,
4851 javax/xml/transform/dom/DOMLocator.java,
4852 javax/xml/transform/dom/DOMResult.java,
4853 javax/xml/transform/dom/DOMSource.java,
4854 javax/xml/transform/dom/package.html,
4855 javax/xml/transform/sax/SAXResult.java,
4856 javax/xml/transform/sax/SAXSource.java,
4857 javax/xml/transform/sax/SAXTransformerFactory.java,
4858 javax/xml/transform/sax/TemplatesHandler.java,
4859 javax/xml/transform/sax/TransformerHandler.java,
4860 javax/xml/transform/sax/package.html,
4861 javax/xml/transform/stream/StreamResult.java,
4862 javax/xml/transform/stream/StreamSource.java,
4863 javax/xml/transform/stream/package.html,
4864 javax/xml/validation/Schema.java,
4865 javax/xml/validation/SchemaFactory.java,
4866 javax/xml/validation/TypeInfoProvider.java,
4867 javax/xml/validation/Validator.java,
4868 javax/xml/validation/ValidatorHandler.java,
4869 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
4870 javax/xml/xpath/XPathConstants.java,
4871 javax/xml/xpath/XPathException.java,
4872 javax/xml/xpath/XPathExpression.java,
4873 javax/xml/xpath/XPathExpressionException.java,
4874 javax/xml/xpath/XPathFactory.java,
4875 javax/xml/xpath/XPathFactoryConfigurationException.java,
4876 javax/xml/xpath/XPathFunction.java,
4877 javax/xml/xpath/XPathFunctionException.java,
4878 javax/xml/xpath/XPathFunctionResolver.java,
4879 javax/xml/xpath/XPathVariableResolver.java,
4880 javax/xml/xpath/package.html: New files, from GNU JAXP.
4881 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
4882 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
4883 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
4884 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
4885 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
4886 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
4887 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
4888 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
4889 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
4890 org/w3c/dom/ranges/DocumentRange.java,
4891 org/w3c/dom/ranges/Range.java,
4892 org/w3c/dom/ranges/RangeException.java,
4893 org/w3c/dom/traversal/DocumentTraversal.java,
4894 org/w3c/dom/traversal/NodeFilter.java,
4895 org/w3c/dom/traversal/NodeIterator.java,
4896 org/w3c/dom/traversal/TreeWalker.java,
4897 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
4898 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
4899 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
4900 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
4901 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
4902 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
4903 org/xml/sax/SAXNotRecognizedException.java,
4904 org/xml/sax/SAXNotSupportedException.java,
4905 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
4906 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
4907 org/xml/sax/ext/DeclHandler.java,
4908 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
4909 org/xml/sax/helpers/AttributeListImpl.java,
4910 org/xml/sax/helpers/AttributesImpl.java,
4911 org/xml/sax/helpers/DefaultHandler.java,
4912 org/xml/sax/helpers/LocatorImpl.java,
4913 org/xml/sax/helpers/NamespaceSupport.java,
4914 org/xml/sax/helpers/NewInstance.java,
4915 org/xml/sax/helpers/ParserAdapter.java,
4916 org/xml/sax/helpers/ParserFactory.java,
4917 org/xml/sax/helpers/XMLFilterImpl.java,
4918 org/xml/sax/helpers/XMLReaderAdapter.java,
4919 org/xml/sax/helpers/XMLReaderFactory.java,
4920 org/xml/sax/helpers/package.html: Moved to external/.
4921 * external/sax/README,
4922 external/sax/org/xml/sax/AttributeList.java,
4923 external/sax/org/xml/sax/Attributes.java,
4924 external/sax/org/xml/sax/ContentHandler.java,
4925 external/sax/org/xml/sax/DTDHandler.java,
4926 external/sax/org/xml/sax/DocumentHandler.java,
4927 external/sax/org/xml/sax/EntityResolver.java,
4928 external/sax/org/xml/sax/ErrorHandler.java,
4929 external/sax/org/xml/sax/HandlerBase.java,
4930 external/sax/org/xml/sax/InputSource.java,
4931 external/sax/org/xml/sax/Locator.java,
4932 external/sax/org/xml/sax/Parser.java,
4933 external/sax/org/xml/sax/SAXException.java,
4934 external/sax/org/xml/sax/SAXNotRecognizedException.java,
4935 external/sax/org/xml/sax/SAXNotSupportedException.java,
4936 external/sax/org/xml/sax/SAXParseException.java,
4937 external/sax/org/xml/sax/XMLFilter.java,
4938 external/sax/org/xml/sax/XMLReader.java,
4939 external/sax/org/xml/sax/package.html,
4940 external/sax/org/xml/sax/ext/Attributes2.java,
4941 external/sax/org/xml/sax/ext/Attributes2Impl.java,
4942 external/sax/org/xml/sax/ext/DeclHandler.java,
4943 external/sax/org/xml/sax/ext/DefaultHandler2.java,
4944 external/sax/org/xml/sax/ext/EntityResolver2.java,
4945 external/sax/org/xml/sax/ext/LexicalHandler.java,
4946 external/sax/org/xml/sax/ext/Locator2.java,
4947 external/sax/org/xml/sax/ext/Locator2Impl.java,
4948 external/sax/org/xml/sax/ext/package.html,
4949 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
4950 external/sax/org/xml/sax/helpers/AttributesImpl.java,
4951 external/sax/org/xml/sax/helpers/DefaultHandler.java,
4952 external/sax/org/xml/sax/helpers/LocatorImpl.java,
4953 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
4954 external/sax/org/xml/sax/helpers/NewInstance.java,
4955 external/sax/org/xml/sax/helpers/ParserAdapter.java,
4956 external/sax/org/xml/sax/helpers/ParserFactory.java,
4957 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
4958 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
4959 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
4960 external/sax/org/xml/sax/helpers/package.html,
4961 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
4962 external/w3c_dom/org/w3c/dom/Attr.java,
4963 external/w3c_dom/org/w3c/dom/CDATASection.java,
4964 external/w3c_dom/org/w3c/dom/CharacterData.java,
4965 external/w3c_dom/org/w3c/dom/Comment.java,
4966 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
4967 external/w3c_dom/org/w3c/dom/DOMError.java,
4968 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
4969 external/w3c_dom/org/w3c/dom/DOMException.java,
4970 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
4971 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
4972 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
4973 external/w3c_dom/org/w3c/dom/DOMLocator.java,
4974 external/w3c_dom/org/w3c/dom/DOMStringList.java,
4975 external/w3c_dom/org/w3c/dom/Document.java,
4976 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
4977 external/w3c_dom/org/w3c/dom/DocumentType.java,
4978 external/w3c_dom/org/w3c/dom/Element.java,
4979 external/w3c_dom/org/w3c/dom/Entity.java,
4980 external/w3c_dom/org/w3c/dom/EntityReference.java,
4981 external/w3c_dom/org/w3c/dom/NameList.java,
4982 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
4983 external/w3c_dom/org/w3c/dom/Node.java,
4984 external/w3c_dom/org/w3c/dom/NodeList.java,
4985 external/w3c_dom/org/w3c/dom/Notation.java,
4986 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
4987 external/w3c_dom/org/w3c/dom/Text.java,
4988 external/w3c_dom/org/w3c/dom/TypeInfo.java,
4989 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
4990 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
4991 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
4992 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
4993 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
4994 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
4995 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
4996 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
4997 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
4998 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
4999 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
5000 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
5001 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
5002 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
5003 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
5004 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
5005 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
5006 external/w3c_dom/org/w3c/dom/css/Counter.java,
5007 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
5008 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
5009 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
5010 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
5011 external/w3c_dom/org/w3c/dom/css/Rect.java,
5012 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
5013 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
5014 external/w3c_dom/org/w3c/dom/events/Event.java,
5015 external/w3c_dom/org/w3c/dom/events/EventException.java,
5016 external/w3c_dom/org/w3c/dom/events/EventListener.java,
5017 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
5018 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
5019 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
5020 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
5021 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
5022 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
5023 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
5024 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
5025 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
5026 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
5027 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
5028 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
5029 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
5030 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
5031 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
5032 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
5033 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
5034 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
5035 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
5036 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
5037 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
5038 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
5039 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
5040 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
5041 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
5042 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
5043 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
5044 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
5045 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
5046 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
5047 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
5048 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
5049 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
5050 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
5051 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
5052 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
5053 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
5054 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
5055 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
5056 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
5057 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
5058 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
5059 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
5060 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
5061 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
5062 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
5063 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
5064 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
5065 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
5066 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
5067 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
5068 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
5069 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
5070 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
5071 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
5072 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
5073 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
5074 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
5075 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
5076 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
5077 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
5078 external/w3c_dom/org/w3c/dom/ls/LSException.java,
5079 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
5080 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
5081 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
5082 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
5083 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
5084 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
5085 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
5086 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
5087 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
5088 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
5089 external/w3c_dom/org/w3c/dom/ranges/Range.java,
5090 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
5091 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
5092 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
5093 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
5094 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
5095 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
5096 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
5097 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
5098 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
5099 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
5100 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
5101 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
5102 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
5103 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
5104 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
5105 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
5106 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
5107 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
5110 2005-01-31 Anthony Green <green@redhat.com>
5112 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
5113 Support IP_MULTICAST_LOOP.
5114 (setOption): Support IP_MULTICAST_LOOP.
5116 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
5117 SO_REUSEADDR support.
5118 (getOption): Support SO_REUSEADDR.
5120 2004-01-28 Jeroen Frijters <jeroen@frijters.net>
5123 * java/util/Date.java
5124 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
5126 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
5128 (getTimezoneOffset): Inverted sign.
5130 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
5132 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
5133 remove other passing tests and add new XFAILs.
5135 2005-01-24 Tom Tromey <tromey@redhat.com>
5137 * java/lang/Class.h (next): Updated documentation. Renamed to
5139 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
5140 _Jv_CheckABIVersion.
5141 (_Jv_RegisterClasses_Counted): Likewise.
5142 (_Jv_RegisterClassHookDefault): Fix starting condition of
5143 duplicate-checking loop.
5144 * include/jvm.h (GCJ_VERSION): New define.
5145 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
5146 (_Jv_CheckABIVersion): New function.
5148 2005-01-24 Jakub Jelinek <jakub@redhat.com>
5150 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
5151 (libgij_la_LDFLAGS): Add.
5152 * Makefile.in: Rebuilt.
5154 2005-01-24 Roger Sayle <roger@eyesopen.com>
5157 * testsuite/libjava.compile/PR19295.java: New test case.
5159 2005-01-19 Tom Tromey <tromey@redhat.com>
5161 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
5162 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
5163 if 'handler' is valid.
5165 2005-01-17 Tom Tromey <tromey@redhat.com>
5167 * java/text/MessageFormat.java (scanString): Changed how quoting
5169 (scanFormatElement): Likewise.
5171 2004-12-07 Mark Wielaard <mark@klomp.org>
5173 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
5175 2005-01-15 Michael Koch <konqueror@gmx.de>
5179 (AUTHORITY_REGEXP): New regexp constant.
5180 (AUTHORITY_USERINFO_GROUP): New constant.
5181 (AUTHORITY_HOST_GROUP): Likewise.
5182 (AUTHORITY_PORT_GROUP): Likewise.
5183 (port): Changed default value to -1.
5184 (parseURI): Parse authority part and initialize host,
5187 2005-01-14 Robin Green <greenrd@greenrd.org>
5189 * java/io/File.java (toURI): Generate a URI which we understand.
5191 2005-01-13 Graydon Hoare <graydon@redhat.com>
5193 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5194 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5195 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5196 * jni.cc: Reuse bottom frame between calls, avoid clearing
5197 frame when no local references are made.
5199 2005-01-13 Michael Koch <konqueror@gmx.de>
5202 * java/lang/Thread.java
5203 (Thread): Call checkAccess().
5204 (stop): Fixed argument name to match javadoc.
5205 * java/lang/natThread.cc
5206 (interrupt): Call checkAccess().
5209 2005-01-11 Michael Koch <konqueror@gmx.de>
5212 * java/net/URL.java (URL): Handle specs like
5213 "/redir?http://domain2.com/index.html" which start with a slash.
5215 2005-01-11 Michael Koch <konqueror@gmx.de>
5217 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
5218 * gnu/java/net/BASE64.java,
5219 gnu/java/net/EmptyX509TrustManager.java,
5220 gnu/java/net/LineInputStream.java,
5221 gnu/java/net/protocol/http/Authenticator.java,
5222 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
5223 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
5224 gnu/java/net/protocol/http/ChunkedInputStream.java,
5225 gnu/java/net/protocol/http/Cookie.java,
5226 gnu/java/net/protocol/http/CookieManager.java,
5227 gnu/java/net/protocol/http/Credentials.java,
5228 gnu/java/net/protocol/http/HTTPConnection.java,
5229 gnu/java/net/protocol/http/HTTPDateFormat.java,
5230 gnu/java/net/protocol/http/HTTPURLConnection.java,
5231 gnu/java/net/protocol/http/Headers.java,
5232 gnu/java/net/protocol/http/Request.java,
5233 gnu/java/net/protocol/http/RequestBodyWriter.java,
5234 gnu/java/net/protocol/http/Response.java,
5235 gnu/java/net/protocol/http/ResponseBodyReader.java,
5236 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
5237 gnu/java/net/protocol/http/SimpleCookieManager.java,
5238 gnu/java/net/protocol/http/event/ConnectionEvent.java,
5239 gnu/java/net/protocol/http/event/ConnectionListener.java,
5240 gnu/java/net/protocol/http/event/RequestEvent.java,
5241 gnu/java/net/protocol/http/event/RequestListener.java: New files.
5242 * gnu/java/net/protocol/http/Connection.java: Removed.
5243 * gnu/java/net/protocol/http/Handler.java,
5244 javax/net/ssl/HttpsURLConnection.java: Updated.
5245 * Makefile.am: Added new files and remove old ones.
5246 * Makefile.in: Regenerated.
5248 2005-01-11 Tom Tromey <tromey@redhat.com>
5251 * java/io/BufferedInputStream.java (read): Repeatedly read to
5253 (refill): Change test to see if buffer must be grown.
5255 2005-01-10 Tom Tromey <tromey@redhat.com>
5257 * mauve-libgcj: Exclude some swing tests.
5259 2005-01-10 Tom Tromey <tromey@redhat.com>
5261 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
5262 * java/lang/Package.java (getPackages): Use VMClassLoader when
5264 (getPackage): Likewise.
5265 * prims.cc (_Jv_CreateJavaVM): Call
5266 _Jv_RegisterBootstrapPackages.
5267 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
5268 * java/lang/VMClassLoader.java (getPackage): Rewrote.
5269 (getPackages): Likewise.
5270 (definedPackages): New field.
5271 (definePackageForNative): New method.
5272 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
5273 * java/lang/natVMClassLoader.cc (loadClass): Updated.
5274 * defineclass.cc (handleClassBegin): Use
5275 ClassLoader.findLoadedClass.
5276 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
5278 (struct _Jv_LoaderInfo): Removed.
5279 (initiated_classes): Likewise.
5280 (_Jv_UnregisterClass): Don't use initiated_classes.
5281 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
5282 (_Jv_FindClass): Register classes found during boostrap.
5283 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
5284 (bootstrap_class_list): New global.
5285 (bootstrap_index): Likewise.
5286 (_Jv_RegisterBootstrapPackages): New function.
5287 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
5288 definePackageForNative.
5289 (findClass): Updated.
5290 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
5293 2005-01-10 Tom Tromey <tromey@redhat.com>
5296 * include/jvm.h (_Jv_Linker::find_field): Declare.
5297 (_Jv_Linker::find_field_helper): Likewise.
5298 * link.cc (find_field_helper): New method.
5299 (find_field): Likewise.
5300 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
5302 (link_symbol_table): Use find_field.
5304 2005-01-10 Michael Koch <konqueror@gmx.de>
5307 * java/util/Locale.java (Locale): Don't uppercase variant.
5308 (getISOCountries): Fixed typo in javadoc.
5310 2005-01-10 Michael Koch <konqueror@gmx.de>
5312 * java/util/SimpleTimeZone.java (checkRule):
5313 Throw IllegalArgumentException on invalid month values.
5314 * java/util/TimeZone.java (setID):
5315 Throw NullPointerException if needed.
5317 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
5319 * java/util/SimpleTimeZone.java (getOffset):
5320 offset end date with daylight savings
5322 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
5324 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
5325 * testsuite/libjava.compile/PR19277.xfail: Likewise.
5327 2005-01-09 Michael Koch <konqueror@gmx.de>
5330 * java/net/InetAddress.java (getLocalHost):
5331 Throw UnknownHostException if local hostname cannot be determined.
5333 2005-01-06 Tom Tromey <tromey@redhat.com>
5335 * java/lang/ClassLoader.java (findClass): Fixed documentation.
5337 2005-01-07 Michael Koch <konqueror@gmx.de>
5340 * java/nio/Buffer.java (address): New field.
5341 * java/nio/DirectByteBufferImpl.java (address): Removed.
5342 * java/nio/MappedByteBufferImpl.java (address): Likewise.
5343 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
5344 Explicitly initialize Buffer.address if needed.
5345 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
5346 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
5347 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
5348 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
5349 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
5350 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
5351 DirectByteBufferImpl object.
5352 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
5353 * testsuite/libjava.jni/directbuffer.c,
5354 testsuite/libjava.jni/directbuffer.java,
5355 testsuite/libjava.jni/directbuffer.out,
5356 testsuite/libjava.jni/bytebuffer.c,
5357 testsuite/libjava.jni/bytebuffer.java,
5358 testsuite/libjava.jni/bytebuffer.out: New files.
5360 2005-01-05 Tom Tromey <tromey@redhat.com>
5362 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
5364 (compressedSize): Now 'long'. Default to -1.
5365 (getCompressedSize): Rewrote.
5366 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
5367 deflate at all if we need input.
5369 2005-01-05 Tom Tromey <tromey@redhat.com>
5372 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
5375 2005-01-05 Tom Tromey <tromey@redhat.com>
5377 * java/lang/natRuntime.cc (insertSystemProperties): Set
5378 java.ext.dirs earlier.
5380 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
5382 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
5383 sync_info element of the object if needed.
5385 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
5387 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
5388 a non-zero exit status from 'false'.
5390 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
5392 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.
5394 2004-12-31 Andreas Jaeger <aj@suse.de>
5396 * testsuite/lib/libjava.exp (libjava_find_gij): Handle multilibs.
5398 2004-12-20 Tom Tromey <tromey@redhat.com>
5400 * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
5401 Re-enable duplicate class registration error.
5403 * testsuite/libjava.jar/jar.exp (gcj_jar_interpret): Updated.
5404 * testsuite/libjava.verify/verify.exp (gcj_verify_run): Updated.
5405 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Updated.
5406 * testsuite/lib/libjava.exp (libjava_find_spec): Don't use
5408 (libjava_find_gij): Likewise. Changed return result if gij not
5410 (test_libjava_from_javac): Updated.
5413 * testsuite/libjava.jni/iface.c: New file.
5414 * testsuite/libjava.jni/iface.out: New file.
5415 * testsuite/libjava.jni/iface.java: New file.
5417 2004-12-19 Kelley Cook <kcook@gcc.gnu.org>
5419 * include/config.h.in: Regenerate.
5421 2004-12-10 Andrew Haley <aph@redhat.com>
5424 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Look up
5425 abstract methods by name.
5427 2004-12-08 Ranjit Mathew <rmathew@hotmail.com>
5429 * java/util/IdentityHashMap.java (put): Replace mistaken use
5432 2004-12-06 Tom Tromey <tromey@redhat.com>
5435 * testsuite/libjava.compile/PR14853.java: New file.
5436 * testsuite/libjava.compile/PR14853.xfail: New file.
5438 2004-12-03 Richard Sandiford <rsandifo@redhat.com>
5441 * configure.ac: Use TL_AC_GXX_INCLUDE_DIR.
5442 * Makefile.am (install-data-local): Install headers into
5443 $(gxx_include_dir) rather than $(includedir).
5444 (AM_MAKEFLAGS): Pass down gxx_include_dir.
5445 * gcj/Makefile.am (gcjdir): Set to $(gxx_include_dir)/gcj.
5446 * include/Makefile.am (tool_include__HEADERS): Define this...
5447 (include_HEADERS): ...instead of this.
5448 * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
5449 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
5451 2004-12-02 Tom Tromey <tromey@redhat.com>
5454 * testsuite/libjava.compile/PR16675.java: New file.
5456 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
5458 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
5459 * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
5460 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
5462 2004-12-01 Tom Tromey <tromey@redhat.com>
5464 * include/no-threads.h (_Jv_ThreadDestroyData): Removed argument
5466 (_Jv_ThreadRegister): Likewise.
5467 (_Jv_MutexCheckMonitor): Likewise.
5469 * link.cc: Include limits.h.
5471 2004-12-01 Bryce McKinlay <mckinlay@redhat.com>
5474 * testsuite/libjava.lang/PR18699.java,
5475 testsuite/libjava.lang/PR18699.out: New test.
5477 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5479 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawImage variants):
5480 Update image observer.
5481 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
5482 Start image production.
5483 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Protect
5484 against negative menu bar widths.
5485 (setBounds): Likewise.
5486 (postConfigureEvent): Likewise.
5487 * gnu/java/awt/peer/gtk/GtkImage.java (imageComplete): Don't
5488 remove consumer unless only a single frame has completed.
5489 * gnu/java/awt/peer/gtk/GtkImagePainter.java (GtkImagePainter):
5490 Add observer parameter.
5491 (setPixels): Update image observer.
5492 (imageComplete): Likewise.
5493 * java/applet/Applet.java (width): New field.
5495 (setStub): Set size if width or height field has been set.
5496 (resize): If stub is null save width and height values.
5497 * java/awt/Component.java (reshape): Protect against null
5499 * java/awt/image/MemoryImageSource.java
5500 (MemoryImageSource(int,int,ColorModel,byte[],int,int)):
5502 (MemoryImageSource(int,int,ColorModel,int[],int,int)):
5504 (MemoryImageSource(int,int,ColorModel,byte[],int,int,Hashtable)):
5505 Reference pixel array directly, rather than creating a local
5507 (MemoryImageSource(int,int,ColorModel,int[],int,int,Hashtable)):
5509 (newPixels(int,int,int,int)): Fix for loop and array copy
5511 (newPixels(int,int,int,int,boolean)): Likewise.
5512 (startProduction): If animated call imageComplete with
5514 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Uncomment
5516 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
5517 (drawPixels): Return if g is null or g->drawable is not a gdk
5520 2004-11-30 Michael Koch <konqueror@gmx.de>
5522 * javax/swing/DefaultSingleSelectionModel.java,
5523 javax/swing/JPasswordField.java,
5524 javax/swing/tree/AbstractLayoutCache.java:
5525 Reformatted and javadocs cleaned up.
5527 2004-11-30 Michael Koch <konqueror@gmx.de>
5529 * java/awt/Component.java:
5530 Fixed argument names to match javadocs.
5531 (setFont): Rewritten set property first and then fire event.
5532 (setLocale): Likewise.
5533 * javax/swing/text/JTextComponent.java
5534 (setEditable): Likewise.
5536 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5538 * java/awt/Button.java
5539 (AccessibleAWTButton.getAccessibleActionDescription): Explain the
5542 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5544 * java/awt/Checkbox.java: Remove stub comments.
5546 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5548 * java/awt/Button.java
5549 (AccessibleAWTButton.getAccessibleActionDescription): Return
5552 2004-11-30 Michael Koch <konqueror@gmx.de>
5554 * java/awt/CardLayout.java:
5555 Made some constants static.
5556 (serialVersionUID): Made private.
5557 (addLayoutComponent): Simplified code.
5558 * java/awt/event/InputEvent.java
5559 (getModifiersEx): Added missing @param tag.
5560 * java/awt/image/RGBImageFilter.java
5561 (filterRGBPixels): Reformatted, removed wrong @param tag.
5563 2004-11-30 Michael Koch <konqueror@gmx.de>
5565 * javax/swing/text/FieldView.java,
5566 javax/swing/text/JTextComponent.java:
5569 2004-11-30 Michael Koch <konqueror@gmx.de>
5571 * javax/swing/BorderFactory.java
5572 (BorderFactory): Added private constructor.
5573 * javax/swing/SwingUtilities.java
5574 (SwingUtilities): Likewise.
5575 (computeStringWidth): New method.
5577 2004-11-30 Michael Koch <konqueror@gmx.de>
5579 * java/awt/color/ICC_Profile.java
5580 (icSigNamedColorTag): Removed.
5581 * java/awt/datatransfer/DataFlavor.java
5582 (isMimeTypeEqual): Made final.
5583 * java/awt/image/AffineTransformOp.java:
5585 (TYPE_BICUBIC): Added @since tag.
5587 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5589 * java/awt/Checkbox.java (AccessibleAWTCheckBox): Remove todo
5592 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5594 * java/awt/Checkbox.java (itemStateChanged): Implement function.
5595 (getAccessibleContext): Add AccessibleAWTCheckBox to item listeners.
5597 2004-11-30 Sven de Marothy <sven@physto.se>
5599 * java/awt/Polygon.java (contains): Reimplemented.
5601 2004-11-30 Michael Koch <konqueror@gmx.de>
5603 * java/awt/print/PrinterJob.java: Reformatted.
5605 2004-11-30 Michael Koch <konqueror@gmx.de>
5607 * java/awt/image/AffineTransformOp.java,
5608 java/awt/image/ColorConvertOp.java,
5609 java/awt/image/LookupOp.java,
5610 java/awt/image/RescaleOp.java:
5611 Added final keywords where they belong.
5613 2004-11-30 Michael Koch <konqueror@gmx.de>
5615 * java/awt/CardLayout.java,
5616 java/awt/Component.java,
5618 java/awt/image/SinglePixelPackedSampleModel.java:
5619 Fixed javadocs and argument names all over.
5621 2004-11-30 Michael Koch <konqueror@gmx.de>
5623 * java/awt/image/DataBufferShort.java: Fixed file header.
5624 * java/awt/image/DataBufferUShort.java: Likewise.
5625 (DataBufferUShort): Throw NullPointerException if dataArray is null.
5627 2004-11-30 Sven de Marothy <sven@physto.se>
5629 * java/awt/geom/Arc2D.java
5630 (setAngleStart): Corrected (wrong sign on atan2 y parameter).
5631 (setAngles): Likewise.
5632 (containsAngle): Return false on zero extent, don't include
5634 (contains): Treat OPEN-type arcs like CHORD ones, not as PIE
5637 2004-11-30 Sven de Marothy <sven@physto.se>
5639 * java/awt/geom/AffineTransform.java,
5640 (inverseTransform): Fixed bug and simplified code.
5641 (createTransformedShape): Return null on null parameter.
5643 2004-11-30 Michael Koch <konqueror@gmx.de>
5645 * java/awt/color/ICC_ColorSpace.java,
5646 java/awt/color/ICC_Profile.java,
5647 java/awt/color/ICC_ProfileGray.java,
5648 java/awt/color/ICC_ProfileRGB.java:
5649 Re-indent copyright header to be standardish.
5650 * java/awt/datatransfer/StringSelection.java:
5652 * java/awt/geom/Area.java
5653 (EPSILON): Made static.
5654 (RS_EPSILON): Likewise.
5655 (PE_EPSILON): Likewide.
5657 2004-11-30 Sven de Marothy <sven@physto.se>
5659 * javax/swing/SwingUtilities.java:
5660 (computeDifference): Implemented
5661 (computeIntersection): Likewise
5662 (computeUnion): Likewise
5663 (isRectangleContainingRectangle): Likewise
5665 2004-11-30 Michael Koch <konqueror@gmx.de>
5667 * java/awt/BasicStroke.java,
5668 java/awt/Button.java,
5669 java/awt/Canvas.java,
5670 java/awt/CheckboxMenuItem.java,
5671 java/awt/Container.java,
5672 java/awt/EventQueue.java,
5673 java/awt/FileDialog.java,
5674 java/awt/FlowLayout.java,
5675 java/awt/FontMetrics.java,
5676 java/awt/Graphics.java,
5677 java/awt/GridLayout.java,
5678 java/awt/KeyboardFocusManager.java,
5679 java/awt/Label.java,
5680 java/awt/LayoutManager2.java,
5682 java/awt/MenuBar.java,
5683 java/awt/Scrollbar.java,
5684 java/awt/Toolkit.java,
5685 java/awt/Window.java,
5686 java/awt/datatransfer/DataFlavor.java,
5687 java/awt/datatransfer/FlavorTable.java,
5688 java/awt/event/ActionListener.java,
5689 java/awt/event/HierarchyBoundsAdapter.java,
5690 java/awt/geom/Arc2D.java,
5691 java/awt/geom/Rectangle2D.java,
5692 java/awt/geom/RectangularShape.java,
5693 java/awt/im/spi/InputMethod.java,
5694 java/awt/image/ByteLookupTable.java,
5695 java/awt/image/ColorModel.java,
5696 java/awt/image/DirectColorModel.java,
5697 java/awt/image/ShortLookupTable.java,
5698 java/awt/print/Book.java:
5699 Fixed javadocs and method argument names all over.
5701 2004-11-30 Michael Koch <konqueror@gmx.de>
5703 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5704 (buildString): Optimise String building.
5706 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5708 * java/awt/TextArea.java (AccessibleAWTTextArea,
5709 getAccessibleContext): Implement.
5710 * java/awt/TextField.java (AccessibleAWTTextField,
5711 getAccessibleContext): Implement.
5713 2004-11-30 Tom Tromey <tromey@redhat.com>
5715 * Makefile.in: Rebuilt.
5716 * Makefile.am (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.lo):
5719 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5721 * java/awt/Menu.java (AccessibleAWTMenu, getAccessibleContext):
5723 * java/awt/PopupMenu.java (AccessibleAWTMenu, getAccessibleContext):
5726 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5728 * java/awt/print/PrinterJob.java (lookupPrintServices,
5729 getPrintService, setPrintService): Implement.
5730 (lookupStreamPrintServices): Add commented out implementation.
5731 (printer): New field.
5733 2004-11-30 Mark Wielaard <mark@klomp.org>
5735 * javax/swing/ToolTipManager.java (mouseMoved): Set currentComponent
5738 2004-11-30 Sven de Marothy <sven@physto.se>
5740 * java/awt/geom/GeneralPath.java (evaluateCrossings):
5741 Fixed epsilon value, should always be nonzero.
5743 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
5745 * java/awt/image/Raster.java
5746 (createPackedRaster): Implemented.
5748 2004-11-30 Graydon Hoare <graydon@redhat.com>
5750 * javax/swing/plaf/basic/BasicTextUI.java:
5751 Listen to focus events, indicate focus via caret.
5752 * javax/swing/text/GapContent.java (getString): Return substring.
5753 * javax/swing/text/PlainDocument.java (reindex): New method.
5754 (createDefaultRoot): Call it.
5755 (insertUpdate): Likewise.
5756 (removeUpdate): Likewise.
5757 * javax/swing/text/Utilities.java (drawTabbedText): Always advance
5758 on tab and newline, even if no painting happens.
5760 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5762 * Makefile.am: List peer JNI header: Java source file
5763 dependencies explicitly. Likewise for JNI .lo: JNI header
5765 * Makefile.in: Regenerate.
5767 2004-11-30 Graydon Hoare <graydon@redhat.com>
5769 * Makefile.am: Add entry for BasicTextPaneUI.java
5770 * Makefile.in: Regenerate.
5771 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5772 (GdkGraphics2D): Set clip after transform.
5773 (drawImage): Protect against null image.
5774 * gnu/java/awt/peer/gtk/GtkFramePeer.java
5775 (setIconImage): Protect against non-GtkImage args.
5776 * gnu/java/awt/peer/gtk/GtkToolkit.java
5777 (checkImage): Protect against non-GtkImage args.
5778 * java/awt/print/PrinterJob.java:
5779 (print): Add variant taking PrintRequestAttributeSet.
5780 (printDialog): Likewise.
5781 * javax/swing/JComponent.java:
5782 (transferHandler): New field.
5783 (getComponentGraphics): Build new Graphics for each sub-paint.
5784 (getTransferHandler): New method.
5785 (setTransferHandler): New method.
5786 * javax/swing/JDesktopPane.java
5787 (setDragMode): Force LIVE_DRAG_MODE.
5788 * javax/swing/JMenuItem.java
5789 (menuSelectionChanged): Protect against null parent.
5790 * javax/swing/JTable.java (setDefaultRenderer): New method.
5791 * javax/swing/JTree.java: Get basic ctors and UI working.
5792 * javax/swing/JViewport.java (JViewport): Set scroll mode.
5793 * javax/swing/RepaintManager.java
5794 (addDirtyRegion): Skip empty regions.
5795 * javax/swing/ScrollPaneLayout.java (minimumLayoutSize): Do not
5796 bound scrollpane minimum by central view minimum.
5797 * javax/swing/ToolTipManager.java
5798 (showTip): Guard against null component.
5799 * javax/swing/TransferHandler.java: Stub out.
5800 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5801 Add entry for TextPaneUI, change Tree icons to pngs.
5802 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5803 (installDefaults): Set text position and alignment.
5804 (paintMenuItem): Layout icon with normal compound function.
5805 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
5806 (getMaximumSize): Delete.
5807 (getMinimumSize): Delete.
5808 (getPreferredSize): Use column model's total width.
5809 * javax/swing/plaf/basic/BasicTextPaneUI.java: New file.
5810 * javax/swing/plaf/basic/BasicTextUI.java
5811 (modelChanged): Make resilient against nulls.
5812 * javax/swing/plaf/basic/BasicTreeUI.java:
5813 Add some simplistic config / painting functions.
5814 * javax/swing/plaf/basic/BasicViewportUI.java
5815 (paintSimple): Add new non-backingstore paint mode.
5816 (paintBackingStore): Split out backing store code.
5817 (paint): Switch on painting mode.
5818 * javax/swing/text/SimpleAttributeSet.java
5819 (SimpleAttributeSet): Resist nulls.
5820 * javax/swing/tree/DefaultTreeCellRenderer.java: Implement.
5821 * javax/swing/tree/DefaultTreeModel.java: Partially implement.
5823 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5825 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (setFont):
5826 Set pango context's description and language.
5828 2004-11-30 Mark Wielaard <mark@klomp.org>
5830 * java/awt/image/LookupOp.java: Comments and indentation fixes.
5832 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5834 * java/awt/Checkbox.java (AccessibleAWTCheckBox): Implement.
5835 (getAccessibleContext): Implement.
5837 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5839 * java/awt/TextComponent.java (AccessibleAWTTextComponent):
5841 (getIndexAtPoint, getCharacterBounds): New methods.
5843 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5845 * java/awt/Button.java (AccessibleAWTButton): Implement.
5847 2004-11-30 Mark Wielaard <mark@klomp.org>
5849 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5850 (filenameFilterCallback): Made static.
5852 2004-11-30 Michael Koch <konqueror@gmx.de>
5854 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5855 (cairoShowGlyphs) Removed.
5857 2004-11-30 Sven de Marothy <sven@physto.se>
5859 * gnu/java/awt/color/RgbProfileConverter.java (RgbProfileConverter):
5860 Don't invert matrix when reverse CLUT is available.
5861 * gnu/java/awt/color/LinearRGBConverter.java: Documentation update.
5862 * java/awt/color/ICC_ColorSpace.java: Likewise.
5863 * java/awt/color/ICC_Profile.java: Likewise.
5864 * java/awt/color/ICC_ProfileGray.java: Likewise.
5865 * java/awt/color/ICC_ProfileRGB.java: Likewise.
5867 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5869 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Implement.
5871 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5873 * java/awt/Choice.java (AccessibleAWTChoice): Implement.
5875 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5877 * java/awt/image/BandedSampleModel.java (scanlineStride): Remove
5878 field hiding ComponentSampleModel.scanlineStride.
5880 2004-11-30 Noa Resare <noa@resare.com>
5882 * java/awt/geom/GeneralPath.java (currentSegment):
5883 Fix typo in transform.transform() invocation.
5885 2004-11-30 Sven de Marothy <sven@physto.se>
5887 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5888 (createImage): Created bitmap should be filled with bg color
5890 2004-11-30 Noa Resare <noa@resare.com>
5892 * java/awt/Choice.java (add):
5893 Implement correct selection behavior when peer == null.
5897 2004-11-30 Mark Wielaard <mark@klomp.org>
5899 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (GtkChoicePeer):
5900 Call select() when Choice has a selected item.
5902 2004-11-30 Michael Koch <address@bogus.example.com>
5904 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
5905 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5906 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
5907 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c,
5908 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5909 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
5910 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
5911 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
5912 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
5913 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5914 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
5915 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5916 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
5917 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5918 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5919 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5920 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5921 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
5922 Fixed method names to start at begin of line. This is desired by GNU
5925 2004-11-30 Michael Koch <konqueror@gmx.de>
5927 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5928 (gtkWidgetSetVisible): Unused. Removed.
5929 (connectJObject): Likewise.
5930 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
5931 (gtkScrolledWindowSetScrollPosition): Commented out.
5933 2004-11-30 Mark Wielaard <mark@klomp.org>
5935 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
5936 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_setText): Installed and
5937 renamed from Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText.
5939 2004-11-30 Mark Wielaard <mark@klomp.org>
5941 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
5942 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText): Removed.
5943 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5944 (init_dpi_conversion_factor): Correct prototype.
5946 2004-11-30 Sven de Marothy <sven@physto.se>
5948 * java/awt/image/ConvolveOp.java: Added missing
5951 2004-11-30 Robert Schuster <theBohemian@gmx.net>
5954 * gnu/java/beans/IntrospectionIncubator.java:
5955 (addMethod): static methods are discarded now, too.
5957 2004-11-30 Mark Wielaard <mark@klomp.org>
5959 * Makefile.am (awt_java_source_files): Add new gnu/java/awt/color
5961 * Makefile.in: Regenerated.
5963 2004-11-30 Sven de Marothy <sven@physto.se>
5965 * gnu/java/awt/color/CieXyzConverter.java,
5966 gnu/java/awt/color/GrayScaleConverter.java,
5967 gnu/java/awt/color/SrgbConverter.java,
5968 gnu/java/awt/color/ClutProfileConverter.java,
5969 gnu/java/awt/color/LinearRGBConverter.java,
5970 gnu/java/awt/color/TagEntry.java,
5971 gnu/java/awt/color/ColorLookUpTable.java,
5972 gnu/java/awt/color/ProfileHeader.java,
5973 gnu/java/awt/color/ToneReproductionCurve.java,
5974 gnu/java/awt/color/ColorSpaceConverter.java,
5975 gnu/java/awt/color/PyccConverter.java,
5976 gnu/java/awt/color/GrayProfileConverter.java,
5977 gnu/java/awt/color/RgbProfileConverter.java:
5979 * java/awt/color/ICC_ColorSpace.java,
5980 java/awt/color/ICC_Profile.java,
5981 java/awt/color/ICC_ProfileGray.java,
5982 java/awt/color/ICC_ProfileRGB.java:
5983 Implemented (sans PhotoYCC color space).
5985 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5987 * java/awt/image/AffineTransformOp.java (filter): Implement
5988 bilinear interpolation for Rasters.
5990 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5992 * java/awt/image/IndexColorModel.java (IndexColorModel): Actually
5993 use the provided colormap. Throw documented exceptions. Document
5996 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
5998 * java/awt/image/IndexColorModel.java (IndexColorModel): Fix
6001 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6003 * java/awt/image/AffineTransformOp.java: Add TYPE_BICUBIC.
6005 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6007 * java/awt/image/AffineTransformOp.java (filter): Implement Raster
6010 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6012 * java/awt/image/ComponentSampleModel.java (getDataElements,
6013 setDataElements): Implement SHORT, FLOAT, and INT transfer types.
6015 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6017 * java/awt/Font.java (name): New field.
6021 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6023 * java/awt/image/Raster.java (createBandedRaster): Implement.
6025 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6027 * java/awt/image/ConvolveOp.java: New class.
6028 * Makefile.am: Add ConvolveOp.
6029 * Makefile.in: Regenerate.
6031 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6033 * java/awt/image/RescaleOp.java (BandCombineOp, ColorConvertOp,
6034 LookupOp, RescaleOp): Fix loop bounds.
6036 2004-11-30 jlquinn <jlquinn@optonline.net>
6038 * Makefile.am: Fix typo in BandCombineOp.
6039 * Makefile.in: Regenerate.
6041 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6043 * java/awt/image/BandCombineOp.java: New class.
6044 * Makefile.am: Add BandCombineOp.
6045 * Makefile.in: Regenerate.
6047 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6049 * java/awt/image/LookupOp.java: New class.
6050 * Makefile.am: Add LookupOp.
6051 * Makefile.in: Regenerate.
6053 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6055 * java/awt/image/SampleModel.java (createSubsetSampleModel): Add
6058 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6060 * java/awt/image/ColorModel.java (cloneColorModel): Fix line
6061 wrap. Use Boolean.valueOf.
6063 2004-11-30 Michael Koch <konqueror@gmx.de>
6065 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6066 (releasePeerGraphicsResource): Fixed typo in method name.
6067 * gnu/java/awt/peer/gtk/GdkFontPeer.java
6068 (finalize): Fixed typo in releasePeerGraphicsResource.
6070 2004-11-30 Michael Koch <konqueror@gmx.de>
6072 * java/awt/font/TextAttribute.java
6073 (RUN_DIRECTION_LTR): Initialie with static value instead of
6075 (RUN_DIRECTION_RTL): Likewise.
6076 (STRIKETHROUGH_ON): Likewise.
6077 (SWAP_COLORS_ON): Likewise.
6079 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6081 * java/awt/image/ColorConvertOp.java: New class.
6082 * java/awt/image/ColorModel.java (cloneColorModel): New method.
6083 * Makefile.am: Add ColorConvertOp.
6084 * Makefile.in: Regenerate.
6086 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6088 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6089 Track Window focus owner on FOCUS_GAINED events.
6091 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6093 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
6094 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
6096 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
6098 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
6099 (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
6100 Fix pointer warning.
6102 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
6104 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6105 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
6106 Fix pointer warning.
6108 * jni/gtk-peer/gtkpeer.h: Introduce widget_union to fix type punned
6110 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6111 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Use widget_union
6112 to fix type punned pointer warning.
6113 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
6116 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6117 (window_get_new_state): Introduce unions to fix warnings as above.
6118 (window_property_changed_cb): Likewise.
6119 (window_active_state_change_cb): Mark unused variables unused.
6120 (window_focus_state_change_cb): Likewise.
6121 (window_focus_in_cb): Likewise.
6122 (window_focus_out_cb): Likewise.
6124 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
6125 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Convert
6126 PangoFontMap correctly with PANGO_FT2FONT_MAP macro.
6128 2004-11-30 Michael Koch <konqueror@gmx.de>
6130 * javax/swing/JMenuBar.java
6131 (updateUI): Simplified.
6132 * javax/swing/tree/DefaultTreeSelectionModel.java:
6133 Reorganized import statements.
6135 2004-11-30 Michael Koch <konqueror@gmx.de>
6137 * java/awt/font/TextAttribute.java,
6138 javax/swing/JComponent.java,
6139 javax/swing/JInternalFrame.java,
6140 javax/swing/table/TableColumn.java,
6141 javax/swing/text/StyleConstants.java:
6142 Replaced "new Boolean(boolean)" with "Boolean.valueOf(boolean)".
6144 2004-11-30 Michael Koch <konqueror@gmx.de>
6146 * javax/swing/tree/DefaultTreeCellEditor.java,
6147 javax/swing/tree/DefaultTreeModel.java,
6148 javax/swing/tree/DefaultTreeSelectionModel.java:
6151 2004-11-30 Michael Koch <konqueror@gmx.de>
6153 * javax/swing/tree/DefaultTreeCellEditor.java
6154 (EditorContainer.EditorContainer): Fixed arguments.
6155 (EditorContainer.EditorContainer): New method.
6156 (DefaultTextField.DefaultTextField): Fixed arguments, implemented.
6157 (DefaultTextField.getBorder): Implemented.
6158 (listenerList): New field.
6159 (addCellEditorListener): Implemented.
6160 (removeCellEditorListener): Implemented.
6161 (getCellEditorListeners): New method.
6162 * javax/swing/tree/DefaultTreeModel.java
6163 (addTreeModelListener): Fixed javadoc.
6164 (removeTreeModelListener): Likewise.
6165 (getTreeModelListeners): New method.
6166 (fireTreeNodesChanged): Implemented.
6167 (fireTreeNodesInserted): Likewise.
6168 (fireTreeNodesRemoved): Likewise.
6169 (fireTreeStructureChanged): Likewise.
6170 (getListeners): Fixed javadoc.
6171 * javax/swing/tree/DefaultTreeSelectionModel.java
6172 (addTreeSelectionListener): Implemented.
6173 (removeTreeSelectionListener): Likewise.
6174 (fireValueChanged): Likewise.
6175 (getListeners): Likewise.
6176 (addPropertyChangeListener): Likewise.
6177 (removePropertyChangeListener): Likewise.
6178 (getTreeSelectionListeners): New method.
6179 (getPropertyChangeListeners): Likewise.
6181 2004-11-30 Michael Koch <konqueror@gmx.de>
6183 * javax/swing/plaf/basic/BasicScrollBarUI.java
6184 (maximumThumbSize): Removed static keyword.
6185 (minimumThumbSize): Likewise.
6186 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6187 (CloseAction): Made public.
6188 (IconifyAction): Likewise.
6189 (MaximizeAction): Likewise.
6190 (MoveAction): Likewise.
6191 (RestoreAction): Likewise.
6192 (SizeAction): Likewise.
6193 (SystemMenuBar): Likewise.
6194 * javax/swing/plaf/basic/BasicSliderUI.java
6195 (TrackListener): Likewise.
6196 * javax/swing/plaf/basic/BasicSplitPaneUI.java
6197 (KeyboardDownRightHandler): Likewise.
6198 (KeyboardEndHandler): Likewise.
6199 (KeyboardHomeHandler): Likewise.
6200 (KeyboardResizeToggleHandler): Likewise.
6201 (KeyboardUpLeftHandler): Likewise.
6202 (PropertyHandler): Likewise.
6203 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6204 (PropertyChangeHandler): Likewise.
6205 (TabSelectionHandler): Likewise.
6207 2004-11-30 Michael Koch <konqueror@gmx.de>
6209 * javax/swing/text/JTextComponent.java
6210 (getKeymap): Made public.
6212 2004-11-30 Michael Koch <konqueror@gmx.de>
6214 * javax/swing/JEditorPane.java
6215 (getStream): Throws IOException.
6217 * javax/swing/JRootPane.java
6218 (createContentPane): Fixed return type.
6219 * javax/swing/JSpinner.java
6220 (commitEdit): Throws ParseException.
6221 * javax/swing/plaf/metal/MetalLookAndFeel.java
6222 (serialVersionUID): New field.
6223 * javax/swing/table/TableColumn.java
6224 (resizedPostingDisableCount): Added @deprecated tag.
6225 (disableResizedPosting): Likewise.
6226 (enableResizedPosting): Likewise.
6227 * javax/swing/text/Document.java
6228 (TitleProperty): Fixed value.
6229 * javax/swing/tree/TreeCellEditor.java
6230 (TreeCellEditor): Extends CellEditor.
6232 2004-11-30 Michael Koch <konqueror@gmx.de>
6234 * javax/swing/JWindow.java
6235 javax/swing/SpinnerModel.java
6236 javax/swing/Timer.java
6237 javax/swing/event/MenuKeyEvent.java
6238 javax/swing/plaf/basic/BasicButtonUI.java
6239 javax/swing/plaf/basic/BasicIconFactory.java
6240 javax/swing/plaf/basic/BasicTabbedPaneUI.java
6241 javax/swing/text/AttributeSet.java
6242 javax/swing/text/Highlighter.java
6243 javax/swing/text/StyleConstants.java
6244 javax/swing/tree/TreeCellEditor.java:
6245 Removed redundant and reordered modifiers.
6247 2004-11-30 Michael Koch <konqueror@gmx.de>
6249 * javax/swing/plaf/basic/BasicToolTipUI.java:
6250 Reformatted copyright header.
6252 2004-11-30 Michael Koch <konqueror@gmx.de>
6254 * javax/swing/AbstractAction.java,
6255 javax/swing/AbstractButton.java,
6256 javax/swing/AbstractCellEditor.java,
6257 javax/swing/AbstractListModel.java,
6258 javax/swing/AbstractSpinnerModel.java,
6259 javax/swing/ActionMap.java,
6260 javax/swing/BorderFactory.java,
6261 javax/swing/Box.java,
6262 javax/swing/ButtonModel.java,
6263 javax/swing/CellEditor.java,
6264 javax/swing/CellRendererPane.java,
6265 javax/swing/DefaultBoundedRangeModel.java,
6266 javax/swing/DefaultButtonModel.java,
6267 javax/swing/DefaultCellEditor.java,
6268 javax/swing/DefaultDesktopManager.java,
6269 javax/swing/DefaultListCellRenderer.java,
6270 javax/swing/DefaultListSelectionModel.java,
6271 javax/swing/DefaultSingleSelectionModel.java,
6272 javax/swing/GrayFilter.java,
6273 javax/swing/InputMap.java,
6274 javax/swing/JApplet.java,
6275 javax/swing/JCheckBoxMenuItem.java,
6276 javax/swing/JColorChooser.java,
6277 javax/swing/JComboBox.java,
6278 javax/swing/JComponent.java,
6279 javax/swing/JDesktopPane.java,
6280 javax/swing/JDialog.java,
6281 javax/swing/JEditorPane.java,
6282 javax/swing/JFileChooser.java,
6283 javax/swing/JFormattedTextField.java,
6284 javax/swing/JFrame.java,
6285 javax/swing/JInternalFrame.java,
6286 javax/swing/JLabel.java,
6287 javax/swing/JLayeredPane.java,
6288 javax/swing/JList.java,
6289 javax/swing/JMenu.java,
6290 javax/swing/JMenuBar.java,
6291 javax/swing/JMenuItem.java,
6292 javax/swing/JOptionPane.java,
6293 javax/swing/JPanel.java,
6294 javax/swing/JPasswordField.java,
6295 javax/swing/JPopupMenu.java,
6296 javax/swing/JRadioButtonMenuItem.java,
6297 javax/swing/JRootPane.java,
6298 javax/swing/JSpinner.java,
6299 javax/swing/JSplitPane.java,
6300 javax/swing/JTabbedPane.java,
6301 javax/swing/JTable.java,
6302 javax/swing/JTextArea.java,
6303 javax/swing/JTextPane.java,
6304 javax/swing/JToggleButton.java,
6305 javax/swing/JToolBar.java,
6306 javax/swing/JToolTip.java,
6307 javax/swing/JTree.java,
6308 javax/swing/JViewport.java,
6309 javax/swing/ListModel.java,
6310 javax/swing/LookAndFeel.java,
6311 javax/swing/MenuSelectionManager.java,
6312 javax/swing/ProgressMonitorInputStream.java,
6313 javax/swing/RepaintManager.java,
6314 javax/swing/RootPaneContainer.java,
6315 javax/swing/ScrollPaneLayout.java,
6316 javax/swing/SpringLayout.java,
6317 javax/swing/SwingUtilities.java,
6318 javax/swing/Timer.java,
6319 javax/swing/ToolTipManager.java,
6320 javax/swing/UIDefaults.java,
6321 javax/swing/UIManager.java,
6322 javax/swing/border/MatteBorder.java,
6323 javax/swing/colorchooser/AbstractColorChooserPanel.java,
6324 javax/swing/colorchooser/ColorSelectionModel.java,
6325 javax/swing/colorchooser/DefaultColorSelectionModel.java,
6326 javax/swing/colorchooser/DefaultHSBChooserPanel.java,
6327 javax/swing/colorchooser/DefaultPreviewPanel.java,
6328 javax/swing/colorchooser/DefaultRGBChooserPanel.java,
6329 javax/swing/colorchooser/DefaultSwatchChooserPanel.java,
6330 javax/swing/event/AncestorEvent.java,
6331 javax/swing/event/HyperlinkEvent.java,
6332 javax/swing/event/InternalFrameEvent.java,
6333 javax/swing/event/MenuDragMouseEvent.java,
6334 javax/swing/event/TableColumnModelEvent.java,
6335 javax/swing/event/TableModelEvent.java,
6336 javax/swing/event/TreeExpansionEvent.java,
6337 javax/swing/event/TreeModelEvent.java,
6338 javax/swing/event/TreeSelectionEvent.java,
6339 javax/swing/event/TreeWillExpandListener.java,
6340 javax/swing/event/UndoableEditEvent.java,
6341 javax/swing/filechooser/FileView.java,
6342 javax/swing/plaf/BorderUIResource.java,
6343 javax/swing/plaf/ComponentUI.java,
6344 javax/swing/plaf/FileChooserUI.java,
6345 javax/swing/plaf/IconUIResource.java,
6346 javax/swing/plaf/ListUI.java,
6347 javax/swing/plaf/PopupMenuUI.java,
6348 javax/swing/plaf/SplitPaneUI.java,
6349 javax/swing/plaf/TabbedPaneUI.java,
6350 javax/swing/plaf/TextUI.java,
6351 javax/swing/plaf/TreeUI.java,
6352 javax/swing/plaf/basic/BasicArrowButton.java,
6353 javax/swing/plaf/basic/BasicBorders.java,
6354 javax/swing/plaf/basic/BasicButtonUI.java,
6355 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
6356 javax/swing/plaf/basic/BasicColorChooserUI.java,
6357 javax/swing/plaf/basic/BasicComboBoxEditor.java,
6358 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
6359 javax/swing/plaf/basic/BasicComboBoxUI.java,
6360 javax/swing/plaf/basic/BasicComboPopup.java,
6361 javax/swing/plaf/basic/BasicDesktopIconUI.java,
6362 javax/swing/plaf/basic/BasicDesktopPaneUI.java,
6363 javax/swing/plaf/basic/BasicIconFactory.java,
6364 javax/swing/plaf/basic/BasicInternalFrameTitlePane.java,
6365 javax/swing/plaf/basic/BasicInternalFrameUI.java,
6366 javax/swing/plaf/basic/BasicListUI.java,
6367 javax/swing/plaf/basic/BasicLookAndFeel.java,
6368 javax/swing/plaf/basic/BasicMenuBarUI.java,
6369 javax/swing/plaf/basic/BasicMenuItemUI.java,
6370 javax/swing/plaf/basic/BasicMenuUI.java,
6371 javax/swing/plaf/basic/BasicOptionPaneUI.java,
6372 javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java,
6373 javax/swing/plaf/basic/BasicPopupMenuUI.java,
6374 javax/swing/plaf/basic/BasicProgressBarUI.java,
6375 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6376 javax/swing/plaf/basic/BasicRootPaneUI.java,
6377 javax/swing/plaf/basic/BasicScrollBarUI.java,
6378 javax/swing/plaf/basic/BasicSeparatorUI.java,
6379 javax/swing/plaf/basic/BasicSliderUI.java,
6380 javax/swing/plaf/basic/BasicSpinnerUI.java,
6381 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
6382 javax/swing/plaf/basic/BasicSplitPaneUI.java,
6383 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6384 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6385 javax/swing/plaf/basic/BasicTableUI.java,
6386 javax/swing/plaf/basic/BasicTextAreaUI.java,
6387 javax/swing/plaf/basic/BasicTextFieldUI.java,
6388 javax/swing/plaf/basic/BasicTextUI.java,
6389 javax/swing/plaf/basic/BasicToolBarSeparatorUI.java,
6390 javax/swing/plaf/basic/BasicToolBarUI.java,
6391 javax/swing/plaf/basic/BasicToolTipUI.java,
6392 javax/swing/plaf/basic/BasicTreeUI.java,
6393 javax/swing/plaf/basic/BasicViewportUI.java,
6394 javax/swing/plaf/basic/ComboPopup.java,
6395 javax/swing/table/AbstractTableModel.java,
6396 javax/swing/table/DefaultTableCellRenderer.java,
6397 javax/swing/table/DefaultTableColumnModel.java,
6398 javax/swing/table/DefaultTableModel.java,
6399 javax/swing/table/JTableHeader.java,
6400 javax/swing/table/TableCellEditor.java,
6401 javax/swing/table/TableCellRenderer.java,
6402 javax/swing/table/TableColumn.java,
6403 javax/swing/table/TableColumnModel.java,
6404 javax/swing/text/AbstractDocument.java,
6405 javax/swing/text/Caret.java,
6406 javax/swing/text/DefaultCaret.java,
6407 javax/swing/text/DefaultEditorKit.java,
6408 javax/swing/text/DefaultHighlighter.java,
6409 javax/swing/text/EditorKit.java,
6410 javax/swing/text/JTextComponent.java,
6411 javax/swing/text/LayeredHighlighter.java,
6412 javax/swing/text/PasswordView.java,
6413 javax/swing/text/SimpleAttributeSet.java,
6414 javax/swing/text/StyleConstants.java,
6415 javax/swing/text/StyleContext.java,
6416 javax/swing/text/StyledEditorKit.java,
6417 javax/swing/text/TextAction.java,
6418 javax/swing/text/View.java,
6419 javax/swing/tree/AbstractLayoutCache.java,
6420 javax/swing/tree/DefaultTreeCellRenderer.java,
6421 javax/swing/tree/DefaultTreeModel.java,
6422 javax/swing/tree/DefaultTreeSelectionModel.java,
6423 javax/swing/tree/FixedHeightLayoutCache.java,
6424 javax/swing/tree/TreeCellRenderer.java,
6425 javax/swing/tree/TreeSelectionModel.java,
6426 javax/swing/tree/VariableHeightLayoutCache.java,
6427 javax/swing/undo/AbstractUndoableEdit.java,
6428 javax/swing/undo/UndoableEditSupport.java:
6431 2004-11-30 Michael Koch <konqueror@gmx.de>
6433 * java/awt/Container.java,
6435 java/awt/font/TextLayout.java:
6438 2004-11-30 Michael Koch <konqueror@gmx.de>
6440 * javax/swing/AbstractButton.java
6441 (getLabel): Added @deprecated tag.
6442 (setLabel): Likewise.
6443 * javax/swing/FocusManager.java
6444 (disableSwingFocusManager): Likewise.
6445 (isFocusManagerEnabled): Likewise.
6446 * javax/swing/JComponent.java
6447 (isManagingFocus): Added version to @deprecated tag.
6448 (getNextFocusableComponent): Moved @deprecated tag to bottom of
6450 (getConditionForKeyStroke): Likewise.
6451 (getActionForKeyStroke): Likewise.
6452 * javax/swing/JDesktopPane.java
6453 (LIVE_DRAG_MODE): Added @specnote tag.
6454 (OUTLINE_DRAG_MODE): Likewise.
6455 * javax/swing/JInternalFrame.java
6456 (MENU_BAR_PROPERTY): Fixed value.
6457 (getMenuBar): Added @deprecated tag.
6458 (setMenuBar): Likewise.
6459 * javax/swing/JViewport.java
6460 (isBackingStoreEnabled): Likewise.
6461 (setBackingStoreEnabled): Likewise.
6462 * javax/swing/plaf/basic/BasicDesktopPaneUI.java
6463 (closeKey): Likewise.
6464 (maximizeKey): Likewise.
6465 (minimizeKey): Likewise.
6466 (navigateKey): Likewise.
6467 (navigateKey2): Likewise.
6468 * javax/swing/plaf/basic/BasicInternalFrameUI.java
6469 (openMenuKey): Likewise.
6470 * javax/swing/plaf/basic/BasicSplitPaneUI.java
6471 (keyboardDownRightListener): Likewise.
6472 (keyboardEndListener): Likewise.
6473 (keyboardHomeListener): Likewise.
6474 (keyboardResizeToggleListener): Likewise.
6475 (keyboardUpLeftListener): Likewise.
6476 (dividerResizeToggleKey): Likewise.
6477 (downKey): Likewise.
6479 (homeKey): Likewise.
6480 (leftKey): Likewise.
6481 (rightKey): Likewise.
6483 (createKeyboardUpLeftListener): Likewise.
6484 (createKeyboardDownRightListener): Likewise.
6485 (createKeyboardHomeListener): Likewise.
6486 (createKeyboardEndListener): Likewise.
6487 (createKeyboardResizeToggleListener): Likewise.
6488 (getDividerBorderSize): Likewise.
6489 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6490 (downKey): Likewise.
6491 (leftKey): Likewise.
6492 (rightKey): Likewise.
6495 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
6497 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6498 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Use the
6499 GTK_TEXT_VIEW macro.
6501 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6502 (connect_awt_hook_cb): Mark unused variable unused.
6504 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (selection_get):
6507 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
6508 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): According to
6509 the gtk API gtk_combo_box_new_text actually returns a GtkWidget.
6510 Remove unused var menu.
6511 (selection_changed): Remove unused value.
6513 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6514 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_setNativeBounds): Fix pointer
6515 warning with using an intermediate variable.
6517 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6518 (area_updated): Fix unused var warning for BE archs.
6520 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6521 (Java_gnu_java_awt_peer_gtk_GdkGraphics_connectSignals): Remove unused
6523 (realize_cb): Mark unused variable unused.
6525 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
6526 (seek_glyphstring_idx): Fix a C90 warning.
6528 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
6529 (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
6530 Mark unused arguments unused.
6532 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
6533 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_initState),
6534 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setGlyphCodes),
6535 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphCharIndex),
6536 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphIsHorizontal):
6539 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
6540 (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerFontMetrics),
6541 (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerTextMetrics):
6544 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6545 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
6547 (filenameFilterCallback): Remove unused var.
6548 (handle_response): Declare str_fileName and remove last else statement.
6550 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
6552 (nativeGetNumFontsFamilies) New function.
6553 (nativeGetFontFamilies) Likewise.
6554 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6555 (getAvailableFontFamilyNames): Implement.
6556 * Makefile.am (gtk_c_source_files): Add GdkGraphicsEnvironment.c.
6557 * Makefile.in: Regenerate.
6559 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6561 * gnu/java/awt/peer/ClasspathFontPeer.java
6562 (setStandardAttributes(String,Map)): If size attribute doesn't
6563 exist, default to size 12. Clamp size value to a minimum of 1.
6565 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
6567 * javax/swing/JDialog.java
6568 (decorated): Likewise.
6569 * javax/swing/JFrame.java
6570 (defaultLookAndFeelDecorated): Likewise.
6572 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
6574 * javax/swing/plaf/basic/BasicToolBarUI.java
6575 (offset, regular): Made final.
6576 * javax/swing/plaf/basic/BasicScrollBarUI.java
6577 (DECREASE_HIGHLIGHT, INCREASE_HIGHLIGHT, NO_HIGHLIGHT,
6578 POSITIVE_SCROLL, NEGATIVE_SCROLL): Made final.
6580 2004-11-30 Michael Koch <konqueror@gmx.de>
6582 * gnu/java/awt/BitwiseXORComposite.java,
6583 gnu/java/awt/ClasspathToolkit.java,
6584 gnu/java/awt/image/XBMDecoder.java,
6585 gnu/java/awt/peer/GLightweightPeer.java,
6586 gnu/java/awt/peer/gtk/GdkGlyphVector.java:
6587 Reorganized import statements.
6589 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
6591 * java/awt/Button.java
6592 (next_button_number): Removed useless initializer.
6593 * java/awt/Frame.java
6594 (next_frame_number): Likewise.
6595 * java/awt/Panel.java
6596 (next_panel_number): Likewise,
6597 * java/awt/Scrollbar.java
6598 (next_scrollbar_number): Likewise.
6599 * java/awt/TextArea.java
6600 (next_text_number): Likewise.
6602 2004-11-30 Michael Koch <konqueror@gmx.de>
6604 * java/awt/image/ByteLookupTable.java
6605 (ByteLookupTable) :Fixed HTML entities in javadocs.
6606 (lookupPixel): Fix case when dst is null.
6607 * java/awt/image/ShortLookupTable.java
6608 (ShortLookupTable) :Fixed HTML entities in javadocs.
6609 (lookupPixel): Fix case when dst is null.
6610 * java/awt/image/DataBufferByte.java,
6611 java/awt/image/DataBufferDouble.java,
6612 java/awt/image/DataBufferFloat.java,
6613 java/awt/image/DataBufferInt.java,
6614 java/awt/image/DataBufferShort.java,
6615 java/awt/image/DataBufferUShort.java:
6616 Fix initialization of bankData in constructors.
6618 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6620 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6621 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6622 (setNativeBounds): Set GtkEventBox, GtkButton and GtkLabel size
6624 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6625 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6626 (setNativeBounds): Make package private. Set size request even
6627 if GTK parent is NULL.
6628 * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6629 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6630 (setNativeBounds): Set GtkEventBox and GtkLabel size requests.
6632 2004-11-30 Mark Wielaard <mark@klomp.org>
6634 Workaround for bug #17952.
6635 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6636 (request_frame_extents): Check window->window != NULL.
6638 2004-11-30 Mark Wielaard <mark@klomp.org>
6640 * jni/gtk-peer/gdkfont.h: Include gtkpeer.h not gtkcairopeer.h.
6642 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
6644 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Use
6645 native_text_layout_state_table here.
6647 * jni/gtk-peer/gdkfont.h: Mark native_text_layout_state_table extern.
6649 2004-11-30 Mark Wielaard <mark@klomp.org>
6651 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
6652 (setChars): Only call pango_itemize() when vec->glyphitems != NULL.
6653 Only call pango_shape() when gi->glyphs->num_glyphs > 0.
6655 2004-11-30 Michael Koch <konqueror@gmx.de>
6657 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6658 Merged import statements.
6660 2004-11-30 Michael Koch <konqueror@gmx.de>
6662 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6663 (isBufferedImageGraphics): Simplified.
6665 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
6667 * javax/swing/JTree.java
6668 (isRootVisible): Fixed typo in method name.
6669 * javax/swing/JScrollBar.java
6670 (setValues): Likewise.
6671 * javax/swing/JScrollPane.java
6672 (createScrollListener): Call JScrollBar.setValues.
6674 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6676 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate):
6677 Don't call setParentAndBounds on GtkWindowPeers.
6679 * java/awt/Component.java (static): Don't set default keyboard
6681 * java/awt/KeyboardFocusManager.java
6682 (getCurrentKeyboardFocusManager): If current keyboard focus
6683 manager is null set a default.
6685 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6686 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6687 (gtkWidgetSetBackground): New method.
6688 (block_expose_events_cb): New function.
6689 (connectSignals): Block the AWT's expose event processing on
6690 button press and release.
6691 (gtkSetLabel): Set text on proper widget.
6692 (gtkWidgetModifyFont): Modify font on proper widget.
6693 (gtkWidgetSetBackground): Set normal, active and prelight
6695 (gtkWidgetSetForeground): Set forground colour of proper widget.
6696 (gtkActivate): Activate the correct widget.
6697 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6698 Only clear rectangle if the backing component is not an event
6700 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6701 (beginNativeRepaintID): New variable.
6702 (endNativeRepaintID): Likewise.
6703 (gtkInit): Initialize new fields with method IDs.
6704 * jni/gtk-peer/gtkpeer.h (beginNativeRepaintID): Declare extern.
6705 (endNativeRepaintID): Likewise.
6707 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6709 * javax/swing/JList.java (init): Revert accidental commit.
6711 * gnu/java/awt/peer/gtk/GdkGraphics.java,
6712 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (GdkGraphics):
6713 Call initComponentGraphics or connectSignals depending on
6714 component's realization status.
6715 (realize_cb): New function.
6716 (initComponentGraphics): New method.
6717 (connectSignals): New method.
6718 (clipRect): Return immediately if component is not realized.
6719 (setClip): Likewise.
6720 (translate): Likewise.
6721 (drawImage variants): Return false immediately if component is
6723 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6724 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6725 (connectSignals): New method.
6726 (GdkGraphics2D): Call initComponentGraphics2D or connectSignals
6727 depending on component's realization status. Move other
6728 initialization calls to ...
6729 (initComponentGraphics2D): New method.
6730 (realize_cb): New function.
6731 (cairoSetMatrix): Return immediately if gr is NULL.
6732 (cairoNewPath): Likewise.
6733 (cairoRectangle): Likewise.
6734 (cairoClip): Likewise.
6735 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6736 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6737 (gtkWidgetRepaintArea): Remove method.
6738 (isRealized): New method.
6739 (GtkComponentPeer): Move setParent, connectJObject and setCursor
6740 calls to setParentAndBounds. Call setParentAndBounds.
6741 (setParentAndBounds): New method.
6742 (setComponentBounds): Return immediately if bounds are all zero.
6743 (repaint): Remove call to gtkWidgetRepaintArea. Return
6744 immediately if requested paint region is 0x0.
6745 (setCursor): New method.
6746 (gtkWidgetSetParent): Only set widget's parent if its parent is
6748 (setNativeBounds): Only set widget's bounds if it has a parent.
6749 (connectSignals): Don't call gtk_widget_realize. Connect
6750 "realize" signal to connect_awt_hook_cb handler.
6751 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating):
6753 (beginValidate): Set isValidating true.
6754 (endValidate): Set parents and bounds for children first, then
6755 for this. Set isValidating false.
6756 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6757 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6758 (connectJObject): Remove method.
6759 (connectSignals): Don't call gtk_widget_realize.
6760 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6761 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6762 (connectJObject): Remove method.
6763 (connectSignals): Don't call gtk_widget_realize.
6764 * gnu/java/awt/peer/gtk/GtkPanelPeer.java,
6765 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
6766 (connectJObject): Remove method.
6767 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6768 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
6769 (connectJObject): Remove method.
6770 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6771 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6772 (create): Don't call gtk_widget_realize.
6773 (connectJObject): Remove method.
6774 (connectSignals): Don't call gtk_widget_realize. Connect
6775 "realize" signal to connect_awt_hook_cb handler.
6776 (nativeSetBounds): Don't attempt to move GDK window if it is
6778 * java/awt/Container.java (addImpl): Don't call comp.addNotify
6779 if peer is not null.
6780 (validateTree): Create peers for all children before calling
6782 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6783 (connectSignals): Don't call gtk_widget_realize.
6784 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6785 (connect_awt_hook_cb): New function.
6786 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6787 (initComponentGraphicsID): New variable.
6788 (initComponentGraphics2DID): Likewise.
6789 (setCursorID): Likewise.
6790 (gtkInit): Initialize new fields with method IDs.
6791 * jni/gtk-peer/gtkpeer.h (initComponentGraphicsID): Declare
6793 (initComponentGraphics2DID): Declare extern.
6794 (setCursorID): Likewise.
6795 (connect_awt_hook_cb): Declare function.
6797 2004-11-30 Michael Koch <konqueror@gmx.de>
6799 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
6800 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
6801 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6802 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
6803 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
6804 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6805 gnu/java/awt/peer/gtk/GtkClipboard.java,
6806 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6807 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6808 gnu/java/awt/peer/gtk/GtkFontPeer.java,
6809 gnu/java/awt/peer/gtk/GtkListPeer.java,
6810 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6811 gnu/java/awt/peer/gtk/GtkToolkit.java,
6812 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
6813 Import statements reworked. Some little reformattings.
6815 2004-11-30 Michael Koch <konqueror@gmx.de>
6817 * java/awt/image/AffineTransformOp.java
6818 (TYPE_BILINEAR): Initialize with 2.
6819 * java/awt/print/Printable.java: Jalopied.
6820 (PAGE_EXISTS): Initialize with 0;
6821 (NO_SUCH_PAGE): Initialized with 1.
6823 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6825 * Makefile.am: Add BufferedImageFilter.java.
6826 * Makefile.in: Regenerate.
6828 2004-11-30 Graydon Hoare <graydon@redhat.com>
6830 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6831 (install_font_peer): Minor bug fixes to track cairo font semantics.
6833 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6835 * java/awt/image/BufferedImageFilter.java: Implement.
6837 2004-11-30 Graydon Hoare <graydon@redhat.com>
6840 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c)
6841 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c)
6842 (gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java)
6843 (gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java): Remove.
6844 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c)
6845 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c)
6846 (gnu/java/awt/peer/gtk/GdkTextLayout.java)
6847 (gnu/java/awt/peer/gtk/GdkFontPeer.java)
6848 (gnu/java/awt/peer/ClasspathTextLayoutPeer.java): Add
6849 * Makefile.in: Regenerate.
6850 * gnu/awt/xlib/XToolkit.java
6851 (getClasspathTextLayoutPeer): Add stub.
6852 * gnu/java/awt/ClasspathToolkit.java
6853 (getClasspathTextLayoutPeer) Add.
6854 * gnu/java/awt/peer/ClasspathFontPeer.java
6856 (copySizeToAttrs): Make public.
6857 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java: New file.
6858 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: Remove.
6859 * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: Remove.
6860 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Rewrite.
6861 * gnu/java/awt/peer/gtk/GdkFontPeer.java: New file.
6862 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Adjust type names.
6863 * gnu/java/awt/peer/gtk/GdkGraphics.java
6864 (getFontPeer): New function.
6865 (drawString): Pass font peer to native side.
6866 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6869 (PainterThread): Remove.
6870 (GdkGraphics2D): Set hints during construction.
6875 (setRenderingHints): Reimplement normalization logic.
6877 (updateBufferedImage)
6878 (isBufferedImageGraphics)
6880 (drawImage): Make final.
6881 (drawImage): Always paint synchronously.
6883 (drawGlyphVector): Rewrite.
6884 (releasePeerGraphicResource)
6885 (getPeerTextMetrics)
6886 (getPeerFontMetrics)
6887 (drawGdkGlyphVector)
6889 (cairoDrawGdkGlyphVector)
6890 (cairoDrawGdkTextLayout)
6892 (getFontPeer): New functions.
6893 * gnu/java/awt/peer/gtk/GdkTextLayout.java: New file.
6894 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6895 (getFontMetrics): Get metrics via toolkit, to hit cache.
6896 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Use getFontMetrics.
6897 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
6898 * gnu/java/awt/peer/gtk/GtkToolkit.java (LRUCache): New class.
6901 (imageCache): New members.
6904 (getClasspathFontPeer): Use caches.
6905 (getFontPeer): Route through getClasspathFontPeer.
6906 * java/awt/Font.java (attrsToMap): Remove, adjust ctors.
6907 * java/awt/font/TextLayout.java: Implement in terms of peer.
6908 * javax/swing/plaf/basic/BasicSliderUI.java
6909 (paintThumb): Use polyline rather than polygon.
6910 * javax/swing/plaf/basic/BasicGraphicsUtils.java:
6911 Update comment but, alas, still do not switch to using TextLayouts.
6912 * javax/swing/text/Utilities.java (drawTabbedText):
6913 Draw text run-at-a-time, not char-at-a-time.
6914 * jni/gtk-peer/gdkfont.h: Publicize some of the font interface, add
6916 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6917 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
6919 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Rewrite to
6920 incorporate brains of old GdkClasspathFontPeerMetrics.
6921 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Rewrite to
6922 incorporate brains of old GdkClasspathFontPeer.
6923 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: New file.
6924 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6925 (drawString): Rewrite to use persistent layout in peer font.
6926 Comment out extraneous gdk_flush calls.
6927 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6929 (metrics_surface): New static variables.
6931 (install_font_peer): New helper functions.
6932 (releasePeerGraphicResource)
6933 (getPeerTextMetrics)
6934 (getPeerFontMetrics)
6935 (cairoDrawGdkTextLayout)
6936 (cairoDrawGdkGlyphVector): New native methods.
6937 (cairoDrawString): Rewrite, leaving layout-based version
6938 commented out for the time being.
6939 * jni/gtk-peer/gtkpeer.h (graphics): Add fields for pango stuff.
6941 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
6943 * java/awt/geom/AffineTransform.java:
6944 Fixed javadocs overall.
6946 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6948 * java/awt/image/ComponentColorModel.java: Remove FIXME comment since
6951 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6953 * java/awt/image/IndexColorModel.java: Fix use of immutable
6956 2004-11-30 Tom Tromey <tromey@redhat.com>
6958 * javax/swing/plaf/basic/BasicOptionPaneUI.java (MessageIcon):
6959 Renamed from 'messageIcon'.
6960 (errorIcon, infoIcon, warningIcon, questionIcon): Updated.
6962 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6964 * java/awt/image/RescaleOp.java: Fix formatting.
6966 2004-11-30 Olga Rodimina <rodimina@redhat.com>
6968 * javax/swing/plaf/basic/BasicComboPopup.java
6969 (SCROLL_DOWN): made final.
6970 (SCROLL_UP): made final.
6972 2004-11-30 Olga Rodimina <rodimina@redhat.com>
6974 * javax/swing/plaf/basic/BasicComboPopup.java:
6975 Added javadocs for undocumented fields.
6976 (show): scroll down to the selected item and
6977 highlight selected item.
6978 (startAutoScrolling): Implemented.
6979 (stopAutoScrolling): Implemented.
6980 (autoScrollUp): Implemented.
6981 (autoScrollDown): Implemented.
6982 (InvocationMouseHandler.mouseReleased): Implemented.
6983 (InvocationMouseMotionHandler.mouseDragged): Implemented.
6985 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6987 * java/awt/image/RescaleOp.java: Implement.
6989 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6991 * java/awt/image/IndexColorModel.java (getRGBs,
6992 convertToIntDiscrete): Implement.
6994 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6996 * java/awt/image/IndexColorModel.java: Add class docs.
6998 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7000 * java/awt/image/IndexColorModel.java (isValid, getValidPixels):
7003 2004-11-30 Michael Koch <konqueror@gmx.de>
7005 * java/awt/MenuBar.java,
7006 java/awt/peer/MenuBarPeer.java:
7007 Revert accidentally commited changes.
7009 2004-11-30 Michael Koch <konqueror@gmx.de>
7011 * java/awt/AWTKeyStroke.java,
7012 java/awt/Canvas.java,
7013 java/awt/CardLayout.java,
7014 java/awt/CheckboxMenuItem.java,
7015 java/awt/Component.java,
7016 java/awt/Container.java,
7017 java/awt/DefaultKeyboardFocusManager.java,
7018 java/awt/EventDispatchThread.java,
7019 java/awt/FileDialog.java,
7020 java/awt/FlowLayout.java,
7022 java/awt/Frame.java,
7023 java/awt/Graphics2D.java,
7024 java/awt/GraphicsEnvironment.java,
7025 java/awt/GridBagConstraints.java,
7026 java/awt/GridBagLayout.java,
7027 java/awt/GridLayout.java,
7028 java/awt/Image.java,
7029 java/awt/KeyboardFocusManager.java,
7030 java/awt/Label.java,
7032 java/awt/MediaTracker.java,
7034 java/awt/MenuBar.java,
7035 java/awt/MenuComponent.java,
7036 java/awt/Panel.java,
7037 java/awt/PopupMenu.java,
7038 java/awt/ScrollPane.java,
7039 java/awt/Scrollbar.java,
7040 java/awt/SystemColor.java,
7041 java/awt/TextArea.java,
7042 java/awt/TextField.java,
7043 java/awt/Toolkit.java,
7044 java/awt/Window.java,
7045 java/awt/color/ICC_Profile.java,
7046 java/awt/datatransfer/DataFlavor.java,
7047 java/awt/datatransfer/StringSelection.java,
7048 java/awt/datatransfer/SystemFlavorMap.java,
7049 java/awt/dnd/Autoscroll.java,
7050 java/awt/dnd/DropTarget.java,
7051 java/awt/dnd/DropTargetContext.java,
7052 java/awt/dnd/DropTargetDragEvent.java,
7053 java/awt/dnd/peer/DropTargetContextPeer.java,
7054 java/awt/event/AdjustmentEvent.java,
7055 java/awt/event/InputEvent.java,
7056 java/awt/event/InvocationEvent.java,
7057 java/awt/event/KeyEvent.java,
7058 java/awt/event/MouseEvent.java,
7059 java/awt/font/TextLayout.java,
7060 java/awt/geom/GeneralPath.java,
7061 java/awt/geom/Point2D.java,
7062 java/awt/im/InputContext.java,
7063 java/awt/im/spi/InputMethodContext.java,
7064 java/awt/image/AffineTransformOp.java,
7065 java/awt/image/BufferedImage.java,
7066 java/awt/image/ColorModel.java,
7067 java/awt/image/ComponentColorModel.java,
7068 java/awt/image/CropImageFilter.java,
7069 java/awt/image/DirectColorModel.java,
7070 java/awt/image/MemoryImageSource.java,
7071 java/awt/image/PackedColorModel.java,
7072 java/awt/image/PixelGrabber.java,
7073 java/awt/image/RasterOp.java,
7074 java/awt/peer/MenuBarPeer.java:
7075 Some fixes for checkstyle. Import statement and modifier order
7078 2004-11-30 Michael Koch <konqueror@gmx.de>
7080 * javax/swing/JTable.java
7081 (setModel): Reimplemented.
7083 2004-11-30 Michael Koch <konqueror@gmx.de>
7085 * javax/swing/JTextArea.java
7086 (append): Re-implemented.
7089 2004-11-30 Michael Koch <konqueror@gmx.de>
7091 * javax/swing/JSpinner.java
7092 (serialVersionUID): New static field.
7093 * javax/swing/JToggleButton.java
7094 (JToggleButton): Fixed email addresses.
7095 * javax/swing/SpinnerNumberModel.java
7096 (serialVersionUID): Added javadoc.
7098 2004-11-30 Michael Koch <konqueror@gmx.de>
7100 * javax/swing/JTextArea.java:
7101 Don't use JTextComponent.doc directly. GCJ from java-gui-branch has a
7102 bug here which is fixed in HEAD ...
7104 2004-11-30 Andrew John Hughes <address@hidden>
7106 * javax/swing/JTextArea.java: Added additional
7109 2004-11-30 Andrew John Hughes <address@hidden>
7111 * javax/swing/JRadioButton.java:
7112 Implemented additional constructors and accessibility
7113 classes. Added documentation and fixed a typo in
7116 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7118 * java/awt/image/IndexColorModel.java (IndexColorModel): Implement
7119 missing constructor.
7121 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7123 * java/awt/image/ComponentColorModel.java (ComponentColorModel):
7124 Implement missing 1.4 constructor.
7126 2004-11-30 Andrew John Hughes <address@hidden>
7128 * javax/swing/JToggleButton.java:
7129 Implemented additional constructors and accessibility
7130 classes. Added documentation and fixed a typo in
7133 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7135 * java/awt/image/ColorModel.java (getDataElement,
7136 getDataElements): Document since 1.4.
7138 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7140 * java/awt/image/BandedSampleModel.java: Implement.
7141 * Makefile.am: Add java/awt/image/BandedSampleModel.java.
7142 * Makefile.in: Regenerated.
7144 2004-11-30 Michael Koch <konqueror@gmx.de>
7146 * java/awt/Window.java: Fixed whitespace difference with GNU
7149 2004-11-30 Mark Wielaard <mark@klomp.org>
7151 * Makefile.am: Add javax/swing/SpinnerListModel.java.
7152 * Makefile.in: Regenerated.
7154 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
7156 * javax/swing/SpinnerListModel.java, javax/swing/SpinnerModel.java
7157 Implemented SpinnerListModel. Added documentation to
7160 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
7162 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
7163 (init_dpi_conversion_factor): Apply the patch from main correctly.
7164 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
7166 2004-11-30 Tom Tromey <tromey@redhat.com>
7169 * javax/swing/JDesktopPane.java (LIVE_DRAG_MODE): Now final.
7170 (OUTLINE_DRAG_MODE): LIVE_DRAG_MODE.
7171 * javax/swing/plaf/basic/BasicSplitPaneUI.java
7172 (NON_CONTINUOUS_DIVIDER): Now final. Initialize.
7174 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
7176 * java/awt/Canvas.java
7177 (AccessibleAWTCanvas): added serialization UID
7178 * java/awt/Label.java
7179 (AccessibleAWTLabel): added serialization UID
7180 * javax/swing/JRootPane.java
7181 (AccessibleJRootPane): added comment to existing UID
7182 * javax/swing/JSpinner.java
7183 (DefaultEditor): added serialization UID
7184 (NumberEditor): added serialization UID
7185 * javax/swing/text/html/HTML.java
7186 (UnknownTag): added serialization UID
7188 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
7190 * javax/swing/JInternalFrame.java
7191 (CONTENT_PANE_PROPERTY,FRAME_ICON_PROPERTY,GLASS_PANE_PROPERTY,
7192 IS_CLOSED_PROPERTY,IS_ICON_PROPERTY,IS_MAXIMUM_PROPERTY,
7193 IS_SELECTED_PROPERTY,LAYERED_PANE_PROPERTY,MENU_BAR_PROPERTY,
7194 ROOT_PANE_PROPERTY,TITLE_PROPERTY): Made final as per API spec.
7195 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
7196 (CLOSE_CMD,ICONIFY_CMD,MAXIMIZE_CMD,MOVE_CMD,RESTORE_CMD,SIZE_CMD):
7197 Made final as per API spec.
7199 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
7201 * jni/gtk-peer/gtkpeer.h: Remove duplicated copyright string.
7203 2004-11-30 Sven de Marothy <sven@physto.se>
7205 * java/awt/geom/Arc2D.java: Reformatted.
7206 (setArc): Correct documentation to say 'upper left corner'.
7207 (setArcByTangent,contains,intersects): Implemented.
7208 (containsAngle): Corrected to handle negative extents.
7209 (ArcIterator): Set to private.
7210 (ArcIterator): Corrected for CHORD-type arcs, negative extents.
7211 (intersects): Fix: Now checks the arc segment.
7212 (contains): Cleaned up.
7213 * java/awt/geom/CubicCurve2a.javaD: Fix insideness-test. Reindent.
7214 (contains): Implemented.
7215 (intersects): Implemented.
7216 * java/awt/geom/QuadCurve2D.java: Fix insideness-test. Reindent.
7217 * java/awt/geom/GeneralPath: Fix insideness-test. Reindent and
7218 document. Fully (re)implemented using separate xpoints and ypoints
7221 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
7223 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
7224 * configure: Regenerate.
7225 * include/config.h.in: Likewise.
7226 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
7227 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
7229 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
7230 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
7231 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
7233 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
7236 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
7238 * java/awt/SystemColor.java: Fix @link doc entries.
7240 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
7242 * java/awt/RenderingHints.java: Documented.
7243 (RenderingHints): Accept null init Map.
7244 (putAll): Preprocess map to generate appropriate exceptions.
7245 (remove): Cast object to Key and remove from hintMap.
7247 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
7249 * java/awt/MenuComponent.java, java/awt/MenuBar.java:
7250 Implementation of accessibility classes and methods
7251 for these two components.
7253 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
7255 * java/awt/KeyboardFocusManager.java:
7256 Added missing documentation.
7258 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
7260 * java/awt/Label.java, java/awt/Canvas.java:
7261 Added accessibility classes to AWT Label and Canvas,
7262 as well as additional documentation for Canvas.
7264 2004-11-30 David Gilbert <address@bogus.example.com>
7266 * java/awt/image/DataBuffer.java: Update API documentation.
7267 * java/awt/image/DataBufferByte.java: Likewise.
7268 * java/awt/image/DataBufferDouble.java: Likewise.
7269 * java/awt/image/DataBufferFloat.java: Likewise.
7270 * java/awt/image/DataBufferInt.java: Likewise.
7271 * java/awt/image/DataBufferShort.java: Likewise.
7272 * java/awt/image/DataBufferUShort.java: Likewise.
7274 2004-11-30 Dalibor Topic <robilad@kaffe.org>
7276 * java/awt/Component.java (postEvent):
7277 Only delegate to parent if a parent exists.
7278 Reported by: Stephane Meslin-Weber <steph@tangency.co.uk>
7280 2004-11-30 Sven de Marothy <sven@physto.se>
7282 *java/awt/AWTEventMulticaster.java,
7283 java/awt/Adjustable.java,
7284 java/awt/Point.java,
7285 java/awt/Polygon.java,
7286 java/awt/Rectangle.java,
7287 java/awt/Shape.java,
7288 java/awt/geom/Area.java,
7289 java/awt/geom/Ellipse2D.java,
7290 java/awt/geom/PathIterator.java,
7291 java/awt/geom/Point2D.java,
7292 java/awt/geom/Rectangle2D.java,
7293 java/lang/Comparable.java,
7294 java/util/Arrays.java:
7295 Fixed documentation errors
7297 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7299 * java/awt/image/ComponentSampleModel.java: Add documentation.
7302 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7304 * java/awt/image/ComponentSampleModel.java (constructor):
7305 Initialize numBanks when figuring out the max bank index.
7307 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7309 * java/awt/image/Raster.java (createPackedRaster): Implement
7310 MultiPixelPackedSampleModel codepath.
7312 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7314 * java/awt/image/MultiPixelPackedSampleModel.java: Implement.
7315 * Makefile.am: Add MultiPixelPackedSampleModel.java.
7316 * Makefile.in: Regenerate.
7318 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7320 * java/awt/image/Raster.java (getNumBands): Implement.
7322 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7324 * java/awt/image/Raster.java
7325 (createPackedRaster(int,int,int,int,int,Point)): Implement for
7328 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7330 * java/awt/image/SinglePixelPackedSampleModel.java
7331 (SinglePixelPackedSampleModel): Throw exception for unsupported
7334 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7336 * java/awt/image/ColorModel.java (getDataElement): Implemented.
7338 (getDataElements): Add missing version. Remove bogus version.
7341 2004-11-30 Olga Rodimina <rodimina@redhat.com>
7343 * javax/swing/plaf/basic/BasicComboBoxUI.java:
7344 (paintCurrentValue): Pass correct parameters to
7345 getListCellRendererComponent().
7346 (ListDataHandler.intervalRemoved): Implemented.
7347 (PropertyChangeHandler.propertyChange): Handle changes in
7348 MODEL_CHANGED_PROPERTY of the JComboBox
7349 * javax/swing/plaf/basic/BasicComboPopup.java:
7350 (BasicComboPopup): Moved code that configures popup to
7351 configurePopup() and call it instead.
7352 (firePopupMenuWillBecomeVisible): Implemented.
7353 (firePopupMenuWillBecomeInvisible): Likewise.
7354 (firePopupMenuCanceled): Likewise.
7355 (configureList): Set list's visibleRowCount same as
7356 comboBox's visibleRowCount.
7357 (configurePopup): Implemented.
7358 (getPopupHeightForRowCount): Get item's from JComboBox's model and
7359 not from model of the JList.
7360 (ListMouseMotionHandler.mouseMoved): Implemented.
7361 (PropertyChangeHandler.propertyChange): Handles change in the
7364 2004-11-30 Michael Koch <konqueror@gmx.de>
7366 * javax/swing/JComponent.java
7367 (isMaximumSizeSet): New method.
7368 (isMinimumSizeSet): Likewise.
7369 (isPreferredSizeSet): Likewise.
7371 2004-11-30 Michael Koch <konqueror@gmx.de>
7373 * javax/swing/JSpinner.java:
7375 (spinner): New field.
7376 (DefaultEditor): New method.
7377 (getSpinner): Likewise.
7378 (NumberEdito): Likewise.
7379 (getModel): Likewise
7381 2004-11-30 Michael Koch <konqueror@gmx.de>
7383 * javax/swing/InputVerifier.java:
7385 * javax/swing/JComponent.java
7386 (inputVerifier): New property field.
7387 (getInputVerifier): New method.
7388 (setInputVerifier): Likewise.
7390 2004-11-30 Michael Koch <konqueror@gmx.de>
7392 * javax/swing/JComponent.java
7393 (JComponent): Added javadoc comment.
7394 (setBorder): Fire property change eventr.
7395 (setEnabled): Likewise.
7396 (setMaximumSize): Likewise.
7397 (setMinimumSize): Likewise.
7398 (setPreferredSize): Likewise.
7399 (setOpaque): Likewise.
7401 2004-11-30 Michael Koch <konqueror@gmx.de>
7403 * javax/swing/JTextField.java
7404 (action): New field.
7405 (actionCommand): Likewise.
7406 (actionPropertyChangeListener): Likewise.
7407 (setHorizontalAlignment): Abort soon if new value == old value. Fire
7408 event before repainting.
7409 (postActionEvent): New method.
7410 (getAction): Likewise.
7411 (setAction): Likewise.
7412 (getActionCommand): Likewise.
7413 (setActionCommand): Likewise.
7414 (createActionPropertyChangeListener): Likewise.
7415 (configurePropertiesFromAction): Likewise.
7417 2004-11-30 Michael Koch <konqueror@gmx.de>
7419 * javax/swing/DebugGraphics.java:
7420 Re-formatted. Fixed some javadocs.
7421 * javax/swing/JApplet.java
7422 (rootPaneCheckingEnabled): Renamed from checking.
7423 * javax/swing/JCheckBox.java
7424 (BORDER_PAINTED_FLAT_CHANGED_PROPERTY): New statif field.
7425 * javax/swing/JFrame.java:
7426 Re-formatted a bit and reordered some methods.
7427 (rootPaneCheckingEnabled): Renamed from checking.
7428 (getPreferredSize): Simplified.
7429 * javax/swing/JTextArea.java
7430 (getColumnWidth): New method.
7431 (getLineCount): Likewise.
7432 (getLineStartOffset): Likewise.
7433 (getLineEndOffset): Likewise.
7434 (getLineOfOffset): Likewise.
7435 (getRowHeight): Likewise.
7437 (replaceRange): Likewise.
7438 * javax/swing/JTextField.java
7439 (scrollOffset): new field.
7440 (getScrollOffset): New method.
7441 (setScrollOffset): Likewise.
7442 (getColumnWidth): Likewise.
7443 * javax/swing/JTree.java
7444 (ANCHOR_SELECTION_PATH_PROPERTY): New static field.
7445 (CELL_EDITOR_PROPERTY): Likewise.
7446 (CELL_RENDERER_PROPERTY): Likewise.
7447 (EDITABLE_PROPERTY): Likewise.
7448 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
7449 (INVOKES_STOP_CELL_EDITING_PROPERTY): Likewise.
7450 (LARGE_MODEL_PROPERTY): Likewise.
7451 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
7452 (ROOT_VISIBLE_PROPERTY): Likewise.
7453 (ROW_HEIGHT_PROPERTY): Likewise.
7454 (SCROLLS_ON_EXPAND_PROPERTY): Likewise.
7455 (SELECTION_MODEL_PROPERTY): Likewise.
7456 (SHOWS_ROOT_HANDLES_PROPERTY): Likewise.
7457 (TOGGLE_CLICK_COUNT_PROPERTY): Likewise.
7458 (TREE_MODEL_PROPERTY): Likewise.
7459 (VISIBLE_ROW_COUNT_PROPERTY): Likewise.
7460 (cellEditor): New field.
7461 (invokesStopCellEditing): Likewise.
7462 (largeModel): Likewise.
7463 (rowHeight): Likewise.
7464 (scrollsOnExpand): Likewise.
7465 (selectionModel): Likewise.
7466 (toggleClickCount): Likewise.
7467 (visibleRowCount): Likewise.
7468 (setShowsRootHandles): Fixed typo in method name.
7469 (getCellEditor): New method.
7470 (setCellEditor): Likewise.
7471 (getSelectionModel): Likewise.
7472 (setSelectionModel): Likewise.
7473 (getVisibleRowCount): Likewise.
7474 (setVisibleRowCount): Likewise.
7475 (isLargeModel): Likewise.
7476 (setLargeModel): Likewise.
7477 (getRowHeight): Likewise.
7478 (setRowHeight): Likewise.
7479 (getInvokesStopCellEditing): Likewise.
7480 (setInvokesStopCellEditing): Likewise.
7481 (getToggleClickCount): Likewise.
7482 (setToggleClickCount): Likewise.
7483 (getScrollsOnExpand): Likewise.
7484 (setScrollsOnExpand): Likewise.
7485 * javax/swing/table/DefaultTableColumnModel.java
7486 (addColumnModelListener): Fixed javadoc.
7487 (removeColumnModelListener): Implemented. Fixed javadoc.
7488 (getColumnModelListeners): New method.
7489 * javax/swing/table/JTableHeader.java
7490 (columnModel): Made protected.
7491 (draggedColumn): Likewise.
7492 (draggedDistance): Likewise.
7493 (reorderingAllowed): Likewise.
7494 (resizingAllowed): Likewise.
7495 (resizingColumn): Likewise.
7497 (updateTableInRealTime): Likewise.
7498 (createDefaultColumnModel): Renamed from
7499 createDefaultTableColumnModel.
7500 (setDefaultRenderer): New method.
7501 * javax/swing/table/TableColumn.java
7502 (getPropertyChangeListeners): New method.
7503 * javax/swing/text/DefaultHighlighter.java
7504 (drawsLayeredHighlights): New field.
7505 (getDrawsLayeredHighlights): New method.
7506 (setDrawsLayeredHighlights): Likewise.
7507 * javax/swing/text/DocumentFilter.java
7508 (FilterBypass): New inner class.
7509 (insertString): New method.
7511 (replace): Likewise.
7512 * javax/swing/text/JTextComponent.java
7513 (dragEnabled): New field.
7514 (getSelectedText): New method.
7515 (getDragEnabled): Likewise.
7516 (setDragEnabled): Likewise.
7517 (replaceSelection): Reimplemented.
7518 * javax/swing/text/NavigationFilter.java
7519 (FilterBypass): New inner class.
7520 (NavigationFilter): New method.
7521 (moveDot): Likewise.
7523 * javax/swing/text/SimpleAttributeSet.java
7524 (EMPTY): Made public final.
7526 2004-11-30 Michael Koch <konqueror@gmx.de>
7528 * javax/swing/SpinnerNumberModel.java
7529 (getMinimum): New method.
7530 (setMinimum): Likewise.
7531 (getMaximum): Likewise.
7532 (setMaximum): Likewise.
7533 (getStepSize): Likewise.
7534 (setStepSize): Likewise.
7536 2004-11-30 Michael Koch <konqueror@gmx.de>
7538 * javax/swing/JMenu.java
7539 (getMenuListeners): New method.
7540 (fireMenuSelected): Simplified.
7541 * javax/swing/JRootPane.java
7542 (NONE): New static field.
7544 (PLAIN_DIALOG): Likewise.
7545 (INFORMATION_DIALOG): Likewise.
7546 (ERROR_DIALOG): Likewise.
7547 (COLOR_CHOOSER_DIALOG): Likewise.
7548 (FILE_CHOOSER_DIALOG): Likewise.
7549 (QUESTION_DIALOG): Likewise.
7550 (WARNING_DIALOG): Likewise.
7551 (defaultButton): New field.
7552 (getDefaultButton): New method.
7553 (setDefaultButton): Likewise.
7554 * javax/swing/JScrollPane.java
7555 (getUI): New method.
7557 * javax/swing/JTable.java
7558 (getUI): Javadoc added.
7559 (setUI): New method.
7560 * javax/swing/JViewport.java
7561 (getUI): New method.
7563 * javax/swing/UIDefaults.java
7564 (removePropertyChangeListener): Made public.
7566 2004-11-30 Michael Koch <konqueror@gmx.de>
7568 * javax/swing/JApplet.java, javax/swing/JFrame.java:
7571 2004-11-30 Michael Koch <konqueror@gmx.de>
7573 * javax/swing/AbstractButton.java:
7574 Little re-formatting.
7575 (changeEvent): Made protected.
7576 (fireStateChanged): Removed argument.
7577 (setHorizontalAlignment): Abort method when old value is equal too new
7579 (setHorizontalTextPosition): Likewise.
7580 (setVerticalAlignment): Likewise.
7581 (setVerticalTextPosition): Likewise.
7582 (setBorderPainted): Likewise.
7583 (setIcon): Likewise.
7584 (setText): Likewise.
7585 (setIconTextGap): Likewise.
7586 (setMargin): Likewise.
7587 (setPressedIcon): Likewise.
7588 (setFocusPainted): Likewise.
7589 (setDisabledSelectedIcon): Likewise.
7590 (setRolloverIcon): Likewise.
7591 (setRolloverSelectedIcon): Likewise.
7592 (setSelectedIcon): Likewise.
7593 (setContentAreaFilled): Likewise.
7595 2004-11-30 Kim Ho <kho@redhat.com>
7597 * javax/swing/plaf/basic/BasicArrowButton.java:
7598 Jalopy. Reimplement.
7599 * javax/swing/plaf/basic/BasicScrollBarUI.java:
7601 (arrowIcon, upIcon, downIcon, leftIcon,
7602 rightIcon): Removed.
7603 (createIncreaseButton): Use BasicArrowButton.
7604 (createDecreaseButton): Ditto.
7605 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7606 (createRightOneTouchButton): Remove button border.
7607 (createLeftOneTouchButton): Ditto.
7609 2004-11-30 Michael Koch <konqueror@gmx.de>
7611 * javax/swing/JSpinner.java
7612 (setModel): New method.
7613 * javax/swing/SpringLayout.java
7614 (Constraints): May not be final.
7616 2004-11-30 Michael Koch <konqueror@gmx.de>
7618 * gnu/java/awt/peer/gtk/GtkClipboard.java,
7619 java/awt/datatransfer/Clipboard.java,
7620 java/awt/datatransfer/ClipboardOwner.java:
7621 Reformated to make it use our coding standard.
7623 2004-11-30 Michael Koch <konqueror@gmx.de>
7625 * javax/swing/SpinnerNumberModel.java
7626 (SpinnerNumberModel): Implements java.io.Serializable.
7627 (serialVersionUID): New field.
7628 (SpinnerNumberModel): Added missing @throws tags to javadocs.
7629 * javax/swing/UIManager.java
7631 (getBoolean): Likewise.
7632 (getBorder): Likewise.
7633 (getColor): Likewise.
7634 (getDimension): Likewise.
7635 (getFont): Likewise.
7636 (getIcon): Likewise.
7637 (getInsets): Likewise.
7639 (getString): Likewise.
7641 2004-11-30 Michael Koch <konqueror@gmx.de>
7643 * javax/swing/JPasswordField.java:
7644 Reformated. Implemented construtors.
7645 * javax/swing/plaf/basic/BasicPasswordFieldUI.java
7646 (create): New method.
7647 * javax/swing/text/PlainView.java
7648 (selectedColor): Made package-private to allow access from sub-classes
7649 in same package too.
7650 (unselectedColor): Likewise.
7652 (drawSelectedText): Make protected.
7653 (drawUnselectedText): Likewise.
7654 * javax/swing/text/PasswordView.java: New file.
7655 * Makefile.am: Added javax/swing/text/PasswordView.java.
7656 * Makefile.in: Regenerated.
7658 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
7660 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Set menu
7662 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (nativeSetHelpMenu):
7664 (addHelpMenu): Elide call to nativeSetHelpMenu.
7665 * java/awt/Menu.java (isTearOff): Rename to tearOff.
7666 (menuSerializedDataVersion): Initialize to 1.
7667 (separatorLabel): Mark transient.
7668 (insert(MenuItem,int)): Implement.
7669 * java/awt/MenuBar.java (setHelpMenu): Call getPeer to retrieve
7671 (countMenus): Count help menu.
7672 * java/awt/MenuComponent.java (nameExplicitlySet, newEventsOnly,
7673 accessibleContext): Add fields.
7674 * java/awt/MenuItem.java: Remove event mask FIXME.
7675 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
7676 (gtkWidgetModifyFont): Only set font if label is non-NULL.
7677 (setLabel): Don't treat "-" specially.
7679 2004-11-30 Kim Ho <kho@redhat.com>
7681 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
7682 (stateChanged): Only update the image and the track if
7683 the values are not being adjusted.
7684 (updateChooser): Grab the new mouse point from the
7685 spinner values. Update the image and track only if
7686 the values are not being adjusted.
7687 (getHSBValues): New method.
7688 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
7689 (SliderHandler::stateChanged): Changed internalChange
7690 to updateChange. Set sliderChange.
7691 (SpinnerHandler::stateChanged): Ditto. Set spinnerChange.
7692 (spinnerChange): New variable.
7693 (sliderChange): Ditto.
7694 (updateChange): Renamed from internalChange.
7695 (updateChooser): Do not update sliders if the sliders
7696 were the original source of the change. Ditto for spinners.
7697 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7698 (mousePress): Don't scroll the JViewport if there will
7699 be extra space at the end of the run. Change layout() to
7701 (calculateSize): Use the component's width/height unless
7702 it is smaller than the max tab width/height.
7703 (calculateTabRects): Subtract the tab run overlay.
7704 (rotateTabRuns): Don't rotate if there's only one run.
7705 (layoutContainer): Reuse the viewport point.
7706 (createLayoutManager): Set the viewport to use no layout.
7707 (paintTabArea): Don't paint the tabs that are not visible
7709 (paintContentBorderTopEdge): Check for scroll tab layout before
7711 (paintContentBorderLeftEdge): Ditto.
7712 (paintContentBorderBottomEdge): Ditto.
7713 (paintContentBorderRightEdge): Ditto.
7715 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
7717 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetSetFont):
7719 (gtkWidgetModifyFont): New method.
7720 * gnu/java/awt/peer/gtk/GtkFramePeer.java,
7721 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
7722 (setMenuBarWidth): New method.
7723 (setBounds): Set the menu bar width.
7724 (postConfigureEvent): Set the menu bar width if the window's
7726 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (GtkMenuBarPeer):
7728 (setFont): New method.
7729 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): New
7731 (setFont): Likewise.
7732 (GtkMenuComponentPeer): Call create and setFont.
7733 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
7734 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
7735 (connectSignals): Make package private.
7736 (gtkWidgetModifyFont): New method.
7738 (GtkMenuItemPeer): Don't call create.
7739 (setFont): New method.
7740 * java/awt/CheckboxMenuItem.java (addNotify): Fix peer == null
7742 * java/awt/Container.java (validateTree): Fix comment typos.
7743 * java/awt/MenuComponent.java (getFont): Return parent's font if
7745 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
7746 (create): Remove call to deprecated
7747 gtk_check_menu_item_set_show_toggle function.
7749 2004-11-30 Hans Boehm <Hans.Boehm@hp.com>
7751 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
7752 (Almost everywhere): add LOG calls, fix, add comments.
7753 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
7754 Add explicit check for LOCKED bit in slow case (PR 16662).
7755 (_Jv_MonitorExit): Add casts in debug-only code.
7756 Always release LOCKED bit before throwing exception.
7757 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
7758 isn't. Handle easy cases without lock acquisition.
7759 (Object::wait): Use NotifyAll for lock inflation.
7761 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
7763 * gnu/java/awt/peer/gtk/GtkFramePeer.java,
7764 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
7765 (gtkFixedMove): Remove method.
7767 2004-11-30 Sven de Marothy <sven@physto.se>
7769 * java/awt/geom/Area.java: Implemented.
7771 2004-11-30 Mark Wielaard <mark@klomp.org>
7773 * java/awt/geom/Arc2D.java (ArcIterator): Make package private.
7775 2004-11-30 Sven de Marothy <sven@physto.se>
7777 * java/awt/geom/Arc2D.java
7779 (setArc): Correct documentation to say 'upper left corner'.
7780 (setArcByTangent,contains,intersects): Implemented.
7781 (containsAngle): Corrected to handle negative extents.
7782 (ArcIterator): Set to private.
7783 (ArcIterator): Corrected for CHORD-type arcs, negative extents.
7784 * java/awt/geom/Ellipse2D.java
7786 (contains,intersects): Implemented.
7787 * java/awt/geom/Line2D.java
7788 (linesIntersect): Correct handling of special cases.
7790 2004-11-30 Mark Wielaard <mark@klomp.org>
7792 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Use
7793 Color.BLACK if c == null, don't create new Color object each time.
7794 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (comp): New private
7796 (setColor): Use Color.BLACK when argument null.
7797 (setComposite): Set this.comp field.
7798 (getComposite): Return this.comp, or AlphaComposite.SrcOver when null.
7799 (DrawState.comp): New private field.
7800 (DrawState.save): Save Composite.
7801 (DrawState.restore): Restore comp field.
7802 * java/awt/FontMetrics.java (gRC): New static final private field.
7803 (getLineMetrics(String, Graphics)): New method.
7804 (getLineMetrics(String, int, int, Graphics)): Likewise.
7805 (getLineMetrics(char[], int, int, Graphics)): Likewise.
7806 (getLineMetrics(CharacterIterator, int, int, Graphics)): Likewise.
7807 * javax/swing/JMenu.java (JMenu(String, boolean)): Ignore tearoff
7808 argument. PR SWING/17294.
7809 * javax/swing/plaf/basic/BasicGraphicsUtils.java (): Always use
7810 the fall-back code since none of the TextArea methods are really
7811 implemented now. PR SWING/17296.
7812 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
7813 (GdkGlyphVector_setChars): Replace assert() with if block when
7814 pango_itemize() returns null. PR AWT/17295.
7815 (GdkGlyphVector_allInkExtents): Likewise when vec->glyphitems is null.
7817 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
7819 * Makefile.am (gtk_c_source_files): Add
7820 gnu_java_awt_peer_gtk_GtkFramePeer.c.
7821 * Makefile.in: Regenerate.
7822 * gnu/java/awt/peer/gtk/GdkGraphics.java (getClipBounds): Remove
7824 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7825 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7826 (create): Pack GtkButton in GtkEventBox.
7827 (connectJObject): Remove.
7828 (focus_in_cb): New function.
7829 (focus_out_cb): Likewise.
7830 (connectSignals): Connect focus-in-event and focus-out-event
7832 (gtkSetFont): Rename to ...
7833 (gtkWidgetModifyFont): New method.
7834 (gtkWidgetRequestFocus): New method.
7835 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
7836 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
7837 (gtkSetFont): Rename to ...
7838 (gtkWidgetModifyFont): New method.
7839 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7840 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7841 (isInRepaint): New field.
7842 (gtkSetFont): Remove method.
7843 (addExposeFilter): Likewise.
7844 (removeExposeFilter): Likewise.
7845 (gtkWidgetQueueDrawArea): Rename to ...
7846 (gtkWidgetRepaintArea): New method.
7847 (beginNativeRepaint): New method.
7848 (endNativeRepaint): New method.
7849 (setComponentBounds): Move implementation here from
7851 (paint): Remove implementation.
7852 (repaint): Wrap call to gtkWidgetRepaintArea with calls to
7853 beginNativeRepaint and endNativeRepaint.
7854 (setBounds): Use menu bar height in bounds calculation.
7855 (postExposeEvent): Only post paint event if we're not doing a
7857 (gtkWidgetSetParent): Replace gtk_layout_put with gtk_fixed_put.
7858 (setNativeBounds): Replace gtk_layout_move with gtk_fixed_move.
7859 (find_gtk_layout): Remove function.
7860 (filter_expose_event_handler): Likewise.
7861 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (postExposeEvent):
7863 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
7864 (setComponentBounds): Call GtkComponentPeer's
7866 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight):
7868 (moveLayout): Rename to ...
7869 (gtkFixedMove): New method.
7870 (gtkLayoutSetVisible): Rename to ...
7871 (gtkFixedSetVisible): New method.
7872 (setMenuBar): Rearrange, to make the three separate cases
7874 (postExposeEvent): Only post paint event if we're not doing a
7876 * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
7877 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
7878 (gtkWidgetModifyFont): New method.
7879 * gnu/java/awt/peer/gtk/GtkImagePainter.java
7880 (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,Color)):
7881 Call run directly, rather than spawning a new thread.
7882 (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,int,int,int,int,Color)):
7884 * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
7885 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (gtkSetFont):
7887 (gtkWidgetModifyFont): New method.
7888 (create): Rename ebox to eventbox.
7889 * gnu/java/awt/peer/gtk/GtkListPeer.java,
7890 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
7892 (gtkWidgetModifyFont): New method.
7893 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
7894 (GtkMenuComponentPeer): Set the default font.
7895 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7896 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7897 (gtkSetFont): Rename to ...
7898 (gtkWidgetModifyFont): New method.
7899 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
7900 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
7901 * java/awt/Component.java (locale): Initialize to default
7903 * java/awt/Container.java (invalidateTree): Make
7905 (paint): Paint self first.
7906 (setMenuBar): Call invalidateTree.
7907 * java/awt/Panel.java (dispatchEventImpl): Remove method.
7908 * java/awt/Window.java (show): Call no-parameter variant of
7909 requestFocusInWindow.
7910 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (initState):
7911 Remove special case for window widget.
7912 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
7913 (grab_current_drawable): Likewise.
7914 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
7915 (create): Replace GtkLayout with GtkFixed.
7916 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7917 (pre_event_handler): Remove special cases for GDK_EXPOSE events.
7918 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: New file.
7919 Move all GtkFramePeer native method implementations here from
7920 gnu_java_awt_peer_gtk_GtkWindowPeer.c.
7921 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
7922 Replace GtkLayout with GtkFixed.
7923 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7924 (find_layout): Remove function.
7925 (create): Replace GtkLayout with GtkFixed.
7926 (connectSignals): Remove find_layout call.
7927 (toBack): Replace XFlush with gdk_flush.
7928 (toFront): Replace XFlush with gdk_flush.
7929 Move GtkFramePeer native method implementations to
7930 gnu_java_awt_peer_gtk_GtkFramePeer.c.
7931 * jni/gtk-peer/gtkpeer.h: Remove declaration of find_gtk_layout.
7933 2004-11-30 Michael Koch <konqueror@gmx.de>
7935 * javax/swing/JTextArea.java
7936 (lineWrap): Renamed from "wrapping".
7937 (wrapStyleWord): NEw field.
7938 (getLineWrap): Re-edited javadoc comment.
7939 (setLineWrap): Likewise.
7940 (getWrapStyleWord): New method.
7941 (setWrapStyleWord): Likewise.
7943 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
7945 * configure: Regenerate for libtool change.
7947 2004-11-29 Tom Tromey <tromey@redhat.com>
7949 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
7950 Recognize --help and --version.
7951 (usage): Mention gcj-dbtool. Added "out" argument.
7954 2004-11-29 Eric Botcazou <ebotcazou@libertysurf.fr>
7956 * link.cc (link_symbol_table): Do not use intptr_t.
7958 2004-11-28 Mark Wielaard <mark@klomp.org>
7960 * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
7961 XMLDecoder tests which currently don't compile.
7963 2004-11-27 Andrew Haley <aph@redhat.com>
7965 * link.cc (ensure_class_linked): Conditionally compile
7966 _Jv_IsInterpretedClass on INTERPRETER.
7967 (print_class_loaded): Likewise.
7968 (wait_for_state): Likewise.
7969 * include/jvm.h (ROUND): Move to here from include/java-interp.h.
7970 * include/java-interp.h (ROUND): Remove.
7972 2004-11-25 Tom Tromey <tromey@redhat.com>
7974 * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
7975 * java/lang/Class.h (_Jv_Linker): Declare.
7976 (Class): Fix names of friends.
7977 (_Jv_getInterfaceMethod): Declare.
7979 2004-11-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7981 * testsuite/lib/libjava.exp (libjava_arguments): Add new global
7982 variable libjava_ld_library_path.
7983 (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
7985 2004-11-25 Bryce McKinlay <mckinlay@redhat.com>
7987 * java/util/ResourceBundle.java (BundleKey): Don't implement
7989 (BundleKey.clone): Removed.
7990 (getBundle): Copy BundleKey using constructor, not clone().
7992 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
7994 * configure: Regenerate for libtool reversion.
7996 2004-11-25 Michael Koch <konqueror@gmx.de>
7998 * Makefile.am: Added most of javax.print again.
7999 * Makefile.in: Regenerated.
8001 2004-11-25 Michael Koch <konqueror@gmx.de>
8003 * Makefile.am: Added most of javax.print again.
8004 * Makefile.in: Regenerated.
8006 2004-11-24 Tom Tromey <tromey@redhat.com>
8008 * Merged gcj-abi-2-dev-branch to trunk.
8010 2004-11-16 Tom Tromey <tromey@redhat.com>
8012 * include/java-interp.h (_Jv_DefineClass): Updated.
8013 * java/lang/natVMClassLoader.cc (defineClass): Pass protection
8014 domain to class reader.
8015 * defineclass.cc (parse): Use print_class_loaded.
8016 Include ProtectionDomain.h.
8017 (_Jv_DefineClass): Added ProtectionDomain argument.
8018 (_Jv_ClassReader): Likewise.
8019 * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
8020 * link.cc: Include CodeSource.h.
8021 (print_class_loaded): New function.
8022 (wait_for_state): Use it.
8024 2004-11-16 Andrew Haley <aph@redhat.com>
8026 * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
8028 2004-11-16 Andrew Haley <aph@redhat.com>
8030 * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
8031 * configure.host: Define libgcj_ld_symbolic for Linux hosts.
8032 * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
8033 * configure: Regenerate.
8034 * Makefile.in: Regenerate.
8036 2004-11-15 Andrew Haley <aph@redhat.com>
8038 * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
8039 gc-allocated object.
8041 2004-11-15 Andrew Haley <aph@redhat.com>
8043 * java/net/URLClassLoader.java
8044 (URLLoader.getClassPath): New method.
8045 (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
8046 attribute and add URLs for each entry.
8047 (JarURLLoader.classPath): New field.
8048 (JarURLLoader.getClassPath): New method.
8049 (addURLImpl): Scan through the list of extraUrls in the new
8050 loader, adding them to our urlinfos.
8051 (definePackage, findURLResource, findResources): Use
8052 urlinfos.size(), not urls.size().
8054 2004-11-11 Tom Tromey <tromey@redhat.com>
8056 * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
8058 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
8060 (ensureSupersLinked): Declare.
8061 * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
8064 2004-11-10 Tom Tromey <tromey@redhat.com>
8066 * gij.cc (main): Treat -verbose the same as -verbose:class.
8067 (help): Document -verbose and -verbose:class.
8069 * link.cc (verbose_class_flag): Declare.
8070 (wait_for_state): Print message when handling precompiled class.
8071 * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
8073 2004-11-09 Tom Tromey <tromey@redhat.com>
8075 * testsuite/libjava.lang/assign2.out: New file.
8076 * testsuite/libjava.lang/assign2.java: New file.
8078 * java/lang/natRuntime.cc (insertSystemProperties): Set
8079 java.version to 1.4.2 and java.specification.version to 1.4. Set
8080 java.runtime.version.
8082 2004-11-08 Tom Tromey <tromey@redhat.com>
8084 * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
8086 * link.cc (verify_type_assertions): Don't link supers.
8088 * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
8089 * include/java-interp.h (class _Jv_InterpClass)
8090 <_Jv_PrepareMissingMethods>: No longer `friend'.
8091 * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
8093 (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
8094 _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
8095 _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
8096 _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
8097 _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
8098 * link.cc (search_method_in_class): Renamed from
8099 _Jv_SearchMethodInClass.
8100 (resolve_pool_entry): Updated.
8102 * include/jvm.h (_Jv_CheckAssignment): Removed.
8103 * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
8105 2004-11-05 Tom Tromey <tromey@redhat.com>
8107 * link.cc (verify_type_assertions): Ensure classes have supers
8108 linked. Strip off array types first.
8110 2004-11-05 Bryce McKinlay <mckinlay@redhat.com>
8112 * link.cc: Include VerifyError.h.
8113 (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
8114 in the type assertion table.
8115 * include/execution.h (_Jv_CompiledEngine::do_verify): Use
8116 verify_type_assertions.
8117 * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
8118 * java/lang/Class.h (JV_ASSERT_END_OF_TABLE,
8119 JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
8120 assertion code values.
8121 (struct _Jv_TypeAssertion): Declare.
8122 (assertion_table): New class field.
8123 (verify): Remove class field.
8125 2004-11-05 Andrew Haley <aph@redhat.com>
8127 * Makefile.am: Move jv_dbtool.java to
8128 gnu/gcj/tools/gcj_dbtool/Main.java.
8129 * Makefile.in: Rebuild.
8130 * java/lang/VMCompiler.java: Rename property
8131 "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
8132 * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
8135 2004-11-05 Andrew Haley <aph@redhat.com>
8137 * jv_dbtool.java (main): Allow the user to specify the size of the
8138 database. Display the capacity and the size.
8139 (usage): Show the new option.
8141 2004-11-04 Tom Tromey <tromey@redhat.com>
8143 * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
8144 * link.cc (make_vtable): Use correct index when searching for
8145 missing method's name. Don't use `flags'.
8146 (set_vtable_entries): Removed `flags' argument. Don't recurse
8148 (link_symbol_table): Ensure target class method table is
8149 complete. Ensure target fields are laid out before entering
8152 * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
8155 * interpret.cc (do_verify): Don't verify abstract methods.
8157 2004-11-01 Tom Tromey <tromey@redhat.com>
8159 * link.cc (wait_for_state): Call verify_class.
8161 * verify.cc (state::check_no_uninitialized_objects): Removed.
8162 (push_jump): Updated.
8163 (push_exception_jump): Likewise.
8164 (handle_ret_insn): Likewise.
8165 (handle_jsr_insn): Likewise.
8167 2004-10-28 Andrew Haley <aph@redhat.com>
8169 * gnu/gcj/runtime/PersistentByteMap.java: New file.
8170 * jv_dbtool.java: New file.
8171 * Makefile.am (bin_PROGRAMS): Add jv-dbtool
8172 (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
8173 (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
8174 * Makefile.in: Regenerate,
8175 * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
8176 Enumeration, StringTokenizer, Vector, PersistentByteMap.
8177 (precompiledMapFiles): New variable.
8178 (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
8179 initialize precompiledMapFiles.
8180 (compileClass): Look at the database of precompiled class files
8181 before firing up gcj.
8183 * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
8185 2004-10-27 Andrew Haley <aph@redhat.com>
8187 * java/lang/VMCompiler.java (compileClass): try looking for
8188 precompiledMapFiles.
8189 * gnu/gcj/runtime/PersistentByteMap.java: New file.
8191 2004-10-27 Tom Tromey <tromey@redhat.com>
8193 * link.cc (ensure_class_linked): Only resolve classes for
8195 (add_miranda_methods): Ensure interface supers are installed.
8196 (resolve_pool_entry): Better error message.
8198 2004-10-25 Tom Tromey <tromey@redhat.com>
8200 * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
8202 * java/util/ResourceBundle.java (tryBundle): Use
8203 Class.isAssignableFrom rather than catching ClassCastException.
8205 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
8206 exception if we hit EOF of `in'.
8207 (read): Handle case where inflating returns -1.
8209 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
8211 * gnu/java/text/SentenceBreakIterator.java
8212 (SentenceBreakIterator): Don't initialize `iter'.
8213 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
8215 * gnu/java/text/CharacterBreakIterator.java
8216 (CharacterBreakIterator): Don't initialize `iter'.
8217 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
8219 * java/text/BreakIterator.java: Updated documentation.
8221 2004-10-20 Tom Tromey <tromey@redhat.com>
8223 * java/util/ResourceBundle.java (tryBundle): Also ignore
8226 2004-10-18 Tom Tromey <tromey@redhat.com>
8228 * interpret.cc (do_post_miranda_hook): New method.
8229 * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
8231 (_Jv_CompiledEngine::do_post_miranda_hook): New method.
8232 (_Jv_CompiledEngine): Initialize new field.
8233 (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
8234 (_Jv_InterpreterEngine): Initialize new field.
8235 * link.cc (resolve_pool_entry): Put Miranda methods in target
8237 (ensure_method_table_complete): Call post_miranda_hook.
8238 * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
8240 * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
8241 (parse): Set class' aux_info here.
8243 * boehm.cc (_Jv_MarkObj): Mark `throws'.
8245 * boehm.cc: Re-merged with trunk.
8247 2004-10-18 Andrew Haley <aph@redhat.com>
8250 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
8251 and correct logic used to find interpreter.
8253 2004-10-13 Andrew Haley <aph@redhat.com>
8255 * interpret.cc (_Jv_InterpMethod::run): Initialize
8256 _Jv_StartOfInterpreter.
8257 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
8258 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
8259 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
8260 _Unwind_FindEnclosingFunction to discover whether PC is within the
8263 2004-10-13 Tom Tromey <tromey@redhat.com>
8265 * link.cc (find_iindex): Copy correct number of slots to new
8268 2004-10-12 Tom Tromey <tromey@redhat.com>
8270 * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
8272 (gcj_loader_test_one): Use it.
8273 (gcj_loader_run): Likewise.
8275 * prims.cc: Don't include FirstThread.h.
8277 2004-10-06 Tom Tromey <tromey@redhat.com>
8279 * link.cc (ensure_method_table_complete): Ensure superclass
8280 Miranda methods installed.
8282 * include/java-interp.h (class _Jv_JNIMethod): Added
8283 JV_MARKOBJ_DECL as a friend.
8284 * interpret.cc (ncode): Allocate jni_arg_types field with GC.
8285 * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
8286 interpreter method structures. Mark jni_arg_types of JNI
8289 * defineclass.cc (parse): Use JV_STATE_READ.
8290 * java/lang/Class.h (JV_STATE_READ): New enum value.
8292 2004-10-05 Tom Tromey <tromey@redhat.com>
8294 * link.cc (resolve_pool_entry): Add signature info to missing
8295 method's information.
8297 * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
8298 * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
8300 2004-10-04 Tom Tromey <tromey@redhat.com>
8302 * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
8305 2004-09-29 Tom Tromey <tromey@redhat.com>
8307 * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
8309 * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
8310 * jni.cc: Use _Jv_Linker.
8311 * interpret.cc: Use _Jv_Linker.
8312 * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
8313 * java/lang/natClassLoader.cc: Use _Jv_Linker.
8314 * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
8315 * java/lang/Class.h: Use _Jv_Linker.
8316 * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
8317 * resolve.cc: Renamed ...
8318 * link.cc: ... here. Use _Jv_Linker.
8319 * defineclass.cc (checkExtends): Use _Jv_Linker.
8321 2004-09-17 Tom Tromey <tromey@redhat.com>
8323 * defineclass.cc (handleCodeAttribute): Don't reference
8325 (handleMethodsEnd): Likewise.
8326 * include/java-interp.h (_Jv_MethodBase::deferred): Removed
8328 (_Jv_Defer_Resolution): Don't declare or define.
8329 * interpret.cc (do_create_ncode): Don't resolve deferred method
8331 * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
8332 * resolve.cc (link_symbol_table): No need to defer resolution.
8334 2004-09-14 Tom Tromey <tromey@redhat.com>
8336 * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
8337 (_Jv_MarkObj): Updated.
8338 (_Jv_MarkArray): Likewise.
8340 * include/jvm.h (StringClass): Removed.
8341 * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
8342 * interpret.cc (_Jv_InitField): Don't use StringClass.
8343 * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
8347 (_Jv_FinalizeString): Likewise.
8348 (_Jv_NewStringUtf8Const): Likewise.
8350 * prims.cc (JvConvertArgv): Don't use StringClass.
8352 * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
8353 * resolve.cc (ensure_fields_laid_out): Don't mention
8355 * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
8356 * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
8358 * java/lang/reflect/natField.cc (getType): Use resolve_field.
8359 * java/lang/natVMClassLoader.cc (resolveClass): New native
8361 (linkClass0): Removed.
8362 (markClassErrorState0): Likewise.
8363 * java/lang/natClassLoader.cc: Include execution.h. Moved class
8364 preparation code to resolve.cc.
8365 (_Jv_RegisterClassHookDefault): Set class's execution engine if
8367 (_Jv_FindClass): Use wait_for_state.
8368 (_Jv_NewArrayClass): Likewise. Simplified permissions setting.
8369 * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
8370 Moved interface table and class preparation code to resolve.cc.
8371 (finalize): Rewrote.
8372 (initializeClass): Simplified locking and class preparation.
8373 * java/lang/VMClassLoader.java (linkClass0): Removed.
8374 (markClassErrorState0): Likewise.
8375 (resolveClass): Now native.
8376 (transformException): New method.
8377 * java/lang/Class.h (getSuperclass): Don't try to resolve super
8379 (getInterface): Likewise.
8381 (set_state): New method.
8382 (Class): Updated friend declarations.
8383 (verify): Field now private.
8384 (engine): New field.
8385 * include/jvm.h (class _Jv_Resolver): New class declaration.
8386 (_Jv_ResolveField): Removed declaration.
8387 (_Jv_CheckAccessNoInit): Likewise.
8388 (_Jv_isBinaryCompatible): Removed.
8389 * include/java-interp.h (class _Jv_MethodBase): Updated friend
8391 (class _Jv_InterpMethod): Likewise.
8392 (class _Jv_InterpClass): Likewise.
8393 (class _Jv_JNIMethod): Likewise.
8394 * include/execution.h: New file.
8395 * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
8396 (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
8397 Register class after setting fields.
8398 * resolve.cc: Include execution.h, VerifyError.h. Moved
8399 interpreter-specific code to interpret.cc.
8400 (uaddr): New location.
8401 (struct aligner): Likewise.
8402 (ALIGNOF): Likewise.
8403 (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
8404 (INITIAL_IFACES_LEN): Likewise.
8405 (null_idt): Likewise.
8406 (_Jv_GetMethodString): Likewise.
8407 (_Jv_ThrowNoSuchMethodError): Likewise.
8408 (_Jv_abstractMethodError): Likewise.
8409 (_Jv_Resolver::get_alignment_from_class): Renamed.
8410 (_Jv_Resolver::resolve_field): Likewise.
8411 (_Jv_Resolver::resolve_pool_entry): Likewise.
8412 (_Jv_Resolver::resolve_class_ref): Likewise.
8413 (_Jv_Resolver::prepare_constant_time_tables): Likewise.
8414 (_Jv_Resolver::indexof): Likewise.
8415 (_Jv_Resolver::get_interfaces): Likewise.
8416 (_Jv_Resolver::generate_itable): Likewise.
8417 (_Jv_Resolver::append_partial_itable): Likewise.
8418 (_Jv_Resolver::find_iindex): Likewise.
8419 (_Jv_Resolver::link_symbol_table): Likewise.
8420 (_Jv_Resolver::link_exception_table): Likewise.
8421 (_Jv_Resolver::layout_interface_methods): Likewise.
8422 (_Jv_Resolver::layout_vtable_methods): Likewise.
8423 (_Jv_Resolver::set_vtable_entries): Likewise.
8424 (_Jv_Resolver::make_vtable): Likewise.
8425 (_Jv_Resolver::ensure_fields_laid_out): Likewise.
8426 (_Jv_Resolver::ensure_class_linked): Likewise.
8427 (_Jv_Resolver::ensure_supers_installed): Likewise.
8428 (_Jv_Resolver::add_miranda_methods): Likewise.
8429 (_Jv_Resolver::ensure_method_table_complete): Likewise.
8430 (_Jv_Resolver::verify_class): Likewise.
8431 (_Jv_Resolver::wait_for_state): Likewise.
8432 * prims.cc (_Jv_soleCompiledEngine): New global.
8433 (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
8434 (_Jv_CheckAccessNoInit): Removed.
8435 * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
8436 * interpret.cc: Include platform.h, ClassFormatError.h,
8437 Modifier.h, execution.h.
8438 (_Jv_soleInterpreterEngine): New global.
8439 (compile): Use resolve_pool_entry.
8441 (_Jv_InitField): New location.
8442 (skip_one_type): Likewise.
8443 (get_ffi_type_from_signature): Likewise.
8444 (_Jv_count_arguments): Likewise.
8445 (init_cif): Likewise.
8446 (ncode_closure): Likewise.
8447 (ffi_closure_fun): Likewise.
8449 (throw_class_format_error): Likewise.
8450 (throw_class_format_error): Likewise.
8451 (_Jv_InterpreterEngine::do_verify): New method.
8452 (_Jv_InterpreterEngine::do_create_ncode): Likewise.
8453 (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
8454 (_Jv_InterpreterEngine::do_resolve_method): Likewise.
8455 * defineclass.cc: Include execution.h.
8456 (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
8458 (checkExtends): Ensure superclass has supers installed.
8459 (_Jv_ClassNameSamePackage): Clarify usage constraints.
8460 * boehm.cc (GC_enable, GC_disable): Declare at top of file.
8461 (_Jv_MarkObj): Unconditionally mark vtable. Mark interface
8464 2004-09-13 Tom Tromey <tromey@redhat.com>
8466 * mauve-libgcj: List some classes we don't have.
8468 2004-09-10 Andrew Haley <aph@redhat.com>
8470 * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
8471 * java/lang/natClass.cc (initializeClass): Check itable.
8472 (_Jv_getInterfaceMethod): New.
8473 (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
8474 Check that an interface method isn't called with invokevirtual.
8476 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
8477 super_meth is virtual.
8479 2004-09-01 Tom Tromey <tromey@redhat.com>
8481 * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
8482 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
8483 _Jv_CheckAccessNoInit.
8484 * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
8485 * prims.cc (_Jv_CheckAccessNoInit): New method.
8487 * java/lang/reflect/natMethod.cc (invoke): Check access against
8488 declaring class, not object's class.
8489 * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
8491 (_Jv_LayoutVTableMethods): Perform checks of accessibility of
8493 * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
8496 2004-08-30 Andrew Haley <aph@redhat.com>
8498 * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
8499 ClassNotFoundException.
8500 Throw NoClassDefFoundError.
8502 * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
8503 to klass->verify() from here ...
8504 (_Jv_PrepareCompiledClass): ...and put it here.
8506 2004-08-27 Andrew Haley <aph@redhat.com>
8508 * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
8510 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
8511 (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
8513 2004-08-27 Tom Tromey <tromey@redhat.com>
8515 * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
8517 * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
8518 (_Jv_IsAssignableFromSlow): New function.
8519 Include VerifyError.h.
8520 * include/jvm.h (_Jv_CheckAssignment): Declare.
8522 2004-08-18 Andrew Haley <aph@redhat.com>
8524 * java/lang/VMCompiler.java (loadSharedLibrary): Add className
8525 argument. Pass it to findClass instead of fileName.
8526 (compileClass): Pass class name to loadSharedLibrary.
8528 2004-06-22 Andrew Haley <aph@redhat.com>
8530 * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
8532 2004-06-15 Andrew Haley <aph@redhat.com>
8534 * java/lang/natSystem.cc (getenv0): Don't assume environment
8535 variable is Latin 1 coded.
8537 2004-06-07 Andrew Haley <aph@redhat.com>
8539 * java/lang/System.java: (getenv0): New method.
8540 (getenv): Add security check. Do the right thing.
8541 * java/lang/natSystem.cc (getenv0): New method.
8543 2004-04-19 Andrew Haley <aph@redhat.com>
8545 * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
8548 * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
8549 is returned as an int in the range 0 to 255.
8551 2004-08-13 Tom Tromey <tromey@redhat.com>
8553 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
8554 class if it is interpreted.
8556 2004-08-12 Tom Tromey <tromey@redhat.com>
8558 * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
8559 * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
8560 (Class::getSuperclass): Updated.
8561 (Class::getInterfaces): Likewise.
8562 (Class::size): Updated.
8563 (_Jv_LayoutClass): Updated declaration.
8564 * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
8565 Synchronize on class.
8566 (_Jv_LayoutClass): Changed interface.
8567 (initializeClass): Updated.
8568 (_Jv_LinkSymbolTable): Likewise.
8570 * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
8572 * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
8573 _Jv_isBinaryCompatible.
8574 * java/lang/natClass.cc (initializeClass): Use
8575 _Jv_isBinaryCompatible.
8576 (_Jv_LinkSymbolTable): Likewise.
8577 * include/jvm.h (_Jv_isBinaryCompatible): New function.
8579 2004-08-11 Tom Tromey <tromey@redhat.com>
8581 * gcj/javaprims.h: Regenerated.
8582 * java/lang/natClassLoader.cc (getClassLoader0): Removed.
8583 (_registerClass): Likewise.
8584 * Makefile.in: Rebuilt.
8585 * Makefile.am (core_java_source_files): Added VMCompiler.
8586 * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
8587 * java/lang/VMCompiler.java: New file.
8588 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
8590 (copyFile): Don't use fully-qualified name.
8592 * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
8593 (defineClass): Use VMCompiler.
8594 * java/lang/ClassLoader.java (defineClass): Removed jit
8595 compilation code and `verbose' code.
8596 (getClassLoader0): Removed.
8597 (_registerClass): Likewise.
8598 (SharedLibHelpers): Removed.
8600 2004-08-10 Tom Tromey <tromey@redhat.com>
8602 * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
8603 URL)): New constructor.
8604 (SoURLLoader): Likewise.
8605 (JarURLLoader): Create SoURLLoader with override URL.
8607 2004-08-10 Mark Wielaard <mark@klomp.org>
8609 * Makefile.in: Rebuilt.
8610 * Makefile.am (interpret.lo): New rule.
8612 2004-08-05 Andrew Haley <aph@redhat.com>
8614 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
8615 aside for "GCJLIBS" in directory where jarfiles are loaded.
8616 (JarURLLoader.getClass): New method.
8617 (JarURLLoader.toString): New method.
8618 (FileResource.toString): New method.
8619 * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
8620 Remove "Duplicate class registration: " bug.
8621 (_registerClass): New method.
8622 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
8623 (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
8625 (_Jv_LayoutClass): Use getSuperclass() rather than directly
8626 accessing the field.
8627 * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
8628 (defineClass): Call gcj to JIT-compile a class.
8629 (_registerClass): New method.
8630 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
8631 library name can refer to more than one loaded library, so use a
8632 Set of SharedLibHelpers.
8633 If a shared library is already loaded, take a copy.
8634 (copyFile): New function.
8636 * testsuite/libjava.compile/compile.exp: Force
8637 -findirect-dispatch.
8639 * java/security/BasicPermission.java: Remove bogus checks.
8641 * java/lang/System.java (getenv0): New method.
8642 * java/lang/natSystem.cc (getenv0): New method.
8644 2004-05-24 Andrew Haley <aph@redhat.com>
8646 * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
8648 2004-04-20 Bryce McKinlay <mckinlay@redhat.com>
8650 * Merged with HEAD as of 20040514. Diff against
8651 gcj-abi-2-merge-20040514.
8653 2004-04-16 Andrew Haley <aph@redhat.com>
8655 * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
8657 (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
8658 (_Jv_PrepareCompiledClass): If we throw an exception during
8659 preparation, restore state.
8660 (ClassLoader::getClassLoader0): New method.
8662 * java/lang/natClass.cc (get_alignment_from_class): Moved here
8664 (ALIGNOF): Use offsetof, not __alignof__.
8665 (_Jv_ResolveClassRef): Resolve a reference to a class in a
8667 (getInterfaces): Emit debug output if interface hasn't been
8669 (initializeClass): Call _Jv_LayoutClass.
8670 (_Jv_LinkSymbolTable): Add debugging output.
8671 (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
8673 (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
8674 (_Jv_LinkSymbolTable): Pass the real class loader to
8676 (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
8678 (_Jv_LinkSymbolTable): Assert if we find a static field reference
8679 to an interpreted class.
8680 (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
8682 (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
8685 * java/lang/VMSecurityManager.java: Check for the system class
8686 loader as well as loader != null.
8688 * java/lang/SecurityManager.java (checkPermission): Remove
8690 (checkRead): Likewise.
8691 (checkConnect): Likewise.
8693 * java/lang/ClassLoader.java (loadClass): Include all class
8694 loaders in stack trace string.
8695 Look for class in "gcjlib.so" in the same directory.
8696 (getSystemClassLoader) Use getClassLoader0.
8697 (getClassLoader0): New native method.
8699 * java/lang/Class.h (getSuperclass): New method.
8700 (getInterface): New method.
8701 (size): Lay out class if needed.
8702 (firstMethodIndex): New method.
8703 (Jv_ResolveClassRef): New declaration.
8704 (_Jv_LinkSymbolTable): New declaration.
8706 * java/io/ObjectOutputStream.java: Add DEBUG statements
8708 (dumpElementln): New method.
8710 * java/io/ObjectInputStream.java (MyIOException): new, for
8712 Everywhere: use MyIOException rather than IOException.
8713 Indent debugging output to make nesting visible.
8714 (currentClassLoader): Make native
8715 (callersClassLoader): New field.
8717 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
8720 (readObject): ENDBLOCKDATA is generated if the class has a write
8721 method, not if it has a read method.
8723 * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
8725 * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
8726 getContextClassLoader form the current thread after our own class
8729 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
8731 (toString): New method.
8733 * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
8736 * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
8737 a constant pool entry, resolve it now.
8738 (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
8740 Move get_alignment_from_class to natClass.cc.
8742 * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
8743 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8745 * defineclass.cc (checkExtends): Don't access superclass field
8748 * Makefile.in: regenerate.
8750 * gnu/gcj/util/natDebug.cc: New
8751 * gnu/gcj/util/Debug.java: New.
8753 * Makefile.am (java/io/ObjectInputStream.lo): Use
8754 -fno-optimize-sibling-calls.
8756 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8757 _Jv_LookupInterfaceMethodIdx to calculate the address of a method
8759 * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
8761 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
8763 * configure: Regenerate for libtool change.
8765 2004-11-24 Michael Koch <konqueror@gmx.de>
8767 * gnu/java/security/PolicyFile.java: New file.
8768 * Makefile.am: Added gnu/java/security/PolicyFile.java.
8769 * Makefile.in: Regenerated.
8771 2004-11-24 Michael Koch <konqueror@gmx.de>
8773 * java/lang/Character.java, scripts/unicode-blocks.pl:
8774 Reorder "final static" to "static final".
8776 2004-11-24 Michael Koch <konqueror@gmx.de>
8778 * java/util/ResourceBundle.java: Reformatted.
8779 (tryBundle): Fixed javadoc.
8781 2004-11-24 Jeroen Frijters <jeroen@frijters.net>
8783 * java/text/MessageFormat.java
8784 (formatInternal): Made private.
8786 2004-11-24 Michael Koch <konqueror@gmx.de>
8788 * java/nio/DirectByteBufferImpl.java
8789 (ReadWrite.ReadWrite): New constructor.
8790 (DirectByteBufferImpl): Likewise.
8791 * jni.cc (_Jv_JNI_NewDirectByteBuffer):
8792 Use DirectByteBufferImpl.ReadWrite.
8794 Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
8795 * Makefile.in: Rgenerated.
8797 2004-11-24 Jeroen Frijters <address@bogus.example.com>
8799 * java/nio/DirectByteBufferImpl.java
8800 (ReadOnly): New inner subclass.
8801 (ReadWrite): New inner subclass.
8802 (owner): Made final and private.
8803 (address): Made final.
8804 (DirectByteBufferImpl(int)): New constructor.
8805 (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
8806 (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
8807 (allocate): Modified to instantiate ReadWrite subclass.
8808 (finalize): Fixed to only free the buffer, if we own it.
8809 (put): Removed read-only check.
8810 (slice, duplicate): Modified to instantiate appropriate subclass.
8811 (isReadOnly): Removed.
8812 * java/nio/MappedByteBufferImpl.java
8813 (slice, duplicate): Modified to instantiate appropriate
8814 DirectByteBufferImpl subclass.
8816 2004-11-24 Michael Koch <konqueror@gmx.de>
8818 * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
8819 * java/nio/DirectByteBufferImpl.java:
8820 Moved native methods to java.nio.VMDirectByteBuffer class.
8821 * java/nio/MappedByteBufferImpl.java:
8822 Use native methods from java.nio.VMDirectByteBuffer class.
8823 * java/nio/VMDirectByteBuffer.java: New file,
8824 * java/nio/natDirectByteBufferImpl.cc:
8825 Moved all methods into java.nio.VMDirectByteBuffer class.
8826 * java/nio/channels/spi/AbstractSelectableChannel.java
8827 (register): Only re-use valid keys.
8828 * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
8829 * Makefile.in: Regenerated.
8831 2004-11-24 Michael Koch <konqueror@gmx.de>
8833 * java/nio/DirectByteBufferImpl.java,
8834 java/nio/MappedByteBufferImpl.java:
8837 2004-11-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8839 * testsuite/lib/libjava.exp,
8840 testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
8842 2004-11-23 Richard Sandiford <rsandifo@redhat.com>
8844 * configure.host: Enable the interpreter for mips*-*-linux*.
8846 2004-11-23 Michael Koch <konqueror@gmx.de>
8848 * java/lang/String.java (rehash): Removed.
8849 * java/lang/natString.cc (rehash): Made static.
8850 (_Jv_NewStringUtf8Const): Use static rehash method.
8852 2004-11-23 Michael Koch <konqueror@gmx.de>
8854 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
8855 include/Makefile.in, testsuite/Makefile.in: Regenerated.
8857 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
8860 * configure.ac (threading): Accept 'posix95'.
8861 * configure: Regenerate.
8863 2004-11-22 Michael Koch <konqueror@gmx.de>
8865 * gnu/java/nio/SocketChannelImpl.java
8866 (read): Made check for blocking un-ambiguous.
8867 Removed wrong check for data array length.
8869 2004-11-21 Michael Koch <konqueror@gmx.de>
8871 * gnu/java/nio/SocketChannelImpl.java
8872 (read): Only return 0 when no bytes for reading available in
8874 * java/nio/channels/SocketChannel.java:
8875 Added some missing @return tags.
8877 2004-11-21 Michael Koch <konqueror@gmx.de>
8879 * java/beans/PropertyChangeSupport.java
8880 (propertyChangeSupportSerializedDataVersion): Made static.
8881 * java/beans/VetoableChangeSupport.java
8882 (propertyChangeSupportSerializedDataVersion): Likewise.
8884 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
8886 * java/net/URLStreamHandler.java
8887 (parseURL): Fixed file path canonicalisation.
8889 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
8891 * java/net/URLStreamHandler.java
8892 (parseURL): Fixed file path canonicalisation.
8894 2004-11-18 Michael Koch <konqueror@gmx.de>
8896 * java/net/URLClassLoader.java: Whitespace cleanup.
8898 2004-11-18 Robert Schuster <address@bogus.example.com>
8900 Complete 1.4 support
8901 * java/beans/PropertyDescriptor.java:
8902 (setReadMethod): New method
8903 (setWriteMethod): New method
8904 (equals): Implemented (1.4)
8905 (checkMethods): operates on arguments now (private)
8908 2004-11-18 Mattias Rehnberg <Mattias.Rehnberg@home.se>
8910 * java/net/Inet6Address.java (getHostAddress): Fix textual
8911 representation of IPv6 address with embedded zeroes
8912 to conform to RFC 2373.
8914 2004-11-18 Jeroen Frijters <address@bogus.example.com>
8916 * java/lang/StackTraceElement.java: Made final.
8917 * java/nio/channels/Channels.java: Added private constructor.
8918 * java/rmi/Naming.java: Added private constructor.
8919 * java/rmi/registry/LocateRegistry.java: Added private constructor.
8920 * java/rmi/server/RMIClassLoader.java: Added private constructor.
8921 * java/security/KeyPairGeneratorSpi.java
8922 (clone): Made protected and simplified implementation.
8923 * java/text/DateFormat.java
8924 (allFields): Made package accessible.
8925 * java/text/DecimalFormat.java
8926 (formatInternal): Made private.
8927 * java/text/Format.java
8928 (formatInternal): Made private.
8929 * java/util/logging/Handler.java: Made constructor protected.
8930 * java/util/regex/Matcher.java: Made final.
8931 * java/util/regex/Pattern.java: Made final.
8932 * javax/crypto/CipherInputStream.java
8933 (mark): Corrected mark parameter type (from long to int).
8934 * javax/crypto/ExemptionMechanism.java
8936 * javax/crypto/Mac.java
8937 (getMacLength): Made final.
8938 (clone): Made final.
8939 * javax/imageio/ImageIO.java: Added private constructor.
8940 * javax/imageio/stream/ImageInputStreamImpl.java
8941 (checkClosed): Made final.
8942 * javax/net/ssl/SSLPermission.java: Made final.
8943 * javax/print/DocFlavor.java
8944 (hostEncoding): Added work-around to prevent the field from being
8945 a compile time constant.
8946 * javax/print/attribute/AttributeSetUtilities.java: Added private
8948 (UnmodifiableDocAttributeSet): Made private.
8949 (UnmodifiablePrintJobAttributeSet): Made private.
8950 (UnmodifiablePrintRequestAttributeSet): Made private.
8951 (UnmodifiablePrintServiceAttributeSet): Made private.
8952 (SynchronizedAttributeSet): Made private.
8953 (SynchronizedDocAttributeSet): Made private.
8954 (SynchronizedPrintJobAttributeSet): Made private.
8955 (SynchronizedPrintRequestAttributeSet): Made private.
8956 (SynchronizedPrintServiceAttributeSet): Made private.
8957 * javax/security/auth/PrivateCredentialPermission.java: Made final.
8959 2004-11-18 Craig Black <craig.black@aonix.com>
8961 * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
8963 2004-11-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
8965 * Makefile.am: Correct friend function declaration.
8966 * Makefile.in: Regenerated.
8967 * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
8968 scope to function names. Declare functions directly.
8969 * libjava/java/lang/Class.h
8970 (java::lang::Class): Correct friend class declaration.
8971 (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
8973 * libjava/java/lang/Class.h
8974 (java::lang::Object): Correct friend class declaration.
8976 2004-11-17 David Daney <ddaney@avtrex.com>
8978 * java/io/BufferedInputStream.java (skip): Return zero on EOF.
8980 2004-11-17 Michael Koch <konqueror@gmx.de>
8982 * java/net/Socket.java (getPort): Return 0 in error case.
8984 2004-11-17 Michael Koch <konqueror@gmx.de>
8986 * java/nio/DirectByteBufferImpl.java
8987 (owner): Updated comment.
8988 (allocate): New method.
8990 2004-11-17 Michael Koch <konqueror@gmx.de>
8992 * java/net/URL.java (URL): Handle case when argument is null.
8994 2004-11-17 Michael Koch <konqueror@gmx.de>
8996 * java/beans/Beans.java,
8997 java/beans/PropertyChangeEvent.java,
8998 java/beans/PropertyEditorSupport.java:
9001 2004-11-17 Michael Koch <konqueror@gmx.de>
9003 * java/util/Timer.java (DEFAULT_SIZE): Made static.
9005 2004-11-17 Michael Koch <konqueror@gmx.de>
9007 * java/net/InetAddress.java (getCanonicalHostName):
9008 Support IPv6 addresses.
9010 2004-11-16 Michael Koch <konqueror@gmx.de>
9012 * java/lang/Object.java: Added javadocs all over (merged from GNU
9015 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
9017 * java/security/Security.java (Security): Silence the warning about no
9018 providers found in the no debug case.
9020 2004-11-16 Michael Koch <konqueror@gmx.de>
9022 * java/net/InetAddress.java
9023 (toString): Merged from GNU classpath.
9025 2004-11-16 Michael Koch <konqueror@gmx.de>
9027 * java/awt/geom/doc-files/Area-1.png,
9028 java/awt/geom/doc-files/Ellipse-1.png,
9029 java/awt/geom/doc-files/GeneralPath-1.png:
9032 2004-11-16 Michael Koch <konqueror@gmx.de>
9034 * java/util/Currency.java (cache): Fix modifier order.
9036 2004-11-16 Michael Koch <konqueror@gmx.de>
9038 * java/io/BufferedReader.java,
9039 java/io/FileInputStream.java,
9040 java/io/FileOutputStream.java,
9041 java/io/FileWriter.java,
9042 java/io/OutputStreamWriter.java,
9043 java/io/PipedInputStream.java,
9044 java/io/PipedOutputStream.java,
9045 java/io/PipedReader.java,
9046 java/io/PipedWriter.java,
9047 java/io/PrintStream.java,
9048 java/io/PushbackInputStream.java,
9049 java/io/RandomAccessFile.java,
9050 java/io/Reader.java,
9051 java/io/StreamTokenizer.java,
9052 java/io/StringReader.java,
9053 java/net/NetworkInterface.java,
9054 java/net/URLClassLoader.java,
9055 java/nio/ByteOrder.java,
9056 java/nio/channels/Channel.java:
9057 Fixed javadocs all over.
9059 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
9061 * Makefile.am: Add imported files.
9062 * Makefile.in: Regenerate.
9064 2004-10-24 Casey Marshall <csm@gnu.org>
9066 * javax/security/auth/login/LoginContext.java: Implemented.
9067 * javax/security/auth/login/Configuration.java (getConfig): New method.
9068 * javax/security/auth/spi/LoginModule.java,
9069 * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
9071 2004-11-15 Andreas Tobler <a.tobler@schweiz.ch>
9073 Import/Merge the X.509 certificate code from Classpath.
9075 * Makefile.am: Add imported files.
9076 * Makefile.in: Regenerate.
9078 2004-11-07 Casey Marshall <csm@gnu.org>
9080 * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
9081 priviliged action. Add new algorithms.
9082 * gnu/java/security/provider/X509CertificateFactory.java
9083 (engineGenerateCertificate): Chain exceptions.
9084 (engineGenerateCertificates): Likewise.
9085 (engineGenerateCRL): Likewise.
9086 (engineGenerateCRLs): Likewise.
9087 (engineGenerateCertPath): New methods.
9088 (generateCert): Throw exception if 'inStream' is null.
9089 (generateCRL): Likewise.
9090 * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
9091 version from GNU Crypto CVS.
9092 * gnu/java/security/x509/X509CRL.java: Likewise.
9093 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
9094 * gnu/java/security/x509/X509Certificate.java: Likewise.
9095 * java/security/cert/TrustAnchor.java: Call 'toString' and not
9097 * gnu/java/security/provider/CollectionCertStoreImpl.java,
9098 * gnu/java/security/provider/EncodedKeyFactory.java,
9099 * gnu/java/security/provider/GnuDHPublicKey.java,
9100 * gnu/java/security/provider/GnuRSAPrivateKey.java,
9101 * gnu/java/security/provider/GnuRSAPublicKey.java,
9102 * gnu/java/security/provider/MD2withRSA.java,
9103 * gnu/java/security/provider/MD4withRSA.java,
9104 * gnu/java/security/provider/MD5withRSA.java,
9105 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
9106 * gnu/java/security/provider/RSA.java,
9107 * gnu/java/security/provider/RSAKeyFactory.java,
9108 * gnu/java/security/provider/SHA1withRSA.java,
9109 * gnu/java/security/x509/GnuPKIExtension.java,
9110 * gnu/java/security/x509/PolicyNodeImpl.java,
9111 * gnu/java/security/x509/Util.java,
9112 * gnu/java/security/x509/X509CRLSelectorImpl.java,
9113 * gnu/java/security/x509/X509CertPath.java,
9114 * gnu/java/security/x509/X509CertSelectorImpl.java,
9115 * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
9116 * gnu/java/security/x509/ext/BasicConstraints.java,
9117 * gnu/java/security/x509/ext/CRLNumber.java,
9118 * gnu/java/security/x509/ext/CertificatePolicies.java,
9119 * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
9120 * gnu/java/security/x509/ext/Extension.java,
9121 * gnu/java/security/x509/ext/GeneralNames.java,
9122 * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
9123 * gnu/java/security/x509/ext/KeyUsage.java,
9124 * gnu/java/security/x509/ext/PolicyConstraint.java,
9125 * gnu/java/security/x509/ext/PolicyMappings.java,
9126 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
9127 * gnu/java/security/x509/ext/ReasonCode.java,
9128 * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
9129 * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
9131 2004-11-07 Casey Marshall <csm@gnu.org>
9133 * gnu/java/security/x509/X509CRL.java:
9134 Missed import statements in previous checkin.
9136 2004-11-07 Casey Marshall <csm@gnu.org>
9138 * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
9139 to 'X509CertificateImpl' from previous checkin.
9141 2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
9144 * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
9146 2004-11-11 Casey Marshall <csm@gnu.org>
9148 * gnu/java/nio/FileLock.java (isValid): locks are valid if the
9150 * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
9151 'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
9153 2004-11-11 Robert Schuster <thebohemian@gmx.net>
9156 * gnu/java/beans/IntrospectionIncubator.java:
9157 (addMethod): Corrected classification of normal and property methods.
9158 (capitalize): Added documentation.
9159 (DoubleKey): [class] Added documentation.
9161 2004-11-09 Tom Tromey <tromey@redhat.com>
9163 * include/jni.h: Added FIXME.
9165 2004-11-08 Tom Tromey <tromey@redhat.com>
9167 * java/util/GregorianCalendar.java: Removed unused imports.
9168 * java/util/Vector.java: Removed unused import.
9170 2004-11-07 Michael Koch <konqueror@gmx.de>
9172 * java/lang/Process.java:
9175 2004-11-07 Jeroen Frijters <jeroen@frijters.net>
9177 * java/util/zip/ZipEntry.java
9178 (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
9180 2004-11-07 Robert Schuster <theBohemian@gmx.net>
9183 * gnu/java/beans/IntrospectionIncubator.java:
9184 (addMethod): static methods are discarded now, too.
9186 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
9188 * java/util/GregorianCalendar.java
9189 Added/amended documentation.
9191 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
9193 * java/util/Collections.java
9194 Added documentation.
9195 * java/util/SortedMap.java
9196 Clarified some method examples.
9197 * java/util/SortedSet.java
9198 Clarified some method examples.
9200 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
9202 * java/util/Currency.java
9203 Documented variables and methods more fully.
9204 Caches the currency instances, so that a request
9205 for a locale, l, only ever returns the same
9206 instance (i.e. successive calls to getInstance(l)
9207 are reference equivalent (==)).
9209 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
9211 * java/util/Date.java
9212 Added missing documentation.
9214 2004-11-06 Michael Koch <konqueror@gmx.de>
9216 * java/util/zip/CheckedInputStream.java,
9217 java/util/zip/InflaterInputStream.java,
9218 java/util/zip/ZipFile.java,
9219 java/util/zip/ZipInputStream.java:
9222 2004-11-06 Tom Tromey <tromey@redhat.com>
9224 * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
9226 (connections): Likewise.
9227 (scavenger): Likewise.
9228 * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
9230 * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
9233 * gnu/classpath/ServiceFactory.java (log): Now package-private.
9235 2004-11-06 Tom Tromey <tromey@redhat.com>
9237 * javax/naming/directory/BasicAttributes.java (attributes): Now
9239 * javax/imageio/spi/ServiceRegistry.java (categories): Now
9242 2004-11-06 Tom Tromey <tromey@redhat.com>
9244 * java/net/URLClassLoader.java (URLClassLoader): Now
9246 * java/nio/charset/CoderResult.java (CoderResult): Now
9249 (Cache): Likewise. Don't synchronize on `this'.
9250 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
9252 * java/util/TimeZone.java (timezones): Now package-private.
9254 2004-11-06 Tom Tromey <tromey@redhat.com>
9256 * java/security/Permissions.java (perms): Now package-private.
9257 * java/security/UnresolvedPermission.java (permissions): Now
9260 2004-11-06 Tom Tromey <tromey@redhat.com>
9262 * java/io/FilePermission.java: Reindented.
9264 2004-11-06 Tom Tromey <tromey@redhat.com>
9266 * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
9268 (setBlockDataMode): Likewise.
9270 2004-11-06 Tom Tromey <tromey@redhat.com>
9272 * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
9274 (Encoder): Likewise.
9275 * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
9276 (Encoder): Likewise.
9277 * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
9279 (Encoder): Likewise.
9281 2004-11-06 Mark Wielaard <mark@klomp.org>
9283 * Makefile.am: Add new javax.imageio files.
9284 * Makefile.in: Regenerated.
9286 2004-11-06 Michael Koch <konqueror@gmx.de>
9288 * javax/imageio/event/IIOReadProgressListener.java,
9289 javax/imageio/event/IIOReadUpdateListener.java,
9290 javax/imageio/event/IIOReadWarningListener.java,
9291 javax/imageio/event/IIOWriteProgressListener.java,
9292 javax/imageio/event/IIOWriteWarningListener.java,
9293 javax/imageio/metadata/IIOMetadataFormat.java,
9294 javax/imageio/stream/FileCacheImageInputStream.java,
9295 javax/imageio/stream/FileCacheImageOutputStream.java,
9296 javax/imageio/stream/ImageInputStreamImpl.java:
9298 * javax/imageio/metadata/package.html: New file.
9300 2004-11-06 Michael Koch <konqueror@gmx.de>
9302 * javax/imageio/spi/ImageReaderSpi.java
9303 (isOwnReader): New method.
9304 * javax/imageio/spi/ImageWriterSpi.java
9305 (isOwnWriter): Likewise.
9307 2004-11-06 Michael Koch <konqueror@gmx.de>
9309 * javax/imageio/ImageWriter.java
9310 (convertImageMetadata): New abstract method.
9311 (convertStreamMetadata): Likewise.
9313 * javax/imageio/stream/FileCacheImageInputStream.java
9314 (close): Fixed setting of stream to null.
9315 (checkStreamClosed): Throws IOException.
9317 2004-11-06 Michael Koch <konqueror@gmx.de>
9319 * javax/imageio/stream/FileCacheImageInputStream.java,
9320 javax/imageio/stream/FileCacheImageOutputStream.java,
9321 javax/imageio/stream/FileImageInputStream.java,
9322 javax/imageio/stream/FileImageOutputStream.java,
9323 javax/imageio/stream/MemoryCacheImageInputStream.java,
9324 javax/imageio/stream/MemoryCacheImageOutputStream.java:
9327 2004-11-06 Michael Koch <konqueror@gmx.de>
9329 * javax/imageio/metadata/IIOInvalidTreeException.java,
9330 javax/imageio/metadata/IIOMetadataFormatImpl.java,
9331 javax/imageio/metadata/IIOMetadataNode.java:
9334 2004-11-06 Michael Koch <konqueror@gmx.de>
9336 * javax/imageio/stream/ImageInputStreamImpl.java,
9337 javax/imageio/stream/ImageOutputStreamImpl.java:
9340 2004-11-06 Michael Koch <konqueror@gmx.de>
9342 * javax/imageio/ImageIO.java:
9343 Added much new methods.
9345 2004-11-06 Michael Koch <konqueror@gmx.de>
9347 * javax/imageio/ImageReader.java,
9348 javax/imageio/ImageWriter.java,
9349 javax/imageio/spi/ImageWriterSpi.java:
9350 Add SOME new methods.
9352 2004-11-06 Michael Koch <konqueror@gmx.de>
9354 * javax/imageio/IIOParam.java,
9355 javax/imageio/ImageReadParam.java,
9356 javax/imageio/ImageReader.java,
9357 javax/imageio/ImageWriter.java:
9359 * javax/imageio/spi/ImageReaderSpi.java,
9360 javax/imageio/spi/ImageWriterSpi.java:
9363 2004-11-06 Michael Koch <konqueror@gmx.de>
9365 * javax/imageio/ImageWriteParam.java,
9366 javax/imageio/metadata/IIOMetadataFormat.java:
9369 2004-11-06 Michael Koch <konqueror@gmx.de>
9371 * javax/imageio/ImageTypeSpecifier.java:
9374 2004-11-06 Michael Koch <konqueror@gmx.de>
9376 * javax/imageio/metadata/IIOMetadata.java:
9379 2004-11-06 Michael Koch <konqueror@gmx.de>
9381 * javax/imageio/IIOImage.java,
9382 javax/imageio/ImageReadParam.java,
9383 javax/imageio/metadata/IIOMetadataController.java,
9384 javax/imageio/metadata/IIOMetadataFormat.java:
9386 * javax/imageio/stream/ImageOutputStream.java:
9389 2004-11-06 Michael Koch <konqueror@gmx.de>
9391 * javax/imageio/IIOParam.java,
9392 javax/imageio/IIOParamController.java,
9393 javax/imageio/ImageTypeSpecifier.java,
9394 javax/imageio/ImageWriteParam.java,
9395 javax/imageio/metadata/IIOMetadata.java:
9397 * javax/imageio/ImageTranscoder.java:
9400 2004-11-06 Michael Koch <konqueror@gmx.de>
9402 * javax/imageio/spi/ImageInputStreamSpi.java,
9403 javax/imageio/spi/ImageOutputStreamSpi.java:
9404 Reworked import startments.
9405 * javax/imageio/spi/ServiceRegistry.java:
9406 Reworked import startments. Fixed XHTML in javadocs.
9407 (ServiceRegistry): Added @param tag to javadoc.
9408 * javax/imageio/stream/ImageInputStream.java
9409 (mark): Doesn't throws IOException;
9411 2004-11-06 Michael Koch <konqueror@gmx.de>
9413 * javax/imageio/ImageIO.java:
9416 2004-11-06 Michael Koch <konqueror@gmx.de>
9418 * javax/imageio/spi/IIORegistry.java
9419 (static): Don't register ImageReaderSpi.class and
9420 ImageWriterSpi.class yet.
9422 2004-11-06 Michael Koch <konqueror@gmx.de>
9424 * javax/imageio/spi/IIORegistry.java:
9427 2004-11-06 Noa Resare <noa@resare.com>
9429 * java/net/Socket.java (getPort): Return 0 instead of -1 on
9430 unconnected sockets.
9432 2004-11-06 Michael Koch <konqueror@gmx.de>
9434 * java/lang/StringBuffer.java,
9435 java/lang/Throwable.java,
9436 java/security/spec/DSAParameterSpec.java,
9437 java/util/zip/ZipEntry.java,
9438 java/util/zip/ZipFile.java,
9439 java/util/zip/ZipInputStream.java,
9440 java/util/zip/ZipOutputStream.java:
9441 Removed redundant and reordered modifiers.
9443 2004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se>
9445 * java/io/Vector.java
9446 (writeObject): New function to serialized output thread safe.
9448 * java/io/ObjectOutputStream.java
9449 (writeObject): Move the assignment of the class handle to after
9450 the assignment of class descriptor handle.
9452 2004-11-06 Robert Schuster <thebohemian@gmx.net>
9454 Fixes documentation and indentation
9455 * java/beans/PropertyEditorSupport.java:
9456 reworked initial API doc
9457 (value): changed name from val
9459 2004-11-06 Robert Schuster <thebohemian@gmx.net>
9462 * java/beans/PropertyEditorSupport.java
9463 (PropertyEditorSupport()): Changed modifier to public
9464 (PropertyEditorSupport(Object): Changed modifier to public
9465 (setSource): New method
9466 (getSource): New method
9468 2004-11-06 Robert Schuster <thebohemian@gmx.net>
9471 * java/beans/PropertyEditorSupport.java
9472 (setValue): Fire property change event
9474 2004-11-03 Tom Tromey <tromey@redhat.com>
9476 * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
9477 * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
9478 returns jobjectArray.
9479 (_Jv_JNIEnv::NewObjectArray): Likewise.
9481 2004-11-01 Tom Tromey <tromey@redhat.com>
9483 * verify.cc (state::check_no_uninitialized_objects): Removed.
9484 (push_jump): Updated.
9485 (push_exception_jump): Likewise.
9486 (handle_ret_insn): Likewise.
9487 (handle_jsr_insn): Likewise.
9489 2004-10-30 Mark Wielaard <mark@klomp.org>
9492 * java/lang/Runtime.java (static): Call init().
9493 (Runtime): Remove call to init().
9494 (init): Make static.
9496 2004-10-28 David Daney <ddaney@avtrex.com>
9498 * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
9499 * Makefile.am: Build it.
9500 * Makefile.in: Regenerate.
9502 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
9505 * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
9507 * Makefile.in: Regenerate.
9508 * configure: Regenerate.
9509 * configure.ac (CLASSPATH_SEPARATOR): Define.
9510 * gcj/Makefile.in: Regenerate.
9511 * include/Makefile.in: Regenerate.
9512 * testsuite/Makefile.in: Regenerate.
9513 * testsuite/lib/libjava.exp (libjava_arguments): Fix
9514 CLASSPATH separator handling for Windows.
9516 2004-10-26 Michael Koch <konqueror@gmx.de>
9518 * gnu/java/net/protocol/http/Connection.java
9519 (getOutputStream): Implicitely switch to POST method.
9521 2004-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
9523 * libjava/java/lang/Class.h
9524 (java::lang::Class): Correct friend class declaration.
9526 2004-10-25 Geoffrey Keating <geoffk@apple.com>
9528 * Makefile.am (DARWIN_CRT_SRC): New.
9529 (libgcj_la_SOURCES): Use it.
9530 * configure.ac: Define USING_DARWIN_CRT when on Darwin.
9531 * darwin.cc: New file.
9532 * include/jvm.h (_Jv_RegisterClasses): Constify.
9533 (_Jv_RegisterClasses_Counted): New prototype.
9534 * java/lang/Class.h: Include stddef.h.
9535 (_Jv_RegisterClasses): Constify.
9536 (_Jv_RegisterClasses_Counted): New prototype.
9537 (Object): Make '_Jv_RegisterClasses_Counted' a friend.
9538 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
9539 (_Jv_RegisterClasses_Counted): New function.
9540 * configure: Regenerate.
9541 * Makefile.in: Regenerate.
9542 * gcj/Makefile.in: Regenerate.
9543 * include/Makefile.in: Regenerate.
9544 * testsuite/Makefile.in: Regenerate.
9546 2004-10-25 Tom Tromey <tromey@redhat.com>
9548 * java/util/ResourceBundle.java (tryBundle): Use
9549 Class.isAssignableFrom rather than catching ClassCastException.
9551 2004-10-25 Tom Tromey <tromey@redhat.com>
9553 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
9555 * gnu/java/text/SentenceBreakIterator.java
9556 (SentenceBreakIterator): Don't initialize `iter'.
9557 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
9559 * gnu/java/text/CharacterBreakIterator.java
9560 (CharacterBreakIterator): Don't initialize `iter'.
9561 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
9563 * java/text/BreakIterator.java: Updated documentation.
9565 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
9568 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
9570 2004-10-23 Michael Koch <konqueror@gmx.de>
9572 * javax/print/DocFlavor.java,
9573 javax/print/attribute/standard/JobStateReason.java,
9574 javax/print/attribute/standard/MultipleDocumentHandling.java:
9575 Added missing constants.
9577 2004-10-22 Tom Tromey <tromey@redhat.com>
9579 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
9582 2004-10-22 Michael Koch <konqueror@gmx.de>
9585 * gnu/java/net/protocol/http/Connection.java
9586 (sendRequest): Handle case when url.getFile() returns an empty string.
9588 2004-10-22 Michael Koch <konqueror@gmx.de>
9590 * java/lang/Math.java,
9591 java/lang/StackTraceElement.java,
9592 java/nio/Buffer.java,
9593 java/nio/ByteBuffer.java,
9594 java/nio/CharBuffer.java,
9595 java/nio/DoubleBuffer.java,
9596 java/nio/FloatBuffer.java,
9597 java/nio/IntBuffer.java,
9598 java/nio/LongBuffer.java,
9599 java/nio/ShortBuffer.java,
9600 java/nio/charset/Charset.java,
9601 java/rmi/server/RMIClassLoader.java,
9602 java/rmi/server/RMISocketFactory.java,
9603 java/security/Policy.java,
9604 java/text/ChoiceFormat.java,
9605 java/text/CollationElementIterator.java,
9606 java/text/DateFormat.java,
9607 java/text/DecimalFormat.java,
9608 java/text/DecimalFormatSymbols.java,
9609 java/text/MessageFormat.java,
9610 java/text/NumberFormat.java,
9611 java/text/RuleBasedCollator.java,
9612 java/text/SimpleDateFormat.java,
9613 java/util/BitSet.java,
9614 java/util/Calendar.java,
9615 java/util/Collections.java,
9616 java/util/IdentityHashMap.java,
9617 java/util/Locale.java,
9618 java/util/TreeMap.java,
9619 java/util/logging/LogRecord.java,
9620 java/util/logging/XMLFormatter.java,
9621 java/util/prefs/AbstractPreferences.java,
9622 java/util/prefs/Preferences.java,
9623 javax/crypto/interfaces/DHPrivateKey.java,
9624 javax/crypto/interfaces/DHPublicKey.java,
9625 javax/crypto/interfaces/PBEKey.java,
9626 javax/net/ssl/HandshakeCompletedEvent.java,
9627 javax/security/auth/Subject.java:
9628 Removed redundant and reordered modifiers.
9630 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
9632 * gnu/java/net/natPlainSocketImplPosix.cc
9633 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
9634 with 'int *' argument instead of 'long *'.
9636 2004-10-21 Michael Koch <konqueror@gmx.de>
9638 * java/net/NetworkInterface.java,
9639 java/text/Format.java,
9640 javax/security/auth/x500/X500Principal.java,
9641 javax/security/auth/x500/X500PrivateCredential.java,
9642 javax/security/cert/X509CertBridge.java,
9643 javax/security/sasl/Sasl.java,
9644 javax/sql/XAConnection.java:
9647 2004-10-21 Michael Koch <konqueror@gmx.de>
9649 * javax/net/ssl/HandshakeCompletedEvent.java,
9650 javax/net/ssl/KeyManagerFactory.java,
9651 javax/net/ssl/SSLContext.java,
9652 javax/net/ssl/SSLServerSocketFactory.java,
9653 javax/net/ssl/SSLSession.java,
9654 javax/net/ssl/SSLSocketFactory.java,
9655 javax/net/ssl/TrustManagerFactory.java:
9658 2004-10-21 Michael Koch <konqueror@gmx.de>
9660 * javax/naming/directory/BasicAttribute.java,
9661 javax/naming/directory/BasicAttributes.java,
9662 javax/naming/directory/InitialDirContext.java,
9663 javax/naming/event/NamingEvent.java,
9664 javax/naming/ldap/ControlFactory.java,
9665 javax/naming/ldap/ExtendedRequest.java,
9666 javax/naming/ldap/InitialLdapContext.java,
9667 javax/naming/ldap/LdapReferralException.java,
9668 javax/naming/spi/DirObjectFactory.java,
9669 javax/naming/spi/DirStateFactory.java,
9670 javax/naming/spi/DirectoryManager.java,
9671 javax/naming/spi/InitialContextFactory.java,
9672 javax/naming/spi/InitialContextFactoryBuilder.java,
9673 javax/naming/spi/NamingManager.java,
9674 javax/naming/spi/ObjectFactory.java,
9675 javax/naming/spi/ObjectFactoryBuilder.java,
9676 javax/naming/spi/StateFactory.java:
9679 2004-10-21 Michael Koch <konqueror@gmx.de>
9681 * javax/crypto/Cipher.java,
9682 javax/crypto/EncryptedPrivateKeyInfo.java,
9683 javax/crypto/ExemptionMechanism.java,
9684 javax/crypto/KeyAgreement.java,
9685 javax/crypto/KeyGenerator.java,
9686 javax/crypto/Mac.java,
9687 javax/crypto/SecretKeyFactory.java,
9688 javax/crypto/SecretKeyFactorySpi.java,
9689 javax/crypto/spec/SecretKeySpec.java:
9692 2004-10-21 Michael Koch <konqueror@gmx.de>
9694 * java/security/AlgorithmParameterGenerator.java,
9695 java/security/AlgorithmParameters.java,
9696 java/security/AlgorithmParametersSpi.java,
9697 java/security/AllPermission.java,
9698 java/security/BasicPermission.java,
9699 java/security/Certificate.java,
9700 java/security/CodeSource.java,
9701 java/security/DigestInputStream.java,
9702 java/security/DigestOutputStream.java,
9703 java/security/GuardedObject.java,
9704 java/security/KeyFactory.java,
9705 java/security/KeyFactorySpi.java,
9706 java/security/KeyPairGenerator.java,
9707 java/security/KeyStore.java,
9708 java/security/KeyStoreSpi.java,
9709 java/security/Permissions.java,
9710 java/security/Security.java,
9711 java/security/Signature.java,
9712 java/security/UnresolvedPermission.java,
9713 java/security/cert/CertPathBuilder.java,
9714 java/security/cert/CertPathValidator.java,
9715 java/security/cert/CertStore.java,
9716 java/security/cert/Certificate.java,
9717 java/security/cert/CertificateFactory.java,
9718 java/security/cert/PolicyQualifierInfo.java,
9719 java/security/cert/TrustAnchor.java,
9720 java/security/cert/X509CRL.java,
9721 java/security/cert/X509CRLSelector.java,
9722 java/security/cert/X509CertSelector.java:
9725 2004-10-21 Michael Koch <konqueror@gmx.de>
9727 * java/rmi/MarshalledObject.java,
9728 java/rmi/Naming.java,
9729 java/rmi/activation/Activatable.java,
9730 java/rmi/activation/ActivationGroup.java,
9731 java/rmi/activation/ActivationGroupDesc.java,
9732 java/rmi/activation/ActivationInstantiator.java,
9733 java/rmi/activation/ActivationMonitor.java,
9734 java/rmi/activation/ActivationSystem.java,
9735 java/rmi/activation/Activator.java,
9736 java/rmi/registry/LocateRegistry.java,
9737 java/rmi/registry/Registry.java,
9738 java/rmi/server/LogStream.java,
9739 java/rmi/server/ObjID.java,
9740 java/rmi/server/RMIClientSocketFactory.java,
9741 java/rmi/server/RMIServerSocketFactory.java,
9742 java/rmi/server/RMISocketFactory.java,
9743 java/rmi/server/RemoteCall.java,
9744 java/rmi/server/RemoteServer.java,
9745 java/rmi/server/ServerRef.java,
9746 java/rmi/server/UID.java,
9747 java/rmi/server/UnicastRemoteObject.java:
9750 2004-10-21 Tom Tromey <tromey@redhat.com>
9752 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
9753 exception if we hit EOF of `in'.
9754 (read): Handle case where inflating returns -1.
9756 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
9758 * gnu/java/nio/channels/natFileChannelPosix.cc
9759 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
9760 argument instead of 'long *'.
9762 2004-10-21 Tom Tromey <tromey@redhat.com>
9764 * java/util/ResourceBundle.java (tryBundle): Also ignore
9767 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
9769 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
9770 for all sh*-*-linux* targets.
9771 * configure: Regenerate.
9772 * include/sh-signal.h: New file.
9774 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
9776 * java/lang/ieeefp.h: Add m32r support.
9778 2004-10-20 Andreas Schwab <schwab@suse.de>
9780 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
9782 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
9785 2004-10-20 Michael Koch <konqueror@gmx.de>
9787 * javax/print/attribute/standard/ColorSupported.java,
9788 javax/print/attribute/standard/Compression.java,
9789 javax/print/attribute/standard/Copies.java,
9790 javax/print/attribute/standard/CopiesSupported.java,
9791 javax/print/attribute/standard/DateTimeAtCompleted.java,
9792 javax/print/attribute/standard/DateTimeAtCreation.java,
9793 javax/print/attribute/standard/DateTimeAtProcessing.java,
9794 javax/print/attribute/standard/DocumentName.java,
9795 javax/print/attribute/standard/Fidelity.java,
9796 javax/print/attribute/standard/Finishings.java,
9797 javax/print/attribute/standard/JobHoldUntil.java,
9798 javax/print/attribute/standard/JobImpressions.java,
9799 javax/print/attribute/standard/JobImpressionsCompleted.java,
9800 javax/print/attribute/standard/JobImpressionsSupported.java,
9801 javax/print/attribute/standard/JobKOctets.java,
9802 javax/print/attribute/standard/JobKOctetsProcessed.java,
9803 javax/print/attribute/standard/JobKOctetsSupported.java,
9804 javax/print/attribute/standard/JobMediaSheets.java,
9805 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
9806 javax/print/attribute/standard/JobMediaSheetsSupported.java,
9807 javax/print/attribute/standard/JobMessageFromOperator.java,
9808 javax/print/attribute/standard/JobName.java,
9809 javax/print/attribute/standard/JobOriginatingUserName.java,
9810 javax/print/attribute/standard/JobPriority.java,
9811 javax/print/attribute/standard/JobPrioritySupported.java,
9812 javax/print/attribute/standard/JobSheets.java,
9813 javax/print/attribute/standard/JobState.java,
9814 javax/print/attribute/standard/JobStateReason.java,
9815 javax/print/attribute/standard/JobStateReasons.java,
9816 javax/print/attribute/standard/Media.java,
9817 javax/print/attribute/standard/MultipleDocumentHandling.java,
9818 javax/print/attribute/standard/NumberOfDocuments.java,
9819 javax/print/attribute/standard/NumberOfInterveningJobs.java,
9820 javax/print/attribute/standard/NumberUp.java,
9821 javax/print/attribute/standard/NumberUpSupported.java,
9822 javax/print/attribute/standard/OrientationRequested.java,
9823 javax/print/attribute/standard/OutputDeviceAssigned.java,
9824 javax/print/attribute/standard/PDLOverrideSupported.java,
9825 javax/print/attribute/standard/PageRanges.java,
9826 javax/print/attribute/standard/PagesPerMinute.java,
9827 javax/print/attribute/standard/PagesPerMinuteColor.java,
9828 javax/print/attribute/standard/PrintQuality.java,
9829 javax/print/attribute/standard/PrinterInfo.java,
9830 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
9831 javax/print/attribute/standard/PrinterLocation.java,
9832 javax/print/attribute/standard/PrinterMakeAndModel.java,
9833 javax/print/attribute/standard/PrinterMessageFromOperator.java,
9834 javax/print/attribute/standard/PrinterMoreInfo.java,
9835 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
9836 javax/print/attribute/standard/PrinterName.java,
9837 javax/print/attribute/standard/PrinterStateReason.java,
9838 javax/print/attribute/standard/PrinterStateReasons.java,
9839 javax/print/attribute/standard/PrinterURI.java,
9840 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
9841 javax/print/attribute/standard/RequestingUserName.java:
9842 Reorganized imports and removed redundant final modifiers.
9844 2004-10-20 Michael Koch <konqueror@gmx.de>
9846 * javax/security/sasl/SaslClient.java,
9847 javax/security/sasl/SaslClientFactory.java,
9848 javax/security/sasl/SaslException.java,
9849 javax/security/sasl/SaslServer.java,
9850 javax/security/sasl/SaslServerFactory.java:
9853 2004-10-20 Michael Koch <konqueror@gmx.de>
9855 * javax/security/auth/login/NullConfiguration.java,
9856 javax/security/auth/x500/X500Principal.java,
9857 javax/security/cert/X509Certificate.java,
9858 javax/security/sasl/AuthenticationException.java,
9859 javax/security/sasl/AuthorizeCallback.java,
9860 javax/security/sasl/RealmCallback.java,
9861 javax/security/sasl/RealmChoiceCallback.java,
9862 javax/security/sasl/Sasl.java,
9863 javax/security/sasl/SaslClient.java,
9864 javax/security/sasl/SaslClientFactory.java,
9865 javax/security/sasl/SaslException.java,
9866 javax/security/sasl/SaslServer.java,
9867 javax/security/sasl/SaslServerFactory.java:
9868 Cleaned up import statements and copyright notices.
9870 2004-10-20 Michael Koch <konqueror@gmx.de>
9872 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
9874 2004-10-20 Michael Koch <konqueror@gmx.de>
9876 * java/sql/Timestamp.java,
9877 java/text/AttributedCharacterIterator.java,
9878 java/text/AttributedString.java,
9879 java/util/zip/CheckedOutputStream.java,
9880 java/util/zip/DeflaterOutputStream.java,
9881 java/util/zip/ZipFile.java,
9882 javax/crypto/Cipher.java,
9883 javax/crypto/ExemptionMechanismException.java,
9884 javax/crypto/SecretKey.java,
9885 javax/crypto/SecretKeyFactory.java,
9886 javax/naming/directory/ModificationItem.java,
9887 javax/naming/directory/SearchControls.java,
9888 javax/naming/event/NamingListener.java,
9889 javax/naming/ldap/Control.java,
9890 javax/naming/ldap/ExtendedResponse.java,
9891 javax/net/ssl/SSLSocketFactory.java:
9892 Reorganized imports and fixed copyright headers.
9894 2004-10-20 Michael Koch <konqueror@gmx.de>
9896 * java/util/logging/ConsoleHandler.java,
9897 java/util/logging/ErrorManager.java,
9898 java/util/logging/FileHandler.java,
9899 java/util/logging/Filter.java,
9900 java/util/logging/Formatter.java,
9901 java/util/logging/Handler.java,
9902 java/util/logging/Level.java,
9903 java/util/logging/LogManager.java,
9904 java/util/logging/LogRecord.java,
9905 java/util/logging/Logger.java,
9906 java/util/logging/LoggingPermission.java,
9907 java/util/logging/MemoryHandler.java,
9908 java/util/logging/SimpleFormatter.java,
9909 java/util/logging/SocketHandler.java,
9910 java/util/logging/StreamHandler.java,
9911 java/util/logging/XMLFormatter.java:
9912 Standardized copyrigth header.
9914 2004-10-20 Michael Koch <konqueror@gmx.de>
9916 * java/security/AlgorithmParameterGenerator.java,
9917 java/security/AlgorithmParameters.java,
9918 java/security/DigestInputStream.java,
9919 java/security/Identity.java,
9920 java/security/KeyFactory.java,
9921 java/security/KeyPairGenerator.java,
9922 java/security/KeyStore.java,
9923 java/security/MessageDigest.java,
9924 java/security/MessageDigestSpi.java,
9925 java/security/Policy.java,
9926 java/security/SecureRandom.java,
9927 java/security/Security.java,
9928 java/security/Signature.java,
9929 java/security/SignatureSpi.java,
9930 java/security/cert/CertPathBuilder.java,
9931 java/security/cert/CertPathValidator.java,
9932 java/security/cert/CertStore.java,
9933 java/security/cert/Certificate.java,
9934 java/security/cert/CertificateFactory.java,
9935 java/security/cert/PolicyQualifierInfo.java,
9936 java/security/cert/TrustAnchor.java,
9937 java/security/cert/X509CRL.java,
9938 java/security/cert/X509CRLEntry.java,
9939 java/security/cert/X509Certificate.java,
9940 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
9941 Import statements reorganized, some little formatting issues,
9942 used java-style array declarations, added comments in empty catch
9945 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
9947 * java/security/Security.java
9948 (static): Use AccessController.doPrivileged to get system property.
9950 2004-10-18 Sven de Marothy <sven@physto.se>
9952 * java/nio/ByteBufferHelper.java
9953 (putDouble): Use Double.toRawLongBits instead.
9955 2004-10-18 Mark Wielaard <mark@klomp.org>
9956 Andrew Haley <aph@redhat.com>
9958 * testsuite/libjava.lang/ExtraClassLoader.java: New.
9960 2004-10-18 Andrew Haley <aph@redhat.com>
9963 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
9964 and correct logic used to find interpreter.
9966 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
9968 * java/util/logging/LogManager.java
9969 (findAncestor): Fixed IndexOutOfBoundsException.
9971 2004-10-18 Michael Koch <konqueror@gmx.de>
9973 * java/io/BufferedInputStream.java: Fixed @author tag.
9974 (read): Simplified expression.
9975 (read): Merged javadoc a bit more.
9976 (read): Renamed 'remain' to 'totalBytesRead'.
9977 * java/io/DataInputStream.java,
9978 java/io/DataOutputStream.java,
9979 java/io/ObjectInputStream.java,
9980 java/io/ObjectOutputStream.java:
9981 Reworked modifier order.
9983 2004-10-18 Michael Koch <konqueror@gmx.de>
9985 * java/net/Inet4Address.java: Merged file header and javadocs.
9986 * java/net/Inet6Address.java: Likewise.
9987 * java/net/InetAddress.java
9988 (getCanonicalHostName): Create Inet4Address object instead of
9989 InetAddress and add comment regarding IPv6.
9990 (toString): Simplified.
9992 2004-10-18 Michael Koch <konqueror@gmx.de>
9994 * gnu/java/net/protocol/http/Connection.java,
9995 java/nio/MappedByteBufferImpl.java,
9996 java/text/RuleBasedCollator.java,
9997 java/util/ResourceBundle.java:
9998 Reworked import statements.
10000 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
10002 * java/security/IdentityScope.java
10003 (systemScope): Removed useless initializer.
10004 * java/security/Policy.java
10005 (currentPolicy): Likewise.
10007 2004-10-18 Michael Koch <konqueror@gmx.de>
10009 * java/lang/System.java: Revert accidential change.
10011 2004-10-18 Michael Koch <konqueror@gmx.de>
10013 * java/lang/Math.java,
10014 java/lang/Package.java,
10015 java/lang/Runtime.java,
10016 java/lang/StrictMath.java,
10017 java/lang/System.java,
10018 java/lang/Thread.java,
10019 java/lang/ThreadLocal.java,
10020 java/lang/Void.java:
10021 Reworked import statements, HTML in javadocs and modifier orders.
10023 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
10025 * java/util/Timer.java
10026 (nr): Removed useless initializer.
10027 * java/util/logging/LogRecord.java
10028 (lastSeqNum): Likewise.
10029 * javax/naming/spi/NamingManager.java
10030 (icfb, ofb): Likewise.
10032 2004-10-18 Michael Koch <konqueror@gmx.de>
10034 * gnu/java/net/PlainDatagramSocketImpl.java:
10035 Reworked import statements.
10036 * gnu/java/security/provider/DSAParameters.java:
10037 Fixed copyrigth years.
10038 * java/net/JarURLConnection.java:
10039 Fixed HTML in @author tags.
10042 2004-10-18 Michael Koch <konqueror@gmx.de>
10044 * java/rmi/activation/ActivationSystem.java
10045 (SYSTEM_PORT): Initialize with correct port number.
10047 2004-10-18 Michael Koch <konqueror@gmx.de>
10049 * java/lang/reflect/Proxy.java: Improved javadocs.
10051 2004-10-18 Michael Koch <konqueror@gmx.de>
10053 * java/lang/reflect/AccessibleObject.java
10054 (checkPermission): Removed redundant final modifier.
10055 (secureSetAccessible): Likewise.
10056 * java/lang/reflect/Proxy.java:
10057 Reworked import statements.
10058 (generate): Removed redundant final modifier.
10059 * java/lang/reflect/ReflectPermission.java:
10060 Reorder package declaration and import statement.
10062 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
10064 * java/lang/reflect/Proxy.java
10065 (count): Removed useless initializer.
10067 2004-10-17 Michael Koch <konqueror@gmx.de>
10069 * java/net/BindException.java,
10070 java/net/ConnectException.java,
10071 java/net/ContentHandler.java,
10072 java/net/ContentHandlerFactory.java,
10073 java/net/DatagramPacket.java,
10074 java/net/DatagramSocket.java,
10075 java/net/DatagramSocketImpl.java,
10076 java/net/DatagramSocketImplFactory.java,
10077 java/net/FileNameMap.java,
10078 java/net/HttpURLConnection.java,
10079 java/net/MalformedURLException.java,
10080 java/net/MulticastSocket.java,
10081 java/net/NetworkInterface.java,
10082 java/net/NoRouteToHostException.java,
10083 java/net/PasswordAuthentication.java,
10084 java/net/PortUnreachableException.java,
10085 java/net/ProtocolException.java,
10086 java/net/ServerSocket.java,
10087 java/net/Socket.java,
10088 java/net/SocketException.java,
10089 java/net/SocketImpl.java,
10090 java/net/SocketImplFactory.java,
10091 java/net/SocketOptions.java,
10092 java/net/SocketPermission.java,
10093 java/net/SocketTimeoutException.java,
10095 java/net/URISyntaxException.java,
10097 java/net/URLDecoder.java,
10098 java/net/URLEncoder.java,
10099 java/net/URLStreamHandler.java,
10100 java/net/URLStreamHandlerFactory.java,
10101 java/net/UnknownHostException.java,
10102 java/net/UnknownServiceException.java:
10103 Big import statement and @author tag cleanup.
10105 2004-10-17 Michael Koch <konqueror@gmx.de>
10107 * gnu/java/security/OID.java,
10108 gnu/java/security/provider/DSAParameters.java,
10109 gnu/java/security/provider/DSASignature.java,
10110 gnu/java/security/x509/X500DistinguishedName.java,
10111 gnu/java/security/x509/X509CRL.java:
10112 Import statements cleaned up.
10114 2004-10-16 Michael Koch <konqueror@gmx.de>
10116 * gnu/java/nio/NIODatagramSocket.java,
10117 gnu/java/nio/ServerSocketChannelImpl.java:
10118 Reorganized import statements.
10120 2004-10-16 Michael Koch <konqueror@gmx.de>
10122 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
10123 gnu/java/rmi/rmic/RMIC.java,
10124 gnu/java/rmi/server/RMIHashes.java,
10125 gnu/java/rmi/server/RMIObjectInputStream.java,
10126 gnu/java/rmi/server/RMIObjectOutputStream.java,
10127 gnu/java/rmi/server/UnicastConnection.java,
10128 gnu/java/rmi/server/UnicastConnectionManager.java,
10129 gnu/java/rmi/server/UnicastRemoteCall.java,
10130 gnu/java/rmi/server/UnicastServer.java,
10131 gnu/java/rmi/server/UnicastServerRef.java,
10132 java/rmi/MarshalledObject.java,
10133 java/rmi/Naming.java,
10134 java/rmi/RMISecurityManager.java,
10135 java/rmi/Remote.java,
10136 java/rmi/activation/Activatable.java,
10137 java/rmi/activation/ActivationDesc.java,
10138 java/rmi/activation/ActivationGroup.java,
10139 java/rmi/activation/ActivationGroupDesc.java,
10140 java/rmi/activation/ActivationGroupID.java,
10141 java/rmi/activation/ActivationID.java,
10142 java/rmi/activation/ActivationInstantiator.java,
10143 java/rmi/activation/ActivationMonitor.java,
10144 java/rmi/activation/ActivationSystem.java,
10145 java/rmi/activation/Activator.java,
10146 java/rmi/dgc/DGC.java,
10147 java/rmi/dgc/Lease.java,
10148 java/rmi/dgc/VMID.java,
10149 java/rmi/registry/LocateRegistry.java,
10150 java/rmi/registry/Registry.java,
10151 java/rmi/registry/RegistryHandler.java,
10152 java/rmi/server/LoaderHandler.java,
10153 java/rmi/server/LogStream.java,
10154 java/rmi/server/ObjID.java,
10155 java/rmi/server/Operation.java,
10156 java/rmi/server/RMIClassLoader.java,
10157 java/rmi/server/RMIClassLoaderSpi.java,
10158 java/rmi/server/RMIClientSocketFactory.java,
10159 java/rmi/server/RMIFailureHandler.java,
10160 java/rmi/server/RMIServerSocketFactory.java,
10161 java/rmi/server/RMISocketFactory.java,
10162 java/rmi/server/RemoteCall.java,
10163 java/rmi/server/RemoteObject.java,
10164 java/rmi/server/RemoteRef.java,
10165 java/rmi/server/RemoteServer.java,
10166 java/rmi/server/RemoteStub.java,
10167 java/rmi/server/ServerRef.java,
10168 java/rmi/server/Skeleton.java,
10169 java/rmi/server/SkeletonMismatchException.java,
10170 java/rmi/server/UID.java,
10171 java/rmi/server/UnicastRemoteObject.java,
10172 java/rmi/server/Unreferenced.java:
10173 File headers and import statements cleaned up.
10175 2004-10-16 Michael Koch <konqueror@gmx.de>
10177 * libjava/gnu/java/nio/charset/UTF_16.java,
10178 libjava/gnu/java/nio/charset/UTF_16BE.java,
10179 libjava/gnu/java/nio/charset/UTF_16LE.java,
10180 libjava/java/nio/ByteOrder.java,
10181 libjava/java/nio/MappedByteBuffer.java,
10182 libjava/java/nio/channels/Channels.java,
10183 libjava/java/nio/channels/spi/SelectorProvider.java,
10184 libjava/java/nio/charset/Charset.java:
10187 2004-10-16 Michael Koch <konqueror@gmx.de>
10189 * gnu/java/nio/charset/UTF_16Encoder.java
10190 (UTF_16Encoder): Fixed maxBytesPerChar handling.
10192 2004-10-16 Michael Koch <konqueror@gmx.de>
10194 * java/math/BigDecimal.java, java/math/BigInteger.java:
10195 Reorganized import statements, removed redundant and
10196 reorganized modifiers.
10198 2004-10-16 Michael Koch <konqueror@gmx.de>
10200 * gnu/java/beans/ExplicitBeanInfo.java:
10201 Explicitely import java.awt.Image.
10202 (getIcon): Fixed off-by-one error.
10204 2004-10-15 Andrew Haley <aph@redhat.com>
10206 * Makefile.am (nat_files, xlib_nat_files): New.
10207 * Makefile.in: Regenerate.
10209 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
10211 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
10212 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
10214 2004-10-13 Andrew Haley <aph@redhat.com>
10216 * interpret.cc (_Jv_InterpMethod::run): Initialize
10217 _Jv_StartOfInterpreter.
10218 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
10219 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
10220 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
10221 _Unwind_FindEnclosingFunction to discover whether PC is within the
10224 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
10227 * testsuite/libjava.lang/md5test.java: New file.
10228 * testsuite/libjava.lang/md5test.out: Likewise.
10229 * testsuite/libjava.lang/shatest.java: Likewise.
10230 * testsuite/libjava.lang/shatest.out: Likewise.
10232 2004-10-11 Richard Henderson <rth@redhat.com>
10234 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
10235 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
10237 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
10239 * java/util/Calendar.java (set): Invalidate DST_OFFSET
10240 field as a DST boundary may have been crossed.
10241 * java/util/GregorianCalendar.java (add): Throw
10242 IllegalArgumentException on attempt to add to DST_OFFSET or
10243 ZONE_OFFSET fields. Update javadoc.
10245 2004-10-09 Michael Koch <konqueror@gmx.de>
10247 * java/io/CharArrayWriter.java
10248 (resize): Removed redundant 'final' modifier.
10249 * java/io/DataInputStream.java
10250 (readFully): Throw IndexOutOfBoundsException of len < 0.
10251 * java/io/FileDescriptor.java,
10252 java/io/FileInputStream.java,
10253 java/io/FileOutputStream.java,
10254 java/io/ObjectOutputStream.java,
10255 java/io/ObjectStreamClass.java,
10256 java/io/PipedInputStream.java,
10257 java/io/RandomAccessFile.java:
10258 Reorganized import statements.
10260 2004-10-09 Michael Koch <konqueror@gmx.de>
10262 * gnu/java/rmi/rmic/RMIC.java,
10263 gnu/java/rmi/server/RMIHashes.java,
10264 gnu/java/rmi/server/RMIObjectInputStream.java,
10265 gnu/java/rmi/server/UnicastConnection.java,
10266 gnu/java/rmi/server/UnicastConnectionManager.java,
10267 gnu/java/rmi/server/UnicastRemoteCall.java,
10268 gnu/java/rmi/server/UnicastServerRef.java:
10269 Reworked import statements and fixed file headers.
10271 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
10273 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
10275 * configure: Rebuilt.
10277 2004-09-30 Tom Tromey <tromey@redhat.com>
10279 * java/text/MessageFormat.java (Field): Constructor now
10282 2004-09-30 Tom Tromey <tromey@redhat.com>
10284 * javax/crypto/MacSpi.java: Fixed typo.
10286 2004-09-30 Michael Koch <konqueror@gmx.de>
10288 * java/net/InetAddress.java: Reformatted.
10289 (loopback): Initialize with Inet4Address object.
10290 (static): Initialize ANY_IF with Inet4Address object.
10291 (InetAddress): Removed unused package-private constructor.
10293 2004-09-30 Michael Koch <konqueror@gmx.de>
10295 * java/beans/Beans.java,
10296 java/beans/EventHandler.java,
10297 java/beans/EventSetDescriptor.java,
10298 java/beans/Introspector.java,
10299 java/beans/PropertyEditorManager.java,
10300 java/beans/beancontext/BeanContext.java,
10301 java/beans/beancontext/BeanContextChild.java,
10302 java/beans/beancontext/BeanContextChildSupport.java,
10303 java/beans/beancontext/BeanContextMembershipEvent.java:
10304 Reordered import statements and removed redundant modifiers.
10306 2004-09-29 Tom Tromey <tromey@redhat.com>
10309 * Makefile.in: Rebuilt.
10310 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
10312 (all_property_files): New macro.
10314 * Makefile.in: Rebuilt.
10315 * Makefile.am (ordinary_java_source_files): Re-sorted.
10316 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
10318 2004-09-28 Tom Tromey <tromey@redhat.com>
10320 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
10323 * Makefile.am (libgcj.la): Restored.
10324 * Makefile.in: Rebuilt.
10326 2004-09-28 Michael Koch <konqueror@gmx.de>
10328 * java/net/URLConnection.java: Reformatted.
10329 * java/net/URLClassLoader.java: Reformatted.
10330 (getContent): Reordered return of content.
10331 (getContentHandler): Don't check for null explicitely.
10333 2004-09-27 Michael Koch <konqueror@gmx.de>
10335 * java/io/BufferedInputStream.java
10336 (BufferedInputStream): Added Jeroen Frijters to authors.
10337 (count): Don't explicitely initialize with default value.
10339 (marklimit): Likewise.
10340 (read): Changed boolean expression to match GNU classpath' version.
10341 (reset): Add proper message to exception.
10342 (skip): Check for closed stream.
10343 (refill): Likewise.
10345 2004-09-26 Per Bothner <per@bothner.com>
10347 * prims.cc (unblock_signal): Annotate signum with __unused__ to
10348 avoid warnings in the non-POSIX_VERSION case.
10349 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
10350 so place it inside an #if block.
10351 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
10352 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
10353 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
10354 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
10356 2004-09-26 Per Bothner <per@bothner.com>
10358 * prims.cc (process_gcj_properties): Optimization.
10360 2004-09-26 Per Bothner <per@bothner.com>
10362 * java/util/Collections.java (sort): Copy from array in forwards
10363 order, rather than reverse order which may be much less efficient.
10365 2004-09-26 Mark Wielaard <mark@klomp.org>
10367 * java/lang/System.java (properties): Make package private.
10368 * java/lang/Throwable.java (StaticData.nl): Initialize through
10369 directly accessing System.properties.getProperty().
10371 * java/lang/Throwable.java (nl): Remove static field.
10372 (StaticData): New private static inner class.
10373 (stackTraceStringBuffer): Use StaticData.nl.
10375 2004-09-26 Casey Marshall <csm@gnu.org>
10377 * java/security/ProtectionDomain.java
10378 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
10381 * java/security/SecureClassLoader.java
10382 (defineClass): make protection domain dynamically bound.
10383 (getPermissions): call `getCurrentPolicy' to avoid permission
10386 2004-09-25 Mark Wielaard <mark@klomp.org>
10388 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
10389 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
10390 * Makefile.in: Regenerated.
10392 * gcj/javaprims.h: Regenerated.
10394 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
10395 (getDefaultTimeZone): Make package private. Check that GMToffset
10396 contains at least one digit.
10397 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
10399 * util/VMTimeZone.java: New file with above methods.
10401 * java/util/natTimeZone.cc: Removed (renamed).
10402 * java/util/natVMTimeZone.cc: Added (renamed).
10404 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
10406 * java/util/TimeZone.java
10407 (getDefaultTimeZone): Fixed test to distinguish between hours and
10408 minutes in specified timezone.
10410 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
10412 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
10413 handling of default package. (generate): Removed confused comments
10414 and code about making Method and Field accessible.
10416 2004-09-25 Tom Tromey <tromey@redhat.com>
10419 * testsuite/libjava.compile/pr17500.java: New file.
10421 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
10422 Mark Wielaard <mark@klomp.org>
10424 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
10425 * gnu/regexp/RETokenLookAhead.java: New file.
10427 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
10428 * Makefile.in: Regenerated.
10430 2004-09-25 Michael Koch <konqueror@gmx.de>
10432 * java/io/ObjectStreamField.java:
10433 Removed unused import statement.
10435 2004-09-24 Tom Tromey <tromey@redhat.com>
10438 * testsuite/libjava.compile/pr15656.xfail: New file.
10439 * testsuite/libjava.compile/pr15656.java: new file.
10442 * testsuite/libjava.lang/pr16789.out: New file.
10443 * testsuite/libjava.lang/pr16789.java: New file.
10445 2004-09-24 Andrew Haley <aph@redhat.com>
10448 * testsuite/libjava.compile/AssertBug.java: New file.
10450 2004-09-24 Casey Marshall <csm@gnu.org>
10452 * java/util/PropertyPermissionCollection.java
10453 (implies): avoid infinite loop.
10455 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
10457 * javax/security/auth/PrivateCredentialPermission.java
10458 (PrivateCredentialPermission): added serialization UID
10461 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
10463 * gnu/java/rmi/server/UnicastServer.java
10464 (incomingMessageCall): Added code to handle Errors.
10465 * gnu/java/rmi/server/UnicastServerRef.java
10466 (incomingMessageCall): Added code to handle Errors.
10469 2004-09-24 Tom Tromey <tromey@redhat.com>
10471 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
10472 (definedPackages): Likewise.
10474 2004-09-24 Michael Koch <konqueror@gmx.de>
10476 * java/io/ObjectInputStream.java:
10477 Re-ordered imports.
10479 2004-09-24 Casey Marshall <csm@gnu.org>
10481 * java/io/ObjectInputStream.java (callReadMethod): re-throw
10482 `ClassNotFoundException'.
10484 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
10486 * java/io/ObjectInputStream.java (readObject): Delegate instantation
10487 of Externalizable classes to ObjectStreamClass.
10488 * java/io/ObjectStreamClass.java (newInstance): New method to
10489 instantiate Externalizable (while ignoring the accessibility of
10490 the constructor). (constructor): New field to cache the constructor.
10492 2004-09-24 Mark Wielaard <mark@klomp.org>
10494 * java/net/URL.java (systemClassLoader): New static field.
10495 (getURLStreamHandler): Always use system/application classloader
10496 for finding URLStreamhandler. Remove unecessary instanceof checks.
10498 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
10500 * java/net/URL.java
10501 (set): This method now matches the behaviour of the JDK.
10502 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
10504 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
10506 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
10508 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
10510 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
10511 Don't set authority if host isn't specified.
10513 2004-09-24 Michael Koch <konqueror@gmx.de>
10515 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
10516 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
10517 * gnu/java/nio/VMPipe.java,
10518 gnu/java/nio/VMSelector.java:
10520 * gnu/java/nio/natPipeImplEcos.cc,
10521 gnu/java/nio/natPipeImplPosix.cc,
10522 gnu/java/nio/natPipeImplWin32.cc:
10524 * gnu/java/nio/natSelectorImplEcos.cc,
10525 gnu/java/nio/natSelectorImplPosix.cc,
10526 gnu/java/nio/natSelectorImplWin32.cc:
10527 Ported to VMSelector.
10528 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
10529 gnu/java/nio/VMSelector.java.
10530 * Makefile.in: Regenerated.
10532 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
10534 * java/lang/StackTraceElement.java
10535 (className): Renamed field to declaringClass to be compatible
10536 with Sun serialization format.
10538 2004-09-23 Michael Koch <konqueror@gmx.de>
10540 * java/applet/AppletContext.java,
10541 java/applet/Applet.java,
10542 java/applet/AppletStub.java,
10543 java/applet/AudioClip.java:
10544 Jalopied and checkstyle clean.
10546 * javax/swing/JCheckBox.java: Reformated.
10547 (JCheckBox): Fixed all constructors.
10548 (isBorderPaintedFlat): New method.
10549 (setBorderPaintedFlat): New method.
10550 * javax/swing/JEditorPane.java
10551 (createEditorKitForContentType): Made public.
10552 (scrollToReference): Likewise.
10553 * javax/swing/JTextArea.java
10554 (setLineWrap): Fire property change.
10555 * javax/swing/JToggleButton.java
10556 (JToggleButton): New constructor.
10557 (JToggleButton): Simplified.
10558 * javax/swing/text/AttributeSet.java
10559 (FontAttribute): Renamed from FontCharacterAttribute.
10560 * javax/swing/text/JTextComponent.java
10561 (KeyBinBinding): Added javadoc.
10562 (JTextComponent): Likewise.
10563 (getAccessibleContext): Fixed javadoc.
10564 * javax/swing/text/View.java
10565 (View): Added javadoc.
10566 * javax/swing/text/TabableView.java: New file.
10567 * Makefile.am: Added javax/swing/text/TabableView.java.
10568 * Makefile.in: Regenerated.
10569 2004-09-23 Mark Wielaard <mark@klomp.org>
10571 * java/util/Collections.java
10572 (binarySearch(List, Object, Comparator)): Explicitly
10573 reverse direction in list iterator.
10574 (rotate): Just return when list is empty.
10576 2004-09-23 Tom Tromey <tromey@redhat.com>
10579 * testsuite/libjava.compile/pr17329.java: New file.
10582 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
10585 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
10587 * Makefile.am: Run aclocal with -I ../config
10588 * acinclude.m4: Delete macros picked up from ../config and tidy.
10589 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
10590 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
10591 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
10593 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
10595 * aclocal.m4: Regenerate with aclocal 1.9.2.
10596 * configure: Regenerate.
10597 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
10598 * include/Makefile.in, testsuite/Makefile.in: Likewise.
10600 2004-09-22 David Daney <ddaney@avtrex.com>
10603 * java/net/URL.java (URL): Copy userInfo from context.
10604 (getUserInfo): Return cached userInfo if present.
10606 2004-09-22 Tom Tromey <tromey@redhat.com>
10609 * mauve-libgcj: Enable java.lang.Character tests.
10611 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
10613 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
10615 (lib_org_ietf_jgss_la_LIBADD): Likewise.
10616 * Makefile.in: Regenerated.
10618 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
10620 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
10621 * configure: Regenerate.
10622 * include/config.h.in: Likewise.
10623 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
10624 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
10625 macro to gtkpeer.h.
10626 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
10627 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
10628 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
10630 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
10633 2004-09-22 Tom Tromey <tromey@redhat.com>
10636 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
10637 when comparing CRCs.
10638 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
10640 (read()): New overload.
10642 2004-09-21 Tom Tromey <tromey@redhat.com>
10644 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10647 2004-09-21 Michael Koch <konqueror@gmx.de>
10649 * java/net/Socket.java
10650 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
10652 2004-09-21 Casey Marshall <csm@gnu.org>
10654 * javax/crypto/MacSpi.java (clone): Provide meaningful
10657 2004-09-21 Tom Tromey <tromey@redhat.com>
10660 * Makefile.in: Rebuilt.
10661 * Makefile.am (MOSTLYCLEANFILES): Removed.
10662 (mostlyclean-local): Remove header files.
10664 2004-09-21 Casey Marshall <csm@gnu.org>
10666 * java/security/cert/X509CRLSelector.java:
10667 (match): remove unreachable try-catch clauses.
10668 Reported by: Dalibor Topic <robilad@kaffe.org>
10670 2004-09-21 Mark Wielaard <mark@klomp.org>
10672 * java/util/TreeMap.java (root): Don't initialize.
10673 (TreeMap(Comparator)): Call fabricateTree(0).
10674 (fabricateTree): Initialize root and size when count is 0.
10676 2004-09-21 Sven de Marothy <sven@physto.se>
10678 * java/nio/ByteBuffer.java (hashCode): Implemented.
10679 * java/nio/CharBuffer.java: Likewise.
10680 * java/nio/DoubleBuffer.java: Likewise.
10681 * java/nio/FloatBuffer.java: Likewise.
10682 * java/nio/LongBuffer.java: Likewise.
10683 * java/nio/IntBuffer.java: Likewise.
10684 * java/nio/ShortBuffer.java: Likewise.
10686 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
10688 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
10690 2004-09-21 Michael Koch <konqueror@gmx.de>
10692 * javax/net/ssl/SSLServerSocket.java:
10693 Removed comment about "Do not edit this file, it's generated.".
10695 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
10697 Import the big Crypto/Jessie/Security merge from Classpath.
10699 * Makefile.am: Add imported files.
10700 * Makefile.in: Regenerate.
10702 2004-08-14 Casey Marshall <csm@gnu.org>
10704 The Big Crypto Merge of 2004.
10706 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
10709 Files imported from GNU Crypto.
10710 * javax/crypto/BadPaddingException.java
10711 * javax/crypto/Cipher.java
10712 * javax/crypto/CipherInputStream.java
10713 * javax/crypto/CipherOutputStream.java
10714 * javax/crypto/CipherSpi.java
10715 * javax/crypto/EncryptedPrivateKeyInfo.java
10716 * javax/crypto/ExemptionMechanism.java
10717 * javax/crypto/ExemptionMechanismException.java
10718 * javax/crypto/ExemptionMechanismSpi.java
10719 * javax/crypto/IllegalBlockSizeException.java
10720 * javax/crypto/KeyAgreement.java
10721 * javax/crypto/KeyAgreementSpi.java
10722 * javax/crypto/KeyGenerator.java
10723 * javax/crypto/KeyGeneratorSpi.java
10724 * javax/crypto/Mac.java
10725 * javax/crypto/MacSpi.java
10726 * javax/crypto/Makefile.am
10727 * javax/crypto/NoSuchPaddingException.java
10728 * javax/crypto/NullCipher.java
10729 * javax/crypto/NullCipherImpl.java
10730 * javax/crypto/SealedObject.java
10731 * javax/crypto/SecretKey.java
10732 * javax/crypto/SecretKeyFactory.java
10733 * javax/crypto/SecretKeyFactorySpi.java
10734 * javax/crypto/ShortBufferException.java
10735 * javax/crypto/interfaces/DHKey.java
10736 * javax/crypto/interfaces/DHPrivateKey.java
10737 * javax/crypto/interfaces/DHPublicKey.java
10738 * javax/crypto/interfaces/PBEKey.java
10739 * javax/crypto/spec/DESKeySpec.java
10740 * javax/crypto/spec/DESedeKeySpec.java
10741 * javax/crypto/spec/DHGenParameterSpec.java
10742 * javax/crypto/spec/DHParameterSpec.java
10743 * javax/crypto/spec/DHPrivateKeySpec.java
10744 * javax/crypto/spec/DHPublicKeySpec.java
10745 * javax/crypto/spec/IvParameterSpec.java
10746 * javax/crypto/spec/PBEKeySpec.java
10747 * javax/crypto/spec/PBEParameterSpec.java
10748 * javax/crypto/spec/RC2ParameterSpec.java
10749 * javax/crypto/spec/RC5ParameterSpec.java
10750 * javax/crypto/spec/SecretKeySpec.java
10751 * javax/security/auth/AuthPermission.java
10752 * javax/security/auth/DestroyFailedException.java
10753 * javax/security/auth/Destroyable.java
10754 * javax/security/auth/Policy.java
10755 * javax/security/auth/PrivateCredentialPermission.java
10756 * javax/security/auth/RefreshFailedException.java
10757 * javax/security/auth/Refreshable.java
10758 * javax/security/auth/Subject.java
10759 * javax/security/auth/SubjectDomainCombiner.java
10760 * javax/security/auth/callback/Callback.java
10761 * javax/security/auth/callback/CallbackHandler.java
10762 * javax/security/auth/callback/ChoiceCallback.java
10763 * javax/security/auth/callback/ConfirmationCallback.java
10764 * javax/security/auth/callback/LanguageCallback.java
10765 * javax/security/auth/callback/NameCallback.java
10766 * javax/security/auth/callback/PasswordCallback.java
10767 * javax/security/auth/callback/TextInputCallback.java
10768 * javax/security/auth/callback/TextOutputCallback.java
10769 * javax/security/auth/callback/UnsupportedCallbackException.java
10770 * javax/security/auth/login/AccountExpiredException.java
10771 * javax/security/auth/login/AppConfigurationEntry.java
10772 * javax/security/auth/login/Configuration.java
10773 * javax/security/auth/login/CredentialExpiredException.java
10774 * javax/security/auth/login/FailedLoginException.java
10775 * javax/security/auth/login/LoginContext.java
10776 * javax/security/auth/login/LoginException.java
10777 * javax/security/auth/login/NullConfiguration.java
10778 * javax/security/auth/x500/X500PrivateCredential.java
10779 * javax/security/sasl/AuthenticationException.java
10780 * javax/security/sasl/AuthorizeCallback.java
10781 * javax/security/sasl/RealmCallback.java
10782 * javax/security/sasl/RealmChoiceCallback.java
10783 * javax/security/sasl/Sasl.java
10784 * javax/security/sasl/SaslClient.java
10785 * javax/security/sasl/SaslClientFactory.java
10786 * javax/security/sasl/SaslException.java
10787 * javax/security/sasl/SaslServer.java
10788 * javax/security/sasl/SaslServerFactory.java
10789 * org/ietf/jgss/ChannelBinding.java
10790 * org/ietf/jgss/GSSContext.java
10791 * org/ietf/jgss/GSSCredential.java
10792 * org/ietf/jgss/GSSException.java
10793 * org/ietf/jgss/GSSManager.java
10794 * org/ietf/jgss/GSSName.java
10795 * org/ietf/jgss/MessageProp.java
10796 * org/ietf/jgss/Oid.java
10797 * org/ietf/jgss/MessagesBundle.properties
10799 Files imported from Jessie <http://www.nongnu.org/jessie/>
10800 * javax/net/ServerSocketFactory.java
10801 * javax/net/SocketFactory.java
10802 * javax/net/VanillaServerSocketFactory.java
10803 * javax/net/VanillaSocketFactory.java
10804 * javax/net/ssl/HandshakeCompletedEvent.java
10805 * javax/net/ssl/HandshakeCompletedListener.java
10806 * javax/net/ssl/HostnameVerifier.java
10807 * javax/net/ssl/HttpsURLConnection.java
10808 * javax/net/ssl/KeyManager.java
10809 * javax/net/ssl/KeyManagerFactory.java
10810 * javax/net/ssl/KeyManagerFactorySpi.java
10811 * javax/net/ssl/ManagerFactoryParameters.java
10812 * javax/net/ssl/SSLContext.java
10813 * javax/net/ssl/SSLContextSpi.java
10814 * javax/net/ssl/SSLException.java
10815 * javax/net/ssl/SSLHandshakeException.java
10816 * javax/net/ssl/SSLKeyException.java
10817 * javax/net/ssl/SSLPeerUnverifiedException.java
10818 * javax/net/ssl/SSLPermission.java
10819 * javax/net/ssl/SSLProtocolException.java
10820 * javax/net/ssl/SSLServerSocket.java
10821 * javax/net/ssl/SSLServerSocketFactory.java
10822 * javax/net/ssl/SSLSession.java
10823 * javax/net/ssl/SSLSessionBindingEvent.java
10824 * javax/net/ssl/SSLSessionBindingListener.java
10825 * javax/net/ssl/SSLSessionContext.java
10826 * javax/net/ssl/SSLSocket.java
10827 * javax/net/ssl/SSLSocketFactory.java
10828 * javax/net/ssl/TrivialHostnameVerifier.java
10829 * javax/net/ssl/TrustManager.java
10830 * javax/net/ssl/TrustManagerFactory.java
10831 * javax/net/ssl/TrustManagerFactorySpi.java
10832 * javax/net/ssl/X509KeyManager.java
10833 * javax/net/ssl/X509TrustManager.java
10834 * javax/security/cert/Certificate.java
10835 * javax/security/cert/CertificateEncodingException.java
10836 * javax/security/cert/CertificateException.java
10837 * javax/security/cert/CertificateExpiredException.java
10838 * javax/security/cert/CertificateNotYetValidException.java
10839 * javax/security/cert/CertificateParsingException.java
10840 * javax/security/cert/X509CertBridge.java
10841 * javax/security/cert/X509Certificate.java
10843 2004-08-20 Casey Marshall <csm@gnu.org>
10845 * java/security/cert/X509CRLSelector.java: New file.
10846 * java/security/cert/X509CertSelector.java: New file.
10848 2004-09-15 Michael Koch <konqueror@gmx.de>
10850 * gnu/java/net/protocol/file/Handler.java
10851 (openConnection): Don't throw exception if host part for file: URI is
10852 present. setURL() keeps file: protocol if ftp: protocol is not
10855 2004-09-14 Richard Henderson <rth@redhat.com>
10857 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
10858 value of sigsuspend.
10860 2004-09-12 Tom Tromey <tromey@redhat.com>
10862 * javax/naming/CompoundName.java (CompoundName): Don't check for
10863 separator in "flat" case.
10865 2004-09-12 Michael Koch <konqueror@gmx.de>
10867 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
10868 AM_CONFIG_HEADER by AC_CONFIG_FILES.
10869 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
10872 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
10875 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
10876 handle in newly-allocated _Jv_Thread_t.
10877 (_Jv_ThreadDestroyData): Close thread handle.
10878 (_Jv_ThreadStart): Remove obsolete comment.
10879 Store handle of newly-created thread in _Jv_Thread_t.
10880 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
10881 before including <windows.h>
10882 #define _Jv_HaveCondDestroy
10884 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
10886 * java/lang/natThread.cc (finalize_native): Destroy
10887 join conditional variable and mutex if these destroy
10888 operations are supported.
10890 2004-09-10 Dalibor Topic <robilad@kaffe.org>
10892 * gnu/java/net/protocol/file/Connection.java (permission): New field.
10893 (DEFAULT_PERMISSION): New constant.
10894 (Connection): Create a FilePermission with permission to read file.
10896 2004-09-10 Michael Koch <konqueror@gmx.de>
10898 * gnu/java/net/protocol/file/Connection.java
10899 (getLastModified): Moved around.
10900 (getPermission): Return stored permission.
10902 2004-09-10 Michael Koch <konqueror@gmx.de>
10904 * Makefile.in: Regenerate.
10906 2004-09-10 Michael Koch <konqueror@gmx.de>
10908 * Makefile.am: Reverted accidently commited stuff.
10909 * configure: Regenerated.
10911 2004-09-10 Michael Koch <konqueror@gmx.de>
10913 * gnu/java/net/protocol/file/Connection.java
10914 (lineSeparator): Made non-final.
10916 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
10917 instead of StringBufferInputStream.
10919 2004-09-10 Michael Koch <konqueror@gmx.de>
10921 * gnu/java/net/protocol/file/Connection.java
10922 (connect): Handle file is a directory case.
10924 2004-09-10 Michael Koch <konqueror@gmx.de>
10927 (xlib_includes): Removed.
10928 (AM_CPPFLAGS): Renamed from INCLUDES.
10929 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
10930 * Makefile.in: Regenerate.
10932 2004-09-09 Michael Koch <konqueror@gmx.de>
10934 * java/security/ProtectionDomain.java,
10935 * java/util/PropertyPermissionCollection.java:
10936 Fixed javadocs all over.
10938 2004-09-09 Sven de Marothy <sven@physto.se>
10940 Patch from David Gilbert <david.gilbert@object-refinery.com>
10941 * java/lang/Comparable.java: Fixed documentation errors.
10942 * java/util/Arrays.java: Likewise.
10944 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
10946 * java/net/Inet4Address.java
10947 (Inet4Address): Added comment to serialization UID.
10948 * java/text/Format.java
10949 (Format): Added comment to serialization UID.
10951 2004-09-09 Michael Koch <konqueror@gmx.de>
10953 * java/lang/System.java
10954 (err): Fixed javadoci to point to setErr() and not setOut().
10956 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
10958 (normalizePath): Added special case for windows systems.
10960 2004-09-09 Michael Koch <konqueror@gmx.de>
10962 * java/io/File.java
10963 (dupSeparator): Made private.
10964 (File(URI)): New constructor.
10965 (getParentFile): Fixed javadoc.
10966 (createTempFile): Reformated.
10967 (setReadOnly): Added comment.
10968 (deleteOnExit): Merged javadoc with classpath version.
10970 2004-09-09 Michael Koch <konqueror@gmx.de>
10972 * Makefile.am: Don't try to include deps.mk.
10973 * Makefile.in: Regenerated.
10975 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
10977 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
10979 * configure: Rebuilt.
10981 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
10983 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
10984 Changed pfn from static local to local.
10986 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
10987 H.J. Lu <hongjiu.lu@intel.com>
10990 * Makefile.am (GCJCOMPILE): Remove definition.
10991 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
10992 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
10993 * Makefile.in: Rebuilt.
10995 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
10997 * configure.ac (enable-gc-debug): Update help for new syntax.
10998 * configure: Regenerate.
11000 2004-09-03 David Daney <ddaney@avtrex.com>
11002 * include/mips-signal.h: Update copyright.
11004 2004-09-03 David Daney <ddaney@avtrex.com>
11006 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
11007 * include/mips-signal.h: Added HANDLE_FPE support.
11009 2004-08-31 Michael Koch <konqueror@gmx.de>
11011 * javax/swing/plaf/basic/BasicTextAreaUI.java
11012 (create): New method.
11013 * javax/swing/text/DefaultHighlighter.java
11014 (DefaultHighlightPainter.debugRect): Removed.
11015 * javax/swing/text/StyleContext.java
11016 (DEFAULT_STYLE): New field.
11018 2004-08-31 Michael Koch <konqueror@gmx.de>
11020 * javax/swing/plaf/basic/BasicLookAndFeel.java
11021 (initComponentDefaults): Add keybindings for selection.backward and
11022 selection-forward for text components.
11023 * javax/swing/plaf/basic/BasicTextUI.java
11024 (paintSafely): Paint highlight only when something is actually
11026 * javax/swing/text/DefaultCaret.java
11027 (handleHighlight): New method.
11028 (setSelectionVisible): Don't do anything when nothing changes.
11030 (moveDot): Reimplemented. Handle highlight.
11031 (setDot): Set mark too. Handle highlight.
11032 (getSelectionPainter): New method.
11033 * javax/swing/text/DefaultEditorKit.java
11034 (defaultActions): Added new actions for text selection.
11035 * javax/swing/text/DefaultHighlighter.java
11036 (DefaultHighlightPainter): New inner class.
11037 (DefaultPainter): New field.
11038 (paint): Implemented.
11039 * javax/swing/text/PlainView.java
11040 (paint): Don't draw background here again.
11041 * javax/swing/text/Utilities.java
11042 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
11043 (drawTabbedText): Likewise.
11045 2004-08-31 Graydon Hoare <graydon@redhat.com>
11047 * javax/swing/JComponent.java
11048 (resetKeyboardActions): Add null checks.
11050 2004-08-31 Graydon Hoare <graydon@redhat.com>
11052 * javax/swing/DefaultButtonModel.java:
11053 Skip group notification when no group is set.
11055 2004-08-31 Graydon Hoare <graydon@redhat.com>
11057 * javax/swing/JColorChooser.java:
11058 Make a couple inner classes static, for jikes.
11060 2004-08-31 Michael Koch <konqueror@gmx.de>
11062 * javax/swing/plaf/basic/BasicTextUI.java
11063 (RottView.modelToView): New method.
11064 (UpdateHandler): Renamed from EventHandler.
11065 (updateHandler): Renamed from eventHandler.
11066 (modelToView): Implemented.
11067 * javax/swing/text/AbstractDocument.java
11068 (BranchElement.getElement): Return null for non-existing indeces.
11069 (BranchElement.getElementIndex): Return 0 in some corner cases.
11070 * javax/swing/text/FieldView.java
11071 (modelToView): New method.
11072 * javax/swing/text/PlainView.java
11073 (modelToView): Made public.
11075 2004-08-31 Kim Ho <kho@redhat.com>
11077 * Makefile.am: New files.
11078 * Makefile.in: Regenerate.
11079 * gcj/Makefile.in: Regenerate.
11080 * include/Makefile.in: Regenerate.
11081 * java/awt/Color.java: Fix documentation.
11082 (RGBtoHSB): Use floats for conversions.
11083 * javax/swing/ButtonGroup.java: Run Jalopy.
11084 (setSelected): Reimplement.
11085 * javax/swing/DefaultButtonModel.java: Run Jalopy.
11086 (changeState): Let ButtonGroup know that the button
11088 * javax/swing/JColorChooser.java: Implement.
11089 * javax/swing/JLabel.java: Run Jalopy.
11090 * javax/swing/JSpinner.java: Run Jalopy.
11091 (setValue): New method.
11092 * javax/swing/JTabbedPane.java: Run Jalopy.
11093 (removeTabAt): Call correct remove method.
11094 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
11095 (getPreviousValue): Compare minimum value.
11096 * javax/swing/Timer.java: Run Jalopy.
11097 (run): Comment out println.
11098 * javax/swing/ToolTipManager.java:
11099 (mouseMoved): Get new tooltip text for location.
11100 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
11101 Jalopy and Javadoc.
11102 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
11104 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
11106 (setSelectedColor): Fire ChangeEvent.
11107 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
11108 New file. Implement.
11109 * javax/swing/colorchooser/DefaultPreviewPanel.java:
11111 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
11113 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
11115 * javax/swing/plaf/basic/BasicArrowButton.java:
11116 (getArrow): Fix size of upward pointing button.
11117 * javax/swing/plaf/basic/BasicColorChooserUI.java:
11119 * javax/swing/plaf/basic/BasicSliderUI.java:
11120 (getWidthOfWidestLabel): Use preferred dimensions.
11121 (getHeightOfTallestLabel): Ditto.
11122 * javax/swing/plaf/basic/BasicSpinnerUI.java:
11124 (mousePressed): Disable changes to spinner if it is not enabled.
11125 * testsuite/Makefile.in: Regenerate.
11128 2004-08-31 Michael Koch <konqueror@gmx.de>
11130 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
11131 javax/swing/plaf/basic/BasicTableUI.java:
11132 Added copyright notice.
11134 2004-08-31 Olga Rodimina <rodimina@redhat.com>
11136 * Makefile.am: Added new files.
11137 * Makefile.in: Regenerate.
11138 * javax/swing/ComboBoxEditor.java: Added javadocs.
11139 * javax/swing/ComboBoxModel.java: Likewise.
11140 * javax/swing/DefaultComboBoxModel.java: Implemented.
11141 * javax/swing/DefaultListCellRenderer.java: Added javadocs
11142 and ran through jalopy to fix formatting style.
11143 (getListCellRendererComponent): Use appropriate border
11144 if renderer has focus and use noFocusBorder when it doesn't.
11145 * javax/swing/JComboBox.java: Implemented.
11146 * javax/swing/JList.java:
11147 (locationToIndex): New Method. Implemented.
11148 (indexToLocation): New Method.
11149 * javax/swing/JPopupMenu.java:
11150 (visible): New field.
11151 (isVisible): Changed to use new field above.
11152 (setVisible): Likewise.
11153 * javax/swing/MutableComboBoxModel.java: Added javadocs.
11154 * javax/swing/plaf/basic/BasicArrowButton.java:
11155 (shadow): Changed default color to Color.gray.
11156 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
11157 UI delegate for JComboBox.
11158 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
11159 Popup menu containing list of JComboBox's items.
11160 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
11161 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
11162 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
11163 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
11164 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
11165 (popupMenuWillBecomeVisible): Set selected path to the first
11166 element only if it is of type MenuElement. Also fix formatting
11168 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
11169 methods signatures.
11171 2004-08-31 Michael Koch <konqueror@gmx.de>
11173 * javax/swing/text/AbstractDocument.java
11174 (createBranchElement): Use new constructor of BranchElement.
11175 (createLeafElement): Renamed arguments.
11176 (getRootElements): Implemented.
11177 (BranchElement.start): Removed.
11178 (BranchElement.end): Likewise.
11179 (BranchElement.BranchElement): Fixed arguments.
11180 (BranchElement.getEndOffset): Reimplemented.
11181 (BranchElement.getStartOffset): Likewis.
11182 * javax/swing/text/DefaultCaret.java
11183 (paint): Draw simple vertical line as caret instead of a rectangle.
11184 * javax/swing/text/JTextComponent.java
11185 (setText): Use doc directly.
11186 * javax/swing/text/PlainView.java
11187 (nextTabStop): Implemented.
11188 * javax/swing/text/Utilities.java
11189 (drawTabbedText): nextTabStop() returns an absolute x position.
11190 (getTabbedTextWidth): Likewise.
11192 2004-08-31 Graydon Hoare <graydon@redhat.com>
11194 * java/awt/Component.java
11195 (isFocusTraversable): Predicate on isLightweight()
11196 (setFocusable): Set isFocusTraversableOverridden.
11197 (requestFocus): Predicate peer dispatch on !isLightweight()
11198 (requestFocusInWindow): Likewise.
11199 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
11200 * java/awt/Container.java
11201 (dispatchEventImpl): Predicate on event mask.
11202 (LightweightDispatcher): Remove focus machinery.
11203 * java/awt/DefaultFocusTraversalPolicy.java
11204 (accept): Expand predicate to include isFocusable().
11205 * java/awt/DefaultKeyboardFocusManager.java:
11206 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
11207 * java/awt/KeyboardFocusManager.java
11208 (redispatchEvent): Synchronize on event to prevent feedback.
11209 * javax/swing/AbstractButton.java
11210 (ButtonFocusListener): Remove class.
11211 (init): Set focusPainted, focusable.
11212 * javax/swing/ActionMap.java (get): Check parent for null.
11213 * javax/swing/InputMap.java (get): Likewise.
11214 * javax/swing/JComponent.java
11215 (inputMap_whenFocused): New InputMap.
11216 (inputMap_whenAncestorOfFocused): Likewise.
11217 (inputMap_whenInFocusedWindow): Likewise.
11218 (getActionForKeyStroke): Rewrite.
11219 (getConditionForKeystroke): Likewise.
11220 (ActionListenerProxy): New private class.
11221 (setInputMap): Implement.
11222 (getInputMap): Likewise.
11223 (setActionMap): Likewise.
11224 (getActionMap): Likewise.
11225 (processComponentKeyEvent): New empty method.
11226 (processKeyEvent): Implement.
11227 (processKeyBinding): Likewise.
11228 (resetKeyboardActions): Rewrite.
11229 * javax/swing/KeyStroke.java: Rewrite.
11230 * javax/swing/SwingUtilities.java
11231 (notifyAction): Implement.
11232 (replaceUIActionMap): Likewise.
11233 (replaceUIInputMap): Likewise.
11234 * javax/swing/plaf/basic/BasicButtonListener.java
11235 (focusGained): Implement.
11236 (focusLost): Repaint if focusPainted().
11237 (installKeyboardActions): Install pressed / released actions.
11238 (uninstallKeyboardActions): Implement.
11239 * javax/swing/plaf/basic/BasicButtonUI.java
11240 (focusColor): New field.
11241 (installDefaults): Load focus color, install input map.
11242 (installKeyboardActions): Implement.
11243 (uninstallKeyboardActions): Likewise.
11244 (paintFocus): Rewrite.
11245 * javax/swing/plaf/basic/BasicLookAndFeel.java
11246 (Button.focus): New default, midPurple.
11247 * javax/swing/plaf/basic/BasicTextUI.java
11248 (kit): Make static.
11249 (installUI): Get doc from kit, load defaults.
11250 (getKeymapName): Implement.
11251 (createKeymap): Likewise.
11252 (installKeyboardActions): Likewise.
11253 (getInputMap): Likewise.
11254 (getActionMap): Likewise.
11255 (createActionMap): Likewise.
11256 * javax/swing/text/AbstractDocument.java
11257 (getStartPosition): Implement.
11258 (getEndPosition): Likewise.
11259 * javax/swing/text/DefaultEditorKit.java
11260 (CopyAction): New class.
11261 (CutAction): Likewise.
11262 (DefaultKeyTypedAction): Likewise.
11263 (InsertBreakAction): Likewise.
11264 (InsertContentAction): Likewise.
11265 (InsertTabAction): Likewise.
11266 (PasteAction): Likewise.
11267 (defaultActions): New static table.
11268 (createCaret): Implement.
11269 (getActions): Likewise.
11270 * javax/swing/text/JTextComponent.java
11271 (KeymapWrapper): New private class.
11272 (KeymapActionMap): Likewise.
11273 (DefaultKeymap): New class.
11274 (keymaps): New static table.
11275 (keymap): New field.
11276 (getKeymap): Implement.
11277 (removeKeymap): Likewise.
11278 (addKeymap): Likewise.
11279 (setKeymap): Likewise.
11280 (loadKeymap): Likewise.
11281 (getActions): Likewise.
11282 (margin): New field.
11283 (JTextComponent): Build and install default keymap.
11284 * javax/swing/text/TextAction.java
11285 (textAction): Call super properly.
11286 (getTextComponent): Implement.
11287 * javax/swing/text/Utilities.java
11288 (drawTabbedText): Adjust position by ascent.
11290 2004-08-31 David Jee <djee@redhat.com>
11294 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
11295 (setEnabled): Make it a native method.
11296 * java/awt/DefaultKeyboardFocusManager.java
11297 (postProcessKeyEvent): Only post event if the menu item
11299 * java/awt/MenuItem.java:
11300 Private field 'enabled' should be true by default.
11301 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
11302 (setEnabled): New function.
11304 2004-08-31 David Jee <djee@redhat.com>
11308 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
11309 (nativeSetHelpMenu): New native method declaration.
11310 (addHelpMenu): Call nativeSetHelpMenu().
11312 * java/awt/MenuBar.java
11313 (setHelpMenu): Call addNotify() on the new help menu.
11314 (add): Call addNotify() on the new menu.
11315 (addNotify): Set the help menu if one exists.
11316 * java/awt/peer/MenuBarPeer.java
11318 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
11319 (nativeSetHelpMenu): New method.
11321 2004-08-31 Graydon Hoare <graydon@redhat.com>
11323 * Makefile.am: Add new files.
11324 * Makefile.in: Regenerate.
11325 * javax/swing/Box.java: Fix setting of layout in ctor.
11326 * javax/swing/JScrollPane.java: Scroll headers as well.
11327 * javax/swing/JTable.java: Reimplement.
11328 * javax/swing/JViewPort.java: Only add non-null children.
11329 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
11330 * javax/swing/Timer.java: Fix stopping null waker.
11331 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
11332 * javax/swing/plaf/basic/BasicTableUI.java: New file.
11333 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
11334 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
11335 * javax/swing/table/DefaultTableModel.java: Clean up.
11336 * javax/swing/table/JTableHeader.java: Implement.
11338 2004-08-31 Mark Wielaard <mark@klomp.org>
11340 * javax/swing/JSpinner.java (getChangeListeners): Remove double
11343 2004-08-31 Mark Wielaard <mark@klomp.org>
11345 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
11346 Declare variables at top of functions/block.
11347 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
11349 2004-08-31 Mark Wielaard <mark@klomp.org>
11351 * java/lang/Rectangle.java (intersects): Check r.width and r.height
11354 2004-08-31 Michael Koch <konqueror@gmx.de>
11356 * javax/swing/text/PlainView.java
11357 (selectedColor): New field.
11358 (unselectedColor): Likewise.
11360 (updateMetrics): New method.
11361 (lineToRect): Likewise.
11362 (modelToView): Likewise.
11363 (drawSelectedText): Use color from JTextComponent ad draw with
11365 (drawUnselectedText): Likewise.
11366 (paint): Initialize helper fields.
11367 * javax/swing/text/View.java
11368 (getChildAllocation): New method.
11369 (getViewIndex): Likewise.
11370 (getToolTipText): Likewise.
11372 2004-08-31 Michael Koch <konqueror@gmx.de>
11374 * javax/swing/text/Utilities.java
11375 (drawTabbedText): Reimplemented.
11376 (getTabbedTextWidth): Likewise.
11378 2004-08-31 Michael Koch <konqueror@gmx.de>
11380 * javax/swing/plaf/basic/BasicTextUI.java
11381 (installDefaults): Install caret and highlighter.
11382 (modelToView): Use Bias.Forward when calling sibling.
11383 * javax/swing/text/AbstractDocument.java
11384 (ElementEdit): Implements DocumentEvent.ElementChange.
11385 (ElementEdit.ElementEdit): New method.
11386 (ElementEdit.getChildrenAdded): Likewise.
11387 (ElementEdit.getChildrenRemoved): Likewise.
11388 (ElementEdit.getElement): Likewise.
11389 (ElementEdit.getIndex): Likewise.
11390 * javax/swing/text/DefaultCaret.java
11392 (textComponent): Renamed from parent, made private.
11393 (selectionVisible): Renamed from vis_sel, made private.
11394 (blinkRate): Renamed from blink, made private.
11395 (magicCaretPosition): Renamed from magic, made private.
11396 (visible): Renamed from vis, made private.
11397 (dot): Made private.
11399 (deinstall): Remove as MouseMotionListener.
11400 (install): Initialize textComponent first. Add as MouseMotionListener.
11401 (paint): Reimplemented.
11402 * javax/swing/text/JTextComponent.java
11403 (setCaret): Deinstall old caret, install new one and fire property
11404 change after setting property.
11405 (setHighlighter): Deinstall old highlighter, install new one and fire
11406 property change after setting property.
11407 (setCaretColor): Fire property change after setting property.
11408 (setDisabledTextColor): Likewise.
11409 (setSelectedTextColor): Likewise.
11410 (setSelectionColor): Likewise.
11411 (modelToView): New method.
11413 2004-08-31 Michael Koch <konqueror@gmx.de>
11415 * javax/swing/text/AbstractDocument.java
11416 (getText): Simplified.
11417 * javax/swing/text/Segment.java
11418 (current): New field.
11419 (current): Reimplemented.
11421 (getIndex): Likewise.
11424 (previous): Likewise.
11425 (setIndex): Likewise.
11427 2004-08-31 Michael Koch <konqueror@gmx.de>
11429 * javax/swing/plaf/basic/BasicButtonUI.java
11430 (defaultTextIconGap): Made protected.
11431 (defaultTextShiftOffset): Likewise.
11432 (textShiftOffset): New field.
11433 (clearTextShiftOffset): New method.
11434 (getTextShiftOffset): Likewise.
11435 (setTextShiftOffset): Likewise.
11437 2004-08-31 Michael Koch <konqueror@gmx.de>
11439 * javax/swing/plaf/basic/BasicTextUI.java
11440 (installUI): Add eventHandler as property listener.
11441 (uninstallUI): remove eventHandler as propert listener.
11442 (installDefaults): Added comment.
11443 (installListeners): Likewise.
11444 (installKeyboardActions): Likewise.
11445 (uninstallDefaults): Likewise.
11446 (uninstallListeners): Likewise.
11447 (uninstallKeyboardActions): Likewise.
11449 2004-08-31 Michael Koch <konqueror@gmx.de>
11451 * javax/swing/text/AbstractDocument.java:
11452 Fixed some typos in comments.
11453 (insertString): Reimplemented.
11454 (remove): Likewise.
11455 (replace): New method.
11456 (children): Dont use fully qualified class name.
11457 (DefaultDocumentEvent.offset): Renamed from off.
11458 (DefaultDocumentEvent.length): Renamed from len.
11459 (DefaultDocumentEvent.type): New field.
11460 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
11461 (DefaultDocumentEvent.getType): Implemented.
11463 2004-08-31 Michael Koch <konqueror@gmx.de>
11465 * javax/swing/plaf/basic/BasicTextUI.java
11466 (RootView.textComponent): Removed.
11467 (RootView.RootView): Don't initialize textComponent.
11468 (RootView.getViewFactory): New method.
11469 (EventHandler): New inner class.
11470 (rootView): Initialize at instance creation.
11471 (eventHandler): New field.
11472 (installUI): Don't create view hierarchy directly,
11473 call modelChanged() instead.
11474 (modelChanged): New method.
11475 * javax/swing/text/JTextComponent.java
11476 (setDocument): Fire property change event.
11478 2004-08-31 Michael Koch <konqueror@gmx.de>
11480 * javax/swing/plaf/basic/BasicTextUI.java
11481 (RootView.paint): Removed debug output.
11482 (paintSafely): Draw highlighter before text.
11483 (paintBackground): Use background color of text component.
11484 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
11487 2004-08-31 Michael Koch <konqueror@gmx.de>
11489 * javax/swing/plaf/basic/BasicToolBarUI.java
11490 (BasicToolBarUI): Fixed arguments for constructor.
11491 (createUI): Fixed creation of object.
11493 2004-08-31 Michael Koch <konqueror@gmx.de>
11495 * javax/swing/DefaultListSelectionModel.java
11496 (fireValueChanged): Renamed from fireSelectionValueChanged,
11499 2004-08-31 Michael Koch <konqueror@gmx.de>
11501 * javax/swing/text/TabSet.java
11502 (TabSet): Implements java.io.Serializable.
11503 * javax/swing/text/TabStop.java
11504 (TabStop): Implements java.io.Serializable.
11505 (TabStop): Made public.
11507 2004-08-31 Michael Koch <konqueror@gmx.de>
11509 * javax/swing/JComponent.java
11510 (setUI): Fire PropertyChange.
11511 * javax/swing/JLabel.java
11512 (text): Renamed from labelText.
11513 (horizontalAlignment): New default vlaue.
11514 (icon): Renamed from activeIcon.
11515 (displayedMnemonic): Renamed from mnemonicKey, added default value.
11516 (displayedMnemonicIndex): Renamed from underlineChar.
11517 (setDisplayedMnemonic): Reimplemented.
11518 * javax/swing/JRadioButton.java
11519 (JRadioButton): New constructors.
11520 * javax/swing/JTextField.java
11521 (JTextField): Throw exception if colums < 0, initialitialz
11522 this.columns directly and initialize document with text conditionally.
11524 2004-08-31 Michael Koch <konqueror@gmx.de>
11526 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
11527 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
11528 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
11529 * javax/swing/text/FieldView.java
11530 (paint): Just call super method for now.
11531 * Makefile.am: Added new files.
11532 * Makefile.in: Regenerated.
11534 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
11536 * javax/swing/AbstractSpinnerModel.java,
11537 javax/swing/JSpinner.java,
11538 javax/swing/SpinnerNumberModel.java,
11539 javax/swing/plaf/basic/BasicSpinnerUI.java:
11541 * javax/swing/plaf/basic/BasicLookAndFeel.java
11542 (initClassDefaults): Added defaults for BasicSpinnerUI.
11544 2004-08-31 Michael Koch <konqueror@gmx.de>
11546 * Makefile.am: Added new files.
11547 * Makefile.in: Regenerated.
11549 2004-08-31 Michael Koch <konqueror@gmx.de>
11551 * javax/swing/TransferHandler.java,
11552 javax/swing/plaf/basic/ComboPopup.java: New files
11553 * Makefile.am: Added javax/swing/TransferHandler.java and
11554 javax/swing/plaf/basic/ComboPopup.java
11555 * Makefile.in: Regenerated.
11557 2004-08-31 Roman Kennke <roman@ontographics.com>
11559 * javax/swing/text/Utilities.java: New file.
11561 2004-08-31 Michael Koch <konqueror@gmx.de>
11563 * Makefile.am: Added javax/swing/text/Utilities.java.
11564 * Makefile.in: Regenerated.
11566 2004-08-31 Graydon Hoare <graydon@redhat.com>
11568 * javax/swing/text/SimpleAttributeSet.java: New file.
11569 * javax/swing/text/StyleConstants.java: New file.
11570 * javax/swing/text/StyleContext.java: New file.
11571 * javax/swing/text/TabSet.java: New file.
11572 * javax/swing/text/TabStop.java: New file.
11573 * javax/swing/text/AbstactDocument.java:
11574 (AbstractElement): Implement attribute support.
11575 * javax/swing/text/AttributeSet.java
11576 (NameAttribute): New static field.
11577 (ResolveAttribute): New static field.
11578 * Makefile.am: Update for new files.
11579 * Makefile.in: Regenerate.
11581 2004-08-31 Craig Black <craig.black@aonix.com>
11583 * gnu/java/awt/peer/gtk/GdkGraphics.java
11584 (drawImage): Add support for scaling pixmaps.
11585 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
11586 (copyAndScalePixmap): New native method.
11588 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
11591 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
11592 type-punning compiler warnings using unions.
11593 (throw): Replace bzero with memset.
11595 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
11596 Thomas Fitzsimmons <fitzsim@redhat.com>
11598 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
11599 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
11600 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
11601 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11602 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
11604 2004-08-31 Mark Wielaard <mark@klomp.org>
11606 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
11607 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
11608 and stdlib.h, not gtkpeer.h.
11609 (*vm): New static variable.
11610 (areaPreparedID): Make static.
11611 (areaUpdatedID): Likewise.
11612 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
11613 (area_prepared): Likewise.
11614 (area_updated): Likewise.
11615 (closed): Likewise.
11616 (initStaticState): Initialize *vm javaVM.
11617 (pumpBytes): Use given env, not global gdk_env.
11619 2004-08-31 Mark Wielaard <mark@klomp.org>
11621 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
11624 2004-08-31 Sven de Marothy <sven@physto.se>
11626 * java/awt/geom/CubicCurve2D.java: Reindent.
11627 (contains): Implemented.
11628 (intersects): Implemented.
11629 * java/awt/geom/QuadCurve2D.java: Likewise.
11630 * java/awt/geom/GeneralPath.java: Reindent and document.
11631 Fully (re)implemented using separate xpoints and ypoints
11633 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
11635 2004-08-31 Michael Koch <konqueror@gmx.de>
11637 * javax/swing/JMenuItem.java
11638 (getMenuDragMouseListeners): New method.
11639 (getMenuKeyListeners): Likewise.
11641 2004-08-31 Michael Koch <konqueror@gmx.de>
11643 * javax/swing/AbstractButton.java
11644 (model): Made protected.
11645 (actionListener): Likewise.
11646 (changeListener): Likewise.
11647 (itemListener): Likewise.
11648 (multiClickThreshhold): New field.
11649 (getActionListeners): New method.
11650 (getChangeListeners): Likewise.
11651 (getItemListeners): Likewise.
11652 (fireItemStateChanged): Simplified implementation.
11653 (fireActionPerformed): Likewise.
11654 (fireStateChanged): Likewise.
11655 (getMultiClickThreshhold): New method.
11656 (setMultiClickThreshhold): Likewise.
11658 2004-08-31 Tom Tromey <tromey@redhat.com>
11660 * java/awt/image/Kernel.java (clone): Use super.clone().
11662 2004-08-31 David Jee <djee@redhat.com>
11665 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11666 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
11667 (nativeSetIconImageFromData): New native method declaration.
11668 (setIconImage): Handle images not produced from GdkPixbufDecoder.
11669 * gnu/java/awt/peer/gtk/GtkImage.java
11670 (getPixelCache): New method.
11671 (getColorModel): New method.
11672 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11673 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
11674 (free_pixbuf_data): New helper function.
11675 (nativeSetIconImageFromData): New function.
11677 2004-08-31 Graydon Hoare <graydon@redhat.com>
11680 * javax/swing/JLayeredPane.java
11681 (setLayer): Permit changing layer after addition.
11682 (setPosition): Permit over-length positions.
11683 (layerToRange): Compare intValue()s.
11684 * javax/swing/Box.java (createHorizontalBox): Implement.
11685 (createRigidArea): Likewise.
11686 (createVerticalBox): Likewise.
11688 2004-08-31 Kim Ho <kho@redhat.com>
11690 * java/awt/Component.java:
11691 (processMouseEvent): Consume event after
11692 listeners process it.
11693 (processMouseMotionEvent): ditto.
11694 (processMouseWheelEvent): ditto.
11695 * java/awt/Container.java:
11696 (acquireComponentForMouseEvent):
11697 Do not dispatch to events that have been
11698 removed from the Container.
11699 (handleEvent): Consume the MouseEvents.
11700 * javax/swing/RepaintManager.java:
11701 (paintDirtyRegions): Do not add to list of
11702 damaged areas if the component has no root.
11704 2004-08-31 Michael Koch <konqueror@gmx.de>
11706 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
11708 2004-08-31 Mark Wielaard <mark@klomp.org>
11710 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
11711 null when a MissingResourceException is thrown. Should never happen.
11713 2004-08-31 Mark Wielaard <mark@klomp.org>
11715 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
11716 when argument is null.
11718 2004-08-31 Mark Wielaard <mark@klomp.org>
11720 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11721 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
11722 Define hid at start of function.
11723 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
11726 2004-08-31 Mark Wielaard <mark@klomp.org>
11728 * gnu/java/awt/EmbeddedWindow.java: Reindent.
11729 * javax/swing/JButton.java: Reindent.
11730 * javax/swing/JCheckBox.java: Reindent.
11732 2004-08-31 Mark Wielaard <mark@klomp.org>
11734 * Makefile.am (gtk_c_source_files): Added
11735 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
11736 (gtk_awt_peer_sources): Added
11737 gnu/java/awt/peer/gtk/GThreadMutex.java and
11738 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
11739 * Makefile.in: Regenerated.
11741 2004-08-31 Archie Cobbs <archie@dellroad.org>
11743 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
11745 2004-08-31 Steven Augart <augart@watson.ibm.com>
11747 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
11748 Added jfieldID, jmethodID.
11750 2004-08-31 Mark Wielaard <mark@klomp.org>
11752 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
11753 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
11754 gdk_env before calling any gdk or gtk function.
11756 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
11757 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
11758 (run): Set gtkInitCalled.
11760 2004-08-31 Steven Augart <augart@watson.ibm.com>
11762 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
11763 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
11765 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
11766 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
11767 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
11769 (init_glib_threads): New function.
11771 2004-08-31 Mark Wielaard <mark@klomp.org>
11773 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
11774 PRIORITY when not already defined in header file.
11776 2004-08-31 Mark Wielaard <mark@klomp.org>
11778 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
11779 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
11781 2004-08-31 Steven Augart <augart@watson.ibm.com>
11783 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
11784 Implemented missing functions for GTK2.
11785 Added error handling.
11786 Renamed static functions out of the g_ namespace.
11787 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
11788 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
11789 Rewrote global-reference code.
11790 Eliminated cascading errors.
11791 (mutex_trylock_jni_impl) Fully implemented.
11792 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
11794 (setup_cache) New function.
11795 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
11796 bug where they were not unlocking the GMutex associated with the
11797 condition variable during the wait on that condition variable.
11799 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
11800 native/jni/gtk-peer/gthread-jni.c,
11801 native/jni/gtk-peer/gthread-jni.h
11802 (g_thread_jni_functions): Renamed to ...
11803 (portable_native_sync_jni_functions): this name.
11804 (gdk_vm): Renamed to...
11805 (the_vm): this name.
11807 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
11808 (gdk_vm): Removed duplicate definition.
11809 (gtkInit): Removed stray message to stdout.
11810 (gtkInit): Use g_malloc and g_free instead of malloc and free.
11811 (gtkInit): Fix a const assignment bug.
11812 (gtkInit): Simplified code.
11814 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
11815 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
11816 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
11817 gnu/java/awt/peer/gtk/GThreadMutex.java:
11820 2004-08-31 Mark Wielaard <mark@klomp.org>
11822 * javax/swing/Box.java: Put FIXME comment above class declaration.
11823 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
11824 * javax/swing/JCheckBox.java: Likewise.
11825 * javax/swing/JDialog.java: Likewise.
11826 * javax/swing/JRadioButton.java: Likewise.
11827 * javax/swing/JToggleButton.java: Likewise.
11828 * javax/swing/UIManager.java: Likewise.
11829 * javax/swing/border/TitledBorder.java: Likewise.
11830 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
11831 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
11832 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
11833 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
11834 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
11835 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
11836 * javax/swing/text/JTextComponent.java: Likewise.
11838 2004-08-31 David Jee <djee@redhat.com>
11841 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11842 (setIconImage): Add a FIXME for unhandled cases.
11844 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
11847 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
11848 getModifiers. Replace old button masks with new ones.
11849 * gnu/awt/xlib/XEventLoop.java: Likewise.
11850 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11851 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11852 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
11853 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
11854 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
11855 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
11856 * java/awt/Component.java: Replace old modifier masks with new
11858 * java/awt/Container.java: Call getModifiersEx, not
11860 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
11861 old modifier masks.
11862 * javax/swing/JMenuItem.java: Replace old button masks with new
11864 * javax/swing/KeyStroke.java: Call getModifiersEx, not
11866 * javax/swing/SwingUtilities.java: Likewise.
11867 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
11868 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
11869 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
11870 mask macros with new ones.
11871 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
11872 macros with new ones representing new masks.
11874 2004-08-31 Craig Black <craig.black@aonix.com>
11876 * gnu/java/awt/peer/gtk/GdkGraphics.java
11877 (drawRoundRect): Implemented.
11878 (fillRoundRect): Implemented.
11879 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11880 (drawRoundRect): Reimplemented to match GdkGraphics.
11881 (fillRoundRect): Reimplemented to match GdkGraphics.
11883 2004-08-31 Mark Wielaard <mark@klomp.org>
11885 * Makefile.in: Regenerated.
11887 2004-08-31 Michael Koch <konqueror@gmx.de>
11889 * gnu/java/awt/EmbeddedWindow.java
11890 (addNotify): Use AccessController to allow execution of privileged
11893 2004-08-31 Michael Koch <konqueror@gmx.de>
11895 * gnu/java/awt/EmbeddedWindow.java
11897 (addNotify): Set peer via reflection.
11898 (setWindowPeer): Removed.
11899 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
11900 * Makefile.am (nat_source_files):
11901 Removed gnu/java/awt/natEmbeddedWindow.cc.
11903 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
11905 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
11906 and gnu/java/security/action/SetAccessibleAction.java.
11908 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
11910 * gnu/java/security/action/GetPropertyAction.java (setParameters):
11911 Renamed from 'setName'. New 2-argument form with default value.
11912 (run): Pass default 'value' parameter to System.getProperty().
11913 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
11916 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
11918 * gnu/java/security/action/GetPropertyAction.java: New class.
11919 * gnu/java/security/action/SetAccessibleAction.java: New class.
11921 2004-08-31 David Jee <djee@redhat.com>
11923 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11924 (setIconImage): Check if image is null.
11926 2004-08-31 David Jee <djee@redhat.com>
11928 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11929 (create): Set the icon image.
11930 (nativeSetIconImage): New native method declaration.
11931 (setIconImage): Implement.
11932 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11933 (nativeSetIconImage): New function.
11935 2004-08-31 Dalibor Topic <robilad@kaffe.org>
11937 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11938 (filenameFilterCallback): Declare local variable accepted before use.
11940 2004-08-31 Dalibor Topic <robilad@kaffe.org>
11942 * gnu/java/awt/ComponentDataBlitOp.java:
11943 Cleaned up imports.
11945 2004-08-31 Tom Tromey <tromey@redhat.com>
11947 * gnu/java/awt/peer/GLightweightPeer.java,
11948 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
11949 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11950 javax/swing/JScrollPane.java: Removed
11953 2004-08-31 David Jee <djee@redhat.com>
11955 * java/awt/DefaultKeyboardFocusManager.java
11956 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
11957 event. Fix shift modifier checking.
11958 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
11959 (accel_attach): Remove.
11960 (setupAccelGroup): Remove calls to accel_attach.
11962 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
11964 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
11965 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
11967 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
11969 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
11970 * Makefile.in: Regenerate.
11971 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
11972 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
11973 (create(String)): New method.
11974 (create): Call new create method.
11975 (getArgs): Remove method.
11976 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
11977 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
11978 (nativeCreate): Rename to create.
11979 (gtkSetLabel): Rename to gtkButtonSetLabel.
11980 (gtkToggleButtonSetActive): New method.
11981 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
11982 (setState): Replace set call with gtkToggleButtonSetActive.
11983 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
11984 (getArgs): Remove method.
11985 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11986 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11987 (gtkWidgetSetSensitive): New method.
11988 (gtkWidgetSetParent): Likewise.
11989 (GtkComponentPeer): Call setParent, setComponentBounds and
11990 setVisibleAndEnabled.
11991 (setParent): New method.
11992 (setComponentBounds): New method.
11993 (setVisibleAndEnabled): New method.
11994 (setEnabled): Call gtkWidgetSetSensitive.
11995 (getArgs): Remove method.
11996 Remove all set methods.
11997 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
11998 gtkWindowSetModal, setTitle and setResizable.
11999 (getArgs): Remove method.
12000 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
12001 (setComponentBounds): New method.
12002 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
12003 Replace set call with gtkWindowSetResizable.
12004 (getArgs): Remove method.
12005 (create): Call setTitle and setResizable.
12006 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
12007 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12008 (gtkWindowSetTitle): New method.
12009 (gtkWindowSetResizable): New method.
12010 (gtkWindowSetModal): New method.
12011 (setParent): New method.
12012 (setVisibleAndEnabled): New method.
12013 (getArgs): Remove method.
12014 (setTitle): Call gtkWindowSetTitle.
12015 (setResizable): Call gtkWindowSetResizable.
12016 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
12017 and off locking instrumentation.
12019 2004-08-31 Kim Ho <kho@redhat.com>
12021 * Makefile.am: Add new file.
12022 * Makefile.in: Regenerate.
12023 * gcj/Makefile.in: Regenerate
12024 * include/Makefile.in:
12025 * java/awt/Container.java:
12026 (acquireComponentForMouseEvent): Respect
12027 the event mask when looking for candidate.
12028 * javax/swing/JComponent.java:
12029 Remove toolTip field.
12030 (createToolTip): Create a tooltip on demand.
12031 (setToolTipText): Register with the ToolTipManager.
12032 (getToolTipText(MouseEvent)): Return getToolTipText().
12033 * javax/swing/JToolTip.java: Implement.
12034 * javax/swing/Timer.java: Jalopy.
12035 (restart): Call stop, then start.
12036 (stop): Interrupt the timer rather than wait for
12037 the timer to come to a stop naturally.
12038 * javax/swing/ToolTipManager.java: Implement.
12039 * javax/swing/plaf/basic/BasicLookAndFeel.java:
12040 Change ToolTip.background color.
12041 * javax/swing/plaf/basic/BasicToolTipUI.java:
12043 * testsuite/Makefile.in: Regenerate
12045 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
12047 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
12048 constructor param comments.
12050 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
12052 * java/awt/Component.java: Document AWT 1.0 event handler
12055 2004-08-31 Roman Kennke <roman@ontographics.com>
12057 * javax/swing/Box.java:
12058 (createGlue): Implemented
12059 (createHorizontalGlue): Implemented
12060 (createHorizontalStrut): Implemented
12061 (createVerticalGlue): Implemented
12062 (createVerticalStrut): Implemented
12064 2004-08-31 David Jee <djee@redhat.com>
12066 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
12067 (GtkChoicePeer): Do not automatically select first item.
12068 (getHistory): Remove.
12069 (nativeGetSelected): New method.
12070 (nativeRemoveAll): New method.
12071 (add): Use nativeGetSelected() instead of getHistory().
12072 (remove): Likewise.
12073 (removeAll): Call nativeRemoveAll().
12074 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12075 (create): Migrate to GtkComboBox.
12076 (append): Likewise.
12077 (nativeAdd): Likewise.
12078 (nativeRemove): Likewise.
12079 (select): Likewise.
12080 (nativeRemoveAll): New method.
12081 (nativeGetSelected): New method.
12082 (selection_changed): New method.
12083 (getHistory): Remove.
12084 (item_activate): Remove.
12085 (item_removed): Remove.
12086 (connect_choice_item_selectable_hook): Remove.
12088 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
12090 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
12091 variable in setEditable call.
12093 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
12094 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
12095 (gtkWidgetSetBackground): New method.
12096 (gtkWidgetSetForeground): Likewise.
12097 (create): Set peer's editable state based on awtComponent's.
12099 * java/awt/Button.java (Button()): Use empty string rather than
12100 null in no-label constructor.
12102 2004-08-31 Roman Kennke <roman@ontographics.com>
12104 * javax/swing/BoxLayout.java: Reimplement.
12106 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
12108 * gnu/java/awt/peer/gtk/GdkGraphics.java,
12109 gnu_java_awt_peer_gtk_GdkGraphics.c
12110 (initState(GtkComponentPeer)): Don't return array of colour
12112 (GdkGraphics(int,int)): Set default font to size 12.
12113 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
12114 component's foreground colour.
12115 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
12116 gnu_java_awt_peer_gtk_GdkGraphics2D.c
12117 (initState(GtkComponentPeer)): Don't return array of colour
12119 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
12120 colours to component's colours.
12121 (current_colors_of_widget): Remove function.
12122 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
12123 Return a new graphics object.
12124 * java/awt/Font.java (toString): Fix format.
12125 * java/awt/Graphics.java (toString): Likewise.
12127 2004-08-31 Craig Black <craig.black@aonix.com>
12129 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
12130 (addTearOff): New function.
12131 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
12133 (init): Call addTearOff() when menu.isTearOff().
12135 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
12137 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
12138 Default implementation.
12139 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
12140 Implement using GdkPixbufDecoder.
12142 2004-08-31 David Jee <djee@redhat.com>
12144 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
12145 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
12146 setting the size of GtkFileDialogPeers.
12147 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12148 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
12149 use their default sizes rather than their natural requisitions.
12151 2004-08-31 Michael Koch <konqueror@gmx.de>
12153 * javax/swing/JFormattedTextField.java
12154 (JFormattedTextField): Implemented.
12155 * javax/swing/text/DefaultEditorKit.java
12156 (BeepAction): New inner class.
12157 * javax/swing/text/Segment.java
12158 (partialReturn): New field.
12159 (setPartialReturn): New method.
12160 (isPartialReturn): Likewise.
12161 * javax/swing/text/View.java
12162 (createFragment): Fixed typo.
12163 (getStartOffset): New method.
12164 (getEndOffset): Likewise.
12166 2004-08-31 Michael Koch <konqueror@gmx.de>
12168 * javax/swing/table/DefaultTableColumnModel.java
12169 (serialVersionUID): Made private.
12170 (listenerList): Initialize.
12171 (changeEvent): Initialize.
12172 * javax/swing/table/JTableHeader.java
12173 (JTableHeader): New constructors.
12174 (createDefaultColumnModel): New method.
12175 * javax/swing/table/TableColumn.java
12176 (setHeaderRenderer): Simplified code.
12177 (setCellRenderer): Likewise.
12178 (setWidth): Likewise.
12180 2004-08-31 Tom Tromey <tromey@redhat.com>
12182 * java/text/AttributedString.java (AttributedString): Use
12183 ArrayList to build array of attribute ranges. Don't use
12184 `attribs' before it is set.
12186 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
12188 * HACKING: Remove reference to special automake. No longer needed.
12190 2004-08-30 Tom Tromey <tromey@redhat.com>
12192 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
12193 return result from `add'.
12195 2004-08-30 Tom Tromey <tromey@redhat.com>
12197 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
12199 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
12201 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
12203 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
12205 * java/io/File.java File(String,String): Fixed handling of empty
12208 2004-08-30 Casey Marshall <csm@gnu.org>
12210 Author e-mail updated for all files.
12211 * gnu/java/security/OID.java (equals): Test if the aurgment is an
12213 (compareTo): Use `equals'.
12214 * gnu/java/security/der/BitString.java (equals): Test if the
12215 argument is an instance of BitString.
12216 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
12217 class final. Made fields private.
12218 (<init>): New constructor.
12219 (skip): New method.
12220 (makeString): Made static; don't use NIO.
12221 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
12222 * gnu/java/security/der/DERWriter.java: Fixed imports.
12223 (writeString): Don't use NIO.
12224 (toIso88591, toUtf16Be, toUtf8): New methods.
12225 * gnu/java/security/der/DERValue.java: Formatting changes only.
12226 * gnu/java/security/der/DER.java: Likewise.
12228 2004-08-30 Tom Tromey <tromey@redhat.com>
12230 * java/nio/CharBuffer.java (put): Fix typo.
12231 * java/nio/DoubleBuffer.java (put): Fix typo.
12232 * java/nio/FloatBuffer.java (put): Fix typo.
12233 * java/nio/IntBuffer.java (put): Fix typo.
12234 * java/nio/LongBuffer.java (put): Fix typo.
12235 * java/nio/ShortBuffer.java (put): Fix typo.
12237 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
12239 * java/nio/ByteBuffer.java (put): Fix typo.
12241 2004-08-30 Casey Marshall <csm@gnu.org>
12243 * java/security/DummyKeyPairGenerator.java (clone): Removed
12244 useless instanceof check.
12245 * java/security/DummyMessageDigest.java (clone): Likewise.
12246 * java/security/DummySignature.java (clone): Likewise.
12247 * java/security/MessageDigest.java (clone): Remove useless
12249 * java/security/MessageDigestSpi.java (clone): Likewise.
12250 * java/security/Signature.java (clone): Provide meaningful
12252 * java/security/SignatureSpi.java (clone): Likewise.
12254 2004-08-29 Mark Wielaard <mark@klomp.org>
12256 * java/util/Arrays.java
12257 (sort(byte[], int, int)): Check fromIndex < 0.
12258 (sort(char[], int, int)): Likewise.
12259 (sort(short[], int, int)): Likewise.
12260 (sort(int[], int, int)): Likewise.
12261 (sort(long[], int, int)): Likewise.
12262 (sort(float[], int, int)): Likewise.
12263 (sort(double[], int, int)): Likewise.
12264 (sort(Object[], int, int, Comparator)): Likewise.
12265 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
12266 (qsort(char[], int, int)): Likewise.
12267 (qsort(short[], int, int)): Likewise.
12268 (qsort(int[], int, int)): Likewise.
12269 (qsort(long[], int, int)): Likewise.
12270 (qsort(float[], int, int)): Likewise.
12271 (qsort(double[], int, int)): Likewise.
12273 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
12275 * java/util/AbstractCollection.java, java/util/AbstractList.java,
12276 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
12277 java/util/ArrayList.java, java/util/Arrays.java,
12278 java/util/BitSet.java, java/util/Calendar.java,
12279 java/util/Collection.java, java/util/ListIterator.java,
12280 java/util/Map.java, java/util/SortedSet.java:
12281 Added additional exceptions to documentation, along
12282 with some additions and corrections.
12284 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
12286 * configure.ac: Handle --enable-gc-debug.
12287 * configure: Regenerate.
12288 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
12289 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
12290 Rearrange include file order.
12291 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
12292 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
12293 (disable_gc_mutex): Delete along with all references.
12294 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
12295 adjust for debug header size.
12296 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
12298 (_Jv_AllocArray): Declare min_heap_addr only if needed.
12299 (gcj_describe_type_fn): New.
12300 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
12301 Register gcj_describe_type_fn.
12302 * include/boehm-gc.h:
12303 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
12304 Don't define, but declare, for debug case.
12305 * java/lang/natObject.cc:
12306 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
12308 2004-08-26 Mark Wielaard <mark@klomp.org>
12310 Fixes PR libgcj/17002:
12311 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
12312 a TimeZoneId string and then try to convert that to a TimeZone with
12313 getDefaultSystemTimeZone(String).
12314 (timezones0): Changed type from Hashtable to HashMap.
12315 (timezones): Create HashMap, not Hashtable.
12316 (getDefaultTimeZone): New method, rewritten from CNI version.
12317 (readTimeZoneFile): New method.
12318 (readtzFile): Likewise.
12319 (skipFully): Likewise.
12320 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
12321 getDefaultTimeZoneId and rewritten.
12322 (getDefaultTimeZoneId): Rewritten in java.
12324 2004-08-25 David Daney <daney@avtrex.com>
12326 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
12327 * Makefile.in: Regenerated.
12329 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
12331 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
12332 only if jvmpi is enabled.
12333 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
12334 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
12335 (_Jv_AllocString): Likewise.
12336 (_Jv_AllocPtrFreeObject): Likewise.
12338 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
12340 * defineclass.cc: Include <stdio.h>.
12341 * java/lang/natClassLoader.cc: Include <stdio.h>.
12343 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
12344 Michael Koch <konqueror@gmx.de>
12346 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
12347 * Makefile.in: Regenerated.
12349 2004-08-20 Michael Koch <konqueror@gmx.de>
12351 * configure.ac: Replaced all AC_TRY_COMPILE macros with
12352 AC_COMPILE_IFELSE macros.
12354 2004-08-20 Michael Koch <konqueror@gmx.de>
12356 * configure.in: Renamed to configure.ac.
12357 * configure.ac: New file.
12358 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
12359 include/config.h.in, testsuite/Makefile.in: Regenerated.
12361 2004-08-20 Michael Koch <konqueror@gmx.de>
12363 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
12364 * aclocal.m4, configure: Regenerated.
12366 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
12367 Michael Koch <konqueror@gmx.de>
12369 * configure.in, Makefile.am: Ported to automake 1.9.
12370 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
12371 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
12374 2004-08-19 Tom Tromey <tromey@redhat.com>
12376 * java/net/DatagramSocket.java: Fixed typo.
12378 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
12381 * java/net/URI.java (string): New field. Make all other fields
12383 (readObject): Implemented.
12384 (writeObject): Implemented.
12385 (URI): Set 'string'.
12387 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
12390 * java/util/logging/Handler.java (isLoggable): Accept record if its
12391 log level equals the threshold level. From Robin Green.
12393 2004-08-18 David Daney <ddaney@avtrex.com>
12395 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
12396 instead of sigwait.
12398 2004-08-17 Michael Koch <konqueror@gmx.de>
12400 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
12401 * Makefile.in: Regenerated.
12403 2004-08-16 Tom Tromey <tromey@redhat.com>
12406 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
12408 2004-08-16 Michael Koch <konqueror@gmx.de>
12411 (math_c_files): Renamed from c_files.
12412 (math_c_source_files): Renamed from c_source_files.
12415 include/Makefile.in,
12416 testsuite/Makefile.in: Regenerated.
12418 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
12420 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
12421 to avoid autoconf warning.
12422 * configure: Rebuilt.
12424 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
12426 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
12427 localhostAddress to loopbackAddress.
12428 * java/net/natInetAddressWin32.cc (lookup): Likewise.
12430 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
12432 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
12433 boehm-gc's include dirs.
12434 * configure: Rebuilt.
12435 * include/boehm-gc.h: Include gc_config.h.
12437 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
12439 * java/net/InetAddress.java (loopbackAddress): Renamed from
12441 (getByName): Return loopback address for null hostname, without
12442 security check. Use lookup(), not getAllByName.
12443 (getAllByName): Return loopback address for null hostname, without
12445 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
12448 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
12451 Reported by Robin Green.
12452 * defineclass.cc (handleField): Don't throw exception on unrecognised
12453 modifier. Add FIXME comments for spec compliance.
12454 (handleMethod): Likewise.
12456 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
12459 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
12460 (Almost everywhere): add LOG calls, fix, add comments.
12461 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
12462 Add explicit check for LOCKED bit in slow case (PR 16662).
12463 (_Jv_MonitorExit): Add casts in debug-only code.
12464 Always release LOCKED bit before throwing exception.
12465 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
12466 isn't. Handle easy cases without lock acquisition.
12467 (Object::wait): Use NotifyAll for lock inflation.
12469 2004-08-12 David Daney <ddaney@avtrex.com>
12471 * testsuite/libjava.lang/Process_1.java: New test.
12472 * testsuite/libjava.lang/Process_2.java: New test.
12473 * testsuite/libjava.lang/Process_3.java: New test.
12474 * testsuite/libjava.lang/Process_4.java: New test.
12475 * testsuite/libjava.lang/Process_5.java: New test.
12476 * testsuite/libjava.lang/Process_6.java: New test.
12477 * testsuite/libjava.lang/Process_1.out: Expected result.
12478 * testsuite/libjava.lang/Process_2.out: Expected result.
12479 * testsuite/libjava.lang/Process_3.out: Expected result.
12480 * testsuite/libjava.lang/Process_4.out: Expected result.
12481 * testsuite/libjava.lang/Process_5.out: Expected result.
12482 * testsuite/libjava.lang/Process_6.out: Expected result.
12484 2004-08-12 David Daney <ddaney@avtrex.com>
12487 * java/lang/PosixProcess.java: Rewrote.
12488 * java/lang/natPosixProcess.cc: Rewrote.
12489 * java/lang/Runtime.java (execInternal): Declare throws IOException.
12490 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
12491 * posix-threads.cc (block_sigchld) New function.
12492 (_Jv_ThreadRegister) Use it.
12493 (_Jv_ThreadStart) Use it.
12494 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
12495 * Makefile.am: ... to specify extra native headers.
12496 * configure: Regenerated.
12497 * include/config.h: Regenerated.
12498 * Makefile.in: Regenerated.
12499 * gcj/Makefile.in: Regenerated.
12500 * include/Makefile.in: Regenerated.
12501 * testsuite/Makefile.in: Regenerated.
12503 2004-08-12 Diego Novillo <dnovillo@redhat.com>
12505 PR tree-optimization/16867
12506 * testsuite/libjava.lang/PR16867.java: New test.
12508 2004-08-09 Per Bothner <per@bothner.com>
12510 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
12511 with private fields and access methods.
12512 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
12513 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
12514 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
12515 ( _Jv_makeUtf8Const): Rewrite using new constructors.
12516 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
12517 * defineclass.cc: Use new _Utf8Const access/convenience methods.
12518 * jni.cc: Likewise.
12519 * resolve.cc: Likewise.
12520 * gcj/field.h: Likewise.
12521 * include/jvm.h: Likewise.
12522 * java/lang/Class.h: Likewise.
12523 * java/lang/natClass.cc: Likwise.
12524 * java/lang/natClassLoader.cc: Likewise
12525 * java/lang/reflect/natMethod.cc: Likewise
12526 * verify.cc: Likewise.
12527 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
12528 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
12530 2004-08-10 Andrew Haley <aph@redhat.com>
12532 * testsuite/libjava.lang/err14.java: New file.
12533 * testsuite/libjava.lang/err14.out: New file.
12535 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
12537 * Makefile.am: Fix missing rename from x_nat_headers to
12539 * Makefile.in: Regenerated.
12541 2004-08-04 Andrew Haley <aph@redhat.com>
12543 * java/security/BasicPermission.java: Don't check wildcards.
12545 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
12546 Michael Koch <konqueror@gmx.de>
12548 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
12549 * configure.in: Replaced all usages of AC_LINK_FILES by
12552 configure: Regenerated.
12554 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
12555 Michael Koch <konqueror@gmx.de>
12557 * acconfig.h: Removed.
12558 * Makefile.am: Rename variables for xlib peer to include xlib and
12559 gtk_c_headers to gtk_jni_headers.
12560 * Makefile.in: Regenerated.
12562 2004-08-04 Andrew Haley <aph@redhat.com>
12564 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
12567 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
12569 * configure.in: Eliminate uses of changequote (mostly by quoting []).
12570 Replace most top level 'dnl' comments with '#' comments, conforming
12571 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
12573 * configure: Rebuilt.
12575 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
12577 * acinclude.m4: Include no-executables.m4.
12578 * aclocal.m4: Rebuild.
12579 * configure.in: Convert to the autoconf 2.59 version of
12580 of the no-executables hack, and also of the nonstandard CXX
12581 hack and the multilibbed CC and CXX hack. Change prerequisite
12583 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
12584 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
12585 testsuite/Makefile.in: Regenerate.
12587 2004-08-03 Tom Tromey <tromey@redhat.com>
12589 * jni.cc: Reindented.
12591 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
12593 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
12595 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
12597 * testsuite/libjava.compile/PR16701.java: New test.
12599 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
12601 * java/util/Collection.java, java/util/List.java,
12602 java/util/Map.java, java/util/Set.java,
12603 java/util/SortedMap.java, java/util/SortedSet.java:
12604 Added additional exceptions to documentation.
12606 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
12609 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
12610 * configure. Regenerate.
12611 * include/win32.h: Explicitly include winsock2.h
12612 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
12615 2004-07-30 Michael Koch <konqueror@gmx.de>
12617 * java/util/zip/GZIPInputStream.java
12618 (GZIPInputStream): Increase buffer size to 4k.
12619 * java/util/zip/GZIPOutputStream.java
12620 (GZIPOutputStream): Likewise.
12621 * java/util/zip/Inflater.java
12622 (setInput): Merged formating with GNU classpath.
12623 * java/util/zip/InflaterInputStream.java
12624 (InflaterInputStream): Increase buffer size to 4k.
12625 (fill): Throw exception if stream ends early.
12626 (read): Merged endless-loop with GNU classpath.
12627 (skip): Increase buffer size to 2k.
12629 2004-07-30 Michael Koch <konqueror@gmx.de>
12631 * gnu/java/awt/EmbeddedWindow.java
12632 (addNotify): Use AccessController to allow execution of privileged
12635 2004-07-29 Michael Koch <konqueror@gmx.de>
12637 * gnu/java/lang/MainThread.java:
12638 Explicitely import used classes.
12639 (args): Make it type String[].
12641 2004-07-29 Dalibor Topic <robilad@kaffe.org>
12643 * gnu/java/awt/ComponentDataBlitOp.java,
12644 gnu/java/beans/ExplicitBeanInfo.java,
12645 gnu/java/beans/IntrospectionIncubator.java,
12646 gnu/java/beans/editors/ColorEditor.java,
12647 gnu/java/beans/editors/FontEditor.java,
12648 gnu/java/beans/editors/NativeBooleanEditor.java,
12649 gnu/java/beans/editors/NativeByteEditor.java,
12650 gnu/java/beans/editors/NativeDoubleEditor.java,
12651 gnu/java/beans/editors/NativeFloatEditor.java,
12652 gnu/java/beans/editors/NativeIntEditor.java,
12653 gnu/java/beans/editors/NativeLongEditor.java,
12654 gnu/java/beans/editors/NativeShortEditor.java,
12655 gnu/java/beans/editors/StringEditor.java,
12656 gnu/java/io/ClassLoaderObjectInputStream.java,
12657 gnu/java/io/decode/Decoder.java,
12658 gnu/java/io/encode/Encoder.java,
12659 gnu/java/lang/ClassHelper.java,
12660 gnu/java/locale/Calendar.java,
12661 gnu/java/locale/Calendar_de.java,
12662 gnu/java/locale/Calendar_en.java,
12663 gnu/java/locale/Calendar_nl.java,
12664 gnu/java/locale/LocaleInformation_de.java,
12665 gnu/java/locale/LocaleInformation_en.java,
12666 gnu/java/locale/LocaleInformation_nl.java:
12667 Cleaned up imports.
12669 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
12671 * README: Remove obsolete info. Update bug URL.
12673 * NEWS: Updated with news up to GCC 3.4 release.
12675 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
12677 * gnu/java/security/action/GetPropertyAction.java (setParameters):
12678 Renamed from 'setName'. New 2-argument form with default value.
12679 (run): Pass default 'value' parameter to System.getProperty().
12680 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
12682 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
12685 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
12687 * configure.in: Check for minimum GTK version 2.4 requirement.
12688 * configure: Rebuilt.
12690 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
12692 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
12693 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
12695 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
12697 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
12698 address. Reduce sleep times. Synchronize with target threads before
12699 attempting to interrupt them. Don't try to calibrate yeild count,
12700 instead, always loop for a fixed time.
12701 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
12702 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
12703 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
12704 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
12705 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
12706 * testsuite/libjava.lang/pr179.java: Likewise.
12707 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
12708 time. Remove upper bounds check on sleep time.
12710 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
12712 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
12713 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
12715 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
12717 * java/io/File.java (toURI): Throw RuntimeException, not
12719 * java/lang/Runtime.java (exit): Qualify static sleep() call with
12720 class name, not instance.
12722 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
12724 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
12725 and gnu/java/security/action/SetAccessibleAction.java.
12726 * Makefile.in: Rebuilt.
12728 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
12730 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
12731 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
12733 (DECLARE_PRIM_TYPE): Don't declare array vtables.
12734 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
12735 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
12737 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
12739 * Makefile.am: Replace jar, rmic and rmiregistry references with
12740 gjar, grmic and grmiregistry.
12741 * configure.in: Likewise.
12742 * Makefile.in: Regenerate.
12743 * configure: Likewise.
12744 * gcj/Makefile.in: Likewise.
12745 * include/Makefile.in: Likewise.
12746 * testsuite/Makefile.in: Likewise.
12748 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
12750 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
12751 for privileged getProperty calls.
12752 * java/io/ObjectOutputStream.java (getField): No longer static. Use
12753 SetAccessibleAction instead of anonymous class for doPrivileged call.
12754 (getMethod): Likewise.
12755 (setAccessible): New field. PrivilegedAction object to use when
12756 calling setAccessible.
12757 * java/io/ObjectStreamClass.java (calculateOffsets): Use
12758 SetAccessibleAction instead of anonymous class for diPrivileged call.
12759 (setFields): Likewise.
12760 (getClassUID): Likewise.
12761 (findMethod): Likewise.
12762 * gnu/java/security/action/GetPropertyAction.java: New class.
12763 * gnu/java/security/action/SetAccessibleAction.java: New class.
12765 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
12767 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
12769 * testsuite/libjava.lang/Serialization.java: New test.
12770 * testsuite/libjava.lang/Serialization.out: New.
12772 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
12774 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
12775 missed in last commit.
12777 2004-07-23 Mark Wielaard <mark@klomp.org>
12779 * java/lang/System.java (static): Set http.agent system property when
12781 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
12782 from system property inside AccessController.doPrivileged() call.
12783 (proxyPort): Made package private.
12784 (proxyInUse): Likewise.
12785 (proxyHost): Likewise.
12786 (userAgent): Likewise.
12788 2004-07-23 Mark Wielaard <mark@klomp.org>
12790 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
12793 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
12795 * Makefile.am (ordinary_java_source_files): Add
12796 DefaultContentHandlerFactory.java.
12797 * Makefile.in: Rebuilt.
12798 * java/net/URLConnection.java (defaultFactory): New field.
12800 (getContentHandler): Renamed from 'setContentHandler'. Try
12801 defaultFactory after user-set factory, if any. Search for content
12802 handler implementations in gnu.java.net.content, not gnu.gcj.content.
12803 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
12805 (getLastModified): Implemented.
12806 (getPermission): Create file permission here, instead of in
12808 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
12810 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
12812 (getLastModified): Implemented.
12813 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
12814 Default implementation.
12815 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
12816 Implement using GdkPixbufDecoder.
12818 2004-07-21 Michael Koch <konqueror@gmx.de>
12820 * javax/swing/JTextArea.java
12821 (setLineWrap): Fire property change event after new value is set.
12822 (setTabSize): Likewise.
12824 2004-07-21 Michael Koch <konqueror@gmx.de>
12826 * javax/swing/JTable.java
12827 (autoCreateColumnsFromModel): New field.
12828 (autoResizeMode): Likewise.
12829 (cellEditor): Likewise.
12830 (cellSelectionEnabled): Likewise.
12831 (columnModel): Likewise.
12832 (dataModel): Likewise.
12833 (defaultEditorsByColumnClass): Likewise.
12834 (defaultRenderersByColumnClass): Likewise.
12835 (editingColumn): Likewise.
12836 (editingRow): Likewise.
12837 (gridColor): Likewise.
12838 (preferredViewportSize): Likewise.
12839 (rowHeight): Likewise.
12840 (rowMargin): Likewise.
12841 (rowSelectionAllowed): Likewise.
12842 (selectionBackground): Likewise.
12843 (selectionForeground): Likewise.
12844 (selectionModel): Likewise.
12845 (showHorizontalLines): Likewise.
12846 (showVerticalLines): Likewise.
12847 (tableHeader): Likewise.
12848 (JTable): Implemented.
12849 (getColumnModel): Likewise.
12850 (getSelectedRow): Likewise.
12851 (getSelectionModel): Likewise.
12852 (setModel): Likewise.
12853 (setSelectionModel): Likewise.
12854 (createScrollPaneForTable): New method.
12855 (createDefaultDataModel): Likewise.
12856 (createDefaultListSelectionModel): Likewise.
12857 (getModel): Likewise.
12858 (getTableHeader): Likewise.
12859 (setTableHeader): Likewise.
12860 (getColumnSelectionAllowed): Likewise.
12861 (setColumnSelectionAllowed): Likewise.
12862 (getRowSelectionAllowed): Likewise.
12863 (setRowSelectionAllowed): Likewise.
12864 (getAutoResizeMode): Likewise.
12865 (setAutoResizeMode): Likewise.
12866 (getColumnCount): Likewise.
12867 (getRowCount): Likewise.
12868 (getCellRenderer): Likewise.
12869 * javax/swing/JTree.java
12870 (cellRenderer): New field.
12871 (editable): Likewise.
12872 (rootVisible): Likewise.
12873 (showsRootHandles): Likewise.
12874 (getModel): New method.
12875 (setModel): Likewise.
12876 (isEditable): Likewise.
12877 (setEditable): Likewise.
12878 (isRootVisbile): Likewise.
12879 (setRootVisible): Likewise.
12880 (getShowsRootHandles): Likewise.
12881 (setShowRootHandles): Likewise.
12882 (getCellRenderer): Likewise.
12883 (setCellRenderer): Likewise.
12885 2004-07-21 Michael Koch <konqueror@gmx.de>
12887 * javax/swing/JFormattedTextField.java
12888 (setDocument): Implemented.
12889 * javax/swing/JRootPane.java:
12891 * javax/swing/JTable.java
12892 (getDefaultRenderer): New method.
12893 * javax/swing/JTextField.java
12894 (setFont): Likewise.
12895 (getPreferredSize): Likewise.
12896 * javax/swing/JToggleButton.java
12897 (getAccessibleContext): Fix javadoc.
12898 * javax/swing/JTree.java:
12900 * javax/swing/JViewport.java:
12903 2004-07-21 David Jee <djee@redhat.com>
12905 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
12906 Collect all native method declaration at the top.
12907 (create): Set the filename filter if necessary.
12908 (setDirectory): Call nativeSetDirectory().
12909 (setFilenameFilter): Implement.
12910 (filenameFilterCallback): New method.
12911 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12912 (create): Configure dialog to show hidden files.
12913 (filenameFilterCallback): New function.
12914 (nativeSetFilenameFilter): New function.
12915 (nativeSetDirectory): New function.
12917 2004-07-21 Kim Ho <kho@redhat.com>
12919 * javax/swing/plaf/basic/BasicSliderUI.java:
12921 (paintTrack): Fill the track before painting
12924 2004-07-21 Graydon Hoare <graydon@redhat.com>
12926 patch from Roman Kennke <roman@ontographics.com>
12927 * javax/swing/Spring.java: New file.
12928 * javax/swing/SpringLayout.java: New file.
12929 * Makefile.am: Add new files.
12930 * Makefile.in: Regenerate.
12932 2004-07-21 Graydon Hoare <graydon@redhat.com>
12934 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
12935 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
12936 * javax/swing/ScrollPaneLayout.java: Likewise.
12938 2004-07-21 Kim Ho <kho@redhat.com>
12940 * javax/swing/DefaultDesktopManager.java:
12941 (findMinimum): Removed.
12942 (resizeFrame): Trust the UI to pass valid
12944 * javax/swing/JOptionPane.java:
12945 Implemented showInternalXXXDialog methods.
12946 (startModal): New method.
12947 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
12948 (BorderListener::mouseDragged): Verify that the new
12949 bounds are valid before passing them to the DesktopManager.
12950 (preferredLayoutSize): Delegate
12952 (minimumLayoutSize): Ditto.
12953 (getSize): New method.
12954 (GlassPaneDispatcher): Reimplemented by copying
12955 a stripped down LightweightDispatcher from Container.
12956 (getMinimumSize): Call minimumLayoutSize.
12957 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
12959 (mousePressed): Add ability to properly close
12961 * javax/swing/plaf/basic/BasicToolBarUI.java:
12962 (DragWindow): Set owner for DragWindow.
12964 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
12966 * java/awt/image/ShortLookupTable.java: New file.
12967 * java/awt/image/ByteLookupTable.java: New file.
12968 * Makefile.am: Added new files.
12969 * Makefile.in: Regenerated.
12971 2004-07-21 David Jee <djee@redhat.com>
12973 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
12974 (create(GtkContainerPeer)): New native method.
12975 (create()): Call native create(), passing in the parent frame
12976 as the paramter. Natively set the current file and directory.
12977 (setFile): Construct an absolute filename before passing it to
12979 (nativeGetDirectory): New method.
12980 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12981 (window_closed): Removed.
12982 (ok_clicked): Likewise.
12983 (cancel_clicked): Likewise.
12984 (handle_response): New method.
12985 (create): Use GtkFileChooserDialog.
12986 (connectSignals): Connect to handle_response.
12987 (nativeGetDirectory): New method.
12988 (nativeSetFile): Use GtkFileChooserDialog.
12990 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
12992 * java/awt/image/LookupTable.java: New file.
12993 * Makefile.am: Added new file.
12994 * Makefile.in: Regenerated.
12996 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
12998 * java/awt/image/Kernel.java: New file.
12999 * Makefile.am: Added new file.
13000 * Makefile.in: Regenerated.
13002 2004-07-21 Olga Rodimina <rodimina@redhat.com>
13004 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
13005 * javax/swing/JMenu.java: Likewise.
13006 * javax/swing/JMenuBar.java: Likewise.
13007 (MARGIN_CHANGED_PROPERTY): New property.
13008 (setMargin): Implemented.
13009 * javax/swing/JMenuItem.java: Fixed javadocs.
13010 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
13011 (LABEL_CHANGED_PROPERTY): New property.
13012 (add): changed to use createActionComponent.
13013 (createActionComponent): Implemented.
13014 (setLabel): Fire PropertyChangeEvent if label property
13016 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
13017 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
13018 (ContainerHandler): Repaint if margin property has changed.
13019 * javax/swing/plaf/basic/BasicMenuItemUI.java:
13020 (installUI): Call installComponents().
13021 (uninstallUI): Call uinstallComponents().
13022 * javax/swing/plaf/basic/BasicMenuUI.java:
13024 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
13027 2004-07-21 Kim Ho <kho@redhat.com>
13029 * javax/swing/plaf/basic/BasicToolBarUI.java:
13030 (DragWindow): Use the right constructor.
13032 2004-07-21 Kim Ho <kho@redhat.com>
13034 * javax/swing/JToolBar.java:
13035 (layoutContainer): Use getComponents.
13036 * javax/swing/plaf/basic/BasicToolBarUI.java:
13037 (DragWindow): Don't use SwingUtilities'
13039 (ToolBarDialog): ditto.
13041 2004-07-21 Kim Ho <kho@redhat.com>
13043 * javax/swing/JRootPane.java:
13045 (layoutContainer): Set the glasspane's size to
13046 be the same as the content pane.
13047 (createGlassPane): Set opaque property to false.
13049 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
13051 * java/awt/Component.java (requestFocus()): Don't handle Panels
13053 (requestFocus(boolean)): Likewise.
13054 (requestFocusInWindow(boolean)): Likewise.
13055 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
13056 Set GTK_CAN_FOCUS flag.
13058 2004-07-21 Kim Ho <kho@redhat.com>
13060 * Makefile.am: Added new file.
13061 * Makefile.in: Regenerated.
13062 * gcj/Makefile.in: Regenerated.
13063 * include/Makefile.in: Regenerated.
13064 * javax/swing/AbstractButton.java:
13065 Add rollOverEnabled property.
13066 (setRolloverEnabled): Use new property.
13067 (isRolloverEnabled): Use new property.
13068 * javax/swing/JTabbedPane.java:
13069 (setComponent): Remove useless JTabbedPane.this.
13070 * javax/swing/JToolBar.java: Finish implementation.
13071 * javax/swing/plaf/basic/BasicArrowButton.java:
13072 (paint): Moved border painting to a border.
13073 * javax/swing/plaf/basic/BasicLookAndFeel.java:
13074 Change JToolBar look and feel defaults.
13075 * javax/swing/plaf/basic/BasicOptionPaneUI.java
13076 (actionPerformed): Return Integer index instead of name.
13077 (addButtonComponents): Check to see if component is
13079 (createMessageArea): Don't use components that are not
13081 (getIconForType): Use temporary icons.
13082 * javax/swing/plaf/basic/BasicSliderUI.java:
13083 (mousePressed): Do not return if it's on thumb.
13084 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
13085 (paintMinorTickForVertSlider): ditto.
13086 (paintMajorTickForHorizSlider): ditto.
13087 (paintMajorTickForVertSlider): ditto.
13088 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
13089 Add a border around the SplitPaneDivider.
13090 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
13092 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
13093 New file. Implemented.
13094 * javax/swing/plaf/basic/BasicToolBarUI.java:
13096 * testsuite/Makefile.in: Regenerated.
13098 2004-07-21 Graydon Hoare <graydon@redhat.com>
13100 * javax/swing/Timer.java (run): Queue events each time cycle.
13102 2004-07-21 David Jee <djee@redhat.com>
13104 * gnu/java/awt/peer/gtk/GtkImagePainter.java
13105 (imageComplete): Call image.imageComplete().
13106 * java/awt/image/MemoryImageSource.java:
13107 Reimplement consumers as a Vector instead of a Hashtable. This is
13108 because enumeration on a Hashtable is not thread-safe.
13109 (addConsumer): Adapt to Vector consumers.
13110 (isConsumer): Adapt to Vector consumers.
13111 (removeConsumer): Adapt to Vector consumers.
13112 (startProduction): Adapt to Vector consumers. Call imageComplete()
13113 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
13114 (newPixels): Adapt to Vector consumers.
13115 (sendPicture): Set the color model of the image consumer.
13116 (newPixels(IIII)): Adapt to Vector consumers.
13117 (newPixels(IIIIB)): Adapt to Vector consumers.
13119 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
13121 * java/awt/Component.java (deliverEvent): Implement.
13122 (postEvent): Implement.
13123 (handleEvent): Implement.
13124 (translateEvent): New method.
13125 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
13126 * java/awt/Container.java (deliverEvent): Implement.
13127 * java/awt/Event.java (paramString): Fix formatting.
13128 * java/awt/Font.java (toString): Likewise.
13129 * java/awt/Window.java (postEvent): Implement.
13131 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
13133 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
13134 Set window's focus owner upon receiving a FOCUS_LOST event.
13135 * java/awt/Window.java (Window()): Refocus the previously
13136 focused component within the window when the window regains the
13138 (setFocusOwner): New method.
13139 * java/awt/Component.java (requestFocus): Add FIXME.
13141 * libgcj.pc.in: Remove library flags.
13143 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
13145 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
13146 MOUSE_PRESSED event.
13147 * java/awt/Component.java (requestFocus()): Handle Panel
13148 specially. Post FOCUS_LOST event on opposite component.
13149 (requestFocus(boolean)): Likewise.
13150 (requestFocusInWindow(boolean)): Likewise.
13151 (paramString): Reorder dimension fields.
13152 * java/awt/Container.java (paramString): Fix string format.
13153 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
13154 Handle FOCUS_LOST events. Don't handle Windows specially. Only
13155 process key events if the focus owner is non-null.
13156 (dispatchKeyEvent): Likewise.
13157 * java/awt/Frame.java (paramString): Fix formatting.
13158 (generateName): New method.
13159 (getUniqueLong): Likewise.
13160 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
13161 the temporary focus owner is null. If so, return the permanent
13163 * java/awt/Panel.java (generateName): New method.
13164 (getUniqueLong): Likewise.
13165 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
13166 signal handling to make callbacks more specific.
13168 2004-07-21 Michael Koch <konqueror@gmx.de>
13170 * javax/swing/text/Position.java
13171 (Bias): Implemented.
13173 2004-07-21 Michael Koch <konqueror@gmx.de>
13175 * javax/swing/LookAndFeel.java
13176 (provideErrorFeedback): New method.
13178 2004-07-21 Michael Koch <konqueror@gmx.de>
13180 * javax/swing/JTextArea.java
13181 (tabSize): New field.
13182 (getTabSize): New method.
13183 (setTabSize): Likewise.
13185 2004-07-21 Michael Koch <konqueror@gmx.de>
13187 * javax/swing/ActionMap.java:
13188 Fixed javadocs all over.
13189 (serialVersionUID): Made private.
13190 (parent): Don't explicitely initialize with default value.
13192 (keys): Reimplemented.
13193 (allKeys): Likewise.
13194 (convertSet): Removed.
13195 * javax/swing/ComponentInputMap.java:
13196 Fixed javadocs all over.
13197 (ComponentInputMap): Implemented.
13200 (remove): Likewise.
13201 (SetParent): Likewise.
13202 (getComponent): Likewise.
13203 * javax/swing/InputMap.java:
13204 Fixed javadocs all over.
13205 (serialVersionUID): Made private.
13206 (parent): Don't explicitely initialize with default value.
13208 (keys): Reimplemented.
13209 (allKeys): Likewise.
13210 (convertSet): Removed.
13212 2004-07-21 Michael Koch <konqueror@gmx.de>
13214 * javax/swing/ActionMap.java,
13215 javax/swing/ComponentInputMap.java,
13216 javax/swing/InputMap.java,
13217 javax/swing/table/DefaultTableColumnModel.java,
13218 javax/swing/table/TableColumn.java,
13219 javax/swing/table/TableColumnModel.java,
13220 javax/swing/table/TableModel.java,
13221 javax/swing/text/AbstractDocument.java,
13222 javax/swing/text/TextAction.java:
13225 2004-07-21 Graydon Hoare <graydon@redhat.com>
13227 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
13228 Make method non-static.
13229 * javax/swing/AbstractButton.java:
13230 Rename fields to match property names where possible.
13231 (iconTextGap): New property.
13232 * javax/swing/JCheckBox.java: Match AbstractButton changes.
13233 (init) New method, call from after various constructors.
13234 * javax/swing/JComponent.java (revalidate):
13235 Invalidate before queueing repair.
13236 * javax/swing/JList.java (getPreferredScrollableViewportSize):
13237 Reimplement in terms of visibleRowCount property.
13238 * javax/swing/JMenuButton.java: Match AbstractButton changes.
13239 * javax/swing/JScrollPane.java (createScrollListener):
13240 Remove tracing chatter.
13241 * javax/swing/JToggleButton.java: Match AbstractButton changes.
13242 * javax/swing/RepaintManager.java (addInvalidComponent):
13244 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
13246 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
13247 Mimic sun behavior on top left/right positioning.
13248 * javax/swing/ViewportLayout.java (preferredLayoutSize):
13249 Remove mistaken use of preferredScrollableViewportSize here.
13250 (layoutContainer): Use view's preferred size as basis.
13251 * javax/swing/plaf/basic/BasicButtonUI.java:
13252 Set, get, and use textIconGap property.
13253 (paint) Paint text returned from layout (with ellipsis).
13254 * javax/swing/plaf/basic/BasicListUI.java:
13255 Remove tracing chatter, correct various minor calculations.
13256 (getCellBounds): Update layout state before calculating.
13257 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
13258 Use margin default similar to sun's.
13259 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
13260 (createIncreaseIcon): Center icon, minimize margins.
13261 (createDecreaseIcon): Likewise.
13262 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
13264 (installUI): Call it.
13265 (uninstallDefaults): Implement.
13266 (uninstallUI): Call it.
13267 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
13268 Call existing Window constructor.
13269 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
13270 Set clip before painting.
13272 2004-07-21 Olga Rodimina <rodimina@redhat.com>
13274 * javax/swing/JMenuItem.java:
13275 (processMouseEvent): Reimplemented to deal with
13277 (createMenuDragMouseEvent): New private helper method.
13278 Creates MenuDragMouseEvent.
13279 * javax/swing/MenuSelectionManager.java
13280 (componentForPoint): Implemented.
13281 (isComponentPartOfCurrentMenu): Made public.
13282 (processMouseEvent): Reimplemented to deal with
13284 (setSelectedPath): Corrected small mistake that caused
13285 path to be set incorrectly.
13286 (getPath): If given component is JMenu then also add this
13287 menu's popup menu to the selected path.
13288 * javax/swing/plaf/basic/BasicMenuItemUI.java:
13290 (getPreferredSize): Call getPreferredMenuItemSize().
13291 (getPreferredItemSize): Moved code from getPreferredSize to here.
13292 (installListeners): Install MouseMotionListeners.
13293 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
13294 if mouse wasn't released in the bounds of this menu item.
13295 (MenuDragMouseHandler): Implemented.
13296 * javax/swing/plaf/basic/BasicMenuUI.java:
13297 (installListeners): Install MouseMotionListener and
13298 MenuDrageMouseListener.
13299 (MenuDragMouseHandler): Implemented.
13300 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
13301 (uninstallListeners): Implemented.
13303 2004-07-21 Michael Koch <konqueror@gmx.de>
13305 * javax/swing/JCheckBox.java: Reformated.
13306 (JCheckBox): Fixed all constructors.
13307 (isBorderPaintedFlat): New method.
13308 (setBorderPaintedFlat): New method.
13309 * javax/swing/JEditorPane.java
13310 (createEditorKitForContentType): Made public.
13311 (scrollToReference): Likewise.
13312 * javax/swing/JTextArea.java
13313 (setLineWrap): Fire property change.
13314 * javax/swing/JToggleButton.java
13315 (JToggleButton): New constructor.
13316 (JToggleButton): Simplified.
13317 * javax/swing/text/AttributeSet.java
13318 (FontAttribute): Renamed from FontCharacterAttribute.
13319 * javax/swing/text/JTextComponent.java
13320 (KeyBinBinding): Added javadoc.
13321 (JTextComponent): Likewise.
13322 (getAccessibleContext): Fixed javadoc.
13323 * javax/swing/text/View.java
13324 (View): Added javadoc.
13325 * javax/swing/text/TabableView.java: New file.
13326 * Makefile.am: Added javax/swing/text/TabableView.java.
13327 * Makefile.in: Regenerated.
13329 2004-07-21 Graydon Hoare <graydon@redhat.com>
13331 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
13332 * gnu/java/awt/peer/gtk/GtkToolkit.java
13333 (GtkErrorImage): New helper class.
13334 (bufferedImageOrError): New helper method.
13335 (createImage): Use it.
13337 2004-07-21 David Jee <djee@redhat.com>
13339 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
13340 (setCaretPosition): Scroll the text view so the new caret position
13341 is visible on screen.
13343 2004-07-21 David Jee <djee@redhat.com>
13345 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
13346 (setBounds): Do not validate awtComponent here.
13347 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
13348 (getPreferredSize): New method.
13349 * java/awt/ScrollPane.java
13350 (ScrollPane): Set default size to 100x100.
13351 (addNotify): If child is not a Panel, wrap it with a new Panel.
13352 (paramString): Implement.
13354 2004-07-21 Olga Rodimina <rodimina@redhat.com>
13356 * javax/swing/JMenu.java:
13357 (setSelected): Display popup menu only if this menu
13358 is showing on the screen.
13359 * javax/swing/JPopupMenu.java:
13360 (processMouseEvent): Added comment.
13361 (processKeyEvent): Likewise.
13362 * javax/swing/MenuSelectionManager.java:
13363 (clearSelectedPath): Only fireStateChanged() after
13364 selected path was changed, not before.
13365 (setSelectedPath): Likewise.
13366 * javax/swing/plaf/basic/BasicMenuItemUI.java:
13367 (paintMenuItem): Corrected position of menu item's
13369 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
13370 (installUI): Correct setDefaultLightWeightPopupEnabled call.
13371 (popupMenuCanceled): Reimplemented.
13372 (popupMenuWillBecomeVisible): Select first menu item by default
13373 when displaying free floating popup menus.
13374 (TopWindowListener): Reimplemented.
13376 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
13378 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
13379 Panel from being painted twice when it is first shown.
13381 2004-07-21 Olga Rodimina <rodimina@redhat.com>
13383 * java/awt/Window.java: Reverted changes from my
13384 previous patch for creating window without an owner.
13385 * javax/swing/SwingUtilities.java:
13386 (SwingUtilities.OwnerFrame): made static.
13387 (OwnerFrame.setVisible): New method. Overridden with
13388 empty implementation.
13389 (OwnerFrame.isShowing): New method. Ovverridden
13390 to return always true.
13392 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
13394 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
13395 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13396 (GtkComponentPeer): Remove temporary try/catch block.
13397 (setVisible): Call show and hide.
13398 (show): Make native.
13400 (getArgs): Don't add "visible" argument.
13401 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13402 (property_notify_predicate): Return Bool instead of int.
13403 (find_layout): New function.
13404 (connectJObject): Call find_layout.
13405 (connectSignals): Likewise.
13406 (moveLayout): Likewise.
13407 (gtkLayoutSetVisible): Likewise.
13409 2004-07-21 Mark Wielaard <mark@klomp.org>
13411 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
13412 on notifier object before calling notifyAll().
13414 2004-07-21 Olga Rodimina <rodimina@redhat.com>
13416 * java/awt/Window.java: Changed constructors to use new
13417 method that is described below. Constructors call this
13418 methods only if newly created window should have an owner.
13419 (setWindowOwner): New method. Implementation for
13420 this method is moved from this(owner,configuration).
13421 * javax/swing/JWindow.java:
13422 (JWindow): Reimplement to use SwingUtilities.ownerFrame
13424 * javax/swing/SwingUtilities.java:
13425 (ownerFrame): Change type of this field to OwnerFrame.
13426 (getOwnerFrame): Changed to return object of type OwnerFrame.
13427 (SwingUtilities.OwnerFrame): New class. Represents owner
13428 of a Window that is not provided with one.
13430 2004-07-21 Olga Rodimina <rodimina@redhat.com>
13432 * javax/swing/AbstractButton.java:
13433 (configurePropertiesFromAction): Set action command
13434 to button's text by default if action command is not
13435 explicitely specified.
13436 * javax/swing/JMenu.java: Remove unnecessary listener
13437 and methods relevant to it.
13438 (setSelected): Reimplemented.
13439 (menuSelectionChanged): Moved most part of implementation to
13440 setSelected() and call it instead.
13441 * javax/swing/JMenuItem.java:
13442 (init): Comment out statement that sets paint_border to false.
13443 (configurePropertiesFromAction): Do not set accelerator
13445 (menuSelectionChanged): Change selected index in the selection
13446 model of menu item's parent.
13447 * javax/swing/JPopupMenu.java:
13448 (remove): Set constraints.fill field to GridBagConstraints.BOTH
13449 instead of GridBagConstraints.HORIZONTAL.
13450 (insert): Likewise.
13451 (createActionChangeListener): Implemented.
13452 (setVisible): Correct location of HeavyWeightMenu and
13453 don't firePopupMenuCanceled().
13454 (menuSelectionChanged): Implemented.
13455 (ActionChangeListener): New Listener. Implemented.
13456 * javax/swing/plaf/basic/BasicMenuBarUI.java:
13457 (BasicMenuBarUI.ContainerHandler): Implemented.
13458 * javax/swing/plaf/basic/BasicMenuItemUI.java:
13459 (paintMenuItem): Uncommented out code that paints
13460 icon, now that icons are working properly.
13461 (PropertyChangeListener): Implemented.
13462 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
13464 (topWindowListener): New field.
13465 (Constructor): initialize topWindowListener.
13466 (BasicPopupMenuUI.TopWindowListener): Implemented.
13467 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
13468 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
13471 2004-07-21 Michael Koch <konqueror@gmx.de>
13473 * javax/swing/plaf/basic/BasicButtonUI.java
13474 (paintFocus): Fixed method signature.
13475 (paintButtonPressed): Likewise.
13476 (paintButtonNormal): Likewise.
13477 (paintText): New method.
13478 * javax/swing/plaf/basic/BasicLabelUI.java
13479 (paint): Re-indented.
13480 * javax/swing/plaf/basic/BasicTextUI.java
13481 (installUI): Set parent textComponent to opaque.
13482 * javax/swing/text/DefaultHighlighter.java
13483 (checkPositions): New helper method.
13484 (addHighlight): Throws BadLocationException, check positions.
13485 (changeHighlight): Likewise.
13486 * javax/swing/text/EditorKit.java
13487 (EditorKit): Implements Serializable.
13488 * javax/swing/text/JTextComponent.java
13489 (getUI): Added javadoc.
13491 (upadteUI): Added javadoc, don't revalidate and repaint.
13493 2004-07-21 David Jee <djee@redhat.com>
13495 * java/awt/GridBagLayout.java
13496 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
13497 * javax/swing/AbstractButton.java
13498 (setText): Reindent.
13499 * javax/swing/RepaintManager.java
13500 (addInvalidComponent): Find the first ancestor that isValidateRoot().
13502 2004-07-21 Michael Koch <konqueror@gmx.de>
13504 * javax/swing/JFormattedTextField.java
13505 (value): New field.
13506 (JFormattedTextField): Implemented.
13507 (getValue): Likewise.
13508 (setValue): Likewise.
13509 * javax/swing/LookAndFeel.java
13510 (getSupportsWindowDecorations): New method.
13511 * javax/swing/UIDefaults.java:
13512 Use java.beans.PropertyChangeSupport instead of doing all ourself.
13513 (addPropertyChangeListener): Made public.
13514 (addResourceBundle): Likewise.
13515 (removeResourceBundle): Likewise.
13516 (setDefaultLocale): Likewise.
13517 * javax/swing/plaf/basic/BasicRootPaneUI.java
13518 (BasicRootPaneUI): Implements PropertyChangeListener.
13519 (propertyChange): New method.
13520 * javax/swing/plaf/basic/BasicTextUI.java
13521 (BasicHighlighter): New inner class.
13522 (createHighlighter): New method.
13523 * javax/swing/plaf/basic/BasicToolBarUI.java
13524 (DragWindow): Extends java.awt.Window.
13525 * javax/swing/text/JTextComponent.java
13526 (getDocument): Removed debug output.
13527 * javax/swing/plaf/basic/BasicTextFieldUI.java,
13528 javax/swing/text/DefaultHighlighter.java,
13529 javax/swing/text/FieldView.java,
13530 javax/swing/text/PlainView.java: New files.
13531 * Makefile.am: Added new files.
13532 * Makefile.in: Regenerated.
13534 2004-07-21 Michael Koch <konqueror@gmx.de>
13536 * javax/swing/JEditorPane.java
13537 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
13538 (createEditorKitForContentType): Likewise.
13539 * javax/swing/text/DefaultEditorKit.java
13540 (serialVersionUID): Added constant field.
13541 (EndOfLineStringPropery): Fixed typo.
13542 (DefaultEditorKit): New constructor.
13543 * javax/swing/text/Segment.java:
13544 Import java.text.CharacterIterator.
13545 * javax/swing/text/CharacterIterator.java,
13546 javax/swing/text/PlainEditorKit.java: Removed.
13547 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
13548 javax/swing/text/PlainEditorKit.java.
13549 * Makefile.in: Regenerated.
13551 2004-07-21 Michael Koch <konqueror@gmx.de>
13553 * javax/swing/JButton.java,
13554 javax/swing/text/DefaultEditorKit.java,
13555 javax/swing/text/EditorKit.java,
13556 javax/swing/text/Segment.java,
13557 javax/swing/text/StyledEditorKit.java:
13560 2004-07-21 Michael Koch <konqueror@gmx.de>
13562 * javax/swing/ImageIcon.java
13564 (description): Renamed from descr.
13565 (ImageIcon): Added missing constructors.
13566 (setParent): Removed.
13567 (setImageObserver): New method.
13568 (getImageObserver): New method.
13569 (paintIcon): Handle observer = null.
13570 * javax/swing/JButton.java
13571 (removeNotify): Fixed javadoc.
13572 (updateUI): Simplified.
13573 * javax/swing/JRootPane.java
13574 (serialVersionUID): New constant field.
13575 * javax/swing/UIManager.java:
13576 Fixed javadocs all over.
13577 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
13578 * javax/swing/text/AbstractDocument.java
13579 (createPosition): Throws BadLocationException.
13580 (getText): Likewise.
13581 (remove): Likewise.
13582 * javax/swing/text/ComponentView.java
13583 (modelToView): Likewise.
13584 * javax/swing/text/DefaultEditorKit.java:
13585 Made all public methods public.
13586 (read): Throws BadLocationException and IOException.
13588 * javax/swing/text/EditorKit.java:
13589 Made all public methods public.
13590 (serialVersionUID): New constant field.
13591 (clone): New method.
13592 (read): Throws BadLocationException and IOException.
13594 * javax/swing/text/Segment.java
13595 (array): Made public.
13597 (offset): Likewise.
13598 (Segment): New constructors.
13599 (clone): Reimplemented.
13600 * javax/swing/text/StyledEditorKit.java
13601 (serialVersionUID): New constant field.
13603 2004-07-21 Graydon Hoare <graydon@redhat.com>
13605 * java/awt/image/BufferedImage.java
13606 (getSource): Implement.
13607 * javax/swing/ImageIcon.java
13608 (ImageIcon): Implement ctor.
13609 * javax/swing/ScrollPaneLayout.java
13610 (preferredLayoutSize): Be more careful about nulls.
13612 2004-07-21 Michael Koch <konqueror@gmx.de>
13614 * javax/swing/text/AttributeSet.java
13615 (CharacterAttribute): New interface
13616 (ColorAttribute): Likewise.
13617 (FontCharacterAttribute): Likewise.
13618 (ParagraphAttribute): Likewise.
13619 * javax/swing/text/DefaultCaret.java
13620 (moveCaret): New method.
13621 (positionCaret): Likewise.
13622 (repaint): Made protected.
13623 * javax/swing/text/JTextComponent.java
13624 (KeyBinding): Made it static.
13625 * javax/swing/text/View.java
13626 (getContainer): Honor parent == null.
13628 2004-07-21 Michael Koch <konqueror@gmx.de>
13630 * javax/swing/text/AbstractDocument.java:
13633 2004-07-21 Michael Koch <konqueror@gmx.de>
13635 * javax/swing/plaf/basic/BasicRootPaneUI.java:
13636 Import javax.swing.UIManager explicitely.
13637 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
13638 (ScrollingButton): Made it static.
13640 2004-07-21 Michael Koch <konqueror@gmx.de>
13642 * javax/swing/UIDefaults.java
13643 (ActiveValue): Made public.
13644 (LazyValue): Likewise.
13645 * javax/swing/plaf/basic/BasicTextUI.java
13646 (RootView): Reintroduced.
13648 (rootView): New field.
13649 (installUI): Create document if needed, initialize rootView.
13650 (uninstallUI): Hanle rootView.
13652 (getRootView): Likewise.
13653 (setView): Likewise.
13654 * javax/swing/text/DefaultCaret.java:
13655 Renamed all "evt" variables to "event".
13657 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
13659 * libgcj.spec.in: Add -l-java-util-logging.
13661 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
13663 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
13664 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
13665 gtk-xft-dpi can no calculate the right value.
13666 (dpi_changed_cb): Mark *pspec as unsused.
13668 2004-07-21 David Jee <djee@redhat.com>
13670 * java/awt/Component.java
13671 (move): Delegate to setBounds().
13672 (resize): Likewise.
13673 (reshape): Fix so it repaints parent and self only when necessary.
13675 2004-07-21 David Jee <djee@redhat.com>
13677 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
13678 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13679 (GtkComponentPeer): Revert previous patch from 2004-06-22.
13680 (setVisible): Likewise.
13683 (getArgs): Likewise.
13684 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13685 (property_notify_predicate): Likewise.
13686 (find_layout): Likewise.
13687 (connectJObject): Likewise.
13688 (connectSignals): Likewise.
13689 (moveLayout): Likewise.
13690 (gtkLayoutSetVisible): Likewise.
13692 2004-07-21 Graydon Hoare <graydon@redhat.com>
13695 (jv_convert_LDADD):
13698 (rmiregistry_LDADD): Add lib-java-util-logging.la
13699 * Makefile.in: Regenerate.
13701 2004-07-21 Michael Koch <konqueror@gmx.de>
13703 * javax/swing/text/AbstractDocument.java
13704 (replace): Dont use protected method of java.util.Vector directly.
13706 2004-07-21 Michael Koch <konqueror@gmx.de>
13708 * javax/swing/plaf/basic/BasicTextUI.java
13709 (installUI): Call specialized install methods.
13710 (installDefaults): New method.
13711 (installListeners): Likewise.
13712 (installKeyboardActions): Likewise.
13713 (uninstallUI): Likewise.
13714 (uninstallDefaults): New method.
13715 (uninstallListeners): Likewise.
13716 (uninstallKeyboardActions): Likewise.
13717 (getPropertyPrefix): New abstract method.
13718 (paint): Made final, just call paintSafely().
13719 (paintSavely): New method.
13720 (paintBackground): Likewise.
13721 (getVisibleEditorRect): Likewise.
13722 * javax/swing/text/LayeredHighlighter.java,
13723 javax/swing/text/TabExpander.java: New files.
13724 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
13725 and javax/swing/text/TabExpander.java.
13726 * Makefile.in: Regenerated.
13728 2004-07-21 Michael Koch <konqueror@gmx.de>
13730 * javax/swing/plaf/basic/BasicTextUI.java
13731 (BasicTextUI): Made abstract.
13732 (BasicCaret): New inner class.
13733 (view): Don't explicitely initialize with "null".
13734 (textComponent): New field.
13735 (textColor): Removed.
13736 (disabledTextColor): Removed.
13737 (normalBackgroundColor): Removed.
13738 (RootView): Removed commented out inner class.
13739 (createUI): Removed.
13740 (createCaret): New method.
13741 (getComponent): Likewise.
13742 (installUI): Initialize textComponent only.
13743 (getPreferredSize): Use installed JTextComponent.
13744 (setView): New method.
13745 (create): Likewise.
13746 * javax/swing/text/JTextComponent.java
13747 (highlighter): New field.
13748 (caretColor): Likewise.
13749 (disabledTextColor): Likewise.
13750 (seletedTextColor): Likewise.
13751 (selectionColor): Likewise.
13752 (setUI): New method.
13753 (getCaretColor): Likewise.
13754 (setCaretColor): Likewise.
13755 (getDisabledColor): Likewise.
13756 (setDisabledColor): Likewise.
13757 (getSelectedTextColor): Likewise.
13758 (setSelectedTextColor): Likewise.
13759 (getSelectionColor): Likewise.
13760 (setSelectionColor): Likewise.
13761 (getHighlighter): Likewise.
13762 (setHighlighter): Likewise.
13763 (replaceSelection): Likewise.
13765 2004-07-21 Michael Koch <konqueror@gmx.de>
13767 * javax/swing/plaf/basic/BasicScrollPaneUI.java
13768 (BasicScrollPaneUI): Implements ScrollPaneConstants.
13769 * javax/swing/plaf/basic/BasicToolBarUI.java
13770 (BasicToolBarUI): Implements SwingConstants.
13772 2004-07-21 Michael Koch <konqueror@gmx.de>
13774 * javax/swing/JPopupMenu.java: Removed CVS tags.
13775 * javax/swing/UIDefaults.java: Reformatted.
13776 * javax/swing/plaf/basic/BasicRootPaneUI.java:
13777 Explicitely import used classes.
13779 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
13781 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
13782 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13783 (GtkComponentPeer): Remove temporary try/catch block.
13784 (setVisible): Call show and hide.
13785 (show): Make native.
13787 (getArgs): Don't add "visible" argument.
13788 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13789 (property_notify_predicate): Return Bool instead of int.
13790 (find_layout): New function.
13791 (connectJObject): Call find_layout.
13792 (connectSignals): Likewise.
13793 (moveLayout): Likewise.
13794 (gtkLayoutSetVisible): Likewise.
13796 2004-07-21 Olga Rodimina <rodimina@redhat.com>
13798 * javax/swing/AbstractButton.java:
13799 (setDisplayedMnemonicIndex): Check if button
13800 text is not null before checking its length.
13801 * javax/swing/JMenuItem.java:
13802 (processMouseEvent): Disarm menu item if mouse has
13804 * javax/swing/plaf/basic/BasicMenuUI.java:
13805 (MouseInputHandler.mouseEntered): Do not raise
13806 popup menu if this menu is already selected.
13807 (MouseInputHandler.mousePressed): Do not fire
13809 (MenuHandler): Implemented.
13811 2004-07-21 Olga Rodimina <rodimina@redhat.com>
13813 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
13814 (getSelectedObjects): Implemented.
13815 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
13816 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
13817 Added javadoc for few methods.
13818 (processMouseEvent): Made public.
13819 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
13820 (processMouseEvent): Likewise.
13822 2004-07-21 Olga Rodimina <rodimina@redhat.com>
13824 * javax/swing/AbstractButton.java:
13825 (init): Set display mnemonic index to -1.
13826 (setMnemonic(char)): Use setMnemonic(int).
13827 (setMnemonic(int)): Set display mnemonic index.
13828 (getDisplayedMnemonicIndex): Change method signature
13829 by removing 'index' parameter.
13830 * javax/swing/plaf/basic/BasicLookAndFeel.java:
13831 Added default for Menu.selectionBackground.
13832 * javax/swing/plaf/basic/BasicMenuItemUI.java:
13833 (paintMenuItem): Change background color of the selected
13835 (paintText): Paint differently when menu item is disabled.
13836 Also paint mnemonic if it appears in the menu item's label.
13837 (paintAccelerator): Paint accelerator differently
13838 if menu item is disabled.
13839 * javax/swing/plaf/basic/BasicMenuUI.java:
13840 (installDefaults): Install defaults for
13841 selectionForeground and selectionBackground.
13842 (uninstallDefaults): Uninstall defauls for
13843 selectionForeground and selectionBackground.
13845 2004-07-21 Michael Koch <konqueror@gmx.de>
13847 * javax/swing/text/AbstractDocument.java
13848 (BranchElement): Implemented.
13849 (LeafElement): Implemented.
13850 * javax/swing/text/DefaultCaret.java:
13851 Import used classes.
13852 (serialVersionUID): New constant.
13853 * javax/swing/text/JTextComponent.java
13854 (AccessibleJTextComponent): Removed dead declaration.
13855 (caretPos): Removed.
13856 (setCaret): New method.
13857 * javax/swing/text/PlainDocument.java
13858 (rootElement): New field.
13859 (PlainDocument): Initialize rootElement.
13860 (createDefaultRoot): New method.
13861 (getDefaultRootElement): Implemented.
13862 * javax/swing/text/View.java: Reformatted.
13863 * javax/swing/text/ViewFactory.java
13864 (create): Added javadoc.
13866 2004-07-21 Michael Koch <konqueror@gmx.de>
13868 * javax/swing/ToolTipManager.java: Reformatted.
13870 2004-07-21 Rodimina Olga <rodimina@redhat.com>
13872 * javax/swing/AbstractButton.java
13873 (changeEvent): New field.
13874 (fireItemStateChanged): Change source of the event
13875 to 'this' before firing it to button listeners.
13876 (fireActionPerformed): Likewise.
13877 (fireStateChanged): Likewise.
13878 (createActionListener): Do not set source
13879 of the event to AbstractButton.
13880 * javax/swing/plaf/basic/BasicMenuBarUI.java:
13881 (ContainerHandler.componentAdded): Removed
13882 print out statement.
13883 (ContainerHandler.componentRemoved): Likewise.
13885 2004-07-21 Michael Koch <konqueror@gmx.de>
13887 * javax/swing/text/Highlighter.java: New file.
13888 * Makefile.am: Added javax/swing/text/Highlighter.java.
13889 * Makefile.in: Regenerated.
13891 2004-07-21 Michael Koch <konqueror@gmx.de>
13893 * javax/swing/ToolTipManager.java
13894 (stillInsideTimerAction): Fixed constructor arguments.
13895 (outsideTimerAction): Likewise.
13896 (insideTimerAction): Likewise.
13898 2004-07-21 Michael Koch <konqueror@gmx.de>
13900 * javax/swing/JButton.java: Reformatted.
13901 * javax/swing/JFormattedTextField.java
13902 (getUIClassID): Implemented.
13903 * javax/swing/JRootPane.java
13904 (serialVersionUID): New constant.
13905 * javax/swing/JTextField.java
13906 (align): New field.
13907 (JTextField): Simplified.
13908 (getUIClassID): New method.
13909 (getActionListeners): Added @since tag.
13910 (setColumns): Invalidate layout and repaint.
13911 (getHorizontalAlignment): New method.
13912 (setHorizontalAlignment): New method.
13913 (selectAll): Removed.
13914 * javax/swing/SwingUtilities.java
13915 (getAncestorOfClass): Removed redundant @see tag.
13916 (isLeftMouseButton): Fixed implementation.
13917 (isMiddleMouseButton): Likewise.
13918 (isRightMouseButton): Likewise.
13919 * javax/swing/text/AbstractDocument.java
13920 (AttributeContext.addAttribute): New method.
13921 (AttributeContext.addAttributes): New method.
13922 (AttributeContext.getEmptySet): New method.
13923 (AttributeContext.reclaim): New method.
13924 (AttributeContext.removeAttribute): New method.
13925 (AttributeContext.removeAttributes): New method.
13926 * javax/swing/text/Document.java
13927 (createPosition): Throws BadLocationException.
13928 (getText): Likewise.
13929 (remove): Likewise.
13930 * javax/swing/text/JTextComponent.java
13931 (getText): Return null if no document is set. Catch
13932 BadLocationException.
13933 (getUI): Return ui.
13934 (updateUI): Simplified.
13936 2004-07-21 Michael Koch <konqueror@gmx.de>
13938 * javax/swing/JButton.java
13939 (removeNotify): Fixed javadoc.
13940 (updateUI): Simplified.
13942 2004-07-21 David Jee <djee@redhat.com>
13944 * gnu/java/awt/image/ImageDecoder.java
13945 (startProduction): Only add consumer if it's not added yet.
13946 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
13947 (GdkPixbufDecoder): Don't call initState() here.
13948 (produce): Call initState() here, to ensure area_prepared and
13949 area_updated signals are properly connected.
13950 * gnu/java/awt/peer/gtk/GtkImage.java
13951 (setColorModel): Use equals() to compare ColorModel objects.
13952 (setPixels): Likewise.
13953 * java/awt/image/ColorModel.java
13954 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
13955 * java/awt/image/RGBImageFilter.java
13956 (setColorModel): Set consumer's color model.
13957 (setPixels): Use equals() to compare ColorModel objects.
13959 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
13961 * java/net/URLConnection.java (position): New field.
13962 (dateFormat1, dateFormat2, dateFormat3): Removed.
13963 (dateFormats): New field.
13964 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
13965 each time instead of re-allocating.
13966 (initializeDateFormats): Initialize 'dateFormats'.
13968 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
13971 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
13974 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
13976 * java/net/Socket.java (getImpl): Now private. Remove comment.
13978 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
13980 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
13981 of chained Writer when calling super-constructor.
13982 * java/io/FilterWriter.java (FilterWriter): Likewise.
13983 * java/io/PrintWriter.java (PrintWriter): Likewise.
13985 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
13987 * prims.cc (process_gcj_properties): Don't increment i within LHS
13990 2004-07-19 Per Bothner <per@bothner.com>
13992 Print -verbose:message on "loading", not initialization.
13993 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
13994 * defineclass.cc (_Jv_ClassReader::parse): Print message if
13995 gcj::verbose_class_flag.
13996 * java/lang/natClass.cc (initializeClass): Don't print message here.
13997 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
13998 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
13999 (_Jv_PrepareCompiledClass): Likewise.
14001 2004-07-18 Matthias Klose <doko@debian.org>
14003 * configure.in: Substitute target_noncanonical.
14004 * configure: Regenerate
14006 2004-07-17 Michael Koch <konqueror@gmx.de>
14008 * java/lang/String.java: Fixed javadocs all over.
14010 2004-07-17 Mark Wielaard <mark@klomp.org>
14012 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
14013 when size is smaller.
14014 * java/io/RandomAccessFile.java (setLength): Use truncate for
14015 shrinking the file and seek plus write for expanding the file.
14017 2004-07-17 Michael Koch <konqueror@gmx.de>
14019 * gnu/java/nio/channels/natFileChannelPosix.cc
14020 (implTruncate): Always save current position. Only reposition file
14021 pointer to where we started if not beyond new lenght. Reposition file
14022 pointer to file length if it points beyond the end of file.
14024 2004-07-17 Mark Wielaard <mark@klomp.org>
14026 * javax/swing/Box.java: Put FIXME comment above class declaration.
14027 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
14028 * javax/swing/JCheckBox.java: Likewise.
14029 * javax/swing/JDialog.java: Likewise.
14030 * javax/swing/JRadioButton.java: Likewise.
14031 * javax/swing/JToggleButton.java: Likewise.
14032 * javax/swing/UIManager.java: Likewise.
14033 * javax/swing/border/TitledBorder.java: Likewise.
14034 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
14035 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
14036 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
14037 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
14038 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
14039 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
14040 * javax/swing/text/JTextComponent.java: Likewise.
14042 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
14044 * java/net/DatagramPacket.java (setAddress): Removed check for
14047 2004-07-17 Michael Koch <konqueror@gmx.de>
14049 * java/net/DatagramSocket.java
14050 (getLocalAddress): Check if socket is bound or not.
14051 * java/net/Socket.java
14052 (getLocalAddrss): Check if socket is bound or not.
14053 (getPort): Return -1 when not connected. Dont check getImpl() for
14055 (setReuseAddress): Check if socket is closed.
14056 (isConnected): Check if getImpl() returns null.
14058 2004-07-17 Mark Wielaard <mark@klomp.org>
14060 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
14061 on notifier object before calling notifyAll().
14063 2004-07-17 Michael Koch <konqueror@gmx.de>
14065 * gnu/java/nio/channels/FileChannelImpl.java
14066 (finalize): Added javadoc.
14068 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
14070 * java/text/CollationElementIterator.java
14071 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
14072 (setText): Use ArrayList instead of Vector.
14074 2004-07-17 Michael Koch <konqueror@gmx.de>
14076 * java/nio/ByteOrder.java
14077 (static): Removed. Not needed.
14078 Thanks to Patrick Reali for noticing.
14079 * java/nio/charset/CharsetDecoder.java
14080 (decode): Fix for classpath bug #9177: Reset state before flipping.
14082 2004-07-17 Michael Koch <konqueror@gmx.de>
14084 * java/security/Security.java: Fixed javadocs all over.
14086 2004-07-17 Michael Koch <konqueror@gmx.de>
14088 * gnu/java/awt/EmbeddedWindow.java
14090 (addNotify): Set peer via reflection.
14091 (setWindowPeer): Removed.
14092 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
14093 * Makefile.am (nat_source_files):
14094 Removed gnu/java/awt/natEmbeddedWindow.cc.
14095 * Makefile.in: Regenerated.
14097 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
14099 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
14101 * configure: Regenerated.
14103 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
14105 * configure.in: Use build_noncanonical rather than build_alias.
14106 * configure: Rebuild.
14108 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
14109 by logic refactoring. Move default definition of NATIVE closer
14110 to first alternate definition.
14111 * configure: Regenerate.
14113 * Makefile.am: Set ZIP and GCJH directly using autoconf.
14114 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
14115 gcj/Makefile.in: Regenerate.
14116 * configure.in: Set ZIP and GCJH. Remove redundant condition
14117 in AM_CONDITIONAL(NATIVE,...)
14118 * configure: Regenerate.
14120 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
14122 * configure.in: Use target_noncanonical rather than
14123 target_alias for forward-compatibility with autoconf 2.59.
14124 * configure: Regenerate.
14125 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
14126 testsuite/Makefile.am: Substitute target_noncanonical.
14127 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
14128 testsuite/Makefile.in: Regenerate.
14130 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
14131 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
14132 * acinclude.m4: Include acx.m4.
14133 * aclocal.m4: Regenerate.
14134 * configure: Regenerate.
14136 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
14139 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
14140 (decimalFormat): New static variable.
14142 (getTime): New. Override Date.getTime().
14143 (toString): Synchronize. Use decimalFormat to format nanos value
14144 correctly. Truncate extra zeros.
14145 (before): Compare getNanos() only if getTime() is equal.
14148 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
14150 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
14151 * configure.in: ...here.
14152 * aclocal.m4: Regenerate.
14153 * configure: Regenerate.
14155 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
14156 * configure: Rebuilt with autoconf 2.13.
14157 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
14158 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
14160 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
14163 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
14164 large file support.
14165 * Makefile.in: Rebuilt.
14166 * testsuite/libjava.lang/LargeFile.java: New test case.
14167 * testsuite/libjava.lang/LargeFile.out: New file.
14169 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
14171 * java/beans/EventHandler.java: Remove debugging statements.
14173 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
14175 * java/beans/EventHandler.java: New file.
14176 * Makefile.am (awt_java_source_files): Add EventHandler.java.
14177 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
14178 testsuite/Makefile.in: Regenerate.
14180 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
14182 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
14183 flag to the gcj_setup.
14184 (gcj_jacks_run): Check tclsh version and launch jacks directly with
14186 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
14187 deprecation flag change. 58 XFAILS removed.
14189 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
14191 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
14192 -fno-use-divide-subroutine.
14193 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
14194 (HANDLE_FPE): Define.
14195 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
14196 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
14197 (HANDLE_DIVIDE_OVERFLOW): Define.
14199 2004-07-14 Michael Koch <konqueror@gmx.de>
14200 Matthias Klose <doko@debian.org>
14202 * java/awt/im/InputContext.java: Initialize in, line.
14204 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
14206 * interpret.cc (run): Correctly access libffi return values of
14207 integral smaller-than-int type; these are implicitly promoted.
14209 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
14212 * interpret.cc (compile_mutex): New.
14213 (_Jv_InitInterpreter): New. Initialize compile_mutex.
14214 (run): Lock compile_mutex before calling compile() if compilation is
14216 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
14217 * include/java-interp.h (_Jv_InitInterpreter): Declare.
14219 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
14222 * include/jvm.h (_Jv_value): New union type.
14223 * gcj/field.h (_Jv_Field): Add new _addr union field variants
14224 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
14227 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
14229 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
14230 * gnu/awt/xlib/XOffScreenImage.java
14231 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
14232 constructor argument. Add constructor using ImageProducer.
14233 (getSource): Implement.
14234 (imageComplete): New method.
14235 (setColorModel): New method.
14236 (setDimensions): New method.
14237 (setHints): New method.
14238 (setPixels): New method.
14239 (setProperties): New method.
14240 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
14241 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
14243 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
14246 * prims.cc (_Jv_CreateJavaVM): Fix comment.
14247 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
14248 (finalizerReady): Now native.
14250 (runFinalizers): Removed.
14251 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
14252 a primitive lock, and don't hold it while running the finalizers.
14253 (runFinalizers): Implement. Don't aquire any Java lock.
14254 (finalizerReady): Use lock primitives to signal finalizer thread.
14256 2004-07-11 Mark Wielaard <mark@klomp.org>
14258 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
14259 * java/net/URLStreamHandler.java (parseURL): When url file part
14260 doesn't contain a '/' just ignore context.
14262 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
14264 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
14265 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
14266 (MAKE_THROW_FRAME): Do not modify PSW address.
14267 (INIT_SEGV): Install SIGINFO-style signal handler.
14268 (INIT_FPE): Likewise.
14270 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
14272 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
14273 status. 21 xfail's removed, 1 added.
14275 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
14277 * gcj/javaprims.h: Regenerate CNI namespace definitions.
14279 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
14281 * java/text/MessageFormat.java
14282 (formatInternal): Append "{n}" if argument n is unavailable.
14283 (format(Object, StringBuffer, FieldPosition)): This
14284 should be equivalent to format(Object[],
14285 StringBuffer, FieldPosition).
14287 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
14289 * java.util.Calendar.java (cache): New private static field. Cached
14290 mappings of locales->calendar classes.
14291 (ctorArgTypes): New private static field. Singleton argument for
14292 calendar class constructor lookup.
14293 (getInstance): Cache Locale->Calendar class mappings using HashMap.
14294 Optimize by bypassing reflection instantiation for the
14295 GregorianCalendar case.
14297 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
14299 * java/util/Calendar.java: Use getSystemClassLoader as argument for
14300 ResourceBundle.getBundle() calls.
14301 * java/util/GregorianCalendar.java: Likewise.
14302 * java/util/Currency.java: Likewise.
14303 * java/text/BreakIterator.java: Likewise.
14304 * java/text/Collator.java: Likewise.
14305 * java/text/DateFormat.java: Likewise.
14306 * java/text/DateFormatSymbols.java: Likewise.
14307 * java/text/DecimalFormatSymbols.java: Likewise.
14308 * java/text/NumberFormat.java: Likewise.
14309 * java/awt/Window.java: Likewise.
14311 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
14313 * java/util/ResourceBundle.java (bundleCache): Renamed from
14314 resourceBundleCache. Update comments.
14315 (getObject): Don't catch MissingResourceException.
14316 (getBundle(String)): Remove 'final'. Use system classloader if
14317 getCallingClassLoader returned null.
14318 (getBundle(String, Locale)): Likewise.
14319 (BundleKey): New private class. HashMap key for bundle cache lookup.
14320 (lookupKey): New. Singleton instance of BundleKey.
14321 (nullEntry): New. Cache entry to represent failed lookups.
14322 (getBundle(String, Locale, ClassLoader)): Re-written to use new
14323 caching strategy, no-allocation lookup, and new tryBundle methods.
14324 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
14325 name using given classloader.
14326 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
14327 baseName for given Locale and attempt to load bundle.
14329 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
14331 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
14332 illegal protected method calls.
14334 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
14336 Fix or remove some bogus test cases.
14337 * testsuite/libjava.compile/pr10459_2.java: Removed.
14338 * testsuite/libjava.compile/pr10459.java: Test using its own method,
14339 not Object.clone().
14340 * testsuite/libjava.compile/inner_data.java: Test against its own
14343 2004-07-09 Michael Koch <konqueror@gmx.de>
14345 * scripts/unicode-muncher.pl: Updated to version 2.1
14346 from GNU classpath. Added some clarifications on where to find the
14347 needed files from www.unicode.org.
14348 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
14349 gnu/gcj/convert/UnicodeData-3.0.0.txt:
14350 Removed, these can directly be downloaded from www.unicode.org if
14352 * gnu/java/lang/CharData.java: Regenerated.
14353 * include/java-chartables.h: Regenerated.
14354 * Makefile.am (ordinary_java_source_files):
14355 Removed gnu/java/lang/CharData.java.
14356 * Makefile.in: Regenerated.
14358 2004-07-09 Michael Koch <konqueror@gmx.de>
14360 * java/security/AccessControlContext.java,
14361 java/security/SecureClassLoader.java:
14364 2004-07-09 Michael Koch <konqueror@gmx.de>
14366 * java/io/ObjectInputStream.java (readFields): Use long datatype
14367 when shifting byte values more then 24 bits left.
14369 2004-07-09 Michael Koch <konqueror@gmx.de>
14371 * java/util/zip/DeflaterOutputStream.java,
14372 java/util/zip/GZIPInputStream.java,
14373 java/util/zip/GZIPOutputStream.java,
14374 java/util/zip/InflaterInputStream.java:
14375 Reformatted. Added javadocs. Reordered all stuff.
14376 Renamed variables to be more clear.
14378 2004-07-09 Michael Koch <konqueror@gmx.de>
14380 * javax/imageio/IIOException.java,
14381 javax/imageio/event/IIOReadProgressListener.java,
14382 javax/imageio/event/IIOReadUpdateListener.java,
14383 javax/imageio/event/IIOReadWarningListener.java,
14384 javax/imageio/event/IIOWriteProgressListener.java,
14385 javax/imageio/event/IIOWriteWarningListener.java:
14387 * Makefile.am: Added new files.
14388 * Makefile.in: Regenerated.
14390 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
14392 * java/text/RuleBasedCollator.java
14393 (mergeRules): Use ArrayList instead of Vector.
14394 (subParseString): likewise.
14395 (parseString): likewise.
14396 (buildCollationVector): likewise.
14397 (getCollationKey): likewise.
14399 2004-07-09 Dalibor Topic <robilad@kaffe.org>
14401 * java/text/DateFormat.java (parse):
14402 Improved javadoc. Improved exception message.
14404 2004-07-09 Mark Wielaard <mark@klomp.org>
14406 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
14407 interrupted() method to clear interupt flag of our Thread.
14409 2004-07-09 Dalibor Topic <robilad@kaffe.org>
14411 * java/nio/Buffer.java,
14412 java/nio/ByteBuffer.java,
14413 java/nio/ByteBufferHelper.java,
14414 java/nio/ByteBufferImpl.java,
14415 java/nio/CharBuffer.java,
14416 java/nio/CharBufferImpl.java,
14417 java/nio/CharViewBufferImpl.java,
14418 java/nio/DirectByteBufferImpl.java,
14419 java/nio/DoubleBuffer.java,
14420 java/nio/DoubleBufferImpl.java,
14421 java/nio/DoubleViewBufferImpl.java,
14422 java/nio/FloatBuffer.java,
14423 java/nio/FloatBufferImpl.java,
14424 java/nio/FloatViewBufferImpl.java,
14425 java/nio/IntBuffer.java,
14426 java/nio/IntBufferImpl.java,
14427 java/nio/IntViewBufferImpl.java,
14428 java/nio/LongBuffer.java,
14429 java/nio/LongBufferImpl.java,
14430 java/nio/LongViewBufferImpl.java,
14431 java/nio/MappedByteBufferImpl.java,
14432 java/nio/ShortBuffer.java,
14433 java/nio/ShortBufferImpl.java,
14434 java/nio/ShortViewBufferImpl.java:
14435 Fixed javadocs all over. Improved input error
14438 * java/nio/Buffer.java
14439 (checkForUnderflow, checkForOverflow, checkIndex,
14440 checkIfReadOnly, checkArraySize): New helper methods
14441 for error checking.
14443 * java/nio/ByteBufferHelper.java
14444 (checkRemainingForRead, checkRemainingForWrite,
14445 checkAvailableForRead, checkAvailableForWrite): Removed
14446 no longer needed methods.
14448 2004-07-09 Michael Koch <konqueror@gmx.de>
14450 * gnu/regexp/CharIndexedInputStream.java:
14451 Reordered imports to match classpath.
14453 2004-07-09 Michael Koch <konqueror@gmx.de>
14455 * gnu/java/awt/EmbeddedWindow.java:
14456 Load native library for setWindowPeer method.
14458 2004-07-08 Randolph Chung <tausq@debian.org>
14460 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
14461 * configure: Regenerate.
14462 * configure.host: Set can_unwind_signal for hppa*-linux.
14463 * include/pa-signal.h: New file.
14465 2004-07-07 Per Bothner <per@bothner.com>
14467 * Makefile.am: Add rules to build libgij from just gij.cc.
14469 * include/jvm.h (namespace jcj): Declare verbose_class_flag
14470 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
14471 (initializeClass): If verbose_class_flag, print message.
14472 * gij.cc (main): Handle -verbose:class flag.
14474 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
14476 * configure.host: Enable hash synchronization on Darwin.
14477 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
14478 ';', since this is a comment on Darwin.
14479 (compare_and_swap_release): Likewise.
14481 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
14483 * java/net/URLStreamHandler.java (parseURL): Canonicalize
14484 file portion of URL in addition to spec for file: protocol.
14486 2004-07-05 Anthony Green <green@redhat.com>
14488 * java/io/File.java (toURI): Merge from Classpath.
14490 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
14492 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
14493 before passing to URL constructor. Rethrow any MalformedURLException
14494 as a RuntimeException. Catch MalformedURLException specifically, not
14497 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
14499 * java/util/Locale.java (readObject): Intern strings read from object
14502 2004-07-04 Michael Koch <konqueror@gmx.de>
14504 * gnu/gcj/runtime/FirstThread.java,
14505 gnu/gcj/runtime/natFirstThread.cc: Removed.
14506 * gnu/java/lang/MainThread.java,
14507 gnu/java/lang/natMainThread.cc: New files.
14508 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
14509 * Makefile.am: Added new files and removed deleted ones.
14510 * Makefile.in: Regenerated.
14512 2004-07-03 Mark Wielaard <mark@klomp.org>
14513 Anthony Green <green@redhat.com>
14515 * java/net/URL.java (getFile): Clarify return value doc.
14516 (getPath): Return null if file is empty - not empty String.
14517 (set): Convert protocol to lower case before doing anything.
14518 Only change the protocol handler if it's different.
14520 2004-07-03 Anthony Green <green@redhat.com>
14522 * java/net/URL.java (URL): Convert protocol to lower case before
14523 doing anything, so we getURLStreamHandler() with the proper value.
14525 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
14527 * java/util/Locale.java (hashcode): Made transient.
14528 (hashCode): No longer synchronized.
14529 (equals): Remove comment.
14530 (writeObject): No longer synchronized. Implement using writeObject
14531 calls instead of tweaking hashCode field. Update doc.
14532 (readObject): Implement using readObject calls.
14534 2004-06-26 Geoffrey Keating <geoffk@apple.com>
14535 Andreas Tobler <a.tobler@schweiz.ch>
14537 * configure.host (powerpc-*-darwin*): New case, define
14539 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
14540 * configure: Regenerate.
14541 * include/darwin-signal.h: New.
14543 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
14545 * java/beans/Statement.java (doExecute): Fix formatting.
14547 2004-06-29 Per Bothner <per@bothner.com>
14549 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
14550 etc etc): Remove needless parenthesis, which causes __stdcall__
14551 attribute on MinGW to get ignored.
14553 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
14555 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
14557 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
14559 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
14561 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
14563 * java/beans/Expression.java: New file.
14564 * java/beans/Statement.java: New file.
14565 * Makefile.am: Added new files.
14566 * Makefile.in: Re-generate.
14568 2004-06-27 Mark Wielaard <mark@klomp.org>
14570 * java/io/FilePermission.java (usingPerms): Removed.
14571 (actionsString): Made final.
14572 (cachePerms): Renamed to checkPerms.
14573 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
14575 (FilePermission): Check arguments, call checkPerms().
14576 (equals): Remove cachePerms() call.
14577 (implies): Likewise.
14579 2004-06-27 Mark Wielaard <mark@klomp.org>
14581 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
14583 (sendRequest): Use new field in user-agent http agent.
14585 2004-06-27 Mark Wielaard <mark@klomp.org>
14587 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
14588 when argument is null.
14590 2004-06-26 Mark Wielaard <mark@klomp.org>
14592 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
14593 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
14595 (cancel_clicked): Likewise.
14597 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
14599 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
14600 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
14601 can not calculate the right value.
14602 (dpi_changed_cb): Likewise. Mark *pspec as unused.
14604 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
14606 * testsuite/libjava.jacks/jacks.xfail: Remove
14607 15.9.1-qualified-concrete-20.
14609 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
14611 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
14612 encoding name to iconv.
14613 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
14615 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
14618 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
14619 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
14620 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
14622 2004-06-21 Andrew Haley <aph@redhat.com>
14624 * java/io/ObjectOutputStream.java: Add DEBUG statements
14626 (dumpElementln): New method.
14627 (depth): New field.
14628 * java/io/ObjectInputStream.java
14629 (currentClassLoader): Make native.
14630 (callersClassLoader): New field.
14631 (depth): New field.
14632 (readObject): ENDBLOCKDATA is generated if the class has a write
14633 method, not if it has a read method.
14634 (readObject): Save and restore this.currentObject and
14635 this.currentObjectStreamClass around calls to callReadMethod().
14636 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
14639 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
14641 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
14644 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
14646 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
14647 if desired, before the default class loader is initialised.
14648 Call INIT_SEGV only if HANDLE_SEGV is defined.
14650 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
14652 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
14653 directory only if it actually exists.
14655 2004-06-18 Graydon Hoare <graydon@redhat.com>
14657 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
14658 Fix up non-ansi comments.
14660 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
14662 * javax/swing/text/AbstractDocument.java: Adding missing import
14663 for javax.swing.event.EventListenerList.
14664 * javax/swing/text/DefaultCaret.java: Likewise.
14666 2004-06-17 Michael Koch <konqueror@gmx.de>
14668 * javax/swing/JToolBar.java
14670 (JToolBar): Use Component.setName(String) instead of doing it all
14672 * javax/swing/Timer.java
14673 (queueEvent): Added missing modifier.
14675 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
14677 * Makefile.am: Added new file.
14678 * Makefile.in: Re-generate.
14679 * javax/swing/JMenu.java:
14680 (insertSeparator): Implemented.
14681 * javax/swing/JPopupMenu.java:
14682 (JPopupMenu.Separator): Implemented.
14683 * javax/swing/MenuSelectionManager.java:
14684 (processMouseEvent): Use java.awt.Component
14685 for event source instead of javax.swing.JComponent.
14686 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
14687 New File. Implemented.
14689 2004-06-16 David Jee <djee@redhat.com>
14691 * java/awt/GridBagLayout.java
14692 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
14693 Make sure pos_x and pos_y are never negative.
14695 2004-04-16 Andrew Overholt <overholt@redhat.com>
14697 * Makefile.am: Add new file.
14698 * Makefile.in: Re-generate.
14699 * javax/swing/JToolBar.java
14700 Partially implemented.
14701 * javax/swing/plaf/basic/BasicToolBarUI.java
14702 New file. Partially implemented.
14704 2004-06-16 Graydon Hoare <graydon@redhat.com>
14706 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
14707 (setComposite): Accept AlphaComposite arguments.
14708 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
14709 (createBufferedImage): Add new overloads.
14710 * gnu/java/awt/peer/gtk/GtkToolkit.java
14711 (createImage): Use GdkPixbufDecoder.createBufferedImage
14712 when useGraphics2D() is true.
14713 (getImage): Delegate to createImage.
14714 * javax/swing/JList.java
14715 (isSelectionEmpty):
14716 (getFirstVisibleIndex):
14717 (getLastVisibleIndex):
14718 (setSelectedValue):
14719 (ensureIndexIsVisible): New methods.
14720 * javax/swing/Timer.java: Reimplement.
14722 2004-06-16 Michael Koch <konqueror@gmx.de>
14724 * javax/swing/text/AbstractDocument.java
14725 (AbstracElement): Made public, implements java.io.Serializable.
14726 (AttributeContext): Made public.
14727 (BranchElement): Likewise.
14728 (Content): Likewise.
14729 (DefaultDocumentEvent): Made public, extends
14730 javax.swing.undo.CompoundEdit.
14731 (ElementEdit): Made public, extends
14732 javax.swing.undo.AbstractUndoableEdit.
14733 (LeafElement): Made public.
14734 (LeafElement.LeafElement): Made public.
14736 2004-06-16 Michael Koch <konqueror@gmx.de>
14738 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
14739 methods (that were obviously never be intended to get included hi this
14740 class. Added some methods too.
14742 2004-06-16 Michael Koch <konqueror@gmx.de>
14744 * javax/swing/text/PlainDocument.java
14745 (serialVersionUID): New constant.
14746 (lineLimitAttribute): Likewise.
14747 (tabSizeAttribute): Likewise.
14748 (tabSize): New field.
14749 (PlainDocument): Made public.
14750 (PlainDocument): New constructor.
14752 2004-06-16 Michael Koch <konqueror@gmx.de>
14754 * javax/swing/text/AbstractDocument.java
14755 (insertString): Throws BadLocationException.
14756 * javax/swing/text/Document.java
14757 (insertString): Likewise.
14758 * javax/swing/text/JTextComponent.java:
14759 Javadocs and comments cleaned up.
14761 2004-06-16 Michael Koch <konqueror@gmx.de>
14763 * javax/swing/event/UndoableEditListener.java: Reformatted.
14764 * javax/swing/text/AbstractDocument.java
14765 (AbstractDocument): Implements java.io.Serializable.
14766 (doc_list): Removed.
14767 (undo_list): Removed.
14768 (AbstractElement.serialVerionUID): New field.
14769 (BranchElement.serialVerionUID): Likewise.
14770 (DefaultDocumentEvent.serialVerionUID): Likewise.
14771 (ElementEdit.serialVerionUID): Likewise.
14772 (LeafElement.serialVerionUID): Likewise.
14773 (serialVerionUID): Likewise.
14774 (BAD_LOCATION): New constant.
14775 (BidiElementName): Likewise.
14776 (ContentElementName): Likewise.
14777 (ParagraphElementName): Likewise.
14778 (SectionElementName): Likewise.
14779 (ElementNameAttribute): Likewise.
14780 (AbstractDocument): Made protected.
14781 (AbstractDocument): New construtor.
14782 (listenerList): New field.
14783 (fireChangedUpdate): Implemented.
14784 (fireInsertUpdate): Likewise.
14785 (fireRemoveUpdate): Likewise.
14786 (fireUndoableEditUpdate): Likewise.
14787 (getListeners): Likewise.
14788 (addDocumentListener): Likewise.
14789 (removeDocumentListener): Likewise.
14790 (addUndoableEditListener): Likewise.
14791 (removeUndoableEditListener): Likewise.
14792 (getDocumentListeners): New method.
14793 (getUndoableEditListeners): Likewise.
14794 (getAsynchronousLoadPriority): Made public.
14795 (getBidiRootElement): Likewise.
14796 (setAsynchronousLoadPriority): Likewise.
14797 (setDocumentProperties): Likewise.
14798 * javax/swing/text/BadLocationException.java
14799 (serialVerionUID): New field.
14800 * javax/swing/text/DefaultCaret.java
14801 (changeEvent): New field.
14802 (listenerList): Likewise.
14803 (changes): Removed.
14804 (addChangeListener): Reimplemented.
14805 (removeChangeListener): Likewise.
14806 (getListeners): New method.
14807 (getChangeListeners): Likwise.
14808 (getComponent): Likewise.
14809 * javax/swing/text/GapContent.java
14810 (GapContent): Implements java.io.Serializable.
14811 (serialVerionUID): New field.
14813 2004-06-16 Michael Koch <konqueror@gmx.de>
14815 * javax/swing/JTree.java
14816 (treeModel): New field.
14817 (JTree): New constructors, one existing one made public.
14818 (createTreeModel): New method.
14819 (addTreeExpansionListener): Likewise.
14820 (removeTreeExpansionListener): Likewise.
14821 (getTreeExpansionListeners): Likewise.
14822 (fireTreeCollapsed): Likewise.
14823 (fireTreeExpanded): Likewise.
14824 (addTreeSelectionListener): Likewise.
14825 (removeTreeSelectionListener): Likewise.
14826 (getTreeSelectionListeners): Likewise.
14827 (fireValueChanged): Likewise.
14828 (addTreeWillExpandListener): Likewise.
14829 (removeTreeWillExpandListener): Likewise.
14830 (getTreeWillExpandListeners): Likewise.
14831 (fireTreeWillCollapse): Likewise.
14832 (fireTreeWillExpand): Likewise.
14834 2004-06-16 Michael Koch <konqueror@gmx.de>
14836 * javax/swing/JTree.java: Reformatted.
14838 2004-06-16 Michael Koch <konqueror@gmx.de>
14840 * javax/swing/JTextArea.java: New file.
14841 * javax/swing/JTextField.java
14842 (actions): Removed.
14843 (notifyAction): New constant.
14844 (columns): New field.
14845 (JTextField): New constructors.
14846 (createDefaultModel): New method.
14847 (addActionListener): Reimplmemented.
14848 (removeActionListener): Reimplemented.
14849 (getActionListeners): New method.
14850 (fireActionPerformed): New method.
14851 (getColumns): New method.
14852 (setColumne): New method.
14853 * javax/swing/text/JTextComponent.java
14854 (AccessibleJTextComponent.serialVersionUID): New field.
14855 (serialVersionUID): Likewise.
14856 (DEFAULT_KEYMAP): Likewise.
14857 (FOCUS_ACCELERATOR_KEY): Likewise.
14858 (doc): Made private.
14859 (icon_gap): Likewise.
14862 (JTextComponent): Some constructors removed.
14863 (getScrollableTracksViewportHeight): New method.
14864 (getScrollableTracksViewportWidth): Likewise.
14865 * Makefile.am: Added javax/swing/JTextArea.java.
14866 * Makefile.in: Regenerated.
14868 2004-06-15 Graydon Hoare <graydon@redhat.com>
14870 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
14871 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
14872 * javax/swing/JViewport.java
14873 (getExtentSize): Return size rather than preferred size.
14874 (toViewCoordinates): New methods.
14875 (getViewSize): Return size rather than preferred size.
14876 (setViewSize): Note view size as set.
14877 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
14878 * javax/swing/plaf/basic/BasicScrollBarUI.java
14879 (getPreferredSize): Don't redo layout.
14880 * javax/swing/plaf/basic/BasicViewportUI.java
14881 (paint): Translate image properly and eat exceptions.
14883 2004-06-15 Kim Ho <kho@redhat.com>
14885 * javax/swing/JTabbedPane.java
14886 (setComponent): Remove old component and
14888 (setSelectedIndex): Don't operate on the
14889 components if they're null. Don't set index
14890 on the model if the index is the same.
14891 (insertTab): Don't add or hide the component
14892 if it's null. Repaint the container.
14893 * javax/swing/plaf/basic/BasicLookAndFeel.java
14894 Change colors for TabbedPane.
14895 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
14896 (mousePressed): Re-layout and paint the component.
14897 (layoutContainer): Don't set location on the view.
14898 (ScrollingViewport::paint): Remove.
14900 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
14902 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14903 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
14905 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
14906 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
14907 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
14909 (drawLine): Call gdk_flush before leaving GDK critical region.
14910 (fillRect): Likewise.
14911 (drawRect): Likewise.
14912 (copyArea): Likewise.
14913 (copyPixmap): Likewise.
14914 (clearRect): Likewise.
14915 (drawArc): Likewise.
14916 (drawPolyline): Likewise.
14917 (drawPolygon): Likewise.
14918 (fillPolygon): Likewise.
14919 (fillArc): Likewise.
14920 (drawOval): Likewise.
14921 (fillOval): Likewise.
14923 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
14925 (GdkFontMetrics): Add style argument to initState call.
14926 (stringWidth(String,int,int,String)): Add style parameter.
14927 (stringWidth(String)): Add style argument to stringWidth call.
14928 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
14929 (initState): Set pango font style and weight based on AWT style
14930 parameter. Pass default GTK language to
14931 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
14932 simply dividing by PANGO_SCALE.
14933 (stringWidth): Set pango font style and weight based on AWT style
14936 * java/awt/Button.java (next_button_number): New field.
14937 (paramString): Change output.
14938 (generateName): New method.
14939 (getUniqueLong): New method.
14941 2004-06-14 Kim Ho <kho@redhat.com>
14943 * javax/swing/JTabbedPane.java:
14944 (setComponentAt): Set the component, not
14945 the enabled status.
14946 * javax/swing/plaf/basic/BasicDesktopIconUI.java
14947 (actionPerformed): Let deiconize catch exception.
14949 2004-06-14 Olga Rodimina <rodimina@redhat.com>
14951 * javax/swing/JPopupMenu.java:
14952 (setVisible): Corrected location of a
14953 heavyweight popup menu.
14955 2004-06-14 Olga Rodimina <rodimina@redhat.com>
14957 * javax/swing/MenuSelectionManager.java:
14958 Ran through jalopy to fix formatting style.
14960 2004-06-14 Olga Rodimina <rodimina@redhat.com>
14962 * javax/swing/JLayeredPane.java:
14963 (remove): Revalidate and repaint layered pane after
14964 the component was removed.
14965 javax/swing/JMenu.java:
14966 (setVisible): Display popup menu at the user location,
14967 if one was set by the user.
14968 (setMenuLocation): Reimplemented. Fixed javadoc.
14969 * javax/swing/JMenuBar.java: Added javadoc.
14970 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
14971 (MODEL_CHANGED_PROPERTY): New Property.
14972 (isSelected): Implemented.
14973 (setBorderPainted): Fire PropertyChangeEvent
14974 if paintBorder property changes.
14975 (setSelected): Implemented.
14976 (setSelectionModel): Implemented.
14977 * javax/swing/JPopupMenu.java: Added Javadoc
14978 (pack): Implemented.
14979 (setVisible): Reimplemented.
14980 (show): Fixed location.
14981 (JPopupMenu.LigthWeightPopup): Reimplemented to use
14982 Container instead of JPanel.
14983 * javax/swing/MenuSelectionManager.java: Added Javadocs.
14984 (clearSelectedPath): Reimplemented to clear selectedPath
14986 (processMouseEvent): Reimplemented.
14987 (setSelectedPath): Fire stateChange event indicating that
14988 selected menu path has changed.
14989 (getPath): Change to use ArrayList instead of Vector.
14990 * javax/swing/plaf/basic/BasicMenuBarUI.java:
14991 (installUI): call installKeyboardActions().
14992 (uninstallUI): call uninstallKeyboardActions().
14994 2004-06-13 Michael Koch <konqueror@gmx.de>
14996 * javax/swing/text/DefaultCaret.java,
14997 javax/swing/text/BadLocationException.java:
15000 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
15002 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
15003 DEFAULT_COLS): New variables.
15004 (create): Don't allow 0 rows or 0 columns. Instead, set the
15005 values to DEFAULT_ROWS or DEFAULT_COLS.
15006 (getMinimumSize): Likewise.
15007 (getPreferredSize): Likewise.
15008 (minimumSize): Likewise.
15009 (preferredSize): Likewise.
15010 (create): Set peer's editable state.
15011 * java/awt/TextArea.java (TextArea()): Set rows and columns to
15012 zero. Update javadocs.
15013 (TextArea(String)): Likewise.
15014 (TextArea(int,int)): Fix javadocs.
15015 (TextArea(String,int,int,int)): Only throw exception if one of
15016 rows or columns is zero. Fix javadocs.
15018 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
15020 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
15021 addition to Components.
15023 * java/awt/MenuItem.java (dispatchEventImpl): If the event
15024 wasn't consumed by normal processing, send it to the parent
15027 * gnu/java/awt/peer/gtk/GtkImagePainter.java
15028 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
15031 2004-06-11 David Jee <djee@redhat.com>
15033 * java/awt/MediaTracker.java
15034 (addImage(Image,int)): Call imageUpdate() to udpate image status.
15035 (addImage(Image,int,int,int)): Likewise.
15037 2004-06-11 Michael Koch <konqueror@gmx.de>
15039 * javax/swing/text/AbstractDocument.java,
15040 javax/swing/text/Document.java,
15041 javax/swing/text/GapContent.java,
15042 javax/swing/text/JTextComponent.java,
15043 javax/swing/text/PlainDocument.java:
15046 2004-06-11 Michael Koch <konqueror@gmx.de>
15048 * javax/swing/JRootPane.java
15049 (AccessibleJRootPane.serialVersionUID): New field.
15050 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
15051 (AccessibleJRootPane.getAccessibleRole): New method.
15052 (RootLayout): Implements Serializable.
15053 (RootLayout.serialVersionUID): New field.
15054 (RootLayout.RootLayout): New constructor.
15055 (setJMenuBar): Made public.
15056 (getJMenuBar): Likewise.
15057 (JRootPane): Likewise.
15058 (createContentPane): Likewise.
15059 (createGlassPane): Likewise.
15060 (createLayeredPane): Likewise.
15062 2004-06-11 Michael Koch <konqueror@gmx.de>
15064 * javax/swing/SwingUtilities.java
15065 (isLeftMouseButton): Fixed javadoc.
15066 (isMiddleMouseButton): Likewise.
15067 (isRightMouseButton): Likewise.
15069 2004-06-11 Michael Koch <konqueror@gmx.de>
15071 * javax/swing/JScrollPane.java
15072 (serialVersionUID): New field.
15073 (columnHeader): Made protected.
15074 (rowHeader): Likewise.
15075 (lowerLeft): Likewise.
15076 (lowerRight): Likewise.
15077 (upperLeft): Likewise.
15078 (upperRight): Likewise.
15079 (horizontalScrollBar): Likewise.
15080 (horizontalScrollBarPolicy): Likewise.
15081 (verticalScrollBar): Likewise.
15082 (verticalScrollBarPolicy): Likewise.
15083 (viewport): Likewise.
15085 2004-06-11 Michael Koch <konqueror@gmx.de>
15087 * javax/swing/LookAndFeel.java: Fixed javadocs.
15089 2004-06-11 Michael Koch <konqueror@gmx.de>
15091 * javax/swing/JEditorPane.java: Fixed javadocs.
15092 (JEditorPane): Removed redundant call to to this().
15093 (fireHyperlinkUpdate): Implemented.
15095 2004-06-10 Olga Rodimina <rodimina@redhat.com>
15097 * javax/swing/JMenu.java: Fixed file name
15098 in the file comment.
15100 2004-06-10 Olga Rodimina <rodimina@redhat.com>
15102 * javax/swing/JMenu.java: Added javadoc.
15103 (JMenu): Added MenuChangeListener to listen to
15104 ChangeEvents occuring in menu's model.
15105 (insert): Throw IllegalArgumentException if
15106 index is less than 0
15107 (setSelected): Reimplement.
15108 (setPopupMenuVisible): Call menu's model isEnabled()
15109 (setDelay): Throw IllegalArgumentException if
15110 given amount of delay is less than 0.
15111 (createActionComponent): Implemented.
15112 (createActionChangeListener): Implemented.
15113 (addSeparator): Implemented.
15114 (getItem): Throw IllegalArgumentException if index is
15116 (getItemCount): Implemented.
15117 (fireMenuSelected): Changed to use menuEvent.
15118 (fireMenuDeselected): Likewise.
15119 (fireMenuCanceled): Likewise.
15120 (setAccelerator): Changed to throw an error if this
15122 (doClick): Implemented.
15123 (JMenu.ActionChangedListener): New inner class to handle
15124 PropertyChangeEvents occuring in the actions associated with menu.
15125 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
15126 (BasicMenuUI): Added PropertyChangeListener to the menu.
15127 (createChangeListener): Implemented.
15128 (createMenuDragMouseListener): Likewise.
15129 (createMenuKeyListener): Likewise.
15130 (createPropertyChangeListener): Likewise.
15131 (uninstallListeners): Likewise.
15132 (BasicMenuUI.MouseInputHandler): Reimplemented.
15133 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
15134 (BasicMenuUI.ChangeHandler): Likewise.
15135 (BasicMenuUI.MenuDragMouseHandler): Likewise.
15136 (BasicMenuUI.MenuKeyHandler): Likewise.
15138 2004-06-10 David Jee <djee@redhat.com>
15140 * java/awt/MediaTracker.java
15141 (imageUpdate): Only do notifyAll() if the image is complete.
15143 2004-06-10 Olga Rodimina <rodimina@redhat.com>
15145 * javax/swing/JApplet.java:
15146 (getJMenuBar): Made public.
15147 (setJMenuBar): Likewise.
15148 * javax/swing/JFrame.java:
15149 (getJMenuBar): Made public.
15150 (setJMenuBar): Likewise.
15151 * javax/swing/JWindow.java:
15152 (getJMenuBar): Removed.
15153 (setJMenuBar): Removed.
15155 2004-06-10 Michael Koch <konqueror@gmx.de>
15157 * javax/swing/JEditorPane.java
15158 (createEditorKitForContentType): Fixed visibility.
15159 (fireHyperlinkUpdate): Likewise.
15160 (getContentType): Likewise.
15161 (getEditorKit): Likewise.
15162 (getEditorKitForContentType): Likewise.
15163 (getPage): Likewise.
15165 (registerEditorKitForContentTyoe): Likewise.
15166 (replaceSelection): Likewise.
15167 (setContentType): Likewise.
15168 (setEditorKit): Likewise.
15169 (setPage): Likewise.
15171 2004-06-10 Michael Koch <konqueror@gmx.de>
15173 * javax/swing/Timer.java
15174 (Timer): New constructor.
15175 * javax/swing/plaf/basic/BasicProgressBarUI.java
15176 (animationTimer): Don't initialize at construction.
15177 (startAnimationTimer): Added since tag.
15178 (stopAnimationTimer): Likewise.
15179 (installUI): Use new Timer constructor.
15180 * javax/swing/plaf/basic/BasicScrollBarUI.java
15181 (installUI): Likewise.
15182 * javax/swing/plaf/basic/BasicSliderUI.java
15183 (installUI): Likewise.
15185 2004-06-10 Michael Koch <konqueror@gmx.de>
15187 * javax/swing/ButtonGroup.java
15188 (serialVersionUID): Made private.
15189 (buttons): Renamed from v, added javadoc.
15190 (sel): Added javadoc.
15191 (ButtonGroup): Likewise.
15193 (remove): Likewise.
15194 (getElements): Likewise.
15195 (getSelection): Likewise.
15196 (setSelected): Likewise.
15197 (isSelected): Likewise.
15198 (getButtonCount): Likewise.
15200 2004-06-10 Michael Koch <konqueror@gmx.de>
15202 * javax/swing/ButtonGroup.java,
15203 javax/swing/ImageIcon.java,
15204 javax/swing/JEditorPane.java,
15205 javax/swing/JRootPane.java,
15206 javax/swing/JTextField.java,
15207 javax/swing/LookAndFeel.java,
15208 javax/swing/plaf/basic/BasicTextUI.java:
15211 2004-06-10 Michael Koch <konqueror@gmx.de>
15213 * javax/swing/text/Style.java: Added javadocs.
15215 2004-06-10 Michael Koch <konqueror@gmx.de>
15217 * javax/swing/JComponent.java
15218 (fireVetoableChange): Removed redundant cast.
15219 * javax/swing/JLabel.java
15220 (getDisabledIcon): Save icon for next call.
15222 2004-06-10 Michael Koch <konqueror@gmx.de>
15224 * javax/swing/KeyStroke.java
15225 (getKeyStroke(char,boolean)): Marked deprecated.
15227 2004-06-10 Michael Koch <konqueror@gmx.de>
15229 * javax/swing/DefaultCellEditor.java,
15230 javax/swing/GrayFilter.java,
15231 javax/swing/event/DocumentEvent.java,
15232 javax/swing/text/JTextComponent.java,
15233 javax/swing/text/MutableAttributeSet.java:
15236 2004-06-10 Michael Koch <konqueror@gmx.de>
15238 * javax/swing/plaf/BorderUIResource.java:
15239 Added serialVersionUID all over.
15241 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
15243 * javax/swing/undo/UndoManager.java: Re-written from scratch.
15245 2004-06-10 Michael Koch <konqueror@gmx.de>
15247 * javax/swing/table/DefaultTableCellRenderer.java
15248 (noFocusBorder): Initialize directly.
15250 2004-06-10 Michael Koch <konqueror@gmx.de>
15252 * javax/swing/plaf/basic/BasicArrowButton.java
15253 (setDirection): Use method argument.
15255 2004-06-10 Michael Koch <konqueror@gmx.de>
15257 * javax/swing/plaf/BorderUIResource.java,
15258 javax/swing/plaf/ComponentUI.java,
15259 javax/swing/undo/CompoundEdit.java,
15260 javax/swing/undo/StateEdit.java:
15261 Fixed javadocs all over.
15263 2004-06-10 Michael Koch <konqueror@gmx.de>
15265 * javax/swing/DefaultButtonModel.java
15266 (ARMED): Made public final, fixed value.
15267 (ENABLED): Likewise.
15268 (PRESSED): Likewise.
15269 (ROLLOVER): Likewise.
15270 (SELECTED): Likewise.
15271 (stateMask): Initialize directly.
15272 (listenerList): Likewise.
15273 (mnemonic): Likewise.
15274 (fireStateChanged): Removed argument, use changeEvent as event.
15275 All places where this method is called are fixed too.
15276 (getActionCommant): Fixed javadoc.
15277 (setGroup): Fixed javadoc.
15278 (getGroup): New method.
15280 2004-06-09 Olga Rodimina <rodimina@redhat.com>
15282 * javax/swing/AbstractButton.java
15283 (AbstractButton): Use init() to initialize the button.
15284 (init): New Method. Initializes AbstractButton.
15285 * javax/swing/JMenuItem.java: Documented.
15286 (JMenuItem): Reimplemented.
15287 (init): Implemented.
15288 (setEnabled): Changed to call super.setEnabled()
15289 (processMouseEvent): Reimplemented.
15290 (fireMenuKeyPressed): Implemented.
15291 (fireMenuKeyReleased): Implemented.
15292 (fireMenuKeyTyped): Implemented.
15293 (menuSelectionChanged): disarm the model if the menu item was
15295 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
15296 (getPath): Change to use ArrayList instead of Vector.
15297 (getPreferredSize): Renamed variable.
15298 (paintMenuItem): Paint margin area of menu item.
15299 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
15300 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
15301 menu item's bounds before clearing the selection.
15303 2004-06-09 David Jee <djee@redhat.com>
15305 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
15306 (GtkTextComponentPeer): Set caret position to 0.
15307 * java/awt/TextComponent.java
15308 (setText): Set caret position to 0.
15309 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15310 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
15311 Handle GtkScrolledWindow separately. Fix signal handler blocking.
15312 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
15314 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
15315 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
15318 2004-06-09 Kim Ho <kho@redhat.com>
15320 * Makefile.am: New files
15321 * Makefile.in: Regenerated
15322 * java/awt/Container.java
15323 (getComponentAt): Removed.
15324 * javax/swing/AbstractAction.java
15325 (ENABLED_PROPERTY): New property.
15326 (putValue): Fire PropertyChangeEvents.
15327 (setEnabled): ditto.
15328 (firePropertyChange): Javadoc and implement
15329 convenience method.
15330 * javax/swing/AbstractButton.java
15331 (setAction): Don't create PropertyChangeListener
15332 if new Action is null.
15333 (setIcon): Don't set icon till after comparing
15335 (configurePropertiesFromAction): Check mnemonic
15336 key before calling intValue().
15337 (createActionPropertyChangeListener): Check
15338 properties rather than bulk change.
15339 * javax/swing/DefaultDesktopManager.java:
15341 * javax/swing/DesktopManager.java:
15342 Jalopy and javadoc.
15343 * javax/swing/JComponent.java
15344 (fireVetoableChange): Implement.
15345 (paintImmediately): Use root component.
15346 * javax/swing/JDesktopPane.java: Implement
15347 * javax/swing/JInternalFrame.java: Implement
15348 * javax/swing/JLabel.java
15349 (getDisabledIcon): Return grayscaled icon if
15350 no disabled icon specified.
15351 * javax/swing/JMenuBar.java
15352 (getComponentAtIndex): Use getComponent
15353 * javax/swing/JOptionPane.java
15354 (getDesktopPaneForComponent): Use SwingUtilities'
15356 (getFrameForComponent): ditto.
15357 * javax/swing/JSplitPane.java
15358 (remove): Use getComponent.
15359 * javax/swing/SwingUtilities.java
15360 (convertPoint): Implement.
15361 * javax/swing/plaf/basic/BasicButtonUI.java
15362 (paintButtonNormal): Check opaqueness before
15363 filling background.
15364 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
15366 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
15368 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
15370 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
15372 * javax/swing/plaf/basic/BasicLookAndFeel.java:
15373 Change InternalFrame and Desktop colors.
15375 2004-06-09 David Jee <djee@redhat.com>
15377 * java/awt/Container.java
15378 (remove): Do not set component to invisible.
15380 2004-06-09 Michael Koch <konqueror@gmx.de>
15382 * javax/swing/tree/DefaultMutableTreeNode.java
15383 (getLeafCount): Renamed enum to e.
15385 2004-06-09 Michael Koch <konqueror@gmx.de>
15387 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
15388 (positionForMouseEvent): Removed redundant semicolon.
15389 (continueDrag): Use method arguments.
15391 2004-06-09 Michael Koch <konqueror@gmx.de>
15393 * javax/swing/border/TitledBorder.java,
15394 javax/swing/filechooser/FileSystemView.java,
15395 javax/swing/plaf/basic/BasicButtonListener.java,
15396 javax/swing/plaf/basic/BasicGraphicsUtils.java,
15397 javax/swing/plaf/basic/BasicLabelUI.java,
15398 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
15399 javax/swing/plaf/basic/BasicScrollBarUI.java,
15400 javax/swing/plaf/basic/BasicScrollPaneUI.java,
15401 javax/swing/plaf/basic/BasicSliderUI.java,
15402 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
15403 javax/swing/plaf/basic/BasicToggleButtonUI.java,
15404 javax/swing/table/JTableHeader.java,
15405 javax/swing/text/AbstractDocument.java,
15406 javax/swing/text/DefaultCaret.java,
15407 javax/swing/text/StyledEditorKit.java,
15408 javax/swing/tree/DefaultTreeCellEditor.java:
15409 Reworked import statements.
15411 2004-06-08 Graydon Hoare <graydon@redhat.com>
15413 * javax/swing/Box.java: Temporarily comment out code
15414 broken due to visibility bug.
15416 2004-06-09 Michael Koch <konqueror@gmx.de>
15418 * javax/swing/ImageIcon.java
15419 (ImageIcon): Added missing constructor.
15421 2004-06-08 Michael Koch <konqueror@gmx.de>
15423 * javax/swing/JToggleButton.java
15424 (JToggleButton): New constructor.
15425 (getAccessibleContext): Moved documentation into javadoc.
15426 (getUIClassID): Likewise.
15428 2004-06-08 Michael Koch <konqueror@gmx.de>
15430 * javax/swing/AbstractButton.java
15431 (getDisabledIcon): Create disabled icon if none exists yet.
15433 2004-06-08 Michael Koch <konqueror@gmx.de>
15435 * javax/swing/plaf/basic/BasicLookAndFeel.java
15436 (initClassDefaults): Added FormattedTextFieldUI.
15437 (loadResourceBundle): Renamed enum to e.
15439 2004-06-08 Michael Koch <konqueror@gmx.de>
15441 * javax/swing/plaf/basic/BasicButtonUI.java
15442 (paintIcon): Simplified.
15443 (paintText): Paint disabled button correctly.
15445 2004-06-08 Michael Koch <konqueror@gmx.de>
15447 * javax/swing/JComponent.java
15448 (createToolTip): Use official JToolTip API.
15450 2004-06-08 Michael Koch <konqueror@gmx.de>
15452 * javax/swing/JToolTip.java
15453 (JToolTip): No arguments in API.
15454 (setTipText): New method.
15456 2004-06-08 Michael Koch <konqueror@gmx.de>
15458 * javax/swing/SwingUtilities.java
15459 (isLeftMouseButton): New method.
15460 (isMiddleMouseButton): New method.
15461 (isRightMouseButton): New method.
15463 2004-06-08 Michael Koch <konqueror@gmx.de>
15465 * javax/swing/AbstractButton.java,
15466 javax/swing/CellRendererPane.java,
15467 javax/swing/JCheckBoxMenuItem.java,
15468 javax/swing/JColorChooser.java,
15469 javax/swing/JComboBox.java,
15470 javax/swing/JComponent.java,
15471 javax/swing/JDesktopPane.java,
15472 javax/swing/JFileChooser.java,
15473 javax/swing/JMenu.java,
15474 javax/swing/JMenuItem.java,
15475 javax/swing/JOptionPane.java,
15476 javax/swing/JPasswordField.java,
15477 javax/swing/JPopupMenu.java,
15478 javax/swing/JProgressBar.java,
15479 javax/swing/JRadioButtonMenuItem.java,
15480 javax/swing/JScrollBar.java,
15481 javax/swing/JSeparator.java,
15482 javax/swing/JSlider.java,
15483 javax/swing/JSplitPane.java,
15484 javax/swing/JTabbedPane.java,
15485 javax/swing/JTextField.java,
15486 javax/swing/JToolBar.java,
15487 javax/swing/text/JTextComponent.java:
15488 Fixed all constructors of accessibility classes.
15490 2004-06-08 Michael Koch <konqueror@gmx.de>
15492 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
15495 2004-06-08 Michael Koch <konqueror@gmx.de>
15497 * javax/swing/Box.java
15498 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
15499 (AccessibleBoxFiller.serialVersionUID): New member variable.
15500 * javax/swing/DefaultButtonModel.java
15501 (stateMask): Made protected.
15502 (listenerList): Likewise.
15503 (changeEvent): Likewise.
15505 (mnemonic): Likewise.
15506 (actionCommand): Likewise.
15507 (getListeners): New method.
15508 (getActionListeners): New method.
15509 (getItemListeners): New method.
15510 (getChangeListeners): New method.
15511 (fireItemStateChanged): Simplified.
15512 (fireActionPerformed): Simplified.
15513 (fireStateChanged): Simplified.
15514 * javax/swing/JFrame.java
15515 (JFrame): Implements WindowContants.
15516 (HIDE_ON_CLOSE): Removed.
15517 (EXIT_ON_CLOSE): Removed.
15518 (DISPOSE_ON_CLOSE): Removed.
15519 (DO_NOTHING_ON_CLOSE): Removed.
15520 (processWindowEvent): Exit with code 0.
15521 (setDefaultCloseOperation): Do security check before setting value.
15522 * javax/swing/JOptionPane.java
15523 (message): Initialize only in constructor.
15524 * javax/swing/JToolTip.java: Removed unused imports.
15525 * javax/swing/JViewport.java
15526 (serialVersionUID): New member variable.
15527 (SIMPLE_SCROLL_MODE): Made final, fixed value.
15528 (BLIT_SCROLL_MODE): Likewise.
15529 (BACKINGSTORE_SCROLL_MODE): Likewise.
15530 (scrollUnderway): Made protected.
15531 (isViewSizeSet): Likewise.
15532 * javax/swing/ListModel.java: Fixed javadoc.
15533 * javax/swing/Popup.java: Likewise.
15534 * javax/swing/RepaintManager.java
15535 (paintDirtyRegions): Don't use internal classes of
15536 java.util.AbstractMap.
15537 * javax/swing/ScrollPaneConstants.java: Reindented.
15538 * javax/swing/ScrollPaneLayout.java
15539 (viewport): Made protected.
15540 (verticalScrollBar): Made protected, renamed to vsb.
15541 (horizontalScrollBar): Made protected, renamed to hsb.
15542 (rowHeader): Made protected, renamed to rowHead.
15543 (columnHeader): Made protected, renamed to colHead.
15544 (lowerLeft): Made protected.
15545 (lowerRight): Made protected.
15546 (upperLeft): Made protected.
15547 (upperRight): Made protected.
15548 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
15549 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
15551 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
15553 * java/awt/MediaTracker.java (imageUpdate): Only set status to
15554 LOADING if flags has SOMEBITS set.
15556 2004-06-07 Michael Koch <konqueror@gmx.de>
15558 * javax/swing/AbstractButton.java: Reorganized imports.
15559 * javax/swing/ActionMap.java: Likewise.
15560 * javax/swing/DefaultButtonModel.java: Likewise.
15561 * javax/swing/DefaultListModel.java: Likewise.
15562 * javax/swing/ImageIcon.java: Likewise.
15563 (serialVersionUID): New member variable.
15564 * javax/swing/JComboBox.java: Reorganized imports.
15565 * javax/swing/JComponent.java: Likewise.
15566 (ui): Made protected.
15567 (listenerList): Made protected.
15568 (TOOL_TIP_TEXT_KEY): New constant.
15569 (scrollRectToVisible): Removed redundant null check.
15570 * javax/swing/JFrame.java: Reorganized imports.
15571 * javax/swing/JInternalFrame.java: Reorganized imports.
15572 * javax/swing/JProgressBar.java: Likewise.
15573 * javax/swing/JRootPane.java: Likewise.
15574 * javax/swing/JScrollBar.java: Likewise.
15575 * javax/swing/JSeparator.java: Likewise.
15576 * javax/swing/JSlider.java: Likewise.
15577 * javax/swing/JTabbedPane.java: Likewise.
15578 * javax/swing/JTextField.java: Likewise.
15579 * javax/swing/JToolBar.java: Likewise.
15580 * javax/swing/JTree.java: Likewise.
15581 * javax/swing/JViewport.java: Likewise.
15582 * javax/swing/JWindow.java: Likewise.
15583 * javax/swing/KeyStroke.java: Likewise.
15584 * javax/swing/LookAndFeel.java: Likewise.
15585 * javax/swing/MenuSelectionManager.java: Likewise.
15586 * javax/swing/SwingUtilities.java: Likewise.
15587 * javax/swing/Timer.java: Likewise.
15588 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
15589 * javax/swing/JList.java
15590 (HORIZONTAL_WRAP): Made final, fixed value.
15591 (VERTICAL): Likewise.
15592 (VERTICAL_WRAP): Likewise.
15594 2004-06-07 Michael Koch <konqueror@gmx.de>
15596 * javax/swing/AbstractButton.java
15597 (serialVersionUID): New member variable.
15598 (AccessibleAbstractButton.serialVersionUID): Likewise.
15599 (AbstractButton): Made public.
15600 * javax/swing/Box.java
15601 (AccessibleBox.serialVersionUID): New member variable.
15602 (Filler.serialVersionUID): Likewise.
15603 * javax/swing/DefaultListSelectionModel.java
15604 (serialVersionUID): Likewise.
15605 * javax/swing/JApplet.java
15606 (serialVersionUID): Likewise.
15607 * javax/swing/JCheckBox.java
15608 (serialVersionUID): Likewise.
15609 * javax/swing/JCheckBoxMenuItem.java
15610 (serialVersionUID): Likewise.
15611 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
15612 * javax/swing/JColorChooser.java
15613 (serialVersionUID): Likewise.
15614 (AccessibleJColorChooser.serialVersionUID): Likewise.
15615 * javax/swing/JComponent.java
15616 (serialVersionUID): Made private.
15617 (AccessibleJComponent.serialVersionUID): New member variable.
15618 * javax/swing/JDesktopPane.java
15619 (serialVersionUID): Likewise.
15620 * javax/swing/JDialog.java
15621 (serialVersionUID): Likewise.
15622 * javax/swing/JFormattedTextField.java
15623 (serialVersionUID): Fixed value.
15624 * javax/swing/JFrame.java
15625 (serialVersionUID): New member variable.
15626 (getDefaultCloseOpertation): Made public.
15627 * javax/swing/JLayeredPane.java
15628 (serialVersionUID): Likewise.
15629 (LAYER_PROPERTY): Made final, fixed value.
15630 (JLayeredPane): Made public.
15631 * javax/swing/JMenu.java
15632 (AccessibleJMenu.serialVersionUID): New member variable.
15633 (WinListener.serialVersionUID): Likewise.
15634 * javax/swing/JMenuBar.java
15635 (serialVersionUID): Likewise.
15636 (getComponentAtIndex): Added @deprecated tag.
15637 * javax/swing/JMenuItem.java
15638 (serialVersionUID): New member variable.
15639 (AccessibleJMenuItem.serialVersionUID): Likewise.
15640 * javax/swing/JOptionPane.java
15641 (serialVersionUID): Likewise.
15642 (AccessibleJOptionPane.serialVersionUID): Likewise.
15643 * javax/swing/JPopupMenu.java
15644 (serialVersionUID): Likewise.
15645 (AccessibleJPopupMenu.serialVersionUID): Likewise.
15646 (getPopupMenuListeners): New method.
15647 (getComponentAtIndex): Added @deprecated tag.
15648 * javax/swing/JProgressBar.java
15649 (serialVersionUID): New member variable.
15650 (AccessibleJProgressBar.serialVersionUID): Likewise.
15651 * javax/swing/JRadioButton.java
15652 (serialVersionUID): Likewise.
15653 * javax/swing/JRadioButtonMenuItem.java
15654 (serialVersionUID): Likewise.
15655 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
15656 * javax/swing/JScrollBar.java
15657 (serialVersionUID): Likewise.
15658 (AccessibleJScrollBar.serialVersionUID): Likewise.
15659 * javax/swing/JSeparator.java
15660 (serialVersionUID): Likewise.
15661 (AccessibleJSeparator.serialVersionUID): Likewise.
15662 * javax/swing/JSlider.java: Fixed javadocs.
15663 (AccessibleJSlider.serialVersionUID): New member variable.
15664 * javax/swing/JSplitPane.java: Added copyright statement.
15665 (serialVersionUID): New member variable.
15666 (AccessibleJSplitPane.serialVersionUID): Likewise.
15667 * javax/swing/JTabbedPane.java
15668 (serialVersionUID): Likewise.
15669 (AccessibleJTabbedPane.serialVersionUID): Likewise.
15670 (ModelListener.serialVersionUID): Likewise.
15671 (ModelListener.ModelListener): New constructor.
15672 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
15673 (WRAP_TAB_LAYOUT): Likewise.
15674 * javax/swing/JTable.java
15675 (serialVersionUID): New member variable.
15676 * javax/swing/JToggleButton.java
15677 (serialVersionUID): Likewise.
15678 (ToggleButtonModel): Made static.
15679 (ToggleButtonModel.serialVersionUID): New member variable.
15680 * javax/swing/JToolTip.java
15681 (serialVersionUID): Likewise.
15682 * javax/swing/JTree.java
15683 (serialVersionUID): Likewise.
15684 * javax/swing/JWindow.java
15685 (serialVersionUID): Likewise.
15686 * javax/swing/Timer.java
15687 (serialVersionUID): Likewise.
15689 2004-06-06 Michael Koch <konqueror@gmx.de>
15691 * javax/swing/SwingConstants.java
15692 (NEXT): New constant.
15693 (PREVIOUS): Likewise.
15694 * javax/swing/UIManager.java
15695 (LookAndFeel): Made public.
15696 (LookAndFeel.getClassName): Likewise.
15697 (LookAndFeel.getName): Likewise.
15699 2004-06-02 Olga Rodimina <rodimina@redhat.com>
15701 * javax/swing/JCheckBoxMenuItem.java:
15703 * javax/swing/JMenu.java: Likewise.
15704 * javax/swing/JMenuBar.java: Likewise.
15705 * javax/swing/JMenuItem.java: Likewise.
15706 * javax/swing/JPopupMenu.java: Likewise.
15707 * javax/swing/JRadioButtonMenuItem.java: Likewise.
15708 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
15709 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
15710 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
15711 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
15712 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
15713 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
15715 2004-05-31 Olga Rodimina <rodimina@redhat.com>
15717 * javax/swing/plaf/basic/BasicMenuUI.java:
15718 (MouseEntered): Do not call getPath() from MenuSelectionManager.
15719 Call getPath() from super class instead.
15721 2004-05-31 David Jee <djee@redhat.com>
15723 * java/awt/Container.java
15724 (remove): Set component visibility to false after removing it.
15726 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
15728 * java/awt/Component.java (getForeground): Return SystemColor if
15730 (getBackground): Likewise.
15732 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
15733 (item_highlighted): New function.
15734 (connectSignals): Set item_highlighted as list's select
15737 * java/applet/Applet.java: Revert changes from 2004-04-29,
15738 2004-03-15 and 2004-03-14.
15740 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
15741 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
15744 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
15745 "Dialog" as the default font.
15746 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
15748 * java/awt/Component.java (getFont): Return "Dialog" font by
15750 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
15751 Multiply size argument to pango_font_description_set_size by the
15752 DPI conversion factor rather than by PANGO_SCALE.
15753 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
15754 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
15755 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
15756 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
15757 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
15758 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
15759 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
15760 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
15761 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
15762 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
15763 Divide baseline y coordinate by DPI conversion factor rather
15764 than by PANGO_SCALE.
15765 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
15766 (area_prepared): Fix typo.
15767 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
15768 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
15769 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
15770 (dpi_conversion_factor): New global variable.
15771 (init_dpi_conversion_factor): New function to calculate and
15772 track DPI conversion factor.
15773 (dpi_changed_cb): New callback.
15774 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
15776 2004-05-27 David Jee <djee@redhat.com>
15778 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15779 (getGraphics): Return a new GdkGraphics instance.
15780 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
15781 (getGraphics): Call super.getGraphics().
15783 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
15785 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15786 (setNativeBounds): Clamp width and height values to >= 0.
15788 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15789 (find_fg_color_widget): Handle GtkOptionMenu specially.
15791 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15792 (pre_event_handler): Only post configure events to visible
15795 2004-05-26 David Jee <djee@redhat.com>
15797 * java/awt/BorderLayout.java
15798 (layoutContainer): Fix size calculations.
15800 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
15802 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15803 (window_wm_protocols_filter): Remove function.
15804 (create): Remove filter that removes WM_TAKE_FOCUS client
15807 2004-06-17 Anthony Green <green@redhat.com>
15809 * java/util/zip/ZipFile.java (getInputStream): Return null if
15812 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
15813 directory contents to the class path.
15815 2004-06-15 Andrew Haley <aph@redhat.com>
15817 * java/lang/natSystem.cc (getenv0): Don't assume environment
15818 variable is Latin 1 coded.
15820 2004-06-14 Andreas Jaeger <aj@suse.de>
15822 * configure.in: Support --enable-version-specific-runtime-libs.
15823 * configure: Regenerated.
15825 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
15827 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
15828 to pass ClassLoader argument.
15829 * java/util/GregorianCalendar.java: Likewise.
15830 * java/util/Currency.java: Likewise.
15831 * java/text/BreakIterator.java: Likewise.
15832 * java/text/Collator.java: Likewise.
15833 * java/text/DateFormat.java: Likewise.
15834 * java/text/DateFormatSymbols.java: Likewise.
15835 * java/text/DecimalFormatSymbols.java: Likewise.
15836 * java/text/NumberFormat.java: Likewise.
15837 * java/awt/Window.java: Likewise.
15839 2004-06-14 Andrew Haley <aph@redhat.com>
15841 * java/lang/System.java: (getenv0): New method.
15842 (getenv): Add security check. Do the right thing.
15843 * java/lang/natSystem.cc (getenv0): New method.
15845 2004-06-12 Mark Wielaard <mark@klomp.org>
15847 * javax/swing/RepaintManager.java
15848 (paintDirtyRegions): Use entrySet(), not values().
15850 2004-06-10 Mark Wielaard <mark@klomp.org>
15852 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
15855 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
15857 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
15858 when we already know the answer.
15859 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
15860 (setStartRule,setEndRule): Don't take abs of day number.
15861 (getOffset): Clarify docs. Add argument checks.
15862 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
15863 (equals,hasSameRules,toString,readObject): Use startTimeMode and
15866 2004-06-10 Tom Tromey <tromey@redhat.com>
15868 * interpret.cc (run): Handle wide fload.
15870 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
15872 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
15874 2004-06-05 Michael Koch <konqueror@gmx.de>
15876 * javax/swing/SwingConstants.java
15877 (NEXT): New constant.
15878 (PREVIOUS): Likewise.
15880 2004-06-05 Michael Koch <konqueror@gmx.de>
15882 * javax/swing/UIManager.java
15883 (LookAndFeel): Made public.
15884 (LookAndFeel.getName): Likewise.
15885 (LookAndFeel.getClassName): Likewise.
15887 2004-06-03 Michael Koch <konqueror@gmx.de>
15889 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15890 (requestFocus): Revert last changes.
15891 (gtkRequestFocus): Removed.
15892 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15893 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
15895 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
15896 Reverted last patch.
15897 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
15898 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
15899 Reverted comment change.
15901 2004-06-02 Olga Rodimina <rodimina@redhat.com>
15903 * javax/swing/JCheckBoxMenuItem.java:
15905 * javax/swing/JMenu.java: Likewise.
15906 * javax/swing/JMenuBar.java: Likewise.
15907 * javax/swing/JMenuItem.java: Likewise.
15908 * javax/swing/JPopupMenu.java: Likewise.
15909 * javax/swing/JRadioButtonMenuItem.java: Likewise.
15910 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
15911 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
15912 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
15913 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
15914 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
15915 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
15917 2004-06-01 Tom Tromey <tromey@redhat.com>
15919 * java/io/ObjectStreamField.java: Cleaned up imports.
15921 2004-06-01 Michael Koch <konqueror@gmx.de>
15923 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
15925 2004-06-01 Mark Wielaard <mark@klomp.org>
15927 * java/io/Writer.java (Writer(Object)): Fixed API doc.
15929 2004-06-01 Michael Koch <konqueror@gmx.de>
15931 * java/security/Security.java
15932 (insertProviderAt): Use equals() instead of ==.
15933 (removeProvicer): Likewise.
15934 (getProvider): Likewise.
15935 * java/security/Signature.java
15936 (sign): Don't set state to UNINITIALIZED.
15937 (verify): Likewise.
15939 2004-06-01 Mark Wielaard <mark@klomp.org>
15941 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
15942 Implement by calling gtkRequestFocus.
15943 (gtkRequestFocus): New native method.
15944 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15945 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
15947 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
15949 (filter_expose_event_handler):
15951 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
15952 (menu_pos): Mark static.
15954 2004-06-01 Michael Koch <konqueror@gmx.de>
15956 * java/text/CollationElementIterator.java,
15957 java/text/CollationKey.java,
15958 java/text/RuleBasedCollator.java: New versions from GNU classpath.
15959 * testsuite/libjava.mauve/xfails: Removed all
15960 java.text.CollationElementIterator tests.
15962 2004-06-01 Michael Koch <konqueror@gmx.de>
15964 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
15966 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
15967 Java 1.5 keyword usage.
15969 2004-05-31 Olga Rodimina <rodimina@redhat.com>
15971 * javax/swing/plaf/basic/BasicMenuUI.java:
15972 (MouseEntered): Do not call getPath() from MenuSelectionManager.
15973 Call getPath() from super class instead.
15975 2004-05-31 Michael Koch <konqueror@gmx.de>
15977 * java/io/SequenceInputStream.java:
15978 Rename enum to e because enum is a keyword in Java 1.5.
15980 2004-05-31 Michael Koch <konqueror@gmx.de>
15982 * gnu/java/rmi/rmic/CompilerProcess.java:
15983 Fixed javadoc to by XHTML compliant.
15985 2004-05-30 Mark Wielaard <mark@klomp.org>
15987 * java/awt/Toolkit.java (loadSystemColors): Implement.
15989 2004-05-30 Michael Koch <konqueror@gmx.de>
15991 * java/lang/System.java: Reordered imports.
15993 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
15995 * java/text/DecimalFormat.java
15996 (parse): Fixed parsing of decimal strings. Number of maximum
15997 digits to be read should now work.
15998 * java/text/SimpleDateFormat.java
15999 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
16000 formatter. This fixes DateFormatTest.
16002 2004-05-30 Michael Koch <konqueror@gmx.de>
16004 * java/nio/Buffer.java
16005 (limit): Fixed off by one error.
16006 * java/nio/CharBuffer.java
16007 (wrap): Fixed arguments, added javadocs.
16009 2004-05-30 Michael Koch <konqueror@gmx.de>
16011 * gnu/java/beans/BeanInfoEmbryo.java,
16012 java/awt/im/InputContext.java,
16013 javax/swing/tree/DefaultMutableTreeNode.java:
16014 Rename enum to e because enum is a keyword in Java 1.5.
16016 2004-05-30 Michael Koch <konqueror@gmx.de>
16018 * gnu/java/math/MPN.java,
16019 java/awt/geom/Arc2D.java:
16020 Fixed javadocs all over.
16022 2004-05-30 Michael Koch <konqueror@gmx.de>
16024 * java/awt/DefaultKeyboardFocusManager.java
16025 (dispatchEvent): Call method to get key event dispatchers.
16026 (dispatchKeyEvent): Call method to get key event post processors.
16027 * javax/swing/JComponent.java
16028 (listenerList): Made protected.
16029 * javax/swing/JOptionPane.java
16030 (message): Don't initialize.
16031 (JOptionPane): Set message text.
16032 * javax/swing/JPopupMenu.java
16033 (show): Fixed typo in argument name.
16034 * javax/swing/RepaintManager.java
16035 (paintDirtyRegions): Use public API of java.util.Map.
16036 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
16037 (positionForMouseEvent): Removed redundant ';'.
16038 (continueDrag): Use method arguments.
16040 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
16042 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
16045 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
16047 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
16049 * gnu/gcj/RawDataManaged.java: New file.
16050 * java/lang/Thread.java (data): Declare as RawDataManaged.
16051 * java/lang/natThread.cc (init_native): Cast natThread data to
16052 RawDataManaged, not jobject.
16053 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
16054 * Makefile.in: Rebuilt.
16056 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
16058 * java/util/SimpleTimeZone.java: Reverting my last change until I
16059 can fix it properly.
16061 2004-05-27 Michael Koch <konqueror@gmx.de>
16063 * javax/swing/JPopupMenu.java
16064 (isVisible): Do not use visible directly.
16065 (setVisible): Likewise.
16066 * javax/swing/JWindow.java
16067 (JWindow): call accessible constructor.
16068 * javax/swing/RepaintManager.java
16069 (paintDirtyRegions): Use public methods to obtain iterator.
16071 2004-05-25 David Jee <djee@redhat.com>
16073 * java/awt/Container.java
16074 (remove): Set component's parent to null only after we removed the
16075 component from its parent's layout manager.
16077 2004-05-25 David Jee <djee@redhat.com>
16079 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
16080 (GtkComponentPeer): Set bounds regardless of whether awtComponent
16082 * gnu/java/awt/peer/gtk/GtkListPeer.java
16083 (getSize): Change native method declaration.
16084 (minimumSize): Pass visible row count into getSize().
16085 (preferredSize): Likewise.
16086 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
16087 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
16088 natural size. Use visible row count to determine the final height
16091 2004-05-21 Graydon Hoare <graydon@redhat.com>
16093 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
16094 (setClip): Minor correction to order of operations.
16096 * javax/swing/JScrollPane.java: Extend sketchy implementation.
16097 * javax/swing/ScrollPaneLayout.java: Likewise.
16098 * javax/swing/JViewPort.java: Likewise.
16099 * javax/swing/ViewportLayout.java: Likewise.
16101 * javax/swing/JComponent.java: Rewrite.
16102 * javax/swing/RepaintManager.java: Likewise.
16104 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
16105 * javax/swing/JList.java
16106 (setSelectedIndices):
16107 (getSelectedIndices):
16108 (getSelectedValues): New functions.
16109 (getPreferredScrollableViewportSize): Return preferred size.
16110 (getScrollableUnitIncrement):
16111 (getScrollableBlockIncrement): Initial implementations.
16112 * javax/swing/JRootPane.java: Clean up slightly.
16117 (isValidateRoot): Add overrides from JComponent.
16118 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
16119 * javax/swing/UIManager.java (getDimension): Return the dimension.
16121 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
16122 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
16123 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
16124 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
16125 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
16126 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
16127 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
16128 * javax/swing/plaf/basic/BasicRootPaneUI.java:
16129 Likewise, and set background.
16130 * javax/swing/plaf/basic/BasicListUI.java:
16131 Likewise, and improve a bit.
16132 * javax/swing/plaf/basic/BasicScrollBarUI.java:
16133 Likewise, and adjust calculations.
16134 * javax/swing/plaf/basic/BasicViewportUI.java:
16135 Likewise, and improve a bit.
16136 * javax/swing/plaf/basic/BasicLookAndFeel.java
16137 (Button.margin): Shrink.
16139 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
16140 Hack to set horizontal always, workaround pango.
16142 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
16143 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
16144 Synchronize more often, check cairo status after ops,
16145 handle changes to cairo pattern API, check for disposal.
16147 2004-05-21 Olga Rodimina <rodimina@redhat.com>
16149 * javax/swing/plaf/basic/BasicMenuItemUI.java:
16150 (BasicMenuItemUI): Create propertyChangeListener.
16151 (getPath):Implemented.
16152 (installListeners): Add propertyChangeListener to menuItem.
16153 (uninstallListeners): Remove propertyChangeListener from menuItem.
16154 (update): Implemented.
16155 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
16156 (mouseEntered): Take insets of popup menu into account when
16157 calculating position of popup menu.
16159 2004-05-18 Olga Rodimina <rodimina@redhat.com>
16161 * Makefile.am: Added new file.
16162 * Makefile.in: Regenerate.
16163 * javax/swing/JMenuBar.java:
16164 Started implementation.
16165 * javax/swing/JPopupMenu.java:
16166 (setVisible): Fixed location of lightweight/mediumweight
16168 (show): Fixed location of PopupMenu.
16169 * javax/swing/plaf/basic/BasicMenuBarUI.java:
16170 New file. UI Delegate for JMenuBar.
16171 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
16172 (mouseEntered): Corrected position of the submenu.
16174 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
16176 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
16177 to _gtk_accel_group_attach.
16178 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
16181 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
16182 package access. Don't override setFont.
16183 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
16184 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
16185 gtkWidgetRequestFocus package access.
16186 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
16188 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
16189 Give gtkWidgetRequestFocus package access.
16190 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
16191 gtkWidgetRequestFocus package access. Don't override setFont.
16192 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
16194 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
16195 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
16197 (gtkSetFont): Likewise.
16198 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
16200 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
16201 (gtkSetFont): Whitespace fix.
16203 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
16204 (gtkWidgetSetUsize): Remove method.
16206 2004-05-18 David Jee <djee@redhat.com>
16208 * java/awt/image/MemoryImageSource.java
16209 (newPixels(int,int,int,int,boolean)): Set only the specified
16210 rectangle of pixels.
16211 (newPixels(byte[],ColorModel,int,int)): Implement.
16212 (newPixels(int[],ColorModel,int,int)): Implement.
16214 2004-05-18 Olga Rodimina <rodimina@redhat.com>
16216 * Makefile.am: Added new file.
16217 * Makefile.in: Regenerate.
16218 * javax/swing/JMenu.java: Started
16220 * javax/swing/JPopupMenu.java:
16221 (insert): If specified index is -1, then
16222 add component at the end.
16223 (isPopupTrigger): Reimplemented.
16224 (JPopupMenu.LightWeightPopup): setBounds
16225 of the lightWeightPopup before adding it
16226 to the layeredPane.
16227 (javax/swing/plaf/basic/BasicIconFactory.java):
16228 (getMenuArrowIcon): Implemented.
16229 * javax/swing/plaf/basic/BasicMenuItemUI.java:
16230 (getPreferredSize): Add size of the arrow icon
16231 if this menu item is instance of JMenu.
16232 (paintMenuItem): Paint arrow icon if this
16233 menu item is a submenu.
16234 * javax/swing/plaf/basic/BasicMenuUI.java:
16235 New File. UI Delegate for JMenu.
16237 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
16239 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
16240 Post KEY_TYPED events.
16241 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
16242 (generates_key_typed_event): Remove function.
16244 2004-05-17 Olga Rodimina <rodimina@redhat.com>
16246 * javax/swing/JRootPane.java
16247 (JRootPane.RootLayout): Reimplemented to
16248 set bounds of contentPane and menuBar.
16249 (setJMenuBar): Add menu bar to the layered pane.
16250 (createLayeredPane): Set layout of layeredPane
16252 * javax/swing/JLayeredPane.java:
16253 (addImpl): Calculate index of the component in the
16254 layeredPane according to the specified position within
16257 2004-05-17 David Jee <djee@redhat.com>
16259 * gnu/java/awt/peer/gtk/GtkImagePainter.java
16260 (setPixels): Change color model to the default model after
16262 * java/awt/image/MemoryImageSource.java
16263 (newPixels): Set only the specified rectangle of pixels.
16265 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
16267 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
16268 -l-java-beans -l-javax-accessibility -l-javax-swing.
16270 * java/awt/AWTEvent.java (toString): Print source's name rather
16271 than the source itself.
16273 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
16275 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
16277 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
16278 (gdk_color_to_java_color): New function.
16279 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
16281 2004-05-12 David Jee <djee@redhat.com>
16283 * java/awt/image/RGBImageFilter.java:
16284 Initialize origmodel as null.
16285 (makeColor): Fix pixel component order.
16286 (filterRGBPixels): Fix pixel iteration.
16287 (setPixels): Add extra checks for index color model. Convert pixels
16288 to default color model if necessary.
16289 (convertColorModelToDefault): New override method for byte pixels.
16290 (convertColorModelToDefault): For int pixels, fix pixel iteration.
16291 (makeColorbyDefaultCM): New override method for byte pixels.
16292 (makeColorbyDefaultCM): For int pixel, add color model as argument.
16293 (makeColor): Fix pixel component order.
16295 2004-05-11 Kim Ho <kho@redhat.com>
16297 * javax/swing/Box.java:
16298 Comment out more parts of Box.Filler.
16300 2004-05-11 Kim Ho <kho@redhat.com>
16302 * javax/swing/Box.java:
16303 Remove reference to AccessibleAWTComponent so
16306 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
16308 * gnu/java/awt/peer/gtk/GtkListPeer.java,
16309 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
16310 implementation of list peer to use GtkTreeView instead of
16311 deprecated GtkCList.
16313 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
16315 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
16316 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
16317 (handleEvent): Remove keyChar argument to
16318 gtkWidgetDispatchKeyEvent calls.
16319 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
16321 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
16322 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
16323 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
16326 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
16328 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
16329 (gtkWidgetRequestFocus): Mark protected.
16330 (GtkComponentPeer): Only set the peer's bounds if its component
16332 * java/awt/Component.java (static): Set the default keyboard
16334 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
16335 requestFocusInWindow(temporary)): Don't request focus if the
16336 component is not showing. Get tree lock before traversing
16337 component hierarchy.
16338 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
16339 Only set the global focus owner if it is not a Window.
16340 (processKeyEvent): Consume keystrokes associated with the focus
16341 traversal keystroke.
16342 (focusPreviousComponent, focusNextComponent, upFocusCycle,
16343 downFocusCycle): Call requestFocusInWindow instead of
16345 * java/awt/EventDispatchThread.java (run): Move setting of
16346 default keyboard focus manager to Component.java.
16347 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
16348 (awt_keycode_to_keysym): New function.
16349 (gtkWidgetDispatchKeyEvent): Finish implementation.
16350 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
16351 (pre_event_handler): Add FIXME comment.
16353 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
16354 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
16355 (gtkWidgetRequestFocus): New method.
16356 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
16357 disable Tab and Shift-Tab keystrokes.
16358 (addNotify, appendText, insertText, replaceText): Simplify peer
16360 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
16361 (connectSignals): Remove connections to "commit" signals.
16362 Remove C++-style comments.
16364 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
16365 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
16366 (handleEvent): Activate GTK button when the space bar key is
16368 (gtkActivate): New method.
16370 2004-05-06 David Jee <djee@redhat.com>
16372 * java/awt/image/CropImageFilter.java
16373 (setPixels): Implement for byte array pixels.
16374 * java/awt/image/ReplicateScaleFilter.java
16375 (setPixels): Implement for byte array pixels.
16376 (replicatePixels): Overload for byte array pixels.
16378 2004-05-06 Kim Ho <kho@redhat.com>
16380 * javax/swing/Box.java:
16381 (getAccessibleContext): Return an instance of the
16384 2004-05-05 David Jee <djee@redhat.com>
16386 * gnu/java/awt/peer/gtk/GdkGraphics.java
16387 (drawImage): When component is null, use SystemColor.window as
16388 the default bgcolor.
16389 * gnu/java/awt/peer/gtk/GtkImage.java
16390 (setPixels): We can avoid iterating through the pixel rows only
16392 * java/awt/Image.java
16393 (getScaledInstance): Partially implement.
16394 * java/awt/image/CropImageFilter.java
16395 (setProperties): Fix "filter" property.
16396 (setPixels): Implement.
16397 * java/awt/image/ReplicateScaleFilter.java
16398 (setDimensions): Use scaled dimensions.
16399 (setPixels): Implement.
16400 (replicatePixels): New method.
16402 2004-05-05 David Jee <djee@redhat.com>
16404 * gnu/java/awt/peer/gtk/GtkImagePainter.java
16405 (convertPixels): If either pixels or model is null, return null.
16406 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
16407 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
16408 is null, do nothing and return.
16410 2004-05-03 Kim Ho <kho@redhat.com>
16412 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
16413 (getGraphics): Like GtkFramePeer, the Graphics
16414 object needs to be translate to account for
16415 window decorations.
16416 (postMouseEvent): New method. Account for
16418 (postExposeEvent): ditto.
16419 * javax/swing/Box.java: Stubbed.
16420 * javax/swing/JDialog.java: Ran through jalopy
16421 to fix indentation.
16422 (JDialog): Call SwingUtilities' getOwnerFrame
16424 (setLayout): Check isRootPaneCheckingEnabled
16425 * javax/swing/JOptionPane.java: Re-implemented.
16426 * javax/swing/SwingUtilities.java:
16427 (getOwnerFrame): Static method to grab a default
16428 owner frame for Dialogs that don't specify owners.
16429 * javax/swing/event/SwingPropertyChangeSupport.java:
16430 (firePropertyChange): Fix early exit condition.
16431 * javax/swing/plaf/basic/BasicLabelUI.java:
16432 (paint): Avoid painting text if it is null
16434 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
16437 2004-05-03 Olga Rodimina <rodimina@redhat.com>
16439 * Makefile.am: Added new file.
16440 * Makefile.in: Regenerate.
16441 * javax/swing/JPopupMenu.java:
16442 Started implementation.
16443 * javax/swing/JWindow.java
16444 (JWindow): call super() if parent for window
16446 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
16447 New File. UI Delegate for JPopupMenu.
16449 2004-04-30 Olga Rodimina <rodimina@redhat.com>
16451 * javax/swing/JApplet.java: Indicated that JApplet
16452 implements RootPaneContainer and made method of this
16454 * javax/swing/JFrame.java: Ditto.
16455 * javax/swing/JWindow.java: Ditto.
16457 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
16459 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16460 (nativeSetBounds): Call gdk_window_move in addition to
16463 * java/applet/Applet.java (preferredSize): Call parent's
16464 preferredSize if the applet stub is null.
16465 (minimumSize): Likewise for parent's minimumSize.
16467 2004-04-27 Olga Rodimina <rodimina@redhat.com>
16469 * javax/swing/JMenuItem.java
16470 (createActionPropertyChangeListener): Implemented.
16471 (processMouseEvent): Ditto.
16472 (fireMenuDragMouseEntered): Ditto.
16473 (fireMenuDragMouseExited): Ditto.
16474 (fireMenuDragMouseDragged): Ditto.
16475 (fireMenuDragMouseReleased): Ditto.
16476 (menuSelectionChanged): Ditto.
16477 (getSubElements): Ditto.
16478 (getComponent): Ditto.
16479 (addMenuDragMouseListener): Ditto.
16480 (removeMenuDragMouseListener):Ditto.
16481 (addMenuKeyListener): Ditto.
16482 (removeMenuKeyListener): Ditto.
16483 * javax/swing/plaf/basic/BasicMenuItemUI.java
16484 (doClick): Imlemented.
16485 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
16486 Don't handle mouse events here. Pass them to
16487 MenuSelectionManager.
16489 2004-04-26 Olga Rodimina <rodimina@redhat.com>
16490 Used correct version of jalopy configuration
16491 file to fix style in the files below.
16493 2004-04-26 Olga Rodimina <rodimina@redhat.com>
16495 * javax/swing/JCheckBoxMenuItem.java:
16496 Fixed style and removed unnecessary comments.
16497 * javax/swing/JMenuItem.java: Ditto.
16498 * javax/swing/JRadioButtonMenuItem.java: Ditto.
16499 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
16500 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
16501 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
16503 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
16505 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
16508 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
16510 * java/awt/ContainerOrderFocusTraversalPolicy.java
16511 (getComponentAfter): Start from current component and work up
16512 the component hierarchy until an acceptable component is found.
16513 Synchronize on tree lock.
16514 (getComponentBefore): Likewise.
16516 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
16518 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
16519 focus-related debugging messages.
16520 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
16521 * java/awt/EventDispatchThread.java: Likewise.
16522 * java/awt/KeyboardFocusManager.java: Likewise.
16523 * java/awt/Window.java: Likewise.
16524 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
16525 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
16527 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
16528 new C++-style comments to C-style comments.
16529 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
16531 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
16532 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
16533 (handleEvent): Dispatch key press and key release events to
16535 (requestFocus): Post a FOCUS_GAINED event to the event queue.
16536 (gtkWidgetRequestFocus): New method.
16537 (gtkWidgetDispatchKeyEvent): Likewise.
16538 * java/awt/Component.java (requestFocus, requestFocus(boolean),
16539 requestFocusInWindow, requestFocusInWindow(boolean),
16540 getFocusCycleRootAncestor, nextFocus, transferFocus,
16541 transferFocusBackward, transferFocusUpCycle, hasFocus,
16542 isFocusOwner): Implement and document focus-handling methods.
16543 (setFocusTraversalKeys): Inherit focus traversal keys when
16544 keystrokes argument is null. Fix focus-handling documentation
16546 * java/awt/Container.java (setFocusTraversalKeys,
16547 getFocusTraversalKeys, areFocusTraversalKeysSet,
16548 isFocusCycleRoot, setFocusTraversalPolicy,
16549 getFocusTraversalPolicy, isFocusTraversalPolicySet,
16550 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
16551 Implement and document focus-handling methods.
16552 (transferFocusBackward): Remove method.
16553 (readObject, writeObject): Implement and document serialization
16555 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
16557 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
16559 * java/awt/DefaultKeyboardFocusManager.java: Implement and
16560 partially document.
16561 * java/awt/EventDispatchThread.java (run): Set default keyboard
16562 focus manager. Attempt to dispatch each event to the keyboard
16563 focus manager before normal dispatch.
16564 * java/awt/KeyboardFocusManager.java: Implement and partially
16566 * java/awt/Window.java (Window): Set focusCycleRoot to true.
16567 (show): Focus initial component when window is shown for the
16569 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
16570 (pre_event_handler): Replace complex key press and key release
16571 logic with simple callbacks into GtkComponentPeer.
16572 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
16574 2004-04-21 Olga Rodimina <rodimina@redhat.com>
16576 * javax/swing/MenuSelectionManager.java
16577 (componentForPoint): Added new method.
16578 (defaultManager): New Method. Implemented.
16579 (getSelectedPath): Ditto.
16580 (isComponentPartOfCurrentMenu): Ditto.
16581 (processKeyEvent): Added new method.
16582 (processMouseEvent): New Method. Implemented.
16583 (setSelectedPath): Ditto.
16586 2004-04-19 Kim Ho <kho@redhat.com>
16588 * java/awt/Container.java:
16589 (remove): Set the component's parent to null.
16590 (getComponentAt): Implement.
16591 * javax/swing/JComponent.java:
16592 (JComponent): Initialize defaultLocale
16593 (getDefaultLocale): Implement.
16594 (setDefaultLocale): ditto.
16595 * javax/swing/JSlider.java:
16596 (JSlider): Fix calculation of value.
16597 * javax/swing/JSplitPane.java: Implement.
16598 * javax/swing/plaf/basic/BasicLookAndFeel.java:
16599 Change SplitPane's default divider size.
16600 * javax/swing/plaf/basic/BasicScrollBarUI.java:
16601 (paint): Remove unused code.
16602 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
16603 Added comments and ran through jalopy.
16604 (setBasicSplitPaneUI): Get reference to hidden divider
16605 and set up one touch buttons if necessary.
16606 (setBorder): Fire propertyChangeEvent only if
16607 borders are different.
16608 (getPreferredSize): Defer to layout manager.
16609 (propertyChange): Implement.
16610 (oneTouchExpandableChanged): ditto.
16611 (createLeftOneTouchButton): Use BasicArrowButton.
16612 (createRightOneTouchButton): ditto.
16613 (moveDividerTo): New method. Moves the divider
16614 to a set location based on the last divider location.
16615 (BasicSplitPaneDivider::MouseHandler): Implement.
16616 (BasicSplitPaneDivider::OneTouchButton): Removed.
16617 (BasicSplitPaneDivider::DragController): Implement.
16618 (BasicSplitPaneDivider::VerticalDragController):
16620 (BasicSplitPaneDivider::DividerLayout): ditto.
16621 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
16622 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
16623 (calculateLayoutInfo): Don't show component if it's
16625 (paintTab): Fix title paint logic.
16627 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
16630 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
16631 (setStartRule,setEndRule): Don't take abs of day number.
16632 (getOffset): Clarify docs. Add argument checks.
16633 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
16634 (equals,hasSameRules,toString,readObject): Use startTimeMode and
16636 * testsuite/libjava.mauve/xfails
16637 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
16639 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
16641 Layout interfaces during preparation, not initialization.
16642 * java/lang/natClass.cc (initializeClass): Move
16643 _Jv_LayoutInterfaceMethods call...
16644 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
16646 2004-05-19 Anthony Green <green@localhost.localdomain>
16648 * Makefile.am (awt_java_source_files): Remove javax.rmi and
16649 gnu.javax.rmi code.
16650 * Makefile.in: Rebuilt.
16651 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
16652 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
16653 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
16654 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
16655 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
16656 gnu/javax/rmi/CORBA/DelegateFactory.java,
16657 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
16658 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
16659 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
16660 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
16661 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
16662 gnu/javax/rmi/PortableServer.java: Remove files.
16664 2004-05-19 Anthony Green <green@redhat.com>
16666 * Makefile.am: Define JAVA_EXT_DIRS.
16667 * Makefile.in: Rebuilt.
16668 * java/lang/natRuntime.cc (insertSystemProperties): Set
16669 java.ext.dirs property.
16671 2004-05-16 Mark Wielaard <mark@klomp.org>
16673 * java/io/Writer.java (Writer(Object)): Check for null lock object.
16675 2004-05-15 Mark Wielaard <mark@klomp.org>
16677 * doc/cni.sgml: Removed, merged into gcj.texi.
16679 2004-05-15 Mark Wielaard <mark@klomp.org>
16681 * Makefile.am (ordinary_java_source_files): Add new javax.print
16683 * Makefile.in: Regenerated.
16685 2004-05-15 Michael Koch <konqueror@gmx.de>
16687 * javax/print/attribute/standard/DateTimeAtCompleted.java,
16688 javax/print/attribute/standard/DateTimeAtCreation.java,
16689 javax/print/attribute/standard/DateTimeAtProcessing.java,
16690 javax/print/attribute/standard/DocumentName.java,
16691 javax/print/attribute/standard/JobHoldUntil.java,
16692 javax/print/attribute/standard/JobImpressionsCompleted.java,
16693 javax/print/attribute/standard/JobMessageFromOperator.java,
16694 javax/print/attribute/standard/JobName.java,
16695 javax/print/attribute/standard/JobOriginatingUserName.java,
16696 javax/print/attribute/standard/JobPriority.java,
16697 javax/print/attribute/standard/JobPrioritySupported.java,
16698 javax/print/attribute/standard/NumberOfInterveningJobs.java,
16699 javax/print/attribute/standard/OutputDeviceAssigned.java,
16700 javax/print/attribute/standard/PrinterInfo.java,
16701 javax/print/attribute/standard/PrinterLocation.java,
16702 javax/print/attribute/standard/PrinterMakeAndModel.java,
16703 javax/print/attribute/standard/PrinterMessageFromOperator.java,
16704 javax/print/attribute/standard/PrinterName.java,
16705 javax/print/attribute/standard/QueuedJobCount.java,
16706 javax/print/attribute/standard/RequestingUserName.java:
16707 Fixed javadocs all over.
16709 2004-05-15 Michael Koch <konqueror@gmx.de>
16711 * javax/print/DocFlavor.java,
16712 javax/print/attribute/standard/ColorSupported.java,
16713 javax/print/attribute/standard/Compression.java,
16714 javax/print/attribute/standard/CopiesSupported.java,
16715 javax/print/attribute/standard/Fidelity.java,
16716 javax/print/attribute/standard/Finishings.java,
16717 javax/print/attribute/standard/JobImpressionsSupported.java,
16718 javax/print/attribute/standard/JobKOctetsSupported.java,
16719 javax/print/attribute/standard/JobMediaSheetsSupported.java,
16720 javax/print/attribute/standard/JobSheets.java,
16721 javax/print/attribute/standard/JobState.java,
16722 javax/print/attribute/standard/JobStateReason.java,
16723 javax/print/attribute/standard/JobStateReasons.java,
16724 javax/print/attribute/standard/Media.java,
16725 javax/print/attribute/standard/MediaSizeName.java,
16726 javax/print/attribute/standard/MultipleDocumentHandling.java,
16727 javax/print/attribute/standard/NumberUpSupported.java,
16728 javax/print/attribute/standard/OrientationRequested.java,
16729 javax/print/attribute/standard/PDLOverrideSupported.java,
16730 javax/print/attribute/standard/PageRanges.java,
16731 javax/print/attribute/standard/PresentationDirection.java,
16732 javax/print/attribute/standard/PrintQuality.java,
16733 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
16734 javax/print/attribute/standard/PrinterMoreInfo.java,
16735 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
16736 javax/print/attribute/standard/PrinterResolution.java,
16737 javax/print/attribute/standard/PrinterState.java,
16738 javax/print/attribute/standard/PrinterStateReason.java,
16739 javax/print/attribute/standard/PrinterStateReasons.java,
16740 javax/print/attribute/standard/PrinterURI.java,
16741 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
16742 javax/print/attribute/standard/Severity.java,
16743 javax/print/attribute/standard/SheetCollate.java,
16744 javax/print/attribute/standard/Sides.java:
16745 Added serialVersionUID and removed final keyword where it doenst
16748 2004-05-15 Michael Koch <konqueror@gmx.de>
16750 * javax/print/PrintServiceLookup.java: New file.
16752 2004-05-15 Michael Koch <konqueror@gmx.de>
16754 * javax/print/DocFlavor.java:
16755 Implemented all flavor classes.
16757 2004-05-15 Michael Koch <konqueror@gmx.de>
16759 * javax/print/attribute/standard/ColorSupported.java,
16760 javax/print/attribute/standard/Compression.java,
16761 javax/print/attribute/standard/CopiesSupported.java,
16762 javax/print/attribute/standard/Fidelity.java,
16763 javax/print/attribute/standard/Finishings.java,
16764 javax/print/attribute/standard/JobImpressionsSupported.java,
16765 javax/print/attribute/standard/JobKOctetsSupported.java,
16766 javax/print/attribute/standard/JobMediaSheetsSupported.java,
16767 javax/print/attribute/standard/JobSheets.java,
16768 javax/print/attribute/standard/JobState.java,
16769 javax/print/attribute/standard/JobStateReason.java,
16770 javax/print/attribute/standard/JobStateReasons.java,
16771 javax/print/attribute/standard/Media.java,
16772 javax/print/attribute/standard/MediaSizeName.java,
16773 javax/print/attribute/standard/MultipleDocumentHandling.java,
16774 javax/print/attribute/standard/NumberUpSupported.java,
16775 javax/print/attribute/standard/OrientationRequested.java,
16776 javax/print/attribute/standard/PDLOverrideSupported.java,
16777 javax/print/attribute/standard/PageRanges.java,
16778 javax/print/attribute/standard/PresentationDirection.java,
16779 javax/print/attribute/standard/PrintQuality.java,
16780 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
16781 javax/print/attribute/standard/PrinterMoreInfo.java,
16782 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
16783 javax/print/attribute/standard/PrinterResolution.java,
16784 javax/print/attribute/standard/PrinterState.java,
16785 javax/print/attribute/standard/PrinterStateReason.java,
16786 javax/print/attribute/standard/PrinterStateReasons.java,
16787 javax/print/attribute/standard/PrinterURI.java,
16788 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
16789 javax/print/attribute/standard/Severity.java,
16790 javax/print/attribute/standard/SheetCollate.java,
16791 javax/print/attribute/standard/Sides.java: New files.
16793 2004-05-15 Michael Koch <konqueror@gmx.de>
16795 * javax/print/Doc.java
16796 (getPrintData): Throws IOException.
16797 (getReaderForText): Likewise.
16798 (getStreamForBytes): Likewise.
16799 * javax/print/DocFlavor.java:
16800 Fixed filename in copyright.
16801 (serialVersionUID): New field.
16802 * javax/print/ServiceUIFactory.java:
16803 Made all constants final.
16804 * javax/print/AttributeException.java
16805 javax/print/MultiDoc.java
16806 javax/print/MultiDocPrintJob.java
16807 javax/print/MultiDocPrintService.java
16808 javax/print/StreamPrintService.java
16809 javax/print/URIException.java: New files.
16810 * javax/print/Makefile.am
16811 (EXTRA_DIST): Added all new files.
16813 2004-05-15 Michael Koch <konqueror@gmx.de>
16815 * javax/print/attribute/standard/Copies.java,
16816 javax/print/attribute/standard/DateTimeAtCompleted.java,
16817 javax/print/attribute/standard/DateTimeAtCreation.java,
16818 javax/print/attribute/standard/DateTimeAtProcessing.java,
16819 javax/print/attribute/standard/DocumentName.java,
16820 javax/print/attribute/standard/JobHoldUntil.java,
16821 javax/print/attribute/standard/JobImpressions.java,
16822 javax/print/attribute/standard/JobImpressionsCompleted.java,
16823 javax/print/attribute/standard/JobKOctets.java,
16824 javax/print/attribute/standard/JobKOctetsProcessed.java,
16825 javax/print/attribute/standard/JobMediaSheets.java,
16826 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
16827 javax/print/attribute/standard/JobMessageFromOperator.java,
16828 javax/print/attribute/standard/JobName.java,
16829 javax/print/attribute/standard/JobOriginatingUserName.java,
16830 javax/print/attribute/standard/JobPriority.java,
16831 javax/print/attribute/standard/JobPrioritySupported.java,
16832 javax/print/attribute/standard/NumberOfDocuments.java,
16833 javax/print/attribute/standard/NumberOfInterveningJobs.java,
16834 javax/print/attribute/standard/NumberUp.java,
16835 javax/print/attribute/standard/OutputDeviceAssigned.java,
16836 javax/print/attribute/standard/PagesPerMinute.java,
16837 javax/print/attribute/standard/PagesPerMinuteColor.java:
16838 Fixed @return tag all over.
16840 2004-05-15 Michael Koch <konqueror@gmx.de>
16842 * javax/print/attribute/AttributeSetUtilities.java
16843 (verifyCategoryForValue): Fixed typo in javadoc.
16844 * javax/print/attribute/HashAttributeSet.java
16845 (containsKey): Fixed @return tag.
16846 (comtainsValue): Likewise.
16847 (equals): Likewise.
16848 * javax/print/attribute/IntegerSyntax.java
16849 (equals): Likewise.
16850 * javax/print/attribute/ResolutionSyntax.java
16851 (equals): Likewise.
16852 (getCrossFeedResolution): Removed unused code.
16853 (getFeedResolution): Likewise.
16854 * javax/print/attribute/SetOfIntegerSyntax.java
16855 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
16856 (equals): Fixed @return tag.
16857 * javax/print/attribute/TextSyntax.java
16858 (TextSyntax): Take locale into account.
16859 (hashCode): Better implementation.
16861 2004-05-15 Michael Koch <konqueror@gmx.de>
16863 * javax/print/CancelablePrintJob.java,
16864 javax/print/Doc.java,
16865 javax/print/DocFlavor.java,
16866 javax/print/DocPrintJob.java,
16867 javax/print/FlavorException.java,
16868 javax/print/PrintException.java,
16869 javax/print/PrintService.java,
16870 javax/print/ServiceUIFactory.java: New files.
16872 2004-05-15 Mark Wielaard <mark@klomp.org>
16874 * gnu/regexp/CharIndexedReader.java: Removed.
16875 * gnu/regexp/REFilterReader.java: Likewise.
16876 * gnu/regexp/RETokenLookAhead.java: Likewise.
16877 * Makefile.am (ordinary_java_source_files): Remove above classes.
16878 * Makefile.in: Regenerated.
16880 2004-05-14 Tom Tromey <tromey@redhat.com>
16882 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
16883 not `XGraphicsConfiguration.XOffScreenImage'.
16885 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
16887 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
16889 2004-05-14 Steven Augart <augart@watson.ibm.com>
16891 * include/jni.h (_Jv_func): Removed.
16892 (struct JNINativeInterface): Use `void *' for reserved slots.
16893 (struct JNIInvokeInterface): Likewise.
16895 2004-05-11 Michael Koch <konqueror@gmx.de>
16897 * gnu/java/net/natPlainSocketImplPosix.cc
16898 (read): Fixed typo in expression.
16900 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
16902 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
16903 ld_library_additions. Adjust all calls to libjava_invoke to match
16906 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
16907 path to cxxflagslist.
16908 Pass path of libstdc++ to libjava_invoke.
16910 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
16911 libjava_invoke arguments.
16913 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
16915 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
16918 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
16920 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
16921 main binary against the JNI shared library.
16923 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
16925 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
16926 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
16927 (SimpleTimeZone): Tweak docs. Add new variation.
16928 (setStartRule,setEndRule): Add new variations. Use
16929 startTimeMode and endTimeMode.
16931 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
16933 * java/util/Calendar.java (getActualMinimum,
16934 getActualMaximum): Remove abstract. Implement.
16936 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
16938 Run the jni tests using the interpreter.
16939 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
16940 options_cxx to shared lib compile command.
16941 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
16942 they are used to link the shared lib, not the main binary.
16943 Use libjava_invoke to run gij.
16945 2004-05-06 Michael Koch <konqueror@gmx.de>
16947 * java/util/logging/Level.java
16948 (parse): Use == instead of String.equals().
16950 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
16952 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
16953 verify_field_signature and verify_method_signature, not
16954 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
16955 (_Jv_ClassReader::handleField): Likewise.
16956 (_Jv_ClassReader::handleMethod): Likewise.
16958 2004-05-06 Michael Koch <konqueror@gmx.de>
16960 * javax/swing/table/TableColumn.java:
16963 2004-05-06 Michael Koch <konqueror@gmx.de>
16965 * javax/imageio/spi/ImageReaderWriterSpi.java
16966 (ImageReaderWriterSpi): Made it public.
16967 * javax/imageio/stream/ImageInputStream.java:
16970 2004-05-06 Michael Koch <konqueror@gmx.de>
16972 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
16973 Removed empty line.
16975 2004-05-06 Michael Koch <konqueror@gmx.de>
16977 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
16978 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
16980 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
16981 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
16982 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
16983 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
16984 their own source file.
16985 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
16986 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
16987 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
16988 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
16989 (create): Define variable on top of function.
16990 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
16991 (menu_pos): Prototyped.
16992 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16993 (setTitle): Removed.
16994 * jni/gtk-peer/gthread-jni.c
16995 (gdk_threads_wake): Removed.
16996 * Makefile.am (gtk_c_source_files): Added new files
16997 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
16998 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
16999 * Makefile.in: Regenerated.
17001 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
17003 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
17006 2004-05-05 Mark Wielaard <mark@klomp.org>
17008 * javax/swing/AbstractButton.java: Replace special HTML entities with
17010 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
17011 * javax/swing/DefaultButtonModel.java: Likewise.
17012 * javax/swing/DefaultListModel.java: Likewise.
17013 * javax/swing/JList.java: Likewise.
17014 * javax/swing/JSlider.java: Likewise.
17015 * javax/swing/ListModel.java: Likewise.
17016 * javax/swing/Popup.java: Likewise.
17017 * javax/swing/SwingUtilities.java: Likewise.
17019 2004-05-05 Michael Koch <konqueror@gmx.de>
17021 * javax/swing/AbstractButton.java,
17022 javax/swing/ActionMap.java,
17023 javax/swing/DefaultButtonModel.java,
17024 javax/swing/DefaultListModel.java,
17025 javax/swing/ImageIcon.java,
17026 javax/swing/JComboBox.java,
17027 javax/swing/JComponent.java,
17028 javax/swing/JFrame.java,
17029 javax/swing/JInternalFrame.java,
17030 javax/swing/JMenuBar.java,
17031 javax/swing/JMenuItem.java,
17032 javax/swing/JOptionPane.java,
17033 javax/swing/JProgressBar.java,
17034 javax/swing/JRootPane.java,
17035 javax/swing/JScrollBar.java,
17036 javax/swing/JScrollPane.java,
17037 javax/swing/JSeparator.java,
17038 javax/swing/JSlider.java,
17039 javax/swing/JTabbedPane.java,
17040 javax/swing/JTable.java,
17041 javax/swing/JTextField.java,
17042 javax/swing/JToolBar.java,
17043 javax/swing/JToolTip.java,
17044 javax/swing/JTree.java,
17045 javax/swing/JViewport.java,
17046 javax/swing/JWindow.java,
17047 javax/swing/KeyStroke.java,
17048 javax/swing/LookAndFeel.java,
17049 javax/swing/SwingUtilities.java,
17050 javax/swing/Timer.java,
17051 javax/swing/ToolTipManager.java,
17052 javax/swing/UIDefaults.java,
17053 javax/swing/border/TitledBorder.java,
17054 javax/swing/filechooser/FileSystemView.java,
17055 javax/swing/plaf/basic/BasicButtonListener.java,
17056 javax/swing/plaf/basic/BasicButtonUI.java,
17057 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
17058 javax/swing/plaf/basic/BasicGraphicsUtils.java,
17059 javax/swing/plaf/basic/BasicLabelUI.java,
17060 javax/swing/plaf/basic/BasicMenuItemUI.java,
17061 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
17062 javax/swing/plaf/basic/BasicRootPaneUI.java,
17063 javax/swing/plaf/basic/BasicScrollBarUI.java,
17064 javax/swing/plaf/basic/BasicScrollPaneUI.java,
17065 javax/swing/plaf/basic/BasicSliderUI.java,
17066 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
17067 javax/swing/plaf/basic/BasicToggleButtonUI.java,
17068 javax/swing/table/JTableHeader.java,
17069 javax/swing/text/AbstractDocument.java,
17070 javax/swing/text/DefaultCaret.java,
17071 javax/swing/text/StyledEditorKit.java,
17072 javax/swing/tree/DefaultTreeCellEditor.java:
17073 Cleaned up imports.
17075 2004-05-05 Michael Koch <konqueror@gmx.de>
17077 * java/util/prefs/AbstractPreferences.java
17078 (AbstractPreferences): Added parenthesis for clarity.
17079 Closes classpath bug #7940.
17081 2004-05-05 Tom Tromey <tromey@redhat.com>
17083 * javax/naming/CompoundName.java (endsWith): Look at correct
17084 element of source name.
17086 2004-05-05 Mark Wielaard <mark@klomp.org>
17088 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
17089 * java/util/HashMap.java (rehash): Add entry at start of bucket.
17091 2004-05-05 Tom Tromey <tromey@redhat.com>
17093 * java/io/BufferedReader.java (skip): Removed unused
17096 2004-05-05 Michael Koch <konqueror@gmx.de>
17098 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
17100 2004-05-05 Dalibor Topic <robilad@kaffe.org>
17102 * java/text/AttributedString.java,
17103 java/text/AttributedStringIterator.java,
17104 java/text/Collator.java,
17105 java/text/DecimalFormatSymbols.java,
17106 java/text/NumberFormat.java,
17107 java/text/RuleBasedCollator.java:
17108 Cleaned up imports.
17110 2004-05-05 Tom Tromey <tromey@redhat.com>
17112 * java/text/Format.java: Cleaned up imports.
17113 * java/text/DecimalFormat.java: Cleaned up imports.
17114 * java/security/SecureRandom.java: Cleaned up imports.
17115 (SecureRandom): Removed unused variable.
17116 * java/security/UnresolvedPermission.java: Cleaned up imports.
17117 * java/util/Date.java (parse): Removed unused variable.
17118 * java/util/ResourceBundle.java: Cleaned up imports.
17119 (getBundle): Removed unused variable.
17120 (tryBundle): Likewise.
17121 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
17123 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
17125 * java/text/SimpleDateFormat.java:
17126 (formatWithAttribute): New method. It implements
17127 the formatting process with attributes.
17128 (format): Use formatWithAttribute.
17129 (formatToCharacterIterator): New method. Use
17130 formatWithAttribute.
17132 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
17134 * java/text/MessageFormat.java:
17135 (class Field): New class.
17136 (formatToCharacterIterator): New method.
17137 (format): Use formatInternal now.
17138 (formatInternal): New method. String formatter should
17139 be done here (with attributes). Attributes merging supported.
17140 (parse): More documentation.
17141 (getFormatsByArgumentIndex): New method.
17142 (setFormatByArgumentIndex): New method.
17143 (setFormatsByArgumentIndex): New method.
17145 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
17147 * java/text/DecimalFormat.java
17148 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
17149 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
17150 (parse): Fixed handling of exponentiation notation and grouping.
17152 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
17154 * java/text/DecimalFormat.java
17155 (scanFix): Build attribute array. Fixed error reporting.
17156 (applyPatternWithSymbols): Store attributes for the prefix and
17158 (formatInternal): New method. Changed the way the string is
17159 computed. Implemented attributes. Cleant up rounding in
17160 exponential notation.
17161 (format): Use formatInternal.
17162 (formatToCharacterIterator): New method.
17163 (exponentRound, negativePrefixRanges, positivePrefixRanges,
17164 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
17165 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
17168 2004-05-04 Dalibor Topic <robilad@kaffe.org>
17170 * java/security/interfaces/DSAKeyPairGenerator.java,
17171 java/security/interfaces/DSAPrivateKey.java,
17172 java/security/interfaces/DSAPublicKey.java,
17173 java/security/interfaces/RSAPrivateKey.java,
17174 java/security/interfaces/RSAPublicKey.java:
17175 Cleaned up imports.
17177 2004-05-04 Michael Koch <konqueror@gmx.de>
17179 * java/nio/ByteBuffer.java,
17180 java/nio/CharBuffer.java,
17181 java/nio/DoubleBuffer.java,
17182 java/nio/FloatBuffer.java,
17183 java/nio/IntBuffer.java,
17184 java/nio/LongBuffer.java,
17185 java/nio/ShortBuffer.java:
17186 (compareTo): Fixed bogus implementation in all buffer classes.
17188 2004-05-04 Ingo Proetel <proetel@aicas.com>
17190 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
17191 32 bit pixels not 8 bit pixels.
17192 (isCompatibleRaster): Added javadoc comment.
17194 2004-05-04 Ingo Proetel <proetel@aicas.com>
17196 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
17199 2004-05-04 Ingo Proetel <proetel@aicas.com>
17201 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
17202 (getColorModel): Return the actual color model.
17203 (getRaster): Implemented.
17204 (ColorRaster): New inner class.
17205 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
17207 * java/awt/Color.java (<init>): Make exception more verbose.
17208 (createContext): Use ColorModel when creating a PaintContext.
17210 2004-05-04 Michael Koch <konqueror@gmx.de>
17212 * gnu/java/text/CharacterBreakIterator.java
17213 (previous): Removed unused variable.
17215 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
17217 * gnu/java/text/FormatBuffer.java,
17218 gnu/java/text/AttributedFormatBuffer.java,
17219 gnu/java/text/StringFormatBuffer.java: New classes to implement
17220 attributed iterators in java.text.
17221 * gnu/java/text/FormatCharacterIterator.java: Moved
17222 from java/text as it is an internal class.
17223 * java/text/FormatCharacterIterator.java: Removed.
17224 * java/text/Format.java:
17225 Import gnu.java.text.FormatCharacterIterator.
17226 * Makefile.am (java_source_files): Added new files.
17227 * Makefile.in: Regenerated.
17230 2004-05-04 Mark Wielaard <mark@klomp.org>
17232 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
17234 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
17236 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
17237 * Makefile.in: Rebuilt.
17239 2004-05-03 Mark Wielaard <mark@klomp.org>
17241 * gnu/java/security/der/DERReader.java: Call static methods staticly.
17242 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
17243 * java/net/URL.java
17244 (set(String, String, int, String, String, String, String, String)):
17245 Assign this.file to path or path + "?" + query.
17246 * java/util/Arrays.java: Call static methods staticly.
17247 * java/util/zip/ZipEntry.java: Likewise.
17248 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
17249 dir to this.direction.
17250 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
17251 Assign static field only once.
17252 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
17254 2004-05-03 Mark Wielaard <mark@klomp.org>
17256 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
17257 unused variables hScrollbarHeight and vScrollbarWidth.
17258 (preferredSize): Likewise.
17259 * gnu/java/security/provider/DSAParameters.java (engineToString):
17260 Removed unused call to System.getProperty("line.seperator");
17261 * java/security/Security.java (loadProviders): Return result.
17263 2004-05-03 Tom Tromey <tromey@redhat.com>
17265 * java/net/URLStreamHandler.java (toExternalForm): Removed
17267 unused constructor.
17268 * java/math/BigDecimal.java (divide): Removed unused variable.
17269 * java/lang/Throwable.java: Cleaned up imports.
17270 * java/lang/ClassLoader.java: Cleaned up imports.
17271 * java/io/FilePermission.java (implies): Removed unused
17273 * java/awt/TextComponent.java: Removed unused import.
17274 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
17275 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
17276 * gnu/java/text/WordBreakIterator.java: Removed unused import.
17277 * gnu/java/text/SentenceBreakIterator.java: Removed unused
17279 * gnu/java/text/LineBreakIterator.java: Removed unused import.
17280 * gnu/java/text/CharacterBreakIterator.java: Removed
17282 * gnu/java/security/provider/DSAKeyPairGenerator.java:
17283 Cleaned up imports.
17284 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
17285 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
17287 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
17288 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
17289 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
17290 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
17291 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
17292 (lookupProviders): Removed unused variable.
17293 (loadNextServiceProvider): Likewise.
17294 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
17296 2004-05-03 Michael Koch <konqueror@gmx.de>
17298 Fixes PR libgcj/14695:
17299 * java/net/NetworkInterface.java
17300 (getByName): Return null when no interface was found.
17302 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
17303 Tom Tromey <tromey@redhat.com>
17305 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
17306 additional option "-Wmissing-prototypes" for compiling C sources.
17307 Print actual filename for pass/fail rather than $name.c.
17308 * testsuite/libjava.jni/PR15133.java: New testcase file.
17309 * testsuite/libjava.jni/PR15133.c: Likewise.
17310 * testsuite/libjava.jni/PR15133.out: Likewise.
17312 2004-04-30 Roger Sayle <roger@eyesopen.com>
17314 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
17317 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
17319 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
17320 limit the maximum heap size to avoid unnecessary thrashing.
17322 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
17324 * java/text/CollationElementIterator.java (reset): Reset
17325 lookahead variables.
17327 2004-04-23 Mark Wielaard <mark@klomp.org>
17329 * jni/classpath/jcl.c: Changed C++ comments into C comments.
17331 2004-04-23 Dalibor Topic <robilad@kaffe.org>
17333 * java/sql/DriverManager.java:
17334 Cleaned up imports.
17336 2004-04-23 Michael Koch <konqueror@gmx.de>
17338 * java/net/URL.java
17339 (hashcode): Don't initialize with default value explicitely.
17340 (getContent): Removed redundant "final" keyword.
17341 (openStream): Likewise.
17342 (getURLStreamHandler): Fixed coding style.
17343 * java/net/URLConnection.java
17344 (defaultAllowUserInteraction): Don't initialize with default value
17346 (connected): Likewise.
17347 (doOutput): Likewise.
17348 (ifModifiedSince): Likewise.
17349 (dateformats_initialized): Likewise.
17350 (setURLStreamHander): Use StreamTokenizer where it belongs to.
17352 2004-04-23 Michael Koch <konqueror@gmx.de>
17354 * gnu/java/nio/channels/FileChannelImpl.java
17355 (SET, CUR): Unused, removed.
17356 (read): Implement here directly.
17357 (implRead): Removed.
17358 (write): Implement here directly.
17359 (implWrite): Removed.
17361 2004-04-23 Dalibor Topic <robilad@kaffe.org>
17363 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
17364 javax/rmi/CORBA/Stub.java,
17365 javax/rmi/CORBA/Util.java,
17366 javax/rmi/CORBA/ValueHandler.java,
17367 javax/rmi/CORBA/ValueHandler.java,
17368 javax/rmi/PortableRemoteObject.java:
17369 Cleaned up imports.
17371 2004-04-23 Dalibor Topic <robilad@kaffe.org>
17373 * java/util/jar/JarFile.java,
17374 java/util/jar/JarInputStream.java,
17375 java/util/jar/JarOutputStream.java,
17376 java/util/jar/Manifest.java:
17377 Cleaned up imports.
17379 2004-04-23 Dalibor Topic <robilad@kaffe.org>
17381 * java/util/ArrayList.java,
17382 java/util/Calendar.java,
17383 java/util/Currency.java,
17384 java/util/HashMap.java,
17385 java/util/HashSet.java,
17386 java/util/Hashtable.java,
17387 java/util/LinkedList.java,
17388 java/util/Properties.java,
17389 java/util/PropertyPermission.java,
17390 java/util/TimeZone.java,
17391 java/util/TreeMap.java,
17392 java/util/TreeSet.java,
17393 java/util/Vector.java,
17394 java/util/WeakHashMap.java:
17395 Cleaned up imports.
17397 2004-04-23 Dalibor Topic <robilad@kaffe.org>
17399 * java/util/logging/FileHandler.java,
17400 java/util/logging/Formatter.java,
17401 java/util/logging/Handler.java,
17402 java/util/logging/Logger.java,
17403 java/util/logging/SimpleFormatter.java,
17404 java/util/logging/XMLFormatter.java:
17405 Cleaned up imports.
17407 2004-04-22 Mark Wielaard <mark@klomp.org>
17409 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
17410 -Wno-long-long flags variable.
17411 (gtk_c_files): Use PEDANTIC_CFLAGS.
17412 * Makefile.in: Regenerated.
17414 2004-04-22 Mark Wielaard <mark@klomp.org>
17416 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
17417 Changed C++ comments into C comments.
17418 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
17421 2004-04-22 Michael Koch <konqueror@gmx.de>
17423 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
17424 Merged copyright year with GNU classpath.
17426 2004-04-22 Dalibor Topic <robilad@kaffe.org>
17428 * javax/security/auth/x500/X500Principal.java:
17429 Cleaned up imports.
17431 2004-04-22 Dalibor Topic <robilad@kaffe.org>
17433 * javax/swing/JSlider.java:
17434 Fixed HTML tags in comments.
17436 2004-04-22 Dalibor Topic <robilad@kaffe.org>
17438 * javax/accessibility/AccessibleText.java:
17439 Cleaned up imports.
17441 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
17443 * java/net/URLStreamHandler.java
17444 (parseURL): Convert the file path to using '/' instead of native
17447 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
17449 * java/net/URL.java
17450 (userInfo): New field.
17451 (URL): Set authority to the right value.
17452 (setURL): Fixed authority and file initialization.
17453 * java/net/URLStreamHandler.java
17454 (parseURL): Take care of the query tag. Build authority.
17455 (toExternalForm): Fixed URL building using authority.
17457 2004-04-22 Michael Koch <konqueror@gmx.de>
17459 * java/net/Socket.java
17460 (impl): Made package-private.
17461 * java/net/ServerSocket.java
17462 (implAccept): Access Socket.impl field directly.
17464 2004-04-22 Dalibor Topic <robilad@kaffe.org>
17466 * java/util/prefs/Preferences.java,
17467 java/util/prefs/InvalidPreferencesFormatException.java,
17468 java/util/prefs/BackingStoreException.java,
17469 java/util/prefs/AbstractPreferences.java:
17470 Cleaned up imports.
17472 2004-04-22 Dalibor Topic <robilad@kaffe.org>
17474 * java/util/regex/Matcher.java,
17475 java/util/regex/Pattern.java:
17476 Cleaned up imports.
17478 2004-04-22 Michael Koch <konqueror@gmx.de>
17480 * java/nio/charset/IllegalCharsetNameException.java
17481 (charsetName): Made private.
17482 (IllegalCharsetNameException): Added @param tag to javadoc.
17483 (getCharsetName): Added @return tag to javadoc.
17484 * java/nio/charset/MalformedInputException.java
17485 (MalformedInputException): Added @param tag to javadoc.
17486 (getInputLength): Revised method description, added @return tag.
17487 (getMessage): Added @return tag.
17489 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
17491 * java/awt/Font.java (deriveFont): Implement missing variants.
17492 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
17495 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
17497 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
17498 Set method->index values for interface methods to their itable index.
17499 (initializeClass): Call _Jv_LayoutInterfaceMethods.
17501 2004-04-21 Michael Koch <konqueror@gmx.de>
17503 * java/nio/DirectByteBufferImpl.java
17504 (shiftDown): Made static, give address as argument and
17505 provide a convenience method that overwrites shiftDown in
17506 ByteBufferImpl and calls the native shiftDown.
17507 * java/nio/MappedByteBufferImpl.java
17508 (): Use optimized method in DirectByteBufferImpl.
17509 * java/nio/natDirectByteBufferImpl.cc
17510 (shiftDown): Changed method signature. Removed usage of array_offset.
17512 2004-04-21 Michael Koch <konqueror@gmx.de>
17514 * gnu/java/net/natPlainSocketImplPosix.cc
17515 (SocketInputStream::read): Make sure returned data is a byte value.
17517 2004-04-21 Michael Koch <konqueror@gmx.de>
17519 * gnu/classpath/ServiceFactory.java,
17520 gnu/classpath/ServiceProviderLoadingAction.java,
17521 javax/imageio/ImageReader.java,
17522 javax/imageio/ImageTranscoder.java,
17523 javax/imageio/ImageWriter.java,
17524 javax/imageio/package.html,
17525 javax/imageio/spi/IIOServiceProvider.java,
17526 javax/imageio/spi/ImageInputStreamSpi.java,
17527 javax/imageio/spi/ImageOutputStreamSpi.java,
17528 javax/imageio/spi/ImageReaderWriterSpi.java,
17529 javax/imageio/spi/ImageTranscoderSpi.java,
17530 javax/imageio/spi/RegisterableService.java,
17531 javax/imageio/spi/ServiceRegistry.java,
17532 javax/imageio/spi/package.html,
17533 javax/imageio/stream/IIOByteBuffer.java,
17534 javax/imageio/stream/ImageInputStream.java,
17535 javax/imageio/stream/ImageOutputStream.java,
17536 javax/imageio/stream/package.html:
17539 (ordinary_java_source_files): Added
17540 gnu/classpath/ServiceFactory.java and
17541 gnu/classpath/ServiceProviderLoadingAction.java.
17542 (javax_source_files): Added
17543 javax/imageio/ImageReader.java,
17544 javax/imageio/ImageTranscoder.java,
17545 javax/imageio/ImageWriter.java,
17546 javax/imageio/spi/IIOServiceProvider.java,
17547 javax/imageio/spi/ImageInputStreamSpi.java,
17548 javax/imageio/spi/ImageOutputStreamSpi.java,
17549 javax/imageio/spi/ImageReaderWriterSpi.java,
17550 javax/imageio/spi/ImageTranscoderSpi.java,
17551 javax/imageio/spi/RegisterableService.java,
17552 javax/imageio/spi/ServiceRegistry.java,
17553 javax/imageio/stream/IIOByteBuffer.java,
17554 javax/imageio/stream/ImageInputStream.java and
17555 javax/imageio/stream/ImageOutputStream.java.
17556 * Makefile.in: Regenerated.
17558 2004-04-21 Michael Koch <konqueror@gmx.de>
17560 * java/util/Properties.java
17561 (load): Fix wrongly merged fix.
17563 2004-04-21 Mark Wielaard <mark@klomp.org>
17565 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
17566 malloc and free buf.
17568 2004-04-21 Dalibor Topic <robilad@kaffe.org>
17570 * javax/naming/AuthenticationException.java,
17571 javax/naming/AuthenticationNotSupportedException.java,
17572 javax/naming/CannotProceedException.java,
17573 javax/naming/CommunicationException.java,
17574 javax/naming/CompoundName.java,
17575 javax/naming/ConfigurationException.java,
17576 javax/naming/ContextNotEmptyException.java,
17577 javax/naming/InitialContext.java,
17578 javax/naming/InsufficientResourcesException.java,
17579 javax/naming/InterruptedNamingException.java,
17580 javax/naming/LimitExceededException.java,
17581 javax/naming/LinkException.java,
17582 javax/naming/LinkLoopException.java,
17583 javax/naming/LinkRef.java,
17584 javax/naming/MalformedLinkException.java,
17585 javax/naming/Name.java,
17586 javax/naming/NameAlreadyBoundException.java,
17587 javax/naming/NameNotFoundException.java,
17588 javax/naming/NamingSecurityException.java,
17589 javax/naming/NoInitialContextException.java,
17590 javax/naming/NoPermissionException.java,
17591 javax/naming/NotContextException.java,
17592 javax/naming/PartialResultException.java,
17593 javax/naming/ReferralException.java,
17594 javax/naming/ServiceUnavailableException.java,
17595 javax/naming/SizeLimitExceededException.java,
17596 javax/naming/TimeLimitExceededException.java,
17597 javax/naming/directory/Attribute.java,
17598 javax/naming/directory/Attributes.java,
17599 javax/naming/directory/SearchResult.java,
17600 javax/naming/event/NamingExceptionEvent.java,
17601 javax/naming/spi/ResolveResult.java:
17602 Cleaned up imports.
17604 2004-04-21 Mark Wielaard <mark@klomp.org>
17606 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
17607 Changed C++ comments into C comments. Removed commented out code.
17608 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
17610 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
17612 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
17614 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
17616 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
17618 * native/jni/gtk-peer/gthread-jni.c:
17621 2004-04-21 Mark Wielaard <mark@klomp.org>
17623 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
17624 static fields defined in interface.
17625 * javax/awt/JDialog.java: Likewise.
17626 (JDialog): Make constructors public.
17627 (getDefaultCloseOperation): Make public.
17628 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
17629 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
17630 * javax/swing/JViewport.java (JViewport): Make constructor public.
17632 2004-04-21 Michael Koch <konqueror@gmx.de>
17634 * java/util/Map.java
17635 (Entry): Removed redundant "static" modifier.
17636 * java/text/AttributedCharacterIterator.java:
17637 Updated copyright year.
17639 2004-04-20 Michael Koch <konqueror@gmx.de>
17641 * javax/naming/directory/SearchControls.java:
17642 Don't explicitely extend java.lang.Object.
17643 * javax/naming/spi/DirStateFactory.java:
17644 Merged copyright year with GNU classpath.
17646 2004-04-20 Michael Koch <konqueror@gmx.de>
17648 * java/nio/channels/Channels.java:
17649 Merged coding style with GNU classpath.
17651 2004-04-20 Michael Koch <konqueror@gmx.de>
17653 * java/net/ServerSocket.java
17654 Merged coding style from GNU classpath.
17656 2004-04-20 Michael Koch <konqueror@gmx.de>
17658 * java/io/BufferedWriter.java:
17659 Reordered variables to be at top of the class.
17660 (localFlush): Removed redundant final keyword.
17662 2004-04-20 Ingo Proetel <proetel@aicas.com>
17664 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
17666 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
17668 * java/text/DecimalFormat.java (scanFix): Removed suffix check
17669 for percent and permill check.
17671 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
17673 * java/text/FieldPosition.java
17674 (FieldPosition) Constructor now behaves as it should according
17675 to the java documentation.
17677 2004-04-20 Mark Wielaard <mark@klomp.org>
17679 * java/util/Properties.java: Use the word umlaut, not ä in api
17682 2004-04-20 Michael Koch <konqueror@gmx.de>
17684 * java/nio/Buffer.java,
17685 java/nio/channels/AlreadyConnectedException.java,
17686 java/nio/channels/AsynchronousCloseException.java,
17687 java/nio/channels/ByteChannel.java,
17688 java/nio/channels/CancelledKeyException.java,
17689 java/nio/channels/Channel.java,
17690 java/nio/channels/Channels.java,
17691 java/nio/channels/ClosedByInterruptException.java,
17692 java/nio/channels/ClosedChannelException.java,
17693 java/nio/channels/ClosedSelectorException.java,
17694 java/nio/channels/ConnectionPendingException.java,
17695 java/nio/channels/DatagramChannel.java,
17696 java/nio/channels/FileChannel.java,
17697 java/nio/channels/FileLock.java,
17698 java/nio/channels/FileLockInterruptionException.java,
17699 java/nio/channels/GatheringByteChannel.java,
17700 java/nio/channels/IllegalBlockingModeException.java,
17701 java/nio/channels/IllegalSelectorException.java,
17702 java/nio/channels/InterruptibleChannel.java,
17703 java/nio/channels/NoConnectionPendingException.java,
17704 java/nio/channels/NonReadableChannelException.java,
17705 java/nio/channels/NonWritableChannelException.java,
17706 java/nio/channels/NotYetBoundException.java,
17707 java/nio/channels/NotYetConnectedException.java,
17708 java/nio/channels/OverlappingFileLockException.java,
17709 java/nio/channels/Pipe.java,
17710 java/nio/channels/ReadableByteChannel.java,
17711 java/nio/channels/ScatteringByteChannel.java,
17712 java/nio/channels/SelectableChannel.java,
17713 java/nio/channels/SelectionKey.java,
17714 java/nio/channels/Selector.java,
17715 java/nio/channels/ServerSocketChannel.java,
17716 java/nio/channels/SocketChannel.java,
17717 java/nio/channels/UnresolvedAddressException.java,
17718 java/nio/channels/UnsupportedAddressTypeException.java,
17719 java/nio/channels/WritableByteChannel.java,
17720 java/nio/channels/spi/AbstractInterruptibleChannel.java,
17721 java/nio/channels/spi/AbstractSelectableChannel.java,
17722 java/nio/channels/spi/AbstractSelectionKey.java,
17723 java/nio/channels/spi/AbstractSelector.java,
17724 java/nio/channels/spi/SelectorProvider.java,
17725 java/nio/charset/spi/CharsetProvider.java:
17726 Fixed javadocs and jalopied all over java.nio.
17728 2004-04-20 Michael Koch <konqueror@gmx.de>
17730 * java/nio/ByteBufferImpl.java,
17731 java/nio/CharBufferImpl.java,
17732 java/nio/DirectByteBufferImpl.java,
17733 java/nio/DoubleBufferImpl.java,
17734 java/nio/DoubleViewBufferImpl.java,
17735 java/nio/FloatBufferImpl.java,
17736 java/nio/FloatViewBufferImpl.java,
17737 java/nio/IntBufferImpl.java,
17738 java/nio/IntViewBufferImpl.java,
17739 java/nio/LongBufferImpl.java,
17740 java/nio/LongViewBufferImpl.java,
17741 java/nio/MappedByteBufferImpl.java,
17742 java/nio/ShortBufferImpl.java,
17743 java/nio/ShortViewBufferImpl.java:
17744 Made sure all classes are final and removed final keyword from all
17747 2004-04-20 Michael Koch <konqueror@gmx.de>
17749 * java/rmi/MarshalledObject.java,
17750 java/rmi/Naming.java,
17751 java/rmi/RemoteException.java,
17752 java/rmi/activation/ActivationException.java,
17753 java/rmi/server/ServerCloneException.java,
17754 java/security/AccessController.java,
17755 java/security/AlgorithmParameterGenerator.java,
17756 java/security/AlgorithmParameters.java,
17757 java/security/CodeSource.java,
17758 java/security/Identity.java,
17759 java/security/IdentityScope.java,
17760 java/security/KeyPairGenerator.java,
17761 java/security/KeyStore.java,
17762 java/security/Security.java,
17763 java/security/Signature.java,
17764 java/security/SignatureSpi.java,
17765 java/security/SignedObject.java,
17766 java/security/spec/DSAParameterSpec.java,
17767 java/security/spec/DSAPrivateKeySpec.java,
17768 java/security/spec/DSAPublicKeySpec.java,
17769 java/sql/Array.java,
17770 java/sql/DatabaseMetaData.java,
17771 java/sql/ResultSet.java,
17772 java/text/ChoiceFormat.java,
17773 java/text/CollationElementIterator.java,
17774 java/text/CollationKey.java,
17775 java/text/Collator.java,
17776 java/text/DateFormat.java,
17777 java/text/DateFormatSymbols.java,
17778 java/text/DecimalFormatSymbols.java,
17779 java/text/Format.java,
17780 java/text/ParsePosition.java,
17781 java/text/RuleBasedCollator.java,
17782 java/text/SimpleDateFormat.java,
17783 java/text/StringCharacterIterator.java,
17784 java/util/Collections.java,
17785 java/util/PropertyResourceBundle.java,
17786 java/util/ResourceBundle.java,
17787 java/util/StringTokenizer.java,
17788 java/util/jar/Attributes.java,
17789 java/util/logging/ConsoleHandler.java,
17790 java/util/logging/LogManager.java,
17791 java/util/logging/MemoryHandler.java,
17792 java/util/logging/SocketHandler.java,
17793 javax/naming/NamingException.java:
17794 Fixed javadoc, coding style and argument names all over.
17796 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
17798 * java/io/FileDescriptor.java: (FileDescriptor) Added public
17799 constructor. (valid) Added null check.
17801 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
17803 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
17804 * java/io/FileOutputStream.java
17805 (FileOutputStream) Reorganized constructors. Constructors now
17806 check whether the given path is directory.
17808 2004-04-20 Michael Koch <konqueror@gmx.de>
17810 * java/net/Authenticator.java,
17811 java/net/BindException.java,
17812 java/net/ConnectException.java,
17813 java/net/ContentHandler.java,
17814 java/net/ContentHandlerFactory.java,
17815 java/net/DatagramPacket.java,
17816 java/net/DatagramSocket.java,
17817 java/net/DatagramSocketImpl.java,
17818 java/net/DatagramSocketImplFactory.java,
17819 java/net/FileNameMap.java,
17820 java/net/HttpURLConnection.java,
17821 java/net/Inet4Address.java,
17822 java/net/Inet6Address.java,
17823 java/net/InetAddress.java,
17824 java/net/InetSocketAddress.java,
17825 java/net/JarURLConnection.java,
17826 java/net/MalformedURLException.java,
17827 java/net/MulticastSocket.java,
17828 java/net/NetPermission.java,
17829 java/net/NetworkInterface.java,
17830 java/net/NoRouteToHostException.java,
17831 java/net/PasswordAuthentication.java,
17832 java/net/PortUnreachableException.java,
17833 java/net/ProtocolException.java,
17834 java/net/ServerSocket.java,
17835 java/net/Socket.java,
17836 java/net/SocketAddress.java,
17837 java/net/SocketException.java,
17838 java/net/SocketImpl.java,
17839 java/net/SocketImplFactory.java,
17840 java/net/SocketOptions.java,
17841 java/net/SocketPermission.java,
17842 java/net/SocketTimeoutException.java,
17844 java/net/URISyntaxException.java,
17846 java/net/URLClassLoader.java,
17847 java/net/URLConnection.java,
17848 java/net/URLDecoder.java,
17849 java/net/URLEncoder.java,
17850 java/net/URLStreamHandler.java,
17851 java/net/URLStreamHandlerFactory.java,
17852 java/net/UnknownHostException.java,
17853 java/net/UnknownServiceException.java:
17854 Fixed javadocs, coding style and argument names all over.
17856 2004-04-20 Michael Koch <konqueror@gmx.de>
17858 * java/lang/Byte.java,
17859 java/lang/CharSequence.java,
17860 java/lang/ClassLoader.java,
17861 java/lang/Compiler.java,
17862 java/lang/Double.java,
17863 java/lang/Float.java,
17864 java/lang/Integer.java,
17865 java/lang/Long.java,
17866 java/lang/Math.java,
17867 java/lang/Number.java,
17868 java/lang/Package.java,
17869 java/lang/Runtime.java,
17870 java/lang/RuntimePermission.java,
17871 java/lang/SecurityManager.java,
17872 java/lang/Short.java,
17873 java/lang/StringBuffer.java,
17874 java/lang/System.java,
17875 java/lang/ThreadGroup.java,
17876 java/lang/Throwable.java,
17877 java/lang/reflect/InvocationHandler.java,
17878 java/lang/reflect/Proxy.java:
17879 Fixed javadocs, coding style and argument names all over.
17881 2004-04-20 Michael Koch <konqueror@gmx.de>
17883 * java/io/BufferedWriter.java,
17884 java/io/ByteArrayInputStream.java,
17885 java/io/CharArrayWriter.java,
17886 java/io/DataInput.java,
17887 java/io/DataInputStream.java,
17889 java/io/FilterInputStream.java,
17890 java/io/InputStream.java,
17891 java/io/InputStreamReader.java,
17892 java/io/ObjectInputStream.java,
17893 java/io/ObjectStreamClass.java,
17894 java/io/PipedInputStream.java,
17895 java/io/PipedReader.java,
17896 java/io/PushbackInputStream.java,
17897 java/io/PushbackReader.java,
17898 java/io/RandomAccessFile.java,
17899 java/io/SerializablePermission.java,
17900 java/io/StreamTokenizer.java,
17901 java/io/StringWriter.java,
17902 java/io/WriteAbortedException.java,
17903 java/io/Writer.java:
17904 Fixed javadocs all over, rename arguments to match javadocs,
17905 fixed coding style.
17907 2004-04-20 Ingo Proetel <proetel@aicas.com>
17909 * java/awt/FontMetrics.java:
17910 (charsWidth): fixed accumulation of total_width
17911 (getWidth): simple default implementation
17912 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
17913 in Rectangle constructor.
17914 * java/awt/image/Raster.java (toString): Added method.
17915 * java/awt/image/SampleModel.java (<init>): Added error cause
17916 information to thrown exception.
17917 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
17919 (setDataElements): New method.
17920 (setPixels): New method.
17921 (toString): New method.
17923 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
17925 * java/awt/image/ComponentColorModel.java
17926 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
17927 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
17928 Mauve tests on this method. Improved documentation.
17930 2004-04-20 Michael Koch <konqueror@gmx.de>
17932 * javax/swing/JLayeredPane.java,
17933 javax/swing/plaf/BorderUIResource.java,
17934 javax/swing/plaf/ComponentUI.java,
17935 javax/swing/undo/CompoundEdit.java,
17936 javax/swing/undo/StateEdit.java:
17937 Fixed HTML tags in javadocs all over.
17939 2004-04-20 Michael Koch <konqueror@gmx.de>
17941 * javax/print/attribute/EnumSyntax.java
17942 (getOffset): Made protected.
17943 * javax/print/attribute/HashAttributeSet.java
17944 (HashAttributeSet): Likewise.
17945 * javax/print/attribute/ResolutionSyntax.java
17946 (getFeedResolution): Fixed typo in exception name.
17947 (getCrossFeedResolution): Likewise.
17948 * javax/print/attribute/SetOfIntegerSyntax.java
17949 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
17950 * javax/print/attribute/TextSyntax.java
17951 (TextSyntax): Handle locale correctly.
17952 (hashCode): Calc better hashcode value.
17953 (equals): Fixed @return tag.
17954 (toString): New method.
17956 2004-04-20 Michael Koch <konqueror@gmx.de>
17958 * gnu/java/nio/FileLockImpl.java
17959 (static): Removed, not needed anymore.
17960 * gnu/java/nio/channels/FileChannelImpl.java
17961 (FileChannelImpl): Made final.
17962 (mode): Made private.
17963 (READ, WRITE, APPEND): Made public.
17964 (EXCL, SYNC, DSYNC): Likewise.
17965 (static): Load native JNI library, when needed.
17966 (length): Unused, removed.
17967 (available): Made public.
17968 (implPosition): Throws IOException.
17970 (implTruncate): Likewise.
17971 (unlock): Likewise.
17974 2004-04-20 Michael Koch <konqueror@gmx.de>
17976 * java/awt/AWTPermission.java,
17977 java/awt/Component.java,
17978 java/awt/ComponentOrientation.java,,
17979 java/awt/Dialog.java,
17980 java/awt/FontMetrics.java,
17981 java/awt/Graphics.java,
17982 java/awt/datatransfer/DataFlavor.java,
17983 java/beans/Introspector.java,
17984 java/beans/PropertyEditor.java,
17985 java/beans/PropertyEditorManager.java,
17986 java/beans/beancontext/BeanContextServiceProvider.java:
17987 Fixed HTML tags in javadocs all over.
17989 2004-04-20 Mark Wielaard <mark@klomp.org>
17991 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
17992 MissingResourceException is thrown.
17993 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
17994 null when a MissingResourceException is thrown. Should never happen.
17996 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
17998 * java/awt/image/DataBufferShort.java,
17999 java/awt/image/DataBufferFloat.java,
18000 java/awt/image/DataBufferDouble.java,
18001 java/awt/image/PixelInterleavedSampleModel.java: New files.
18002 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
18003 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
18005 2004-04-20 Michael Koch <konqueror@gmx.de>
18007 * Makefile.am (java_source_files): Added
18008 java/awt/image/DataBufferDouble.java,
18009 java/awt/image/DataBufferFloat.java,
18010 java/awt/image/DataBufferShort.java and
18011 java/awt/image/PixelInterleavedSampleModel.java.
18012 * Makefile.in: Regenerated.
18014 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
18016 * gcj/cni.h (JvAllocObject): Remove these obsolete,
18017 undocumented CNI calls.
18018 * include/java-interp.h (_Jv_InterpClass): No longer
18019 extends java.lang.Class.
18020 * java/lang/Class.h (Class): Add new field `aux_info'.
18021 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
18022 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
18023 Use Class->aux_info instead.
18024 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
18025 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
18026 Use Class->aux_info instead.
18027 * java/io/natObjectInputStream.cc (allocateObject): Use
18029 * java/lang/natClass.cc (newInstance): Likewise.
18030 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
18031 * java/lang/natObject.cc (clone): Likewise.
18032 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
18033 * java/lang/natVMClassLoader.cc (defineClass): Don't use
18034 JvAllocObject. Allocate klass->aux_info here for interpreted
18037 2004-04-17 Mark Wielaard <mark@klomp.org>
18039 * javax/swing/JToggleButton.java (ToggleButtonModel):
18040 Make public static inner class.
18041 * javax/swing/JTabbedPane.java (setComponentAt):
18042 Call Page.setComponent().
18043 (SCROLL_TAB_LAYOUT): Make public, value is 1.
18044 (WRAP_TAB_LAYOUT): Make public, value is 0.
18045 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
18046 Make private static inner class.
18048 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
18050 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
18051 arguments to match new signature. Remove FIXME comments.
18053 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
18055 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
18057 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
18060 2004-04-02 Olga Rodimina <rodimina@redhat.com>
18062 * Makefile.am: Added new file.
18063 * Makefile.in: Regenerate.
18064 * javax/swing/ImageIcon.java:
18065 (ImageIcon(file)): set description of the icon
18067 * javax/swing/JCheckBoxMenuItem.java:
18068 Mostly Implemented. Work in progress.
18069 * javax/swing/JRadioButtonMenuItem.java:
18070 Reimplement constructors to use JToggleButtonModel.
18071 * javax/swing/plaf/basic/BasicIconFactory.java:
18072 (getCheckBoxMenuItemIcon): return check box
18074 * javax/swing/plaf/basic/BasicMenuItemUI.java:
18075 paint menu item selected only when it is armed and
18078 2004-04-02 David Jee <djee@redhat.com>
18080 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
18081 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
18082 * java/awt/Component.java
18083 (add): Set the parent of the popup as this component.
18084 * java/awt/PopupMenu.java
18085 (addNotify): Create popup menu when peer is null.
18086 (show): Call addNotify() if peer is null.
18087 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
18088 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
18089 argument for gtk_menu_popup() as zero. This causes the popup menu to
18090 respond to any mouse button.
18092 2004-03-31 Olga Rodimina <rodimina@redhat.com>
18094 * Makefile.am: Added new file.
18095 * Makefile.in: Regenerate.
18096 * javax/swing/JRadioButtonMenuItem.java:
18098 * javax/swing/plaf/basic/BasicIconFactory.java:
18099 (getRadioButtonMenuItemIcon): Return
18101 * javax/swing/plaf/basic/BasicMenuItemUI.java:
18102 (getPreferredSize): Add size of checkIcon if it
18104 (installDefaults): Don't initialize checkIcon.
18105 It's value will be set in subclasses.
18106 (uninstallDefaults): remove uninstallation of
18108 (paint): Moved code to paintMenuItem().
18109 (paintMenuItem): Implemented.
18110 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
18111 UI delegate for JRadioButtonMenuItem.
18113 2004-03-29 Olga Rodimina <rodimina@redhat.com>
18115 * javax/swing/plaf/basic/BasicMenuItemUI.java:
18116 Corrected position of the accelerator.
18118 2004-03-29 Olga Rodimina <rodimina@redhat.com>
18120 * Makefile.am: Added new file.
18121 * Makefile.in: Regenerate.
18122 * javax/swing/JMenuItem.java: Partly
18123 implemented. Work in progress
18124 * javax/swing/plaf/basic/BasicLookAndFeel.java:
18125 Changed default value of acceleratorDelimiter.
18126 * javax/swing/plaf/basic/BasicMenuItemUI.java:
18127 New class. Partly implemented.
18129 2004-03-26 Mark Wielaard <mark@klomp.org>
18131 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
18132 (item_activate): Declare label before use.
18133 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18134 (gtkSetFont): Removed unused variable label.
18135 (addExposeFilter): Declare variables before use.
18136 (removeExposeFilter): Likewise.
18137 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
18138 (ok_clicked): Declare str_fileName before use.
18140 2004-03-26 David Jee <djee@redhat.com>
18142 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
18143 (addSeparator): Remove.
18144 * java/awt/Menu.java
18145 (separator): Remove static final MenuItem field.
18146 (separatorLabel): New static final String field.
18147 (addSeparator): Do not use peer method; use add(MenuItem) instead.
18148 Use separatorLabel to denote that it is a separator.
18149 (insertSeparator): Create a new MenuItem with separatorLabel, instead
18150 of reusing the static separator instance, because a MenuItem instance
18151 can't be added more than once without being cloned.
18152 * java/awt/peer/MenuPeer.java
18153 (addSeparator): Remove from interface.
18155 2004-03-26 David Jee <djee@redhat.com>
18157 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
18158 (connectSignals): New native method declaration.
18159 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
18160 * java/awt/MenuItem.java
18161 (getActionCommand): Return the label if the action command is not set.
18162 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
18163 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
18164 gtk_menu_shell_append().
18165 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
18166 (item_activate): Fix argument type.
18167 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
18169 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
18171 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
18172 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
18173 given. Add the menu widget's top-level GtkWindow to the global window
18174 group, so it can grab the pointer.
18175 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
18176 gtk_menu_shell_append().
18178 2004-03-23 Graydon Hoare <graydon@redhat.com>
18180 * java/text/AttributedString.java
18181 (addAttribute): Fix off-by-one.
18182 (getIterator): Likewise.
18183 * java/text/AttributedStringIterator.java
18184 (getRunLimit): Correct logic.
18185 (getRunStart): Likewise.
18186 (getAttribute): Fix inequality.
18187 (getAttributes): Likewise.
18188 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
18190 2004-03-23 Kim Ho <kho@redhat.com>
18192 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
18193 (calculateSizes): Return real width and height.
18195 2004-03-23 Kim Ho <kho@redhat.com>
18197 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
18198 (calculateTabRects): Set the selectedRun before
18199 trying to rotate tabs.
18201 2004-03-23 Kim Ho <kho@redhat.com>
18203 * Makefile.am: New file
18204 * Makefile.in: Regenerate
18205 * java/awt/Graphics.java: (drawRect):
18206 Draw to the correct point.
18207 * javax/swing/DefaultSingleSelectionModel.java
18208 (isSelected): Return true if the selected index
18210 * javax/swing/JLabel.java: Do not change mnemonic
18211 index if text is null.
18212 * javax/swing/JProgressBar.java: Use JComponent's
18214 * javax/swing/JScrollBar.java: Ditto.
18215 * javax/swing/JSlider.java: Ditto.
18216 * javax/swing/JTabbedPane.java: Reimplement.
18217 * javax/swing/plaf/basic/BasicLookAndFeel.java:
18218 Add defaults for TabbedPane.
18219 * javax/swing/plaf/basic/BasicArrowButton.java:
18221 * javax/swing/plaf/basic/BasicProgressBarUI.java:
18222 (paintDeterminate): Don't paint String if it's
18224 (paintIndeterminate): ditto.
18225 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
18228 2004-03-19 Michael Koch <konqueror@gmx.de>
18230 * java/awt/image/AffineTransformOp.java
18231 (AffineTransformOp): Made public.
18232 * javax/swing/JComponent.java
18233 (listenerList): Made protected.
18234 (accessibleContext): Likewise.
18235 * javax/swing/JList.java
18236 (valueChanged): Dont use internal fields of ListSelectionEvent.
18237 * javax/swing/JViewport.java
18238 (getView): Dont use internal fields of Component.
18239 (addImpl): Likewise.
18240 * javax/swing/Timer.java
18241 (isRunning): Made public.
18244 * javax/swing/UIDefaults.java
18245 (getInt): Made public.
18246 * javax/swing/plaf/basic/BasicListUI.java
18247 (mousePressed): Dont use internal fields of MouseEvent.
18248 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
18249 * javax/swing/plaf/basic/BasicScrollBarUI.java
18250 (arrowIcon): Made static.
18251 * javax/swing/plaf/basic/BasicViewportUI.java
18252 (stateChanged): Dont use internal field on ChangeEvent.
18253 * javax/swing/text/JTextComponent.java
18254 (getUI): Call UIManager.getUI().
18255 (updateUI): Use getUI().
18257 2004-03-19 Graydon Hoare <graydon@redhat.com>
18259 * javax/swing/JComponent.java: Turn off double buffer by default.
18260 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
18261 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18262 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
18263 Use cairo to copy areas.
18264 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
18265 Initialize and set clip region.
18267 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
18269 * java/applet/Applet.java (preferredSize): Override deprecated
18270 variant of getPreferredSize.
18271 (minimumSize): Override deprecated variant of getMinimumSize.
18273 2004-03-15 Olga Rodimina <rodimina@redhat.com>
18275 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18276 (drawImage(img,xform,bgcolor,obs)): New Method.
18277 Helper function that every drawImage method will
18279 (drawRaster): Added new parameter, bgcolor. All
18280 transparent pixels are changed to bgcolor before
18282 (drawRenderedImage): Fixed to use changed drawRaster().
18283 (drawImage(image,xform,obs): Fixed to use new helper function
18284 (drawImage(image,op,x,y)): Ditto.
18285 (drawImage (img,x,y,observer)): Ditto.
18286 ((PainterThread) bgcolor): New Field.
18287 ((PainterThread) (setPixels)): Changed all transparent pixels
18289 (drawImage(img,x,y,width,height,bgcolor,observer)):
18290 Fixed FIXME - all the transparent pixels are
18291 changed to the specified bgcolor.
18292 (drawImage(img, x, y, width, height, observer): Changed to
18293 use function above.
18294 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
18295 Fixed FIXME- changed all transparent pixels to bgcolor.
18296 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
18297 Changed to use function above.
18299 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
18301 * java/applet/Applet.java (dimensions): New field.
18302 (getDimensions): New method.
18303 (getPreferredSize): Call getDimensions.
18304 (getMinimumSize): Likewise.
18306 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
18308 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
18309 * jni/classpath/jnilink.c: Likewise.
18311 * java/applet/Applet.java (getPreferredSize): New method.
18312 (getMinimumSize): New method.
18314 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
18316 * prims.cc (_Jv_AllocObject): Remove `size' argument.
18317 (_Jv_AllocObjectNoFinalizer): Likewise.
18318 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
18319 (_Jv_AllocPtrFreeObject): Likewise.
18320 (_Jv_AllocString): Moved from natString.cc. Call collector interface
18321 directly even in the JVMPI case.
18322 * gcj/cni.h (JvAllocObject): Remove `size' argument from
18323 _Jv_AllocObject calls.
18324 * gcj/javaprims.h: Update prototypes.
18325 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
18326 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
18327 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
18329 2004-04-14 Andrew Haley <aph@redhat.com>
18330 Bryce McKinlay <mckinlay@redhat.com>
18332 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
18333 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
18334 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
18336 * testsuite/libjava.lang/InvokeInterface.java: New file.
18337 * testsuite/libjava.lang/InvokeInterface.out: New file.
18339 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
18341 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
18343 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
18344 StackTraceElement directly.
18345 (newElement): New native helper method to create StackTraceElement
18346 bypassing Java access control.
18347 (createStackTraceElement): Use newElement() instead of directly
18348 calling StackTraceElement's constructor.
18349 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
18351 2004-04-01 Michael Koch <konqueror@gmx.de>
18353 * java/lang/SecurityManager.java
18354 (checkAwtEventQueueAccess): Implemented.
18356 2004-04-01 Gary Benson <gbenson@redhat.com>
18358 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
18359 (_Jv_SearchMethodInClass): Likewise.
18361 2004-03-26 Peter Moon <peterm@miraculum.com>
18363 * java/text/NumberFormat.java: Fix spelling of setCurrency
18366 2004-03-21 Anthony Green <green@redhat.com>
18368 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
18369 recursion when searching for the system ClassLoader.
18371 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
18373 * java/net/ServerSocket.java
18374 (accept): Close the socket when error occured.
18376 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
18378 * java/net/URI.java (parseURI): Added unquoting.
18379 (unquote): New method.
18380 (quoteAuthority): Implemented.
18381 (quote(String,String)): New method.
18382 (quotePath): Implemented.
18383 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
18384 (getSchemeSpecificPart): Removed FIXME comment.
18385 (getRawAuthority): Return new rawAuthority field.
18386 (getAuthority): Removed FIXME comment.
18387 (getRawUserInfo): Return new rawUserInfo field.
18388 (getUserInfo): Removed FIXME comment.
18389 (getRawPath): Return new rawPath field.
18390 (getPath): Removed FIXME comment.
18391 (getRawQuery): Return new rawQuery field.
18392 (getQuery): Removed FIXME comment.
18393 (getRawFragment): Return new rawFragment field.
18394 (getFragment): Removed FIXME comment.
18396 2004-03-20 Michael Koch <konqueror@gmx.de>
18398 * java/net/URLConnection.java: Merged copyright year with classpath.
18400 2004-03-20 Norbert Frese <postfach@nfrese.net>
18402 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
18403 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
18404 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
18406 (getObjectInputStream): Return object reference, throw IOException if null.
18407 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
18408 (getObjectOutputStream): Return object reference, throw IOException if null.
18409 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
18410 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
18411 (UnicastConnectionManager): Throw RemoteException if port is not available.
18412 (getInstance): Throw RemoteException.
18413 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
18414 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
18415 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
18416 Collect Exceptions which are returned by a rmi-call and fix void returns.
18417 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
18418 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
18419 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
18420 (dispatch): Answer ping messages which are sent by other java implementions.
18421 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
18422 for every rmi-message and fix void return problems.
18423 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
18424 (UnicastServerRef): Throw RemoteException.
18425 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
18426 In some situations it is necessary to export a subclass of the class which has the _Stub.
18427 For instance when the class with has the _Stub is abstract.
18428 (findStubSkelClass): New method which looks for the class which has the _Stub.
18429 (getClientHost): Implementated.
18430 * gcc/libjava/java/rmi/server/RemoteServer.java
18431 (getClientHost): Implementated.
18432 * gcc/libjava/Makefile.am (rmi_java_source_files):
18433 Added gnu/java/rmi/server/RMIIncomingThread.java.
18434 * Makefile.in: Regenerated.
18436 2004-03-20 Michael Koch <konqueror@gmx.de>
18438 * java/net/InetAddress.java
18439 (getLocalHostname): Added javadoc.
18441 2004-03-19 Per Bothner <per@bothner.com>
18443 * configure.in: FILE variable overrides FLATFORM when linking
18444 natFileChannelXXX.cc.
18446 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
18447 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
18449 2004-03-19 Per Bothner <per@bothner.com>
18451 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
18452 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
18453 * Makefile.am: Update accordingly.
18454 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
18455 as aliases for UnicodeLittle and UnicodeBig.
18457 2004-03-20 Mark Wielaard <mark@klomp.org>
18459 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
18460 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
18461 Don't access ws when it is null.
18462 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
18465 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
18467 * java/lang/ThreadGroup.java (list): Changed print to println.
18469 2004-03-19 Mark Wielaard <mark@klomp.org>
18471 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
18474 2004-02-10 Randolph Chung <tausq@debian.org>
18476 * configure.in: Build java for hppa target.
18477 * configure: Regenerate.
18478 * libjava/configure.host (hppa-*): Add target.
18479 * libjava/sysdeps/pa/lock.h: New file.
18481 2004-03-19 Mark Wielaard <mark@klomp.org>
18483 Reported by Stephen Crawley
18484 * java/io/FilePermission.java (implies): Use String.length() -1 to
18485 access last char of String.
18487 2004-03-19 Michael Koch <konqueror@gmx.de>
18489 * java/awt/image/AffineTransformOp.java
18490 (AffineTransformOp): Made public.
18491 * javax/swing/JComponent.java
18492 (listenerList): Made protected.
18493 (accessibleContext): Likewise.
18494 * javax/swing/JList.java
18495 (valueChanged): Dont use internal fields of ListSelectionEvent.
18496 * javax/swing/JViewport.java
18497 (getView): Dont use internal fields of Component.
18498 (addImpl): Likewise.
18499 * javax/swing/Timer.java
18500 (isRunning): Made public.
18503 * javax/swing/UIDefaults.java
18504 (getInt): Made public.
18505 * javax/swing/plaf/basic/BasicListUI.java
18506 (mousePressed): Dont use internal fields of MouseEvent.
18507 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
18508 * javax/swing/plaf/basic/BasicScrollBarUI.java
18509 (arrowIcon): Made static.
18510 * javax/swing/plaf/basic/BasicViewportUI.java
18511 (stateChanged): Dont use internal field on ChangeEvent.
18512 * javax/swing/text/JTextComponent.java
18513 (getUI): Call UIManager.getUI().
18514 (updateUI): Use getUI().
18516 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
18518 * verify.cc: Undef PC.
18520 2004-03-18 Michael Koch <konqueror@gmx.de>
18522 * java/nio/channels/spi/AbstractSelectableChannel.java
18523 (keys): Initialize at declaration.
18524 (locate): keys cant be null.
18526 (addSelectionKey): New method.
18527 (removeSelectionKey): New method.
18528 * java/nio/channels/spi/AbstractSelectionKey.java
18529 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
18530 * java/nio/channels/spi/AbstractSelector.java
18531 (provider): Javadoc added.
18532 (cancelledKeys): Javadoc added.
18533 (cancelKey): Javadoc added, add key to cancelledKeys.
18534 (deregister): Implemented.
18536 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
18538 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
18539 MAP_FAILED to void *.
18541 2004-03-12 Graydon Hoare <graydon@redhat.com>
18543 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
18544 * javax/swing/JComponent.java (paint): Use persistent double buffer.
18545 * javax/swing/JList.java (ListListener): Revalidate on changes.
18546 * javax/swing/JScrollPane.java: Reimplement.
18547 * javax/swing/JViewport.java: Reimplement.
18548 * javax/swing/ScrollPaneLayout.java: Reimplement.
18549 * javax/swing/ViewportLayout.java: Tidy up.
18550 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
18551 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
18552 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
18553 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
18554 backing store only.
18556 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
18558 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
18559 (window_wm_protocols_filter): New function.
18560 (window_focus_in_cb): Remove function.
18561 (window_focus_out_cb): Likewise.
18562 (window_focus_or_active_state_change_cb): New function.
18563 (create): Add filter that removes WM_TAKE_FOCUS client messages.
18564 (connectSignals): Don't attach handlers to focus-in-event or
18565 focus-out-event signals. Handle notify signal.
18567 2004-03-11 David Jee <djee@redhat.com>
18569 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
18570 (gtkSetLabel): New native method declaration.
18571 (setLabel): Use gtkSetLabel.
18572 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
18573 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
18575 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
18577 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
18578 black when color argument is null.
18580 2004-03-10 Kim Ho <kho@redhat.com>
18582 * java/awt/Container.java: Remove check
18585 2004-03-10 Kim Ho <kho@redhat.com>
18587 * java/awt/Container.java: (visitChild):
18588 Remove candidate clip. Use the component
18590 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
18591 (handleEvent): Use the PaintEvent's clip.
18593 2004-03-10 Kim Ho <kho@redhat.com>
18595 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
18596 (handleEvent): Don't set the clip for the
18599 2004-03-09 Graydon Hoare <graydon@redhat.com>
18601 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
18602 Fix double <-> fixed macros, reset font transform.
18603 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
18606 2004-03-09Â Kim Ho <kho@redhat.com>
18608 * java/awt/Container.java: (visitChild): Move
18609 the x and y coordinate of the component rectangle
18610 to correct position.
18611 (handleEvent): Forward drag events to the pressed
18613 * javax/swing/plaf/basic/BasicScrollBarUI.java:
18615 (ArrowButtonListener::mousePressed): Stop the
18617 (mouseDragged): Implement.
18618 (TrackListener::mousePressed): Only react if
18619 the press doesn't occur on the thumb, otherwise
18620 just set the offset.
18621 (TrackListener::mouseReleased): Unset the isAdjusting
18623 (createIncreaseIcon): Switch icon.
18624 (createDecreaseIcon): Switch icon.
18625 (calculatePreferredSize): Use width.
18626 (getThumbBounds): Use the top as the lower value.
18627 (layoutVScrollBar): Switch the button locations.
18628 (paintIncreaseHighlight): Paint correct side of thumb.
18629 (paintDecreaseHighlight): ditto.
18630 (valueForYPosition): Use top as the lower value.
18631 * javax/swing/plaf/basic/BasicSliderUI.java:
18633 (mouseDragged): Implement.
18634 (mousePressed): Only react when the thumb isn't
18635 pressed, otherwise just set offset.
18636 (mouseReleased): Handle a release of the thumb.
18637 (scrollDueToClickInTrack): Stop the timer first.
18638 * javax/swing/JProgressBar.java:
18639 (setString): Fix change condition.
18640 * javax/swing/JSeparator.java:
18643 2004-03-08 David Jee <djee@redhat.com>
18645 * java/awt/image/AffineTransformOp.java:
18646 (filter): Use Graphics2D interface instead of directly using the
18647 GdkGraphics2D peer.
18649 2004-03-05 David Jee <djee@redhat.com>
18651 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
18652 (handleEvent): Action events are generated upon MOUSE_RELEASED.
18653 * java/awt/Container.java
18654 (acquireComponentForMouseEvent): Fixed.
18655 (handleEvent): Fixed.
18656 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
18657 (state_to_awt_mods_with_button_states): New method.
18658 (pre_event_handler): Fixed mouse event generation.
18660 2004-03-05 Olga Rodimina <rodimina@redhat.com>
18662 gnu/java/awt/peer/gtk/GdkGraphics2D.java
18663 (GdkGraphics2D (BufferedImage)): Initialize
18664 pixmap associated with specified BufferedImage.
18665 (setPaint): Changed implementation of Texture
18666 Paint to use AffineTransformOp.
18667 * java/awt/image/AffineTransformOp.java
18668 (createCompatibleDestRaster): Throw RasterFormatException
18669 if resulting width or height of raster is 0.
18671 2004-03-04 Olga Rodimina <rodimina@redhat.com>
18673 * java/awt/image/AffineTransformOp.java:
18674 Removed unnecessary field interpolationType.
18675 Formatted some of the lines to be consistent with
18677 (AffineTransformOp): Create new RenderingHints
18678 containing specified interpolation type.
18679 (createCompatibleDestImage): Implemented.
18680 (createCompatibleDestRaster): Implemented.
18681 (filter): Implemented.
18682 (getBounds2D(BufferedImage)): Implemented.
18683 (getBounds2D(Raster)): Implemented.
18684 (getInterpolationType): Get interpolation value from
18687 2004-03-04 David Jee <djee@redhat.com>
18689 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
18690 (setFont): Check if child peers are null.
18692 2004-03-04 Graydon Hoare <graydon@redhat.com>
18694 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
18695 .libs in -L option.
18696 (libjava_arguments): Add new libraries to argument list.
18698 2004-03-02 Olga Rodimina <rodimina@redhat.com>
18700 * Makefile.am: Added java/awt/image/AffineTransformOp.java
18701 * Makefile.in: Re-generated.
18702 * java/awt/image/AffineTransformOp.java: New Class.
18704 2004-03-01 Olga Rodimina <rodimina@redhat.com>
18706 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18707 (setPaint): Interpret correctly TexturePaint's
18709 (drawImage): Fixed scale factors of the affine
18712 2004-02-27 David Jee <djee@redhat.com>
18714 * gnu/java/awt/peer/gtk/GdkGraphics.java
18715 (GdkGraphics(Component)): Inherit font from component.
18716 (drawString): Use font style.
18717 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
18718 (gtkSetFont): New native method declaration.
18719 (setFont): New method.
18720 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18721 (gtkSetFont): New native method declaration.
18722 (setFont): Call new native method gtkSetFont.
18723 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
18724 (setFont): For all child components who do not their fonts set,
18725 set their peers' fonts with this container's font.
18726 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
18727 Move all native method declarations to the top for readability.
18728 (gtkSetFont): New native method declaration.
18729 (setFont): New method.
18730 * java/awt/Component.java
18731 (setFont): Invalidate after setting the font.
18732 * java/awt/Container.java
18733 (invalidateTree): New method.
18734 (setFont): Invalidate the container tree after setting the font.
18735 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
18736 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
18737 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
18738 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
18739 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18740 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
18741 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
18742 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
18744 2004-02-27 Olga Rodimina <rodimina@redhat.com>
18746 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18747 (updateBufferedImage): New helper function.
18748 Updates BufferedImage in memory if it was changed.
18749 (draw): changed to update BufferedImage in memory after
18750 this drawing operation
18752 (draw3DRect): Ditto.
18753 (fill3DRect): Ditto.
18754 (clearRect): Ditto.
18755 (drawRaster): Ditto.
18756 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
18757 no affine transformation.
18758 (drawGlyphVector): Ditto.
18760 2004-02-26 Olga Rodimina <rodimina@redhat.com>
18762 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18763 (isBufferedImageGraphics): New Helper function.
18764 Returns true if this graphics2d can be used to draw
18765 into buffered image and false otherwise.
18766 (updateImagePixels): New Helper function.
18767 Updates pixels in the BufferedImage.
18768 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18769 (getImagePixels): New function. Returns pixels
18770 of the buffered image associated with
18773 2004-02-26 David Jee <djee@redhat.com>
18775 * java/awt/BorderLayout.java
18776 (layoutContainer): Fix width and height calculations to ensure
18777 that they're non-negative.
18778 * java/awt/Component.java
18779 (setBackground): If c is null, inherit from closest ancestor whose
18780 background color is set.
18782 2004-02-26 Kim Ho <kho@redhat.com>
18784 * Makefile.am: Add new files.
18785 * Makefile.in: Re-generate.
18786 * javax/swing/JProgressBar.java:
18787 (JProgressBar(int, int int)): Throw
18788 IllegalArgumentException if orientation is
18790 (JProgressBar(BoundedRangeModel)): Create
18791 ChangeListener and register it. UpdateUI.
18792 (getChangeListeners): Implement.
18793 (setModel): Reset ChangeListener.
18794 * javax/swing/JScrollBar.java: Implement.
18795 * javax/swing/JSeparator.java: Implement.
18796 * javax/swing/JSlider.java:
18797 (JSlider(int, int, int, int)): Throw
18798 IllegalArgumentException if orientation
18800 (getChangeListeners): Fix method name.
18801 * javax/swing/SwingUtilities.java:
18802 (layoutCompoundLabel): If there is no text,
18803 set the text rectangle dimensions to 0.
18804 * javax/swing/plaf/basic/BasicButtonUI.java:
18805 (paint): If there is no text, don't paint it.
18806 * javax/swing/plaf/basic/BasicScrollBarUI.java:
18808 * javax/swing/plaf/basic/BasicSeparatorUI.java:
18810 * javax/swing/plaf/basic/BasicSliderUI.java:
18811 (propertyChange): If the model changes, change
18812 the listeners accordingly.
18814 2004-02-25 Graydon Hoare <graydon@redhat.com>
18816 * javax/swing/AbstractButton.java: Add "final" qualifiers.
18817 * javax/swing/JList.java: Reimplement.
18818 * javax/swing/DefaultListSelectionModel.java: Reimplement.
18819 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
18820 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
18821 * javax/swing/ListModel.java: Javadoc.
18822 * javax/swing/ListSelectionModel.java: Add missing methods.
18823 * javax/swing/AbstractListModel.java: Javadoc and corrections.
18824 * javax/swing/DefaultListModel.java: Javadoc and corrections.
18825 * javax/swing/ListModel.java: Javadoc and corrections.
18826 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
18828 2004-02-25 David Jee <djee@redhat.com>
18830 * gnu/java/awt/peer/gtk/GtkFontPeer.java
18831 (GtkFontPeer): Change default size to 12.
18832 * gnu/java/awt/peer/gtk/GtkToolkit.java
18833 (getFontPeer): Change default size to 12.
18834 (getClasspathFontPeer): Likewise. Set default name to "Default".
18835 * java/awt/Font.java
18836 (Font(Map)): Call Font(String,Map).
18837 (Font(String,Map)): If attrs is null, initialize it as an empty
18838 HashMap, which will ensure that the Font will get default attributes.
18840 2004-02-25 David Jee <djee@redhat.com>
18842 * gnu/java/awt/peer/gtk/GtkFontPeer.java
18843 (GtkFontPeer(String,int)): Call the new constructor with size 1.
18844 (GtkFontPeer(String,int,int)): New constructor with size attribute.
18845 * gnu/java/awt/peer/gtk/GtkToolkit.java
18846 (getFontPeer(String,int)): Call the new overload method with size 1.
18847 (getFontPeer(String,int,int)): New method. Overloaded with size
18849 (getClasspathFontPeer): Set the size of the font.
18851 2004-02-24 Olga Rodimina <rodimina@redhat.com>
18853 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18854 (bimage): New field.
18855 (GdkGraphics2D): New Constructor. Constructs Graphics
18856 object that can be used to draw into the Buffered Image.
18857 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
18858 (GdkGraphicsEnvironment): Fixed to include public
18860 (createGraphics): Implemented.
18861 * gnu/java/awt/peer/gtk/GtkToolkit.java
18862 (getLocalGraphicsEnvironment): Implemented.
18863 * java/awt/GraphicsEnvironment.java:
18864 (getLocalGraphicsEnvironment): Implemented.
18865 * java/awt/image/BufferedImage.java:
18866 (createGraphics): Implemented.
18868 2004-02-24 David Jee <djee@redhat.com>
18870 * java/awt/Component.java
18871 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
18872 * java/awt/Container.java
18873 (addNotifyContainerChildren): Fix event enabling.
18875 2004-02-23 Olga Rodimina <rodimina@redhat.com>
18877 * Makefile.am: Added
18878 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
18879 * Makefile.in: Re-generated.
18880 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
18883 2004-02-19 Kim Ho <kho@redhat.com>
18885 * Makefile.am: Add BasicProgressBarUI
18886 * Makefile.in: Regenerate.
18887 * javax/swing/JProgressBar.java:
18889 * javax/swing/plaf/basic/BasicLookAndFeel.java
18890 Add constants for JProgressBar.
18891 * javax/swing/plaf/basic/BasicProgressBarUI.java
18893 * javax/swing/plaf/basic/BasicSliderUI.java
18895 (calculateGeometry): New method
18896 (paint): Remove unnecessary size calculations.
18898 2004-02-18 Olga Rodimina <rodimina@redhat.com>
18900 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18901 (drawRaster): Fixed small error that caused
18902 imageToUser transformation to be set incorrectly.
18903 (toString): Implemented.
18905 2004-02-18 David Jee <djee@redhat.com>
18907 * java/awt/CardLayout.java
18908 (addLayoutComponent): Show the first component added as the default.
18909 (removeLayoutComponent): After removing, show the next component.
18910 (gotoComponent): If there is only one component, show it and return.
18912 2004-02-18 Kim Ho <kho@redhat.com>
18914 * javax/swing/JSlider.java: Re-order
18916 * javax/swing/JLabel.java: Re-order
18918 * javax/swing/JComponent.java:
18919 (addPropertyChangeListener):
18921 (removePropertyChangeListener):
18923 (firePropertyChangeEvent):
18926 2004-02-17 David Jee <djee@redhat.com>
18928 * java/awt/Component.java
18929 (show): Dispatch ComponentEvent via system event queue.
18932 (resize): Likewise.
18933 (reshape): Likewise.
18934 * java/awt/Window.java
18935 (setBoundsCallback): Likewise.
18937 2004-02-17 David Jee <djee@redhat.com>
18939 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18940 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
18941 Use gtk_widget_set_size_request() instead of the deprecated
18942 gtk_widget_set_usize().
18944 2004-02-17 Kim Ho <kho@redhat.com>
18946 * javax/swing/JSlider.java: Fix comments and
18947 make property strings constants.
18948 (createStandardLabels): Use the labels
18949 preferred size as bounds.
18950 * javax/swing/plaf/basic/BasicSliderUI.java
18952 (ScrollHandler::actionPerformed): Don't
18953 calculate the timer stop value. Let the
18954 MouseListeners find the stop location.
18955 (getPreferredHorizontalSize): Re-implement.
18956 (getPreferredVerticalSize): ditto.
18957 (getMinimumHorizontalSize): ditto.
18958 (getMinimumVerticalSize): ditto.
18959 (getPreferredSize): ditto.
18960 (getMinimumSize): ditto.
18961 (getMaximumSize): ditto.
18962 (paintTicks): Use doubles to find the
18964 (paintHorizontalLabel):Â Use preferredSize
18965 as initial width and height.
18966 (paintVerticalLabel): ditto.
18968 2004-02-17 Kim Ho <kho@redhat.com>
18970 * javax/swing/JLabel.java: Changed
18971 property strings to constants.
18972 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
18974 (setText): Change mnemonic index if
18976 (setDisplayedMnemonicIndex): Fire property
18978 (getDisplayedMnemonicIndex): Remove check
18979 against short text.
18981 2004-02-17 Olga Rodimina <rodimina@redhat.com>
18983 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
18984 (drawImage(img,xform,obs)): Invert xform before
18985 passing the xform to cairo.
18986 (drawImage(img,x,y,bgcolor,obs)): Implemented.
18987 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
18989 (drawImage (img,x,y,w,h,obs)): Implemented.
18990 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
18991 bgcolor,obs)): Partly implemented.
18992 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
18994 * java/awt/image/BufferedImage.java:
18995 (copyData): if dest is null, create raster with same
18996 dimensions as the current image.
18998 2004-02-16 Graydon Hoare <graydon@redhat.com>
19000 * javax/swing/plaf/basic/BasicLabelUI.java
19001 (getPreferredSize): Use layoutCL.
19002 * javax/swing/plaf/basic/BasicGraphicsUtils.java
19003 (getPreferredButtonSize): Start with empty view rect, layout using
19004 component's preferred alignment.
19005 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
19008 2004-02-16 David Jee <djee@redhat.com>
19010 * java/awt/Component.java
19011 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
19012 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
19013 (move): Erase old bounds and repaint new bounds. Dispatch
19014 COMPONENT_MOVED ComponentEvent.
19015 (resize): Erase old bounds and repaint new bounds. Dispatch
19016 COMPONENT_RESIZED ComponentEvent.
19017 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
19019 * java/awt/Window.java
19020 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
19023 2004-02-16 Olga Rodimina <rodimina@redhat.com>
19025 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
19026 (setRenderingHint): Added implementation of
19027 Interpolation rendering hints.
19028 (setRenderingHints): Ditto.
19029 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
19030 (drawPixels): fixed to allow user to choose type
19031 of filtering that should be used when displaying images.
19032 (cairoSurfaceSetFilter): New method. Sets filter type for
19033 interpolation of pixel values.
19035 2004-02-16 David Jee <djee@redhat.com>
19037 * java/awt/GridBagLayout.java
19038 (calcCellSizes): Rows or columns with zero sizes should still be
19039 considered for extra space distribution.
19041 2004-02-16 Kim Ho <kho@redhat.com>
19043 * javax/swing/JLabel.java: Re-implement.
19044 * javax/swing/plaf/basic/BasicLabelUI.java
19046 * javax/swing/plaf/basic/BasicLookAndFeel.java:
19049 2004-02-16 Kim Ho <kho@redhat.com>
19051 * javax/swing/JSlider.java: Fix indentation and comments.
19052 (setModel): Remove null check to conform with Sun's.
19053 (setOrientation): Throw exception if not
19054 HORIZONTAL or VERTICAL.
19055 (getInverted): Use private variable instead of
19056 ComponentOrientation.
19057 (setInverted): ditto.
19058 * javax/swing/plaf/basic/BasicSliderUI.java:
19059 Fix indentation and comments.
19060 (propertyChange): Remove check for inverted slider, handle
19062 (getMinimumSize): Return preferred size.
19063 (getMaximumSize): ditto.
19064 (calculateFocusRect): Don't relocate rectangle.
19065 (drawInverted): Return XOR of the slider's inversion and
19066 the component's orientation.
19067 (paint): Update leftToRightCache
19069 2004-02-13 David Jee <djee@redhat.com>
19071 * java/awt/GridBagLayout.java
19072 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
19073 code to helper methods.
19074 (sortBySpan): New helper method.
19075 (distributeSizeAndWeight): Likewise.
19076 (calcCellWeights): Likewise.
19077 (calcCellSizes): Add comments.
19079 2004-02-13 David Jee <djee@redhat.com>
19081 * java/awt/Component.java
19082 (show): Only do something if component is invisible at the moment.
19083 (hide): Only do something if component is visible at the moment.
19084 (reshape): If lightweight, erase old bounds and repaint new bounds.
19086 2004-02-13 Kim Ho <kho@redhat.com>
19088 * Makefile.am: Updated for new file.
19089 * Makefile.in: Regenerated.
19090 * javax/swing/JSlider.java: Reimplement.
19091 * javax/swing/SwingUtilities.java
19092 (layoutCompoundLabel): Use icon height
19094 (paintComponent): Implement.
19095 * javax/swing/plaf/basic/BasicLookAndFeel.java:
19096 Add JSlider defaults.
19097 * javax/swing/plaf/basic/BasicSliderUI.java:
19098 Implement. New file.
19100 2004-03-17 Michael Koch <konqueror@gmx.de>
19102 * gnu/java/net/PlainDatagramSocketImpl.java
19103 (RECEIVE_LOCK): New member field.
19104 (SEND_LOCK): New member field.
19105 (send0): New method.
19106 (send): Synchronize on SEND_LOCK.
19107 (receive0): New method.
19108 (receive): Synchronize on RECEIVE_LOCK.
19109 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
19110 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
19111 gnu/java/net/natPlainDatagramSocketImplWin32.cc
19112 (send0): Renamed from send.
19113 (receive0): Renamed from receive.
19114 2004-03-17 Michael Koch <konqueror@gmx.de>
19116 * gnu/java/net/natPlainSocketImplPosix.cc
19117 (write): Just call write(jbyteArray, offset, len).
19118 (read): Just call read(jbyteArray, offset, len).
19120 2004-03-16 Michael Koch <konqueror@gmx.de>
19122 * javax/swing/JTabbedPane.java
19123 (serialVersionUID): New field.
19125 2004-03-16 Norbert Frese <postfach@nfrese.net>
19127 * java/net/InetAddress.java
19128 (getByName): Handle hostname == "" case.
19130 2004-03-16 Dalibor Topic <robilad@kaffe.org>
19132 Reported by: Adam Heath <doogie@debian.org>
19133 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
19136 2004-03-15 Michael Koch <konqueror@gmx.de>
19138 * java/util/Locale.java: Reverting my last patch
19139 and add a comment why the original version was okay.
19141 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
19143 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
19144 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
19145 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
19146 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
19148 2004-03-12 Michael Koch <konqueror@gmx.de>
19150 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
19152 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
19154 * java/net/URI.java (toURL): Implemented.
19156 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
19158 * java/net/URI.java
19159 (URI_REGEXP) updated to contain scheme specific part.
19160 (SCHEME_SPEC_PART_GROUP) new constant.
19161 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
19162 updated to make room for SCHEME_SPEC_PART_GROUP.
19163 (parseURI) parse scheme specific part.
19164 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
19165 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
19166 getQuery, getFragment) implemented.
19168 2004-03-12 Dalibor Topic <robilad@kaffe.org>
19170 * libraries/javalib/java/net/URI.java
19171 partially implemented using java.util.regex.
19172 (URI_REGEXP) new constant. Used to parse URIs.
19173 (SCHEME_GROUP) new constant representing index of scheme group
19175 (AUTHORITY_GROUP) new constant representing index of authority
19176 group in parsed URI.
19177 (PATH_GROUP) new constant representing index of path group in
19179 (QUERY_GROUP) new constant representing index of query group in
19181 (FRAGMENT_GROUP) new constant representing index of fragment
19182 group in parsed URI.
19183 (getURIGroup) new static utility method.
19184 (parseURI) implemented.
19185 (quote) stub for new static utility method.
19186 (quoteAuthority) stub for new static utility method.
19187 (quoteHost) stub for new static utility method.
19188 (quotePath) stub for new static utility method.
19189 (quoteUserInfo) stub for new static utility method.
19191 (create) don't throw URISyntaxException. Implemented.
19192 (toString) implemented.
19194 2004-03-12 Michael Koch <konqueror@gmx.de>
19196 * java/net/HttpURLConnection.java
19197 (getResponseCode): Fix another typo in javadoc.
19199 2004-03-11 Michael Koch <konqueror@gmx.de>
19201 * java/util/logging/Level.java
19202 (parse): Use String.equals() instead of ==.
19204 2004-03-11 Michael Koch <konqueror@gmx.de>
19206 * gnu/java/net/protocol/jar/Connection.java
19207 (getContentLength): New method.
19209 2004-03-11 Michael Koch <konqueror@gmx.de>
19211 * gnu/java/net/PlainSocketImpl.java:
19212 Reformated to merge better with classpath's version.
19214 2004-03-11 Michael Koch <konqueror@gmx.de>
19216 * java/util/Locale.java
19217 (getISO3Language): Use String.equals() instead of ==.
19218 (getISO3Country): Likewise.
19220 2004-03-11 Dalibor Topic <robilad@kaffe.org>
19222 * java/text/AttributedString.java
19223 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
19224 Use HashMap instead of Hashtable since value can be null, and
19225 you can not store a null value in a Hashtable.
19227 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
19229 * java/text/AttributedStringIterator.java
19230 (getAllAttributesKey): Return only keys concerned
19231 by the current iterator.
19232 (getAttributes): Use strict inequality for
19235 2004-03-11 Michael Koch <konqueror@gmx.de>
19237 * java/net/HttpURLConnection.java:
19238 Fixed typo in javadoc.
19240 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
19242 * java/io/BufferedInputStream.java (marktarget): New field for max
19244 (CHUNKSIZE): New constant for incremental mark buffer allocation.
19245 (mark): Use new fields.
19247 (read(byte[],int,int)): Likewise.
19249 (refill): Likewise.
19251 2004-03-11 Mark Wielaard <mark@klomp.org>
19253 * java/beans/BeanDescriptor.java (BeanDescriptor):
19254 Set the FeatureDescriptor programmatic name.
19256 2004-03-11 Michael Koch <konqueror@gmx.de>
19258 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
19259 This file was was just copied form java/io/natFileDescriptorEcos.cc
19260 and never changed to compile correctly.
19262 2004-03-11 Michael Koch <konqueror@gmx.de>
19264 * gnu/java/nio/PipeImpl.java
19265 (SourceChannelImpl): Made final.
19266 (read): Implemented.
19267 (SinkChannelImpl): Made final.
19268 (write): Implemented.
19270 2004-03-11 Michael Koch <konqueror@gmx.de>
19272 * gnu/java/net/PlainDatagramSocketImpl.java:
19273 Reformated to match classpath's version more.
19275 2004-03-11 Michael Koch <konqueror@gmx.de>
19277 * gnu/java/awt/peer/ClasspathFontPeer.java:
19278 Fixed javadoc to be correct xhtml.
19279 * gnu/java/awt/peer/gtk/GtkArgList.java
19280 (add): Use Boolean.valueOf() instead of new Boolean().
19282 2004-03-09 Michael Koch <konqueror@gmx.de>
19284 * java/lang/Thread.java
19285 (runnable): Moved around.
19286 (daemon): Renamed from daemon_flag.
19287 (contextClassLoader): Renamed from context_class_loader.
19288 (Thread): Reordered constructors.
19289 (activeCount): Use group directly.
19290 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
19291 (holdsLock): Reworked javadoc.
19292 (setDaemon): Reworked.
19293 * java/lang/natThread.cc
19294 (destroy): Removed.
19296 2004-03-08 Anthony Green <green@redhat.com>
19298 * Makefile.am: Build property resource files into libgcj.
19299 * Makefile.in: Rebuilt.
19300 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
19301 java/util/regex/PatternSyntaxException.java,
19302 gnu/regexp/CharIndexed.java,
19303 gnu/regexp/CharIndexedCharArray.java,
19304 gnu/regexp/CharIndexedInputStream.java,
19305 gnu/regexp/CharIndexedReader.java,
19306 gnu/regexp/CharIndexedString.java,
19307 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
19308 gnu/regexp/REException.java,
19309 gnu/regexp/REFilterInputStream.java,
19310 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
19311 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
19312 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
19313 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
19314 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
19315 gnu/regexp/RETokenLookAhead.java,
19316 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
19317 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
19318 gnu/regexp/RETokenStart.java,
19319 gnu/regexp/RETokenWordBoundary.java,
19320 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
19322 2004-03-03 Per Bothner <per@bothner.com>
19324 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
19325 Optimize when argument is a FileChannelImpl.
19326 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
19327 New native methods.
19328 * java/nio/channels/natChannels.cc: New file for new native methods.
19329 * Makefile.am: Update accordingly.
19331 2004-03-02 Jan Hubicka <jh@suse.cz>
19333 * configure.host: Pass -fno-omit-frame-pointer for i386.
19334 * configure.in: Likewise.
19335 * configure: Regenerate.
19337 2004-03-01 Per Bothner <per@bothner.com>
19339 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
19341 2004-02-29 Per Bothner <per@bothner.com>
19343 * java/nio/channels/FileChannelImpl.java: Moved to package
19344 gnu/java/nio/channels, since we need to refer to it from java.io.
19345 * java/nio/channels/natFileChannelImpl.cc: Removed file.
19346 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
19347 from java/nio/channels. Don't depend on FileDescriptor.
19348 (in, out, err): New static fields.
19350 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
19351 from FileDescriptor.
19352 (by): Removed MappedByteBuffer field.
19353 (map): New working implementation.
19354 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
19355 some code "ported" from natFileDescriptoPosix.cc.
19356 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
19357 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
19358 * java/io/FileDescriptor.java: Implement on top of FileChannel.
19359 Remove native methods.
19360 * Makefile.am, configure.in: Updated accordingly.
19362 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
19363 (ch): New FileChannelImpl field. Update constructor to match.
19364 (releaseImpl): Remove native method. Instead ...
19365 (release): Call unlock on channel.
19366 * gnu/java/nio/natFileLockImpl.cc: Removed file.
19368 * java/io/natFileDescriptorEcos.cc: Remove file.
19369 * java/io/natFileDescriptorPosix.cc: Remove file.
19370 * java/io/natFileDescriptorWin32.cc: Remove file.
19371 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
19372 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
19373 (<init>(FileChannelImpl)): New package-private constructor.
19374 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
19375 (available, close, read, skip): Implement using FileChannelImpl.
19376 (getFD): Allocate FileDescriptor if needed.
19377 (getChannel): Is now trivial.
19378 * java/io/FileOutputStream.java: Corresponding changes.
19379 * java/io/RandomAccessFile.java: Corresponding changes.
19381 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
19382 unmapImpl): New dummy methods, to be overridden by subclass.
19383 (finalize, isLoaded, load, force): New methods.
19384 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
19385 Now works, at least for read mapping.
19387 * java/lang/natPosixProcess.cc (startProcess): Implement standard
19388 streams using FileChannelImpl, not FileDescriptor.
19389 * java/lang/natWin32Process.cc (startProcess): Likewise.
19391 2004-02-28 Michael Koch <konqueror@gmx.de>
19393 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
19396 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
19398 * java/io/ObjectInputStream.java
19399 (readClassDescriptor): Keep elements of the mapping non null.
19400 (checkTypeConsistency): New method.
19401 (readFields): Fixed main loop and base logic. Small reindentation.
19402 * java/io/ObjectStreamField.java
19403 (lookupField): New method to update the field reference.
19404 (checkFieldType): New method.
19405 * java/io/ObjectStreamClass.java
19406 (setClass, setFields): Call lookupField when building the field
19407 database. Check the real field type.
19409 2004-02-28 Michael Koch <konqueror@gmx.de>
19411 * java/nio/ByteOrder.java
19412 (nativeOrder): Use equals() to compare strings.
19414 2004-02-26 Michael Koch <konqueror@gmx.de>
19416 * gnu/java/nio/FileLockImpl.java
19417 (finalize): Made protected.
19418 * java/nio/channels/FileChannel.java
19419 (MapMode.READ_ONLY): Made final.
19420 (MapMode.READ_WRITE): Made final.
19421 (MapMode.PRIVATE): Made final.
19422 * java/nio/channels/SocketChannel.java
19423 (open): Simplified code.
19424 * java/nio/channels/spi/AbstractSelectableChannel.java
19425 (registered): Unused, removed.
19426 (keyFor): Check channel is open, only locate key
19427 and not add a new one.
19428 (register): Don't delete attachments.
19430 2004-02-26 Michael Koch <konqueror@gmx.de>
19432 * gnu/java/awt/ComponentDataBlitOp.java
19433 (INSTANCE): Made final.
19434 * gnu/java/awt/image/ImageDecoder.java:
19436 (cm): Unused, removed.
19438 2004-02-26 Michael Koch <konqueror@gmx.de>
19440 * gnu/java/nio/DatagramChannelImpl.java
19441 (send): Check if target address is resolved.
19443 2004-02-26 Michael Koch <konqueror@gmx.de>
19445 * Makefile.am: Generate and install headers for inner classes in
19446 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
19447 * Makefile.in: Regenerated.
19449 2004-02-24 Anthony Green <green@redhat.com>
19451 * java/lang/StringBuffer.java: No need to NULL out remainder of
19452 buffer since ensureCapacity_unsynchronized will have done this for
19455 2004-02-20 Michael Koch <konqueror@gmx.de>
19457 * gnu/java/net/protocol/jar/Handler.java
19458 (): Removed unneeded check for file != null. java.net.URL.getFile()
19459 returns an empty string but never null.
19461 2004-02-20 Michael Koch <konqueror@gmx.de>
19463 * gnu/gcj/convert/Convert.java
19464 (main): Use equals() to compare strings.
19466 2004-02-20 Michael Koch <konqueror@gmx.de>
19468 * javax/swing/AbstractButton.java: Made several constants final.
19469 (getRolloverSelectedIcon): Made public.
19470 (getSelectedIcon): Made public.
19472 2004-02-16 Per Bothner <per@bothner.com>
19474 * java/nio/CharBufferImpl.java: Inline super constructor.
19475 * java/nio/DoubleBufferImpl.java: Likewise.
19476 * java/nio/FloatBufferImpl.java: Likewise.
19477 * java/nio/IntBufferImpl.java: Likewise.
19478 * java/nio/LongBufferImpl.java: Likewise.
19479 * java/nio/ShortBufferImpl.java: Likewise.
19480 * java/nio/CharBuffer.java: Remove unused constructor.
19481 * java/nio/DoubleBuffer.java: Likewise.
19482 * java/nio/FloatBuffer.java: Likewise.
19483 * java/nio/IntBuffer.java: Likewise.
19484 * java/nio/LongBuffer.java: Likewise.
19485 * java/nio/ShortBuffer.java: Likewise.
19486 * java/nio/CharViewBufferImpl.java: New convenience constructor.
19487 Fix buggy call to super constructor.
19488 * java/nio/DoubleViewBufferImpl.java: Likewise.
19489 * java/nio/FloatViewBufferImpl.java: Likewise.
19490 * java/nio/IntViewBufferImpl.java: Likewise.
19491 * java/nio/LongViewBufferImpl.java: Likewise.
19492 * java/nio/ShortViewBufferImpl.java: Likewise.
19494 * java/nio/ByteBuffer.java (endian): Make non-private so other
19495 java.nio classes can inherit it.
19496 (<init>): Don't bother clearing array_offset.
19497 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
19498 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
19499 Remove redundant test.
19501 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
19502 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
19503 Use new XxxViewBufferImpl constructors.
19504 * java/nio/MappedByteBufferImpl.java: Likewise.
19505 * java/nio/DirectByteBufferImpl.java: Likewise.
19507 * java/nio/ByteBufferImpl.java: Remove one constructor.
19508 Inline super in remaining constructor.
19509 * java/nio/ByteBuffer.java: Remove unused constructor.
19511 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
19513 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
19514 * java/nio/DirectByteBufferImpl.java (owner): New field.
19515 (offset): Remove unused field.
19516 (<init>): Modify one and add another constructor. Change callers.
19517 (allocateDirect): Removed - not used.
19518 (getImpl, putImpl): Make static and pass address explicitly,
19519 to make them useful for MappedByteBufferImpl.
19520 (get, put): Check for underflow. Modify for new getImpl.
19521 (getImpl): New native method where target is array.
19522 (get(byte[],int,int)): Use the above.
19523 (adjustAddress): New static native method.
19524 (slice, duplicate, asReadOnly): New implementations.
19525 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
19526 adjustAddress): New or updated native methods.
19528 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
19530 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
19531 overflow of fieldmapping.
19533 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
19535 * javax/swing/undo/UndoManager.java: Re-written from scratch.
19537 2004-02-14 Per Bothner <per@bothner.com>
19539 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
19540 Set closed before calling implCloseChannel, as in the spec.
19542 2004-02-09 Graydon Hoare <graydon@redhat.com>
19544 * javax/swing/ToggleButtonModel.java: Remove dead class.
19545 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
19546 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
19547 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
19548 * Makefile.am: Update for new and removed files.
19549 * Makefile.in: Regenerate.
19551 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
19552 * javax/swing/AbstractButton.java
19553 (AbstractButton): Initialize fields correctly in ctor.
19554 * javax/swing/JCheckbox.java
19555 (JCheckBox): Override painting flags.
19556 * javax/swing/DefaultButtonModel.java: Conform to sun.
19557 * javax/swing/JComponent.java (paint): Fill with background color
19559 (processComponentKeyEvent)
19560 (processFocusEvent)
19562 (processMouseMotionEvent): Remove event-consuming empty methods.
19563 (getUIClassID): Return "ComponentUI" not "JComponent"
19564 * javax/swing/JFrame.java: Remove some debugging chatter.
19565 (JFrame): Subscribe to window events.
19566 * javax/swing/JRadioButton.java
19567 (JRadioButton): Override painting flags.
19568 * javax/swing/JRootPane.java
19569 (JRootPane): Set background from UIDefaults.
19570 * javax/swing/JToggleButton.java
19571 (ToggleButtonModel): New inner class.
19572 (JToggleButton): Override layout alighment.
19573 * javax/swing/SwingUtilities.java:
19574 (getLocalBounds): Return width and height, not x and y.
19575 (calculateInnerArea): Use local bounds, not bounds.
19576 (layoutCompoundLabel): Provide overridden form.
19577 (layoutCompoundLabel): Correct bugs.
19578 * javax/swing/UIDefaults.java: Correct comment.
19579 * javax/swing/plaf/basic/BasicButtonUI.java:
19580 Move most logic into defaults, external listener.
19581 (paintIcon): Implement icon painting.
19582 (paint): Fix state painting to conform to changes in model.
19583 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
19584 Remove most dead/wrong methods.
19585 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
19586 * javax/swing/plaf/basic/BasicIconFactory.java:
19587 (DummyIcon): New class.
19588 (getMenuItemCheckIcon)
19589 (getMenuItemArrowIcon)
19591 (getCheckBoxMenuItemIcon)
19592 (getRadioButtonMenuItemIcon)
19593 (createEmptyFrameIcon): Return DummyIcons, not null.
19594 (getCheckBoxIcon): Implement an icon that looks like sun's.
19595 (getRadioButtonIcon): Implement an icon that looks like sun's.
19596 * javax/swing/plaf/basic/BasicLookAndFeel.java
19597 (initComponentDefaults): Fix impossible values, add some missing.
19598 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
19599 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
19600 Remove most dead/wrong methods.
19602 (getDefaultIcon): New method.
19603 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
19604 Remove most dead/wrong methods.
19605 * javax/swing/plaf/metal/MetalLookAndFeel.java
19606 (getDefaults): Return super.getDefaults(), not BasicDefaults.
19607 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
19608 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
19609 Implement "clearing" as drawing, when on pixmap drawables.
19611 * javax/swing/JButton.java (getUIClassID):
19612 * javax/swing/JCheckBox.java (getUIClassID):
19613 * javax/swing/JEditorPane.java (getUIClassID):
19614 * javax/swing/JLabel.java (getUIClassID):
19615 * javax/swing/JList.java (getUIClassID):
19616 * javax/swing/JOptionPane.java (getUIClassID):
19617 * javax/swing/JPanel.java (getUIClassID):
19618 * javax/swing/JPasswordField.java (uiClassID):
19619 * javax/swing/JRadioButton.java (getUIClassID):
19620 * javax/swing/JRootPane.java (getUIClassID):
19621 * javax/swing/JScrollPane.java (getUIClassID):
19622 * javax/swing/JTabbedPane.java (getUIClassID):
19623 * javax/swing/JToggleButton.java (getUIClassID):
19624 * javax/swing/JTree.java (getUIClassID):
19625 * javax/swing/JViewport.java (getUIClassID):
19626 * javax/swing/text/JTextComponent.java (getUIClassID):
19627 Return "fooUI" not "Jfoo"
19629 2004-02-11 Michael Koch <konqueror@gmx.de>
19631 * java/net/DatagramSocket.java
19632 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
19634 (setBroadcast): Likewise.
19635 * java/net/MulticastSocket.java
19636 (setLoopbackMode): Likewise.
19637 * java/net/ServerSocket.java
19638 (setReuseAddress): Likewise.
19639 * java/net/Socket.java
19640 (setTcpNoDelay): Likewise.
19641 (setSoLinger): Likewise.
19642 (setOOBInline): Likewise.
19643 (setKeepAlive): Likewise.
19644 (setReuseAddress): Likewise.
19645 * java/net/URLConnection.java
19646 (setContentHandler): Replace == with equals().
19647 * java/net/URLStreamHandler.java
19648 (hostSEquals): Fix checking host addresses.
19649 (toExternalForm): Dont check protocol for null. We know already its
19652 2004-02-10 David Jee <djee@redhat.com>
19654 * java/awt/BorderLayout.java
19655 (calcCompSize): Invisible components get zero dimensions.
19656 * java/awt/Button.java
19657 (setLabel): Set actionCommand.
19658 * java/awt/Component.java
19659 (show): Invalidate component and parent container.
19662 2004-02-10 David Jee <djee@redhat.com>
19664 * java/awt/GridBagLayout.java
19665 (GridBagLayout): New private field, internalcomptable.
19666 (lookupInternalConstraints): New method.
19667 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
19668 (GetLayoutInfo): Reimplement.
19669 (calcCellSizes): Ignore rows/columns with size 0.
19671 2004-02-10 Michael Koch <konqueror@gmx.de>
19673 * gnu/java/awt/EmbeddedWindow.java
19674 (setHandle): Use java.awt.Component.getPeer() instead of
19675 java.awt.Component.peer directly.
19677 2004-02-10 David Jee <djee@redhat.com>
19679 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
19680 (gtkSetLabel): New native method definition.
19681 (setLabel): Use gtkSetLabel.
19682 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
19683 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
19685 2004-02-10 Alan Modra <amodra@bigpond.net.au>
19687 * include/powerpc-signal.h: Revert 2004-01-21 change.
19688 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
19689 from syscall for ppc32 versions.
19691 2004-02-08 Per Bothner <per@bothner.com>
19693 * java/nio/ByteBuffer.java (shiftDown): New helper method.
19694 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
19695 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
19696 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
19697 Pass ByteOrder parameter to most methods, since the underlying
19698 ByteBuffer's order isn't always what we should use.
19699 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
19700 * java/nio/DirectByteBufferImpl.java: Likewise.
19701 Use ByteBufferHelper methods.
19702 * java/nio/MappedByteBufferImpl.java: Likewise.
19703 (compact): Use shiftDown.
19704 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
19705 (get, put): Use ByteBufferHelper.
19706 (compact): Use new shiftDown method.
19707 (duplicate(boolean)): New helper method.
19708 (duplicate, asReadOnlyBuffer): Use it.
19709 (order): Return endian field.
19710 * java/nio/DoubleViewBufferImpl.java: Likewise.
19711 * java/nio/FloatViewBufferImpl.java: Likewise.
19712 * java/nio/IntViewBufferImpl.java: Likewise.
19713 * java/nio/LongViewBufferImpl.java: Likewise.
19714 * java/nio/ShortViewBufferImpl.java: Likewise.
19715 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
19716 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
19717 (compact): Re-implement using shiftDown.
19719 2004-02-08 Andreas Jaeger <aj@suse.de>
19721 * include/x86_64-signal.h: Fix typo.
19723 2004-02-08 Diego Novillo <dnovillo@redhat.com>
19725 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
19726 qualifier to _regs.
19727 (HANDLE_DIVIDE_OVERFLOW): Likewise.
19729 2004-02-06 Michael Koch <konqueror@gmx.de>
19731 * java/io/ObjectInputStream.java
19732 (currentClassLoader): Reverted to old version of this method.
19734 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
19736 * java/io/ObjectInputStream.java: Made all calls
19737 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
19738 use cached info from ObjectStreamClass. (readClassDescriptor):
19739 Cache more information in ObjectStreamClass. (processResolution,
19740 readFields): Use cached info from ObjectStreamClass.
19741 (newObject): Throw exception instead of returning null for failure.
19742 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
19743 setCharField, setDoubleField, setFloatField, setIntField,
19744 setLongField, setShortField, setObjectField, readObjectParams):
19745 Removed. (dumpElement, dumpElementln): Removed dump flag condition
19747 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
19748 (setClass): Added call to cacheMethods() (findMethod): New method.
19749 (cacheMethods): New method. (ObjectStreamClass): Added call to
19750 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
19751 AccessController.doPrivileged to invoke setAccessible.
19752 (readObjectMethod, readResolveMethod, realClassIsSerializable,
19753 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
19755 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
19756 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
19757 isPrimitive): Made safe for cases where type == null.
19758 (setBooleanField, setByteField, setCharField, setShortField,
19759 setIntField, setLongField, setFloatField, setDoubleField,
19760 setObjectField): New methods.
19762 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
19764 * java/awt/Component.java (getFont): Return a default font
19767 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
19768 (Scrollbar (int, int, int, int, int)): Make default page
19770 (setValues): Only call peer.setValues if one of the values has
19772 (generateName): New method.
19773 (getUniqueLong): New method.
19774 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
19775 (range_scrollbar): Remove structure.
19776 (post_adjustment_event): Remove function.
19777 (post_change_event): Accept jobject argument.
19778 (create): Cast jints to gdoubles. Round scrollbar values to the
19779 nearest integer. Clamp min, max and value settings.
19780 (connectJObject): Connect hook to widget->window.
19781 (connectSignals): Remove range_scrollbar structure variables.
19782 Remove "move-slider" connection. Pass global peer reference to
19783 "value-changed" callback.
19784 (setLineIncrement): Cast jint value to gdouble.
19785 (setPageIncrement): Likewise.
19786 (setValues): Likewise. Clamp min, max and value settings.
19788 2004-02-05 Michael Koch <konqueror@gmx.de>
19790 * javax/swing/AbstractCellEditor.java
19791 (getCellEditorValue): Removed.
19792 * javax/swing/Box.java: Reformated.
19793 (serialVersionUID): New field.
19794 * javax/swing/ButtonGroup.java:
19795 Removed some weird whitespace.
19796 * javax/swing/CellEditor.java: Reformated.
19797 * javax/swing/CellRendererPane.java
19798 (serialVersionUID): New field.
19799 (AccessibleCellRendererPaneserialVersionUID): New field.
19800 * javax/swing/DefaultListModel.java
19801 (serialVersionUID): New field.
19802 * javax/swing/JEditorPane.java
19803 (serialVersionUID): New field.
19804 (setPage): Throws IOException.
19805 (addHyperlinkListener): Implemented.
19806 (removeHyperlinkListener): Implemented.
19807 (getHyperlinkListener): New method.
19808 * javax/swing/JFileChooser.java
19809 (serialVersionUID): New field.
19810 (AccessibleJFileChooser.serialVersionUID): New field.
19811 (addActionListener): Implemented.
19812 (removeActionListener): Implemented.
19813 (getActionListeners): New method.
19814 * javax/swing/JFormattedTextField.java
19815 (serialVersionUID): New field.
19816 (AbstractFormatter.serialVersionUID): New field.
19817 (clone): Throws CloneNotSupportedException
19818 (setEditValid): Add missing argument.
19819 (stringToValue): Throws ParseExcpetion.
19820 (valueToString): Throws ParseException.
19821 (commitEdit): Throws ParseException.
19822 * javax/swing/JLabel.java
19823 (serialVersionUID): New field.
19824 * javax/swing/JList.java
19825 (serialVersionUID): New field.
19826 (addListSelectionListener): Reformated.
19827 (removeListSelectionListener): Reformated.
19828 (getListSelectionListeners): New method.
19829 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
19831 (serialVersionUID): New field.
19832 * javax/swing/table/AbstractTableModel.java
19833 (getValueAt): Removed.
19834 (getColumnCount): Removed.
19835 (getRowCount): Removed.
19837 2004-02-05 Michael Koch <konqueror@gmx.de>
19839 * java/awt/datatransfer/DataFlavor.java
19840 (imageFlavor): Javadoc added.
19841 (javaJVMLocalObjectType): Fixed.
19843 2004-02-05 Michael Koch <konqueror@gmx.de>
19845 * java/lang/Thread.java
19846 (Thread): Reordered.
19847 (setContextClassLoader): Fixed javadoc comment.
19848 (setPriority): Reordered.
19849 (yield): Reordered.
19850 (initialize_native): Reordered.
19851 (gen_name): Reordered.
19853 2004-02-05 Michael Koch <konqueror@gmx.de>
19855 * java/lang/Thread.java: Reordered fields, reformated much code,
19856 no functional changes, some variables renamed, javadoc comments
19859 2004-02-05 Michael Koch <konqueror@gmx.de>
19861 * java/util/zip/Deflater.java,
19862 java/util/zip/DeflaterOutputStream.java,
19863 java/util/zip/GZIPInputStream.java:
19864 Reformated and javadoc comments merged from classpath.
19866 2004-02-05 Michael Koch <konqueror@gmx.de>
19868 * gnu/java/nio/NIOServerSocket.java
19869 (impl): Unused, removed.
19870 * gnu/java/nio/SocketChannelImpl.java
19871 (finnishConnect): Don't throw NoConnectionPendingException if not
19872 connected or no connection pending.
19874 2004-02-02 Graydon Hoare <graydon@redhat.com>
19876 * javax/swing/SwingUtilities.java: Many new functions.
19877 * java/awt/Container.java (LightweightDispatcher): Reimplement.
19878 * javax/swing/basic/BasicGraphicsUtils.java
19879 (getPreferredButtonSize): Start layout from top-left corner.
19881 2004-02-04 Olga Rodimina <rodimina@redhat.com>
19883 * java/awt/geom/AffineTransform.java:
19884 Corrected comments on the field definitions for
19886 (shear): Fixed few errors that caused shear
19887 transformation to be performed incorrectly.
19888 (createInverse): Fixed to return correct
19889 inverse of the given matrix.
19891 2004-02-03 Tom Tromey <tromey@redhat.com>
19893 * java/lang/natPosixProcess.cc (startProcess): Handle case where
19894 PATH or LD_LIBRARY_PATH is not set in parent environment.
19896 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
19898 * gnu/java/awt/peer/gtk/GtkListPeer.java,
19899 java/awt/BorderLayout.java, java/awt/CardLayout.java,
19900 java/awt/CheckboxGroup.java, java/awt/Choice.java,
19901 java/awt/Component.java, java/awt/Container.java,
19902 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
19903 java/awt/LayoutManager2.java, java/awt/List.java,
19904 java/awt/Menu.java, java/awt/MenuBar.java,
19905 java/awt/MenuItem.java, java/awt/Polygon.java,
19906 java/awt/Rectangle.java, java/awt/ScrollPane.java,
19907 java/awt/Scrollbar.java, java/awt/TextArea.java,
19908 java/awt/TextField.java,
19909 java/awt/image/renderable/RenderContext.java,
19910 javax/swing/JApplet.java: Fix handling of alias methods, where a
19911 method has been deprecated in favour of a new one with the same
19912 funtion but a different name. Put the method implementation in
19913 the deprecated method and have the new method call the
19914 deprecated one. Make all other code call the new method.
19916 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
19918 * gnu/java/nio/DatagramChannelImpl.java
19919 (inChannelOperation): New field.
19920 (isInChannelOperation): New accessor.
19921 (setInChannelOperation): New modifier.
19922 (receive): Use capacity() - position() of destination
19923 buffer instead of remaining(). Set and reset our "in
19924 channel operation indicator" before and after delegating
19925 the receive to our datagram socket. Removed testing code.
19926 Update destination buffer's current position if it is
19927 backed by a byte array (hasArray() is true).
19928 (send): Set and reset our "in channel operation indicator"
19929 before and after delegating the send to our datagram socket.
19930 Removed testing code. Update source buffer's current position
19931 if it is backed by a byte array (hasArray() is true).
19932 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
19933 Use capacity() - position() of destination buffer instead
19935 * java/net/DatagramSocket.java (receive): Don't throw an
19936 IllegalBlockingModeException if we have a non-blocking
19937 channel which initiated this operation.
19940 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
19942 * configure.in: Add pkgconfig check for glib and gthread.
19943 * configure: Regenerate.
19945 2004-02-01 Michael Koch <konqueror@gmx.de>
19947 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
19949 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
19950 * verify.cc (debug_print): Mark 'fmt' unused.
19952 2004-01-30 Michael Koch <konqueror@gmx.de>
19954 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
19955 * configure: Regenerated.
19956 * glib-2.0.m4: Removed.
19957 * gtk-2.0.m4: Removed.
19958 * libart.m4: Removed.
19959 * pkg.m4: New file.
19961 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
19963 * gnu/java/net/PlainSocketImpl.java
19964 (inChannelOperation): New field.
19965 (isInChannelOperation): New accessor.
19966 (setInChannelOperation): New modifier.
19967 * gnu/java/nio/ServerSocketChannelImpl.java
19968 (accept): Set and reset our server socket's PlainSocketImpl's
19969 "in channel operation" indicator before and after delegating
19970 the accept to our server socket.
19971 * gnu/java/nio/SocketChannelImpl.java
19972 (connect): Set and reset our socket's PlainSocketImpl's "in channel
19973 operation" indicator before and after delegating the operation to
19977 * java/net/ServerSocket.java (implAccept): Don't throw an
19978 IllegalBlockingModeException if we have a non-blocking
19979 channel which initiated this accept operation.
19980 * java/net/Socket.java (connect): Don't throw an
19981 IllegalBlockingModeException if we have a non-blocking
19982 channel which initiated this connect operation.
19983 * java/nio/channels/spi/AbstractSelectableChannel.java
19984 (configureBlocking): Only call implConfigureBlocking() if
19985 the desired blocking mode is different from our current one.
19987 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
19989 * java/io/BufferedReader.java (sbuf): New field.
19990 (readLine): Use String.valueOf instead of new String() as per
19991 Per Bothner's suggestion. Use instance sbuf field instead of a
19992 local StringBuffer instance.
19993 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
19994 caller's buffer to refill().
19995 (read(void)): Pass our internal work buffer to refill if our
19996 input queue is empty.
19997 (refill): Changed return type to int. Use the specified buffer
19998 instead of our work buffer as per Bryce McKinlay's suggestion.
19999 Return the number of characters read or -1 for EOF.
20001 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
20003 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
20005 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
20007 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
20008 * Makefile.in: Re-generated.
20009 * gnu/awt/xlib/XFontPeer.java: New file.
20010 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
20011 (setClip): Commented out debug printout.
20012 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
20013 (getFontPeer): Return XFontPeer.
20014 (getLocalGraphicsEnvironment): New method.
20015 (getClasspathFontPeer): New method.
20016 (createFont): New method.
20018 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
20020 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
20023 2004-01-29 Kim Ho <kho@redhat.com>
20025 * gnu/java/awt/peer/gtk/GtkFramePeer.java
20026 (gtkLayoutSetVisible): New method
20027 (setMenuBar): Hide layout before setting MenuBar
20028 and reshow it after.
20029 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20030 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
20032 2004-01-28 Michael Koch <konqueror@gmx.de>
20034 * gnu/java/lang/ClassHelper.java
20035 (getPackagePortion): Removed.
20037 2004-01-28 Michael Koch <konqueror@gmx.de>
20039 * javax/swing/JComponent.java
20040 (listenerList): Initalize globally.
20041 (ancestor_list): Removed.
20042 (veto_list): Removed.
20043 (change_list): Removed.
20044 (get_veto_list): Removed.
20045 (get_change_list): Removed.
20046 (get_ancestor_list): Removed.
20047 (removeAncestorListener): Reimplemented.
20048 (removePropertyChangeListener): Likewise.
20049 (removeVetoableChangeListener): Likewise.
20050 (addAncestorListener): Likewise.
20051 (addPropertyChangeListener): Likewise.
20052 (addVetoableChangeListener): Likewise.
20053 (getListeners): New method.
20054 (getAncestorListeners): Likewise.
20055 (getVetoableChangeListeners): Likewise.
20056 (fireVetoableChange): Throws PropertyVetoException.
20057 * javax/swing/JEditorPane.java
20058 (JEditorPane): Throws IOException.
20060 2004-01-28 David Jee <djee@redhat.com>
20062 * gnu/java/awt/peer/gtk/GtkFramePeer.java
20063 (create): Set the default foreground color to
20064 java.awt.SystemColor.windowText.
20066 2004-01-27 Michael Koch <konqueror@gmx.de>
20068 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
20069 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
20070 Reindented to merge with classpath.
20072 2004-01-27 David Jee <djee@redhat.com>
20074 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
20075 (addExposeFilter): Handle GtkFramePeer separately.
20076 (removeExposeFilter): Likewise.
20078 2004-01-27 Michael Koch <konqueror@gmx.de>
20080 * gnu/java/net/protocol/http/Connection.java
20081 (getOutputStream): Fixed typo.
20083 2004-01-27 Michael Koch <konqueror@gmx.de>
20085 * java/lang/Class.java
20086 (getConstructor): Removed SecurityException from throws clause.
20087 (_getConstructors): Likewise.
20088 (getConstructors): Likewise.
20089 (getDeclaredConstructor): Likewise.
20090 (getDeclaredClasses): Likewise.
20091 (getDeclaredConstructors): Likewise.
20092 (getDeclaredField): Likewise.
20093 (getDeclaredMethod): Likewise.
20094 (getDeclaredMethods): Likewise.
20095 (getField): Likewise.
20096 (getMethod): Likewise.
20097 (getMethods): Likewise.
20099 2004-01-27 Kim Ho <kho@redhat.com>
20101 * gnu/java/awt/peer/gtk/GtkFramePeer.java
20102 (removeMenuBarPeer): Remove MenuBarPeer argument.
20103 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
20104 (dispose): Call native method.
20105 * java/awt/Frame.java (setMenuBar): Create and remove
20106 MenuBar peers only if the Frame has a peer.
20107 (addNotify): Create the MenuBar peer if one exists.
20108 (removeNotify): Remove MenuBar peer if one exists.
20109 * java/awt/Menu.java: Fix imports.
20110 (addNotify): Don't use full class name.
20111 (removeNotify): Call removeNotify on all children.
20112 * java/awt/MenuBar.java (removeNotify): Call
20113 removeNotify on all children.
20114 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20115 (removeMenuBarPeer): Remove MenuBarPeer argument.
20116 Iterate through children to find the Frame's MenuBar.
20117 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
20119 (dispose): Remove references to the MenuComponent.
20121 2004-01-27 Michael Koch <konqueror@gmx.de>
20123 * javax/swing/AbstractCellEditor.java: Reformated.
20124 * javax/swing/DefaultListSelectionModel.java
20125 (listenerList): Made protected.
20126 (addListSelectionListener): Javadoc added.
20127 (removeListSelectionListener): Likewise.
20128 (getListeners): Likewise.
20129 (getListSelectionListeners): Likewise.
20130 * javax/swing/JComboBox.java: Merged copyright year.
20131 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
20133 2004-01-26 Andrew Haley <aph@redhat.com>
20135 * javax/swing/table/JTableHeader.java: Extend JComponent
20137 2004-01-26 Kim Ho <kho@redhat.com>
20139 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
20142 2004-01-26 Kim Ho <kho@redhat.com>
20144 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
20146 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
20147 height and let the Layout Managers readjust anything that
20149 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20150 (moveLayout): New method. Shift everything in the Gtk
20151 layout in the Y direction by an offset.
20153 2004-01-26 David Jee <djee@redhat.com>
20155 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
20156 (handleEvent): Implemented. Handles PaintEvents.
20157 (paint): Implemented. Use GTK native methods to queue updates
20158 for this heavyweight peer.
20159 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
20160 (handleEvent): Removed.
20161 * java/awt/Component.java
20162 (paint): Implemented. Explictly paint the heavyweight peer.
20163 (update): Clear the background for heavyweight components.
20164 (paintAll): No need to call peer.paint() anymore.
20165 (processEvent): Don't process PaintEvents here. It's now done in
20166 the peer's handleEvent().
20167 (processPaintEvent): Removed.
20168 * java/awt/Container.java
20169 (paint): No need to call super.paint(). Visit heavyweight
20171 (update): Don't clear the background here. It's done in
20172 Component.update().
20173 (visitChildren): Added check to not recurse into Containers.
20174 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
20175 (filter_expose_event_handler): New method. Filter unwanted
20176 expose events while painting heavyweight peers.
20177 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
20178 New method. Connect filter and block pre_event_handler.
20179 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
20180 New method. Disconnect filter and unblock pre_event_handler.
20181 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
20182 New method. Invalidate and update given area.
20183 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
20184 (pre_event_handler): Add checks for unwanted expose events.
20186 2004-01-26 David Jee <djee@redhat.com>
20188 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
20189 (find_bg_color_widget): For GtkButton, return its child.
20191 2004-01-26 Kim Ho <kho@redhat.com>
20193 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
20195 (setMenuBar): Grab MenuBar height and change insets.
20196 (setBounds): Account for MenuBar height.
20197 (postInsetsChangedEvent): Ditto.
20198 (postSizeAllocateEvent): Remove.
20199 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20200 (menubar_resize_cb): Remove
20201 (setMenuBarPeer): Remove callback.
20202 (getMenuBarHeight): Use size requisition instead of
20205 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
20207 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
20208 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
20210 (setColumns): Remove FIXME -- peer will retrieve number of
20211 columns by calling getColumns.
20212 (setRows): Likewise for number of rows.
20213 (next_text_number): New field.
20214 (paramString): Fix param string.
20215 (generateName): New method.
20216 (getUniqueLong): New method.
20218 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
20220 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
20221 image observer of image loading status.
20222 (getImage (String)): Start image production.
20223 (getImage (URL)): Likewise.
20225 2004-01-25 Michael Koch <konqueror@gmx.de>
20227 * java/lang/Class.java: Imports reworked, reformated.
20228 (Class): Javadoc added.
20229 (forName): Likewise.
20230 (getClasses): Likewise.
20231 (getClassLoader): Likewise.
20232 (getComponentType): Likewise.
20233 (getConstructor): Likewise.
20234 (getConstructors): Likewise.
20235 (getDeclaredConstructor): Likewise.
20236 (getDeclaredClasses): Likewise.
20237 (getDeclaredConstructors): Likewise.
20238 (getDeclaredField): Likewise.
20239 (getDeclaredMethod): Likewise.
20240 (getDeclaredMethods): Likewise.
20241 (getDeclaringClass): Likewise.
20242 (getField): Likewise.
20243 (getInterfaces): Likewise.
20244 (getMethod): Likewise.
20245 (getMethods): Likewise.
20246 (getModifiers): Likewise.
20247 (getName): Likewise.
20248 (getResource): Likewise.
20249 (getResourceAsStream): Likewise.
20250 (getSigners): Likewise.
20251 (setSigners): Likewise.
20252 (getSuperclass): Likewise.
20253 (isArray): Likewise.
20254 (isAssignableFrom): Likewise.
20255 (isInstance): Likewise.
20256 (isInterface): Likewise.
20257 (isPrimitive): Likewise.
20258 (newInstance): Likewise.
20259 (getProtectionDomain): Likewise.
20260 (toString): Likewise.
20262 (initializeClass): Likewise.
20263 (finalize): Likewise.
20265 2004-01-24 Michael Koch <konqueror@gmx.de>
20267 * gnu/java/net/protocol/jar/Connection.java
20268 (hdrHash): Removed.
20270 (gotHeaders): Removed.
20271 (getHeaderField): Removed.
20272 (getHeaderFields): Removed.
20273 (getHeaderFieldKey): Removed.
20275 (getField): Removed.
20276 (getHeaders): Removed.
20278 2004-01-24 Michael Koch <konqueror@gmx.de>
20280 * Makefile.am: Added library version to gtk peer lib.
20281 * Makefile.in: Regenerated.
20283 2004-01-24 Michael Koch <konqueror@gmx.de>
20285 * java/util/zip/InflaterInputStream.java: Merged class documentation
20288 2004-01-21 Jakub Jelinek <jakub@redhat.com>
20290 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
20291 header. For __powerpc64__ provide the default-signal.h definitions
20293 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
20294 instead of the dummy definitions.
20295 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
20296 (powerpc64*-*): Remove with_libffi_default.
20297 Only add -mminimal-toc for 64-bit compilations.
20298 * configure.in: Use powerpc-signal.h on powerpc64 as well.
20299 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
20300 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
20301 * configure: Rebuilt.
20303 2004-01-23 Michael Koch <konqueror@gmx.de>
20305 * gnu/java/nio/FileLockImpl.java: Compile fixes.
20307 2004-01-23 Michael Koch <konqueror@gmx.de>
20309 * java/lang/VMClassLoader.java: Reworked imports.
20311 2004-01-23 Michael Koch <konqueror@gmx.de>
20313 * javax/swing/AbstractAction.java: Reformated.
20315 2004-01-23 Michael Koch <konqueror@gmx.de>
20317 * java/text/CollationElementIterator.java:
20318 (setText): New method.
20320 2004-01-23 Michael Koch <konqueror@gmx.de>
20322 * gnu/java/nio/FileLockImpl.java:
20323 Fixed filename in copyright.
20324 (released): Removed.
20325 (finalize): New method.
20326 * gnu/java/nio/natFileLockImpl.cc
20327 (releaseImpl): Implemented.
20328 * java/nio/channels/FileChannelImpl.java:
20330 (lock): Implemented.
20331 (lockImpl): New method.
20332 (tryLock): Implemented.
20333 (tryLockImpl): New method.
20334 * java/nio/channels/natFileChannelImpl.cc
20335 (lockImpl): New method.
20336 (tryLockImpl): New method.
20338 2004-01-23 Michael Koch <konqueror@gmx.de>
20340 * java/io/FileDescriptor.java
20341 (lock): New method.
20342 (tryLock): New method.
20343 (unlock): New method.
20344 * java/io/natFileDescriptorEcos.cc
20345 (lock): New method.
20346 (tryLock): New method.
20347 (unlock): New method.
20348 * java/io/natFileDescriptorPosix.cc
20349 (lock): New method.
20350 (tryLock): New method.
20351 (unlock): New method.
20352 * java/io/natFileDescriptorWin32.cc
20353 (lock): New method.
20354 (tryLock): New method.
20355 (unlock): New method.
20357 2004-01-23 Michael Koch <konqueror@gmx.de>
20359 * java/io/FileDescriptor.java
20360 (sync): Moved around, added javadoc.
20365 (setLength): Likewise.
20367 (getLength): Likewise.
20368 (getFilePointer): Likewise.
20370 (available): Likewise.
20371 (finalize): Likewise.
20373 2004-01-23 Michael Koch <konqueror@gmx.de>
20375 * javax/swing/AbstractAction.java: Reformated.
20376 (getPropertyChangeListeners): New method.
20377 * javax/swing/AbstractCellEditor.java: Reformated.
20378 (getCellEditorListeners): New method.
20379 * javax/swing/DefaultListSelectionModel.java
20380 (listenerList): New field.
20381 (listeners): Removed.
20382 (get_listeners): Removed.
20383 (addListSelectionListener): Rewritten.
20384 (removeListSelectionListener): Rewritten.
20385 (getListSelectionListeners): New method.
20386 (getListeners): New method.
20387 * javax/swing/JComboBox.java: Imports reworked.
20388 (addActionListener): Implemented.
20389 (removeActionListener): Implemented.
20390 (addItemListener): Implemented.
20391 (removeItemListener): Implemented.
20392 (addPopupMenuListener): Implemented.
20393 (removePopupMenuListener): Implemented.
20394 (getActionListeners): New method.
20395 (getItemListeners): New method.
20396 (getPopupMenuListeners): New method.
20398 2004-01-23 Michael Koch <konqueror@gmx.de>
20400 * gnu/java/net/protocol/http/Connection.java
20401 (connect): Don't initialize bufferedOutputStream if not needed.
20402 (sendRequest): Set property for content length if content is present.
20403 Write content only if present.
20404 (getOutputStream): Check if already connected, dont connect,
20405 initalize bufferedOutputStream if needed.
20407 2004-01-23 Michael Koch <konqueror@gmx.de>
20409 * java/io/FileDescriptor.java
20410 (in, out, err): Added javadoc.
20411 (static): Merged loading code.
20412 (fd, position): Moved around.
20414 2004-01-23 Michael Koch <konqueror@gmx.de>
20416 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
20419 2004-01-23 Michael Koch <konqueror@gmx.de>
20421 * java/lang/Class.java,
20422 java/lang/Object.java,
20423 java/lang/Thread.java: Merged copyright with classpath.
20425 2004-01-23 Michael Koch <konqueror@gmx.de>
20427 * java/io/FileDescriptor.java: Merged copyright with classpath to
20428 start merging this class.
20430 2004-01-22 Tom Tromey <tromey@redhat.com>
20433 * testsuite/libjava.lang/pr13107_2.xfail: New file.
20434 * testsuite/libjava.lang/pr13107_3.xfail: New file.
20435 * testsuite/libjava.lang/pr13107_3.java: New file.
20436 * testsuite/libjava.lang/pr13107_3.out: New file.
20437 * testsuite/libjava.lang/pr13107_2.java: New file.
20438 * testsuite/libjava.lang/pr13107_2.out: New file.
20439 * testsuite/libjava.lang/pr13107.java: New file.
20440 * testsuite/libjava.lang/pr13107.out: New file.
20441 * verify.cc (jsr_ptrs): Removed.
20442 (entry_points): Likewise.
20443 (struct subr_info): Likewise.
20444 (struct subr_entry_info): Likewise.
20445 (type_val::unused_by_subroutine_type): Likewise.
20446 (type::merge): Don't handle unused_by_subroutine_type.
20447 (type::print): Likewise.
20448 (state::flags): Removed.
20449 (state::subroutine): Likewise.
20450 (state::seen_subrs): Likewise.
20451 (state::NO_STACK): Likewise.
20452 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
20453 (state): Updated all methods.
20454 (state::clean_subrs): Removed.
20455 (state::state): Removed `ret_semantics' flag.
20456 (state::copy): Likewise.
20457 (state::add_subr): Removed.
20458 (state::enter_subroutine): Likewise.
20459 (type::set_return_address): New method.
20460 (handle_jsr_insn): Set return address on the type. Always
20461 invalidate PC after call.
20462 (check_nonrecursive_call): Removed.
20463 (~_Jv_BytecodeVerifier): Updated.
20464 (branch_prepass): Removed special handling of jsr.
20465 (note_branch_target): Likewise.
20466 (get_subroutine): Removed.
20467 (state::merge): Don't merge subroutines and don't handle
20468 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
20469 (state::note_variable): Removed.
20470 (state::is_unmerged_ret_state): Likewise.
20471 (state::print): Updated.
20472 (set_variable): Likewise.
20473 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
20474 and jsr_semantics arguments. Updated for new reverification
20476 (pop_jump): Rewrote.
20477 (construct_primitive_array_type): Updated.
20478 (state::next): Removed.
20479 (INVALID_STATE): New define.
20480 (state::INVALID): Removed.
20481 (state::NO_NEXT): New value.
20482 (state::pc, state::next): New fields.
20483 (state::get_pc): New method.
20484 (next_verify_pc): Removed.
20485 (next_verify_state): New field.
20486 (verify_instructions_0): Always check for falling off end.
20487 (linked): New type.
20488 (linked_utf8): Removed.
20489 (states): Changed type.
20490 (type::state_mergeable_p): New method.
20491 (state::state_mergeable_p): Likewise.
20492 (handle_ret_insn): Removed most code.
20493 (state::reverify): New method.
20494 (add_new_state): Likewise.
20495 (state::set_pc): Likewise.
20497 2004-01-22 Jeff Sturm <jsturm@one-point.com>
20500 * testsuite/libjava.compile/PR13733.java: New file.
20501 * testsuite/libjava.compile/PR13733.xfail: New file.
20503 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
20504 Michael Koch <konqueror@gmx.de>
20506 * javax/swing/table/DefaultTableCellRenderer.java
20507 (DefaultTableCellRenderer): Added javadoc for the class and for
20508 the constructor, Border instance, create an EmptyBorder.
20509 (UIResource): Removed the comment at the end of the class
20510 (setForeground): New method.
20511 (setBackground): New method.
20512 (updateUI): New method.
20513 (getTableCellRendererComponent): Rewritten with the help of
20514 dvholten and Stephane Meslin-Weber.
20515 (validate): New method.
20516 (repaint): New method.
20517 (firePropertyChange): New method.
20518 (setValue): New method.
20520 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
20522 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20523 (connectJObject): Replace printf calls with g_assert statements.
20524 Move property-notify-event signal connection to ...
20525 (connectSignals): Connect property-notify-event signal. Iterate
20526 through the vbox's children to find layout.
20528 2004-01-22 Graydon Hoare <graydon@redhat.com>
20530 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
20531 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
20532 Predicate static initialization on GtkToolkit.useGraphics2D().
20533 * java/awt/Component.java (processPaintEvent): Consume event.
20534 * javax/swing/AbstractButton.java: Reimplement, document.
20535 * javax/swing/DefaultButtonModel.java: Reimplement, document.
20536 * javax/swing/JComponent.java (paint): Use double buffer.
20537 (listenerList): Enable member.
20538 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
20539 * javax/swing/JToggleButton.java
20540 (JToggleButton): Modify model constructor.
20541 * javax/swing/SwingUtilities.java
20542 (layoutCompoundLabel): Adjust arithmetic.
20543 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
20544 * javax/swing/plaf/basic/BasicGraphicsUtils.java
20545 (getPreferredButtonSize): Include margins in calculation.
20546 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20547 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
20548 Receive up events from subordinate layout component.
20550 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
20552 * java/awt/Component.java (show): Set visible to true before
20555 2004-01-21 Kim Ho <kho@redhat.com>
20557 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
20559 (removeMenuBarPeer): Make package private.
20560 (setMenuBarPeer): Make package private.
20561 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20562 (menubar_resize_cb): Mark attributes unused.
20563 (getMenuBarHeight): ditto.
20565 2004-01-21 David Jee <djee@redhat.com>
20567 * java/awt/Container.java
20568 (LightweightDispatcher.handleEvent): Add an extra check to avoid
20569 dispatching MOUSE_ENTERED event twice. Translate the point for
20570 the mouse event target before dispatching the event.
20572 2004-01-20 Jakub Jelinek <jakub@redhat.com>
20574 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
20575 lib_org_w3c_dom_la_LDFLAGS): New.
20576 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
20577 * Makefile.in: Rebuilt.
20579 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
20581 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
20582 Calculate proper offsets for heavyweight components packed in
20583 lightweight containers.
20585 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
20586 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
20587 (native create): Add width parameter.
20588 (create): Calculate text entry width based on current font's
20589 metrics and number of columns. Set TextField's font if not
20590 already set. Call native create.
20591 (gtkEntryGetBorderWidth): New native method.
20592 (gtkEntryGetSize): Remove method.
20593 (getMinimumSize): Call minimumSize.
20594 (getPreferredSize): Call preferredSize.
20595 (minimumSize): Calculate minimum size based on backing
20596 GtkEntry's borders, font metrics and number of columns.
20597 (preferredSize): Likewise for preferred size.
20598 (get_border_width): New static function.
20600 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
20601 Override GtkWindowPeer's setResizable method to account for menu
20602 bar height when setting the frame's size.
20604 2004-01-19 Matthias Klose <doko@debian.org>
20606 * libtool-version: Increased `current' to 6.
20608 2004-01-19 Kim Ho <kho@redhat.com>
20610 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20611 (connectJObject): Iterate through the vbox's children to find layout.
20613 2004-01-19 Fernando Nasser <fnasser@redhat.com>
20615 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
20616 isDispatchThread method to replace wrong test condition.
20618 2004-01-19 Fernando Nasser <fnasser@redhat.com>
20620 * java/awt/EventQueue.java (pop): Prevent racing condition to add
20621 events to the queue out of order by acquiring locks in the proper
20622 order and not by releasing one before acquiring the other.
20624 2004-01-19 Fernando Nasser <fnasser@redhat.com>
20626 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
20627 visible so that dialog can be reused.
20629 2004-01-19 Fernando Nasser <fnasser@redhat.com>
20631 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
20632 events may be handled by any queue in the stack.
20634 2004-01-19 Kim Ho <kho@redhat.com>
20636 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
20637 MenuBarPeer parameter.
20638 (removeMenuBarPeer): New native method.
20639 (setMenuBar): Call remove if menu bar is null. Adjust insets
20641 (postSizeAllocateEvent): New method. Called when menu bar size is
20642 allocated. Adjust insets and redo layout.
20643 (GtkFramePeer): Set menu bar during frame creation.
20644 (postConfigureEvent): Adjust position and size to accomodate
20646 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
20647 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
20648 (addNotify): Create the peer if it doesn't exist and call addNotify
20649 for the menu's items.
20650 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
20651 * java/awt/MenuItem.java (addNotify): Create the peer if it
20653 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20654 (removeMenuBarPeer): New method. Remove menu bar on the current
20656 (setMenuBarPeer): Add the menu bar to the current frame and the
20657 callback for size-allocate events on the menu bar.
20658 (getMenuBarHeight): Add menu bar parameter.
20659 (menubar_resize_cb): New callback method for postSizeAllocate events.
20661 Also: Fix indentation on last ChangeLog entry.
20663 2004-01-16 Kim Ho <kho@redhat.com>
20665 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
20666 (gtkWidgetGetDimensions): Remove.
20667 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20668 (gtkWidgetGetDimensions): Remove.
20670 2004-01-16 Tom Tromey <tromey@redhat.com>
20672 * java/awt/Container.java: Typo and indentation fixes.
20674 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
20675 * java/lang/natVMClassLoader.cc: ...here. New file.
20676 * Makefile.in: Rebuilt.
20677 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
20679 2004-01-16 Fernando Nasser <fnasser@redhat.com>
20681 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
20682 Discard GDK_ENTER_NOTIFY related to ungrabs.
20684 2004-01-16 Fernando Nasser <fnasser@redhat.com>
20686 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
20687 is called for an intermediate queue.
20689 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
20691 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20692 (window_property_changed_cb): Set id_set.
20694 2004-01-16 Kim Ho <kho@redhat.com>
20696 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
20697 it is a FileDialog and has dimensions of 0 by 0, then the initial
20698 size is set to size request plus insets.
20699 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
20700 (gtkWidgetGetDimensions): Override method.
20701 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20702 (gtkWidgetGetDimensions): Override method. Returns size request plus
20705 2004-01-16 Andrew Haley <aph@redhat.com>
20707 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
20708 * sysdep/i386/locks.h: Likewise.
20710 2004-01-16 Fernando Nasser <fnasser@redhat.com>
20712 * java/awt/EventDispatchThread.java (run): Stop running when
20714 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
20715 Reset the queue after transferring its contents.
20716 (push): Start a new dispatch thread if none is running.
20718 2004-01-16 Olga Rodimina <rodimina@redhat.com>
20720 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
20721 (doPolygon): set fill rule of polygon to
20722 WIND_EVEN_ODD by default.
20724 2004-01-15 Olga Rodimina <rodimina@redhat.com>
20726 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
20727 Implemented rendering hints related methods.
20728 (getDefaultHints): New helper method. Returns
20729 default rendering hints.
20730 (walkPath): changed to normalize path if
20731 the KEY_STROKE_CONTROL key is in "normalize" mode.
20732 (draw3DRect): changed coordinates of rectangle by +0.5
20733 if in "normalize" mode.
20735 2004-01-15 Tom Tromey <tromey@redhat.com>
20737 * Makefile.in: Rebuilt.
20738 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
20739 (%.lo: %.java) Filter out StackTrace.lo.
20741 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
20743 * configure.in: Add in AC_PREREQ(2.13)
20744 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
20747 2004-01-14 Nathan Bryant <nbryant@optonline.net>
20748 Tom Tromey <tromey@redhat.com>
20751 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
20752 array to superclass.
20753 (init): Changed interface; add URLs here.
20754 (initialize): New static method.
20755 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
20756 (_Jv_RunMain): ... not here.
20758 2004-01-14 Michael Koch <konqueror@gmx.de>
20760 * java/text/MessageFormat.java:
20761 Added descriptions to exceptions.
20762 This fixes PR libgcj/2429.
20764 2004-01-13 Fernando Nasser <fnasser@redhat.com>
20766 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
20767 (push): Make sure push is performed at the top of the thread stack.
20769 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
20771 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
20772 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
20773 (native create): Add width and height parameters. Set text
20774 view's size request according to new parameters.
20775 (create): Calculate text view size based on current font's
20776 metrics and number of rows and columns. Set TextArea's font if
20777 not already set. Call native create.
20778 (getMinimumSize): Call minimumSize.
20779 (getPreferredSize): Call preferredSize.
20780 (getHScrollbarHeight): New method.
20781 (getVScrollbarWidth): New method.
20782 (minimumSize): Calculate minimum size based on scrollbar
20783 visibility, scrollbar sizes, font metrics and number of rows and
20785 (preferredSize): Likewise for preferred size.
20786 (gtkTextGetSize): Remove method.
20788 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
20790 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
20791 (initializeInsets): Remove method.
20792 (GtkComponentPeer): Initialize insets field. Remove call to
20794 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
20796 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
20798 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
20799 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
20800 (latestInsets): Remove field.
20801 (native create): Add insets parameter. Call
20802 window_get_frame_extents. Set the window's default size and
20803 size request based on its frame extents.
20804 (create): Initialize insets.
20805 (postInsetsChangedEvent): New method.
20806 (postConfigureEvent): Remove parameters top, left, bottom,
20807 right. Remove insets-related logic.
20808 (connectJObject): Handle property-notify-event.
20809 (window_get_frame_extents, request_frame_extents,
20810 property_notify_predicate, window_property_changed_cb): New
20812 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
20813 (pre_event_handler): Remove insets-related logic for configure
20815 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
20816 Update postConfigureEvent signature.
20818 2004-01-13 Fernando Nasser <fnasser@redhat.com>
20820 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
20821 to handle Window "Closing" events.
20823 2004-01-13 David Jee <djee@redhat.com>
20825 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
20826 (setBackground): New method. Children with no explicitly-set
20827 background will be repainted with the parent container's new
20830 2004-01-13 David Jee <djee@redhat.com>
20832 * Makefile.am: Add BitwiseXORComposite.java.
20833 * Makefile.in: Regenerated.
20834 * gcj/Makefile.in: Regenerated.
20835 * include/Makefile.in: Regenerated.
20836 * testsuite/Makefile.in: Regenerated.
20838 2004-01-12 Fernando Nasser <fnasser@redhat.com>
20840 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
20841 not show modal dialogs twice and so that it allows showing a modal
20842 dialog from another modal dialog.
20844 2004-01-12 Fernando Nasser <fnasser@redhat.com>
20846 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
20847 and run secondary dispatch thread to process event queue while this
20850 2004-01-12 Graydon Hoare <graydon@redhat.com>
20852 * gnu/java/awt/gtk/GdkGraphics2D.java
20853 (static): Check GtkToolkit before initializing static state.
20854 (Graphics2D): Don't construct transform with 0.5 unit offset.
20856 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
20858 * gnu/java/awt/BitwiseXORComposite.java: Add.
20859 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
20860 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
20861 (BitwiseXORComposite): Remove inner class.
20863 2004-01-11 Michael Koch <konqueror@gmx.de>
20865 * gnu/java/lang/reflect/TypeSignature.java
20866 (getEncodingOfClass): Documentation fixed.
20867 (getClassForEncoding): Give class loader to Class.forName().
20868 Documentation fixed.
20870 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
20872 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
20874 2004-01-11 Michael Koch <konqueror@gmx.de>
20876 * javax/swing/undo/StateEditable.java
20877 (RCSID): Removed redundant modifiers.
20879 2004-01-10 Michael Koch <konqueror@gmx.de>
20881 * javax/print/attribute/EnumSyntax.java
20882 (getStringTable): Made protected.
20883 (getEnumValueTable): Likewise.
20884 * javax/print/attribute/standard/JobKOctetsProcessed.java
20885 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
20886 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
20887 (JobMediaSheetsCompleted): Made class final.
20888 * javax/print/attribute/standard/OutputDeviceAssigned.java
20889 (getName): Fixed typo.
20890 * javax/print/attribute/standard/RequestingUserName.java
20891 (serialVersionUID): Fixed value.
20893 2004-01-10 Michael Koch <konqueror@gmx.de>
20895 * javax/swing/plaf/basic/BasicButtonUI.java,
20896 javax/swing/plaf/basic/BasicCheckBoxUI.java,
20897 javax/swing/plaf/basic/BasicListUI.java,
20898 javax/swing/plaf/basic/BasicOptionPaneUI.java,
20899 javax/swing/plaf/basic/BasicPanelUI.java,
20900 javax/swing/plaf/basic/BasicRadioButtonUI.java,
20901 javax/swing/plaf/basic/BasicScrollPaneUI.java,
20902 javax/swing/plaf/basic/BasicToggleButtonUI.java,
20903 javax/swing/plaf/basic/BasicViewportUI.java:
20904 Fixed import statements.
20906 2004-01-10 Michael Koch <konqueror@gmx.de>
20908 * gnu/java/awt/image/ImageDecoder.java
20909 (produce): Made public.
20910 * gnu/java/awt/peer/GLightweightPeer.java,
20911 gnu/java/awt/peer/gtk/GtkToolkit.java:
20914 2004-01-10 Michael Koch <konqueror@gmx.de>
20916 * javax/swing/JRadioButtonMenuItem.java,
20917 javax/swing/JSeparator.java,
20918 javax/swing/JSplitPane.java,
20919 javax/swing/JTextPane.java,
20920 javax/swing/JToolBar.java,
20921 javax/swing/ListCellRenderer.java,
20922 javax/swing/ListModel.java,
20923 javax/swing/MenuElement.java,
20924 javax/swing/OverlayLayout.java,
20925 javax/swing/ProgressMonitor.java,
20926 javax/swing/ProgressMonitorInputStream.java,
20927 javax/swing/Renderer.java,
20928 javax/swing/RootPaneContainer.java,
20929 javax/swing/Scrollable.java,
20930 javax/swing/SingleSelectionModel.java,
20931 javax/swing/ToolTipManager.java,
20932 javax/swing/ViewportLayout.java,
20933 javax/swing/event/DocumentEvent.java,
20934 javax/swing/event/SwingPropertyChangeSupport.java,
20935 javax/swing/event/TreeSelectionEvent.java,
20936 javax/swing/event/UndoableEditEvent.java,
20937 javax/swing/text/AbstractDocument.java,
20938 javax/swing/text/AttributeSet.java,
20939 javax/swing/text/Caret.java,
20940 javax/swing/text/ComponentView.java,
20941 javax/swing/text/DefaultCaret.java,
20942 javax/swing/text/DefaultEditorKit.java,
20943 javax/swing/text/Document.java,
20944 javax/swing/text/EditorKit.java,
20945 javax/swing/text/GapContent.java,
20946 javax/swing/text/Keymap.java,
20947 javax/swing/text/MutableAttributeSet.java,
20948 javax/swing/text/PlainEditorKit.java,
20949 javax/swing/text/Segment.java,
20950 javax/swing/text/Style.java,
20951 javax/swing/text/StyledDocument.java,
20952 javax/swing/text/StyledEditorKit.java,
20953 javax/swing/text/TextAction.java,
20954 javax/swing/text/View.java: Fixed import statements.
20956 2004-01-08 Graydon Hoare <graydon@redhat.com>
20958 * javax/swing/JLayeredPane.java: Rewrite to accomodate
20959 djee@redhat.com's recent inverse ordering of Container elements.
20961 2004-01-09 Michael Koch <konqueror@gmx.de>
20963 * gnu/java/lang/ArrayHelper.java
20964 (equalsArray): Removed.
20966 2004-01-09 Andrew Haley <aph@redhat.com>
20968 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
20969 a Utf8Const field before looking at its class.
20971 2004-01-09 Michael Koch <konqueror@gmx.de>
20973 * javax/print/attribute/standard/DocumentName.java,
20974 javax/print/attribute/standard/JobHoldUntil.java,
20975 javax/print/attribute/standard/JobMessageFromOperator.java,
20976 javax/print/attribute/standard/JobName.java,
20977 javax/print/attribute/standard/JobOriginatingUserName.java,
20978 javax/print/attribute/standard/OutputDeviceAssigned.java,
20979 javax/print/attribute/standard/PrinterInfo.java,
20980 javax/print/attribute/standard/PrinterLocation.java,
20981 javax/print/attribute/standard/PrinterMakeAndModel.java,
20982 javax/print/attribute/standard/PrinterMessageFromOperator.java,
20983 javax/print/attribute/standard/PrinterName.java,
20984 javax/print/attribute/standard/RequestingUserName.java: New files.
20985 * Makefile.am (javax_source_files): Added new files.
20986 * Makefile.in: Regenerated.
20988 2004-01-09 Michael Koch <konqueror@gmx.de>
20990 * javax/swing/AbstractAction.java,
20991 javax/swing/AbstractSet.java,
20992 javax/swing/Action.java,
20993 javax/swing/ActionMap.java,
20994 javax/swing/BoundedRangeModel.java,
20995 javax/swing/ButtonModel.java,
20996 javax/swing/CellEditor.java,
20997 javax/swing/CellRendererPane.java,
20998 javax/swing/ComboBoxEditor.java,
20999 javax/swing/DebugGraphics.java,
21000 javax/swing/DefaultCellEditor.java,
21001 javax/swing/DefaultCellRenderer.java,
21002 javax/swing/DefaultComboBoxModel.java,
21003 javax/swing/DefaultDesktopManager.java,
21004 javax/swing/DefaultFocusManager.java,
21005 javax/swing/DefaultListCellRenderer.java,
21006 javax/swing/Icon.java,
21007 javax/swing/JButton.java,
21008 javax/swing/JCheckBoxMenuItem.java,
21009 javax/swing/JDesktopPane.java,
21010 javax/swing/JEditorPane.java,
21011 javax/swing/JMenu.java,
21012 javax/swing/JPanel.java,
21013 javax/swing/JPasswordField.java,
21014 javax/swing/JPopupMenu.java,
21015 javax/swing/JProgressBar.java: Reworked imports.
21017 2004-01-09 Michael Koch <konqueror@gmx.de>
21019 * java/awt/geom/PathIterator.java
21020 (WIND_EVEN_ODD): Removed redundant modifiers.
21021 (WIND_NON_ZERO): Likewise.
21022 (SEG_MOVETO): Likewise.
21023 (SEG_LINETO): Likewise.
21024 (SEG_QUADTO): Likewise.
21025 (SEG_CUBICTO): Likewise.
21026 (SEG_CLOSE): Likewise.
21027 * java/awt/image/SinglePixelPackedSampleModel.java:
21028 Removed redundant semicolon.
21029 * java/io/ObjectInputStream.java
21030 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
21031 * java/util/logging/Filter.java
21032 (isLoggable): Removed redundant modifier.
21033 * java/util/logging/LogManager.java:
21034 Removed redundant semicolon.
21035 * java/util/logging/XMLFormatter.java
21036 (format): Removed unused variable "key".
21038 2004-01-08 Fernando Nasser <fnasser@redhat.com>
21040 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
21041 New name for the former setFile native method.
21042 (setFile): New method.
21043 (setDirectory): Implemented.
21044 (connectSignals): New native method.
21045 (setFilenameFilter): Improve comment.
21046 (getGraphics): Comment.
21047 (gtkHideFileDialog): New method.
21048 (gtkDisposeFileDialog): New method.
21049 (gtkSetFilename): New method.
21050 * java/awt/Dialog.java (show): Block on modal dialogs, but only
21051 for FileDialog for now.
21052 (hide): New method.
21053 (dispose): New method.
21054 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
21055 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
21056 deprecated creation functions. Make dialog modal. Add it to the
21058 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
21060 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
21062 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
21064 (window_closed): New function.
21065 (ok_clicked): New function.
21066 (cancel_clicked): New function.
21068 2004-01-08 Michael Koch <konqueror@gmx.de>
21070 * javax/swing/JLayeredPane.java: Revert changes to standard
21071 boilerplate, reworked imports.
21073 2004-01-07 Tom Tromey <tromey@redhat.com>
21076 * verify.cc (state::merge): Copy changed locals out of subroutine
21078 (state::FLAG_CHANGED): New const.
21079 (state::FLAG_UNUSED): Likewise.
21080 (state::local_changed): Removed. Updated all users.
21081 (state::flags): New field.
21082 (state::merge): Added jsr_semantics argument, more logic.
21083 (push_jump_merge): Added jsr_semantics argument.
21084 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
21085 merging through the jsr instruction.
21087 2004-01-07 Tom Tromey <tromey@redhat.com>
21089 * scripts/MakeDefaultMimeTypes.java: Use \n, not
21092 2004-01-07 Graydon Hoare <graydon@redhat.com>
21094 * java/awt/Container.java (LightweightDispatcher): Implement.
21095 (visitChild): Reuse graphics object.
21096 (dispatchEventImpl): Optionally dispatch to lightweight.
21097 (addNotifyContainerChildren): Build LightweightDispatcher.
21099 2004-01-07 David Jee <djee@redhat.com>
21101 * java/awt/Container.java
21102 (update): Clear only the clipped region, instead of clearing the
21104 (visitChildren): Visit children in descending order.
21106 2004-01-07 Michael Koch <konqueror@gmx.de>
21108 * java/lang/reflect/Array.java: Merged documentation with classpath.
21110 2004-01-07 Michael Koch <konqueror@gmx.de>
21112 * java/text/CollationElementIterator.java
21113 (textIndex): Renamed from index.
21114 * java/text/CollationKey.java
21115 (collator): New member.
21116 (CollationKey): New argument for parent collator.
21117 (equals): Check for same collator, source string and key array.
21118 * java/text/RuleBasedCollator.java:
21120 (RuleBasedCollator): Don't re-initialize frenchAccents with default
21122 (getCollationElementIterator): Rewritten.
21123 (getCollationKey): Added new argument to CollationKey constructor.
21125 2004-01-07 Michael Koch <konqueror@gmx.de>
21127 * gnu/java/nio/DatagramChannelImpl.java
21128 (blocking): Removed.
21129 (DatagramChannelImpl): Call configureBlocking().
21130 (implConfigureBlocking): Dont initialize blocking.
21131 * gnu/java/nio/ServerSocketChannelImpl.java
21132 (blocking): Removed.
21133 (ServerSocketChannelImpl): Call configureBlocking().
21134 (implConfigureBlocking): Dont initialize blocking.
21135 * gnu/java/nio/SocketChannelImpl.java
21136 (blocking): Removed.
21137 (SocketChannelImpl): Call configureBlocking().
21138 (implConfigureBlocking): Dont initialize blocking.
21139 (connect): Use isBlocking().
21140 * java/nio/channels/spi/AbstractSelectableChannel.java
21141 (configureBlocking): Use blockingLock() instead of LOCK.
21142 Set blocking after successfully called implConfigureBlocking().
21143 (register): Use blockingLock() instead of LOCK.
21145 2004-01-07 Michael Koch <konqueror@gmx.de>
21147 * java/net/ServerSocket.java (isBound): Fixed documentation.
21149 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
21151 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
21152 (changeEvent): Create event object on demand.
21153 (DefaultBoundedRangeModel, toString, setValue, setExtent,
21154 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
21155 fireStateChanged): Re-written.
21156 * javax/swing/event/EventListenerList.java: Reformatted, document
21158 (toString): Implemented.
21159 (getListeners): Re-written.
21160 (remove): Re-written.
21162 (NO_LISTENERS): New singleton field.
21163 (listenerList): Declare as transient; document.
21164 (serialVersionUID): Document.
21165 (getListenerCount(Class)): More efficient implementation,
21166 also accepts null argument. Improve Javadoc.
21167 (getListenerCount()): Remove unnecessary cast; docfix.
21168 * javax/swing/undo/UndoableEditSupport.java:
21169 Re-format, document.
21170 (UndoableEditSupport): Set realSource field. Improve documentation.
21171 (_postEdit): Iterate over cloned listener vector.
21172 (toString): Don't emit realSource.
21173 (beginUpdate, endUpdate): Support nested updates.
21174 (postEdit): Use compound edit if present.
21176 2004-01-06 Graydon Hoare <graydon@redhat.com>
21178 * java/awt/Container.java (swapComponents): Add forgotten
21179 function, required for JLayeredPane change.
21181 2004-01-06 Michael Koch <konqueror@gmx.de>
21183 * java/text/CollationElementIterator.java: Reformated.
21184 (CollationElementIterator): Changed order of arguments.
21185 * java/text/RuleBasedCollator.java
21186 (RuleBasedCollator): Merged class documentation.
21187 (CollationElement): Added documentation.
21188 (compare): Reformated, renamed arguments.
21189 (equals): Likewise.
21190 (getCollationElementIterator): Likewise.
21191 (getCollationKey): Likewise.
21193 2004-01-06 Graydon Hoare <graydon@redhat.com>
21195 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
21197 2004-01-06 Michael Koch <konqueror@gmx.de>
21199 * gnu/java/net/protocol/file/Connection.java:
21200 Reformated copyright.
21201 (hdrHash): Removed.
21203 (gotHeaders): Removed.
21204 (getHeaderField): Removed.
21205 (getHeaderField): Removed.
21206 (getHeaderFieldKey): Removed.
21208 (getField): Removed.
21209 (getHeaders): Removed.
21211 2004-01-06 Michael Koch <konqueror@gmx.de>
21213 * javax/print/attribute/standard/DateTimeAtCompleted.java,
21214 javax/print/attribute/standard/DateTimeAtCreation.java,
21215 javax/print/attribute/standard/DateTimeAtProcessing.java,
21216 javax/print/attribute/standard/JobImpressionsCompleted.java,
21217 javax/print/attribute/standard/JobKOctets.java,
21218 javax/print/attribute/standard/JobKOctetsProcessed.java,
21219 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
21220 javax/print/attribute/standard/JobPrioritySupported.java: New files.
21221 * Makefile.am (javax_source_files): Added new files.
21222 * Makefile.in: Regenerated.
21224 2004-01-06 Michael Koch <konqueror@gmx.de>
21226 * java/net/URLConnection.java
21227 (contentHandler): Removed.
21229 (getHeaderFields): Return an empty map instead of null.
21230 (getContent): Connect if needed, renamed "cType" to "type" and
21231 "contentHandler" to "ch" and made it a local variable.
21232 (getPermission): Don't use package in class name.
21233 (setDefaultRequestProperty): Fixed typo in documentation.
21234 (initializeDateFormats): Made locale a local variable.
21236 2004-01-06 Michael Koch <konqueror@gmx.de>
21238 * java/lang/Package.java
21239 (getPackage): Get the current class loader directly.
21240 * java/lang/SecurityManager.java
21241 (currentLoadedClass): Dont iterate over class contexts.
21242 (classLoaderDepth): Don't check class loaders if everything is allowed.
21244 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
21246 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
21247 (pre_event_handler): Set all insets to 0 when a Configure event
21248 is received for a GtkPlug.
21249 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
21250 Make handle long, not int.
21251 (EmbeddedWindow()): New constructor.
21252 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
21254 (setHandle): New method.
21255 (getHandle): Return long, not int.
21256 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
21258 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
21259 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
21260 (create(long)): Take long parameter, not int. Cast gtk_plug_new
21261 argument to GdkNativeWindow.
21262 (construct): New method.
21263 (embed): New method.
21265 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
21266 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
21267 (create(int, int)): New method.
21268 (create): Call new create method.
21269 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
21271 (childResized): Remove native implementation. Implement in
21273 (getHScrollbarHeight, getVScrollbarWidth): Call
21274 gtk_widget_size_request to get scrollbar dimensions.
21275 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
21276 call getVScrollbarWidth and getHScrollbarHeight when vertical
21277 and horizontal scrollbars respectively are needed.
21278 (doLayout): Enlarge child if it is smaller than the viewport.
21280 2004-01-05 Fernando Nasser <fnasser@redhat.com>
21282 * java/awt/Dialog.java (constructor): Accept null title as per spec.
21283 * java/awt/FileDialog.java (constructor): Throw exception on invalid
21284 argument as per spec.
21286 2004-01-05 Fernando Nasser <fnasser@redhat.com>
21288 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
21290 (remove): Ditto. Also, Check for valid argument.
21291 (removeAll): Use peer interface method.
21292 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
21293 native add function.
21294 (nativeRemove): New name for native remove function.
21295 (getHistory): New native function.
21296 (constructor): Generate ItemEvent.
21297 (add): Ditto, if selection is changed.
21298 (remove): Ditto, ditto.
21299 (removeAll): Add implementation.
21300 (handleEvent): Remove. Dead code.
21301 (choicePostItemEvent): Add comment.
21302 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
21303 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
21304 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
21305 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
21306 comments and fix condition to change selection.
21307 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
21308 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
21309 remove all capability.
21310 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
21311 (item_activate): Add cast to remove compiler warning.
21313 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
21315 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
21316 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
21317 (getPreferredSize): Call preferredSize.
21318 (preferredSize): Call gtkWidgetGetPreferredDimensions.
21319 (getMinimumSize): Call minimumSize.
21320 (minimumSize): Call gtkWidgetGetPreferredDimensions.
21321 (gtkWidgetGetDimensions): Return the peer widget's current size
21323 (gtkWidgetGetPreferredDimensions): Return the peer widget's
21324 natural size request.
21326 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
21328 Thanks to Brian Gough <bjg@network-theory.com>
21329 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
21330 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
21332 2004-01-04 Matthias Klose <doko@debian.org>
21334 * aclocal.m4: Rebuilt using "aclocal -I .".
21335 * configure: Rebuilt.
21337 2004-01-03 Per Bothner <per@bothner.com>
21339 * java/util/Date.java (parse): Fix a number of problems.
21340 (skipParens): Remove no-longer-needed method.