* mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
[official-gcc.git] / libjava / ChangeLog
blob922f7cc228473dbe79e50babb001f5b228113823
1 2004-11-28  Mark Wielaard  <mark@klomp.org>
3         * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
4         XMLDecoder tests which currently don't compile.
6 2004-11-27  Andrew Haley  <aph@redhat.com>
8         * link.cc (ensure_class_linked): Conditionally compile
9         _Jv_IsInterpretedClass on INTERPRETER.
10         (print_class_loaded): Likewise.
11         (wait_for_state): Likewise.
12         * include/jvm.h (ROUND): Move to here from include/java-interp.h.
13         * include/java-interp.h (ROUND): Remove.
15 2004-11-25  Tom Tromey  <tromey@redhat.com>
17         * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
18         * java/lang/Class.h (_Jv_Linker): Declare.
19         (Class): Fix names of friends.
20         (_Jv_getInterfaceMethod): Declare.
22 2004-11-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
24         * testsuite/lib/libjava.exp (libjava_arguments): Add new global
25         variable libjava_ld_library_path.
26         (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
28 2004-11-25  Bryce McKinlay  <mckinlay@redhat.com>
30         * java/util/ResourceBundle.java (BundleKey): Don't implement
31         Cloneable.
32         (BundleKey.clone): Removed.
33         (getBundle): Copy BundleKey using constructor, not clone().
35 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
37         * configure: Regenerate for libtool reversion.
39 2004-11-25  Michael Koch  <konqueror@gmx.de>
41         * Makefile.am: Added most of javax.print again.
42         * Makefile.in: Regenerated.
44 2004-11-25  Michael Koch  <konqueror@gmx.de>
46         * Makefile.am: Added most of javax.print again.
47         * Makefile.in: Regenerated.
49 2004-11-24  Tom Tromey  <tromey@redhat.com>
51         * Merged gcj-abi-2-dev-branch to trunk.
53 2004-11-16  Tom Tromey  <tromey@redhat.com>
55         * include/java-interp.h (_Jv_DefineClass): Updated.
56         * java/lang/natVMClassLoader.cc (defineClass): Pass protection
57         domain to class reader.
58         * defineclass.cc (parse): Use print_class_loaded.
59         Include ProtectionDomain.h.
60         (_Jv_DefineClass): Added ProtectionDomain argument.
61         (_Jv_ClassReader): Likewise.
62         * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
63         * link.cc: Include CodeSource.h.
64         (print_class_loaded): New function.
65         (wait_for_state): Use it.
67 2004-11-16  Andrew Haley  <aph@redhat.com>
69         * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
71 2004-11-16  Andrew Haley  <aph@redhat.com>
73         * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
74         * configure.host: Define libgcj_ld_symbolic for Linux hosts.
75         * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
76         * configure: Regenerate.
77         * Makefile.in: Regenerate.      
79 2004-11-15  Andrew Haley  <aph@redhat.com>
81         * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
82         gc-allocated object.
84 2004-11-15  Andrew Haley  <aph@redhat.com>
86         * java/net/URLClassLoader.java
87         (URLLoader.getClassPath): New method.
88         (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
89         attribute and add URLs for each entry.
90         (JarURLLoader.classPath): New field.
91         (JarURLLoader.getClassPath): New method.
92         (addURLImpl): Scan through the list of extraUrls in the new
93         loader, adding them to our urlinfos.
94         (definePackage, findURLResource, findResources): Use
95         urlinfos.size(), not urls.size().
97 2004-11-11  Tom Tromey  <tromey@redhat.com>
99         * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
100         method.
101         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
102         linked.
103         (ensureSupersLinked): Declare.
104         * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
105         linked.
107 2004-11-10  Tom Tromey  <tromey@redhat.com>
109         * gij.cc (main): Treat -verbose the same as -verbose:class.
110         (help): Document -verbose and -verbose:class.
112         * link.cc (verbose_class_flag): Declare.
113         (wait_for_state): Print message when handling precompiled class.
114         * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
116 2004-11-09  Tom Tromey  <tromey@redhat.com>
118         * testsuite/libjava.lang/assign2.out: New file.
119         * testsuite/libjava.lang/assign2.java: New file.
121         * java/lang/natRuntime.cc (insertSystemProperties): Set
122         java.version to 1.4.2 and java.specification.version to 1.4.  Set
123         java.runtime.version.
125 2004-11-08  Tom Tromey  <tromey@redhat.com>
127         * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
128         supers installed.
129         * link.cc (verify_type_assertions): Don't link supers.
131         * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
132         * include/java-interp.h (class _Jv_InterpClass)
133         <_Jv_PrepareMissingMethods>: No longer `friend'.
134         * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
135         `friend'.
136         (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
137         _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
138         _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
139         _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
140         _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
141         * link.cc (search_method_in_class): Renamed from
142         _Jv_SearchMethodInClass.
143         (resolve_pool_entry): Updated.
145         * include/jvm.h (_Jv_CheckAssignment): Removed.
146         * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
148 2004-11-05  Tom Tromey  <tromey@redhat.com>
150         * link.cc (verify_type_assertions): Ensure classes have supers
151         linked.  Strip off array types first.
153 2004-11-05  Bryce McKinlay  <mckinlay@redhat.com>
155         * link.cc: Include VerifyError.h. 
156         (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
157         in the type assertion table.
158         * include/execution.h (_Jv_CompiledEngine::do_verify): Use
159         verify_type_assertions.
160         * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
161         * java/lang/Class.h (JV_ASSERT_END_OF_TABLE, 
162         JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
163         assertion code values.
164         (struct _Jv_TypeAssertion): Declare.
165         (assertion_table): New class field.
166         (verify): Remove class field.
168 2004-11-05  Andrew Haley  <aph@redhat.com>
170         * Makefile.am: Move jv_dbtool.java to
171         gnu/gcj/tools/gcj_dbtool/Main.java.
172         * Makefile.in: Rebuild.
173         * java/lang/VMCompiler.java: Rename property
174         "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
175         * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
176         jv_dbtool.java.
177         
178 2004-11-05  Andrew Haley  <aph@redhat.com>
180         * jv_dbtool.java (main): Allow the user to specify the size of the
181         database.  Display the capacity and the size.
182         (usage): Show the new option.
183                 
184 2004-11-04  Tom Tromey  <tromey@redhat.com>
186         * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
187         * link.cc (make_vtable): Use correct index when searching for
188         missing method's name.  Don't use `flags'.
189         (set_vtable_entries): Removed `flags' argument.  Don't recurse
190         into superclasses.
191         (link_symbol_table): Ensure target class method table is
192         complete.  Ensure target fields are laid out before entering
193         loop.
195         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
196         fix.
198         * interpret.cc (do_verify): Don't verify abstract methods.
200 2004-11-01  Tom Tromey  <tromey@redhat.com>
202         * link.cc (wait_for_state): Call verify_class.
204         * verify.cc (state::check_no_uninitialized_objects): Removed.
205         (push_jump): Updated.
206         (push_exception_jump): Likewise.
207         (handle_ret_insn): Likewise.
208         (handle_jsr_insn): Likewise.
210 2004-10-28  Andrew Haley  <aph@redhat.com>
212         * gnu/gcj/runtime/PersistentByteMap.java: New file.
213         * jv_dbtool.java: New file.
214         * Makefile.am (bin_PROGRAMS): Add jv-dbtool
215         (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
216         (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
217         * Makefile.in: Regenerate,
218         * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
219         Enumeration, StringTokenizer, Vector, PersistentByteMap.
220         (precompiledMapFiles): New variable.
221         (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
222         initialize precompiledMapFiles.
223         (compileClass): Look at the database of precompiled class files
224         before firing up gcj.
226         * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
228 2004-10-27  Andrew Haley  <aph@redhat.com>
230         * java/lang/VMCompiler.java (compileClass): try looking for
231         precompiledMapFiles.
232         * gnu/gcj/runtime/PersistentByteMap.java: New file.
234 2004-10-27  Tom Tromey  <tromey@redhat.com>
236         * link.cc (ensure_class_linked): Only resolve classes for
237         compiled classes.
238         (add_miranda_methods): Ensure interface supers are installed.
239         (resolve_pool_entry): Better error message.
241 2004-10-25  Tom Tromey  <tromey@redhat.com>
243         * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
245         * java/util/ResourceBundle.java (tryBundle): Use
246         Class.isAssignableFrom rather than catching ClassCastException.
248         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
249         exception if we hit EOF of `in'.
250         (read): Handle case where inflating returns -1.
252         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
253         initialize `iter'.
254         * gnu/java/text/SentenceBreakIterator.java
255         (SentenceBreakIterator): Don't initialize `iter'.
256         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
257         initialize `iter'.
258         * gnu/java/text/CharacterBreakIterator.java
259         (CharacterBreakIterator): Don't initialize `iter'.
260         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
261         constructor.
262         * java/text/BreakIterator.java: Updated documentation.
264 2004-10-20  Tom Tromey  <tromey@redhat.com>
266         * java/util/ResourceBundle.java (tryBundle): Also ignore
267         ClassCastException.
269 2004-10-18  Tom Tromey  <tromey@redhat.com>
271         * interpret.cc (do_post_miranda_hook): New method.
272         * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
273         New field.
274         (_Jv_CompiledEngine::do_post_miranda_hook): New method.
275         (_Jv_CompiledEngine): Initialize new field.
276         (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
277         (_Jv_InterpreterEngine): Initialize new field.
278         * link.cc (resolve_pool_entry): Put Miranda methods in target
279         class.
280         (ensure_method_table_complete): Call post_miranda_hook.
281         * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
282         aux_info.
283         * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
284         (parse): Set class' aux_info here.
286         * boehm.cc (_Jv_MarkObj): Mark `throws'.
288         * boehm.cc: Re-merged with trunk.
290 2004-10-18  Andrew Haley  <aph@redhat.com>
292         PR java/18036:
293         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
294         and correct logic used to find interpreter.
296 2004-10-13  Andrew Haley  <aph@redhat.com>
298         * interpret.cc (_Jv_InterpMethod::run): Initialize
299         _Jv_StartOfInterpreter.
300         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
301         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
302         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
303         _Unwind_FindEnclosingFunction to discover whether PC is within the
304         interpreter.
306 2004-10-13  Tom Tromey  <tromey@redhat.com>
308         * link.cc (find_iindex): Copy correct number of slots to new
309         ioffsets.
311 2004-10-12  Tom Tromey  <tromey@redhat.com>
313         * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
314         proc.
315         (gcj_loader_test_one): Use it.
316         (gcj_loader_run): Likewise.
318         * prims.cc: Don't include FirstThread.h.
320 2004-10-06  Tom Tromey  <tromey@redhat.com>
322         * link.cc (ensure_method_table_complete): Ensure superclass
323         Miranda methods installed.
325         * include/java-interp.h (class _Jv_JNIMethod): Added
326         JV_MARKOBJ_DECL as a friend.
327         * interpret.cc (ncode): Allocate jni_arg_types field with GC.
328         * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
329         interpreter method structures.  Mark jni_arg_types of JNI
330         methods.
332         * defineclass.cc (parse): Use JV_STATE_READ.
333         * java/lang/Class.h (JV_STATE_READ): New enum value.
335 2004-10-05  Tom Tromey  <tromey@redhat.com>
337         * link.cc (resolve_pool_entry): Add signature info to missing
338         method's information.
340         * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
341         * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
343 2004-10-04  Tom Tromey  <tromey@redhat.com>
345         * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
346         marking IDT.
348 2004-09-29  Tom Tromey  <tromey@redhat.com>
350         * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
351         resolve.cc.
352         * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
353         * jni.cc: Use _Jv_Linker.
354         * interpret.cc: Use _Jv_Linker.
355         * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
356         * java/lang/natClassLoader.cc: Use _Jv_Linker.
357         * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
358         * java/lang/Class.h: Use _Jv_Linker.
359         * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
360         * resolve.cc: Renamed ...
361         * link.cc: ... here.  Use _Jv_Linker.
362         * defineclass.cc (checkExtends): Use _Jv_Linker.
364 2004-09-17  Tom Tromey  <tromey@redhat.com>
366         * defineclass.cc (handleCodeAttribute): Don't reference
367         `deferred'.
368         (handleMethodsEnd): Likewise.
369         * include/java-interp.h (_Jv_MethodBase::deferred): Removed
370         field.
371         (_Jv_Defer_Resolution): Don't declare or define.
372         * interpret.cc (do_create_ncode): Don't resolve deferred method
373         pointers.
374         * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
375         * resolve.cc (link_symbol_table): No need to defer resolution.
377 2004-09-14  Tom Tromey  <tromey@redhat.com>
379         * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
380         (_Jv_MarkObj): Updated.
381         (_Jv_MarkArray): Likewise.
383         * include/jvm.h (StringClass): Removed.
384         * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
385         * interpret.cc (_Jv_InitField): Don't use StringClass.
386         * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
387         StringClass.
388         (rehash): Likewise
389         (intern): Likewise.
390         (_Jv_FinalizeString): Likewise.
391         (_Jv_NewStringUtf8Const): Likewise.
392         (equals): Likewise.
393         * prims.cc (JvConvertArgv): Don't use StringClass.
395         * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
396         * resolve.cc (ensure_fields_laid_out): Don't mention
397         COMPACT_FIELDS.
398         * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
399         * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
401         * java/lang/reflect/natField.cc (getType): Use resolve_field.
402         * java/lang/natVMClassLoader.cc (resolveClass): New native
403         implementation.
404         (linkClass0): Removed.
405         (markClassErrorState0): Likewise.
406         * java/lang/natClassLoader.cc: Include execution.h.  Moved class
407         preparation code to resolve.cc.
408         (_Jv_RegisterClassHookDefault): Set class's execution engine if
409         not already set.
410         (_Jv_FindClass): Use wait_for_state.
411         (_Jv_NewArrayClass): Likewise.  Simplified permissions setting.
412         * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
413         Moved interface table and class preparation code to resolve.cc.
414         (finalize): Rewrote.
415         (initializeClass): Simplified locking and class preparation.
416         * java/lang/VMClassLoader.java (linkClass0): Removed.
417         (markClassErrorState0): Likewise.
418         (resolveClass): Now native.
419         (transformException): New method.
420         * java/lang/Class.h (getSuperclass): Don't try to resolve super
421         reference.
422         (getInterface): Likewise.
423         (size): Likewise.
424         (set_state): New method.
425         (Class): Updated friend declarations.
426         (verify): Field now private.
427         (engine): New field.
428         * include/jvm.h (class _Jv_Resolver): New class declaration.
429         (_Jv_ResolveField): Removed declaration.
430         (_Jv_CheckAccessNoInit): Likewise.
431         (_Jv_isBinaryCompatible): Removed.
432         * include/java-interp.h (class _Jv_MethodBase): Updated friend
433         declarations.
434         (class _Jv_InterpMethod): Likewise.
435         (class _Jv_InterpClass): Likewise.
436         (class _Jv_JNIMethod): Likewise.
437         * include/execution.h: New file.
438         * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
439         (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
440         Register class after setting fields.
441         * resolve.cc: Include execution.h, VerifyError.h.  Moved
442         interpreter-specific code to interpret.cc.
443         (uaddr): New location.
444         (struct aligner): Likewise.
445         (ALIGNOF): Likewise.
446         (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
447         (INITIAL_IFACES_LEN): Likewise.
448         (null_idt): Likewise.
449         (_Jv_GetMethodString): Likewise.
450         (_Jv_ThrowNoSuchMethodError): Likewise.
451         (_Jv_abstractMethodError): Likewise.
452         (_Jv_Resolver::get_alignment_from_class): Renamed.
453         (_Jv_Resolver::resolve_field): Likewise.
454         (_Jv_Resolver::resolve_pool_entry): Likewise.
455         (_Jv_Resolver::resolve_class_ref): Likewise.
456         (_Jv_Resolver::prepare_constant_time_tables): Likewise.
457         (_Jv_Resolver::indexof): Likewise.
458         (_Jv_Resolver::get_interfaces): Likewise.
459         (_Jv_Resolver::generate_itable): Likewise.
460         (_Jv_Resolver::append_partial_itable): Likewise.
461         (_Jv_Resolver::find_iindex): Likewise.
462         (_Jv_Resolver::link_symbol_table): Likewise.
463         (_Jv_Resolver::link_exception_table): Likewise.
464         (_Jv_Resolver::layout_interface_methods): Likewise.
465         (_Jv_Resolver::layout_vtable_methods): Likewise.
466         (_Jv_Resolver::set_vtable_entries): Likewise.
467         (_Jv_Resolver::make_vtable): Likewise.
468         (_Jv_Resolver::ensure_fields_laid_out): Likewise.
469         (_Jv_Resolver::ensure_class_linked): Likewise.
470         (_Jv_Resolver::ensure_supers_installed): Likewise.
471         (_Jv_Resolver::add_miranda_methods): Likewise.
472         (_Jv_Resolver::ensure_method_table_complete): Likewise.
473         (_Jv_Resolver::verify_class): Likewise.
474         (_Jv_Resolver::wait_for_state): Likewise.
475         * prims.cc (_Jv_soleCompiledEngine): New global.
476         (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
477         (_Jv_CheckAccessNoInit): Removed.
478         * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
479         * interpret.cc: Include platform.h, ClassFormatError.h,
480         Modifier.h, execution.h.
481         (_Jv_soleInterpreterEngine): New global.
482         (compile): Use resolve_pool_entry.
483         (run): Likewise.
484         (_Jv_InitField): New location.
485         (skip_one_type): Likewise.
486         (get_ffi_type_from_signature): Likewise.
487         (_Jv_count_arguments): Likewise.
488         (init_cif): Likewise.
489         (ncode_closure): Likewise.
490         (ffi_closure_fun): Likewise.
491         (ncode): Likewise.
492         (throw_class_format_error): Likewise.
493         (throw_class_format_error): Likewise.
494         (_Jv_InterpreterEngine::do_verify): New method.
495         (_Jv_InterpreterEngine::do_create_ncode): Likewise.
496         (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
497         (_Jv_InterpreterEngine::do_resolve_method): Likewise.
498         * defineclass.cc: Include execution.h.
499         (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
500         engine.
501         (checkExtends): Ensure superclass has supers installed.
502         (_Jv_ClassNameSamePackage): Clarify usage constraints.
503         * boehm.cc (GC_enable, GC_disable): Declare at top of file.
504         (_Jv_MarkObj): Unconditionally mark vtable.  Mark interface
505         dispatch tables.
507 2004-09-13  Tom Tromey  <tromey@redhat.com>
509         * mauve-libgcj: List some classes we don't have.
511 2004-09-10  Andrew Haley  <aph@redhat.com>
513         * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
514         * java/lang/natClass.cc (initializeClass): Check itable.
515         (_Jv_getInterfaceMethod): New.
516         (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
517         Check that an interface method isn't called with invokevirtual.
519         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
520         super_meth is virtual.
522 2004-09-01  Tom Tromey  <tromey@redhat.com>
524         * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
525         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
526         _Jv_CheckAccessNoInit.
527         * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
528         * prims.cc (_Jv_CheckAccessNoInit): New method.
530         * java/lang/reflect/natMethod.cc (invoke): Check access against
531         declaring class, not object's class.
532         * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
533         argument.
534         (_Jv_LayoutVTableMethods): Perform checks of accessibility of
535         overridden method.
536         * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
537         argument.
539 2004-08-30  Andrew Haley  <aph@redhat.com>
541         * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
542         ClassNotFoundException.
543         Throw NoClassDefFoundError.
545         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
546         to klass->verify() from here ...
547         (_Jv_PrepareCompiledClass): ...and put it here.
549 2004-08-27  Andrew Haley  <aph@redhat.com>
551         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
552         klass->verify().
553         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
554         (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
556 2004-08-27  Tom Tromey  <tromey@redhat.com>
558         * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
559         friend.
560         * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
561         (_Jv_IsAssignableFromSlow): New function.
562         Include VerifyError.h.
563         * include/jvm.h (_Jv_CheckAssignment): Declare.
565 2004-08-18  Andrew Haley  <aph@redhat.com>
567         * java/lang/VMCompiler.java (loadSharedLibrary): Add className
568         argument.  Pass it to findClass instead of fileName.
569         (compileClass): Pass class name to loadSharedLibrary.
571 2004-06-22  Andrew Haley  <aph@redhat.com>
573         * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
575 2004-06-15  Andrew Haley  <aph@redhat.com>
577         * java/lang/natSystem.cc (getenv0): Don't assume environment
578         variable is Latin 1 coded.
580 2004-06-07  Andrew Haley  <aph@redhat.com>
582         * java/lang/System.java: (getenv0): New method.
583         (getenv): Add security check.  Do the right thing.
584         * java/lang/natSystem.cc (getenv0): New method.
586 2004-04-19    Andrew Haley  <aph@redhat.com>
588         * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
589         we destroy.
591         * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
592         is returned as an int in the range 0 to 255.
594 2004-08-13  Tom Tromey  <tromey@redhat.com>
596         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
597         class if it is interpreted.
599 2004-08-12  Tom Tromey  <tromey@redhat.com>
601         * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
602         * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
603         (Class::getSuperclass): Updated.
604         (Class::getInterfaces): Likewise.
605         (Class::size): Updated.
606         (_Jv_LayoutClass): Updated declaration.
607         * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
608         Synchronize on class.
609         (_Jv_LayoutClass): Changed interface.
610         (initializeClass): Updated.
611         (_Jv_LinkSymbolTable): Likewise.
613         * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
614         friend.
615         * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
616         _Jv_isBinaryCompatible.
617         * java/lang/natClass.cc (initializeClass): Use
618         _Jv_isBinaryCompatible.
619         (_Jv_LinkSymbolTable): Likewise.
620         * include/jvm.h (_Jv_isBinaryCompatible): New function.
622 2004-08-11  Tom Tromey  <tromey@redhat.com>
624         * gcj/javaprims.h: Regenerated.
625         * java/lang/natClassLoader.cc (getClassLoader0): Removed.
626         (_registerClass): Likewise.
627         * Makefile.in: Rebuilt.
628         * Makefile.am (core_java_source_files): Added VMCompiler.
629         * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
630         * java/lang/VMCompiler.java: New file.
631         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
632         `verbose' code.
633         (copyFile): Don't use fully-qualified name.
634         (h): Removed.
635         * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
636         (defineClass): Use VMCompiler.
637         * java/lang/ClassLoader.java (defineClass): Removed jit
638         compilation code and `verbose' code.
639         (getClassLoader0): Removed.
640         (_registerClass): Likewise.
641         (SharedLibHelpers): Removed.
643 2004-08-10  Tom Tromey  <tromey@redhat.com>
645         * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
646         URL)): New constructor.
647         (SoURLLoader): Likewise.
648         (JarURLLoader): Create SoURLLoader with override URL.
650 2004-08-10  Mark Wielaard  <mark@klomp.org>
652         * Makefile.in: Rebuilt.
653         * Makefile.am (interpret.lo): New rule.
655 2004-08-05  Andrew Haley  <aph@redhat.com>
657         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
658         aside for "GCJLIBS" in directory where jarfiles are loaded.     
659         (JarURLLoader.getClass): New method.
660         (JarURLLoader.toString):  New method.
661         (FileResource.toString):  New method.
662         * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
663         Remove "Duplicate class registration: " bug.
664         (_registerClass): New method.
665         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
666         (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
667         Add debugging.
668         (_Jv_LayoutClass): Use getSuperclass() rather than directly
669         accessing the field.
670         * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
671         (defineClass): Call gcj to JIT-compile a class.
672         (_registerClass): New method.
673         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
674         library name can refer to more than one loaded library, so use a
675         Set of SharedLibHelpers.
676         If a shared library is already loaded, take a copy.
677         (copyFile): New function.
679         * testsuite/libjava.compile/compile.exp: Force
680         -findirect-dispatch.
682         * java/security/BasicPermission.java: Remove bogus checks.
684         * java/lang/System.java (getenv0): New method.
685         * java/lang/natSystem.cc (getenv0): New method.
687 2004-05-24  Andrew Haley  <aph@redhat.com>
689         * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
691 2004-04-20  Bryce McKinlay  <mckinlay@redhat.com>
693         * Merged with HEAD as of 20040514. Diff against
694         gcj-abi-2-merge-20040514.
696 2004-04-16  Andrew Haley  <aph@redhat.com>
698         * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
699         _Jv_LayoutClass.
700         (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
701         (_Jv_PrepareCompiledClass): If we throw an exception during
702         preparation, restore state.
703         (ClassLoader::getClassLoader0): New method.
705         * java/lang/natClass.cc (get_alignment_from_class): Moved here
706         from resolve.cc.
707         (ALIGNOF): Use offsetof, not __alignof__.
708         (_Jv_ResolveClassRef): Resolve a reference to a class in a
709         constant pool.
710         (getInterfaces): Emit debug output if interface hasn't been
711         resolved.
712         (initializeClass): Call _Jv_LayoutClass.
713         (_Jv_LinkSymbolTable): Add debugging output.
714         (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
715         found.
716         (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
717         (_Jv_LinkSymbolTable): Pass the real class loader to
718         _Jv_FindClass.
719         (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
720         exception class.
721         (_Jv_LinkSymbolTable): Assert if we find a static field reference
722         to an interpreted class.
723         (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
724         superclass.
725         (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
726         resolve.cc.
727         
728         * java/lang/VMSecurityManager.java: Check for the system class
729         loader as well as loader != null.
730         
731         * java/lang/SecurityManager.java (checkPermission): Remove
732         security check.
733         (checkRead): Likewise.
734         (checkConnect): Likewise.
736         * java/lang/ClassLoader.java (loadClass): Include all class
737         loaders in stack trace string.
738         Look for class in "gcjlib.so" in the same directory.
739         (getSystemClassLoader) Use getClassLoader0.
740         (getClassLoader0): New native method.
742         * java/lang/Class.h (getSuperclass): New method.
743         (getInterface): New method.
744         (size): Lay out class if needed.
745         (firstMethodIndex): New method.
746         (Jv_ResolveClassRef): New declaration.
747         (_Jv_LinkSymbolTable): New declaration.
749         * java/io/ObjectOutputStream.java: Add DEBUG statements
750         everywhere.
751         (dumpElementln): New method.
752         (depth): New field.
753         * java/io/ObjectInputStream.java (MyIOException): new, for
754         debugging.
755         Everywhere: use MyIOException rather than IOException.
756         Indent debugging output to make nesting visible.
757         (currentClassLoader): Make native
758         (callersClassLoader): New field.
759         (depth): New field.
760         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
761         method.
762         
763         (readObject): ENDBLOCKDATA is generated if the class has a write
764         method, not if it has a read method.
766         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
768         * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
769         getContextClassLoader form the current thread after our own class
770         loader.
772         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
773         debugging.
774         (toString): New method.
776         * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
777         interfaces array.
779         * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
780         a constant pool entry, resolve it now.
781         (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
782         in natClass.cc.
783         Move get_alignment_from_class to natClass.cc.
785         * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
786         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
788         * defineclass.cc (checkExtends): Don't access superclass field
789         directly.
791         * Makefile.in: regenerate.
793         * gnu/gcj/util/natDebug.cc: New
794         * gnu/gcj/util/Debug.java: New.
796         * Makefile.am (java/io/ObjectInputStream.lo): Use
797         -fno-optimize-sibling-calls.
799         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
800         _Jv_LookupInterfaceMethodIdx to calculate the address of a method
801         in an interface.
802         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
804 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
806         * configure: Regenerate for libtool change.
808 2004-11-24  Michael Koch  <konqueror@gmx.de>
810         * gnu/java/security/PolicyFile.java: New file.
811         * Makefile.am: Added gnu/java/security/PolicyFile.java.
812         * Makefile.in: Regenerated.
814 2004-11-24  Michael Koch  <konqueror@gmx.de>
816         * java/lang/Character.java, scripts/unicode-blocks.pl:
817         Reorder "final static" to "static final".
819 2004-11-24  Michael Koch  <konqueror@gmx.de>
821         * java/util/ResourceBundle.java: Reformatted.
822         (tryBundle): Fixed javadoc.
824 2004-11-24  Jeroen Frijters  <jeroen@frijters.net>
826         * java/text/MessageFormat.java
827         (formatInternal): Made private.
829 2004-11-24  Michael Koch  <konqueror@gmx.de>
831         * java/nio/DirectByteBufferImpl.java
832         (ReadWrite.ReadWrite): New constructor.
833         (DirectByteBufferImpl): Likewise.
834         * jni.cc (_Jv_JNI_NewDirectByteBuffer):
835         Use DirectByteBufferImpl.ReadWrite.
836         * Makefile.am:
837         Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
838         * Makefile.in: Rgenerated.
840 2004-11-24  Jeroen Frijters  <address@bogus.example.com>
842         * java/nio/DirectByteBufferImpl.java
843         (ReadOnly): New inner subclass.
844         (ReadWrite): New inner subclass.
845         (owner): Made final and private.
846         (address): Made final.
847         (DirectByteBufferImpl(int)): New constructor.
848         (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
849         (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
850         (allocate): Modified to instantiate ReadWrite subclass.
851         (finalize): Fixed to only free the buffer, if we own it.
852         (put): Removed read-only check.
853         (slice, duplicate): Modified to instantiate appropriate subclass.
854         (isReadOnly): Removed.
855         * java/nio/MappedByteBufferImpl.java
856         (slice, duplicate): Modified to instantiate appropriate
857         DirectByteBufferImpl subclass.
859 2004-11-24  Michael Koch  <konqueror@gmx.de>
861         * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
862         * java/nio/DirectByteBufferImpl.java:
863         Moved native methods to java.nio.VMDirectByteBuffer class.
864         * java/nio/MappedByteBufferImpl.java:
865         Use native methods from java.nio.VMDirectByteBuffer class.
866         * java/nio/VMDirectByteBuffer.java: New file,
867         * java/nio/natDirectByteBufferImpl.cc:
868         Moved all methods into java.nio.VMDirectByteBuffer class.
869         * java/nio/channels/spi/AbstractSelectableChannel.java
870         (register): Only re-use valid keys.
871         * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
872         * Makefile.in: Regenerated.
874 2004-11-24  Michael Koch  <konqueror@gmx.de>
876         * java/nio/DirectByteBufferImpl.java,
877         java/nio/MappedByteBufferImpl.java:
878         Reformatted.
880 2004-11-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
882         * testsuite/lib/libjava.exp,
883         testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
885 2004-11-23  Richard Sandiford  <rsandifo@redhat.com>
887         * configure.host: Enable the interpreter for mips*-*-linux*.
889 2004-11-23  Michael Koch  <konqueror@gmx.de>
891         * java/lang/String.java (rehash): Removed.
892         * java/lang/natString.cc (rehash): Made static.
893         (_Jv_NewStringUtf8Const): Use static rehash method.
895 2004-11-23  Michael Koch  <konqueror@gmx.de>
897         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
898         include/Makefile.in, testsuite/Makefile.in: Regenerated.
900 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
902         PR target/18444
903         * configure.ac (threading): Accept 'posix95'.
904         * configure: Regenerate.
906 2004-11-22  Michael Koch  <konqueror@gmx.de>
908         * gnu/java/nio/SocketChannelImpl.java
909         (read): Made check for blocking un-ambiguous.
910         Removed wrong check for data array length.
912 2004-11-21  Michael Koch  <konqueror@gmx.de>
914         * gnu/java/nio/SocketChannelImpl.java
915         (read): Only return 0 when no bytes for reading available in
916         non-blocking mode.
917         * java/nio/channels/SocketChannel.java:
918         Added some missing @return tags.
920 2004-11-21  Michael Koch  <konqueror@gmx.de>
922         * java/beans/PropertyChangeSupport.java
923         (propertyChangeSupportSerializedDataVersion): Made static.
924         * java/beans/VetoableChangeSupport.java
925         (propertyChangeSupportSerializedDataVersion): Likewise.
927 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
929         * java/net/URLStreamHandler.java
930         (parseURL): Fixed file path canonicalisation.
932 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
934         * java/net/URLStreamHandler.java
935         (parseURL): Fixed file path canonicalisation.
937 2004-11-18  Michael Koch  <konqueror@gmx.de>
939         * java/net/URLClassLoader.java: Whitespace cleanup.
941 2004-11-18  Robert Schuster <address@bogus.example.com>
943         Complete 1.4 support
944         * java/beans/PropertyDescriptor.java:
945         (setReadMethod): New method
946         (setWriteMethod): New method
947         (equals): Implemented (1.4)
948         (checkMethods): operates on arguments now (private)
951 2004-11-18  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
953         * java/net/Inet6Address.java (getHostAddress): Fix textual
954         representation of IPv6 address with embedded zeroes
955         to conform to RFC 2373.
957 2004-11-18  Jeroen Frijters  <address@bogus.example.com>
959         * java/lang/StackTraceElement.java: Made final.
960         * java/nio/channels/Channels.java: Added private constructor.
961         * java/rmi/Naming.java: Added private constructor.
962         * java/rmi/registry/LocateRegistry.java: Added private constructor.
963         * java/rmi/server/RMIClassLoader.java: Added private constructor.
964         * java/security/KeyPairGeneratorSpi.java
965         (clone): Made protected and simplified implementation.
966         * java/text/DateFormat.java
967         (allFields): Made package accessible.
968         * java/text/DecimalFormat.java
969         (formatInternal): Made private.
970         * java/text/Format.java
971         (formatInternal): Made private.
972         * java/util/logging/Handler.java: Made constructor protected.
973         * java/util/regex/Matcher.java: Made final.
974         * java/util/regex/Pattern.java: Made final.
975         * javax/crypto/CipherInputStream.java
976         (mark): Corrected mark parameter type (from long to int).
977         * javax/crypto/ExemptionMechanism.java
978         (finalize): Added.
979         * javax/crypto/Mac.java
980         (getMacLength): Made final.
981         (clone): Made final.
982         * javax/imageio/ImageIO.java: Added private constructor.
983         * javax/imageio/stream/ImageInputStreamImpl.java
984         (checkClosed): Made final.
985         * javax/net/ssl/SSLPermission.java: Made final.
986         * javax/print/DocFlavor.java
987         (hostEncoding): Added work-around to prevent the field from being
988         a compile time constant.
989         * javax/print/attribute/AttributeSetUtilities.java: Added private
990         constructor.
991         (UnmodifiableDocAttributeSet): Made private.
992         (UnmodifiablePrintJobAttributeSet): Made private.
993         (UnmodifiablePrintRequestAttributeSet): Made private.
994         (UnmodifiablePrintServiceAttributeSet): Made private.
995         (SynchronizedAttributeSet): Made private.
996         (SynchronizedDocAttributeSet): Made private.
997         (SynchronizedPrintJobAttributeSet): Made private.
998         (SynchronizedPrintRequestAttributeSet): Made private.
999         (SynchronizedPrintServiceAttributeSet): Made private.
1000         * javax/security/auth/PrivateCredentialPermission.java: Made final.
1002 2004-11-18  Craig Black  <craig.black@aonix.com>
1004         * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
1006 2004-11-18  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
1008         * Makefile.am: Correct friend function declaration.
1009         * Makefile.in: Regenerated.
1010         * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
1011         scope to function names.  Declare functions directly.
1012         * libjava/java/lang/Class.h
1013         (java::lang::Class): Correct friend class declaration.
1014         (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
1015         scope.
1016         * libjava/java/lang/Class.h
1017         (java::lang::Object): Correct friend class declaration.
1019 2004-11-17  David Daney  <ddaney@avtrex.com>
1021         * java/io/BufferedInputStream.java (skip): Return zero on EOF.
1023 2004-11-17  Michael Koch  <konqueror@gmx.de>
1025         * java/net/Socket.java (getPort): Return 0 in error case.
1027 2004-11-17  Michael Koch  <konqueror@gmx.de>
1029         *  java/nio/DirectByteBufferImpl.java
1030         (owner): Updated comment.
1031         (allocate): New method.
1033 2004-11-17  Michael Koch  <konqueror@gmx.de>
1035         * java/net/URL.java (URL): Handle case when argument is null.
1037 2004-11-17  Michael Koch  <konqueror@gmx.de>
1039         * java/beans/Beans.java,
1040         java/beans/PropertyChangeEvent.java,
1041         java/beans/PropertyEditorSupport.java:
1042         Fixed javadocs.
1044 2004-11-17  Michael Koch  <konqueror@gmx.de>
1046         * java/util/Timer.java (DEFAULT_SIZE): Made static.
1048 2004-11-17  Michael Koch  <konqueror@gmx.de>
1050         * java/net/InetAddress.java (getCanonicalHostName):
1051         Support IPv6 addresses.
1053 2004-11-16  Michael Koch  <konqueror@gmx.de>
1055         * java/lang/Object.java: Added javadocs all over (merged from GNU
1056         classpath).
1058 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
1060         * java/security/Security.java (Security): Silence the warning about no
1061         providers found in the no debug case.
1063 2004-11-16  Michael Koch  <konqueror@gmx.de>
1065         * java/net/InetAddress.java
1066         (toString): Merged from GNU classpath.
1068 2004-11-16  Michael Koch  <konqueror@gmx.de>
1070         * java/awt/geom/doc-files/Area-1.png,
1071         java/awt/geom/doc-files/Ellipse-1.png,
1072         java/awt/geom/doc-files/GeneralPath-1.png:
1073         New files.
1075 2004-11-16  Michael Koch  <konqueror@gmx.de>
1077         * java/util/Currency.java (cache): Fix modifier order.
1079 2004-11-16  Michael Koch  <konqueror@gmx.de>
1081         * java/io/BufferedReader.java,
1082         java/io/FileInputStream.java,
1083         java/io/FileOutputStream.java,
1084         java/io/FileWriter.java,
1085         java/io/OutputStreamWriter.java,
1086         java/io/PipedInputStream.java,
1087         java/io/PipedOutputStream.java,
1088         java/io/PipedReader.java,
1089         java/io/PipedWriter.java,
1090         java/io/PrintStream.java,
1091         java/io/PushbackInputStream.java,
1092         java/io/RandomAccessFile.java,
1093         java/io/Reader.java,
1094         java/io/StreamTokenizer.java,
1095         java/io/StringReader.java,
1096         java/net/NetworkInterface.java,
1097         java/net/URLClassLoader.java,
1098         java/nio/ByteOrder.java,
1099         java/nio/channels/Channel.java:
1100         Fixed javadocs all over.
1102 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
1104         * Makefile.am: Add imported files.
1105         * Makefile.in: Regenerate.
1107         2004-10-24  Casey Marshall  <csm@gnu.org>
1109         * javax/security/auth/login/LoginContext.java: Implemented.
1110         * javax/security/auth/login/Configuration.java (getConfig): New method.
1111         * javax/security/auth/spi/LoginModule.java,
1112         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
1114 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
1116         Import/Merge the X.509 certificate code from Classpath.
1118         * Makefile.am: Add imported files.
1119         * Makefile.in: Regenerate.
1121         2004-11-07  Casey Marshall  <csm@gnu.org>
1123         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
1124         priviliged action. Add new algorithms.
1125         * gnu/java/security/provider/X509CertificateFactory.java
1126         (engineGenerateCertificate): Chain exceptions.
1127         (engineGenerateCertificates): Likewise.
1128         (engineGenerateCRL): Likewise.
1129         (engineGenerateCRLs): Likewise.
1130         (engineGenerateCertPath): New methods.
1131         (generateCert): Throw exception if 'inStream' is null.
1132         (generateCRL): Likewise.
1133         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
1134         version from GNU Crypto CVS.
1135         * gnu/java/security/x509/X509CRL.java: Likewise.
1136         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
1137         * gnu/java/security/x509/X509Certificate.java: Likewise.
1138         * java/security/cert/TrustAnchor.java: Call 'toString' and not
1139         toRFC2253.
1140         * gnu/java/security/provider/CollectionCertStoreImpl.java,
1141         * gnu/java/security/provider/EncodedKeyFactory.java,
1142         * gnu/java/security/provider/GnuDHPublicKey.java,
1143         * gnu/java/security/provider/GnuRSAPrivateKey.java,
1144         * gnu/java/security/provider/GnuRSAPublicKey.java,
1145         * gnu/java/security/provider/MD2withRSA.java,
1146         * gnu/java/security/provider/MD4withRSA.java,
1147         * gnu/java/security/provider/MD5withRSA.java,
1148         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
1149         * gnu/java/security/provider/RSA.java,
1150         * gnu/java/security/provider/RSAKeyFactory.java,
1151         * gnu/java/security/provider/SHA1withRSA.java,
1152         * gnu/java/security/x509/GnuPKIExtension.java,
1153         * gnu/java/security/x509/PolicyNodeImpl.java,
1154         * gnu/java/security/x509/Util.java,
1155         * gnu/java/security/x509/X509CRLSelectorImpl.java,
1156         * gnu/java/security/x509/X509CertPath.java,
1157         * gnu/java/security/x509/X509CertSelectorImpl.java,
1158         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
1159         * gnu/java/security/x509/ext/BasicConstraints.java,
1160         * gnu/java/security/x509/ext/CRLNumber.java,
1161         * gnu/java/security/x509/ext/CertificatePolicies.java,
1162         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
1163         * gnu/java/security/x509/ext/Extension.java,
1164         * gnu/java/security/x509/ext/GeneralNames.java,
1165         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
1166         * gnu/java/security/x509/ext/KeyUsage.java,
1167         * gnu/java/security/x509/ext/PolicyConstraint.java,
1168         * gnu/java/security/x509/ext/PolicyMappings.java,
1169         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
1170         * gnu/java/security/x509/ext/ReasonCode.java,
1171         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
1172         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
1174         2004-11-07  Casey Marshall  <csm@gnu.org>
1176         * gnu/java/security/x509/X509CRL.java:
1177         Missed import statements in previous checkin.
1179         2004-11-07  Casey Marshall  <csm@gnu.org>
1181         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
1182         to 'X509CertificateImpl' from previous checkin.
1184 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
1186         PR other/14264
1187         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
1189 2004-11-11  Casey Marshall  <csm@gnu.org>
1191         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
1192         channel is open.
1193         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
1194         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
1196 2004-11-11  Robert Schuster <thebohemian@gmx.net>
1198         Fixed regression:
1199         * gnu/java/beans/IntrospectionIncubator.java:
1200         (addMethod): Corrected classification of normal and property methods.
1201         (capitalize): Added documentation.
1202         (DoubleKey): [class] Added documentation.
1204 2004-11-09  Tom Tromey  <tromey@redhat.com>
1206         * include/jni.h: Added FIXME.
1208 2004-11-08  Tom Tromey  <tromey@redhat.com>
1210         * java/util/GregorianCalendar.java: Removed unused imports.
1211         * java/util/Vector.java: Removed unused import.
1213 2004-11-07  Michael Koch  <konqueror@gmx.de>
1215         * java/lang/Process.java:
1216         Import cleanups.
1218 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
1220         * java/util/zip/ZipEntry.java
1221         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
1223 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
1225         Fixes bug #10908
1226         * gnu/java/beans/IntrospectionIncubator.java:
1227         (addMethod): static methods are discarded now, too.
1229 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
1231         * java/util/GregorianCalendar.java
1232         Added/amended documentation.
1234 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
1236         * java/util/Collections.java
1237         Added documentation.
1238         * java/util/SortedMap.java
1239         Clarified some method examples.
1240         * java/util/SortedSet.java
1241         Clarified some method examples.
1243 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
1245         * java/util/Currency.java
1246         Documented variables and methods more fully.
1247         Caches the currency instances, so that a request
1248         for a locale, l, only ever returns the same
1249         instance (i.e. successive calls to getInstance(l)
1250         are reference equivalent (==)).
1252 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1254         * java/util/Date.java
1255         Added missing documentation.
1257 2004-11-06  Michael Koch  <konqueror@gmx.de>
1259         * java/util/zip/CheckedInputStream.java,
1260         java/util/zip/InflaterInputStream.java,
1261         java/util/zip/ZipFile.java,
1262         java/util/zip/ZipInputStream.java:
1263         Import cleanups.
1265 2004-11-06  Tom Tromey  <tromey@redhat.com>
1267         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
1268         package-private.
1269         (connections): Likewise.
1270         (scavenger): Likewise.
1271         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
1272         package-private.
1273         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
1274         package-private.
1275         (ptr): Likewise.
1276         * gnu/classpath/ServiceFactory.java (log): Now package-private.
1278 2004-11-06  Tom Tromey  <tromey@redhat.com>
1280         * javax/naming/directory/BasicAttributes.java (attributes): Now
1281         package-private.
1282         * javax/imageio/spi/ServiceRegistry.java (categories): Now
1283         package-private.
1285 2004-11-06  Tom Tromey  <tromey@redhat.com>
1287         * java/net/URLClassLoader.java (URLClassLoader): Now
1288         package-private.
1289         * java/nio/charset/CoderResult.java (CoderResult): Now
1290         package-private.
1291         (get): Likewise.
1292         (Cache): Likewise.  Don't synchronize on `this'.
1293         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
1294         package-private.
1295         * java/util/TimeZone.java (timezones): Now package-private.
1297 2004-11-06  Tom Tromey  <tromey@redhat.com>
1299         * java/security/Permissions.java (perms): Now package-private.
1300         * java/security/UnresolvedPermission.java (permissions): Now
1301         package-private.
1303 2004-11-06  Tom Tromey  <tromey@redhat.com>
1305         * java/io/FilePermission.java: Reindented.
1307 2004-11-06  Tom Tromey  <tromey@redhat.com>
1309         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
1310         package-private.
1311         (setBlockDataMode): Likewise.
1313 2004-11-06  Tom Tromey  <tromey@redhat.com>
1315         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
1316         package-private.
1317         (Encoder): Likewise.
1318         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
1319         (Encoder): Likewise.
1320         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
1321         package-private.
1322         (Encoder): Likewise.
1324 2004-11-06  Mark Wielaard  <mark@klomp.org>
1326         * Makefile.am: Add new javax.imageio files.
1327         * Makefile.in: Regenerated.
1329 2004-11-06  Michael Koch  <konqueror@gmx.de>
1331         * javax/imageio/event/IIOReadProgressListener.java,
1332         javax/imageio/event/IIOReadUpdateListener.java,
1333         javax/imageio/event/IIOReadWarningListener.java,
1334         javax/imageio/event/IIOWriteProgressListener.java,
1335         javax/imageio/event/IIOWriteWarningListener.java,
1336         javax/imageio/metadata/IIOMetadataFormat.java,
1337         javax/imageio/stream/FileCacheImageInputStream.java,
1338         javax/imageio/stream/FileCacheImageOutputStream.java,
1339         javax/imageio/stream/ImageInputStreamImpl.java:
1340         Import cleanup.
1341         * javax/imageio/metadata/package.html: New file.
1343 2004-11-06  Michael Koch  <konqueror@gmx.de>
1345         * javax/imageio/spi/ImageReaderSpi.java
1346         (isOwnReader): New method.
1347         * javax/imageio/spi/ImageWriterSpi.java
1348         (isOwnWriter): Likewise.
1350 2004-11-06  Michael Koch  <konqueror@gmx.de>
1352         * javax/imageio/ImageWriter.java
1353         (convertImageMetadata): New abstract method.
1354         (convertStreamMetadata): Likewise.
1355         (write): Likewise.
1356         * javax/imageio/stream/FileCacheImageInputStream.java
1357         (close): Fixed setting of stream to null.
1358         (checkStreamClosed): Throws IOException.
1360 2004-11-06  Michael Koch  <konqueror@gmx.de>
1362         * javax/imageio/stream/FileCacheImageInputStream.java,
1363         javax/imageio/stream/FileCacheImageOutputStream.java,
1364         javax/imageio/stream/FileImageInputStream.java,
1365         javax/imageio/stream/FileImageOutputStream.java,
1366         javax/imageio/stream/MemoryCacheImageInputStream.java,
1367         javax/imageio/stream/MemoryCacheImageOutputStream.java:
1368         New files.
1370 2004-11-06  Michael Koch  <konqueror@gmx.de>
1372         * javax/imageio/metadata/IIOInvalidTreeException.java,
1373         javax/imageio/metadata/IIOMetadataFormatImpl.java,
1374         javax/imageio/metadata/IIOMetadataNode.java:
1375         New stub files.
1377 2004-11-06  Michael Koch  <konqueror@gmx.de>
1379         * javax/imageio/stream/ImageInputStreamImpl.java,
1380         javax/imageio/stream/ImageOutputStreamImpl.java:
1381         New files.
1383 2004-11-06  Michael Koch  <konqueror@gmx.de>
1385         * javax/imageio/ImageIO.java:
1386         Added much new methods.
1388 2004-11-06  Michael Koch  <konqueror@gmx.de>
1390         * javax/imageio/ImageReader.java,
1391         javax/imageio/ImageWriter.java,
1392         javax/imageio/spi/ImageWriterSpi.java:
1393         Add SOME new methods.
1395 2004-11-06  Michael Koch  <konqueror@gmx.de>
1397         * javax/imageio/IIOParam.java,
1398         javax/imageio/ImageReadParam.java,
1399         javax/imageio/ImageReader.java,
1400         javax/imageio/ImageWriter.java:
1401         Mostly implemented.
1402         * javax/imageio/spi/ImageReaderSpi.java,
1403         javax/imageio/spi/ImageWriterSpi.java:
1404         New files.
1406 2004-11-06  Michael Koch  <konqueror@gmx.de>
1408         * javax/imageio/ImageWriteParam.java,
1409         javax/imageio/metadata/IIOMetadataFormat.java:
1410         Implemented.
1412 2004-11-06  Michael Koch  <konqueror@gmx.de>
1414         * javax/imageio/ImageTypeSpecifier.java:
1415         Mostly implemented.
1417 2004-11-06  Michael Koch  <konqueror@gmx.de>
1419         * javax/imageio/metadata/IIOMetadata.java:
1420         Mostly implemented.
1422 2004-11-06  Michael Koch  <konqueror@gmx.de>
1424         * javax/imageio/IIOImage.java,
1425         javax/imageio/ImageReadParam.java,
1426         javax/imageio/metadata/IIOMetadataController.java,
1427         javax/imageio/metadata/IIOMetadataFormat.java:
1428         New files.
1429         * javax/imageio/stream/ImageOutputStream.java:
1430         Implemented.
1432 2004-11-06  Michael Koch  <konqueror@gmx.de>
1434         * javax/imageio/IIOParam.java,
1435         javax/imageio/IIOParamController.java,
1436         javax/imageio/ImageTypeSpecifier.java,
1437         javax/imageio/ImageWriteParam.java,
1438         javax/imageio/metadata/IIOMetadata.java:
1439         New files.
1440         * javax/imageio/ImageTranscoder.java:
1441         Implemented.
1443 2004-11-06  Michael Koch  <konqueror@gmx.de>
1445         * javax/imageio/spi/ImageInputStreamSpi.java,
1446         javax/imageio/spi/ImageOutputStreamSpi.java:
1447         Reworked import startments.
1448         * javax/imageio/spi/ServiceRegistry.java:
1449         Reworked import startments. Fixed XHTML in javadocs.
1450         (ServiceRegistry): Added @param tag to javadoc.
1451         * javax/imageio/stream/ImageInputStream.java
1452         (mark): Doesn't throws IOException;
1454 2004-11-06  Michael Koch  <konqueror@gmx.de>
1456         * javax/imageio/ImageIO.java:
1457         New file.
1459 2004-11-06  Michael Koch  <konqueror@gmx.de>
1461         * javax/imageio/spi/IIORegistry.java
1462         (static): Don't register ImageReaderSpi.class and
1463         ImageWriterSpi.class yet.
1465 2004-11-06  Michael Koch  <konqueror@gmx.de>
1467         * javax/imageio/spi/IIORegistry.java:
1468         New file.
1470 2004-11-06  Noa Resare  <noa@resare.com>
1472         * java/net/Socket.java (getPort): Return 0 instead of -1 on
1473         unconnected sockets.
1475 2004-11-06  Michael Koch  <konqueror@gmx.de>
1477         * java/lang/StringBuffer.java,
1478         java/lang/Throwable.java,
1479         java/security/spec/DSAParameterSpec.java,
1480         java/util/zip/ZipEntry.java,
1481         java/util/zip/ZipFile.java,
1482         java/util/zip/ZipInputStream.java,
1483         java/util/zip/ZipOutputStream.java:
1484         Removed redundant and reordered modifiers.
1486 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
1488         * java/io/Vector.java
1489         (writeObject): New function to serialized output thread safe.
1491         * java/io/ObjectOutputStream.java
1492         (writeObject): Move the assignment of the class handle to after
1493         the assignment of class descriptor handle.
1495 2004-11-06  Robert Schuster <thebohemian@gmx.net>
1497         Fixes documentation and indentation
1498         * java/beans/PropertyEditorSupport.java:
1499         reworked initial API doc
1500         (value): changed name from val
1502 2004-11-06  Robert Schuster <thebohemian@gmx.net>
1504         Updates to 1.5
1505         * java/beans/PropertyEditorSupport.java
1506         (PropertyEditorSupport()): Changed modifier to public
1507         (PropertyEditorSupport(Object): Changed modifier to public
1508         (setSource): New method
1509         (getSource): New method
1511 2004-11-06  Robert Schuster <thebohemian@gmx.net>
1513         Fixes bug #10799
1514         * java/beans/PropertyEditorSupport.java
1515         (setValue): Fire property change event
1517 2004-11-03  Tom Tromey  <tromey@redhat.com>
1519         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
1520         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
1521         returns jobjectArray.
1522         (_Jv_JNIEnv::NewObjectArray): Likewise.
1524 2004-11-01  Tom Tromey  <tromey@redhat.com>
1526         * verify.cc (state::check_no_uninitialized_objects): Removed.
1527         (push_jump): Updated.
1528         (push_exception_jump): Likewise.
1529         (handle_ret_insn): Likewise.
1530         (handle_jsr_insn): Likewise.
1532 2004-10-30  Mark Wielaard  <mark@klomp.org>
1534         PR libgcj/18234
1535         * java/lang/Runtime.java (static): Call init().
1536         (Runtime): Remove call to init().
1537         (init): Make static.
1539 2004-10-28  David Daney  <ddaney@avtrex.com>
1541         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
1542         * Makefile.am: Build it.
1543         * Makefile.in: Regenerate.
1545 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1547         PR libgcj/18104
1548         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
1549         colon.
1550         * Makefile.in: Regenerate.
1551         * configure: Regenerate.
1552         * configure.ac (CLASSPATH_SEPARATOR): Define.
1553         * gcj/Makefile.in: Regenerate.
1554         * include/Makefile.in: Regenerate.
1555         * testsuite/Makefile.in: Regenerate.
1556         * testsuite/lib/libjava.exp (libjava_arguments): Fix
1557         CLASSPATH separator handling for Windows.
1559 2004-10-26  Michael Koch  <konqueror@gmx.de>
1561         * gnu/java/net/protocol/http/Connection.java
1562         (getOutputStream): Implicitely switch to POST method.
1564 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
1566         * libjava/java/lang/Class.h
1567         (java::lang::Class): Correct friend class declaration.
1569 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
1571         * Makefile.am (DARWIN_CRT_SRC): New.
1572         (libgcj_la_SOURCES): Use it.
1573         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
1574         * darwin.cc: New file.
1575         * include/jvm.h (_Jv_RegisterClasses): Constify.
1576         (_Jv_RegisterClasses_Counted): New prototype.
1577         * java/lang/Class.h: Include stddef.h.  
1578         (_Jv_RegisterClasses): Constify.
1579         (_Jv_RegisterClasses_Counted): New prototype.
1580         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
1581         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
1582         (_Jv_RegisterClasses_Counted): New function.
1583         * configure: Regenerate.
1584         * Makefile.in: Regenerate.
1585         * gcj/Makefile.in: Regenerate.
1586         * include/Makefile.in: Regenerate.
1587         * testsuite/Makefile.in: Regenerate.
1589 2004-10-25  Tom Tromey  <tromey@redhat.com>
1591         * java/util/ResourceBundle.java (tryBundle): Use
1592         Class.isAssignableFrom rather than catching ClassCastException.
1594 2004-10-25  Tom Tromey  <tromey@redhat.com>
1596         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
1597         initialize `iter'.
1598         * gnu/java/text/SentenceBreakIterator.java
1599         (SentenceBreakIterator): Don't initialize `iter'.
1600         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
1601         initialize `iter'.
1602         * gnu/java/text/CharacterBreakIterator.java
1603         (CharacterBreakIterator): Don't initialize `iter'.
1604         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
1605         constructor.
1606         * java/text/BreakIterator.java: Updated documentation.
1608 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
1610         PR other/18138
1611         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
1613 2004-10-23  Michael Koch  <konqueror@gmx.de>
1615         * javax/print/DocFlavor.java,
1616         javax/print/attribute/standard/JobStateReason.java,
1617         javax/print/attribute/standard/MultipleDocumentHandling.java:
1618         Added missing constants.
1620 2004-10-22  Tom Tromey  <tromey@redhat.com>
1622         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
1623         typo.
1625 2004-10-22  Michael Koch  <konqueror@gmx.de>
1627         PR libjava/14009
1628         * gnu/java/net/protocol/http/Connection.java
1629         (sendRequest): Handle case when url.getFile() returns an empty string.
1631 2004-10-22  Michael Koch  <konqueror@gmx.de>
1633         * java/lang/Math.java,
1634         java/lang/StackTraceElement.java,
1635         java/nio/Buffer.java,
1636         java/nio/ByteBuffer.java,
1637         java/nio/CharBuffer.java,
1638         java/nio/DoubleBuffer.java,
1639         java/nio/FloatBuffer.java,
1640         java/nio/IntBuffer.java,
1641         java/nio/LongBuffer.java,
1642         java/nio/ShortBuffer.java,
1643         java/nio/charset/Charset.java,
1644         java/rmi/server/RMIClassLoader.java,
1645         java/rmi/server/RMISocketFactory.java,
1646         java/security/Policy.java,
1647         java/text/ChoiceFormat.java,
1648         java/text/CollationElementIterator.java,
1649         java/text/DateFormat.java,
1650         java/text/DecimalFormat.java,
1651         java/text/DecimalFormatSymbols.java,
1652         java/text/MessageFormat.java,
1653         java/text/NumberFormat.java,
1654         java/text/RuleBasedCollator.java,
1655         java/text/SimpleDateFormat.java,
1656         java/util/BitSet.java,
1657         java/util/Calendar.java,
1658         java/util/Collections.java,
1659         java/util/IdentityHashMap.java,
1660         java/util/Locale.java,
1661         java/util/TreeMap.java,
1662         java/util/logging/LogRecord.java,
1663         java/util/logging/XMLFormatter.java,
1664         java/util/prefs/AbstractPreferences.java,
1665         java/util/prefs/Preferences.java,
1666         javax/crypto/interfaces/DHPrivateKey.java,
1667         javax/crypto/interfaces/DHPublicKey.java,
1668         javax/crypto/interfaces/PBEKey.java,
1669         javax/net/ssl/HandshakeCompletedEvent.java,
1670         javax/security/auth/Subject.java:
1671         Removed redundant and reordered modifiers.
1673 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
1675         * gnu/java/net/natPlainSocketImplPosix.cc
1676         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
1677         with 'int *' argument instead of 'long *'.
1679 2004-10-21  Michael Koch  <konqueror@gmx.de>
1681         * java/net/NetworkInterface.java,
1682         java/text/Format.java,
1683         javax/security/auth/x500/X500Principal.java,
1684         javax/security/auth/x500/X500PrivateCredential.java,
1685         javax/security/cert/X509CertBridge.java,
1686         javax/security/sasl/Sasl.java,
1687         javax/sql/XAConnection.java:
1688         Import cleanup.
1690 2004-10-21  Michael Koch  <konqueror@gmx.de>
1692         * javax/net/ssl/HandshakeCompletedEvent.java,
1693         javax/net/ssl/KeyManagerFactory.java,
1694         javax/net/ssl/SSLContext.java,
1695         javax/net/ssl/SSLServerSocketFactory.java,
1696         javax/net/ssl/SSLSession.java,
1697         javax/net/ssl/SSLSocketFactory.java,
1698         javax/net/ssl/TrustManagerFactory.java:
1699         Import cleanup.
1701 2004-10-21  Michael Koch  <konqueror@gmx.de>
1703         * javax/naming/directory/BasicAttribute.java,
1704         javax/naming/directory/BasicAttributes.java,
1705         javax/naming/directory/InitialDirContext.java,
1706         javax/naming/event/NamingEvent.java,
1707         javax/naming/ldap/ControlFactory.java,
1708         javax/naming/ldap/ExtendedRequest.java,
1709         javax/naming/ldap/InitialLdapContext.java,
1710         javax/naming/ldap/LdapReferralException.java,
1711         javax/naming/spi/DirObjectFactory.java,
1712         javax/naming/spi/DirStateFactory.java,
1713         javax/naming/spi/DirectoryManager.java,
1714         javax/naming/spi/InitialContextFactory.java,
1715         javax/naming/spi/InitialContextFactoryBuilder.java,
1716         javax/naming/spi/NamingManager.java,
1717         javax/naming/spi/ObjectFactory.java,
1718         javax/naming/spi/ObjectFactoryBuilder.java,
1719         javax/naming/spi/StateFactory.java:
1720         Import cleanup.
1722 2004-10-21  Michael Koch  <konqueror@gmx.de>
1724         * javax/crypto/Cipher.java,
1725         javax/crypto/EncryptedPrivateKeyInfo.java,
1726         javax/crypto/ExemptionMechanism.java,
1727         javax/crypto/KeyAgreement.java,
1728         javax/crypto/KeyGenerator.java,
1729         javax/crypto/Mac.java,
1730         javax/crypto/SecretKeyFactory.java,
1731         javax/crypto/SecretKeyFactorySpi.java,
1732         javax/crypto/spec/SecretKeySpec.java:
1733         Import cleanup.
1735 2004-10-21  Michael Koch  <konqueror@gmx.de>
1737         * java/security/AlgorithmParameterGenerator.java,
1738         java/security/AlgorithmParameters.java,
1739         java/security/AlgorithmParametersSpi.java,
1740         java/security/AllPermission.java,
1741         java/security/BasicPermission.java,
1742         java/security/Certificate.java,
1743         java/security/CodeSource.java,
1744         java/security/DigestInputStream.java,
1745         java/security/DigestOutputStream.java,
1746         java/security/GuardedObject.java,
1747         java/security/KeyFactory.java,
1748         java/security/KeyFactorySpi.java,
1749         java/security/KeyPairGenerator.java,
1750         java/security/KeyStore.java,
1751         java/security/KeyStoreSpi.java,
1752         java/security/Permissions.java,
1753         java/security/Security.java,
1754         java/security/Signature.java,
1755         java/security/UnresolvedPermission.java,
1756         java/security/cert/CertPathBuilder.java,
1757         java/security/cert/CertPathValidator.java,
1758         java/security/cert/CertStore.java,
1759         java/security/cert/Certificate.java,
1760         java/security/cert/CertificateFactory.java,
1761         java/security/cert/PolicyQualifierInfo.java,
1762         java/security/cert/TrustAnchor.java,
1763         java/security/cert/X509CRL.java,
1764         java/security/cert/X509CRLSelector.java,
1765         java/security/cert/X509CertSelector.java:
1766         Import cleanup.
1768 2004-10-21  Michael Koch  <konqueror@gmx.de>
1770         * java/rmi/MarshalledObject.java,
1771         java/rmi/Naming.java,
1772         java/rmi/activation/Activatable.java,
1773         java/rmi/activation/ActivationGroup.java,
1774         java/rmi/activation/ActivationGroupDesc.java,
1775         java/rmi/activation/ActivationInstantiator.java,
1776         java/rmi/activation/ActivationMonitor.java,
1777         java/rmi/activation/ActivationSystem.java,
1778         java/rmi/activation/Activator.java,
1779         java/rmi/registry/LocateRegistry.java,
1780         java/rmi/registry/Registry.java,
1781         java/rmi/server/LogStream.java,
1782         java/rmi/server/ObjID.java,
1783         java/rmi/server/RMIClientSocketFactory.java,
1784         java/rmi/server/RMIServerSocketFactory.java,
1785         java/rmi/server/RMISocketFactory.java,
1786         java/rmi/server/RemoteCall.java,
1787         java/rmi/server/RemoteServer.java,
1788         java/rmi/server/ServerRef.java,
1789         java/rmi/server/UID.java,
1790         java/rmi/server/UnicastRemoteObject.java:
1791         Import cleanup.
1793 2004-10-21  Tom Tromey  <tromey@redhat.com>
1795         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
1796         exception if we hit EOF of `in'.
1797         (read): Handle case where inflating returns -1.
1799 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
1801         * gnu/java/nio/channels/natFileChannelPosix.cc
1802         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
1803         argument instead of 'long *'.
1805 2004-10-21  Tom Tromey  <tromey@redhat.com>
1807         * java/util/ResourceBundle.java (tryBundle): Also ignore
1808         ClassCastException.
1810 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
1812         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
1813         for all sh*-*-linux* targets.
1814         * configure: Regenerate.
1815         * include/sh-signal.h: New file.
1817 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
1819         * java/lang/ieeefp.h: Add m32r support.
1821 2004-10-20  Andreas Schwab  <schwab@suse.de>
1823         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
1824         to uaddr, not int.
1825         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
1826         Likewise.
1828 2004-10-20  Michael Koch  <konqueror@gmx.de>
1830         * javax/print/attribute/standard/ColorSupported.java,
1831         javax/print/attribute/standard/Compression.java,
1832         javax/print/attribute/standard/Copies.java,
1833         javax/print/attribute/standard/CopiesSupported.java,
1834         javax/print/attribute/standard/DateTimeAtCompleted.java,
1835         javax/print/attribute/standard/DateTimeAtCreation.java,
1836         javax/print/attribute/standard/DateTimeAtProcessing.java,
1837         javax/print/attribute/standard/DocumentName.java,
1838         javax/print/attribute/standard/Fidelity.java,
1839         javax/print/attribute/standard/Finishings.java,
1840         javax/print/attribute/standard/JobHoldUntil.java,
1841         javax/print/attribute/standard/JobImpressions.java,
1842         javax/print/attribute/standard/JobImpressionsCompleted.java,
1843         javax/print/attribute/standard/JobImpressionsSupported.java,
1844         javax/print/attribute/standard/JobKOctets.java,
1845         javax/print/attribute/standard/JobKOctetsProcessed.java,
1846         javax/print/attribute/standard/JobKOctetsSupported.java,
1847         javax/print/attribute/standard/JobMediaSheets.java,
1848         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
1849         javax/print/attribute/standard/JobMediaSheetsSupported.java,
1850         javax/print/attribute/standard/JobMessageFromOperator.java,
1851         javax/print/attribute/standard/JobName.java,
1852         javax/print/attribute/standard/JobOriginatingUserName.java,
1853         javax/print/attribute/standard/JobPriority.java,
1854         javax/print/attribute/standard/JobPrioritySupported.java,
1855         javax/print/attribute/standard/JobSheets.java,
1856         javax/print/attribute/standard/JobState.java,
1857         javax/print/attribute/standard/JobStateReason.java,
1858         javax/print/attribute/standard/JobStateReasons.java,
1859         javax/print/attribute/standard/Media.java,
1860         javax/print/attribute/standard/MultipleDocumentHandling.java,
1861         javax/print/attribute/standard/NumberOfDocuments.java,
1862         javax/print/attribute/standard/NumberOfInterveningJobs.java,
1863         javax/print/attribute/standard/NumberUp.java,
1864         javax/print/attribute/standard/NumberUpSupported.java,
1865         javax/print/attribute/standard/OrientationRequested.java,
1866         javax/print/attribute/standard/OutputDeviceAssigned.java,
1867         javax/print/attribute/standard/PDLOverrideSupported.java,
1868         javax/print/attribute/standard/PageRanges.java,
1869         javax/print/attribute/standard/PagesPerMinute.java,
1870         javax/print/attribute/standard/PagesPerMinuteColor.java,
1871         javax/print/attribute/standard/PrintQuality.java,
1872         javax/print/attribute/standard/PrinterInfo.java,
1873         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
1874         javax/print/attribute/standard/PrinterLocation.java,
1875         javax/print/attribute/standard/PrinterMakeAndModel.java,
1876         javax/print/attribute/standard/PrinterMessageFromOperator.java,
1877         javax/print/attribute/standard/PrinterMoreInfo.java,
1878         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
1879         javax/print/attribute/standard/PrinterName.java,
1880         javax/print/attribute/standard/PrinterStateReason.java,
1881         javax/print/attribute/standard/PrinterStateReasons.java,
1882         javax/print/attribute/standard/PrinterURI.java,
1883         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
1884         javax/print/attribute/standard/RequestingUserName.java:
1885         Reorganized imports and removed redundant final modifiers.
1887 2004-10-20  Michael Koch  <konqueror@gmx.de>
1889         * javax/security/sasl/SaslClient.java,
1890         javax/security/sasl/SaslClientFactory.java,
1891         javax/security/sasl/SaslException.java,
1892         javax/security/sasl/SaslServer.java,
1893         javax/security/sasl/SaslServerFactory.java:
1894         Remvoed CVS tags.
1896 2004-10-20  Michael Koch  <konqueror@gmx.de>
1898         * javax/security/auth/login/NullConfiguration.java,
1899         javax/security/auth/x500/X500Principal.java,
1900         javax/security/cert/X509Certificate.java,
1901         javax/security/sasl/AuthenticationException.java,
1902         javax/security/sasl/AuthorizeCallback.java,
1903         javax/security/sasl/RealmCallback.java,
1904         javax/security/sasl/RealmChoiceCallback.java,
1905         javax/security/sasl/Sasl.java,
1906         javax/security/sasl/SaslClient.java,
1907         javax/security/sasl/SaslClientFactory.java,
1908         javax/security/sasl/SaslException.java,
1909         javax/security/sasl/SaslServer.java,
1910         javax/security/sasl/SaslServerFactory.java:
1911         Cleaned up import statements and copyright notices.
1913 2004-10-20  Michael Koch  <konqueror@gmx.de>
1915         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
1917 2004-10-20  Michael Koch  <konqueror@gmx.de>
1919         * java/sql/Timestamp.java,
1920         java/text/AttributedCharacterIterator.java,
1921         java/text/AttributedString.java,
1922         java/util/zip/CheckedOutputStream.java,
1923         java/util/zip/DeflaterOutputStream.java,
1924         java/util/zip/ZipFile.java,
1925         javax/crypto/Cipher.java,
1926         javax/crypto/ExemptionMechanismException.java,
1927         javax/crypto/SecretKey.java,
1928         javax/crypto/SecretKeyFactory.java,
1929         javax/naming/directory/ModificationItem.java,
1930         javax/naming/directory/SearchControls.java,
1931         javax/naming/event/NamingListener.java,
1932         javax/naming/ldap/Control.java,
1933         javax/naming/ldap/ExtendedResponse.java,
1934         javax/net/ssl/SSLSocketFactory.java:
1935         Reorganized imports and fixed copyright headers.
1937 2004-10-20  Michael Koch  <konqueror@gmx.de>
1939         * java/util/logging/ConsoleHandler.java,
1940         java/util/logging/ErrorManager.java,
1941         java/util/logging/FileHandler.java,
1942         java/util/logging/Filter.java,
1943         java/util/logging/Formatter.java,
1944         java/util/logging/Handler.java,
1945         java/util/logging/Level.java,
1946         java/util/logging/LogManager.java,
1947         java/util/logging/LogRecord.java,
1948         java/util/logging/Logger.java,
1949         java/util/logging/LoggingPermission.java,
1950         java/util/logging/MemoryHandler.java,
1951         java/util/logging/SimpleFormatter.java,
1952         java/util/logging/SocketHandler.java,
1953         java/util/logging/StreamHandler.java,
1954         java/util/logging/XMLFormatter.java:
1955         Standardized copyrigth header.
1957 2004-10-20  Michael Koch  <konqueror@gmx.de>
1959         * java/security/AlgorithmParameterGenerator.java,
1960         java/security/AlgorithmParameters.java,
1961         java/security/DigestInputStream.java,
1962         java/security/Identity.java,
1963         java/security/KeyFactory.java,
1964         java/security/KeyPairGenerator.java,
1965         java/security/KeyStore.java,
1966         java/security/MessageDigest.java,
1967         java/security/MessageDigestSpi.java,
1968         java/security/Policy.java,
1969         java/security/SecureRandom.java,
1970         java/security/Security.java,
1971         java/security/Signature.java,
1972         java/security/SignatureSpi.java,
1973         java/security/cert/CertPathBuilder.java,
1974         java/security/cert/CertPathValidator.java,
1975         java/security/cert/CertStore.java,
1976         java/security/cert/Certificate.java,
1977         java/security/cert/CertificateFactory.java,
1978         java/security/cert/PolicyQualifierInfo.java,
1979         java/security/cert/TrustAnchor.java,
1980         java/security/cert/X509CRL.java,
1981         java/security/cert/X509CRLEntry.java,
1982         java/security/cert/X509Certificate.java,
1983         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
1984         Import statements reorganized, some little formatting issues,
1985         used java-style array declarations, added comments in empty catch
1986         blocks.
1988 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1990         * java/security/Security.java
1991         (static): Use AccessController.doPrivileged to get system property.
1993 2004-10-18  Sven de Marothy  <sven@physto.se>
1995         * java/nio/ByteBufferHelper.java
1996         (putDouble): Use Double.toRawLongBits instead.
1998 2004-10-18  Mark Wielaard  <mark@klomp.org>
1999         Andrew Haley  <aph@redhat.com>
2001         * testsuite/libjava.lang/ExtraClassLoader.java: New.
2003 2004-10-18  Andrew Haley  <aph@redhat.com>
2005         PR java/18036:
2006         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
2007         and correct logic used to find interpreter.
2008         
2009 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
2011         * java/util/logging/LogManager.java
2012         (findAncestor): Fixed IndexOutOfBoundsException.
2014 2004-10-18  Michael Koch  <konqueror@gmx.de>
2016         * java/io/BufferedInputStream.java: Fixed @author tag.
2017         (read): Simplified expression.
2018         (read): Merged javadoc a bit more.
2019         (read): Renamed 'remain' to 'totalBytesRead'.
2020         * java/io/DataInputStream.java,
2021         java/io/DataOutputStream.java,
2022         java/io/ObjectInputStream.java,
2023         java/io/ObjectOutputStream.java:
2024         Reworked modifier order.
2026 2004-10-18  Michael Koch  <konqueror@gmx.de>
2028         * java/net/Inet4Address.java: Merged file header and javadocs.
2029         * java/net/Inet6Address.java: Likewise.
2030         * java/net/InetAddress.java
2031         (getCanonicalHostName): Create Inet4Address object instead of
2032         InetAddress and add comment regarding IPv6.
2033         (toString): Simplified.
2035 2004-10-18  Michael Koch  <konqueror@gmx.de>
2037         * gnu/java/net/protocol/http/Connection.java,
2038         java/nio/MappedByteBufferImpl.java,
2039         java/text/RuleBasedCollator.java,
2040         java/util/ResourceBundle.java:
2041         Reworked import statements.
2043 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
2045         * java/security/IdentityScope.java
2046         (systemScope): Removed useless initializer.
2047         * java/security/Policy.java
2048         (currentPolicy): Likewise.
2050 2004-10-18  Michael Koch  <konqueror@gmx.de>
2052         * java/lang/System.java: Revert accidential change.
2054 2004-10-18  Michael Koch  <konqueror@gmx.de>
2056         * java/lang/Math.java,
2057         java/lang/Package.java,
2058         java/lang/Runtime.java,
2059         java/lang/StrictMath.java,
2060         java/lang/System.java,
2061         java/lang/Thread.java,
2062         java/lang/ThreadLocal.java,
2063         java/lang/Void.java:
2064         Reworked import statements, HTML in javadocs and modifier orders.
2066 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
2068         * java/util/Timer.java
2069         (nr): Removed useless initializer.
2070         * java/util/logging/LogRecord.java
2071         (lastSeqNum): Likewise.
2072         * javax/naming/spi/NamingManager.java
2073         (icfb, ofb): Likewise.
2075 2004-10-18  Michael Koch  <konqueror@gmx.de>
2077         * gnu/java/net/PlainDatagramSocketImpl.java:
2078         Reworked import statements.
2079         * gnu/java/security/provider/DSAParameters.java:
2080         Fixed copyrigth years.
2081         * java/net/JarURLConnection.java:
2082         Fixed HTML in @author tags.
2083         
2085 2004-10-18  Michael Koch  <konqueror@gmx.de>
2087         * java/rmi/activation/ActivationSystem.java
2088         (SYSTEM_PORT): Initialize with correct port number.
2090 2004-10-18  Michael Koch  <konqueror@gmx.de>
2092         * java/lang/reflect/Proxy.java: Improved javadocs.
2094 2004-10-18  Michael Koch  <konqueror@gmx.de>
2096         * java/lang/reflect/AccessibleObject.java
2097         (checkPermission): Removed redundant final modifier.
2098         (secureSetAccessible): Likewise.
2099         * java/lang/reflect/Proxy.java:
2100         Reworked import statements.
2101         (generate): Removed redundant final modifier.
2102         * java/lang/reflect/ReflectPermission.java:
2103         Reorder package declaration and import statement.
2105 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
2107         * java/lang/reflect/Proxy.java
2108         (count): Removed useless initializer.
2110 2004-10-17  Michael Koch  <konqueror@gmx.de>
2112         * java/net/BindException.java,
2113         java/net/ConnectException.java,
2114         java/net/ContentHandler.java,
2115         java/net/ContentHandlerFactory.java,
2116         java/net/DatagramPacket.java,
2117         java/net/DatagramSocket.java,
2118         java/net/DatagramSocketImpl.java,
2119         java/net/DatagramSocketImplFactory.java,
2120         java/net/FileNameMap.java,
2121         java/net/HttpURLConnection.java,
2122         java/net/MalformedURLException.java,
2123         java/net/MulticastSocket.java,
2124         java/net/NetworkInterface.java,
2125         java/net/NoRouteToHostException.java,
2126         java/net/PasswordAuthentication.java,
2127         java/net/PortUnreachableException.java,
2128         java/net/ProtocolException.java,
2129         java/net/ServerSocket.java,
2130         java/net/Socket.java,
2131         java/net/SocketException.java,
2132         java/net/SocketImpl.java,
2133         java/net/SocketImplFactory.java,
2134         java/net/SocketOptions.java,
2135         java/net/SocketPermission.java,
2136         java/net/SocketTimeoutException.java,
2137         java/net/URI.java,
2138         java/net/URISyntaxException.java,
2139         java/net/URL.java,
2140         java/net/URLDecoder.java,
2141         java/net/URLEncoder.java,
2142         java/net/URLStreamHandler.java,
2143         java/net/URLStreamHandlerFactory.java,
2144         java/net/UnknownHostException.java,
2145         java/net/UnknownServiceException.java:
2146         Big import statement and @author tag cleanup.
2148 2004-10-17  Michael Koch  <konqueror@gmx.de>
2150         * gnu/java/security/OID.java,
2151         gnu/java/security/provider/DSAParameters.java,
2152         gnu/java/security/provider/DSASignature.java,
2153         gnu/java/security/x509/X500DistinguishedName.java,
2154         gnu/java/security/x509/X509CRL.java:
2155         Import statements cleaned up.
2157 2004-10-16  Michael Koch  <konqueror@gmx.de>
2159         * gnu/java/nio/NIODatagramSocket.java,
2160         gnu/java/nio/ServerSocketChannelImpl.java:
2161         Reorganized import statements.
2163 2004-10-16  Michael Koch  <konqueror@gmx.de>
2165         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
2166         gnu/java/rmi/rmic/RMIC.java,
2167         gnu/java/rmi/server/RMIHashes.java,
2168         gnu/java/rmi/server/RMIObjectInputStream.java,
2169         gnu/java/rmi/server/RMIObjectOutputStream.java,
2170         gnu/java/rmi/server/UnicastConnection.java,
2171         gnu/java/rmi/server/UnicastConnectionManager.java,
2172         gnu/java/rmi/server/UnicastRemoteCall.java,
2173         gnu/java/rmi/server/UnicastServer.java,
2174         gnu/java/rmi/server/UnicastServerRef.java,
2175         java/rmi/MarshalledObject.java,
2176         java/rmi/Naming.java,
2177         java/rmi/RMISecurityManager.java,
2178         java/rmi/Remote.java,
2179         java/rmi/activation/Activatable.java,
2180         java/rmi/activation/ActivationDesc.java,
2181         java/rmi/activation/ActivationGroup.java,
2182         java/rmi/activation/ActivationGroupDesc.java,
2183         java/rmi/activation/ActivationGroupID.java,
2184         java/rmi/activation/ActivationID.java,
2185         java/rmi/activation/ActivationInstantiator.java,
2186         java/rmi/activation/ActivationMonitor.java,
2187         java/rmi/activation/ActivationSystem.java,
2188         java/rmi/activation/Activator.java,
2189         java/rmi/dgc/DGC.java,
2190         java/rmi/dgc/Lease.java,
2191         java/rmi/dgc/VMID.java,
2192         java/rmi/registry/LocateRegistry.java,
2193         java/rmi/registry/Registry.java,
2194         java/rmi/registry/RegistryHandler.java,
2195         java/rmi/server/LoaderHandler.java,
2196         java/rmi/server/LogStream.java,
2197         java/rmi/server/ObjID.java,
2198         java/rmi/server/Operation.java,
2199         java/rmi/server/RMIClassLoader.java,
2200         java/rmi/server/RMIClassLoaderSpi.java,
2201         java/rmi/server/RMIClientSocketFactory.java,
2202         java/rmi/server/RMIFailureHandler.java,
2203         java/rmi/server/RMIServerSocketFactory.java,
2204         java/rmi/server/RMISocketFactory.java,
2205         java/rmi/server/RemoteCall.java,
2206         java/rmi/server/RemoteObject.java,
2207         java/rmi/server/RemoteRef.java,
2208         java/rmi/server/RemoteServer.java,
2209         java/rmi/server/RemoteStub.java,
2210         java/rmi/server/ServerRef.java,
2211         java/rmi/server/Skeleton.java,
2212         java/rmi/server/SkeletonMismatchException.java,
2213         java/rmi/server/UID.java,
2214         java/rmi/server/UnicastRemoteObject.java,
2215         java/rmi/server/Unreferenced.java:
2216         File headers and import statements cleaned up.
2218 2004-10-16  Michael Koch  <konqueror@gmx.de>
2220         * libjava/gnu/java/nio/charset/UTF_16.java,
2221         libjava/gnu/java/nio/charset/UTF_16BE.java,
2222         libjava/gnu/java/nio/charset/UTF_16LE.java,
2223         libjava/java/nio/ByteOrder.java,
2224         libjava/java/nio/MappedByteBuffer.java,
2225         libjava/java/nio/channels/Channels.java,
2226         libjava/java/nio/channels/spi/SelectorProvider.java,
2227         libjava/java/nio/charset/Charset.java:
2228         Cleanup.
2230 2004-10-16  Michael Koch  <konqueror@gmx.de>
2232         * gnu/java/nio/charset/UTF_16Encoder.java
2233         (UTF_16Encoder): Fixed maxBytesPerChar handling.
2235 2004-10-16  Michael Koch  <konqueror@gmx.de>
2237         * java/math/BigDecimal.java, java/math/BigInteger.java:
2238         Reorganized import statements, removed redundant and
2239         reorganized modifiers.
2241 2004-10-16  Michael Koch  <konqueror@gmx.de>
2243         * gnu/java/beans/ExplicitBeanInfo.java:
2244         Explicitely import java.awt.Image.
2245         (getIcon): Fixed off-by-one error.
2247 2004-10-15  Andrew Haley  <aph@redhat.com>
2249         * Makefile.am (nat_files, xlib_nat_files): New.
2250         * Makefile.in: Regenerate.
2252 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
2254         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
2255         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
2257 2004-10-13  Andrew Haley  <aph@redhat.com>
2259         * interpret.cc (_Jv_InterpMethod::run): Initialize
2260         _Jv_StartOfInterpreter.
2261         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
2262         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
2263         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
2264         _Unwind_FindEnclosingFunction to discover whether PC is within the
2265         interpreter.
2267 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
2269         PR libgcj/17903:
2270         * testsuite/libjava.lang/md5test.java: New file.
2271         * testsuite/libjava.lang/md5test.out: Likewise.
2272         * testsuite/libjava.lang/shatest.java: Likewise.
2273         * testsuite/libjava.lang/shatest.out: Likewise.
2275 2004-10-11  Richard Henderson  <rth@redhat.com>
2277         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
2278         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
2280 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
2282         * java/util/Calendar.java (set): Invalidate DST_OFFSET
2283         field as a DST boundary may have been crossed.
2284         * java/util/GregorianCalendar.java (add): Throw 
2285         IllegalArgumentException on attempt to add to DST_OFFSET or 
2286         ZONE_OFFSET fields. Update javadoc.
2288 2004-10-09  Michael Koch  <konqueror@gmx.de>
2290         * java/io/CharArrayWriter.java
2291         (resize): Removed redundant 'final' modifier.
2292         * java/io/DataInputStream.java
2293         (readFully): Throw IndexOutOfBoundsException of len < 0.
2294         * java/io/FileDescriptor.java,
2295         java/io/FileInputStream.java,
2296         java/io/FileOutputStream.java,
2297         java/io/ObjectOutputStream.java,
2298         java/io/ObjectStreamClass.java,
2299         java/io/PipedInputStream.java,
2300         java/io/RandomAccessFile.java:
2301         Reorganized import statements.
2303 2004-10-09  Michael Koch  <konqueror@gmx.de>
2305         * gnu/java/rmi/rmic/RMIC.java,
2306         gnu/java/rmi/server/RMIHashes.java,
2307         gnu/java/rmi/server/RMIObjectInputStream.java,
2308         gnu/java/rmi/server/UnicastConnection.java,
2309         gnu/java/rmi/server/UnicastConnectionManager.java,
2310         gnu/java/rmi/server/UnicastRemoteCall.java,
2311         gnu/java/rmi/server/UnicastServerRef.java:
2312         Reworked import statements and fixed file headers.
2314 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
2316         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
2317         emission rule.
2318         * configure: Rebuilt.
2320 2004-09-30  Tom Tromey  <tromey@redhat.com>
2322         * java/text/MessageFormat.java (Field): Constructor now
2323         protected.
2325 2004-09-30  Tom Tromey  <tromey@redhat.com>
2327         * javax/crypto/MacSpi.java: Fixed typo.
2329 2004-09-30  Michael Koch  <konqueror@gmx.de>
2331         * java/net/InetAddress.java: Reformatted.
2332         (loopback): Initialize with Inet4Address object.
2333         (static): Initialize ANY_IF with Inet4Address object.
2334         (InetAddress): Removed unused package-private constructor.
2336 2004-09-30  Michael Koch  <konqueror@gmx.de>
2338         * java/beans/Beans.java,
2339         java/beans/EventHandler.java,
2340         java/beans/EventSetDescriptor.java,
2341         java/beans/Introspector.java,
2342         java/beans/PropertyEditorManager.java,
2343         java/beans/beancontext/BeanContext.java,
2344         java/beans/beancontext/BeanContextChild.java,
2345         java/beans/beancontext/BeanContextChildSupport.java,
2346         java/beans/beancontext/BeanContextMembershipEvent.java:
2347         Reordered import statements and removed redundant modifiers.
2349 2004-09-29  Tom Tromey  <tromey@redhat.com>
2351         PR libgcj/17715:
2352         * Makefile.in: Rebuilt.
2353         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
2354         files.
2355         (all_property_files): New macro.
2357         * Makefile.in: Rebuilt.
2358         * Makefile.am (ordinary_java_source_files): Re-sorted.
2359         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
2361 2004-09-28  Tom Tromey  <tromey@redhat.com>
2363         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
2365         PR libgcj/17222:
2366         * Makefile.am (libgcj.la): Restored.
2367         * Makefile.in: Rebuilt.
2369 2004-09-28  Michael Koch  <konqueror@gmx.de>
2371         * java/net/URLConnection.java: Reformatted.
2372         * java/net/URLClassLoader.java: Reformatted.
2373         (getContent): Reordered return of content.
2374         (getContentHandler): Don't check for null explicitely.
2376 2004-09-27  Michael Koch  <konqueror@gmx.de>
2378         * java/io/BufferedInputStream.java
2379         (BufferedInputStream): Added Jeroen Frijters to authors.
2380         (count): Don't explicitely initialize with default value.
2381         (pos): Likewise.
2382         (marklimit): Likewise.
2383         (read): Changed boolean expression to match GNU classpath' version.
2384         (reset): Add proper message to exception.
2385         (skip): Check for closed stream.
2386         (refill): Likewise.
2388 2004-09-26  Per Bothner  <per@bothner.com>
2390         * prims.cc (unblock_signal): Annotate signum with __unused__ to
2391         avoid warnings in the non-POSIX_VERSION case.
2392         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
2393         so place it inside an #if block.
2394         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
2395         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
2396         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
2397         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
2399 2004-09-26  Per Bothner  <per@bothner.com>
2401         * prims.cc (process_gcj_properties):  Optimization.
2403 2004-09-26  Per Bothner  <per@bothner.com>
2405         * java/util/Collections.java (sort):  Copy from array in forwards
2406         order, rather than reverse order which may be much less efficient.
2408 2004-09-26  Mark Wielaard  <mark@klomp.org>
2410         * java/lang/System.java (properties): Make package private.
2411         * java/lang/Throwable.java (StaticData.nl): Initialize through
2412         directly accessing System.properties.getProperty().
2414         * java/lang/Throwable.java (nl): Remove static field.
2415         (StaticData): New private static inner class.
2416         (stackTraceStringBuffer): Use StaticData.nl.
2418 2004-09-26  Casey Marshall <csm@gnu.org>
2420         * java/security/ProtectionDomain.java
2421         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
2422         `true'.
2424         * java/security/SecureClassLoader.java
2425         (defineClass): make protection domain dynamically bound.
2426         (getPermissions): call `getCurrentPolicy' to avoid permission
2427         check.
2429 2004-09-25  Mark Wielaard  <mark@klomp.org>
2431         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
2432         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
2433         * Makefile.in: Regenerated.
2435         * gcj/javaprims.h: Regenerated.
2437         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
2438         (getDefaultTimeZone): Make package private. Check that GMToffset
2439         contains at least one digit.
2440         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
2441         VMTimeZone.
2442         * util/VMTimeZone.java: New file with above methods.
2444         * java/util/natTimeZone.cc: Removed (renamed).
2445         * java/util/natVMTimeZone.cc: Added (renamed).
2447 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
2449         * java/util/TimeZone.java
2450         (getDefaultTimeZone): Fixed test to distinguish between hours and
2451         minutes in specified timezone.
2453 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
2455         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
2456         handling of default package. (generate): Removed confused comments
2457         and code about making Method and Field accessible.
2459 2004-09-25  Tom Tromey  <tromey@redhat.com>
2461         PR java/17500:
2462         * testsuite/libjava.compile/pr17500.java: New file.
2464 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
2465             Mark Wielaard  <mark@klomp.org>
2467         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
2468         * gnu/regexp/RETokenLookAhead.java: New file.
2470         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
2471         * Makefile.in: Regenerated.
2473 2004-09-25  Michael Koch  <konqueror@gmx.de>
2475         * java/io/ObjectStreamField.java:
2476         Removed unused import statement.
2478 2004-09-24  Tom Tromey  <tromey@redhat.com>
2480         PR java/15656:
2481         * testsuite/libjava.compile/pr15656.xfail: New file.
2482         * testsuite/libjava.compile/pr15656.java: new file.
2484         PR java/16789:
2485         * testsuite/libjava.lang/pr16789.out: New file.
2486         * testsuite/libjava.lang/pr16789.java: New file.
2488 2004-09-24  Andrew Haley  <aph@redhat.com>
2490         PR java/16927
2491         * testsuite/libjava.compile/AssertBug.java: New file.
2493 2004-09-24  Casey Marshall <csm@gnu.org>
2495         * java/util/PropertyPermissionCollection.java
2496         (implies): avoid infinite loop.
2498 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2500         * javax/security/auth/PrivateCredentialPermission.java
2501         (PrivateCredentialPermission): added serialization UID
2504 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
2506         * gnu/java/rmi/server/UnicastServer.java
2507         (incomingMessageCall): Added code to handle Errors.
2508         * gnu/java/rmi/server/UnicastServerRef.java
2509         (incomingMessageCall): Added code to handle Errors.
2512 2004-09-24  Tom Tromey  <tromey@redhat.com>
2514         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
2515         (definedPackages): Likewise.
2517 2004-09-24  Michael Koch  <konqueror@gmx.de>
2519         * java/io/ObjectInputStream.java:
2520         Re-ordered imports.
2522 2004-09-24  Casey Marshall <csm@gnu.org>
2524         * java/io/ObjectInputStream.java (callReadMethod): re-throw
2525         `ClassNotFoundException'.
2527 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
2529         * java/io/ObjectInputStream.java (readObject): Delegate instantation
2530         of Externalizable classes to ObjectStreamClass.
2531         * java/io/ObjectStreamClass.java (newInstance): New method to
2532         instantiate Externalizable (while ignoring the accessibility of
2533         the constructor). (constructor): New field to cache the constructor.
2535 2004-09-24  Mark Wielaard  <mark@klomp.org>
2537         * java/net/URL.java (systemClassLoader): New static field.
2538         (getURLStreamHandler): Always use system/application classloader
2539         for finding URLStreamhandler. Remove unecessary instanceof checks.
2541 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
2543         * java/net/URL.java
2544         (set): This method now matches the behaviour of the JDK.
2545         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
2547 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
2549         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
2551 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
2553         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
2554         Don't set authority if host isn't specified.
2556 2004-09-24  Michael Koch  <konqueror@gmx.de>
2558         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
2559         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
2560         * gnu/java/nio/VMPipe.java,
2561         gnu/java/nio/VMSelector.java:
2562         New files.
2563         * gnu/java/nio/natPipeImplEcos.cc,
2564         gnu/java/nio/natPipeImplPosix.cc,
2565         gnu/java/nio/natPipeImplWin32.cc:
2566         Ported to VMPipe.
2567         * gnu/java/nio/natSelectorImplEcos.cc,
2568         gnu/java/nio/natSelectorImplPosix.cc,
2569         gnu/java/nio/natSelectorImplWin32.cc:
2570         Ported to VMSelector.
2571         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
2572         gnu/java/nio/VMSelector.java.
2573         * Makefile.in: Regenerated.
2575 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
2577         * java/lang/StackTraceElement.java
2578         (className): Renamed field to declaringClass to be compatible
2579         with Sun serialization format.
2581 2004-09-23  Michael Koch  <konqueror@gmx.de>
2583         * java/applet/AppletContext.java,
2584         java/applet/Applet.java,
2585         java/applet/AppletStub.java,
2586         java/applet/AudioClip.java:
2587         Jalopied and checkstyle clean.
2589 2004-09-23  Mark Wielaard  <mark@klomp.org>
2591         * java/util/Collections.java
2592         (binarySearch(List, Object, Comparator)): Explicitly
2593         reverse direction in list iterator.
2594         (rotate): Just return when list is empty.
2596 2004-09-23  Tom Tromey  <tromey@redhat.com>
2598         PR java/17329:
2599         * testsuite/libjava.compile/pr17329.java: New file.
2601         PR java/17380:
2602         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
2603         9.2-implicit-7.
2605 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
2607         * Makefile.am: Run aclocal with -I ../config
2608         * acinclude.m4: Delete macros picked up from ../config and tidy.
2609         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
2610         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
2611         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
2613 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
2615         * aclocal.m4: Regenerate with aclocal 1.9.2.
2616         * configure: Regenerate.
2617         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
2618         * include/Makefile.in, testsuite/Makefile.in: Likewise.
2620 2004-09-22  David Daney  <ddaney@avtrex.com>
2622         PR libgcj/17623
2623         * java/net/URL.java (URL): Copy userInfo from context.
2624         (getUserInfo): Return cached userInfo if present.
2626 2004-09-22  Tom Tromey  <tromey@redhat.com>
2628         PR libgcj/6182:
2629         * mauve-libgcj: Enable java.lang.Character tests.
2631 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
2633         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
2634         dependencies.
2635         (lib_org_ietf_jgss_la_LIBADD): Likewise.
2636         * Makefile.in: Regenerated.
2638 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
2640         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
2641         * configure: Regenerate.
2642         * include/config.h.in: Likewise.
2643         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
2644         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
2645         macro to gtkpeer.h.
2646         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2647         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
2648         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
2649         architectures.
2650         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
2651         Likewise.
2653 2004-09-22  Tom Tromey  <tromey@redhat.com>
2655         PR libgcj/14446:
2656         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
2657         when comparing CRCs.
2658         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
2659         field.
2660         (read()): New overload.
2662 2004-09-21  Tom Tromey  <tromey@redhat.com>
2664         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
2665         Indentation fix.
2667 2004-09-21  Michael Koch  <konqueror@gmx.de>
2669         * java/net/Socket.java
2670         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
2672 2004-09-21  Casey Marshall  <csm@gnu.org>
2674         * javax/crypto/MacSpi.java (clone): Provide meaningful
2675         implementation.
2677 2004-09-21  Tom Tromey  <tromey@redhat.com>
2679         PR libgcj/16869:
2680         * Makefile.in: Rebuilt.
2681         * Makefile.am (MOSTLYCLEANFILES): Removed.
2682         (mostlyclean-local): Remove header files.
2684 2004-09-21  Casey Marshall  <csm@gnu.org>
2686         * java/security/cert/X509CRLSelector.java:
2687         (match): remove unreachable try-catch clauses.
2688         Reported by: Dalibor Topic <robilad@kaffe.org>
2690 2004-09-21  Mark Wielaard  <mark@klomp.org>
2692         * java/util/TreeMap.java (root): Don't initialize.
2693         (TreeMap(Comparator)): Call fabricateTree(0).
2694         (fabricateTree): Initialize root and size when count is 0.
2696 2004-09-21  Sven de Marothy <sven@physto.se>
2698         * java/nio/ByteBuffer.java (hashCode): Implemented.
2699         * java/nio/CharBuffer.java: Likewise.
2700         * java/nio/DoubleBuffer.java: Likewise.
2701         * java/nio/FloatBuffer.java: Likewise.
2702         * java/nio/LongBuffer.java: Likewise.
2703         * java/nio/IntBuffer.java: Likewise.
2704         * java/nio/ShortBuffer.java: Likewise.
2706 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
2708         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
2710 2004-09-21  Michael Koch  <konqueror@gmx.de>
2712         * javax/net/ssl/SSLServerSocket.java:
2713         Removed comment about "Do not edit this file, it's generated.".
2715 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
2717         Import the big Crypto/Jessie/Security merge from Classpath.
2719         * Makefile.am: Add imported files.
2720         * Makefile.in: Regenerate.
2722         2004-08-14  Casey Marshall <csm@gnu.org>
2724         The Big Crypto Merge of 2004.
2726         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
2727         Crypto's version.
2729         Files imported from GNU Crypto.
2730         * javax/crypto/BadPaddingException.java
2731         * javax/crypto/Cipher.java
2732         * javax/crypto/CipherInputStream.java
2733         * javax/crypto/CipherOutputStream.java
2734         * javax/crypto/CipherSpi.java
2735         * javax/crypto/EncryptedPrivateKeyInfo.java
2736         * javax/crypto/ExemptionMechanism.java
2737         * javax/crypto/ExemptionMechanismException.java
2738         * javax/crypto/ExemptionMechanismSpi.java
2739         * javax/crypto/IllegalBlockSizeException.java
2740         * javax/crypto/KeyAgreement.java
2741         * javax/crypto/KeyAgreementSpi.java
2742         * javax/crypto/KeyGenerator.java
2743         * javax/crypto/KeyGeneratorSpi.java
2744         * javax/crypto/Mac.java
2745         * javax/crypto/MacSpi.java
2746         * javax/crypto/Makefile.am
2747         * javax/crypto/NoSuchPaddingException.java
2748         * javax/crypto/NullCipher.java
2749         * javax/crypto/NullCipherImpl.java
2750         * javax/crypto/SealedObject.java
2751         * javax/crypto/SecretKey.java
2752         * javax/crypto/SecretKeyFactory.java
2753         * javax/crypto/SecretKeyFactorySpi.java
2754         * javax/crypto/ShortBufferException.java
2755         * javax/crypto/interfaces/DHKey.java
2756         * javax/crypto/interfaces/DHPrivateKey.java
2757         * javax/crypto/interfaces/DHPublicKey.java
2758         * javax/crypto/interfaces/PBEKey.java
2759         * javax/crypto/spec/DESKeySpec.java
2760         * javax/crypto/spec/DESedeKeySpec.java
2761         * javax/crypto/spec/DHGenParameterSpec.java
2762         * javax/crypto/spec/DHParameterSpec.java
2763         * javax/crypto/spec/DHPrivateKeySpec.java
2764         * javax/crypto/spec/DHPublicKeySpec.java
2765         * javax/crypto/spec/IvParameterSpec.java
2766         * javax/crypto/spec/PBEKeySpec.java
2767         * javax/crypto/spec/PBEParameterSpec.java
2768         * javax/crypto/spec/RC2ParameterSpec.java
2769         * javax/crypto/spec/RC5ParameterSpec.java
2770         * javax/crypto/spec/SecretKeySpec.java
2771         * javax/security/auth/AuthPermission.java
2772         * javax/security/auth/DestroyFailedException.java
2773         * javax/security/auth/Destroyable.java
2774         * javax/security/auth/Policy.java
2775         * javax/security/auth/PrivateCredentialPermission.java
2776         * javax/security/auth/RefreshFailedException.java
2777         * javax/security/auth/Refreshable.java
2778         * javax/security/auth/Subject.java
2779         * javax/security/auth/SubjectDomainCombiner.java
2780         * javax/security/auth/callback/Callback.java
2781         * javax/security/auth/callback/CallbackHandler.java
2782         * javax/security/auth/callback/ChoiceCallback.java
2783         * javax/security/auth/callback/ConfirmationCallback.java
2784         * javax/security/auth/callback/LanguageCallback.java
2785         * javax/security/auth/callback/NameCallback.java
2786         * javax/security/auth/callback/PasswordCallback.java
2787         * javax/security/auth/callback/TextInputCallback.java
2788         * javax/security/auth/callback/TextOutputCallback.java
2789         * javax/security/auth/callback/UnsupportedCallbackException.java
2790         * javax/security/auth/login/AccountExpiredException.java
2791         * javax/security/auth/login/AppConfigurationEntry.java
2792         * javax/security/auth/login/Configuration.java
2793         * javax/security/auth/login/CredentialExpiredException.java
2794         * javax/security/auth/login/FailedLoginException.java
2795         * javax/security/auth/login/LoginContext.java
2796         * javax/security/auth/login/LoginException.java
2797         * javax/security/auth/login/NullConfiguration.java
2798         * javax/security/auth/x500/X500PrivateCredential.java
2799         * javax/security/sasl/AuthenticationException.java
2800         * javax/security/sasl/AuthorizeCallback.java
2801         * javax/security/sasl/RealmCallback.java
2802         * javax/security/sasl/RealmChoiceCallback.java
2803         * javax/security/sasl/Sasl.java
2804         * javax/security/sasl/SaslClient.java
2805         * javax/security/sasl/SaslClientFactory.java
2806         * javax/security/sasl/SaslException.java
2807         * javax/security/sasl/SaslServer.java
2808         * javax/security/sasl/SaslServerFactory.java
2809         * org/ietf/jgss/ChannelBinding.java
2810         * org/ietf/jgss/GSSContext.java
2811         * org/ietf/jgss/GSSCredential.java
2812         * org/ietf/jgss/GSSException.java
2813         * org/ietf/jgss/GSSManager.java
2814         * org/ietf/jgss/GSSName.java
2815         * org/ietf/jgss/MessageProp.java
2816         * org/ietf/jgss/Oid.java
2817         * org/ietf/jgss/MessagesBundle.properties
2819         Files imported from Jessie <http://www.nongnu.org/jessie/>
2820         * javax/net/ServerSocketFactory.java
2821         * javax/net/SocketFactory.java
2822         * javax/net/VanillaServerSocketFactory.java
2823         * javax/net/VanillaSocketFactory.java
2824         * javax/net/ssl/HandshakeCompletedEvent.java
2825         * javax/net/ssl/HandshakeCompletedListener.java
2826         * javax/net/ssl/HostnameVerifier.java
2827         * javax/net/ssl/HttpsURLConnection.java
2828         * javax/net/ssl/KeyManager.java
2829         * javax/net/ssl/KeyManagerFactory.java
2830         * javax/net/ssl/KeyManagerFactorySpi.java
2831         * javax/net/ssl/ManagerFactoryParameters.java
2832         * javax/net/ssl/SSLContext.java
2833         * javax/net/ssl/SSLContextSpi.java
2834         * javax/net/ssl/SSLException.java
2835         * javax/net/ssl/SSLHandshakeException.java
2836         * javax/net/ssl/SSLKeyException.java
2837         * javax/net/ssl/SSLPeerUnverifiedException.java
2838         * javax/net/ssl/SSLPermission.java
2839         * javax/net/ssl/SSLProtocolException.java
2840         * javax/net/ssl/SSLServerSocket.java
2841         * javax/net/ssl/SSLServerSocketFactory.java
2842         * javax/net/ssl/SSLSession.java
2843         * javax/net/ssl/SSLSessionBindingEvent.java
2844         * javax/net/ssl/SSLSessionBindingListener.java
2845         * javax/net/ssl/SSLSessionContext.java
2846         * javax/net/ssl/SSLSocket.java
2847         * javax/net/ssl/SSLSocketFactory.java
2848         * javax/net/ssl/TrivialHostnameVerifier.java
2849         * javax/net/ssl/TrustManager.java
2850         * javax/net/ssl/TrustManagerFactory.java
2851         * javax/net/ssl/TrustManagerFactorySpi.java
2852         * javax/net/ssl/X509KeyManager.java
2853         * javax/net/ssl/X509TrustManager.java
2854         * javax/security/cert/Certificate.java
2855         * javax/security/cert/CertificateEncodingException.java
2856         * javax/security/cert/CertificateException.java
2857         * javax/security/cert/CertificateExpiredException.java
2858         * javax/security/cert/CertificateNotYetValidException.java
2859         * javax/security/cert/CertificateParsingException.java
2860         * javax/security/cert/X509CertBridge.java
2861         * javax/security/cert/X509Certificate.java
2863         2004-08-20  Casey Marshall  <csm@gnu.org>
2865         * java/security/cert/X509CRLSelector.java: New file.
2866         * java/security/cert/X509CertSelector.java: New file.
2868 2004-09-15  Michael Koch  <konqueror@gmx.de>
2870         * gnu/java/net/protocol/file/Handler.java
2871         (openConnection): Don't throw exception if host part for file: URI is
2872         present. setURL() keeps file: protocol if ftp: protocol is not
2873         available.
2875 2004-09-14  Richard Henderson  <rth@redhat.com>
2877         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
2878         value of sigsuspend.
2880 2004-09-12  Tom Tromey  <tromey@redhat.com>
2882         * javax/naming/CompoundName.java (CompoundName): Don't check for
2883         separator in "flat" case.
2885 2004-09-12  Michael Koch  <konqueror@gmx.de>
2887         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
2888         AM_CONFIG_HEADER by AC_CONFIG_FILES.
2889         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
2890         Regenerate.
2892 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
2894         PR libgcj/14751
2895         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
2896         handle in newly-allocated _Jv_Thread_t.
2897         (_Jv_ThreadDestroyData): Close thread handle.
2898         (_Jv_ThreadStart): Remove obsolete comment.
2899         Store handle of newly-created thread in _Jv_Thread_t.
2900         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
2901         before including <windows.h>
2902         #define _Jv_HaveCondDestroy
2904 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
2906         * java/lang/natThread.cc (finalize_native): Destroy
2907         join conditional variable and mutex if these destroy
2908         operations are supported.
2910 2004-09-10  Dalibor Topic <robilad@kaffe.org>
2912         * gnu/java/net/protocol/file/Connection.java (permission): New field.
2913         (DEFAULT_PERMISSION): New constant.
2914         (Connection): Create a FilePermission with permission to read file.
2916 2004-09-10  Michael Koch  <konqueror@gmx.de>
2918         * gnu/java/net/protocol/file/Connection.java
2919         (getLastModified): Moved around.
2920         (getPermission): Return stored permission.
2922 2004-09-10  Michael Koch  <konqueror@gmx.de>
2924         * Makefile.in: Regenerate.
2926 2004-09-10  Michael Koch  <konqueror@gmx.de>
2928         * Makefile.am: Reverted accidently commited stuff.
2929         * configure: Regenerated.
2931 2004-09-10  Michael Koch  <konqueror@gmx.de>
2933         * gnu/java/net/protocol/file/Connection.java
2934         (lineSeparator): Made non-final.
2935         (static): Removed.
2936         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
2937         instead of StringBufferInputStream.
2939 2004-09-10  Michael Koch  <konqueror@gmx.de>
2941         * gnu/java/net/protocol/file/Connection.java
2942         (connect): Handle file is a directory case.
2944 2004-09-10  Michael Koch  <konqueror@gmx.de>
2946         * Makefile.am
2947         (xlib_includes): Removed.
2948         (AM_CPPFLAGS): Renamed from INCLUDES.
2949         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
2950         * Makefile.in: Regenerate.
2952 2004-09-09  Michael Koch  <konqueror@gmx.de>
2954         * java/security/ProtectionDomain.java,
2955         * java/util/PropertyPermissionCollection.java:
2956         Fixed javadocs all over.
2958 2004-09-09  Sven de Marothy  <sven@physto.se>
2960         Patch from David Gilbert <david.gilbert@object-refinery.com>
2961         * java/lang/Comparable.java: Fixed documentation errors.
2962         * java/util/Arrays.java: Likewise.
2964 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2966         * java/net/Inet4Address.java
2967         (Inet4Address): Added comment to serialization UID.
2968         * java/text/Format.java
2969         (Format): Added comment to serialization UID.
2971 2004-09-09  Michael Koch  <konqueror@gmx.de>
2973         * java/lang/System.java
2974         (err): Fixed javadoci to point to setErr() and not setOut().
2976 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
2978         (normalizePath): Added special case for windows systems.
2980 2004-09-09  Michael Koch  <konqueror@gmx.de>
2982         * java/io/File.java
2983         (dupSeparator): Made private.
2984         (File(URI)): New constructor.
2985         (getParentFile): Fixed javadoc.
2986         (createTempFile): Reformated.
2987         (setReadOnly): Added comment.
2988         (deleteOnExit): Merged javadoc with classpath version.
2990 2004-09-09  Michael Koch  <konqueror@gmx.de>
2992         * Makefile.am: Don't try to include deps.mk.
2993         * Makefile.in: Regenerated.
2995 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
2997         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
2998         .d files.
2999         * configure: Rebuilt.
3001 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
3003         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
3004         Changed pfn from static local to local.
3006 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
3007             H.J. Lu  <hongjiu.lu@intel.com>
3009         PR libgcj/17290
3010         * Makefile.am (GCJCOMPILE): Remove definition.
3011         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
3012         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
3013         * Makefile.in: Rebuilt.
3015 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
3017         * configure.ac (enable-gc-debug): Update help for new syntax.
3018         * configure: Regenerate.
3020 2004-09-03  David Daney  <ddaney@avtrex.com>
3022         * include/mips-signal.h: Update copyright.
3024 2004-09-03  David Daney  <ddaney@avtrex.com>
3026         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
3027         * include/mips-signal.h: Added HANDLE_FPE support.
3028         
3029 2004-08-31  Michael Koch  <konqueror@gmx.de>
3031         * javax/swing/plaf/basic/BasicTextAreaUI.java
3032         (create): New method.
3033         * javax/swing/text/DefaultHighlighter.java
3034         (DefaultHighlightPainter.debugRect): Removed.
3035         * javax/swing/text/StyleContext.java
3036         (DEFAULT_STYLE): New field.
3038 2004-08-31  Michael Koch  <konqueror@gmx.de>
3040         * javax/swing/plaf/basic/BasicLookAndFeel.java
3041         (initComponentDefaults): Add keybindings for selection.backward and
3042         selection-forward for text components.
3043         * javax/swing/plaf/basic/BasicTextUI.java
3044         (paintSafely): Paint highlight only when something is actually
3045         selected.
3046         * javax/swing/text/DefaultCaret.java
3047         (handleHighlight): New method.
3048         (setSelectionVisible): Don't do anything when nothing changes.
3049         Handle highlight.
3050         (moveDot): Reimplemented. Handle highlight.
3051         (setDot): Set mark too. Handle highlight.
3052         (getSelectionPainter): New method.
3053         * javax/swing/text/DefaultEditorKit.java
3054         (defaultActions): Added new actions for text selection.
3055         * javax/swing/text/DefaultHighlighter.java
3056         (DefaultHighlightPainter): New inner class.
3057         (DefaultPainter): New field.
3058         (paint): Implemented.
3059         * javax/swing/text/PlainView.java
3060         (paint): Don't draw background here again.
3061         * javax/swing/text/Utilities.java
3062         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
3063         (drawTabbedText): Likewise.
3065 2004-08-31  Graydon Hoare  <graydon@redhat.com>
3067         * javax/swing/JComponent.java
3068         (resetKeyboardActions): Add null checks.
3070 2004-08-31  Graydon Hoare  <graydon@redhat.com>
3072         * javax/swing/DefaultButtonModel.java:
3073         Skip group notification when no group is set.
3075 2004-08-31  Graydon Hoare  <graydon@redhat.com>
3077         * javax/swing/JColorChooser.java: 
3078         Make a couple inner classes static, for jikes.
3080 2004-08-31  Michael Koch  <konqueror@gmx.de>
3082         * javax/swing/plaf/basic/BasicTextUI.java
3083         (RottView.modelToView): New method.
3084         (UpdateHandler): Renamed from EventHandler.
3085         (updateHandler): Renamed from eventHandler.
3086         (modelToView): Implemented.
3087         * javax/swing/text/AbstractDocument.java
3088         (BranchElement.getElement): Return null for non-existing indeces.
3089         (BranchElement.getElementIndex): Return 0 in some corner cases.
3090         * javax/swing/text/FieldView.java
3091         (modelToView): New method.
3092         * javax/swing/text/PlainView.java
3093         (modelToView): Made public.
3095 2004-08-31  Kim Ho  <kho@redhat.com>
3097         * Makefile.am: New files.
3098         * Makefile.in: Regenerate.
3099         * gcj/Makefile.in: Regenerate.
3100         * include/Makefile.in: Regenerate.
3101         * java/awt/Color.java: Fix documentation.
3102         (RGBtoHSB): Use floats for conversions.
3103         * javax/swing/ButtonGroup.java: Run Jalopy.
3104         (setSelected): Reimplement.
3105         * javax/swing/DefaultButtonModel.java: Run Jalopy.
3106         (changeState): Let ButtonGroup know that the button 
3107         is changing state.
3108         * javax/swing/JColorChooser.java: Implement.
3109         * javax/swing/JLabel.java: Run Jalopy.
3110         * javax/swing/JSpinner.java: Run Jalopy.
3111         (setValue): New method.
3112         * javax/swing/JTabbedPane.java: Run Jalopy.
3113         (removeTabAt): Call correct remove method.
3114         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
3115         (getPreviousValue): Compare minimum value.
3116         * javax/swing/Timer.java: Run Jalopy.
3117         (run): Comment out println.
3118         * javax/swing/ToolTipManager.java:
3119         (mouseMoved): Get new tooltip text for location.
3120         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
3121         Jalopy and Javadoc.
3122         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
3123         Implement.
3124         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
3125         Run Jalopy.
3126         (setSelectedColor): Fire ChangeEvent.
3127         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
3128         New file. Implement.
3129         * javax/swing/colorchooser/DefaultPreviewPanel.java:
3130         Ditto.
3131         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
3132         Ditto.
3133         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
3134         Ditto.
3135         * javax/swing/plaf/basic/BasicArrowButton.java:
3136         (getArrow): Fix size of upward pointing button.
3137         * javax/swing/plaf/basic/BasicColorChooserUI.java:
3138         Implement.
3139         * javax/swing/plaf/basic/BasicSliderUI.java:
3140         (getWidthOfWidestLabel): Use preferred dimensions.
3141         (getHeightOfTallestLabel): Ditto.
3142         * javax/swing/plaf/basic/BasicSpinnerUI.java:
3143         Run Jalopy.
3144         (mousePressed): Disable changes to spinner if it is not enabled.
3145         * testsuite/Makefile.in: Regenerate.
3148 2004-08-31  Michael Koch  <konqueror@gmx.de>
3150         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
3151         javax/swing/plaf/basic/BasicTableUI.java:
3152         Added copyright notice.
3154 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
3156         * Makefile.am: Added new files.
3157         * Makefile.in: Regenerate.
3158         * javax/swing/ComboBoxEditor.java: Added javadocs.
3159         * javax/swing/ComboBoxModel.java: Likewise.
3160         * javax/swing/DefaultComboBoxModel.java: Implemented.
3161         * javax/swing/DefaultListCellRenderer.java: Added javadocs
3162         and ran through jalopy to fix formatting style.
3163         (getListCellRendererComponent): Use appropriate border
3164         if renderer has focus and use noFocusBorder when it doesn't.
3165         * javax/swing/JComboBox.java: Implemented.
3166         * javax/swing/JList.java:
3167         (locationToIndex): New Method. Implemented.
3168         (indexToLocation): New Method.
3169         * javax/swing/JPopupMenu.java: 
3170         (visible): New field.
3171         (isVisible): Changed to use new field above.
3172         (setVisible): Likewise.
3173         * javax/swing/MutableComboBoxModel.java: Added javadocs.
3174         * javax/swing/plaf/basic/BasicArrowButton.java: 
3175         (shadow): Changed default color to Color.gray.
3176         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
3177         UI delegate for JComboBox.
3178         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
3179         Popup menu containing list of JComboBox's items.
3180         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
3181         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
3182         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
3183         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
3184         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3185         (popupMenuWillBecomeVisible): Set selected path to the first
3186         element only if it is of type MenuElement. Also fix formatting
3187         style.
3188         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
3189         methods signatures.
3190         
3191 2004-08-31  Michael Koch  <konqueror@gmx.de>
3193         * javax/swing/text/AbstractDocument.java
3194         (createBranchElement): Use new constructor of BranchElement.
3195         (createLeafElement): Renamed arguments.
3196         (getRootElements): Implemented.
3197         (BranchElement.start): Removed.
3198         (BranchElement.end): Likewise.
3199         (BranchElement.BranchElement): Fixed arguments.
3200         (BranchElement.getEndOffset): Reimplemented.
3201         (BranchElement.getStartOffset): Likewis.
3202         * javax/swing/text/DefaultCaret.java
3203         (paint): Draw simple vertical line as caret instead of a rectangle.
3204         * javax/swing/text/JTextComponent.java
3205         (setText): Use doc directly.
3206         * javax/swing/text/PlainView.java
3207         (nextTabStop): Implemented.
3208         * javax/swing/text/Utilities.java
3209         (drawTabbedText): nextTabStop() returns an absolute x position.
3210         (getTabbedTextWidth): Likewise.
3212 2004-08-31  Graydon Hoare  <graydon@redhat.com>
3214         * java/awt/Component.java 
3215         (isFocusTraversable): Predicate on isLightweight()
3216         (setFocusable): Set isFocusTraversableOverridden.
3217         (requestFocus): Predicate peer dispatch on !isLightweight()
3218         (requestFocusInWindow): Likewise.
3219         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
3220         * java/awt/Container.java
3221         (dispatchEventImpl): Predicate on event mask.
3222         (LightweightDispatcher): Remove focus machinery.
3223         * java/awt/DefaultFocusTraversalPolicy.java
3224         (accept): Expand predicate to include isFocusable(). 
3225         * java/awt/DefaultKeyboardFocusManager.java:
3226         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
3227         * java/awt/KeyboardFocusManager.java
3228         (redispatchEvent): Synchronize on event to prevent feedback.
3229         * javax/swing/AbstractButton.java
3230         (ButtonFocusListener): Remove class.
3231         (init): Set focusPainted, focusable.
3232         * javax/swing/ActionMap.java (get): Check parent for null. 
3233         * javax/swing/InputMap.java (get): Likewise. 
3234         * javax/swing/JComponent.java
3235         (inputMap_whenFocused): New InputMap.
3236         (inputMap_whenAncestorOfFocused): Likewise.
3237         (inputMap_whenInFocusedWindow): Likewise.
3238         (getActionForKeyStroke): Rewrite.
3239         (getConditionForKeystroke): Likewise.
3240         (ActionListenerProxy): New private class.
3241         (setInputMap): Implement.
3242         (getInputMap): Likewise.
3243         (setActionMap): Likewise.
3244         (getActionMap): Likewise.
3245         (processComponentKeyEvent): New empty method.
3246         (processKeyEvent): Implement.
3247         (processKeyBinding): Likewise.
3248         (resetKeyboardActions): Rewrite.
3249         * javax/swing/KeyStroke.java: Rewrite.
3250         * javax/swing/SwingUtilities.java
3251         (notifyAction): Implement.
3252         (replaceUIActionMap): Likewise.
3253         (replaceUIInputMap): Likewise.
3254         * javax/swing/plaf/basic/BasicButtonListener.java
3255         (focusGained): Implement.
3256         (focusLost): Repaint if focusPainted().
3257         (installKeyboardActions): Install pressed / released actions.
3258         (uninstallKeyboardActions): Implement.
3259         * javax/swing/plaf/basic/BasicButtonUI.java
3260         (focusColor): New field.
3261         (installDefaults): Load focus color, install input map.
3262         (installKeyboardActions): Implement.
3263         (uninstallKeyboardActions): Likewise.
3264         (paintFocus): Rewrite.
3265         * javax/swing/plaf/basic/BasicLookAndFeel.java
3266         (Button.focus): New default, midPurple. 
3267         * javax/swing/plaf/basic/BasicTextUI.java
3268         (kit): Make static.
3269         (installUI): Get doc from kit, load defaults.
3270         (getKeymapName): Implement.
3271         (createKeymap): Likewise.
3272         (installKeyboardActions): Likewise.
3273         (getInputMap): Likewise.
3274         (getActionMap): Likewise.
3275         (createActionMap): Likewise.
3276         * javax/swing/text/AbstractDocument.java
3277         (getStartPosition): Implement.
3278         (getEndPosition): Likewise.
3279         * javax/swing/text/DefaultEditorKit.java
3280         (CopyAction): New class.
3281         (CutAction): Likewise.
3282         (DefaultKeyTypedAction): Likewise.
3283         (InsertBreakAction): Likewise.
3284         (InsertContentAction): Likewise.
3285         (InsertTabAction): Likewise.
3286         (PasteAction): Likewise.
3287         (defaultActions): New static table.
3288         (createCaret): Implement.
3289         (getActions): Likewise.
3290         * javax/swing/text/JTextComponent.java
3291         (KeymapWrapper): New private class.
3292         (KeymapActionMap): Likewise.
3293         (DefaultKeymap): New class.
3294         (keymaps): New static table.
3295         (keymap): New field.
3296         (getKeymap): Implement.
3297         (removeKeymap): Likewise.
3298         (addKeymap): Likewise.
3299         (setKeymap): Likewise.
3300         (loadKeymap): Likewise.
3301         (getActions): Likewise.
3302         (margin): New field.
3303         (JTextComponent): Build and install default keymap.
3304         * javax/swing/text/TextAction.java
3305         (textAction): Call super properly.
3306         (getTextComponent): Implement.
3307         * javax/swing/text/Utilities.java
3308         (drawTabbedText): Adjust position by ascent.
3310 2004-08-31  David Jee  <djee@redhat.com>
3312         PR AWT/17156
3314         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
3315         (setEnabled): Make it a native method.
3316         * java/awt/DefaultKeyboardFocusManager.java
3317         (postProcessKeyEvent): Only post event if the menu item
3318         is active.
3319         * java/awt/MenuItem.java:
3320         Private field 'enabled' should be true by default.
3321         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3322         (setEnabled): New function.
3324 2004-08-31  David Jee  <djee@redhat.com>
3326         PR AWT/17059
3328         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
3329         (nativeSetHelpMenu): New native method declaration.
3330         (addHelpMenu): Call nativeSetHelpMenu().
3331         (addMenu): Remove.
3332         * java/awt/MenuBar.java
3333         (setHelpMenu): Call addNotify() on the new help menu.
3334         (add): Call addNotify() on the new menu.
3335         (addNotify): Set the help menu if one exists.
3336         * java/awt/peer/MenuBarPeer.java
3337         (addMenu): Remove.
3338         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
3339         (nativeSetHelpMenu): New method.
3341 2004-08-31  Graydon Hoare  <graydon@redhat.com>
3343         * Makefile.am: Add new files.
3344         * Makefile.in: Regenerate.
3345         * javax/swing/Box.java: Fix setting of layout in ctor.
3346         * javax/swing/JScrollPane.java: Scroll headers as well.
3347         * javax/swing/JTable.java: Reimplement.
3348         * javax/swing/JViewPort.java: Only add non-null children.
3349         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
3350         * javax/swing/Timer.java: Fix stopping null waker.
3351         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
3352         * javax/swing/plaf/basic/BasicTableUI.java: New file.
3353         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
3354         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
3355         * javax/swing/table/DefaultTableModel.java: Clean up.
3356         * javax/swing/table/JTableHeader.java: Implement.
3358 2004-08-31  Mark Wielaard  <mark@klomp.org>
3360         * javax/swing/JSpinner.java (getChangeListeners): Remove double
3361         semi-colon.
3363 2004-08-31  Mark Wielaard  <mark@klomp.org>
3365         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
3366         Declare variables at top of functions/block.
3367         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
3369 2004-08-31  Mark Wielaard  <mark@klomp.org>
3371         * java/lang/Rectangle.java (intersects): Check r.width and r.height
3372         first.
3374 2004-08-31  Michael Koch  <konqueror@gmx.de>
3376         * javax/swing/text/PlainView.java
3377         (selectedColor): New field.
3378         (unselectedColor): Likewise.
3379         (font): Likewise.
3380         (updateMetrics): New method.
3381         (lineToRect): Likewise.
3382         (modelToView): Likewise.
3383         (drawSelectedText): Use color from JTextComponent ad draw with
3384         Utilities class.
3385         (drawUnselectedText): Likewise.
3386         (paint): Initialize helper fields.
3387         * javax/swing/text/View.java
3388         (getChildAllocation): New method.
3389         (getViewIndex): Likewise.
3390         (getToolTipText): Likewise.
3392 2004-08-31  Michael Koch  <konqueror@gmx.de>
3394         * javax/swing/text/Utilities.java
3395         (drawTabbedText): Reimplemented.
3396         (getTabbedTextWidth): Likewise.
3398 2004-08-31  Michael Koch  <konqueror@gmx.de>
3400         * javax/swing/plaf/basic/BasicTextUI.java
3401         (installDefaults): Install caret and highlighter.
3402         (modelToView): Use Bias.Forward when calling sibling.
3403         * javax/swing/text/AbstractDocument.java
3404         (ElementEdit): Implements DocumentEvent.ElementChange.
3405         (ElementEdit.ElementEdit): New method.
3406         (ElementEdit.getChildrenAdded): Likewise.
3407         (ElementEdit.getChildrenRemoved): Likewise.
3408         (ElementEdit.getElement): Likewise.
3409         (ElementEdit.getIndex): Likewise.
3410         * javax/swing/text/DefaultCaret.java
3411         (color): Removed.
3412         (textComponent): Renamed from parent, made private.
3413         (selectionVisible): Renamed from vis_sel, made private.
3414         (blinkRate): Renamed from blink, made private.
3415         (magicCaretPosition): Renamed from magic, made private.
3416         (visible): Renamed from vis, made private.
3417         (dot): Made private.
3418         (mark): Likewise.
3419         (deinstall): Remove as MouseMotionListener.
3420         (install): Initialize textComponent first. Add as MouseMotionListener.
3421         (paint): Reimplemented.
3422         * javax/swing/text/JTextComponent.java
3423         (setCaret): Deinstall old caret, install new one and fire property
3424         change after setting property.
3425         (setHighlighter): Deinstall old highlighter, install new one and fire
3426         property change after setting property.
3427         (setCaretColor): Fire property change after setting property.
3428         (setDisabledTextColor): Likewise.
3429         (setSelectedTextColor): Likewise.
3430         (setSelectionColor): Likewise.
3431         (modelToView): New method.
3433 2004-08-31  Michael Koch  <konqueror@gmx.de>
3435         * javax/swing/text/AbstractDocument.java
3436         (getText): Simplified.
3437         * javax/swing/text/Segment.java
3438         (current): New field.
3439         (current): Reimplemented.
3440         (first): Likewise.
3441         (getIndex): Likewise.
3442         (last): Likewise.
3443         (next): Likewise.
3444         (previous): Likewise.
3445         (setIndex): Likewise.
3447 2004-08-31  Michael Koch  <konqueror@gmx.de>
3449         * javax/swing/plaf/basic/BasicButtonUI.java
3450         (defaultTextIconGap): Made protected.
3451         (defaultTextShiftOffset): Likewise.
3452         (textShiftOffset): New field.
3453         (clearTextShiftOffset): New method.
3454         (getTextShiftOffset): Likewise.
3455         (setTextShiftOffset): Likewise.
3457 2004-08-31  Michael Koch  <konqueror@gmx.de>
3459         * javax/swing/plaf/basic/BasicTextUI.java
3460         (installUI): Add eventHandler as property listener.
3461         (uninstallUI): remove eventHandler as propert listener.
3462         (installDefaults): Added comment.
3463         (installListeners): Likewise.
3464         (installKeyboardActions): Likewise.
3465         (uninstallDefaults): Likewise.
3466         (uninstallListeners): Likewise.
3467         (uninstallKeyboardActions): Likewise.
3469 2004-08-31  Michael Koch  <konqueror@gmx.de>
3471         * javax/swing/text/AbstractDocument.java:
3472         Fixed some typos in comments.
3473         (insertString): Reimplemented.
3474         (remove): Likewise.
3475         (replace): New method.
3476         (children): Dont use fully qualified class name.
3477         (DefaultDocumentEvent.offset): Renamed from off.
3478         (DefaultDocumentEvent.length): Renamed from len.
3479         (DefaultDocumentEvent.type): New field.
3480         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
3481         (DefaultDocumentEvent.getType): Implemented.
3483 2004-08-31  Michael Koch  <konqueror@gmx.de>
3485         * javax/swing/plaf/basic/BasicTextUI.java
3486         (RootView.textComponent): Removed.
3487         (RootView.RootView): Don't initialize textComponent.
3488         (RootView.getViewFactory): New method.
3489         (EventHandler): New inner class.
3490         (rootView): Initialize at instance creation.
3491         (eventHandler): New field.
3492         (installUI): Don't create view hierarchy directly,
3493         call modelChanged() instead.
3494         (modelChanged): New method.
3495         * javax/swing/text/JTextComponent.java
3496         (setDocument): Fire property change event.
3498 2004-08-31  Michael Koch  <konqueror@gmx.de>
3500         * javax/swing/plaf/basic/BasicTextUI.java
3501         (RootView.paint): Removed debug output.
3502         (paintSafely): Draw highlighter before text.
3503         (paintBackground): Use background color of text component.
3504         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
3505         Reformatted.
3507 2004-08-31  Michael Koch  <konqueror@gmx.de>
3509         * javax/swing/plaf/basic/BasicToolBarUI.java
3510         (BasicToolBarUI): Fixed arguments for constructor.
3511         (createUI): Fixed creation of object.
3513 2004-08-31  Michael Koch  <konqueror@gmx.de>
3515         * javax/swing/DefaultListSelectionModel.java
3516         (fireValueChanged): Renamed from fireSelectionValueChanged,
3517         made protected.
3519 2004-08-31  Michael Koch  <konqueror@gmx.de>
3521         * javax/swing/text/TabSet.java
3522         (TabSet): Implements java.io.Serializable.
3523         * javax/swing/text/TabStop.java
3524         (TabStop): Implements java.io.Serializable.
3525         (TabStop): Made public.
3527 2004-08-31  Michael Koch  <konqueror@gmx.de>
3529         * javax/swing/JComponent.java
3530         (setUI): Fire PropertyChange.
3531         * javax/swing/JLabel.java
3532         (text): Renamed from labelText.
3533         (horizontalAlignment): New default vlaue.
3534         (icon): Renamed from activeIcon.
3535         (displayedMnemonic): Renamed from mnemonicKey, added default value.
3536         (displayedMnemonicIndex): Renamed from underlineChar.
3537         (setDisplayedMnemonic): Reimplemented.
3538         * javax/swing/JRadioButton.java
3539         (JRadioButton): New constructors.
3540         * javax/swing/JTextField.java
3541         (JTextField): Throw exception if colums < 0, initialitialz
3542         this.columns directly and initialize document with text conditionally.
3544 2004-08-31  Michael Koch  <konqueror@gmx.de>
3546         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
3547         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
3548         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
3549         * javax/swing/text/FieldView.java
3550         (paint): Just call super method for now.
3551         * Makefile.am: Added new files.
3552         * Makefile.in: Regenerated.
3554 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
3556         * javax/swing/AbstractSpinnerModel.java,
3557         javax/swing/JSpinner.java,
3558         javax/swing/SpinnerNumberModel.java,
3559         javax/swing/plaf/basic/BasicSpinnerUI.java:
3560         New files.
3561         * javax/swing/plaf/basic/BasicLookAndFeel.java
3562         (initClassDefaults): Added defaults for BasicSpinnerUI.
3564 2004-08-31  Michael Koch  <konqueror@gmx.de>
3566         * Makefile.am: Added new files.
3567         * Makefile.in: Regenerated.
3569 2004-08-31  Michael Koch  <konqueror@gmx.de>
3571         * javax/swing/TransferHandler.java,
3572         javax/swing/plaf/basic/ComboPopup.java: New files
3573         * Makefile.am: Added javax/swing/TransferHandler.java and
3574         javax/swing/plaf/basic/ComboPopup.java
3575         * Makefile.in: Regenerated.
3577 2004-08-31  Roman Kennke  <roman@ontographics.com>
3579         * javax/swing/text/Utilities.java: New file.
3581 2004-08-31  Michael Koch  <konqueror@gmx.de>
3583         * Makefile.am: Added javax/swing/text/Utilities.java.
3584         * Makefile.in: Regenerated.
3586 2004-08-31  Graydon Hoare  <graydon@redhat.com>
3588         * javax/swing/text/SimpleAttributeSet.java: New file.
3589         * javax/swing/text/StyleConstants.java: New file.
3590         * javax/swing/text/StyleContext.java: New file.
3591         * javax/swing/text/TabSet.java: New file.
3592         * javax/swing/text/TabStop.java: New file.
3593         * javax/swing/text/AbstactDocument.java:
3594         (AbstractElement): Implement attribute support.
3595         * javax/swing/text/AttributeSet.java
3596         (NameAttribute): New static field.
3597         (ResolveAttribute): New static field.
3598         * Makefile.am: Update for new files.
3599         * Makefile.in: Regenerate.
3601 2004-08-31  Craig Black  <craig.black@aonix.com>
3603         * gnu/java/awt/peer/gtk/GdkGraphics.java 
3604         (drawImage): Add support for scaling pixmaps.
3605         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
3606         (copyAndScalePixmap): New native method.
3608 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3610         PR AWT/16121
3611         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
3612         type-punning compiler warnings using unions.
3613         (throw): Replace bzero with memset.
3615 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
3616             Thomas Fitzsimmons  <fitzsim@redhat.com>
3618         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
3619         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
3620         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
3621         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3622         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
3624 2004-08-31  Mark Wielaard  <mark@klomp.org>
3626         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
3627         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
3628         and stdlib.h, not gtkpeer.h.
3629         (*vm): New static variable.
3630         (areaPreparedID): Make static.
3631         (areaUpdatedID): Likewise.
3632         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
3633         (area_prepared): Likewise.
3634         (area_updated): Likewise.
3635         (closed): Likewise.
3636         (initStaticState): Initialize *vm javaVM.
3637         (pumpBytes): Use given env, not global gdk_env.
3639 2004-08-31  Mark Wielaard  <mark@klomp.org>
3641         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
3642         comments.
3644 2004-08-31  Sven de Marothy  <sven@physto.se>
3646         * java/awt/geom/CubicCurve2D.java: Reindent.
3647         (contains): Implemented.
3648         (intersects): Implemented.
3649         * java/awt/geom/QuadCurve2D.java: Likewise.
3650         * java/awt/geom/GeneralPath.java: Reindent and document.
3651         Fully (re)implemented using separate xpoints and ypoints
3652         float[] coords.
3653         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
3655 2004-08-31  Michael Koch  <konqueror@gmx.de>
3657         * javax/swing/JMenuItem.java
3658         (getMenuDragMouseListeners): New method.
3659         (getMenuKeyListeners): Likewise.
3661 2004-08-31  Michael Koch  <konqueror@gmx.de>
3663         * javax/swing/AbstractButton.java
3664         (model): Made protected.
3665         (actionListener): Likewise.
3666         (changeListener): Likewise.
3667         (itemListener): Likewise.
3668         (multiClickThreshhold): New field.
3669         (getActionListeners): New method.
3670         (getChangeListeners): Likewise.
3671         (getItemListeners): Likewise.
3672         (fireItemStateChanged): Simplified implementation.
3673         (fireActionPerformed): Likewise.
3674         (fireStateChanged): Likewise.
3675         (getMultiClickThreshhold): New method.
3676         (setMultiClickThreshhold): Likewise.
3678 2004-08-31  Tom Tromey  <tromey@redhat.com>
3680         * java/awt/image/Kernel.java (clone): Use super.clone().
3682 2004-08-31  David Jee  <djee@redhat.com>
3684         PR AWT/16682
3685         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3686         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
3687         (nativeSetIconImageFromData): New native method declaration.
3688         (setIconImage): Handle images not produced from GdkPixbufDecoder.
3689         * gnu/java/awt/peer/gtk/GtkImage.java
3690         (getPixelCache): New method.
3691         (getColorModel): New method.
3692         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3693         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
3694         (free_pixbuf_data): New helper function.
3695         (nativeSetIconImageFromData): New function.
3697 2004-08-31  Graydon Hoare  <graydon@redhat.com>
3699         PR SWING/16576
3700         * javax/swing/JLayeredPane.java 
3701         (setLayer): Permit changing layer after addition.
3702         (setPosition): Permit over-length positions.
3703         (layerToRange): Compare intValue()s.
3704         * javax/swing/Box.java (createHorizontalBox): Implement.
3705         (createRigidArea): Likewise.
3706         (createVerticalBox): Likewise.
3708 2004-08-31  Kim Ho  <kho@redhat.com>
3710         * java/awt/Component.java:
3711         (processMouseEvent): Consume event after
3712         listeners process it.
3713         (processMouseMotionEvent): ditto.
3714         (processMouseWheelEvent): ditto.
3715         * java/awt/Container.java:
3716         (acquireComponentForMouseEvent):
3717         Do not dispatch to events that have been
3718         removed from the Container.
3719         (handleEvent): Consume the MouseEvents.
3720         * javax/swing/RepaintManager.java:
3721         (paintDirtyRegions): Do not add to list of 
3722         damaged areas if the component has no root.
3724 2004-08-31  Michael Koch  <konqueror@gmx.de>
3726         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
3728 2004-08-31  Mark Wielaard  <mark@klomp.org>
3730         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
3731         null when a MissingResourceException is thrown. Should never happen.
3733 2004-08-31  Mark Wielaard  <mark@klomp.org>
3735         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
3736         when argument is null.
3738 2004-08-31  Mark Wielaard  <mark@klomp.org>
3740         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3741         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
3742         Define hid at start of function.
3743         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
3744         Likewise.
3746 2004-08-31  Mark Wielaard  <mark@klomp.org>
3748         * gnu/java/awt/EmbeddedWindow.java: Reindent.
3749         * javax/swing/JButton.java: Reindent.
3750         * javax/swing/JCheckBox.java: Reindent.
3752 2004-08-31  Mark Wielaard  <mark@klomp.org>
3754         * Makefile.am (gtk_c_source_files): Added
3755         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
3756         (gtk_awt_peer_sources): Added
3757         gnu/java/awt/peer/gtk/GThreadMutex.java and
3758         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
3759         * Makefile.in: Regenerated.
3761 2004-08-31  Archie Cobbs  <archie@dellroad.org>
3763         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
3765 2004-08-31  Steven Augart  <augart@watson.ibm.com>
3767         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
3768         Added jfieldID, jmethodID.
3770 2004-08-31  Mark Wielaard  <mark@klomp.org>
3772         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3773         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
3774         gdk_env before calling any gdk or gtk function.
3776         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
3777         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
3778         (run): Set gtkInitCalled.
3780 2004-08-31  Steven Augart  <augart@watson.ibm.com>
3782         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
3783         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
3785         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3786         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
3787         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
3788         init_glib_threads. 
3789         (init_glib_threads): New function.
3791 2004-08-31  Mark Wielaard  <mark@klomp.org>
3793         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
3794         PRIORITY when not already defined in header file.
3796 2004-08-31  Mark Wielaard  <mark@klomp.org>
3798         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
3799         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
3801 2004-08-31  Steven Augart  <augart@watson.ibm.com>
3803         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
3804         Implemented missing functions for GTK2.
3805         Added error handling.
3806         Renamed static functions out of the g_ namespace.
3807         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
3808         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
3809         Rewrote global-reference code.
3810         Eliminated cascading errors.
3811         (mutex_trylock_jni_impl) Fully implemented.
3812         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
3813         resolution.
3814         (setup_cache) New function.
3815         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
3816         bug where they were not unlocking the GMutex associated with the
3817         condition variable during the wait on that condition variable.
3819         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3820         native/jni/gtk-peer/gthread-jni.c,
3821         native/jni/gtk-peer/gthread-jni.h
3822         (g_thread_jni_functions): Renamed to ...
3823         (portable_native_sync_jni_functions): this name.
3824         (gdk_vm): Renamed to...
3825         (the_vm): this name.
3827         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3828         (gdk_vm): Removed duplicate definition.
3829         (gtkInit): Removed stray message to stdout.
3830         (gtkInit): Use g_malloc and g_free instead of malloc and free.
3831         (gtkInit): Fix a const assignment bug.
3832         (gtkInit): Simplified code.
3834         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3835         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
3836         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
3837         gnu/java/awt/peer/gtk/GThreadMutex.java:
3838         New files.
3840 2004-08-31  Mark Wielaard  <mark@klomp.org>
3842         * javax/swing/Box.java: Put FIXME comment above class declaration.
3843         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
3844         * javax/swing/JCheckBox.java: Likewise.
3845         * javax/swing/JDialog.java: Likewise.
3846         * javax/swing/JRadioButton.java: Likewise.
3847         * javax/swing/JToggleButton.java: Likewise.
3848         * javax/swing/UIManager.java: Likewise.
3849         * javax/swing/border/TitledBorder.java: Likewise.
3850         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3851         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3852         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
3853         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3854         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
3855         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3856         * javax/swing/text/JTextComponent.java: Likewise.
3858 2004-08-31  David Jee  <djee@redhat.com>
3860         PR AWT/16682
3861         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3862         (setIconImage): Add a FIXME for unhandled cases.
3864 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3866         PR AWT/16040
3867         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
3868         getModifiers.  Replace old button masks with new ones.
3869         * gnu/awt/xlib/XEventLoop.java: Likewise.
3870         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
3871         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3872         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
3873         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
3874         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
3875         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
3876         * java/awt/Component.java: Replace old modifier masks with new
3877         ones.
3878         * java/awt/Container.java: Call getModifiersEx, not
3879         getModifiers.
3880         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
3881         old modifier masks.
3882         * javax/swing/JMenuItem.java: Replace old button masks with new
3883         ones.
3884         * javax/swing/KeyStroke.java: Call getModifiersEx, not
3885         getModifiers.
3886         * javax/swing/SwingUtilities.java: Likewise.
3887         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
3888         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
3889         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
3890         mask macros with new ones.
3891         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
3892         macros with new ones representing new masks.
3894 2004-08-31  Craig Black  <craig.black@aonix.com>
3896         * gnu/java/awt/peer/gtk/GdkGraphics.java
3897         (drawRoundRect): Implemented.
3898         (fillRoundRect): Implemented.
3899         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
3900         (drawRoundRect): Reimplemented to match GdkGraphics.
3901         (fillRoundRect): Reimplemented to match GdkGraphics.
3903 2004-08-31  Mark Wielaard  <mark@klomp.org>
3905         * Makefile.in: Regenerated.
3907 2004-08-31  Michael Koch  <konqueror@gmx.de>
3909         * gnu/java/awt/EmbeddedWindow.java
3910         (addNotify): Use AccessController to allow execution of privileged
3911         code.
3913 2004-08-31  Michael Koch  <konqueror@gmx.de>
3915         * gnu/java/awt/EmbeddedWindow.java
3916         (static): Removed.
3917         (addNotify): Set peer via reflection.
3918         (setWindowPeer): Removed.
3919         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
3920         * Makefile.am (nat_source_files):
3921         Removed gnu/java/awt/natEmbeddedWindow.cc.
3923 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3925         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
3926         and gnu/java/security/action/SetAccessibleAction.java.
3928 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3930         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3931         Renamed from 'setName'. New 2-argument form with default value.
3932         (run): Pass default 'value' parameter to System.getProperty().
3933         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3934         typos.
3936 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3938         * gnu/java/security/action/GetPropertyAction.java: New class.
3939         * gnu/java/security/action/SetAccessibleAction.java: New class.
3941 2004-08-31  David Jee  <djee@redhat.com>
3943         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3944         (setIconImage): Check if image is null.
3946 2004-08-31  David Jee  <djee@redhat.com>
3948         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3949         (create): Set the icon image.
3950         (nativeSetIconImage): New native method declaration.
3951         (setIconImage): Implement.
3952         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3953         (nativeSetIconImage): New function.
3955 2004-08-31  Dalibor Topic <robilad@kaffe.org>
3957         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3958         (filenameFilterCallback): Declare local variable accepted before use.
3960 2004-08-31  Dalibor Topic <robilad@kaffe.org>
3962         * gnu/java/awt/ComponentDataBlitOp.java:
3963         Cleaned up imports.
3965 2004-08-31  Tom Tromey  <tromey@redhat.com>
3967         * gnu/java/awt/peer/GLightweightPeer.java,
3968         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3969         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3970         javax/swing/JScrollPane.java: Removed
3971         redundant imports.
3973 2004-08-31  David Jee  <djee@redhat.com>
3975         * java/awt/DefaultKeyboardFocusManager.java
3976         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
3977         event.  Fix shift modifier checking.
3978         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3979         (accel_attach): Remove.
3980         (setupAccelGroup): Remove calls to accel_attach.
3982 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3984         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
3985         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
3987         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
3988         GtkArgList.java.
3989         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
3990         * Makefile.in: Regenerate.
3991         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3992         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3993         (create(String)): New method.
3994         (create): Call new create method.
3995         (getArgs): Remove method.
3996         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
3997         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
3998         (nativeCreate): Rename to create.
3999         (gtkSetLabel): Rename to gtkButtonSetLabel.
4000         (gtkToggleButtonSetActive): New method.
4001         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
4002         (setState): Replace set call with gtkToggleButtonSetActive.
4003         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
4004         (getArgs): Remove method.
4005         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4006         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4007         (gtkWidgetSetSensitive): New method.
4008         (gtkWidgetSetParent): Likewise.
4009         (GtkComponentPeer): Call setParent, setComponentBounds and
4010         setVisibleAndEnabled.
4011         (setParent): New method.
4012         (setComponentBounds): New method.
4013         (setVisibleAndEnabled): New method.
4014         (setEnabled): Call gtkWidgetSetSensitive.
4015         (getArgs): Remove method.
4016         Remove all set methods.
4017         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
4018         gtkWindowSetModal, setTitle and setResizable.
4019         (getArgs): Remove method.
4020         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4021         (setComponentBounds): New method.
4022         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
4023         Replace set call with gtkWindowSetResizable.
4024         (getArgs): Remove method.
4025         (create): Call setTitle and setResizable.
4026         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4027         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4028         (gtkWindowSetTitle): New method.
4029         (gtkWindowSetResizable): New method.
4030         (gtkWindowSetModal): New method.
4031         (setParent): New method.
4032         (setVisibleAndEnabled): New method.
4033         (getArgs): Remove method.
4034         (setTitle): Call gtkWindowSetTitle.
4035         (setResizable): Call gtkWindowSetResizable.
4036         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
4037         and off locking instrumentation.
4039 2004-08-31  Kim Ho  <kho@redhat.com>
4041         * Makefile.am: Add new file.
4042         * Makefile.in: Regenerate.
4043         * gcj/Makefile.in: Regenerate
4044         * include/Makefile.in:
4045         * java/awt/Container.java:
4046         (acquireComponentForMouseEvent): Respect 
4047         the event mask when looking for candidate.
4048         * javax/swing/JComponent.java:
4049         Remove toolTip field.
4050         (createToolTip): Create a tooltip on demand.
4051         (setToolTipText): Register with the ToolTipManager.
4052         (getToolTipText(MouseEvent)): Return getToolTipText().
4053         * javax/swing/JToolTip.java: Implement.
4054         * javax/swing/Timer.java: Jalopy.
4055         (restart): Call stop, then start.
4056         (stop): Interrupt the timer rather than wait for
4057         the timer to come to a stop naturally.
4058         * javax/swing/ToolTipManager.java: Implement.
4059         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4060         Change ToolTip.background color.
4061         * javax/swing/plaf/basic/BasicToolTipUI.java:
4062         Implement.
4063         * testsuite/Makefile.in: Regenerate
4065 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
4067         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
4068         constructor param comments.
4070 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
4072         * java/awt/Component.java: Document AWT 1.0 event handler
4073         methods.
4075 2004-08-31  Roman Kennke  <roman@ontographics.com>
4077         * javax/swing/Box.java:
4078         (createGlue): Implemented
4079         (createHorizontalGlue): Implemented
4080         (createHorizontalStrut): Implemented
4081         (createVerticalGlue): Implemented
4082         (createVerticalStrut): Implemented
4084 2004-08-31  David Jee  <djee@redhat.com>
4086         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
4087         (GtkChoicePeer): Do not automatically select first item.
4088         (getHistory): Remove.
4089         (nativeGetSelected): New method.
4090         (nativeRemoveAll): New method.
4091         (add): Use nativeGetSelected() instead of getHistory().
4092         (remove): Likewise.
4093         (removeAll): Call nativeRemoveAll().
4094         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4095         (create): Migrate to GtkComboBox.
4096         (append): Likewise.
4097         (nativeAdd): Likewise.
4098         (nativeRemove): Likewise.
4099         (select): Likewise.
4100         (nativeRemoveAll): New method.
4101         (nativeGetSelected): New method.
4102         (selection_changed): New method.
4103         (getHistory): Remove.
4104         (item_activate): Remove.
4105         (item_removed): Remove.
4106         (connect_choice_item_selectable_hook): Remove.
4108 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
4110         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
4111         variable in setEditable call.
4113         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4114         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4115         (gtkWidgetSetBackground): New method.
4116         (gtkWidgetSetForeground): Likewise.
4117         (create): Set peer's editable state based on awtComponent's.
4119         * java/awt/Button.java (Button()): Use empty string rather than
4120         null in no-label constructor.
4122 2004-08-31  Roman Kennke  <roman@ontographics.com>
4124         * javax/swing/BoxLayout.java: Reimplement.
4126 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
4128         * gnu/java/awt/peer/gtk/GdkGraphics.java,
4129         gnu_java_awt_peer_gtk_GdkGraphics.c
4130         (initState(GtkComponentPeer)): Don't return array of colour
4131         values.
4132         (GdkGraphics(int,int)): Set default font to size 12.
4133         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
4134         component's foreground colour.
4135         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4136         gnu_java_awt_peer_gtk_GdkGraphics2D.c
4137         (initState(GtkComponentPeer)): Don't return array of colour
4138         values.
4139         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
4140         colours to component's colours.
4141         (current_colors_of_widget): Remove function.
4142         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
4143         Return a new graphics object.
4144         * java/awt/Font.java (toString): Fix format.
4145         * java/awt/Graphics.java (toString): Likewise.
4147 2004-08-31  Craig Black  <craig.black@aonix.com>
4149         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
4150         (addTearOff): New function.
4151         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
4152         New native method.
4153         (init): Call addTearOff() when menu.isTearOff().
4155 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
4157         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
4158         Default implementation.
4159         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
4160         Implement using GdkPixbufDecoder.
4162 2004-08-31  David Jee  <djee@redhat.com>
4164         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
4165         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
4166         setting the size of GtkFileDialogPeers.
4167         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4168         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
4169         use their default sizes rather than their natural requisitions.
4171 2004-08-31  Michael Koch  <konqueror@gmx.de>
4173         * javax/swing/JFormattedTextField.java
4174         (JFormattedTextField): Implemented.
4175         * javax/swing/text/DefaultEditorKit.java
4176         (BeepAction): New inner class.
4177         * javax/swing/text/Segment.java
4178         (partialReturn): New field.
4179         (setPartialReturn): New method.
4180         (isPartialReturn): Likewise.
4181         * javax/swing/text/View.java
4182         (createFragment): Fixed typo.
4183         (getStartOffset): New method.
4184         (getEndOffset): Likewise.
4186 2004-08-31  Michael Koch  <konqueror@gmx.de>
4188         * javax/swing/table/DefaultTableColumnModel.java
4189         (serialVersionUID): Made private.
4190         (listenerList): Initialize.
4191         (changeEvent): Initialize.
4192         * javax/swing/table/JTableHeader.java
4193         (JTableHeader): New constructors.
4194         (createDefaultColumnModel): New method.
4195         * javax/swing/table/TableColumn.java
4196         (setHeaderRenderer): Simplified code.
4197         (setCellRenderer): Likewise.
4198         (setWidth): Likewise.
4200 2004-08-31  Tom Tromey  <tromey@redhat.com>
4202         * java/text/AttributedString.java (AttributedString): Use
4203         ArrayList to build array of attribute ranges.  Don't use
4204         `attribs' before it is set.
4206 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
4208         * HACKING: Remove reference to special automake. No longer needed.
4210 2004-08-30  Tom Tromey  <tromey@redhat.com>
4212         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
4213         return result from `add'.
4215 2004-08-30  Tom Tromey  <tromey@redhat.com>
4217         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
4219 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
4221         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
4223 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
4225         * java/io/File.java File(String,String): Fixed handling of empty
4226         path.
4228 2004-08-30  Casey Marshall  <csm@gnu.org>
4230         Author e-mail updated for all files.
4231         * gnu/java/security/OID.java (equals): Test if the aurgment is an
4232         instance of OID.
4233         (compareTo): Use `equals'.
4234         * gnu/java/security/der/BitString.java (equals): Test if the
4235         argument is an instance of BitString.
4236         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
4237         class final. Made fields private.
4238         (<init>): New constructor.
4239         (skip): New method.
4240         (makeString): Made static; don't use NIO.
4241         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
4242         * gnu/java/security/der/DERWriter.java: Fixed imports.
4243         (writeString): Don't use NIO.
4244         (toIso88591, toUtf16Be, toUtf8): New methods.
4245         * gnu/java/security/der/DERValue.java: Formatting changes only.
4246         * gnu/java/security/der/DER.java: Likewise.
4248 2004-08-30  Tom Tromey  <tromey@redhat.com>
4250         * java/nio/CharBuffer.java (put): Fix typo.
4251         * java/nio/DoubleBuffer.java (put): Fix typo.
4252         * java/nio/FloatBuffer.java (put): Fix typo.
4253         * java/nio/IntBuffer.java (put): Fix typo.
4254         * java/nio/LongBuffer.java (put): Fix typo.
4255         * java/nio/ShortBuffer.java (put): Fix typo.
4257 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
4259         * java/nio/ByteBuffer.java (put): Fix typo.
4261 2004-08-30  Casey Marshall  <csm@gnu.org>
4263         * java/security/DummyKeyPairGenerator.java (clone): Removed
4264         useless instanceof check.
4265         * java/security/DummyMessageDigest.java (clone): Likewise.
4266         * java/security/DummySignature.java (clone): Likewise.
4267         * java/security/MessageDigest.java (clone): Remove useless
4268         instanceof check.
4269         * java/security/MessageDigestSpi.java (clone): Likewise.
4270         * java/security/Signature.java (clone): Provide meaningful
4271         implementation.
4272         * java/security/SignatureSpi.java (clone): Likewise.
4274 2004-08-29  Mark Wielaard  <mark@klomp.org>
4276         * java/util/Arrays.java
4277         (sort(byte[], int, int)): Check fromIndex < 0.
4278         (sort(char[], int, int)): Likewise.
4279         (sort(short[], int, int)): Likewise.
4280         (sort(int[], int, int)): Likewise.
4281         (sort(long[], int, int)): Likewise.
4282         (sort(float[], int, int)): Likewise.
4283         (sort(double[], int, int)): Likewise.
4284         (sort(Object[], int, int, Comparator)): Likewise.
4285         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
4286         (qsort(char[], int, int)): Likewise.
4287         (qsort(short[], int, int)): Likewise.
4288         (qsort(int[], int, int)): Likewise.
4289         (qsort(long[], int, int)): Likewise.
4290         (qsort(float[], int, int)): Likewise.
4291         (qsort(double[], int, int)): Likewise.
4293 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4295         * java/util/AbstractCollection.java, java/util/AbstractList.java,
4296         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
4297         java/util/ArrayList.java, java/util/Arrays.java,
4298         java/util/BitSet.java, java/util/Calendar.java,
4299         java/util/Collection.java, java/util/ListIterator.java,
4300         java/util/Map.java, java/util/SortedSet.java:
4301         Added additional exceptions to documentation, along
4302         with some additions and corrections.
4304 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
4306         * configure.ac: Handle --enable-gc-debug.
4307         * configure: Regenerate.
4308         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
4309         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
4310         Rearrange include file order.
4311         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
4312         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
4313         (disable_gc_mutex): Delete along with all references.
4314         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
4315         adjust for debug header size.
4316         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
4317         debug case.
4318         (_Jv_AllocArray): Declare min_heap_addr only if needed.
4319         (gcj_describe_type_fn): New.
4320         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
4321         Register gcj_describe_type_fn.
4322         * include/boehm-gc.h:
4323         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
4324         Don't define, but declare, for debug case.
4325         * java/lang/natObject.cc:
4326         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
4328 2004-08-26  Mark Wielaard  <mark@klomp.org>
4330         Fixes PR libgcj/17002:
4331         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
4332         a TimeZoneId string and then try to convert that to a TimeZone with
4333         getDefaultSystemTimeZone(String).
4334         (timezones0): Changed type from Hashtable to HashMap.
4335         (timezones): Create HashMap, not Hashtable.
4336         (getDefaultTimeZone): New method, rewritten from CNI version.
4337         (readTimeZoneFile): New method.
4338         (readtzFile): Likewise.
4339         (skipFully): Likewise.
4340         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
4341         getDefaultTimeZoneId and rewritten.
4342         (getDefaultTimeZoneId): Rewritten in java.
4343         
4344 2004-08-25  David Daney  <daney@avtrex.com>
4346         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
4347         * Makefile.in: Regenerated.
4349 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
4351         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
4352         only if jvmpi is enabled.
4353         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
4354         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
4355         (_Jv_AllocString): Likewise.
4356         (_Jv_AllocPtrFreeObject): Likewise.     
4358 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
4360         * defineclass.cc: Include <stdio.h>.
4361         * java/lang/natClassLoader.cc: Include <stdio.h>.
4363 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
4364             Michael Koch  <konqueror@gmx.de>
4366         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
4367         * Makefile.in: Regenerated.
4369 2004-08-20  Michael Koch  <konqueror@gmx.de>
4371         * configure.ac: Replaced all AC_TRY_COMPILE macros with
4372         AC_COMPILE_IFELSE macros.
4374 2004-08-20  Michael Koch  <konqueror@gmx.de>
4376         * configure.in: Renamed to configure.ac.
4377         * configure.ac: New file.
4378         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
4379         include/config.h.in, testsuite/Makefile.in: Regenerated.
4381 2004-08-20  Michael Koch  <konqueror@gmx.de>
4383         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
4384         * aclocal.m4, configure: Regenerated.
4386 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
4387             Michael Koch  <konqueror@gmx.de>
4389         * configure.in, Makefile.am: Ported to automake 1.9.
4390         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
4391         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
4392         Regenerated.
4394 2004-08-19  Tom Tromey  <tromey@redhat.com>
4396         * java/net/DatagramSocket.java: Fixed typo.
4398 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
4400         PR libgcj/17081
4401         * java/net/URI.java (string): New field. Make all other fields
4402         transient.
4403         (readObject): Implemented.
4404         (writeObject): Implemented.
4405         (URI): Set 'string'.
4407 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
4409         PR libgcj/17079
4410         * java/util/logging/Handler.java (isLoggable): Accept record if its
4411         log level equals the threshold level. From Robin Green.
4413 2004-08-18  David Daney  <ddaney@avtrex.com>
4415         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
4416         instead of sigwait.
4418 2004-08-17  Michael Koch  <konqueror@gmx.de>
4420         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
4421         * Makefile.in: Regenerated.
4423 2004-08-16  Tom Tromey  <tromey@redhat.com>
4425         PR java/8473:
4426         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
4428 2004-08-16  Michael Koch  <konqueror@gmx.de>
4430         * Makefile.am
4431         (math_c_files): Renamed from c_files.
4432         (math_c_source_files): Renamed from c_source_files.
4433         * Makefile.in,
4434         gcj/Makefile.in,
4435         include/Makefile.in,
4436         testsuite/Makefile.in: Regenerated.
4438 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
4440         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
4441         to avoid autoconf warning.
4442         * configure: Rebuilt.
4444 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
4446         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
4447         localhostAddress to loopbackAddress.
4448         * java/net/natInetAddressWin32.cc (lookup): Likewise.
4450 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
4452         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
4453         boehm-gc's include dirs.
4454         * configure: Rebuilt.
4455         * include/boehm-gc.h: Include gc_config.h.
4457 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
4459         * java/net/InetAddress.java (loopbackAddress): Renamed from 
4460         localhostAddress.
4461         (getByName): Return loopback address for null hostname, without
4462         security check. Use lookup(), not getAllByName.
4463         (getAllByName): Return loopback address for null hostname, without
4464         security check.
4465         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
4466         check here.
4468 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
4470         PR libgcj/17020
4471         Reported by Robin Green.
4472         * defineclass.cc (handleField): Don't throw exception on unrecognised
4473         modifier. Add FIXME comments for spec compliance.
4474         (handleMethod): Likewise.
4476 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
4478         PR libgcj/16662
4479         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
4480         (Almost everywhere): add LOG calls, fix, add comments.
4481         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
4482         Add explicit check for LOCKED bit in slow case (PR 16662).
4483         (_Jv_MonitorExit): Add casts in debug-only code.
4484         Always release LOCKED bit before throwing exception.
4485         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
4486         isn't.  Handle easy cases without lock acquisition.
4487         (Object::wait): Use NotifyAll for lock inflation.
4489 2004-08-12  David Daney  <ddaney@avtrex.com>
4491         * testsuite/libjava.lang/Process_1.java: New test.
4492         * testsuite/libjava.lang/Process_2.java: New test.
4493         * testsuite/libjava.lang/Process_3.java: New test.
4494         * testsuite/libjava.lang/Process_4.java: New test.
4495         * testsuite/libjava.lang/Process_5.java: New test.
4496         * testsuite/libjava.lang/Process_6.java: New test.
4497         * testsuite/libjava.lang/Process_1.out: Expected result.
4498         * testsuite/libjava.lang/Process_2.out: Expected result.
4499         * testsuite/libjava.lang/Process_3.out: Expected result.
4500         * testsuite/libjava.lang/Process_4.out: Expected result.
4501         * testsuite/libjava.lang/Process_5.out: Expected result.
4502         * testsuite/libjava.lang/Process_6.out: Expected result.
4504 2004-08-12  David Daney  <ddaney@avtrex.com>
4506         PR libgcj/11801
4507         * java/lang/PosixProcess.java: Rewrote.
4508         * java/lang/natPosixProcess.cc: Rewrote.
4509         * java/lang/Runtime.java (execInternal): Declare throws IOException.
4510         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
4511         * posix-threads.cc (block_sigchld) New function.
4512         (_Jv_ThreadRegister) Use it.
4513         (_Jv_ThreadStart) Use it.
4514         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
4515         * Makefile.am: ... to specify extra native headers.
4516         * configure: Regenerated.
4517         * include/config.h: Regenerated.
4518         * Makefile.in: Regenerated.
4519         * gcj/Makefile.in: Regenerated.
4520         * include/Makefile.in: Regenerated.
4521         * testsuite/Makefile.in: Regenerated.
4523 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
4525         PR tree-optimization/16867
4526         * testsuite/libjava.lang/PR16867.java: New test.
4528 2004-08-09  Per Bothner  <per@bothner.com>
4530         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
4531         with private fields and access methods.
4532         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
4533         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
4534         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
4535         ( _Jv_makeUtf8Const): Rewrite using new constructors.
4536         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
4537         * defineclass.cc: Use new _Utf8Const access/convenience methods.
4538         * jni.cc: Likewise.
4539         * resolve.cc: Likewise.
4540         * gcj/field.h: Likewise.
4541         * include/jvm.h: Likewise.
4542         * java/lang/Class.h: Likewise.
4543         * java/lang/natClass.cc: Likwise.
4544         * java/lang/natClassLoader.cc: Likewise
4545         * java/lang/reflect/natMethod.cc: Likewise
4546         * verify.cc: Likewise.
4547         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
4548         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
4550 2004-08-10  Andrew Haley  <aph@redhat.com>
4552         * testsuite/libjava.lang/err14.java: New file.
4553         * testsuite/libjava.lang/err14.out: New file.
4555 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
4557         * Makefile.am: Fix missing rename from x_nat_headers to 
4558         xlib_nat_headers.
4559         * Makefile.in: Regenerated.
4561 2004-08-04  Andrew Haley  <aph@redhat.com>
4563         * java/security/BasicPermission.java: Don't check wildcards.
4565 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
4566             Michael Koch  <konqueror@gmx.de>
4568         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
4569         * configure.in: Replaced all usages of AC_LINK_FILES by
4570         AC_CONFIG_LINKS.
4571         * aclocal.m4,
4572         configure: Regenerated.
4574 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
4575             Michael Koch  <konqueror@gmx.de>
4577         * acconfig.h: Removed.
4578         * Makefile.am: Rename variables for xlib peer to include xlib and
4579         gtk_c_headers to gtk_jni_headers.
4580         * Makefile.in: Regenerated.
4582 2004-08-04  Andrew Haley  <aph@redhat.com>
4584         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
4585         debugging.
4587 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
4589         * configure.in: Eliminate uses of changequote (mostly by quoting []).
4590         Replace most top level 'dnl' comments with '#' comments, conforming
4591         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
4592         help strings.
4593         * configure: Rebuilt.
4595 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
4597         * acinclude.m4: Include no-executables.m4.
4598         * aclocal.m4: Rebuild.
4599         * configure.in: Convert to the autoconf 2.59 version of
4600         of the no-executables hack, and also of the nonstandard CXX
4601         hack and the multilibbed CC and CXX hack.  Change prerequisite
4602         to autoconf 2.59.
4603         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
4604         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4605         testsuite/Makefile.in: Regenerate.
4607 2004-08-03  Tom Tromey  <tromey@redhat.com>
4609         * jni.cc: Reindented.
4611 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
4613         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
4615 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
4617         * testsuite/libjava.compile/PR16701.java: New test.
4619 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4621         * java/util/Collection.java, java/util/List.java,
4622         java/util/Map.java, java/util/Set.java,
4623         java/util/SortedMap.java, java/util/SortedSet.java:
4624         Added additional exceptions to documentation.
4626 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
4628         PR libgcj/16814
4629         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
4630         * configure. Regenerate.
4631         * include/win32.h: Explicitly include winsock2.h
4632         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
4633         Winsock api.
4635 2004-07-30  Michael Koch  <konqueror@gmx.de>
4637         * java/util/zip/GZIPInputStream.java
4638         (GZIPInputStream): Increase buffer size to 4k.
4639         * java/util/zip/GZIPOutputStream.java
4640         (GZIPOutputStream): Likewise.
4641         * java/util/zip/Inflater.java
4642         (setInput): Merged formating with GNU classpath.
4643         * java/util/zip/InflaterInputStream.java
4644         (InflaterInputStream): Increase buffer size to 4k.
4645         (fill): Throw exception if stream ends early.
4646         (read): Merged endless-loop with GNU classpath.
4647         (skip): Increase buffer size to 2k.
4649 2004-07-30  Michael Koch  <konqueror@gmx.de>
4651         * gnu/java/awt/EmbeddedWindow.java
4652         (addNotify): Use AccessController to allow execution of privileged
4653         code.
4655 2004-07-29  Michael Koch  <konqueror@gmx.de>
4657         * gnu/java/lang/MainThread.java:
4658         Explicitely import used classes.
4659         (args): Make it type String[].
4661 2004-07-29 Dalibor Topic <robilad@kaffe.org>
4663         * gnu/java/awt/ComponentDataBlitOp.java,
4664         gnu/java/beans/ExplicitBeanInfo.java,
4665         gnu/java/beans/IntrospectionIncubator.java,
4666         gnu/java/beans/editors/ColorEditor.java,
4667         gnu/java/beans/editors/FontEditor.java,
4668         gnu/java/beans/editors/NativeBooleanEditor.java,
4669         gnu/java/beans/editors/NativeByteEditor.java,
4670         gnu/java/beans/editors/NativeDoubleEditor.java,
4671         gnu/java/beans/editors/NativeFloatEditor.java,
4672         gnu/java/beans/editors/NativeIntEditor.java,
4673         gnu/java/beans/editors/NativeLongEditor.java,
4674         gnu/java/beans/editors/NativeShortEditor.java,
4675         gnu/java/beans/editors/StringEditor.java,
4676         gnu/java/io/ClassLoaderObjectInputStream.java,
4677         gnu/java/io/decode/Decoder.java,
4678         gnu/java/io/encode/Encoder.java,
4679         gnu/java/lang/ClassHelper.java,
4680         gnu/java/locale/Calendar.java,
4681         gnu/java/locale/Calendar_de.java,
4682         gnu/java/locale/Calendar_en.java,
4683         gnu/java/locale/Calendar_nl.java,
4684         gnu/java/locale/LocaleInformation_de.java,
4685         gnu/java/locale/LocaleInformation_en.java,
4686         gnu/java/locale/LocaleInformation_nl.java:
4687         Cleaned up imports.
4689 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
4691         * README: Remove obsolete info. Update bug URL.
4692         * THANKS: Updated.
4693         * NEWS: Updated with news up to GCC 3.4 release.
4695 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
4697         * gnu/java/security/action/GetPropertyAction.java (setParameters):
4698         Renamed from 'setName'. New 2-argument form with default value.
4699         (run): Pass default 'value' parameter to System.getProperty().
4700         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
4701         typos.
4702         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
4703         not 'setName'.
4705 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
4707         * configure.in: Check for minimum GTK version 2.4 requirement.
4708         * configure: Rebuilt.
4710 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
4712         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
4713         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
4714         Reduce sleep time.
4715         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
4716         compiler bug.
4717         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
4718         address. Reduce sleep times. Synchronize with target threads before
4719         attempting to interrupt them. Don't try to calibrate yeild count,
4720         instead, always loop for a fixed time.
4721         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
4722         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
4723         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
4724         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
4725         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
4726         * testsuite/libjava.lang/pr179.java: Likewise.
4727         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
4728         time. Remove upper bounds check on sleep time. 
4730 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
4732         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
4733         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
4735 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
4737         * java/io/File.java (toURI): Throw RuntimeException, not 
4738         InternalError.
4739         * java/lang/Runtime.java (exit): Qualify static sleep() call with
4740         class name, not instance.
4742 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
4744         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
4745         and gnu/java/security/action/SetAccessibleAction.java.
4746         * Makefile.in: Rebuilt.
4748 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
4750         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
4751         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
4752         _Jv_InitPrimClass.
4753         (DECLARE_PRIM_TYPE): Don't declare array vtables.
4754         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
4755         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
4757 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
4759         * Makefile.am: Replace jar, rmic and rmiregistry references with
4760         gjar, grmic and grmiregistry.
4761         * configure.in: Likewise.
4762         * Makefile.in: Regenerate.
4763         * configure: Likewise.
4764         * gcj/Makefile.in: Likewise.
4765         * include/Makefile.in: Likewise.
4766         * testsuite/Makefile.in: Likewise.
4768 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
4770         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
4771         for privileged getProperty calls.
4772         * java/io/ObjectOutputStream.java (getField): No longer static. Use
4773         SetAccessibleAction instead of anonymous class for doPrivileged call.
4774         (getMethod): Likewise.
4775         (setAccessible): New field. PrivilegedAction object to use when
4776         calling setAccessible.
4777         * java/io/ObjectStreamClass.java (calculateOffsets): Use
4778         SetAccessibleAction instead of anonymous class for diPrivileged call.
4779         (setFields): Likewise.
4780         (getClassUID): Likewise.
4781         (findMethod): Likewise.
4782         * gnu/java/security/action/GetPropertyAction.java: New class.
4783         * gnu/java/security/action/SetAccessibleAction.java: New class. 
4785 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
4787         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
4788         for final fields.
4789         * testsuite/libjava.lang/Serialization.java: New test.
4790         * testsuite/libjava.lang/Serialization.out: New.
4792 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
4794         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
4795         missed in last commit.
4797 2004-07-23  Mark Wielaard  <mark@klomp.org>
4799         * java/lang/System.java (static): Set http.agent system property when
4800         not yet set.
4801         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
4802         from system property inside AccessController.doPrivileged() call.
4803         (proxyPort): Made package private.
4804         (proxyInUse): Likewise.
4805         (proxyHost): Likewise.
4806         (userAgent): Likewise.
4808 2004-07-23  Mark Wielaard  <mark@klomp.org>
4810         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
4811         implementation.
4813 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
4815         * Makefile.am (ordinary_java_source_files): Add
4816         DefaultContentHandlerFactory.java.
4817         * Makefile.in: Rebuilt.
4818         * java/net/URLConnection.java (defaultFactory): New field.
4819         (getContent): 
4820         (getContentHandler): Renamed from 'setContentHandler'. Try 
4821         defaultFactory after user-set factory, if any. Search for content 
4822         handler implementations in gnu.java.net.content, not gnu.gcj.content.
4823         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
4824         Implemented.
4825         (getLastModified): Implemented.
4826         (getPermission): Create file permission here, instead of in
4827         constructor.
4828         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
4829         Implemented.
4830         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
4831         Implemented.
4832         (getLastModified): Implemented.
4833         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
4834         Default implementation.
4835         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
4836         Implement using GdkPixbufDecoder.
4837         
4838 2004-07-21  Michael Koch  <konqueror@gmx.de>
4840         * javax/swing/JTextArea.java
4841         (setLineWrap): Fire property change event after new value is set.
4842         (setTabSize): Likewise.
4844 2004-07-21  Michael Koch  <konqueror@gmx.de>
4846         * javax/swing/JTable.java
4847         (autoCreateColumnsFromModel): New field.
4848         (autoResizeMode): Likewise.
4849         (cellEditor): Likewise.
4850         (cellSelectionEnabled): Likewise.
4851         (columnModel): Likewise.
4852         (dataModel): Likewise.
4853         (defaultEditorsByColumnClass): Likewise.
4854         (defaultRenderersByColumnClass): Likewise.
4855         (editingColumn): Likewise.
4856         (editingRow): Likewise.
4857         (gridColor): Likewise.
4858         (preferredViewportSize): Likewise.
4859         (rowHeight): Likewise.
4860         (rowMargin): Likewise.
4861         (rowSelectionAllowed): Likewise.
4862         (selectionBackground): Likewise.
4863         (selectionForeground): Likewise.
4864         (selectionModel): Likewise.
4865         (showHorizontalLines): Likewise.
4866         (showVerticalLines): Likewise.
4867         (tableHeader): Likewise.
4868         (JTable): Implemented.
4869         (getColumnModel): Likewise.
4870         (getSelectedRow): Likewise.
4871         (getSelectionModel): Likewise.
4872         (setModel): Likewise.
4873         (setSelectionModel): Likewise.
4874         (createScrollPaneForTable): New method.
4875         (createDefaultDataModel): Likewise.
4876         (createDefaultListSelectionModel): Likewise.
4877         (getModel): Likewise.
4878         (getTableHeader): Likewise.
4879         (setTableHeader): Likewise.
4880         (getColumnSelectionAllowed): Likewise.
4881         (setColumnSelectionAllowed): Likewise.
4882         (getRowSelectionAllowed): Likewise.
4883         (setRowSelectionAllowed): Likewise.
4884         (getAutoResizeMode): Likewise.
4885         (setAutoResizeMode): Likewise.
4886         (getColumnCount): Likewise.
4887         (getRowCount): Likewise.
4888         (getCellRenderer): Likewise.
4889         * javax/swing/JTree.java
4890         (cellRenderer): New field.
4891         (editable): Likewise.
4892         (rootVisible): Likewise.
4893         (showsRootHandles): Likewise.
4894         (getModel): New method.
4895         (setModel): Likewise.
4896         (isEditable): Likewise.
4897         (setEditable): Likewise.
4898         (isRootVisbile): Likewise.
4899         (setRootVisible): Likewise.
4900         (getShowsRootHandles): Likewise.
4901         (setShowRootHandles): Likewise.
4902         (getCellRenderer): Likewise.
4903         (setCellRenderer): Likewise.
4905 2004-07-21  Michael Koch  <konqueror@gmx.de>
4907         * javax/swing/JFormattedTextField.java
4908         (setDocument): Implemented.
4909         * javax/swing/JRootPane.java:
4910         Fixed javadocs.
4911         * javax/swing/JTable.java
4912         (getDefaultRenderer): New method.
4913         * javax/swing/JTextField.java
4914         (setFont): Likewise.
4915         (getPreferredSize): Likewise.
4916         * javax/swing/JToggleButton.java
4917         (getAccessibleContext): Fix javadoc.
4918         * javax/swing/JTree.java:
4919         Add some javadocs.
4920         * javax/swing/JViewport.java:
4921         Likewise.
4923 2004-07-21  David Jee  <djee@redhat.com>
4925         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
4926         Collect all native method declaration at the top.
4927         (create): Set the filename filter if necessary.
4928         (setDirectory): Call nativeSetDirectory().
4929         (setFilenameFilter): Implement.
4930         (filenameFilterCallback): New method.
4931         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4932         (create): Configure dialog to show hidden files.
4933         (filenameFilterCallback): New function. 
4934         (nativeSetFilenameFilter): New function.
4935         (nativeSetDirectory): New function.
4937 2004-07-21  Kim Ho  <kho@redhat.com>
4939         * javax/swing/plaf/basic/BasicSliderUI.java:
4940         Ran Jalopy.
4941         (paintTrack): Fill the track before painting
4942         the borders.
4944 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4946         patch from Roman Kennke <roman@ontographics.com>
4947         * javax/swing/Spring.java: New file.
4948         * javax/swing/SpringLayout.java: New file.
4949         * Makefile.am: Add new files.
4950         * Makefile.in: Regenerate.
4952 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4954         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
4955         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
4956         * javax/swing/ScrollPaneLayout.java: Likewise.
4958 2004-07-21  Kim Ho  <kho@redhat.com>
4960         * javax/swing/DefaultDesktopManager.java:
4961         (findMinimum): Removed.
4962         (resizeFrame): Trust the UI to pass valid 
4963         bounds.
4964         * javax/swing/JOptionPane.java:
4965         Implemented showInternalXXXDialog methods.
4966         (startModal): New method.
4967         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
4968         (BorderListener::mouseDragged): Verify that the new 
4969         bounds are valid before passing them to the DesktopManager.
4970         (preferredLayoutSize): Delegate
4971         to getSize.
4972         (minimumLayoutSize): Ditto.
4973         (getSize): New method.
4974         (GlassPaneDispatcher): Reimplemented by copying 
4975         a stripped down LightweightDispatcher from Container.
4976         (getMinimumSize): Call minimumLayoutSize.
4977         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
4978         Ran Jalopy.
4979         (mousePressed): Add ability to properly close 
4980         JInternalFrames.
4981         * javax/swing/plaf/basic/BasicToolBarUI.java:
4982         (DragWindow): Set owner for DragWindow.
4984 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
4986         * java/awt/image/ShortLookupTable.java: New file.
4987         * java/awt/image/ByteLookupTable.java: New file.
4988         * Makefile.am: Added new files.
4989         * Makefile.in: Regenerated.
4991 2004-07-21  David Jee  <djee@redhat.com>
4993         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4994         (create(GtkContainerPeer)): New native method.
4995         (create()): Call native create(), passing in the parent frame
4996         as the paramter. Natively set the current file and directory.
4997         (setFile): Construct an absolute filename before passing it to
4998         the native peer.
4999         (nativeGetDirectory): New method.
5000         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5001         (window_closed): Removed.
5002         (ok_clicked): Likewise.
5003         (cancel_clicked): Likewise.
5004         (handle_response): New method.
5005         (create): Use GtkFileChooserDialog.
5006         (connectSignals): Connect to handle_response.
5007         (nativeGetDirectory): New method.
5008         (nativeSetFile): Use GtkFileChooserDialog.
5010 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
5012         * java/awt/image/LookupTable.java: New file.
5013         * Makefile.am: Added new file.
5014         * Makefile.in: Regenerated.
5016 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
5018         * java/awt/image/Kernel.java: New file.
5019         * Makefile.am: Added new file.
5020         * Makefile.in: Regenerated.
5022 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5024         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
5025         * javax/swing/JMenu.java: Likewise.
5026         * javax/swing/JMenuBar.java: Likewise.
5027         (MARGIN_CHANGED_PROPERTY): New property.
5028         (setMargin): Implemented.
5029         * javax/swing/JMenuItem.java: Fixed javadocs.
5030         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
5031         (LABEL_CHANGED_PROPERTY): New property.
5032         (add): changed to use createActionComponent.
5033         (createActionComponent): Implemented.   
5034         (setLabel): Fire PropertyChangeEvent if label property
5035         changes.
5036         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
5037         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5038         (ContainerHandler): Repaint if margin property has changed.
5039         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5040         (installUI): Call installComponents().
5041         (uninstallUI): Call uinstallComponents().
5042         * javax/swing/plaf/basic/BasicMenuUI.java:
5043         Fixed javadocs.
5044         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5045         Likewise.
5047 2004-07-21  Kim Ho  <kho@redhat.com>
5049         * javax/swing/plaf/basic/BasicToolBarUI.java:
5050         (DragWindow): Use the right constructor.
5052 2004-07-21  Kim Ho  <kho@redhat.com>
5054         * javax/swing/JToolBar.java:
5055         (layoutContainer): Use getComponents.
5056         * javax/swing/plaf/basic/BasicToolBarUI.java:
5057         (DragWindow): Don't use SwingUtilities' 
5058         getOwnerFrame
5059         (ToolBarDialog): ditto.
5061 2004-07-21  Kim Ho  <kho@redhat.com>
5063         * javax/swing/JRootPane.java:
5064         Ran jalopy.
5065         (layoutContainer): Set the glasspane's size to 
5066         be the same as the content pane.
5067         (createGlassPane): Set opaque property to false.
5069 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5071         * java/awt/Component.java (requestFocus()): Don't handle Panels
5072         specially.
5073         (requestFocus(boolean)): Likewise.
5074         (requestFocusInWindow(boolean)): Likewise.
5075         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
5076         Set GTK_CAN_FOCUS flag.
5078 2004-07-21  Kim Ho  <kho@redhat.com>
5080         * Makefile.am: Added new file.
5081         * Makefile.in: Regenerated.
5082         * gcj/Makefile.in: Regenerated.
5083         * include/Makefile.in: Regenerated.
5084         * javax/swing/AbstractButton.java:
5085         Add rollOverEnabled property.
5086         (setRolloverEnabled): Use new property.
5087         (isRolloverEnabled): Use new property.
5088         * javax/swing/JTabbedPane.java:
5089         (setComponent): Remove useless JTabbedPane.this.
5090         * javax/swing/JToolBar.java: Finish implementation.
5091         * javax/swing/plaf/basic/BasicArrowButton.java:
5092         (paint): Moved border painting to a border.
5093         * javax/swing/plaf/basic/BasicLookAndFeel.java:
5094         Change JToolBar look and feel defaults.
5095         * javax/swing/plaf/basic/BasicOptionPaneUI.java
5096         (actionPerformed): Return Integer index instead of name.
5097         (addButtonComponents): Check to see if component is
5098         JButton last.
5099         (createMessageArea): Don't use components that are not
5100         completed yet.
5101         (getIconForType): Use temporary icons.
5102         * javax/swing/plaf/basic/BasicSliderUI.java:
5103         (mousePressed): Do not return if it's on thumb.
5104         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
5105         (paintMinorTickForVertSlider): ditto.
5106         (paintMajorTickForHorizSlider): ditto.
5107         (paintMajorTickForVertSlider): ditto.
5108         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
5109         Add a border around the SplitPaneDivider.
5110         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
5111         Remove comments.
5112         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
5113         New file. Implemented.
5114         * javax/swing/plaf/basic/BasicToolBarUI.java:
5115         Implemented.
5116         * testsuite/Makefile.in: Regenerated.
5118 2004-07-21  Graydon Hoare  <graydon@redhat.com>
5120         * javax/swing/Timer.java (run): Queue events each time cycle.
5122 2004-07-21  David Jee  <djee@redhat.com>
5124         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5125         (imageComplete): Call image.imageComplete().
5126         * java/awt/image/MemoryImageSource.java:
5127         Reimplement consumers as a Vector instead of a Hashtable.  This is
5128         because enumeration on a Hashtable is not thread-safe.
5129         (addConsumer): Adapt to Vector consumers.
5130         (isConsumer): Adapt to Vector consumers.
5131         (removeConsumer): Adapt to Vector consumers.
5132         (startProduction): Adapt to Vector consumers. Call imageComplete()
5133         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
5134         (newPixels): Adapt to Vector consumers.
5135         (sendPicture): Set the color model of the image consumer.
5136         (newPixels(IIII)): Adapt to Vector consumers.
5137         (newPixels(IIIIB)): Adapt to Vector consumers.
5139 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5141         * java/awt/Component.java (deliverEvent): Implement.
5142         (postEvent): Implement.
5143         (handleEvent): Implement.
5144         (translateEvent): New method.
5145         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
5146         * java/awt/Container.java (deliverEvent): Implement.
5147         * java/awt/Event.java (paramString): Fix formatting.
5148         * java/awt/Font.java (toString): Likewise.
5149         * java/awt/Window.java (postEvent): Implement.
5151 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5153         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
5154         Set window's focus owner upon receiving a FOCUS_LOST event.
5155         * java/awt/Window.java (Window()): Refocus the previously
5156         focused component within the window when the window regains the
5157         top-level focus.
5158         (setFocusOwner): New method.
5159         * java/awt/Component.java (requestFocus): Add FIXME.
5161         * libgcj.pc.in: Remove library flags.
5163 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5165         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
5166         MOUSE_PRESSED event.
5167         * java/awt/Component.java (requestFocus()): Handle Panel
5168         specially.  Post FOCUS_LOST event on opposite component.
5169         (requestFocus(boolean)): Likewise.
5170         (requestFocusInWindow(boolean)): Likewise.
5171         (paramString): Reorder dimension fields.
5172         * java/awt/Container.java (paramString): Fix string format.
5173         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
5174         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
5175         process key events if the focus owner is non-null.
5176         (dispatchKeyEvent): Likewise.
5177         * java/awt/Frame.java (paramString): Fix formatting.
5178         (generateName): New method.
5179         (getUniqueLong): Likewise.
5180         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
5181         the temporary focus owner is null.  If so, return the permanent
5182         focus owner.
5183         * java/awt/Panel.java (generateName): New method.
5184         (getUniqueLong): Likewise.
5185         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
5186         signal handling to make callbacks more specific.
5188 2004-07-21  Michael Koch  <konqueror@gmx.de>
5190         * javax/swing/text/Position.java
5191         (Bias): Implemented.
5193 2004-07-21  Michael Koch  <konqueror@gmx.de>
5195         * javax/swing/LookAndFeel.java
5196         (provideErrorFeedback): New method.
5198 2004-07-21  Michael Koch  <konqueror@gmx.de>
5200         * javax/swing/JTextArea.java
5201         (tabSize): New field.
5202         (getTabSize): New method.
5203         (setTabSize): Likewise.
5205 2004-07-21  Michael Koch  <konqueror@gmx.de>
5207         * javax/swing/ActionMap.java:
5208         Fixed javadocs all over.
5209         (serialVersionUID): Made private.
5210         (parent): Don't explicitely initialize with default value.
5211         (get): SImplified.
5212         (keys): Reimplemented.
5213         (allKeys): Likewise.
5214         (convertSet): Removed.
5215         * javax/swing/ComponentInputMap.java:
5216         Fixed javadocs all over.
5217         (ComponentInputMap): Implemented.
5218         (put): Likewise.
5219         (clear): Likewise.
5220         (remove): Likewise.
5221         (SetParent): Likewise.
5222         (getComponent): Likewise.
5223         * javax/swing/InputMap.java:
5224         Fixed javadocs all over.
5225         (serialVersionUID): Made private.
5226         (parent): Don't explicitely initialize with default value.
5227         (get): SImplified.
5228         (keys): Reimplemented.
5229         (allKeys): Likewise.
5230         (convertSet): Removed.
5232 2004-07-21  Michael Koch  <konqueror@gmx.de>
5234         * javax/swing/ActionMap.java,
5235         javax/swing/ComponentInputMap.java,
5236         javax/swing/InputMap.java,
5237         javax/swing/table/DefaultTableColumnModel.java,
5238         javax/swing/table/TableColumn.java,
5239         javax/swing/table/TableColumnModel.java,
5240         javax/swing/table/TableModel.java,
5241         javax/swing/text/AbstractDocument.java,
5242         javax/swing/text/TextAction.java:
5243         Reformated.
5245 2004-07-21  Graydon Hoare  <graydon@redhat.com>
5247         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
5248         Make method non-static.
5249         * javax/swing/AbstractButton.java:
5250         Rename fields to match property names where possible.
5251         (iconTextGap): New property.
5252         * javax/swing/JCheckBox.java: Match AbstractButton changes.
5253         (init) New method, call from after various constructors.
5254         * javax/swing/JComponent.java (revalidate): 
5255         Invalidate before queueing repair.
5256         * javax/swing/JList.java (getPreferredScrollableViewportSize):
5257         Reimplement in terms of visibleRowCount property.
5258         * javax/swing/JMenuButton.java: Match AbstractButton changes.
5259         * javax/swing/JScrollPane.java (createScrollListener): 
5260         Remove tracing chatter.
5261         * javax/swing/JToggleButton.java: Match AbstractButton changes.
5262         * javax/swing/RepaintManager.java (addInvalidComponent): 
5263         Don't invalidate.
5264         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
5265         calculations.
5266         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
5267         Mimic sun behavior on top left/right positioning.
5268         * javax/swing/ViewportLayout.java (preferredLayoutSize):
5269         Remove mistaken use of preferredScrollableViewportSize here.
5270         (layoutContainer): Use view's preferred size as basis.
5271         * javax/swing/plaf/basic/BasicButtonUI.java:
5272         Set, get, and use textIconGap property.
5273         (paint) Paint text returned from layout (with ellipsis).
5274         * javax/swing/plaf/basic/BasicListUI.java:
5275         Remove tracing chatter, correct various minor calculations.
5276         (getCellBounds): Update layout state before calculating.
5277         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
5278         Use margin default similar to sun's.    
5279         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
5280         (createIncreaseIcon): Center icon, minimize margins.
5281         (createDecreaseIcon): Likewise.
5282         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
5283         Implement.
5284         (installUI): Call it.
5285         (uninstallDefaults): Implement.
5286         (uninstallUI): Call it.
5287         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
5288         Call existing Window constructor.
5289         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
5290         Set clip before painting.
5292 2004-07-21  Olga Rodimina <rodimina@redhat.com>
5293         
5294         * javax/swing/JMenuItem.java:
5295         (processMouseEvent): Reimplemented to deal with
5296         mouse drag events.
5297         (createMenuDragMouseEvent): New private helper method.
5298         Creates MenuDragMouseEvent.
5299         * javax/swing/MenuSelectionManager.java
5300         (componentForPoint): Implemented.
5301         (isComponentPartOfCurrentMenu): Made public.
5302         (processMouseEvent): Reimplemented to deal with 
5303         mouse drag events.
5304         (setSelectedPath): Corrected small mistake that caused
5305         path to be set incorrectly.
5306         (getPath): If given component is JMenu then also add this
5307         menu's popup menu to the selected path.
5308         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5309         (getPath): Ditto.
5310         (getPreferredSize): Call getPreferredMenuItemSize().
5311         (getPreferredItemSize): Moved code from getPreferredSize to here.
5312         (installListeners): Install MouseMotionListeners.
5313         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
5314         if mouse wasn't released in the bounds of this menu item.
5315         (MenuDragMouseHandler): Implemented.
5316         * javax/swing/plaf/basic/BasicMenuUI.java:
5317         (installListeners): Install MouseMotionListener and 
5318         MenuDrageMouseListener.
5319         (MenuDragMouseHandler): Implemented.
5320         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5321         (uninstallListeners): Implemented.
5322         
5323 2004-07-21  Michael Koch  <konqueror@gmx.de>
5325         * javax/swing/JCheckBox.java: Reformated.
5326         (JCheckBox): Fixed all constructors.
5327         (isBorderPaintedFlat): New method.
5328         (setBorderPaintedFlat): New method.
5329         * javax/swing/JEditorPane.java
5330         (createEditorKitForContentType): Made public.
5331         (scrollToReference): Likewise.
5332         * javax/swing/JTextArea.java
5333         (setLineWrap): Fire property change.
5334         * javax/swing/JToggleButton.java
5335         (JToggleButton): New constructor.
5336         (JToggleButton): Simplified.
5337         * javax/swing/text/AttributeSet.java
5338         (FontAttribute): Renamed from FontCharacterAttribute.
5339         * javax/swing/text/JTextComponent.java
5340         (KeyBinBinding): Added javadoc.
5341         (JTextComponent): Likewise.
5342         (getAccessibleContext): Fixed javadoc.
5343         * javax/swing/text/View.java
5344         (View): Added javadoc.
5345         * javax/swing/text/TabableView.java: New file.
5346         * Makefile.am: Added javax/swing/text/TabableView.java.
5347         * Makefile.in: Regenerated.
5349 2004-07-21  Graydon Hoare  <graydon@redhat.com>
5351         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
5352         * gnu/java/awt/peer/gtk/GtkToolkit.java 
5353         (GtkErrorImage): New helper class.
5354         (bufferedImageOrError): New helper method.
5355         (createImage): Use it.
5357 2004-07-21  David Jee  <djee@redhat.com>
5359         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5360         (setCaretPosition): Scroll the text view so the new caret position
5361         is visible on screen.
5363 2004-07-21  David Jee  <djee@redhat.com>
5365         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
5366         (setBounds): Do not validate awtComponent here.
5367         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
5368         (getPreferredSize): New method.
5369         * java/awt/ScrollPane.java
5370         (ScrollPane): Set default size to 100x100.
5371         (addNotify): If child is not a Panel, wrap it with a new Panel.
5372         (paramString): Implement.
5374 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5376         * javax/swing/JMenu.java:
5377         (setSelected): Display popup menu only if this menu 
5378         is showing on the screen.
5379         * javax/swing/JPopupMenu.java:
5380         (processMouseEvent): Added comment.
5381         (processKeyEvent): Likewise.
5382         * javax/swing/MenuSelectionManager.java:
5383         (clearSelectedPath): Only fireStateChanged() after
5384         selected path was changed, not before.
5385         (setSelectedPath): Likewise.
5386         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5387         (paintMenuItem): Corrected position of menu item's
5388         icon.
5389         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5390         (installUI): Correct setDefaultLightWeightPopupEnabled call.
5391         (popupMenuCanceled): Reimplemented.
5392         (popupMenuWillBecomeVisible): Select first menu item by default 
5393         when displaying free floating popup menus.
5394         (TopWindowListener): Reimplemented.
5396 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5398         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
5399         Panel from being painted twice when it is first shown.
5401 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5403         * java/awt/Window.java: Reverted changes from my 
5404         previous patch for creating window without an owner.
5405         * javax/swing/SwingUtilities.java: 
5406         (SwingUtilities.OwnerFrame): made static.
5407         (OwnerFrame.setVisible): New method. Overridden with
5408         empty implementation.
5409         (OwnerFrame.isShowing): New method. Ovverridden
5410         to return always true.
5412 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5414         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5415         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5416         (GtkComponentPeer): Remove temporary try/catch block.
5417         (setVisible): Call show and hide.
5418         (show): Make native.
5419         (hide): Likewise.
5420         (getArgs): Don't add "visible" argument.
5421         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5422         (property_notify_predicate): Return Bool instead of int.
5423         (find_layout): New function.
5424         (connectJObject): Call find_layout.
5425         (connectSignals): Likewise.
5426         (moveLayout): Likewise.
5427         (gtkLayoutSetVisible): Likewise.
5429 2004-07-21  Mark Wielaard  <mark@klomp.org>
5431         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
5432         on notifier object before calling notifyAll().
5434 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5436         * java/awt/Window.java: Changed constructors to use new
5437         method that is described below. Constructors call this
5438         methods only if newly created window should have an owner.
5439         (setWindowOwner): New method. Implementation for
5440         this method is moved from this(owner,configuration).
5441         * javax/swing/JWindow.java:
5442         (JWindow): Reimplement to use SwingUtilities.ownerFrame
5443         instead of owner.
5444         * javax/swing/SwingUtilities.java:
5445         (ownerFrame): Change type of this field to OwnerFrame.
5446         (getOwnerFrame): Changed to return object of type OwnerFrame.
5447         (SwingUtilities.OwnerFrame): New class. Represents owner
5448         of a Window that is not provided with one.
5450 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5452         *  javax/swing/AbstractButton.java: 
5453         (configurePropertiesFromAction): Set action command
5454         to button's text by default if action command is not 
5455         explicitely specified.
5456         * javax/swing/JMenu.java: Remove unnecessary listener
5457         and methods relevant to it.
5458         (setSelected): Reimplemented.
5459         (menuSelectionChanged): Moved most part of implementation to
5460         setSelected() and call it instead.
5461         * javax/swing/JMenuItem.java: 
5462         (init): Comment out statement that sets paint_border to false.
5463         (configurePropertiesFromAction): Do not set accelerator
5464         for JMenu.
5465         (menuSelectionChanged): Change selected index in the selection
5466         model of menu item's parent.
5467         * javax/swing/JPopupMenu.java:
5468         (remove): Set constraints.fill field to GridBagConstraints.BOTH
5469         instead of GridBagConstraints.HORIZONTAL.
5470         (insert): Likewise.
5471         (createActionChangeListener): Implemented.
5472         (setVisible): Correct location of HeavyWeightMenu and 
5473         don't firePopupMenuCanceled().
5474         (menuSelectionChanged): Implemented.
5475         (ActionChangeListener): New Listener. Implemented.
5476         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5477         (BasicMenuBarUI.ContainerHandler): Implemented.
5478         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5479         (paintMenuItem): Uncommented out code that paints 
5480         icon, now that icons are working properly.
5481         (PropertyChangeListener): Implemented.
5482         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5483         Added javadocs.
5484         (topWindowListener): New field.
5485         (Constructor): initialize topWindowListener.
5486         (BasicPopupMenuUI.TopWindowListener): Implemented.      
5487         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
5488         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
5489         Implemented.
5491 2004-07-21  Michael Koch  <konqueror@gmx.de>
5493         * javax/swing/plaf/basic/BasicButtonUI.java
5494         (paintFocus): Fixed method signature.
5495         (paintButtonPressed): Likewise.
5496         (paintButtonNormal): Likewise.
5497         (paintText): New method.
5498         * javax/swing/plaf/basic/BasicLabelUI.java
5499         (paint): Re-indented.
5500         * javax/swing/plaf/basic/BasicTextUI.java
5501         (installUI): Set parent textComponent to opaque.
5502         * javax/swing/text/DefaultHighlighter.java
5503         (checkPositions): New helper method.
5504         (addHighlight): Throws BadLocationException, check positions.
5505         (changeHighlight): Likewise.
5506         * javax/swing/text/EditorKit.java
5507         (EditorKit): Implements Serializable.
5508         * javax/swing/text/JTextComponent.java
5509         (getUI): Added javadoc.
5510         (setUI): Likewise.
5511         (upadteUI): Added javadoc, don't revalidate and repaint.
5513 2004-07-21  David Jee  <djee@redhat.com>
5515         * java/awt/GridBagLayout.java
5516         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
5517         * javax/swing/AbstractButton.java
5518         (setText): Reindent.
5519         * javax/swing/RepaintManager.java
5520         (addInvalidComponent): Find the first ancestor that isValidateRoot().
5522 2004-07-21  Michael Koch  <konqueror@gmx.de>
5524         * javax/swing/JFormattedTextField.java
5525         (value): New field.
5526         (JFormattedTextField): Implemented.
5527         (getValue): Likewise.
5528         (setValue): Likewise.
5529         * javax/swing/LookAndFeel.java
5530         (getSupportsWindowDecorations): New method.
5531         * javax/swing/UIDefaults.java:
5532         Use java.beans.PropertyChangeSupport instead of doing all ourself.
5533         (addPropertyChangeListener): Made public.
5534         (addResourceBundle): Likewise.
5535         (removeResourceBundle): Likewise.
5536         (setDefaultLocale): Likewise.
5537         * javax/swing/plaf/basic/BasicRootPaneUI.java
5538         (BasicRootPaneUI): Implements PropertyChangeListener.
5539         (propertyChange): New method.
5540         * javax/swing/plaf/basic/BasicTextUI.java
5541         (BasicHighlighter): New inner class.
5542         (createHighlighter): New method.
5543         * javax/swing/plaf/basic/BasicToolBarUI.java
5544         (DragWindow): Extends java.awt.Window.
5545         * javax/swing/text/JTextComponent.java
5546         (getDocument): Removed debug output.
5547         * javax/swing/plaf/basic/BasicTextFieldUI.java,
5548         javax/swing/text/DefaultHighlighter.java,
5549         javax/swing/text/FieldView.java,
5550         javax/swing/text/PlainView.java: New files.
5551         * Makefile.am: Added new files.
5552         * Makefile.in: Regenerated.
5554 2004-07-21  Michael Koch  <konqueror@gmx.de>
5556         * javax/swing/JEditorPane.java
5557         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
5558         (createEditorKitForContentType): Likewise.
5559         * javax/swing/text/DefaultEditorKit.java
5560         (serialVersionUID): Added constant field.
5561         (EndOfLineStringPropery): Fixed typo.
5562         (DefaultEditorKit): New constructor.
5563         * javax/swing/text/Segment.java:
5564         Import java.text.CharacterIterator.
5565         * javax/swing/text/CharacterIterator.java,
5566         javax/swing/text/PlainEditorKit.java: Removed.
5567         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
5568         javax/swing/text/PlainEditorKit.java.
5569         * Makefile.in: Regenerated.
5571 2004-07-21  Michael Koch  <konqueror@gmx.de>
5573         * javax/swing/JButton.java,
5574         javax/swing/text/DefaultEditorKit.java,
5575         javax/swing/text/EditorKit.java,
5576         javax/swing/text/Segment.java,
5577         javax/swing/text/StyledEditorKit.java:
5578         Reformatted.
5580 2004-07-21  Michael Koch  <konqueror@gmx.de>
5582         * javax/swing/ImageIcon.java
5583         (file): Removed.
5584         (description): Renamed from descr.
5585         (ImageIcon): Added missing constructors.
5586         (setParent): Removed.
5587         (setImageObserver): New method.
5588         (getImageObserver): New method.
5589         (paintIcon): Handle observer = null.
5590         * javax/swing/JButton.java
5591         (removeNotify): Fixed javadoc.
5592         (updateUI): Simplified.
5593         * javax/swing/JRootPane.java
5594         (serialVersionUID): New constant field.
5595         * javax/swing/UIManager.java:
5596         Fixed javadocs all over.
5597         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
5598         * javax/swing/text/AbstractDocument.java
5599         (createPosition): Throws BadLocationException.
5600         (getText): Likewise.
5601         (remove): Likewise.
5602         * javax/swing/text/ComponentView.java
5603         (modelToView): Likewise.
5604         * javax/swing/text/DefaultEditorKit.java:
5605         Made all public methods public.
5606         (read): Throws BadLocationException and IOException.
5607         (write): Likewise.
5608         * javax/swing/text/EditorKit.java:
5609         Made all public methods public.
5610         (serialVersionUID): New constant field.
5611         (clone): New method.
5612         (read): Throws BadLocationException and IOException.
5613         (write): Likewise.
5614         * javax/swing/text/Segment.java
5615         (array): Made public.
5616         (count): Likewise.
5617         (offset): Likewise.
5618         (Segment): New constructors.
5619         (clone): Reimplemented.
5620         * javax/swing/text/StyledEditorKit.java
5621         (serialVersionUID): New constant field.
5623 2004-07-21  Graydon Hoare  <graydon@redhat.com>
5625         * java/awt/image/BufferedImage.java 
5626         (getSource): Implement.
5627         * javax/swing/ImageIcon.java 
5628         (ImageIcon): Implement ctor.
5629         * javax/swing/ScrollPaneLayout.java 
5630         (preferredLayoutSize): Be more careful about nulls.
5632 2004-07-21  Michael Koch  <konqueror@gmx.de>
5634         * javax/swing/text/AttributeSet.java
5635         (CharacterAttribute): New interface
5636         (ColorAttribute): Likewise.
5637         (FontCharacterAttribute): Likewise.
5638         (ParagraphAttribute): Likewise.
5639         * javax/swing/text/DefaultCaret.java
5640         (moveCaret): New method.
5641         (positionCaret): Likewise.
5642         (repaint): Made protected.
5643         * javax/swing/text/JTextComponent.java
5644         (KeyBinding): Made it static.
5645         * javax/swing/text/View.java
5646         (getContainer): Honor parent == null.
5648 2004-07-21  Michael Koch  <konqueror@gmx.de>
5650         * javax/swing/text/AbstractDocument.java:
5651         Reformatted.
5653 2004-07-21  Michael Koch  <konqueror@gmx.de>
5655         * javax/swing/plaf/basic/BasicRootPaneUI.java:
5656         Import javax.swing.UIManager explicitely.
5657         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5658         (ScrollingButton): Made it static.
5660 2004-07-21  Michael Koch  <konqueror@gmx.de>
5662         * javax/swing/UIDefaults.java
5663         (ActiveValue): Made public.
5664         (LazyValue): Likewise.
5665         * javax/swing/plaf/basic/BasicTextUI.java
5666         (RootView): Reintroduced.
5667         (view): Removed.
5668         (rootView): New field.
5669         (installUI): Create document if needed, initialize rootView.
5670         (uninstallUI): Hanle rootView.
5671         (paint): Likewise.
5672         (getRootView): Likewise.
5673         (setView): Likewise.
5674         * javax/swing/text/DefaultCaret.java:
5675         Renamed all "evt" variables to "event".
5677 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5679         * libgcj.spec.in: Add -l-java-util-logging.
5681 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
5683         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5684         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
5685         gtk-xft-dpi can no calculate the right value.
5686         (dpi_changed_cb): Mark *pspec as unsused.
5688 2004-07-21  David Jee  <djee@redhat.com>
5690         * java/awt/Component.java
5691         (move): Delegate to setBounds().
5692         (resize): Likewise.
5693         (reshape): Fix so it repaints parent and self only when necessary.
5695 2004-07-21  David Jee  <djee@redhat.com>
5697         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5698         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5699         (GtkComponentPeer): Revert previous patch from 2004-06-22.
5700         (setVisible): Likewise.
5701         (show): Likewise.
5702         (hide): Likewise.
5703         (getArgs): Likewise.
5704         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5705         (property_notify_predicate): Likewise.
5706         (find_layout): Likewise.
5707         (connectJObject): Likewise.
5708         (connectSignals): Likewise.
5709         (moveLayout): Likewise.
5710         (gtkLayoutSetVisible): Likewise.
5712 2004-07-21  Graydon Hoare  <graydon@redhat.com>
5714         * Makefile.am
5715         (jv_convert_LDADD):
5716         (gij_LDADD):
5717         (rmic_LDADD):
5718         (rmiregistry_LDADD): Add lib-java-util-logging.la
5719         * Makefile.in: Regenerate.
5721 2004-07-21  Michael Koch  <konqueror@gmx.de>
5723         * javax/swing/text/AbstractDocument.java
5724         (replace): Dont use protected method of java.util.Vector directly.
5726 2004-07-21  Michael Koch  <konqueror@gmx.de>
5728         * javax/swing/plaf/basic/BasicTextUI.java
5729         (installUI): Call specialized install methods.
5730         (installDefaults): New method.
5731         (installListeners): Likewise.
5732         (installKeyboardActions): Likewise.
5733         (uninstallUI): Likewise.
5734         (uninstallDefaults): New method.
5735         (uninstallListeners): Likewise.
5736         (uninstallKeyboardActions): Likewise.
5737         (getPropertyPrefix): New abstract method.
5738         (paint): Made final, just call paintSafely().
5739         (paintSavely): New method.
5740         (paintBackground): Likewise.
5741         (getVisibleEditorRect): Likewise.
5742         * javax/swing/text/LayeredHighlighter.java,
5743         javax/swing/text/TabExpander.java: New files.
5744         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
5745         and javax/swing/text/TabExpander.java.
5746         * Makefile.in: Regenerated.
5748 2004-07-21  Michael Koch  <konqueror@gmx.de>
5750         * javax/swing/plaf/basic/BasicTextUI.java
5751         (BasicTextUI): Made abstract.
5752         (BasicCaret): New inner class.
5753         (view): Don't explicitely initialize with "null".
5754         (textComponent): New field.
5755         (textColor): Removed.
5756         (disabledTextColor): Removed.
5757         (normalBackgroundColor): Removed.
5758         (RootView): Removed commented out inner class.
5759         (createUI): Removed.
5760         (createCaret): New method.
5761         (getComponent): Likewise.
5762         (installUI): Initialize textComponent only.
5763         (getPreferredSize): Use installed JTextComponent.
5764         (setView): New method.
5765         (create): Likewise.
5766         * javax/swing/text/JTextComponent.java
5767         (highlighter): New field.
5768         (caretColor): Likewise.
5769         (disabledTextColor): Likewise.
5770         (seletedTextColor): Likewise.
5771         (selectionColor): Likewise.
5772         (setUI): New method.
5773         (getCaretColor): Likewise.
5774         (setCaretColor): Likewise.
5775         (getDisabledColor): Likewise.
5776         (setDisabledColor): Likewise.
5777         (getSelectedTextColor): Likewise.
5778         (setSelectedTextColor): Likewise.
5779         (getSelectionColor): Likewise.
5780         (setSelectionColor): Likewise.
5781         (getHighlighter): Likewise.
5782         (setHighlighter): Likewise.
5783         (replaceSelection): Likewise.
5785 2004-07-21  Michael Koch  <konqueror@gmx.de>
5787         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5788         (BasicScrollPaneUI): Implements ScrollPaneConstants.
5789         * javax/swing/plaf/basic/BasicToolBarUI.java
5790         (BasicToolBarUI): Implements SwingConstants.
5792 2004-07-21  Michael Koch  <konqueror@gmx.de>
5794         * javax/swing/JPopupMenu.java: Removed CVS tags.
5795         * javax/swing/UIDefaults.java: Reformatted.
5796         * javax/swing/plaf/basic/BasicRootPaneUI.java:
5797         Explicitely import used classes.
5799 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5801         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5802         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5803         (GtkComponentPeer): Remove temporary try/catch block.
5804         (setVisible): Call show and hide.
5805         (show): Make native.
5806         (hide): Likewise.
5807         (getArgs): Don't add "visible" argument.
5808         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5809         (property_notify_predicate): Return Bool instead of int.
5810         (find_layout): New function.
5811         (connectJObject): Call find_layout.
5812         (connectSignals): Likewise.
5813         (moveLayout): Likewise.
5814         (gtkLayoutSetVisible): Likewise.
5816 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5818         * javax/swing/AbstractButton.java:
5819         (setDisplayedMnemonicIndex): Check if button
5820         text is not null before checking its length.
5821         * javax/swing/JMenuItem.java:
5822         (processMouseEvent): Disarm menu item if mouse has
5823         exited it.
5824         * javax/swing/plaf/basic/BasicMenuUI.java:
5825         (MouseInputHandler.mouseEntered): Do not raise
5826         popup menu if this menu is already selected.
5827         (MouseInputHandler.mousePressed): Do not fire 
5828         MenuEvents.
5829         (MenuHandler): Implemented.     
5831 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5833         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
5834         (getSelectedObjects): Implemented.
5835         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
5836         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
5837         Added javadoc for few methods.
5838         (processMouseEvent): Made public.
5839         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
5840         (processMouseEvent): Likewise.
5842 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5844         * javax/swing/AbstractButton.java:
5845         (init): Set display mnemonic index to -1.
5846         (setMnemonic(char)): Use setMnemonic(int).
5847         (setMnemonic(int)): Set display mnemonic index.
5848         (getDisplayedMnemonicIndex): Change method signature
5849         by removing 'index' parameter.
5850         * javax/swing/plaf/basic/BasicLookAndFeel.java:
5851         Added default for Menu.selectionBackground.     
5852         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5853         (paintMenuItem): Change background color of the selected
5854         menu item.
5855         (paintText): Paint differently when menu item is disabled.
5856         Also paint mnemonic if it appears in the menu item's label.
5857         (paintAccelerator): Paint accelerator differently
5858         if menu item is disabled.
5859         * javax/swing/plaf/basic/BasicMenuUI.java:
5860         (installDefaults): Install defaults for 
5861         selectionForeground and selectionBackground.
5862         (uninstallDefaults): Uninstall defauls for 
5863         selectionForeground and selectionBackground.
5865 2004-07-21  Michael Koch  <konqueror@gmx.de>
5867         * javax/swing/text/AbstractDocument.java
5868         (BranchElement): Implemented.
5869         (LeafElement): Implemented.
5870         * javax/swing/text/DefaultCaret.java:
5871         Import used classes.
5872         (serialVersionUID): New constant.
5873         * javax/swing/text/JTextComponent.java
5874         (AccessibleJTextComponent): Removed dead declaration.
5875         (caretPos): Removed.
5876         (setCaret): New method.
5877         * javax/swing/text/PlainDocument.java
5878         (rootElement): New field.
5879         (PlainDocument): Initialize rootElement.
5880         (createDefaultRoot): New method.
5881         (getDefaultRootElement): Implemented.
5882         * javax/swing/text/View.java: Reformatted.
5883         * javax/swing/text/ViewFactory.java
5884         (create): Added javadoc.
5886 2004-07-21  Michael Koch  <konqueror@gmx.de>
5888         * javax/swing/ToolTipManager.java: Reformatted.
5890 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
5892         * javax/swing/AbstractButton.java
5893         (changeEvent): New field.
5894         (fireItemStateChanged): Change source of the event
5895         to 'this' before firing it to button listeners.
5896         (fireActionPerformed): Likewise.
5897         (fireStateChanged): Likewise.
5898         (createActionListener): Do not set source 
5899         of the event to AbstractButton.                                  
5900         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5901         (ContainerHandler.componentAdded): Removed 
5902         print out statement.
5903         (ContainerHandler.componentRemoved): Likewise.
5905 2004-07-21  Michael Koch  <konqueror@gmx.de>
5907         * javax/swing/text/Highlighter.java: New file.
5908         * Makefile.am: Added javax/swing/text/Highlighter.java.
5909         * Makefile.in: Regenerated.
5911 2004-07-21  Michael Koch  <konqueror@gmx.de>
5913         * javax/swing/ToolTipManager.java
5914         (stillInsideTimerAction): Fixed constructor arguments.
5915         (outsideTimerAction): Likewise.
5916         (insideTimerAction): Likewise.
5918 2004-07-21  Michael Koch  <konqueror@gmx.de>
5920         * javax/swing/JButton.java: Reformatted.
5921         * javax/swing/JFormattedTextField.java
5922         (getUIClassID): Implemented.
5923         * javax/swing/JRootPane.java
5924         (serialVersionUID): New constant.
5925         * javax/swing/JTextField.java
5926         (align): New field.
5927         (JTextField): Simplified.
5928         (getUIClassID): New method.
5929         (getActionListeners): Added @since tag.
5930         (setColumns): Invalidate layout and repaint.
5931         (getHorizontalAlignment): New method.
5932         (setHorizontalAlignment): New method.
5933         (selectAll): Removed.
5934         * javax/swing/SwingUtilities.java
5935         (getAncestorOfClass): Removed redundant @see tag.
5936         (isLeftMouseButton): Fixed implementation.
5937         (isMiddleMouseButton): Likewise.
5938         (isRightMouseButton): Likewise.
5939         * javax/swing/text/AbstractDocument.java
5940         (AttributeContext.addAttribute): New method.
5941         (AttributeContext.addAttributes): New method.
5942         (AttributeContext.getEmptySet): New method.
5943         (AttributeContext.reclaim): New method.
5944         (AttributeContext.removeAttribute): New method.
5945         (AttributeContext.removeAttributes): New method.
5946         * javax/swing/text/Document.java
5947         (createPosition): Throws BadLocationException.
5948         (getText): Likewise.
5949         (remove): Likewise.
5950         * javax/swing/text/JTextComponent.java
5951         (getText): Return null if no document is set. Catch
5952         BadLocationException.
5953         (getUI): Return ui.
5954         (updateUI): Simplified.
5956 2004-07-21  Michael Koch  <konqueror@gmx.de>
5958         * javax/swing/JButton.java
5959         (removeNotify): Fixed javadoc.
5960         (updateUI): Simplified.
5962 2004-07-21  David Jee  <djee@redhat.com>
5964         * gnu/java/awt/image/ImageDecoder.java
5965         (startProduction): Only add consumer if it's not added yet.
5966         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5967         (GdkPixbufDecoder): Don't call initState() here.
5968         (produce): Call initState() here, to ensure area_prepared and
5969         area_updated signals are properly connected.
5970         * gnu/java/awt/peer/gtk/GtkImage.java
5971         (setColorModel): Use equals() to compare ColorModel objects.
5972         (setPixels): Likewise.
5973         * java/awt/image/ColorModel.java
5974         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
5975         * java/awt/image/RGBImageFilter.java
5976         (setColorModel): Set consumer's color model.
5977         (setPixels): Use equals() to compare ColorModel objects.
5979 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
5981         * java/net/URLConnection.java (position): New field.
5982         (dateFormat1, dateFormat2, dateFormat3): Removed.
5983         (dateFormats): New field.
5984         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
5985         each time instead of re-allocating.
5986         (initializeDateFormats): Initialize 'dateFormats'.
5988 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
5990         PR libgcj/16591
5991         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
5992         is defined.
5994 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
5996         * java/net/Socket.java (getImpl): Now private. Remove comment.
5998 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
6000         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
6001         of chained Writer when calling super-constructor.
6002         * java/io/FilterWriter.java (FilterWriter): Likewise.
6003         * java/io/PrintWriter.java (PrintWriter): Likewise.
6005 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
6007         * prims.cc (process_gcj_properties): Don't increment i within LHS
6008         of assignment.
6010 2004-07-19  Per Bothner  <per@bothner.com>
6012         Print -verbose:message on "loading", not initialization.
6013         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
6014         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
6015         gcj::verbose_class_flag.
6016         * java/lang/natClass.cc (initializeClass):  Don't print message here.
6017         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
6018         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
6019         (_Jv_PrepareCompiledClass):  Likewise.
6021 2004-07-18  Matthias Klose  <doko@debian.org>
6023         * configure.in: Substitute target_noncanonical.
6024         * configure: Regenerate
6026 2004-07-17  Michael Koch  <konqueror@gmx.de>
6028         * java/lang/String.java: Fixed javadocs all over.
6030 2004-07-17  Mark Wielaard  <mark@klomp.org>
6032         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
6033         when size is smaller.
6034         * java/io/RandomAccessFile.java (setLength): Use truncate for
6035         shrinking the file and seek plus write for expanding the file.
6037 2004-07-17  Michael Koch  <konqueror@gmx.de>
6039         * gnu/java/nio/channels/natFileChannelPosix.cc
6040         (implTruncate): Always save current position. Only reposition file
6041         pointer to where we started if not beyond new lenght. Reposition file
6042         pointer to file length if it points beyond the end of file.
6044 2004-07-17  Mark Wielaard  <mark@klomp.org>
6046         * javax/swing/Box.java: Put FIXME comment above class declaration.
6047         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
6048         * javax/swing/JCheckBox.java: Likewise.
6049         * javax/swing/JDialog.java: Likewise.
6050         * javax/swing/JRadioButton.java: Likewise.
6051         * javax/swing/JToggleButton.java: Likewise.
6052         * javax/swing/UIManager.java: Likewise.
6053         * javax/swing/border/TitledBorder.java: Likewise.
6054         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6055         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
6056         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
6057         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6058         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
6059         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6060         * javax/swing/text/JTextComponent.java: Likewise.
6062 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
6064         * java/net/DatagramPacket.java (setAddress): Removed check for
6065         null address.
6067 2004-07-17  Michael Koch  <konqueror@gmx.de>
6069         * java/net/DatagramSocket.java
6070         (getLocalAddress): Check if socket is bound or not.
6071         * java/net/Socket.java
6072         (getLocalAddrss): Check if socket is bound or not.
6073         (getPort): Return -1 when not connected. Dont check getImpl() for
6074         null.
6075         (setReuseAddress): Check if socket is closed.
6076         (isConnected): Check if getImpl() returns null.
6078 2004-07-17  Mark Wielaard  <mark@klomp.org>
6080         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
6081         on notifier object before calling notifyAll().
6083 2004-07-17  Michael Koch  <konqueror@gmx.de>
6085         * gnu/java/nio/channels/FileChannelImpl.java
6086         (finalize): Added javadoc.
6088 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
6090         * java/text/CollationElementIterator.java
6091         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
6092         (setText): Use ArrayList instead of Vector.
6094 2004-07-17  Michael Koch  <konqueror@gmx.de>
6096         * java/nio/ByteOrder.java
6097         (static): Removed. Not needed.
6098         Thanks to Patrick Reali for noticing.
6099         * java/nio/charset/CharsetDecoder.java
6100         (decode): Fix for classpath bug #9177: Reset state before flipping.
6102 2004-07-17  Michael Koch  <konqueror@gmx.de>
6104         * java/security/Security.java: Fixed javadocs all over.
6106 2004-07-17  Michael Koch  <konqueror@gmx.de>
6108         * gnu/java/awt/EmbeddedWindow.java
6109         (static): Removed.
6110         (addNotify): Set peer via reflection.
6111         (setWindowPeer): Removed.
6112         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
6113         * Makefile.am (nat_source_files):
6114         Removed gnu/java/awt/natEmbeddedWindow.cc.
6115         * Makefile.in: Regenerated.
6117 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
6119         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
6120         assignment.
6121         * configure: Regenerated.
6123 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
6125         * configure.in: Use build_noncanonical rather than build_alias.
6126         * configure: Rebuild.
6128         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
6129         by logic refactoring.  Move default definition of NATIVE closer
6130         to first alternate definition.
6131         * configure: Regenerate.
6133         * Makefile.am: Set ZIP and GCJH directly using autoconf.
6134         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
6135         gcj/Makefile.in: Regenerate.
6136         * configure.in: Set ZIP and GCJH.  Remove redundant condition
6137         in AM_CONDITIONAL(NATIVE,...)
6138         * configure: Regenerate.
6140 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
6142         * configure.in: Use target_noncanonical rather than
6143         target_alias for forward-compatibility with autoconf 2.59.
6144         * configure: Regenerate.
6145         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
6146         testsuite/Makefile.am: Substitute target_noncanonical.
6147         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
6148         testsuite/Makefile.in: Regenerate.
6150         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
6151         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
6152         * acinclude.m4: Include acx.m4.
6153         * aclocal.m4: Regenerate.
6154         * configure: Regenerate.
6156 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
6158         PR libgcj/16574
6159         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
6160         (decimalFormat): New static variable.
6161         (sbuf): Likewise.
6162         (getTime): New. Override Date.getTime().
6163         (toString): Synchronize. Use decimalFormat to format nanos value
6164         correctly. Truncate extra zeros.
6165         (before): Compare getNanos() only if getTime() is equal.
6166         (after): Likewise.
6167         
6168 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
6170         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
6171         * configure.in: ...here.
6172         * aclocal.m4: Regenerate.
6173         * configure: Regenerate.
6175         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
6176         * configure: Rebuilt with autoconf 2.13.
6177         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
6178         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
6180 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
6182         PR libgcj/16204
6183         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
6184         large file support.
6185         * Makefile.in: Rebuilt.
6186         * testsuite/libjava.lang/LargeFile.java: New test case.
6187         * testsuite/libjava.lang/LargeFile.out: New file.
6189 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
6191         * java/beans/EventHandler.java: Remove debugging statements.
6193 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
6195         * java/beans/EventHandler.java: New file.
6196         * Makefile.am (awt_java_source_files): Add EventHandler.java.
6197         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
6198         testsuite/Makefile.in: Regenerate.
6200 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
6202         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
6203         flag to the gcj_setup.
6204         (gcj_jacks_run): Check tclsh version and launch jacks directly with
6205         the tclsh.
6206         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
6207         deprecation flag change. 58 XFAILS removed.
6209 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
6211         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
6212         -fno-use-divide-subroutine.
6213         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
6214         (HANDLE_FPE): Define.
6215         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
6216         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
6217         (HANDLE_DIVIDE_OVERFLOW): Define.
6219 2004-07-14  Michael Koch  <konqueror@gmx.de> 
6220             Matthias Klose  <doko@debian.org> 
6222         * java/awt/im/InputContext.java: Initialize in, line.
6224 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
6226         * interpret.cc (run): Correctly access libffi return values of
6227         integral smaller-than-int type; these are implicitly promoted.
6229 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
6231         PR libgcj/7587
6232         * interpret.cc (compile_mutex): New.
6233         (_Jv_InitInterpreter): New. Initialize compile_mutex.
6234         (run): Lock compile_mutex before calling compile() if compilation is
6235         required.
6236         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
6237         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
6239 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
6241         PR libgcj/15713
6242         * include/jvm.h (_Jv_value): New union type.
6243         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
6244         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
6245         union members.
6247 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
6249         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
6250         * gnu/awt/xlib/XOffScreenImage.java
6251           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
6252           constructor argument. Add constructor using ImageProducer.
6253           (getSource): Implement.
6254           (imageComplete): New method.
6255           (setColorModel): New method.
6256           (setDimensions): New method.
6257           (setHints): New method.
6258           (setPixels): New method.
6259           (setProperties): New method.
6260         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
6261         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
6263 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
6265         PR libgcj/16478 
6266         * prims.cc (_Jv_CreateJavaVM): Fix comment.
6267         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
6268         (finalizerReady): Now native.
6269         (run): Likewise.
6270         (runFinalizers): Removed.
6271         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
6272         a primitive lock, and don't hold it while running the finalizers.
6273         (runFinalizers): Implement. Don't aquire any Java lock.
6274         (finalizerReady): Use lock primitives to signal finalizer thread.
6276 2004-07-11  Mark Wielaard  <mark@klomp.org>
6278         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
6279         * java/net/URLStreamHandler.java (parseURL): When url file part
6280         doesn't contain a '/' just ignore context.
6282 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
6284         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
6285         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
6286         (MAKE_THROW_FRAME): Do not modify PSW address.
6287         (INIT_SEGV): Install SIGINFO-style signal handler.
6288         (INIT_FPE): Likewise.
6290 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
6292         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
6293         status. 21 xfail's removed, 1 added.
6295 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
6297         * gcj/javaprims.h: Regenerate CNI namespace definitions.
6299 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6301         * java/text/MessageFormat.java
6302         (formatInternal): Append "{n}" if argument n is unavailable.
6303         (format(Object, StringBuffer, FieldPosition)): This
6304         should be equivalent to format(Object[],
6305         StringBuffer, FieldPosition).
6307 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
6309         * java.util.Calendar.java (cache): New private static field. Cached
6310         mappings of locales->calendar classes.
6311         (ctorArgTypes): New private static field. Singleton argument for
6312         calendar class constructor lookup.
6313         (getInstance): Cache Locale->Calendar class mappings using HashMap.
6314         Optimize by bypassing reflection instantiation for the 
6315         GregorianCalendar case.
6317 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
6319         * java/util/Calendar.java: Use getSystemClassLoader as argument for
6320         ResourceBundle.getBundle() calls.
6321         * java/util/GregorianCalendar.java: Likewise.
6322         * java/util/Currency.java: Likewise.
6323         * java/text/BreakIterator.java: Likewise.
6324         * java/text/Collator.java: Likewise.
6325         * java/text/DateFormat.java: Likewise.
6326         * java/text/DateFormatSymbols.java: Likewise.
6327         * java/text/DecimalFormatSymbols.java: Likewise.
6328         * java/text/NumberFormat.java: Likewise.
6329         * java/awt/Window.java: Likewise.       
6331 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
6333         * java/util/ResourceBundle.java (bundleCache): Renamed from
6334         resourceBundleCache. Update comments.
6335         (getObject): Don't catch MissingResourceException.
6336         (getBundle(String)): Remove 'final'. Use system classloader if
6337         getCallingClassLoader returned null.
6338         (getBundle(String, Locale)): Likewise.
6339         (BundleKey): New private class. HashMap key for bundle cache lookup.
6340         (lookupKey): New. Singleton instance of BundleKey.
6341         (nullEntry): New. Cache entry to represent failed lookups.
6342         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
6343         caching strategy, no-allocation lookup, and new tryBundle methods.
6344         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
6345         name using given classloader.
6346         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
6347         baseName for given Locale and attempt to load bundle.
6349 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
6351         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
6352         illegal protected method calls.
6354 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
6356         Fix or remove some bogus test cases.
6357         * testsuite/libjava.compile/pr10459_2.java: Removed.
6358         * testsuite/libjava.compile/pr10459.java: Test using its own method,
6359         not Object.clone().
6360         * testsuite/libjava.compile/inner_data.java: Test against its own
6361         protected field.
6363 2004-07-09  Michael Koch  <konqueror@gmx.de>
6365         * scripts/unicode-muncher.pl: Updated to version 2.1
6366         from GNU classpath. Added some clarifications on where to find the
6367         needed files from www.unicode.org.
6368         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
6369         gnu/gcj/convert/UnicodeData-3.0.0.txt:
6370         Removed, these can directly be downloaded from www.unicode.org if
6371         needed. 
6372         * gnu/java/lang/CharData.java: Regenerated.
6373         * include/java-chartables.h: Regenerated.
6374         * Makefile.am (ordinary_java_source_files):
6375         Removed gnu/java/lang/CharData.java.
6376         * Makefile.in: Regenerated.
6378 2004-07-09  Michael Koch  <konqueror@gmx.de>
6380         * java/security/AccessControlContext.java,
6381         java/security/SecureClassLoader.java:
6382         Fixed javadocs.
6384 2004-07-09  Michael Koch  <konqueror@gmx.de>
6386         * java/io/ObjectInputStream.java (readFields): Use long datatype
6387         when shifting byte values more then 24 bits left.
6389 2004-07-09  Michael Koch  <konqueror@gmx.de>
6391         * java/util/zip/DeflaterOutputStream.java,
6392         java/util/zip/GZIPInputStream.java,
6393         java/util/zip/GZIPOutputStream.java,
6394         java/util/zip/InflaterInputStream.java:
6395         Reformatted. Added javadocs. Reordered all stuff.
6396         Renamed variables to be more clear.
6398 2004-07-09  Michael Koch  <konqueror@gmx.de>
6400         * javax/imageio/IIOException.java,
6401         javax/imageio/event/IIOReadProgressListener.java,
6402         javax/imageio/event/IIOReadUpdateListener.java,
6403         javax/imageio/event/IIOReadWarningListener.java,
6404         javax/imageio/event/IIOWriteProgressListener.java,
6405         javax/imageio/event/IIOWriteWarningListener.java:
6406         New files.
6407         * Makefile.am: Added new files.
6408         * Makefile.in: Regenerated.
6410 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
6412         * java/text/RuleBasedCollator.java
6413         (mergeRules): Use ArrayList instead of Vector.
6414         (subParseString): likewise.
6415         (parseString): likewise.
6416         (buildCollationVector): likewise.
6417         (getCollationKey): likewise.
6419 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
6421         * java/text/DateFormat.java (parse):
6422         Improved javadoc. Improved exception message.
6424 2004-07-09  Mark Wielaard  <mark@klomp.org>
6426         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
6427         interrupted() method to clear interupt flag of our Thread.
6429 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
6431         * java/nio/Buffer.java,
6432         java/nio/ByteBuffer.java,
6433         java/nio/ByteBufferHelper.java,
6434         java/nio/ByteBufferImpl.java,
6435         java/nio/CharBuffer.java,
6436         java/nio/CharBufferImpl.java,
6437         java/nio/CharViewBufferImpl.java,
6438         java/nio/DirectByteBufferImpl.java,
6439         java/nio/DoubleBuffer.java,
6440         java/nio/DoubleBufferImpl.java,
6441         java/nio/DoubleViewBufferImpl.java,
6442         java/nio/FloatBuffer.java,
6443         java/nio/FloatBufferImpl.java,
6444         java/nio/FloatViewBufferImpl.java,
6445         java/nio/IntBuffer.java,
6446         java/nio/IntBufferImpl.java,
6447         java/nio/IntViewBufferImpl.java,
6448         java/nio/LongBuffer.java,
6449         java/nio/LongBufferImpl.java,
6450         java/nio/LongViewBufferImpl.java,
6451         java/nio/MappedByteBufferImpl.java,
6452         java/nio/ShortBuffer.java,
6453         java/nio/ShortBufferImpl.java,
6454         java/nio/ShortViewBufferImpl.java:
6455         Fixed javadocs all over. Improved input error
6456         checking.
6458         * java/nio/Buffer.java
6459         (checkForUnderflow, checkForOverflow, checkIndex,
6460         checkIfReadOnly, checkArraySize): New helper methods
6461         for error checking.
6463         * java/nio/ByteBufferHelper.java
6464         (checkRemainingForRead, checkRemainingForWrite,
6465         checkAvailableForRead, checkAvailableForWrite): Removed
6466         no longer needed methods.
6468 2004-07-09  Michael Koch  <konqueror@gmx.de>
6470         * gnu/regexp/CharIndexedInputStream.java:
6471         Reordered imports to match classpath.
6473 2004-07-09  Michael Koch  <konqueror@gmx.de>
6475         * gnu/java/awt/EmbeddedWindow.java:
6476         Load native library for setWindowPeer method.
6478 2004-07-08  Randolph Chung  <tausq@debian.org>
6480         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
6481         * configure: Regenerate.
6482         * configure.host: Set can_unwind_signal for hppa*-linux.
6483         * include/pa-signal.h: New file.
6485 2004-07-07  Per Bothner  <per@bothner.com>
6487         * Makefile.am:  Add rules to build libgij from just gij.cc.
6489         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
6490         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
6491         (initializeClass):  If verbose_class_flag, print message.
6492         * gij.cc (main):  Handle -verbose:class flag.
6494 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
6496         * configure.host: Enable hash synchronization on Darwin.
6497         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
6498         ';', since this is a comment on Darwin.
6499         (compare_and_swap_release): Likewise.
6501 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
6503         * java/net/URLStreamHandler.java (parseURL): Canonicalize
6504         file portion of URL in addition to spec for file: protocol.
6506 2004-07-05  Anthony Green  <green@redhat.com>
6508         * java/io/File.java (toURI): Merge from Classpath.
6510 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
6512         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
6513         before passing to URL constructor. Rethrow any MalformedURLException
6514         as a RuntimeException. Catch MalformedURLException specifically, not
6515         all exceptions.
6517 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
6519         * java/util/Locale.java (readObject): Intern strings read from object
6520         stream.
6522 2004-07-04  Michael Koch  <konqueror@gmx.de>
6524         * gnu/gcj/runtime/FirstThread.java,
6525         gnu/gcj/runtime/natFirstThread.cc: Removed.
6526         * gnu/java/lang/MainThread.java,
6527         gnu/java/lang/natMainThread.cc: New files.
6528         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
6529         * Makefile.am: Added new files and removed deleted ones.
6530         * Makefile.in: Regenerated.
6532 2004-07-03  Mark Wielaard  <mark@klomp.org>
6533             Anthony Green  <green@redhat.com>
6535         * java/net/URL.java (getFile): Clarify return value doc.
6536         (getPath): Return null if file is empty - not empty String.
6537         (set): Convert protocol to lower case before doing anything.
6538         Only change the protocol handler if it's different.
6540 2004-07-03  Anthony Green  <green@redhat.com>
6542         * java/net/URL.java (URL): Convert protocol to lower case before
6543         doing anything, so we getURLStreamHandler() with the proper value.
6545 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
6547         * java/util/Locale.java (hashcode): Made transient.
6548         (hashCode): No longer synchronized.
6549         (equals): Remove comment.
6550         (writeObject): No longer synchronized. Implement using writeObject 
6551         calls instead of tweaking hashCode field. Update doc.
6552         (readObject): Implement using readObject calls.
6554 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
6555             Andreas Tobler  <a.tobler@schweiz.ch>
6557         * configure.host (powerpc-*-darwin*): New case, define
6558         can_unwind_signal.
6559         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
6560         * configure: Regenerate.
6561         * include/darwin-signal.h: New.
6563 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
6565         * java/beans/Statement.java (doExecute): Fix formatting.
6567 2004-06-29  Per Bothner  <per@bothner.com>
6569         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
6570         etc etc):  Remove needless parenthesis, which causes __stdcall__
6571         attribute on MinGW to get ignored.
6573 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
6575         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
6577 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
6579         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
6581 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
6583         * java/beans/Expression.java: New file.
6584         * java/beans/Statement.java: New file.
6585         * Makefile.am: Added new files.
6586         * Makefile.in: Re-generate.
6588 2004-06-27 Mark Wielaard  <mark@klomp.org>
6590         * java/io/FilePermission.java (usingPerms): Removed.
6591         (actionsString): Made final.
6592         (cachePerms): Renamed to checkPerms.
6593         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
6594         on action String.
6595         (FilePermission): Check arguments, call checkPerms().
6596         (equals): Remove cachePerms() call.
6597         (implies): Likewise.
6599 2004-06-27  Mark Wielaard  <mark@klomp.org>
6601         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
6602         final field.
6603         (sendRequest): Use new field in user-agent http agent.
6605 2004-06-27  Mark Wielaard  <mark@klomp.org>
6607         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
6608         when argument is null.
6610 2004-06-26  Mark Wielaard  <mark@klomp.org>
6612         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6613         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
6614         GetMethodID call.
6615         (cancel_clicked): Likewise.
6617 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
6619         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6620         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
6621         can not calculate the right value.
6622         (dpi_changed_cb): Likewise. Mark *pspec as unused.
6624 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
6626         * testsuite/libjava.jacks/jacks.xfail: Remove
6627         15.9.1-qualified-concrete-20.
6629 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
6631         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
6632         encoding name to iconv.
6633         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
6635 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
6637         PR libgcj/16134:
6638         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
6639         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
6640         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
6642 2004-06-21  Andrew Haley  <aph@redhat.com>
6644         * java/io/ObjectOutputStream.java: Add DEBUG statements
6645         everywhere.
6646         (dumpElementln): New method.
6647         (depth): New field.
6648         * java/io/ObjectInputStream.java
6649         (currentClassLoader): Make native.
6650         (callersClassLoader): New field.
6651         (depth): New field.
6652         (readObject): ENDBLOCKDATA is generated if the class has a write
6653         method, not if it has a read method.
6654         (readObject): Save and restore this.currentObject and
6655         this.currentObjectStreamClass around calls to callReadMethod().
6656         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
6657         method.
6659 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
6661         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
6662         darwin.
6664 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
6666         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
6667         if desired, before the default class loader is initialised.
6668         Call INIT_SEGV only if HANDLE_SEGV is defined.
6670 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
6672         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
6673         directory only if it actually exists.
6675 2004-06-18  Graydon Hoare  <graydon@redhat.com>
6677         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6678         Fix up non-ansi comments.
6680 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
6682         * javax/swing/text/AbstractDocument.java: Adding missing import
6683         for javax.swing.event.EventListenerList.
6684         * javax/swing/text/DefaultCaret.java: Likewise.
6686 2004-06-17  Michael Koch  <konqueror@gmx.de>
6688         * javax/swing/JToolBar.java
6689         (name): Removed.
6690         (JToolBar): Use Component.setName(String) instead of doing it all
6691         alone.
6692         * javax/swing/Timer.java
6693         (queueEvent): Added missing modifier.
6695 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
6697         * Makefile.am: Added new file.
6698         * Makefile.in: Re-generate.
6699         * javax/swing/JMenu.java:
6700         (insertSeparator): Implemented.
6701         * javax/swing/JPopupMenu.java:
6702         (JPopupMenu.Separator): Implemented.
6703         * javax/swing/MenuSelectionManager.java:
6704         (processMouseEvent): Use java.awt.Component 
6705         for event source instead of javax.swing.JComponent. 
6706         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
6707         New File. Implemented.
6708         
6709 2004-06-16  David Jee  <djee@redhat.com>
6711         * java/awt/GridBagLayout.java
6712         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
6713         Make sure pos_x and pos_y are never negative.
6715 2004-04-16  Andrew Overholt  <overholt@redhat.com>
6717         * Makefile.am: Add new file.
6718         * Makefile.in: Re-generate.     
6719         * javax/swing/JToolBar.java
6720         Partially implemented.
6721         * javax/swing/plaf/basic/BasicToolBarUI.java
6722         New file. Partially implemented.
6724 2004-06-16  Graydon Hoare  <graydon@redhat.com>
6726         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
6727         (setComposite): Accept AlphaComposite arguments.
6728         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
6729         (createBufferedImage): Add new overloads.
6730         * gnu/java/awt/peer/gtk/GtkToolkit.java
6731         (createImage): Use GdkPixbufDecoder.createBufferedImage
6732         when useGraphics2D() is true.
6733         (getImage): Delegate to createImage.
6734         * javax/swing/JList.java
6735         (isSelectionEmpty):
6736         (getFirstVisibleIndex):
6737         (getLastVisibleIndex):
6738         (setSelectedValue):
6739         (ensureIndexIsVisible): New methods.
6740         * javax/swing/Timer.java: Reimplement.
6742 2004-06-16  Michael Koch  <konqueror@gmx.de>
6744         * javax/swing/text/AbstractDocument.java
6745         (AbstracElement): Made public, implements java.io.Serializable.
6746         (AttributeContext): Made public.
6747         (BranchElement): Likewise.
6748         (Content): Likewise.
6749         (DefaultDocumentEvent): Made public, extends
6750         javax.swing.undo.CompoundEdit.
6751         (ElementEdit): Made public, extends
6752         javax.swing.undo.AbstractUndoableEdit.
6753         (LeafElement): Made public.
6754         (LeafElement.LeafElement): Made public.
6756 2004-06-16  Michael Koch  <konqueror@gmx.de>
6758         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
6759         methods (that were obviously never be intended to get included hi this
6760         class. Added some methods too.
6762 2004-06-16  Michael Koch  <konqueror@gmx.de>
6764         * javax/swing/text/PlainDocument.java
6765         (serialVersionUID): New constant.
6766         (lineLimitAttribute): Likewise.
6767         (tabSizeAttribute): Likewise.
6768         (tabSize): New field.
6769         (PlainDocument): Made public.
6770         (PlainDocument): New constructor.
6772 2004-06-16  Michael Koch  <konqueror@gmx.de>
6774         * javax/swing/text/AbstractDocument.java
6775         (insertString): Throws BadLocationException.
6776         * javax/swing/text/Document.java
6777         (insertString): Likewise.
6778         * javax/swing/text/JTextComponent.java:
6779         Javadocs and comments cleaned up.
6781 2004-06-16  Michael Koch  <konqueror@gmx.de>
6783         * javax/swing/event/UndoableEditListener.java: Reformatted.
6784         * javax/swing/text/AbstractDocument.java
6785         (AbstractDocument): Implements java.io.Serializable.
6786         (doc_list): Removed.
6787         (undo_list): Removed.
6788         (AbstractElement.serialVerionUID): New field.
6789         (BranchElement.serialVerionUID): Likewise.
6790         (DefaultDocumentEvent.serialVerionUID): Likewise.
6791         (ElementEdit.serialVerionUID): Likewise.
6792         (LeafElement.serialVerionUID): Likewise.
6793         (serialVerionUID): Likewise.
6794         (BAD_LOCATION): New constant.
6795         (BidiElementName): Likewise.
6796         (ContentElementName): Likewise.
6797         (ParagraphElementName): Likewise.
6798         (SectionElementName): Likewise.
6799         (ElementNameAttribute): Likewise.
6800         (AbstractDocument): Made protected.
6801         (AbstractDocument): New construtor.
6802         (listenerList): New field.
6803         (fireChangedUpdate): Implemented.
6804         (fireInsertUpdate): Likewise.
6805         (fireRemoveUpdate): Likewise.
6806         (fireUndoableEditUpdate): Likewise.
6807         (getListeners): Likewise.
6808         (addDocumentListener): Likewise.
6809         (removeDocumentListener): Likewise.
6810         (addUndoableEditListener): Likewise.
6811         (removeUndoableEditListener): Likewise.
6812         (getDocumentListeners): New method.
6813         (getUndoableEditListeners): Likewise.
6814         (getAsynchronousLoadPriority): Made public.
6815         (getBidiRootElement): Likewise.
6816         (setAsynchronousLoadPriority): Likewise.
6817         (setDocumentProperties): Likewise.
6818         * javax/swing/text/BadLocationException.java
6819         (serialVerionUID): New field.
6820         * javax/swing/text/DefaultCaret.java
6821         (changeEvent): New field.
6822         (listenerList): Likewise.
6823         (changes): Removed.
6824         (addChangeListener): Reimplemented.
6825         (removeChangeListener): Likewise.
6826         (getListeners): New method.
6827         (getChangeListeners): Likwise.
6828         (getComponent): Likewise.
6829         * javax/swing/text/GapContent.java
6830         (GapContent): Implements java.io.Serializable.
6831         (serialVerionUID): New field.
6833 2004-06-16  Michael Koch  <konqueror@gmx.de>
6835         * javax/swing/JTree.java
6836         (treeModel): New field.
6837         (JTree): New constructors, one existing one made public.
6838         (createTreeModel): New method.
6839         (addTreeExpansionListener): Likewise.
6840         (removeTreeExpansionListener): Likewise.
6841         (getTreeExpansionListeners): Likewise.
6842         (fireTreeCollapsed): Likewise.
6843         (fireTreeExpanded): Likewise.
6844         (addTreeSelectionListener): Likewise.
6845         (removeTreeSelectionListener): Likewise.
6846         (getTreeSelectionListeners): Likewise.
6847         (fireValueChanged): Likewise.
6848         (addTreeWillExpandListener): Likewise.
6849         (removeTreeWillExpandListener): Likewise.
6850         (getTreeWillExpandListeners): Likewise.
6851         (fireTreeWillCollapse): Likewise.
6852         (fireTreeWillExpand): Likewise.
6854 2004-06-16  Michael Koch  <konqueror@gmx.de>
6856         * javax/swing/JTree.java: Reformatted.
6858 2004-06-16  Michael Koch  <konqueror@gmx.de>
6860         * javax/swing/JTextArea.java: New file.
6861         * javax/swing/JTextField.java
6862         (actions): Removed.
6863         (notifyAction): New constant.
6864         (columns): New field.
6865         (JTextField): New constructors.
6866         (createDefaultModel): New method.
6867         (addActionListener): Reimplmemented.
6868         (removeActionListener): Reimplemented.
6869         (getActionListeners): New method.
6870         (fireActionPerformed): New method.
6871         (getColumns): New method.
6872         (setColumne): New method.
6873         * javax/swing/text/JTextComponent.java
6874         (AccessibleJTextComponent.serialVersionUID): New field.
6875         (serialVersionUID): Likewise.
6876         (DEFAULT_KEYMAP): Likewise.
6877         (FOCUS_ACCELERATOR_KEY): Likewise.
6878         (doc): Made private.
6879         (icon_gap): Likewise.
6880         (icon): Likewise.
6881         (align): Likewise.
6882         (JTextComponent): Some constructors removed.
6883         (getScrollableTracksViewportHeight): New method.
6884         (getScrollableTracksViewportWidth): Likewise.
6885         * Makefile.am: Added javax/swing/JTextArea.java.
6886         * Makefile.in: Regenerated.
6888 2004-06-15  Graydon Hoare  <graydon@redhat.com>
6890         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
6891         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
6892         * javax/swing/JViewport.java 
6893         (getExtentSize): Return size rather than preferred size.
6894         (toViewCoordinates): New methods.
6895         (getViewSize): Return size rather than preferred size.
6896         (setViewSize): Note view size as set.
6897         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
6898         * javax/swing/plaf/basic/BasicScrollBarUI.java 
6899         (getPreferredSize): Don't redo layout.
6900         * javax/swing/plaf/basic/BasicViewportUI.java 
6901         (paint): Translate image properly and eat exceptions.
6903 2004-06-15  Kim Ho  <kho@redhat.com>
6905         * javax/swing/JTabbedPane.java
6906         (setComponent): Remove old component and
6907         add new component.
6908         (setSelectedIndex): Don't operate on the 
6909         components if they're null. Don't set index
6910         on the model if the index is the same.
6911         (insertTab): Don't add or hide the component
6912         if it's null. Repaint the container.
6913         * javax/swing/plaf/basic/BasicLookAndFeel.java
6914         Change colors for TabbedPane.
6915         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6916         (mousePressed): Re-layout and paint the component.
6917         (layoutContainer): Don't set location on the view.
6918         (ScrollingViewport::paint): Remove.
6920 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
6922         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6923         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
6925         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6926         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
6927         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
6928         critical region.
6929         (drawLine): Call gdk_flush before leaving GDK critical region.
6930         (fillRect): Likewise.
6931         (drawRect): Likewise.
6932         (copyArea): Likewise.
6933         (copyPixmap): Likewise.
6934         (clearRect): Likewise.
6935         (drawArc): Likewise.
6936         (drawPolyline): Likewise.
6937         (drawPolygon): Likewise.
6938         (fillPolygon): Likewise.
6939         (fillArc): Likewise.
6940         (drawOval): Likewise.
6941         (fillOval): Likewise.
6943         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
6944         style parameter.
6945         (GdkFontMetrics): Add style argument to initState call.
6946         (stringWidth(String,int,int,String)): Add style parameter.
6947         (stringWidth(String)): Add style argument to stringWidth call.
6948         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
6949         (initState): Set pango font style and weight based on AWT style
6950         parameter.  Pass default GTK language to
6951         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
6952         simply dividing by PANGO_SCALE.
6953         (stringWidth): Set pango font style and weight based on AWT style
6954         parameter.
6956         * java/awt/Button.java (next_button_number): New field.
6957         (paramString): Change output.
6958         (generateName): New method.
6959         (getUniqueLong): New method.
6961 2004-06-14  Kim Ho  <kho@redhat.com>
6963         * javax/swing/JTabbedPane.java:
6964         (setComponentAt): Set the component, not
6965         the enabled status.
6966         * javax/swing/plaf/basic/BasicDesktopIconUI.java
6967         (actionPerformed): Let deiconize catch exception.
6969 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
6971         * javax/swing/JPopupMenu.java:
6972         (setVisible): Corrected location of a 
6973         heavyweight popup menu.
6975 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
6977         * javax/swing/MenuSelectionManager.java: 
6978         Ran through jalopy to fix formatting style.
6980 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
6981         
6982         * javax/swing/JLayeredPane.java: 
6983         (remove): Revalidate and repaint layered pane after
6984         the component was removed.
6985         javax/swing/JMenu.java:
6986         (setVisible): Display popup menu at the user location,
6987         if one was set by the user.
6988         (setMenuLocation): Reimplemented. Fixed javadoc.
6989         * javax/swing/JMenuBar.java: Added javadoc.
6990         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
6991         (MODEL_CHANGED_PROPERTY): New Property.
6992         (isSelected): Implemented.
6993         (setBorderPainted): Fire PropertyChangeEvent
6994         if paintBorder property changes.
6995         (setSelected): Implemented.
6996         (setSelectionModel): Implemented.
6997         * javax/swing/JPopupMenu.java: Added Javadoc
6998         (pack): Implemented.
6999         (setVisible): Reimplemented.
7000         (show): Fixed location.
7001         (JPopupMenu.LigthWeightPopup): Reimplemented to use
7002         Container instead of JPanel.
7003         * javax/swing/MenuSelectionManager.java: Added Javadocs.
7004         (clearSelectedPath): Reimplemented to clear selectedPath
7005         in reverse order.
7006         (processMouseEvent): Reimplemented.
7007         (setSelectedPath): Fire stateChange event indicating that
7008         selected menu path has changed.
7009         (getPath): Change to use ArrayList instead of Vector.
7010         * javax/swing/plaf/basic/BasicMenuBarUI.java:
7011         (installUI): call installKeyboardActions().
7012         (uninstallUI): call uninstallKeyboardActions().
7014 2004-06-13  Michael Koch  <konqueror@gmx.de>
7016         * javax/swing/text/DefaultCaret.java,
7017         javax/swing/text/BadLocationException.java:
7018         Reformatted.
7020 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
7022         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
7023         DEFAULT_COLS): New variables.
7024         (create): Don't allow 0 rows or 0 columns.  Instead, set the
7025         values to DEFAULT_ROWS or DEFAULT_COLS.
7026         (getMinimumSize): Likewise.
7027         (getPreferredSize): Likewise.
7028         (minimumSize): Likewise.
7029         (preferredSize): Likewise.
7030         (create): Set peer's editable state.
7031         * java/awt/TextArea.java (TextArea()): Set rows and columns to
7032         zero.  Update javadocs.
7033         (TextArea(String)): Likewise.
7034         (TextArea(int,int)): Fix javadocs.
7035         (TextArea(String,int,int,int)): Only throw exception if one of
7036         rows or columns is zero.  Fix javadocs.
7038 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
7040         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
7041         addition to Components.
7043         * java/awt/MenuItem.java (dispatchEventImpl): If the event
7044         wasn't consumed by normal processing, send it to the parent
7045         menu.
7047         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7048         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
7049         translation.
7051 2004-06-11  David Jee  <djee@redhat.com>
7053         * java/awt/MediaTracker.java
7054         (addImage(Image,int)): Call imageUpdate() to udpate image status.
7055         (addImage(Image,int,int,int)): Likewise.
7057 2004-06-11  Michael Koch  <konqueror@gmx.de>
7059         * javax/swing/text/AbstractDocument.java,
7060         javax/swing/text/Document.java,
7061         javax/swing/text/GapContent.java,
7062         javax/swing/text/JTextComponent.java,
7063         javax/swing/text/PlainDocument.java:
7064         Reformatted.
7066 2004-06-11  Michael Koch  <konqueror@gmx.de>
7068         * javax/swing/JRootPane.java
7069         (AccessibleJRootPane.serialVersionUID): New field.
7070         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
7071         (AccessibleJRootPane.getAccessibleRole): New method.
7072         (RootLayout): Implements Serializable.
7073         (RootLayout.serialVersionUID): New field.
7074         (RootLayout.RootLayout): New constructor.
7075         (setJMenuBar): Made public.
7076         (getJMenuBar): Likewise.
7077         (JRootPane): Likewise.
7078         (createContentPane): Likewise.
7079         (createGlassPane): Likewise.
7080         (createLayeredPane): Likewise.
7082 2004-06-11  Michael Koch  <konqueror@gmx.de>
7084         * javax/swing/SwingUtilities.java
7085         (isLeftMouseButton): Fixed javadoc.
7086         (isMiddleMouseButton): Likewise.
7087         (isRightMouseButton): Likewise.
7089 2004-06-11  Michael Koch  <konqueror@gmx.de>
7091         * javax/swing/JScrollPane.java
7092         (serialVersionUID): New field.
7093         (columnHeader): Made protected.
7094         (rowHeader): Likewise.
7095         (lowerLeft): Likewise.
7096         (lowerRight): Likewise.
7097         (upperLeft): Likewise.
7098         (upperRight): Likewise.
7099         (horizontalScrollBar): Likewise.
7100         (horizontalScrollBarPolicy): Likewise.
7101         (verticalScrollBar): Likewise.
7102         (verticalScrollBarPolicy): Likewise.
7103         (viewport): Likewise.
7105 2004-06-11  Michael Koch  <konqueror@gmx.de>
7107         * javax/swing/LookAndFeel.java: Fixed javadocs.
7109 2004-06-11  Michael Koch  <konqueror@gmx.de>
7111         * javax/swing/JEditorPane.java: Fixed javadocs.
7112         (JEditorPane): Removed redundant call to to this().
7113         (fireHyperlinkUpdate): Implemented.
7115 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
7117         * javax/swing/JMenu.java: Fixed file name 
7118         in the file comment.
7120 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
7122         * javax/swing/JMenu.java: Added javadoc.
7123         (JMenu): Added MenuChangeListener to listen to 
7124         ChangeEvents occuring in menu's model. 
7125         (insert): Throw IllegalArgumentException if 
7126         index is less than 0
7127         (setSelected): Reimplement.
7128         (setPopupMenuVisible): Call menu's model isEnabled()
7129         (setDelay): Throw IllegalArgumentException if 
7130         given amount of delay is less than 0.
7131         (createActionComponent): Implemented.
7132         (createActionChangeListener): Implemented.
7133         (addSeparator): Implemented.
7134         (getItem): Throw IllegalArgumentException if index is 
7135         less than 0.
7136         (getItemCount): Implemented.
7137         (fireMenuSelected): Changed to use menuEvent.
7138         (fireMenuDeselected): Likewise.
7139         (fireMenuCanceled): Likewise.
7140         (setAccelerator): Changed to throw an error if this 
7141         method is used. 
7142         (doClick): Implemented.
7143         (JMenu.ActionChangedListener): New inner class to handle
7144         PropertyChangeEvents occuring in the actions associated with menu.
7145         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
7146         (BasicMenuUI): Added PropertyChangeListener to the menu.
7147         (createChangeListener): Implemented.
7148         (createMenuDragMouseListener): Likewise.
7149         (createMenuKeyListener): Likewise.
7150         (createPropertyChangeListener): Likewise.
7151         (uninstallListeners): Likewise.
7152         (BasicMenuUI.MouseInputHandler): Reimplemented.
7153         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
7154         (BasicMenuUI.ChangeHandler): Likewise.
7155         (BasicMenuUI.MenuDragMouseHandler): Likewise.
7156         (BasicMenuUI.MenuKeyHandler): Likewise.
7158 2004-06-10  David Jee  <djee@redhat.com>
7160         * java/awt/MediaTracker.java
7161         (imageUpdate): Only do notifyAll() if the image is complete.
7163 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
7165         * javax/swing/JApplet.java:
7166         (getJMenuBar): Made public.
7167         (setJMenuBar): Likewise.
7168         * javax/swing/JFrame.java:
7169         (getJMenuBar): Made public.
7170         (setJMenuBar): Likewise.
7171         * javax/swing/JWindow.java:
7172         (getJMenuBar): Removed.
7173         (setJMenuBar): Removed.
7175 2004-06-10  Michael Koch  <konqueror@gmx.de>
7177         * javax/swing/JEditorPane.java
7178         (createEditorKitForContentType): Fixed visibility.
7179         (fireHyperlinkUpdate): Likewise.
7180         (getContentType): Likewise.
7181         (getEditorKit): Likewise.
7182         (getEditorKitForContentType): Likewise.
7183         (getPage): Likewise.
7184         (read): Likewise.
7185         (registerEditorKitForContentTyoe): Likewise.
7186         (replaceSelection): Likewise.
7187         (setContentType): Likewise.
7188         (setEditorKit): Likewise.
7189         (setPage): Likewise.
7191 2004-06-10  Michael Koch  <konqueror@gmx.de>
7193         * javax/swing/Timer.java
7194         (Timer): New constructor.
7195         * javax/swing/plaf/basic/BasicProgressBarUI.java
7196         (animationTimer): Don't initialize at construction.
7197         (startAnimationTimer): Added since tag.
7198         (stopAnimationTimer): Likewise.
7199         (installUI): Use new Timer constructor.
7200         * javax/swing/plaf/basic/BasicScrollBarUI.java
7201         (installUI): Likewise.
7202         * javax/swing/plaf/basic/BasicSliderUI.java
7203         (installUI): Likewise.
7205 2004-06-10  Michael Koch  <konqueror@gmx.de>
7207         * javax/swing/ButtonGroup.java
7208         (serialVersionUID): Made private.
7209         (buttons): Renamed from v, added javadoc.
7210         (sel): Added javadoc.
7211         (ButtonGroup): Likewise.
7212         (add): Likewise.
7213         (remove): Likewise.
7214         (getElements): Likewise.
7215         (getSelection): Likewise.
7216         (setSelected): Likewise.
7217         (isSelected): Likewise.
7218         (getButtonCount): Likewise.
7220 2004-06-10  Michael Koch  <konqueror@gmx.de>
7222         * javax/swing/ButtonGroup.java,
7223         javax/swing/ImageIcon.java,
7224         javax/swing/JEditorPane.java,
7225         javax/swing/JRootPane.java,
7226         javax/swing/JTextField.java,
7227         javax/swing/LookAndFeel.java,
7228         javax/swing/plaf/basic/BasicTextUI.java:
7229         Reindented.
7231 2004-06-10  Michael Koch  <konqueror@gmx.de>
7233         * javax/swing/text/Style.java: Added javadocs.
7235 2004-06-10  Michael Koch  <konqueror@gmx.de>
7237         * javax/swing/JComponent.java
7238         (fireVetoableChange): Removed redundant cast.
7239         * javax/swing/JLabel.java
7240         (getDisabledIcon): Save icon for next call.
7242 2004-06-10  Michael Koch  <konqueror@gmx.de>
7244         * javax/swing/KeyStroke.java
7245         (getKeyStroke(char,boolean)): Marked deprecated.
7247 2004-06-10  Michael Koch  <konqueror@gmx.de>
7249         * javax/swing/DefaultCellEditor.java,
7250         javax/swing/GrayFilter.java,
7251         javax/swing/event/DocumentEvent.java,
7252         javax/swing/text/JTextComponent.java,
7253         javax/swing/text/MutableAttributeSet.java:
7254         Reindented.
7256 2004-06-10  Michael Koch  <konqueror@gmx.de>
7258         * javax/swing/plaf/BorderUIResource.java:
7259         Added serialVersionUID all over.
7261 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
7263         * javax/swing/undo/UndoManager.java: Re-written from scratch.
7265 2004-06-10  Michael Koch  <konqueror@gmx.de>
7267         * javax/swing/table/DefaultTableCellRenderer.java
7268         (noFocusBorder): Initialize directly.
7270 2004-06-10  Michael Koch  <konqueror@gmx.de>
7272         * javax/swing/plaf/basic/BasicArrowButton.java
7273         (setDirection): Use method argument.
7275 2004-06-10  Michael Koch  <konqueror@gmx.de>
7277         * javax/swing/plaf/BorderUIResource.java,
7278         javax/swing/plaf/ComponentUI.java,
7279         javax/swing/undo/CompoundEdit.java,
7280         javax/swing/undo/StateEdit.java:
7281         Fixed javadocs all over.
7283 2004-06-10  Michael Koch  <konqueror@gmx.de>
7285         * javax/swing/DefaultButtonModel.java
7286         (ARMED): Made public final, fixed value.
7287         (ENABLED): Likewise.
7288         (PRESSED): Likewise.
7289         (ROLLOVER): Likewise.
7290         (SELECTED): Likewise.
7291         (stateMask): Initialize directly.
7292         (listenerList): Likewise.
7293         (mnemonic): Likewise.
7294         (fireStateChanged): Removed argument, use changeEvent as event.
7295         All places where this method is called are fixed too.
7296         (getActionCommant): Fixed javadoc.
7297         (setGroup): Fixed javadoc.
7298         (getGroup): New method.
7300 2004-06-09  Olga Rodimina <rodimina@redhat.com>
7302         * javax/swing/AbstractButton.java
7303         (AbstractButton): Use init() to initialize the button.
7304         (init): New Method. Initializes AbstractButton.
7305         * javax/swing/JMenuItem.java: Documented.
7306         (JMenuItem): Reimplemented.
7307         (init): Implemented.
7308         (setEnabled): Changed to call super.setEnabled()
7309         (processMouseEvent): Reimplemented.
7310         (fireMenuKeyPressed): Implemented.
7311         (fireMenuKeyReleased): Implemented.
7312         (fireMenuKeyTyped): Implemented.
7313         (menuSelectionChanged): disarm the model if the menu item was
7314         deselected.
7315         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
7316         (getPath): Change to use ArrayList instead of Vector.
7317         (getPreferredSize): Renamed variable.
7318         (paintMenuItem): Paint margin area of menu item.
7319         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
7320         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
7321         menu item's bounds before clearing the selection.       
7323 2004-06-09  David Jee  <djee@redhat.com>
7325         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
7326         (GtkTextComponentPeer): Set caret position to 0.
7327         * java/awt/TextComponent.java
7328         (setText): Set caret position to 0.
7329         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7330         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
7331         Handle GtkScrolledWindow separately. Fix signal handler blocking.
7332         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
7333         Likewise.
7334         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7335         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
7336         visible.
7338 2004-06-09  Kim Ho  <kho@redhat.com>
7340         * Makefile.am: New files
7341         * Makefile.in: Regenerated
7342         * java/awt/Container.java
7343         (getComponentAt): Removed.
7344         * javax/swing/AbstractAction.java
7345         (ENABLED_PROPERTY): New property.
7346         (putValue): Fire PropertyChangeEvents.
7347         (setEnabled): ditto.
7348         (firePropertyChange): Javadoc and implement
7349         convenience method.
7350         * javax/swing/AbstractButton.java
7351         (setAction): Don't create PropertyChangeListener
7352         if new Action is null.
7353         (setIcon): Don't set icon till after comparing
7354         it.
7355         (configurePropertiesFromAction): Check mnemonic
7356         key before calling intValue().
7357         (createActionPropertyChangeListener): Check
7358         properties rather than bulk change.
7359         * javax/swing/DefaultDesktopManager.java:
7360         Implement.
7361         * javax/swing/DesktopManager.java:
7362         Jalopy and javadoc.
7363         * javax/swing/JComponent.java
7364         (fireVetoableChange): Implement.
7365         (paintImmediately): Use root component.
7366         * javax/swing/JDesktopPane.java: Implement
7367         * javax/swing/JInternalFrame.java: Implement
7368         * javax/swing/JLabel.java
7369         (getDisabledIcon): Return grayscaled icon if
7370         no disabled icon specified.
7371         * javax/swing/JMenuBar.java
7372         (getComponentAtIndex): Use getComponent
7373         * javax/swing/JOptionPane.java
7374         (getDesktopPaneForComponent): Use SwingUtilities'
7375         getAncestorOfClass
7376         (getFrameForComponent): ditto.
7377         * javax/swing/JSplitPane.java
7378         (remove): Use getComponent.
7379         * javax/swing/SwingUtilities.java
7380         (convertPoint): Implement.
7381         * javax/swing/plaf/basic/BasicButtonUI.java
7382         (paintButtonNormal): Check opaqueness before
7383         filling background.
7384         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
7385         Implement
7386         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
7387         Implement.
7388         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
7389         Implement.
7390         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
7391         Implement.
7392         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7393         Change InternalFrame and Desktop colors.
7395 2004-06-09  David Jee  <djee@redhat.com>
7397         * java/awt/Container.java
7398         (remove): Do not set component to invisible.
7400 2004-06-09  Michael Koch  <konqueror@gmx.de>
7402         * javax/swing/tree/DefaultMutableTreeNode.java
7403         (getLeafCount): Renamed enum to e.
7405 2004-06-09  Michael Koch  <konqueror@gmx.de>
7407         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
7408         (positionForMouseEvent): Removed redundant semicolon.
7409         (continueDrag): Use method arguments.
7411 2004-06-09  Michael Koch  <konqueror@gmx.de>
7413         * javax/swing/border/TitledBorder.java,
7414         javax/swing/filechooser/FileSystemView.java,
7415         javax/swing/plaf/basic/BasicButtonListener.java,
7416         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7417         javax/swing/plaf/basic/BasicLabelUI.java,
7418         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7419         javax/swing/plaf/basic/BasicScrollBarUI.java,
7420         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7421         javax/swing/plaf/basic/BasicSliderUI.java,
7422         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7423         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7424         javax/swing/table/JTableHeader.java,
7425         javax/swing/text/AbstractDocument.java,
7426         javax/swing/text/DefaultCaret.java,
7427         javax/swing/text/StyledEditorKit.java,
7428         javax/swing/tree/DefaultTreeCellEditor.java:
7429         Reworked import statements.
7431 2004-06-08  Graydon Hoare  <graydon@redhat.com>
7433         * javax/swing/Box.java: Temporarily comment out code
7434         broken due to visibility bug.
7436 2004-06-09  Michael Koch  <konqueror@gmx.de>
7438         * javax/swing/ImageIcon.java
7439         (ImageIcon): Added missing constructor.
7441 2004-06-08  Michael Koch  <konqueror@gmx.de>
7443         * javax/swing/JToggleButton.java
7444         (JToggleButton): New constructor.
7445         (getAccessibleContext): Moved documentation into javadoc.
7446         (getUIClassID): Likewise.
7448 2004-06-08  Michael Koch  <konqueror@gmx.de>
7450         * javax/swing/AbstractButton.java
7451         (getDisabledIcon): Create disabled icon if none exists yet.
7453 2004-06-08  Michael Koch  <konqueror@gmx.de>
7455         * javax/swing/plaf/basic/BasicLookAndFeel.java
7456         (initClassDefaults): Added FormattedTextFieldUI.
7457         (loadResourceBundle): Renamed enum to e.
7459 2004-06-08  Michael Koch  <konqueror@gmx.de>
7461         * javax/swing/plaf/basic/BasicButtonUI.java
7462         (paintIcon): Simplified.
7463         (paintText): Paint disabled button correctly.
7465 2004-06-08  Michael Koch  <konqueror@gmx.de>
7467         * javax/swing/JComponent.java
7468         (createToolTip): Use official JToolTip API.
7470 2004-06-08  Michael Koch  <konqueror@gmx.de>
7472         * javax/swing/JToolTip.java
7473         (JToolTip): No arguments in API.
7474         (setTipText): New method.
7476 2004-06-08  Michael Koch  <konqueror@gmx.de>
7478         * javax/swing/SwingUtilities.java
7479         (isLeftMouseButton): New method.
7480         (isMiddleMouseButton): New method.
7481         (isRightMouseButton): New method.
7483 2004-06-08  Michael Koch  <konqueror@gmx.de>
7485         * javax/swing/AbstractButton.java,
7486         javax/swing/CellRendererPane.java,
7487         javax/swing/JCheckBoxMenuItem.java,
7488         javax/swing/JColorChooser.java,
7489         javax/swing/JComboBox.java,
7490         javax/swing/JComponent.java,
7491         javax/swing/JDesktopPane.java,
7492         javax/swing/JFileChooser.java,
7493         javax/swing/JMenu.java,
7494         javax/swing/JMenuItem.java,
7495         javax/swing/JOptionPane.java,
7496         javax/swing/JPasswordField.java,
7497         javax/swing/JPopupMenu.java,
7498         javax/swing/JProgressBar.java,
7499         javax/swing/JRadioButtonMenuItem.java,
7500         javax/swing/JScrollBar.java,
7501         javax/swing/JSeparator.java,
7502         javax/swing/JSlider.java,
7503         javax/swing/JSplitPane.java,
7504         javax/swing/JTabbedPane.java,
7505         javax/swing/JTextField.java,
7506         javax/swing/JToolBar.java,
7507         javax/swing/text/JTextComponent.java:
7508         Fixed all constructors of accessibility classes.
7510 2004-06-08  Michael Koch  <konqueror@gmx.de>
7512         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
7513         over.
7515 2004-06-08  Michael Koch  <konqueror@gmx.de>
7517         * javax/swing/Box.java
7518         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
7519         (AccessibleBoxFiller.serialVersionUID): New member variable.
7520         * javax/swing/DefaultButtonModel.java
7521         (stateMask): Made protected.
7522         (listenerList): Likewise.
7523         (changeEvent): Likewise.
7524         (group): Likewise.
7525         (mnemonic): Likewise.
7526         (actionCommand): Likewise.
7527         (getListeners): New method.
7528         (getActionListeners): New method.
7529         (getItemListeners): New method.
7530         (getChangeListeners): New method.
7531         (fireItemStateChanged): Simplified.
7532         (fireActionPerformed): Simplified.
7533         (fireStateChanged): Simplified.
7534         * javax/swing/JFrame.java
7535         (JFrame): Implements WindowContants.
7536         (HIDE_ON_CLOSE): Removed.
7537         (EXIT_ON_CLOSE): Removed.
7538         (DISPOSE_ON_CLOSE): Removed.
7539         (DO_NOTHING_ON_CLOSE): Removed.
7540         (processWindowEvent): Exit with code 0.
7541         (setDefaultCloseOperation): Do security check before setting value.
7542         * javax/swing/JOptionPane.java
7543         (message): Initialize only in constructor.
7544         * javax/swing/JToolTip.java: Removed unused imports.
7545         * javax/swing/JViewport.java
7546         (serialVersionUID): New member variable.
7547         (SIMPLE_SCROLL_MODE): Made final, fixed value.
7548         (BLIT_SCROLL_MODE): Likewise.
7549         (BACKINGSTORE_SCROLL_MODE): Likewise.
7550         (scrollUnderway): Made protected.
7551         (isViewSizeSet): Likewise.
7552         * javax/swing/ListModel.java: Fixed javadoc.
7553         * javax/swing/Popup.java: Likewise.
7554         * javax/swing/RepaintManager.java
7555         (paintDirtyRegions): Don't use internal classes of
7556         java.util.AbstractMap.
7557         * javax/swing/ScrollPaneConstants.java: Reindented.
7558         * javax/swing/ScrollPaneLayout.java
7559         (viewport): Made protected.
7560         (verticalScrollBar): Made protected, renamed to vsb.
7561         (horizontalScrollBar): Made protected, renamed to hsb.
7562         (rowHeader): Made protected, renamed to rowHead.
7563         (columnHeader): Made protected, renamed to colHead.
7564         (lowerLeft): Made protected.
7565         (lowerRight): Made protected.
7566         (upperLeft): Made protected.
7567         (upperRight): Made protected.
7568         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
7569         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
7571 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
7573         * java/awt/MediaTracker.java (imageUpdate): Only set status to
7574         LOADING if flags has SOMEBITS set.
7576 2004-06-07  Michael Koch  <konqueror@gmx.de>
7578         * javax/swing/AbstractButton.java: Reorganized imports.
7579         * javax/swing/ActionMap.java: Likewise.
7580         * javax/swing/DefaultButtonModel.java: Likewise.
7581         * javax/swing/DefaultListModel.java: Likewise.
7582         * javax/swing/ImageIcon.java: Likewise.
7583         (serialVersionUID): New member variable.
7584         * javax/swing/JComboBox.java: Reorganized imports.
7585         * javax/swing/JComponent.java: Likewise.
7586         (ui): Made protected.
7587         (listenerList): Made protected.
7588         (TOOL_TIP_TEXT_KEY): New constant.
7589         (scrollRectToVisible): Removed redundant null check.
7590         * javax/swing/JFrame.java: Reorganized imports.
7591         * javax/swing/JInternalFrame.java: Reorganized imports.
7592         * javax/swing/JProgressBar.java: Likewise.
7593         * javax/swing/JRootPane.java: Likewise.
7594         * javax/swing/JScrollBar.java: Likewise.
7595         * javax/swing/JSeparator.java: Likewise.
7596         * javax/swing/JSlider.java: Likewise.
7597         * javax/swing/JTabbedPane.java: Likewise.
7598         * javax/swing/JTextField.java: Likewise.
7599         * javax/swing/JToolBar.java: Likewise.
7600         * javax/swing/JTree.java: Likewise.
7601         * javax/swing/JViewport.java: Likewise.
7602         * javax/swing/JWindow.java: Likewise.
7603         * javax/swing/KeyStroke.java: Likewise.
7604         * javax/swing/LookAndFeel.java: Likewise.
7605         * javax/swing/MenuSelectionManager.java: Likewise.
7606         * javax/swing/SwingUtilities.java: Likewise.
7607         * javax/swing/Timer.java: Likewise.
7608         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
7609         * javax/swing/JList.java
7610         (HORIZONTAL_WRAP): Made final, fixed value.
7611         (VERTICAL): Likewise.
7612         (VERTICAL_WRAP): Likewise.
7614 2004-06-07  Michael Koch  <konqueror@gmx.de>
7616         * javax/swing/AbstractButton.java
7617         (serialVersionUID): New member variable.
7618         (AccessibleAbstractButton.serialVersionUID): Likewise.
7619         (AbstractButton): Made public.
7620         * javax/swing/Box.java
7621         (AccessibleBox.serialVersionUID): New member variable.
7622         (Filler.serialVersionUID): Likewise.
7623         * javax/swing/DefaultListSelectionModel.java
7624         (serialVersionUID): Likewise.
7625         * javax/swing/JApplet.java
7626         (serialVersionUID): Likewise.
7627         * javax/swing/JCheckBox.java
7628         (serialVersionUID): Likewise.
7629         * javax/swing/JCheckBoxMenuItem.java
7630         (serialVersionUID): Likewise.
7631         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
7632         * javax/swing/JColorChooser.java
7633         (serialVersionUID): Likewise.
7634         (AccessibleJColorChooser.serialVersionUID): Likewise.
7635         * javax/swing/JComponent.java
7636         (serialVersionUID): Made private.
7637         (AccessibleJComponent.serialVersionUID): New member variable.
7638         * javax/swing/JDesktopPane.java
7639         (serialVersionUID): Likewise.
7640         * javax/swing/JDialog.java
7641         (serialVersionUID): Likewise.
7642         * javax/swing/JFormattedTextField.java
7643         (serialVersionUID): Fixed value.
7644         * javax/swing/JFrame.java
7645         (serialVersionUID): New member variable.
7646         (getDefaultCloseOpertation): Made public.
7647         * javax/swing/JLayeredPane.java
7648         (serialVersionUID): Likewise.
7649         (LAYER_PROPERTY): Made final, fixed value.
7650         (JLayeredPane): Made public.
7651         * javax/swing/JMenu.java
7652         (AccessibleJMenu.serialVersionUID): New member variable.
7653         (WinListener.serialVersionUID): Likewise.
7654         * javax/swing/JMenuBar.java
7655         (serialVersionUID): Likewise.
7656         (getComponentAtIndex): Added @deprecated tag.
7657         * javax/swing/JMenuItem.java
7658         (serialVersionUID): New member variable.
7659         (AccessibleJMenuItem.serialVersionUID): Likewise.
7660         * javax/swing/JOptionPane.java
7661         (serialVersionUID): Likewise.
7662         (AccessibleJOptionPane.serialVersionUID): Likewise.
7663         * javax/swing/JPopupMenu.java
7664         (serialVersionUID): Likewise.
7665         (AccessibleJPopupMenu.serialVersionUID): Likewise.
7666         (getPopupMenuListeners): New method.
7667         (getComponentAtIndex): Added @deprecated tag.
7668         * javax/swing/JProgressBar.java
7669         (serialVersionUID): New member variable.
7670         (AccessibleJProgressBar.serialVersionUID): Likewise.
7671         * javax/swing/JRadioButton.java
7672         (serialVersionUID): Likewise.
7673         * javax/swing/JRadioButtonMenuItem.java
7674         (serialVersionUID): Likewise.
7675         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
7676         * javax/swing/JScrollBar.java
7677         (serialVersionUID): Likewise.
7678         (AccessibleJScrollBar.serialVersionUID): Likewise.
7679         * javax/swing/JSeparator.java
7680         (serialVersionUID): Likewise.
7681         (AccessibleJSeparator.serialVersionUID): Likewise.
7682         * javax/swing/JSlider.java: Fixed javadocs.
7683         (AccessibleJSlider.serialVersionUID): New member variable.
7684         * javax/swing/JSplitPane.java: Added copyright statement.
7685         (serialVersionUID): New member variable.
7686         (AccessibleJSplitPane.serialVersionUID): Likewise.
7687         * javax/swing/JTabbedPane.java
7688         (serialVersionUID): Likewise.
7689         (AccessibleJTabbedPane.serialVersionUID): Likewise.
7690         (ModelListener.serialVersionUID): Likewise.
7691         (ModelListener.ModelListener): New constructor.
7692         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
7693         (WRAP_TAB_LAYOUT): Likewise.
7694         * javax/swing/JTable.java
7695         (serialVersionUID): New member variable.
7696         * javax/swing/JToggleButton.java
7697         (serialVersionUID): Likewise.
7698         (ToggleButtonModel): Made static.
7699         (ToggleButtonModel.serialVersionUID): New member variable.
7700         * javax/swing/JToolTip.java
7701         (serialVersionUID): Likewise.
7702         * javax/swing/JTree.java
7703         (serialVersionUID): Likewise.
7704         * javax/swing/JWindow.java
7705         (serialVersionUID): Likewise.
7706         * javax/swing/Timer.java
7707         (serialVersionUID): Likewise.
7709 2004-06-06  Michael Koch  <konqueror@gmx.de>
7711         * javax/swing/SwingConstants.java
7712         (NEXT): New constant.
7713         (PREVIOUS): Likewise.
7714         * javax/swing/UIManager.java
7715         (LookAndFeel): Made public.
7716         (LookAndFeel.getClassName): Likewise.
7717         (LookAndFeel.getName): Likewise.
7719 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
7721         * javax/swing/JCheckBoxMenuItem.java:
7722         Removed CVS tags.
7723         * javax/swing/JMenu.java: Likewise.
7724         * javax/swing/JMenuBar.java: Likewise.
7725         * javax/swing/JMenuItem.java: Likewise.
7726         * javax/swing/JPopupMenu.java: Likewise.
7727         * javax/swing/JRadioButtonMenuItem.java: Likewise.
7728         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
7729         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
7730         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7731         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
7732         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
7733         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
7735 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
7736         
7737         * javax/swing/plaf/basic/BasicMenuUI.java:
7738         (MouseEntered): Do not call getPath() from MenuSelectionManager.
7739         Call getPath() from super class instead.
7741 2004-05-31  David Jee  <djee@redhat.com>
7743         * java/awt/Container.java
7744         (remove): Set component visibility to false after removing it.
7746 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
7748         * java/awt/Component.java (getForeground): Return SystemColor if
7749         parent is null.
7750         (getBackground): Likewise.
7752         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
7753         (item_highlighted): New function.
7754         (connectSignals): Set item_highlighted as list's select
7755         function.
7757         * java/applet/Applet.java: Revert changes from 2004-04-29,
7758         2004-03-15 and 2004-03-14.
7760         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
7761         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
7762         factor.
7764         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
7765         "Dialog" as the default font.
7766         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
7767         Likewise.
7768         * java/awt/Component.java (getFont): Return "Dialog" font by
7769         default.
7770         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
7771         Multiply size argument to pango_font_description_set_size by the
7772         DPI conversion factor rather than by PANGO_SCALE.
7773         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
7774         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
7775         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
7776         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
7777         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7778         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
7779         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
7780         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
7781         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
7782         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
7783         Divide baseline y coordinate by DPI conversion factor rather
7784         than by PANGO_SCALE.
7785         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
7786         (area_prepared): Fix typo.
7787         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
7788         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
7789         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
7790         (dpi_conversion_factor): New global variable.
7791         (init_dpi_conversion_factor): New function to calculate and
7792         track DPI conversion factor.
7793         (dpi_changed_cb): New callback.
7794         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
7796 2004-05-27  David Jee  <djee@redhat.com>
7798         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7799         (getGraphics): Return a new GdkGraphics instance.
7800         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
7801         (getGraphics): Call super.getGraphics().
7803 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
7805         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7806         (setNativeBounds): Clamp width and height values to >= 0.
7808         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7809         (find_fg_color_widget): Handle GtkOptionMenu specially.
7811         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7812         (pre_event_handler): Only post configure events to visible
7813         top-level windows.
7815 2004-05-26  David Jee  <djee@redhat.com>
7817         * java/awt/BorderLayout.java
7818         (layoutContainer): Fix size calculations.
7820 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
7822         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7823         (window_wm_protocols_filter): Remove function.
7824         (create): Remove filter that removes WM_TAKE_FOCUS client
7825         messages.
7827 2004-06-17  Anthony Green  <green@redhat.com>
7829         * java/util/zip/ZipFile.java (getInputStream): Return null if
7830         entry not found.
7832         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
7833         directory contents to the class path.
7835 2004-06-15  Andrew Haley  <aph@redhat.com>
7837         * java/lang/natSystem.cc (getenv0): Don't assume environment
7838         variable is Latin 1 coded.
7840 2004-06-14  Andreas Jaeger  <aj@suse.de>
7842         * configure.in: Support --enable-version-specific-runtime-libs.
7843         * configure: Regenerated.
7845 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
7847         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
7848         to pass ClassLoader argument.
7849         * java/util/GregorianCalendar.java: Likewise.
7850         * java/util/Currency.java: Likewise.
7851         * java/text/BreakIterator.java: Likewise.
7852         * java/text/Collator.java: Likewise.
7853         * java/text/DateFormat.java: Likewise.
7854         * java/text/DateFormatSymbols.java: Likewise.
7855         * java/text/DecimalFormatSymbols.java: Likewise.
7856         * java/text/NumberFormat.java: Likewise.
7857         * java/awt/Window.java: Likewise.
7859 2004-06-14  Andrew Haley  <aph@redhat.com>
7861         * java/lang/System.java: (getenv0): New method.
7862         (getenv): Add security check.  Do the right thing.
7863         * java/lang/natSystem.cc (getenv0): New method.
7865 2004-06-12  Mark Wielaard  <mark@klomp.org>
7867         * javax/swing/RepaintManager.java
7868         (paintDirtyRegions): Use entrySet(), not values().
7870 2004-06-10  Mark Wielaard  <mark@klomp.org>
7872         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
7873         NoSuchMethodError.
7875 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
7877         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
7878         when we already know the answer.
7879         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7880         (setStartRule,setEndRule): Don't take abs of day number.
7881         (getOffset): Clarify docs.  Add argument checks.
7882         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7883         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7884         endTimeMode.
7886 2004-06-10  Tom Tromey  <tromey@redhat.com>
7888         * interpret.cc (run): Handle wide fload.
7890 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
7892         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
7894 2004-06-05  Michael Koch  <konqueror@gmx.de>
7896         * javax/swing/SwingConstants.java
7897         (NEXT): New constant.
7898         (PREVIOUS): Likewise.
7900 2004-06-05  Michael Koch  <konqueror@gmx.de>
7902         * javax/swing/UIManager.java
7903         (LookAndFeel): Made public.
7904         (LookAndFeel.getName): Likewise.
7905         (LookAndFeel.getClassName): Likewise.
7907 2004-06-03  Michael Koch  <konqueror@gmx.de>
7909         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7910         (requestFocus): Revert last changes.
7911         (gtkRequestFocus): Removed.
7912         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7913         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
7914         Renamed to ...
7915         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
7916         Reverted last patch.
7917         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7918         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
7919         Reverted comment change.
7921 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
7923         * javax/swing/JCheckBoxMenuItem.java:
7924         Removed CVS tags.
7925         * javax/swing/JMenu.java: Likewise.
7926         * javax/swing/JMenuBar.java: Likewise.
7927         * javax/swing/JMenuItem.java: Likewise.
7928         * javax/swing/JPopupMenu.java: Likewise.
7929         * javax/swing/JRadioButtonMenuItem.java: Likewise.
7930         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
7931         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
7932         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7933         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
7934         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
7935         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
7937 2004-06-01  Tom Tromey  <tromey@redhat.com>
7939         * java/io/ObjectStreamField.java: Cleaned up imports.
7941 2004-06-01  Michael Koch  <konqueror@gmx.de>
7943         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
7944       
7945 2004-06-01  Mark Wielaard  <mark@klomp.org>
7947         * java/io/Writer.java (Writer(Object)): Fixed API doc.
7949 2004-06-01  Michael Koch  <konqueror@gmx.de>
7951         * java/security/Security.java
7952         (insertProviderAt): Use equals() instead of ==.
7953         (removeProvicer): Likewise.
7954         (getProvider): Likewise.
7955         * java/security/Signature.java
7956         (sign): Don't set state to UNINITIALIZED.
7957         (verify): Likewise.
7959 2004-06-01  Mark Wielaard  <mark@klomp.org>
7961         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
7962         Implement by calling gtkRequestFocus.
7963         (gtkRequestFocus): New native method.
7964         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7965         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
7966         Renamed to ...
7967         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
7968         New function name.
7969         (filter_expose_event_handler):
7970         Mark static.
7971         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7972         (menu_pos): Mark static.
7974 2004-06-01  Michael Koch  <konqueror@gmx.de>
7976         * java/text/CollationElementIterator.java,
7977         java/text/CollationKey.java,
7978         java/text/RuleBasedCollator.java: New versions from GNU classpath.
7979         * testsuite/libjava.mauve/xfails: Removed all
7980         java.text.CollationElementIterator tests.
7982 2004-06-01  Michael Koch  <konqueror@gmx.de>
7984         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
7985         version.
7986         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
7987         Java 1.5 keyword usage.
7989 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
7991         * javax/swing/plaf/basic/BasicMenuUI.java:
7992         (MouseEntered): Do not call getPath() from MenuSelectionManager.
7993         Call getPath() from super class instead.
7995 2004-05-31  Michael Koch  <konqueror@gmx.de>
7997         * java/io/SequenceInputStream.java:
7998         Rename enum to e because enum is a keyword in Java 1.5.
8000 2004-05-31  Michael Koch  <konqueror@gmx.de>
8002         * gnu/java/rmi/rmic/CompilerProcess.java:
8003         Fixed javadoc to by XHTML compliant.
8005 2004-05-30  Mark Wielaard  <mark@klomp.org>
8007         * java/awt/Toolkit.java (loadSystemColors): Implement.
8009 2004-05-30  Michael Koch  <konqueror@gmx.de>
8011         * java/lang/System.java: Reordered imports.
8013 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
8015         * java/text/DecimalFormat.java
8016         (parse): Fixed parsing of decimal strings. Number of maximum
8017         digits to be read should now work.
8018         * java/text/SimpleDateFormat.java
8019         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
8020         formatter. This fixes DateFormatTest.
8022 2004-05-30  Michael Koch  <konqueror@gmx.de>
8024         * java/nio/Buffer.java
8025         (limit): Fixed off by one error.
8026         * java/nio/CharBuffer.java
8027         (wrap): Fixed arguments, added javadocs.
8029 2004-05-30  Michael Koch  <konqueror@gmx.de>
8031         * gnu/java/beans/BeanInfoEmbryo.java,
8032         java/awt/im/InputContext.java,
8033         javax/swing/tree/DefaultMutableTreeNode.java:
8034         Rename enum to e because enum is a keyword in Java 1.5.
8036 2004-05-30  Michael Koch  <konqueror@gmx.de>
8038         * gnu/java/math/MPN.java,
8039         java/awt/geom/Arc2D.java:
8040         Fixed javadocs all over.
8042 2004-05-30  Michael Koch  <konqueror@gmx.de>
8044         * java/awt/DefaultKeyboardFocusManager.java
8045         (dispatchEvent): Call method to get key event dispatchers.
8046         (dispatchKeyEvent): Call method to get key event post processors.
8047         * javax/swing/JComponent.java
8048         (listenerList): Made protected.
8049         * javax/swing/JOptionPane.java
8050         (message): Don't initialize.
8051         (JOptionPane): Set message text.
8052         * javax/swing/JPopupMenu.java
8053         (show): Fixed typo in argument name.
8054         * javax/swing/RepaintManager.java
8055         (paintDirtyRegions): Use public API of java.util.Map.
8056         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8057         (positionForMouseEvent): Removed redundant ';'.
8058         (continueDrag): Use method arguments.
8060 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
8062         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
8063         results.
8065 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
8067         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
8068         _Jv_AllocBytes.
8069         * gnu/gcj/RawDataManaged.java: New file.
8070         * java/lang/Thread.java (data): Declare as RawDataManaged.
8071         * java/lang/natThread.cc (init_native): Cast natThread data to
8072         RawDataManaged, not jobject.
8073         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
8074         * Makefile.in: Rebuilt.
8076 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
8078         * java/util/SimpleTimeZone.java: Reverting my last change until I
8079         can fix it properly.
8081 2004-05-27  Michael Koch  <konqueror@gmx.de>
8083         * javax/swing/JPopupMenu.java
8084         (isVisible): Do not use visible directly.
8085         (setVisible): Likewise.
8086         * javax/swing/JWindow.java
8087         (JWindow): call accessible constructor.
8088         * javax/swing/RepaintManager.java
8089         (paintDirtyRegions): Use public methods to obtain iterator.
8091 2004-05-25  David Jee  <djee@redhat.com>
8093         * java/awt/Container.java
8094         (remove): Set component's parent to null only after we removed the
8095         component from its parent's layout manager.
8097 2004-05-25  David Jee  <djee@redhat.com>
8099         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8100         (GtkComponentPeer): Set bounds regardless of whether awtComponent
8101         is valid.
8102         * gnu/java/awt/peer/gtk/GtkListPeer.java
8103         (getSize): Change native method declaration.
8104         (minimumSize): Pass visible row count into getSize().
8105         (preferredSize): Likewise.
8106         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
8107         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
8108         natural size. Use visible row count to determine the final height
8109         value to return.
8111 2004-05-21  Graydon Hoare  <graydon@redhat.com>
8113         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
8114         (setClip): Minor correction to order of operations.
8116         * javax/swing/JScrollPane.java: Extend sketchy implementation.
8117         * javax/swing/ScrollPaneLayout.java: Likewise.
8118         * javax/swing/JViewPort.java: Likewise.
8119         * javax/swing/ViewportLayout.java: Likewise.
8121         * javax/swing/JComponent.java: Rewrite.
8122         * javax/swing/RepaintManager.java: Likewise.
8124         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
8125         * javax/swing/JList.java 
8126         (setSelectedIndices):
8127         (getSelectedIndices):
8128         (getSelectedValues): New functions.
8129         (getPreferredScrollableViewportSize): Return preferred size.
8130         (getScrollableUnitIncrement):
8131         (getScrollableBlockIncrement): Initial implementations.
8132         * javax/swing/JRootPane.java: Clean up slightly.
8133         (getUI):
8134         (setUI):
8135         (updateUI):
8136         (getUIClassID):
8137         (isValidateRoot): Add overrides from JComponent.
8138         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
8139         * javax/swing/UIManager.java (getDimension): Return the dimension.
8141         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
8142         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
8143         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
8144         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
8145         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
8146         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
8147         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
8148         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
8149         Likewise, and set background.
8150         * javax/swing/plaf/basic/BasicListUI.java: 
8151         Likewise, and improve a bit.
8152         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
8153         Likewise, and adjust calculations.
8154         * javax/swing/plaf/basic/BasicViewportUI.java:
8155         Likewise, and improve a bit.
8156         * javax/swing/plaf/basic/BasicLookAndFeel.java 
8157         (Button.margin): Shrink.
8159         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
8160         Hack to set horizontal always, workaround pango.
8162         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
8163         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8164         Synchronize more often, check cairo status after ops,
8165         handle changes to cairo pattern API, check for disposal.
8167 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
8169         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8170         (BasicMenuItemUI): Create propertyChangeListener.
8171         (getPath):Implemented.
8172         (installListeners): Add propertyChangeListener to menuItem.
8173         (uninstallListeners): Remove propertyChangeListener from menuItem.
8174         (update): Implemented.
8175         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
8176         (mouseEntered): Take insets of popup menu into account when
8177         calculating position of popup menu.     
8178         
8179 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
8181         * Makefile.am: Added new file. 
8182         * Makefile.in: Regenerate.
8183         * javax/swing/JMenuBar.java:
8184         Started implementation.
8185         * javax/swing/JPopupMenu.java:
8186         (setVisible): Fixed location of lightweight/mediumweight
8187         popup menu.
8188         (show): Fixed location of PopupMenu.
8189         * javax/swing/plaf/basic/BasicMenuBarUI.java:
8190         New file. UI Delegate for JMenuBar.
8191         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
8192         (mouseEntered): Corrected position of the submenu.
8194 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
8196         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
8197         to _gtk_accel_group_attach.
8198         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8199         Likewise.
8201         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
8202         package access.  Don't override setFont.
8203         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
8204         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
8205         gtkWidgetRequestFocus package access.
8206         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
8207         setFont.
8208         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
8209         Give gtkWidgetRequestFocus package access.
8210         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
8211         gtkWidgetRequestFocus package access.  Don't override setFont.
8212         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
8213         setFont.
8214         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
8215         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
8216         region.
8217         (gtkSetFont): Likewise.
8218         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
8219         Implement.
8220         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8221         (gtkSetFont): Whitespace fix.
8223         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8224         (gtkWidgetSetUsize): Remove method.
8226 2004-05-18  David Jee  <djee@redhat.com>
8228         * java/awt/image/MemoryImageSource.java
8229         (newPixels(int,int,int,int,boolean)): Set only the specified
8230         rectangle of pixels.
8231         (newPixels(byte[],ColorModel,int,int)): Implement.
8232         (newPixels(int[],ColorModel,int,int)): Implement.
8234 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
8236         * Makefile.am: Added new file.
8237         * Makefile.in: Regenerate.
8238         * javax/swing/JMenu.java: Started 
8239         implementation.
8240         * javax/swing/JPopupMenu.java:
8241         (insert): If specified index is -1, then
8242         add component at the end.
8243         (isPopupTrigger): Reimplemented.
8244         (JPopupMenu.LightWeightPopup): setBounds
8245         of the lightWeightPopup before adding it 
8246         to the layeredPane.
8247         (javax/swing/plaf/basic/BasicIconFactory.java):
8248         (getMenuArrowIcon): Implemented.
8249         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8250         (getPreferredSize): Add size of the arrow icon 
8251         if this menu item is instance of JMenu.
8252         (paintMenuItem): Paint arrow icon if this 
8253         menu item is a submenu.
8254         * javax/swing/plaf/basic/BasicMenuUI.java:
8255         New File. UI Delegate for JMenu.
8257 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
8259         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
8260         Post KEY_TYPED events.
8261         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8262         (generates_key_typed_event): Remove function.
8264 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
8266         * javax/swing/JRootPane.java
8267         (JRootPane.RootLayout): Reimplemented to 
8268         set bounds of contentPane and menuBar.
8269         (setJMenuBar): Add menu bar to the layered pane.
8270         (createLayeredPane): Set layout of layeredPane
8271         to null.
8272         * javax/swing/JLayeredPane.java:
8273         (addImpl): Calculate index of the component in the
8274         layeredPane according to the specified position within 
8275         the layer.      
8277 2004-05-17  David Jee  <djee@redhat.com>
8279         * gnu/java/awt/peer/gtk/GtkImagePainter.java
8280         (setPixels): Change color model to the default model after
8281         converting pixels.
8282         * java/awt/image/MemoryImageSource.java
8283         (newPixels): Set only the specified rectangle of pixels.
8285 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
8287         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
8288         -l-java-beans -l-javax-accessibility -l-javax-swing.
8290         * java/awt/AWTEvent.java (toString): Print source's name rather
8291         than the source itself.
8293 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
8295         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
8296         native.
8297         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
8298         (gdk_color_to_java_color): New function.
8299         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
8301 2004-05-12  David Jee  <djee@redhat.com>
8303         * java/awt/image/RGBImageFilter.java:
8304         Initialize origmodel as null.
8305         (makeColor): Fix pixel component order.
8306         (filterRGBPixels): Fix pixel iteration.
8307         (setPixels): Add extra checks for index color model. Convert pixels
8308         to default color model if necessary.
8309         (convertColorModelToDefault): New override method for byte pixels.
8310         (convertColorModelToDefault): For int pixels, fix pixel iteration.
8311         (makeColorbyDefaultCM): New override method for byte pixels.
8312         (makeColorbyDefaultCM): For int pixel, add color model as argument.
8313         (makeColor): Fix pixel component order.
8315 2004-05-11  Kim Ho  <kho@redhat.com>
8317         * javax/swing/Box.java:
8318         Comment out more parts of Box.Filler.
8320 2004-05-11  Kim Ho  <kho@redhat.com>
8322         * javax/swing/Box.java:
8323         Remove reference to AccessibleAWTComponent so
8324         it compiles again.
8326 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
8328         * gnu/java/awt/peer/gtk/GtkListPeer.java,
8329         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
8330         implementation of list peer to use GtkTreeView instead of
8331         deprecated GtkCList.
8333 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
8335         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8336         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
8337         (handleEvent): Remove keyChar argument to
8338         gtkWidgetDispatchKeyEvent calls.
8339         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
8340         compiler warnings.
8341         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
8342         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
8343         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8344         Likewise.
8346 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
8348         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8349         (gtkWidgetRequestFocus): Mark protected.
8350         (GtkComponentPeer): Only set the peer's bounds if its component
8351         is valid.
8352         * java/awt/Component.java (static): Set the default keyboard
8353         focus manager.
8354         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
8355         requestFocusInWindow(temporary)): Don't request focus if the
8356         component is not showing.  Get tree lock before traversing
8357         component hierarchy.
8358         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
8359         Only set the global focus owner if it is not a Window.
8360         (processKeyEvent): Consume keystrokes associated with the focus
8361         traversal keystroke.
8362         (focusPreviousComponent, focusNextComponent, upFocusCycle,
8363         downFocusCycle): Call requestFocusInWindow instead of
8364         requestFocus.
8365         * java/awt/EventDispatchThread.java (run): Move setting of
8366         default keyboard focus manager to Component.java.
8367         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8368         (awt_keycode_to_keysym): New function.
8369         (gtkWidgetDispatchKeyEvent): Finish implementation.
8370         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8371         (pre_event_handler): Add FIXME comment.
8373         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8374         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8375         (gtkWidgetRequestFocus): New method.
8376         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
8377         disable Tab and Shift-Tab keystrokes.
8378         (addNotify, appendText, insertText, replaceText): Simplify peer
8379         retrieval code.
8380         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
8381         (connectSignals): Remove connections to "commit" signals.
8382         Remove C++-style comments.
8384         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8385         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
8386         (handleEvent): Activate GTK button when the space bar key is
8387         pressed.
8388         (gtkActivate): New method.
8390 2004-05-06  David Jee  <djee@redhat.com>
8392         * java/awt/image/CropImageFilter.java
8393         (setPixels): Implement for byte array pixels.
8394         * java/awt/image/ReplicateScaleFilter.java
8395         (setPixels): Implement for byte array pixels.
8396         (replicatePixels): Overload for byte array pixels.
8398 2004-05-06  Kim Ho  <kho@redhat.com>
8400         * javax/swing/Box.java:
8401         (getAccessibleContext): Return an instance of the 
8402         correct class.
8404 2004-05-05  David Jee  <djee@redhat.com>
8406         * gnu/java/awt/peer/gtk/GdkGraphics.java
8407         (drawImage): When component is null, use SystemColor.window as
8408         the default bgcolor.
8409         * gnu/java/awt/peer/gtk/GtkImage.java
8410         (setPixels): We can avoid iterating through the pixel rows only
8411         when height is 1.
8412         * java/awt/Image.java
8413         (getScaledInstance): Partially implement.
8414         * java/awt/image/CropImageFilter.java
8415         (setProperties): Fix "filter" property.
8416         (setPixels): Implement.
8417         * java/awt/image/ReplicateScaleFilter.java
8418         (setDimensions): Use scaled dimensions.
8419         (setPixels): Implement.
8420         (replicatePixels): New method.
8422 2004-05-05  David Jee  <djee@redhat.com>
8424         * gnu/java/awt/peer/gtk/GtkImagePainter.java
8425         (convertPixels): If either pixels or model is null, return null.
8426         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
8427         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
8428         is null, do nothing and return.
8430 2004-05-03  Kim Ho  <kho@redhat.com>
8432         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
8433         (getGraphics): Like GtkFramePeer, the Graphics
8434         object needs to be translate to account for
8435         window decorations.
8436         (postMouseEvent): New method. Account for
8437         translation.
8438         (postExposeEvent): ditto.
8439         * javax/swing/Box.java: Stubbed.
8440         * javax/swing/JDialog.java: Ran through jalopy
8441         to fix indentation.
8442         (JDialog): Call SwingUtilities' getOwnerFrame
8443         for null owners.
8444         (setLayout): Check isRootPaneCheckingEnabled
8445         * javax/swing/JOptionPane.java: Re-implemented.
8446         * javax/swing/SwingUtilities.java:
8447         (getOwnerFrame): Static method to grab a default
8448         owner frame for Dialogs that don't specify owners.
8449         * javax/swing/event/SwingPropertyChangeSupport.java:
8450         (firePropertyChange): Fix early exit condition.
8451         * javax/swing/plaf/basic/BasicLabelUI.java:
8452         (paint): Avoid painting text if it is null 
8453         or empty.
8454         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
8455         Implement.
8457 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
8459         * Makefile.am: Added new file.
8460         * Makefile.in: Regenerate.
8461         * javax/swing/JPopupMenu.java:
8462         Started implementation.
8463         * javax/swing/JWindow.java
8464         (JWindow): call super() if parent for window
8465         is not specified.
8466         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8467         New File. UI Delegate for JPopupMenu.
8469 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
8471         * javax/swing/JApplet.java: Indicated that JApplet
8472         implements RootPaneContainer and made method of this
8473         interface public. 
8474         * javax/swing/JFrame.java: Ditto.
8475         * javax/swing/JWindow.java: Ditto.
8476         
8477 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
8479         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8480         (nativeSetBounds): Call gdk_window_move in addition to
8481         gtk_window_move.
8483         * java/applet/Applet.java (preferredSize): Call parent's
8484         preferredSize if the applet stub is null.
8485         (minimumSize): Likewise for parent's minimumSize.
8487 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
8489         * javax/swing/JMenuItem.java
8490         (createActionPropertyChangeListener): Implemented.
8491         (processMouseEvent): Ditto.
8492         (fireMenuDragMouseEntered): Ditto.
8493         (fireMenuDragMouseExited): Ditto.
8494         (fireMenuDragMouseDragged): Ditto.
8495         (fireMenuDragMouseReleased): Ditto.
8496         (menuSelectionChanged): Ditto.
8497         (getSubElements): Ditto.
8498         (getComponent): Ditto.
8499         (addMenuDragMouseListener): Ditto.
8500         (removeMenuDragMouseListener):Ditto.
8501         (addMenuKeyListener): Ditto.
8502         (removeMenuKeyListener): Ditto.
8503         * javax/swing/plaf/basic/BasicMenuItemUI.java
8504         (doClick): Imlemented.
8505         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
8506         Don't handle mouse events here. Pass them to 
8507         MenuSelectionManager.
8508         
8509 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
8510         Used correct version of jalopy configuration
8511         file to fix style in the files below.
8513 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
8515         * javax/swing/JCheckBoxMenuItem.java: 
8516         Fixed style and removed unnecessary comments.
8517         * javax/swing/JMenuItem.java: Ditto.
8518         * javax/swing/JRadioButtonMenuItem.java: Ditto.
8519         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
8520         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
8521         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
8523 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
8525         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
8526         C-style.
8528         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
8530         * java/awt/ContainerOrderFocusTraversalPolicy.java
8531         (getComponentAfter): Start from current component and work up
8532         the component hierarchy until an acceptable component is found.
8533         Synchronize on tree lock.
8534         (getComponentBefore): Likewise.
8536 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
8538         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
8539         focus-related debugging messages.
8540         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
8541         * java/awt/EventDispatchThread.java: Likewise.
8542         * java/awt/KeyboardFocusManager.java: Likewise.
8543         * java/awt/Window.java: Likewise.
8544         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
8545         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
8547         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
8548         new C++-style comments to C-style comments.
8549         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
8551         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8552         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8553         (handleEvent): Dispatch key press and key release events to
8554         backing widget.
8555         (requestFocus): Post a FOCUS_GAINED event to the event queue.
8556         (gtkWidgetRequestFocus): New method.
8557         (gtkWidgetDispatchKeyEvent): Likewise.
8558         * java/awt/Component.java (requestFocus, requestFocus(boolean),
8559         requestFocusInWindow, requestFocusInWindow(boolean),
8560         getFocusCycleRootAncestor, nextFocus, transferFocus,
8561         transferFocusBackward, transferFocusUpCycle, hasFocus,
8562         isFocusOwner): Implement and document focus-handling methods.
8563         (setFocusTraversalKeys): Inherit focus traversal keys when
8564         keystrokes argument is null.  Fix focus-handling documentation
8565         throughout class.
8566         * java/awt/Container.java (setFocusTraversalKeys,
8567         getFocusTraversalKeys, areFocusTraversalKeysSet,
8568         isFocusCycleRoot, setFocusTraversalPolicy,
8569         getFocusTraversalPolicy, isFocusTraversalPolicySet,
8570         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
8571         Implement and document focus-handling methods.
8572         (transferFocusBackward): Remove method.
8573         (readObject, writeObject): Implement and document serialization
8574         methods.
8575         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
8576         and document.
8577         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
8578         document.
8579         * java/awt/DefaultKeyboardFocusManager.java: Implement and
8580         partially document.
8581         * java/awt/EventDispatchThread.java (run): Set default keyboard
8582         focus manager.  Attempt to dispatch each event to the keyboard
8583         focus manager before normal dispatch.
8584         * java/awt/KeyboardFocusManager.java: Implement and partially
8585         document.
8586         * java/awt/Window.java (Window): Set focusCycleRoot to true.
8587         (show): Focus initial component when window is shown for the
8588         first time.
8589         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8590         (pre_event_handler): Replace complex key press and key release
8591         logic with simple callbacks into GtkComponentPeer.
8592         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
8594 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
8596         * javax/swing/MenuSelectionManager.java
8597         (componentForPoint): Added new method. 
8598         (defaultManager): New Method. Implemented.
8599         (getSelectedPath): Ditto.
8600         (isComponentPartOfCurrentMenu): Ditto.
8601         (processKeyEvent): Added new method.
8602         (processMouseEvent): New Method. Implemented.
8603         (setSelectedPath): Ditto.
8604         (getPath): Ditto.
8606 2004-04-19  Kim Ho  <kho@redhat.com>
8608         * java/awt/Container.java: 
8609         (remove): Set the component's parent to null.
8610         (getComponentAt): Implement.
8611         * javax/swing/JComponent.java:
8612         (JComponent): Initialize defaultLocale
8613         (getDefaultLocale): Implement.
8614         (setDefaultLocale): ditto.
8615         * javax/swing/JSlider.java:
8616         (JSlider): Fix calculation of value.
8617         * javax/swing/JSplitPane.java: Implement.
8618         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8619         Change SplitPane's default divider size.
8620         * javax/swing/plaf/basic/BasicScrollBarUI.java:
8621         (paint): Remove unused code.
8622         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
8623         Added comments and ran through jalopy.
8624         (setBasicSplitPaneUI): Get reference to hidden divider
8625         and set up one touch buttons if necessary.
8626         (setBorder): Fire propertyChangeEvent only if 
8627         borders are different.
8628         (getPreferredSize): Defer to layout manager.
8629         (propertyChange): Implement.
8630         (oneTouchExpandableChanged): ditto.
8631         (createLeftOneTouchButton): Use BasicArrowButton.
8632         (createRightOneTouchButton): ditto.
8633         (moveDividerTo): New method. Moves the divider
8634         to a set location based on the last divider location.
8635         (BasicSplitPaneDivider::MouseHandler): Implement.
8636         (BasicSplitPaneDivider::OneTouchButton): Removed.
8637         (BasicSplitPaneDivider::DragController): Implement.
8638         (BasicSplitPaneDivider::VerticalDragController):
8639         ditto.
8640         (BasicSplitPaneDivider::DividerLayout): ditto.
8641         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
8642         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8643         (calculateLayoutInfo): Don't show component if it's
8644         null.
8645         (paintTab): Fix title paint logic.
8647 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
8649         PR libgcj/8321
8650         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
8651         (setStartRule,setEndRule): Don't take abs of day number.
8652         (getOffset): Clarify docs.  Add argument checks.
8653         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
8654         (equals,hasSameRules,toString,readObject): Use startTimeMode and
8655         endTimeMode.
8656         * testsuite/libjava.mauve/xfails
8657         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
8659 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
8661         Layout interfaces during preparation, not initialization. 
8662         * java/lang/natClass.cc (initializeClass): Move 
8663         _Jv_LayoutInterfaceMethods call...
8664         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
8666 2004-05-19  Anthony Green  <green@localhost.localdomain>
8668         * Makefile.am (awt_java_source_files): Remove javax.rmi and
8669         gnu.javax.rmi code.
8670         * Makefile.in: Rebuilt.
8671         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
8672         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
8673         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
8674         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
8675         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
8676         gnu/javax/rmi/CORBA/DelegateFactory.java,
8677         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
8678         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
8679         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
8680         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
8681         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
8682         gnu/javax/rmi/PortableServer.java: Remove files.
8684 2004-05-19  Anthony Green  <green@redhat.com>
8686         * Makefile.am: Define JAVA_EXT_DIRS.
8687         * Makefile.in: Rebuilt.
8688         * java/lang/natRuntime.cc (insertSystemProperties): Set
8689         java.ext.dirs property.
8691 2004-05-16  Mark Wielaard  <mark@klomp.org>
8693         * java/io/Writer.java (Writer(Object)): Check for null lock object.
8695 2004-05-15  Mark Wielaard  <mark@klomp.org>
8697         * doc/cni.sgml: Removed, merged into gcj.texi.
8699 2004-05-15  Mark Wielaard  <mark@klomp.org>
8701         * Makefile.am (ordinary_java_source_files): Add new javax.print
8702         classes.
8703         * Makefile.in: Regenerated.
8705 2004-05-15  Michael Koch  <konqueror@gmx.de>
8707         * javax/print/attribute/standard/DateTimeAtCompleted.java,
8708         javax/print/attribute/standard/DateTimeAtCreation.java,
8709         javax/print/attribute/standard/DateTimeAtProcessing.java,
8710         javax/print/attribute/standard/DocumentName.java,
8711         javax/print/attribute/standard/JobHoldUntil.java,
8712         javax/print/attribute/standard/JobImpressionsCompleted.java,
8713         javax/print/attribute/standard/JobMessageFromOperator.java,
8714         javax/print/attribute/standard/JobName.java,
8715         javax/print/attribute/standard/JobOriginatingUserName.java,
8716         javax/print/attribute/standard/JobPriority.java,
8717         javax/print/attribute/standard/JobPrioritySupported.java,
8718         javax/print/attribute/standard/NumberOfInterveningJobs.java,
8719         javax/print/attribute/standard/OutputDeviceAssigned.java,
8720         javax/print/attribute/standard/PrinterInfo.java,
8721         javax/print/attribute/standard/PrinterLocation.java,
8722         javax/print/attribute/standard/PrinterMakeAndModel.java,
8723         javax/print/attribute/standard/PrinterMessageFromOperator.java,
8724         javax/print/attribute/standard/PrinterName.java,
8725         javax/print/attribute/standard/QueuedJobCount.java,
8726         javax/print/attribute/standard/RequestingUserName.java:
8727         Fixed javadocs all over.
8729 2004-05-15  Michael Koch  <konqueror@gmx.de>
8731         * javax/print/DocFlavor.java,
8732         javax/print/attribute/standard/ColorSupported.java,
8733         javax/print/attribute/standard/Compression.java,
8734         javax/print/attribute/standard/CopiesSupported.java,
8735         javax/print/attribute/standard/Fidelity.java,
8736         javax/print/attribute/standard/Finishings.java,
8737         javax/print/attribute/standard/JobImpressionsSupported.java,
8738         javax/print/attribute/standard/JobKOctetsSupported.java,
8739         javax/print/attribute/standard/JobMediaSheetsSupported.java,
8740         javax/print/attribute/standard/JobSheets.java,
8741         javax/print/attribute/standard/JobState.java,
8742         javax/print/attribute/standard/JobStateReason.java,
8743         javax/print/attribute/standard/JobStateReasons.java,
8744         javax/print/attribute/standard/Media.java,
8745         javax/print/attribute/standard/MediaSizeName.java,
8746         javax/print/attribute/standard/MultipleDocumentHandling.java,
8747         javax/print/attribute/standard/NumberUpSupported.java,
8748         javax/print/attribute/standard/OrientationRequested.java,
8749         javax/print/attribute/standard/PDLOverrideSupported.java,
8750         javax/print/attribute/standard/PageRanges.java,
8751         javax/print/attribute/standard/PresentationDirection.java,
8752         javax/print/attribute/standard/PrintQuality.java,
8753         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
8754         javax/print/attribute/standard/PrinterMoreInfo.java,
8755         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
8756         javax/print/attribute/standard/PrinterResolution.java,
8757         javax/print/attribute/standard/PrinterState.java,
8758         javax/print/attribute/standard/PrinterStateReason.java,
8759         javax/print/attribute/standard/PrinterStateReasons.java,
8760         javax/print/attribute/standard/PrinterURI.java,
8761         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
8762         javax/print/attribute/standard/Severity.java,
8763         javax/print/attribute/standard/SheetCollate.java,
8764         javax/print/attribute/standard/Sides.java:
8765         Added serialVersionUID and removed final keyword where it doenst
8766         belong.
8768 2004-05-15  Michael Koch  <konqueror@gmx.de>
8770         * javax/print/PrintServiceLookup.java: New file.
8772 2004-05-15  Michael Koch  <konqueror@gmx.de>
8774         * javax/print/DocFlavor.java:
8775         Implemented all flavor classes.
8777 2004-05-15  Michael Koch  <konqueror@gmx.de>
8779         * javax/print/attribute/standard/ColorSupported.java,
8780         javax/print/attribute/standard/Compression.java,
8781         javax/print/attribute/standard/CopiesSupported.java,
8782         javax/print/attribute/standard/Fidelity.java,
8783         javax/print/attribute/standard/Finishings.java,
8784         javax/print/attribute/standard/JobImpressionsSupported.java,
8785         javax/print/attribute/standard/JobKOctetsSupported.java,
8786         javax/print/attribute/standard/JobMediaSheetsSupported.java,
8787         javax/print/attribute/standard/JobSheets.java,
8788         javax/print/attribute/standard/JobState.java,
8789         javax/print/attribute/standard/JobStateReason.java,
8790         javax/print/attribute/standard/JobStateReasons.java,
8791         javax/print/attribute/standard/Media.java,
8792         javax/print/attribute/standard/MediaSizeName.java,
8793         javax/print/attribute/standard/MultipleDocumentHandling.java,
8794         javax/print/attribute/standard/NumberUpSupported.java,
8795         javax/print/attribute/standard/OrientationRequested.java,
8796         javax/print/attribute/standard/PDLOverrideSupported.java,
8797         javax/print/attribute/standard/PageRanges.java,
8798         javax/print/attribute/standard/PresentationDirection.java,
8799         javax/print/attribute/standard/PrintQuality.java,
8800         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
8801         javax/print/attribute/standard/PrinterMoreInfo.java,
8802         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
8803         javax/print/attribute/standard/PrinterResolution.java,
8804         javax/print/attribute/standard/PrinterState.java,
8805         javax/print/attribute/standard/PrinterStateReason.java,
8806         javax/print/attribute/standard/PrinterStateReasons.java,
8807         javax/print/attribute/standard/PrinterURI.java,
8808         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
8809         javax/print/attribute/standard/Severity.java,
8810         javax/print/attribute/standard/SheetCollate.java,
8811         javax/print/attribute/standard/Sides.java: New files.
8813 2004-05-15  Michael Koch  <konqueror@gmx.de>
8815         * javax/print/Doc.java
8816         (getPrintData): Throws IOException.
8817         (getReaderForText): Likewise.
8818         (getStreamForBytes): Likewise.
8819         * javax/print/DocFlavor.java:
8820         Fixed filename in copyright.
8821         (serialVersionUID): New field.
8822         * javax/print/ServiceUIFactory.java:
8823         Made all constants final.
8824         * javax/print/AttributeException.java
8825         javax/print/MultiDoc.java
8826         javax/print/MultiDocPrintJob.java
8827         javax/print/MultiDocPrintService.java
8828         javax/print/StreamPrintService.java
8829         javax/print/URIException.java: New files.
8830         * javax/print/Makefile.am
8831         (EXTRA_DIST): Added all new files.
8833 2004-05-15  Michael Koch  <konqueror@gmx.de>
8835         * javax/print/attribute/standard/Copies.java,
8836         javax/print/attribute/standard/DateTimeAtCompleted.java,
8837         javax/print/attribute/standard/DateTimeAtCreation.java,
8838         javax/print/attribute/standard/DateTimeAtProcessing.java,
8839         javax/print/attribute/standard/DocumentName.java,
8840         javax/print/attribute/standard/JobHoldUntil.java,
8841         javax/print/attribute/standard/JobImpressions.java,
8842         javax/print/attribute/standard/JobImpressionsCompleted.java,
8843         javax/print/attribute/standard/JobKOctets.java,
8844         javax/print/attribute/standard/JobKOctetsProcessed.java,
8845         javax/print/attribute/standard/JobMediaSheets.java,
8846         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
8847         javax/print/attribute/standard/JobMessageFromOperator.java,
8848         javax/print/attribute/standard/JobName.java,
8849         javax/print/attribute/standard/JobOriginatingUserName.java,
8850         javax/print/attribute/standard/JobPriority.java,
8851         javax/print/attribute/standard/JobPrioritySupported.java,
8852         javax/print/attribute/standard/NumberOfDocuments.java,
8853         javax/print/attribute/standard/NumberOfInterveningJobs.java,
8854         javax/print/attribute/standard/NumberUp.java,
8855         javax/print/attribute/standard/OutputDeviceAssigned.java,
8856         javax/print/attribute/standard/PagesPerMinute.java,
8857         javax/print/attribute/standard/PagesPerMinuteColor.java:
8858         Fixed @return tag all over.
8860 2004-05-15  Michael Koch  <konqueror@gmx.de>
8862         * javax/print/attribute/AttributeSetUtilities.java
8863         (verifyCategoryForValue): Fixed typo in javadoc.
8864         * javax/print/attribute/HashAttributeSet.java
8865         (containsKey): Fixed @return tag.
8866         (comtainsValue): Likewise.
8867         (equals): Likewise.
8868         * javax/print/attribute/IntegerSyntax.java
8869         (equals): Likewise.
8870         * javax/print/attribute/ResolutionSyntax.java
8871         (equals): Likewise.
8872         (getCrossFeedResolution): Removed unused code.
8873         (getFeedResolution): Likewise.
8874         * javax/print/attribute/SetOfIntegerSyntax.java
8875         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8876         (equals): Fixed @return tag.
8877         * javax/print/attribute/TextSyntax.java
8878         (TextSyntax): Take locale into account.
8879         (hashCode): Better implementation.
8881 2004-05-15  Michael Koch  <konqueror@gmx.de>
8883         * javax/print/CancelablePrintJob.java,
8884         javax/print/Doc.java,
8885         javax/print/DocFlavor.java,
8886         javax/print/DocPrintJob.java,
8887         javax/print/FlavorException.java,
8888         javax/print/PrintException.java,
8889         javax/print/PrintService.java,
8890         javax/print/ServiceUIFactory.java: New files.
8892 2004-05-15  Mark Wielaard  <mark@klomp.org>
8894         * gnu/regexp/CharIndexedReader.java: Removed.
8895         * gnu/regexp/REFilterReader.java: Likewise.
8896         * gnu/regexp/RETokenLookAhead.java: Likewise.
8897         * Makefile.am (ordinary_java_source_files): Remove above classes.
8898         * Makefile.in: Regenerated.
8900 2004-05-14  Tom Tromey  <tromey@redhat.com>
8902         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
8903         not `XGraphicsConfiguration.XOffScreenImage'.
8905 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
8907         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
8909 2004-05-14  Steven Augart  <augart@watson.ibm.com>
8911         * include/jni.h (_Jv_func): Removed.
8912         (struct JNINativeInterface): Use `void *' for reserved slots.
8913         (struct JNIInvokeInterface): Likewise.
8915 2004-05-11  Michael Koch  <konqueror@gmx.de>
8917         * gnu/java/net/natPlainSocketImplPosix.cc
8918         (read): Fixed typo in expression.
8920 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
8922         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
8923         ld_library_additions. Adjust all calls to libjava_invoke to match
8924         the new argument.
8926         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
8927         path to cxxflagslist.
8928         Pass path of libstdc++ to libjava_invoke.
8930         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
8931         libjava_invoke arguments.
8933 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
8935         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
8936         reality.
8938 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
8940         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
8941         main binary against the JNI shared library.
8943 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
8945         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
8946         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
8947         (SimpleTimeZone): Tweak docs.  Add new variation.
8948         (setStartRule,setEndRule): Add new variations.  Use
8949         startTimeMode and endTimeMode.
8951 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
8953         * java/util/Calendar.java (getActualMinimum,
8954         getActualMaximum):  Remove abstract.  Implement.
8956 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
8958         Run the jni tests using the interpreter.
8959         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
8960         options_cxx to shared lib compile command.
8961         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
8962         they are used to link the shared lib, not the main binary.
8963         Use libjava_invoke to run gij.
8965 2004-05-06  Michael Koch  <konqueror@gmx.de>
8967         * java/util/logging/Level.java
8968         (parse): Use == instead of String.equals().
8970 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
8972         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
8973         verify_field_signature and verify_method_signature, not 
8974         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
8975         (_Jv_ClassReader::handleField): Likewise.
8976         (_Jv_ClassReader::handleMethod): Likewise.
8978 2004-05-06  Michael Koch  <konqueror@gmx.de>
8980         * javax/swing/table/TableColumn.java:
8981         Reformated.
8983 2004-05-06  Michael Koch  <konqueror@gmx.de>
8985         * javax/imageio/spi/ImageReaderWriterSpi.java
8986         (ImageReaderWriterSpi): Made it public.
8987         * javax/imageio/stream/ImageInputStream.java:
8988         Clean up imports.
8990 2004-05-06  Michael Koch  <konqueror@gmx.de>
8992         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8993         Removed empty line.
8995 2004-05-06  Michael Koch  <konqueror@gmx.de>
8997         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
8998         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
8999         New files.
9000         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
9001         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
9002         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
9003         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
9004         their own source file.
9005         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9006         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
9007         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
9008         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
9009         (create): Define variable on top of function.
9010         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
9011         (menu_pos): Prototyped.
9012         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9013         (setTitle): Removed.
9014         * jni/gtk-peer/gthread-jni.c
9015         (gdk_threads_wake): Removed.
9016         * Makefile.am (gtk_c_source_files): Added new files
9017         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
9018         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
9019         * Makefile.in: Regenerated.
9021 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
9023         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
9024         call.
9026 2004-05-05  Mark Wielaard  <mark@klomp.org>
9028         * javax/swing/AbstractButton.java: Replace special HTML entities with
9029         ASCII equivalent.
9030         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
9031         * javax/swing/DefaultButtonModel.java: Likewise.
9032         * javax/swing/DefaultListModel.java: Likewise.
9033         * javax/swing/JList.java: Likewise.
9034         * javax/swing/JSlider.java: Likewise.
9035         * javax/swing/ListModel.java: Likewise.
9036         * javax/swing/Popup.java: Likewise.
9037         * javax/swing/SwingUtilities.java: Likewise.
9039 2004-05-05  Michael Koch  <konqueror@gmx.de>
9041         * javax/swing/AbstractButton.java,
9042         javax/swing/ActionMap.java,
9043         javax/swing/DefaultButtonModel.java,
9044         javax/swing/DefaultListModel.java,
9045         javax/swing/ImageIcon.java,
9046         javax/swing/JComboBox.java,
9047         javax/swing/JComponent.java,
9048         javax/swing/JFrame.java,
9049         javax/swing/JInternalFrame.java,
9050         javax/swing/JMenuBar.java,
9051         javax/swing/JMenuItem.java,
9052         javax/swing/JOptionPane.java,
9053         javax/swing/JProgressBar.java,
9054         javax/swing/JRootPane.java,
9055         javax/swing/JScrollBar.java,
9056         javax/swing/JScrollPane.java,
9057         javax/swing/JSeparator.java,
9058         javax/swing/JSlider.java,
9059         javax/swing/JTabbedPane.java,
9060         javax/swing/JTable.java,
9061         javax/swing/JTextField.java,
9062         javax/swing/JToolBar.java,
9063         javax/swing/JToolTip.java,
9064         javax/swing/JTree.java,
9065         javax/swing/JViewport.java,
9066         javax/swing/JWindow.java,
9067         javax/swing/KeyStroke.java,
9068         javax/swing/LookAndFeel.java,
9069         javax/swing/SwingUtilities.java,
9070         javax/swing/Timer.java,
9071         javax/swing/ToolTipManager.java,
9072         javax/swing/UIDefaults.java,
9073         javax/swing/border/TitledBorder.java,
9074         javax/swing/filechooser/FileSystemView.java,
9075         javax/swing/plaf/basic/BasicButtonListener.java,
9076         javax/swing/plaf/basic/BasicButtonUI.java,
9077         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
9078         javax/swing/plaf/basic/BasicGraphicsUtils.java,
9079         javax/swing/plaf/basic/BasicLabelUI.java,
9080         javax/swing/plaf/basic/BasicMenuItemUI.java,
9081         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
9082         javax/swing/plaf/basic/BasicRootPaneUI.java,
9083         javax/swing/plaf/basic/BasicScrollBarUI.java,
9084         javax/swing/plaf/basic/BasicScrollPaneUI.java,
9085         javax/swing/plaf/basic/BasicSliderUI.java,
9086         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9087         javax/swing/plaf/basic/BasicToggleButtonUI.java,
9088         javax/swing/table/JTableHeader.java,
9089         javax/swing/text/AbstractDocument.java,
9090         javax/swing/text/DefaultCaret.java,
9091         javax/swing/text/StyledEditorKit.java,
9092         javax/swing/tree/DefaultTreeCellEditor.java:
9093         Cleaned up imports.
9095 2004-05-05  Michael Koch  <konqueror@gmx.de>
9097         * java/util/prefs/AbstractPreferences.java
9098         (AbstractPreferences): Added parenthesis for clarity.
9099         Closes classpath bug #7940.
9101 2004-05-05  Tom Tromey  <tromey@redhat.com>
9103         * javax/naming/CompoundName.java (endsWith): Look at correct
9104         element of source name.
9106 2004-05-05  Mark Wielaard  <mark@klomp.org>
9108         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
9109         * java/util/HashMap.java (rehash): Add entry at start of bucket.
9111 2004-05-05  Tom Tromey  <tromey@redhat.com>
9113         * java/io/BufferedReader.java (skip): Removed unused
9114         variable.
9116 2004-05-05  Michael Koch  <konqueror@gmx.de>
9118         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
9120 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
9122         * java/text/AttributedString.java,
9123         java/text/AttributedStringIterator.java,
9124         java/text/Collator.java,
9125         java/text/DecimalFormatSymbols.java,
9126         java/text/NumberFormat.java,
9127         java/text/RuleBasedCollator.java:
9128         Cleaned up imports.
9130 2004-05-05  Tom Tromey  <tromey@redhat.com>
9132         * java/text/Format.java: Cleaned up imports.
9133         * java/text/DecimalFormat.java: Cleaned up imports.
9134         * java/security/SecureRandom.java: Cleaned up imports.
9135         (SecureRandom): Removed unused variable.
9136         * java/security/UnresolvedPermission.java: Cleaned up imports.
9137         * java/util/Date.java (parse): Removed unused variable.
9138         * java/util/ResourceBundle.java: Cleaned up imports.
9139         (getBundle): Removed unused variable.
9140         (tryBundle): Likewise.
9141         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
9143 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
9145         * java/text/SimpleDateFormat.java:
9146         (formatWithAttribute): New method. It implements
9147         the formatting process with attributes.
9148         (format): Use formatWithAttribute.
9149         (formatToCharacterIterator): New method. Use
9150         formatWithAttribute.
9152 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
9154         * java/text/MessageFormat.java:
9155         (class Field): New class.
9156         (formatToCharacterIterator): New method.
9157         (format): Use formatInternal now.
9158         (formatInternal): New method. String formatter should
9159         be done here (with attributes). Attributes merging supported.
9160         (parse): More documentation.
9161         (getFormatsByArgumentIndex): New method.
9162         (setFormatByArgumentIndex): New method.
9163         (setFormatsByArgumentIndex): New method.
9165 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
9167         * java/text/DecimalFormat.java
9168         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
9169         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
9170         (parse): Fixed handling of exponentiation notation and grouping.
9172 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
9174         * java/text/DecimalFormat.java
9175         (scanFix): Build attribute array. Fixed error reporting.
9176         (applyPatternWithSymbols): Store attributes for the prefix and
9177         suffix.
9178         (formatInternal): New method. Changed the way the string is
9179         computed. Implemented attributes. Cleant up rounding in
9180         exponential notation.
9181         (format): Use formatInternal.
9182         (formatToCharacterIterator): New method.
9183         (exponentRound, negativePrefixRanges, positivePrefixRanges,
9184         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
9185         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
9186         New fields.
9188 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
9190         * java/security/interfaces/DSAKeyPairGenerator.java,
9191         java/security/interfaces/DSAPrivateKey.java,
9192         java/security/interfaces/DSAPublicKey.java,
9193         java/security/interfaces/RSAPrivateKey.java,
9194         java/security/interfaces/RSAPublicKey.java:
9195         Cleaned up imports.
9197 2004-05-04  Michael Koch  <konqueror@gmx.de>
9199         * java/nio/ByteBuffer.java,
9200         java/nio/CharBuffer.java,
9201         java/nio/DoubleBuffer.java,
9202         java/nio/FloatBuffer.java,
9203         java/nio/IntBuffer.java,
9204         java/nio/LongBuffer.java,
9205         java/nio/ShortBuffer.java:
9206         (compareTo): Fixed bogus implementation in all buffer classes.
9208 2004-05-04  Ingo Proetel  <proetel@aicas.com>
9210         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
9211         32 bit pixels not 8 bit pixels.
9212         (isCompatibleRaster): Added javadoc comment.
9214 2004-05-04  Ingo Proetel  <proetel@aicas.com>
9216         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
9217         scanline stride.
9219 2004-05-04  Ingo Proetel  <proetel@aicas.com>
9221         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
9222         (getColorModel): Return the actual color model.
9223         (getRaster): Implemented.
9224         (ColorRaster): New inner class.
9225         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
9226         a PaintContext.
9227         * java/awt/Color.java (<init>): Make exception more verbose.
9228         (createContext): Use ColorModel when creating a PaintContext.
9230 2004-05-04  Michael Koch  <konqueror@gmx.de>
9232         * gnu/java/text/CharacterBreakIterator.java
9233         (previous): Removed unused variable.
9235 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
9237         * gnu/java/text/FormatBuffer.java,
9238         gnu/java/text/AttributedFormatBuffer.java,
9239         gnu/java/text/StringFormatBuffer.java: New classes to implement
9240         attributed iterators in java.text.
9241         * gnu/java/text/FormatCharacterIterator.java: Moved 
9242         from java/text as it is an internal class.
9243         * java/text/FormatCharacterIterator.java: Removed.
9244         * java/text/Format.java:
9245         Import gnu.java.text.FormatCharacterIterator.
9246         * Makefile.am (java_source_files): Added new files.
9247         * Makefile.in: Regenerated.
9248         
9250 2004-05-04  Mark Wielaard  <mark@klomp.org>
9252         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
9254 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
9256         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
9257         * Makefile.in: Rebuilt.
9259 2004-05-03  Mark Wielaard  <mark@klomp.org>
9261         * gnu/java/security/der/DERReader.java: Call static methods staticly.
9262         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
9263         * java/net/URL.java
9264         (set(String, String, int, String, String, String, String, String)):
9265         Assign this.file to path or path + "?" + query.
9266         * java/util/Arrays.java: Call static methods staticly.
9267         * java/util/zip/ZipEntry.java: Likewise.
9268         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
9269         dir to this.direction.
9270         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
9271         Assign static field only once.
9272         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
9274 2004-05-03  Mark Wielaard  <mark@klomp.org>
9276         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
9277         unused variables hScrollbarHeight and vScrollbarWidth.
9278         (preferredSize): Likewise.
9279         * gnu/java/security/provider/DSAParameters.java (engineToString):
9280         Removed unused call to System.getProperty("line.seperator");
9281         * java/security/Security.java (loadProviders): Return result.
9283 2004-05-03  Tom Tromey  <tromey@redhat.com>
9285         * java/net/URLStreamHandler.java (toExternalForm): Removed
9286         unused variables.
9287         unused constructor.
9288         * java/math/BigDecimal.java (divide): Removed unused variable.
9289         * java/lang/Throwable.java: Cleaned up imports.
9290         * java/lang/ClassLoader.java: Cleaned up imports.
9291         * java/io/FilePermission.java (implies): Removed unused
9292         variable.
9293         * java/awt/TextComponent.java: Removed unused import.
9294         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
9295         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
9296         * gnu/java/text/WordBreakIterator.java: Removed unused import.
9297         * gnu/java/text/SentenceBreakIterator.java: Removed unused
9298         import.
9299         * gnu/java/text/LineBreakIterator.java: Removed unused import.
9300         * gnu/java/text/CharacterBreakIterator.java: Removed
9301         unused import.
9302         * gnu/java/security/provider/DSAKeyPairGenerator.java:
9303         Cleaned up imports.
9304         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
9305         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
9306         unused method.
9307         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
9308         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
9309         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
9310         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
9311         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
9312         (lookupProviders): Removed unused variable.
9313         (loadNextServiceProvider): Likewise.
9314         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
9316 2004-05-03  Michael Koch  <konqueror@gmx.de>
9318         Fixes PR libgcj/14695:
9319         * java/net/NetworkInterface.java
9320         (getByName): Return null when no interface was found.
9322 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
9323             Tom Tromey  <tromey@redhat.com>
9325         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
9326         additional option "-Wmissing-prototypes" for compiling C sources.
9327         Print actual filename for pass/fail rather than $name.c.
9328         * testsuite/libjava.jni/PR15133.java: New testcase file.
9329         * testsuite/libjava.jni/PR15133.c: Likewise.
9330         * testsuite/libjava.jni/PR15133.out: Likewise.
9332 2004-04-30  Roger Sayle  <roger@eyesopen.com>
9334         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
9335         ceil and floor.
9337 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
9338         
9339         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
9340         limit the maximum heap size to avoid unnecessary thrashing.
9342 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
9344         * java/text/CollationElementIterator.java (reset): Reset
9345         lookahead variables.
9347 2004-04-23  Mark Wielaard  <mark@klomp.org>
9349         * jni/classpath/jcl.c: Changed C++ comments into C comments.
9351 2004-04-23 Dalibor Topic <robilad@kaffe.org>
9353         * java/sql/DriverManager.java:
9354         Cleaned up imports.
9356 2004-04-23  Michael Koch  <konqueror@gmx.de>
9358         * java/net/URL.java
9359         (hashcode): Don't initialize with default value explicitely.
9360         (getContent): Removed redundant "final" keyword.
9361         (openStream): Likewise.
9362         (getURLStreamHandler): Fixed coding style.
9363         * java/net/URLConnection.java
9364         (defaultAllowUserInteraction): Don't initialize with default value
9365         explicitely.
9366         (connected): Likewise.
9367         (doOutput): Likewise.
9368         (ifModifiedSince): Likewise.
9369         (dateformats_initialized): Likewise.
9370         (setURLStreamHander): Use StreamTokenizer where it belongs to.
9372 2004-04-23  Michael Koch  <konqueror@gmx.de>
9374         * gnu/java/nio/channels/FileChannelImpl.java
9375         (SET, CUR): Unused, removed.
9376         (read): Implement here directly.
9377         (implRead): Removed.
9378         (write): Implement here directly.
9379         (implWrite): Removed.
9381 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
9383         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
9384         javax/rmi/CORBA/Stub.java,
9385         javax/rmi/CORBA/Util.java,
9386         javax/rmi/CORBA/ValueHandler.java,
9387         javax/rmi/CORBA/ValueHandler.java,
9388         javax/rmi/PortableRemoteObject.java:
9389         Cleaned up imports.
9391 2004-04-23 Dalibor Topic <robilad@kaffe.org>
9393         * java/util/jar/JarFile.java,
9394         java/util/jar/JarInputStream.java,
9395         java/util/jar/JarOutputStream.java,
9396         java/util/jar/Manifest.java:
9397         Cleaned up imports.
9399 2004-04-23 Dalibor Topic <robilad@kaffe.org>
9401         * java/util/ArrayList.java,
9402         java/util/Calendar.java,
9403         java/util/Currency.java,
9404         java/util/HashMap.java,
9405         java/util/HashSet.java,
9406         java/util/Hashtable.java,
9407         java/util/LinkedList.java,
9408         java/util/Properties.java,
9409         java/util/PropertyPermission.java,
9410         java/util/TimeZone.java,
9411         java/util/TreeMap.java,
9412         java/util/TreeSet.java,
9413         java/util/Vector.java,
9414         java/util/WeakHashMap.java:
9415         Cleaned up imports.
9417 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
9419         * java/util/logging/FileHandler.java,
9420         java/util/logging/Formatter.java,
9421         java/util/logging/Handler.java,
9422         java/util/logging/Logger.java,
9423         java/util/logging/SimpleFormatter.java,
9424         java/util/logging/XMLFormatter.java:
9425         Cleaned up imports.
9427 2004-04-22  Mark Wielaard  <mark@klomp.org>
9429         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
9430         -Wno-long-long flags variable.
9431         (gtk_c_files): Use PEDANTIC_CFLAGS.
9432         * Makefile.in: Regenerated.
9434 2004-04-22  Mark Wielaard  <mark@klomp.org>
9436         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9437         Changed C++ comments into C comments.
9438         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
9439         Likewise.
9441 2004-04-22  Michael Koch  <konqueror@gmx.de>
9443         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
9444         Merged copyright year with GNU classpath.
9446 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
9448         * javax/security/auth/x500/X500Principal.java:
9449         Cleaned up imports.
9451 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
9453         * javax/swing/JSlider.java:
9454         Fixed HTML tags in comments.
9456 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
9458         * javax/accessibility/AccessibleText.java:
9459         Cleaned up imports.
9461 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
9463         * java/net/URLStreamHandler.java
9464         (parseURL): Convert the file path to using '/' instead of native
9465         file separator.
9467 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
9469         * java/net/URL.java
9470         (userInfo): New field.
9471         (URL): Set authority to the right value.
9472         (setURL): Fixed authority and file initialization.
9473         * java/net/URLStreamHandler.java
9474         (parseURL): Take care of the query tag. Build authority.
9475         (toExternalForm): Fixed URL building using authority.
9477 2004-04-22  Michael Koch  <konqueror@gmx.de>
9479         * java/net/Socket.java
9480         (impl): Made package-private.
9481         * java/net/ServerSocket.java
9482         (implAccept): Access Socket.impl field directly.
9484 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
9486         * java/util/prefs/Preferences.java,
9487         java/util/prefs/InvalidPreferencesFormatException.java,
9488         java/util/prefs/BackingStoreException.java,
9489         java/util/prefs/AbstractPreferences.java:
9490         Cleaned up imports.
9492 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
9494         * java/util/regex/Matcher.java,
9495         java/util/regex/Pattern.java:
9496         Cleaned up imports.
9498 2004-04-22  Michael Koch  <konqueror@gmx.de>
9500         * java/nio/charset/IllegalCharsetNameException.java
9501         (charsetName): Made private.
9502         (IllegalCharsetNameException): Added @param tag to javadoc.
9503         (getCharsetName): Added @return tag to javadoc.
9504         * java/nio/charset/MalformedInputException.java
9505         (MalformedInputException): Added @param tag to javadoc.
9506         (getInputLength): Revised method description, added @return tag.
9507         (getMessage): Added @return tag.
9509 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
9511         * java/awt/Font.java (deriveFont): Implement missing variants.
9512         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
9513         missing variants.
9515 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
9517         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
9518         Set method->index values for interface methods to their itable index.
9519         (initializeClass): Call _Jv_LayoutInterfaceMethods.
9521 2004-04-21  Michael Koch  <konqueror@gmx.de>
9523         * java/nio/DirectByteBufferImpl.java
9524         (shiftDown): Made static, give address as argument and
9525         provide a convenience method that overwrites shiftDown in
9526         ByteBufferImpl and calls the native shiftDown.
9527         * java/nio/MappedByteBufferImpl.java
9528         (): Use optimized method in DirectByteBufferImpl.
9529         * java/nio/natDirectByteBufferImpl.cc
9530         (shiftDown): Changed method signature. Removed usage of array_offset.
9532 2004-04-21  Michael Koch  <konqueror@gmx.de>
9534         * gnu/java/net/natPlainSocketImplPosix.cc
9535         (SocketInputStream::read): Make sure returned data is a byte value.
9537 2004-04-21  Michael Koch  <konqueror@gmx.de>
9539         * gnu/classpath/ServiceFactory.java,
9540         gnu/classpath/ServiceProviderLoadingAction.java,
9541         javax/imageio/ImageReader.java,
9542         javax/imageio/ImageTranscoder.java,
9543         javax/imageio/ImageWriter.java,
9544         javax/imageio/package.html,
9545         javax/imageio/spi/IIOServiceProvider.java,
9546         javax/imageio/spi/ImageInputStreamSpi.java,
9547         javax/imageio/spi/ImageOutputStreamSpi.java,
9548         javax/imageio/spi/ImageReaderWriterSpi.java,
9549         javax/imageio/spi/ImageTranscoderSpi.java,
9550         javax/imageio/spi/RegisterableService.java,
9551         javax/imageio/spi/ServiceRegistry.java,
9552         javax/imageio/spi/package.html,
9553         javax/imageio/stream/IIOByteBuffer.java,
9554         javax/imageio/stream/ImageInputStream.java,
9555         javax/imageio/stream/ImageOutputStream.java,
9556         javax/imageio/stream/package.html:
9557         New files.
9558         * Makefile.am
9559         (ordinary_java_source_files): Added
9560         gnu/classpath/ServiceFactory.java and
9561         gnu/classpath/ServiceProviderLoadingAction.java.
9562         (javax_source_files): Added
9563         javax/imageio/ImageReader.java,
9564         javax/imageio/ImageTranscoder.java,
9565         javax/imageio/ImageWriter.java,
9566         javax/imageio/spi/IIOServiceProvider.java,
9567         javax/imageio/spi/ImageInputStreamSpi.java,
9568         javax/imageio/spi/ImageOutputStreamSpi.java,
9569         javax/imageio/spi/ImageReaderWriterSpi.java,
9570         javax/imageio/spi/ImageTranscoderSpi.java,
9571         javax/imageio/spi/RegisterableService.java,
9572         javax/imageio/spi/ServiceRegistry.java,
9573         javax/imageio/stream/IIOByteBuffer.java,
9574         javax/imageio/stream/ImageInputStream.java and
9575         javax/imageio/stream/ImageOutputStream.java.
9576         * Makefile.in: Regenerated.
9578 2004-04-21  Michael Koch  <konqueror@gmx.de>
9580         * java/util/Properties.java
9581         (load): Fix wrongly merged fix.
9583 2004-04-21  Mark Wielaard  <mark@klomp.org>
9585         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
9586         malloc and free buf.
9588 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
9590         * javax/naming/AuthenticationException.java,
9591         javax/naming/AuthenticationNotSupportedException.java,
9592         javax/naming/CannotProceedException.java,
9593         javax/naming/CommunicationException.java,
9594         javax/naming/CompoundName.java,
9595         javax/naming/ConfigurationException.java,
9596         javax/naming/ContextNotEmptyException.java,
9597         javax/naming/InitialContext.java,
9598         javax/naming/InsufficientResourcesException.java,
9599         javax/naming/InterruptedNamingException.java,
9600         javax/naming/LimitExceededException.java,
9601         javax/naming/LinkException.java,
9602         javax/naming/LinkLoopException.java,
9603         javax/naming/LinkRef.java,
9604         javax/naming/MalformedLinkException.java,
9605         javax/naming/Name.java,
9606         javax/naming/NameAlreadyBoundException.java,
9607         javax/naming/NameNotFoundException.java,
9608         javax/naming/NamingSecurityException.java,
9609         javax/naming/NoInitialContextException.java,
9610         javax/naming/NoPermissionException.java,
9611         javax/naming/NotContextException.java,
9612         javax/naming/PartialResultException.java,
9613         javax/naming/ReferralException.java,
9614         javax/naming/ServiceUnavailableException.java,
9615         javax/naming/SizeLimitExceededException.java,
9616         javax/naming/TimeLimitExceededException.java,
9617         javax/naming/directory/Attribute.java,
9618         javax/naming/directory/Attributes.java,
9619         javax/naming/directory/SearchResult.java,
9620         javax/naming/event/NamingExceptionEvent.java,
9621         javax/naming/spi/ResolveResult.java:
9622         Cleaned up imports.
9624 2004-04-21  Mark Wielaard  <mark@klomp.org>
9626         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
9627         Changed C++ comments into C comments. Removed commented out code.
9628         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9629         Likewise.
9630         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
9631         Likewise.
9632         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
9633         Likewise.
9634         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
9635         Likewise.
9636         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
9637         Likewise.
9638         * native/jni/gtk-peer/gthread-jni.c:
9639         Likewise.
9641 2004-04-21  Mark Wielaard  <mark@klomp.org>
9643         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
9644         static fields defined in interface.
9645         * javax/awt/JDialog.java: Likewise.
9646         (JDialog): Make constructors public.
9647         (getDefaultCloseOperation): Make public.
9648         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
9649         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
9650         * javax/swing/JViewport.java (JViewport): Make constructor public.
9652 2004-04-21  Michael Koch  <konqueror@gmx.de>
9654         * java/util/Map.java
9655         (Entry): Removed redundant "static" modifier.
9656         * java/text/AttributedCharacterIterator.java:
9657         Updated copyright year.
9659 2004-04-20  Michael Koch  <konqueror@gmx.de>
9661         * javax/naming/directory/SearchControls.java:
9662         Don't explicitely extend java.lang.Object.
9663         * javax/naming/spi/DirStateFactory.java:
9664         Merged copyright year with GNU classpath.
9666 2004-04-20  Michael Koch  <konqueror@gmx.de>
9668         * java/nio/channels/Channels.java:
9669         Merged coding style with GNU classpath.
9671 2004-04-20  Michael Koch  <konqueror@gmx.de>
9673         * java/net/ServerSocket.java
9674         Merged coding style from GNU classpath.
9676 2004-04-20  Michael Koch  <konqueror@gmx.de>
9678         * java/io/BufferedWriter.java:
9679         Reordered variables to be at top of the class.
9680         (localFlush): Removed redundant final keyword.
9682 2004-04-20  Ingo Proetel  <proetel@aicas.com>
9684         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
9686 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
9688         * java/text/DecimalFormat.java (scanFix): Removed suffix check
9689         for percent and permill check.
9691 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
9693         * java/text/FieldPosition.java
9694         (FieldPosition) Constructor now behaves as it should according
9695         to the java documentation.
9697 2004-04-20  Mark Wielaard  <mark@klomp.org>
9699         * java/util/Properties.java: Use the word umlaut, not &auml; in api
9700         documentation.
9702 2004-04-20  Michael Koch  <konqueror@gmx.de>
9704         * java/nio/Buffer.java,
9705         java/nio/channels/AlreadyConnectedException.java,
9706         java/nio/channels/AsynchronousCloseException.java,
9707         java/nio/channels/ByteChannel.java,
9708         java/nio/channels/CancelledKeyException.java,
9709         java/nio/channels/Channel.java,
9710         java/nio/channels/Channels.java,
9711         java/nio/channels/ClosedByInterruptException.java,
9712         java/nio/channels/ClosedChannelException.java,
9713         java/nio/channels/ClosedSelectorException.java,
9714         java/nio/channels/ConnectionPendingException.java,
9715         java/nio/channels/DatagramChannel.java,
9716         java/nio/channels/FileChannel.java,
9717         java/nio/channels/FileLock.java,
9718         java/nio/channels/FileLockInterruptionException.java,
9719         java/nio/channels/GatheringByteChannel.java,
9720         java/nio/channels/IllegalBlockingModeException.java,
9721         java/nio/channels/IllegalSelectorException.java,
9722         java/nio/channels/InterruptibleChannel.java,
9723         java/nio/channels/NoConnectionPendingException.java,
9724         java/nio/channels/NonReadableChannelException.java,
9725         java/nio/channels/NonWritableChannelException.java,
9726         java/nio/channels/NotYetBoundException.java,
9727         java/nio/channels/NotYetConnectedException.java,
9728         java/nio/channels/OverlappingFileLockException.java,
9729         java/nio/channels/Pipe.java,
9730         java/nio/channels/ReadableByteChannel.java,
9731         java/nio/channels/ScatteringByteChannel.java,
9732         java/nio/channels/SelectableChannel.java,
9733         java/nio/channels/SelectionKey.java,
9734         java/nio/channels/Selector.java,
9735         java/nio/channels/ServerSocketChannel.java,
9736         java/nio/channels/SocketChannel.java,
9737         java/nio/channels/UnresolvedAddressException.java,
9738         java/nio/channels/UnsupportedAddressTypeException.java,
9739         java/nio/channels/WritableByteChannel.java,
9740         java/nio/channels/spi/AbstractInterruptibleChannel.java,
9741         java/nio/channels/spi/AbstractSelectableChannel.java,
9742         java/nio/channels/spi/AbstractSelectionKey.java,
9743         java/nio/channels/spi/AbstractSelector.java,
9744         java/nio/channels/spi/SelectorProvider.java,
9745         java/nio/charset/spi/CharsetProvider.java:
9746         Fixed javadocs and jalopied all over java.nio.
9748 2004-04-20  Michael Koch  <konqueror@gmx.de>
9750         * java/nio/ByteBufferImpl.java,
9751         java/nio/CharBufferImpl.java,
9752         java/nio/DirectByteBufferImpl.java,
9753         java/nio/DoubleBufferImpl.java,
9754         java/nio/DoubleViewBufferImpl.java,
9755         java/nio/FloatBufferImpl.java,
9756         java/nio/FloatViewBufferImpl.java,
9757         java/nio/IntBufferImpl.java,
9758         java/nio/IntViewBufferImpl.java,
9759         java/nio/LongBufferImpl.java,
9760         java/nio/LongViewBufferImpl.java,
9761         java/nio/MappedByteBufferImpl.java,
9762         java/nio/ShortBufferImpl.java,
9763         java/nio/ShortViewBufferImpl.java:
9764         Made sure all classes are final and removed final keyword from all
9765         methods.
9767 2004-04-20  Michael Koch  <konqueror@gmx.de>
9769         * java/rmi/MarshalledObject.java,
9770         java/rmi/Naming.java,
9771         java/rmi/RemoteException.java,
9772         java/rmi/activation/ActivationException.java,
9773         java/rmi/server/ServerCloneException.java,
9774         java/security/AccessController.java,
9775         java/security/AlgorithmParameterGenerator.java,
9776         java/security/AlgorithmParameters.java,
9777         java/security/CodeSource.java,
9778         java/security/Identity.java,
9779         java/security/IdentityScope.java,
9780         java/security/KeyPairGenerator.java,
9781         java/security/KeyStore.java,
9782         java/security/Security.java,
9783         java/security/Signature.java,
9784         java/security/SignatureSpi.java,
9785         java/security/SignedObject.java,
9786         java/security/spec/DSAParameterSpec.java,
9787         java/security/spec/DSAPrivateKeySpec.java,
9788         java/security/spec/DSAPublicKeySpec.java,
9789         java/sql/Array.java,
9790         java/sql/DatabaseMetaData.java,
9791         java/sql/ResultSet.java,
9792         java/text/ChoiceFormat.java,
9793         java/text/CollationElementIterator.java,
9794         java/text/CollationKey.java,
9795         java/text/Collator.java,
9796         java/text/DateFormat.java,
9797         java/text/DateFormatSymbols.java,
9798         java/text/DecimalFormatSymbols.java,
9799         java/text/Format.java,
9800         java/text/ParsePosition.java,
9801         java/text/RuleBasedCollator.java,
9802         java/text/SimpleDateFormat.java,
9803         java/text/StringCharacterIterator.java,
9804         java/util/Collections.java,
9805         java/util/PropertyResourceBundle.java,
9806         java/util/ResourceBundle.java,
9807         java/util/StringTokenizer.java,
9808         java/util/jar/Attributes.java,
9809         java/util/logging/ConsoleHandler.java,
9810         java/util/logging/LogManager.java,
9811         java/util/logging/MemoryHandler.java,
9812         java/util/logging/SocketHandler.java,
9813         javax/naming/NamingException.java:
9814         Fixed javadoc, coding style and argument names all over.
9816 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
9818         * java/io/FileDescriptor.java: (FileDescriptor) Added public
9819         constructor. (valid) Added null check.
9821 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
9823         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
9824         * java/io/FileOutputStream.java
9825         (FileOutputStream) Reorganized constructors. Constructors now
9826         check whether the given path is directory.
9828 2004-04-20  Michael Koch  <konqueror@gmx.de>
9830         * java/net/Authenticator.java,
9831         java/net/BindException.java,
9832         java/net/ConnectException.java,
9833         java/net/ContentHandler.java,
9834         java/net/ContentHandlerFactory.java,
9835         java/net/DatagramPacket.java,
9836         java/net/DatagramSocket.java,
9837         java/net/DatagramSocketImpl.java,
9838         java/net/DatagramSocketImplFactory.java,
9839         java/net/FileNameMap.java,
9840         java/net/HttpURLConnection.java,
9841         java/net/Inet4Address.java,
9842         java/net/Inet6Address.java,
9843         java/net/InetAddress.java,
9844         java/net/InetSocketAddress.java,
9845         java/net/JarURLConnection.java,
9846         java/net/MalformedURLException.java,
9847         java/net/MulticastSocket.java,
9848         java/net/NetPermission.java,
9849         java/net/NetworkInterface.java,
9850         java/net/NoRouteToHostException.java,
9851         java/net/PasswordAuthentication.java,
9852         java/net/PortUnreachableException.java,
9853         java/net/ProtocolException.java,
9854         java/net/ServerSocket.java,
9855         java/net/Socket.java,
9856         java/net/SocketAddress.java,
9857         java/net/SocketException.java,
9858         java/net/SocketImpl.java,
9859         java/net/SocketImplFactory.java,
9860         java/net/SocketOptions.java,
9861         java/net/SocketPermission.java,
9862         java/net/SocketTimeoutException.java,
9863         java/net/URI.java,
9864         java/net/URISyntaxException.java,
9865         java/net/URL.java,
9866         java/net/URLClassLoader.java,
9867         java/net/URLConnection.java,
9868         java/net/URLDecoder.java,
9869         java/net/URLEncoder.java,
9870         java/net/URLStreamHandler.java,
9871         java/net/URLStreamHandlerFactory.java,
9872         java/net/UnknownHostException.java,
9873         java/net/UnknownServiceException.java:
9874         Fixed javadocs, coding style and argument names all over.
9876 2004-04-20  Michael Koch  <konqueror@gmx.de>
9878         * java/lang/Byte.java,
9879         java/lang/CharSequence.java,
9880         java/lang/ClassLoader.java,
9881         java/lang/Compiler.java,
9882         java/lang/Double.java,
9883         java/lang/Float.java,
9884         java/lang/Integer.java,
9885         java/lang/Long.java,
9886         java/lang/Math.java,
9887         java/lang/Number.java,
9888         java/lang/Package.java,
9889         java/lang/Runtime.java,
9890         java/lang/RuntimePermission.java,
9891         java/lang/SecurityManager.java,
9892         java/lang/Short.java,
9893         java/lang/StringBuffer.java,
9894         java/lang/System.java,
9895         java/lang/ThreadGroup.java,
9896         java/lang/Throwable.java,
9897         java/lang/reflect/InvocationHandler.java,
9898         java/lang/reflect/Proxy.java:
9899         Fixed javadocs, coding style and argument names all over.
9901 2004-04-20  Michael Koch  <konqueror@gmx.de>
9903         * java/io/BufferedWriter.java,
9904         java/io/ByteArrayInputStream.java,
9905         java/io/CharArrayWriter.java,
9906         java/io/DataInput.java,
9907         java/io/DataInputStream.java,
9908         java/io/File.java,
9909         java/io/FilterInputStream.java,
9910         java/io/InputStream.java,
9911         java/io/InputStreamReader.java,
9912         java/io/ObjectInputStream.java,
9913         java/io/ObjectStreamClass.java,
9914         java/io/PipedInputStream.java,
9915         java/io/PipedReader.java,
9916         java/io/PushbackInputStream.java,
9917         java/io/PushbackReader.java,
9918         java/io/RandomAccessFile.java,
9919         java/io/SerializablePermission.java,
9920         java/io/StreamTokenizer.java,
9921         java/io/StringWriter.java,
9922         java/io/WriteAbortedException.java,
9923         java/io/Writer.java:
9924         Fixed javadocs all over, rename arguments to match javadocs,
9925         fixed coding style.
9927 2004-04-20  Ingo Proetel  <proetel@aicas.com>
9929         * java/awt/FontMetrics.java:
9930         (charsWidth): fixed accumulation of total_width
9931         (getWidth): simple default implementation
9932         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
9933         in Rectangle constructor.
9934         * java/awt/image/Raster.java (toString): Added method. 
9935         * java/awt/image/SampleModel.java (<init>): Added error cause
9936         information to thrown exception.
9937         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
9938         New method.
9939         (setDataElements): New method.
9940         (setPixels): New method.
9941         (toString): New method.
9943 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
9945         * java/awt/image/ComponentColorModel.java
9946         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
9947         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
9948         Mauve tests on this method. Improved documentation.
9950 2004-04-20  Michael Koch  <konqueror@gmx.de>
9952         * javax/swing/JLayeredPane.java,
9953         javax/swing/plaf/BorderUIResource.java,
9954         javax/swing/plaf/ComponentUI.java,
9955         javax/swing/undo/CompoundEdit.java,
9956         javax/swing/undo/StateEdit.java:
9957         Fixed HTML tags in javadocs all over.
9959 2004-04-20  Michael Koch  <konqueror@gmx.de>
9961         * javax/print/attribute/EnumSyntax.java
9962         (getOffset): Made protected.
9963         * javax/print/attribute/HashAttributeSet.java
9964         (HashAttributeSet): Likewise.
9965         * javax/print/attribute/ResolutionSyntax.java
9966         (getFeedResolution): Fixed typo in exception name.
9967         (getCrossFeedResolution): Likewise.
9968         * javax/print/attribute/SetOfIntegerSyntax.java
9969         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
9970         * javax/print/attribute/TextSyntax.java
9971         (TextSyntax): Handle locale correctly.
9972         (hashCode): Calc better hashcode value.
9973         (equals): Fixed @return tag.
9974         (toString): New method.
9976 2004-04-20  Michael Koch  <konqueror@gmx.de>
9978         * gnu/java/nio/FileLockImpl.java
9979         (static): Removed, not needed anymore.
9980         * gnu/java/nio/channels/FileChannelImpl.java
9981         (FileChannelImpl): Made final.
9982         (mode): Made private.
9983         (READ, WRITE, APPEND): Made public.
9984         (EXCL, SYNC, DSYNC): Likewise.
9985         (static): Load native JNI library, when needed.
9986         (length): Unused, removed.
9987         (available): Made public.
9988         (implPosition): Throws IOException.
9989         (seek): Likewise.
9990         (implTruncate): Likewise.
9991         (unlock): Likewise.
9992         (lock): Likewise.
9994 2004-04-20  Michael Koch  <konqueror@gmx.de>
9996         * java/awt/AWTPermission.java,
9997         java/awt/Component.java,
9998         java/awt/ComponentOrientation.java,,
9999         java/awt/Dialog.java,
10000         java/awt/FontMetrics.java,
10001         java/awt/Graphics.java,
10002         java/awt/datatransfer/DataFlavor.java,
10003         java/beans/Introspector.java,
10004         java/beans/PropertyEditor.java,
10005         java/beans/PropertyEditorManager.java,
10006         java/beans/beancontext/BeanContextServiceProvider.java:
10007         Fixed HTML tags in javadocs all over.
10009 2004-04-20  Mark Wielaard  <mark@klomp.org>
10011         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
10012         MissingResourceException is thrown.
10013         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
10014         null when a MissingResourceException is thrown. Should never happen.
10016 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
10018         * java/awt/image/DataBufferShort.java,
10019         java/awt/image/DataBufferFloat.java,
10020         java/awt/image/DataBufferDouble.java,
10021         java/awt/image/PixelInterleavedSampleModel.java: New files.
10022         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
10023         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
10025 2004-04-20  Michael Koch  <konqueror@gmx.de>
10027         * Makefile.am (java_source_files): Added
10028         java/awt/image/DataBufferDouble.java,
10029         java/awt/image/DataBufferFloat.java,
10030         java/awt/image/DataBufferShort.java and
10031         java/awt/image/PixelInterleavedSampleModel.java.
10032         * Makefile.in: Regenerated.
10034 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
10036         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
10037         undocumented CNI calls.
10038         * include/java-interp.h (_Jv_InterpClass): No longer
10039         extends java.lang.Class.
10040         * java/lang/Class.h (Class): Add new field `aux_info'.
10041         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
10042         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
10043         Use Class->aux_info instead.
10044         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
10045         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
10046         Use Class->aux_info instead.
10047         * java/io/natObjectInputStream.cc (allocateObject): Use
10048         _Jv_AllocObject.
10049         * java/lang/natClass.cc (newInstance): Likewise.
10050         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
10051         * java/lang/natObject.cc (clone): Likewise.
10052         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
10053         * java/lang/natVMClassLoader.cc (defineClass): Don't use
10054         JvAllocObject. Allocate klass->aux_info here for interpreted
10055         class.
10056         
10057 2004-04-17  Mark Wielaard  <mark@klomp.org>
10059         * javax/swing/JToggleButton.java (ToggleButtonModel):
10060         Make public static inner class.
10061         * javax/swing/JTabbedPane.java (setComponentAt):
10062         Call Page.setComponent().
10063         (SCROLL_TAB_LAYOUT): Make public, value is 1.
10064         (WRAP_TAB_LAYOUT): Make public, value is 0.
10065         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
10066         Make private static inner class.
10068 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
10070         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
10071         arguments to match new signature. Remove FIXME comments.
10073 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
10075         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
10076         Remove method.
10077         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
10078         unused code.
10080 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
10082         * Makefile.am: Added new file.
10083         * Makefile.in: Regenerate.
10084         * javax/swing/ImageIcon.java: 
10085         (ImageIcon(file)): set description of the icon 
10086         to the file name
10087         * javax/swing/JCheckBoxMenuItem.java:
10088         Mostly Implemented. Work in progress.
10089         * javax/swing/JRadioButtonMenuItem.java:
10090         Reimplement constructors to use JToggleButtonModel.
10091         * javax/swing/plaf/basic/BasicIconFactory.java:
10092         (getCheckBoxMenuItemIcon): return check box
10093         icon.
10094         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10095         paint menu item selected only when it is armed and 
10096         pressed. 
10098 2004-04-02  David Jee  <djee@redhat.com>
10100         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
10101         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
10102         * java/awt/Component.java
10103         (add): Set the parent of the popup as this component.
10104         * java/awt/PopupMenu.java
10105         (addNotify): Create popup menu when peer is null.
10106         (show): Call addNotify() if peer is null.
10107         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
10108         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
10109         argument for gtk_menu_popup() as zero. This causes the popup menu to
10110         respond to any mouse button.
10112 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
10114         * Makefile.am: Added new file.
10115         * Makefile.in: Regenerate.
10116         * javax/swing/JRadioButtonMenuItem.java:
10117         Implemented.
10118         * javax/swing/plaf/basic/BasicIconFactory.java:
10119         (getRadioButtonMenuItemIcon): Return
10120         radio button icon.
10121         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10122         (getPreferredSize): Add size of checkIcon if it
10123         exists.
10124         (installDefaults): Don't initialize checkIcon.
10125         It's value will be set in subclasses. 
10126         (uninstallDefaults): remove uninstallation of 
10127         checkIcon.
10128         (paint): Moved code to paintMenuItem().
10129         (paintMenuItem): Implemented.
10130         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
10131         UI delegate for JRadioButtonMenuItem.
10132         
10133 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
10135         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10136         Corrected position of the accelerator.
10138 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
10140         * Makefile.am: Added new file. 
10141         * Makefile.in: Regenerate.
10142         * javax/swing/JMenuItem.java: Partly 
10143         implemented. Work in progress
10144         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10145         Changed default value of acceleratorDelimiter.
10146         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10147         New class. Partly implemented.
10148                 
10149 2004-03-26  Mark Wielaard  <mark@klomp.org>
10151         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10152         (item_activate): Declare label before use.
10153         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10154         (gtkSetFont): Removed unused variable label.
10155         (addExposeFilter): Declare variables before use.
10156         (removeExposeFilter): Likewise.
10157         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
10158         (ok_clicked): Declare str_fileName before use.
10160 2004-03-26  David Jee  <djee@redhat.com>
10162         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
10163         (addSeparator): Remove.
10164         * java/awt/Menu.java
10165         (separator): Remove static final MenuItem field.
10166         (separatorLabel): New static final String field.
10167         (addSeparator): Do not use peer method; use add(MenuItem) instead.
10168         Use separatorLabel to denote that it is a separator.
10169         (insertSeparator): Create a new MenuItem with separatorLabel, instead
10170         of reusing the static separator instance, because a MenuItem instance
10171         can't be added more than once without being cloned.
10172         * java/awt/peer/MenuPeer.java
10173         (addSeparator): Remove from interface.
10175 2004-03-26  David Jee  <djee@redhat.com>
10177         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
10178         (connectSignals): New native method declaration.
10179         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
10180         * java/awt/MenuItem.java
10181         (getActionCommand): Return the label if the action command is not set.
10182         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
10183         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
10184         gtk_menu_shell_append().
10185         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
10186         (item_activate): Fix argument type.
10187         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
10188         signal here.
10189         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
10190         method.
10191         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
10192         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
10193         given. Add the menu widget's top-level GtkWindow to the global window
10194         group, so it can grab the pointer.
10195         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
10196         gtk_menu_shell_append().
10198 2004-03-23  Graydon Hoare  <graydon@redhat.com>
10200         * java/text/AttributedString.java 
10201         (addAttribute): Fix off-by-one.
10202         (getIterator): Likewise.        
10203         * java/text/AttributedStringIterator.java 
10204         (getRunLimit): Correct logic.
10205         (getRunStart): Likewise.
10206         (getAttribute): Fix inequality.
10207         (getAttributes): Likewise.
10208         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
10210 2004-03-23  Kim Ho  <kho@redhat.com>
10212         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
10213         (calculateSizes): Return real width and height.
10215 2004-03-23  Kim Ho  <kho@redhat.com>
10217         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
10218         (calculateTabRects): Set the selectedRun before
10219         trying to rotate tabs.
10221 2004-03-23  Kim Ho  <kho@redhat.com>
10223         * Makefile.am: New file
10224         * Makefile.in: Regenerate
10225         * java/awt/Graphics.java: (drawRect):
10226         Draw to the correct point.
10227         * javax/swing/DefaultSingleSelectionModel.java
10228         (isSelected): Return true if the selected index
10229         is not -1.
10230         * javax/swing/JLabel.java: Do not change mnemonic
10231         index if text is null.
10232         * javax/swing/JProgressBar.java: Use JComponent's
10233         EventListenerList.
10234         * javax/swing/JScrollBar.java: Ditto.
10235         * javax/swing/JSlider.java: Ditto.
10236         * javax/swing/JTabbedPane.java: Reimplement.
10237         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10238         Add defaults for TabbedPane.
10239         * javax/swing/plaf/basic/BasicArrowButton.java:
10240         Implement
10241         * javax/swing/plaf/basic/BasicProgressBarUI.java:
10242         (paintDeterminate): Don't paint String if it's
10243         empty.
10244         (paintIndeterminate): ditto.
10245         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
10246         Reimplement.
10248 2004-03-19  Michael Koch  <konqueror@gmx.de>
10250         * java/awt/image/AffineTransformOp.java
10251         (AffineTransformOp): Made public.
10252         * javax/swing/JComponent.java
10253         (listenerList): Made protected.
10254         (accessibleContext): Likewise.
10255         * javax/swing/JList.java
10256         (valueChanged): Dont use internal fields of ListSelectionEvent.
10257         * javax/swing/JViewport.java
10258         (getView): Dont use internal fields of Component.
10259         (addImpl): Likewise.
10260         * javax/swing/Timer.java
10261         (isRunning): Made public.
10262         (start): Likewise.
10263         (stop): Likewise.
10264         * javax/swing/UIDefaults.java
10265         (getInt): Made public.
10266         * javax/swing/plaf/basic/BasicListUI.java
10267         (mousePressed): Dont use internal fields of MouseEvent.
10268         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
10269         * javax/swing/plaf/basic/BasicScrollBarUI.java
10270         (arrowIcon): Made static.
10271         * javax/swing/plaf/basic/BasicViewportUI.java
10272         (stateChanged): Dont use internal field on ChangeEvent.
10273         * javax/swing/text/JTextComponent.java
10274         (getUI): Call UIManager.getUI().
10275         (updateUI): Use getUI().
10277 2004-03-19  Graydon Hoare  <graydon@redhat.com>
10279         * javax/swing/JComponent.java: Turn off double buffer by default.
10280         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
10281         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
10282         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
10283         Use cairo to copy areas.
10284         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
10285         Initialize and set clip region.
10287 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
10289         * java/applet/Applet.java (preferredSize): Override deprecated
10290         variant of getPreferredSize.
10291         (minimumSize): Override deprecated variant of getMinimumSize.
10293 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
10295         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10296         (drawImage(img,xform,bgcolor,obs)): New Method.
10297         Helper function that every drawImage method will
10298         use.
10299         (drawRaster): Added new parameter, bgcolor. All
10300         transparent pixels are changed to bgcolor before 
10301         image is drawn.
10302         (drawRenderedImage): Fixed to use changed drawRaster().
10303         (drawImage(image,xform,obs): Fixed to use new helper function 
10304         (drawImage(image,op,x,y)): Ditto.
10305         (drawImage (img,x,y,observer)): Ditto.
10306         ((PainterThread) bgcolor): New Field.
10307         ((PainterThread) (setPixels)): Changed all transparent pixels 
10308         to bgcolor.     
10309         (drawImage(img,x,y,width,height,bgcolor,observer)): 
10310         Fixed FIXME - all the transparent pixels are 
10311         changed to the specified bgcolor. 
10312         (drawImage(img, x, y, width, height, observer): Changed to 
10313         use function above.
10314         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
10315         Fixed FIXME- changed all transparent pixels to bgcolor.
10316         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
10317         Changed to use function above. 
10319 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
10321         * java/applet/Applet.java (dimensions): New field.
10322         (getDimensions): New method.
10323         (getPreferredSize): Call getDimensions.
10324         (getMinimumSize): Likewise.
10326 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
10328         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
10329         * jni/classpath/jnilink.c: Likewise.
10331         * java/applet/Applet.java (getPreferredSize): New method.
10332         (getMinimumSize): New method.
10334 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
10336         * prims.cc (_Jv_AllocObject): Remove `size' argument.
10337         (_Jv_AllocObjectNoFinalizer): Likewise.
10338         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
10339         (_Jv_AllocPtrFreeObject): Likewise.
10340         (_Jv_AllocString): Moved from natString.cc. Call collector interface
10341         directly even in the JVMPI case.        
10342         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
10343         _Jv_AllocObject calls.
10344         * gcj/javaprims.h: Update prototypes.
10345         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
10346         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
10347         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
10349 2004-04-14  Andrew Haley  <aph@redhat.com>
10350             Bryce McKinlay  <mckinlay@redhat.com>
10352         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
10353         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
10354         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
10356         * testsuite/libjava.lang/InvokeInterface.java: New file.
10357         * testsuite/libjava.lang/InvokeInterface.out: New file.
10359 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
10360         
10361         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
10362         modified lookup().
10363         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
10364         StackTraceElement directly.
10365         (newElement): New native helper method to create StackTraceElement
10366         bypassing Java access control.
10367         (createStackTraceElement): Use newElement() instead of directly
10368         calling StackTraceElement's constructor.
10369         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
10371 2004-04-01  Michael Koch  <konqueror@gmx.de>
10373         * java/lang/SecurityManager.java
10374         (checkAwtEventQueueAccess): Implemented.
10376 2004-04-01  Gary Benson  <gbenson@redhat.com>
10378         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
10379         (_Jv_SearchMethodInClass): Likewise.
10381 2004-03-26  Peter Moon  <peterm@miraculum.com>
10383         * java/text/NumberFormat.java: Fix spelling of setCurrency
10384         method.
10386 2004-03-21  Anthony Green  <green@redhat.com>
10388         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
10389         recursion when searching for the system ClassLoader.
10391 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
10393         * java/net/ServerSocket.java
10394         (accept): Close the socket when error occured.
10396 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
10398         * java/net/URI.java (parseURI): Added unquoting.
10399         (unquote): New method.
10400         (quoteAuthority): Implemented.
10401         (quote(String,String)): New method.
10402         (quotePath): Implemented.
10403         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
10404         (getSchemeSpecificPart): Removed FIXME comment.
10405         (getRawAuthority): Return new rawAuthority field.
10406         (getAuthority): Removed FIXME comment.
10407         (getRawUserInfo): Return new rawUserInfo field.
10408         (getUserInfo): Removed FIXME comment.
10409         (getRawPath): Return new rawPath field.
10410         (getPath): Removed FIXME comment.
10411         (getRawQuery): Return new rawQuery field.
10412         (getQuery): Removed FIXME comment.
10413         (getRawFragment): Return new rawFragment field.
10414         (getFragment): Removed FIXME comment.
10416 2004-03-20  Michael Koch  <konqueror@gmx.de>
10418         * java/net/URLConnection.java: Merged copyright year with classpath.
10420 2004-03-20  Norbert Frese  <postfach@nfrese.net>
10422         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
10423         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
10424         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
10425         rmi-message.
10426         (getObjectInputStream): Return object reference, throw IOException if null.
10427         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
10428         (getObjectOutputStream): Return object reference, throw IOException if null.
10429         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
10430         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
10431         (UnicastConnectionManager): Throw RemoteException if port is not available.
10432         (getInstance): Throw RemoteException.
10433         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
10434         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
10435         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
10436         Collect Exceptions which are returned by a rmi-call and fix void returns.
10437         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
10438         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
10439         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
10440         (dispatch): Answer ping messages which are sent by other java implementions.
10441         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
10442         for every rmi-message and fix void return problems.
10443         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
10444         (UnicastServerRef): Throw RemoteException.
10445         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
10446         In some situations it is necessary to export a subclass of the class which has the _Stub.
10447         For instance when the class with has the _Stub is abstract.
10448         (findStubSkelClass): New method which looks for the class which has the _Stub.
10449         (getClientHost): Implementated.
10450         * gcc/libjava/java/rmi/server/RemoteServer.java
10451         (getClientHost): Implementated.
10452         * gcc/libjava/Makefile.am (rmi_java_source_files):
10453         Added gnu/java/rmi/server/RMIIncomingThread.java.
10454         * Makefile.in: Regenerated.
10456 2004-03-20  Michael Koch  <konqueror@gmx.de>
10458         * java/net/InetAddress.java
10459         (getLocalHostname): Added javadoc.
10461 2004-03-19  Per Bothner  <per@bothner.com>
10463         * configure.in: FILE variable  overrides FLATFORM when linking
10464         natFileChannelXXX.cc.
10466         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
10467         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
10469 2004-03-19  Per Bothner  <per@bothner.com>
10471         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
10472         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
10473         * Makefile.am:  Update accordingly.
10474         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
10475         as aliases for UnicodeLittle and UnicodeBig.
10477 2004-03-20  Mark Wielaard  <mark@klomp.org>
10479         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10480         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
10481         Don't access ws when it is null.
10482         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
10483         Likewise.
10485 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
10487         * java/lang/ThreadGroup.java (list): Changed print to println.
10489 2004-03-19  Mark Wielaard  <mark@klomp.org>
10491         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
10492         happy.
10494 2004-02-10  Randolph Chung  <tausq@debian.org>
10496         * configure.in: Build java for hppa target.
10497         * configure: Regenerate.
10498         * libjava/configure.host (hppa-*): Add target.
10499         * libjava/sysdeps/pa/lock.h: New file.
10501 2004-03-19  Mark Wielaard  <mark@klomp.org>
10503         Reported by Stephen Crawley
10504         * java/io/FilePermission.java (implies): Use String.length() -1 to
10505         access last char of String.
10507 2004-03-19  Michael Koch  <konqueror@gmx.de>
10509         * java/awt/image/AffineTransformOp.java
10510         (AffineTransformOp): Made public.
10511         * javax/swing/JComponent.java
10512         (listenerList): Made protected.
10513         (accessibleContext): Likewise.
10514         * javax/swing/JList.java
10515         (valueChanged): Dont use internal fields of ListSelectionEvent.
10516         * javax/swing/JViewport.java
10517         (getView): Dont use internal fields of Component.
10518         (addImpl): Likewise.
10519         * javax/swing/Timer.java
10520         (isRunning): Made public.
10521         (start): Likewise.
10522         (stop): Likewise.
10523         * javax/swing/UIDefaults.java
10524         (getInt): Made public.
10525         * javax/swing/plaf/basic/BasicListUI.java
10526         (mousePressed): Dont use internal fields of MouseEvent.
10527         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
10528         * javax/swing/plaf/basic/BasicScrollBarUI.java
10529         (arrowIcon): Made static.
10530         * javax/swing/plaf/basic/BasicViewportUI.java
10531         (stateChanged): Dont use internal field on ChangeEvent.
10532         * javax/swing/text/JTextComponent.java
10533         (getUI): Call UIManager.getUI().
10534         (updateUI): Use getUI().
10536 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10538         * verify.cc: Undef PC.
10540 2004-03-18  Michael Koch  <konqueror@gmx.de>
10542         * java/nio/channels/spi/AbstractSelectableChannel.java
10543         (keys): Initialize at declaration.
10544         (locate): keys cant be null.
10545         (add): Removed.
10546         (addSelectionKey): New method.
10547         (removeSelectionKey): New method.
10548         * java/nio/channels/spi/AbstractSelectionKey.java
10549         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
10550         * java/nio/channels/spi/AbstractSelector.java
10551         (provider): Javadoc added.
10552         (cancelledKeys): Javadoc added.
10553         (cancelKey): Javadoc added, add key to cancelledKeys.
10554         (deregister): Implemented.
10556 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10558         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
10559         MAP_FAILED to void *.
10561 2004-03-12  Graydon Hoare  <graydon@redhat.com>
10563         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
10564         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
10565         * javax/swing/JList.java (ListListener): Revalidate on changes.
10566         * javax/swing/JScrollPane.java: Reimplement.
10567         * javax/swing/JViewport.java: Reimplement.
10568         * javax/swing/ScrollPaneLayout.java: Reimplement.
10569         * javax/swing/ViewportLayout.java: Tidy up.
10570         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
10571         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
10572         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
10573         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
10574         backing store only.
10576 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
10578         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10579         (window_wm_protocols_filter): New function.
10580         (window_focus_in_cb): Remove function.
10581         (window_focus_out_cb): Likewise.
10582         (window_focus_or_active_state_change_cb): New function.
10583         (create): Add filter that removes WM_TAKE_FOCUS client messages.
10584         (connectSignals): Don't attach handlers to focus-in-event or
10585         focus-out-event signals.  Handle notify signal.
10587 2004-03-11  David Jee  <djee@redhat.com>
10589         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
10590         (gtkSetLabel): New native method declaration.
10591         (setLabel): Use gtkSetLabel.
10592         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
10593         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
10595 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
10597         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
10598         black when color argument is null.
10600 2004-03-10  Kim Ho  <kho@redhat.com>
10602         * java/awt/Container.java: Remove check
10603         for drag events.
10605 2004-03-10  Kim Ho  <kho@redhat.com>
10607         * java/awt/Container.java: (visitChild):
10608         Remove candidate clip. Use the component
10609         clip to intersect.
10610         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
10611         (handleEvent): Use the PaintEvent's clip.
10613 2004-03-10  Kim Ho  <kho@redhat.com>
10615         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
10616         (handleEvent): Don't set the clip for the
10617         Graphics object.
10619 2004-03-09  Graydon Hoare  <graydon@redhat.com>
10621         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
10622         Fix double <-> fixed macros, reset font transform.
10623         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
10624         Likewise.
10626 2004-03-09  Kim Ho  <kho@redhat.com>
10628         * java/awt/Container.java: (visitChild): Move
10629         the x and y coordinate of the component rectangle
10630         to correct position.
10631         (handleEvent): Forward drag events to the pressed
10632         component.
10633         * javax/swing/plaf/basic/BasicScrollBarUI.java:
10634         Fix comments.
10635         (ArrowButtonListener::mousePressed): Stop the
10636         existing timer.
10637         (mouseDragged): Implement.
10638         (TrackListener::mousePressed): Only react if
10639         the press doesn't occur on the thumb, otherwise
10640         just set the offset.
10641         (TrackListener::mouseReleased): Unset the isAdjusting
10642         value.
10643         (createIncreaseIcon): Switch icon.
10644         (createDecreaseIcon): Switch icon.
10645         (calculatePreferredSize): Use width.
10646         (getThumbBounds): Use the top as the lower value.
10647         (layoutVScrollBar): Switch the button locations.
10648         (paintIncreaseHighlight): Paint correct side of thumb.
10649         (paintDecreaseHighlight): ditto.
10650         (valueForYPosition): Use top as the lower value.
10651         * javax/swing/plaf/basic/BasicSliderUI.java:
10652         Fix comments.
10653         (mouseDragged): Implement.
10654         (mousePressed): Only react when the thumb isn't
10655         pressed, otherwise just set offset.
10656         (mouseReleased): Handle a release of the thumb.
10657         (scrollDueToClickInTrack): Stop the timer first.
10658         * javax/swing/JProgressBar.java:
10659         (setString): Fix change condition.
10660         * javax/swing/JSeparator.java:
10661         Remove println's.
10663 2004-03-08  David Jee  <djee@redhat.com>
10665         * java/awt/image/AffineTransformOp.java:
10666         (filter): Use Graphics2D interface instead of directly using the
10667         GdkGraphics2D peer.
10669 2004-03-05  David Jee  <djee@redhat.com>
10671         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10672         (handleEvent): Action events are generated upon MOUSE_RELEASED.
10673         * java/awt/Container.java
10674         (acquireComponentForMouseEvent): Fixed.
10675         (handleEvent): Fixed.
10676         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10677         (state_to_awt_mods_with_button_states): New method.
10678         (pre_event_handler): Fixed mouse event generation.
10680 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
10682         gnu/java/awt/peer/gtk/GdkGraphics2D.java
10683         (GdkGraphics2D (BufferedImage)): Initialize
10684         pixmap associated with specified BufferedImage.
10685         (setPaint): Changed implementation of Texture
10686         Paint to use AffineTransformOp.
10687         * java/awt/image/AffineTransformOp.java
10688         (createCompatibleDestRaster): Throw RasterFormatException 
10689         if resulting width or height of raster is 0.
10691 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
10693         * java/awt/image/AffineTransformOp.java:
10694         Removed unnecessary field interpolationType.
10695         Formatted some of the lines to be consistent with 
10696         the GNU style.
10697         (AffineTransformOp): Create new RenderingHints 
10698         containing specified interpolation type.
10699         (createCompatibleDestImage): Implemented.
10700         (createCompatibleDestRaster): Implemented.
10701         (filter): Implemented.
10702         (getBounds2D(BufferedImage)): Implemented.
10703         (getBounds2D(Raster)): Implemented.
10704         (getInterpolationType): Get interpolation value from 
10705         rendering hints.
10707 2004-03-04  David Jee  <djee@redhat.com>
10709         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10710         (setFont): Check if child peers are null.
10712 2004-03-04  Graydon Hoare  <graydon@redhat.com>
10714         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
10715         .libs in -L option.
10716         (libjava_arguments): Add new libraries to argument list.
10718 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
10720         * Makefile.am: Added java/awt/image/AffineTransformOp.java
10721         * Makefile.in: Re-generated.
10722         * java/awt/image/AffineTransformOp.java: New Class.
10724 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
10726         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10727         (setPaint): Interpret correctly TexturePaint's
10728         anchor rectangle.
10729         (drawImage): Fixed scale factors of the affine
10730         transform.
10732 2004-02-27  David Jee  <djee@redhat.com>
10734         * gnu/java/awt/peer/gtk/GdkGraphics.java
10735         (GdkGraphics(Component)): Inherit font from component.
10736         (drawString): Use font style.
10737         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
10738         (gtkSetFont): New native method declaration.
10739         (setFont): New method.
10740         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10741         (gtkSetFont): New native method declaration.
10742         (setFont): Call new native method gtkSetFont.
10743         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10744         (setFont): For all child components who do not their fonts set,
10745         set their peers' fonts with this container's font.
10746         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
10747         Move all native method declarations to the top for readability.
10748         (gtkSetFont): New native method declaration.
10749         (setFont): New method.
10750         * java/awt/Component.java
10751         (setFont): Invalidate after setting the font.
10752         * java/awt/Container.java
10753         (invalidateTree): New method.
10754         (setFont): Invalidate the container tree after setting the font.
10755         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10756         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
10757         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
10758         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
10759         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10760         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
10761         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
10762         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
10764 2004-02-27  Olga Rodimina <rodimina@redhat.com>
10766         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10767         (updateBufferedImage): New helper function.
10768         Updates BufferedImage in memory if it was changed.
10769         (draw): changed to update BufferedImage in memory after
10770         this drawing operation
10771         (fill): Ditto.
10772         (draw3DRect): Ditto.
10773         (fill3DRect): Ditto.
10774         (clearRect): Ditto.
10775         (drawRaster): Ditto.
10776         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
10777         no affine transformation.
10778         (drawGlyphVector): Ditto.
10780 2004-02-26  Olga Rodimina <rodimina@redhat.com>
10782         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10783         (isBufferedImageGraphics): New Helper function. 
10784         Returns true if this graphics2d can be used to draw 
10785         into buffered image and false otherwise.
10786         (updateImagePixels): New Helper function. 
10787         Updates pixels in the BufferedImage.
10788         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
10789         (getImagePixels): New function. Returns pixels
10790         of the buffered image associated with 
10791         this Graphics2D.
10793 2004-02-26  David Jee  <djee@redhat.com>
10795         * java/awt/BorderLayout.java
10796         (layoutContainer): Fix width and height calculations to ensure
10797         that they're non-negative.
10798         * java/awt/Component.java
10799         (setBackground): If c is null, inherit from closest ancestor whose
10800         background color is set.
10802 2004-02-26  Kim Ho  <kho@redhat.com>
10804         * Makefile.am: Add new files.
10805         * Makefile.in: Re-generate.
10806         * javax/swing/JProgressBar.java: 
10807         (JProgressBar(int, int int)): Throw
10808         IllegalArgumentException if orientation is
10809         invalid.
10810         (JProgressBar(BoundedRangeModel)): Create
10811         ChangeListener and register it. UpdateUI.
10812         (getChangeListeners): Implement.
10813         (setModel): Reset ChangeListener.
10814         * javax/swing/JScrollBar.java: Implement.
10815         * javax/swing/JSeparator.java: Implement.
10816         * javax/swing/JSlider.java:
10817         (JSlider(int, int, int, int)): Throw 
10818         IllegalArgumentException if orientation
10819         is invalid.
10820         (getChangeListeners): Fix method name.
10821         * javax/swing/SwingUtilities.java:
10822         (layoutCompoundLabel): If there is no text,
10823         set the text rectangle dimensions to 0.
10824         * javax/swing/plaf/basic/BasicButtonUI.java:
10825         (paint): If there is no text, don't paint it.
10826         * javax/swing/plaf/basic/BasicScrollBarUI.java:
10827         Implement.
10828         * javax/swing/plaf/basic/BasicSeparatorUI.java:
10829         Implement.
10830         * javax/swing/plaf/basic/BasicSliderUI.java: 
10831         (propertyChange): If the model changes, change
10832         the listeners accordingly.
10834 2004-02-25  Graydon Hoare  <graydon@redhat.com>
10836         * javax/swing/AbstractButton.java: Add "final" qualifiers.
10837         * javax/swing/JList.java: Reimplement.
10838         * javax/swing/DefaultListSelectionModel.java: Reimplement.
10839         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
10840         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
10841         * javax/swing/ListModel.java: Javadoc.
10842         * javax/swing/ListSelectionModel.java: Add missing methods.
10843         * javax/swing/AbstractListModel.java: Javadoc and corrections.
10844         * javax/swing/DefaultListModel.java: Javadoc and corrections.
10845         * javax/swing/ListModel.java: Javadoc and corrections.
10846         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
10848 2004-02-25  David Jee  <djee@redhat.com>
10850         * gnu/java/awt/peer/gtk/GtkFontPeer.java
10851         (GtkFontPeer): Change default size to 12.
10852         * gnu/java/awt/peer/gtk/GtkToolkit.java
10853         (getFontPeer): Change default size to 12.
10854         (getClasspathFontPeer): Likewise. Set default name to "Default".
10855         * java/awt/Font.java
10856         (Font(Map)): Call Font(String,Map).
10857         (Font(String,Map)): If attrs is null, initialize it as an empty
10858         HashMap, which will ensure that the Font will get default attributes.
10860 2004-02-25  David Jee  <djee@redhat.com>
10862         * gnu/java/awt/peer/gtk/GtkFontPeer.java
10863         (GtkFontPeer(String,int)): Call the new constructor with size 1.
10864         (GtkFontPeer(String,int,int)): New constructor with size attribute.
10865         * gnu/java/awt/peer/gtk/GtkToolkit.java
10866         (getFontPeer(String,int)): Call the new overload method with size 1.
10867         (getFontPeer(String,int,int)): New method. Overloaded with size
10868         attribute.
10869         (getClasspathFontPeer): Set the size of the font.
10871 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
10873         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10874         (bimage): New field.
10875         (GdkGraphics2D): New Constructor. Constructs Graphics
10876         object that can be used to draw into the Buffered Image.
10877         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
10878         (GdkGraphicsEnvironment): Fixed to include public 
10879         keyword.
10880         (createGraphics): Implemented.
10881         * gnu/java/awt/peer/gtk/GtkToolkit.java
10882         (getLocalGraphicsEnvironment): Implemented.
10883         * java/awt/GraphicsEnvironment.java:
10884         (getLocalGraphicsEnvironment): Implemented.
10885         * java/awt/image/BufferedImage.java:
10886         (createGraphics): Implemented.
10887                 
10888 2004-02-24  David Jee  <djee@redhat.com>
10890         * java/awt/Component.java
10891         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
10892         * java/awt/Container.java
10893         (addNotifyContainerChildren): Fix event enabling.
10895 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
10897         * Makefile.am: Added 
10898         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
10899         * Makefile.in: Re-generated.
10900         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
10901         New Class. 
10902         
10903 2004-02-19  Kim Ho  <kho@redhat.com>
10905         * Makefile.am: Add BasicProgressBarUI
10906         * Makefile.in: Regenerate.
10907         * javax/swing/JProgressBar.java: 
10908         Re-implement.
10909         * javax/swing/plaf/basic/BasicLookAndFeel.java
10910         Add constants for JProgressBar.
10911         * javax/swing/plaf/basic/BasicProgressBarUI.java
10912         Implement.
10913         * javax/swing/plaf/basic/BasicSliderUI.java
10914         Change comments.
10915         (calculateGeometry): New method
10916         (paint): Remove unnecessary size calculations.
10918 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
10920         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10921         (drawRaster): Fixed small error that caused
10922         imageToUser transformation to be set incorrectly.
10923         (toString): Implemented.
10925 2004-02-18  David Jee  <djee@redhat.com>
10927         * java/awt/CardLayout.java
10928         (addLayoutComponent): Show the first component added as the default.
10929         (removeLayoutComponent): After removing, show the next component.
10930         (gotoComponent): If there is only one component, show it and return.
10932 2004-02-18  Kim Ho  <kho@redhat.com>
10934         * javax/swing/JSlider.java: Re-order
10935         modifiers.
10936         * javax/swing/JLabel.java: Re-order
10937         modifiers.
10938         * javax/swing/JComponent.java: 
10939         (addPropertyChangeListener):
10940         Implement.
10941         (removePropertyChangeListener):
10942         ditto.
10943         (firePropertyChangeEvent):
10944         ditto.
10946 2004-02-17  David Jee  <djee@redhat.com>
10948         * java/awt/Component.java
10949         (show): Dispatch ComponentEvent via system event queue.
10950         (hide): Likewise.
10951         (move): Likewise.
10952         (resize): Likewise.
10953         (reshape): Likewise.
10954         * java/awt/Window.java
10955         (setBoundsCallback): Likewise.
10957 2004-02-17  David Jee  <djee@redhat.com>
10959         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10960         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
10961         Use gtk_widget_set_size_request() instead of the deprecated
10962         gtk_widget_set_usize().
10964 2004-02-17  Kim Ho  <kho@redhat.com>
10966         * javax/swing/JSlider.java: Fix comments and
10967         make property strings constants.
10968         (createStandardLabels): Use the labels
10969         preferred size as bounds.
10970         * javax/swing/plaf/basic/BasicSliderUI.java
10971         Fix comments.
10972         (ScrollHandler::actionPerformed): Don't
10973         calculate the timer stop value. Let the
10974         MouseListeners find the stop location.
10975         (getPreferredHorizontalSize): Re-implement.
10976         (getPreferredVerticalSize): ditto.
10977         (getMinimumHorizontalSize): ditto.
10978         (getMinimumVerticalSize): ditto.
10979         (getPreferredSize): ditto.
10980         (getMinimumSize): ditto.
10981         (getMaximumSize): ditto.
10982         (paintTicks): Use doubles to find the
10983         tick location.
10984         (paintHorizontalLabel):  Use preferredSize
10985         as initial width and height.
10986         (paintVerticalLabel): ditto.
10988 2004-02-17  Kim Ho  <kho@redhat.com>
10990         * javax/swing/JLabel.java: Changed 
10991         property strings to constants.
10992         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
10993         New property.
10994         (setText): Change mnemonic index if
10995         text is too short.
10996         (setDisplayedMnemonicIndex): Fire property
10997         change event.
10998         (getDisplayedMnemonicIndex): Remove check
10999         against short text.
11001 2004-02-17 Olga Rodimina <rodimina@redhat.com>
11003         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11004         (drawImage(img,xform,obs)): Invert xform before
11005         passing the xform to cairo.
11006         (drawImage(img,x,y,bgcolor,obs)): Implemented.
11007         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
11008         implemented.
11009         (drawImage (img,x,y,w,h,obs)): Implemented.
11010         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
11011         bgcolor,obs)): Partly implemented.
11012         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
11013         Implemented.
11014         * java/awt/image/BufferedImage.java:
11015         (copyData): if dest is null, create raster with same
11016         dimensions as the current image.
11018 2004-02-16  Graydon Hoare  <graydon@redhat.com>
11020         * javax/swing/plaf/basic/BasicLabelUI.java 
11021         (getPreferredSize): Use layoutCL.
11022         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11023         (getPreferredButtonSize): Start with empty view rect, layout using
11024         component's preferred alignment.
11025         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
11026         List defaults.
11028 2004-02-16  David Jee  <djee@redhat.com>
11030         * java/awt/Component.java
11031         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
11032         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
11033         (move): Erase old bounds and repaint new bounds. Dispatch
11034         COMPONENT_MOVED ComponentEvent.
11035         (resize): Erase old bounds and repaint new bounds. Dispatch
11036         COMPONENT_RESIZED ComponentEvent.
11037         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
11038         ComponentEvents.
11039         * java/awt/Window.java
11040         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
11041         ComponentEvents.
11043 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
11045         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11046         (setRenderingHint): Added implementation of 
11047         Interpolation rendering hints.
11048         (setRenderingHints): Ditto.
11049         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
11050         (drawPixels): fixed to allow user to choose type 
11051         of filtering that should be used when displaying images.
11052         (cairoSurfaceSetFilter): New method. Sets filter type for 
11053         interpolation of pixel values.
11055 2004-02-16  David Jee  <djee@redhat.com>
11057         * java/awt/GridBagLayout.java
11058         (calcCellSizes): Rows or columns with zero sizes should still be
11059         considered for extra space distribution.
11061 2004-02-16  Kim Ho  <kho@redhat.com>
11063         * javax/swing/JLabel.java: Re-implement.
11064         * javax/swing/plaf/basic/BasicLabelUI.java
11065         Re-implement.
11066         * javax/swing/plaf/basic/BasicLookAndFeel.java:
11067         Added constant.
11069 2004-02-16  Kim Ho  <kho@redhat.com>
11071         * javax/swing/JSlider.java: Fix indentation and comments.
11072         (setModel): Remove null check to conform with Sun's.
11073         (setOrientation): Throw exception if not
11074         HORIZONTAL or VERTICAL.
11075         (getInverted): Use private variable instead of 
11076         ComponentOrientation.
11077         (setInverted): ditto.
11078         * javax/swing/plaf/basic/BasicSliderUI.java:
11079         Fix indentation and comments.
11080         (propertyChange): Remove check for inverted slider, handle
11081         in main paint.
11082         (getMinimumSize): Return preferred size.
11083         (getMaximumSize): ditto.
11084         (calculateFocusRect): Don't relocate rectangle.
11085         (drawInverted): Return XOR of the slider's inversion and 
11086         the component's orientation.
11087         (paint): Update leftToRightCache
11089 2004-02-13  David Jee  <djee@redhat.com>
11091         * java/awt/GridBagLayout.java
11092         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
11093         code to helper methods.
11094         (sortBySpan): New helper method.
11095         (distributeSizeAndWeight): Likewise.
11096         (calcCellWeights): Likewise.
11097         (calcCellSizes): Add comments.
11099 2004-02-13  David Jee  <djee@redhat.com>
11101         * java/awt/Component.java
11102         (show): Only do something if component is invisible at the moment.
11103         (hide): Only do something if component is visible at the moment.
11104         (reshape): If lightweight, erase old bounds and repaint new bounds.
11106 2004-02-13  Kim Ho  <kho@redhat.com>
11108         * Makefile.am: Updated for new file.
11109         * Makefile.in: Regenerated.
11110         * javax/swing/JSlider.java: Reimplement.
11111         * javax/swing/SwingUtilities.java
11112         (layoutCompoundLabel): Use icon height
11113         instead of width.
11114         (paintComponent): Implement.
11115         * javax/swing/plaf/basic/BasicLookAndFeel.java:
11116         Add JSlider defaults.
11117         * javax/swing/plaf/basic/BasicSliderUI.java:
11118         Implement. New file.
11120 2004-03-17  Michael Koch  <konqueror@gmx.de>
11122         * gnu/java/net/PlainDatagramSocketImpl.java
11123         (RECEIVE_LOCK): New member field.
11124         (SEND_LOCK): New member field.
11125         (send0): New method.
11126         (send): Synchronize on SEND_LOCK.
11127         (receive0): New method.
11128         (receive): Synchronize on RECEIVE_LOCK.
11129         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
11130         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
11131         gnu/java/net/natPlainDatagramSocketImplWin32.cc
11132         (send0): Renamed from send.
11133         (receive0): Renamed from receive.
11134 2004-03-17  Michael Koch  <konqueror@gmx.de>
11136         * gnu/java/net/natPlainSocketImplPosix.cc
11137         (write): Just call write(jbyteArray, offset, len).
11138         (read): Just call read(jbyteArray, offset, len).
11140 2004-03-16  Michael Koch  <konqueror@gmx.de>
11142         * javax/swing/JTabbedPane.java
11143         (serialVersionUID): New field.
11145 2004-03-16  Norbert Frese  <postfach@nfrese.net>
11147         * java/net/InetAddress.java
11148         (getByName): Handle hostname == "" case.
11150 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
11152         Reported by: Adam Heath <doogie@debian.org>
11153         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
11154         class loader.
11156 2004-03-15  Michael Koch  <konqueror@gmx.de>
11158         * java/util/Locale.java: Reverting my last patch
11159         and add a comment why the original version was okay.
11161 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
11163         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
11164         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
11165         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
11166         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
11168 2004-03-12  Michael Koch  <konqueror@gmx.de>
11170         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
11172 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
11174         * java/net/URI.java (toURL): Implemented.
11176 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
11178         * java/net/URI.java
11179         (URI_REGEXP) updated to contain scheme specific part.
11180         (SCHEME_SPEC_PART_GROUP) new constant.
11181         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
11182         updated to make room for SCHEME_SPEC_PART_GROUP.
11183         (parseURI) parse scheme specific part.
11184         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
11185         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
11186         getQuery, getFragment) implemented.
11188 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
11190         * libraries/javalib/java/net/URI.java
11191         partially implemented using java.util.regex.
11192         (URI_REGEXP) new constant. Used to parse URIs.
11193         (SCHEME_GROUP) new constant representing index of scheme group
11194         in parsed URI.
11195         (AUTHORITY_GROUP) new constant representing index of authority
11196         group in parsed URI.
11197         (PATH_GROUP) new constant representing index of path group in
11198         parsed URI.
11199         (QUERY_GROUP) new constant representing index of query group in
11200         parsed URI.
11201         (FRAGMENT_GROUP) new constant representing index of fragment
11202         group in parsed URI.
11203         (getURIGroup) new static utility method.
11204         (parseURI) implemented.
11205         (quote) stub for new static utility method.
11206         (quoteAuthority) stub for new static utility method.
11207         (quoteHost) stub for new static utility method.
11208         (quotePath) stub for new static utility method.
11209         (quoteUserInfo) stub for new static utility method.
11210         (URI) implemented.
11211         (create) don't throw URISyntaxException. Implemented.
11212         (toString) implemented.
11214 2004-03-12  Michael Koch  <konqueror@gmx.de>
11216         * java/net/HttpURLConnection.java
11217         (getResponseCode): Fix another typo in javadoc.
11219 2004-03-11  Michael Koch  <konqueror@gmx.de>
11221         * java/util/logging/Level.java
11222         (parse): Use String.equals() instead of ==.
11224 2004-03-11  Michael Koch  <konqueror@gmx.de>
11226         * gnu/java/net/protocol/jar/Connection.java
11227         (getContentLength): New method.
11229 2004-03-11  Michael Koch  <konqueror@gmx.de>
11231         * gnu/java/net/PlainSocketImpl.java:
11232         Reformated to merge better with classpath's version.
11234 2004-03-11  Michael Koch  <konqueror@gmx.de>
11236         * java/util/Locale.java
11237         (getISO3Language): Use String.equals() instead of ==.
11238         (getISO3Country): Likewise.
11240 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
11242         * java/text/AttributedString.java
11243         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
11244         Use HashMap instead of Hashtable since value can be null, and
11245         you can not store a null value in a Hashtable.
11247 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
11249         * java/text/AttributedStringIterator.java
11250         (getAllAttributesKey): Return only keys concerned
11251         by the current iterator.
11252         (getAttributes): Use strict inequality for
11253         end_index. 
11255 2004-03-11  Michael Koch  <konqueror@gmx.de>
11257         * java/net/HttpURLConnection.java:
11258         Fixed typo in javadoc.
11260 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
11262         * java/io/BufferedInputStream.java (marktarget): New field for max
11263         mark limit.
11264         (CHUNKSIZE): New constant for incremental mark buffer allocation.
11265         (mark): Use new fields.
11266         (read): Likewise.
11267         (read(byte[],int,int)): Likewise.
11268         (skip): Likewise.
11269         (refill): Likewise.
11271 2004-03-11  Mark Wielaard  <mark@klomp.org>
11273         * java/beans/BeanDescriptor.java (BeanDescriptor):
11274         Set the FeatureDescriptor programmatic name.
11276 2004-03-11  Michael Koch  <konqueror@gmx.de>
11278         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
11279         This file was was just copied form java/io/natFileDescriptorEcos.cc
11280         and never changed to compile correctly.
11282 2004-03-11  Michael Koch  <konqueror@gmx.de>
11284         * gnu/java/nio/PipeImpl.java
11285         (SourceChannelImpl): Made final.
11286         (read): Implemented.
11287         (SinkChannelImpl): Made final.
11288         (write): Implemented.
11290 2004-03-11  Michael Koch  <konqueror@gmx.de>
11292         * gnu/java/net/PlainDatagramSocketImpl.java:
11293         Reformated to match classpath's version more.
11295 2004-03-11  Michael Koch  <konqueror@gmx.de>
11297         * gnu/java/awt/peer/ClasspathFontPeer.java:
11298         Fixed javadoc to be correct xhtml.
11299         * gnu/java/awt/peer/gtk/GtkArgList.java
11300         (add): Use Boolean.valueOf() instead of new Boolean().
11302 2004-03-09  Michael Koch  <konqueror@gmx.de>
11304         * java/lang/Thread.java
11305         (runnable): Moved around.
11306         (daemon): Renamed from daemon_flag.
11307         (contextClassLoader): Renamed from context_class_loader.
11308         (Thread): Reordered constructors.
11309         (activeCount): Use group directly.
11310         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
11311         (holdsLock): Reworked javadoc.
11312         (setDaemon): Reworked.
11313         * java/lang/natThread.cc
11314         (destroy): Removed.
11316 2004-03-08  Anthony Green  <green@redhat.com>
11318         * Makefile.am: Build property resource files into libgcj.
11319         * Makefile.in: Rebuilt.
11320         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
11321         java/util/regex/PatternSyntaxException.java,
11322         gnu/regexp/CharIndexed.java,
11323         gnu/regexp/CharIndexedCharArray.java,
11324         gnu/regexp/CharIndexedInputStream.java,
11325         gnu/regexp/CharIndexedReader.java,
11326         gnu/regexp/CharIndexedString.java,
11327         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
11328         gnu/regexp/REException.java,
11329         gnu/regexp/REFilterInputStream.java,
11330         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
11331         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
11332         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
11333         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
11334         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
11335         gnu/regexp/RETokenLookAhead.java,
11336         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
11337         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
11338         gnu/regexp/RETokenStart.java,
11339         gnu/regexp/RETokenWordBoundary.java,
11340         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
11342 2004-03-03  Per Bothner  <per@bothner.com>
11344         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
11345         Optimize when argument is a FileChannelImpl.
11346         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
11347         New native methods.
11348         * java/nio/channels/natChannels.cc:  New file for new native methods.
11349         * Makefile.am:  Update accordingly.
11351 2004-03-02  Jan Hubicka  <jh@suse.cz>
11353         * configure.host: Pass -fno-omit-frame-pointer for i386.
11354         * configure.in: Likewise.
11355         * configure: Regenerate.
11357 2004-03-01  Per Bothner  <per@bothner.com>
11359         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
11361 2004-02-29  Per Bothner  <per@bothner.com>
11363         * java/nio/channels/FileChannelImpl.java:  Moved to package
11364         gnu/java/nio/channels, since we need to refer to it from java.io.
11365         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
11366         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
11367         from java/nio/channels.  Don't depend on FileDescriptor.
11368         (in, out, err):  New static fields.
11369         (mode):  New field.
11370         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
11371         from FileDescriptor.
11372         (by):  Removed MappedByteBuffer field.
11373         (map):  New working implementation.
11374         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
11375         some code "ported" from natFileDescriptoPosix.cc.
11376         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
11377         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
11378         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
11379         Remove native methods.
11380         * Makefile.am, configure.in:  Updated accordingly.
11382         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
11383         (ch):  New FileChannelImpl field.  Update constructor to match.
11384         (releaseImpl):  Remove native method.  Instead ...
11385         (release):  Call unlock on channel.
11386         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
11388         * java/io/natFileDescriptorEcos.cc:  Remove file.
11389         * java/io/natFileDescriptorPosix.cc:  Remove file.
11390         * java/io/natFileDescriptorWin32.cc:  Remove file.
11391         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
11392         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
11393         (<init>(FileChannelImpl)):  New package-private constructor.
11394         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
11395         (available, close, read, skip):  Implement using FileChannelImpl.
11396         (getFD):  Allocate FileDescriptor if needed.
11397         (getChannel):  Is now trivial.
11398         * java/io/FileOutputStream.java:  Corresponding changes.
11399         * java/io/RandomAccessFile.java:  Corresponding changes.
11401         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
11402         unmapImpl):  New dummy methods, to be overridden by subclass.
11403         (finalize, isLoaded, load, force):  New methods.
11404         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
11405         Now works, at least for read mapping.
11407         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
11408         streams using FileChannelImpl, not FileDescriptor.
11409         * java/lang/natWin32Process.cc (startProcess):  Likewise.
11411 2004-02-28  Michael Koch  <konqueror@gmx.de>
11413         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
11414         wrong code.
11416 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
11418         * java/io/ObjectInputStream.java
11419         (readClassDescriptor): Keep elements of the mapping non null.
11420         (checkTypeConsistency): New method.
11421         (readFields): Fixed main loop and base logic. Small reindentation.
11422         * java/io/ObjectStreamField.java
11423         (lookupField): New method to update the field reference.
11424         (checkFieldType): New method.
11425         * java/io/ObjectStreamClass.java
11426         (setClass, setFields): Call lookupField when building the field
11427         database. Check the real field type.
11429 2004-02-28  Michael Koch  <konqueror@gmx.de>
11431         * java/nio/ByteOrder.java
11432         (nativeOrder): Use equals() to compare strings.
11434 2004-02-26  Michael Koch  <konqueror@gmx.de>
11436         * gnu/java/nio/FileLockImpl.java
11437         (finalize): Made protected.
11438         * java/nio/channels/FileChannel.java
11439         (MapMode.READ_ONLY): Made final.
11440         (MapMode.READ_WRITE): Made final.
11441         (MapMode.PRIVATE): Made final.
11442         * java/nio/channels/SocketChannel.java
11443         (open): Simplified code.
11444         * java/nio/channels/spi/AbstractSelectableChannel.java
11445         (registered): Unused, removed.
11446         (keyFor): Check channel is open, only locate key
11447         and not add a new one.
11448         (register): Don't delete attachments.
11450 2004-02-26  Michael Koch  <konqueror@gmx.de>
11452         * gnu/java/awt/ComponentDataBlitOp.java
11453         (INSTANCE): Made final.
11454         * gnu/java/awt/image/ImageDecoder.java:
11455         Reworked imports.
11456         (cm): Unused, removed.
11458 2004-02-26  Michael Koch  <konqueror@gmx.de>
11460         * gnu/java/nio/DatagramChannelImpl.java
11461         (send): Check if target address is resolved.
11463 2004-02-26  Michael Koch  <konqueror@gmx.de>
11465         * Makefile.am: Generate and install headers for inner classes in
11466         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
11467         * Makefile.in: Regenerated.
11469 2004-02-24  Anthony Green  <green@redhat.com>
11471         * java/lang/StringBuffer.java: No need to NULL out remainder of
11472         buffer since ensureCapacity_unsynchronized will have done this for
11473         us.
11475 2004-02-20  Michael Koch  <konqueror@gmx.de>
11477         * gnu/java/net/protocol/jar/Handler.java
11478         (): Removed unneeded check for file != null. java.net.URL.getFile()
11479         returns an empty string but never null.
11481 2004-02-20  Michael Koch  <konqueror@gmx.de>
11483         * gnu/gcj/convert/Convert.java
11484         (main): Use equals() to compare strings.
11486 2004-02-20  Michael Koch  <konqueror@gmx.de>
11488         * javax/swing/AbstractButton.java: Made several constants final.
11489         (getRolloverSelectedIcon): Made public.
11490         (getSelectedIcon): Made public.
11492 2004-02-16  Per Bothner  <per@bothner.com>
11494         * java/nio/CharBufferImpl.java:  Inline super constructor.
11495         * java/nio/DoubleBufferImpl.java:  Likewise.
11496         * java/nio/FloatBufferImpl.java:  Likewise.
11497         * java/nio/IntBufferImpl.java:  Likewise.
11498         * java/nio/LongBufferImpl.java:  Likewise.
11499         * java/nio/ShortBufferImpl.java:  Likewise.
11500         * java/nio/CharBuffer.java:  Remove unused constructor.
11501         * java/nio/DoubleBuffer.java:  Likewise.
11502         * java/nio/FloatBuffer.java:  Likewise.
11503         * java/nio/IntBuffer.java:  Likewise.
11504         * java/nio/LongBuffer.java:  Likewise.
11505         * java/nio/ShortBuffer.java:  Likewise.
11506         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
11507         Fix buggy call to super constructor.
11508         * java/nio/DoubleViewBufferImpl.java:  Likewise.
11509         * java/nio/FloatViewBufferImpl.java:  Likewise.
11510         * java/nio/IntViewBufferImpl.java:  Likewise.
11511         * java/nio/LongViewBufferImpl.java:  Likewise.
11512         * java/nio/ShortViewBufferImpl.java:  Likewise.
11513         
11514         * java/nio/ByteBuffer.java (endian):  Make non-private so other
11515         java.nio classes can inherit it.
11516         (<init>):  Don't bother clearing array_offset.
11517         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
11518         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
11519         Remove redundant test.
11521         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
11522         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
11523         Use new XxxViewBufferImpl constructors.
11524         * java/nio/MappedByteBufferImpl.java:  Likewise.
11525         * java/nio/DirectByteBufferImpl.java:  Likewise.
11527         * java/nio/ByteBufferImpl.java:  Remove one constructor.
11528         Inline super in remaining constructor.
11529         * java/nio/ByteBuffer.java:  Remove unused constructor.
11531         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
11533         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
11534         * java/nio/DirectByteBufferImpl.java (owner):  New field.
11535         (offset):  Remove unused field.
11536         (<init>):  Modify one and add another constructor.  Change callers.
11537         (allocateDirect):  Removed - not used.
11538         (getImpl, putImpl):  Make static and pass address explicitly,
11539         to make them useful for MappedByteBufferImpl.
11540         (get, put):  Check for underflow.  Modify for new getImpl.
11541         (getImpl):  New native method where target is array.
11542         (get(byte[],int,int)):  Use the above.
11543         (adjustAddress):  New static native method.
11544         (slice, duplicate, asReadOnly):  New implementations.
11545         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
11546         adjustAddress):  New or updated native methods.
11548 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
11550         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
11551         overflow of fieldmapping.
11553 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
11555         * javax/swing/undo/UndoManager.java: Re-written from scratch.
11557 2004-02-14  Per Bothner  <per@bothner.com>
11559         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
11560         Set closed before calling implCloseChannel, as in the spec.
11562 2004-02-09  Graydon Hoare  <graydon@redhat.com>
11564         * javax/swing/ToggleButtonModel.java: Remove dead class.
11565         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
11566         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
11567         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
11568         * Makefile.am: Update for new and removed files.
11569         * Makefile.in: Regenerate.
11571         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
11572         * javax/swing/AbstractButton.java 
11573         (AbstractButton): Initialize fields correctly in ctor.
11574         * javax/swing/JCheckbox.java 
11575         (JCheckBox): Override painting flags.
11576         * javax/swing/DefaultButtonModel.java: Conform to sun.
11577         * javax/swing/JComponent.java (paint): Fill with background color
11578         if available.
11579         (processComponentKeyEvent)
11580         (processFocusEvent)
11581         (processKeyEvent)
11582         (processMouseMotionEvent): Remove event-consuming empty methods.
11583         (getUIClassID): Return "ComponentUI" not "JComponent"
11584         * javax/swing/JFrame.java: Remove some debugging chatter.
11585         (JFrame): Subscribe to window events.
11586         * javax/swing/JRadioButton.java 
11587         (JRadioButton): Override painting flags.
11588         * javax/swing/JRootPane.java 
11589         (JRootPane): Set background from UIDefaults.
11590         * javax/swing/JToggleButton.java 
11591         (ToggleButtonModel): New inner class.
11592         (JToggleButton): Override layout alighment.
11593         * javax/swing/SwingUtilities.java:
11594         (getLocalBounds): Return width and height, not x and y.
11595         (calculateInnerArea): Use local bounds, not bounds.
11596         (layoutCompoundLabel): Provide overridden form.
11597         (layoutCompoundLabel): Correct bugs.
11598         * javax/swing/UIDefaults.java: Correct comment.
11599         * javax/swing/plaf/basic/BasicButtonUI.java: 
11600         Move most logic into defaults, external listener.
11601         (paintIcon): Implement icon painting.
11602         (paint): Fix state painting to conform to changes in model.
11603         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
11604         Remove most dead/wrong methods.
11605         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
11606         * javax/swing/plaf/basic/BasicIconFactory.java:
11607         (DummyIcon): New class.
11608         (getMenuItemCheckIcon)
11609         (getMenuItemArrowIcon) 
11610         (getMenuArrowIcon)
11611         (getCheckBoxMenuItemIcon)
11612         (getRadioButtonMenuItemIcon)
11613         (createEmptyFrameIcon): Return DummyIcons, not null.
11614         (getCheckBoxIcon): Implement an icon that looks like sun's.
11615         (getRadioButtonIcon): Implement an icon that looks like sun's.
11616         * javax/swing/plaf/basic/BasicLookAndFeel.java 
11617         (initComponentDefaults): Fix impossible values, add some missing.
11618         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
11619         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
11620         Remove most dead/wrong methods.
11621         (icon): New field.
11622         (getDefaultIcon): New method.
11623         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
11624         Remove most dead/wrong methods.
11625         * javax/swing/plaf/metal/MetalLookAndFeel.java
11626         (getDefaults): Return super.getDefaults(), not BasicDefaults.
11627         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
11628         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
11629         Implement "clearing" as drawing, when on pixmap drawables.
11631         * javax/swing/JButton.java (getUIClassID): 
11632         * javax/swing/JCheckBox.java (getUIClassID):
11633         * javax/swing/JEditorPane.java (getUIClassID):
11634         * javax/swing/JLabel.java (getUIClassID): 
11635         * javax/swing/JList.java (getUIClassID): 
11636         * javax/swing/JOptionPane.java (getUIClassID): 
11637         * javax/swing/JPanel.java (getUIClassID): 
11638         * javax/swing/JPasswordField.java (uiClassID): 
11639         * javax/swing/JRadioButton.java (getUIClassID): 
11640         * javax/swing/JRootPane.java (getUIClassID): 
11641         * javax/swing/JScrollPane.java (getUIClassID): 
11642         * javax/swing/JTabbedPane.java (getUIClassID): 
11643         * javax/swing/JToggleButton.java (getUIClassID): 
11644         * javax/swing/JTree.java (getUIClassID): 
11645         * javax/swing/JViewport.java (getUIClassID): 
11646         * javax/swing/text/JTextComponent.java (getUIClassID):
11647         Return "fooUI" not "Jfoo"
11649 2004-02-11  Michael Koch  <konqueror@gmx.de>
11651         * java/net/DatagramSocket.java
11652         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
11653         Boolean object.
11654         (setBroadcast): Likewise.
11655         * java/net/MulticastSocket.java
11656         (setLoopbackMode): Likewise.
11657         * java/net/ServerSocket.java
11658         (setReuseAddress): Likewise.
11659         * java/net/Socket.java
11660         (setTcpNoDelay): Likewise.
11661         (setSoLinger): Likewise.
11662         (setOOBInline): Likewise.
11663         (setKeepAlive): Likewise.
11664         (setReuseAddress): Likewise.
11665         * java/net/URLConnection.java
11666         (setContentHandler): Replace == with equals().
11667         * java/net/URLStreamHandler.java
11668         (hostSEquals): Fix checking host addresses.
11669         (toExternalForm): Dont check protocol for null. We know already its
11670         not null.
11672 2004-02-10  David Jee  <djee@redhat.com>
11674         * java/awt/BorderLayout.java
11675         (calcCompSize): Invisible components get zero dimensions.
11676         * java/awt/Button.java
11677         (setLabel): Set actionCommand.
11678         * java/awt/Component.java
11679         (show): Invalidate component and parent container.
11680         (hide): Likewise.
11682 2004-02-10  David Jee  <djee@redhat.com>
11684         * java/awt/GridBagLayout.java
11685         (GridBagLayout): New private field, internalcomptable.
11686         (lookupInternalConstraints): New method.
11687         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
11688         (GetLayoutInfo): Reimplement.
11689         (calcCellSizes): Ignore rows/columns with size 0.
11691 2004-02-10  Michael Koch  <konqueror@gmx.de>
11693         * gnu/java/awt/EmbeddedWindow.java
11694         (setHandle): Use java.awt.Component.getPeer() instead of
11695         java.awt.Component.peer directly.
11697 2004-02-10  David Jee  <djee@redhat.com>
11699         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
11700         (gtkSetLabel): New native method definition.
11701         (setLabel): Use gtkSetLabel.
11702         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
11703         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
11705 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
11707         * include/powerpc-signal.h: Revert 2004-01-21 change.
11708         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
11709         from syscall for ppc32 versions.
11711 2004-02-08  Per Bothner  <per@bothner.com>
11713         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
11714         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
11715         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
11716         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
11717         Pass ByteOrder parameter to most methods, since the underlying
11718         ByteBuffer's order isn't always what we should use.
11719         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
11720         * java/nio/DirectByteBufferImpl.java:  Likewise.
11721         Use ByteBufferHelper methods.
11722         * java/nio/MappedByteBufferImpl.java:  Likewise.
11723         (compact):  Use shiftDown.
11724         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
11725         (get, put):  Use ByteBufferHelper.
11726         (compact):  Use new shiftDown method.
11727         (duplicate(boolean)):  New helper method.
11728         (duplicate, asReadOnlyBuffer):  Use it.
11729         (order):  Return endian field.
11730         * java/nio/DoubleViewBufferImpl.java:  Likewise.
11731         * java/nio/FloatViewBufferImpl.java:  Likewise.
11732         * java/nio/IntViewBufferImpl.java:  Likewise.
11733         * java/nio/LongViewBufferImpl.java:  Likewise.
11734         * java/nio/ShortViewBufferImpl.java:  Likewise.
11735         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
11736         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
11737         (compact):  Re-implement using shiftDown.
11739 2004-02-08  Andreas Jaeger  <aj@suse.de>
11741         * include/x86_64-signal.h: Fix typo.
11743 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
11745         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
11746         qualifier to _regs.
11747         (HANDLE_DIVIDE_OVERFLOW): Likewise.
11749 2004-02-06  Michael Koch  <konqueror@gmx.de>
11751         * java/io/ObjectInputStream.java
11752         (currentClassLoader): Reverted to old version of this method.
11754 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
11756         * java/io/ObjectInputStream.java: Made all calls
11757         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
11758         use cached info from ObjectStreamClass. (readClassDescriptor):
11759         Cache more information in ObjectStreamClass. (processResolution,
11760         readFields): Use cached info from ObjectStreamClass.
11761         (newObject): Throw exception instead of returning null for failure.
11762         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
11763         setCharField, setDoubleField, setFloatField, setIntField,
11764         setLongField, setShortField, setObjectField, readObjectParams):
11765         Removed. (dumpElement, dumpElementln): Removed dump flag condition
11766         check.
11767         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
11768         (setClass): Added call to cacheMethods() (findMethod): New method.
11769         (cacheMethods): New method. (ObjectStreamClass): Added call to
11770         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
11771         AccessController.doPrivileged to invoke setAccessible.
11772         (readObjectMethod, readResolveMethod, realClassIsSerializable,
11773         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
11774         New fields.
11775         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
11776         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
11777         isPrimitive): Made safe for cases where type == null.
11778         (setBooleanField, setByteField, setCharField, setShortField,
11779         setIntField, setLongField, setFloatField, setDoubleField,
11780         setObjectField): New methods.
11782 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
11784         * java/awt/Component.java (getFont): Return a default font
11785         instead of null.
11787         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
11788         (Scrollbar (int, int, int, int, int)): Make default page
11789         increment 10.
11790         (setValues): Only call peer.setValues if one of the values has
11791         changed.
11792         (generateName): New method.
11793         (getUniqueLong): New method.
11794         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
11795         (range_scrollbar): Remove structure.
11796         (post_adjustment_event): Remove function.
11797         (post_change_event): Accept jobject argument.
11798         (create): Cast jints to gdoubles.  Round scrollbar values to the
11799         nearest integer.  Clamp min, max and value settings.
11800         (connectJObject): Connect hook to widget->window.
11801         (connectSignals): Remove range_scrollbar structure variables.
11802         Remove "move-slider" connection.  Pass global peer reference to
11803         "value-changed" callback.
11804         (setLineIncrement): Cast jint value to gdouble.
11805         (setPageIncrement): Likewise.
11806         (setValues): Likewise.  Clamp min, max and value settings.
11808 2004-02-05  Michael Koch  <konqueror@gmx.de>
11810         * javax/swing/AbstractCellEditor.java
11811         (getCellEditorValue): Removed.
11812         * javax/swing/Box.java: Reformated.
11813         (serialVersionUID): New field.
11814         * javax/swing/ButtonGroup.java:
11815         Removed some weird whitespace.
11816         * javax/swing/CellEditor.java: Reformated.
11817         * javax/swing/CellRendererPane.java
11818         (serialVersionUID): New field.
11819         (AccessibleCellRendererPaneserialVersionUID): New field.
11820         * javax/swing/DefaultListModel.java
11821         (serialVersionUID): New field.
11822         * javax/swing/JEditorPane.java
11823         (serialVersionUID): New field.
11824         (setPage): Throws IOException.
11825         (addHyperlinkListener): Implemented.
11826         (removeHyperlinkListener): Implemented.
11827         (getHyperlinkListener): New method.
11828         * javax/swing/JFileChooser.java
11829         (serialVersionUID): New field.
11830         (AccessibleJFileChooser.serialVersionUID): New field.
11831         (addActionListener): Implemented.
11832         (removeActionListener): Implemented.
11833         (getActionListeners): New method.
11834         * javax/swing/JFormattedTextField.java
11835         (serialVersionUID): New field.
11836         (AbstractFormatter.serialVersionUID): New field.
11837         (clone): Throws CloneNotSupportedException
11838         (setEditValid): Add missing argument.
11839         (stringToValue): Throws ParseExcpetion.
11840         (valueToString): Throws ParseException.
11841         (commitEdit): Throws ParseException.
11842         * javax/swing/JLabel.java
11843         (serialVersionUID): New field.
11844         * javax/swing/JList.java
11845         (serialVersionUID): New field.
11846         (addListSelectionListener): Reformated.
11847         (removeListSelectionListener): Reformated.
11848         (getListSelectionListeners): New method.
11849         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
11850         Reformated.
11851         (serialVersionUID): New field.
11852         * javax/swing/table/AbstractTableModel.java
11853         (getValueAt): Removed.
11854         (getColumnCount): Removed.
11855         (getRowCount): Removed.
11857 2004-02-05  Michael Koch  <konqueror@gmx.de>
11859         * java/awt/datatransfer/DataFlavor.java
11860         (imageFlavor): Javadoc added.
11861         (javaJVMLocalObjectType): Fixed.
11863 2004-02-05  Michael Koch  <konqueror@gmx.de>
11865         * java/lang/Thread.java
11866         (Thread): Reordered.
11867         (setContextClassLoader): Fixed javadoc comment.
11868         (setPriority): Reordered.
11869         (yield): Reordered.
11870         (initialize_native): Reordered.
11871         (gen_name): Reordered.
11873 2004-02-05  Michael Koch  <konqueror@gmx.de>
11875         * java/lang/Thread.java: Reordered fields, reformated much code,
11876         no functional changes, some variables renamed, javadoc comments
11877         merged.
11879 2004-02-05  Michael Koch  <konqueror@gmx.de>
11881         * java/util/zip/Deflater.java,
11882         java/util/zip/DeflaterOutputStream.java,
11883         java/util/zip/GZIPInputStream.java:
11884         Reformated and javadoc comments merged from classpath.
11886 2004-02-05  Michael Koch  <konqueror@gmx.de>
11888         * gnu/java/nio/NIOServerSocket.java
11889         (impl): Unused, removed.
11890         * gnu/java/nio/SocketChannelImpl.java
11891         (finnishConnect): Don't throw NoConnectionPendingException if not
11892         connected or no connection pending.
11894 2004-02-02  Graydon Hoare  <graydon@redhat.com>
11896         * javax/swing/SwingUtilities.java: Many new functions.
11897         * java/awt/Container.java (LightweightDispatcher): Reimplement.
11898         * javax/swing/basic/BasicGraphicsUtils.java 
11899         (getPreferredButtonSize): Start layout from top-left corner.
11901 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
11903         * java/awt/geom/AffineTransform.java: 
11904         Corrected comments on the field definitions for
11905         m11 and m10.
11906         (shear): Fixed few errors that caused shear
11907         transformation to be performed incorrectly.
11908         (createInverse): Fixed to return correct
11909         inverse of the given matrix.
11911 2004-02-03  Tom Tromey  <tromey@redhat.com>
11913         * java/lang/natPosixProcess.cc (startProcess): Handle case where
11914         PATH or LD_LIBRARY_PATH is not set in parent environment.
11916 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
11918         * gnu/java/awt/peer/gtk/GtkListPeer.java,
11919         java/awt/BorderLayout.java, java/awt/CardLayout.java,
11920         java/awt/CheckboxGroup.java, java/awt/Choice.java,
11921         java/awt/Component.java, java/awt/Container.java,
11922         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
11923         java/awt/LayoutManager2.java, java/awt/List.java,
11924         java/awt/Menu.java, java/awt/MenuBar.java,
11925         java/awt/MenuItem.java, java/awt/Polygon.java,
11926         java/awt/Rectangle.java, java/awt/ScrollPane.java,
11927         java/awt/Scrollbar.java, java/awt/TextArea.java,
11928         java/awt/TextField.java,
11929         java/awt/image/renderable/RenderContext.java,
11930         javax/swing/JApplet.java: Fix handling of alias methods, where a
11931         method has been deprecated in favour of a new one with the same
11932         funtion but a different name.  Put the method implementation in
11933         the deprecated method and have the new method call the
11934         deprecated one.  Make all other code call the new method.
11936 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
11938         * gnu/java/nio/DatagramChannelImpl.java
11939         (inChannelOperation): New field.
11940         (isInChannelOperation): New accessor.
11941         (setInChannelOperation): New modifier.
11942         (receive): Use capacity() - position() of destination
11943         buffer instead of remaining(). Set and reset our "in
11944         channel operation indicator" before and after delegating
11945         the receive to our datagram socket. Removed testing code.
11946         Update destination buffer's current position if it is
11947         backed by a byte array (hasArray() is true).
11948         (send): Set and reset our "in channel operation indicator"
11949         before and after delegating the send to our datagram socket.
11950         Removed testing code. Update source buffer's current position
11951         if it is backed by a byte array (hasArray() is true).
11952         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
11953         Use capacity() - position() of destination buffer instead
11954         of remaining().
11955         * java/net/DatagramSocket.java (receive): Don't throw an
11956         IllegalBlockingModeException if we have a non-blocking
11957         channel which initiated this operation.
11958         (send): Likewise.
11960 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
11962         * configure.in: Add pkgconfig check for glib and gthread.
11963         * configure: Regenerate.
11965 2004-02-01  Michael Koch  <konqueror@gmx.de>
11967         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
11968         arguments.
11969         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
11970         * verify.cc (debug_print): Mark 'fmt' unused.
11972 2004-01-30  Michael Koch  <konqueror@gmx.de>
11974         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
11975         * configure: Regenerated.
11976         * glib-2.0.m4: Removed.
11977         * gtk-2.0.m4: Removed.
11978         * libart.m4: Removed.
11979         * pkg.m4: New file.
11981 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
11983         * gnu/java/net/PlainSocketImpl.java 
11984         (inChannelOperation): New field.
11985         (isInChannelOperation): New accessor.
11986         (setInChannelOperation): New modifier.
11987         * gnu/java/nio/ServerSocketChannelImpl.java
11988         (accept): Set and reset our server socket's PlainSocketImpl's
11989         "in channel operation" indicator before and after delegating
11990         the accept to our server socket.
11991         * gnu/java/nio/SocketChannelImpl.java
11992         (connect): Set and reset our socket's PlainSocketImpl's "in channel
11993         operation" indicator before and after delegating the operation to
11994         our socket.
11995         (read): Likewise.
11996         (write): Likewise.
11997         * java/net/ServerSocket.java (implAccept): Don't throw an
11998         IllegalBlockingModeException if we have a non-blocking
11999         channel which initiated this accept operation.
12000         * java/net/Socket.java (connect): Don't throw an
12001         IllegalBlockingModeException if we have a non-blocking
12002         channel which initiated this connect operation.
12003         * java/nio/channels/spi/AbstractSelectableChannel.java
12004         (configureBlocking): Only call implConfigureBlocking() if
12005         the desired blocking mode is different from our current one.
12007 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
12009         * java/io/BufferedReader.java (sbuf): New field.
12010         (readLine): Use String.valueOf instead of new String() as per
12011         Per Bothner's suggestion. Use instance sbuf field instead of a
12012         local StringBuffer instance.
12013         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
12014         caller's buffer to refill().
12015         (read(void)): Pass our internal work buffer to refill if our
12016         input queue is empty.
12017         (refill): Changed return type to int. Use the specified buffer
12018         instead of our work buffer as per Bryce McKinlay's suggestion.
12019         Return the number of characters read or -1 for EOF.
12021 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
12023         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
12025 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
12027         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
12028         * Makefile.in: Re-generated.
12029         * gnu/awt/xlib/XFontPeer.java: New file.
12030         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
12031         (setClip): Commented out debug printout.
12032         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
12033         (getFontPeer): Return XFontPeer.
12034         (getLocalGraphicsEnvironment): New method.
12035         (getClasspathFontPeer): New method.
12036         (createFont): New method.
12038 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
12040         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
12041         return null. 
12043 2004-01-29  Kim Ho  <kho@redhat.com>
12045         * gnu/java/awt/peer/gtk/GtkFramePeer.java
12046         (gtkLayoutSetVisible): New method
12047         (setMenuBar): Hide layout before setting MenuBar
12048         and reshow it after.
12049         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12050         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
12052 2004-01-28  Michael Koch  <konqueror@gmx.de>
12054         * gnu/java/lang/ClassHelper.java
12055         (getPackagePortion): Removed.
12057 2004-01-28  Michael Koch  <konqueror@gmx.de>
12059         * javax/swing/JComponent.java
12060         (listenerList): Initalize globally.
12061         (ancestor_list): Removed.
12062         (veto_list): Removed.
12063         (change_list): Removed.
12064         (get_veto_list): Removed.
12065         (get_change_list): Removed.
12066         (get_ancestor_list): Removed.
12067         (removeAncestorListener): Reimplemented.
12068         (removePropertyChangeListener): Likewise.
12069         (removeVetoableChangeListener): Likewise.
12070         (addAncestorListener): Likewise.
12071         (addPropertyChangeListener): Likewise.
12072         (addVetoableChangeListener): Likewise.
12073         (getListeners): New method.
12074         (getAncestorListeners): Likewise.
12075         (getVetoableChangeListeners): Likewise.
12076         (fireVetoableChange): Throws PropertyVetoException.
12077         * javax/swing/JEditorPane.java
12078         (JEditorPane): Throws IOException.
12080 2004-01-28  David Jee  <djee@redhat.com>
12082         * gnu/java/awt/peer/gtk/GtkFramePeer.java
12083         (create): Set the default foreground color to
12084         java.awt.SystemColor.windowText.
12086 2004-01-27  Michael Koch  <konqueror@gmx.de>
12088         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
12089         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
12090         Reindented to merge with classpath.
12092 2004-01-27  David Jee  <djee@redhat.com>
12094         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12095         (addExposeFilter): Handle GtkFramePeer separately.
12096         (removeExposeFilter): Likewise.
12098 2004-01-27  Michael Koch  <konqueror@gmx.de>
12100         * gnu/java/net/protocol/http/Connection.java
12101         (getOutputStream): Fixed typo.
12103 2004-01-27  Michael Koch  <konqueror@gmx.de>
12105         * java/lang/Class.java
12106         (getConstructor): Removed SecurityException from throws clause.
12107         (_getConstructors): Likewise.
12108         (getConstructors): Likewise.
12109         (getDeclaredConstructor): Likewise.
12110         (getDeclaredClasses): Likewise.
12111         (getDeclaredConstructors): Likewise.
12112         (getDeclaredField): Likewise.
12113         (getDeclaredMethod): Likewise.
12114         (getDeclaredMethods): Likewise.
12115         (getField): Likewise.
12116         (getMethod): Likewise.
12117         (getMethods): Likewise.
12119 2004-01-27  Kim Ho  <kho@redhat.com>
12121         * gnu/java/awt/peer/gtk/GtkFramePeer.java
12122         (removeMenuBarPeer): Remove MenuBarPeer argument.
12123         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
12124         (dispose): Call native method.
12125         * java/awt/Frame.java (setMenuBar): Create and remove
12126         MenuBar peers only if the Frame has a peer.
12127         (addNotify): Create the MenuBar peer if one exists.
12128         (removeNotify): Remove MenuBar peer if one exists.
12129         * java/awt/Menu.java: Fix imports.
12130         (addNotify): Don't use full class name.
12131         (removeNotify): Call removeNotify on all children.
12132         * java/awt/MenuBar.java (removeNotify): Call
12133         removeNotify on all children.
12134         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12135         (removeMenuBarPeer): Remove MenuBarPeer argument.
12136         Iterate through children to find the Frame's MenuBar.
12137         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
12138         New file.
12139         (dispose): Remove references to the MenuComponent.
12141 2004-01-27  Michael Koch  <konqueror@gmx.de>
12143         * javax/swing/AbstractCellEditor.java: Reformated.
12144         * javax/swing/DefaultListSelectionModel.java
12145         (listenerList): Made protected.
12146         (addListSelectionListener): Javadoc added.
12147         (removeListSelectionListener): Likewise.
12148         (getListeners): Likewise.
12149         (getListSelectionListeners): Likewise.
12150         * javax/swing/JComboBox.java: Merged copyright year.
12151         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
12153 2004-01-26  Andrew Haley  <aph@redhat.com>
12155         * javax/swing/table/JTableHeader.java: Extend JComponent
12157 2004-01-26  Kim Ho  <kho@redhat.com>
12159         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
12160         Fix spacing.
12162 2004-01-26  Kim Ho  <kho@redhat.com>
12164         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
12165         method.
12166         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
12167         height and let the Layout Managers readjust anything that
12168         needs to move.
12169         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12170         (moveLayout): New method. Shift everything in the Gtk
12171         layout in the Y direction by an offset.
12173 2004-01-26  David Jee  <djee@redhat.com>
12175         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
12176         (handleEvent): Implemented. Handles PaintEvents.
12177         (paint): Implemented. Use GTK native methods to queue updates
12178         for this heavyweight peer.
12179         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
12180         (handleEvent): Removed.
12181         * java/awt/Component.java
12182         (paint): Implemented. Explictly paint the heavyweight peer.
12183         (update): Clear the background for heavyweight components.
12184         (paintAll): No need to call peer.paint() anymore.
12185         (processEvent): Don't process PaintEvents here. It's now done in
12186         the peer's handleEvent().
12187         (processPaintEvent): Removed.
12188         * java/awt/Container.java
12189         (paint): No need to call super.paint(). Visit heavyweight
12190         children as well.
12191         (update): Don't clear the background here.  It's done in
12192         Component.update().
12193         (visitChildren): Added check to not recurse into Containers.
12194         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12195         (filter_expose_event_handler): New method.  Filter unwanted
12196         expose events while painting heavyweight peers.
12197         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
12198         New method. Connect filter and block pre_event_handler.
12199         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
12200         New method. Disconnect filter and unblock pre_event_handler.
12201         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
12202         New method. Invalidate and update given area.
12203         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12204         (pre_event_handler): Add checks for unwanted expose events.
12206 2004-01-26  David Jee  <djee@redhat.com>
12208         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12209         (find_bg_color_widget): For GtkButton, return its child.
12211 2004-01-26  Kim Ho  <kho@redhat.com>
12213         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
12214         private.
12215         (setMenuBar): Grab MenuBar height and change insets.
12216         (setBounds): Account for MenuBar height.
12217         (postInsetsChangedEvent): Ditto.
12218         (postSizeAllocateEvent): Remove.
12219         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12220         (menubar_resize_cb): Remove
12221         (setMenuBarPeer): Remove callback.
12222         (getMenuBarHeight): Use size requisition instead of
12223         allocation.
12225 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
12227         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
12228         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
12229         when peer is null.
12230         (setColumns): Remove FIXME -- peer will retrieve number of
12231         columns by calling getColumns.
12232         (setRows): Likewise for number of rows.
12233         (next_text_number): New field.
12234         (paramString): Fix param string.
12235         (generateName): New method.
12236         (getUniqueLong): New method.
12238 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
12240         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
12241         image observer of image loading status.
12242         (getImage (String)): Start image production.
12243         (getImage (URL)): Likewise.
12245 2004-01-25  Michael Koch  <konqueror@gmx.de>
12247         * java/lang/Class.java: Imports reworked, reformated.
12248         (Class): Javadoc added.
12249         (forName): Likewise.
12250         (getClasses): Likewise.
12251         (getClassLoader): Likewise.
12252         (getComponentType): Likewise.
12253         (getConstructor): Likewise.
12254         (getConstructors): Likewise.
12255         (getDeclaredConstructor): Likewise.
12256         (getDeclaredClasses): Likewise.
12257         (getDeclaredConstructors): Likewise.
12258         (getDeclaredField): Likewise.
12259         (getDeclaredMethod): Likewise.
12260         (getDeclaredMethods): Likewise.
12261         (getDeclaringClass): Likewise.
12262         (getField): Likewise.
12263         (getInterfaces): Likewise.
12264         (getMethod): Likewise.
12265         (getMethods): Likewise.
12266         (getModifiers): Likewise.
12267         (getName): Likewise.
12268         (getResource): Likewise.
12269         (getResourceAsStream): Likewise.
12270         (getSigners): Likewise.
12271         (setSigners): Likewise.
12272         (getSuperclass): Likewise.
12273         (isArray): Likewise.
12274         (isAssignableFrom): Likewise.
12275         (isInstance): Likewise.
12276         (isInterface): Likewise.
12277         (isPrimitive): Likewise.
12278         (newInstance): Likewise.
12279         (getProtectionDomain): Likewise.
12280         (toString): Likewise.
12281         (Class): Moved.
12282         (initializeClass): Likewise.
12283         (finalize): Likewise.
12285 2004-01-24  Michael Koch  <konqueror@gmx.de>
12287         * gnu/java/net/protocol/jar/Connection.java
12288         (hdrHash): Removed.
12289         (hdrVec): Removed.
12290         (gotHeaders): Removed.
12291         (getHeaderField): Removed.
12292         (getHeaderFields): Removed.
12293         (getHeaderFieldKey): Removed.
12294         (getKey): Removed.
12295         (getField): Removed.
12296         (getHeaders): Removed.
12298 2004-01-24  Michael Koch  <konqueror@gmx.de>
12300         * Makefile.am: Added library version to gtk peer lib.
12301         * Makefile.in: Regenerated.
12303 2004-01-24  Michael Koch  <konqueror@gmx.de>
12305         * java/util/zip/InflaterInputStream.java: Merged class documentation
12306         with classpath.
12308 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
12310         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
12311         header.  For __powerpc64__ provide the default-signal.h definitions
12312         for now.
12313         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
12314         instead of the dummy definitions.
12315         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
12316         (powerpc64*-*): Remove with_libffi_default.
12317         Only add -mminimal-toc for 64-bit compilations.
12318         * configure.in: Use powerpc-signal.h on powerpc64 as well.
12319         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
12320         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
12321         * configure: Rebuilt.
12323 2004-01-23  Michael Koch  <konqueror@gmx.de>
12325         * gnu/java/nio/FileLockImpl.java: Compile fixes.
12327 2004-01-23  Michael Koch  <konqueror@gmx.de>
12329         * java/lang/VMClassLoader.java: Reworked imports.
12330         
12331 2004-01-23  Michael Koch  <konqueror@gmx.de>
12333         * javax/swing/AbstractAction.java: Reformated.
12335 2004-01-23  Michael Koch  <konqueror@gmx.de>
12337         * java/text/CollationElementIterator.java:
12338         (setText): New method.
12340 2004-01-23  Michael Koch  <konqueror@gmx.de>
12342         * gnu/java/nio/FileLockImpl.java:
12343         Fixed filename in copyright.
12344         (released): Removed.
12345         (finalize): New method.
12346         * gnu/java/nio/natFileLockImpl.cc
12347         (releaseImpl): Implemented.
12348         * java/nio/channels/FileChannelImpl.java:
12349         Reworked imports.
12350         (lock): Implemented.
12351         (lockImpl): New method.
12352         (tryLock): Implemented.
12353         (tryLockImpl): New method.
12354         * java/nio/channels/natFileChannelImpl.cc
12355         (lockImpl): New method.
12356         (tryLockImpl): New method.
12358 2004-01-23  Michael Koch  <konqueror@gmx.de>
12360         * java/io/FileDescriptor.java
12361         (lock): New method.
12362         (tryLock): New method.
12363         (unlock): New method.
12364         * java/io/natFileDescriptorEcos.cc
12365         (lock): New method.
12366         (tryLock): New method.
12367         (unlock): New method.
12368         * java/io/natFileDescriptorPosix.cc
12369         (lock): New method.
12370         (tryLock): New method.
12371         (unlock): New method.
12372         * java/io/natFileDescriptorWin32.cc
12373         (lock): New method.
12374         (tryLock): New method.
12375         (unlock): New method.
12377 2004-01-23  Michael Koch  <konqueror@gmx.de>
12379         * java/io/FileDescriptor.java
12380         (sync): Moved around, added javadoc.
12381         (valid): Likewise.
12382         (open): Likewise.
12383         (write): Likewise.
12384         (close): Likewise.
12385         (setLength): Likewise.
12386         (seek): Likewise.
12387         (getLength): Likewise.
12388         (getFilePointer): Likewise.
12389         (read): Likewise.
12390         (available): Likewise.
12391         (finalize): Likewise.
12393 2004-01-23  Michael Koch  <konqueror@gmx.de>
12395         * javax/swing/AbstractAction.java: Reformated.
12396         (getPropertyChangeListeners): New method.
12397         * javax/swing/AbstractCellEditor.java: Reformated.
12398         (getCellEditorListeners): New method.
12399         * javax/swing/DefaultListSelectionModel.java
12400         (listenerList): New field.
12401         (listeners): Removed.
12402         (get_listeners): Removed.
12403         (addListSelectionListener): Rewritten.
12404         (removeListSelectionListener): Rewritten.
12405         (getListSelectionListeners): New method.
12406         (getListeners): New method.
12407         * javax/swing/JComboBox.java: Imports reworked.
12408         (addActionListener): Implemented.
12409         (removeActionListener): Implemented.
12410         (addItemListener): Implemented.
12411         (removeItemListener): Implemented.
12412         (addPopupMenuListener): Implemented.
12413         (removePopupMenuListener): Implemented.
12414         (getActionListeners): New method.
12415         (getItemListeners): New method.
12416         (getPopupMenuListeners): New method.
12418 2004-01-23  Michael Koch  <konqueror@gmx.de>
12420         * gnu/java/net/protocol/http/Connection.java
12421         (connect): Don't initialize bufferedOutputStream if not needed.
12422         (sendRequest): Set property for content length if content is present.
12423         Write content only if present.
12424         (getOutputStream): Check if already connected, dont connect,
12425         initalize bufferedOutputStream if needed.
12427 2004-01-23  Michael Koch  <konqueror@gmx.de>
12429         * java/io/FileDescriptor.java
12430         (in, out, err): Added javadoc.
12431         (static): Merged loading code.
12432         (fd, position): Moved around.
12434 2004-01-23  Michael Koch  <konqueror@gmx.de>
12436         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
12437         New file.
12439 2004-01-23  Michael Koch  <konqueror@gmx.de>
12441         * java/lang/Class.java,
12442         java/lang/Object.java,
12443         java/lang/Thread.java: Merged copyright with classpath.
12445 2004-01-23  Michael Koch  <konqueror@gmx.de>
12447         * java/io/FileDescriptor.java: Merged copyright with classpath to
12448         start merging this class.
12450 2004-01-22  Tom Tromey  <tromey@redhat.com>
12452         PR libgcj/13107:
12453         * testsuite/libjava.lang/pr13107_2.xfail: New file.
12454         * testsuite/libjava.lang/pr13107_3.xfail: New file.
12455         * testsuite/libjava.lang/pr13107_3.java: New file.
12456         * testsuite/libjava.lang/pr13107_3.out: New file.
12457         * testsuite/libjava.lang/pr13107_2.java: New file.
12458         * testsuite/libjava.lang/pr13107_2.out: New file.
12459         * testsuite/libjava.lang/pr13107.java: New file.
12460         * testsuite/libjava.lang/pr13107.out: New file.
12461         * verify.cc (jsr_ptrs): Removed.
12462         (entry_points): Likewise.
12463         (struct subr_info): Likewise.
12464         (struct subr_entry_info): Likewise.
12465         (type_val::unused_by_subroutine_type): Likewise.
12466         (type::merge): Don't handle unused_by_subroutine_type.
12467         (type::print): Likewise.
12468         (state::flags): Removed.
12469         (state::subroutine): Likewise.
12470         (state::seen_subrs): Likewise.
12471         (state::NO_STACK): Likewise.
12472         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
12473         (state): Updated all methods.
12474         (state::clean_subrs): Removed.
12475         (state::state): Removed `ret_semantics' flag.
12476         (state::copy): Likewise.
12477         (state::add_subr): Removed.
12478         (state::enter_subroutine): Likewise.
12479         (type::set_return_address): New method.
12480         (handle_jsr_insn): Set return address on the type.  Always
12481         invalidate PC after call.
12482         (check_nonrecursive_call): Removed.
12483         (~_Jv_BytecodeVerifier): Updated.
12484         (branch_prepass): Removed special handling of jsr.
12485         (note_branch_target): Likewise.
12486         (get_subroutine): Removed.
12487         (state::merge): Don't merge subroutines and don't handle
12488         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
12489         (state::note_variable): Removed.
12490         (state::is_unmerged_ret_state): Likewise.
12491         (state::print): Updated.
12492         (set_variable): Likewise.
12493         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
12494         and jsr_semantics arguments.  Updated for new reverification
12495         list.
12496         (pop_jump): Rewrote.
12497         (construct_primitive_array_type): Updated.
12498         (state::next): Removed.
12499         (INVALID_STATE): New define.
12500         (state::INVALID): Removed.
12501         (state::NO_NEXT): New value.
12502         (state::pc, state::next): New fields.
12503         (state::get_pc): New method.
12504         (next_verify_pc): Removed.
12505         (next_verify_state): New field.
12506         (verify_instructions_0): Always check for falling off end.
12507         (linked): New type.
12508         (linked_utf8): Removed.
12509         (states): Changed type.
12510         (type::state_mergeable_p): New method.
12511         (state::state_mergeable_p): Likewise.
12512         (handle_ret_insn): Removed most code.
12513         (state::reverify): New method.
12514         (add_new_state): Likewise.
12515         (state::set_pc): Likewise.
12517 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
12519         PR java/13733
12520         * testsuite/libjava.compile/PR13733.java: New file.
12521         * testsuite/libjava.compile/PR13733.xfail: New file.
12523 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
12524             Michael Koch  <konqueror@gmx.de>
12526         * javax/swing/table/DefaultTableCellRenderer.java
12527         (DefaultTableCellRenderer): Added javadoc for the class and for
12528         the constructor, Border instance, create an EmptyBorder.
12529         (UIResource): Removed the comment at the end of the class
12530         (setForeground): New method.
12531         (setBackground): New method.
12532         (updateUI): New method.
12533         (getTableCellRendererComponent): Rewritten with the help of
12534         dvholten and Stephane Meslin-Weber.
12535         (validate): New method.
12536         (repaint): New method.
12537         (firePropertyChange): New method.
12538         (setValue): New method.
12540 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
12542         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12543         (connectJObject): Replace printf calls with g_assert statements.
12544         Move property-notify-event signal connection to ...
12545         (connectSignals): Connect property-notify-event signal.  Iterate
12546         through the vbox's children to find layout.
12548 2004-01-22  Graydon Hoare  <graydon@redhat.com>
12549         
12550         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
12551         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
12552         Predicate static initialization on GtkToolkit.useGraphics2D().
12553         * java/awt/Component.java (processPaintEvent): Consume event.
12554         * javax/swing/AbstractButton.java: Reimplement, document.
12555         * javax/swing/DefaultButtonModel.java: Reimplement, document.
12556         * javax/swing/JComponent.java (paint): Use double buffer.
12557         (listenerList): Enable member.
12558         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
12559         * javax/swing/JToggleButton.java 
12560         (JToggleButton): Modify model constructor.
12561         * javax/swing/SwingUtilities.java 
12562         (layoutCompoundLabel): Adjust arithmetic.
12563         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
12564         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
12565         (getPreferredButtonSize): Include margins in calculation.
12566         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12567         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
12568         Receive up events from subordinate layout component.
12570 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
12572         * java/awt/Component.java (show): Set visible to true before
12573         showing the peer.
12575 2004-01-21  Kim Ho  <kho@redhat.com>
12577         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
12578         Fix comments.
12579         (removeMenuBarPeer): Make package private.
12580         (setMenuBarPeer): Make package private.
12581         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12582         (menubar_resize_cb): Mark attributes unused.
12583         (getMenuBarHeight): ditto.
12585 2004-01-21  David Jee  <djee@redhat.com>
12587         * java/awt/Container.java
12588         (LightweightDispatcher.handleEvent): Add an extra check to avoid
12589         dispatching MOUSE_ENTERED event twice. Translate the point for
12590         the mouse event target before dispatching the event.
12592 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
12594         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
12595         lib_org_w3c_dom_la_LDFLAGS): New.
12596         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
12597         * Makefile.in: Rebuilt.
12599 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
12601         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
12602         Calculate proper offsets for heavyweight components packed in
12603         lightweight containers.
12605         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
12606         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
12607         (native create): Add width parameter.
12608         (create): Calculate text entry width based on current font's
12609         metrics and number of columns.  Set TextField's font if not
12610         already set.  Call native create.
12611         (gtkEntryGetBorderWidth): New native method.
12612         (gtkEntryGetSize): Remove method.
12613         (getMinimumSize): Call minimumSize.
12614         (getPreferredSize): Call preferredSize.
12615         (minimumSize): Calculate minimum size based on backing
12616         GtkEntry's borders, font metrics and number of columns.
12617         (preferredSize): Likewise for preferred size.
12618         (get_border_width): New static function.
12620         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
12621         Override GtkWindowPeer's setResizable method to account for menu
12622         bar height when setting the frame's size.
12624 2004-01-19  Matthias Klose  <doko@debian.org>
12626         * libtool-version: Increased `current' to 6.
12628 2004-01-19  Kim Ho  <kho@redhat.com>
12630         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12631         (connectJObject): Iterate through the vbox's children to find layout.
12633 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
12635         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
12636         isDispatchThread method to replace wrong test condition.
12638 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
12640         * java/awt/EventQueue.java (pop): Prevent racing condition to add
12641         events to the queue out of order by acquiring locks in the proper
12642         order and not by releasing one before acquiring the other.
12644 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
12646         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
12647         visible so that dialog can be reused.
12649 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
12651         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
12652         events may be handled by any queue in the stack.
12654 2004-01-19  Kim Ho  <kho@redhat.com>
12656         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
12657         MenuBarPeer parameter.
12658         (removeMenuBarPeer): New native method.
12659         (setMenuBar): Call remove if menu bar is null. Adjust insets
12660         appropriately.
12661         (postSizeAllocateEvent): New method. Called when menu bar size is
12662         allocated. Adjust insets and redo layout.
12663         (GtkFramePeer): Set menu bar during frame creation.
12664         (postConfigureEvent): Adjust position and size to accomodate
12665         menu bar.
12666         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
12667         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
12668         (addNotify): Create the peer if it doesn't exist and call addNotify
12669         for the menu's items.
12670         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
12671         * java/awt/MenuItem.java (addNotify): Create the peer if it
12672         doesn't exist.
12673         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12674         (removeMenuBarPeer): New method. Remove menu bar on the current
12675         frame.
12676         (setMenuBarPeer): Add the menu bar to the current frame and the
12677         callback for size-allocate events on the menu bar.
12678         (getMenuBarHeight): Add menu bar parameter.
12679         (menubar_resize_cb): New callback method for postSizeAllocate events.
12681         Also: Fix indentation on last ChangeLog entry.
12683 2004-01-16  Kim Ho  <kho@redhat.com>
12685         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
12686         (gtkWidgetGetDimensions): Remove.
12687         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12688         (gtkWidgetGetDimensions): Remove.
12690 2004-01-16  Tom Tromey  <tromey@redhat.com>
12692         * java/awt/Container.java: Typo and indentation fixes.
12694         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
12695         * java/lang/natVMClassLoader.cc: ...here.  New file.
12696         * Makefile.in: Rebuilt.
12697         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
12699 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
12701         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
12702         Discard GDK_ENTER_NOTIFY related to ungrabs.
12704 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
12706         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
12707         is called for an intermediate queue.
12709 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
12711         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12712         (window_property_changed_cb): Set id_set.
12714 2004-01-16  Kim Ho  <kho@redhat.com>
12716         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
12717         it is a FileDialog and has dimensions of 0 by 0, then the initial
12718         size is set to size request plus insets.
12719         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
12720         (gtkWidgetGetDimensions): Override method.
12721         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12722         (gtkWidgetGetDimensions): Override method. Returns size request plus
12723         insets.
12725 2004-01-16  Andrew Haley  <aph@redhat.com>
12727         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
12728         * sysdep/i386/locks.h: Likewise.
12730 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
12732         * java/awt/EventDispatchThread.java (run): Stop running when
12733         interrupted.
12734         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
12735         Reset the queue after transferring its contents.
12736         (push): Start a new dispatch thread if none is running.
12738 2004-01-16  Olga Rodimina <rodimina@redhat.com>
12740         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
12741         (doPolygon): set fill rule of polygon to 
12742         WIND_EVEN_ODD by default.
12744 2004-01-15  Olga Rodimina <rodimina@redhat.com>
12746         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
12747         Implemented rendering hints related methods.
12748         (getDefaultHints): New helper method. Returns
12749         default rendering hints.
12750         (walkPath): changed to normalize path if
12751         the KEY_STROKE_CONTROL key is in "normalize" mode.
12752         (draw3DRect): changed coordinates of rectangle by +0.5
12753         if in "normalize" mode.
12755 2004-01-15  Tom Tromey  <tromey@redhat.com>
12757         * Makefile.in: Rebuilt.
12758         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
12759         (%.lo: %.java) Filter out StackTrace.lo.
12761 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
12763         * configure.in: Add in AC_PREREQ(2.13)
12764         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
12765         FIXME comment.
12767 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
12768             Tom Tromey  <tromey@redhat.com>
12770         PR libgcj/12001:
12771         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
12772         array to superclass.
12773         (init): Changed interface; add URLs here.
12774         (initialize): New static method.
12775         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
12776         (_Jv_RunMain): ... not here.
12778 2004-01-14  Michael Koch  <konqueror@gmx.de>
12780         * java/text/MessageFormat.java:
12781         Added descriptions to exceptions.
12782         This fixes PR libgcj/2429.
12784 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
12786         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
12787         (push): Make sure push is performed at the top of the thread stack.
12789 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
12791         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
12792         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
12793         (native create): Add width and height parameters.  Set text
12794         view's size request according to new parameters.
12795         (create): Calculate text view size based on current font's
12796         metrics and number of rows and columns.  Set TextArea's font if
12797         not already set.  Call native create.
12798         (getMinimumSize): Call minimumSize.
12799         (getPreferredSize): Call preferredSize.
12800         (getHScrollbarHeight): New method.
12801         (getVScrollbarWidth): New method.
12802         (minimumSize): Calculate minimum size based on scrollbar
12803         visibility, scrollbar sizes, font metrics and number of rows and
12804         columns.
12805         (preferredSize): Likewise for preferred size.
12806         (gtkTextGetSize): Remove method.
12808 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
12810         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
12811         (initializeInsets): Remove method.
12812         (GtkComponentPeer): Initialize insets field.  Remove call to
12813         initializeInsets.
12814         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
12815         Remove method.
12816         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
12817         Remove method.
12818         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
12819         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
12820         (latestInsets): Remove field.
12821         (native create): Add insets parameter.  Call
12822         window_get_frame_extents.  Set the window's default size and
12823         size request based on its frame extents.
12824         (create): Initialize insets.
12825         (postInsetsChangedEvent): New method.
12826         (postConfigureEvent): Remove parameters top, left, bottom,
12827         right.  Remove insets-related logic.
12828         (connectJObject): Handle property-notify-event.
12829         (window_get_frame_extents, request_frame_extents,
12830         property_notify_predicate, window_property_changed_cb): New
12831         static functions.
12832         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12833         (pre_event_handler): Remove insets-related logic for configure
12834         events.
12835         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
12836         Update postConfigureEvent signature.
12838 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
12840         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
12841         to handle Window "Closing" events.
12843 2004-01-13  David Jee  <djee@redhat.com>
12845         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
12846         (setBackground): New method. Children with no explicitly-set
12847         background will be repainted with the parent container's new
12848         background color.
12850 2004-01-13  David Jee  <djee@redhat.com>
12852         * Makefile.am: Add BitwiseXORComposite.java.
12853         * Makefile.in: Regenerated.
12854         * gcj/Makefile.in: Regenerated.
12855         * include/Makefile.in: Regenerated.
12856         * testsuite/Makefile.in: Regenerated.
12858 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
12860         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
12861         not show modal dialogs twice and so that it allows showing a modal
12862         dialog from another modal dialog.
12864 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
12866         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
12867         and run secondary dispatch thread to process event queue while this
12868         thread is blocked.
12870 2004-01-12  Graydon Hoare  <graydon@redhat.com>
12872         * gnu/java/awt/gtk/GdkGraphics2D.java
12873         (static): Check GtkToolkit before initializing static state.
12874         (Graphics2D): Don't construct transform with 0.5 unit offset.
12876 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
12878         * gnu/java/awt/BitwiseXORComposite.java: Add.
12879         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
12880         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
12881         (BitwiseXORComposite): Remove inner class.
12883 2004-01-11  Michael Koch  <konqueror@gmx.de>
12885         * gnu/java/lang/reflect/TypeSignature.java
12886         (getEncodingOfClass): Documentation fixed.
12887         (getClassForEncoding): Give class loader to Class.forName().
12888         Documentation fixed.
12890 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
12892         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
12894 2004-01-11  Michael Koch  <konqueror@gmx.de>
12896         * javax/swing/undo/StateEditable.java
12897         (RCSID): Removed redundant modifiers.
12899 2004-01-10  Michael Koch  <konqueror@gmx.de>
12901         * javax/print/attribute/EnumSyntax.java
12902         (getStringTable): Made protected.
12903         (getEnumValueTable): Likewise.
12904         * javax/print/attribute/standard/JobKOctetsProcessed.java
12905         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
12906         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
12907         (JobMediaSheetsCompleted): Made class final.
12908         * javax/print/attribute/standard/OutputDeviceAssigned.java
12909         (getName): Fixed typo.
12910         * javax/print/attribute/standard/RequestingUserName.java
12911         (serialVersionUID): Fixed value.
12913 2004-01-10  Michael Koch  <konqueror@gmx.de>
12915         * javax/swing/plaf/basic/BasicButtonUI.java,
12916         javax/swing/plaf/basic/BasicCheckBoxUI.java,
12917         javax/swing/plaf/basic/BasicListUI.java,
12918         javax/swing/plaf/basic/BasicOptionPaneUI.java,
12919         javax/swing/plaf/basic/BasicPanelUI.java,
12920         javax/swing/plaf/basic/BasicRadioButtonUI.java,
12921         javax/swing/plaf/basic/BasicScrollPaneUI.java,
12922         javax/swing/plaf/basic/BasicToggleButtonUI.java,
12923         javax/swing/plaf/basic/BasicViewportUI.java:
12924         Fixed import statements.
12926 2004-01-10  Michael Koch  <konqueror@gmx.de>
12928         * gnu/java/awt/image/ImageDecoder.java
12929         (produce): Made public.
12930         * gnu/java/awt/peer/GLightweightPeer.java,
12931         gnu/java/awt/peer/gtk/GtkToolkit.java:
12932         Reformated.
12934 2004-01-10  Michael Koch  <konqueror@gmx.de>
12936         * javax/swing/JRadioButtonMenuItem.java,
12937         javax/swing/JSeparator.java,
12938         javax/swing/JSplitPane.java,
12939         javax/swing/JTextPane.java,
12940         javax/swing/JToolBar.java,
12941         javax/swing/ListCellRenderer.java,
12942         javax/swing/ListModel.java,
12943         javax/swing/MenuElement.java,
12944         javax/swing/OverlayLayout.java,
12945         javax/swing/ProgressMonitor.java,
12946         javax/swing/ProgressMonitorInputStream.java,
12947         javax/swing/Renderer.java,
12948         javax/swing/RootPaneContainer.java,
12949         javax/swing/Scrollable.java,
12950         javax/swing/SingleSelectionModel.java,
12951         javax/swing/ToolTipManager.java,
12952         javax/swing/ViewportLayout.java,
12953         javax/swing/event/DocumentEvent.java,
12954         javax/swing/event/SwingPropertyChangeSupport.java,
12955         javax/swing/event/TreeSelectionEvent.java,
12956         javax/swing/event/UndoableEditEvent.java,
12957         javax/swing/text/AbstractDocument.java,
12958         javax/swing/text/AttributeSet.java,
12959         javax/swing/text/Caret.java,
12960         javax/swing/text/ComponentView.java,
12961         javax/swing/text/DefaultCaret.java,
12962         javax/swing/text/DefaultEditorKit.java,
12963         javax/swing/text/Document.java,
12964         javax/swing/text/EditorKit.java,
12965         javax/swing/text/GapContent.java,
12966         javax/swing/text/Keymap.java,
12967         javax/swing/text/MutableAttributeSet.java,
12968         javax/swing/text/PlainEditorKit.java,
12969         javax/swing/text/Segment.java,
12970         javax/swing/text/Style.java,
12971         javax/swing/text/StyledDocument.java,
12972         javax/swing/text/StyledEditorKit.java,
12973         javax/swing/text/TextAction.java,
12974         javax/swing/text/View.java: Fixed import statements.
12976 2004-01-08  Graydon Hoare  <graydon@redhat.com>
12978         * javax/swing/JLayeredPane.java: Rewrite to accomodate
12979         djee@redhat.com's recent inverse ordering of Container elements.
12981 2004-01-09  Michael Koch  <konqueror@gmx.de>
12983         * gnu/java/lang/ArrayHelper.java
12984         (equalsArray): Removed.
12986 2004-01-09  Andrew Haley  <aph@redhat.com>
12988         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
12989         a Utf8Const field before looking at its class.
12991 2004-01-09  Michael Koch  <konqueror@gmx.de>
12993         * javax/print/attribute/standard/DocumentName.java,
12994         javax/print/attribute/standard/JobHoldUntil.java,
12995         javax/print/attribute/standard/JobMessageFromOperator.java,
12996         javax/print/attribute/standard/JobName.java,
12997         javax/print/attribute/standard/JobOriginatingUserName.java,
12998         javax/print/attribute/standard/OutputDeviceAssigned.java,
12999         javax/print/attribute/standard/PrinterInfo.java,
13000         javax/print/attribute/standard/PrinterLocation.java,
13001         javax/print/attribute/standard/PrinterMakeAndModel.java,
13002         javax/print/attribute/standard/PrinterMessageFromOperator.java,
13003         javax/print/attribute/standard/PrinterName.java,
13004         javax/print/attribute/standard/RequestingUserName.java: New files.
13005         * Makefile.am (javax_source_files): Added new files.
13006         * Makefile.in: Regenerated.
13008 2004-01-09  Michael Koch  <konqueror@gmx.de>
13010         * javax/swing/AbstractAction.java,
13011         javax/swing/AbstractSet.java,
13012         javax/swing/Action.java,
13013         javax/swing/ActionMap.java,
13014         javax/swing/BoundedRangeModel.java,
13015         javax/swing/ButtonModel.java,
13016         javax/swing/CellEditor.java,
13017         javax/swing/CellRendererPane.java,
13018         javax/swing/ComboBoxEditor.java,
13019         javax/swing/DebugGraphics.java,
13020         javax/swing/DefaultCellEditor.java,
13021         javax/swing/DefaultCellRenderer.java,
13022         javax/swing/DefaultComboBoxModel.java,
13023         javax/swing/DefaultDesktopManager.java,
13024         javax/swing/DefaultFocusManager.java,
13025         javax/swing/DefaultListCellRenderer.java,
13026         javax/swing/Icon.java,
13027         javax/swing/JButton.java,
13028         javax/swing/JCheckBoxMenuItem.java,
13029         javax/swing/JDesktopPane.java,
13030         javax/swing/JEditorPane.java,
13031         javax/swing/JMenu.java,
13032         javax/swing/JPanel.java,
13033         javax/swing/JPasswordField.java,
13034         javax/swing/JPopupMenu.java,
13035         javax/swing/JProgressBar.java: Reworked imports.
13037 2004-01-09  Michael Koch  <konqueror@gmx.de>
13039         * java/awt/geom/PathIterator.java
13040         (WIND_EVEN_ODD): Removed redundant modifiers.
13041         (WIND_NON_ZERO): Likewise.
13042         (SEG_MOVETO): Likewise.
13043         (SEG_LINETO): Likewise.
13044         (SEG_QUADTO): Likewise.
13045         (SEG_CUBICTO): Likewise.
13046         (SEG_CLOSE): Likewise.
13047         * java/awt/image/SinglePixelPackedSampleModel.java:
13048         Removed redundant semicolon.
13049         * java/io/ObjectInputStream.java
13050         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
13051         * java/util/logging/Filter.java
13052         (isLoggable): Removed redundant modifier.
13053         * java/util/logging/LogManager.java:
13054         Removed redundant semicolon.
13055         * java/util/logging/XMLFormatter.java
13056         (format): Removed unused variable "key".
13058 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
13060         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
13061         New name for the former setFile native method.
13062         (setFile): New method.
13063         (setDirectory): Implemented.
13064         (connectSignals): New native method.
13065         (setFilenameFilter): Improve comment.
13066         (getGraphics): Comment.
13067         (gtkHideFileDialog): New method.
13068         (gtkDisposeFileDialog): New method.
13069         (gtkSetFilename): New method.
13070         * java/awt/Dialog.java (show): Block on modal dialogs, but only
13071         for FileDialog for now.
13072         (hide): New method.
13073         (dispose): New method.
13074         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
13075         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
13076         deprecated creation functions.  Make dialog modal.  Add it to the
13077         window group.
13078         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
13079         function.
13080         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
13081         Rename to...
13082         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
13083         name.
13084         (window_closed): New function.
13085         (ok_clicked): New function.
13086         (cancel_clicked): New function.
13088 2004-01-08  Michael Koch  <konqueror@gmx.de>
13090         * javax/swing/JLayeredPane.java: Revert changes to standard
13091         boilerplate, reworked imports.
13093 2004-01-07  Tom Tromey  <tromey@redhat.com>
13095         PR libgcj/13439:
13096         * verify.cc (state::merge): Copy changed locals out of subroutine
13097         in NO_STACK case.
13098         (state::FLAG_CHANGED): New const.
13099         (state::FLAG_UNUSED): Likewise.
13100         (state::local_changed): Removed.  Updated all users.
13101         (state::flags): New field.
13102         (state::merge): Added jsr_semantics argument, more logic.
13103         (push_jump_merge): Added jsr_semantics argument.
13104         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
13105         merging through the jsr instruction.
13107 2004-01-07  Tom Tromey  <tromey@redhat.com>
13109         * scripts/MakeDefaultMimeTypes.java: Use \n, not
13110         backslash-newline.
13112 2004-01-07  Graydon Hoare  <graydon@redhat.com>
13114         * java/awt/Container.java (LightweightDispatcher): Implement.
13115         (visitChild): Reuse graphics object.
13116         (dispatchEventImpl): Optionally dispatch to lightweight.
13117         (addNotifyContainerChildren): Build LightweightDispatcher.
13119 2004-01-07  David Jee  <djee@redhat.com>
13121         * java/awt/Container.java
13122         (update): Clear only the clipped region, instead of clearing the
13123         entire Container.
13124         (visitChildren): Visit children in descending order.
13126 2004-01-07  Michael Koch  <konqueror@gmx.de>
13128         * java/lang/reflect/Array.java: Merged documentation with classpath.
13130 2004-01-07  Michael Koch  <konqueror@gmx.de>
13132         * java/text/CollationElementIterator.java
13133         (textIndex): Renamed from index.
13134         * java/text/CollationKey.java
13135         (collator): New member.
13136         (CollationKey): New argument for parent collator.
13137         (equals): Check for same collator, source string and key array.
13138         * java/text/RuleBasedCollator.java:
13139         Reformated.
13140         (RuleBasedCollator): Don't re-initialize frenchAccents with default
13141         value.
13142         (getCollationElementIterator): Rewritten.
13143         (getCollationKey): Added new argument to CollationKey constructor.
13145 2004-01-07  Michael Koch  <konqueror@gmx.de>
13147         * gnu/java/nio/DatagramChannelImpl.java
13148         (blocking): Removed.
13149         (DatagramChannelImpl): Call configureBlocking().
13150         (implConfigureBlocking): Dont initialize blocking.
13151         * gnu/java/nio/ServerSocketChannelImpl.java
13152         (blocking): Removed.
13153         (ServerSocketChannelImpl): Call configureBlocking().
13154         (implConfigureBlocking): Dont initialize blocking.
13155         * gnu/java/nio/SocketChannelImpl.java
13156         (blocking): Removed.
13157         (SocketChannelImpl): Call configureBlocking().
13158         (implConfigureBlocking): Dont initialize blocking.
13159         (connect): Use isBlocking().
13160         * java/nio/channels/spi/AbstractSelectableChannel.java
13161         (configureBlocking): Use blockingLock() instead of LOCK.
13162         Set blocking after successfully called implConfigureBlocking().
13163         (register): Use blockingLock() instead of LOCK.
13165 2004-01-07  Michael Koch  <konqueror@gmx.de>
13167         * java/net/ServerSocket.java (isBound): Fixed documentation.
13169 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
13171         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
13172         (changeEvent): Create event object on demand.
13173         (DefaultBoundedRangeModel, toString, setValue, setExtent,
13174         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
13175         fireStateChanged): Re-written.
13176         * javax/swing/event/EventListenerList.java: Reformatted, document
13177         typical usage.
13178         (toString): Implemented.
13179         (getListeners): Re-written.
13180         (remove): Re-written.
13181         (add): Re-written.
13182         (NO_LISTENERS): New singleton field.
13183         (listenerList): Declare as transient; document.
13184         (serialVersionUID): Document.
13185         (getListenerCount(Class)): More efficient implementation,
13186         also accepts null argument.  Improve Javadoc.
13187         (getListenerCount()): Remove unnecessary cast; docfix.
13188         * javax/swing/undo/UndoableEditSupport.java:
13189         Re-format, document.
13190         (UndoableEditSupport): Set realSource field. Improve documentation.
13191         (_postEdit): Iterate over cloned listener vector.
13192         (toString): Don't emit realSource.
13193         (beginUpdate, endUpdate): Support nested updates.
13194         (postEdit): Use compound edit if present.
13196 2004-01-06  Graydon Hoare  <graydon@redhat.com>
13198         * java/awt/Container.java (swapComponents): Add forgotten
13199         function, required for JLayeredPane change.
13201 2004-01-06  Michael Koch  <konqueror@gmx.de>
13203         * java/text/CollationElementIterator.java: Reformated.
13204         (CollationElementIterator): Changed order of arguments.
13205         * java/text/RuleBasedCollator.java
13206         (RuleBasedCollator): Merged class documentation.
13207         (CollationElement): Added documentation.
13208         (compare): Reformated, renamed arguments.
13209         (equals): Likewise.
13210         (getCollationElementIterator): Likewise.
13211         (getCollationKey): Likewise.
13213 2004-01-06  Graydon Hoare  <graydon@redhat.com>
13215         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
13217 2004-01-06  Michael Koch  <konqueror@gmx.de>
13219         * gnu/java/net/protocol/file/Connection.java:
13220         Reformated copyright.
13221         (hdrHash): Removed.
13222         (hdrVec): Removed.
13223         (gotHeaders): Removed.
13224         (getHeaderField): Removed.
13225         (getHeaderField): Removed.
13226         (getHeaderFieldKey): Removed.
13227         (getKey): Removed.
13228         (getField): Removed.
13229         (getHeaders): Removed.
13231 2004-01-06  Michael Koch  <konqueror@gmx.de>
13233         * javax/print/attribute/standard/DateTimeAtCompleted.java,
13234         javax/print/attribute/standard/DateTimeAtCreation.java,
13235         javax/print/attribute/standard/DateTimeAtProcessing.java,
13236         javax/print/attribute/standard/JobImpressionsCompleted.java,
13237         javax/print/attribute/standard/JobKOctets.java,
13238         javax/print/attribute/standard/JobKOctetsProcessed.java,
13239         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
13240         javax/print/attribute/standard/JobPrioritySupported.java: New files.
13241         * Makefile.am (javax_source_files): Added new files.
13242         * Makefile.in: Regenerated.
13244 2004-01-06  Michael Koch  <konqueror@gmx.de>
13246         * java/net/URLConnection.java
13247         (contentHandler): Removed.
13248         (locale): Removed.
13249         (getHeaderFields): Return an empty map instead of null.
13250         (getContent): Connect if needed, renamed "cType" to "type" and
13251         "contentHandler" to "ch" and made it a local variable.
13252         (getPermission): Don't use package in class name.
13253         (setDefaultRequestProperty): Fixed typo in documentation.
13254         (initializeDateFormats): Made locale a local variable.
13256 2004-01-06  Michael Koch  <konqueror@gmx.de>
13258         * java/lang/Package.java
13259         (getPackage): Get the current class loader directly.
13260         * java/lang/SecurityManager.java
13261         (currentLoadedClass): Dont iterate over class contexts.
13262         (classLoaderDepth): Don't check class loaders if everything is allowed.
13264 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
13266         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
13267         (pre_event_handler): Set all insets to 0 when a Configure event
13268         is received for a GtkPlug.
13269         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
13270         Make handle long, not int.
13271         (EmbeddedWindow()): New constructor.
13272         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
13273         long, not int.
13274         (setHandle): New method.
13275         (getHandle): Return long, not int.
13276         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
13277         declaration.
13278         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
13279         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
13280         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
13281         argument to GdkNativeWindow.
13282         (construct): New method.
13283         (embed): New method.
13285         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
13286         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
13287         (create(int, int)): New method.
13288         (create): Call new create method.
13289         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
13290         methods.
13291         (childResized): Remove native implementation.  Implement in
13292         Java.
13293         (getHScrollbarHeight, getVScrollbarWidth): Call
13294         gtk_widget_size_request to get scrollbar dimensions.
13295         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
13296         call getVScrollbarWidth and getHScrollbarHeight when vertical
13297         and horizontal scrollbars respectively are needed.
13298         (doLayout): Enlarge child if it is smaller than the viewport.
13300 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
13302         * java/awt/Dialog.java (constructor): Accept null title as per spec.
13303         * java/awt/FileDialog.java (constructor): Throw exception on invalid
13304         argument as per spec.
13306 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
13308         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
13309         (insert): Ditto.
13310         (remove): Ditto.  Also, Check for valid argument.
13311         (removeAll): Use peer interface method.
13312         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
13313         native add function.
13314         (nativeRemove): New name for native remove function.
13315         (getHistory): New native function.
13316         (constructor): Generate ItemEvent.
13317         (add): Ditto, if selection is changed.
13318         (remove): Ditto, ditto.
13319         (removeAll): Add implementation.
13320         (handleEvent): Remove.  Dead code.
13321         (choicePostItemEvent): Add comment.
13322         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
13323         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
13324         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
13325         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
13326         comments and fix condition to change selection.
13327         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
13328         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
13329         remove all capability.
13330         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
13331         (item_activate): Add cast to remove compiler warning.
13333 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
13335         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
13336         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13337         (getPreferredSize): Call preferredSize.
13338         (preferredSize): Call gtkWidgetGetPreferredDimensions.
13339         (getMinimumSize): Call minimumSize.
13340         (minimumSize): Call gtkWidgetGetPreferredDimensions.
13341         (gtkWidgetGetDimensions): Return the peer widget's current size
13342         request.
13343         (gtkWidgetGetPreferredDimensions): Return the peer widget's
13344         natural size request.
13346 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
13348         Thanks to Brian Gough <bjg@network-theory.com>
13349         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
13350         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
13352 2004-01-04  Matthias Klose  <doko@debian.org>
13354         * aclocal.m4: Rebuilt using "aclocal -I .".
13355         * configure: Rebuilt.
13357 2004-01-03  Per Bothner  <per@bothner.com>
13359         * java/util/Date.java (parse):  Fix a number of problems.
13360         (skipParens):  Remove no-longer-needed method.