OSDN Git Service

2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
2
3         * configure: Regenerate for libtool change.
4
5 2004-11-29  Tom Tromey  <tromey@redhat.com>
6
7         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
8         Recognize --help and --version.
9         (usage): Mention gcj-dbtool.  Added "out" argument.
10         (insist): Updated.
11
12 2004-11-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
13
14         * link.cc (link_symbol_table): Do not use intptr_t.
15
16 2004-11-28  Mark Wielaard  <mark@klomp.org>
17
18         * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
19         XMLDecoder tests which currently don't compile.
20
21 2004-11-27  Andrew Haley  <aph@redhat.com>
22
23         * link.cc (ensure_class_linked): Conditionally compile
24         _Jv_IsInterpretedClass on INTERPRETER.
25         (print_class_loaded): Likewise.
26         (wait_for_state): Likewise.
27         * include/jvm.h (ROUND): Move to here from include/java-interp.h.
28         * include/java-interp.h (ROUND): Remove.
29
30 2004-11-25  Tom Tromey  <tromey@redhat.com>
31
32         * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
33         * java/lang/Class.h (_Jv_Linker): Declare.
34         (Class): Fix names of friends.
35         (_Jv_getInterfaceMethod): Declare.
36
37 2004-11-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
38
39         * testsuite/lib/libjava.exp (libjava_arguments): Add new global
40         variable libjava_ld_library_path.
41         (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
42
43 2004-11-25  Bryce McKinlay  <mckinlay@redhat.com>
44
45         * java/util/ResourceBundle.java (BundleKey): Don't implement
46         Cloneable.
47         (BundleKey.clone): Removed.
48         (getBundle): Copy BundleKey using constructor, not clone().
49
50 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
51
52         * configure: Regenerate for libtool reversion.
53
54 2004-11-25  Michael Koch  <konqueror@gmx.de>
55
56         * Makefile.am: Added most of javax.print again.
57         * Makefile.in: Regenerated.
58
59 2004-11-25  Michael Koch  <konqueror@gmx.de>
60
61         * Makefile.am: Added most of javax.print again.
62         * Makefile.in: Regenerated.
63
64 2004-11-24  Tom Tromey  <tromey@redhat.com>
65
66         * Merged gcj-abi-2-dev-branch to trunk.
67
68 2004-11-16  Tom Tromey  <tromey@redhat.com>
69
70         * include/java-interp.h (_Jv_DefineClass): Updated.
71         * java/lang/natVMClassLoader.cc (defineClass): Pass protection
72         domain to class reader.
73         * defineclass.cc (parse): Use print_class_loaded.
74         Include ProtectionDomain.h.
75         (_Jv_DefineClass): Added ProtectionDomain argument.
76         (_Jv_ClassReader): Likewise.
77         * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
78         * link.cc: Include CodeSource.h.
79         (print_class_loaded): New function.
80         (wait_for_state): Use it.
81
82 2004-11-16  Andrew Haley  <aph@redhat.com>
83
84         * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
85
86 2004-11-16  Andrew Haley  <aph@redhat.com>
87
88         * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
89         * configure.host: Define libgcj_ld_symbolic for Linux hosts.
90         * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
91         * configure: Regenerate.
92         * Makefile.in: Regenerate.      
93
94 2004-11-15  Andrew Haley  <aph@redhat.com>
95
96         * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
97         gc-allocated object.
98
99 2004-11-15  Andrew Haley  <aph@redhat.com>
100
101         * java/net/URLClassLoader.java
102         (URLLoader.getClassPath): New method.
103         (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
104         attribute and add URLs for each entry.
105         (JarURLLoader.classPath): New field.
106         (JarURLLoader.getClassPath): New method.
107         (addURLImpl): Scan through the list of extraUrls in the new
108         loader, adding them to our urlinfos.
109         (definePackage, findURLResource, findResources): Use
110         urlinfos.size(), not urls.size().
111
112 2004-11-11  Tom Tromey  <tromey@redhat.com>
113
114         * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
115         method.
116         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
117         linked.
118         (ensureSupersLinked): Declare.
119         * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
120         linked.
121
122 2004-11-10  Tom Tromey  <tromey@redhat.com>
123
124         * gij.cc (main): Treat -verbose the same as -verbose:class.
125         (help): Document -verbose and -verbose:class.
126
127         * link.cc (verbose_class_flag): Declare.
128         (wait_for_state): Print message when handling precompiled class.
129         * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
130
131 2004-11-09  Tom Tromey  <tromey@redhat.com>
132
133         * testsuite/libjava.lang/assign2.out: New file.
134         * testsuite/libjava.lang/assign2.java: New file.
135
136         * java/lang/natRuntime.cc (insertSystemProperties): Set
137         java.version to 1.4.2 and java.specification.version to 1.4.  Set
138         java.runtime.version.
139
140 2004-11-08  Tom Tromey  <tromey@redhat.com>
141
142         * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
143         supers installed.
144         * link.cc (verify_type_assertions): Don't link supers.
145
146         * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
147         * include/java-interp.h (class _Jv_InterpClass)
148         <_Jv_PrepareMissingMethods>: No longer `friend'.
149         * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
150         `friend'.
151         (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
152         _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
153         _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
154         _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
155         _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
156         * link.cc (search_method_in_class): Renamed from
157         _Jv_SearchMethodInClass.
158         (resolve_pool_entry): Updated.
159
160         * include/jvm.h (_Jv_CheckAssignment): Removed.
161         * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
162
163 2004-11-05  Tom Tromey  <tromey@redhat.com>
164
165         * link.cc (verify_type_assertions): Ensure classes have supers
166         linked.  Strip off array types first.
167
168 2004-11-05  Bryce McKinlay  <mckinlay@redhat.com>
169
170         * link.cc: Include VerifyError.h. 
171         (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
172         in the type assertion table.
173         * include/execution.h (_Jv_CompiledEngine::do_verify): Use
174         verify_type_assertions.
175         * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
176         * java/lang/Class.h (JV_ASSERT_END_OF_TABLE, 
177         JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
178         assertion code values.
179         (struct _Jv_TypeAssertion): Declare.
180         (assertion_table): New class field.
181         (verify): Remove class field.
182
183 2004-11-05  Andrew Haley  <aph@redhat.com>
184
185         * Makefile.am: Move jv_dbtool.java to
186         gnu/gcj/tools/gcj_dbtool/Main.java.
187         * Makefile.in: Rebuild.
188         * java/lang/VMCompiler.java: Rename property
189         "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
190         * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
191         jv_dbtool.java.
192         
193 2004-11-05  Andrew Haley  <aph@redhat.com>
194
195         * jv_dbtool.java (main): Allow the user to specify the size of the
196         database.  Display the capacity and the size.
197         (usage): Show the new option.
198                 
199 2004-11-04  Tom Tromey  <tromey@redhat.com>
200
201         * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
202         * link.cc (make_vtable): Use correct index when searching for
203         missing method's name.  Don't use `flags'.
204         (set_vtable_entries): Removed `flags' argument.  Don't recurse
205         into superclasses.
206         (link_symbol_table): Ensure target class method table is
207         complete.  Ensure target fields are laid out before entering
208         loop.
209
210         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
211         fix.
212
213         * interpret.cc (do_verify): Don't verify abstract methods.
214
215 2004-11-01  Tom Tromey  <tromey@redhat.com>
216
217         * link.cc (wait_for_state): Call verify_class.
218
219         * verify.cc (state::check_no_uninitialized_objects): Removed.
220         (push_jump): Updated.
221         (push_exception_jump): Likewise.
222         (handle_ret_insn): Likewise.
223         (handle_jsr_insn): Likewise.
224
225 2004-10-28  Andrew Haley  <aph@redhat.com>
226
227         * gnu/gcj/runtime/PersistentByteMap.java: New file.
228         * jv_dbtool.java: New file.
229         * Makefile.am (bin_PROGRAMS): Add jv-dbtool
230         (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
231         (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
232         * Makefile.in: Regenerate,
233         * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
234         Enumeration, StringTokenizer, Vector, PersistentByteMap.
235         (precompiledMapFiles): New variable.
236         (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
237         initialize precompiledMapFiles.
238         (compileClass): Look at the database of precompiled class files
239         before firing up gcj.
240
241         * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
242
243 2004-10-27  Andrew Haley  <aph@redhat.com>
244
245         * java/lang/VMCompiler.java (compileClass): try looking for
246         precompiledMapFiles.
247         * gnu/gcj/runtime/PersistentByteMap.java: New file.
248
249 2004-10-27  Tom Tromey  <tromey@redhat.com>
250
251         * link.cc (ensure_class_linked): Only resolve classes for
252         compiled classes.
253         (add_miranda_methods): Ensure interface supers are installed.
254         (resolve_pool_entry): Better error message.
255
256 2004-10-25  Tom Tromey  <tromey@redhat.com>
257
258         * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
259
260         * java/util/ResourceBundle.java (tryBundle): Use
261         Class.isAssignableFrom rather than catching ClassCastException.
262
263         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
264         exception if we hit EOF of `in'.
265         (read): Handle case where inflating returns -1.
266
267         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
268         initialize `iter'.
269         * gnu/java/text/SentenceBreakIterator.java
270         (SentenceBreakIterator): Don't initialize `iter'.
271         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
272         initialize `iter'.
273         * gnu/java/text/CharacterBreakIterator.java
274         (CharacterBreakIterator): Don't initialize `iter'.
275         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
276         constructor.
277         * java/text/BreakIterator.java: Updated documentation.
278
279 2004-10-20  Tom Tromey  <tromey@redhat.com>
280
281         * java/util/ResourceBundle.java (tryBundle): Also ignore
282         ClassCastException.
283
284 2004-10-18  Tom Tromey  <tromey@redhat.com>
285
286         * interpret.cc (do_post_miranda_hook): New method.
287         * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
288         New field.
289         (_Jv_CompiledEngine::do_post_miranda_hook): New method.
290         (_Jv_CompiledEngine): Initialize new field.
291         (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
292         (_Jv_InterpreterEngine): Initialize new field.
293         * link.cc (resolve_pool_entry): Put Miranda methods in target
294         class.
295         (ensure_method_table_complete): Call post_miranda_hook.
296         * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
297         aux_info.
298         * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
299         (parse): Set class' aux_info here.
300
301         * boehm.cc (_Jv_MarkObj): Mark `throws'.
302
303         * boehm.cc: Re-merged with trunk.
304
305 2004-10-18  Andrew Haley  <aph@redhat.com>
306
307         PR java/18036:
308         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
309         and correct logic used to find interpreter.
310
311 2004-10-13  Andrew Haley  <aph@redhat.com>
312
313         * interpret.cc (_Jv_InterpMethod::run): Initialize
314         _Jv_StartOfInterpreter.
315         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
316         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
317         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
318         _Unwind_FindEnclosingFunction to discover whether PC is within the
319         interpreter.
320
321 2004-10-13  Tom Tromey  <tromey@redhat.com>
322
323         * link.cc (find_iindex): Copy correct number of slots to new
324         ioffsets.
325
326 2004-10-12  Tom Tromey  <tromey@redhat.com>
327
328         * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
329         proc.
330         (gcj_loader_test_one): Use it.
331         (gcj_loader_run): Likewise.
332
333         * prims.cc: Don't include FirstThread.h.
334
335 2004-10-06  Tom Tromey  <tromey@redhat.com>
336
337         * link.cc (ensure_method_table_complete): Ensure superclass
338         Miranda methods installed.
339
340         * include/java-interp.h (class _Jv_JNIMethod): Added
341         JV_MARKOBJ_DECL as a friend.
342         * interpret.cc (ncode): Allocate jni_arg_types field with GC.
343         * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
344         interpreter method structures.  Mark jni_arg_types of JNI
345         methods.
346
347         * defineclass.cc (parse): Use JV_STATE_READ.
348         * java/lang/Class.h (JV_STATE_READ): New enum value.
349
350 2004-10-05  Tom Tromey  <tromey@redhat.com>
351
352         * link.cc (resolve_pool_entry): Add signature info to missing
353         method's information.
354
355         * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
356         * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
357
358 2004-10-04  Tom Tromey  <tromey@redhat.com>
359
360         * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
361         marking IDT.
362
363 2004-09-29  Tom Tromey  <tromey@redhat.com>
364
365         * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
366         resolve.cc.
367         * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
368         * jni.cc: Use _Jv_Linker.
369         * interpret.cc: Use _Jv_Linker.
370         * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
371         * java/lang/natClassLoader.cc: Use _Jv_Linker.
372         * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
373         * java/lang/Class.h: Use _Jv_Linker.
374         * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
375         * resolve.cc: Renamed ...
376         * link.cc: ... here.  Use _Jv_Linker.
377         * defineclass.cc (checkExtends): Use _Jv_Linker.
378
379 2004-09-17  Tom Tromey  <tromey@redhat.com>
380
381         * defineclass.cc (handleCodeAttribute): Don't reference
382         `deferred'.
383         (handleMethodsEnd): Likewise.
384         * include/java-interp.h (_Jv_MethodBase::deferred): Removed
385         field.
386         (_Jv_Defer_Resolution): Don't declare or define.
387         * interpret.cc (do_create_ncode): Don't resolve deferred method
388         pointers.
389         * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
390         * resolve.cc (link_symbol_table): No need to defer resolution.
391
392 2004-09-14  Tom Tromey  <tromey@redhat.com>
393
394         * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
395         (_Jv_MarkObj): Updated.
396         (_Jv_MarkArray): Likewise.
397
398         * include/jvm.h (StringClass): Removed.
399         * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
400         * interpret.cc (_Jv_InitField): Don't use StringClass.
401         * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
402         StringClass.
403         (rehash): Likewise
404         (intern): Likewise.
405         (_Jv_FinalizeString): Likewise.
406         (_Jv_NewStringUtf8Const): Likewise.
407         (equals): Likewise.
408         * prims.cc (JvConvertArgv): Don't use StringClass.
409
410         * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
411         * resolve.cc (ensure_fields_laid_out): Don't mention
412         COMPACT_FIELDS.
413         * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
414         * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
415
416         * java/lang/reflect/natField.cc (getType): Use resolve_field.
417         * java/lang/natVMClassLoader.cc (resolveClass): New native
418         implementation.
419         (linkClass0): Removed.
420         (markClassErrorState0): Likewise.
421         * java/lang/natClassLoader.cc: Include execution.h.  Moved class
422         preparation code to resolve.cc.
423         (_Jv_RegisterClassHookDefault): Set class's execution engine if
424         not already set.
425         (_Jv_FindClass): Use wait_for_state.
426         (_Jv_NewArrayClass): Likewise.  Simplified permissions setting.
427         * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
428         Moved interface table and class preparation code to resolve.cc.
429         (finalize): Rewrote.
430         (initializeClass): Simplified locking and class preparation.
431         * java/lang/VMClassLoader.java (linkClass0): Removed.
432         (markClassErrorState0): Likewise.
433         (resolveClass): Now native.
434         (transformException): New method.
435         * java/lang/Class.h (getSuperclass): Don't try to resolve super
436         reference.
437         (getInterface): Likewise.
438         (size): Likewise.
439         (set_state): New method.
440         (Class): Updated friend declarations.
441         (verify): Field now private.
442         (engine): New field.
443         * include/jvm.h (class _Jv_Resolver): New class declaration.
444         (_Jv_ResolveField): Removed declaration.
445         (_Jv_CheckAccessNoInit): Likewise.
446         (_Jv_isBinaryCompatible): Removed.
447         * include/java-interp.h (class _Jv_MethodBase): Updated friend
448         declarations.
449         (class _Jv_InterpMethod): Likewise.
450         (class _Jv_InterpClass): Likewise.
451         (class _Jv_JNIMethod): Likewise.
452         * include/execution.h: New file.
453         * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
454         (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
455         Register class after setting fields.
456         * resolve.cc: Include execution.h, VerifyError.h.  Moved
457         interpreter-specific code to interpret.cc.
458         (uaddr): New location.
459         (struct aligner): Likewise.
460         (ALIGNOF): Likewise.
461         (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
462         (INITIAL_IFACES_LEN): Likewise.
463         (null_idt): Likewise.
464         (_Jv_GetMethodString): Likewise.
465         (_Jv_ThrowNoSuchMethodError): Likewise.
466         (_Jv_abstractMethodError): Likewise.
467         (_Jv_Resolver::get_alignment_from_class): Renamed.
468         (_Jv_Resolver::resolve_field): Likewise.
469         (_Jv_Resolver::resolve_pool_entry): Likewise.
470         (_Jv_Resolver::resolve_class_ref): Likewise.
471         (_Jv_Resolver::prepare_constant_time_tables): Likewise.
472         (_Jv_Resolver::indexof): Likewise.
473         (_Jv_Resolver::get_interfaces): Likewise.
474         (_Jv_Resolver::generate_itable): Likewise.
475         (_Jv_Resolver::append_partial_itable): Likewise.
476         (_Jv_Resolver::find_iindex): Likewise.
477         (_Jv_Resolver::link_symbol_table): Likewise.
478         (_Jv_Resolver::link_exception_table): Likewise.
479         (_Jv_Resolver::layout_interface_methods): Likewise.
480         (_Jv_Resolver::layout_vtable_methods): Likewise.
481         (_Jv_Resolver::set_vtable_entries): Likewise.
482         (_Jv_Resolver::make_vtable): Likewise.
483         (_Jv_Resolver::ensure_fields_laid_out): Likewise.
484         (_Jv_Resolver::ensure_class_linked): Likewise.
485         (_Jv_Resolver::ensure_supers_installed): Likewise.
486         (_Jv_Resolver::add_miranda_methods): Likewise.
487         (_Jv_Resolver::ensure_method_table_complete): Likewise.
488         (_Jv_Resolver::verify_class): Likewise.
489         (_Jv_Resolver::wait_for_state): Likewise.
490         * prims.cc (_Jv_soleCompiledEngine): New global.
491         (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
492         (_Jv_CheckAccessNoInit): Removed.
493         * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
494         * interpret.cc: Include platform.h, ClassFormatError.h,
495         Modifier.h, execution.h.
496         (_Jv_soleInterpreterEngine): New global.
497         (compile): Use resolve_pool_entry.
498         (run): Likewise.
499         (_Jv_InitField): New location.
500         (skip_one_type): Likewise.
501         (get_ffi_type_from_signature): Likewise.
502         (_Jv_count_arguments): Likewise.
503         (init_cif): Likewise.
504         (ncode_closure): Likewise.
505         (ffi_closure_fun): Likewise.
506         (ncode): Likewise.
507         (throw_class_format_error): Likewise.
508         (throw_class_format_error): Likewise.
509         (_Jv_InterpreterEngine::do_verify): New method.
510         (_Jv_InterpreterEngine::do_create_ncode): Likewise.
511         (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
512         (_Jv_InterpreterEngine::do_resolve_method): Likewise.
513         * defineclass.cc: Include execution.h.
514         (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
515         engine.
516         (checkExtends): Ensure superclass has supers installed.
517         (_Jv_ClassNameSamePackage): Clarify usage constraints.
518         * boehm.cc (GC_enable, GC_disable): Declare at top of file.
519         (_Jv_MarkObj): Unconditionally mark vtable.  Mark interface
520         dispatch tables.
521
522 2004-09-13  Tom Tromey  <tromey@redhat.com>
523
524         * mauve-libgcj: List some classes we don't have.
525
526 2004-09-10  Andrew Haley  <aph@redhat.com>
527
528         * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
529         * java/lang/natClass.cc (initializeClass): Check itable.
530         (_Jv_getInterfaceMethod): New.
531         (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
532         Check that an interface method isn't called with invokevirtual.
533
534         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
535         super_meth is virtual.
536
537 2004-09-01  Tom Tromey  <tromey@redhat.com>
538
539         * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
540         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
541         _Jv_CheckAccessNoInit.
542         * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
543         * prims.cc (_Jv_CheckAccessNoInit): New method.
544
545         * java/lang/reflect/natMethod.cc (invoke): Check access against
546         declaring class, not object's class.
547         * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
548         argument.
549         (_Jv_LayoutVTableMethods): Perform checks of accessibility of
550         overridden method.
551         * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
552         argument.
553
554 2004-08-30  Andrew Haley  <aph@redhat.com>
555
556         * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
557         ClassNotFoundException.
558         Throw NoClassDefFoundError.
559
560         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
561         to klass->verify() from here ...
562         (_Jv_PrepareCompiledClass): ...and put it here.
563
564 2004-08-27  Andrew Haley  <aph@redhat.com>
565
566         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
567         klass->verify().
568         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
569         (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
570
571 2004-08-27  Tom Tromey  <tromey@redhat.com>
572
573         * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
574         friend.
575         * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
576         (_Jv_IsAssignableFromSlow): New function.
577         Include VerifyError.h.
578         * include/jvm.h (_Jv_CheckAssignment): Declare.
579
580 2004-08-18  Andrew Haley  <aph@redhat.com>
581
582         * java/lang/VMCompiler.java (loadSharedLibrary): Add className
583         argument.  Pass it to findClass instead of fileName.
584         (compileClass): Pass class name to loadSharedLibrary.
585
586 2004-06-22  Andrew Haley  <aph@redhat.com>
587
588         * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
589
590 2004-06-15  Andrew Haley  <aph@redhat.com>
591
592         * java/lang/natSystem.cc (getenv0): Don't assume environment
593         variable is Latin 1 coded.
594
595 2004-06-07  Andrew Haley  <aph@redhat.com>
596
597         * java/lang/System.java: (getenv0): New method.
598         (getenv): Add security check.  Do the right thing.
599         * java/lang/natSystem.cc (getenv0): New method.
600
601 2004-04-19    Andrew Haley  <aph@redhat.com>
602
603         * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
604         we destroy.
605
606         * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
607         is returned as an int in the range 0 to 255.
608
609 2004-08-13  Tom Tromey  <tromey@redhat.com>
610
611         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
612         class if it is interpreted.
613
614 2004-08-12  Tom Tromey  <tromey@redhat.com>
615
616         * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
617         * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
618         (Class::getSuperclass): Updated.
619         (Class::getInterfaces): Likewise.
620         (Class::size): Updated.
621         (_Jv_LayoutClass): Updated declaration.
622         * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
623         Synchronize on class.
624         (_Jv_LayoutClass): Changed interface.
625         (initializeClass): Updated.
626         (_Jv_LinkSymbolTable): Likewise.
627
628         * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
629         friend.
630         * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
631         _Jv_isBinaryCompatible.
632         * java/lang/natClass.cc (initializeClass): Use
633         _Jv_isBinaryCompatible.
634         (_Jv_LinkSymbolTable): Likewise.
635         * include/jvm.h (_Jv_isBinaryCompatible): New function.
636
637 2004-08-11  Tom Tromey  <tromey@redhat.com>
638
639         * gcj/javaprims.h: Regenerated.
640         * java/lang/natClassLoader.cc (getClassLoader0): Removed.
641         (_registerClass): Likewise.
642         * Makefile.in: Rebuilt.
643         * Makefile.am (core_java_source_files): Added VMCompiler.
644         * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
645         * java/lang/VMCompiler.java: New file.
646         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
647         `verbose' code.
648         (copyFile): Don't use fully-qualified name.
649         (h): Removed.
650         * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
651         (defineClass): Use VMCompiler.
652         * java/lang/ClassLoader.java (defineClass): Removed jit
653         compilation code and `verbose' code.
654         (getClassLoader0): Removed.
655         (_registerClass): Likewise.
656         (SharedLibHelpers): Removed.
657
658 2004-08-10  Tom Tromey  <tromey@redhat.com>
659
660         * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
661         URL)): New constructor.
662         (SoURLLoader): Likewise.
663         (JarURLLoader): Create SoURLLoader with override URL.
664
665 2004-08-10  Mark Wielaard  <mark@klomp.org>
666
667         * Makefile.in: Rebuilt.
668         * Makefile.am (interpret.lo): New rule.
669
670 2004-08-05  Andrew Haley  <aph@redhat.com>
671
672         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
673         aside for "GCJLIBS" in directory where jarfiles are loaded.     
674         (JarURLLoader.getClass): New method.
675         (JarURLLoader.toString):  New method.
676         (FileResource.toString):  New method.
677         * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
678         Remove "Duplicate class registration: " bug.
679         (_registerClass): New method.
680         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
681         (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
682         Add debugging.
683         (_Jv_LayoutClass): Use getSuperclass() rather than directly
684         accessing the field.
685         * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
686         (defineClass): Call gcj to JIT-compile a class.
687         (_registerClass): New method.
688         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
689         library name can refer to more than one loaded library, so use a
690         Set of SharedLibHelpers.
691         If a shared library is already loaded, take a copy.
692         (copyFile): New function.
693
694         * testsuite/libjava.compile/compile.exp: Force
695         -findirect-dispatch.
696
697         * java/security/BasicPermission.java: Remove bogus checks.
698
699         * java/lang/System.java (getenv0): New method.
700         * java/lang/natSystem.cc (getenv0): New method.
701
702 2004-05-24  Andrew Haley  <aph@redhat.com>
703
704         * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
705
706 2004-04-20  Bryce McKinlay  <mckinlay@redhat.com>
707
708         * Merged with HEAD as of 20040514. Diff against
709         gcj-abi-2-merge-20040514.
710
711 2004-04-16  Andrew Haley  <aph@redhat.com>
712
713         * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
714         _Jv_LayoutClass.
715         (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
716         (_Jv_PrepareCompiledClass): If we throw an exception during
717         preparation, restore state.
718         (ClassLoader::getClassLoader0): New method.
719
720         * java/lang/natClass.cc (get_alignment_from_class): Moved here
721         from resolve.cc.
722         (ALIGNOF): Use offsetof, not __alignof__.
723         (_Jv_ResolveClassRef): Resolve a reference to a class in a
724         constant pool.
725         (getInterfaces): Emit debug output if interface hasn't been
726         resolved.
727         (initializeClass): Call _Jv_LayoutClass.
728         (_Jv_LinkSymbolTable): Add debugging output.
729         (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
730         found.
731         (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
732         (_Jv_LinkSymbolTable): Pass the real class loader to
733         _Jv_FindClass.
734         (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
735         exception class.
736         (_Jv_LinkSymbolTable): Assert if we find a static field reference
737         to an interpreted class.
738         (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
739         superclass.
740         (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
741         resolve.cc.
742         
743         * java/lang/VMSecurityManager.java: Check for the system class
744         loader as well as loader != null.
745         
746         * java/lang/SecurityManager.java (checkPermission): Remove
747         security check.
748         (checkRead): Likewise.
749         (checkConnect): Likewise.
750
751         * java/lang/ClassLoader.java (loadClass): Include all class
752         loaders in stack trace string.
753         Look for class in "gcjlib.so" in the same directory.
754         (getSystemClassLoader) Use getClassLoader0.
755         (getClassLoader0): New native method.
756
757         * java/lang/Class.h (getSuperclass): New method.
758         (getInterface): New method.
759         (size): Lay out class if needed.
760         (firstMethodIndex): New method.
761         (Jv_ResolveClassRef): New declaration.
762         (_Jv_LinkSymbolTable): New declaration.
763
764         * java/io/ObjectOutputStream.java: Add DEBUG statements
765         everywhere.
766         (dumpElementln): New method.
767         (depth): New field.
768         * java/io/ObjectInputStream.java (MyIOException): new, for
769         debugging.
770         Everywhere: use MyIOException rather than IOException.
771         Indent debugging output to make nesting visible.
772         (currentClassLoader): Make native
773         (callersClassLoader): New field.
774         (depth): New field.
775         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
776         method.
777         
778         (readObject): ENDBLOCKDATA is generated if the class has a write
779         method, not if it has a read method.
780
781         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
782
783         * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
784         getContextClassLoader form the current thread after our own class
785         loader.
786
787         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
788         debugging.
789         (toString): New method.
790
791         * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
792         interfaces array.
793
794         * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
795         a constant pool entry, resolve it now.
796         (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
797         in natClass.cc.
798         Move get_alignment_from_class to natClass.cc.
799
800         * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
801         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
802
803         * defineclass.cc (checkExtends): Don't access superclass field
804         directly.
805
806         * Makefile.in: regenerate.
807
808         * gnu/gcj/util/natDebug.cc: New
809         * gnu/gcj/util/Debug.java: New.
810
811         * Makefile.am (java/io/ObjectInputStream.lo): Use
812         -fno-optimize-sibling-calls.
813
814         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
815         _Jv_LookupInterfaceMethodIdx to calculate the address of a method
816         in an interface.
817         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
818
819 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
820
821         * configure: Regenerate for libtool change.
822
823 2004-11-24  Michael Koch  <konqueror@gmx.de>
824
825         * gnu/java/security/PolicyFile.java: New file.
826         * Makefile.am: Added gnu/java/security/PolicyFile.java.
827         * Makefile.in: Regenerated.
828
829 2004-11-24  Michael Koch  <konqueror@gmx.de>
830
831         * java/lang/Character.java, scripts/unicode-blocks.pl:
832         Reorder "final static" to "static final".
833
834 2004-11-24  Michael Koch  <konqueror@gmx.de>
835
836         * java/util/ResourceBundle.java: Reformatted.
837         (tryBundle): Fixed javadoc.
838
839 2004-11-24  Jeroen Frijters  <jeroen@frijters.net>
840
841         * java/text/MessageFormat.java
842         (formatInternal): Made private.
843
844 2004-11-24  Michael Koch  <konqueror@gmx.de>
845
846         * java/nio/DirectByteBufferImpl.java
847         (ReadWrite.ReadWrite): New constructor.
848         (DirectByteBufferImpl): Likewise.
849         * jni.cc (_Jv_JNI_NewDirectByteBuffer):
850         Use DirectByteBufferImpl.ReadWrite.
851         * Makefile.am:
852         Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
853         * Makefile.in: Rgenerated.
854
855 2004-11-24  Jeroen Frijters  <address@bogus.example.com>
856
857         * java/nio/DirectByteBufferImpl.java
858         (ReadOnly): New inner subclass.
859         (ReadWrite): New inner subclass.
860         (owner): Made final and private.
861         (address): Made final.
862         (DirectByteBufferImpl(int)): New constructor.
863         (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
864         (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
865         (allocate): Modified to instantiate ReadWrite subclass.
866         (finalize): Fixed to only free the buffer, if we own it.
867         (put): Removed read-only check.
868         (slice, duplicate): Modified to instantiate appropriate subclass.
869         (isReadOnly): Removed.
870         * java/nio/MappedByteBufferImpl.java
871         (slice, duplicate): Modified to instantiate appropriate
872         DirectByteBufferImpl subclass.
873
874 2004-11-24  Michael Koch  <konqueror@gmx.de>
875
876         * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
877         * java/nio/DirectByteBufferImpl.java:
878         Moved native methods to java.nio.VMDirectByteBuffer class.
879         * java/nio/MappedByteBufferImpl.java:
880         Use native methods from java.nio.VMDirectByteBuffer class.
881         * java/nio/VMDirectByteBuffer.java: New file,
882         * java/nio/natDirectByteBufferImpl.cc:
883         Moved all methods into java.nio.VMDirectByteBuffer class.
884         * java/nio/channels/spi/AbstractSelectableChannel.java
885         (register): Only re-use valid keys.
886         * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
887         * Makefile.in: Regenerated.
888
889 2004-11-24  Michael Koch  <konqueror@gmx.de>
890
891         * java/nio/DirectByteBufferImpl.java,
892         java/nio/MappedByteBufferImpl.java:
893         Reformatted.
894
895 2004-11-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
896
897         * testsuite/lib/libjava.exp,
898         testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
899
900 2004-11-23  Richard Sandiford  <rsandifo@redhat.com>
901
902         * configure.host: Enable the interpreter for mips*-*-linux*.
903
904 2004-11-23  Michael Koch  <konqueror@gmx.de>
905
906         * java/lang/String.java (rehash): Removed.
907         * java/lang/natString.cc (rehash): Made static.
908         (_Jv_NewStringUtf8Const): Use static rehash method.
909
910 2004-11-23  Michael Koch  <konqueror@gmx.de>
911
912         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
913         include/Makefile.in, testsuite/Makefile.in: Regenerated.
914
915 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
916
917         PR target/18444
918         * configure.ac (threading): Accept 'posix95'.
919         * configure: Regenerate.
920
921 2004-11-22  Michael Koch  <konqueror@gmx.de>
922
923         * gnu/java/nio/SocketChannelImpl.java
924         (read): Made check for blocking un-ambiguous.
925         Removed wrong check for data array length.
926
927 2004-11-21  Michael Koch  <konqueror@gmx.de>
928
929         * gnu/java/nio/SocketChannelImpl.java
930         (read): Only return 0 when no bytes for reading available in
931         non-blocking mode.
932         * java/nio/channels/SocketChannel.java:
933         Added some missing @return tags.
934
935 2004-11-21  Michael Koch  <konqueror@gmx.de>
936
937         * java/beans/PropertyChangeSupport.java
938         (propertyChangeSupportSerializedDataVersion): Made static.
939         * java/beans/VetoableChangeSupport.java
940         (propertyChangeSupportSerializedDataVersion): Likewise.
941
942 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
943
944         * java/net/URLStreamHandler.java
945         (parseURL): Fixed file path canonicalisation.
946
947 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
948
949         * java/net/URLStreamHandler.java
950         (parseURL): Fixed file path canonicalisation.
951
952 2004-11-18  Michael Koch  <konqueror@gmx.de>
953
954         * java/net/URLClassLoader.java: Whitespace cleanup.
955
956 2004-11-18  Robert Schuster <address@bogus.example.com>
957
958         Complete 1.4 support
959         * java/beans/PropertyDescriptor.java:
960         (setReadMethod): New method
961         (setWriteMethod): New method
962         (equals): Implemented (1.4)
963         (checkMethods): operates on arguments now (private)
964
965
966 2004-11-18  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
967
968         * java/net/Inet6Address.java (getHostAddress): Fix textual
969         representation of IPv6 address with embedded zeroes
970         to conform to RFC 2373.
971
972 2004-11-18  Jeroen Frijters  <address@bogus.example.com>
973
974         * java/lang/StackTraceElement.java: Made final.
975         * java/nio/channels/Channels.java: Added private constructor.
976         * java/rmi/Naming.java: Added private constructor.
977         * java/rmi/registry/LocateRegistry.java: Added private constructor.
978         * java/rmi/server/RMIClassLoader.java: Added private constructor.
979         * java/security/KeyPairGeneratorSpi.java
980         (clone): Made protected and simplified implementation.
981         * java/text/DateFormat.java
982         (allFields): Made package accessible.
983         * java/text/DecimalFormat.java
984         (formatInternal): Made private.
985         * java/text/Format.java
986         (formatInternal): Made private.
987         * java/util/logging/Handler.java: Made constructor protected.
988         * java/util/regex/Matcher.java: Made final.
989         * java/util/regex/Pattern.java: Made final.
990         * javax/crypto/CipherInputStream.java
991         (mark): Corrected mark parameter type (from long to int).
992         * javax/crypto/ExemptionMechanism.java
993         (finalize): Added.
994         * javax/crypto/Mac.java
995         (getMacLength): Made final.
996         (clone): Made final.
997         * javax/imageio/ImageIO.java: Added private constructor.
998         * javax/imageio/stream/ImageInputStreamImpl.java
999         (checkClosed): Made final.
1000         * javax/net/ssl/SSLPermission.java: Made final.
1001         * javax/print/DocFlavor.java
1002         (hostEncoding): Added work-around to prevent the field from being
1003         a compile time constant.
1004         * javax/print/attribute/AttributeSetUtilities.java: Added private
1005         constructor.
1006         (UnmodifiableDocAttributeSet): Made private.
1007         (UnmodifiablePrintJobAttributeSet): Made private.
1008         (UnmodifiablePrintRequestAttributeSet): Made private.
1009         (UnmodifiablePrintServiceAttributeSet): Made private.
1010         (SynchronizedAttributeSet): Made private.
1011         (SynchronizedDocAttributeSet): Made private.
1012         (SynchronizedPrintJobAttributeSet): Made private.
1013         (SynchronizedPrintRequestAttributeSet): Made private.
1014         (SynchronizedPrintServiceAttributeSet): Made private.
1015         * javax/security/auth/PrivateCredentialPermission.java: Made final.
1016
1017 2004-11-18  Craig Black  <craig.black@aonix.com>
1018
1019         * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
1020
1021 2004-11-18  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
1022
1023         * Makefile.am: Correct friend function declaration.
1024         * Makefile.in: Regenerated.
1025         * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
1026         scope to function names.  Declare functions directly.
1027         * libjava/java/lang/Class.h
1028         (java::lang::Class): Correct friend class declaration.
1029         (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
1030         scope.
1031         * libjava/java/lang/Class.h
1032         (java::lang::Object): Correct friend class declaration.
1033
1034 2004-11-17  David Daney  <ddaney@avtrex.com>
1035
1036         * java/io/BufferedInputStream.java (skip): Return zero on EOF.
1037
1038 2004-11-17  Michael Koch  <konqueror@gmx.de>
1039
1040         * java/net/Socket.java (getPort): Return 0 in error case.
1041
1042 2004-11-17  Michael Koch  <konqueror@gmx.de>
1043
1044         *  java/nio/DirectByteBufferImpl.java
1045         (owner): Updated comment.
1046         (allocate): New method.
1047
1048 2004-11-17  Michael Koch  <konqueror@gmx.de>
1049
1050         * java/net/URL.java (URL): Handle case when argument is null.
1051
1052 2004-11-17  Michael Koch  <konqueror@gmx.de>
1053
1054         * java/beans/Beans.java,
1055         java/beans/PropertyChangeEvent.java,
1056         java/beans/PropertyEditorSupport.java:
1057         Fixed javadocs.
1058
1059 2004-11-17  Michael Koch  <konqueror@gmx.de>
1060
1061         * java/util/Timer.java (DEFAULT_SIZE): Made static.
1062
1063 2004-11-17  Michael Koch  <konqueror@gmx.de>
1064
1065         * java/net/InetAddress.java (getCanonicalHostName):
1066         Support IPv6 addresses.
1067
1068 2004-11-16  Michael Koch  <konqueror@gmx.de>
1069
1070         * java/lang/Object.java: Added javadocs all over (merged from GNU
1071         classpath).
1072
1073 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
1074
1075         * java/security/Security.java (Security): Silence the warning about no
1076         providers found in the no debug case.
1077
1078 2004-11-16  Michael Koch  <konqueror@gmx.de>
1079
1080         * java/net/InetAddress.java
1081         (toString): Merged from GNU classpath.
1082
1083 2004-11-16  Michael Koch  <konqueror@gmx.de>
1084
1085         * java/awt/geom/doc-files/Area-1.png,
1086         java/awt/geom/doc-files/Ellipse-1.png,
1087         java/awt/geom/doc-files/GeneralPath-1.png:
1088         New files.
1089
1090 2004-11-16  Michael Koch  <konqueror@gmx.de>
1091
1092         * java/util/Currency.java (cache): Fix modifier order.
1093
1094 2004-11-16  Michael Koch  <konqueror@gmx.de>
1095
1096         * java/io/BufferedReader.java,
1097         java/io/FileInputStream.java,
1098         java/io/FileOutputStream.java,
1099         java/io/FileWriter.java,
1100         java/io/OutputStreamWriter.java,
1101         java/io/PipedInputStream.java,
1102         java/io/PipedOutputStream.java,
1103         java/io/PipedReader.java,
1104         java/io/PipedWriter.java,
1105         java/io/PrintStream.java,
1106         java/io/PushbackInputStream.java,
1107         java/io/RandomAccessFile.java,
1108         java/io/Reader.java,
1109         java/io/StreamTokenizer.java,
1110         java/io/StringReader.java,
1111         java/net/NetworkInterface.java,
1112         java/net/URLClassLoader.java,
1113         java/nio/ByteOrder.java,
1114         java/nio/channels/Channel.java:
1115         Fixed javadocs all over.
1116
1117 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
1118
1119         * Makefile.am: Add imported files.
1120         * Makefile.in: Regenerate.
1121
1122         2004-10-24  Casey Marshall  <csm@gnu.org>
1123
1124         * javax/security/auth/login/LoginContext.java: Implemented.
1125         * javax/security/auth/login/Configuration.java (getConfig): New method.
1126         * javax/security/auth/spi/LoginModule.java,
1127         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
1128
1129 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
1130
1131         Import/Merge the X.509 certificate code from Classpath.
1132
1133         * Makefile.am: Add imported files.
1134         * Makefile.in: Regenerate.
1135
1136         2004-11-07  Casey Marshall  <csm@gnu.org>
1137
1138         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
1139         priviliged action. Add new algorithms.
1140         * gnu/java/security/provider/X509CertificateFactory.java
1141         (engineGenerateCertificate): Chain exceptions.
1142         (engineGenerateCertificates): Likewise.
1143         (engineGenerateCRL): Likewise.
1144         (engineGenerateCRLs): Likewise.
1145         (engineGenerateCertPath): New methods.
1146         (generateCert): Throw exception if 'inStream' is null.
1147         (generateCRL): Likewise.
1148         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
1149         version from GNU Crypto CVS.
1150         * gnu/java/security/x509/X509CRL.java: Likewise.
1151         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
1152         * gnu/java/security/x509/X509Certificate.java: Likewise.
1153         * java/security/cert/TrustAnchor.java: Call 'toString' and not
1154         toRFC2253.
1155         * gnu/java/security/provider/CollectionCertStoreImpl.java,
1156         * gnu/java/security/provider/EncodedKeyFactory.java,
1157         * gnu/java/security/provider/GnuDHPublicKey.java,
1158         * gnu/java/security/provider/GnuRSAPrivateKey.java,
1159         * gnu/java/security/provider/GnuRSAPublicKey.java,
1160         * gnu/java/security/provider/MD2withRSA.java,
1161         * gnu/java/security/provider/MD4withRSA.java,
1162         * gnu/java/security/provider/MD5withRSA.java,
1163         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
1164         * gnu/java/security/provider/RSA.java,
1165         * gnu/java/security/provider/RSAKeyFactory.java,
1166         * gnu/java/security/provider/SHA1withRSA.java,
1167         * gnu/java/security/x509/GnuPKIExtension.java,
1168         * gnu/java/security/x509/PolicyNodeImpl.java,
1169         * gnu/java/security/x509/Util.java,
1170         * gnu/java/security/x509/X509CRLSelectorImpl.java,
1171         * gnu/java/security/x509/X509CertPath.java,
1172         * gnu/java/security/x509/X509CertSelectorImpl.java,
1173         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
1174         * gnu/java/security/x509/ext/BasicConstraints.java,
1175         * gnu/java/security/x509/ext/CRLNumber.java,
1176         * gnu/java/security/x509/ext/CertificatePolicies.java,
1177         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
1178         * gnu/java/security/x509/ext/Extension.java,
1179         * gnu/java/security/x509/ext/GeneralNames.java,
1180         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
1181         * gnu/java/security/x509/ext/KeyUsage.java,
1182         * gnu/java/security/x509/ext/PolicyConstraint.java,
1183         * gnu/java/security/x509/ext/PolicyMappings.java,
1184         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
1185         * gnu/java/security/x509/ext/ReasonCode.java,
1186         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
1187         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
1188
1189         2004-11-07  Casey Marshall  <csm@gnu.org>
1190
1191         * gnu/java/security/x509/X509CRL.java:
1192         Missed import statements in previous checkin.
1193
1194         2004-11-07  Casey Marshall  <csm@gnu.org>
1195
1196         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
1197         to 'X509CertificateImpl' from previous checkin.
1198
1199 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
1200
1201         PR other/14264
1202         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
1203
1204 2004-11-11  Casey Marshall  <csm@gnu.org>
1205
1206         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
1207         channel is open.
1208         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
1209         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
1210
1211 2004-11-11  Robert Schuster <thebohemian@gmx.net>
1212
1213         Fixed regression:
1214         * gnu/java/beans/IntrospectionIncubator.java:
1215         (addMethod): Corrected classification of normal and property methods.
1216         (capitalize): Added documentation.
1217         (DoubleKey): [class] Added documentation.
1218
1219 2004-11-09  Tom Tromey  <tromey@redhat.com>
1220
1221         * include/jni.h: Added FIXME.
1222
1223 2004-11-08  Tom Tromey  <tromey@redhat.com>
1224
1225         * java/util/GregorianCalendar.java: Removed unused imports.
1226         * java/util/Vector.java: Removed unused import.
1227
1228 2004-11-07  Michael Koch  <konqueror@gmx.de>
1229
1230         * java/lang/Process.java:
1231         Import cleanups.
1232
1233 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
1234
1235         * java/util/zip/ZipEntry.java
1236         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
1237
1238 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
1239
1240         Fixes bug #10908
1241         * gnu/java/beans/IntrospectionIncubator.java:
1242         (addMethod): static methods are discarded now, too.
1243
1244 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
1245
1246         * java/util/GregorianCalendar.java
1247         Added/amended documentation.
1248
1249 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
1250
1251         * java/util/Collections.java
1252         Added documentation.
1253         * java/util/SortedMap.java
1254         Clarified some method examples.
1255         * java/util/SortedSet.java
1256         Clarified some method examples.
1257
1258 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
1259
1260         * java/util/Currency.java
1261         Documented variables and methods more fully.
1262         Caches the currency instances, so that a request
1263         for a locale, l, only ever returns the same
1264         instance (i.e. successive calls to getInstance(l)
1265         are reference equivalent (==)).
1266
1267 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1268
1269         * java/util/Date.java
1270         Added missing documentation.
1271
1272 2004-11-06  Michael Koch  <konqueror@gmx.de>
1273
1274         * java/util/zip/CheckedInputStream.java,
1275         java/util/zip/InflaterInputStream.java,
1276         java/util/zip/ZipFile.java,
1277         java/util/zip/ZipInputStream.java:
1278         Import cleanups.
1279
1280 2004-11-06  Tom Tromey  <tromey@redhat.com>
1281
1282         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
1283         package-private.
1284         (connections): Likewise.
1285         (scavenger): Likewise.
1286         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
1287         package-private.
1288         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
1289         package-private.
1290         (ptr): Likewise.
1291         * gnu/classpath/ServiceFactory.java (log): Now package-private.
1292
1293 2004-11-06  Tom Tromey  <tromey@redhat.com>
1294
1295         * javax/naming/directory/BasicAttributes.java (attributes): Now
1296         package-private.
1297         * javax/imageio/spi/ServiceRegistry.java (categories): Now
1298         package-private.
1299
1300 2004-11-06  Tom Tromey  <tromey@redhat.com>
1301
1302         * java/net/URLClassLoader.java (URLClassLoader): Now
1303         package-private.
1304         * java/nio/charset/CoderResult.java (CoderResult): Now
1305         package-private.
1306         (get): Likewise.
1307         (Cache): Likewise.  Don't synchronize on `this'.
1308         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
1309         package-private.
1310         * java/util/TimeZone.java (timezones): Now package-private.
1311
1312 2004-11-06  Tom Tromey  <tromey@redhat.com>
1313
1314         * java/security/Permissions.java (perms): Now package-private.
1315         * java/security/UnresolvedPermission.java (permissions): Now
1316         package-private.
1317
1318 2004-11-06  Tom Tromey  <tromey@redhat.com>
1319
1320         * java/io/FilePermission.java: Reindented.
1321
1322 2004-11-06  Tom Tromey  <tromey@redhat.com>
1323
1324         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
1325         package-private.
1326         (setBlockDataMode): Likewise.
1327
1328 2004-11-06  Tom Tromey  <tromey@redhat.com>
1329
1330         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
1331         package-private.
1332         (Encoder): Likewise.
1333         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
1334         (Encoder): Likewise.
1335         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
1336         package-private.
1337         (Encoder): Likewise.
1338
1339 2004-11-06  Mark Wielaard  <mark@klomp.org>
1340
1341         * Makefile.am: Add new javax.imageio files.
1342         * Makefile.in: Regenerated.
1343
1344 2004-11-06  Michael Koch  <konqueror@gmx.de>
1345
1346         * javax/imageio/event/IIOReadProgressListener.java,
1347         javax/imageio/event/IIOReadUpdateListener.java,
1348         javax/imageio/event/IIOReadWarningListener.java,
1349         javax/imageio/event/IIOWriteProgressListener.java,
1350         javax/imageio/event/IIOWriteWarningListener.java,
1351         javax/imageio/metadata/IIOMetadataFormat.java,
1352         javax/imageio/stream/FileCacheImageInputStream.java,
1353         javax/imageio/stream/FileCacheImageOutputStream.java,
1354         javax/imageio/stream/ImageInputStreamImpl.java:
1355         Import cleanup.
1356         * javax/imageio/metadata/package.html: New file.
1357
1358 2004-11-06  Michael Koch  <konqueror@gmx.de>
1359
1360         * javax/imageio/spi/ImageReaderSpi.java
1361         (isOwnReader): New method.
1362         * javax/imageio/spi/ImageWriterSpi.java
1363         (isOwnWriter): Likewise.
1364
1365 2004-11-06  Michael Koch  <konqueror@gmx.de>
1366
1367         * javax/imageio/ImageWriter.java
1368         (convertImageMetadata): New abstract method.
1369         (convertStreamMetadata): Likewise.
1370         (write): Likewise.
1371         * javax/imageio/stream/FileCacheImageInputStream.java
1372         (close): Fixed setting of stream to null.
1373         (checkStreamClosed): Throws IOException.
1374
1375 2004-11-06  Michael Koch  <konqueror@gmx.de>
1376
1377         * javax/imageio/stream/FileCacheImageInputStream.java,
1378         javax/imageio/stream/FileCacheImageOutputStream.java,
1379         javax/imageio/stream/FileImageInputStream.java,
1380         javax/imageio/stream/FileImageOutputStream.java,
1381         javax/imageio/stream/MemoryCacheImageInputStream.java,
1382         javax/imageio/stream/MemoryCacheImageOutputStream.java:
1383         New files.
1384
1385 2004-11-06  Michael Koch  <konqueror@gmx.de>
1386
1387         * javax/imageio/metadata/IIOInvalidTreeException.java,
1388         javax/imageio/metadata/IIOMetadataFormatImpl.java,
1389         javax/imageio/metadata/IIOMetadataNode.java:
1390         New stub files.
1391
1392 2004-11-06  Michael Koch  <konqueror@gmx.de>
1393
1394         * javax/imageio/stream/ImageInputStreamImpl.java,
1395         javax/imageio/stream/ImageOutputStreamImpl.java:
1396         New files.
1397
1398 2004-11-06  Michael Koch  <konqueror@gmx.de>
1399
1400         * javax/imageio/ImageIO.java:
1401         Added much new methods.
1402
1403 2004-11-06  Michael Koch  <konqueror@gmx.de>
1404
1405         * javax/imageio/ImageReader.java,
1406         javax/imageio/ImageWriter.java,
1407         javax/imageio/spi/ImageWriterSpi.java:
1408         Add SOME new methods.
1409
1410 2004-11-06  Michael Koch  <konqueror@gmx.de>
1411
1412         * javax/imageio/IIOParam.java,
1413         javax/imageio/ImageReadParam.java,
1414         javax/imageio/ImageReader.java,
1415         javax/imageio/ImageWriter.java:
1416         Mostly implemented.
1417         * javax/imageio/spi/ImageReaderSpi.java,
1418         javax/imageio/spi/ImageWriterSpi.java:
1419         New files.
1420
1421 2004-11-06  Michael Koch  <konqueror@gmx.de>
1422
1423         * javax/imageio/ImageWriteParam.java,
1424         javax/imageio/metadata/IIOMetadataFormat.java:
1425         Implemented.
1426
1427 2004-11-06  Michael Koch  <konqueror@gmx.de>
1428
1429         * javax/imageio/ImageTypeSpecifier.java:
1430         Mostly implemented.
1431
1432 2004-11-06  Michael Koch  <konqueror@gmx.de>
1433
1434         * javax/imageio/metadata/IIOMetadata.java:
1435         Mostly implemented.
1436
1437 2004-11-06  Michael Koch  <konqueror@gmx.de>
1438
1439         * javax/imageio/IIOImage.java,
1440         javax/imageio/ImageReadParam.java,
1441         javax/imageio/metadata/IIOMetadataController.java,
1442         javax/imageio/metadata/IIOMetadataFormat.java:
1443         New files.
1444         * javax/imageio/stream/ImageOutputStream.java:
1445         Implemented.
1446
1447 2004-11-06  Michael Koch  <konqueror@gmx.de>
1448
1449         * javax/imageio/IIOParam.java,
1450         javax/imageio/IIOParamController.java,
1451         javax/imageio/ImageTypeSpecifier.java,
1452         javax/imageio/ImageWriteParam.java,
1453         javax/imageio/metadata/IIOMetadata.java:
1454         New files.
1455         * javax/imageio/ImageTranscoder.java:
1456         Implemented.
1457
1458 2004-11-06  Michael Koch  <konqueror@gmx.de>
1459
1460         * javax/imageio/spi/ImageInputStreamSpi.java,
1461         javax/imageio/spi/ImageOutputStreamSpi.java:
1462         Reworked import startments.
1463         * javax/imageio/spi/ServiceRegistry.java:
1464         Reworked import startments. Fixed XHTML in javadocs.
1465         (ServiceRegistry): Added @param tag to javadoc.
1466         * javax/imageio/stream/ImageInputStream.java
1467         (mark): Doesn't throws IOException;
1468
1469 2004-11-06  Michael Koch  <konqueror@gmx.de>
1470
1471         * javax/imageio/ImageIO.java:
1472         New file.
1473
1474 2004-11-06  Michael Koch  <konqueror@gmx.de>
1475
1476         * javax/imageio/spi/IIORegistry.java
1477         (static): Don't register ImageReaderSpi.class and
1478         ImageWriterSpi.class yet.
1479
1480 2004-11-06  Michael Koch  <konqueror@gmx.de>
1481
1482         * javax/imageio/spi/IIORegistry.java:
1483         New file.
1484
1485 2004-11-06  Noa Resare  <noa@resare.com>
1486
1487         * java/net/Socket.java (getPort): Return 0 instead of -1 on
1488         unconnected sockets.
1489
1490 2004-11-06  Michael Koch  <konqueror@gmx.de>
1491
1492         * java/lang/StringBuffer.java,
1493         java/lang/Throwable.java,
1494         java/security/spec/DSAParameterSpec.java,
1495         java/util/zip/ZipEntry.java,
1496         java/util/zip/ZipFile.java,
1497         java/util/zip/ZipInputStream.java,
1498         java/util/zip/ZipOutputStream.java:
1499         Removed redundant and reordered modifiers.
1500
1501 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
1502
1503         * java/io/Vector.java
1504         (writeObject): New function to serialized output thread safe.
1505
1506         * java/io/ObjectOutputStream.java
1507         (writeObject): Move the assignment of the class handle to after
1508         the assignment of class descriptor handle.
1509
1510 2004-11-06  Robert Schuster <thebohemian@gmx.net>
1511
1512         Fixes documentation and indentation
1513         * java/beans/PropertyEditorSupport.java:
1514         reworked initial API doc
1515         (value): changed name from val
1516
1517 2004-11-06  Robert Schuster <thebohemian@gmx.net>
1518
1519         Updates to 1.5
1520         * java/beans/PropertyEditorSupport.java
1521         (PropertyEditorSupport()): Changed modifier to public
1522         (PropertyEditorSupport(Object): Changed modifier to public
1523         (setSource): New method
1524         (getSource): New method
1525
1526 2004-11-06  Robert Schuster <thebohemian@gmx.net>
1527
1528         Fixes bug #10799
1529         * java/beans/PropertyEditorSupport.java
1530         (setValue): Fire property change event
1531
1532 2004-11-03  Tom Tromey  <tromey@redhat.com>
1533
1534         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
1535         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
1536         returns jobjectArray.
1537         (_Jv_JNIEnv::NewObjectArray): Likewise.
1538
1539 2004-11-01  Tom Tromey  <tromey@redhat.com>
1540
1541         * verify.cc (state::check_no_uninitialized_objects): Removed.
1542         (push_jump): Updated.
1543         (push_exception_jump): Likewise.
1544         (handle_ret_insn): Likewise.
1545         (handle_jsr_insn): Likewise.
1546
1547 2004-10-30  Mark Wielaard  <mark@klomp.org>
1548
1549         PR libgcj/18234
1550         * java/lang/Runtime.java (static): Call init().
1551         (Runtime): Remove call to init().
1552         (init): Make static.
1553
1554 2004-10-28  David Daney  <ddaney@avtrex.com>
1555
1556         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
1557         * Makefile.am: Build it.
1558         * Makefile.in: Regenerate.
1559
1560 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1561
1562         PR libgcj/18104
1563         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
1564         colon.
1565         * Makefile.in: Regenerate.
1566         * configure: Regenerate.
1567         * configure.ac (CLASSPATH_SEPARATOR): Define.
1568         * gcj/Makefile.in: Regenerate.
1569         * include/Makefile.in: Regenerate.
1570         * testsuite/Makefile.in: Regenerate.
1571         * testsuite/lib/libjava.exp (libjava_arguments): Fix
1572         CLASSPATH separator handling for Windows.
1573
1574 2004-10-26  Michael Koch  <konqueror@gmx.de>
1575
1576         * gnu/java/net/protocol/http/Connection.java
1577         (getOutputStream): Implicitely switch to POST method.
1578
1579 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
1580
1581         * libjava/java/lang/Class.h
1582         (java::lang::Class): Correct friend class declaration.
1583
1584 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
1585
1586         * Makefile.am (DARWIN_CRT_SRC): New.
1587         (libgcj_la_SOURCES): Use it.
1588         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
1589         * darwin.cc: New file.
1590         * include/jvm.h (_Jv_RegisterClasses): Constify.
1591         (_Jv_RegisterClasses_Counted): New prototype.
1592         * java/lang/Class.h: Include stddef.h.  
1593         (_Jv_RegisterClasses): Constify.
1594         (_Jv_RegisterClasses_Counted): New prototype.
1595         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
1596         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
1597         (_Jv_RegisterClasses_Counted): New function.
1598         * configure: Regenerate.
1599         * Makefile.in: Regenerate.
1600         * gcj/Makefile.in: Regenerate.
1601         * include/Makefile.in: Regenerate.
1602         * testsuite/Makefile.in: Regenerate.
1603
1604 2004-10-25  Tom Tromey  <tromey@redhat.com>
1605
1606         * java/util/ResourceBundle.java (tryBundle): Use
1607         Class.isAssignableFrom rather than catching ClassCastException.
1608
1609 2004-10-25  Tom Tromey  <tromey@redhat.com>
1610
1611         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
1612         initialize `iter'.
1613         * gnu/java/text/SentenceBreakIterator.java
1614         (SentenceBreakIterator): Don't initialize `iter'.
1615         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
1616         initialize `iter'.
1617         * gnu/java/text/CharacterBreakIterator.java
1618         (CharacterBreakIterator): Don't initialize `iter'.
1619         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
1620         constructor.
1621         * java/text/BreakIterator.java: Updated documentation.
1622
1623 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
1624
1625         PR other/18138
1626         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
1627
1628 2004-10-23  Michael Koch  <konqueror@gmx.de>
1629
1630         * javax/print/DocFlavor.java,
1631         javax/print/attribute/standard/JobStateReason.java,
1632         javax/print/attribute/standard/MultipleDocumentHandling.java:
1633         Added missing constants.
1634
1635 2004-10-22  Tom Tromey  <tromey@redhat.com>
1636
1637         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
1638         typo.
1639
1640 2004-10-22  Michael Koch  <konqueror@gmx.de>
1641
1642         PR libjava/14009
1643         * gnu/java/net/protocol/http/Connection.java
1644         (sendRequest): Handle case when url.getFile() returns an empty string.
1645
1646 2004-10-22  Michael Koch  <konqueror@gmx.de>
1647
1648         * java/lang/Math.java,
1649         java/lang/StackTraceElement.java,
1650         java/nio/Buffer.java,
1651         java/nio/ByteBuffer.java,
1652         java/nio/CharBuffer.java,
1653         java/nio/DoubleBuffer.java,
1654         java/nio/FloatBuffer.java,
1655         java/nio/IntBuffer.java,
1656         java/nio/LongBuffer.java,
1657         java/nio/ShortBuffer.java,
1658         java/nio/charset/Charset.java,
1659         java/rmi/server/RMIClassLoader.java,
1660         java/rmi/server/RMISocketFactory.java,
1661         java/security/Policy.java,
1662         java/text/ChoiceFormat.java,
1663         java/text/CollationElementIterator.java,
1664         java/text/DateFormat.java,
1665         java/text/DecimalFormat.java,
1666         java/text/DecimalFormatSymbols.java,
1667         java/text/MessageFormat.java,
1668         java/text/NumberFormat.java,
1669         java/text/RuleBasedCollator.java,
1670         java/text/SimpleDateFormat.java,
1671         java/util/BitSet.java,
1672         java/util/Calendar.java,
1673         java/util/Collections.java,
1674         java/util/IdentityHashMap.java,
1675         java/util/Locale.java,
1676         java/util/TreeMap.java,
1677         java/util/logging/LogRecord.java,
1678         java/util/logging/XMLFormatter.java,
1679         java/util/prefs/AbstractPreferences.java,
1680         java/util/prefs/Preferences.java,
1681         javax/crypto/interfaces/DHPrivateKey.java,
1682         javax/crypto/interfaces/DHPublicKey.java,
1683         javax/crypto/interfaces/PBEKey.java,
1684         javax/net/ssl/HandshakeCompletedEvent.java,
1685         javax/security/auth/Subject.java:
1686         Removed redundant and reordered modifiers.
1687
1688 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
1689
1690         * gnu/java/net/natPlainSocketImplPosix.cc
1691         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
1692         with 'int *' argument instead of 'long *'.
1693
1694 2004-10-21  Michael Koch  <konqueror@gmx.de>
1695
1696         * java/net/NetworkInterface.java,
1697         java/text/Format.java,
1698         javax/security/auth/x500/X500Principal.java,
1699         javax/security/auth/x500/X500PrivateCredential.java,
1700         javax/security/cert/X509CertBridge.java,
1701         javax/security/sasl/Sasl.java,
1702         javax/sql/XAConnection.java:
1703         Import cleanup.
1704
1705 2004-10-21  Michael Koch  <konqueror@gmx.de>
1706
1707         * javax/net/ssl/HandshakeCompletedEvent.java,
1708         javax/net/ssl/KeyManagerFactory.java,
1709         javax/net/ssl/SSLContext.java,
1710         javax/net/ssl/SSLServerSocketFactory.java,
1711         javax/net/ssl/SSLSession.java,
1712         javax/net/ssl/SSLSocketFactory.java,
1713         javax/net/ssl/TrustManagerFactory.java:
1714         Import cleanup.
1715
1716 2004-10-21  Michael Koch  <konqueror@gmx.de>
1717
1718         * javax/naming/directory/BasicAttribute.java,
1719         javax/naming/directory/BasicAttributes.java,
1720         javax/naming/directory/InitialDirContext.java,
1721         javax/naming/event/NamingEvent.java,
1722         javax/naming/ldap/ControlFactory.java,
1723         javax/naming/ldap/ExtendedRequest.java,
1724         javax/naming/ldap/InitialLdapContext.java,
1725         javax/naming/ldap/LdapReferralException.java,
1726         javax/naming/spi/DirObjectFactory.java,
1727         javax/naming/spi/DirStateFactory.java,
1728         javax/naming/spi/DirectoryManager.java,
1729         javax/naming/spi/InitialContextFactory.java,
1730         javax/naming/spi/InitialContextFactoryBuilder.java,
1731         javax/naming/spi/NamingManager.java,
1732         javax/naming/spi/ObjectFactory.java,
1733         javax/naming/spi/ObjectFactoryBuilder.java,
1734         javax/naming/spi/StateFactory.java:
1735         Import cleanup.
1736
1737 2004-10-21  Michael Koch  <konqueror@gmx.de>
1738
1739         * javax/crypto/Cipher.java,
1740         javax/crypto/EncryptedPrivateKeyInfo.java,
1741         javax/crypto/ExemptionMechanism.java,
1742         javax/crypto/KeyAgreement.java,
1743         javax/crypto/KeyGenerator.java,
1744         javax/crypto/Mac.java,
1745         javax/crypto/SecretKeyFactory.java,
1746         javax/crypto/SecretKeyFactorySpi.java,
1747         javax/crypto/spec/SecretKeySpec.java:
1748         Import cleanup.
1749
1750 2004-10-21  Michael Koch  <konqueror@gmx.de>
1751
1752         * java/security/AlgorithmParameterGenerator.java,
1753         java/security/AlgorithmParameters.java,
1754         java/security/AlgorithmParametersSpi.java,
1755         java/security/AllPermission.java,
1756         java/security/BasicPermission.java,
1757         java/security/Certificate.java,
1758         java/security/CodeSource.java,
1759         java/security/DigestInputStream.java,
1760         java/security/DigestOutputStream.java,
1761         java/security/GuardedObject.java,
1762         java/security/KeyFactory.java,
1763         java/security/KeyFactorySpi.java,
1764         java/security/KeyPairGenerator.java,
1765         java/security/KeyStore.java,
1766         java/security/KeyStoreSpi.java,
1767         java/security/Permissions.java,
1768         java/security/Security.java,
1769         java/security/Signature.java,
1770         java/security/UnresolvedPermission.java,
1771         java/security/cert/CertPathBuilder.java,
1772         java/security/cert/CertPathValidator.java,
1773         java/security/cert/CertStore.java,
1774         java/security/cert/Certificate.java,
1775         java/security/cert/CertificateFactory.java,
1776         java/security/cert/PolicyQualifierInfo.java,
1777         java/security/cert/TrustAnchor.java,
1778         java/security/cert/X509CRL.java,
1779         java/security/cert/X509CRLSelector.java,
1780         java/security/cert/X509CertSelector.java:
1781         Import cleanup.
1782
1783 2004-10-21  Michael Koch  <konqueror@gmx.de>
1784
1785         * java/rmi/MarshalledObject.java,
1786         java/rmi/Naming.java,
1787         java/rmi/activation/Activatable.java,
1788         java/rmi/activation/ActivationGroup.java,
1789         java/rmi/activation/ActivationGroupDesc.java,
1790         java/rmi/activation/ActivationInstantiator.java,
1791         java/rmi/activation/ActivationMonitor.java,
1792         java/rmi/activation/ActivationSystem.java,
1793         java/rmi/activation/Activator.java,
1794         java/rmi/registry/LocateRegistry.java,
1795         java/rmi/registry/Registry.java,
1796         java/rmi/server/LogStream.java,
1797         java/rmi/server/ObjID.java,
1798         java/rmi/server/RMIClientSocketFactory.java,
1799         java/rmi/server/RMIServerSocketFactory.java,
1800         java/rmi/server/RMISocketFactory.java,
1801         java/rmi/server/RemoteCall.java,
1802         java/rmi/server/RemoteServer.java,
1803         java/rmi/server/ServerRef.java,
1804         java/rmi/server/UID.java,
1805         java/rmi/server/UnicastRemoteObject.java:
1806         Import cleanup.
1807
1808 2004-10-21  Tom Tromey  <tromey@redhat.com>
1809
1810         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
1811         exception if we hit EOF of `in'.
1812         (read): Handle case where inflating returns -1.
1813
1814 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
1815
1816         * gnu/java/nio/channels/natFileChannelPosix.cc
1817         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
1818         argument instead of 'long *'.
1819
1820 2004-10-21  Tom Tromey  <tromey@redhat.com>
1821
1822         * java/util/ResourceBundle.java (tryBundle): Also ignore
1823         ClassCastException.
1824
1825 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
1826
1827         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
1828         for all sh*-*-linux* targets.
1829         * configure: Regenerate.
1830         * include/sh-signal.h: New file.
1831
1832 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
1833
1834         * java/lang/ieeefp.h: Add m32r support.
1835
1836 2004-10-20  Andreas Schwab  <schwab@suse.de>
1837
1838         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
1839         to uaddr, not int.
1840         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
1841         Likewise.
1842
1843 2004-10-20  Michael Koch  <konqueror@gmx.de>
1844
1845         * javax/print/attribute/standard/ColorSupported.java,
1846         javax/print/attribute/standard/Compression.java,
1847         javax/print/attribute/standard/Copies.java,
1848         javax/print/attribute/standard/CopiesSupported.java,
1849         javax/print/attribute/standard/DateTimeAtCompleted.java,
1850         javax/print/attribute/standard/DateTimeAtCreation.java,
1851         javax/print/attribute/standard/DateTimeAtProcessing.java,
1852         javax/print/attribute/standard/DocumentName.java,
1853         javax/print/attribute/standard/Fidelity.java,
1854         javax/print/attribute/standard/Finishings.java,
1855         javax/print/attribute/standard/JobHoldUntil.java,
1856         javax/print/attribute/standard/JobImpressions.java,
1857         javax/print/attribute/standard/JobImpressionsCompleted.java,
1858         javax/print/attribute/standard/JobImpressionsSupported.java,
1859         javax/print/attribute/standard/JobKOctets.java,
1860         javax/print/attribute/standard/JobKOctetsProcessed.java,
1861         javax/print/attribute/standard/JobKOctetsSupported.java,
1862         javax/print/attribute/standard/JobMediaSheets.java,
1863         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
1864         javax/print/attribute/standard/JobMediaSheetsSupported.java,
1865         javax/print/attribute/standard/JobMessageFromOperator.java,
1866         javax/print/attribute/standard/JobName.java,
1867         javax/print/attribute/standard/JobOriginatingUserName.java,
1868         javax/print/attribute/standard/JobPriority.java,
1869         javax/print/attribute/standard/JobPrioritySupported.java,
1870         javax/print/attribute/standard/JobSheets.java,
1871         javax/print/attribute/standard/JobState.java,
1872         javax/print/attribute/standard/JobStateReason.java,
1873         javax/print/attribute/standard/JobStateReasons.java,
1874         javax/print/attribute/standard/Media.java,
1875         javax/print/attribute/standard/MultipleDocumentHandling.java,
1876         javax/print/attribute/standard/NumberOfDocuments.java,
1877         javax/print/attribute/standard/NumberOfInterveningJobs.java,
1878         javax/print/attribute/standard/NumberUp.java,
1879         javax/print/attribute/standard/NumberUpSupported.java,
1880         javax/print/attribute/standard/OrientationRequested.java,
1881         javax/print/attribute/standard/OutputDeviceAssigned.java,
1882         javax/print/attribute/standard/PDLOverrideSupported.java,
1883         javax/print/attribute/standard/PageRanges.java,
1884         javax/print/attribute/standard/PagesPerMinute.java,
1885         javax/print/attribute/standard/PagesPerMinuteColor.java,
1886         javax/print/attribute/standard/PrintQuality.java,
1887         javax/print/attribute/standard/PrinterInfo.java,
1888         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
1889         javax/print/attribute/standard/PrinterLocation.java,
1890         javax/print/attribute/standard/PrinterMakeAndModel.java,
1891         javax/print/attribute/standard/PrinterMessageFromOperator.java,
1892         javax/print/attribute/standard/PrinterMoreInfo.java,
1893         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
1894         javax/print/attribute/standard/PrinterName.java,
1895         javax/print/attribute/standard/PrinterStateReason.java,
1896         javax/print/attribute/standard/PrinterStateReasons.java,
1897         javax/print/attribute/standard/PrinterURI.java,
1898         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
1899         javax/print/attribute/standard/RequestingUserName.java:
1900         Reorganized imports and removed redundant final modifiers.
1901
1902 2004-10-20  Michael Koch  <konqueror@gmx.de>
1903
1904         * javax/security/sasl/SaslClient.java,
1905         javax/security/sasl/SaslClientFactory.java,
1906         javax/security/sasl/SaslException.java,
1907         javax/security/sasl/SaslServer.java,
1908         javax/security/sasl/SaslServerFactory.java:
1909         Remvoed CVS tags.
1910
1911 2004-10-20  Michael Koch  <konqueror@gmx.de>
1912
1913         * javax/security/auth/login/NullConfiguration.java,
1914         javax/security/auth/x500/X500Principal.java,
1915         javax/security/cert/X509Certificate.java,
1916         javax/security/sasl/AuthenticationException.java,
1917         javax/security/sasl/AuthorizeCallback.java,
1918         javax/security/sasl/RealmCallback.java,
1919         javax/security/sasl/RealmChoiceCallback.java,
1920         javax/security/sasl/Sasl.java,
1921         javax/security/sasl/SaslClient.java,
1922         javax/security/sasl/SaslClientFactory.java,
1923         javax/security/sasl/SaslException.java,
1924         javax/security/sasl/SaslServer.java,
1925         javax/security/sasl/SaslServerFactory.java:
1926         Cleaned up import statements and copyright notices.
1927
1928 2004-10-20  Michael Koch  <konqueror@gmx.de>
1929
1930         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
1931
1932 2004-10-20  Michael Koch  <konqueror@gmx.de>
1933
1934         * java/sql/Timestamp.java,
1935         java/text/AttributedCharacterIterator.java,
1936         java/text/AttributedString.java,
1937         java/util/zip/CheckedOutputStream.java,
1938         java/util/zip/DeflaterOutputStream.java,
1939         java/util/zip/ZipFile.java,
1940         javax/crypto/Cipher.java,
1941         javax/crypto/ExemptionMechanismException.java,
1942         javax/crypto/SecretKey.java,
1943         javax/crypto/SecretKeyFactory.java,
1944         javax/naming/directory/ModificationItem.java,
1945         javax/naming/directory/SearchControls.java,
1946         javax/naming/event/NamingListener.java,
1947         javax/naming/ldap/Control.java,
1948         javax/naming/ldap/ExtendedResponse.java,
1949         javax/net/ssl/SSLSocketFactory.java:
1950         Reorganized imports and fixed copyright headers.
1951
1952 2004-10-20  Michael Koch  <konqueror@gmx.de>
1953
1954         * java/util/logging/ConsoleHandler.java,
1955         java/util/logging/ErrorManager.java,
1956         java/util/logging/FileHandler.java,
1957         java/util/logging/Filter.java,
1958         java/util/logging/Formatter.java,
1959         java/util/logging/Handler.java,
1960         java/util/logging/Level.java,
1961         java/util/logging/LogManager.java,
1962         java/util/logging/LogRecord.java,
1963         java/util/logging/Logger.java,
1964         java/util/logging/LoggingPermission.java,
1965         java/util/logging/MemoryHandler.java,
1966         java/util/logging/SimpleFormatter.java,
1967         java/util/logging/SocketHandler.java,
1968         java/util/logging/StreamHandler.java,
1969         java/util/logging/XMLFormatter.java:
1970         Standardized copyrigth header.
1971
1972 2004-10-20  Michael Koch  <konqueror@gmx.de>
1973
1974         * java/security/AlgorithmParameterGenerator.java,
1975         java/security/AlgorithmParameters.java,
1976         java/security/DigestInputStream.java,
1977         java/security/Identity.java,
1978         java/security/KeyFactory.java,
1979         java/security/KeyPairGenerator.java,
1980         java/security/KeyStore.java,
1981         java/security/MessageDigest.java,
1982         java/security/MessageDigestSpi.java,
1983         java/security/Policy.java,
1984         java/security/SecureRandom.java,
1985         java/security/Security.java,
1986         java/security/Signature.java,
1987         java/security/SignatureSpi.java,
1988         java/security/cert/CertPathBuilder.java,
1989         java/security/cert/CertPathValidator.java,
1990         java/security/cert/CertStore.java,
1991         java/security/cert/Certificate.java,
1992         java/security/cert/CertificateFactory.java,
1993         java/security/cert/PolicyQualifierInfo.java,
1994         java/security/cert/TrustAnchor.java,
1995         java/security/cert/X509CRL.java,
1996         java/security/cert/X509CRLEntry.java,
1997         java/security/cert/X509Certificate.java,
1998         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
1999         Import statements reorganized, some little formatting issues,
2000         used java-style array declarations, added comments in empty catch
2001         blocks.
2002
2003 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
2004
2005         * java/security/Security.java
2006         (static): Use AccessController.doPrivileged to get system property.
2007
2008 2004-10-18  Sven de Marothy  <sven@physto.se>
2009
2010         * java/nio/ByteBufferHelper.java
2011         (putDouble): Use Double.toRawLongBits instead.
2012
2013 2004-10-18  Mark Wielaard  <mark@klomp.org>
2014         Andrew Haley  <aph@redhat.com>
2015
2016         * testsuite/libjava.lang/ExtraClassLoader.java: New.
2017
2018 2004-10-18  Andrew Haley  <aph@redhat.com>
2019
2020         PR java/18036:
2021         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
2022         and correct logic used to find interpreter.
2023         
2024 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
2025
2026         * java/util/logging/LogManager.java
2027         (findAncestor): Fixed IndexOutOfBoundsException.
2028
2029 2004-10-18  Michael Koch  <konqueror@gmx.de>
2030
2031         * java/io/BufferedInputStream.java: Fixed @author tag.
2032         (read): Simplified expression.
2033         (read): Merged javadoc a bit more.
2034         (read): Renamed 'remain' to 'totalBytesRead'.
2035         * java/io/DataInputStream.java,
2036         java/io/DataOutputStream.java,
2037         java/io/ObjectInputStream.java,
2038         java/io/ObjectOutputStream.java:
2039         Reworked modifier order.
2040
2041 2004-10-18  Michael Koch  <konqueror@gmx.de>
2042
2043         * java/net/Inet4Address.java: Merged file header and javadocs.
2044         * java/net/Inet6Address.java: Likewise.
2045         * java/net/InetAddress.java
2046         (getCanonicalHostName): Create Inet4Address object instead of
2047         InetAddress and add comment regarding IPv6.
2048         (toString): Simplified.
2049
2050 2004-10-18  Michael Koch  <konqueror@gmx.de>
2051
2052         * gnu/java/net/protocol/http/Connection.java,
2053         java/nio/MappedByteBufferImpl.java,
2054         java/text/RuleBasedCollator.java,
2055         java/util/ResourceBundle.java:
2056         Reworked import statements.
2057
2058 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
2059
2060         * java/security/IdentityScope.java
2061         (systemScope): Removed useless initializer.
2062         * java/security/Policy.java
2063         (currentPolicy): Likewise.
2064
2065 2004-10-18  Michael Koch  <konqueror@gmx.de>
2066
2067         * java/lang/System.java: Revert accidential change.
2068
2069 2004-10-18  Michael Koch  <konqueror@gmx.de>
2070
2071         * java/lang/Math.java,
2072         java/lang/Package.java,
2073         java/lang/Runtime.java,
2074         java/lang/StrictMath.java,
2075         java/lang/System.java,
2076         java/lang/Thread.java,
2077         java/lang/ThreadLocal.java,
2078         java/lang/Void.java:
2079         Reworked import statements, HTML in javadocs and modifier orders.
2080
2081 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
2082
2083         * java/util/Timer.java
2084         (nr): Removed useless initializer.
2085         * java/util/logging/LogRecord.java
2086         (lastSeqNum): Likewise.
2087         * javax/naming/spi/NamingManager.java
2088         (icfb, ofb): Likewise.
2089
2090 2004-10-18  Michael Koch  <konqueror@gmx.de>
2091
2092         * gnu/java/net/PlainDatagramSocketImpl.java:
2093         Reworked import statements.
2094         * gnu/java/security/provider/DSAParameters.java:
2095         Fixed copyrigth years.
2096         * java/net/JarURLConnection.java:
2097         Fixed HTML in @author tags.
2098         
2099
2100 2004-10-18  Michael Koch  <konqueror@gmx.de>
2101
2102         * java/rmi/activation/ActivationSystem.java
2103         (SYSTEM_PORT): Initialize with correct port number.
2104
2105 2004-10-18  Michael Koch  <konqueror@gmx.de>
2106
2107         * java/lang/reflect/Proxy.java: Improved javadocs.
2108
2109 2004-10-18  Michael Koch  <konqueror@gmx.de>
2110
2111         * java/lang/reflect/AccessibleObject.java
2112         (checkPermission): Removed redundant final modifier.
2113         (secureSetAccessible): Likewise.
2114         * java/lang/reflect/Proxy.java:
2115         Reworked import statements.
2116         (generate): Removed redundant final modifier.
2117         * java/lang/reflect/ReflectPermission.java:
2118         Reorder package declaration and import statement.
2119
2120 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
2121
2122         * java/lang/reflect/Proxy.java
2123         (count): Removed useless initializer.
2124
2125 2004-10-17  Michael Koch  <konqueror@gmx.de>
2126
2127         * java/net/BindException.java,
2128         java/net/ConnectException.java,
2129         java/net/ContentHandler.java,
2130         java/net/ContentHandlerFactory.java,
2131         java/net/DatagramPacket.java,
2132         java/net/DatagramSocket.java,
2133         java/net/DatagramSocketImpl.java,
2134         java/net/DatagramSocketImplFactory.java,
2135         java/net/FileNameMap.java,
2136         java/net/HttpURLConnection.java,
2137         java/net/MalformedURLException.java,
2138         java/net/MulticastSocket.java,
2139         java/net/NetworkInterface.java,
2140         java/net/NoRouteToHostException.java,
2141         java/net/PasswordAuthentication.java,
2142         java/net/PortUnreachableException.java,
2143         java/net/ProtocolException.java,
2144         java/net/ServerSocket.java,
2145         java/net/Socket.java,
2146         java/net/SocketException.java,
2147         java/net/SocketImpl.java,
2148         java/net/SocketImplFactory.java,
2149         java/net/SocketOptions.java,
2150         java/net/SocketPermission.java,
2151         java/net/SocketTimeoutException.java,
2152         java/net/URI.java,
2153         java/net/URISyntaxException.java,
2154         java/net/URL.java,
2155         java/net/URLDecoder.java,
2156         java/net/URLEncoder.java,
2157         java/net/URLStreamHandler.java,
2158         java/net/URLStreamHandlerFactory.java,
2159         java/net/UnknownHostException.java,
2160         java/net/UnknownServiceException.java:
2161         Big import statement and @author tag cleanup.
2162
2163 2004-10-17  Michael Koch  <konqueror@gmx.de>
2164
2165         * gnu/java/security/OID.java,
2166         gnu/java/security/provider/DSAParameters.java,
2167         gnu/java/security/provider/DSASignature.java,
2168         gnu/java/security/x509/X500DistinguishedName.java,
2169         gnu/java/security/x509/X509CRL.java:
2170         Import statements cleaned up.
2171
2172 2004-10-16  Michael Koch  <konqueror@gmx.de>
2173
2174         * gnu/java/nio/NIODatagramSocket.java,
2175         gnu/java/nio/ServerSocketChannelImpl.java:
2176         Reorganized import statements.
2177
2178 2004-10-16  Michael Koch  <konqueror@gmx.de>
2179
2180         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
2181         gnu/java/rmi/rmic/RMIC.java,
2182         gnu/java/rmi/server/RMIHashes.java,
2183         gnu/java/rmi/server/RMIObjectInputStream.java,
2184         gnu/java/rmi/server/RMIObjectOutputStream.java,
2185         gnu/java/rmi/server/UnicastConnection.java,
2186         gnu/java/rmi/server/UnicastConnectionManager.java,
2187         gnu/java/rmi/server/UnicastRemoteCall.java,
2188         gnu/java/rmi/server/UnicastServer.java,
2189         gnu/java/rmi/server/UnicastServerRef.java,
2190         java/rmi/MarshalledObject.java,
2191         java/rmi/Naming.java,
2192         java/rmi/RMISecurityManager.java,
2193         java/rmi/Remote.java,
2194         java/rmi/activation/Activatable.java,
2195         java/rmi/activation/ActivationDesc.java,
2196         java/rmi/activation/ActivationGroup.java,
2197         java/rmi/activation/ActivationGroupDesc.java,
2198         java/rmi/activation/ActivationGroupID.java,
2199         java/rmi/activation/ActivationID.java,
2200         java/rmi/activation/ActivationInstantiator.java,
2201         java/rmi/activation/ActivationMonitor.java,
2202         java/rmi/activation/ActivationSystem.java,
2203         java/rmi/activation/Activator.java,
2204         java/rmi/dgc/DGC.java,
2205         java/rmi/dgc/Lease.java,
2206         java/rmi/dgc/VMID.java,
2207         java/rmi/registry/LocateRegistry.java,
2208         java/rmi/registry/Registry.java,
2209         java/rmi/registry/RegistryHandler.java,
2210         java/rmi/server/LoaderHandler.java,
2211         java/rmi/server/LogStream.java,
2212         java/rmi/server/ObjID.java,
2213         java/rmi/server/Operation.java,
2214         java/rmi/server/RMIClassLoader.java,
2215         java/rmi/server/RMIClassLoaderSpi.java,
2216         java/rmi/server/RMIClientSocketFactory.java,
2217         java/rmi/server/RMIFailureHandler.java,
2218         java/rmi/server/RMIServerSocketFactory.java,
2219         java/rmi/server/RMISocketFactory.java,
2220         java/rmi/server/RemoteCall.java,
2221         java/rmi/server/RemoteObject.java,
2222         java/rmi/server/RemoteRef.java,
2223         java/rmi/server/RemoteServer.java,
2224         java/rmi/server/RemoteStub.java,
2225         java/rmi/server/ServerRef.java,
2226         java/rmi/server/Skeleton.java,
2227         java/rmi/server/SkeletonMismatchException.java,
2228         java/rmi/server/UID.java,
2229         java/rmi/server/UnicastRemoteObject.java,
2230         java/rmi/server/Unreferenced.java:
2231         File headers and import statements cleaned up.
2232
2233 2004-10-16  Michael Koch  <konqueror@gmx.de>
2234
2235         * libjava/gnu/java/nio/charset/UTF_16.java,
2236         libjava/gnu/java/nio/charset/UTF_16BE.java,
2237         libjava/gnu/java/nio/charset/UTF_16LE.java,
2238         libjava/java/nio/ByteOrder.java,
2239         libjava/java/nio/MappedByteBuffer.java,
2240         libjava/java/nio/channels/Channels.java,
2241         libjava/java/nio/channels/spi/SelectorProvider.java,
2242         libjava/java/nio/charset/Charset.java:
2243         Cleanup.
2244
2245 2004-10-16  Michael Koch  <konqueror@gmx.de>
2246
2247         * gnu/java/nio/charset/UTF_16Encoder.java
2248         (UTF_16Encoder): Fixed maxBytesPerChar handling.
2249
2250 2004-10-16  Michael Koch  <konqueror@gmx.de>
2251
2252         * java/math/BigDecimal.java, java/math/BigInteger.java:
2253         Reorganized import statements, removed redundant and
2254         reorganized modifiers.
2255
2256 2004-10-16  Michael Koch  <konqueror@gmx.de>
2257
2258         * gnu/java/beans/ExplicitBeanInfo.java:
2259         Explicitely import java.awt.Image.
2260         (getIcon): Fixed off-by-one error.
2261
2262 2004-10-15  Andrew Haley  <aph@redhat.com>
2263
2264         * Makefile.am (nat_files, xlib_nat_files): New.
2265         * Makefile.in: Regenerate.
2266
2267 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
2268
2269         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
2270         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
2271
2272 2004-10-13  Andrew Haley  <aph@redhat.com>
2273
2274         * interpret.cc (_Jv_InterpMethod::run): Initialize
2275         _Jv_StartOfInterpreter.
2276         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
2277         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
2278         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
2279         _Unwind_FindEnclosingFunction to discover whether PC is within the
2280         interpreter.
2281
2282 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
2283
2284         PR libgcj/17903:
2285         * testsuite/libjava.lang/md5test.java: New file.
2286         * testsuite/libjava.lang/md5test.out: Likewise.
2287         * testsuite/libjava.lang/shatest.java: Likewise.
2288         * testsuite/libjava.lang/shatest.out: Likewise.
2289
2290 2004-10-11  Richard Henderson  <rth@redhat.com>
2291
2292         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
2293         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
2294
2295 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
2296
2297         * java/util/Calendar.java (set): Invalidate DST_OFFSET
2298         field as a DST boundary may have been crossed.
2299         * java/util/GregorianCalendar.java (add): Throw 
2300         IllegalArgumentException on attempt to add to DST_OFFSET or 
2301         ZONE_OFFSET fields. Update javadoc.
2302
2303 2004-10-09  Michael Koch  <konqueror@gmx.de>
2304
2305         * java/io/CharArrayWriter.java
2306         (resize): Removed redundant 'final' modifier.
2307         * java/io/DataInputStream.java
2308         (readFully): Throw IndexOutOfBoundsException of len < 0.
2309         * java/io/FileDescriptor.java,
2310         java/io/FileInputStream.java,
2311         java/io/FileOutputStream.java,
2312         java/io/ObjectOutputStream.java,
2313         java/io/ObjectStreamClass.java,
2314         java/io/PipedInputStream.java,
2315         java/io/RandomAccessFile.java:
2316         Reorganized import statements.
2317
2318 2004-10-09  Michael Koch  <konqueror@gmx.de>
2319
2320         * gnu/java/rmi/rmic/RMIC.java,
2321         gnu/java/rmi/server/RMIHashes.java,
2322         gnu/java/rmi/server/RMIObjectInputStream.java,
2323         gnu/java/rmi/server/UnicastConnection.java,
2324         gnu/java/rmi/server/UnicastConnectionManager.java,
2325         gnu/java/rmi/server/UnicastRemoteCall.java,
2326         gnu/java/rmi/server/UnicastServerRef.java:
2327         Reworked import statements and fixed file headers.
2328
2329 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
2330
2331         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
2332         emission rule.
2333         * configure: Rebuilt.
2334
2335 2004-09-30  Tom Tromey  <tromey@redhat.com>
2336
2337         * java/text/MessageFormat.java (Field): Constructor now
2338         protected.
2339
2340 2004-09-30  Tom Tromey  <tromey@redhat.com>
2341
2342         * javax/crypto/MacSpi.java: Fixed typo.
2343
2344 2004-09-30  Michael Koch  <konqueror@gmx.de>
2345
2346         * java/net/InetAddress.java: Reformatted.
2347         (loopback): Initialize with Inet4Address object.
2348         (static): Initialize ANY_IF with Inet4Address object.
2349         (InetAddress): Removed unused package-private constructor.
2350
2351 2004-09-30  Michael Koch  <konqueror@gmx.de>
2352
2353         * java/beans/Beans.java,
2354         java/beans/EventHandler.java,
2355         java/beans/EventSetDescriptor.java,
2356         java/beans/Introspector.java,
2357         java/beans/PropertyEditorManager.java,
2358         java/beans/beancontext/BeanContext.java,
2359         java/beans/beancontext/BeanContextChild.java,
2360         java/beans/beancontext/BeanContextChildSupport.java,
2361         java/beans/beancontext/BeanContextMembershipEvent.java:
2362         Reordered import statements and removed redundant modifiers.
2363
2364 2004-09-29  Tom Tromey  <tromey@redhat.com>
2365
2366         PR libgcj/17715:
2367         * Makefile.in: Rebuilt.
2368         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
2369         files.
2370         (all_property_files): New macro.
2371
2372         * Makefile.in: Rebuilt.
2373         * Makefile.am (ordinary_java_source_files): Re-sorted.
2374         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
2375
2376 2004-09-28  Tom Tromey  <tromey@redhat.com>
2377
2378         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
2379
2380         PR libgcj/17222:
2381         * Makefile.am (libgcj.la): Restored.
2382         * Makefile.in: Rebuilt.
2383
2384 2004-09-28  Michael Koch  <konqueror@gmx.de>
2385
2386         * java/net/URLConnection.java: Reformatted.
2387         * java/net/URLClassLoader.java: Reformatted.
2388         (getContent): Reordered return of content.
2389         (getContentHandler): Don't check for null explicitely.
2390
2391 2004-09-27  Michael Koch  <konqueror@gmx.de>
2392
2393         * java/io/BufferedInputStream.java
2394         (BufferedInputStream): Added Jeroen Frijters to authors.
2395         (count): Don't explicitely initialize with default value.
2396         (pos): Likewise.
2397         (marklimit): Likewise.
2398         (read): Changed boolean expression to match GNU classpath' version.
2399         (reset): Add proper message to exception.
2400         (skip): Check for closed stream.
2401         (refill): Likewise.
2402
2403 2004-09-26  Per Bothner  <per@bothner.com>
2404
2405         * prims.cc (unblock_signal): Annotate signum with __unused__ to
2406         avoid warnings in the non-POSIX_VERSION case.
2407         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
2408         so place it inside an #if block.
2409         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
2410         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
2411         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
2412         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
2413
2414 2004-09-26  Per Bothner  <per@bothner.com>
2415
2416         * prims.cc (process_gcj_properties):  Optimization.
2417
2418 2004-09-26  Per Bothner  <per@bothner.com>
2419
2420         * java/util/Collections.java (sort):  Copy from array in forwards
2421         order, rather than reverse order which may be much less efficient.
2422
2423 2004-09-26  Mark Wielaard  <mark@klomp.org>
2424
2425         * java/lang/System.java (properties): Make package private.
2426         * java/lang/Throwable.java (StaticData.nl): Initialize through
2427         directly accessing System.properties.getProperty().
2428
2429         * java/lang/Throwable.java (nl): Remove static field.
2430         (StaticData): New private static inner class.
2431         (stackTraceStringBuffer): Use StaticData.nl.
2432
2433 2004-09-26  Casey Marshall <csm@gnu.org>
2434
2435         * java/security/ProtectionDomain.java
2436         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
2437         `true'.
2438
2439         * java/security/SecureClassLoader.java
2440         (defineClass): make protection domain dynamically bound.
2441         (getPermissions): call `getCurrentPolicy' to avoid permission
2442         check.
2443
2444 2004-09-25  Mark Wielaard  <mark@klomp.org>
2445
2446         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
2447         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
2448         * Makefile.in: Regenerated.
2449
2450         * gcj/javaprims.h: Regenerated.
2451
2452         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
2453         (getDefaultTimeZone): Make package private. Check that GMToffset
2454         contains at least one digit.
2455         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
2456         VMTimeZone.
2457         * util/VMTimeZone.java: New file with above methods.
2458
2459         * java/util/natTimeZone.cc: Removed (renamed).
2460         * java/util/natVMTimeZone.cc: Added (renamed).
2461
2462 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
2463
2464         * java/util/TimeZone.java
2465         (getDefaultTimeZone): Fixed test to distinguish between hours and
2466         minutes in specified timezone.
2467
2468 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
2469
2470         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
2471         handling of default package. (generate): Removed confused comments
2472         and code about making Method and Field accessible.
2473
2474 2004-09-25  Tom Tromey  <tromey@redhat.com>
2475
2476         PR java/17500:
2477         * testsuite/libjava.compile/pr17500.java: New file.
2478
2479 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
2480             Mark Wielaard  <mark@klomp.org>
2481
2482         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
2483         * gnu/regexp/RETokenLookAhead.java: New file.
2484
2485         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
2486         * Makefile.in: Regenerated.
2487
2488 2004-09-25  Michael Koch  <konqueror@gmx.de>
2489
2490         * java/io/ObjectStreamField.java:
2491         Removed unused import statement.
2492
2493 2004-09-24  Tom Tromey  <tromey@redhat.com>
2494
2495         PR java/15656:
2496         * testsuite/libjava.compile/pr15656.xfail: New file.
2497         * testsuite/libjava.compile/pr15656.java: new file.
2498
2499         PR java/16789:
2500         * testsuite/libjava.lang/pr16789.out: New file.
2501         * testsuite/libjava.lang/pr16789.java: New file.
2502
2503 2004-09-24  Andrew Haley  <aph@redhat.com>
2504
2505         PR java/16927
2506         * testsuite/libjava.compile/AssertBug.java: New file.
2507
2508 2004-09-24  Casey Marshall <csm@gnu.org>
2509
2510         * java/util/PropertyPermissionCollection.java
2511         (implies): avoid infinite loop.
2512
2513 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2514
2515         * javax/security/auth/PrivateCredentialPermission.java
2516         (PrivateCredentialPermission): added serialization UID
2517
2518
2519 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
2520
2521         * gnu/java/rmi/server/UnicastServer.java
2522         (incomingMessageCall): Added code to handle Errors.
2523         * gnu/java/rmi/server/UnicastServerRef.java
2524         (incomingMessageCall): Added code to handle Errors.
2525
2526
2527 2004-09-24  Tom Tromey  <tromey@redhat.com>
2528
2529         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
2530         (definedPackages): Likewise.
2531
2532 2004-09-24  Michael Koch  <konqueror@gmx.de>
2533
2534         * java/io/ObjectInputStream.java:
2535         Re-ordered imports.
2536
2537 2004-09-24  Casey Marshall <csm@gnu.org>
2538
2539         * java/io/ObjectInputStream.java (callReadMethod): re-throw
2540         `ClassNotFoundException'.
2541
2542 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
2543
2544         * java/io/ObjectInputStream.java (readObject): Delegate instantation
2545         of Externalizable classes to ObjectStreamClass.
2546         * java/io/ObjectStreamClass.java (newInstance): New method to
2547         instantiate Externalizable (while ignoring the accessibility of
2548         the constructor). (constructor): New field to cache the constructor.
2549
2550 2004-09-24  Mark Wielaard  <mark@klomp.org>
2551
2552         * java/net/URL.java (systemClassLoader): New static field.
2553         (getURLStreamHandler): Always use system/application classloader
2554         for finding URLStreamhandler. Remove unecessary instanceof checks.
2555
2556 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
2557
2558         * java/net/URL.java
2559         (set): This method now matches the behaviour of the JDK.
2560         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
2561
2562 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
2563
2564         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
2565
2566 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
2567
2568         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
2569         Don't set authority if host isn't specified.
2570
2571 2004-09-24  Michael Koch  <konqueror@gmx.de>
2572
2573         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
2574         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
2575         * gnu/java/nio/VMPipe.java,
2576         gnu/java/nio/VMSelector.java:
2577         New files.
2578         * gnu/java/nio/natPipeImplEcos.cc,
2579         gnu/java/nio/natPipeImplPosix.cc,
2580         gnu/java/nio/natPipeImplWin32.cc:
2581         Ported to VMPipe.
2582         * gnu/java/nio/natSelectorImplEcos.cc,
2583         gnu/java/nio/natSelectorImplPosix.cc,
2584         gnu/java/nio/natSelectorImplWin32.cc:
2585         Ported to VMSelector.
2586         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
2587         gnu/java/nio/VMSelector.java.
2588         * Makefile.in: Regenerated.
2589
2590 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
2591
2592         * java/lang/StackTraceElement.java
2593         (className): Renamed field to declaringClass to be compatible
2594         with Sun serialization format.
2595
2596 2004-09-23  Michael Koch  <konqueror@gmx.de>
2597
2598         * java/applet/AppletContext.java,
2599         java/applet/Applet.java,
2600         java/applet/AppletStub.java,
2601         java/applet/AudioClip.java:
2602         Jalopied and checkstyle clean.
2603
2604 2004-09-23  Mark Wielaard  <mark@klomp.org>
2605
2606         * java/util/Collections.java
2607         (binarySearch(List, Object, Comparator)): Explicitly
2608         reverse direction in list iterator.
2609         (rotate): Just return when list is empty.
2610
2611 2004-09-23  Tom Tromey  <tromey@redhat.com>
2612
2613         PR java/17329:
2614         * testsuite/libjava.compile/pr17329.java: New file.
2615
2616         PR java/17380:
2617         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
2618         9.2-implicit-7.
2619
2620 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
2621
2622         * Makefile.am: Run aclocal with -I ../config
2623         * acinclude.m4: Delete macros picked up from ../config and tidy.
2624         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
2625         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
2626         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
2627
2628 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
2629
2630         * aclocal.m4: Regenerate with aclocal 1.9.2.
2631         * configure: Regenerate.
2632         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
2633         * include/Makefile.in, testsuite/Makefile.in: Likewise.
2634
2635 2004-09-22  David Daney  <ddaney@avtrex.com>
2636
2637         PR libgcj/17623
2638         * java/net/URL.java (URL): Copy userInfo from context.
2639         (getUserInfo): Return cached userInfo if present.
2640
2641 2004-09-22  Tom Tromey  <tromey@redhat.com>
2642
2643         PR libgcj/6182:
2644         * mauve-libgcj: Enable java.lang.Character tests.
2645
2646 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
2647
2648         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
2649         dependencies.
2650         (lib_org_ietf_jgss_la_LIBADD): Likewise.
2651         * Makefile.in: Regenerated.
2652
2653 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
2654
2655         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
2656         * configure: Regenerate.
2657         * include/config.h.in: Likewise.
2658         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
2659         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
2660         macro to gtkpeer.h.
2661         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2662         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
2663         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
2664         architectures.
2665         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
2666         Likewise.
2667
2668 2004-09-22  Tom Tromey  <tromey@redhat.com>
2669
2670         PR libgcj/14446:
2671         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
2672         when comparing CRCs.
2673         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
2674         field.
2675         (read()): New overload.
2676
2677 2004-09-21  Tom Tromey  <tromey@redhat.com>
2678
2679         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
2680         Indentation fix.
2681
2682 2004-09-21  Michael Koch  <konqueror@gmx.de>
2683
2684         * java/net/Socket.java
2685         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
2686
2687 2004-09-21  Casey Marshall  <csm@gnu.org>
2688
2689         * javax/crypto/MacSpi.java (clone): Provide meaningful
2690         implementation.
2691
2692 2004-09-21  Tom Tromey  <tromey@redhat.com>
2693
2694         PR libgcj/16869:
2695         * Makefile.in: Rebuilt.
2696         * Makefile.am (MOSTLYCLEANFILES): Removed.
2697         (mostlyclean-local): Remove header files.
2698
2699 2004-09-21  Casey Marshall  <csm@gnu.org>
2700
2701         * java/security/cert/X509CRLSelector.java:
2702         (match): remove unreachable try-catch clauses.
2703         Reported by: Dalibor Topic <robilad@kaffe.org>
2704
2705 2004-09-21  Mark Wielaard  <mark@klomp.org>
2706
2707         * java/util/TreeMap.java (root): Don't initialize.
2708         (TreeMap(Comparator)): Call fabricateTree(0).
2709         (fabricateTree): Initialize root and size when count is 0.
2710
2711 2004-09-21  Sven de Marothy <sven@physto.se>
2712
2713         * java/nio/ByteBuffer.java (hashCode): Implemented.
2714         * java/nio/CharBuffer.java: Likewise.
2715         * java/nio/DoubleBuffer.java: Likewise.
2716         * java/nio/FloatBuffer.java: Likewise.
2717         * java/nio/LongBuffer.java: Likewise.
2718         * java/nio/IntBuffer.java: Likewise.
2719         * java/nio/ShortBuffer.java: Likewise.
2720
2721 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
2722
2723         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
2724
2725 2004-09-21  Michael Koch  <konqueror@gmx.de>
2726
2727         * javax/net/ssl/SSLServerSocket.java:
2728         Removed comment about "Do not edit this file, it's generated.".
2729
2730 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
2731
2732         Import the big Crypto/Jessie/Security merge from Classpath.
2733
2734         * Makefile.am: Add imported files.
2735         * Makefile.in: Regenerate.
2736
2737         2004-08-14  Casey Marshall <csm@gnu.org>
2738
2739         The Big Crypto Merge of 2004.
2740
2741         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
2742         Crypto's version.
2743
2744         Files imported from GNU Crypto.
2745         * javax/crypto/BadPaddingException.java
2746         * javax/crypto/Cipher.java
2747         * javax/crypto/CipherInputStream.java
2748         * javax/crypto/CipherOutputStream.java
2749         * javax/crypto/CipherSpi.java
2750         * javax/crypto/EncryptedPrivateKeyInfo.java
2751         * javax/crypto/ExemptionMechanism.java
2752         * javax/crypto/ExemptionMechanismException.java
2753         * javax/crypto/ExemptionMechanismSpi.java
2754         * javax/crypto/IllegalBlockSizeException.java
2755         * javax/crypto/KeyAgreement.java
2756         * javax/crypto/KeyAgreementSpi.java
2757         * javax/crypto/KeyGenerator.java
2758         * javax/crypto/KeyGeneratorSpi.java
2759         * javax/crypto/Mac.java
2760         * javax/crypto/MacSpi.java
2761         * javax/crypto/Makefile.am
2762         * javax/crypto/NoSuchPaddingException.java
2763         * javax/crypto/NullCipher.java
2764         * javax/crypto/NullCipherImpl.java
2765         * javax/crypto/SealedObject.java
2766         * javax/crypto/SecretKey.java
2767         * javax/crypto/SecretKeyFactory.java
2768         * javax/crypto/SecretKeyFactorySpi.java
2769         * javax/crypto/ShortBufferException.java
2770         * javax/crypto/interfaces/DHKey.java
2771         * javax/crypto/interfaces/DHPrivateKey.java
2772         * javax/crypto/interfaces/DHPublicKey.java
2773         * javax/crypto/interfaces/PBEKey.java
2774         * javax/crypto/spec/DESKeySpec.java
2775         * javax/crypto/spec/DESedeKeySpec.java
2776         * javax/crypto/spec/DHGenParameterSpec.java
2777         * javax/crypto/spec/DHParameterSpec.java
2778         * javax/crypto/spec/DHPrivateKeySpec.java
2779         * javax/crypto/spec/DHPublicKeySpec.java
2780         * javax/crypto/spec/IvParameterSpec.java
2781         * javax/crypto/spec/PBEKeySpec.java
2782         * javax/crypto/spec/PBEParameterSpec.java
2783         * javax/crypto/spec/RC2ParameterSpec.java
2784         * javax/crypto/spec/RC5ParameterSpec.java
2785         * javax/crypto/spec/SecretKeySpec.java
2786         * javax/security/auth/AuthPermission.java
2787         * javax/security/auth/DestroyFailedException.java
2788         * javax/security/auth/Destroyable.java
2789         * javax/security/auth/Policy.java
2790         * javax/security/auth/PrivateCredentialPermission.java
2791         * javax/security/auth/RefreshFailedException.java
2792         * javax/security/auth/Refreshable.java
2793         * javax/security/auth/Subject.java
2794         * javax/security/auth/SubjectDomainCombiner.java
2795         * javax/security/auth/callback/Callback.java
2796         * javax/security/auth/callback/CallbackHandler.java
2797         * javax/security/auth/callback/ChoiceCallback.java
2798         * javax/security/auth/callback/ConfirmationCallback.java
2799         * javax/security/auth/callback/LanguageCallback.java
2800         * javax/security/auth/callback/NameCallback.java
2801         * javax/security/auth/callback/PasswordCallback.java
2802         * javax/security/auth/callback/TextInputCallback.java
2803         * javax/security/auth/callback/TextOutputCallback.java
2804         * javax/security/auth/callback/UnsupportedCallbackException.java
2805         * javax/security/auth/login/AccountExpiredException.java
2806         * javax/security/auth/login/AppConfigurationEntry.java
2807         * javax/security/auth/login/Configuration.java
2808         * javax/security/auth/login/CredentialExpiredException.java
2809         * javax/security/auth/login/FailedLoginException.java
2810         * javax/security/auth/login/LoginContext.java
2811         * javax/security/auth/login/LoginException.java
2812         * javax/security/auth/login/NullConfiguration.java
2813         * javax/security/auth/x500/X500PrivateCredential.java
2814         * javax/security/sasl/AuthenticationException.java
2815         * javax/security/sasl/AuthorizeCallback.java
2816         * javax/security/sasl/RealmCallback.java
2817         * javax/security/sasl/RealmChoiceCallback.java
2818         * javax/security/sasl/Sasl.java
2819         * javax/security/sasl/SaslClient.java
2820         * javax/security/sasl/SaslClientFactory.java
2821         * javax/security/sasl/SaslException.java
2822         * javax/security/sasl/SaslServer.java
2823         * javax/security/sasl/SaslServerFactory.java
2824         * org/ietf/jgss/ChannelBinding.java
2825         * org/ietf/jgss/GSSContext.java
2826         * org/ietf/jgss/GSSCredential.java
2827         * org/ietf/jgss/GSSException.java
2828         * org/ietf/jgss/GSSManager.java
2829         * org/ietf/jgss/GSSName.java
2830         * org/ietf/jgss/MessageProp.java
2831         * org/ietf/jgss/Oid.java
2832         * org/ietf/jgss/MessagesBundle.properties
2833
2834         Files imported from Jessie <http://www.nongnu.org/jessie/>
2835         * javax/net/ServerSocketFactory.java
2836         * javax/net/SocketFactory.java
2837         * javax/net/VanillaServerSocketFactory.java
2838         * javax/net/VanillaSocketFactory.java
2839         * javax/net/ssl/HandshakeCompletedEvent.java
2840         * javax/net/ssl/HandshakeCompletedListener.java
2841         * javax/net/ssl/HostnameVerifier.java
2842         * javax/net/ssl/HttpsURLConnection.java
2843         * javax/net/ssl/KeyManager.java
2844         * javax/net/ssl/KeyManagerFactory.java
2845         * javax/net/ssl/KeyManagerFactorySpi.java
2846         * javax/net/ssl/ManagerFactoryParameters.java
2847         * javax/net/ssl/SSLContext.java
2848         * javax/net/ssl/SSLContextSpi.java
2849         * javax/net/ssl/SSLException.java
2850         * javax/net/ssl/SSLHandshakeException.java
2851         * javax/net/ssl/SSLKeyException.java
2852         * javax/net/ssl/SSLPeerUnverifiedException.java
2853         * javax/net/ssl/SSLPermission.java
2854         * javax/net/ssl/SSLProtocolException.java
2855         * javax/net/ssl/SSLServerSocket.java
2856         * javax/net/ssl/SSLServerSocketFactory.java
2857         * javax/net/ssl/SSLSession.java
2858         * javax/net/ssl/SSLSessionBindingEvent.java
2859         * javax/net/ssl/SSLSessionBindingListener.java
2860         * javax/net/ssl/SSLSessionContext.java
2861         * javax/net/ssl/SSLSocket.java
2862         * javax/net/ssl/SSLSocketFactory.java
2863         * javax/net/ssl/TrivialHostnameVerifier.java
2864         * javax/net/ssl/TrustManager.java
2865         * javax/net/ssl/TrustManagerFactory.java
2866         * javax/net/ssl/TrustManagerFactorySpi.java
2867         * javax/net/ssl/X509KeyManager.java
2868         * javax/net/ssl/X509TrustManager.java
2869         * javax/security/cert/Certificate.java
2870         * javax/security/cert/CertificateEncodingException.java
2871         * javax/security/cert/CertificateException.java
2872         * javax/security/cert/CertificateExpiredException.java
2873         * javax/security/cert/CertificateNotYetValidException.java
2874         * javax/security/cert/CertificateParsingException.java
2875         * javax/security/cert/X509CertBridge.java
2876         * javax/security/cert/X509Certificate.java
2877
2878         2004-08-20  Casey Marshall  <csm@gnu.org>
2879
2880         * java/security/cert/X509CRLSelector.java: New file.
2881         * java/security/cert/X509CertSelector.java: New file.
2882
2883 2004-09-15  Michael Koch  <konqueror@gmx.de>
2884
2885         * gnu/java/net/protocol/file/Handler.java
2886         (openConnection): Don't throw exception if host part for file: URI is
2887         present. setURL() keeps file: protocol if ftp: protocol is not
2888         available.
2889
2890 2004-09-14  Richard Henderson  <rth@redhat.com>
2891
2892         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
2893         value of sigsuspend.
2894
2895 2004-09-12  Tom Tromey  <tromey@redhat.com>
2896
2897         * javax/naming/CompoundName.java (CompoundName): Don't check for
2898         separator in "flat" case.
2899
2900 2004-09-12  Michael Koch  <konqueror@gmx.de>
2901
2902         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
2903         AM_CONFIG_HEADER by AC_CONFIG_FILES.
2904         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
2905         Regenerate.
2906
2907 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
2908
2909         PR libgcj/14751
2910         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
2911         handle in newly-allocated _Jv_Thread_t.
2912         (_Jv_ThreadDestroyData): Close thread handle.
2913         (_Jv_ThreadStart): Remove obsolete comment.
2914         Store handle of newly-created thread in _Jv_Thread_t.
2915         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
2916         before including <windows.h>
2917         #define _Jv_HaveCondDestroy
2918
2919 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
2920
2921         * java/lang/natThread.cc (finalize_native): Destroy
2922         join conditional variable and mutex if these destroy
2923         operations are supported.
2924
2925 2004-09-10  Dalibor Topic <robilad@kaffe.org>
2926
2927         * gnu/java/net/protocol/file/Connection.java (permission): New field.
2928         (DEFAULT_PERMISSION): New constant.
2929         (Connection): Create a FilePermission with permission to read file.
2930
2931 2004-09-10  Michael Koch  <konqueror@gmx.de>
2932
2933         * gnu/java/net/protocol/file/Connection.java
2934         (getLastModified): Moved around.
2935         (getPermission): Return stored permission.
2936
2937 2004-09-10  Michael Koch  <konqueror@gmx.de>
2938
2939         * Makefile.in: Regenerate.
2940
2941 2004-09-10  Michael Koch  <konqueror@gmx.de>
2942
2943         * Makefile.am: Reverted accidently commited stuff.
2944         * configure: Regenerated.
2945
2946 2004-09-10  Michael Koch  <konqueror@gmx.de>
2947
2948         * gnu/java/net/protocol/file/Connection.java
2949         (lineSeparator): Made non-final.
2950         (static): Removed.
2951         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
2952         instead of StringBufferInputStream.
2953
2954 2004-09-10  Michael Koch  <konqueror@gmx.de>
2955
2956         * gnu/java/net/protocol/file/Connection.java
2957         (connect): Handle file is a directory case.
2958
2959 2004-09-10  Michael Koch  <konqueror@gmx.de>
2960
2961         * Makefile.am
2962         (xlib_includes): Removed.
2963         (AM_CPPFLAGS): Renamed from INCLUDES.
2964         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
2965         * Makefile.in: Regenerate.
2966
2967 2004-09-09  Michael Koch  <konqueror@gmx.de>
2968
2969         * java/security/ProtectionDomain.java,
2970         * java/util/PropertyPermissionCollection.java:
2971         Fixed javadocs all over.
2972
2973 2004-09-09  Sven de Marothy  <sven@physto.se>
2974
2975         Patch from David Gilbert <david.gilbert@object-refinery.com>
2976         * java/lang/Comparable.java: Fixed documentation errors.
2977         * java/util/Arrays.java: Likewise.
2978
2979 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2980
2981         * java/net/Inet4Address.java
2982         (Inet4Address): Added comment to serialization UID.
2983         * java/text/Format.java
2984         (Format): Added comment to serialization UID.
2985
2986 2004-09-09  Michael Koch  <konqueror@gmx.de>
2987
2988         * java/lang/System.java
2989         (err): Fixed javadoci to point to setErr() and not setOut().
2990
2991 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
2992
2993         (normalizePath): Added special case for windows systems.
2994
2995 2004-09-09  Michael Koch  <konqueror@gmx.de>
2996
2997         * java/io/File.java
2998         (dupSeparator): Made private.
2999         (File(URI)): New constructor.
3000         (getParentFile): Fixed javadoc.
3001         (createTempFile): Reformated.
3002         (setReadOnly): Added comment.
3003         (deleteOnExit): Merged javadoc with classpath version.
3004
3005 2004-09-09  Michael Koch  <konqueror@gmx.de>
3006
3007         * Makefile.am: Don't try to include deps.mk.
3008         * Makefile.in: Regenerated.
3009
3010 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
3011
3012         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
3013         .d files.
3014         * configure: Rebuilt.
3015
3016 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
3017
3018         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
3019         Changed pfn from static local to local.
3020
3021 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
3022             H.J. Lu  <hongjiu.lu@intel.com>
3023
3024         PR libgcj/17290
3025         * Makefile.am (GCJCOMPILE): Remove definition.
3026         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
3027         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
3028         * Makefile.in: Rebuilt.
3029
3030 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
3031
3032         * configure.ac (enable-gc-debug): Update help for new syntax.
3033         * configure: Regenerate.
3034
3035 2004-09-03  David Daney  <ddaney@avtrex.com>
3036
3037         * include/mips-signal.h: Update copyright.
3038
3039 2004-09-03  David Daney  <ddaney@avtrex.com>
3040
3041         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
3042         * include/mips-signal.h: Added HANDLE_FPE support.
3043         
3044 2004-08-31  Michael Koch  <konqueror@gmx.de>
3045
3046         * javax/swing/plaf/basic/BasicTextAreaUI.java
3047         (create): New method.
3048         * javax/swing/text/DefaultHighlighter.java
3049         (DefaultHighlightPainter.debugRect): Removed.
3050         * javax/swing/text/StyleContext.java
3051         (DEFAULT_STYLE): New field.
3052
3053 2004-08-31  Michael Koch  <konqueror@gmx.de>
3054
3055         * javax/swing/plaf/basic/BasicLookAndFeel.java
3056         (initComponentDefaults): Add keybindings for selection.backward and
3057         selection-forward for text components.
3058         * javax/swing/plaf/basic/BasicTextUI.java
3059         (paintSafely): Paint highlight only when something is actually
3060         selected.
3061         * javax/swing/text/DefaultCaret.java
3062         (handleHighlight): New method.
3063         (setSelectionVisible): Don't do anything when nothing changes.
3064         Handle highlight.
3065         (moveDot): Reimplemented. Handle highlight.
3066         (setDot): Set mark too. Handle highlight.
3067         (getSelectionPainter): New method.
3068         * javax/swing/text/DefaultEditorKit.java
3069         (defaultActions): Added new actions for text selection.
3070         * javax/swing/text/DefaultHighlighter.java
3071         (DefaultHighlightPainter): New inner class.
3072         (DefaultPainter): New field.
3073         (paint): Implemented.
3074         * javax/swing/text/PlainView.java
3075         (paint): Don't draw background here again.
3076         * javax/swing/text/Utilities.java
3077         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
3078         (drawTabbedText): Likewise.
3079
3080 2004-08-31  Graydon Hoare  <graydon@redhat.com>
3081
3082         * javax/swing/JComponent.java
3083         (resetKeyboardActions): Add null checks.
3084
3085 2004-08-31  Graydon Hoare  <graydon@redhat.com>
3086
3087         * javax/swing/DefaultButtonModel.java:
3088         Skip group notification when no group is set.
3089
3090 2004-08-31  Graydon Hoare  <graydon@redhat.com>
3091
3092         * javax/swing/JColorChooser.java: 
3093         Make a couple inner classes static, for jikes.
3094
3095 2004-08-31  Michael Koch  <konqueror@gmx.de>
3096
3097         * javax/swing/plaf/basic/BasicTextUI.java
3098         (RottView.modelToView): New method.
3099         (UpdateHandler): Renamed from EventHandler.
3100         (updateHandler): Renamed from eventHandler.
3101         (modelToView): Implemented.
3102         * javax/swing/text/AbstractDocument.java
3103         (BranchElement.getElement): Return null for non-existing indeces.
3104         (BranchElement.getElementIndex): Return 0 in some corner cases.
3105         * javax/swing/text/FieldView.java
3106         (modelToView): New method.
3107         * javax/swing/text/PlainView.java
3108         (modelToView): Made public.
3109
3110 2004-08-31  Kim Ho  <kho@redhat.com>
3111
3112         * Makefile.am: New files.
3113         * Makefile.in: Regenerate.
3114         * gcj/Makefile.in: Regenerate.
3115         * include/Makefile.in: Regenerate.
3116         * java/awt/Color.java: Fix documentation.
3117         (RGBtoHSB): Use floats for conversions.
3118         * javax/swing/ButtonGroup.java: Run Jalopy.
3119         (setSelected): Reimplement.
3120         * javax/swing/DefaultButtonModel.java: Run Jalopy.
3121         (changeState): Let ButtonGroup know that the button 
3122         is changing state.
3123         * javax/swing/JColorChooser.java: Implement.
3124         * javax/swing/JLabel.java: Run Jalopy.
3125         * javax/swing/JSpinner.java: Run Jalopy.
3126         (setValue): New method.
3127         * javax/swing/JTabbedPane.java: Run Jalopy.
3128         (removeTabAt): Call correct remove method.
3129         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
3130         (getPreviousValue): Compare minimum value.
3131         * javax/swing/Timer.java: Run Jalopy.
3132         (run): Comment out println.
3133         * javax/swing/ToolTipManager.java:
3134         (mouseMoved): Get new tooltip text for location.
3135         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
3136         Jalopy and Javadoc.
3137         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
3138         Implement.
3139         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
3140         Run Jalopy.
3141         (setSelectedColor): Fire ChangeEvent.
3142         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
3143         New file. Implement.
3144         * javax/swing/colorchooser/DefaultPreviewPanel.java:
3145         Ditto.
3146         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
3147         Ditto.
3148         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
3149         Ditto.
3150         * javax/swing/plaf/basic/BasicArrowButton.java:
3151         (getArrow): Fix size of upward pointing button.
3152         * javax/swing/plaf/basic/BasicColorChooserUI.java:
3153         Implement.
3154         * javax/swing/plaf/basic/BasicSliderUI.java:
3155         (getWidthOfWidestLabel): Use preferred dimensions.
3156         (getHeightOfTallestLabel): Ditto.
3157         * javax/swing/plaf/basic/BasicSpinnerUI.java:
3158         Run Jalopy.
3159         (mousePressed): Disable changes to spinner if it is not enabled.
3160         * testsuite/Makefile.in: Regenerate.
3161
3162
3163 2004-08-31  Michael Koch  <konqueror@gmx.de>
3164
3165         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
3166         javax/swing/plaf/basic/BasicTableUI.java:
3167         Added copyright notice.
3168
3169 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
3170
3171         * Makefile.am: Added new files.
3172         * Makefile.in: Regenerate.
3173         * javax/swing/ComboBoxEditor.java: Added javadocs.
3174         * javax/swing/ComboBoxModel.java: Likewise.
3175         * javax/swing/DefaultComboBoxModel.java: Implemented.
3176         * javax/swing/DefaultListCellRenderer.java: Added javadocs
3177         and ran through jalopy to fix formatting style.
3178         (getListCellRendererComponent): Use appropriate border
3179         if renderer has focus and use noFocusBorder when it doesn't.
3180         * javax/swing/JComboBox.java: Implemented.
3181         * javax/swing/JList.java:
3182         (locationToIndex): New Method. Implemented.
3183         (indexToLocation): New Method.
3184         * javax/swing/JPopupMenu.java: 
3185         (visible): New field.
3186         (isVisible): Changed to use new field above.
3187         (setVisible): Likewise.
3188         * javax/swing/MutableComboBoxModel.java: Added javadocs.
3189         * javax/swing/plaf/basic/BasicArrowButton.java: 
3190         (shadow): Changed default color to Color.gray.
3191         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
3192         UI delegate for JComboBox.
3193         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
3194         Popup menu containing list of JComboBox's items.
3195         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
3196         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
3197         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
3198         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
3199         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3200         (popupMenuWillBecomeVisible): Set selected path to the first
3201         element only if it is of type MenuElement. Also fix formatting
3202         style.
3203         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
3204         methods signatures.
3205         
3206 2004-08-31  Michael Koch  <konqueror@gmx.de>
3207
3208         * javax/swing/text/AbstractDocument.java
3209         (createBranchElement): Use new constructor of BranchElement.
3210         (createLeafElement): Renamed arguments.
3211         (getRootElements): Implemented.
3212         (BranchElement.start): Removed.
3213         (BranchElement.end): Likewise.
3214         (BranchElement.BranchElement): Fixed arguments.
3215         (BranchElement.getEndOffset): Reimplemented.
3216         (BranchElement.getStartOffset): Likewis.
3217         * javax/swing/text/DefaultCaret.java
3218         (paint): Draw simple vertical line as caret instead of a rectangle.
3219         * javax/swing/text/JTextComponent.java
3220         (setText): Use doc directly.
3221         * javax/swing/text/PlainView.java
3222         (nextTabStop): Implemented.
3223         * javax/swing/text/Utilities.java
3224         (drawTabbedText): nextTabStop() returns an absolute x position.
3225         (getTabbedTextWidth): Likewise.
3226
3227 2004-08-31  Graydon Hoare  <graydon@redhat.com>
3228
3229         * java/awt/Component.java 
3230         (isFocusTraversable): Predicate on isLightweight()
3231         (setFocusable): Set isFocusTraversableOverridden.
3232         (requestFocus): Predicate peer dispatch on !isLightweight()
3233         (requestFocusInWindow): Likewise.
3234         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
3235         * java/awt/Container.java
3236         (dispatchEventImpl): Predicate on event mask.
3237         (LightweightDispatcher): Remove focus machinery.
3238         * java/awt/DefaultFocusTraversalPolicy.java
3239         (accept): Expand predicate to include isFocusable(). 
3240         * java/awt/DefaultKeyboardFocusManager.java:
3241         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
3242         * java/awt/KeyboardFocusManager.java
3243         (redispatchEvent): Synchronize on event to prevent feedback.
3244         * javax/swing/AbstractButton.java
3245         (ButtonFocusListener): Remove class.
3246         (init): Set focusPainted, focusable.
3247         * javax/swing/ActionMap.java (get): Check parent for null. 
3248         * javax/swing/InputMap.java (get): Likewise. 
3249         * javax/swing/JComponent.java
3250         (inputMap_whenFocused): New InputMap.
3251         (inputMap_whenAncestorOfFocused): Likewise.
3252         (inputMap_whenInFocusedWindow): Likewise.
3253         (getActionForKeyStroke): Rewrite.
3254         (getConditionForKeystroke): Likewise.
3255         (ActionListenerProxy): New private class.
3256         (setInputMap): Implement.
3257         (getInputMap): Likewise.
3258         (setActionMap): Likewise.
3259         (getActionMap): Likewise.
3260         (processComponentKeyEvent): New empty method.
3261         (processKeyEvent): Implement.
3262         (processKeyBinding): Likewise.
3263         (resetKeyboardActions): Rewrite.
3264         * javax/swing/KeyStroke.java: Rewrite.
3265         * javax/swing/SwingUtilities.java
3266         (notifyAction): Implement.
3267         (replaceUIActionMap): Likewise.
3268         (replaceUIInputMap): Likewise.
3269         * javax/swing/plaf/basic/BasicButtonListener.java
3270         (focusGained): Implement.
3271         (focusLost): Repaint if focusPainted().
3272         (installKeyboardActions): Install pressed / released actions.
3273         (uninstallKeyboardActions): Implement.
3274         * javax/swing/plaf/basic/BasicButtonUI.java
3275         (focusColor): New field.
3276         (installDefaults): Load focus color, install input map.
3277         (installKeyboardActions): Implement.
3278         (uninstallKeyboardActions): Likewise.
3279         (paintFocus): Rewrite.
3280         * javax/swing/plaf/basic/BasicLookAndFeel.java
3281         (Button.focus): New default, midPurple. 
3282         * javax/swing/plaf/basic/BasicTextUI.java
3283         (kit): Make static.
3284         (installUI): Get doc from kit, load defaults.
3285         (getKeymapName): Implement.
3286         (createKeymap): Likewise.
3287         (installKeyboardActions): Likewise.
3288         (getInputMap): Likewise.
3289         (getActionMap): Likewise.
3290         (createActionMap): Likewise.
3291         * javax/swing/text/AbstractDocument.java
3292         (getStartPosition): Implement.
3293         (getEndPosition): Likewise.
3294         * javax/swing/text/DefaultEditorKit.java
3295         (CopyAction): New class.
3296         (CutAction): Likewise.
3297         (DefaultKeyTypedAction): Likewise.
3298         (InsertBreakAction): Likewise.
3299         (InsertContentAction): Likewise.
3300         (InsertTabAction): Likewise.
3301         (PasteAction): Likewise.
3302         (defaultActions): New static table.
3303         (createCaret): Implement.
3304         (getActions): Likewise.
3305         * javax/swing/text/JTextComponent.java
3306         (KeymapWrapper): New private class.
3307         (KeymapActionMap): Likewise.
3308         (DefaultKeymap): New class.
3309         (keymaps): New static table.
3310         (keymap): New field.
3311         (getKeymap): Implement.
3312         (removeKeymap): Likewise.
3313         (addKeymap): Likewise.
3314         (setKeymap): Likewise.
3315         (loadKeymap): Likewise.
3316         (getActions): Likewise.
3317         (margin): New field.
3318         (JTextComponent): Build and install default keymap.
3319         * javax/swing/text/TextAction.java
3320         (textAction): Call super properly.
3321         (getTextComponent): Implement.
3322         * javax/swing/text/Utilities.java
3323         (drawTabbedText): Adjust position by ascent.
3324
3325 2004-08-31  David Jee  <djee@redhat.com>
3326
3327         PR AWT/17156
3328
3329         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
3330         (setEnabled): Make it a native method.
3331         * java/awt/DefaultKeyboardFocusManager.java
3332         (postProcessKeyEvent): Only post event if the menu item
3333         is active.
3334         * java/awt/MenuItem.java:
3335         Private field 'enabled' should be true by default.
3336         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3337         (setEnabled): New function.
3338
3339 2004-08-31  David Jee  <djee@redhat.com>
3340
3341         PR AWT/17059
3342
3343         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
3344         (nativeSetHelpMenu): New native method declaration.
3345         (addHelpMenu): Call nativeSetHelpMenu().
3346         (addMenu): Remove.
3347         * java/awt/MenuBar.java
3348         (setHelpMenu): Call addNotify() on the new help menu.
3349         (add): Call addNotify() on the new menu.
3350         (addNotify): Set the help menu if one exists.
3351         * java/awt/peer/MenuBarPeer.java
3352         (addMenu): Remove.
3353         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
3354         (nativeSetHelpMenu): New method.
3355
3356 2004-08-31  Graydon Hoare  <graydon@redhat.com>
3357
3358         * Makefile.am: Add new files.
3359         * Makefile.in: Regenerate.
3360         * javax/swing/Box.java: Fix setting of layout in ctor.
3361         * javax/swing/JScrollPane.java: Scroll headers as well.
3362         * javax/swing/JTable.java: Reimplement.
3363         * javax/swing/JViewPort.java: Only add non-null children.
3364         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
3365         * javax/swing/Timer.java: Fix stopping null waker.
3366         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
3367         * javax/swing/plaf/basic/BasicTableUI.java: New file.
3368         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
3369         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
3370         * javax/swing/table/DefaultTableModel.java: Clean up.
3371         * javax/swing/table/JTableHeader.java: Implement.
3372
3373 2004-08-31  Mark Wielaard  <mark@klomp.org>
3374
3375         * javax/swing/JSpinner.java (getChangeListeners): Remove double
3376         semi-colon.
3377
3378 2004-08-31  Mark Wielaard  <mark@klomp.org>
3379
3380         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
3381         Declare variables at top of functions/block.
3382         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
3383
3384 2004-08-31  Mark Wielaard  <mark@klomp.org>
3385
3386         * java/lang/Rectangle.java (intersects): Check r.width and r.height
3387         first.
3388
3389 2004-08-31  Michael Koch  <konqueror@gmx.de>
3390
3391         * javax/swing/text/PlainView.java
3392         (selectedColor): New field.
3393         (unselectedColor): Likewise.
3394         (font): Likewise.
3395         (updateMetrics): New method.
3396         (lineToRect): Likewise.
3397         (modelToView): Likewise.
3398         (drawSelectedText): Use color from JTextComponent ad draw with
3399         Utilities class.
3400         (drawUnselectedText): Likewise.
3401         (paint): Initialize helper fields.
3402         * javax/swing/text/View.java
3403         (getChildAllocation): New method.
3404         (getViewIndex): Likewise.
3405         (getToolTipText): Likewise.
3406
3407 2004-08-31  Michael Koch  <konqueror@gmx.de>
3408
3409         * javax/swing/text/Utilities.java
3410         (drawTabbedText): Reimplemented.
3411         (getTabbedTextWidth): Likewise.
3412
3413 2004-08-31  Michael Koch  <konqueror@gmx.de>
3414
3415         * javax/swing/plaf/basic/BasicTextUI.java
3416         (installDefaults): Install caret and highlighter.
3417         (modelToView): Use Bias.Forward when calling sibling.
3418         * javax/swing/text/AbstractDocument.java
3419         (ElementEdit): Implements DocumentEvent.ElementChange.
3420         (ElementEdit.ElementEdit): New method.
3421         (ElementEdit.getChildrenAdded): Likewise.
3422         (ElementEdit.getChildrenRemoved): Likewise.
3423         (ElementEdit.getElement): Likewise.
3424         (ElementEdit.getIndex): Likewise.
3425         * javax/swing/text/DefaultCaret.java
3426         (color): Removed.
3427         (textComponent): Renamed from parent, made private.
3428         (selectionVisible): Renamed from vis_sel, made private.
3429         (blinkRate): Renamed from blink, made private.
3430         (magicCaretPosition): Renamed from magic, made private.
3431         (visible): Renamed from vis, made private.
3432         (dot): Made private.
3433         (mark): Likewise.
3434         (deinstall): Remove as MouseMotionListener.
3435         (install): Initialize textComponent first. Add as MouseMotionListener.
3436         (paint): Reimplemented.
3437         * javax/swing/text/JTextComponent.java
3438         (setCaret): Deinstall old caret, install new one and fire property
3439         change after setting property.
3440         (setHighlighter): Deinstall old highlighter, install new one and fire
3441         property change after setting property.
3442         (setCaretColor): Fire property change after setting property.
3443         (setDisabledTextColor): Likewise.
3444         (setSelectedTextColor): Likewise.
3445         (setSelectionColor): Likewise.
3446         (modelToView): New method.
3447
3448 2004-08-31  Michael Koch  <konqueror@gmx.de>
3449
3450         * javax/swing/text/AbstractDocument.java
3451         (getText): Simplified.
3452         * javax/swing/text/Segment.java
3453         (current): New field.
3454         (current): Reimplemented.
3455         (first): Likewise.
3456         (getIndex): Likewise.
3457         (last): Likewise.
3458         (next): Likewise.
3459         (previous): Likewise.
3460         (setIndex): Likewise.
3461
3462 2004-08-31  Michael Koch  <konqueror@gmx.de>
3463
3464         * javax/swing/plaf/basic/BasicButtonUI.java
3465         (defaultTextIconGap): Made protected.
3466         (defaultTextShiftOffset): Likewise.
3467         (textShiftOffset): New field.
3468         (clearTextShiftOffset): New method.
3469         (getTextShiftOffset): Likewise.
3470         (setTextShiftOffset): Likewise.
3471
3472 2004-08-31  Michael Koch  <konqueror@gmx.de>
3473
3474         * javax/swing/plaf/basic/BasicTextUI.java
3475         (installUI): Add eventHandler as property listener.
3476         (uninstallUI): remove eventHandler as propert listener.
3477         (installDefaults): Added comment.
3478         (installListeners): Likewise.
3479         (installKeyboardActions): Likewise.
3480         (uninstallDefaults): Likewise.
3481         (uninstallListeners): Likewise.
3482         (uninstallKeyboardActions): Likewise.
3483
3484 2004-08-31  Michael Koch  <konqueror@gmx.de>
3485
3486         * javax/swing/text/AbstractDocument.java:
3487         Fixed some typos in comments.
3488         (insertString): Reimplemented.
3489         (remove): Likewise.
3490         (replace): New method.
3491         (children): Dont use fully qualified class name.
3492         (DefaultDocumentEvent.offset): Renamed from off.
3493         (DefaultDocumentEvent.length): Renamed from len.
3494         (DefaultDocumentEvent.type): New field.
3495         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
3496         (DefaultDocumentEvent.getType): Implemented.
3497
3498 2004-08-31  Michael Koch  <konqueror@gmx.de>
3499
3500         * javax/swing/plaf/basic/BasicTextUI.java
3501         (RootView.textComponent): Removed.
3502         (RootView.RootView): Don't initialize textComponent.
3503         (RootView.getViewFactory): New method.
3504         (EventHandler): New inner class.
3505         (rootView): Initialize at instance creation.
3506         (eventHandler): New field.
3507         (installUI): Don't create view hierarchy directly,
3508         call modelChanged() instead.
3509         (modelChanged): New method.
3510         * javax/swing/text/JTextComponent.java
3511         (setDocument): Fire property change event.
3512
3513 2004-08-31  Michael Koch  <konqueror@gmx.de>
3514
3515         * javax/swing/plaf/basic/BasicTextUI.java
3516         (RootView.paint): Removed debug output.
3517         (paintSafely): Draw highlighter before text.
3518         (paintBackground): Use background color of text component.
3519         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
3520         Reformatted.
3521
3522 2004-08-31  Michael Koch  <konqueror@gmx.de>
3523
3524         * javax/swing/plaf/basic/BasicToolBarUI.java
3525         (BasicToolBarUI): Fixed arguments for constructor.
3526         (createUI): Fixed creation of object.
3527
3528 2004-08-31  Michael Koch  <konqueror@gmx.de>
3529
3530         * javax/swing/DefaultListSelectionModel.java
3531         (fireValueChanged): Renamed from fireSelectionValueChanged,
3532         made protected.
3533
3534 2004-08-31  Michael Koch  <konqueror@gmx.de>
3535
3536         * javax/swing/text/TabSet.java
3537         (TabSet): Implements java.io.Serializable.
3538         * javax/swing/text/TabStop.java
3539         (TabStop): Implements java.io.Serializable.
3540         (TabStop): Made public.
3541
3542 2004-08-31  Michael Koch  <konqueror@gmx.de>
3543
3544         * javax/swing/JComponent.java
3545         (setUI): Fire PropertyChange.
3546         * javax/swing/JLabel.java
3547         (text): Renamed from labelText.
3548         (horizontalAlignment): New default vlaue.
3549         (icon): Renamed from activeIcon.
3550         (displayedMnemonic): Renamed from mnemonicKey, added default value.
3551         (displayedMnemonicIndex): Renamed from underlineChar.
3552         (setDisplayedMnemonic): Reimplemented.
3553         * javax/swing/JRadioButton.java
3554         (JRadioButton): New constructors.
3555         * javax/swing/JTextField.java
3556         (JTextField): Throw exception if colums < 0, initialitialz
3557         this.columns directly and initialize document with text conditionally.
3558
3559 2004-08-31  Michael Koch  <konqueror@gmx.de>
3560
3561         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
3562         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
3563         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
3564         * javax/swing/text/FieldView.java
3565         (paint): Just call super method for now.
3566         * Makefile.am: Added new files.
3567         * Makefile.in: Regenerated.
3568
3569 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
3570
3571         * javax/swing/AbstractSpinnerModel.java,
3572         javax/swing/JSpinner.java,
3573         javax/swing/SpinnerNumberModel.java,
3574         javax/swing/plaf/basic/BasicSpinnerUI.java:
3575         New files.
3576         * javax/swing/plaf/basic/BasicLookAndFeel.java
3577         (initClassDefaults): Added defaults for BasicSpinnerUI.
3578
3579 2004-08-31  Michael Koch  <konqueror@gmx.de>
3580
3581         * Makefile.am: Added new files.
3582         * Makefile.in: Regenerated.
3583
3584 2004-08-31  Michael Koch  <konqueror@gmx.de>
3585
3586         * javax/swing/TransferHandler.java,
3587         javax/swing/plaf/basic/ComboPopup.java: New files
3588         * Makefile.am: Added javax/swing/TransferHandler.java and
3589         javax/swing/plaf/basic/ComboPopup.java
3590         * Makefile.in: Regenerated.
3591
3592 2004-08-31  Roman Kennke  <roman@ontographics.com>
3593
3594         * javax/swing/text/Utilities.java: New file.
3595
3596 2004-08-31  Michael Koch  <konqueror@gmx.de>
3597
3598         * Makefile.am: Added javax/swing/text/Utilities.java.
3599         * Makefile.in: Regenerated.
3600
3601 2004-08-31  Graydon Hoare  <graydon@redhat.com>
3602
3603         * javax/swing/text/SimpleAttributeSet.java: New file.
3604         * javax/swing/text/StyleConstants.java: New file.
3605         * javax/swing/text/StyleContext.java: New file.
3606         * javax/swing/text/TabSet.java: New file.
3607         * javax/swing/text/TabStop.java: New file.
3608         * javax/swing/text/AbstactDocument.java:
3609         (AbstractElement): Implement attribute support.
3610         * javax/swing/text/AttributeSet.java
3611         (NameAttribute): New static field.
3612         (ResolveAttribute): New static field.
3613         * Makefile.am: Update for new files.
3614         * Makefile.in: Regenerate.
3615
3616 2004-08-31  Craig Black  <craig.black@aonix.com>
3617
3618         * gnu/java/awt/peer/gtk/GdkGraphics.java 
3619         (drawImage): Add support for scaling pixmaps.
3620         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
3621         (copyAndScalePixmap): New native method.
3622  
3623 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3624
3625         PR AWT/16121
3626         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
3627         type-punning compiler warnings using unions.
3628         (throw): Replace bzero with memset.
3629
3630 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
3631             Thomas Fitzsimmons  <fitzsim@redhat.com>
3632
3633         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
3634         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
3635         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
3636         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3637         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
3638
3639 2004-08-31  Mark Wielaard  <mark@klomp.org>
3640
3641         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
3642         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
3643         and stdlib.h, not gtkpeer.h.
3644         (*vm): New static variable.
3645         (areaPreparedID): Make static.
3646         (areaUpdatedID): Likewise.
3647         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
3648         (area_prepared): Likewise.
3649         (area_updated): Likewise.
3650         (closed): Likewise.
3651         (initStaticState): Initialize *vm javaVM.
3652         (pumpBytes): Use given env, not global gdk_env.
3653
3654 2004-08-31  Mark Wielaard  <mark@klomp.org>
3655
3656         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
3657         comments.
3658
3659 2004-08-31  Sven de Marothy  <sven@physto.se>
3660
3661         * java/awt/geom/CubicCurve2D.java: Reindent.
3662         (contains): Implemented.
3663         (intersects): Implemented.
3664         * java/awt/geom/QuadCurve2D.java: Likewise.
3665         * java/awt/geom/GeneralPath.java: Reindent and document.
3666         Fully (re)implemented using separate xpoints and ypoints
3667         float[] coords.
3668         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
3669
3670 2004-08-31  Michael Koch  <konqueror@gmx.de>
3671
3672         * javax/swing/JMenuItem.java
3673         (getMenuDragMouseListeners): New method.
3674         (getMenuKeyListeners): Likewise.
3675
3676 2004-08-31  Michael Koch  <konqueror@gmx.de>
3677
3678         * javax/swing/AbstractButton.java
3679         (model): Made protected.
3680         (actionListener): Likewise.
3681         (changeListener): Likewise.
3682         (itemListener): Likewise.
3683         (multiClickThreshhold): New field.
3684         (getActionListeners): New method.
3685         (getChangeListeners): Likewise.
3686         (getItemListeners): Likewise.
3687         (fireItemStateChanged): Simplified implementation.
3688         (fireActionPerformed): Likewise.
3689         (fireStateChanged): Likewise.
3690         (getMultiClickThreshhold): New method.
3691         (setMultiClickThreshhold): Likewise.
3692
3693 2004-08-31  Tom Tromey  <tromey@redhat.com>
3694
3695         * java/awt/image/Kernel.java (clone): Use super.clone().
3696
3697 2004-08-31  David Jee  <djee@redhat.com>
3698
3699         PR AWT/16682
3700         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3701         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
3702         (nativeSetIconImageFromData): New native method declaration.
3703         (setIconImage): Handle images not produced from GdkPixbufDecoder.
3704         * gnu/java/awt/peer/gtk/GtkImage.java
3705         (getPixelCache): New method.
3706         (getColorModel): New method.
3707         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3708         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
3709         (free_pixbuf_data): New helper function.
3710         (nativeSetIconImageFromData): New function.
3711
3712 2004-08-31  Graydon Hoare  <graydon@redhat.com>
3713
3714         PR SWING/16576
3715         * javax/swing/JLayeredPane.java 
3716         (setLayer): Permit changing layer after addition.
3717         (setPosition): Permit over-length positions.
3718         (layerToRange): Compare intValue()s.
3719         * javax/swing/Box.java (createHorizontalBox): Implement.
3720         (createRigidArea): Likewise.
3721         (createVerticalBox): Likewise.
3722
3723 2004-08-31  Kim Ho  <kho@redhat.com>
3724
3725         * java/awt/Component.java:
3726         (processMouseEvent): Consume event after
3727         listeners process it.
3728         (processMouseMotionEvent): ditto.
3729         (processMouseWheelEvent): ditto.
3730         * java/awt/Container.java:
3731         (acquireComponentForMouseEvent):
3732         Do not dispatch to events that have been
3733         removed from the Container.
3734         (handleEvent): Consume the MouseEvents.
3735         * javax/swing/RepaintManager.java:
3736         (paintDirtyRegions): Do not add to list of 
3737         damaged areas if the component has no root.
3738
3739 2004-08-31  Michael Koch  <konqueror@gmx.de>
3740
3741         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
3742
3743 2004-08-31  Mark Wielaard  <mark@klomp.org>
3744
3745         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
3746         null when a MissingResourceException is thrown. Should never happen.
3747
3748 2004-08-31  Mark Wielaard  <mark@klomp.org>
3749
3750         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
3751         when argument is null.
3752
3753 2004-08-31  Mark Wielaard  <mark@klomp.org>
3754
3755         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3756         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
3757         Define hid at start of function.
3758         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
3759         Likewise.
3760
3761 2004-08-31  Mark Wielaard  <mark@klomp.org>
3762
3763         * gnu/java/awt/EmbeddedWindow.java: Reindent.
3764         * javax/swing/JButton.java: Reindent.
3765         * javax/swing/JCheckBox.java: Reindent.
3766
3767 2004-08-31  Mark Wielaard  <mark@klomp.org>
3768
3769         * Makefile.am (gtk_c_source_files): Added
3770         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
3771         (gtk_awt_peer_sources): Added
3772         gnu/java/awt/peer/gtk/GThreadMutex.java and
3773         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
3774         * Makefile.in: Regenerated.
3775
3776 2004-08-31  Archie Cobbs  <archie@dellroad.org>
3777
3778         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
3779
3780 2004-08-31  Steven Augart  <augart@watson.ibm.com>
3781
3782         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
3783         Added jfieldID, jmethodID.
3784
3785 2004-08-31  Mark Wielaard  <mark@klomp.org>
3786
3787         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3788         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
3789         gdk_env before calling any gdk or gtk function.
3790
3791         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
3792         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
3793         (run): Set gtkInitCalled.
3794
3795 2004-08-31  Steven Augart  <augart@watson.ibm.com>
3796
3797         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
3798         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
3799
3800         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3801         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
3802         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
3803         init_glib_threads. 
3804         (init_glib_threads): New function.
3805
3806 2004-08-31  Mark Wielaard  <mark@klomp.org>
3807
3808         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
3809         PRIORITY when not already defined in header file.
3810
3811 2004-08-31  Mark Wielaard  <mark@klomp.org>
3812
3813         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
3814         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
3815
3816 2004-08-31  Steven Augart  <augart@watson.ibm.com>
3817
3818         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
3819         Implemented missing functions for GTK2.
3820         Added error handling.
3821         Renamed static functions out of the g_ namespace.
3822         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
3823         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
3824         Rewrote global-reference code.
3825         Eliminated cascading errors.
3826         (mutex_trylock_jni_impl) Fully implemented.
3827         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
3828         resolution.
3829         (setup_cache) New function.
3830         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
3831         bug where they were not unlocking the GMutex associated with the
3832         condition variable during the wait on that condition variable.
3833
3834         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3835         native/jni/gtk-peer/gthread-jni.c,
3836         native/jni/gtk-peer/gthread-jni.h
3837         (g_thread_jni_functions): Renamed to ...
3838         (portable_native_sync_jni_functions): this name.
3839         (gdk_vm): Renamed to...
3840         (the_vm): this name.
3841
3842         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3843         (gdk_vm): Removed duplicate definition.
3844         (gtkInit): Removed stray message to stdout.
3845         (gtkInit): Use g_malloc and g_free instead of malloc and free.
3846         (gtkInit): Fix a const assignment bug.
3847         (gtkInit): Simplified code.
3848
3849         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3850         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
3851         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
3852         gnu/java/awt/peer/gtk/GThreadMutex.java:
3853         New files.
3854
3855 2004-08-31  Mark Wielaard  <mark@klomp.org>
3856
3857         * javax/swing/Box.java: Put FIXME comment above class declaration.
3858         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
3859         * javax/swing/JCheckBox.java: Likewise.
3860         * javax/swing/JDialog.java: Likewise.
3861         * javax/swing/JRadioButton.java: Likewise.
3862         * javax/swing/JToggleButton.java: Likewise.
3863         * javax/swing/UIManager.java: Likewise.
3864         * javax/swing/border/TitledBorder.java: Likewise.
3865         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3866         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3867         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
3868         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3869         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
3870         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3871         * javax/swing/text/JTextComponent.java: Likewise.
3872
3873 2004-08-31  David Jee  <djee@redhat.com>
3874
3875         PR AWT/16682
3876         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3877         (setIconImage): Add a FIXME for unhandled cases.
3878
3879 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3880
3881         PR AWT/16040
3882         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
3883         getModifiers.  Replace old button masks with new ones.
3884         * gnu/awt/xlib/XEventLoop.java: Likewise.
3885         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
3886         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3887         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
3888         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
3889         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
3890         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
3891         * java/awt/Component.java: Replace old modifier masks with new
3892         ones.
3893         * java/awt/Container.java: Call getModifiersEx, not
3894         getModifiers.
3895         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
3896         old modifier masks.
3897         * javax/swing/JMenuItem.java: Replace old button masks with new
3898         ones.
3899         * javax/swing/KeyStroke.java: Call getModifiersEx, not
3900         getModifiers.
3901         * javax/swing/SwingUtilities.java: Likewise.
3902         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
3903         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
3904         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
3905         mask macros with new ones.
3906         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
3907         macros with new ones representing new masks.
3908
3909 2004-08-31  Craig Black  <craig.black@aonix.com>
3910
3911         * gnu/java/awt/peer/gtk/GdkGraphics.java
3912         (drawRoundRect): Implemented.
3913         (fillRoundRect): Implemented.
3914         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
3915         (drawRoundRect): Reimplemented to match GdkGraphics.
3916         (fillRoundRect): Reimplemented to match GdkGraphics.
3917
3918 2004-08-31  Mark Wielaard  <mark@klomp.org>
3919
3920         * Makefile.in: Regenerated.
3921
3922 2004-08-31  Michael Koch  <konqueror@gmx.de>
3923
3924         * gnu/java/awt/EmbeddedWindow.java
3925         (addNotify): Use AccessController to allow execution of privileged
3926         code.
3927
3928 2004-08-31  Michael Koch  <konqueror@gmx.de>
3929
3930         * gnu/java/awt/EmbeddedWindow.java
3931         (static): Removed.
3932         (addNotify): Set peer via reflection.
3933         (setWindowPeer): Removed.
3934         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
3935         * Makefile.am (nat_source_files):
3936         Removed gnu/java/awt/natEmbeddedWindow.cc.
3937
3938 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3939
3940         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
3941         and gnu/java/security/action/SetAccessibleAction.java.
3942
3943 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3944
3945         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3946         Renamed from 'setName'. New 2-argument form with default value.
3947         (run): Pass default 'value' parameter to System.getProperty().
3948         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3949         typos.
3950
3951 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3952
3953         * gnu/java/security/action/GetPropertyAction.java: New class.
3954         * gnu/java/security/action/SetAccessibleAction.java: New class.
3955
3956 2004-08-31  David Jee  <djee@redhat.com>
3957
3958         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3959         (setIconImage): Check if image is null.
3960
3961 2004-08-31  David Jee  <djee@redhat.com>
3962
3963         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3964         (create): Set the icon image.
3965         (nativeSetIconImage): New native method declaration.
3966         (setIconImage): Implement.
3967         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3968         (nativeSetIconImage): New function.
3969
3970 2004-08-31  Dalibor Topic <robilad@kaffe.org>
3971
3972         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3973         (filenameFilterCallback): Declare local variable accepted before use.
3974
3975 2004-08-31  Dalibor Topic <robilad@kaffe.org>
3976
3977         * gnu/java/awt/ComponentDataBlitOp.java:
3978         Cleaned up imports.
3979
3980 2004-08-31  Tom Tromey  <tromey@redhat.com>
3981
3982         * gnu/java/awt/peer/GLightweightPeer.java,
3983         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3984         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3985         javax/swing/JScrollPane.java: Removed
3986         redundant imports.
3987
3988 2004-08-31  David Jee  <djee@redhat.com>
3989
3990         * java/awt/DefaultKeyboardFocusManager.java
3991         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
3992         event.  Fix shift modifier checking.
3993         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3994         (accel_attach): Remove.
3995         (setupAccelGroup): Remove calls to accel_attach.
3996
3997 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3998
3999         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
4000         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
4001
4002         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
4003         GtkArgList.java.
4004         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
4005         * Makefile.in: Regenerate.
4006         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4007         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
4008         (create(String)): New method.
4009         (create): Call new create method.
4010         (getArgs): Remove method.
4011         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4012         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
4013         (nativeCreate): Rename to create.
4014         (gtkSetLabel): Rename to gtkButtonSetLabel.
4015         (gtkToggleButtonSetActive): New method.
4016         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
4017         (setState): Replace set call with gtkToggleButtonSetActive.
4018         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
4019         (getArgs): Remove method.
4020         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4021         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4022         (gtkWidgetSetSensitive): New method.
4023         (gtkWidgetSetParent): Likewise.
4024         (GtkComponentPeer): Call setParent, setComponentBounds and
4025         setVisibleAndEnabled.
4026         (setParent): New method.
4027         (setComponentBounds): New method.
4028         (setVisibleAndEnabled): New method.
4029         (setEnabled): Call gtkWidgetSetSensitive.
4030         (getArgs): Remove method.
4031         Remove all set methods.
4032         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
4033         gtkWindowSetModal, setTitle and setResizable.
4034         (getArgs): Remove method.
4035         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4036         (setComponentBounds): New method.
4037         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
4038         Replace set call with gtkWindowSetResizable.
4039         (getArgs): Remove method.
4040         (create): Call setTitle and setResizable.
4041         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4042         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4043         (gtkWindowSetTitle): New method.
4044         (gtkWindowSetResizable): New method.
4045         (gtkWindowSetModal): New method.
4046         (setParent): New method.
4047         (setVisibleAndEnabled): New method.
4048         (getArgs): Remove method.
4049         (setTitle): Call gtkWindowSetTitle.
4050         (setResizable): Call gtkWindowSetResizable.
4051         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
4052         and off locking instrumentation.
4053
4054 2004-08-31  Kim Ho  <kho@redhat.com>
4055
4056         * Makefile.am: Add new file.
4057         * Makefile.in: Regenerate.
4058         * gcj/Makefile.in: Regenerate
4059         * include/Makefile.in:
4060         * java/awt/Container.java:
4061         (acquireComponentForMouseEvent): Respect 
4062         the event mask when looking for candidate.
4063         * javax/swing/JComponent.java:
4064         Remove toolTip field.
4065         (createToolTip): Create a tooltip on demand.
4066         (setToolTipText): Register with the ToolTipManager.
4067         (getToolTipText(MouseEvent)): Return getToolTipText().
4068         * javax/swing/JToolTip.java: Implement.
4069         * javax/swing/Timer.java: Jalopy.
4070         (restart): Call stop, then start.
4071         (stop): Interrupt the timer rather than wait for
4072         the timer to come to a stop naturally.
4073         * javax/swing/ToolTipManager.java: Implement.
4074         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4075         Change ToolTip.background color.
4076         * javax/swing/plaf/basic/BasicToolTipUI.java:
4077         Implement.
4078         * testsuite/Makefile.in: Regenerate
4079
4080 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
4081
4082         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
4083         constructor param comments.
4084
4085 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
4086
4087         * java/awt/Component.java: Document AWT 1.0 event handler
4088         methods.
4089
4090 2004-08-31  Roman Kennke  <roman@ontographics.com>
4091
4092         * javax/swing/Box.java:
4093         (createGlue): Implemented
4094         (createHorizontalGlue): Implemented
4095         (createHorizontalStrut): Implemented
4096         (createVerticalGlue): Implemented
4097         (createVerticalStrut): Implemented
4098
4099 2004-08-31  David Jee  <djee@redhat.com>
4100
4101         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
4102         (GtkChoicePeer): Do not automatically select first item.
4103         (getHistory): Remove.
4104         (nativeGetSelected): New method.
4105         (nativeRemoveAll): New method.
4106         (add): Use nativeGetSelected() instead of getHistory().
4107         (remove): Likewise.
4108         (removeAll): Call nativeRemoveAll().
4109         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4110         (create): Migrate to GtkComboBox.
4111         (append): Likewise.
4112         (nativeAdd): Likewise.
4113         (nativeRemove): Likewise.
4114         (select): Likewise.
4115         (nativeRemoveAll): New method.
4116         (nativeGetSelected): New method.
4117         (selection_changed): New method.
4118         (getHistory): Remove.
4119         (item_activate): Remove.
4120         (item_removed): Remove.
4121         (connect_choice_item_selectable_hook): Remove.
4122
4123 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
4124
4125         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
4126         variable in setEditable call.
4127
4128         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4129         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4130         (gtkWidgetSetBackground): New method.
4131         (gtkWidgetSetForeground): Likewise.
4132         (create): Set peer's editable state based on awtComponent's.
4133
4134         * java/awt/Button.java (Button()): Use empty string rather than
4135         null in no-label constructor.
4136
4137 2004-08-31  Roman Kennke  <roman@ontographics.com>
4138
4139         * javax/swing/BoxLayout.java: Reimplement.
4140
4141 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
4142
4143         * gnu/java/awt/peer/gtk/GdkGraphics.java,
4144         gnu_java_awt_peer_gtk_GdkGraphics.c
4145         (initState(GtkComponentPeer)): Don't return array of colour
4146         values.
4147         (GdkGraphics(int,int)): Set default font to size 12.
4148         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
4149         component's foreground colour.
4150         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4151         gnu_java_awt_peer_gtk_GdkGraphics2D.c
4152         (initState(GtkComponentPeer)): Don't return array of colour
4153         values.
4154         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
4155         colours to component's colours.
4156         (current_colors_of_widget): Remove function.
4157         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
4158         Return a new graphics object.
4159         * java/awt/Font.java (toString): Fix format.
4160         * java/awt/Graphics.java (toString): Likewise.
4161
4162 2004-08-31  Craig Black  <craig.black@aonix.com>
4163
4164         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
4165         (addTearOff): New function.
4166         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
4167         New native method.
4168         (init): Call addTearOff() when menu.isTearOff().
4169
4170 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
4171
4172         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
4173         Default implementation.
4174         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
4175         Implement using GdkPixbufDecoder.
4176
4177 2004-08-31  David Jee  <djee@redhat.com>
4178
4179         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
4180         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
4181         setting the size of GtkFileDialogPeers.
4182         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4183         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
4184         use their default sizes rather than their natural requisitions.
4185
4186 2004-08-31  Michael Koch  <konqueror@gmx.de>
4187
4188         * javax/swing/JFormattedTextField.java
4189         (JFormattedTextField): Implemented.
4190         * javax/swing/text/DefaultEditorKit.java
4191         (BeepAction): New inner class.
4192         * javax/swing/text/Segment.java
4193         (partialReturn): New field.
4194         (setPartialReturn): New method.
4195         (isPartialReturn): Likewise.
4196         * javax/swing/text/View.java
4197         (createFragment): Fixed typo.
4198         (getStartOffset): New method.
4199         (getEndOffset): Likewise.
4200
4201 2004-08-31  Michael Koch  <konqueror@gmx.de>
4202
4203         * javax/swing/table/DefaultTableColumnModel.java
4204         (serialVersionUID): Made private.
4205         (listenerList): Initialize.
4206         (changeEvent): Initialize.
4207         * javax/swing/table/JTableHeader.java
4208         (JTableHeader): New constructors.
4209         (createDefaultColumnModel): New method.
4210         * javax/swing/table/TableColumn.java
4211         (setHeaderRenderer): Simplified code.
4212         (setCellRenderer): Likewise.
4213         (setWidth): Likewise.
4214
4215 2004-08-31  Tom Tromey  <tromey@redhat.com>
4216
4217         * java/text/AttributedString.java (AttributedString): Use
4218         ArrayList to build array of attribute ranges.  Don't use
4219         `attribs' before it is set.
4220
4221 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
4222
4223         * HACKING: Remove reference to special automake. No longer needed.
4224
4225 2004-08-30  Tom Tromey  <tromey@redhat.com>
4226
4227         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
4228         return result from `add'.
4229
4230 2004-08-30  Tom Tromey  <tromey@redhat.com>
4231
4232         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
4233
4234 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
4235
4236         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
4237
4238 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
4239
4240         * java/io/File.java File(String,String): Fixed handling of empty
4241         path.
4242
4243 2004-08-30  Casey Marshall  <csm@gnu.org>
4244
4245         Author e-mail updated for all files.
4246         * gnu/java/security/OID.java (equals): Test if the aurgment is an
4247         instance of OID.
4248         (compareTo): Use `equals'.
4249         * gnu/java/security/der/BitString.java (equals): Test if the
4250         argument is an instance of BitString.
4251         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
4252         class final. Made fields private.
4253         (<init>): New constructor.
4254         (skip): New method.
4255         (makeString): Made static; don't use NIO.
4256         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
4257         * gnu/java/security/der/DERWriter.java: Fixed imports.
4258         (writeString): Don't use NIO.
4259         (toIso88591, toUtf16Be, toUtf8): New methods.
4260         * gnu/java/security/der/DERValue.java: Formatting changes only.
4261         * gnu/java/security/der/DER.java: Likewise.
4262
4263 2004-08-30  Tom Tromey  <tromey@redhat.com>
4264
4265         * java/nio/CharBuffer.java (put): Fix typo.
4266         * java/nio/DoubleBuffer.java (put): Fix typo.
4267         * java/nio/FloatBuffer.java (put): Fix typo.
4268         * java/nio/IntBuffer.java (put): Fix typo.
4269         * java/nio/LongBuffer.java (put): Fix typo.
4270         * java/nio/ShortBuffer.java (put): Fix typo.
4271
4272 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
4273
4274         * java/nio/ByteBuffer.java (put): Fix typo.
4275
4276 2004-08-30  Casey Marshall  <csm@gnu.org>
4277
4278         * java/security/DummyKeyPairGenerator.java (clone): Removed
4279         useless instanceof check.
4280         * java/security/DummyMessageDigest.java (clone): Likewise.
4281         * java/security/DummySignature.java (clone): Likewise.
4282         * java/security/MessageDigest.java (clone): Remove useless
4283         instanceof check.
4284         * java/security/MessageDigestSpi.java (clone): Likewise.
4285         * java/security/Signature.java (clone): Provide meaningful
4286         implementation.
4287         * java/security/SignatureSpi.java (clone): Likewise.
4288
4289 2004-08-29  Mark Wielaard  <mark@klomp.org>
4290
4291         * java/util/Arrays.java
4292         (sort(byte[], int, int)): Check fromIndex < 0.
4293         (sort(char[], int, int)): Likewise.
4294         (sort(short[], int, int)): Likewise.
4295         (sort(int[], int, int)): Likewise.
4296         (sort(long[], int, int)): Likewise.
4297         (sort(float[], int, int)): Likewise.
4298         (sort(double[], int, int)): Likewise.
4299         (sort(Object[], int, int, Comparator)): Likewise.
4300         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
4301         (qsort(char[], int, int)): Likewise.
4302         (qsort(short[], int, int)): Likewise.
4303         (qsort(int[], int, int)): Likewise.
4304         (qsort(long[], int, int)): Likewise.
4305         (qsort(float[], int, int)): Likewise.
4306         (qsort(double[], int, int)): Likewise.
4307
4308 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4309
4310         * java/util/AbstractCollection.java, java/util/AbstractList.java,
4311         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
4312         java/util/ArrayList.java, java/util/Arrays.java,
4313         java/util/BitSet.java, java/util/Calendar.java,
4314         java/util/Collection.java, java/util/ListIterator.java,
4315         java/util/Map.java, java/util/SortedSet.java:
4316         Added additional exceptions to documentation, along
4317         with some additions and corrections.
4318
4319 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
4320
4321         * configure.ac: Handle --enable-gc-debug.
4322         * configure: Regenerate.
4323         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
4324         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
4325         Rearrange include file order.
4326         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
4327         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
4328         (disable_gc_mutex): Delete along with all references.
4329         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
4330         adjust for debug header size.
4331         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
4332         debug case.
4333         (_Jv_AllocArray): Declare min_heap_addr only if needed.
4334         (gcj_describe_type_fn): New.
4335         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
4336         Register gcj_describe_type_fn.
4337         * include/boehm-gc.h:
4338         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
4339         Don't define, but declare, for debug case.
4340         * java/lang/natObject.cc:
4341         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
4342
4343 2004-08-26  Mark Wielaard  <mark@klomp.org>
4344
4345         Fixes PR libgcj/17002:
4346         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
4347         a TimeZoneId string and then try to convert that to a TimeZone with
4348         getDefaultSystemTimeZone(String).
4349         (timezones0): Changed type from Hashtable to HashMap.
4350         (timezones): Create HashMap, not Hashtable.
4351         (getDefaultTimeZone): New method, rewritten from CNI version.
4352         (readTimeZoneFile): New method.
4353         (readtzFile): Likewise.
4354         (skipFully): Likewise.
4355         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
4356         getDefaultTimeZoneId and rewritten.
4357         (getDefaultTimeZoneId): Rewritten in java.
4358         
4359 2004-08-25  David Daney  <daney@avtrex.com>
4360
4361         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
4362         * Makefile.in: Regenerated.
4363
4364 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
4365
4366         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
4367         only if jvmpi is enabled.
4368         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
4369         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
4370         (_Jv_AllocString): Likewise.
4371         (_Jv_AllocPtrFreeObject): Likewise.     
4372
4373 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
4374
4375         * defineclass.cc: Include <stdio.h>.
4376         * java/lang/natClassLoader.cc: Include <stdio.h>.
4377
4378 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
4379             Michael Koch  <konqueror@gmx.de>
4380
4381         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
4382         * Makefile.in: Regenerated.
4383
4384 2004-08-20  Michael Koch  <konqueror@gmx.de>
4385
4386         * configure.ac: Replaced all AC_TRY_COMPILE macros with
4387         AC_COMPILE_IFELSE macros.
4388
4389 2004-08-20  Michael Koch  <konqueror@gmx.de>
4390
4391         * configure.in: Renamed to configure.ac.
4392         * configure.ac: New file.
4393         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
4394         include/config.h.in, testsuite/Makefile.in: Regenerated.
4395
4396 2004-08-20  Michael Koch  <konqueror@gmx.de>
4397
4398         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
4399         * aclocal.m4, configure: Regenerated.
4400
4401 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
4402             Michael Koch  <konqueror@gmx.de>
4403
4404         * configure.in, Makefile.am: Ported to automake 1.9.
4405         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
4406         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
4407         Regenerated.
4408
4409 2004-08-19  Tom Tromey  <tromey@redhat.com>
4410
4411         * java/net/DatagramSocket.java: Fixed typo.
4412
4413 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
4414
4415         PR libgcj/17081
4416         * java/net/URI.java (string): New field. Make all other fields
4417         transient.
4418         (readObject): Implemented.
4419         (writeObject): Implemented.
4420         (URI): Set 'string'.
4421
4422 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
4423
4424         PR libgcj/17079
4425         * java/util/logging/Handler.java (isLoggable): Accept record if its
4426         log level equals the threshold level. From Robin Green.
4427
4428 2004-08-18  David Daney  <ddaney@avtrex.com>
4429
4430         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
4431         instead of sigwait.
4432
4433 2004-08-17  Michael Koch  <konqueror@gmx.de>
4434
4435         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
4436         * Makefile.in: Regenerated.
4437
4438 2004-08-16  Tom Tromey  <tromey@redhat.com>
4439
4440         PR java/8473:
4441         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
4442
4443 2004-08-16  Michael Koch  <konqueror@gmx.de>
4444
4445         * Makefile.am
4446         (math_c_files): Renamed from c_files.
4447         (math_c_source_files): Renamed from c_source_files.
4448         * Makefile.in,
4449         gcj/Makefile.in,
4450         include/Makefile.in,
4451         testsuite/Makefile.in: Regenerated.
4452
4453 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
4454
4455         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
4456         to avoid autoconf warning.
4457         * configure: Rebuilt.
4458
4459 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
4460
4461         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
4462         localhostAddress to loopbackAddress.
4463         * java/net/natInetAddressWin32.cc (lookup): Likewise.
4464
4465 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
4466
4467         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
4468         boehm-gc's include dirs.
4469         * configure: Rebuilt.
4470         * include/boehm-gc.h: Include gc_config.h.
4471
4472 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
4473
4474         * java/net/InetAddress.java (loopbackAddress): Renamed from 
4475         localhostAddress.
4476         (getByName): Return loopback address for null hostname, without
4477         security check. Use lookup(), not getAllByName.
4478         (getAllByName): Return loopback address for null hostname, without
4479         security check.
4480         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
4481         check here.
4482
4483 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
4484
4485         PR libgcj/17020
4486         Reported by Robin Green.
4487         * defineclass.cc (handleField): Don't throw exception on unrecognised
4488         modifier. Add FIXME comments for spec compliance.
4489         (handleMethod): Likewise.
4490
4491 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
4492
4493         PR libgcj/16662
4494         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
4495         (Almost everywhere): add LOG calls, fix, add comments.
4496         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
4497         Add explicit check for LOCKED bit in slow case (PR 16662).
4498         (_Jv_MonitorExit): Add casts in debug-only code.
4499         Always release LOCKED bit before throwing exception.
4500         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
4501         isn't.  Handle easy cases without lock acquisition.
4502         (Object::wait): Use NotifyAll for lock inflation.
4503
4504 2004-08-12  David Daney  <ddaney@avtrex.com>
4505
4506         * testsuite/libjava.lang/Process_1.java: New test.
4507         * testsuite/libjava.lang/Process_2.java: New test.
4508         * testsuite/libjava.lang/Process_3.java: New test.
4509         * testsuite/libjava.lang/Process_4.java: New test.
4510         * testsuite/libjava.lang/Process_5.java: New test.
4511         * testsuite/libjava.lang/Process_6.java: New test.
4512         * testsuite/libjava.lang/Process_1.out: Expected result.
4513         * testsuite/libjava.lang/Process_2.out: Expected result.
4514         * testsuite/libjava.lang/Process_3.out: Expected result.
4515         * testsuite/libjava.lang/Process_4.out: Expected result.
4516         * testsuite/libjava.lang/Process_5.out: Expected result.
4517         * testsuite/libjava.lang/Process_6.out: Expected result.
4518
4519 2004-08-12  David Daney  <ddaney@avtrex.com>
4520
4521         PR libgcj/11801
4522         * java/lang/PosixProcess.java: Rewrote.
4523         * java/lang/natPosixProcess.cc: Rewrote.
4524         * java/lang/Runtime.java (execInternal): Declare throws IOException.
4525         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
4526         * posix-threads.cc (block_sigchld) New function.
4527         (_Jv_ThreadRegister) Use it.
4528         (_Jv_ThreadStart) Use it.
4529         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
4530         * Makefile.am: ... to specify extra native headers.
4531         * configure: Regenerated.
4532         * include/config.h: Regenerated.
4533         * Makefile.in: Regenerated.
4534         * gcj/Makefile.in: Regenerated.
4535         * include/Makefile.in: Regenerated.
4536         * testsuite/Makefile.in: Regenerated.
4537
4538 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
4539
4540         PR tree-optimization/16867
4541         * testsuite/libjava.lang/PR16867.java: New test.
4542
4543 2004-08-09  Per Bothner  <per@bothner.com>
4544
4545         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
4546         with private fields and access methods.
4547         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
4548         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
4549         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
4550         ( _Jv_makeUtf8Const): Rewrite using new constructors.
4551         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
4552         * defineclass.cc: Use new _Utf8Const access/convenience methods.
4553         * jni.cc: Likewise.
4554         * resolve.cc: Likewise.
4555         * gcj/field.h: Likewise.
4556         * include/jvm.h: Likewise.
4557         * java/lang/Class.h: Likewise.
4558         * java/lang/natClass.cc: Likwise.
4559         * java/lang/natClassLoader.cc: Likewise
4560         * java/lang/reflect/natMethod.cc: Likewise
4561         * verify.cc: Likewise.
4562         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
4563         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
4564
4565 2004-08-10  Andrew Haley  <aph@redhat.com>
4566
4567         * testsuite/libjava.lang/err14.java: New file.
4568         * testsuite/libjava.lang/err14.out: New file.
4569
4570 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
4571
4572         * Makefile.am: Fix missing rename from x_nat_headers to 
4573         xlib_nat_headers.
4574         * Makefile.in: Regenerated.
4575
4576 2004-08-04  Andrew Haley  <aph@redhat.com>
4577
4578         * java/security/BasicPermission.java: Don't check wildcards.
4579
4580 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
4581             Michael Koch  <konqueror@gmx.de>
4582
4583         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
4584         * configure.in: Replaced all usages of AC_LINK_FILES by
4585         AC_CONFIG_LINKS.
4586         * aclocal.m4,
4587         configure: Regenerated.
4588
4589 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
4590             Michael Koch  <konqueror@gmx.de>
4591
4592         * acconfig.h: Removed.
4593         * Makefile.am: Rename variables for xlib peer to include xlib and
4594         gtk_c_headers to gtk_jni_headers.
4595         * Makefile.in: Regenerated.
4596
4597 2004-08-04  Andrew Haley  <aph@redhat.com>
4598
4599         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
4600         debugging.
4601
4602 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
4603
4604         * configure.in: Eliminate uses of changequote (mostly by quoting []).
4605         Replace most top level 'dnl' comments with '#' comments, conforming
4606         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
4607         help strings.
4608         * configure: Rebuilt.
4609
4610 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
4611
4612         * acinclude.m4: Include no-executables.m4.
4613         * aclocal.m4: Rebuild.
4614         * configure.in: Convert to the autoconf 2.59 version of
4615         of the no-executables hack, and also of the nonstandard CXX
4616         hack and the multilibbed CC and CXX hack.  Change prerequisite
4617         to autoconf 2.59.
4618         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
4619         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4620         testsuite/Makefile.in: Regenerate.
4621
4622 2004-08-03  Tom Tromey  <tromey@redhat.com>
4623
4624         * jni.cc: Reindented.
4625
4626 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
4627
4628         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
4629
4630 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
4631
4632         * testsuite/libjava.compile/PR16701.java: New test.
4633
4634 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4635
4636         * java/util/Collection.java, java/util/List.java,
4637         java/util/Map.java, java/util/Set.java,
4638         java/util/SortedMap.java, java/util/SortedSet.java:
4639         Added additional exceptions to documentation.
4640
4641 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
4642
4643         PR libgcj/16814
4644         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
4645         * configure. Regenerate.
4646         * include/win32.h: Explicitly include winsock2.h
4647         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
4648         Winsock api.
4649
4650 2004-07-30  Michael Koch  <konqueror@gmx.de>
4651
4652         * java/util/zip/GZIPInputStream.java
4653         (GZIPInputStream): Increase buffer size to 4k.
4654         * java/util/zip/GZIPOutputStream.java
4655         (GZIPOutputStream): Likewise.
4656         * java/util/zip/Inflater.java
4657         (setInput): Merged formating with GNU classpath.
4658         * java/util/zip/InflaterInputStream.java
4659         (InflaterInputStream): Increase buffer size to 4k.
4660         (fill): Throw exception if stream ends early.
4661         (read): Merged endless-loop with GNU classpath.
4662         (skip): Increase buffer size to 2k.
4663
4664 2004-07-30  Michael Koch  <konqueror@gmx.de>
4665
4666         * gnu/java/awt/EmbeddedWindow.java
4667         (addNotify): Use AccessController to allow execution of privileged
4668         code.
4669
4670 2004-07-29  Michael Koch  <konqueror@gmx.de>
4671
4672         * gnu/java/lang/MainThread.java:
4673         Explicitely import used classes.
4674         (args): Make it type String[].
4675
4676 2004-07-29 Dalibor Topic <robilad@kaffe.org>
4677
4678         * gnu/java/awt/ComponentDataBlitOp.java,
4679         gnu/java/beans/ExplicitBeanInfo.java,
4680         gnu/java/beans/IntrospectionIncubator.java,
4681         gnu/java/beans/editors/ColorEditor.java,
4682         gnu/java/beans/editors/FontEditor.java,
4683         gnu/java/beans/editors/NativeBooleanEditor.java,
4684         gnu/java/beans/editors/NativeByteEditor.java,
4685         gnu/java/beans/editors/NativeDoubleEditor.java,
4686         gnu/java/beans/editors/NativeFloatEditor.java,
4687         gnu/java/beans/editors/NativeIntEditor.java,
4688         gnu/java/beans/editors/NativeLongEditor.java,
4689         gnu/java/beans/editors/NativeShortEditor.java,
4690         gnu/java/beans/editors/StringEditor.java,
4691         gnu/java/io/ClassLoaderObjectInputStream.java,
4692         gnu/java/io/decode/Decoder.java,
4693         gnu/java/io/encode/Encoder.java,
4694         gnu/java/lang/ClassHelper.java,
4695         gnu/java/locale/Calendar.java,
4696         gnu/java/locale/Calendar_de.java,
4697         gnu/java/locale/Calendar_en.java,
4698         gnu/java/locale/Calendar_nl.java,
4699         gnu/java/locale/LocaleInformation_de.java,
4700         gnu/java/locale/LocaleInformation_en.java,
4701         gnu/java/locale/LocaleInformation_nl.java:
4702         Cleaned up imports.
4703
4704 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
4705
4706         * README: Remove obsolete info. Update bug URL.
4707         * THANKS: Updated.
4708         * NEWS: Updated with news up to GCC 3.4 release.
4709
4710 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
4711
4712         * gnu/java/security/action/GetPropertyAction.java (setParameters):
4713         Renamed from 'setName'. New 2-argument form with default value.
4714         (run): Pass default 'value' parameter to System.getProperty().
4715         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
4716         typos.
4717         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
4718         not 'setName'.
4719
4720 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
4721
4722         * configure.in: Check for minimum GTK version 2.4 requirement.
4723         * configure: Rebuilt.
4724
4725 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
4726
4727         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
4728         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
4729         Reduce sleep time.
4730         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
4731         compiler bug.
4732         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
4733         address. Reduce sleep times. Synchronize with target threads before
4734         attempting to interrupt them. Don't try to calibrate yeild count,
4735         instead, always loop for a fixed time.
4736         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
4737         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
4738         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
4739         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
4740         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
4741         * testsuite/libjava.lang/pr179.java: Likewise.
4742         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
4743         time. Remove upper bounds check on sleep time. 
4744
4745 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
4746
4747         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
4748         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
4749
4750 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
4751
4752         * java/io/File.java (toURI): Throw RuntimeException, not 
4753         InternalError.
4754         * java/lang/Runtime.java (exit): Qualify static sleep() call with
4755         class name, not instance.
4756
4757 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
4758
4759         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
4760         and gnu/java/security/action/SetAccessibleAction.java.
4761         * Makefile.in: Rebuilt.
4762
4763 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
4764
4765         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
4766         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
4767         _Jv_InitPrimClass.
4768         (DECLARE_PRIM_TYPE): Don't declare array vtables.
4769         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
4770         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
4771
4772 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
4773
4774         * Makefile.am: Replace jar, rmic and rmiregistry references with
4775         gjar, grmic and grmiregistry.
4776         * configure.in: Likewise.
4777         * Makefile.in: Regenerate.
4778         * configure: Likewise.
4779         * gcj/Makefile.in: Likewise.
4780         * include/Makefile.in: Likewise.
4781         * testsuite/Makefile.in: Likewise.
4782
4783 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
4784
4785         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
4786         for privileged getProperty calls.
4787         * java/io/ObjectOutputStream.java (getField): No longer static. Use
4788         SetAccessibleAction instead of anonymous class for doPrivileged call.
4789         (getMethod): Likewise.
4790         (setAccessible): New field. PrivilegedAction object to use when
4791         calling setAccessible.
4792         * java/io/ObjectStreamClass.java (calculateOffsets): Use
4793         SetAccessibleAction instead of anonymous class for diPrivileged call.
4794         (setFields): Likewise.
4795         (getClassUID): Likewise.
4796         (findMethod): Likewise.
4797         * gnu/java/security/action/GetPropertyAction.java: New class.
4798         * gnu/java/security/action/SetAccessibleAction.java: New class. 
4799
4800 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
4801
4802         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
4803         for final fields.
4804         * testsuite/libjava.lang/Serialization.java: New test.
4805         * testsuite/libjava.lang/Serialization.out: New.
4806
4807 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
4808
4809         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
4810         missed in last commit.
4811
4812 2004-07-23  Mark Wielaard  <mark@klomp.org>
4813
4814         * java/lang/System.java (static): Set http.agent system property when
4815         not yet set.
4816         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
4817         from system property inside AccessController.doPrivileged() call.
4818         (proxyPort): Made package private.
4819         (proxyInUse): Likewise.
4820         (proxyHost): Likewise.
4821         (userAgent): Likewise.
4822
4823 2004-07-23  Mark Wielaard  <mark@klomp.org>
4824
4825         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
4826         implementation.
4827
4828 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
4829
4830         * Makefile.am (ordinary_java_source_files): Add
4831         DefaultContentHandlerFactory.java.
4832         * Makefile.in: Rebuilt.
4833         * java/net/URLConnection.java (defaultFactory): New field.
4834         (getContent): 
4835         (getContentHandler): Renamed from 'setContentHandler'. Try 
4836         defaultFactory after user-set factory, if any. Search for content 
4837         handler implementations in gnu.java.net.content, not gnu.gcj.content.
4838         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
4839         Implemented.
4840         (getLastModified): Implemented.
4841         (getPermission): Create file permission here, instead of in
4842         constructor.
4843         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
4844         Implemented.
4845         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
4846         Implemented.
4847         (getLastModified): Implemented.
4848         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
4849         Default implementation.
4850         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
4851         Implement using GdkPixbufDecoder.
4852         
4853 2004-07-21  Michael Koch  <konqueror@gmx.de>
4854
4855         * javax/swing/JTextArea.java
4856         (setLineWrap): Fire property change event after new value is set.
4857         (setTabSize): Likewise.
4858
4859 2004-07-21  Michael Koch  <konqueror@gmx.de>
4860
4861         * javax/swing/JTable.java
4862         (autoCreateColumnsFromModel): New field.
4863         (autoResizeMode): Likewise.
4864         (cellEditor): Likewise.
4865         (cellSelectionEnabled): Likewise.
4866         (columnModel): Likewise.
4867         (dataModel): Likewise.
4868         (defaultEditorsByColumnClass): Likewise.
4869         (defaultRenderersByColumnClass): Likewise.
4870         (editingColumn): Likewise.
4871         (editingRow): Likewise.
4872         (gridColor): Likewise.
4873         (preferredViewportSize): Likewise.
4874         (rowHeight): Likewise.
4875         (rowMargin): Likewise.
4876         (rowSelectionAllowed): Likewise.
4877         (selectionBackground): Likewise.
4878         (selectionForeground): Likewise.
4879         (selectionModel): Likewise.
4880         (showHorizontalLines): Likewise.
4881         (showVerticalLines): Likewise.
4882         (tableHeader): Likewise.
4883         (JTable): Implemented.
4884         (getColumnModel): Likewise.
4885         (getSelectedRow): Likewise.
4886         (getSelectionModel): Likewise.
4887         (setModel): Likewise.
4888         (setSelectionModel): Likewise.
4889         (createScrollPaneForTable): New method.
4890         (createDefaultDataModel): Likewise.
4891         (createDefaultListSelectionModel): Likewise.
4892         (getModel): Likewise.
4893         (getTableHeader): Likewise.
4894         (setTableHeader): Likewise.
4895         (getColumnSelectionAllowed): Likewise.
4896         (setColumnSelectionAllowed): Likewise.
4897         (getRowSelectionAllowed): Likewise.
4898         (setRowSelectionAllowed): Likewise.
4899         (getAutoResizeMode): Likewise.
4900         (setAutoResizeMode): Likewise.
4901         (getColumnCount): Likewise.
4902         (getRowCount): Likewise.
4903         (getCellRenderer): Likewise.
4904         * javax/swing/JTree.java
4905         (cellRenderer): New field.
4906         (editable): Likewise.
4907         (rootVisible): Likewise.
4908         (showsRootHandles): Likewise.
4909         (getModel): New method.
4910         (setModel): Likewise.
4911         (isEditable): Likewise.
4912         (setEditable): Likewise.
4913         (isRootVisbile): Likewise.
4914         (setRootVisible): Likewise.
4915         (getShowsRootHandles): Likewise.
4916         (setShowRootHandles): Likewise.
4917         (getCellRenderer): Likewise.
4918         (setCellRenderer): Likewise.
4919
4920 2004-07-21  Michael Koch  <konqueror@gmx.de>
4921
4922         * javax/swing/JFormattedTextField.java
4923         (setDocument): Implemented.
4924         * javax/swing/JRootPane.java:
4925         Fixed javadocs.
4926         * javax/swing/JTable.java
4927         (getDefaultRenderer): New method.
4928         * javax/swing/JTextField.java
4929         (setFont): Likewise.
4930         (getPreferredSize): Likewise.
4931         * javax/swing/JToggleButton.java
4932         (getAccessibleContext): Fix javadoc.
4933         * javax/swing/JTree.java:
4934         Add some javadocs.
4935         * javax/swing/JViewport.java:
4936         Likewise.
4937
4938 2004-07-21  David Jee  <djee@redhat.com>
4939
4940         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
4941         Collect all native method declaration at the top.
4942         (create): Set the filename filter if necessary.
4943         (setDirectory): Call nativeSetDirectory().
4944         (setFilenameFilter): Implement.
4945         (filenameFilterCallback): New method.
4946         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4947         (create): Configure dialog to show hidden files.
4948         (filenameFilterCallback): New function. 
4949         (nativeSetFilenameFilter): New function.
4950         (nativeSetDirectory): New function.
4951
4952 2004-07-21  Kim Ho  <kho@redhat.com>
4953
4954         * javax/swing/plaf/basic/BasicSliderUI.java:
4955         Ran Jalopy.
4956         (paintTrack): Fill the track before painting
4957         the borders.
4958
4959 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4960
4961         patch from Roman Kennke <roman@ontographics.com>
4962         * javax/swing/Spring.java: New file.
4963         * javax/swing/SpringLayout.java: New file.
4964         * Makefile.am: Add new files.
4965         * Makefile.in: Regenerate.
4966
4967 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4968
4969         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
4970         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
4971         * javax/swing/ScrollPaneLayout.java: Likewise.
4972
4973 2004-07-21  Kim Ho  <kho@redhat.com>
4974
4975         * javax/swing/DefaultDesktopManager.java:
4976         (findMinimum): Removed.
4977         (resizeFrame): Trust the UI to pass valid 
4978         bounds.
4979         * javax/swing/JOptionPane.java:
4980         Implemented showInternalXXXDialog methods.
4981         (startModal): New method.
4982         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
4983         (BorderListener::mouseDragged): Verify that the new 
4984         bounds are valid before passing them to the DesktopManager.
4985         (preferredLayoutSize): Delegate
4986         to getSize.
4987         (minimumLayoutSize): Ditto.
4988         (getSize): New method.
4989         (GlassPaneDispatcher): Reimplemented by copying 
4990         a stripped down LightweightDispatcher from Container.
4991         (getMinimumSize): Call minimumLayoutSize.
4992         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
4993         Ran Jalopy.
4994         (mousePressed): Add ability to properly close 
4995         JInternalFrames.
4996         * javax/swing/plaf/basic/BasicToolBarUI.java:
4997         (DragWindow): Set owner for DragWindow.
4998
4999 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
5000
5001         * java/awt/image/ShortLookupTable.java: New file.
5002         * java/awt/image/ByteLookupTable.java: New file.
5003         * Makefile.am: Added new files.
5004         * Makefile.in: Regenerated.
5005
5006 2004-07-21  David Jee  <djee@redhat.com>
5007
5008         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
5009         (create(GtkContainerPeer)): New native method.
5010         (create()): Call native create(), passing in the parent frame
5011         as the paramter. Natively set the current file and directory.
5012         (setFile): Construct an absolute filename before passing it to
5013         the native peer.
5014         (nativeGetDirectory): New method.
5015         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5016         (window_closed): Removed.
5017         (ok_clicked): Likewise.
5018         (cancel_clicked): Likewise.
5019         (handle_response): New method.
5020         (create): Use GtkFileChooserDialog.
5021         (connectSignals): Connect to handle_response.
5022         (nativeGetDirectory): New method.
5023         (nativeSetFile): Use GtkFileChooserDialog.
5024
5025 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
5026
5027         * java/awt/image/LookupTable.java: New file.
5028         * Makefile.am: Added new file.
5029         * Makefile.in: Regenerated.
5030
5031 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
5032
5033         * java/awt/image/Kernel.java: New file.
5034         * Makefile.am: Added new file.
5035         * Makefile.in: Regenerated.
5036
5037 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5038
5039         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
5040         * javax/swing/JMenu.java: Likewise.
5041         * javax/swing/JMenuBar.java: Likewise.
5042         (MARGIN_CHANGED_PROPERTY): New property.
5043         (setMargin): Implemented.
5044         * javax/swing/JMenuItem.java: Fixed javadocs.
5045         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
5046         (LABEL_CHANGED_PROPERTY): New property.
5047         (add): changed to use createActionComponent.
5048         (createActionComponent): Implemented.   
5049         (setLabel): Fire PropertyChangeEvent if label property
5050         changes.
5051         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
5052         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5053         (ContainerHandler): Repaint if margin property has changed.
5054         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5055         (installUI): Call installComponents().
5056         (uninstallUI): Call uinstallComponents().
5057         * javax/swing/plaf/basic/BasicMenuUI.java:
5058         Fixed javadocs.
5059         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5060         Likewise.
5061
5062 2004-07-21  Kim Ho  <kho@redhat.com>
5063
5064         * javax/swing/plaf/basic/BasicToolBarUI.java:
5065         (DragWindow): Use the right constructor.
5066
5067 2004-07-21  Kim Ho  <kho@redhat.com>
5068
5069         * javax/swing/JToolBar.java:
5070         (layoutContainer): Use getComponents.
5071         * javax/swing/plaf/basic/BasicToolBarUI.java:
5072         (DragWindow): Don't use SwingUtilities' 
5073         getOwnerFrame
5074         (ToolBarDialog): ditto.
5075
5076 2004-07-21  Kim Ho  <kho@redhat.com>
5077
5078         * javax/swing/JRootPane.java:
5079         Ran jalopy.
5080         (layoutContainer): Set the glasspane's size to 
5081         be the same as the content pane.
5082         (createGlassPane): Set opaque property to false.
5083
5084 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5085
5086         * java/awt/Component.java (requestFocus()): Don't handle Panels
5087         specially.
5088         (requestFocus(boolean)): Likewise.
5089         (requestFocusInWindow(boolean)): Likewise.
5090         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
5091         Set GTK_CAN_FOCUS flag.
5092
5093 2004-07-21  Kim Ho  <kho@redhat.com>
5094
5095         * Makefile.am: Added new file.
5096         * Makefile.in: Regenerated.
5097         * gcj/Makefile.in: Regenerated.
5098         * include/Makefile.in: Regenerated.
5099         * javax/swing/AbstractButton.java:
5100         Add rollOverEnabled property.
5101         (setRolloverEnabled): Use new property.
5102         (isRolloverEnabled): Use new property.
5103         * javax/swing/JTabbedPane.java:
5104         (setComponent): Remove useless JTabbedPane.this.
5105         * javax/swing/JToolBar.java: Finish implementation.
5106         * javax/swing/plaf/basic/BasicArrowButton.java:
5107         (paint): Moved border painting to a border.
5108         * javax/swing/plaf/basic/BasicLookAndFeel.java:
5109         Change JToolBar look and feel defaults.
5110         * javax/swing/plaf/basic/BasicOptionPaneUI.java
5111         (actionPerformed): Return Integer index instead of name.
5112         (addButtonComponents): Check to see if component is
5113         JButton last.
5114         (createMessageArea): Don't use components that are not
5115         completed yet.
5116         (getIconForType): Use temporary icons.
5117         * javax/swing/plaf/basic/BasicSliderUI.java:
5118         (mousePressed): Do not return if it's on thumb.
5119         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
5120         (paintMinorTickForVertSlider): ditto.
5121         (paintMajorTickForHorizSlider): ditto.
5122         (paintMajorTickForVertSlider): ditto.
5123         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
5124         Add a border around the SplitPaneDivider.
5125         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
5126         Remove comments.
5127         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
5128         New file. Implemented.
5129         * javax/swing/plaf/basic/BasicToolBarUI.java:
5130         Implemented.
5131         * testsuite/Makefile.in: Regenerated.
5132
5133 2004-07-21  Graydon Hoare  <graydon@redhat.com>
5134
5135         * javax/swing/Timer.java (run): Queue events each time cycle.
5136
5137 2004-07-21  David Jee  <djee@redhat.com>
5138
5139         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5140         (imageComplete): Call image.imageComplete().
5141         * java/awt/image/MemoryImageSource.java:
5142         Reimplement consumers as a Vector instead of a Hashtable.  This is
5143         because enumeration on a Hashtable is not thread-safe.
5144         (addConsumer): Adapt to Vector consumers.
5145         (isConsumer): Adapt to Vector consumers.
5146         (removeConsumer): Adapt to Vector consumers.
5147         (startProduction): Adapt to Vector consumers. Call imageComplete()
5148         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
5149         (newPixels): Adapt to Vector consumers.
5150         (sendPicture): Set the color model of the image consumer.
5151         (newPixels(IIII)): Adapt to Vector consumers.
5152         (newPixels(IIIIB)): Adapt to Vector consumers.
5153
5154 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5155
5156         * java/awt/Component.java (deliverEvent): Implement.
5157         (postEvent): Implement.
5158         (handleEvent): Implement.
5159         (translateEvent): New method.
5160         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
5161         * java/awt/Container.java (deliverEvent): Implement.
5162         * java/awt/Event.java (paramString): Fix formatting.
5163         * java/awt/Font.java (toString): Likewise.
5164         * java/awt/Window.java (postEvent): Implement.
5165
5166 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5167
5168         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
5169         Set window's focus owner upon receiving a FOCUS_LOST event.
5170         * java/awt/Window.java (Window()): Refocus the previously
5171         focused component within the window when the window regains the
5172         top-level focus.
5173         (setFocusOwner): New method.
5174         * java/awt/Component.java (requestFocus): Add FIXME.
5175
5176         * libgcj.pc.in: Remove library flags.
5177
5178 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5179
5180         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
5181         MOUSE_PRESSED event.
5182         * java/awt/Component.java (requestFocus()): Handle Panel
5183         specially.  Post FOCUS_LOST event on opposite component.
5184         (requestFocus(boolean)): Likewise.
5185         (requestFocusInWindow(boolean)): Likewise.
5186         (paramString): Reorder dimension fields.
5187         * java/awt/Container.java (paramString): Fix string format.
5188         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
5189         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
5190         process key events if the focus owner is non-null.
5191         (dispatchKeyEvent): Likewise.
5192         * java/awt/Frame.java (paramString): Fix formatting.
5193         (generateName): New method.
5194         (getUniqueLong): Likewise.
5195         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
5196         the temporary focus owner is null.  If so, return the permanent
5197         focus owner.
5198         * java/awt/Panel.java (generateName): New method.
5199         (getUniqueLong): Likewise.
5200         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
5201         signal handling to make callbacks more specific.
5202
5203 2004-07-21  Michael Koch  <konqueror@gmx.de>
5204
5205         * javax/swing/text/Position.java
5206         (Bias): Implemented.
5207
5208 2004-07-21  Michael Koch  <konqueror@gmx.de>
5209
5210         * javax/swing/LookAndFeel.java
5211         (provideErrorFeedback): New method.
5212
5213 2004-07-21  Michael Koch  <konqueror@gmx.de>
5214
5215         * javax/swing/JTextArea.java
5216         (tabSize): New field.
5217         (getTabSize): New method.
5218         (setTabSize): Likewise.
5219
5220 2004-07-21  Michael Koch  <konqueror@gmx.de>
5221
5222         * javax/swing/ActionMap.java:
5223         Fixed javadocs all over.
5224         (serialVersionUID): Made private.
5225         (parent): Don't explicitely initialize with default value.
5226         (get): SImplified.
5227         (keys): Reimplemented.
5228         (allKeys): Likewise.
5229         (convertSet): Removed.
5230         * javax/swing/ComponentInputMap.java:
5231         Fixed javadocs all over.
5232         (ComponentInputMap): Implemented.
5233         (put): Likewise.
5234         (clear): Likewise.
5235         (remove): Likewise.
5236         (SetParent): Likewise.
5237         (getComponent): Likewise.
5238         * javax/swing/InputMap.java:
5239         Fixed javadocs all over.
5240         (serialVersionUID): Made private.
5241         (parent): Don't explicitely initialize with default value.
5242         (get): SImplified.
5243         (keys): Reimplemented.
5244         (allKeys): Likewise.
5245         (convertSet): Removed.
5246
5247 2004-07-21  Michael Koch  <konqueror@gmx.de>
5248
5249         * javax/swing/ActionMap.java,
5250         javax/swing/ComponentInputMap.java,
5251         javax/swing/InputMap.java,
5252         javax/swing/table/DefaultTableColumnModel.java,
5253         javax/swing/table/TableColumn.java,
5254         javax/swing/table/TableColumnModel.java,
5255         javax/swing/table/TableModel.java,
5256         javax/swing/text/AbstractDocument.java,
5257         javax/swing/text/TextAction.java:
5258         Reformated.
5259
5260 2004-07-21  Graydon Hoare  <graydon@redhat.com>
5261
5262         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
5263         Make method non-static.
5264         * javax/swing/AbstractButton.java:
5265         Rename fields to match property names where possible.
5266         (iconTextGap): New property.
5267         * javax/swing/JCheckBox.java: Match AbstractButton changes.
5268         (init) New method, call from after various constructors.
5269         * javax/swing/JComponent.java (revalidate): 
5270         Invalidate before queueing repair.
5271         * javax/swing/JList.java (getPreferredScrollableViewportSize):
5272         Reimplement in terms of visibleRowCount property.
5273         * javax/swing/JMenuButton.java: Match AbstractButton changes.
5274         * javax/swing/JScrollPane.java (createScrollListener): 
5275         Remove tracing chatter.
5276         * javax/swing/JToggleButton.java: Match AbstractButton changes.
5277         * javax/swing/RepaintManager.java (addInvalidComponent): 
5278         Don't invalidate.
5279         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
5280         calculations.
5281         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
5282         Mimic sun behavior on top left/right positioning.
5283         * javax/swing/ViewportLayout.java (preferredLayoutSize):
5284         Remove mistaken use of preferredScrollableViewportSize here.
5285         (layoutContainer): Use view's preferred size as basis.
5286         * javax/swing/plaf/basic/BasicButtonUI.java:
5287         Set, get, and use textIconGap property.
5288         (paint) Paint text returned from layout (with ellipsis).
5289         * javax/swing/plaf/basic/BasicListUI.java:
5290         Remove tracing chatter, correct various minor calculations.
5291         (getCellBounds): Update layout state before calculating.
5292         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
5293         Use margin default similar to sun's.    
5294         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
5295         (createIncreaseIcon): Center icon, minimize margins.
5296         (createDecreaseIcon): Likewise.
5297         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
5298         Implement.
5299         (installUI): Call it.
5300         (uninstallDefaults): Implement.
5301         (uninstallUI): Call it.
5302         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
5303         Call existing Window constructor.
5304         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
5305         Set clip before painting.
5306
5307 2004-07-21  Olga Rodimina <rodimina@redhat.com>
5308         
5309         * javax/swing/JMenuItem.java:
5310         (processMouseEvent): Reimplemented to deal with
5311         mouse drag events.
5312         (createMenuDragMouseEvent): New private helper method.
5313         Creates MenuDragMouseEvent.
5314         * javax/swing/MenuSelectionManager.java
5315         (componentForPoint): Implemented.
5316         (isComponentPartOfCurrentMenu): Made public.
5317         (processMouseEvent): Reimplemented to deal with 
5318         mouse drag events.
5319         (setSelectedPath): Corrected small mistake that caused
5320         path to be set incorrectly.
5321         (getPath): If given component is JMenu then also add this
5322         menu's popup menu to the selected path.
5323         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5324         (getPath): Ditto.
5325         (getPreferredSize): Call getPreferredMenuItemSize().
5326         (getPreferredItemSize): Moved code from getPreferredSize to here.
5327         (installListeners): Install MouseMotionListeners.
5328         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
5329         if mouse wasn't released in the bounds of this menu item.
5330         (MenuDragMouseHandler): Implemented.
5331         * javax/swing/plaf/basic/BasicMenuUI.java:
5332         (installListeners): Install MouseMotionListener and 
5333         MenuDrageMouseListener.
5334         (MenuDragMouseHandler): Implemented.
5335         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5336         (uninstallListeners): Implemented.
5337         
5338 2004-07-21  Michael Koch  <konqueror@gmx.de>
5339
5340         * javax/swing/JCheckBox.java: Reformated.
5341         (JCheckBox): Fixed all constructors.
5342         (isBorderPaintedFlat): New method.
5343         (setBorderPaintedFlat): New method.
5344         * javax/swing/JEditorPane.java
5345         (createEditorKitForContentType): Made public.
5346         (scrollToReference): Likewise.
5347         * javax/swing/JTextArea.java
5348         (setLineWrap): Fire property change.
5349         * javax/swing/JToggleButton.java
5350         (JToggleButton): New constructor.
5351         (JToggleButton): Simplified.
5352         * javax/swing/text/AttributeSet.java
5353         (FontAttribute): Renamed from FontCharacterAttribute.
5354         * javax/swing/text/JTextComponent.java
5355         (KeyBinBinding): Added javadoc.
5356         (JTextComponent): Likewise.
5357         (getAccessibleContext): Fixed javadoc.
5358         * javax/swing/text/View.java
5359         (View): Added javadoc.
5360         * javax/swing/text/TabableView.java: New file.
5361         * Makefile.am: Added javax/swing/text/TabableView.java.
5362         * Makefile.in: Regenerated.
5363
5364 2004-07-21  Graydon Hoare  <graydon@redhat.com>
5365
5366         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
5367         * gnu/java/awt/peer/gtk/GtkToolkit.java 
5368         (GtkErrorImage): New helper class.
5369         (bufferedImageOrError): New helper method.
5370         (createImage): Use it.
5371
5372 2004-07-21  David Jee  <djee@redhat.com>
5373
5374         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5375         (setCaretPosition): Scroll the text view so the new caret position
5376         is visible on screen.
5377
5378 2004-07-21  David Jee  <djee@redhat.com>
5379
5380         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
5381         (setBounds): Do not validate awtComponent here.
5382         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
5383         (getPreferredSize): New method.
5384         * java/awt/ScrollPane.java
5385         (ScrollPane): Set default size to 100x100.
5386         (addNotify): If child is not a Panel, wrap it with a new Panel.
5387         (paramString): Implement.
5388
5389 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5390
5391         * javax/swing/JMenu.java:
5392         (setSelected): Display popup menu only if this menu 
5393         is showing on the screen.
5394         * javax/swing/JPopupMenu.java:
5395         (processMouseEvent): Added comment.
5396         (processKeyEvent): Likewise.
5397         * javax/swing/MenuSelectionManager.java:
5398         (clearSelectedPath): Only fireStateChanged() after
5399         selected path was changed, not before.
5400         (setSelectedPath): Likewise.
5401         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5402         (paintMenuItem): Corrected position of menu item's
5403         icon.
5404         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5405         (installUI): Correct setDefaultLightWeightPopupEnabled call.
5406         (popupMenuCanceled): Reimplemented.
5407         (popupMenuWillBecomeVisible): Select first menu item by default 
5408         when displaying free floating popup menus.
5409         (TopWindowListener): Reimplemented.
5410
5411 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5412
5413         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
5414         Panel from being painted twice when it is first shown.
5415
5416 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5417
5418         * java/awt/Window.java: Reverted changes from my 
5419         previous patch for creating window without an owner.
5420         * javax/swing/SwingUtilities.java: 
5421         (SwingUtilities.OwnerFrame): made static.
5422         (OwnerFrame.setVisible): New method. Overridden with
5423         empty implementation.
5424         (OwnerFrame.isShowing): New method. Ovverridden
5425         to return always true.
5426
5427 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5428
5429         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5430         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5431         (GtkComponentPeer): Remove temporary try/catch block.
5432         (setVisible): Call show and hide.
5433         (show): Make native.
5434         (hide): Likewise.
5435         (getArgs): Don't add "visible" argument.
5436         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5437         (property_notify_predicate): Return Bool instead of int.
5438         (find_layout): New function.
5439         (connectJObject): Call find_layout.
5440         (connectSignals): Likewise.
5441         (moveLayout): Likewise.
5442         (gtkLayoutSetVisible): Likewise.
5443
5444 2004-07-21  Mark Wielaard  <mark@klomp.org>
5445
5446         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
5447         on notifier object before calling notifyAll().
5448
5449 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5450
5451         * java/awt/Window.java: Changed constructors to use new
5452         method that is described below. Constructors call this
5453         methods only if newly created window should have an owner.
5454         (setWindowOwner): New method. Implementation for
5455         this method is moved from this(owner,configuration).
5456         * javax/swing/JWindow.java:
5457         (JWindow): Reimplement to use SwingUtilities.ownerFrame
5458         instead of owner.
5459         * javax/swing/SwingUtilities.java:
5460         (ownerFrame): Change type of this field to OwnerFrame.
5461         (getOwnerFrame): Changed to return object of type OwnerFrame.
5462         (SwingUtilities.OwnerFrame): New class. Represents owner
5463         of a Window that is not provided with one.
5464
5465 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5466
5467         *  javax/swing/AbstractButton.java: 
5468         (configurePropertiesFromAction): Set action command
5469         to button's text by default if action command is not 
5470         explicitely specified.
5471         * javax/swing/JMenu.java: Remove unnecessary listener
5472         and methods relevant to it.
5473         (setSelected): Reimplemented.
5474         (menuSelectionChanged): Moved most part of implementation to
5475         setSelected() and call it instead.
5476         * javax/swing/JMenuItem.java: 
5477         (init): Comment out statement that sets paint_border to false.
5478         (configurePropertiesFromAction): Do not set accelerator
5479         for JMenu.
5480         (menuSelectionChanged): Change selected index in the selection
5481         model of menu item's parent.
5482         * javax/swing/JPopupMenu.java:
5483         (remove): Set constraints.fill field to GridBagConstraints.BOTH
5484         instead of GridBagConstraints.HORIZONTAL.
5485         (insert): Likewise.
5486         (createActionChangeListener): Implemented.
5487         (setVisible): Correct location of HeavyWeightMenu and 
5488         don't firePopupMenuCanceled().
5489         (menuSelectionChanged): Implemented.
5490         (ActionChangeListener): New Listener. Implemented.
5491         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5492         (BasicMenuBarUI.ContainerHandler): Implemented.
5493         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5494         (paintMenuItem): Uncommented out code that paints 
5495         icon, now that icons are working properly.
5496         (PropertyChangeListener): Implemented.
5497         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5498         Added javadocs.
5499         (topWindowListener): New field.
5500         (Constructor): initialize topWindowListener.
5501         (BasicPopupMenuUI.TopWindowListener): Implemented.      
5502         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
5503         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
5504         Implemented.
5505
5506 2004-07-21  Michael Koch  <konqueror@gmx.de>
5507
5508         * javax/swing/plaf/basic/BasicButtonUI.java
5509         (paintFocus): Fixed method signature.
5510         (paintButtonPressed): Likewise.
5511         (paintButtonNormal): Likewise.
5512         (paintText): New method.
5513         * javax/swing/plaf/basic/BasicLabelUI.java
5514         (paint): Re-indented.
5515         * javax/swing/plaf/basic/BasicTextUI.java
5516         (installUI): Set parent textComponent to opaque.
5517         * javax/swing/text/DefaultHighlighter.java
5518         (checkPositions): New helper method.
5519         (addHighlight): Throws BadLocationException, check positions.
5520         (changeHighlight): Likewise.
5521         * javax/swing/text/EditorKit.java
5522         (EditorKit): Implements Serializable.
5523         * javax/swing/text/JTextComponent.java
5524         (getUI): Added javadoc.
5525         (setUI): Likewise.
5526         (upadteUI): Added javadoc, don't revalidate and repaint.
5527
5528 2004-07-21  David Jee  <djee@redhat.com>
5529
5530         * java/awt/GridBagLayout.java
5531         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
5532         * javax/swing/AbstractButton.java
5533         (setText): Reindent.
5534         * javax/swing/RepaintManager.java
5535         (addInvalidComponent): Find the first ancestor that isValidateRoot().
5536
5537 2004-07-21  Michael Koch  <konqueror@gmx.de>
5538
5539         * javax/swing/JFormattedTextField.java
5540         (value): New field.
5541         (JFormattedTextField): Implemented.
5542         (getValue): Likewise.
5543         (setValue): Likewise.
5544         * javax/swing/LookAndFeel.java
5545         (getSupportsWindowDecorations): New method.
5546         * javax/swing/UIDefaults.java:
5547         Use java.beans.PropertyChangeSupport instead of doing all ourself.
5548         (addPropertyChangeListener): Made public.
5549         (addResourceBundle): Likewise.
5550         (removeResourceBundle): Likewise.
5551         (setDefaultLocale): Likewise.
5552         * javax/swing/plaf/basic/BasicRootPaneUI.java
5553         (BasicRootPaneUI): Implements PropertyChangeListener.
5554         (propertyChange): New method.
5555         * javax/swing/plaf/basic/BasicTextUI.java
5556         (BasicHighlighter): New inner class.
5557         (createHighlighter): New method.
5558         * javax/swing/plaf/basic/BasicToolBarUI.java
5559         (DragWindow): Extends java.awt.Window.
5560         * javax/swing/text/JTextComponent.java
5561         (getDocument): Removed debug output.
5562         * javax/swing/plaf/basic/BasicTextFieldUI.java,
5563         javax/swing/text/DefaultHighlighter.java,
5564         javax/swing/text/FieldView.java,
5565         javax/swing/text/PlainView.java: New files.
5566         * Makefile.am: Added new files.
5567         * Makefile.in: Regenerated.
5568
5569 2004-07-21  Michael Koch  <konqueror@gmx.de>
5570
5571         * javax/swing/JEditorPane.java
5572         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
5573         (createEditorKitForContentType): Likewise.
5574         * javax/swing/text/DefaultEditorKit.java
5575         (serialVersionUID): Added constant field.
5576         (EndOfLineStringPropery): Fixed typo.
5577         (DefaultEditorKit): New constructor.
5578         * javax/swing/text/Segment.java:
5579         Import java.text.CharacterIterator.
5580         * javax/swing/text/CharacterIterator.java,
5581         javax/swing/text/PlainEditorKit.java: Removed.
5582         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
5583         javax/swing/text/PlainEditorKit.java.
5584         * Makefile.in: Regenerated.
5585
5586 2004-07-21  Michael Koch  <konqueror@gmx.de>
5587
5588         * javax/swing/JButton.java,
5589         javax/swing/text/DefaultEditorKit.java,
5590         javax/swing/text/EditorKit.java,
5591         javax/swing/text/Segment.java,
5592         javax/swing/text/StyledEditorKit.java:
5593         Reformatted.
5594
5595 2004-07-21  Michael Koch  <konqueror@gmx.de>
5596
5597         * javax/swing/ImageIcon.java
5598         (file): Removed.
5599         (description): Renamed from descr.
5600         (ImageIcon): Added missing constructors.
5601         (setParent): Removed.
5602         (setImageObserver): New method.
5603         (getImageObserver): New method.
5604         (paintIcon): Handle observer = null.
5605         * javax/swing/JButton.java
5606         (removeNotify): Fixed javadoc.
5607         (updateUI): Simplified.
5608         * javax/swing/JRootPane.java
5609         (serialVersionUID): New constant field.
5610         * javax/swing/UIManager.java:
5611         Fixed javadocs all over.
5612         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
5613         * javax/swing/text/AbstractDocument.java
5614         (createPosition): Throws BadLocationException.
5615         (getText): Likewise.
5616         (remove): Likewise.
5617         * javax/swing/text/ComponentView.java
5618         (modelToView): Likewise.
5619         * javax/swing/text/DefaultEditorKit.java:
5620         Made all public methods public.
5621         (read): Throws BadLocationException and IOException.
5622         (write): Likewise.
5623         * javax/swing/text/EditorKit.java:
5624         Made all public methods public.
5625         (serialVersionUID): New constant field.
5626         (clone): New method.
5627         (read): Throws BadLocationException and IOException.
5628         (write): Likewise.
5629         * javax/swing/text/Segment.java
5630         (array): Made public.
5631         (count): Likewise.
5632         (offset): Likewise.
5633         (Segment): New constructors.
5634         (clone): Reimplemented.
5635         * javax/swing/text/StyledEditorKit.java
5636         (serialVersionUID): New constant field.
5637
5638 2004-07-21  Graydon Hoare  <graydon@redhat.com>
5639
5640         * java/awt/image/BufferedImage.java 
5641         (getSource): Implement.
5642         * javax/swing/ImageIcon.java 
5643         (ImageIcon): Implement ctor.
5644         * javax/swing/ScrollPaneLayout.java 
5645         (preferredLayoutSize): Be more careful about nulls.
5646
5647 2004-07-21  Michael Koch  <konqueror@gmx.de>
5648
5649         * javax/swing/text/AttributeSet.java
5650         (CharacterAttribute): New interface
5651         (ColorAttribute): Likewise.
5652         (FontCharacterAttribute): Likewise.
5653         (ParagraphAttribute): Likewise.
5654         * javax/swing/text/DefaultCaret.java
5655         (moveCaret): New method.
5656         (positionCaret): Likewise.
5657         (repaint): Made protected.
5658         * javax/swing/text/JTextComponent.java
5659         (KeyBinding): Made it static.
5660         * javax/swing/text/View.java
5661         (getContainer): Honor parent == null.
5662
5663 2004-07-21  Michael Koch  <konqueror@gmx.de>
5664
5665         * javax/swing/text/AbstractDocument.java:
5666         Reformatted.
5667
5668 2004-07-21  Michael Koch  <konqueror@gmx.de>
5669
5670         * javax/swing/plaf/basic/BasicRootPaneUI.java:
5671         Import javax.swing.UIManager explicitely.
5672         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5673         (ScrollingButton): Made it static.
5674
5675 2004-07-21  Michael Koch  <konqueror@gmx.de>
5676
5677         * javax/swing/UIDefaults.java
5678         (ActiveValue): Made public.
5679         (LazyValue): Likewise.
5680         * javax/swing/plaf/basic/BasicTextUI.java
5681         (RootView): Reintroduced.
5682         (view): Removed.
5683         (rootView): New field.
5684         (installUI): Create document if needed, initialize rootView.
5685         (uninstallUI): Hanle rootView.
5686         (paint): Likewise.
5687         (getRootView): Likewise.
5688         (setView): Likewise.
5689         * javax/swing/text/DefaultCaret.java:
5690         Renamed all "evt" variables to "event".
5691
5692 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5693
5694         * libgcj.spec.in: Add -l-java-util-logging.
5695
5696 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
5697
5698         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5699         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
5700         gtk-xft-dpi can no calculate the right value.
5701         (dpi_changed_cb): Mark *pspec as unsused.
5702
5703 2004-07-21  David Jee  <djee@redhat.com>
5704
5705         * java/awt/Component.java
5706         (move): Delegate to setBounds().
5707         (resize): Likewise.
5708         (reshape): Fix so it repaints parent and self only when necessary.
5709
5710 2004-07-21  David Jee  <djee@redhat.com>
5711
5712         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5713         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5714         (GtkComponentPeer): Revert previous patch from 2004-06-22.
5715         (setVisible): Likewise.
5716         (show): Likewise.
5717         (hide): Likewise.
5718         (getArgs): Likewise.
5719         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5720         (property_notify_predicate): Likewise.
5721         (find_layout): Likewise.
5722         (connectJObject): Likewise.
5723         (connectSignals): Likewise.
5724         (moveLayout): Likewise.
5725         (gtkLayoutSetVisible): Likewise.
5726
5727 2004-07-21  Graydon Hoare  <graydon@redhat.com>
5728
5729         * Makefile.am
5730         (jv_convert_LDADD):
5731         (gij_LDADD):
5732         (rmic_LDADD):
5733         (rmiregistry_LDADD): Add lib-java-util-logging.la
5734         * Makefile.in: Regenerate.
5735
5736 2004-07-21  Michael Koch  <konqueror@gmx.de>
5737
5738         * javax/swing/text/AbstractDocument.java
5739         (replace): Dont use protected method of java.util.Vector directly.
5740
5741 2004-07-21  Michael Koch  <konqueror@gmx.de>
5742
5743         * javax/swing/plaf/basic/BasicTextUI.java
5744         (installUI): Call specialized install methods.
5745         (installDefaults): New method.
5746         (installListeners): Likewise.
5747         (installKeyboardActions): Likewise.
5748         (uninstallUI): Likewise.
5749         (uninstallDefaults): New method.
5750         (uninstallListeners): Likewise.
5751         (uninstallKeyboardActions): Likewise.
5752         (getPropertyPrefix): New abstract method.
5753         (paint): Made final, just call paintSafely().
5754         (paintSavely): New method.
5755         (paintBackground): Likewise.
5756         (getVisibleEditorRect): Likewise.
5757         * javax/swing/text/LayeredHighlighter.java,
5758         javax/swing/text/TabExpander.java: New files.
5759         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
5760         and javax/swing/text/TabExpander.java.
5761         * Makefile.in: Regenerated.
5762
5763 2004-07-21  Michael Koch  <konqueror@gmx.de>
5764
5765         * javax/swing/plaf/basic/BasicTextUI.java
5766         (BasicTextUI): Made abstract.
5767         (BasicCaret): New inner class.
5768         (view): Don't explicitely initialize with "null".
5769         (textComponent): New field.
5770         (textColor): Removed.
5771         (disabledTextColor): Removed.
5772         (normalBackgroundColor): Removed.
5773         (RootView): Removed commented out inner class.
5774         (createUI): Removed.
5775         (createCaret): New method.
5776         (getComponent): Likewise.
5777         (installUI): Initialize textComponent only.
5778         (getPreferredSize): Use installed JTextComponent.
5779         (setView): New method.
5780         (create): Likewise.
5781         * javax/swing/text/JTextComponent.java
5782         (highlighter): New field.
5783         (caretColor): Likewise.
5784         (disabledTextColor): Likewise.
5785         (seletedTextColor): Likewise.
5786         (selectionColor): Likewise.
5787         (setUI): New method.
5788         (getCaretColor): Likewise.
5789         (setCaretColor): Likewise.
5790         (getDisabledColor): Likewise.
5791         (setDisabledColor): Likewise.
5792         (getSelectedTextColor): Likewise.
5793         (setSelectedTextColor): Likewise.
5794         (getSelectionColor): Likewise.
5795         (setSelectionColor): Likewise.
5796         (getHighlighter): Likewise.
5797         (setHighlighter): Likewise.
5798         (replaceSelection): Likewise.
5799
5800 2004-07-21  Michael Koch  <konqueror@gmx.de>
5801
5802         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5803         (BasicScrollPaneUI): Implements ScrollPaneConstants.
5804         * javax/swing/plaf/basic/BasicToolBarUI.java
5805         (BasicToolBarUI): Implements SwingConstants.
5806
5807 2004-07-21  Michael Koch  <konqueror@gmx.de>
5808
5809         * javax/swing/JPopupMenu.java: Removed CVS tags.
5810         * javax/swing/UIDefaults.java: Reformatted.
5811         * javax/swing/plaf/basic/BasicRootPaneUI.java:
5812         Explicitely import used classes.
5813
5814 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5815
5816         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5817         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5818         (GtkComponentPeer): Remove temporary try/catch block.
5819         (setVisible): Call show and hide.
5820         (show): Make native.
5821         (hide): Likewise.
5822         (getArgs): Don't add "visible" argument.
5823         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5824         (property_notify_predicate): Return Bool instead of int.
5825         (find_layout): New function.
5826         (connectJObject): Call find_layout.
5827         (connectSignals): Likewise.
5828         (moveLayout): Likewise.
5829         (gtkLayoutSetVisible): Likewise.
5830
5831 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5832
5833         * javax/swing/AbstractButton.java:
5834         (setDisplayedMnemonicIndex): Check if button
5835         text is not null before checking its length.
5836         * javax/swing/JMenuItem.java:
5837         (processMouseEvent): Disarm menu item if mouse has
5838         exited it.
5839         * javax/swing/plaf/basic/BasicMenuUI.java:
5840         (MouseInputHandler.mouseEntered): Do not raise
5841         popup menu if this menu is already selected.
5842         (MouseInputHandler.mousePressed): Do not fire 
5843         MenuEvents.
5844         (MenuHandler): Implemented.     
5845
5846 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5847
5848         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
5849         (getSelectedObjects): Implemented.
5850         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
5851         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
5852         Added javadoc for few methods.
5853         (processMouseEvent): Made public.
5854         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
5855         (processMouseEvent): Likewise.
5856
5857 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5858
5859         * javax/swing/AbstractButton.java:
5860         (init): Set display mnemonic index to -1.
5861         (setMnemonic(char)): Use setMnemonic(int).
5862         (setMnemonic(int)): Set display mnemonic index.
5863         (getDisplayedMnemonicIndex): Change method signature
5864         by removing 'index' parameter.
5865         * javax/swing/plaf/basic/BasicLookAndFeel.java:
5866         Added default for Menu.selectionBackground.     
5867         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5868         (paintMenuItem): Change background color of the selected
5869         menu item.
5870         (paintText): Paint differently when menu item is disabled.
5871         Also paint mnemonic if it appears in the menu item's label.
5872         (paintAccelerator): Paint accelerator differently
5873         if menu item is disabled.
5874         * javax/swing/plaf/basic/BasicMenuUI.java:
5875         (installDefaults): Install defaults for 
5876         selectionForeground and selectionBackground.
5877         (uninstallDefaults): Uninstall defauls for 
5878         selectionForeground and selectionBackground.
5879
5880 2004-07-21  Michael Koch  <konqueror@gmx.de>
5881
5882         * javax/swing/text/AbstractDocument.java
5883         (BranchElement): Implemented.
5884         (LeafElement): Implemented.
5885         * javax/swing/text/DefaultCaret.java:
5886         Import used classes.
5887         (serialVersionUID): New constant.
5888         * javax/swing/text/JTextComponent.java
5889         (AccessibleJTextComponent): Removed dead declaration.
5890         (caretPos): Removed.
5891         (setCaret): New method.
5892         * javax/swing/text/PlainDocument.java
5893         (rootElement): New field.
5894         (PlainDocument): Initialize rootElement.
5895         (createDefaultRoot): New method.
5896         (getDefaultRootElement): Implemented.
5897         * javax/swing/text/View.java: Reformatted.
5898         * javax/swing/text/ViewFactory.java
5899         (create): Added javadoc.
5900
5901 2004-07-21  Michael Koch  <konqueror@gmx.de>
5902
5903         * javax/swing/ToolTipManager.java: Reformatted.
5904
5905 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
5906
5907         * javax/swing/AbstractButton.java
5908         (changeEvent): New field.
5909         (fireItemStateChanged): Change source of the event
5910         to 'this' before firing it to button listeners.
5911         (fireActionPerformed): Likewise.
5912         (fireStateChanged): Likewise.
5913         (createActionListener): Do not set source 
5914         of the event to AbstractButton.                                  
5915         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5916         (ContainerHandler.componentAdded): Removed 
5917         print out statement.
5918         (ContainerHandler.componentRemoved): Likewise.
5919
5920 2004-07-21  Michael Koch  <konqueror@gmx.de>
5921
5922         * javax/swing/text/Highlighter.java: New file.
5923         * Makefile.am: Added javax/swing/text/Highlighter.java.
5924         * Makefile.in: Regenerated.
5925
5926 2004-07-21  Michael Koch  <konqueror@gmx.de>
5927
5928         * javax/swing/ToolTipManager.java
5929         (stillInsideTimerAction): Fixed constructor arguments.
5930         (outsideTimerAction): Likewise.
5931         (insideTimerAction): Likewise.
5932
5933 2004-07-21  Michael Koch  <konqueror@gmx.de>
5934
5935         * javax/swing/JButton.java: Reformatted.
5936         * javax/swing/JFormattedTextField.java
5937         (getUIClassID): Implemented.
5938         * javax/swing/JRootPane.java
5939         (serialVersionUID): New constant.
5940         * javax/swing/JTextField.java
5941         (align): New field.
5942         (JTextField): Simplified.
5943         (getUIClassID): New method.
5944         (getActionListeners): Added @since tag.
5945         (setColumns): Invalidate layout and repaint.
5946         (getHorizontalAlignment): New method.
5947         (setHorizontalAlignment): New method.
5948         (selectAll): Removed.
5949         * javax/swing/SwingUtilities.java
5950         (getAncestorOfClass): Removed redundant @see tag.
5951         (isLeftMouseButton): Fixed implementation.
5952         (isMiddleMouseButton): Likewise.
5953         (isRightMouseButton): Likewise.
5954         * javax/swing/text/AbstractDocument.java
5955         (AttributeContext.addAttribute): New method.
5956         (AttributeContext.addAttributes): New method.
5957         (AttributeContext.getEmptySet): New method.
5958         (AttributeContext.reclaim): New method.
5959         (AttributeContext.removeAttribute): New method.
5960         (AttributeContext.removeAttributes): New method.
5961         * javax/swing/text/Document.java
5962         (createPosition): Throws BadLocationException.
5963         (getText): Likewise.
5964         (remove): Likewise.
5965         * javax/swing/text/JTextComponent.java
5966         (getText): Return null if no document is set. Catch
5967         BadLocationException.
5968         (getUI): Return ui.
5969         (updateUI): Simplified.
5970
5971 2004-07-21  Michael Koch  <konqueror@gmx.de>
5972
5973         * javax/swing/JButton.java
5974         (removeNotify): Fixed javadoc.
5975         (updateUI): Simplified.
5976
5977 2004-07-21  David Jee  <djee@redhat.com>
5978
5979         * gnu/java/awt/image/ImageDecoder.java
5980         (startProduction): Only add consumer if it's not added yet.
5981         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5982         (GdkPixbufDecoder): Don't call initState() here.
5983         (produce): Call initState() here, to ensure area_prepared and
5984         area_updated signals are properly connected.
5985         * gnu/java/awt/peer/gtk/GtkImage.java
5986         (setColorModel): Use equals() to compare ColorModel objects.
5987         (setPixels): Likewise.
5988         * java/awt/image/ColorModel.java
5989         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
5990         * java/awt/image/RGBImageFilter.java
5991         (setColorModel): Set consumer's color model.
5992         (setPixels): Use equals() to compare ColorModel objects.
5993
5994 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
5995
5996         * java/net/URLConnection.java (position): New field.
5997         (dateFormat1, dateFormat2, dateFormat3): Removed.
5998         (dateFormats): New field.
5999         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
6000         each time instead of re-allocating.
6001         (initializeDateFormats): Initialize 'dateFormats'.
6002
6003 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
6004
6005         PR libgcj/16591
6006         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
6007         is defined.
6008
6009 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
6010
6011         * java/net/Socket.java (getImpl): Now private. Remove comment.
6012
6013 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
6014
6015         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
6016         of chained Writer when calling super-constructor.
6017         * java/io/FilterWriter.java (FilterWriter): Likewise.
6018         * java/io/PrintWriter.java (PrintWriter): Likewise.
6019
6020 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
6021
6022         * prims.cc (process_gcj_properties): Don't increment i within LHS
6023         of assignment.
6024
6025 2004-07-19  Per Bothner  <per@bothner.com>
6026
6027         Print -verbose:message on "loading", not initialization.
6028         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
6029         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
6030         gcj::verbose_class_flag.
6031         * java/lang/natClass.cc (initializeClass):  Don't print message here.
6032         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
6033         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
6034         (_Jv_PrepareCompiledClass):  Likewise.
6035
6036 2004-07-18  Matthias Klose  <doko@debian.org>
6037
6038         * configure.in: Substitute target_noncanonical.
6039         * configure: Regenerate
6040
6041 2004-07-17  Michael Koch  <konqueror@gmx.de>
6042
6043         * java/lang/String.java: Fixed javadocs all over.
6044
6045 2004-07-17  Mark Wielaard  <mark@klomp.org>
6046
6047         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
6048         when size is smaller.
6049         * java/io/RandomAccessFile.java (setLength): Use truncate for
6050         shrinking the file and seek plus write for expanding the file.
6051
6052 2004-07-17  Michael Koch  <konqueror@gmx.de>
6053
6054         * gnu/java/nio/channels/natFileChannelPosix.cc
6055         (implTruncate): Always save current position. Only reposition file
6056         pointer to where we started if not beyond new lenght. Reposition file
6057         pointer to file length if it points beyond the end of file.
6058
6059 2004-07-17  Mark Wielaard  <mark@klomp.org>
6060
6061         * javax/swing/Box.java: Put FIXME comment above class declaration.
6062         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
6063         * javax/swing/JCheckBox.java: Likewise.
6064         * javax/swing/JDialog.java: Likewise.
6065         * javax/swing/JRadioButton.java: Likewise.
6066         * javax/swing/JToggleButton.java: Likewise.
6067         * javax/swing/UIManager.java: Likewise.
6068         * javax/swing/border/TitledBorder.java: Likewise.
6069         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6070         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
6071         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
6072         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6073         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
6074         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6075         * javax/swing/text/JTextComponent.java: Likewise.
6076
6077 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
6078
6079         * java/net/DatagramPacket.java (setAddress): Removed check for
6080         null address.
6081
6082 2004-07-17  Michael Koch  <konqueror@gmx.de>
6083
6084         * java/net/DatagramSocket.java
6085         (getLocalAddress): Check if socket is bound or not.
6086         * java/net/Socket.java
6087         (getLocalAddrss): Check if socket is bound or not.
6088         (getPort): Return -1 when not connected. Dont check getImpl() for
6089         null.
6090         (setReuseAddress): Check if socket is closed.
6091         (isConnected): Check if getImpl() returns null.
6092
6093 2004-07-17  Mark Wielaard  <mark@klomp.org>
6094
6095         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
6096         on notifier object before calling notifyAll().
6097
6098 2004-07-17  Michael Koch  <konqueror@gmx.de>
6099
6100         * gnu/java/nio/channels/FileChannelImpl.java
6101         (finalize): Added javadoc.
6102
6103 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
6104
6105         * java/text/CollationElementIterator.java
6106         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
6107         (setText): Use ArrayList instead of Vector.
6108
6109 2004-07-17  Michael Koch  <konqueror@gmx.de>
6110
6111         * java/nio/ByteOrder.java
6112         (static): Removed. Not needed.
6113         Thanks to Patrick Reali for noticing.
6114         * java/nio/charset/CharsetDecoder.java
6115         (decode): Fix for classpath bug #9177: Reset state before flipping.
6116
6117 2004-07-17  Michael Koch  <konqueror@gmx.de>
6118
6119         * java/security/Security.java: Fixed javadocs all over.
6120
6121 2004-07-17  Michael Koch  <konqueror@gmx.de>
6122
6123         * gnu/java/awt/EmbeddedWindow.java
6124         (static): Removed.
6125         (addNotify): Set peer via reflection.
6126         (setWindowPeer): Removed.
6127         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
6128         * Makefile.am (nat_source_files):
6129         Removed gnu/java/awt/natEmbeddedWindow.cc.
6130         * Makefile.in: Regenerated.
6131
6132 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
6133
6134         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
6135         assignment.
6136         * configure: Regenerated.
6137
6138 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
6139
6140         * configure.in: Use build_noncanonical rather than build_alias.
6141         * configure: Rebuild.
6142
6143         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
6144         by logic refactoring.  Move default definition of NATIVE closer
6145         to first alternate definition.
6146         * configure: Regenerate.
6147
6148         * Makefile.am: Set ZIP and GCJH directly using autoconf.
6149         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
6150         gcj/Makefile.in: Regenerate.
6151         * configure.in: Set ZIP and GCJH.  Remove redundant condition
6152         in AM_CONDITIONAL(NATIVE,...)
6153         * configure: Regenerate.
6154
6155 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
6156
6157         * configure.in: Use target_noncanonical rather than
6158         target_alias for forward-compatibility with autoconf 2.59.
6159         * configure: Regenerate.
6160         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
6161         testsuite/Makefile.am: Substitute target_noncanonical.
6162         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
6163         testsuite/Makefile.in: Regenerate.
6164
6165         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
6166         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
6167         * acinclude.m4: Include acx.m4.
6168         * aclocal.m4: Regenerate.
6169         * configure: Regenerate.
6170
6171 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
6172
6173         PR libgcj/16574
6174         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
6175         (decimalFormat): New static variable.
6176         (sbuf): Likewise.
6177         (getTime): New. Override Date.getTime().
6178         (toString): Synchronize. Use decimalFormat to format nanos value
6179         correctly. Truncate extra zeros.
6180         (before): Compare getNanos() only if getTime() is equal.
6181         (after): Likewise.
6182         
6183 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
6184
6185         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
6186         * configure.in: ...here.
6187         * aclocal.m4: Regenerate.
6188         * configure: Regenerate.
6189
6190         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
6191         * configure: Rebuilt with autoconf 2.13.
6192         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
6193         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
6194
6195 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
6196
6197         PR libgcj/16204
6198         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
6199         large file support.
6200         * Makefile.in: Rebuilt.
6201         * testsuite/libjava.lang/LargeFile.java: New test case.
6202         * testsuite/libjava.lang/LargeFile.out: New file.
6203
6204 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
6205
6206         * java/beans/EventHandler.java: Remove debugging statements.
6207
6208 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
6209
6210         * java/beans/EventHandler.java: New file.
6211         * Makefile.am (awt_java_source_files): Add EventHandler.java.
6212         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
6213         testsuite/Makefile.in: Regenerate.
6214
6215 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
6216
6217         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
6218         flag to the gcj_setup.
6219         (gcj_jacks_run): Check tclsh version and launch jacks directly with
6220         the tclsh.
6221         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
6222         deprecation flag change. 58 XFAILS removed.
6223
6224 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
6225
6226         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
6227         -fno-use-divide-subroutine.
6228         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
6229         (HANDLE_FPE): Define.
6230         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
6231         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
6232         (HANDLE_DIVIDE_OVERFLOW): Define.
6233
6234 2004-07-14  Michael Koch  <konqueror@gmx.de> 
6235             Matthias Klose  <doko@debian.org> 
6236
6237         * java/awt/im/InputContext.java: Initialize in, line.
6238
6239 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
6240
6241         * interpret.cc (run): Correctly access libffi return values of
6242         integral smaller-than-int type; these are implicitly promoted.
6243
6244 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
6245
6246         PR libgcj/7587
6247         * interpret.cc (compile_mutex): New.
6248         (_Jv_InitInterpreter): New. Initialize compile_mutex.
6249         (run): Lock compile_mutex before calling compile() if compilation is
6250         required.
6251         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
6252         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
6253
6254 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
6255
6256         PR libgcj/15713
6257         * include/jvm.h (_Jv_value): New union type.
6258         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
6259         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
6260         union members.
6261
6262 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
6263
6264         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
6265         * gnu/awt/xlib/XOffScreenImage.java
6266           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
6267           constructor argument. Add constructor using ImageProducer.
6268           (getSource): Implement.
6269           (imageComplete): New method.
6270           (setColorModel): New method.
6271           (setDimensions): New method.
6272           (setHints): New method.
6273           (setPixels): New method.
6274           (setProperties): New method.
6275         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
6276         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
6277
6278 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
6279
6280         PR libgcj/16478 
6281         * prims.cc (_Jv_CreateJavaVM): Fix comment.
6282         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
6283         (finalizerReady): Now native.
6284         (run): Likewise.
6285         (runFinalizers): Removed.
6286         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
6287         a primitive lock, and don't hold it while running the finalizers.
6288         (runFinalizers): Implement. Don't aquire any Java lock.
6289         (finalizerReady): Use lock primitives to signal finalizer thread.
6290
6291 2004-07-11  Mark Wielaard  <mark@klomp.org>
6292
6293         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
6294         * java/net/URLStreamHandler.java (parseURL): When url file part
6295         doesn't contain a '/' just ignore context.
6296
6297 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
6298
6299         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
6300         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
6301         (MAKE_THROW_FRAME): Do not modify PSW address.
6302         (INIT_SEGV): Install SIGINFO-style signal handler.
6303         (INIT_FPE): Likewise.
6304
6305 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
6306
6307         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
6308         status. 21 xfail's removed, 1 added.
6309
6310 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
6311
6312         * gcj/javaprims.h: Regenerate CNI namespace definitions.
6313
6314 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6315
6316         * java/text/MessageFormat.java
6317         (formatInternal): Append "{n}" if argument n is unavailable.
6318         (format(Object, StringBuffer, FieldPosition)): This
6319         should be equivalent to format(Object[],
6320         StringBuffer, FieldPosition).
6321
6322 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
6323
6324         * java.util.Calendar.java (cache): New private static field. Cached
6325         mappings of locales->calendar classes.
6326         (ctorArgTypes): New private static field. Singleton argument for
6327         calendar class constructor lookup.
6328         (getInstance): Cache Locale->Calendar class mappings using HashMap.
6329         Optimize by bypassing reflection instantiation for the 
6330         GregorianCalendar case.
6331
6332 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
6333
6334         * java/util/Calendar.java: Use getSystemClassLoader as argument for
6335         ResourceBundle.getBundle() calls.
6336         * java/util/GregorianCalendar.java: Likewise.
6337         * java/util/Currency.java: Likewise.
6338         * java/text/BreakIterator.java: Likewise.
6339         * java/text/Collator.java: Likewise.
6340         * java/text/DateFormat.java: Likewise.
6341         * java/text/DateFormatSymbols.java: Likewise.
6342         * java/text/DecimalFormatSymbols.java: Likewise.
6343         * java/text/NumberFormat.java: Likewise.
6344         * java/awt/Window.java: Likewise.       
6345
6346 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
6347
6348         * java/util/ResourceBundle.java (bundleCache): Renamed from
6349         resourceBundleCache. Update comments.
6350         (getObject): Don't catch MissingResourceException.
6351         (getBundle(String)): Remove 'final'. Use system classloader if
6352         getCallingClassLoader returned null.
6353         (getBundle(String, Locale)): Likewise.
6354         (BundleKey): New private class. HashMap key for bundle cache lookup.
6355         (lookupKey): New. Singleton instance of BundleKey.
6356         (nullEntry): New. Cache entry to represent failed lookups.
6357         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
6358         caching strategy, no-allocation lookup, and new tryBundle methods.
6359         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
6360         name using given classloader.
6361         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
6362         baseName for given Locale and attempt to load bundle.
6363
6364 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
6365
6366         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
6367         illegal protected method calls.
6368
6369 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
6370
6371         Fix or remove some bogus test cases.
6372         * testsuite/libjava.compile/pr10459_2.java: Removed.
6373         * testsuite/libjava.compile/pr10459.java: Test using its own method,
6374         not Object.clone().
6375         * testsuite/libjava.compile/inner_data.java: Test against its own
6376         protected field.
6377
6378 2004-07-09  Michael Koch  <konqueror@gmx.de>
6379
6380         * scripts/unicode-muncher.pl: Updated to version 2.1
6381         from GNU classpath. Added some clarifications on where to find the
6382         needed files from www.unicode.org.
6383         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
6384         gnu/gcj/convert/UnicodeData-3.0.0.txt:
6385         Removed, these can directly be downloaded from www.unicode.org if
6386         needed. 
6387         * gnu/java/lang/CharData.java: Regenerated.
6388         * include/java-chartables.h: Regenerated.
6389         * Makefile.am (ordinary_java_source_files):
6390         Removed gnu/java/lang/CharData.java.
6391         * Makefile.in: Regenerated.
6392
6393 2004-07-09  Michael Koch  <konqueror@gmx.de>
6394
6395         * java/security/AccessControlContext.java,
6396         java/security/SecureClassLoader.java:
6397         Fixed javadocs.
6398
6399 2004-07-09  Michael Koch  <konqueror@gmx.de>
6400
6401         * java/io/ObjectInputStream.java (readFields): Use long datatype
6402         when shifting byte values more then 24 bits left.
6403
6404 2004-07-09  Michael Koch  <konqueror@gmx.de>
6405
6406         * java/util/zip/DeflaterOutputStream.java,
6407         java/util/zip/GZIPInputStream.java,
6408         java/util/zip/GZIPOutputStream.java,
6409         java/util/zip/InflaterInputStream.java:
6410         Reformatted. Added javadocs. Reordered all stuff.
6411         Renamed variables to be more clear.
6412
6413 2004-07-09  Michael Koch  <konqueror@gmx.de>
6414
6415         * javax/imageio/IIOException.java,
6416         javax/imageio/event/IIOReadProgressListener.java,
6417         javax/imageio/event/IIOReadUpdateListener.java,
6418         javax/imageio/event/IIOReadWarningListener.java,
6419         javax/imageio/event/IIOWriteProgressListener.java,
6420         javax/imageio/event/IIOWriteWarningListener.java:
6421         New files.
6422         * Makefile.am: Added new files.
6423         * Makefile.in: Regenerated.
6424
6425 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
6426
6427         * java/text/RuleBasedCollator.java
6428         (mergeRules): Use ArrayList instead of Vector.
6429         (subParseString): likewise.
6430         (parseString): likewise.
6431         (buildCollationVector): likewise.
6432         (getCollationKey): likewise.
6433
6434 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
6435
6436         * java/text/DateFormat.java (parse):
6437         Improved javadoc. Improved exception message.
6438
6439 2004-07-09  Mark Wielaard  <mark@klomp.org>
6440
6441         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
6442         interrupted() method to clear interupt flag of our Thread.
6443
6444 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
6445
6446         * java/nio/Buffer.java,
6447         java/nio/ByteBuffer.java,
6448         java/nio/ByteBufferHelper.java,
6449         java/nio/ByteBufferImpl.java,
6450         java/nio/CharBuffer.java,
6451         java/nio/CharBufferImpl.java,
6452         java/nio/CharViewBufferImpl.java,
6453         java/nio/DirectByteBufferImpl.java,
6454         java/nio/DoubleBuffer.java,
6455         java/nio/DoubleBufferImpl.java,
6456         java/nio/DoubleViewBufferImpl.java,
6457         java/nio/FloatBuffer.java,
6458         java/nio/FloatBufferImpl.java,
6459         java/nio/FloatViewBufferImpl.java,
6460         java/nio/IntBuffer.java,
6461         java/nio/IntBufferImpl.java,
6462         java/nio/IntViewBufferImpl.java,
6463         java/nio/LongBuffer.java,
6464         java/nio/LongBufferImpl.java,
6465         java/nio/LongViewBufferImpl.java,
6466         java/nio/MappedByteBufferImpl.java,
6467         java/nio/ShortBuffer.java,
6468         java/nio/ShortBufferImpl.java,
6469         java/nio/ShortViewBufferImpl.java:
6470         Fixed javadocs all over. Improved input error
6471         checking.
6472
6473         * java/nio/Buffer.java
6474         (checkForUnderflow, checkForOverflow, checkIndex,
6475         checkIfReadOnly, checkArraySize): New helper methods
6476         for error checking.
6477
6478         * java/nio/ByteBufferHelper.java
6479         (checkRemainingForRead, checkRemainingForWrite,
6480         checkAvailableForRead, checkAvailableForWrite): Removed
6481         no longer needed methods.
6482
6483 2004-07-09  Michael Koch  <konqueror@gmx.de>
6484
6485         * gnu/regexp/CharIndexedInputStream.java:
6486         Reordered imports to match classpath.
6487
6488 2004-07-09  Michael Koch  <konqueror@gmx.de>
6489
6490         * gnu/java/awt/EmbeddedWindow.java:
6491         Load native library for setWindowPeer method.
6492
6493 2004-07-08  Randolph Chung  <tausq@debian.org>
6494
6495         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
6496         * configure: Regenerate.
6497         * configure.host: Set can_unwind_signal for hppa*-linux.
6498         * include/pa-signal.h: New file.
6499
6500 2004-07-07  Per Bothner  <per@bothner.com>
6501
6502         * Makefile.am:  Add rules to build libgij from just gij.cc.
6503
6504         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
6505         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
6506         (initializeClass):  If verbose_class_flag, print message.
6507         * gij.cc (main):  Handle -verbose:class flag.
6508
6509 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
6510
6511         * configure.host: Enable hash synchronization on Darwin.
6512         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
6513         ';', since this is a comment on Darwin.
6514         (compare_and_swap_release): Likewise.
6515
6516 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
6517
6518         * java/net/URLStreamHandler.java (parseURL): Canonicalize
6519         file portion of URL in addition to spec for file: protocol.
6520
6521 2004-07-05  Anthony Green  <green@redhat.com>
6522
6523         * java/io/File.java (toURI): Merge from Classpath.
6524
6525 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
6526
6527         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
6528         before passing to URL constructor. Rethrow any MalformedURLException
6529         as a RuntimeException. Catch MalformedURLException specifically, not
6530         all exceptions.
6531
6532 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
6533
6534         * java/util/Locale.java (readObject): Intern strings read from object
6535         stream.
6536
6537 2004-07-04  Michael Koch  <konqueror@gmx.de>
6538
6539         * gnu/gcj/runtime/FirstThread.java,
6540         gnu/gcj/runtime/natFirstThread.cc: Removed.
6541         * gnu/java/lang/MainThread.java,
6542         gnu/java/lang/natMainThread.cc: New files.
6543         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
6544         * Makefile.am: Added new files and removed deleted ones.
6545         * Makefile.in: Regenerated.
6546
6547 2004-07-03  Mark Wielaard  <mark@klomp.org>
6548             Anthony Green  <green@redhat.com>
6549
6550         * java/net/URL.java (getFile): Clarify return value doc.
6551         (getPath): Return null if file is empty - not empty String.
6552         (set): Convert protocol to lower case before doing anything.
6553         Only change the protocol handler if it's different.
6554
6555 2004-07-03  Anthony Green  <green@redhat.com>
6556
6557         * java/net/URL.java (URL): Convert protocol to lower case before
6558         doing anything, so we getURLStreamHandler() with the proper value.
6559
6560 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
6561
6562         * java/util/Locale.java (hashcode): Made transient.
6563         (hashCode): No longer synchronized.
6564         (equals): Remove comment.
6565         (writeObject): No longer synchronized. Implement using writeObject 
6566         calls instead of tweaking hashCode field. Update doc.
6567         (readObject): Implement using readObject calls.
6568
6569 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
6570             Andreas Tobler  <a.tobler@schweiz.ch>
6571
6572         * configure.host (powerpc-*-darwin*): New case, define
6573         can_unwind_signal.
6574         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
6575         * configure: Regenerate.
6576         * include/darwin-signal.h: New.
6577
6578 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
6579
6580         * java/beans/Statement.java (doExecute): Fix formatting.
6581
6582 2004-06-29  Per Bothner  <per@bothner.com>
6583
6584         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
6585         etc etc):  Remove needless parenthesis, which causes __stdcall__
6586         attribute on MinGW to get ignored.
6587
6588 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
6589
6590         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
6591
6592 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
6593
6594         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
6595
6596 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
6597
6598         * java/beans/Expression.java: New file.
6599         * java/beans/Statement.java: New file.
6600         * Makefile.am: Added new files.
6601         * Makefile.in: Re-generate.
6602
6603 2004-06-27 Mark Wielaard  <mark@klomp.org>
6604
6605         * java/io/FilePermission.java (usingPerms): Removed.
6606         (actionsString): Made final.
6607         (cachePerms): Renamed to checkPerms.
6608         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
6609         on action String.
6610         (FilePermission): Check arguments, call checkPerms().
6611         (equals): Remove cachePerms() call.
6612         (implies): Likewise.
6613
6614 2004-06-27  Mark Wielaard  <mark@klomp.org>
6615
6616         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
6617         final field.
6618         (sendRequest): Use new field in user-agent http agent.
6619
6620 2004-06-27  Mark Wielaard  <mark@klomp.org>
6621
6622         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
6623         when argument is null.
6624
6625 2004-06-26  Mark Wielaard  <mark@klomp.org>
6626
6627         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6628         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
6629         GetMethodID call.
6630         (cancel_clicked): Likewise.
6631
6632 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
6633
6634         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6635         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
6636         can not calculate the right value.
6637         (dpi_changed_cb): Likewise. Mark *pspec as unused.
6638
6639 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
6640
6641         * testsuite/libjava.jacks/jacks.xfail: Remove
6642         15.9.1-qualified-concrete-20.
6643
6644 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
6645
6646         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
6647         encoding name to iconv.
6648         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
6649
6650 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
6651
6652         PR libgcj/16134:
6653         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
6654         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
6655         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
6656
6657 2004-06-21  Andrew Haley  <aph@redhat.com>
6658
6659         * java/io/ObjectOutputStream.java: Add DEBUG statements
6660         everywhere.
6661         (dumpElementln): New method.
6662         (depth): New field.
6663         * java/io/ObjectInputStream.java
6664         (currentClassLoader): Make native.
6665         (callersClassLoader): New field.
6666         (depth): New field.
6667         (readObject): ENDBLOCKDATA is generated if the class has a write
6668         method, not if it has a read method.
6669         (readObject): Save and restore this.currentObject and
6670         this.currentObjectStreamClass around calls to callReadMethod().
6671         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
6672         method.
6673
6674 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
6675
6676         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
6677         darwin.
6678
6679 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
6680
6681         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
6682         if desired, before the default class loader is initialised.
6683         Call INIT_SEGV only if HANDLE_SEGV is defined.
6684
6685 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
6686
6687         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
6688         directory only if it actually exists.
6689
6690 2004-06-18  Graydon Hoare  <graydon@redhat.com>
6691
6692         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6693         Fix up non-ansi comments.
6694
6695 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
6696
6697         * javax/swing/text/AbstractDocument.java: Adding missing import
6698         for javax.swing.event.EventListenerList.
6699         * javax/swing/text/DefaultCaret.java: Likewise.
6700
6701 2004-06-17  Michael Koch  <konqueror@gmx.de>
6702
6703         * javax/swing/JToolBar.java
6704         (name): Removed.
6705         (JToolBar): Use Component.setName(String) instead of doing it all
6706         alone.
6707         * javax/swing/Timer.java
6708         (queueEvent): Added missing modifier.
6709
6710 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
6711
6712         * Makefile.am: Added new file.
6713         * Makefile.in: Re-generate.
6714         * javax/swing/JMenu.java:
6715         (insertSeparator): Implemented.
6716         * javax/swing/JPopupMenu.java:
6717         (JPopupMenu.Separator): Implemented.
6718         * javax/swing/MenuSelectionManager.java:
6719         (processMouseEvent): Use java.awt.Component 
6720         for event source instead of javax.swing.JComponent. 
6721         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
6722         New File. Implemented.
6723         
6724 2004-06-16  David Jee  <djee@redhat.com>
6725
6726         * java/awt/GridBagLayout.java
6727         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
6728         Make sure pos_x and pos_y are never negative.
6729
6730 2004-04-16  Andrew Overholt  <overholt@redhat.com>
6731
6732         * Makefile.am: Add new file.
6733         * Makefile.in: Re-generate.     
6734         * javax/swing/JToolBar.java
6735         Partially implemented.
6736         * javax/swing/plaf/basic/BasicToolBarUI.java
6737         New file. Partially implemented.
6738
6739 2004-06-16  Graydon Hoare  <graydon@redhat.com>
6740
6741         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
6742         (setComposite): Accept AlphaComposite arguments.
6743         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
6744         (createBufferedImage): Add new overloads.
6745         * gnu/java/awt/peer/gtk/GtkToolkit.java
6746         (createImage): Use GdkPixbufDecoder.createBufferedImage
6747         when useGraphics2D() is true.
6748         (getImage): Delegate to createImage.
6749         * javax/swing/JList.java
6750         (isSelectionEmpty):
6751         (getFirstVisibleIndex):
6752         (getLastVisibleIndex):
6753         (setSelectedValue):
6754         (ensureIndexIsVisible): New methods.
6755         * javax/swing/Timer.java: Reimplement.
6756
6757 2004-06-16  Michael Koch  <konqueror@gmx.de>
6758
6759         * javax/swing/text/AbstractDocument.java
6760         (AbstracElement): Made public, implements java.io.Serializable.
6761         (AttributeContext): Made public.
6762         (BranchElement): Likewise.
6763         (Content): Likewise.
6764         (DefaultDocumentEvent): Made public, extends
6765         javax.swing.undo.CompoundEdit.
6766         (ElementEdit): Made public, extends
6767         javax.swing.undo.AbstractUndoableEdit.
6768         (LeafElement): Made public.
6769         (LeafElement.LeafElement): Made public.
6770
6771 2004-06-16  Michael Koch  <konqueror@gmx.de>
6772
6773         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
6774         methods (that were obviously never be intended to get included hi this
6775         class. Added some methods too.
6776
6777 2004-06-16  Michael Koch  <konqueror@gmx.de>
6778
6779         * javax/swing/text/PlainDocument.java
6780         (serialVersionUID): New constant.
6781         (lineLimitAttribute): Likewise.
6782         (tabSizeAttribute): Likewise.
6783         (tabSize): New field.
6784         (PlainDocument): Made public.
6785         (PlainDocument): New constructor.
6786
6787 2004-06-16  Michael Koch  <konqueror@gmx.de>
6788
6789         * javax/swing/text/AbstractDocument.java
6790         (insertString): Throws BadLocationException.
6791         * javax/swing/text/Document.java
6792         (insertString): Likewise.
6793         * javax/swing/text/JTextComponent.java:
6794         Javadocs and comments cleaned up.
6795
6796 2004-06-16  Michael Koch  <konqueror@gmx.de>
6797
6798         * javax/swing/event/UndoableEditListener.java: Reformatted.
6799         * javax/swing/text/AbstractDocument.java
6800         (AbstractDocument): Implements java.io.Serializable.
6801         (doc_list): Removed.
6802         (undo_list): Removed.
6803         (AbstractElement.serialVerionUID): New field.
6804         (BranchElement.serialVerionUID): Likewise.
6805         (DefaultDocumentEvent.serialVerionUID): Likewise.
6806         (ElementEdit.serialVerionUID): Likewise.
6807         (LeafElement.serialVerionUID): Likewise.
6808         (serialVerionUID): Likewise.
6809         (BAD_LOCATION): New constant.
6810         (BidiElementName): Likewise.
6811         (ContentElementName): Likewise.
6812         (ParagraphElementName): Likewise.
6813         (SectionElementName): Likewise.
6814         (ElementNameAttribute): Likewise.
6815         (AbstractDocument): Made protected.
6816         (AbstractDocument): New construtor.
6817         (listenerList): New field.
6818         (fireChangedUpdate): Implemented.
6819         (fireInsertUpdate): Likewise.
6820         (fireRemoveUpdate): Likewise.
6821         (fireUndoableEditUpdate): Likewise.
6822         (getListeners): Likewise.
6823         (addDocumentListener): Likewise.
6824         (removeDocumentListener): Likewise.
6825         (addUndoableEditListener): Likewise.
6826         (removeUndoableEditListener): Likewise.
6827         (getDocumentListeners): New method.
6828         (getUndoableEditListeners): Likewise.
6829         (getAsynchronousLoadPriority): Made public.
6830         (getBidiRootElement): Likewise.
6831         (setAsynchronousLoadPriority): Likewise.
6832         (setDocumentProperties): Likewise.
6833         * javax/swing/text/BadLocationException.java
6834         (serialVerionUID): New field.
6835         * javax/swing/text/DefaultCaret.java
6836         (changeEvent): New field.
6837         (listenerList): Likewise.
6838         (changes): Removed.
6839         (addChangeListener): Reimplemented.
6840         (removeChangeListener): Likewise.
6841         (getListeners): New method.
6842         (getChangeListeners): Likwise.
6843         (getComponent): Likewise.
6844         * javax/swing/text/GapContent.java
6845         (GapContent): Implements java.io.Serializable.
6846         (serialVerionUID): New field.
6847
6848 2004-06-16  Michael Koch  <konqueror@gmx.de>
6849
6850         * javax/swing/JTree.java
6851         (treeModel): New field.
6852         (JTree): New constructors, one existing one made public.
6853         (createTreeModel): New method.
6854         (addTreeExpansionListener): Likewise.
6855         (removeTreeExpansionListener): Likewise.
6856         (getTreeExpansionListeners): Likewise.
6857         (fireTreeCollapsed): Likewise.
6858         (fireTreeExpanded): Likewise.
6859         (addTreeSelectionListener): Likewise.
6860         (removeTreeSelectionListener): Likewise.
6861         (getTreeSelectionListeners): Likewise.
6862         (fireValueChanged): Likewise.
6863         (addTreeWillExpandListener): Likewise.
6864         (removeTreeWillExpandListener): Likewise.
6865         (getTreeWillExpandListeners): Likewise.
6866         (fireTreeWillCollapse): Likewise.
6867         (fireTreeWillExpand): Likewise.
6868
6869 2004-06-16  Michael Koch  <konqueror@gmx.de>
6870
6871         * javax/swing/JTree.java: Reformatted.
6872
6873 2004-06-16  Michael Koch  <konqueror@gmx.de>
6874
6875         * javax/swing/JTextArea.java: New file.
6876         * javax/swing/JTextField.java
6877         (actions): Removed.
6878         (notifyAction): New constant.
6879         (columns): New field.
6880         (JTextField): New constructors.
6881         (createDefaultModel): New method.
6882         (addActionListener): Reimplmemented.
6883         (removeActionListener): Reimplemented.
6884         (getActionListeners): New method.
6885         (fireActionPerformed): New method.
6886         (getColumns): New method.
6887         (setColumne): New method.
6888         * javax/swing/text/JTextComponent.java
6889         (AccessibleJTextComponent.serialVersionUID): New field.
6890         (serialVersionUID): Likewise.
6891         (DEFAULT_KEYMAP): Likewise.
6892         (FOCUS_ACCELERATOR_KEY): Likewise.
6893         (doc): Made private.
6894         (icon_gap): Likewise.
6895         (icon): Likewise.
6896         (align): Likewise.
6897         (JTextComponent): Some constructors removed.
6898         (getScrollableTracksViewportHeight): New method.
6899         (getScrollableTracksViewportWidth): Likewise.
6900         * Makefile.am: Added javax/swing/JTextArea.java.
6901         * Makefile.in: Regenerated.
6902
6903 2004-06-15  Graydon Hoare  <graydon@redhat.com>
6904
6905         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
6906         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
6907         * javax/swing/JViewport.java 
6908         (getExtentSize): Return size rather than preferred size.
6909         (toViewCoordinates): New methods.
6910         (getViewSize): Return size rather than preferred size.
6911         (setViewSize): Note view size as set.
6912         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
6913         * javax/swing/plaf/basic/BasicScrollBarUI.java 
6914         (getPreferredSize): Don't redo layout.
6915         * javax/swing/plaf/basic/BasicViewportUI.java 
6916         (paint): Translate image properly and eat exceptions.
6917
6918 2004-06-15  Kim Ho  <kho@redhat.com>
6919
6920         * javax/swing/JTabbedPane.java
6921         (setComponent): Remove old component and
6922         add new component.
6923         (setSelectedIndex): Don't operate on the 
6924         components if they're null. Don't set index
6925         on the model if the index is the same.
6926         (insertTab): Don't add or hide the component
6927         if it's null. Repaint the container.
6928         * javax/swing/plaf/basic/BasicLookAndFeel.java
6929         Change colors for TabbedPane.
6930         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6931         (mousePressed): Re-layout and paint the component.
6932         (layoutContainer): Don't set location on the view.
6933         (ScrollingViewport::paint): Remove.
6934
6935 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
6936
6937         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6938         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
6939
6940         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6941         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
6942         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
6943         critical region.
6944         (drawLine): Call gdk_flush before leaving GDK critical region.
6945         (fillRect): Likewise.
6946         (drawRect): Likewise.
6947         (copyArea): Likewise.
6948         (copyPixmap): Likewise.
6949         (clearRect): Likewise.
6950         (drawArc): Likewise.
6951         (drawPolyline): Likewise.
6952         (drawPolygon): Likewise.
6953         (fillPolygon): Likewise.
6954         (fillArc): Likewise.
6955         (drawOval): Likewise.
6956         (fillOval): Likewise.
6957
6958         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
6959         style parameter.
6960         (GdkFontMetrics): Add style argument to initState call.
6961         (stringWidth(String,int,int,String)): Add style parameter.
6962         (stringWidth(String)): Add style argument to stringWidth call.
6963         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
6964         (initState): Set pango font style and weight based on AWT style
6965         parameter.  Pass default GTK language to
6966         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
6967         simply dividing by PANGO_SCALE.
6968         (stringWidth): Set pango font style and weight based on AWT style
6969         parameter.
6970
6971         * java/awt/Button.java (next_button_number): New field.
6972         (paramString): Change output.
6973         (generateName): New method.
6974         (getUniqueLong): New method.
6975
6976 2004-06-14  Kim Ho  <kho@redhat.com>
6977
6978         * javax/swing/JTabbedPane.java:
6979         (setComponentAt): Set the component, not
6980         the enabled status.
6981         * javax/swing/plaf/basic/BasicDesktopIconUI.java
6982         (actionPerformed): Let deiconize catch exception.
6983
6984 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
6985
6986         * javax/swing/JPopupMenu.java:
6987         (setVisible): Corrected location of a 
6988         heavyweight popup menu.
6989
6990 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
6991
6992         * javax/swing/MenuSelectionManager.java: 
6993         Ran through jalopy to fix formatting style.
6994
6995 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
6996         
6997         * javax/swing/JLayeredPane.java: 
6998         (remove): Revalidate and repaint layered pane after
6999         the component was removed.
7000         javax/swing/JMenu.java:
7001         (setVisible): Display popup menu at the user location,
7002         if one was set by the user.
7003         (setMenuLocation): Reimplemented. Fixed javadoc.
7004         * javax/swing/JMenuBar.java: Added javadoc.
7005         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
7006         (MODEL_CHANGED_PROPERTY): New Property.
7007         (isSelected): Implemented.
7008         (setBorderPainted): Fire PropertyChangeEvent
7009         if paintBorder property changes.
7010         (setSelected): Implemented.
7011         (setSelectionModel): Implemented.
7012         * javax/swing/JPopupMenu.java: Added Javadoc
7013         (pack): Implemented.
7014         (setVisible): Reimplemented.
7015         (show): Fixed location.
7016         (JPopupMenu.LigthWeightPopup): Reimplemented to use
7017         Container instead of JPanel.
7018         * javax/swing/MenuSelectionManager.java: Added Javadocs.
7019         (clearSelectedPath): Reimplemented to clear selectedPath
7020         in reverse order.
7021         (processMouseEvent): Reimplemented.
7022         (setSelectedPath): Fire stateChange event indicating that
7023         selected menu path has changed.
7024         (getPath): Change to use ArrayList instead of Vector.
7025         * javax/swing/plaf/basic/BasicMenuBarUI.java:
7026         (installUI): call installKeyboardActions().
7027         (uninstallUI): call uninstallKeyboardActions().
7028
7029 2004-06-13  Michael Koch  <konqueror@gmx.de>
7030
7031         * javax/swing/text/DefaultCaret.java,
7032         javax/swing/text/BadLocationException.java:
7033         Reformatted.
7034
7035 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
7036
7037         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
7038         DEFAULT_COLS): New variables.
7039         (create): Don't allow 0 rows or 0 columns.  Instead, set the
7040         values to DEFAULT_ROWS or DEFAULT_COLS.
7041         (getMinimumSize): Likewise.
7042         (getPreferredSize): Likewise.
7043         (minimumSize): Likewise.
7044         (preferredSize): Likewise.
7045         (create): Set peer's editable state.
7046         * java/awt/TextArea.java (TextArea()): Set rows and columns to
7047         zero.  Update javadocs.
7048         (TextArea(String)): Likewise.
7049         (TextArea(int,int)): Fix javadocs.
7050         (TextArea(String,int,int,int)): Only throw exception if one of
7051         rows or columns is zero.  Fix javadocs.
7052
7053 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
7054
7055         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
7056         addition to Components.
7057
7058         * java/awt/MenuItem.java (dispatchEventImpl): If the event
7059         wasn't consumed by normal processing, send it to the parent
7060         menu.
7061
7062         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7063         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
7064         translation.
7065
7066 2004-06-11  David Jee  <djee@redhat.com>
7067
7068         * java/awt/MediaTracker.java
7069         (addImage(Image,int)): Call imageUpdate() to udpate image status.
7070         (addImage(Image,int,int,int)): Likewise.
7071
7072 2004-06-11  Michael Koch  <konqueror@gmx.de>
7073
7074         * javax/swing/text/AbstractDocument.java,
7075         javax/swing/text/Document.java,
7076         javax/swing/text/GapContent.java,
7077         javax/swing/text/JTextComponent.java,
7078         javax/swing/text/PlainDocument.java:
7079         Reformatted.
7080
7081 2004-06-11  Michael Koch  <konqueror@gmx.de>
7082
7083         * javax/swing/JRootPane.java
7084         (AccessibleJRootPane.serialVersionUID): New field.
7085         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
7086         (AccessibleJRootPane.getAccessibleRole): New method.
7087         (RootLayout): Implements Serializable.
7088         (RootLayout.serialVersionUID): New field.
7089         (RootLayout.RootLayout): New constructor.
7090         (setJMenuBar): Made public.
7091         (getJMenuBar): Likewise.
7092         (JRootPane): Likewise.
7093         (createContentPane): Likewise.
7094         (createGlassPane): Likewise.
7095         (createLayeredPane): Likewise.
7096
7097 2004-06-11  Michael Koch  <konqueror@gmx.de>
7098
7099         * javax/swing/SwingUtilities.java
7100         (isLeftMouseButton): Fixed javadoc.
7101         (isMiddleMouseButton): Likewise.
7102         (isRightMouseButton): Likewise.
7103
7104 2004-06-11  Michael Koch  <konqueror@gmx.de>
7105
7106         * javax/swing/JScrollPane.java
7107         (serialVersionUID): New field.
7108         (columnHeader): Made protected.
7109         (rowHeader): Likewise.
7110         (lowerLeft): Likewise.
7111         (lowerRight): Likewise.
7112         (upperLeft): Likewise.
7113         (upperRight): Likewise.
7114         (horizontalScrollBar): Likewise.
7115         (horizontalScrollBarPolicy): Likewise.
7116         (verticalScrollBar): Likewise.
7117         (verticalScrollBarPolicy): Likewise.
7118         (viewport): Likewise.
7119
7120 2004-06-11  Michael Koch  <konqueror@gmx.de>
7121
7122         * javax/swing/LookAndFeel.java: Fixed javadocs.
7123
7124 2004-06-11  Michael Koch  <konqueror@gmx.de>
7125
7126         * javax/swing/JEditorPane.java: Fixed javadocs.
7127         (JEditorPane): Removed redundant call to to this().
7128         (fireHyperlinkUpdate): Implemented.
7129
7130 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
7131
7132         * javax/swing/JMenu.java: Fixed file name 
7133         in the file comment.
7134
7135 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
7136
7137         * javax/swing/JMenu.java: Added javadoc.
7138         (JMenu): Added MenuChangeListener to listen to 
7139         ChangeEvents occuring in menu's model. 
7140         (insert): Throw IllegalArgumentException if 
7141         index is less than 0
7142         (setSelected): Reimplement.
7143         (setPopupMenuVisible): Call menu's model isEnabled()
7144         (setDelay): Throw IllegalArgumentException if 
7145         given amount of delay is less than 0.
7146         (createActionComponent): Implemented.
7147         (createActionChangeListener): Implemented.
7148         (addSeparator): Implemented.
7149         (getItem): Throw IllegalArgumentException if index is 
7150         less than 0.
7151         (getItemCount): Implemented.
7152         (fireMenuSelected): Changed to use menuEvent.
7153         (fireMenuDeselected): Likewise.
7154         (fireMenuCanceled): Likewise.
7155         (setAccelerator): Changed to throw an error if this 
7156         method is used. 
7157         (doClick): Implemented.
7158         (JMenu.ActionChangedListener): New inner class to handle
7159         PropertyChangeEvents occuring in the actions associated with menu.
7160         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
7161         (BasicMenuUI): Added PropertyChangeListener to the menu.
7162         (createChangeListener): Implemented.
7163         (createMenuDragMouseListener): Likewise.
7164         (createMenuKeyListener): Likewise.
7165         (createPropertyChangeListener): Likewise.
7166         (uninstallListeners): Likewise.
7167         (BasicMenuUI.MouseInputHandler): Reimplemented.
7168         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
7169         (BasicMenuUI.ChangeHandler): Likewise.
7170         (BasicMenuUI.MenuDragMouseHandler): Likewise.
7171         (BasicMenuUI.MenuKeyHandler): Likewise.
7172
7173 2004-06-10  David Jee  <djee@redhat.com>
7174
7175         * java/awt/MediaTracker.java
7176         (imageUpdate): Only do notifyAll() if the image is complete.
7177
7178 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
7179
7180         * javax/swing/JApplet.java:
7181         (getJMenuBar): Made public.
7182         (setJMenuBar): Likewise.
7183         * javax/swing/JFrame.java:
7184         (getJMenuBar): Made public.
7185         (setJMenuBar): Likewise.
7186         * javax/swing/JWindow.java:
7187         (getJMenuBar): Removed.
7188         (setJMenuBar): Removed.
7189
7190 2004-06-10  Michael Koch  <konqueror@gmx.de>
7191
7192         * javax/swing/JEditorPane.java
7193         (createEditorKitForContentType): Fixed visibility.
7194         (fireHyperlinkUpdate): Likewise.
7195         (getContentType): Likewise.
7196         (getEditorKit): Likewise.
7197         (getEditorKitForContentType): Likewise.
7198         (getPage): Likewise.
7199         (read): Likewise.
7200         (registerEditorKitForContentTyoe): Likewise.
7201         (replaceSelection): Likewise.
7202         (setContentType): Likewise.
7203         (setEditorKit): Likewise.
7204         (setPage): Likewise.
7205
7206 2004-06-10  Michael Koch  <konqueror@gmx.de>
7207
7208         * javax/swing/Timer.java
7209         (Timer): New constructor.
7210         * javax/swing/plaf/basic/BasicProgressBarUI.java
7211         (animationTimer): Don't initialize at construction.
7212         (startAnimationTimer): Added since tag.
7213         (stopAnimationTimer): Likewise.
7214         (installUI): Use new Timer constructor.
7215         * javax/swing/plaf/basic/BasicScrollBarUI.java
7216         (installUI): Likewise.
7217         * javax/swing/plaf/basic/BasicSliderUI.java
7218         (installUI): Likewise.
7219
7220 2004-06-10  Michael Koch  <konqueror@gmx.de>
7221
7222         * javax/swing/ButtonGroup.java
7223         (serialVersionUID): Made private.
7224         (buttons): Renamed from v, added javadoc.
7225         (sel): Added javadoc.
7226         (ButtonGroup): Likewise.
7227         (add): Likewise.
7228         (remove): Likewise.
7229         (getElements): Likewise.
7230         (getSelection): Likewise.
7231         (setSelected): Likewise.
7232         (isSelected): Likewise.
7233         (getButtonCount): Likewise.
7234
7235 2004-06-10  Michael Koch  <konqueror@gmx.de>
7236
7237         * javax/swing/ButtonGroup.java,
7238         javax/swing/ImageIcon.java,
7239         javax/swing/JEditorPane.java,
7240         javax/swing/JRootPane.java,
7241         javax/swing/JTextField.java,
7242         javax/swing/LookAndFeel.java,
7243         javax/swing/plaf/basic/BasicTextUI.java:
7244         Reindented.
7245
7246 2004-06-10  Michael Koch  <konqueror@gmx.de>
7247
7248         * javax/swing/text/Style.java: Added javadocs.
7249
7250 2004-06-10  Michael Koch  <konqueror@gmx.de>
7251
7252         * javax/swing/JComponent.java
7253         (fireVetoableChange): Removed redundant cast.
7254         * javax/swing/JLabel.java
7255         (getDisabledIcon): Save icon for next call.
7256
7257 2004-06-10  Michael Koch  <konqueror@gmx.de>
7258
7259         * javax/swing/KeyStroke.java
7260         (getKeyStroke(char,boolean)): Marked deprecated.
7261
7262 2004-06-10  Michael Koch  <konqueror@gmx.de>
7263
7264         * javax/swing/DefaultCellEditor.java,
7265         javax/swing/GrayFilter.java,
7266         javax/swing/event/DocumentEvent.java,
7267         javax/swing/text/JTextComponent.java,
7268         javax/swing/text/MutableAttributeSet.java:
7269         Reindented.
7270
7271 2004-06-10  Michael Koch  <konqueror@gmx.de>
7272
7273         * javax/swing/plaf/BorderUIResource.java:
7274         Added serialVersionUID all over.
7275
7276 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
7277
7278         * javax/swing/undo/UndoManager.java: Re-written from scratch.
7279
7280 2004-06-10  Michael Koch  <konqueror@gmx.de>
7281
7282         * javax/swing/table/DefaultTableCellRenderer.java
7283         (noFocusBorder): Initialize directly.
7284
7285 2004-06-10  Michael Koch  <konqueror@gmx.de>
7286
7287         * javax/swing/plaf/basic/BasicArrowButton.java
7288         (setDirection): Use method argument.
7289
7290 2004-06-10  Michael Koch  <konqueror@gmx.de>
7291
7292         * javax/swing/plaf/BorderUIResource.java,
7293         javax/swing/plaf/ComponentUI.java,
7294         javax/swing/undo/CompoundEdit.java,
7295         javax/swing/undo/StateEdit.java:
7296         Fixed javadocs all over.
7297
7298 2004-06-10  Michael Koch  <konqueror@gmx.de>
7299
7300         * javax/swing/DefaultButtonModel.java
7301         (ARMED): Made public final, fixed value.
7302         (ENABLED): Likewise.
7303         (PRESSED): Likewise.
7304         (ROLLOVER): Likewise.
7305         (SELECTED): Likewise.
7306         (stateMask): Initialize directly.
7307         (listenerList): Likewise.
7308         (mnemonic): Likewise.
7309         (fireStateChanged): Removed argument, use changeEvent as event.
7310         All places where this method is called are fixed too.
7311         (getActionCommant): Fixed javadoc.
7312         (setGroup): Fixed javadoc.
7313         (getGroup): New method.
7314
7315 2004-06-09  Olga Rodimina <rodimina@redhat.com>
7316
7317         * javax/swing/AbstractButton.java
7318         (AbstractButton): Use init() to initialize the button.
7319         (init): New Method. Initializes AbstractButton.
7320         * javax/swing/JMenuItem.java: Documented.
7321         (JMenuItem): Reimplemented.
7322         (init): Implemented.
7323         (setEnabled): Changed to call super.setEnabled()
7324         (processMouseEvent): Reimplemented.
7325         (fireMenuKeyPressed): Implemented.
7326         (fireMenuKeyReleased): Implemented.
7327         (fireMenuKeyTyped): Implemented.
7328         (menuSelectionChanged): disarm the model if the menu item was
7329         deselected.
7330         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
7331         (getPath): Change to use ArrayList instead of Vector.
7332         (getPreferredSize): Renamed variable.
7333         (paintMenuItem): Paint margin area of menu item.
7334         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
7335         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
7336         menu item's bounds before clearing the selection.       
7337
7338 2004-06-09  David Jee  <djee@redhat.com>
7339
7340         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
7341         (GtkTextComponentPeer): Set caret position to 0.
7342         * java/awt/TextComponent.java
7343         (setText): Set caret position to 0.
7344         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7345         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
7346         Handle GtkScrolledWindow separately. Fix signal handler blocking.
7347         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
7348         Likewise.
7349         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7350         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
7351         visible.
7352
7353 2004-06-09  Kim Ho  <kho@redhat.com>
7354
7355         * Makefile.am: New files
7356         * Makefile.in: Regenerated
7357         * java/awt/Container.java
7358         (getComponentAt): Removed.
7359         * javax/swing/AbstractAction.java
7360         (ENABLED_PROPERTY): New property.
7361         (putValue): Fire PropertyChangeEvents.
7362         (setEnabled): ditto.
7363         (firePropertyChange): Javadoc and implement
7364         convenience method.
7365         * javax/swing/AbstractButton.java
7366         (setAction): Don't create PropertyChangeListener
7367         if new Action is null.
7368         (setIcon): Don't set icon till after comparing
7369         it.
7370         (configurePropertiesFromAction): Check mnemonic
7371         key before calling intValue().
7372         (createActionPropertyChangeListener): Check
7373         properties rather than bulk change.
7374         * javax/swing/DefaultDesktopManager.java:
7375         Implement.
7376         * javax/swing/DesktopManager.java:
7377         Jalopy and javadoc.
7378         * javax/swing/JComponent.java
7379         (fireVetoableChange): Implement.
7380         (paintImmediately): Use root component.
7381         * javax/swing/JDesktopPane.java: Implement
7382         * javax/swing/JInternalFrame.java: Implement
7383         * javax/swing/JLabel.java
7384         (getDisabledIcon): Return grayscaled icon if
7385         no disabled icon specified.
7386         * javax/swing/JMenuBar.java
7387         (getComponentAtIndex): Use getComponent
7388         * javax/swing/JOptionPane.java
7389         (getDesktopPaneForComponent): Use SwingUtilities'
7390         getAncestorOfClass
7391         (getFrameForComponent): ditto.
7392         * javax/swing/JSplitPane.java
7393         (remove): Use getComponent.
7394         * javax/swing/SwingUtilities.java
7395         (convertPoint): Implement.
7396         * javax/swing/plaf/basic/BasicButtonUI.java
7397         (paintButtonNormal): Check opaqueness before
7398         filling background.
7399         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
7400         Implement
7401         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
7402         Implement.
7403         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
7404         Implement.
7405         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
7406         Implement.
7407         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7408         Change InternalFrame and Desktop colors.
7409
7410 2004-06-09  David Jee  <djee@redhat.com>
7411
7412         * java/awt/Container.java
7413         (remove): Do not set component to invisible.
7414
7415 2004-06-09  Michael Koch  <konqueror@gmx.de>
7416
7417         * javax/swing/tree/DefaultMutableTreeNode.java
7418         (getLeafCount): Renamed enum to e.
7419
7420 2004-06-09  Michael Koch  <konqueror@gmx.de>
7421
7422         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
7423         (positionForMouseEvent): Removed redundant semicolon.
7424         (continueDrag): Use method arguments.
7425
7426 2004-06-09  Michael Koch  <konqueror@gmx.de>
7427
7428         * javax/swing/border/TitledBorder.java,
7429         javax/swing/filechooser/FileSystemView.java,
7430         javax/swing/plaf/basic/BasicButtonListener.java,
7431         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7432         javax/swing/plaf/basic/BasicLabelUI.java,
7433         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7434         javax/swing/plaf/basic/BasicScrollBarUI.java,
7435         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7436         javax/swing/plaf/basic/BasicSliderUI.java,
7437         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7438         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7439         javax/swing/table/JTableHeader.java,
7440         javax/swing/text/AbstractDocument.java,
7441         javax/swing/text/DefaultCaret.java,
7442         javax/swing/text/StyledEditorKit.java,
7443         javax/swing/tree/DefaultTreeCellEditor.java:
7444         Reworked import statements.
7445
7446 2004-06-08  Graydon Hoare  <graydon@redhat.com>
7447
7448         * javax/swing/Box.java: Temporarily comment out code
7449         broken due to visibility bug.
7450
7451 2004-06-09  Michael Koch  <konqueror@gmx.de>
7452
7453         * javax/swing/ImageIcon.java
7454         (ImageIcon): Added missing constructor.
7455
7456 2004-06-08  Michael Koch  <konqueror@gmx.de>
7457
7458         * javax/swing/JToggleButton.java
7459         (JToggleButton): New constructor.
7460         (getAccessibleContext): Moved documentation into javadoc.
7461         (getUIClassID): Likewise.
7462
7463 2004-06-08  Michael Koch  <konqueror@gmx.de>
7464
7465         * javax/swing/AbstractButton.java
7466         (getDisabledIcon): Create disabled icon if none exists yet.
7467
7468 2004-06-08  Michael Koch  <konqueror@gmx.de>
7469
7470         * javax/swing/plaf/basic/BasicLookAndFeel.java
7471         (initClassDefaults): Added FormattedTextFieldUI.
7472         (loadResourceBundle): Renamed enum to e.
7473
7474 2004-06-08  Michael Koch  <konqueror@gmx.de>
7475
7476         * javax/swing/plaf/basic/BasicButtonUI.java
7477         (paintIcon): Simplified.
7478         (paintText): Paint disabled button correctly.
7479
7480 2004-06-08  Michael Koch  <konqueror@gmx.de>
7481
7482         * javax/swing/JComponent.java
7483         (createToolTip): Use official JToolTip API.
7484
7485 2004-06-08  Michael Koch  <konqueror@gmx.de>
7486
7487         * javax/swing/JToolTip.java
7488         (JToolTip): No arguments in API.
7489         (setTipText): New method.
7490
7491 2004-06-08  Michael Koch  <konqueror@gmx.de>
7492
7493         * javax/swing/SwingUtilities.java
7494         (isLeftMouseButton): New method.
7495         (isMiddleMouseButton): New method.
7496         (isRightMouseButton): New method.
7497
7498 2004-06-08  Michael Koch  <konqueror@gmx.de>
7499
7500         * javax/swing/AbstractButton.java,
7501         javax/swing/CellRendererPane.java,
7502         javax/swing/JCheckBoxMenuItem.java,
7503         javax/swing/JColorChooser.java,
7504         javax/swing/JComboBox.java,
7505         javax/swing/JComponent.java,
7506         javax/swing/JDesktopPane.java,
7507         javax/swing/JFileChooser.java,
7508         javax/swing/JMenu.java,
7509         javax/swing/JMenuItem.java,
7510         javax/swing/JOptionPane.java,
7511         javax/swing/JPasswordField.java,
7512         javax/swing/JPopupMenu.java,
7513         javax/swing/JProgressBar.java,
7514         javax/swing/JRadioButtonMenuItem.java,
7515         javax/swing/JScrollBar.java,
7516         javax/swing/JSeparator.java,
7517         javax/swing/JSlider.java,
7518         javax/swing/JSplitPane.java,
7519         javax/swing/JTabbedPane.java,
7520         javax/swing/JTextField.java,
7521         javax/swing/JToolBar.java,
7522         javax/swing/text/JTextComponent.java:
7523         Fixed all constructors of accessibility classes.
7524
7525 2004-06-08  Michael Koch  <konqueror@gmx.de>
7526
7527         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
7528         over.
7529
7530 2004-06-08  Michael Koch  <konqueror@gmx.de>
7531
7532         * javax/swing/Box.java
7533         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
7534         (AccessibleBoxFiller.serialVersionUID): New member variable.
7535         * javax/swing/DefaultButtonModel.java
7536         (stateMask): Made protected.
7537         (listenerList): Likewise.
7538         (changeEvent): Likewise.
7539         (group): Likewise.
7540         (mnemonic): Likewise.
7541         (actionCommand): Likewise.
7542         (getListeners): New method.
7543         (getActionListeners): New method.
7544         (getItemListeners): New method.
7545         (getChangeListeners): New method.
7546         (fireItemStateChanged): Simplified.
7547         (fireActionPerformed): Simplified.
7548         (fireStateChanged): Simplified.
7549         * javax/swing/JFrame.java
7550         (JFrame): Implements WindowContants.
7551         (HIDE_ON_CLOSE): Removed.
7552         (EXIT_ON_CLOSE): Removed.
7553         (DISPOSE_ON_CLOSE): Removed.
7554         (DO_NOTHING_ON_CLOSE): Removed.
7555         (processWindowEvent): Exit with code 0.
7556         (setDefaultCloseOperation): Do security check before setting value.
7557         * javax/swing/JOptionPane.java
7558         (message): Initialize only in constructor.
7559         * javax/swing/JToolTip.java: Removed unused imports.
7560         * javax/swing/JViewport.java
7561         (serialVersionUID): New member variable.
7562         (SIMPLE_SCROLL_MODE): Made final, fixed value.
7563         (BLIT_SCROLL_MODE): Likewise.
7564         (BACKINGSTORE_SCROLL_MODE): Likewise.
7565         (scrollUnderway): Made protected.
7566         (isViewSizeSet): Likewise.
7567         * javax/swing/ListModel.java: Fixed javadoc.
7568         * javax/swing/Popup.java: Likewise.
7569         * javax/swing/RepaintManager.java
7570         (paintDirtyRegions): Don't use internal classes of
7571         java.util.AbstractMap.
7572         * javax/swing/ScrollPaneConstants.java: Reindented.
7573         * javax/swing/ScrollPaneLayout.java
7574         (viewport): Made protected.
7575         (verticalScrollBar): Made protected, renamed to vsb.
7576         (horizontalScrollBar): Made protected, renamed to hsb.
7577         (rowHeader): Made protected, renamed to rowHead.
7578         (columnHeader): Made protected, renamed to colHead.
7579         (lowerLeft): Made protected.
7580         (lowerRight): Made protected.
7581         (upperLeft): Made protected.
7582         (upperRight): Made protected.
7583         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
7584         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
7585
7586 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
7587
7588         * java/awt/MediaTracker.java (imageUpdate): Only set status to
7589         LOADING if flags has SOMEBITS set.
7590
7591 2004-06-07  Michael Koch  <konqueror@gmx.de>
7592
7593         * javax/swing/AbstractButton.java: Reorganized imports.
7594         * javax/swing/ActionMap.java: Likewise.
7595         * javax/swing/DefaultButtonModel.java: Likewise.
7596         * javax/swing/DefaultListModel.java: Likewise.
7597         * javax/swing/ImageIcon.java: Likewise.
7598         (serialVersionUID): New member variable.
7599         * javax/swing/JComboBox.java: Reorganized imports.
7600         * javax/swing/JComponent.java: Likewise.
7601         (ui): Made protected.
7602         (listenerList): Made protected.
7603         (TOOL_TIP_TEXT_KEY): New constant.
7604         (scrollRectToVisible): Removed redundant null check.
7605         * javax/swing/JFrame.java: Reorganized imports.
7606         * javax/swing/JInternalFrame.java: Reorganized imports.
7607         * javax/swing/JProgressBar.java: Likewise.
7608         * javax/swing/JRootPane.java: Likewise.
7609         * javax/swing/JScrollBar.java: Likewise.
7610         * javax/swing/JSeparator.java: Likewise.
7611         * javax/swing/JSlider.java: Likewise.
7612         * javax/swing/JTabbedPane.java: Likewise.
7613         * javax/swing/JTextField.java: Likewise.
7614         * javax/swing/JToolBar.java: Likewise.
7615         * javax/swing/JTree.java: Likewise.
7616         * javax/swing/JViewport.java: Likewise.
7617         * javax/swing/JWindow.java: Likewise.
7618         * javax/swing/KeyStroke.java: Likewise.
7619         * javax/swing/LookAndFeel.java: Likewise.
7620         * javax/swing/MenuSelectionManager.java: Likewise.
7621         * javax/swing/SwingUtilities.java: Likewise.
7622         * javax/swing/Timer.java: Likewise.
7623         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
7624         * javax/swing/JList.java
7625         (HORIZONTAL_WRAP): Made final, fixed value.
7626         (VERTICAL): Likewise.
7627         (VERTICAL_WRAP): Likewise.
7628
7629 2004-06-07  Michael Koch  <konqueror@gmx.de>
7630
7631         * javax/swing/AbstractButton.java
7632         (serialVersionUID): New member variable.
7633         (AccessibleAbstractButton.serialVersionUID): Likewise.
7634         (AbstractButton): Made public.
7635         * javax/swing/Box.java
7636         (AccessibleBox.serialVersionUID): New member variable.
7637         (Filler.serialVersionUID): Likewise.
7638         * javax/swing/DefaultListSelectionModel.java
7639         (serialVersionUID): Likewise.
7640         * javax/swing/JApplet.java
7641         (serialVersionUID): Likewise.
7642         * javax/swing/JCheckBox.java
7643         (serialVersionUID): Likewise.
7644         * javax/swing/JCheckBoxMenuItem.java
7645         (serialVersionUID): Likewise.
7646         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
7647         * javax/swing/JColorChooser.java
7648         (serialVersionUID): Likewise.
7649         (AccessibleJColorChooser.serialVersionUID): Likewise.
7650         * javax/swing/JComponent.java
7651         (serialVersionUID): Made private.
7652         (AccessibleJComponent.serialVersionUID): New member variable.
7653         * javax/swing/JDesktopPane.java
7654         (serialVersionUID): Likewise.
7655         * javax/swing/JDialog.java
7656         (serialVersionUID): Likewise.
7657         * javax/swing/JFormattedTextField.java
7658         (serialVersionUID): Fixed value.
7659         * javax/swing/JFrame.java
7660         (serialVersionUID): New member variable.
7661         (getDefaultCloseOpertation): Made public.
7662         * javax/swing/JLayeredPane.java
7663         (serialVersionUID): Likewise.
7664         (LAYER_PROPERTY): Made final, fixed value.
7665         (JLayeredPane): Made public.
7666         * javax/swing/JMenu.java
7667         (AccessibleJMenu.serialVersionUID): New member variable.
7668         (WinListener.serialVersionUID): Likewise.
7669         * javax/swing/JMenuBar.java
7670         (serialVersionUID): Likewise.
7671         (getComponentAtIndex): Added @deprecated tag.
7672         * javax/swing/JMenuItem.java
7673         (serialVersionUID): New member variable.
7674         (AccessibleJMenuItem.serialVersionUID): Likewise.
7675         * javax/swing/JOptionPane.java
7676         (serialVersionUID): Likewise.
7677         (AccessibleJOptionPane.serialVersionUID): Likewise.
7678         * javax/swing/JPopupMenu.java
7679         (serialVersionUID): Likewise.
7680         (AccessibleJPopupMenu.serialVersionUID): Likewise.
7681         (getPopupMenuListeners): New method.
7682         (getComponentAtIndex): Added @deprecated tag.
7683         * javax/swing/JProgressBar.java
7684         (serialVersionUID): New member variable.
7685         (AccessibleJProgressBar.serialVersionUID): Likewise.
7686         * javax/swing/JRadioButton.java
7687         (serialVersionUID): Likewise.
7688         * javax/swing/JRadioButtonMenuItem.java
7689         (serialVersionUID): Likewise.
7690         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
7691         * javax/swing/JScrollBar.java
7692         (serialVersionUID): Likewise.
7693         (AccessibleJScrollBar.serialVersionUID): Likewise.
7694         * javax/swing/JSeparator.java
7695         (serialVersionUID): Likewise.
7696         (AccessibleJSeparator.serialVersionUID): Likewise.
7697         * javax/swing/JSlider.java: Fixed javadocs.
7698         (AccessibleJSlider.serialVersionUID): New member variable.
7699         * javax/swing/JSplitPane.java: Added copyright statement.
7700         (serialVersionUID): New member variable.
7701         (AccessibleJSplitPane.serialVersionUID): Likewise.
7702         * javax/swing/JTabbedPane.java
7703         (serialVersionUID): Likewise.
7704         (AccessibleJTabbedPane.serialVersionUID): Likewise.
7705         (ModelListener.serialVersionUID): Likewise.
7706         (ModelListener.ModelListener): New constructor.
7707         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
7708         (WRAP_TAB_LAYOUT): Likewise.
7709         * javax/swing/JTable.java
7710         (serialVersionUID): New member variable.
7711         * javax/swing/JToggleButton.java
7712         (serialVersionUID): Likewise.
7713         (ToggleButtonModel): Made static.
7714         (ToggleButtonModel.serialVersionUID): New member variable.
7715         * javax/swing/JToolTip.java
7716         (serialVersionUID): Likewise.
7717         * javax/swing/JTree.java
7718         (serialVersionUID): Likewise.
7719         * javax/swing/JWindow.java
7720         (serialVersionUID): Likewise.
7721         * javax/swing/Timer.java
7722         (serialVersionUID): Likewise.
7723
7724 2004-06-06  Michael Koch  <konqueror@gmx.de>
7725
7726         * javax/swing/SwingConstants.java
7727         (NEXT): New constant.
7728         (PREVIOUS): Likewise.
7729         * javax/swing/UIManager.java
7730         (LookAndFeel): Made public.
7731         (LookAndFeel.getClassName): Likewise.
7732         (LookAndFeel.getName): Likewise.
7733
7734 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
7735
7736         * javax/swing/JCheckBoxMenuItem.java:
7737         Removed CVS tags.
7738         * javax/swing/JMenu.java: Likewise.
7739         * javax/swing/JMenuBar.java: Likewise.
7740         * javax/swing/JMenuItem.java: Likewise.
7741         * javax/swing/JPopupMenu.java: Likewise.
7742         * javax/swing/JRadioButtonMenuItem.java: Likewise.
7743         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
7744         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
7745         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7746         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
7747         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
7748         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
7749
7750 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
7751         
7752         * javax/swing/plaf/basic/BasicMenuUI.java:
7753         (MouseEntered): Do not call getPath() from MenuSelectionManager.
7754         Call getPath() from super class instead.
7755
7756 2004-05-31  David Jee  <djee@redhat.com>
7757
7758         * java/awt/Container.java
7759         (remove): Set component visibility to false after removing it.
7760
7761 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
7762
7763         * java/awt/Component.java (getForeground): Return SystemColor if
7764         parent is null.
7765         (getBackground): Likewise.
7766
7767         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
7768         (item_highlighted): New function.
7769         (connectSignals): Set item_highlighted as list's select
7770         function.
7771
7772         * java/applet/Applet.java: Revert changes from 2004-04-29,
7773         2004-03-15 and 2004-03-14.
7774
7775         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
7776         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
7777         factor.
7778
7779         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
7780         "Dialog" as the default font.
7781         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
7782         Likewise.
7783         * java/awt/Component.java (getFont): Return "Dialog" font by
7784         default.
7785         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
7786         Multiply size argument to pango_font_description_set_size by the
7787         DPI conversion factor rather than by PANGO_SCALE.
7788         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
7789         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
7790         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
7791         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
7792         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7793         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
7794         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
7795         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
7796         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
7797         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
7798         Divide baseline y coordinate by DPI conversion factor rather
7799         than by PANGO_SCALE.
7800         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
7801         (area_prepared): Fix typo.
7802         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
7803         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
7804         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
7805         (dpi_conversion_factor): New global variable.
7806         (init_dpi_conversion_factor): New function to calculate and
7807         track DPI conversion factor.
7808         (dpi_changed_cb): New callback.
7809         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
7810
7811 2004-05-27  David Jee  <djee@redhat.com>
7812
7813         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7814         (getGraphics): Return a new GdkGraphics instance.
7815         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
7816         (getGraphics): Call super.getGraphics().
7817
7818 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
7819
7820         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7821         (setNativeBounds): Clamp width and height values to >= 0.
7822
7823         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7824         (find_fg_color_widget): Handle GtkOptionMenu specially.
7825
7826         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7827         (pre_event_handler): Only post configure events to visible
7828         top-level windows.
7829
7830 2004-05-26  David Jee  <djee@redhat.com>
7831
7832         * java/awt/BorderLayout.java
7833         (layoutContainer): Fix size calculations.
7834
7835 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
7836
7837         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7838         (window_wm_protocols_filter): Remove function.
7839         (create): Remove filter that removes WM_TAKE_FOCUS client
7840         messages.
7841
7842 2004-06-17  Anthony Green  <green@redhat.com>
7843
7844         * java/util/zip/ZipFile.java (getInputStream): Return null if
7845         entry not found.
7846
7847         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
7848         directory contents to the class path.
7849
7850 2004-06-15  Andrew Haley  <aph@redhat.com>
7851
7852         * java/lang/natSystem.cc (getenv0): Don't assume environment
7853         variable is Latin 1 coded.
7854
7855 2004-06-14  Andreas Jaeger  <aj@suse.de>
7856
7857         * configure.in: Support --enable-version-specific-runtime-libs.
7858         * configure: Regenerated.
7859
7860 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
7861
7862         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
7863         to pass ClassLoader argument.
7864         * java/util/GregorianCalendar.java: Likewise.
7865         * java/util/Currency.java: Likewise.
7866         * java/text/BreakIterator.java: Likewise.
7867         * java/text/Collator.java: Likewise.
7868         * java/text/DateFormat.java: Likewise.
7869         * java/text/DateFormatSymbols.java: Likewise.
7870         * java/text/DecimalFormatSymbols.java: Likewise.
7871         * java/text/NumberFormat.java: Likewise.
7872         * java/awt/Window.java: Likewise.
7873
7874 2004-06-14  Andrew Haley  <aph@redhat.com>
7875
7876         * java/lang/System.java: (getenv0): New method.
7877         (getenv): Add security check.  Do the right thing.
7878         * java/lang/natSystem.cc (getenv0): New method.
7879
7880 2004-06-12  Mark Wielaard  <mark@klomp.org>
7881
7882         * javax/swing/RepaintManager.java
7883         (paintDirtyRegions): Use entrySet(), not values().
7884
7885 2004-06-10  Mark Wielaard  <mark@klomp.org>
7886
7887         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
7888         NoSuchMethodError.
7889
7890 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
7891
7892         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
7893         when we already know the answer.
7894         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7895         (setStartRule,setEndRule): Don't take abs of day number.
7896         (getOffset): Clarify docs.  Add argument checks.
7897         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7898         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7899         endTimeMode.
7900
7901 2004-06-10  Tom Tromey  <tromey@redhat.com>
7902
7903         * interpret.cc (run): Handle wide fload.
7904
7905 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
7906
7907         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
7908
7909 2004-06-05  Michael Koch  <konqueror@gmx.de>
7910
7911         * javax/swing/SwingConstants.java
7912         (NEXT): New constant.
7913         (PREVIOUS): Likewise.
7914
7915 2004-06-05  Michael Koch  <konqueror@gmx.de>
7916
7917         * javax/swing/UIManager.java
7918         (LookAndFeel): Made public.
7919         (LookAndFeel.getName): Likewise.
7920         (LookAndFeel.getClassName): Likewise.
7921
7922 2004-06-03  Michael Koch  <konqueror@gmx.de>
7923
7924         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7925         (requestFocus): Revert last changes.
7926         (gtkRequestFocus): Removed.
7927         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7928         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
7929         Renamed to ...
7930         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
7931         Reverted last patch.
7932         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7933         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
7934         Reverted comment change.
7935
7936 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
7937
7938         * javax/swing/JCheckBoxMenuItem.java:
7939         Removed CVS tags.
7940         * javax/swing/JMenu.java: Likewise.
7941         * javax/swing/JMenuBar.java: Likewise.
7942         * javax/swing/JMenuItem.java: Likewise.
7943         * javax/swing/JPopupMenu.java: Likewise.
7944         * javax/swing/JRadioButtonMenuItem.java: Likewise.
7945         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
7946         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
7947         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7948         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
7949         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
7950         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
7951
7952 2004-06-01  Tom Tromey  <tromey@redhat.com>
7953
7954         * java/io/ObjectStreamField.java: Cleaned up imports.
7955
7956 2004-06-01  Michael Koch  <konqueror@gmx.de>
7957
7958         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
7959       
7960 2004-06-01  Mark Wielaard  <mark@klomp.org>
7961
7962         * java/io/Writer.java (Writer(Object)): Fixed API doc.
7963
7964 2004-06-01  Michael Koch  <konqueror@gmx.de>
7965
7966         * java/security/Security.java
7967         (insertProviderAt): Use equals() instead of ==.
7968         (removeProvicer): Likewise.
7969         (getProvider): Likewise.
7970         * java/security/Signature.java
7971         (sign): Don't set state to UNINITIALIZED.
7972         (verify): Likewise.
7973
7974 2004-06-01  Mark Wielaard  <mark@klomp.org>
7975
7976         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
7977         Implement by calling gtkRequestFocus.
7978         (gtkRequestFocus): New native method.
7979         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7980         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
7981         Renamed to ...
7982         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
7983         New function name.
7984         (filter_expose_event_handler):
7985         Mark static.
7986         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7987         (menu_pos): Mark static.
7988
7989 2004-06-01  Michael Koch  <konqueror@gmx.de>
7990
7991         * java/text/CollationElementIterator.java,
7992         java/text/CollationKey.java,
7993         java/text/RuleBasedCollator.java: New versions from GNU classpath.
7994         * testsuite/libjava.mauve/xfails: Removed all
7995         java.text.CollationElementIterator tests.
7996
7997 2004-06-01  Michael Koch  <konqueror@gmx.de>
7998
7999         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
8000         version.
8001         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
8002         Java 1.5 keyword usage.
8003
8004 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
8005
8006         * javax/swing/plaf/basic/BasicMenuUI.java:
8007         (MouseEntered): Do not call getPath() from MenuSelectionManager.
8008         Call getPath() from super class instead.
8009
8010 2004-05-31  Michael Koch  <konqueror@gmx.de>
8011
8012         * java/io/SequenceInputStream.java:
8013         Rename enum to e because enum is a keyword in Java 1.5.
8014
8015 2004-05-31  Michael Koch  <konqueror@gmx.de>
8016
8017         * gnu/java/rmi/rmic/CompilerProcess.java:
8018         Fixed javadoc to by XHTML compliant.
8019
8020 2004-05-30  Mark Wielaard  <mark@klomp.org>
8021
8022         * java/awt/Toolkit.java (loadSystemColors): Implement.
8023
8024 2004-05-30  Michael Koch  <konqueror@gmx.de>
8025
8026         * java/lang/System.java: Reordered imports.
8027
8028 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
8029
8030         * java/text/DecimalFormat.java
8031         (parse): Fixed parsing of decimal strings. Number of maximum
8032         digits to be read should now work.
8033         * java/text/SimpleDateFormat.java
8034         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
8035         formatter. This fixes DateFormatTest.
8036
8037 2004-05-30  Michael Koch  <konqueror@gmx.de>
8038
8039         * java/nio/Buffer.java
8040         (limit): Fixed off by one error.
8041         * java/nio/CharBuffer.java
8042         (wrap): Fixed arguments, added javadocs.
8043
8044 2004-05-30  Michael Koch  <konqueror@gmx.de>
8045
8046         * gnu/java/beans/BeanInfoEmbryo.java,
8047         java/awt/im/InputContext.java,
8048         javax/swing/tree/DefaultMutableTreeNode.java:
8049         Rename enum to e because enum is a keyword in Java 1.5.
8050
8051 2004-05-30  Michael Koch  <konqueror@gmx.de>
8052
8053         * gnu/java/math/MPN.java,
8054         java/awt/geom/Arc2D.java:
8055         Fixed javadocs all over.
8056
8057 2004-05-30  Michael Koch  <konqueror@gmx.de>
8058
8059         * java/awt/DefaultKeyboardFocusManager.java
8060         (dispatchEvent): Call method to get key event dispatchers.
8061         (dispatchKeyEvent): Call method to get key event post processors.
8062         * javax/swing/JComponent.java
8063         (listenerList): Made protected.
8064         * javax/swing/JOptionPane.java
8065         (message): Don't initialize.
8066         (JOptionPane): Set message text.
8067         * javax/swing/JPopupMenu.java
8068         (show): Fixed typo in argument name.
8069         * javax/swing/RepaintManager.java
8070         (paintDirtyRegions): Use public API of java.util.Map.
8071         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8072         (positionForMouseEvent): Removed redundant ';'.
8073         (continueDrag): Use method arguments.
8074
8075 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
8076
8077         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
8078         results.
8079
8080 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
8081
8082         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
8083         _Jv_AllocBytes.
8084         * gnu/gcj/RawDataManaged.java: New file.
8085         * java/lang/Thread.java (data): Declare as RawDataManaged.
8086         * java/lang/natThread.cc (init_native): Cast natThread data to
8087         RawDataManaged, not jobject.
8088         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
8089         * Makefile.in: Rebuilt.
8090
8091 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
8092
8093         * java/util/SimpleTimeZone.java: Reverting my last change until I
8094         can fix it properly.
8095
8096 2004-05-27  Michael Koch  <konqueror@gmx.de>
8097
8098         * javax/swing/JPopupMenu.java
8099         (isVisible): Do not use visible directly.
8100         (setVisible): Likewise.
8101         * javax/swing/JWindow.java
8102         (JWindow): call accessible constructor.
8103         * javax/swing/RepaintManager.java
8104         (paintDirtyRegions): Use public methods to obtain iterator.
8105
8106 2004-05-25  David Jee  <djee@redhat.com>
8107
8108         * java/awt/Container.java
8109         (remove): Set component's parent to null only after we removed the
8110         component from its parent's layout manager.
8111
8112 2004-05-25  David Jee  <djee@redhat.com>
8113
8114         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8115         (GtkComponentPeer): Set bounds regardless of whether awtComponent
8116         is valid.
8117         * gnu/java/awt/peer/gtk/GtkListPeer.java
8118         (getSize): Change native method declaration.
8119         (minimumSize): Pass visible row count into getSize().
8120         (preferredSize): Likewise.
8121         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
8122         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
8123         natural size. Use visible row count to determine the final height
8124         value to return.
8125
8126 2004-05-21  Graydon Hoare  <graydon@redhat.com>
8127
8128         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
8129         (setClip): Minor correction to order of operations.
8130
8131         * javax/swing/JScrollPane.java: Extend sketchy implementation.
8132         * javax/swing/ScrollPaneLayout.java: Likewise.
8133         * javax/swing/JViewPort.java: Likewise.
8134         * javax/swing/ViewportLayout.java: Likewise.
8135
8136         * javax/swing/JComponent.java: Rewrite.
8137         * javax/swing/RepaintManager.java: Likewise.
8138
8139         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
8140         * javax/swing/JList.java 
8141         (setSelectedIndices):
8142         (getSelectedIndices):
8143         (getSelectedValues): New functions.
8144         (getPreferredScrollableViewportSize): Return preferred size.
8145         (getScrollableUnitIncrement):
8146         (getScrollableBlockIncrement): Initial implementations.
8147         * javax/swing/JRootPane.java: Clean up slightly.
8148         (getUI):
8149         (setUI):
8150         (updateUI):
8151         (getUIClassID):
8152         (isValidateRoot): Add overrides from JComponent.
8153         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
8154         * javax/swing/UIManager.java (getDimension): Return the dimension.
8155
8156         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
8157         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
8158         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
8159         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
8160         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
8161         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
8162         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
8163         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
8164         Likewise, and set background.
8165         * javax/swing/plaf/basic/BasicListUI.java: 
8166         Likewise, and improve a bit.
8167         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
8168         Likewise, and adjust calculations.
8169         * javax/swing/plaf/basic/BasicViewportUI.java:
8170         Likewise, and improve a bit.
8171         * javax/swing/plaf/basic/BasicLookAndFeel.java 
8172         (Button.margin): Shrink.
8173
8174         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
8175         Hack to set horizontal always, workaround pango.
8176
8177         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
8178         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8179         Synchronize more often, check cairo status after ops,
8180         handle changes to cairo pattern API, check for disposal.
8181
8182 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
8183
8184         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8185         (BasicMenuItemUI): Create propertyChangeListener.
8186         (getPath):Implemented.
8187         (installListeners): Add propertyChangeListener to menuItem.
8188         (uninstallListeners): Remove propertyChangeListener from menuItem.
8189         (update): Implemented.
8190         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
8191         (mouseEntered): Take insets of popup menu into account when
8192         calculating position of popup menu.     
8193         
8194 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
8195
8196         * Makefile.am: Added new file. 
8197         * Makefile.in: Regenerate.
8198         * javax/swing/JMenuBar.java:
8199         Started implementation.
8200         * javax/swing/JPopupMenu.java:
8201         (setVisible): Fixed location of lightweight/mediumweight
8202         popup menu.
8203         (show): Fixed location of PopupMenu.
8204         * javax/swing/plaf/basic/BasicMenuBarUI.java:
8205         New file. UI Delegate for JMenuBar.
8206         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
8207         (mouseEntered): Corrected position of the submenu.
8208
8209 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
8210
8211         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
8212         to _gtk_accel_group_attach.
8213         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8214         Likewise.
8215
8216         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
8217         package access.  Don't override setFont.
8218         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
8219         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
8220         gtkWidgetRequestFocus package access.
8221         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
8222         setFont.
8223         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
8224         Give gtkWidgetRequestFocus package access.
8225         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
8226         gtkWidgetRequestFocus package access.  Don't override setFont.
8227         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
8228         setFont.
8229         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
8230         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
8231         region.
8232         (gtkSetFont): Likewise.
8233         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
8234         Implement.
8235         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8236         (gtkSetFont): Whitespace fix.
8237
8238         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8239         (gtkWidgetSetUsize): Remove method.
8240
8241 2004-05-18  David Jee  <djee@redhat.com>
8242
8243         * java/awt/image/MemoryImageSource.java
8244         (newPixels(int,int,int,int,boolean)): Set only the specified
8245         rectangle of pixels.
8246         (newPixels(byte[],ColorModel,int,int)): Implement.
8247         (newPixels(int[],ColorModel,int,int)): Implement.
8248
8249 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
8250
8251         * Makefile.am: Added new file.
8252         * Makefile.in: Regenerate.
8253         * javax/swing/JMenu.java: Started 
8254         implementation.
8255         * javax/swing/JPopupMenu.java:
8256         (insert): If specified index is -1, then
8257         add component at the end.
8258         (isPopupTrigger): Reimplemented.
8259         (JPopupMenu.LightWeightPopup): setBounds
8260         of the lightWeightPopup before adding it 
8261         to the layeredPane.
8262         (javax/swing/plaf/basic/BasicIconFactory.java):
8263         (getMenuArrowIcon): Implemented.
8264         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8265         (getPreferredSize): Add size of the arrow icon 
8266         if this menu item is instance of JMenu.
8267         (paintMenuItem): Paint arrow icon if this 
8268         menu item is a submenu.
8269         * javax/swing/plaf/basic/BasicMenuUI.java:
8270         New File. UI Delegate for JMenu.
8271
8272 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
8273
8274         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
8275         Post KEY_TYPED events.
8276         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8277         (generates_key_typed_event): Remove function.
8278
8279 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
8280
8281         * javax/swing/JRootPane.java
8282         (JRootPane.RootLayout): Reimplemented to 
8283         set bounds of contentPane and menuBar.
8284         (setJMenuBar): Add menu bar to the layered pane.
8285         (createLayeredPane): Set layout of layeredPane
8286         to null.
8287         * javax/swing/JLayeredPane.java:
8288         (addImpl): Calculate index of the component in the
8289         layeredPane according to the specified position within 
8290         the layer.      
8291
8292 2004-05-17  David Jee  <djee@redhat.com>
8293
8294         * gnu/java/awt/peer/gtk/GtkImagePainter.java
8295         (setPixels): Change color model to the default model after
8296         converting pixels.
8297         * java/awt/image/MemoryImageSource.java
8298         (newPixels): Set only the specified rectangle of pixels.
8299
8300 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
8301
8302         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
8303         -l-java-beans -l-javax-accessibility -l-javax-swing.
8304
8305         * java/awt/AWTEvent.java (toString): Print source's name rather
8306         than the source itself.
8307
8308 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
8309
8310         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
8311         native.
8312         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
8313         (gdk_color_to_java_color): New function.
8314         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
8315
8316 2004-05-12  David Jee  <djee@redhat.com>
8317
8318         * java/awt/image/RGBImageFilter.java:
8319         Initialize origmodel as null.
8320         (makeColor): Fix pixel component order.
8321         (filterRGBPixels): Fix pixel iteration.
8322         (setPixels): Add extra checks for index color model. Convert pixels
8323         to default color model if necessary.
8324         (convertColorModelToDefault): New override method for byte pixels.
8325         (convertColorModelToDefault): For int pixels, fix pixel iteration.
8326         (makeColorbyDefaultCM): New override method for byte pixels.
8327         (makeColorbyDefaultCM): For int pixel, add color model as argument.
8328         (makeColor): Fix pixel component order.
8329
8330 2004-05-11  Kim Ho  <kho@redhat.com>
8331
8332         * javax/swing/Box.java:
8333         Comment out more parts of Box.Filler.
8334
8335 2004-05-11  Kim Ho  <kho@redhat.com>
8336
8337         * javax/swing/Box.java:
8338         Remove reference to AccessibleAWTComponent so
8339         it compiles again.
8340
8341 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
8342
8343         * gnu/java/awt/peer/gtk/GtkListPeer.java,
8344         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
8345         implementation of list peer to use GtkTreeView instead of
8346         deprecated GtkCList.
8347
8348 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
8349
8350         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8351         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
8352         (handleEvent): Remove keyChar argument to
8353         gtkWidgetDispatchKeyEvent calls.
8354         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
8355         compiler warnings.
8356         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
8357         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
8358         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8359         Likewise.
8360
8361 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
8362
8363         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8364         (gtkWidgetRequestFocus): Mark protected.
8365         (GtkComponentPeer): Only set the peer's bounds if its component
8366         is valid.
8367         * java/awt/Component.java (static): Set the default keyboard
8368         focus manager.
8369         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
8370         requestFocusInWindow(temporary)): Don't request focus if the
8371         component is not showing.  Get tree lock before traversing
8372         component hierarchy.
8373         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
8374         Only set the global focus owner if it is not a Window.
8375         (processKeyEvent): Consume keystrokes associated with the focus
8376         traversal keystroke.
8377         (focusPreviousComponent, focusNextComponent, upFocusCycle,
8378         downFocusCycle): Call requestFocusInWindow instead of
8379         requestFocus.
8380         * java/awt/EventDispatchThread.java (run): Move setting of
8381         default keyboard focus manager to Component.java.
8382         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8383         (awt_keycode_to_keysym): New function.
8384         (gtkWidgetDispatchKeyEvent): Finish implementation.
8385         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8386         (pre_event_handler): Add FIXME comment.
8387
8388         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8389         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8390         (gtkWidgetRequestFocus): New method.
8391         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
8392         disable Tab and Shift-Tab keystrokes.
8393         (addNotify, appendText, insertText, replaceText): Simplify peer
8394         retrieval code.
8395         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
8396         (connectSignals): Remove connections to "commit" signals.
8397         Remove C++-style comments.
8398
8399         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8400         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
8401         (handleEvent): Activate GTK button when the space bar key is
8402         pressed.
8403         (gtkActivate): New method.
8404
8405 2004-05-06  David Jee  <djee@redhat.com>
8406
8407         * java/awt/image/CropImageFilter.java
8408         (setPixels): Implement for byte array pixels.
8409         * java/awt/image/ReplicateScaleFilter.java
8410         (setPixels): Implement for byte array pixels.
8411         (replicatePixels): Overload for byte array pixels.
8412
8413 2004-05-06  Kim Ho  <kho@redhat.com>
8414
8415         * javax/swing/Box.java:
8416         (getAccessibleContext): Return an instance of the 
8417         correct class.
8418
8419 2004-05-05  David Jee  <djee@redhat.com>
8420
8421         * gnu/java/awt/peer/gtk/GdkGraphics.java
8422         (drawImage): When component is null, use SystemColor.window as
8423         the default bgcolor.
8424         * gnu/java/awt/peer/gtk/GtkImage.java
8425         (setPixels): We can avoid iterating through the pixel rows only
8426         when height is 1.
8427         * java/awt/Image.java
8428         (getScaledInstance): Partially implement.
8429         * java/awt/image/CropImageFilter.java
8430         (setProperties): Fix "filter" property.
8431         (setPixels): Implement.
8432         * java/awt/image/ReplicateScaleFilter.java
8433         (setDimensions): Use scaled dimensions.
8434         (setPixels): Implement.
8435         (replicatePixels): New method.
8436
8437 2004-05-05  David Jee  <djee@redhat.com>
8438
8439         * gnu/java/awt/peer/gtk/GtkImagePainter.java
8440         (convertPixels): If either pixels or model is null, return null.
8441         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
8442         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
8443         is null, do nothing and return.
8444
8445 2004-05-03  Kim Ho  <kho@redhat.com>
8446
8447         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
8448         (getGraphics): Like GtkFramePeer, the Graphics
8449         object needs to be translate to account for
8450         window decorations.
8451         (postMouseEvent): New method. Account for
8452         translation.
8453         (postExposeEvent): ditto.
8454         * javax/swing/Box.java: Stubbed.
8455         * javax/swing/JDialog.java: Ran through jalopy
8456         to fix indentation.
8457         (JDialog): Call SwingUtilities' getOwnerFrame
8458         for null owners.
8459         (setLayout): Check isRootPaneCheckingEnabled
8460         * javax/swing/JOptionPane.java: Re-implemented.
8461         * javax/swing/SwingUtilities.java:
8462         (getOwnerFrame): Static method to grab a default
8463         owner frame for Dialogs that don't specify owners.
8464         * javax/swing/event/SwingPropertyChangeSupport.java:
8465         (firePropertyChange): Fix early exit condition.
8466         * javax/swing/plaf/basic/BasicLabelUI.java:
8467         (paint): Avoid painting text if it is null 
8468         or empty.
8469         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
8470         Implement.
8471
8472 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
8473
8474         * Makefile.am: Added new file.
8475         * Makefile.in: Regenerate.
8476         * javax/swing/JPopupMenu.java:
8477         Started implementation.
8478         * javax/swing/JWindow.java
8479         (JWindow): call super() if parent for window
8480         is not specified.
8481         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8482         New File. UI Delegate for JPopupMenu.
8483
8484 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
8485
8486         * javax/swing/JApplet.java: Indicated that JApplet
8487         implements RootPaneContainer and made method of this
8488         interface public. 
8489         * javax/swing/JFrame.java: Ditto.
8490         * javax/swing/JWindow.java: Ditto.
8491         
8492 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
8493
8494         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8495         (nativeSetBounds): Call gdk_window_move in addition to
8496         gtk_window_move.
8497
8498         * java/applet/Applet.java (preferredSize): Call parent's
8499         preferredSize if the applet stub is null.
8500         (minimumSize): Likewise for parent's minimumSize.
8501
8502 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
8503
8504         * javax/swing/JMenuItem.java
8505         (createActionPropertyChangeListener): Implemented.
8506         (processMouseEvent): Ditto.
8507         (fireMenuDragMouseEntered): Ditto.
8508         (fireMenuDragMouseExited): Ditto.
8509         (fireMenuDragMouseDragged): Ditto.
8510         (fireMenuDragMouseReleased): Ditto.
8511         (menuSelectionChanged): Ditto.
8512         (getSubElements): Ditto.
8513         (getComponent): Ditto.
8514         (addMenuDragMouseListener): Ditto.
8515         (removeMenuDragMouseListener):Ditto.
8516         (addMenuKeyListener): Ditto.
8517         (removeMenuKeyListener): Ditto.
8518         * javax/swing/plaf/basic/BasicMenuItemUI.java
8519         (doClick): Imlemented.
8520         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
8521         Don't handle mouse events here. Pass them to 
8522         MenuSelectionManager.
8523         
8524 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
8525         Used correct version of jalopy configuration
8526         file to fix style in the files below.
8527
8528 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
8529
8530         * javax/swing/JCheckBoxMenuItem.java: 
8531         Fixed style and removed unnecessary comments.
8532         * javax/swing/JMenuItem.java: Ditto.
8533         * javax/swing/JRadioButtonMenuItem.java: Ditto.
8534         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
8535         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
8536         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
8537
8538 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
8539
8540         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
8541         C-style.
8542
8543         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
8544
8545         * java/awt/ContainerOrderFocusTraversalPolicy.java
8546         (getComponentAfter): Start from current component and work up
8547         the component hierarchy until an acceptable component is found.
8548         Synchronize on tree lock.
8549         (getComponentBefore): Likewise.
8550
8551 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
8552
8553         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
8554         focus-related debugging messages.
8555         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
8556         * java/awt/EventDispatchThread.java: Likewise.
8557         * java/awt/KeyboardFocusManager.java: Likewise.
8558         * java/awt/Window.java: Likewise.
8559         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
8560         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
8561
8562         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
8563         new C++-style comments to C-style comments.
8564         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
8565
8566         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8567         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8568         (handleEvent): Dispatch key press and key release events to
8569         backing widget.
8570         (requestFocus): Post a FOCUS_GAINED event to the event queue.
8571         (gtkWidgetRequestFocus): New method.
8572         (gtkWidgetDispatchKeyEvent): Likewise.
8573         * java/awt/Component.java (requestFocus, requestFocus(boolean),
8574         requestFocusInWindow, requestFocusInWindow(boolean),
8575         getFocusCycleRootAncestor, nextFocus, transferFocus,
8576         transferFocusBackward, transferFocusUpCycle, hasFocus,
8577         isFocusOwner): Implement and document focus-handling methods.
8578         (setFocusTraversalKeys): Inherit focus traversal keys when
8579         keystrokes argument is null.  Fix focus-handling documentation
8580         throughout class.
8581         * java/awt/Container.java (setFocusTraversalKeys,
8582         getFocusTraversalKeys, areFocusTraversalKeysSet,
8583         isFocusCycleRoot, setFocusTraversalPolicy,
8584         getFocusTraversalPolicy, isFocusTraversalPolicySet,
8585         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
8586         Implement and document focus-handling methods.
8587         (transferFocusBackward): Remove method.
8588         (readObject, writeObject): Implement and document serialization
8589         methods.
8590         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
8591         and document.
8592         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
8593         document.
8594         * java/awt/DefaultKeyboardFocusManager.java: Implement and
8595         partially document.
8596         * java/awt/EventDispatchThread.java (run): Set default keyboard
8597         focus manager.  Attempt to dispatch each event to the keyboard
8598         focus manager before normal dispatch.
8599         * java/awt/KeyboardFocusManager.java: Implement and partially
8600         document.
8601         * java/awt/Window.java (Window): Set focusCycleRoot to true.
8602         (show): Focus initial component when window is shown for the
8603         first time.
8604         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8605         (pre_event_handler): Replace complex key press and key release
8606         logic with simple callbacks into GtkComponentPeer.
8607         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
8608
8609 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
8610
8611         * javax/swing/MenuSelectionManager.java
8612         (componentForPoint): Added new method. 
8613         (defaultManager): New Method. Implemented.
8614         (getSelectedPath): Ditto.
8615         (isComponentPartOfCurrentMenu): Ditto.
8616         (processKeyEvent): Added new method.
8617         (processMouseEvent): New Method. Implemented.
8618         (setSelectedPath): Ditto.
8619         (getPath): Ditto.
8620
8621 2004-04-19  Kim Ho  <kho@redhat.com>
8622
8623         * java/awt/Container.java: 
8624         (remove): Set the component's parent to null.
8625         (getComponentAt): Implement.
8626         * javax/swing/JComponent.java:
8627         (JComponent): Initialize defaultLocale
8628         (getDefaultLocale): Implement.
8629         (setDefaultLocale): ditto.
8630         * javax/swing/JSlider.java:
8631         (JSlider): Fix calculation of value.
8632         * javax/swing/JSplitPane.java: Implement.
8633         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8634         Change SplitPane's default divider size.
8635         * javax/swing/plaf/basic/BasicScrollBarUI.java:
8636         (paint): Remove unused code.
8637         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
8638         Added comments and ran through jalopy.
8639         (setBasicSplitPaneUI): Get reference to hidden divider
8640         and set up one touch buttons if necessary.
8641         (setBorder): Fire propertyChangeEvent only if 
8642         borders are different.
8643         (getPreferredSize): Defer to layout manager.
8644         (propertyChange): Implement.
8645         (oneTouchExpandableChanged): ditto.
8646         (createLeftOneTouchButton): Use BasicArrowButton.
8647         (createRightOneTouchButton): ditto.
8648         (moveDividerTo): New method. Moves the divider
8649         to a set location based on the last divider location.
8650         (BasicSplitPaneDivider::MouseHandler): Implement.
8651         (BasicSplitPaneDivider::OneTouchButton): Removed.
8652         (BasicSplitPaneDivider::DragController): Implement.
8653         (BasicSplitPaneDivider::VerticalDragController):
8654         ditto.
8655         (BasicSplitPaneDivider::DividerLayout): ditto.
8656         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
8657         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8658         (calculateLayoutInfo): Don't show component if it's
8659         null.
8660         (paintTab): Fix title paint logic.
8661
8662 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
8663
8664         PR libgcj/8321
8665         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
8666         (setStartRule,setEndRule): Don't take abs of day number.
8667         (getOffset): Clarify docs.  Add argument checks.
8668         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
8669         (equals,hasSameRules,toString,readObject): Use startTimeMode and
8670         endTimeMode.
8671         * testsuite/libjava.mauve/xfails
8672         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
8673
8674 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
8675
8676         Layout interfaces during preparation, not initialization. 
8677         * java/lang/natClass.cc (initializeClass): Move 
8678         _Jv_LayoutInterfaceMethods call...
8679         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
8680
8681 2004-05-19  Anthony Green  <green@localhost.localdomain>
8682
8683         * Makefile.am (awt_java_source_files): Remove javax.rmi and
8684         gnu.javax.rmi code.
8685         * Makefile.in: Rebuilt.
8686         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
8687         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
8688         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
8689         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
8690         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
8691         gnu/javax/rmi/CORBA/DelegateFactory.java,
8692         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
8693         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
8694         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
8695         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
8696         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
8697         gnu/javax/rmi/PortableServer.java: Remove files.
8698
8699 2004-05-19  Anthony Green  <green@redhat.com>
8700
8701         * Makefile.am: Define JAVA_EXT_DIRS.
8702         * Makefile.in: Rebuilt.
8703         * java/lang/natRuntime.cc (insertSystemProperties): Set
8704         java.ext.dirs property.
8705
8706 2004-05-16  Mark Wielaard  <mark@klomp.org>
8707
8708         * java/io/Writer.java (Writer(Object)): Check for null lock object.
8709
8710 2004-05-15  Mark Wielaard  <mark@klomp.org>
8711
8712         * doc/cni.sgml: Removed, merged into gcj.texi.
8713
8714 2004-05-15  Mark Wielaard  <mark@klomp.org>
8715
8716         * Makefile.am (ordinary_java_source_files): Add new javax.print
8717         classes.
8718         * Makefile.in: Regenerated.
8719
8720 2004-05-15  Michael Koch  <konqueror@gmx.de>
8721
8722         * javax/print/attribute/standard/DateTimeAtCompleted.java,
8723         javax/print/attribute/standard/DateTimeAtCreation.java,
8724         javax/print/attribute/standard/DateTimeAtProcessing.java,
8725         javax/print/attribute/standard/DocumentName.java,
8726         javax/print/attribute/standard/JobHoldUntil.java,
8727         javax/print/attribute/standard/JobImpressionsCompleted.java,
8728         javax/print/attribute/standard/JobMessageFromOperator.java,
8729         javax/print/attribute/standard/JobName.java,
8730         javax/print/attribute/standard/JobOriginatingUserName.java,
8731         javax/print/attribute/standard/JobPriority.java,
8732         javax/print/attribute/standard/JobPrioritySupported.java,
8733         javax/print/attribute/standard/NumberOfInterveningJobs.java,
8734         javax/print/attribute/standard/OutputDeviceAssigned.java,
8735         javax/print/attribute/standard/PrinterInfo.java,
8736         javax/print/attribute/standard/PrinterLocation.java,
8737         javax/print/attribute/standard/PrinterMakeAndModel.java,
8738         javax/print/attribute/standard/PrinterMessageFromOperator.java,
8739         javax/print/attribute/standard/PrinterName.java,
8740         javax/print/attribute/standard/QueuedJobCount.java,
8741         javax/print/attribute/standard/RequestingUserName.java:
8742         Fixed javadocs all over.
8743
8744 2004-05-15  Michael Koch  <konqueror@gmx.de>
8745
8746         * javax/print/DocFlavor.java,
8747         javax/print/attribute/standard/ColorSupported.java,
8748         javax/print/attribute/standard/Compression.java,
8749         javax/print/attribute/standard/CopiesSupported.java,
8750         javax/print/attribute/standard/Fidelity.java,
8751         javax/print/attribute/standard/Finishings.java,
8752         javax/print/attribute/standard/JobImpressionsSupported.java,
8753         javax/print/attribute/standard/JobKOctetsSupported.java,
8754         javax/print/attribute/standard/JobMediaSheetsSupported.java,
8755         javax/print/attribute/standard/JobSheets.java,
8756         javax/print/attribute/standard/JobState.java,
8757         javax/print/attribute/standard/JobStateReason.java,
8758         javax/print/attribute/standard/JobStateReasons.java,
8759         javax/print/attribute/standard/Media.java,
8760         javax/print/attribute/standard/MediaSizeName.java,
8761         javax/print/attribute/standard/MultipleDocumentHandling.java,
8762         javax/print/attribute/standard/NumberUpSupported.java,
8763         javax/print/attribute/standard/OrientationRequested.java,
8764         javax/print/attribute/standard/PDLOverrideSupported.java,
8765         javax/print/attribute/standard/PageRanges.java,
8766         javax/print/attribute/standard/PresentationDirection.java,
8767         javax/print/attribute/standard/PrintQuality.java,
8768         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
8769         javax/print/attribute/standard/PrinterMoreInfo.java,
8770         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
8771         javax/print/attribute/standard/PrinterResolution.java,
8772         javax/print/attribute/standard/PrinterState.java,
8773         javax/print/attribute/standard/PrinterStateReason.java,
8774         javax/print/attribute/standard/PrinterStateReasons.java,
8775         javax/print/attribute/standard/PrinterURI.java,
8776         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
8777         javax/print/attribute/standard/Severity.java,
8778         javax/print/attribute/standard/SheetCollate.java,
8779         javax/print/attribute/standard/Sides.java:
8780         Added serialVersionUID and removed final keyword where it doenst
8781         belong.
8782
8783 2004-05-15  Michael Koch  <konqueror@gmx.de>
8784
8785         * javax/print/PrintServiceLookup.java: New file.
8786
8787 2004-05-15  Michael Koch  <konqueror@gmx.de>
8788
8789         * javax/print/DocFlavor.java:
8790         Implemented all flavor classes.
8791
8792 2004-05-15  Michael Koch  <konqueror@gmx.de>
8793
8794         * javax/print/attribute/standard/ColorSupported.java,
8795         javax/print/attribute/standard/Compression.java,
8796         javax/print/attribute/standard/CopiesSupported.java,
8797         javax/print/attribute/standard/Fidelity.java,
8798         javax/print/attribute/standard/Finishings.java,
8799         javax/print/attribute/standard/JobImpressionsSupported.java,
8800         javax/print/attribute/standard/JobKOctetsSupported.java,
8801         javax/print/attribute/standard/JobMediaSheetsSupported.java,
8802         javax/print/attribute/standard/JobSheets.java,
8803         javax/print/attribute/standard/JobState.java,
8804         javax/print/attribute/standard/JobStateReason.java,
8805         javax/print/attribute/standard/JobStateReasons.java,
8806         javax/print/attribute/standard/Media.java,
8807         javax/print/attribute/standard/MediaSizeName.java,
8808         javax/print/attribute/standard/MultipleDocumentHandling.java,
8809         javax/print/attribute/standard/NumberUpSupported.java,
8810         javax/print/attribute/standard/OrientationRequested.java,
8811         javax/print/attribute/standard/PDLOverrideSupported.java,
8812         javax/print/attribute/standard/PageRanges.java,
8813         javax/print/attribute/standard/PresentationDirection.java,
8814         javax/print/attribute/standard/PrintQuality.java,
8815         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
8816         javax/print/attribute/standard/PrinterMoreInfo.java,
8817         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
8818         javax/print/attribute/standard/PrinterResolution.java,
8819         javax/print/attribute/standard/PrinterState.java,
8820         javax/print/attribute/standard/PrinterStateReason.java,
8821         javax/print/attribute/standard/PrinterStateReasons.java,
8822         javax/print/attribute/standard/PrinterURI.java,
8823         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
8824         javax/print/attribute/standard/Severity.java,
8825         javax/print/attribute/standard/SheetCollate.java,
8826         javax/print/attribute/standard/Sides.java: New files.
8827
8828 2004-05-15  Michael Koch  <konqueror@gmx.de>
8829
8830         * javax/print/Doc.java
8831         (getPrintData): Throws IOException.
8832         (getReaderForText): Likewise.
8833         (getStreamForBytes): Likewise.
8834         * javax/print/DocFlavor.java:
8835         Fixed filename in copyright.
8836         (serialVersionUID): New field.
8837         * javax/print/ServiceUIFactory.java:
8838         Made all constants final.
8839         * javax/print/AttributeException.java
8840         javax/print/MultiDoc.java
8841         javax/print/MultiDocPrintJob.java
8842         javax/print/MultiDocPrintService.java
8843         javax/print/StreamPrintService.java
8844         javax/print/URIException.java: New files.
8845         * javax/print/Makefile.am
8846         (EXTRA_DIST): Added all new files.
8847
8848 2004-05-15  Michael Koch  <konqueror@gmx.de>
8849
8850         * javax/print/attribute/standard/Copies.java,
8851         javax/print/attribute/standard/DateTimeAtCompleted.java,
8852         javax/print/attribute/standard/DateTimeAtCreation.java,
8853         javax/print/attribute/standard/DateTimeAtProcessing.java,
8854         javax/print/attribute/standard/DocumentName.java,
8855         javax/print/attribute/standard/JobHoldUntil.java,
8856         javax/print/attribute/standard/JobImpressions.java,
8857         javax/print/attribute/standard/JobImpressionsCompleted.java,
8858         javax/print/attribute/standard/JobKOctets.java,
8859         javax/print/attribute/standard/JobKOctetsProcessed.java,
8860         javax/print/attribute/standard/JobMediaSheets.java,
8861         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
8862         javax/print/attribute/standard/JobMessageFromOperator.java,
8863         javax/print/attribute/standard/JobName.java,
8864         javax/print/attribute/standard/JobOriginatingUserName.java,
8865         javax/print/attribute/standard/JobPriority.java,
8866         javax/print/attribute/standard/JobPrioritySupported.java,
8867         javax/print/attribute/standard/NumberOfDocuments.java,
8868         javax/print/attribute/standard/NumberOfInterveningJobs.java,
8869         javax/print/attribute/standard/NumberUp.java,
8870         javax/print/attribute/standard/OutputDeviceAssigned.java,
8871         javax/print/attribute/standard/PagesPerMinute.java,
8872         javax/print/attribute/standard/PagesPerMinuteColor.java:
8873         Fixed @return tag all over.
8874
8875 2004-05-15  Michael Koch  <konqueror@gmx.de>
8876
8877         * javax/print/attribute/AttributeSetUtilities.java
8878         (verifyCategoryForValue): Fixed typo in javadoc.
8879         * javax/print/attribute/HashAttributeSet.java
8880         (containsKey): Fixed @return tag.
8881         (comtainsValue): Likewise.
8882         (equals): Likewise.
8883         * javax/print/attribute/IntegerSyntax.java
8884         (equals): Likewise.
8885         * javax/print/attribute/ResolutionSyntax.java
8886         (equals): Likewise.
8887         (getCrossFeedResolution): Removed unused code.
8888         (getFeedResolution): Likewise.
8889         * javax/print/attribute/SetOfIntegerSyntax.java
8890         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8891         (equals): Fixed @return tag.
8892         * javax/print/attribute/TextSyntax.java
8893         (TextSyntax): Take locale into account.
8894         (hashCode): Better implementation.
8895
8896 2004-05-15  Michael Koch  <konqueror@gmx.de>
8897
8898         * javax/print/CancelablePrintJob.java,
8899         javax/print/Doc.java,
8900         javax/print/DocFlavor.java,
8901         javax/print/DocPrintJob.java,
8902         javax/print/FlavorException.java,
8903         javax/print/PrintException.java,
8904         javax/print/PrintService.java,
8905         javax/print/ServiceUIFactory.java: New files.
8906
8907 2004-05-15  Mark Wielaard  <mark@klomp.org>
8908
8909         * gnu/regexp/CharIndexedReader.java: Removed.
8910         * gnu/regexp/REFilterReader.java: Likewise.
8911         * gnu/regexp/RETokenLookAhead.java: Likewise.
8912         * Makefile.am (ordinary_java_source_files): Remove above classes.
8913         * Makefile.in: Regenerated.
8914
8915 2004-05-14  Tom Tromey  <tromey@redhat.com>
8916
8917         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
8918         not `XGraphicsConfiguration.XOffScreenImage'.
8919
8920 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
8921
8922         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
8923
8924 2004-05-14  Steven Augart  <augart@watson.ibm.com>
8925
8926         * include/jni.h (_Jv_func): Removed.
8927         (struct JNINativeInterface): Use `void *' for reserved slots.
8928         (struct JNIInvokeInterface): Likewise.
8929
8930 2004-05-11  Michael Koch  <konqueror@gmx.de>
8931
8932         * gnu/java/net/natPlainSocketImplPosix.cc
8933         (read): Fixed typo in expression.
8934
8935 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
8936
8937         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
8938         ld_library_additions. Adjust all calls to libjava_invoke to match
8939         the new argument.
8940
8941         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
8942         path to cxxflagslist.
8943         Pass path of libstdc++ to libjava_invoke.
8944
8945         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
8946         libjava_invoke arguments.
8947
8948 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
8949
8950         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
8951         reality.
8952
8953 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
8954
8955         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
8956         main binary against the JNI shared library.
8957
8958 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
8959
8960         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
8961         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
8962         (SimpleTimeZone): Tweak docs.  Add new variation.
8963         (setStartRule,setEndRule): Add new variations.  Use
8964         startTimeMode and endTimeMode.
8965
8966 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
8967
8968         * java/util/Calendar.java (getActualMinimum,
8969         getActualMaximum):  Remove abstract.  Implement.
8970
8971 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
8972
8973         Run the jni tests using the interpreter.
8974         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
8975         options_cxx to shared lib compile command.
8976         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
8977         they are used to link the shared lib, not the main binary.
8978         Use libjava_invoke to run gij.
8979
8980 2004-05-06  Michael Koch  <konqueror@gmx.de>
8981
8982         * java/util/logging/Level.java
8983         (parse): Use == instead of String.equals().
8984
8985 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
8986
8987         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
8988         verify_field_signature and verify_method_signature, not 
8989         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
8990         (_Jv_ClassReader::handleField): Likewise.
8991         (_Jv_ClassReader::handleMethod): Likewise.
8992
8993 2004-05-06  Michael Koch  <konqueror@gmx.de>
8994
8995         * javax/swing/table/TableColumn.java:
8996         Reformated.
8997
8998 2004-05-06  Michael Koch  <konqueror@gmx.de>
8999
9000         * javax/imageio/spi/ImageReaderWriterSpi.java
9001         (ImageReaderWriterSpi): Made it public.
9002         * javax/imageio/stream/ImageInputStream.java:
9003         Clean up imports.
9004
9005 2004-05-06  Michael Koch  <konqueror@gmx.de>
9006
9007         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9008         Removed empty line.
9009
9010 2004-05-06  Michael Koch  <konqueror@gmx.de>
9011
9012         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
9013         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
9014         New files.
9015         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
9016         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
9017         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
9018         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
9019         their own source file.
9020         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9021         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
9022         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
9023         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
9024         (create): Define variable on top of function.
9025         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
9026         (menu_pos): Prototyped.
9027         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9028         (setTitle): Removed.
9029         * jni/gtk-peer/gthread-jni.c
9030         (gdk_threads_wake): Removed.
9031         * Makefile.am (gtk_c_source_files): Added new files
9032         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
9033         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
9034         * Makefile.in: Regenerated.
9035
9036 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
9037
9038         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
9039         call.
9040
9041 2004-05-05  Mark Wielaard  <mark@klomp.org>
9042
9043         * javax/swing/AbstractButton.java: Replace special HTML entities with
9044         ASCII equivalent.
9045         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
9046         * javax/swing/DefaultButtonModel.java: Likewise.
9047         * javax/swing/DefaultListModel.java: Likewise.
9048         * javax/swing/JList.java: Likewise.
9049         * javax/swing/JSlider.java: Likewise.
9050         * javax/swing/ListModel.java: Likewise.
9051         * javax/swing/Popup.java: Likewise.
9052         * javax/swing/SwingUtilities.java: Likewise.
9053
9054 2004-05-05  Michael Koch  <konqueror@gmx.de>
9055
9056         * javax/swing/AbstractButton.java,
9057         javax/swing/ActionMap.java,
9058         javax/swing/DefaultButtonModel.java,
9059         javax/swing/DefaultListModel.java,
9060         javax/swing/ImageIcon.java,
9061         javax/swing/JComboBox.java,
9062         javax/swing/JComponent.java,
9063         javax/swing/JFrame.java,
9064         javax/swing/JInternalFrame.java,
9065         javax/swing/JMenuBar.java,
9066         javax/swing/JMenuItem.java,
9067         javax/swing/JOptionPane.java,
9068         javax/swing/JProgressBar.java,
9069         javax/swing/JRootPane.java,
9070         javax/swing/JScrollBar.java,
9071         javax/swing/JScrollPane.java,
9072         javax/swing/JSeparator.java,
9073         javax/swing/JSlider.java,
9074         javax/swing/JTabbedPane.java,
9075         javax/swing/JTable.java,
9076         javax/swing/JTextField.java,
9077         javax/swing/JToolBar.java,
9078         javax/swing/JToolTip.java,
9079         javax/swing/JTree.java,
9080         javax/swing/JViewport.java,
9081         javax/swing/JWindow.java,
9082         javax/swing/KeyStroke.java,
9083         javax/swing/LookAndFeel.java,
9084         javax/swing/SwingUtilities.java,
9085         javax/swing/Timer.java,
9086         javax/swing/ToolTipManager.java,
9087         javax/swing/UIDefaults.java,
9088         javax/swing/border/TitledBorder.java,
9089         javax/swing/filechooser/FileSystemView.java,
9090         javax/swing/plaf/basic/BasicButtonListener.java,
9091         javax/swing/plaf/basic/BasicButtonUI.java,
9092         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
9093         javax/swing/plaf/basic/BasicGraphicsUtils.java,
9094         javax/swing/plaf/basic/BasicLabelUI.java,
9095         javax/swing/plaf/basic/BasicMenuItemUI.java,
9096         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
9097         javax/swing/plaf/basic/BasicRootPaneUI.java,
9098         javax/swing/plaf/basic/BasicScrollBarUI.java,
9099         javax/swing/plaf/basic/BasicScrollPaneUI.java,
9100         javax/swing/plaf/basic/BasicSliderUI.java,
9101         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9102         javax/swing/plaf/basic/BasicToggleButtonUI.java,
9103         javax/swing/table/JTableHeader.java,
9104         javax/swing/text/AbstractDocument.java,
9105         javax/swing/text/DefaultCaret.java,
9106         javax/swing/text/StyledEditorKit.java,
9107         javax/swing/tree/DefaultTreeCellEditor.java:
9108         Cleaned up imports.
9109
9110 2004-05-05  Michael Koch  <konqueror@gmx.de>
9111
9112         * java/util/prefs/AbstractPreferences.java
9113         (AbstractPreferences): Added parenthesis for clarity.
9114         Closes classpath bug #7940.
9115
9116 2004-05-05  Tom Tromey  <tromey@redhat.com>
9117
9118         * javax/naming/CompoundName.java (endsWith): Look at correct
9119         element of source name.
9120
9121 2004-05-05  Mark Wielaard  <mark@klomp.org>
9122
9123         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
9124         * java/util/HashMap.java (rehash): Add entry at start of bucket.
9125
9126 2004-05-05  Tom Tromey  <tromey@redhat.com>
9127
9128         * java/io/BufferedReader.java (skip): Removed unused
9129         variable.
9130
9131 2004-05-05  Michael Koch  <konqueror@gmx.de>
9132
9133         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
9134
9135 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
9136
9137         * java/text/AttributedString.java,
9138         java/text/AttributedStringIterator.java,
9139         java/text/Collator.java,
9140         java/text/DecimalFormatSymbols.java,
9141         java/text/NumberFormat.java,
9142         java/text/RuleBasedCollator.java:
9143         Cleaned up imports.
9144
9145 2004-05-05  Tom Tromey  <tromey@redhat.com>
9146
9147         * java/text/Format.java: Cleaned up imports.
9148         * java/text/DecimalFormat.java: Cleaned up imports.
9149         * java/security/SecureRandom.java: Cleaned up imports.
9150         (SecureRandom): Removed unused variable.
9151         * java/security/UnresolvedPermission.java: Cleaned up imports.
9152         * java/util/Date.java (parse): Removed unused variable.
9153         * java/util/ResourceBundle.java: Cleaned up imports.
9154         (getBundle): Removed unused variable.
9155         (tryBundle): Likewise.
9156         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
9157
9158 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
9159
9160         * java/text/SimpleDateFormat.java:
9161         (formatWithAttribute): New method. It implements
9162         the formatting process with attributes.
9163         (format): Use formatWithAttribute.
9164         (formatToCharacterIterator): New method. Use
9165         formatWithAttribute.
9166
9167 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
9168
9169         * java/text/MessageFormat.java:
9170         (class Field): New class.
9171         (formatToCharacterIterator): New method.
9172         (format): Use formatInternal now.
9173         (formatInternal): New method. String formatter should
9174         be done here (with attributes). Attributes merging supported.
9175         (parse): More documentation.
9176         (getFormatsByArgumentIndex): New method.
9177         (setFormatByArgumentIndex): New method.
9178         (setFormatsByArgumentIndex): New method.
9179
9180 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
9181
9182         * java/text/DecimalFormat.java
9183         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
9184         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
9185         (parse): Fixed handling of exponentiation notation and grouping.
9186
9187 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
9188
9189         * java/text/DecimalFormat.java
9190         (scanFix): Build attribute array. Fixed error reporting.
9191         (applyPatternWithSymbols): Store attributes for the prefix and
9192         suffix.
9193         (formatInternal): New method. Changed the way the string is
9194         computed. Implemented attributes. Cleant up rounding in
9195         exponential notation.
9196         (format): Use formatInternal.
9197         (formatToCharacterIterator): New method.
9198         (exponentRound, negativePrefixRanges, positivePrefixRanges,
9199         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
9200         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
9201         New fields.
9202
9203 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
9204
9205         * java/security/interfaces/DSAKeyPairGenerator.java,
9206         java/security/interfaces/DSAPrivateKey.java,
9207         java/security/interfaces/DSAPublicKey.java,
9208         java/security/interfaces/RSAPrivateKey.java,
9209         java/security/interfaces/RSAPublicKey.java:
9210         Cleaned up imports.
9211
9212 2004-05-04  Michael Koch  <konqueror@gmx.de>
9213
9214         * java/nio/ByteBuffer.java,
9215         java/nio/CharBuffer.java,
9216         java/nio/DoubleBuffer.java,
9217         java/nio/FloatBuffer.java,
9218         java/nio/IntBuffer.java,
9219         java/nio/LongBuffer.java,
9220         java/nio/ShortBuffer.java:
9221         (compareTo): Fixed bogus implementation in all buffer classes.
9222
9223 2004-05-04  Ingo Proetel  <proetel@aicas.com>
9224
9225         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
9226         32 bit pixels not 8 bit pixels.
9227         (isCompatibleRaster): Added javadoc comment.
9228
9229 2004-05-04  Ingo Proetel  <proetel@aicas.com>
9230
9231         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
9232         scanline stride.
9233
9234 2004-05-04  Ingo Proetel  <proetel@aicas.com>
9235
9236         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
9237         (getColorModel): Return the actual color model.
9238         (getRaster): Implemented.
9239         (ColorRaster): New inner class.
9240         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
9241         a PaintContext.
9242         * java/awt/Color.java (<init>): Make exception more verbose.
9243         (createContext): Use ColorModel when creating a PaintContext.
9244
9245 2004-05-04  Michael Koch  <konqueror@gmx.de>
9246
9247         * gnu/java/text/CharacterBreakIterator.java
9248         (previous): Removed unused variable.
9249
9250 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
9251
9252         * gnu/java/text/FormatBuffer.java,
9253         gnu/java/text/AttributedFormatBuffer.java,
9254         gnu/java/text/StringFormatBuffer.java: New classes to implement
9255         attributed iterators in java.text.
9256         * gnu/java/text/FormatCharacterIterator.java: Moved 
9257         from java/text as it is an internal class.
9258         * java/text/FormatCharacterIterator.java: Removed.
9259         * java/text/Format.java:
9260         Import gnu.java.text.FormatCharacterIterator.
9261         * Makefile.am (java_source_files): Added new files.
9262         * Makefile.in: Regenerated.
9263         
9264
9265 2004-05-04  Mark Wielaard  <mark@klomp.org>
9266
9267         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
9268
9269 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
9270
9271         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
9272         * Makefile.in: Rebuilt.
9273
9274 2004-05-03  Mark Wielaard  <mark@klomp.org>
9275
9276         * gnu/java/security/der/DERReader.java: Call static methods staticly.
9277         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
9278         * java/net/URL.java
9279         (set(String, String, int, String, String, String, String, String)):
9280         Assign this.file to path or path + "?" + query.
9281         * java/util/Arrays.java: Call static methods staticly.
9282         * java/util/zip/ZipEntry.java: Likewise.
9283         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
9284         dir to this.direction.
9285         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
9286         Assign static field only once.
9287         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
9288
9289 2004-05-03  Mark Wielaard  <mark@klomp.org>
9290
9291         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
9292         unused variables hScrollbarHeight and vScrollbarWidth.
9293         (preferredSize): Likewise.
9294         * gnu/java/security/provider/DSAParameters.java (engineToString):
9295         Removed unused call to System.getProperty("line.seperator");
9296         * java/security/Security.java (loadProviders): Return result.
9297
9298 2004-05-03  Tom Tromey  <tromey@redhat.com>
9299
9300         * java/net/URLStreamHandler.java (toExternalForm): Removed
9301         unused variables.
9302         unused constructor.
9303         * java/math/BigDecimal.java (divide): Removed unused variable.
9304         * java/lang/Throwable.java: Cleaned up imports.
9305         * java/lang/ClassLoader.java: Cleaned up imports.
9306         * java/io/FilePermission.java (implies): Removed unused
9307         variable.
9308         * java/awt/TextComponent.java: Removed unused import.
9309         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
9310         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
9311         * gnu/java/text/WordBreakIterator.java: Removed unused import.
9312         * gnu/java/text/SentenceBreakIterator.java: Removed unused
9313         import.
9314         * gnu/java/text/LineBreakIterator.java: Removed unused import.
9315         * gnu/java/text/CharacterBreakIterator.java: Removed
9316         unused import.
9317         * gnu/java/security/provider/DSAKeyPairGenerator.java:
9318         Cleaned up imports.
9319         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
9320         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
9321         unused method.
9322         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
9323         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
9324         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
9325         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
9326         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
9327         (lookupProviders): Removed unused variable.
9328         (loadNextServiceProvider): Likewise.
9329         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
9330
9331 2004-05-03  Michael Koch  <konqueror@gmx.de>
9332
9333         Fixes PR libgcj/14695:
9334         * java/net/NetworkInterface.java
9335         (getByName): Return null when no interface was found.
9336
9337 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
9338             Tom Tromey  <tromey@redhat.com>
9339
9340         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
9341         additional option "-Wmissing-prototypes" for compiling C sources.
9342         Print actual filename for pass/fail rather than $name.c.
9343         * testsuite/libjava.jni/PR15133.java: New testcase file.
9344         * testsuite/libjava.jni/PR15133.c: Likewise.
9345         * testsuite/libjava.jni/PR15133.out: Likewise.
9346
9347 2004-04-30  Roger Sayle  <roger@eyesopen.com>
9348
9349         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
9350         ceil and floor.
9351
9352 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
9353         
9354         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
9355         limit the maximum heap size to avoid unnecessary thrashing.
9356
9357 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
9358
9359         * java/text/CollationElementIterator.java (reset): Reset
9360         lookahead variables.
9361
9362 2004-04-23  Mark Wielaard  <mark@klomp.org>
9363
9364         * jni/classpath/jcl.c: Changed C++ comments into C comments.
9365
9366 2004-04-23 Dalibor Topic <robilad@kaffe.org>
9367
9368         * java/sql/DriverManager.java:
9369         Cleaned up imports.
9370
9371 2004-04-23  Michael Koch  <konqueror@gmx.de>
9372
9373         * java/net/URL.java
9374         (hashcode): Don't initialize with default value explicitely.
9375         (getContent): Removed redundant "final" keyword.
9376         (openStream): Likewise.
9377         (getURLStreamHandler): Fixed coding style.
9378         * java/net/URLConnection.java
9379         (defaultAllowUserInteraction): Don't initialize with default value
9380         explicitely.
9381         (connected): Likewise.
9382         (doOutput): Likewise.
9383         (ifModifiedSince): Likewise.
9384         (dateformats_initialized): Likewise.
9385         (setURLStreamHander): Use StreamTokenizer where it belongs to.
9386
9387 2004-04-23  Michael Koch  <konqueror@gmx.de>
9388
9389         * gnu/java/nio/channels/FileChannelImpl.java
9390         (SET, CUR): Unused, removed.
9391         (read): Implement here directly.
9392         (implRead): Removed.
9393         (write): Implement here directly.
9394         (implWrite): Removed.
9395
9396 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
9397
9398         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
9399         javax/rmi/CORBA/Stub.java,
9400         javax/rmi/CORBA/Util.java,
9401         javax/rmi/CORBA/ValueHandler.java,
9402         javax/rmi/CORBA/ValueHandler.java,
9403         javax/rmi/PortableRemoteObject.java:
9404         Cleaned up imports.
9405
9406 2004-04-23 Dalibor Topic <robilad@kaffe.org>
9407
9408         * java/util/jar/JarFile.java,
9409         java/util/jar/JarInputStream.java,
9410         java/util/jar/JarOutputStream.java,
9411         java/util/jar/Manifest.java:
9412         Cleaned up imports.
9413
9414 2004-04-23 Dalibor Topic <robilad@kaffe.org>
9415
9416         * java/util/ArrayList.java,
9417         java/util/Calendar.java,
9418         java/util/Currency.java,
9419         java/util/HashMap.java,
9420         java/util/HashSet.java,
9421         java/util/Hashtable.java,
9422         java/util/LinkedList.java,
9423         java/util/Properties.java,
9424         java/util/PropertyPermission.java,
9425         java/util/TimeZone.java,
9426         java/util/TreeMap.java,
9427         java/util/TreeSet.java,
9428         java/util/Vector.java,
9429         java/util/WeakHashMap.java:
9430         Cleaned up imports.
9431
9432 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
9433
9434         * java/util/logging/FileHandler.java,
9435         java/util/logging/Formatter.java,
9436         java/util/logging/Handler.java,
9437         java/util/logging/Logger.java,
9438         java/util/logging/SimpleFormatter.java,
9439         java/util/logging/XMLFormatter.java:
9440         Cleaned up imports.
9441
9442 2004-04-22  Mark Wielaard  <mark@klomp.org>
9443
9444         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
9445         -Wno-long-long flags variable.
9446         (gtk_c_files): Use PEDANTIC_CFLAGS.
9447         * Makefile.in: Regenerated.
9448
9449 2004-04-22  Mark Wielaard  <mark@klomp.org>
9450
9451         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9452         Changed C++ comments into C comments.
9453         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
9454         Likewise.
9455
9456 2004-04-22  Michael Koch  <konqueror@gmx.de>
9457
9458         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
9459         Merged copyright year with GNU classpath.
9460
9461 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
9462
9463         * javax/security/auth/x500/X500Principal.java:
9464         Cleaned up imports.
9465
9466 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
9467
9468         * javax/swing/JSlider.java:
9469         Fixed HTML tags in comments.
9470
9471 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
9472
9473         * javax/accessibility/AccessibleText.java:
9474         Cleaned up imports.
9475
9476 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
9477
9478         * java/net/URLStreamHandler.java
9479         (parseURL): Convert the file path to using '/' instead of native
9480         file separator.
9481
9482 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
9483
9484         * java/net/URL.java
9485         (userInfo): New field.
9486         (URL): Set authority to the right value.
9487         (setURL): Fixed authority and file initialization.
9488         * java/net/URLStreamHandler.java
9489         (parseURL): Take care of the query tag. Build authority.
9490         (toExternalForm): Fixed URL building using authority.
9491
9492 2004-04-22  Michael Koch  <konqueror@gmx.de>
9493
9494         * java/net/Socket.java
9495         (impl): Made package-private.
9496         * java/net/ServerSocket.java
9497         (implAccept): Access Socket.impl field directly.
9498
9499 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
9500
9501         * java/util/prefs/Preferences.java,
9502         java/util/prefs/InvalidPreferencesFormatException.java,
9503         java/util/prefs/BackingStoreException.java,
9504         java/util/prefs/AbstractPreferences.java:
9505         Cleaned up imports.
9506
9507 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
9508
9509         * java/util/regex/Matcher.java,
9510         java/util/regex/Pattern.java:
9511         Cleaned up imports.
9512
9513 2004-04-22  Michael Koch  <konqueror@gmx.de>
9514
9515         * java/nio/charset/IllegalCharsetNameException.java
9516         (charsetName): Made private.
9517         (IllegalCharsetNameException): Added @param tag to javadoc.
9518         (getCharsetName): Added @return tag to javadoc.
9519         * java/nio/charset/MalformedInputException.java
9520         (MalformedInputException): Added @param tag to javadoc.
9521         (getInputLength): Revised method description, added @return tag.
9522         (getMessage): Added @return tag.
9523
9524 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
9525
9526         * java/awt/Font.java (deriveFont): Implement missing variants.
9527         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
9528         missing variants.
9529
9530 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
9531
9532         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
9533         Set method->index values for interface methods to their itable index.
9534         (initializeClass): Call _Jv_LayoutInterfaceMethods.
9535
9536 2004-04-21  Michael Koch  <konqueror@gmx.de>
9537
9538         * java/nio/DirectByteBufferImpl.java
9539         (shiftDown): Made static, give address as argument and
9540         provide a convenience method that overwrites shiftDown in
9541         ByteBufferImpl and calls the native shiftDown.
9542         * java/nio/MappedByteBufferImpl.java
9543         (): Use optimized method in DirectByteBufferImpl.
9544         * java/nio/natDirectByteBufferImpl.cc
9545         (shiftDown): Changed method signature. Removed usage of array_offset.
9546
9547 2004-04-21  Michael Koch  <konqueror@gmx.de>
9548
9549         * gnu/java/net/natPlainSocketImplPosix.cc
9550         (SocketInputStream::read): Make sure returned data is a byte value.
9551
9552 2004-04-21  Michael Koch  <konqueror@gmx.de>
9553
9554         * gnu/classpath/ServiceFactory.java,
9555         gnu/classpath/ServiceProviderLoadingAction.java,
9556         javax/imageio/ImageReader.java,
9557         javax/imageio/ImageTranscoder.java,
9558         javax/imageio/ImageWriter.java,
9559         javax/imageio/package.html,
9560         javax/imageio/spi/IIOServiceProvider.java,
9561         javax/imageio/spi/ImageInputStreamSpi.java,
9562         javax/imageio/spi/ImageOutputStreamSpi.java,
9563         javax/imageio/spi/ImageReaderWriterSpi.java,
9564         javax/imageio/spi/ImageTranscoderSpi.java,
9565         javax/imageio/spi/RegisterableService.java,
9566         javax/imageio/spi/ServiceRegistry.java,
9567         javax/imageio/spi/package.html,
9568         javax/imageio/stream/IIOByteBuffer.java,
9569         javax/imageio/stream/ImageInputStream.java,
9570         javax/imageio/stream/ImageOutputStream.java,
9571         javax/imageio/stream/package.html:
9572         New files.
9573         * Makefile.am
9574         (ordinary_java_source_files): Added
9575         gnu/classpath/ServiceFactory.java and
9576         gnu/classpath/ServiceProviderLoadingAction.java.
9577         (javax_source_files): Added
9578         javax/imageio/ImageReader.java,
9579         javax/imageio/ImageTranscoder.java,
9580         javax/imageio/ImageWriter.java,
9581         javax/imageio/spi/IIOServiceProvider.java,
9582         javax/imageio/spi/ImageInputStreamSpi.java,
9583         javax/imageio/spi/ImageOutputStreamSpi.java,
9584         javax/imageio/spi/ImageReaderWriterSpi.java,
9585         javax/imageio/spi/ImageTranscoderSpi.java,
9586         javax/imageio/spi/RegisterableService.java,
9587         javax/imageio/spi/ServiceRegistry.java,
9588         javax/imageio/stream/IIOByteBuffer.java,
9589         javax/imageio/stream/ImageInputStream.java and
9590         javax/imageio/stream/ImageOutputStream.java.
9591         * Makefile.in: Regenerated.
9592
9593 2004-04-21  Michael Koch  <konqueror@gmx.de>
9594
9595         * java/util/Properties.java
9596         (load): Fix wrongly merged fix.
9597
9598 2004-04-21  Mark Wielaard  <mark@klomp.org>
9599
9600         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
9601         malloc and free buf.
9602
9603 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
9604
9605         * javax/naming/AuthenticationException.java,
9606         javax/naming/AuthenticationNotSupportedException.java,
9607         javax/naming/CannotProceedException.java,
9608         javax/naming/CommunicationException.java,
9609         javax/naming/CompoundName.java,
9610         javax/naming/ConfigurationException.java,
9611         javax/naming/ContextNotEmptyException.java,
9612         javax/naming/InitialContext.java,
9613         javax/naming/InsufficientResourcesException.java,
9614         javax/naming/InterruptedNamingException.java,
9615         javax/naming/LimitExceededException.java,
9616         javax/naming/LinkException.java,
9617         javax/naming/LinkLoopException.java,
9618         javax/naming/LinkRef.java,
9619         javax/naming/MalformedLinkException.java,
9620         javax/naming/Name.java,
9621         javax/naming/NameAlreadyBoundException.java,
9622         javax/naming/NameNotFoundException.java,
9623         javax/naming/NamingSecurityException.java,
9624         javax/naming/NoInitialContextException.java,
9625         javax/naming/NoPermissionException.java,
9626         javax/naming/NotContextException.java,
9627         javax/naming/PartialResultException.java,
9628         javax/naming/ReferralException.java,
9629         javax/naming/ServiceUnavailableException.java,
9630         javax/naming/SizeLimitExceededException.java,
9631         javax/naming/TimeLimitExceededException.java,
9632         javax/naming/directory/Attribute.java,
9633         javax/naming/directory/Attributes.java,
9634         javax/naming/directory/SearchResult.java,
9635         javax/naming/event/NamingExceptionEvent.java,
9636         javax/naming/spi/ResolveResult.java:
9637         Cleaned up imports.
9638
9639 2004-04-21  Mark Wielaard  <mark@klomp.org>
9640
9641         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
9642         Changed C++ comments into C comments. Removed commented out code.
9643         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9644         Likewise.
9645         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
9646         Likewise.
9647         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
9648         Likewise.
9649         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
9650         Likewise.
9651         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
9652         Likewise.
9653         * native/jni/gtk-peer/gthread-jni.c:
9654         Likewise.
9655
9656 2004-04-21  Mark Wielaard  <mark@klomp.org>
9657
9658         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
9659         static fields defined in interface.
9660         * javax/awt/JDialog.java: Likewise.
9661         (JDialog): Make constructors public.
9662         (getDefaultCloseOperation): Make public.
9663         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
9664         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
9665         * javax/swing/JViewport.java (JViewport): Make constructor public.
9666
9667 2004-04-21  Michael Koch  <konqueror@gmx.de>
9668
9669         * java/util/Map.java
9670         (Entry): Removed redundant "static" modifier.
9671         * java/text/AttributedCharacterIterator.java:
9672         Updated copyright year.
9673
9674 2004-04-20  Michael Koch  <konqueror@gmx.de>
9675
9676         * javax/naming/directory/SearchControls.java:
9677         Don't explicitely extend java.lang.Object.
9678         * javax/naming/spi/DirStateFactory.java:
9679         Merged copyright year with GNU classpath.
9680
9681 2004-04-20  Michael Koch  <konqueror@gmx.de>
9682
9683         * java/nio/channels/Channels.java:
9684         Merged coding style with GNU classpath.
9685
9686 2004-04-20  Michael Koch  <konqueror@gmx.de>
9687
9688         * java/net/ServerSocket.java
9689         Merged coding style from GNU classpath.
9690
9691 2004-04-20  Michael Koch  <konqueror@gmx.de>
9692
9693         * java/io/BufferedWriter.java:
9694         Reordered variables to be at top of the class.
9695         (localFlush): Removed redundant final keyword.
9696
9697 2004-04-20  Ingo Proetel  <proetel@aicas.com>
9698
9699         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
9700
9701 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
9702
9703         * java/text/DecimalFormat.java (scanFix): Removed suffix check
9704         for percent and permill check.
9705
9706 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
9707
9708         * java/text/FieldPosition.java
9709         (FieldPosition) Constructor now behaves as it should according
9710         to the java documentation.
9711
9712 2004-04-20  Mark Wielaard  <mark@klomp.org>
9713
9714         * java/util/Properties.java: Use the word umlaut, not &auml; in api
9715         documentation.
9716
9717 2004-04-20  Michael Koch  <konqueror@gmx.de>
9718
9719         * java/nio/Buffer.java,
9720         java/nio/channels/AlreadyConnectedException.java,
9721         java/nio/channels/AsynchronousCloseException.java,
9722         java/nio/channels/ByteChannel.java,
9723         java/nio/channels/CancelledKeyException.java,
9724         java/nio/channels/Channel.java,
9725         java/nio/channels/Channels.java,
9726         java/nio/channels/ClosedByInterruptException.java,
9727         java/nio/channels/ClosedChannelException.java,
9728         java/nio/channels/ClosedSelectorException.java,
9729         java/nio/channels/ConnectionPendingException.java,
9730         java/nio/channels/DatagramChannel.java,
9731         java/nio/channels/FileChannel.java,
9732         java/nio/channels/FileLock.java,
9733         java/nio/channels/FileLockInterruptionException.java,
9734         java/nio/channels/GatheringByteChannel.java,
9735         java/nio/channels/IllegalBlockingModeException.java,
9736         java/nio/channels/IllegalSelectorException.java,
9737         java/nio/channels/InterruptibleChannel.java,
9738         java/nio/channels/NoConnectionPendingException.java,
9739         java/nio/channels/NonReadableChannelException.java,
9740         java/nio/channels/NonWritableChannelException.java,
9741         java/nio/channels/NotYetBoundException.java,
9742         java/nio/channels/NotYetConnectedException.java,
9743         java/nio/channels/OverlappingFileLockException.java,
9744         java/nio/channels/Pipe.java,
9745         java/nio/channels/ReadableByteChannel.java,
9746         java/nio/channels/ScatteringByteChannel.java,
9747         java/nio/channels/SelectableChannel.java,
9748         java/nio/channels/SelectionKey.java,
9749         java/nio/channels/Selector.java,
9750         java/nio/channels/ServerSocketChannel.java,
9751         java/nio/channels/SocketChannel.java,
9752         java/nio/channels/UnresolvedAddressException.java,
9753         java/nio/channels/UnsupportedAddressTypeException.java,
9754         java/nio/channels/WritableByteChannel.java,
9755         java/nio/channels/spi/AbstractInterruptibleChannel.java,
9756         java/nio/channels/spi/AbstractSelectableChannel.java,
9757         java/nio/channels/spi/AbstractSelectionKey.java,
9758         java/nio/channels/spi/AbstractSelector.java,
9759         java/nio/channels/spi/SelectorProvider.java,
9760         java/nio/charset/spi/CharsetProvider.java:
9761         Fixed javadocs and jalopied all over java.nio.
9762
9763 2004-04-20  Michael Koch  <konqueror@gmx.de>
9764
9765         * java/nio/ByteBufferImpl.java,
9766         java/nio/CharBufferImpl.java,
9767         java/nio/DirectByteBufferImpl.java,
9768         java/nio/DoubleBufferImpl.java,
9769         java/nio/DoubleViewBufferImpl.java,
9770         java/nio/FloatBufferImpl.java,
9771         java/nio/FloatViewBufferImpl.java,
9772         java/nio/IntBufferImpl.java,
9773         java/nio/IntViewBufferImpl.java,
9774         java/nio/LongBufferImpl.java,
9775         java/nio/LongViewBufferImpl.java,
9776         java/nio/MappedByteBufferImpl.java,
9777         java/nio/ShortBufferImpl.java,
9778         java/nio/ShortViewBufferImpl.java:
9779         Made sure all classes are final and removed final keyword from all
9780         methods.
9781
9782 2004-04-20  Michael Koch  <konqueror@gmx.de>
9783
9784         * java/rmi/MarshalledObject.java,
9785         java/rmi/Naming.java,
9786         java/rmi/RemoteException.java,
9787         java/rmi/activation/ActivationException.java,
9788         java/rmi/server/ServerCloneException.java,
9789         java/security/AccessController.java,
9790         java/security/AlgorithmParameterGenerator.java,
9791         java/security/AlgorithmParameters.java,
9792         java/security/CodeSource.java,
9793         java/security/Identity.java,
9794         java/security/IdentityScope.java,
9795         java/security/KeyPairGenerator.java,
9796         java/security/KeyStore.java,
9797         java/security/Security.java,
9798         java/security/Signature.java,
9799         java/security/SignatureSpi.java,
9800         java/security/SignedObject.java,
9801         java/security/spec/DSAParameterSpec.java,
9802         java/security/spec/DSAPrivateKeySpec.java,
9803         java/security/spec/DSAPublicKeySpec.java,
9804         java/sql/Array.java,
9805         java/sql/DatabaseMetaData.java,
9806         java/sql/ResultSet.java,
9807         java/text/ChoiceFormat.java,
9808         java/text/CollationElementIterator.java,
9809         java/text/CollationKey.java,
9810         java/text/Collator.java,
9811         java/text/DateFormat.java,
9812         java/text/DateFormatSymbols.java,
9813         java/text/DecimalFormatSymbols.java,
9814         java/text/Format.java,
9815         java/text/ParsePosition.java,
9816         java/text/RuleBasedCollator.java,
9817         java/text/SimpleDateFormat.java,
9818         java/text/StringCharacterIterator.java,
9819         java/util/Collections.java,
9820         java/util/PropertyResourceBundle.java,
9821         java/util/ResourceBundle.java,
9822         java/util/StringTokenizer.java,
9823         java/util/jar/Attributes.java,
9824         java/util/logging/ConsoleHandler.java,
9825         java/util/logging/LogManager.java,
9826         java/util/logging/MemoryHandler.java,
9827         java/util/logging/SocketHandler.java,
9828         javax/naming/NamingException.java:
9829         Fixed javadoc, coding style and argument names all over.
9830
9831 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
9832
9833         * java/io/FileDescriptor.java: (FileDescriptor) Added public
9834         constructor. (valid) Added null check.
9835
9836 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
9837
9838         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
9839         * java/io/FileOutputStream.java
9840         (FileOutputStream) Reorganized constructors. Constructors now
9841         check whether the given path is directory.
9842
9843 2004-04-20  Michael Koch  <konqueror@gmx.de>
9844
9845         * java/net/Authenticator.java,
9846         java/net/BindException.java,
9847         java/net/ConnectException.java,
9848         java/net/ContentHandler.java,
9849         java/net/ContentHandlerFactory.java,
9850         java/net/DatagramPacket.java,
9851         java/net/DatagramSocket.java,
9852         java/net/DatagramSocketImpl.java,
9853         java/net/DatagramSocketImplFactory.java,
9854         java/net/FileNameMap.java,
9855         java/net/HttpURLConnection.java,
9856         java/net/Inet4Address.java,
9857         java/net/Inet6Address.java,
9858         java/net/InetAddress.java,
9859         java/net/InetSocketAddress.java,
9860         java/net/JarURLConnection.java,
9861         java/net/MalformedURLException.java,
9862         java/net/MulticastSocket.java,
9863         java/net/NetPermission.java,
9864         java/net/NetworkInterface.java,
9865         java/net/NoRouteToHostException.java,
9866         java/net/PasswordAuthentication.java,
9867         java/net/PortUnreachableException.java,
9868         java/net/ProtocolException.java,
9869         java/net/ServerSocket.java,
9870         java/net/Socket.java,
9871         java/net/SocketAddress.java,
9872         java/net/SocketException.java,
9873         java/net/SocketImpl.java,
9874         java/net/SocketImplFactory.java,
9875         java/net/SocketOptions.java,
9876         java/net/SocketPermission.java,
9877         java/net/SocketTimeoutException.java,
9878         java/net/URI.java,
9879         java/net/URISyntaxException.java,
9880         java/net/URL.java,
9881         java/net/URLClassLoader.java,
9882         java/net/URLConnection.java,
9883         java/net/URLDecoder.java,
9884         java/net/URLEncoder.java,
9885         java/net/URLStreamHandler.java,
9886         java/net/URLStreamHandlerFactory.java,
9887         java/net/UnknownHostException.java,
9888         java/net/UnknownServiceException.java:
9889         Fixed javadocs, coding style and argument names all over.
9890
9891 2004-04-20  Michael Koch  <konqueror@gmx.de>
9892
9893         * java/lang/Byte.java,
9894         java/lang/CharSequence.java,
9895         java/lang/ClassLoader.java,
9896         java/lang/Compiler.java,
9897         java/lang/Double.java,
9898         java/lang/Float.java,
9899         java/lang/Integer.java,
9900         java/lang/Long.java,
9901         java/lang/Math.java,
9902         java/lang/Number.java,
9903         java/lang/Package.java,
9904         java/lang/Runtime.java,
9905         java/lang/RuntimePermission.java,
9906         java/lang/SecurityManager.java,
9907         java/lang/Short.java,
9908         java/lang/StringBuffer.java,
9909         java/lang/System.java,
9910         java/lang/ThreadGroup.java,
9911         java/lang/Throwable.java,
9912         java/lang/reflect/InvocationHandler.java,
9913         java/lang/reflect/Proxy.java:
9914         Fixed javadocs, coding style and argument names all over.
9915
9916 2004-04-20  Michael Koch  <konqueror@gmx.de>
9917
9918         * java/io/BufferedWriter.java,
9919         java/io/ByteArrayInputStream.java,
9920         java/io/CharArrayWriter.java,
9921         java/io/DataInput.java,
9922         java/io/DataInputStream.java,
9923         java/io/File.java,
9924         java/io/FilterInputStream.java,
9925         java/io/InputStream.java,
9926         java/io/InputStreamReader.java,
9927         java/io/ObjectInputStream.java,
9928         java/io/ObjectStreamClass.java,
9929         java/io/PipedInputStream.java,
9930         java/io/PipedReader.java,
9931         java/io/PushbackInputStream.java,
9932         java/io/PushbackReader.java,
9933         java/io/RandomAccessFile.java,
9934         java/io/SerializablePermission.java,
9935         java/io/StreamTokenizer.java,
9936         java/io/StringWriter.java,
9937         java/io/WriteAbortedException.java,
9938         java/io/Writer.java:
9939         Fixed javadocs all over, rename arguments to match javadocs,
9940         fixed coding style.
9941
9942 2004-04-20  Ingo Proetel  <proetel@aicas.com>
9943
9944         * java/awt/FontMetrics.java:
9945         (charsWidth): fixed accumulation of total_width
9946         (getWidth): simple default implementation
9947         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
9948         in Rectangle constructor.
9949         * java/awt/image/Raster.java (toString): Added method. 
9950         * java/awt/image/SampleModel.java (<init>): Added error cause
9951         information to thrown exception.
9952         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
9953         New method.
9954         (setDataElements): New method.
9955         (setPixels): New method.
9956         (toString): New method.
9957
9958 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
9959
9960         * java/awt/image/ComponentColorModel.java
9961         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
9962         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
9963         Mauve tests on this method. Improved documentation.
9964
9965 2004-04-20  Michael Koch  <konqueror@gmx.de>
9966
9967         * javax/swing/JLayeredPane.java,
9968         javax/swing/plaf/BorderUIResource.java,
9969         javax/swing/plaf/ComponentUI.java,
9970         javax/swing/undo/CompoundEdit.java,
9971         javax/swing/undo/StateEdit.java:
9972         Fixed HTML tags in javadocs all over.
9973
9974 2004-04-20  Michael Koch  <konqueror@gmx.de>
9975
9976         * javax/print/attribute/EnumSyntax.java
9977         (getOffset): Made protected.
9978         * javax/print/attribute/HashAttributeSet.java
9979         (HashAttributeSet): Likewise.
9980         * javax/print/attribute/ResolutionSyntax.java
9981         (getFeedResolution): Fixed typo in exception name.
9982         (getCrossFeedResolution): Likewise.
9983         * javax/print/attribute/SetOfIntegerSyntax.java
9984         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
9985         * javax/print/attribute/TextSyntax.java
9986         (TextSyntax): Handle locale correctly.
9987         (hashCode): Calc better hashcode value.
9988         (equals): Fixed @return tag.
9989         (toString): New method.
9990
9991 2004-04-20  Michael Koch  <konqueror@gmx.de>
9992
9993         * gnu/java/nio/FileLockImpl.java
9994         (static): Removed, not needed anymore.
9995         * gnu/java/nio/channels/FileChannelImpl.java
9996         (FileChannelImpl): Made final.
9997         (mode): Made private.
9998         (READ, WRITE, APPEND): Made public.
9999         (EXCL, SYNC, DSYNC): Likewise.
10000         (static): Load native JNI library, when needed.
10001         (length): Unused, removed.
10002         (available): Made public.
10003         (implPosition): Throws IOException.
10004         (seek): Likewise.
10005         (implTruncate): Likewise.
10006         (unlock): Likewise.
10007         (lock): Likewise.
10008
10009 2004-04-20  Michael Koch  <konqueror@gmx.de>
10010
10011         * java/awt/AWTPermission.java,
10012         java/awt/Component.java,
10013         java/awt/ComponentOrientation.java,,
10014         java/awt/Dialog.java,
10015         java/awt/FontMetrics.java,
10016         java/awt/Graphics.java,
10017         java/awt/datatransfer/DataFlavor.java,
10018         java/beans/Introspector.java,
10019         java/beans/PropertyEditor.java,
10020         java/beans/PropertyEditorManager.java,
10021         java/beans/beancontext/BeanContextServiceProvider.java:
10022         Fixed HTML tags in javadocs all over.
10023
10024 2004-04-20  Mark Wielaard  <mark@klomp.org>
10025
10026         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
10027         MissingResourceException is thrown.
10028         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
10029         null when a MissingResourceException is thrown. Should never happen.
10030
10031 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
10032
10033         * java/awt/image/DataBufferShort.java,
10034         java/awt/image/DataBufferFloat.java,
10035         java/awt/image/DataBufferDouble.java,
10036         java/awt/image/PixelInterleavedSampleModel.java: New files.
10037         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
10038         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
10039
10040 2004-04-20  Michael Koch  <konqueror@gmx.de>
10041
10042         * Makefile.am (java_source_files): Added
10043         java/awt/image/DataBufferDouble.java,
10044         java/awt/image/DataBufferFloat.java,
10045         java/awt/image/DataBufferShort.java and
10046         java/awt/image/PixelInterleavedSampleModel.java.
10047         * Makefile.in: Regenerated.
10048
10049 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
10050  
10051         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
10052         undocumented CNI calls.
10053         * include/java-interp.h (_Jv_InterpClass): No longer
10054         extends java.lang.Class.
10055         * java/lang/Class.h (Class): Add new field `aux_info'.
10056         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
10057         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
10058         Use Class->aux_info instead.
10059         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
10060         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
10061         Use Class->aux_info instead.
10062         * java/io/natObjectInputStream.cc (allocateObject): Use
10063         _Jv_AllocObject.
10064         * java/lang/natClass.cc (newInstance): Likewise.
10065         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
10066         * java/lang/natObject.cc (clone): Likewise.
10067         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
10068         * java/lang/natVMClassLoader.cc (defineClass): Don't use
10069         JvAllocObject. Allocate klass->aux_info here for interpreted
10070         class.
10071         
10072 2004-04-17  Mark Wielaard  <mark@klomp.org>
10073
10074         * javax/swing/JToggleButton.java (ToggleButtonModel):
10075         Make public static inner class.
10076         * javax/swing/JTabbedPane.java (setComponentAt):
10077         Call Page.setComponent().
10078         (SCROLL_TAB_LAYOUT): Make public, value is 1.
10079         (WRAP_TAB_LAYOUT): Make public, value is 0.
10080         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
10081         Make private static inner class.
10082
10083 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
10084
10085         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
10086         arguments to match new signature. Remove FIXME comments.
10087
10088 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
10089
10090         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
10091         Remove method.
10092         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
10093         unused code.
10094
10095 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
10096
10097         * Makefile.am: Added new file.
10098         * Makefile.in: Regenerate.
10099         * javax/swing/ImageIcon.java: 
10100         (ImageIcon(file)): set description of the icon 
10101         to the file name
10102         * javax/swing/JCheckBoxMenuItem.java:
10103         Mostly Implemented. Work in progress.
10104         * javax/swing/JRadioButtonMenuItem.java:
10105         Reimplement constructors to use JToggleButtonModel.
10106         * javax/swing/plaf/basic/BasicIconFactory.java:
10107         (getCheckBoxMenuItemIcon): return check box
10108         icon.
10109         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10110         paint menu item selected only when it is armed and 
10111         pressed. 
10112  
10113 2004-04-02  David Jee  <djee@redhat.com>
10114
10115         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
10116         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
10117         * java/awt/Component.java
10118         (add): Set the parent of the popup as this component.
10119         * java/awt/PopupMenu.java
10120         (addNotify): Create popup menu when peer is null.
10121         (show): Call addNotify() if peer is null.
10122         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
10123         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
10124         argument for gtk_menu_popup() as zero. This causes the popup menu to
10125         respond to any mouse button.
10126
10127 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
10128
10129         * Makefile.am: Added new file.
10130         * Makefile.in: Regenerate.
10131         * javax/swing/JRadioButtonMenuItem.java:
10132         Implemented.
10133         * javax/swing/plaf/basic/BasicIconFactory.java:
10134         (getRadioButtonMenuItemIcon): Return
10135         radio button icon.
10136         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10137         (getPreferredSize): Add size of checkIcon if it
10138         exists.
10139         (installDefaults): Don't initialize checkIcon.
10140         It's value will be set in subclasses. 
10141         (uninstallDefaults): remove uninstallation of 
10142         checkIcon.
10143         (paint): Moved code to paintMenuItem().
10144         (paintMenuItem): Implemented.
10145         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
10146         UI delegate for JRadioButtonMenuItem.
10147         
10148 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
10149
10150         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10151         Corrected position of the accelerator.
10152
10153 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
10154
10155         * Makefile.am: Added new file. 
10156         * Makefile.in: Regenerate.
10157         * javax/swing/JMenuItem.java: Partly 
10158         implemented. Work in progress
10159         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10160         Changed default value of acceleratorDelimiter.
10161         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10162         New class. Partly implemented.
10163                 
10164 2004-03-26  Mark Wielaard  <mark@klomp.org>
10165
10166         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10167         (item_activate): Declare label before use.
10168         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10169         (gtkSetFont): Removed unused variable label.
10170         (addExposeFilter): Declare variables before use.
10171         (removeExposeFilter): Likewise.
10172         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
10173         (ok_clicked): Declare str_fileName before use.
10174
10175 2004-03-26  David Jee  <djee@redhat.com>
10176
10177         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
10178         (addSeparator): Remove.
10179         * java/awt/Menu.java
10180         (separator): Remove static final MenuItem field.
10181         (separatorLabel): New static final String field.
10182         (addSeparator): Do not use peer method; use add(MenuItem) instead.
10183         Use separatorLabel to denote that it is a separator.
10184         (insertSeparator): Create a new MenuItem with separatorLabel, instead
10185         of reusing the static separator instance, because a MenuItem instance
10186         can't be added more than once without being cloned.
10187         * java/awt/peer/MenuPeer.java
10188         (addSeparator): Remove from interface.
10189
10190 2004-03-26  David Jee  <djee@redhat.com>
10191
10192         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
10193         (connectSignals): New native method declaration.
10194         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
10195         * java/awt/MenuItem.java
10196         (getActionCommand): Return the label if the action command is not set.
10197         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
10198         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
10199         gtk_menu_shell_append().
10200         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
10201         (item_activate): Fix argument type.
10202         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
10203         signal here.
10204         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
10205         method.
10206         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
10207         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
10208         given. Add the menu widget's top-level GtkWindow to the global window
10209         group, so it can grab the pointer.
10210         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
10211         gtk_menu_shell_append().
10212
10213 2004-03-23  Graydon Hoare  <graydon@redhat.com>
10214
10215         * java/text/AttributedString.java 
10216         (addAttribute): Fix off-by-one.
10217         (getIterator): Likewise.        
10218         * java/text/AttributedStringIterator.java 
10219         (getRunLimit): Correct logic.
10220         (getRunStart): Likewise.
10221         (getAttribute): Fix inequality.
10222         (getAttributes): Likewise.
10223         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
10224
10225 2004-03-23  Kim Ho  <kho@redhat.com>
10226
10227         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
10228         (calculateSizes): Return real width and height.
10229
10230 2004-03-23  Kim Ho  <kho@redhat.com>
10231
10232         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
10233         (calculateTabRects): Set the selectedRun before
10234         trying to rotate tabs.
10235
10236 2004-03-23  Kim Ho  <kho@redhat.com>
10237
10238         * Makefile.am: New file
10239         * Makefile.in: Regenerate
10240         * java/awt/Graphics.java: (drawRect):
10241         Draw to the correct point.
10242         * javax/swing/DefaultSingleSelectionModel.java
10243         (isSelected): Return true if the selected index
10244         is not -1.
10245         * javax/swing/JLabel.java: Do not change mnemonic
10246         index if text is null.
10247         * javax/swing/JProgressBar.java: Use JComponent's
10248         EventListenerList.
10249         * javax/swing/JScrollBar.java: Ditto.
10250         * javax/swing/JSlider.java: Ditto.
10251         * javax/swing/JTabbedPane.java: Reimplement.
10252         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10253         Add defaults for TabbedPane.
10254         * javax/swing/plaf/basic/BasicArrowButton.java:
10255         Implement
10256         * javax/swing/plaf/basic/BasicProgressBarUI.java:
10257         (paintDeterminate): Don't paint String if it's
10258         empty.
10259         (paintIndeterminate): ditto.
10260         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
10261         Reimplement.
10262
10263 2004-03-19  Michael Koch  <konqueror@gmx.de>
10264
10265         * java/awt/image/AffineTransformOp.java
10266         (AffineTransformOp): Made public.
10267         * javax/swing/JComponent.java
10268         (listenerList): Made protected.
10269         (accessibleContext): Likewise.
10270         * javax/swing/JList.java
10271         (valueChanged): Dont use internal fields of ListSelectionEvent.
10272         * javax/swing/JViewport.java
10273         (getView): Dont use internal fields of Component.
10274         (addImpl): Likewise.
10275         * javax/swing/Timer.java
10276         (isRunning): Made public.
10277         (start): Likewise.
10278         (stop): Likewise.
10279         * javax/swing/UIDefaults.java
10280         (getInt): Made public.
10281         * javax/swing/plaf/basic/BasicListUI.java
10282         (mousePressed): Dont use internal fields of MouseEvent.
10283         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
10284         * javax/swing/plaf/basic/BasicScrollBarUI.java
10285         (arrowIcon): Made static.
10286         * javax/swing/plaf/basic/BasicViewportUI.java
10287         (stateChanged): Dont use internal field on ChangeEvent.
10288         * javax/swing/text/JTextComponent.java
10289         (getUI): Call UIManager.getUI().
10290         (updateUI): Use getUI().
10291
10292 2004-03-19  Graydon Hoare  <graydon@redhat.com>
10293
10294         * javax/swing/JComponent.java: Turn off double buffer by default.
10295         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
10296         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
10297         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
10298         Use cairo to copy areas.
10299         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
10300         Initialize and set clip region.
10301
10302 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
10303
10304         * java/applet/Applet.java (preferredSize): Override deprecated
10305         variant of getPreferredSize.
10306         (minimumSize): Override deprecated variant of getMinimumSize.
10307
10308 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
10309
10310         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10311         (drawImage(img,xform,bgcolor,obs)): New Method.
10312         Helper function that every drawImage method will
10313         use.
10314         (drawRaster): Added new parameter, bgcolor. All
10315         transparent pixels are changed to bgcolor before 
10316         image is drawn.
10317         (drawRenderedImage): Fixed to use changed drawRaster().
10318         (drawImage(image,xform,obs): Fixed to use new helper function 
10319         (drawImage(image,op,x,y)): Ditto.
10320         (drawImage (img,x,y,observer)): Ditto.
10321         ((PainterThread) bgcolor): New Field.
10322         ((PainterThread) (setPixels)): Changed all transparent pixels 
10323         to bgcolor.     
10324         (drawImage(img,x,y,width,height,bgcolor,observer)): 
10325         Fixed FIXME - all the transparent pixels are 
10326         changed to the specified bgcolor. 
10327         (drawImage(img, x, y, width, height, observer): Changed to 
10328         use function above.
10329         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
10330         Fixed FIXME- changed all transparent pixels to bgcolor.
10331         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
10332         Changed to use function above. 
10333
10334 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
10335
10336         * java/applet/Applet.java (dimensions): New field.
10337         (getDimensions): New method.
10338         (getPreferredSize): Call getDimensions.
10339         (getMinimumSize): Likewise.
10340
10341 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
10342
10343         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
10344         * jni/classpath/jnilink.c: Likewise.
10345
10346         * java/applet/Applet.java (getPreferredSize): New method.
10347         (getMinimumSize): New method.
10348
10349 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
10350
10351         * prims.cc (_Jv_AllocObject): Remove `size' argument.
10352         (_Jv_AllocObjectNoFinalizer): Likewise.
10353         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
10354         (_Jv_AllocPtrFreeObject): Likewise.
10355         (_Jv_AllocString): Moved from natString.cc. Call collector interface
10356         directly even in the JVMPI case.        
10357         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
10358         _Jv_AllocObject calls.
10359         * gcj/javaprims.h: Update prototypes.
10360         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
10361         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
10362         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
10363
10364 2004-04-14  Andrew Haley  <aph@redhat.com>
10365             Bryce McKinlay  <mckinlay@redhat.com>
10366
10367         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
10368         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
10369         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
10370
10371         * testsuite/libjava.lang/InvokeInterface.java: New file.
10372         * testsuite/libjava.lang/InvokeInterface.out: New file.
10373
10374 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
10375         
10376         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
10377         modified lookup().
10378         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
10379         StackTraceElement directly.
10380         (newElement): New native helper method to create StackTraceElement
10381         bypassing Java access control.
10382         (createStackTraceElement): Use newElement() instead of directly
10383         calling StackTraceElement's constructor.
10384         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
10385
10386 2004-04-01  Michael Koch  <konqueror@gmx.de>
10387
10388         * java/lang/SecurityManager.java
10389         (checkAwtEventQueueAccess): Implemented.
10390
10391 2004-04-01  Gary Benson  <gbenson@redhat.com>
10392
10393         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
10394         (_Jv_SearchMethodInClass): Likewise.
10395
10396 2004-03-26  Peter Moon  <peterm@miraculum.com>
10397
10398         * java/text/NumberFormat.java: Fix spelling of setCurrency
10399         method.
10400
10401 2004-03-21  Anthony Green  <green@redhat.com>
10402
10403         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
10404         recursion when searching for the system ClassLoader.
10405
10406 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
10407
10408         * java/net/ServerSocket.java
10409         (accept): Close the socket when error occured.
10410
10411 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
10412
10413         * java/net/URI.java (parseURI): Added unquoting.
10414         (unquote): New method.
10415         (quoteAuthority): Implemented.
10416         (quote(String,String)): New method.
10417         (quotePath): Implemented.
10418         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
10419         (getSchemeSpecificPart): Removed FIXME comment.
10420         (getRawAuthority): Return new rawAuthority field.
10421         (getAuthority): Removed FIXME comment.
10422         (getRawUserInfo): Return new rawUserInfo field.
10423         (getUserInfo): Removed FIXME comment.
10424         (getRawPath): Return new rawPath field.
10425         (getPath): Removed FIXME comment.
10426         (getRawQuery): Return new rawQuery field.
10427         (getQuery): Removed FIXME comment.
10428         (getRawFragment): Return new rawFragment field.
10429         (getFragment): Removed FIXME comment.
10430
10431 2004-03-20  Michael Koch  <konqueror@gmx.de>
10432
10433         * java/net/URLConnection.java: Merged copyright year with classpath.
10434
10435 2004-03-20  Norbert Frese  <postfach@nfrese.net>
10436
10437         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
10438         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
10439         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
10440         rmi-message.
10441         (getObjectInputStream): Return object reference, throw IOException if null.
10442         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
10443         (getObjectOutputStream): Return object reference, throw IOException if null.
10444         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
10445         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
10446         (UnicastConnectionManager): Throw RemoteException if port is not available.
10447         (getInstance): Throw RemoteException.
10448         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
10449         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
10450         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
10451         Collect Exceptions which are returned by a rmi-call and fix void returns.
10452         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
10453         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
10454         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
10455         (dispatch): Answer ping messages which are sent by other java implementions.
10456         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
10457         for every rmi-message and fix void return problems.
10458         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
10459         (UnicastServerRef): Throw RemoteException.
10460         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
10461         In some situations it is necessary to export a subclass of the class which has the _Stub.
10462         For instance when the class with has the _Stub is abstract.
10463         (findStubSkelClass): New method which looks for the class which has the _Stub.
10464         (getClientHost): Implementated.
10465         * gcc/libjava/java/rmi/server/RemoteServer.java
10466         (getClientHost): Implementated.
10467         * gcc/libjava/Makefile.am (rmi_java_source_files):
10468         Added gnu/java/rmi/server/RMIIncomingThread.java.
10469         * Makefile.in: Regenerated.
10470
10471 2004-03-20  Michael Koch  <konqueror@gmx.de>
10472
10473         * java/net/InetAddress.java
10474         (getLocalHostname): Added javadoc.
10475
10476 2004-03-19  Per Bothner  <per@bothner.com>
10477
10478         * configure.in: FILE variable  overrides FLATFORM when linking
10479         natFileChannelXXX.cc.
10480
10481         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
10482         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
10483
10484 2004-03-19  Per Bothner  <per@bothner.com>
10485
10486         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
10487         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
10488         * Makefile.am:  Update accordingly.
10489         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
10490         as aliases for UnicodeLittle and UnicodeBig.
10491
10492 2004-03-20  Mark Wielaard  <mark@klomp.org>
10493
10494         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10495         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
10496         Don't access ws when it is null.
10497         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
10498         Likewise.
10499
10500 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
10501
10502         * java/lang/ThreadGroup.java (list): Changed print to println.
10503
10504 2004-03-19  Mark Wielaard  <mark@klomp.org>
10505
10506         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
10507         happy.
10508
10509 2004-02-10  Randolph Chung  <tausq@debian.org>
10510  
10511         * configure.in: Build java for hppa target.
10512         * configure: Regenerate.
10513         * libjava/configure.host (hppa-*): Add target.
10514         * libjava/sysdeps/pa/lock.h: New file.
10515
10516 2004-03-19  Mark Wielaard  <mark@klomp.org>
10517
10518         Reported by Stephen Crawley
10519         * java/io/FilePermission.java (implies): Use String.length() -1 to
10520         access last char of String.
10521
10522 2004-03-19  Michael Koch  <konqueror@gmx.de>
10523
10524         * java/awt/image/AffineTransformOp.java
10525         (AffineTransformOp): Made public.
10526         * javax/swing/JComponent.java
10527         (listenerList): Made protected.
10528         (accessibleContext): Likewise.
10529         * javax/swing/JList.java
10530         (valueChanged): Dont use internal fields of ListSelectionEvent.
10531         * javax/swing/JViewport.java
10532         (getView): Dont use internal fields of Component.
10533         (addImpl): Likewise.
10534         * javax/swing/Timer.java
10535         (isRunning): Made public.
10536         (start): Likewise.
10537         (stop): Likewise.
10538         * javax/swing/UIDefaults.java
10539         (getInt): Made public.
10540         * javax/swing/plaf/basic/BasicListUI.java
10541         (mousePressed): Dont use internal fields of MouseEvent.
10542         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
10543         * javax/swing/plaf/basic/BasicScrollBarUI.java
10544         (arrowIcon): Made static.
10545         * javax/swing/plaf/basic/BasicViewportUI.java
10546         (stateChanged): Dont use internal field on ChangeEvent.
10547         * javax/swing/text/JTextComponent.java
10548         (getUI): Call UIManager.getUI().
10549         (updateUI): Use getUI().
10550
10551 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10552
10553         * verify.cc: Undef PC.
10554
10555 2004-03-18  Michael Koch  <konqueror@gmx.de>
10556
10557         * java/nio/channels/spi/AbstractSelectableChannel.java
10558         (keys): Initialize at declaration.
10559         (locate): keys cant be null.
10560         (add): Removed.
10561         (addSelectionKey): New method.
10562         (removeSelectionKey): New method.
10563         * java/nio/channels/spi/AbstractSelectionKey.java
10564         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
10565         * java/nio/channels/spi/AbstractSelector.java
10566         (provider): Javadoc added.
10567         (cancelledKeys): Javadoc added.
10568         (cancelKey): Javadoc added, add key to cancelledKeys.
10569         (deregister): Implemented.
10570
10571 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10572
10573         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
10574         MAP_FAILED to void *.
10575
10576 2004-03-12  Graydon Hoare  <graydon@redhat.com>
10577
10578         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
10579         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
10580         * javax/swing/JList.java (ListListener): Revalidate on changes.
10581         * javax/swing/JScrollPane.java: Reimplement.
10582         * javax/swing/JViewport.java: Reimplement.
10583         * javax/swing/ScrollPaneLayout.java: Reimplement.
10584         * javax/swing/ViewportLayout.java: Tidy up.
10585         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
10586         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
10587         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
10588         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
10589         backing store only.
10590
10591 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
10592
10593         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10594         (window_wm_protocols_filter): New function.
10595         (window_focus_in_cb): Remove function.
10596         (window_focus_out_cb): Likewise.
10597         (window_focus_or_active_state_change_cb): New function.
10598         (create): Add filter that removes WM_TAKE_FOCUS client messages.
10599         (connectSignals): Don't attach handlers to focus-in-event or
10600         focus-out-event signals.  Handle notify signal.
10601
10602 2004-03-11  David Jee  <djee@redhat.com>
10603
10604         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
10605         (gtkSetLabel): New native method declaration.
10606         (setLabel): Use gtkSetLabel.
10607         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
10608         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
10609
10610 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
10611
10612         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
10613         black when color argument is null.
10614
10615 2004-03-10  Kim Ho  <kho@redhat.com>
10616
10617         * java/awt/Container.java: Remove check
10618         for drag events.
10619
10620 2004-03-10  Kim Ho  <kho@redhat.com>
10621
10622         * java/awt/Container.java: (visitChild):
10623         Remove candidate clip. Use the component
10624         clip to intersect.
10625         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
10626         (handleEvent): Use the PaintEvent's clip.
10627
10628 2004-03-10  Kim Ho  <kho@redhat.com>
10629
10630         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
10631         (handleEvent): Don't set the clip for the
10632         Graphics object.
10633
10634 2004-03-09  Graydon Hoare  <graydon@redhat.com>
10635
10636         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
10637         Fix double <-> fixed macros, reset font transform.
10638         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
10639         Likewise.
10640
10641 2004-03-09  Kim Ho  <kho@redhat.com>
10642
10643         * java/awt/Container.java: (visitChild): Move
10644         the x and y coordinate of the component rectangle
10645         to correct position.
10646         (handleEvent): Forward drag events to the pressed
10647         component.
10648         * javax/swing/plaf/basic/BasicScrollBarUI.java:
10649         Fix comments.
10650         (ArrowButtonListener::mousePressed): Stop the
10651         existing timer.
10652         (mouseDragged): Implement.
10653         (TrackListener::mousePressed): Only react if
10654         the press doesn't occur on the thumb, otherwise
10655         just set the offset.
10656         (TrackListener::mouseReleased): Unset the isAdjusting
10657         value.
10658         (createIncreaseIcon): Switch icon.
10659         (createDecreaseIcon): Switch icon.
10660         (calculatePreferredSize): Use width.
10661         (getThumbBounds): Use the top as the lower value.
10662         (layoutVScrollBar): Switch the button locations.
10663         (paintIncreaseHighlight): Paint correct side of thumb.
10664         (paintDecreaseHighlight): ditto.
10665         (valueForYPosition): Use top as the lower value.
10666         * javax/swing/plaf/basic/BasicSliderUI.java:
10667         Fix comments.
10668         (mouseDragged): Implement.
10669         (mousePressed): Only react when the thumb isn't
10670         pressed, otherwise just set offset.
10671         (mouseReleased): Handle a release of the thumb.
10672         (scrollDueToClickInTrack): Stop the timer first.
10673         * javax/swing/JProgressBar.java:
10674         (setString): Fix change condition.
10675         * javax/swing/JSeparator.java:
10676         Remove println's.
10677
10678 2004-03-08  David Jee  <djee@redhat.com>
10679
10680         * java/awt/image/AffineTransformOp.java:
10681         (filter): Use Graphics2D interface instead of directly using the
10682         GdkGraphics2D peer.
10683
10684 2004-03-05  David Jee  <djee@redhat.com>
10685
10686         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10687         (handleEvent): Action events are generated upon MOUSE_RELEASED.
10688         * java/awt/Container.java
10689         (acquireComponentForMouseEvent): Fixed.
10690         (handleEvent): Fixed.
10691         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10692         (state_to_awt_mods_with_button_states): New method.
10693         (pre_event_handler): Fixed mouse event generation.
10694
10695 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
10696
10697         gnu/java/awt/peer/gtk/GdkGraphics2D.java
10698         (GdkGraphics2D (BufferedImage)): Initialize
10699         pixmap associated with specified BufferedImage.
10700         (setPaint): Changed implementation of Texture
10701         Paint to use AffineTransformOp.
10702         * java/awt/image/AffineTransformOp.java
10703         (createCompatibleDestRaster): Throw RasterFormatException 
10704         if resulting width or height of raster is 0.
10705
10706 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
10707
10708         * java/awt/image/AffineTransformOp.java:
10709         Removed unnecessary field interpolationType.
10710         Formatted some of the lines to be consistent with 
10711         the GNU style.
10712         (AffineTransformOp): Create new RenderingHints 
10713         containing specified interpolation type.
10714         (createCompatibleDestImage): Implemented.
10715         (createCompatibleDestRaster): Implemented.
10716         (filter): Implemented.
10717         (getBounds2D(BufferedImage)): Implemented.
10718         (getBounds2D(Raster)): Implemented.
10719         (getInterpolationType): Get interpolation value from 
10720         rendering hints.
10721
10722 2004-03-04  David Jee  <djee@redhat.com>
10723
10724         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10725         (setFont): Check if child peers are null.
10726
10727 2004-03-04  Graydon Hoare  <graydon@redhat.com>
10728
10729         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
10730         .libs in -L option.
10731         (libjava_arguments): Add new libraries to argument list.
10732
10733 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
10734
10735         * Makefile.am: Added java/awt/image/AffineTransformOp.java
10736         * Makefile.in: Re-generated.
10737         * java/awt/image/AffineTransformOp.java: New Class.
10738
10739 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
10740
10741         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10742         (setPaint): Interpret correctly TexturePaint's
10743         anchor rectangle.
10744         (drawImage): Fixed scale factors of the affine
10745         transform.
10746
10747 2004-02-27  David Jee  <djee@redhat.com>
10748
10749         * gnu/java/awt/peer/gtk/GdkGraphics.java
10750         (GdkGraphics(Component)): Inherit font from component.
10751         (drawString): Use font style.
10752         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
10753         (gtkSetFont): New native method declaration.
10754         (setFont): New method.
10755         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10756         (gtkSetFont): New native method declaration.
10757         (setFont): Call new native method gtkSetFont.
10758         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10759         (setFont): For all child components who do not their fonts set,
10760         set their peers' fonts with this container's font.
10761         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
10762         Move all native method declarations to the top for readability.
10763         (gtkSetFont): New native method declaration.
10764         (setFont): New method.
10765         * java/awt/Component.java
10766         (setFont): Invalidate after setting the font.
10767         * java/awt/Container.java
10768         (invalidateTree): New method.
10769         (setFont): Invalidate the container tree after setting the font.
10770         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10771         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
10772         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
10773         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
10774         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10775         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
10776         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
10777         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
10778
10779 2004-02-27  Olga Rodimina <rodimina@redhat.com>
10780
10781         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10782         (updateBufferedImage): New helper function.
10783         Updates BufferedImage in memory if it was changed.
10784         (draw): changed to update BufferedImage in memory after
10785         this drawing operation
10786         (fill): Ditto.
10787         (draw3DRect): Ditto.
10788         (fill3DRect): Ditto.
10789         (clearRect): Ditto.
10790         (drawRaster): Ditto.
10791         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
10792         no affine transformation.
10793         (drawGlyphVector): Ditto.
10794
10795 2004-02-26  Olga Rodimina <rodimina@redhat.com>
10796
10797         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10798         (isBufferedImageGraphics): New Helper function. 
10799         Returns true if this graphics2d can be used to draw 
10800         into buffered image and false otherwise.
10801         (updateImagePixels): New Helper function. 
10802         Updates pixels in the BufferedImage.
10803         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
10804         (getImagePixels): New function. Returns pixels
10805         of the buffered image associated with 
10806         this Graphics2D.
10807
10808 2004-02-26  David Jee  <djee@redhat.com>
10809
10810         * java/awt/BorderLayout.java
10811         (layoutContainer): Fix width and height calculations to ensure
10812         that they're non-negative.
10813         * java/awt/Component.java
10814         (setBackground): If c is null, inherit from closest ancestor whose
10815         background color is set.
10816
10817 2004-02-26  Kim Ho  <kho@redhat.com>
10818
10819         * Makefile.am: Add new files.
10820         * Makefile.in: Re-generate.
10821         * javax/swing/JProgressBar.java: 
10822         (JProgressBar(int, int int)): Throw
10823         IllegalArgumentException if orientation is
10824         invalid.
10825         (JProgressBar(BoundedRangeModel)): Create
10826         ChangeListener and register it. UpdateUI.
10827         (getChangeListeners): Implement.
10828         (setModel): Reset ChangeListener.
10829         * javax/swing/JScrollBar.java: Implement.
10830         * javax/swing/JSeparator.java: Implement.
10831         * javax/swing/JSlider.java:
10832         (JSlider(int, int, int, int)): Throw 
10833         IllegalArgumentException if orientation
10834         is invalid.
10835         (getChangeListeners): Fix method name.
10836         * javax/swing/SwingUtilities.java:
10837         (layoutCompoundLabel): If there is no text,
10838         set the text rectangle dimensions to 0.
10839         * javax/swing/plaf/basic/BasicButtonUI.java:
10840         (paint): If there is no text, don't paint it.
10841         * javax/swing/plaf/basic/BasicScrollBarUI.java:
10842         Implement.
10843         * javax/swing/plaf/basic/BasicSeparatorUI.java:
10844         Implement.
10845         * javax/swing/plaf/basic/BasicSliderUI.java: 
10846         (propertyChange): If the model changes, change
10847         the listeners accordingly.
10848
10849 2004-02-25  Graydon Hoare  <graydon@redhat.com>
10850
10851         * javax/swing/AbstractButton.java: Add "final" qualifiers.
10852         * javax/swing/JList.java: Reimplement.
10853         * javax/swing/DefaultListSelectionModel.java: Reimplement.
10854         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
10855         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
10856         * javax/swing/ListModel.java: Javadoc.
10857         * javax/swing/ListSelectionModel.java: Add missing methods.
10858         * javax/swing/AbstractListModel.java: Javadoc and corrections.
10859         * javax/swing/DefaultListModel.java: Javadoc and corrections.
10860         * javax/swing/ListModel.java: Javadoc and corrections.
10861         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
10862
10863 2004-02-25  David Jee  <djee@redhat.com>
10864
10865         * gnu/java/awt/peer/gtk/GtkFontPeer.java
10866         (GtkFontPeer): Change default size to 12.
10867         * gnu/java/awt/peer/gtk/GtkToolkit.java
10868         (getFontPeer): Change default size to 12.
10869         (getClasspathFontPeer): Likewise. Set default name to "Default".
10870         * java/awt/Font.java
10871         (Font(Map)): Call Font(String,Map).
10872         (Font(String,Map)): If attrs is null, initialize it as an empty
10873         HashMap, which will ensure that the Font will get default attributes.
10874
10875 2004-02-25  David Jee  <djee@redhat.com>
10876
10877         * gnu/java/awt/peer/gtk/GtkFontPeer.java
10878         (GtkFontPeer(String,int)): Call the new constructor with size 1.
10879         (GtkFontPeer(String,int,int)): New constructor with size attribute.
10880         * gnu/java/awt/peer/gtk/GtkToolkit.java
10881         (getFontPeer(String,int)): Call the new overload method with size 1.
10882         (getFontPeer(String,int,int)): New method. Overloaded with size
10883         attribute.
10884         (getClasspathFontPeer): Set the size of the font.
10885
10886 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
10887
10888         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10889         (bimage): New field.
10890         (GdkGraphics2D): New Constructor. Constructs Graphics
10891         object that can be used to draw into the Buffered Image.
10892         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
10893         (GdkGraphicsEnvironment): Fixed to include public 
10894         keyword.
10895         (createGraphics): Implemented.
10896         * gnu/java/awt/peer/gtk/GtkToolkit.java
10897         (getLocalGraphicsEnvironment): Implemented.
10898         * java/awt/GraphicsEnvironment.java:
10899         (getLocalGraphicsEnvironment): Implemented.
10900         * java/awt/image/BufferedImage.java:
10901         (createGraphics): Implemented.
10902                 
10903 2004-02-24  David Jee  <djee@redhat.com>
10904
10905         * java/awt/Component.java
10906         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
10907         * java/awt/Container.java
10908         (addNotifyContainerChildren): Fix event enabling.
10909
10910 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
10911
10912         * Makefile.am: Added 
10913         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
10914         * Makefile.in: Re-generated.
10915         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
10916         New Class. 
10917         
10918 2004-02-19  Kim Ho  <kho@redhat.com>
10919
10920         * Makefile.am: Add BasicProgressBarUI
10921         * Makefile.in: Regenerate.
10922         * javax/swing/JProgressBar.java: 
10923         Re-implement.
10924         * javax/swing/plaf/basic/BasicLookAndFeel.java
10925         Add constants for JProgressBar.
10926         * javax/swing/plaf/basic/BasicProgressBarUI.java
10927         Implement.
10928         * javax/swing/plaf/basic/BasicSliderUI.java
10929         Change comments.
10930         (calculateGeometry): New method
10931         (paint): Remove unnecessary size calculations.
10932
10933 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
10934
10935         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10936         (drawRaster): Fixed small error that caused
10937         imageToUser transformation to be set incorrectly.
10938         (toString): Implemented.
10939
10940 2004-02-18  David Jee  <djee@redhat.com>
10941
10942         * java/awt/CardLayout.java
10943         (addLayoutComponent): Show the first component added as the default.
10944         (removeLayoutComponent): After removing, show the next component.
10945         (gotoComponent): If there is only one component, show it and return.
10946
10947 2004-02-18  Kim Ho  <kho@redhat.com>
10948
10949         * javax/swing/JSlider.java: Re-order
10950         modifiers.
10951         * javax/swing/JLabel.java: Re-order
10952         modifiers.
10953         * javax/swing/JComponent.java: 
10954         (addPropertyChangeListener):
10955         Implement.
10956         (removePropertyChangeListener):
10957         ditto.
10958         (firePropertyChangeEvent):
10959         ditto.
10960
10961 2004-02-17  David Jee  <djee@redhat.com>
10962
10963         * java/awt/Component.java
10964         (show): Dispatch ComponentEvent via system event queue.
10965         (hide): Likewise.
10966         (move): Likewise.
10967         (resize): Likewise.
10968         (reshape): Likewise.
10969         * java/awt/Window.java
10970         (setBoundsCallback): Likewise.
10971
10972 2004-02-17  David Jee  <djee@redhat.com>
10973
10974         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10975         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
10976         Use gtk_widget_set_size_request() instead of the deprecated
10977         gtk_widget_set_usize().
10978
10979 2004-02-17  Kim Ho  <kho@redhat.com>
10980
10981         * javax/swing/JSlider.java: Fix comments and
10982         make property strings constants.
10983         (createStandardLabels): Use the labels
10984         preferred size as bounds.
10985         * javax/swing/plaf/basic/BasicSliderUI.java
10986         Fix comments.
10987         (ScrollHandler::actionPerformed): Don't
10988         calculate the timer stop value. Let the
10989         MouseListeners find the stop location.
10990         (getPreferredHorizontalSize): Re-implement.
10991         (getPreferredVerticalSize): ditto.
10992         (getMinimumHorizontalSize): ditto.
10993         (getMinimumVerticalSize): ditto.
10994         (getPreferredSize): ditto.
10995         (getMinimumSize): ditto.
10996         (getMaximumSize): ditto.
10997         (paintTicks): Use doubles to find the
10998         tick location.
10999         (paintHorizontalLabel):  Use preferredSize
11000         as initial width and height.
11001         (paintVerticalLabel): ditto.
11002
11003 2004-02-17  Kim Ho  <kho@redhat.com>
11004
11005         * javax/swing/JLabel.java: Changed 
11006         property strings to constants.
11007         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
11008         New property.
11009         (setText): Change mnemonic index if
11010         text is too short.
11011         (setDisplayedMnemonicIndex): Fire property
11012         change event.
11013         (getDisplayedMnemonicIndex): Remove check
11014         against short text.
11015
11016 2004-02-17 Olga Rodimina <rodimina@redhat.com>
11017
11018         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11019         (drawImage(img,xform,obs)): Invert xform before
11020         passing the xform to cairo.
11021         (drawImage(img,x,y,bgcolor,obs)): Implemented.
11022         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
11023         implemented.
11024         (drawImage (img,x,y,w,h,obs)): Implemented.
11025         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
11026         bgcolor,obs)): Partly implemented.
11027         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
11028         Implemented.
11029         * java/awt/image/BufferedImage.java:
11030         (copyData): if dest is null, create raster with same
11031         dimensions as the current image.
11032
11033 2004-02-16  Graydon Hoare  <graydon@redhat.com>
11034
11035         * javax/swing/plaf/basic/BasicLabelUI.java 
11036         (getPreferredSize): Use layoutCL.
11037         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11038         (getPreferredButtonSize): Start with empty view rect, layout using
11039         component's preferred alignment.
11040         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
11041         List defaults.
11042
11043 2004-02-16  David Jee  <djee@redhat.com>
11044
11045         * java/awt/Component.java
11046         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
11047         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
11048         (move): Erase old bounds and repaint new bounds. Dispatch
11049         COMPONENT_MOVED ComponentEvent.
11050         (resize): Erase old bounds and repaint new bounds. Dispatch
11051         COMPONENT_RESIZED ComponentEvent.
11052         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
11053         ComponentEvents.
11054         * java/awt/Window.java
11055         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
11056         ComponentEvents.
11057
11058 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
11059
11060         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11061         (setRenderingHint): Added implementation of 
11062         Interpolation rendering hints.
11063         (setRenderingHints): Ditto.
11064         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
11065         (drawPixels): fixed to allow user to choose type 
11066         of filtering that should be used when displaying images.
11067         (cairoSurfaceSetFilter): New method. Sets filter type for 
11068         interpolation of pixel values.
11069
11070 2004-02-16  David Jee  <djee@redhat.com>
11071
11072         * java/awt/GridBagLayout.java
11073         (calcCellSizes): Rows or columns with zero sizes should still be
11074         considered for extra space distribution.
11075
11076 2004-02-16  Kim Ho  <kho@redhat.com>
11077
11078         * javax/swing/JLabel.java: Re-implement.
11079         * javax/swing/plaf/basic/BasicLabelUI.java
11080         Re-implement.
11081         * javax/swing/plaf/basic/BasicLookAndFeel.java:
11082         Added constant.
11083
11084 2004-02-16  Kim Ho  <kho@redhat.com>
11085
11086         * javax/swing/JSlider.java: Fix indentation and comments.
11087         (setModel): Remove null check to conform with Sun's.
11088         (setOrientation): Throw exception if not
11089         HORIZONTAL or VERTICAL.
11090         (getInverted): Use private variable instead of 
11091         ComponentOrientation.
11092         (setInverted): ditto.
11093         * javax/swing/plaf/basic/BasicSliderUI.java:
11094         Fix indentation and comments.
11095         (propertyChange): Remove check for inverted slider, handle
11096         in main paint.
11097         (getMinimumSize): Return preferred size.
11098         (getMaximumSize): ditto.
11099         (calculateFocusRect): Don't relocate rectangle.
11100         (drawInverted): Return XOR of the slider's inversion and 
11101         the component's orientation.
11102         (paint): Update leftToRightCache
11103
11104 2004-02-13  David Jee  <djee@redhat.com>
11105
11106         * java/awt/GridBagLayout.java
11107         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
11108         code to helper methods.
11109         (sortBySpan): New helper method.
11110         (distributeSizeAndWeight): Likewise.
11111         (calcCellWeights): Likewise.
11112         (calcCellSizes): Add comments.
11113
11114 2004-02-13  David Jee  <djee@redhat.com>
11115
11116         * java/awt/Component.java
11117         (show): Only do something if component is invisible at the moment.
11118         (hide): Only do something if component is visible at the moment.
11119         (reshape): If lightweight, erase old bounds and repaint new bounds.
11120
11121 2004-02-13  Kim Ho  <kho@redhat.com>
11122
11123         * Makefile.am: Updated for new file.
11124         * Makefile.in: Regenerated.
11125         * javax/swing/JSlider.java: Reimplement.
11126         * javax/swing/SwingUtilities.java
11127         (layoutCompoundLabel): Use icon height
11128         instead of width.
11129         (paintComponent): Implement.
11130         * javax/swing/plaf/basic/BasicLookAndFeel.java:
11131         Add JSlider defaults.
11132         * javax/swing/plaf/basic/BasicSliderUI.java:
11133         Implement. New file.
11134
11135 2004-03-17  Michael Koch  <konqueror@gmx.de>
11136
11137         * gnu/java/net/PlainDatagramSocketImpl.java
11138         (RECEIVE_LOCK): New member field.
11139         (SEND_LOCK): New member field.
11140         (send0): New method.
11141         (send): Synchronize on SEND_LOCK.
11142         (receive0): New method.
11143         (receive): Synchronize on RECEIVE_LOCK.
11144         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
11145         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
11146         gnu/java/net/natPlainDatagramSocketImplWin32.cc
11147         (send0): Renamed from send.
11148         (receive0): Renamed from receive.
11149 2004-03-17  Michael Koch  <konqueror@gmx.de>
11150
11151         * gnu/java/net/natPlainSocketImplPosix.cc
11152         (write): Just call write(jbyteArray, offset, len).
11153         (read): Just call read(jbyteArray, offset, len).
11154
11155 2004-03-16  Michael Koch  <konqueror@gmx.de>
11156
11157         * javax/swing/JTabbedPane.java
11158         (serialVersionUID): New field.
11159
11160 2004-03-16  Norbert Frese  <postfach@nfrese.net>
11161
11162         * java/net/InetAddress.java
11163         (getByName): Handle hostname == "" case.
11164
11165 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
11166
11167         Reported by: Adam Heath <doogie@debian.org>
11168         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
11169         class loader.
11170
11171 2004-03-15  Michael Koch  <konqueror@gmx.de>
11172
11173         * java/util/Locale.java: Reverting my last patch
11174         and add a comment why the original version was okay.
11175
11176 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
11177
11178         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
11179         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
11180         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
11181         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
11182
11183 2004-03-12  Michael Koch  <konqueror@gmx.de>
11184
11185         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
11186
11187 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
11188
11189         * java/net/URI.java (toURL): Implemented.
11190
11191 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
11192
11193         * java/net/URI.java
11194         (URI_REGEXP) updated to contain scheme specific part.
11195         (SCHEME_SPEC_PART_GROUP) new constant.
11196         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
11197         updated to make room for SCHEME_SPEC_PART_GROUP.
11198         (parseURI) parse scheme specific part.
11199         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
11200         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
11201         getQuery, getFragment) implemented.
11202
11203 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
11204
11205         * libraries/javalib/java/net/URI.java
11206         partially implemented using java.util.regex.
11207         (URI_REGEXP) new constant. Used to parse URIs.
11208         (SCHEME_GROUP) new constant representing index of scheme group
11209         in parsed URI.
11210         (AUTHORITY_GROUP) new constant representing index of authority
11211         group in parsed URI.
11212         (PATH_GROUP) new constant representing index of path group in
11213         parsed URI.
11214         (QUERY_GROUP) new constant representing index of query group in
11215         parsed URI.
11216         (FRAGMENT_GROUP) new constant representing index of fragment
11217         group in parsed URI.
11218         (getURIGroup) new static utility method.
11219         (parseURI) implemented.
11220         (quote) stub for new static utility method.
11221         (quoteAuthority) stub for new static utility method.
11222         (quoteHost) stub for new static utility method.
11223         (quotePath) stub for new static utility method.
11224         (quoteUserInfo) stub for new static utility method.
11225         (URI) implemented.
11226         (create) don't throw URISyntaxException. Implemented.
11227         (toString) implemented.
11228
11229 2004-03-12  Michael Koch  <konqueror@gmx.de>
11230
11231         * java/net/HttpURLConnection.java
11232         (getResponseCode): Fix another typo in javadoc.
11233
11234 2004-03-11  Michael Koch  <konqueror@gmx.de>
11235
11236         * java/util/logging/Level.java
11237         (parse): Use String.equals() instead of ==.
11238
11239 2004-03-11  Michael Koch  <konqueror@gmx.de>
11240
11241         * gnu/java/net/protocol/jar/Connection.java
11242         (getContentLength): New method.
11243
11244 2004-03-11  Michael Koch  <konqueror@gmx.de>
11245
11246         * gnu/java/net/PlainSocketImpl.java:
11247         Reformated to merge better with classpath's version.
11248
11249 2004-03-11  Michael Koch  <konqueror@gmx.de>
11250
11251         * java/util/Locale.java
11252         (getISO3Language): Use String.equals() instead of ==.
11253         (getISO3Country): Likewise.
11254
11255 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
11256
11257         * java/text/AttributedString.java
11258         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
11259         Use HashMap instead of Hashtable since value can be null, and
11260         you can not store a null value in a Hashtable.
11261
11262 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
11263
11264         * java/text/AttributedStringIterator.java
11265         (getAllAttributesKey): Return only keys concerned
11266         by the current iterator.
11267         (getAttributes): Use strict inequality for
11268         end_index. 
11269
11270 2004-03-11  Michael Koch  <konqueror@gmx.de>
11271
11272         * java/net/HttpURLConnection.java:
11273         Fixed typo in javadoc.
11274
11275 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
11276
11277         * java/io/BufferedInputStream.java (marktarget): New field for max
11278         mark limit.
11279         (CHUNKSIZE): New constant for incremental mark buffer allocation.
11280         (mark): Use new fields.
11281         (read): Likewise.
11282         (read(byte[],int,int)): Likewise.
11283         (skip): Likewise.
11284         (refill): Likewise.
11285
11286 2004-03-11  Mark Wielaard  <mark@klomp.org>
11287
11288         * java/beans/BeanDescriptor.java (BeanDescriptor):
11289         Set the FeatureDescriptor programmatic name.
11290
11291 2004-03-11  Michael Koch  <konqueror@gmx.de>
11292
11293         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
11294         This file was was just copied form java/io/natFileDescriptorEcos.cc
11295         and never changed to compile correctly.
11296
11297 2004-03-11  Michael Koch  <konqueror@gmx.de>
11298
11299         * gnu/java/nio/PipeImpl.java
11300         (SourceChannelImpl): Made final.
11301         (read): Implemented.
11302         (SinkChannelImpl): Made final.
11303         (write): Implemented.
11304
11305 2004-03-11  Michael Koch  <konqueror@gmx.de>
11306
11307         * gnu/java/net/PlainDatagramSocketImpl.java:
11308         Reformated to match classpath's version more.
11309
11310 2004-03-11  Michael Koch  <konqueror@gmx.de>
11311
11312         * gnu/java/awt/peer/ClasspathFontPeer.java:
11313         Fixed javadoc to be correct xhtml.
11314         * gnu/java/awt/peer/gtk/GtkArgList.java
11315         (add): Use Boolean.valueOf() instead of new Boolean().
11316
11317 2004-03-09  Michael Koch  <konqueror@gmx.de>
11318
11319         * java/lang/Thread.java
11320         (runnable): Moved around.
11321         (daemon): Renamed from daemon_flag.
11322         (contextClassLoader): Renamed from context_class_loader.
11323         (Thread): Reordered constructors.
11324         (activeCount): Use group directly.
11325         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
11326         (holdsLock): Reworked javadoc.
11327         (setDaemon): Reworked.
11328         * java/lang/natThread.cc
11329         (destroy): Removed.
11330
11331 2004-03-08  Anthony Green  <green@redhat.com>
11332
11333         * Makefile.am: Build property resource files into libgcj.
11334         * Makefile.in: Rebuilt.
11335         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
11336         java/util/regex/PatternSyntaxException.java,
11337         gnu/regexp/CharIndexed.java,
11338         gnu/regexp/CharIndexedCharArray.java,
11339         gnu/regexp/CharIndexedInputStream.java,
11340         gnu/regexp/CharIndexedReader.java,
11341         gnu/regexp/CharIndexedString.java,
11342         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
11343         gnu/regexp/REException.java,
11344         gnu/regexp/REFilterInputStream.java,
11345         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
11346         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
11347         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
11348         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
11349         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
11350         gnu/regexp/RETokenLookAhead.java,
11351         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
11352         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
11353         gnu/regexp/RETokenStart.java,
11354         gnu/regexp/RETokenWordBoundary.java,
11355         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
11356
11357 2004-03-03  Per Bothner  <per@bothner.com>
11358
11359         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
11360         Optimize when argument is a FileChannelImpl.
11361         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
11362         New native methods.
11363         * java/nio/channels/natChannels.cc:  New file for new native methods.
11364         * Makefile.am:  Update accordingly.
11365
11366 2004-03-02  Jan Hubicka  <jh@suse.cz>
11367
11368         * configure.host: Pass -fno-omit-frame-pointer for i386.
11369         * configure.in: Likewise.
11370         * configure: Regenerate.
11371
11372 2004-03-01  Per Bothner  <per@bothner.com>
11373
11374         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
11375
11376 2004-02-29  Per Bothner  <per@bothner.com>
11377
11378         * java/nio/channels/FileChannelImpl.java:  Moved to package
11379         gnu/java/nio/channels, since we need to refer to it from java.io.
11380         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
11381         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
11382         from java/nio/channels.  Don't depend on FileDescriptor.
11383         (in, out, err):  New static fields.
11384         (mode):  New field.
11385         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
11386         from FileDescriptor.
11387         (by):  Removed MappedByteBuffer field.
11388         (map):  New working implementation.
11389         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
11390         some code "ported" from natFileDescriptoPosix.cc.
11391         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
11392         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
11393         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
11394         Remove native methods.
11395         * Makefile.am, configure.in:  Updated accordingly.
11396
11397         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
11398         (ch):  New FileChannelImpl field.  Update constructor to match.
11399         (releaseImpl):  Remove native method.  Instead ...
11400         (release):  Call unlock on channel.
11401         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
11402
11403         * java/io/natFileDescriptorEcos.cc:  Remove file.
11404         * java/io/natFileDescriptorPosix.cc:  Remove file.
11405         * java/io/natFileDescriptorWin32.cc:  Remove file.
11406         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
11407         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
11408         (<init>(FileChannelImpl)):  New package-private constructor.
11409         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
11410         (available, close, read, skip):  Implement using FileChannelImpl.
11411         (getFD):  Allocate FileDescriptor if needed.
11412         (getChannel):  Is now trivial.
11413         * java/io/FileOutputStream.java:  Corresponding changes.
11414         * java/io/RandomAccessFile.java:  Corresponding changes.
11415
11416         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
11417         unmapImpl):  New dummy methods, to be overridden by subclass.
11418         (finalize, isLoaded, load, force):  New methods.
11419         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
11420         Now works, at least for read mapping.
11421
11422         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
11423         streams using FileChannelImpl, not FileDescriptor.
11424         * java/lang/natWin32Process.cc (startProcess):  Likewise.
11425
11426 2004-02-28  Michael Koch  <konqueror@gmx.de>
11427
11428         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
11429         wrong code.
11430
11431 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
11432
11433         * java/io/ObjectInputStream.java
11434         (readClassDescriptor): Keep elements of the mapping non null.
11435         (checkTypeConsistency): New method.
11436         (readFields): Fixed main loop and base logic. Small reindentation.
11437         * java/io/ObjectStreamField.java
11438         (lookupField): New method to update the field reference.
11439         (checkFieldType): New method.
11440         * java/io/ObjectStreamClass.java
11441         (setClass, setFields): Call lookupField when building the field
11442         database. Check the real field type.
11443
11444 2004-02-28  Michael Koch  <konqueror@gmx.de>
11445
11446         * java/nio/ByteOrder.java
11447         (nativeOrder): Use equals() to compare strings.
11448
11449 2004-02-26  Michael Koch  <konqueror@gmx.de>
11450
11451         * gnu/java/nio/FileLockImpl.java
11452         (finalize): Made protected.
11453         * java/nio/channels/FileChannel.java
11454         (MapMode.READ_ONLY): Made final.
11455         (MapMode.READ_WRITE): Made final.
11456         (MapMode.PRIVATE): Made final.
11457         * java/nio/channels/SocketChannel.java
11458         (open): Simplified code.
11459         * java/nio/channels/spi/AbstractSelectableChannel.java
11460         (registered): Unused, removed.
11461         (keyFor): Check channel is open, only locate key
11462         and not add a new one.
11463         (register): Don't delete attachments.
11464
11465 2004-02-26  Michael Koch  <konqueror@gmx.de>
11466
11467         * gnu/java/awt/ComponentDataBlitOp.java
11468         (INSTANCE): Made final.
11469         * gnu/java/awt/image/ImageDecoder.java:
11470         Reworked imports.
11471         (cm): Unused, removed.
11472
11473 2004-02-26  Michael Koch  <konqueror@gmx.de>
11474
11475         * gnu/java/nio/DatagramChannelImpl.java
11476         (send): Check if target address is resolved.
11477
11478 2004-02-26  Michael Koch  <konqueror@gmx.de>
11479
11480         * Makefile.am: Generate and install headers for inner classes in
11481         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
11482         * Makefile.in: Regenerated.
11483
11484 2004-02-24  Anthony Green  <green@redhat.com>
11485
11486         * java/lang/StringBuffer.java: No need to NULL out remainder of
11487         buffer since ensureCapacity_unsynchronized will have done this for
11488         us.
11489
11490 2004-02-20  Michael Koch  <konqueror@gmx.de>
11491
11492         * gnu/java/net/protocol/jar/Handler.java
11493         (): Removed unneeded check for file != null. java.net.URL.getFile()
11494         returns an empty string but never null.
11495
11496 2004-02-20  Michael Koch  <konqueror@gmx.de>
11497
11498         * gnu/gcj/convert/Convert.java
11499         (main): Use equals() to compare strings.
11500
11501 2004-02-20  Michael Koch  <konqueror@gmx.de>
11502
11503         * javax/swing/AbstractButton.java: Made several constants final.
11504         (getRolloverSelectedIcon): Made public.
11505         (getSelectedIcon): Made public.
11506
11507 2004-02-16  Per Bothner  <per@bothner.com>
11508
11509         * java/nio/CharBufferImpl.java:  Inline super constructor.
11510         * java/nio/DoubleBufferImpl.java:  Likewise.
11511         * java/nio/FloatBufferImpl.java:  Likewise.
11512         * java/nio/IntBufferImpl.java:  Likewise.
11513         * java/nio/LongBufferImpl.java:  Likewise.
11514         * java/nio/ShortBufferImpl.java:  Likewise.
11515         * java/nio/CharBuffer.java:  Remove unused constructor.
11516         * java/nio/DoubleBuffer.java:  Likewise.
11517         * java/nio/FloatBuffer.java:  Likewise.
11518         * java/nio/IntBuffer.java:  Likewise.
11519         * java/nio/LongBuffer.java:  Likewise.
11520         * java/nio/ShortBuffer.java:  Likewise.
11521         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
11522         Fix buggy call to super constructor.
11523         * java/nio/DoubleViewBufferImpl.java:  Likewise.
11524         * java/nio/FloatViewBufferImpl.java:  Likewise.
11525         * java/nio/IntViewBufferImpl.java:  Likewise.
11526         * java/nio/LongViewBufferImpl.java:  Likewise.
11527         * java/nio/ShortViewBufferImpl.java:  Likewise.
11528         
11529         * java/nio/ByteBuffer.java (endian):  Make non-private so other
11530         java.nio classes can inherit it.
11531         (<init>):  Don't bother clearing array_offset.
11532         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
11533         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
11534         Remove redundant test.
11535
11536         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
11537         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
11538         Use new XxxViewBufferImpl constructors.
11539         * java/nio/MappedByteBufferImpl.java:  Likewise.
11540         * java/nio/DirectByteBufferImpl.java:  Likewise.
11541
11542         * java/nio/ByteBufferImpl.java:  Remove one constructor.
11543         Inline super in remaining constructor.
11544         * java/nio/ByteBuffer.java:  Remove unused constructor.
11545
11546         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
11547
11548         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
11549         * java/nio/DirectByteBufferImpl.java (owner):  New field.
11550         (offset):  Remove unused field.
11551         (<init>):  Modify one and add another constructor.  Change callers.
11552         (allocateDirect):  Removed - not used.
11553         (getImpl, putImpl):  Make static and pass address explicitly,
11554         to make them useful for MappedByteBufferImpl.
11555         (get, put):  Check for underflow.  Modify for new getImpl.
11556         (getImpl):  New native method where target is array.
11557         (get(byte[],int,int)):  Use the above.
11558         (adjustAddress):  New static native method.
11559         (slice, duplicate, asReadOnly):  New implementations.
11560         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
11561         adjustAddress):  New or updated native methods.
11562
11563 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
11564
11565         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
11566         overflow of fieldmapping.
11567
11568 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
11569
11570         * javax/swing/undo/UndoManager.java: Re-written from scratch.
11571
11572 2004-02-14  Per Bothner  <per@bothner.com>
11573
11574         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
11575         Set closed before calling implCloseChannel, as in the spec.
11576
11577 2004-02-09  Graydon Hoare  <graydon@redhat.com>
11578
11579         * javax/swing/ToggleButtonModel.java: Remove dead class.
11580         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
11581         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
11582         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
11583         * Makefile.am: Update for new and removed files.
11584         * Makefile.in: Regenerate.
11585
11586         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
11587         * javax/swing/AbstractButton.java 
11588         (AbstractButton): Initialize fields correctly in ctor.
11589         * javax/swing/JCheckbox.java 
11590         (JCheckBox): Override painting flags.
11591         * javax/swing/DefaultButtonModel.java: Conform to sun.
11592         * javax/swing/JComponent.java (paint): Fill with background color
11593         if available.
11594         (processComponentKeyEvent)
11595         (processFocusEvent)
11596         (processKeyEvent)
11597         (processMouseMotionEvent): Remove event-consuming empty methods.
11598         (getUIClassID): Return "ComponentUI" not "JComponent"
11599         * javax/swing/JFrame.java: Remove some debugging chatter.
11600         (JFrame): Subscribe to window events.
11601         * javax/swing/JRadioButton.java 
11602         (JRadioButton): Override painting flags.
11603         * javax/swing/JRootPane.java 
11604         (JRootPane): Set background from UIDefaults.
11605         * javax/swing/JToggleButton.java 
11606         (ToggleButtonModel): New inner class.
11607         (JToggleButton): Override layout alighment.
11608         * javax/swing/SwingUtilities.java:
11609         (getLocalBounds): Return width and height, not x and y.
11610         (calculateInnerArea): Use local bounds, not bounds.
11611         (layoutCompoundLabel): Provide overridden form.
11612         (layoutCompoundLabel): Correct bugs.
11613         * javax/swing/UIDefaults.java: Correct comment.
11614         * javax/swing/plaf/basic/BasicButtonUI.java: 
11615         Move most logic into defaults, external listener.
11616         (paintIcon): Implement icon painting.
11617         (paint): Fix state painting to conform to changes in model.
11618         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
11619         Remove most dead/wrong methods.
11620         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
11621         * javax/swing/plaf/basic/BasicIconFactory.java:
11622         (DummyIcon): New class.
11623         (getMenuItemCheckIcon)
11624         (getMenuItemArrowIcon) 
11625         (getMenuArrowIcon)
11626         (getCheckBoxMenuItemIcon)
11627         (getRadioButtonMenuItemIcon)
11628         (createEmptyFrameIcon): Return DummyIcons, not null.
11629         (getCheckBoxIcon): Implement an icon that looks like sun's.
11630         (getRadioButtonIcon): Implement an icon that looks like sun's.
11631         * javax/swing/plaf/basic/BasicLookAndFeel.java 
11632         (initComponentDefaults): Fix impossible values, add some missing.
11633         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
11634         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
11635         Remove most dead/wrong methods.
11636         (icon): New field.
11637         (getDefaultIcon): New method.
11638         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
11639         Remove most dead/wrong methods.
11640         * javax/swing/plaf/metal/MetalLookAndFeel.java
11641         (getDefaults): Return super.getDefaults(), not BasicDefaults.
11642         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
11643         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
11644         Implement "clearing" as drawing, when on pixmap drawables.
11645
11646         * javax/swing/JButton.java (getUIClassID): 
11647         * javax/swing/JCheckBox.java (getUIClassID):
11648         * javax/swing/JEditorPane.java (getUIClassID):
11649         * javax/swing/JLabel.java (getUIClassID): 
11650         * javax/swing/JList.java (getUIClassID): 
11651         * javax/swing/JOptionPane.java (getUIClassID): 
11652         * javax/swing/JPanel.java (getUIClassID): 
11653         * javax/swing/JPasswordField.java (uiClassID): 
11654         * javax/swing/JRadioButton.java (getUIClassID): 
11655         * javax/swing/JRootPane.java (getUIClassID): 
11656         * javax/swing/JScrollPane.java (getUIClassID): 
11657         * javax/swing/JTabbedPane.java (getUIClassID): 
11658         * javax/swing/JToggleButton.java (getUIClassID): 
11659         * javax/swing/JTree.java (getUIClassID): 
11660         * javax/swing/JViewport.java (getUIClassID): 
11661         * javax/swing/text/JTextComponent.java (getUIClassID):
11662         Return "fooUI" not "Jfoo"
11663
11664 2004-02-11  Michael Koch  <konqueror@gmx.de>
11665
11666         * java/net/DatagramSocket.java
11667         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
11668         Boolean object.
11669         (setBroadcast): Likewise.
11670         * java/net/MulticastSocket.java
11671         (setLoopbackMode): Likewise.
11672         * java/net/ServerSocket.java
11673         (setReuseAddress): Likewise.
11674         * java/net/Socket.java
11675         (setTcpNoDelay): Likewise.
11676         (setSoLinger): Likewise.
11677         (setOOBInline): Likewise.
11678         (setKeepAlive): Likewise.
11679         (setReuseAddress): Likewise.
11680         * java/net/URLConnection.java
11681         (setContentHandler): Replace == with equals().
11682         * java/net/URLStreamHandler.java
11683         (hostSEquals): Fix checking host addresses.
11684         (toExternalForm): Dont check protocol for null. We know already its
11685         not null.
11686
11687 2004-02-10  David Jee  <djee@redhat.com>
11688
11689         * java/awt/BorderLayout.java
11690         (calcCompSize): Invisible components get zero dimensions.
11691         * java/awt/Button.java
11692         (setLabel): Set actionCommand.
11693         * java/awt/Component.java
11694         (show): Invalidate component and parent container.
11695         (hide): Likewise.
11696
11697 2004-02-10  David Jee  <djee@redhat.com>
11698
11699         * java/awt/GridBagLayout.java
11700         (GridBagLayout): New private field, internalcomptable.
11701         (lookupInternalConstraints): New method.
11702         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
11703         (GetLayoutInfo): Reimplement.
11704         (calcCellSizes): Ignore rows/columns with size 0.
11705
11706 2004-02-10  Michael Koch  <konqueror@gmx.de>
11707
11708         * gnu/java/awt/EmbeddedWindow.java
11709         (setHandle): Use java.awt.Component.getPeer() instead of
11710         java.awt.Component.peer directly.
11711
11712 2004-02-10  David Jee  <djee@redhat.com>
11713
11714         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
11715         (gtkSetLabel): New native method definition.
11716         (setLabel): Use gtkSetLabel.
11717         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
11718         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
11719
11720 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
11721
11722         * include/powerpc-signal.h: Revert 2004-01-21 change.
11723         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
11724         from syscall for ppc32 versions.
11725
11726 2004-02-08  Per Bothner  <per@bothner.com>
11727
11728         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
11729         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
11730         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
11731         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
11732         Pass ByteOrder parameter to most methods, since the underlying
11733         ByteBuffer's order isn't always what we should use.
11734         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
11735         * java/nio/DirectByteBufferImpl.java:  Likewise.
11736         Use ByteBufferHelper methods.
11737         * java/nio/MappedByteBufferImpl.java:  Likewise.
11738         (compact):  Use shiftDown.
11739         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
11740         (get, put):  Use ByteBufferHelper.
11741         (compact):  Use new shiftDown method.
11742         (duplicate(boolean)):  New helper method.
11743         (duplicate, asReadOnlyBuffer):  Use it.
11744         (order):  Return endian field.
11745         * java/nio/DoubleViewBufferImpl.java:  Likewise.
11746         * java/nio/FloatViewBufferImpl.java:  Likewise.
11747         * java/nio/IntViewBufferImpl.java:  Likewise.
11748         * java/nio/LongViewBufferImpl.java:  Likewise.
11749         * java/nio/ShortViewBufferImpl.java:  Likewise.
11750         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
11751         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
11752         (compact):  Re-implement using shiftDown.
11753
11754 2004-02-08  Andreas Jaeger  <aj@suse.de>
11755
11756         * include/x86_64-signal.h: Fix typo.
11757
11758 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
11759
11760         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
11761         qualifier to _regs.
11762         (HANDLE_DIVIDE_OVERFLOW): Likewise.
11763
11764 2004-02-06  Michael Koch  <konqueror@gmx.de>
11765
11766         * java/io/ObjectInputStream.java
11767         (currentClassLoader): Reverted to old version of this method.
11768
11769 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
11770
11771         * java/io/ObjectInputStream.java: Made all calls
11772         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
11773         use cached info from ObjectStreamClass. (readClassDescriptor):
11774         Cache more information in ObjectStreamClass. (processResolution,
11775         readFields): Use cached info from ObjectStreamClass.
11776         (newObject): Throw exception instead of returning null for failure.
11777         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
11778         setCharField, setDoubleField, setFloatField, setIntField,
11779         setLongField, setShortField, setObjectField, readObjectParams):
11780         Removed. (dumpElement, dumpElementln): Removed dump flag condition
11781         check.
11782         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
11783         (setClass): Added call to cacheMethods() (findMethod): New method.
11784         (cacheMethods): New method. (ObjectStreamClass): Added call to
11785         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
11786         AccessController.doPrivileged to invoke setAccessible.
11787         (readObjectMethod, readResolveMethod, realClassIsSerializable,
11788         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
11789         New fields.
11790         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
11791         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
11792         isPrimitive): Made safe for cases where type == null.
11793         (setBooleanField, setByteField, setCharField, setShortField,
11794         setIntField, setLongField, setFloatField, setDoubleField,
11795         setObjectField): New methods.
11796
11797 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
11798
11799         * java/awt/Component.java (getFont): Return a default font
11800         instead of null.
11801
11802         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
11803         (Scrollbar (int, int, int, int, int)): Make default page
11804         increment 10.
11805         (setValues): Only call peer.setValues if one of the values has
11806         changed.
11807         (generateName): New method.
11808         (getUniqueLong): New method.
11809         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
11810         (range_scrollbar): Remove structure.
11811         (post_adjustment_event): Remove function.
11812         (post_change_event): Accept jobject argument.
11813         (create): Cast jints to gdoubles.  Round scrollbar values to the
11814         nearest integer.  Clamp min, max and value settings.
11815         (connectJObject): Connect hook to widget->window.
11816         (connectSignals): Remove range_scrollbar structure variables.
11817         Remove "move-slider" connection.  Pass global peer reference to
11818         "value-changed" callback.
11819         (setLineIncrement): Cast jint value to gdouble.
11820         (setPageIncrement): Likewise.
11821         (setValues): Likewise.  Clamp min, max and value settings.
11822
11823 2004-02-05  Michael Koch  <konqueror@gmx.de>
11824
11825         * javax/swing/AbstractCellEditor.java
11826         (getCellEditorValue): Removed.
11827         * javax/swing/Box.java: Reformated.
11828         (serialVersionUID): New field.
11829         * javax/swing/ButtonGroup.java:
11830         Removed some weird whitespace.
11831         * javax/swing/CellEditor.java: Reformated.
11832         * javax/swing/CellRendererPane.java
11833         (serialVersionUID): New field.
11834         (AccessibleCellRendererPaneserialVersionUID): New field.
11835         * javax/swing/DefaultListModel.java
11836         (serialVersionUID): New field.
11837         * javax/swing/JEditorPane.java
11838         (serialVersionUID): New field.
11839         (setPage): Throws IOException.
11840         (addHyperlinkListener): Implemented.
11841         (removeHyperlinkListener): Implemented.
11842         (getHyperlinkListener): New method.
11843         * javax/swing/JFileChooser.java
11844         (serialVersionUID): New field.
11845         (AccessibleJFileChooser.serialVersionUID): New field.
11846         (addActionListener): Implemented.
11847         (removeActionListener): Implemented.
11848         (getActionListeners): New method.
11849         * javax/swing/JFormattedTextField.java
11850         (serialVersionUID): New field.
11851         (AbstractFormatter.serialVersionUID): New field.
11852         (clone): Throws CloneNotSupportedException
11853         (setEditValid): Add missing argument.
11854         (stringToValue): Throws ParseExcpetion.
11855         (valueToString): Throws ParseException.
11856         (commitEdit): Throws ParseException.
11857         * javax/swing/JLabel.java
11858         (serialVersionUID): New field.
11859         * javax/swing/JList.java
11860         (serialVersionUID): New field.
11861         (addListSelectionListener): Reformated.
11862         (removeListSelectionListener): Reformated.
11863         (getListSelectionListeners): New method.
11864         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
11865         Reformated.
11866         (serialVersionUID): New field.
11867         * javax/swing/table/AbstractTableModel.java
11868         (getValueAt): Removed.
11869         (getColumnCount): Removed.
11870         (getRowCount): Removed.
11871
11872 2004-02-05  Michael Koch  <konqueror@gmx.de>
11873
11874         * java/awt/datatransfer/DataFlavor.java
11875         (imageFlavor): Javadoc added.
11876         (javaJVMLocalObjectType): Fixed.
11877
11878 2004-02-05  Michael Koch  <konqueror@gmx.de>
11879
11880         * java/lang/Thread.java
11881         (Thread): Reordered.
11882         (setContextClassLoader): Fixed javadoc comment.
11883         (setPriority): Reordered.
11884         (yield): Reordered.
11885         (initialize_native): Reordered.
11886         (gen_name): Reordered.
11887
11888 2004-02-05  Michael Koch  <konqueror@gmx.de>
11889
11890         * java/lang/Thread.java: Reordered fields, reformated much code,
11891         no functional changes, some variables renamed, javadoc comments
11892         merged.
11893
11894 2004-02-05  Michael Koch  <konqueror@gmx.de>
11895
11896         * java/util/zip/Deflater.java,
11897         java/util/zip/DeflaterOutputStream.java,
11898         java/util/zip/GZIPInputStream.java:
11899         Reformated and javadoc comments merged from classpath.
11900
11901 2004-02-05  Michael Koch  <konqueror@gmx.de>
11902
11903         * gnu/java/nio/NIOServerSocket.java
11904         (impl): Unused, removed.
11905         * gnu/java/nio/SocketChannelImpl.java
11906         (finnishConnect): Don't throw NoConnectionPendingException if not
11907         connected or no connection pending.
11908
11909 2004-02-02  Graydon Hoare  <graydon@redhat.com>
11910
11911         * javax/swing/SwingUtilities.java: Many new functions.
11912         * java/awt/Container.java (LightweightDispatcher): Reimplement.
11913         * javax/swing/basic/BasicGraphicsUtils.java 
11914         (getPreferredButtonSize): Start layout from top-left corner.
11915
11916 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
11917
11918         * java/awt/geom/AffineTransform.java: 
11919         Corrected comments on the field definitions for
11920         m11 and m10.
11921         (shear): Fixed few errors that caused shear
11922         transformation to be performed incorrectly.
11923         (createInverse): Fixed to return correct
11924         inverse of the given matrix.
11925
11926 2004-02-03  Tom Tromey  <tromey@redhat.com>
11927
11928         * java/lang/natPosixProcess.cc (startProcess): Handle case where
11929         PATH or LD_LIBRARY_PATH is not set in parent environment.
11930
11931 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
11932
11933         * gnu/java/awt/peer/gtk/GtkListPeer.java,
11934         java/awt/BorderLayout.java, java/awt/CardLayout.java,
11935         java/awt/CheckboxGroup.java, java/awt/Choice.java,
11936         java/awt/Component.java, java/awt/Container.java,
11937         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
11938         java/awt/LayoutManager2.java, java/awt/List.java,
11939         java/awt/Menu.java, java/awt/MenuBar.java,
11940         java/awt/MenuItem.java, java/awt/Polygon.java,
11941         java/awt/Rectangle.java, java/awt/ScrollPane.java,
11942         java/awt/Scrollbar.java, java/awt/TextArea.java,
11943         java/awt/TextField.java,
11944         java/awt/image/renderable/RenderContext.java,
11945         javax/swing/JApplet.java: Fix handling of alias methods, where a
11946         method has been deprecated in favour of a new one with the same
11947         funtion but a different name.  Put the method implementation in
11948         the deprecated method and have the new method call the
11949         deprecated one.  Make all other code call the new method.
11950
11951 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
11952
11953         * gnu/java/nio/DatagramChannelImpl.java
11954         (inChannelOperation): New field.
11955         (isInChannelOperation): New accessor.
11956         (setInChannelOperation): New modifier.
11957         (receive): Use capacity() - position() of destination
11958         buffer instead of remaining(). Set and reset our "in
11959         channel operation indicator" before and after delegating
11960         the receive to our datagram socket. Removed testing code.
11961         Update destination buffer's current position if it is
11962         backed by a byte array (hasArray() is true).
11963         (send): Set and reset our "in channel operation indicator"
11964         before and after delegating the send to our datagram socket.
11965         Removed testing code. Update source buffer's current position
11966         if it is backed by a byte array (hasArray() is true).
11967         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
11968         Use capacity() - position() of destination buffer instead
11969         of remaining().
11970         * java/net/DatagramSocket.java (receive): Don't throw an
11971         IllegalBlockingModeException if we have a non-blocking
11972         channel which initiated this operation.
11973         (send): Likewise.
11974
11975 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
11976
11977         * configure.in: Add pkgconfig check for glib and gthread.
11978         * configure: Regenerate.
11979
11980 2004-02-01  Michael Koch  <konqueror@gmx.de>
11981
11982         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
11983         arguments.
11984         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
11985         * verify.cc (debug_print): Mark 'fmt' unused.
11986
11987 2004-01-30  Michael Koch  <konqueror@gmx.de>
11988
11989         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
11990         * configure: Regenerated.
11991         * glib-2.0.m4: Removed.
11992         * gtk-2.0.m4: Removed.
11993         * libart.m4: Removed.
11994         * pkg.m4: New file.
11995
11996 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
11997
11998         * gnu/java/net/PlainSocketImpl.java 
11999         (inChannelOperation): New field.
12000         (isInChannelOperation): New accessor.
12001         (setInChannelOperation): New modifier.
12002         * gnu/java/nio/ServerSocketChannelImpl.java
12003         (accept): Set and reset our server socket's PlainSocketImpl's
12004         "in channel operation" indicator before and after delegating
12005         the accept to our server socket.
12006         * gnu/java/nio/SocketChannelImpl.java
12007         (connect): Set and reset our socket's PlainSocketImpl's "in channel
12008         operation" indicator before and after delegating the operation to
12009         our socket.
12010         (read): Likewise.
12011         (write): Likewise.
12012         * java/net/ServerSocket.java (implAccept): Don't throw an
12013         IllegalBlockingModeException if we have a non-blocking
12014         channel which initiated this accept operation.
12015         * java/net/Socket.java (connect): Don't throw an
12016         IllegalBlockingModeException if we have a non-blocking
12017         channel which initiated this connect operation.
12018         * java/nio/channels/spi/AbstractSelectableChannel.java
12019         (configureBlocking): Only call implConfigureBlocking() if
12020         the desired blocking mode is different from our current one.
12021
12022 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
12023
12024         * java/io/BufferedReader.java (sbuf): New field.
12025         (readLine): Use String.valueOf instead of new String() as per
12026         Per Bothner's suggestion. Use instance sbuf field instead of a
12027         local StringBuffer instance.
12028         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
12029         caller's buffer to refill().
12030         (read(void)): Pass our internal work buffer to refill if our
12031         input queue is empty.
12032         (refill): Changed return type to int. Use the specified buffer
12033         instead of our work buffer as per Bryce McKinlay's suggestion.
12034         Return the number of characters read or -1 for EOF.
12035
12036 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
12037
12038         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
12039
12040 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
12041
12042         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
12043         * Makefile.in: Re-generated.
12044         * gnu/awt/xlib/XFontPeer.java: New file.
12045         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
12046         (setClip): Commented out debug printout.
12047         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
12048         (getFontPeer): Return XFontPeer.
12049         (getLocalGraphicsEnvironment): New method.
12050         (getClasspathFontPeer): New method.
12051         (createFont): New method.
12052
12053 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
12054
12055         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
12056         return null. 
12057
12058 2004-01-29  Kim Ho  <kho@redhat.com>
12059
12060         * gnu/java/awt/peer/gtk/GtkFramePeer.java
12061         (gtkLayoutSetVisible): New method
12062         (setMenuBar): Hide layout before setting MenuBar
12063         and reshow it after.
12064         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12065         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
12066
12067 2004-01-28  Michael Koch  <konqueror@gmx.de>
12068
12069         * gnu/java/lang/ClassHelper.java
12070         (getPackagePortion): Removed.
12071
12072 2004-01-28  Michael Koch  <konqueror@gmx.de>
12073
12074         * javax/swing/JComponent.java
12075         (listenerList): Initalize globally.
12076         (ancestor_list): Removed.
12077         (veto_list): Removed.
12078         (change_list): Removed.
12079         (get_veto_list): Removed.
12080         (get_change_list): Removed.
12081         (get_ancestor_list): Removed.
12082         (removeAncestorListener): Reimplemented.
12083         (removePropertyChangeListener): Likewise.
12084         (removeVetoableChangeListener): Likewise.
12085         (addAncestorListener): Likewise.
12086         (addPropertyChangeListener): Likewise.
12087         (addVetoableChangeListener): Likewise.
12088         (getListeners): New method.
12089         (getAncestorListeners): Likewise.
12090         (getVetoableChangeListeners): Likewise.
12091         (fireVetoableChange): Throws PropertyVetoException.
12092         * javax/swing/JEditorPane.java
12093         (JEditorPane): Throws IOException.
12094
12095 2004-01-28  David Jee  <djee@redhat.com>
12096
12097         * gnu/java/awt/peer/gtk/GtkFramePeer.java
12098         (create): Set the default foreground color to
12099         java.awt.SystemColor.windowText.
12100
12101 2004-01-27  Michael Koch  <konqueror@gmx.de>
12102
12103         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
12104         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
12105         Reindented to merge with classpath.
12106
12107 2004-01-27  David Jee  <djee@redhat.com>
12108
12109         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12110         (addExposeFilter): Handle GtkFramePeer separately.
12111         (removeExposeFilter): Likewise.
12112
12113 2004-01-27  Michael Koch  <konqueror@gmx.de>
12114
12115         * gnu/java/net/protocol/http/Connection.java
12116         (getOutputStream): Fixed typo.
12117
12118 2004-01-27  Michael Koch  <konqueror@gmx.de>
12119
12120         * java/lang/Class.java
12121         (getConstructor): Removed SecurityException from throws clause.
12122         (_getConstructors): Likewise.
12123         (getConstructors): Likewise.
12124         (getDeclaredConstructor): Likewise.
12125         (getDeclaredClasses): Likewise.
12126         (getDeclaredConstructors): Likewise.
12127         (getDeclaredField): Likewise.
12128         (getDeclaredMethod): Likewise.
12129         (getDeclaredMethods): Likewise.
12130         (getField): Likewise.
12131         (getMethod): Likewise.
12132         (getMethods): Likewise.
12133
12134 2004-01-27  Kim Ho  <kho@redhat.com>
12135
12136         * gnu/java/awt/peer/gtk/GtkFramePeer.java
12137         (removeMenuBarPeer): Remove MenuBarPeer argument.
12138         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
12139         (dispose): Call native method.
12140         * java/awt/Frame.java (setMenuBar): Create and remove
12141         MenuBar peers only if the Frame has a peer.
12142         (addNotify): Create the MenuBar peer if one exists.
12143         (removeNotify): Remove MenuBar peer if one exists.
12144         * java/awt/Menu.java: Fix imports.
12145         (addNotify): Don't use full class name.
12146         (removeNotify): Call removeNotify on all children.
12147         * java/awt/MenuBar.java (removeNotify): Call
12148         removeNotify on all children.
12149         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12150         (removeMenuBarPeer): Remove MenuBarPeer argument.
12151         Iterate through children to find the Frame's MenuBar.
12152         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
12153         New file.
12154         (dispose): Remove references to the MenuComponent.
12155
12156 2004-01-27  Michael Koch  <konqueror@gmx.de>
12157
12158         * javax/swing/AbstractCellEditor.java: Reformated.
12159         * javax/swing/DefaultListSelectionModel.java
12160         (listenerList): Made protected.
12161         (addListSelectionListener): Javadoc added.
12162         (removeListSelectionListener): Likewise.
12163         (getListeners): Likewise.
12164         (getListSelectionListeners): Likewise.
12165         * javax/swing/JComboBox.java: Merged copyright year.
12166         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
12167
12168 2004-01-26  Andrew Haley  <aph@redhat.com>
12169
12170         * javax/swing/table/JTableHeader.java: Extend JComponent
12171
12172 2004-01-26  Kim Ho  <kho@redhat.com>
12173
12174         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
12175         Fix spacing.
12176
12177 2004-01-26  Kim Ho  <kho@redhat.com>
12178
12179         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
12180         method.
12181         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
12182         height and let the Layout Managers readjust anything that
12183         needs to move.
12184         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12185         (moveLayout): New method. Shift everything in the Gtk
12186         layout in the Y direction by an offset.
12187
12188 2004-01-26  David Jee  <djee@redhat.com>
12189
12190         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
12191         (handleEvent): Implemented. Handles PaintEvents.
12192         (paint): Implemented. Use GTK native methods to queue updates
12193         for this heavyweight peer.
12194         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
12195         (handleEvent): Removed.
12196         * java/awt/Component.java
12197         (paint): Implemented. Explictly paint the heavyweight peer.
12198         (update): Clear the background for heavyweight components.
12199         (paintAll): No need to call peer.paint() anymore.
12200         (processEvent): Don't process PaintEvents here. It's now done in
12201         the peer's handleEvent().
12202         (processPaintEvent): Removed.
12203         * java/awt/Container.java
12204         (paint): No need to call super.paint(). Visit heavyweight
12205         children as well.
12206         (update): Don't clear the background here.  It's done in
12207         Component.update().
12208         (visitChildren): Added check to not recurse into Containers.
12209         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12210         (filter_expose_event_handler): New method.  Filter unwanted
12211         expose events while painting heavyweight peers.
12212         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
12213         New method. Connect filter and block pre_event_handler.
12214         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
12215         New method. Disconnect filter and unblock pre_event_handler.
12216         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
12217         New method. Invalidate and update given area.
12218         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12219         (pre_event_handler): Add checks for unwanted expose events.
12220
12221 2004-01-26  David Jee  <djee@redhat.com>
12222
12223         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12224         (find_bg_color_widget): For GtkButton, return its child.
12225
12226 2004-01-26  Kim Ho  <kho@redhat.com>
12227
12228         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
12229         private.
12230         (setMenuBar): Grab MenuBar height and change insets.
12231         (setBounds): Account for MenuBar height.
12232         (postInsetsChangedEvent): Ditto.
12233         (postSizeAllocateEvent): Remove.
12234         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12235         (menubar_resize_cb): Remove
12236         (setMenuBarPeer): Remove callback.
12237         (getMenuBarHeight): Use size requisition instead of
12238         allocation.
12239
12240 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
12241
12242         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
12243         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
12244         when peer is null.
12245         (setColumns): Remove FIXME -- peer will retrieve number of
12246         columns by calling getColumns.
12247         (setRows): Likewise for number of rows.
12248         (next_text_number): New field.
12249         (paramString): Fix param string.
12250         (generateName): New method.
12251         (getUniqueLong): New method.
12252
12253 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
12254
12255         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
12256         image observer of image loading status.
12257         (getImage (String)): Start image production.
12258         (getImage (URL)): Likewise.
12259
12260 2004-01-25  Michael Koch  <konqueror@gmx.de>
12261
12262         * java/lang/Class.java: Imports reworked, reformated.
12263         (Class): Javadoc added.
12264         (forName): Likewise.
12265         (getClasses): Likewise.
12266         (getClassLoader): Likewise.
12267         (getComponentType): Likewise.
12268         (getConstructor): Likewise.
12269         (getConstructors): Likewise.
12270         (getDeclaredConstructor): Likewise.
12271         (getDeclaredClasses): Likewise.
12272         (getDeclaredConstructors): Likewise.
12273         (getDeclaredField): Likewise.
12274         (getDeclaredMethod): Likewise.
12275         (getDeclaredMethods): Likewise.
12276         (getDeclaringClass): Likewise.
12277         (getField): Likewise.
12278         (getInterfaces): Likewise.
12279         (getMethod): Likewise.
12280         (getMethods): Likewise.
12281         (getModifiers): Likewise.
12282         (getName): Likewise.
12283         (getResource): Likewise.
12284         (getResourceAsStream): Likewise.
12285         (getSigners): Likewise.
12286         (setSigners): Likewise.
12287         (getSuperclass): Likewise.
12288         (isArray): Likewise.
12289         (isAssignableFrom): Likewise.
12290         (isInstance): Likewise.
12291         (isInterface): Likewise.
12292         (isPrimitive): Likewise.
12293         (newInstance): Likewise.
12294         (getProtectionDomain): Likewise.
12295         (toString): Likewise.
12296         (Class): Moved.
12297         (initializeClass): Likewise.
12298         (finalize): Likewise.
12299
12300 2004-01-24  Michael Koch  <konqueror@gmx.de>
12301
12302         * gnu/java/net/protocol/jar/Connection.java
12303         (hdrHash): Removed.
12304         (hdrVec): Removed.
12305         (gotHeaders): Removed.
12306         (getHeaderField): Removed.
12307         (getHeaderFields): Removed.
12308         (getHeaderFieldKey): Removed.
12309         (getKey): Removed.
12310         (getField): Removed.
12311         (getHeaders): Removed.
12312
12313 2004-01-24  Michael Koch  <konqueror@gmx.de>
12314
12315         * Makefile.am: Added library version to gtk peer lib.
12316         * Makefile.in: Regenerated.
12317
12318 2004-01-24  Michael Koch  <konqueror@gmx.de>
12319
12320         * java/util/zip/InflaterInputStream.java: Merged class documentation
12321         with classpath.
12322
12323 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
12324
12325         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
12326         header.  For __powerpc64__ provide the default-signal.h definitions
12327         for now.
12328         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
12329         instead of the dummy definitions.
12330         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
12331         (powerpc64*-*): Remove with_libffi_default.
12332         Only add -mminimal-toc for 64-bit compilations.
12333         * configure.in: Use powerpc-signal.h on powerpc64 as well.
12334         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
12335         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
12336         * configure: Rebuilt.
12337
12338 2004-01-23  Michael Koch  <konqueror@gmx.de>
12339
12340         * gnu/java/nio/FileLockImpl.java: Compile fixes.
12341
12342 2004-01-23  Michael Koch  <konqueror@gmx.de>
12343
12344         * java/lang/VMClassLoader.java: Reworked imports.
12345         
12346 2004-01-23  Michael Koch  <konqueror@gmx.de>
12347
12348         * javax/swing/AbstractAction.java: Reformated.
12349
12350 2004-01-23  Michael Koch  <konqueror@gmx.de>
12351
12352         * java/text/CollationElementIterator.java:
12353         (setText): New method.
12354
12355 2004-01-23  Michael Koch  <konqueror@gmx.de>
12356
12357         * gnu/java/nio/FileLockImpl.java:
12358         Fixed filename in copyright.
12359         (released): Removed.
12360         (finalize): New method.
12361         * gnu/java/nio/natFileLockImpl.cc
12362         (releaseImpl): Implemented.
12363         * java/nio/channels/FileChannelImpl.java:
12364         Reworked imports.
12365         (lock): Implemented.
12366         (lockImpl): New method.
12367         (tryLock): Implemented.
12368         (tryLockImpl): New method.
12369         * java/nio/channels/natFileChannelImpl.cc
12370         (lockImpl): New method.
12371         (tryLockImpl): New method.
12372
12373 2004-01-23  Michael Koch  <konqueror@gmx.de>
12374
12375         * java/io/FileDescriptor.java
12376         (lock): New method.
12377         (tryLock): New method.
12378         (unlock): New method.
12379         * java/io/natFileDescriptorEcos.cc
12380         (lock): New method.
12381         (tryLock): New method.
12382         (unlock): New method.
12383         * java/io/natFileDescriptorPosix.cc
12384         (lock): New method.
12385         (tryLock): New method.
12386         (unlock): New method.
12387         * java/io/natFileDescriptorWin32.cc
12388         (lock): New method.
12389         (tryLock): New method.
12390         (unlock): New method.
12391
12392 2004-01-23  Michael Koch  <konqueror@gmx.de>
12393
12394         * java/io/FileDescriptor.java
12395         (sync): Moved around, added javadoc.
12396         (valid): Likewise.
12397         (open): Likewise.
12398         (write): Likewise.
12399         (close): Likewise.
12400         (setLength): Likewise.
12401         (seek): Likewise.
12402         (getLength): Likewise.
12403         (getFilePointer): Likewise.
12404         (read): Likewise.
12405         (available): Likewise.
12406         (finalize): Likewise.
12407
12408 2004-01-23  Michael Koch  <konqueror@gmx.de>
12409
12410         * javax/swing/AbstractAction.java: Reformated.
12411         (getPropertyChangeListeners): New method.
12412         * javax/swing/AbstractCellEditor.java: Reformated.
12413         (getCellEditorListeners): New method.
12414         * javax/swing/DefaultListSelectionModel.java
12415         (listenerList): New field.
12416         (listeners): Removed.
12417         (get_listeners): Removed.
12418         (addListSelectionListener): Rewritten.
12419         (removeListSelectionListener): Rewritten.
12420         (getListSelectionListeners): New method.
12421         (getListeners): New method.
12422         * javax/swing/JComboBox.java: Imports reworked.
12423         (addActionListener): Implemented.
12424         (removeActionListener): Implemented.
12425         (addItemListener): Implemented.
12426         (removeItemListener): Implemented.
12427         (addPopupMenuListener): Implemented.
12428         (removePopupMenuListener): Implemented.
12429         (getActionListeners): New method.
12430         (getItemListeners): New method.
12431         (getPopupMenuListeners): New method.
12432
12433 2004-01-23  Michael Koch  <konqueror@gmx.de>
12434
12435         * gnu/java/net/protocol/http/Connection.java
12436         (connect): Don't initialize bufferedOutputStream if not needed.
12437         (sendRequest): Set property for content length if content is present.
12438         Write content only if present.
12439         (getOutputStream): Check if already connected, dont connect,
12440         initalize bufferedOutputStream if needed.
12441
12442 2004-01-23  Michael Koch  <konqueror@gmx.de>
12443
12444         * java/io/FileDescriptor.java
12445         (in, out, err): Added javadoc.
12446         (static): Merged loading code.
12447         (fd, position): Moved around.
12448
12449 2004-01-23  Michael Koch  <konqueror@gmx.de>
12450
12451         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
12452         New file.
12453
12454 2004-01-23  Michael Koch  <konqueror@gmx.de>
12455
12456         * java/lang/Class.java,
12457         java/lang/Object.java,
12458         java/lang/Thread.java: Merged copyright with classpath.
12459
12460 2004-01-23  Michael Koch  <konqueror@gmx.de>
12461
12462         * java/io/FileDescriptor.java: Merged copyright with classpath to
12463         start merging this class.
12464
12465 2004-01-22  Tom Tromey  <tromey@redhat.com>
12466
12467         PR libgcj/13107:
12468         * testsuite/libjava.lang/pr13107_2.xfail: New file.
12469         * testsuite/libjava.lang/pr13107_3.xfail: New file.
12470         * testsuite/libjava.lang/pr13107_3.java: New file.
12471         * testsuite/libjava.lang/pr13107_3.out: New file.
12472         * testsuite/libjava.lang/pr13107_2.java: New file.
12473         * testsuite/libjava.lang/pr13107_2.out: New file.
12474         * testsuite/libjava.lang/pr13107.java: New file.
12475         * testsuite/libjava.lang/pr13107.out: New file.
12476         * verify.cc (jsr_ptrs): Removed.
12477         (entry_points): Likewise.
12478         (struct subr_info): Likewise.
12479         (struct subr_entry_info): Likewise.
12480         (type_val::unused_by_subroutine_type): Likewise.
12481         (type::merge): Don't handle unused_by_subroutine_type.
12482         (type::print): Likewise.
12483         (state::flags): Removed.
12484         (state::subroutine): Likewise.
12485         (state::seen_subrs): Likewise.
12486         (state::NO_STACK): Likewise.
12487         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
12488         (state): Updated all methods.
12489         (state::clean_subrs): Removed.
12490         (state::state): Removed `ret_semantics' flag.
12491         (state::copy): Likewise.
12492         (state::add_subr): Removed.
12493         (state::enter_subroutine): Likewise.
12494         (type::set_return_address): New method.
12495         (handle_jsr_insn): Set return address on the type.  Always
12496         invalidate PC after call.
12497         (check_nonrecursive_call): Removed.
12498         (~_Jv_BytecodeVerifier): Updated.
12499         (branch_prepass): Removed special handling of jsr.
12500         (note_branch_target): Likewise.
12501         (get_subroutine): Removed.
12502         (state::merge): Don't merge subroutines and don't handle
12503         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
12504         (state::note_variable): Removed.
12505         (state::is_unmerged_ret_state): Likewise.
12506         (state::print): Updated.
12507         (set_variable): Likewise.
12508         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
12509         and jsr_semantics arguments.  Updated for new reverification
12510         list.
12511         (pop_jump): Rewrote.
12512         (construct_primitive_array_type): Updated.
12513         (state::next): Removed.
12514         (INVALID_STATE): New define.
12515         (state::INVALID): Removed.
12516         (state::NO_NEXT): New value.
12517         (state::pc, state::next): New fields.
12518         (state::get_pc): New method.
12519         (next_verify_pc): Removed.
12520         (next_verify_state): New field.
12521         (verify_instructions_0): Always check for falling off end.
12522         (linked): New type.
12523         (linked_utf8): Removed.
12524         (states): Changed type.
12525         (type::state_mergeable_p): New method.
12526         (state::state_mergeable_p): Likewise.
12527         (handle_ret_insn): Removed most code.
12528         (state::reverify): New method.
12529         (add_new_state): Likewise.
12530         (state::set_pc): Likewise.
12531
12532 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
12533
12534         PR java/13733
12535         * testsuite/libjava.compile/PR13733.java: New file.
12536         * testsuite/libjava.compile/PR13733.xfail: New file.
12537
12538 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
12539             Michael Koch  <konqueror@gmx.de>
12540
12541         * javax/swing/table/DefaultTableCellRenderer.java
12542         (DefaultTableCellRenderer): Added javadoc for the class and for
12543         the constructor, Border instance, create an EmptyBorder.
12544         (UIResource): Removed the comment at the end of the class
12545         (setForeground): New method.
12546         (setBackground): New method.
12547         (updateUI): New method.
12548         (getTableCellRendererComponent): Rewritten with the help of
12549         dvholten and Stephane Meslin-Weber.
12550         (validate): New method.
12551         (repaint): New method.
12552         (firePropertyChange): New method.
12553         (setValue): New method.
12554
12555 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
12556
12557         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12558         (connectJObject): Replace printf calls with g_assert statements.
12559         Move property-notify-event signal connection to ...
12560         (connectSignals): Connect property-notify-event signal.  Iterate
12561         through the vbox's children to find layout.
12562
12563 2004-01-22  Graydon Hoare  <graydon@redhat.com>
12564         
12565         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
12566         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
12567         Predicate static initialization on GtkToolkit.useGraphics2D().
12568         * java/awt/Component.java (processPaintEvent): Consume event.
12569         * javax/swing/AbstractButton.java: Reimplement, document.
12570         * javax/swing/DefaultButtonModel.java: Reimplement, document.
12571         * javax/swing/JComponent.java (paint): Use double buffer.
12572         (listenerList): Enable member.
12573         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
12574         * javax/swing/JToggleButton.java 
12575         (JToggleButton): Modify model constructor.
12576         * javax/swing/SwingUtilities.java 
12577         (layoutCompoundLabel): Adjust arithmetic.
12578         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
12579         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
12580         (getPreferredButtonSize): Include margins in calculation.
12581         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12582         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
12583         Receive up events from subordinate layout component.
12584
12585 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
12586
12587         * java/awt/Component.java (show): Set visible to true before
12588         showing the peer.
12589
12590 2004-01-21  Kim Ho  <kho@redhat.com>
12591
12592         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
12593         Fix comments.
12594         (removeMenuBarPeer): Make package private.
12595         (setMenuBarPeer): Make package private.
12596         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12597         (menubar_resize_cb): Mark attributes unused.
12598         (getMenuBarHeight): ditto.
12599
12600 2004-01-21  David Jee  <djee@redhat.com>
12601
12602         * java/awt/Container.java
12603         (LightweightDispatcher.handleEvent): Add an extra check to avoid
12604         dispatching MOUSE_ENTERED event twice. Translate the point for
12605         the mouse event target before dispatching the event.
12606
12607 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
12608
12609         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
12610         lib_org_w3c_dom_la_LDFLAGS): New.
12611         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
12612         * Makefile.in: Rebuilt.
12613
12614 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
12615
12616         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
12617         Calculate proper offsets for heavyweight components packed in
12618         lightweight containers.
12619
12620         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
12621         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
12622         (native create): Add width parameter.
12623         (create): Calculate text entry width based on current font's
12624         metrics and number of columns.  Set TextField's font if not
12625         already set.  Call native create.
12626         (gtkEntryGetBorderWidth): New native method.
12627         (gtkEntryGetSize): Remove method.
12628         (getMinimumSize): Call minimumSize.
12629         (getPreferredSize): Call preferredSize.
12630         (minimumSize): Calculate minimum size based on backing
12631         GtkEntry's borders, font metrics and number of columns.
12632         (preferredSize): Likewise for preferred size.
12633         (get_border_width): New static function.
12634
12635         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
12636         Override GtkWindowPeer's setResizable method to account for menu
12637         bar height when setting the frame's size.
12638
12639 2004-01-19  Matthias Klose  <doko@debian.org>
12640
12641         * libtool-version: Increased `current' to 6.
12642
12643 2004-01-19  Kim Ho  <kho@redhat.com>
12644
12645         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12646         (connectJObject): Iterate through the vbox's children to find layout.
12647
12648 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
12649
12650         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
12651         isDispatchThread method to replace wrong test condition.
12652
12653 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
12654
12655         * java/awt/EventQueue.java (pop): Prevent racing condition to add
12656         events to the queue out of order by acquiring locks in the proper
12657         order and not by releasing one before acquiring the other.
12658
12659 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
12660
12661         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
12662         visible so that dialog can be reused.
12663
12664 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
12665
12666         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
12667         events may be handled by any queue in the stack.
12668
12669 2004-01-19  Kim Ho  <kho@redhat.com>
12670
12671         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
12672         MenuBarPeer parameter.
12673         (removeMenuBarPeer): New native method.
12674         (setMenuBar): Call remove if menu bar is null. Adjust insets
12675         appropriately.
12676         (postSizeAllocateEvent): New method. Called when menu bar size is
12677         allocated. Adjust insets and redo layout.
12678         (GtkFramePeer): Set menu bar during frame creation.
12679         (postConfigureEvent): Adjust position and size to accomodate
12680         menu bar.
12681         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
12682         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
12683         (addNotify): Create the peer if it doesn't exist and call addNotify
12684         for the menu's items.
12685         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
12686         * java/awt/MenuItem.java (addNotify): Create the peer if it
12687         doesn't exist.
12688         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12689         (removeMenuBarPeer): New method. Remove menu bar on the current
12690         frame.
12691         (setMenuBarPeer): Add the menu bar to the current frame and the
12692         callback for size-allocate events on the menu bar.
12693         (getMenuBarHeight): Add menu bar parameter.
12694         (menubar_resize_cb): New callback method for postSizeAllocate events.
12695
12696         Also: Fix indentation on last ChangeLog entry.
12697
12698 2004-01-16  Kim Ho  <kho@redhat.com>
12699
12700         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
12701         (gtkWidgetGetDimensions): Remove.
12702         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12703         (gtkWidgetGetDimensions): Remove.
12704
12705 2004-01-16  Tom Tromey  <tromey@redhat.com>
12706
12707         * java/awt/Container.java: Typo and indentation fixes.
12708
12709         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
12710         * java/lang/natVMClassLoader.cc: ...here.  New file.
12711         * Makefile.in: Rebuilt.
12712         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
12713
12714 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
12715
12716         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
12717         Discard GDK_ENTER_NOTIFY related to ungrabs.
12718
12719 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
12720
12721         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
12722         is called for an intermediate queue.
12723
12724 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
12725
12726         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12727         (window_property_changed_cb): Set id_set.
12728
12729 2004-01-16  Kim Ho  <kho@redhat.com>
12730
12731         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
12732         it is a FileDialog and has dimensions of 0 by 0, then the initial
12733         size is set to size request plus insets.
12734         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
12735         (gtkWidgetGetDimensions): Override method.
12736         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12737         (gtkWidgetGetDimensions): Override method. Returns size request plus
12738         insets.
12739
12740 2004-01-16  Andrew Haley  <aph@redhat.com>
12741
12742         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
12743         * sysdep/i386/locks.h: Likewise.
12744
12745 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
12746
12747         * java/awt/EventDispatchThread.java (run): Stop running when
12748         interrupted.
12749         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
12750         Reset the queue after transferring its contents.
12751         (push): Start a new dispatch thread if none is running.
12752
12753 2004-01-16  Olga Rodimina <rodimina@redhat.com>
12754
12755         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
12756         (doPolygon): set fill rule of polygon to 
12757         WIND_EVEN_ODD by default.
12758
12759 2004-01-15  Olga Rodimina <rodimina@redhat.com>
12760
12761         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
12762         Implemented rendering hints related methods.
12763         (getDefaultHints): New helper method. Returns
12764         default rendering hints.
12765         (walkPath): changed to normalize path if
12766         the KEY_STROKE_CONTROL key is in "normalize" mode.
12767         (draw3DRect): changed coordinates of rectangle by +0.5
12768         if in "normalize" mode.
12769
12770 2004-01-15  Tom Tromey  <tromey@redhat.com>
12771
12772         * Makefile.in: Rebuilt.
12773         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
12774         (%.lo: %.java) Filter out StackTrace.lo.
12775
12776 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
12777
12778         * configure.in: Add in AC_PREREQ(2.13)
12779         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
12780         FIXME comment.
12781
12782 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
12783             Tom Tromey  <tromey@redhat.com>
12784
12785         PR libgcj/12001:
12786         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
12787         array to superclass.
12788         (init): Changed interface; add URLs here.
12789         (initialize): New static method.
12790         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
12791         (_Jv_RunMain): ... not here.
12792
12793 2004-01-14  Michael Koch  <konqueror@gmx.de>
12794
12795         * java/text/MessageFormat.java:
12796         Added descriptions to exceptions.
12797         This fixes PR libgcj/2429.
12798
12799 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
12800
12801         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
12802         (push): Make sure push is performed at the top of the thread stack.
12803
12804 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
12805
12806         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
12807         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
12808         (native create): Add width and height parameters.  Set text
12809         view's size request according to new parameters.
12810         (create): Calculate text view size based on current font's
12811         metrics and number of rows and columns.  Set TextArea's font if
12812         not already set.  Call native create.
12813         (getMinimumSize): Call minimumSize.
12814         (getPreferredSize): Call preferredSize.
12815         (getHScrollbarHeight): New method.
12816         (getVScrollbarWidth): New method.
12817         (minimumSize): Calculate minimum size based on scrollbar
12818         visibility, scrollbar sizes, font metrics and number of rows and
12819         columns.
12820         (preferredSize): Likewise for preferred size.
12821         (gtkTextGetSize): Remove method.
12822
12823 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
12824
12825         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
12826         (initializeInsets): Remove method.
12827         (GtkComponentPeer): Initialize insets field.  Remove call to
12828         initializeInsets.
12829         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
12830         Remove method.
12831         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
12832         Remove method.
12833         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
12834         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
12835         (latestInsets): Remove field.
12836         (native create): Add insets parameter.  Call
12837         window_get_frame_extents.  Set the window's default size and
12838         size request based on its frame extents.
12839         (create): Initialize insets.
12840         (postInsetsChangedEvent): New method.
12841         (postConfigureEvent): Remove parameters top, left, bottom,
12842         right.  Remove insets-related logic.
12843         (connectJObject): Handle property-notify-event.
12844         (window_get_frame_extents, request_frame_extents,
12845         property_notify_predicate, window_property_changed_cb): New
12846         static functions.
12847         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12848         (pre_event_handler): Remove insets-related logic for configure
12849         events.
12850         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
12851         Update postConfigureEvent signature.
12852
12853 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
12854  
12855         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
12856         to handle Window "Closing" events.
12857  
12858 2004-01-13  David Jee  <djee@redhat.com>
12859
12860         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
12861         (setBackground): New method. Children with no explicitly-set
12862         background will be repainted with the parent container's new
12863         background color.
12864
12865 2004-01-13  David Jee  <djee@redhat.com>
12866
12867         * Makefile.am: Add BitwiseXORComposite.java.
12868         * Makefile.in: Regenerated.
12869         * gcj/Makefile.in: Regenerated.
12870         * include/Makefile.in: Regenerated.
12871         * testsuite/Makefile.in: Regenerated.
12872
12873 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
12874
12875         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
12876         not show modal dialogs twice and so that it allows showing a modal
12877         dialog from another modal dialog.
12878
12879 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
12880
12881         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
12882         and run secondary dispatch thread to process event queue while this
12883         thread is blocked.
12884
12885 2004-01-12  Graydon Hoare  <graydon@redhat.com>
12886
12887         * gnu/java/awt/gtk/GdkGraphics2D.java
12888         (static): Check GtkToolkit before initializing static state.
12889         (Graphics2D): Don't construct transform with 0.5 unit offset.
12890
12891 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
12892
12893         * gnu/java/awt/BitwiseXORComposite.java: Add.
12894         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
12895         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
12896         (BitwiseXORComposite): Remove inner class.
12897
12898 2004-01-11  Michael Koch  <konqueror@gmx.de>
12899
12900         * gnu/java/lang/reflect/TypeSignature.java
12901         (getEncodingOfClass): Documentation fixed.
12902         (getClassForEncoding): Give class loader to Class.forName().
12903         Documentation fixed.
12904
12905 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
12906
12907         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
12908
12909 2004-01-11  Michael Koch  <konqueror@gmx.de>
12910
12911         * javax/swing/undo/StateEditable.java
12912         (RCSID): Removed redundant modifiers.
12913
12914 2004-01-10  Michael Koch  <konqueror@gmx.de>
12915
12916         * javax/print/attribute/EnumSyntax.java
12917         (getStringTable): Made protected.
12918         (getEnumValueTable): Likewise.
12919         * javax/print/attribute/standard/JobKOctetsProcessed.java
12920         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
12921         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
12922         (JobMediaSheetsCompleted): Made class final.
12923         * javax/print/attribute/standard/OutputDeviceAssigned.java
12924         (getName): Fixed typo.
12925         * javax/print/attribute/standard/RequestingUserName.java
12926         (serialVersionUID): Fixed value.
12927
12928 2004-01-10  Michael Koch  <konqueror@gmx.de>
12929
12930         * javax/swing/plaf/basic/BasicButtonUI.java,
12931         javax/swing/plaf/basic/BasicCheckBoxUI.java,
12932         javax/swing/plaf/basic/BasicListUI.java,
12933         javax/swing/plaf/basic/BasicOptionPaneUI.java,
12934         javax/swing/plaf/basic/BasicPanelUI.java,
12935         javax/swing/plaf/basic/BasicRadioButtonUI.java,
12936         javax/swing/plaf/basic/BasicScrollPaneUI.java,
12937         javax/swing/plaf/basic/BasicToggleButtonUI.java,
12938         javax/swing/plaf/basic/BasicViewportUI.java:
12939         Fixed import statements.
12940
12941 2004-01-10  Michael Koch  <konqueror@gmx.de>
12942
12943         * gnu/java/awt/image/ImageDecoder.java
12944         (produce): Made public.
12945         * gnu/java/awt/peer/GLightweightPeer.java,
12946         gnu/java/awt/peer/gtk/GtkToolkit.java:
12947         Reformated.
12948
12949 2004-01-10  Michael Koch  <konqueror@gmx.de>
12950
12951         * javax/swing/JRadioButtonMenuItem.java,
12952         javax/swing/JSeparator.java,
12953         javax/swing/JSplitPane.java,
12954         javax/swing/JTextPane.java,
12955         javax/swing/JToolBar.java,
12956         javax/swing/ListCellRenderer.java,
12957         javax/swing/ListModel.java,
12958         javax/swing/MenuElement.java,
12959         javax/swing/OverlayLayout.java,
12960         javax/swing/ProgressMonitor.java,
12961         javax/swing/ProgressMonitorInputStream.java,
12962         javax/swing/Renderer.java,
12963         javax/swing/RootPaneContainer.java,
12964         javax/swing/Scrollable.java,
12965         javax/swing/SingleSelectionModel.java,
12966         javax/swing/ToolTipManager.java,
12967         javax/swing/ViewportLayout.java,
12968         javax/swing/event/DocumentEvent.java,
12969         javax/swing/event/SwingPropertyChangeSupport.java,
12970         javax/swing/event/TreeSelectionEvent.java,
12971         javax/swing/event/UndoableEditEvent.java,
12972         javax/swing/text/AbstractDocument.java,
12973         javax/swing/text/AttributeSet.java,
12974         javax/swing/text/Caret.java,
12975         javax/swing/text/ComponentView.java,
12976         javax/swing/text/DefaultCaret.java,
12977         javax/swing/text/DefaultEditorKit.java,
12978         javax/swing/text/Document.java,
12979         javax/swing/text/EditorKit.java,
12980         javax/swing/text/GapContent.java,
12981         javax/swing/text/Keymap.java,
12982         javax/swing/text/MutableAttributeSet.java,
12983         javax/swing/text/PlainEditorKit.java,
12984         javax/swing/text/Segment.java,
12985         javax/swing/text/Style.java,
12986         javax/swing/text/StyledDocument.java,
12987         javax/swing/text/StyledEditorKit.java,
12988         javax/swing/text/TextAction.java,
12989         javax/swing/text/View.java: Fixed import statements.
12990
12991 2004-01-08  Graydon Hoare  <graydon@redhat.com>
12992
12993         * javax/swing/JLayeredPane.java: Rewrite to accomodate
12994         djee@redhat.com's recent inverse ordering of Container elements.
12995
12996 2004-01-09  Michael Koch  <konqueror@gmx.de>
12997
12998         * gnu/java/lang/ArrayHelper.java
12999         (equalsArray): Removed.
13000
13001 2004-01-09  Andrew Haley  <aph@redhat.com>
13002
13003         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
13004         a Utf8Const field before looking at its class.
13005
13006 2004-01-09  Michael Koch  <konqueror@gmx.de>
13007
13008         * javax/print/attribute/standard/DocumentName.java,
13009         javax/print/attribute/standard/JobHoldUntil.java,
13010         javax/print/attribute/standard/JobMessageFromOperator.java,
13011         javax/print/attribute/standard/JobName.java,
13012         javax/print/attribute/standard/JobOriginatingUserName.java,
13013         javax/print/attribute/standard/OutputDeviceAssigned.java,
13014         javax/print/attribute/standard/PrinterInfo.java,
13015         javax/print/attribute/standard/PrinterLocation.java,
13016         javax/print/attribute/standard/PrinterMakeAndModel.java,
13017         javax/print/attribute/standard/PrinterMessageFromOperator.java,
13018         javax/print/attribute/standard/PrinterName.java,
13019         javax/print/attribute/standard/RequestingUserName.java: New files.
13020         * Makefile.am (javax_source_files): Added new files.
13021         * Makefile.in: Regenerated.
13022
13023 2004-01-09  Michael Koch  <konqueror@gmx.de>
13024
13025         * javax/swing/AbstractAction.java,
13026         javax/swing/AbstractSet.java,
13027         javax/swing/Action.java,
13028         javax/swing/ActionMap.java,
13029         javax/swing/BoundedRangeModel.java,
13030         javax/swing/ButtonModel.java,
13031         javax/swing/CellEditor.java,
13032         javax/swing/CellRendererPane.java,
13033         javax/swing/ComboBoxEditor.java,
13034         javax/swing/DebugGraphics.java,
13035         javax/swing/DefaultCellEditor.java,
13036         javax/swing/DefaultCellRenderer.java,
13037         javax/swing/DefaultComboBoxModel.java,
13038         javax/swing/DefaultDesktopManager.java,
13039         javax/swing/DefaultFocusManager.java,
13040         javax/swing/DefaultListCellRenderer.java,
13041         javax/swing/Icon.java,
13042         javax/swing/JButton.java,
13043         javax/swing/JCheckBoxMenuItem.java,
13044         javax/swing/JDesktopPane.java,
13045         javax/swing/JEditorPane.java,
13046         javax/swing/JMenu.java,
13047         javax/swing/JPanel.java,
13048         javax/swing/JPasswordField.java,
13049         javax/swing/JPopupMenu.java,
13050         javax/swing/JProgressBar.java: Reworked imports.
13051
13052 2004-01-09  Michael Koch  <konqueror@gmx.de>
13053
13054         * java/awt/geom/PathIterator.java
13055         (WIND_EVEN_ODD): Removed redundant modifiers.
13056         (WIND_NON_ZERO): Likewise.
13057         (SEG_MOVETO): Likewise.
13058         (SEG_LINETO): Likewise.
13059         (SEG_QUADTO): Likewise.
13060         (SEG_CUBICTO): Likewise.
13061         (SEG_CLOSE): Likewise.
13062         * java/awt/image/SinglePixelPackedSampleModel.java:
13063         Removed redundant semicolon.
13064         * java/io/ObjectInputStream.java
13065         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
13066         * java/util/logging/Filter.java
13067         (isLoggable): Removed redundant modifier.
13068         * java/util/logging/LogManager.java:
13069         Removed redundant semicolon.
13070         * java/util/logging/XMLFormatter.java
13071         (format): Removed unused variable "key".
13072
13073 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
13074
13075         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
13076         New name for the former setFile native method.
13077         (setFile): New method.
13078         (setDirectory): Implemented.
13079         (connectSignals): New native method.
13080         (setFilenameFilter): Improve comment.
13081         (getGraphics): Comment.
13082         (gtkHideFileDialog): New method.
13083         (gtkDisposeFileDialog): New method.
13084         (gtkSetFilename): New method.
13085         * java/awt/Dialog.java (show): Block on modal dialogs, but only
13086         for FileDialog for now.
13087         (hide): New method.
13088         (dispose): New method.
13089         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
13090         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
13091         deprecated creation functions.  Make dialog modal.  Add it to the
13092         window group.
13093         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
13094         function.
13095         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
13096         Rename to...
13097         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
13098         name.
13099         (window_closed): New function.
13100         (ok_clicked): New function.
13101         (cancel_clicked): New function.
13102
13103 2004-01-08  Michael Koch  <konqueror@gmx.de>
13104
13105         * javax/swing/JLayeredPane.java: Revert changes to standard
13106         boilerplate, reworked imports.
13107
13108 2004-01-07  Tom Tromey  <tromey@redhat.com>
13109
13110         PR libgcj/13439:
13111         * verify.cc (state::merge): Copy changed locals out of subroutine
13112         in NO_STACK case.
13113         (state::FLAG_CHANGED): New const.
13114         (state::FLAG_UNUSED): Likewise.
13115         (state::local_changed): Removed.  Updated all users.
13116         (state::flags): New field.
13117         (state::merge): Added jsr_semantics argument, more logic.
13118         (push_jump_merge): Added jsr_semantics argument.
13119         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
13120         merging through the jsr instruction.
13121
13122 2004-01-07  Tom Tromey  <tromey@redhat.com>
13123
13124         * scripts/MakeDefaultMimeTypes.java: Use \n, not
13125         backslash-newline.
13126
13127 2004-01-07  Graydon Hoare  <graydon@redhat.com>
13128
13129         * java/awt/Container.java (LightweightDispatcher): Implement.
13130         (visitChild): Reuse graphics object.
13131         (dispatchEventImpl): Optionally dispatch to lightweight.
13132         (addNotifyContainerChildren): Build LightweightDispatcher.
13133
13134 2004-01-07  David Jee  <djee@redhat.com>
13135
13136         * java/awt/Container.java
13137         (update): Clear only the clipped region, instead of clearing the
13138         entire Container.
13139         (visitChildren): Visit children in descending order.
13140
13141 2004-01-07  Michael Koch  <konqueror@gmx.de>
13142
13143         * java/lang/reflect/Array.java: Merged documentation with classpath.
13144
13145 2004-01-07  Michael Koch  <konqueror@gmx.de>
13146
13147         * java/text/CollationElementIterator.java
13148         (textIndex): Renamed from index.
13149         * java/text/CollationKey.java
13150         (collator): New member.
13151         (CollationKey): New argument for parent collator.
13152         (equals): Check for same collator, source string and key array.
13153         * java/text/RuleBasedCollator.java:
13154         Reformated.
13155         (RuleBasedCollator): Don't re-initialize frenchAccents with default
13156         value.
13157         (getCollationElementIterator): Rewritten.
13158         (getCollationKey): Added new argument to CollationKey constructor.
13159
13160 2004-01-07  Michael Koch  <konqueror@gmx.de>
13161
13162         * gnu/java/nio/DatagramChannelImpl.java
13163         (blocking): Removed.
13164         (DatagramChannelImpl): Call configureBlocking().
13165         (implConfigureBlocking): Dont initialize blocking.
13166         * gnu/java/nio/ServerSocketChannelImpl.java
13167         (blocking): Removed.
13168         (ServerSocketChannelImpl): Call configureBlocking().
13169         (implConfigureBlocking): Dont initialize blocking.
13170         * gnu/java/nio/SocketChannelImpl.java
13171         (blocking): Removed.
13172         (SocketChannelImpl): Call configureBlocking().
13173         (implConfigureBlocking): Dont initialize blocking.
13174         (connect): Use isBlocking().
13175         * java/nio/channels/spi/AbstractSelectableChannel.java
13176         (configureBlocking): Use blockingLock() instead of LOCK.
13177         Set blocking after successfully called implConfigureBlocking().
13178         (register): Use blockingLock() instead of LOCK.
13179
13180 2004-01-07  Michael Koch  <konqueror@gmx.de>
13181
13182         * java/net/ServerSocket.java (isBound): Fixed documentation.
13183
13184 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
13185
13186         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
13187         (changeEvent): Create event object on demand.
13188         (DefaultBoundedRangeModel, toString, setValue, setExtent,
13189         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
13190         fireStateChanged): Re-written.
13191         * javax/swing/event/EventListenerList.java: Reformatted, document
13192         typical usage.
13193         (toString): Implemented.
13194         (getListeners): Re-written.
13195         (remove): Re-written.
13196         (add): Re-written.
13197         (NO_LISTENERS): New singleton field.
13198         (listenerList): Declare as transient; document.
13199         (serialVersionUID): Document.
13200         (getListenerCount(Class)): More efficient implementation,
13201         also accepts null argument.  Improve Javadoc.
13202         (getListenerCount()): Remove unnecessary cast; docfix.
13203         * javax/swing/undo/UndoableEditSupport.java:
13204         Re-format, document.
13205         (UndoableEditSupport): Set realSource field. Improve documentation.
13206         (_postEdit): Iterate over cloned listener vector.
13207         (toString): Don't emit realSource.
13208         (beginUpdate, endUpdate): Support nested updates.
13209         (postEdit): Use compound edit if present.
13210
13211 2004-01-06  Graydon Hoare  <graydon@redhat.com>
13212
13213         * java/awt/Container.java (swapComponents): Add forgotten
13214         function, required for JLayeredPane change.
13215
13216 2004-01-06  Michael Koch  <konqueror@gmx.de>
13217
13218         * java/text/CollationElementIterator.java: Reformated.
13219         (CollationElementIterator): Changed order of arguments.
13220         * java/text/RuleBasedCollator.java
13221         (RuleBasedCollator): Merged class documentation.
13222         (CollationElement): Added documentation.
13223         (compare): Reformated, renamed arguments.
13224         (equals): Likewise.
13225         (getCollationElementIterator): Likewise.
13226         (getCollationKey): Likewise.
13227
13228 2004-01-06  Graydon Hoare  <graydon@redhat.com>
13229
13230         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
13231
13232 2004-01-06  Michael Koch  <konqueror@gmx.de>
13233
13234         * gnu/java/net/protocol/file/Connection.java:
13235         Reformated copyright.
13236         (hdrHash): Removed.
13237         (hdrVec): Removed.
13238         (gotHeaders): Removed.
13239         (getHeaderField): Removed.
13240         (getHeaderField): Removed.
13241         (getHeaderFieldKey): Removed.
13242         (getKey): Removed.
13243         (getField): Removed.
13244         (getHeaders): Removed.
13245
13246 2004-01-06  Michael Koch  <konqueror@gmx.de>
13247
13248         * javax/print/attribute/standard/DateTimeAtCompleted.java,
13249         javax/print/attribute/standard/DateTimeAtCreation.java,
13250         javax/print/attribute/standard/DateTimeAtProcessing.java,
13251         javax/print/attribute/standard/JobImpressionsCompleted.java,
13252         javax/print/attribute/standard/JobKOctets.java,
13253         javax/print/attribute/standard/JobKOctetsProcessed.java,
13254         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
13255         javax/print/attribute/standard/JobPrioritySupported.java: New files.
13256         * Makefile.am (javax_source_files): Added new files.
13257         * Makefile.in: Regenerated.
13258
13259 2004-01-06  Michael Koch  <konqueror@gmx.de>
13260
13261         * java/net/URLConnection.java
13262         (contentHandler): Removed.
13263         (locale): Removed.
13264         (getHeaderFields): Return an empty map instead of null.
13265         (getContent): Connect if needed, renamed "cType" to "type" and
13266         "contentHandler" to "ch" and made it a local variable.
13267         (getPermission): Don't use package in class name.
13268         (setDefaultRequestProperty): Fixed typo in documentation.
13269         (initializeDateFormats): Made locale a local variable.
13270
13271 2004-01-06  Michael Koch  <konqueror@gmx.de>
13272
13273         * java/lang/Package.java
13274         (getPackage): Get the current class loader directly.
13275         * java/lang/SecurityManager.java
13276         (currentLoadedClass): Dont iterate over class contexts.
13277         (classLoaderDepth): Don't check class loaders if everything is allowed.
13278
13279 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
13280
13281         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
13282         (pre_event_handler): Set all insets to 0 when a Configure event
13283         is received for a GtkPlug.
13284         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
13285         Make handle long, not int.
13286         (EmbeddedWindow()): New constructor.
13287         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
13288         long, not int.
13289         (setHandle): New method.
13290         (getHandle): Return long, not int.
13291         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
13292         declaration.
13293         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
13294         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
13295         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
13296         argument to GdkNativeWindow.
13297         (construct): New method.
13298         (embed): New method.
13299
13300         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
13301         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
13302         (create(int, int)): New method.
13303         (create): Call new create method.
13304         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
13305         methods.
13306         (childResized): Remove native implementation.  Implement in
13307         Java.
13308         (getHScrollbarHeight, getVScrollbarWidth): Call
13309         gtk_widget_size_request to get scrollbar dimensions.
13310         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
13311         call getVScrollbarWidth and getHScrollbarHeight when vertical
13312         and horizontal scrollbars respectively are needed.
13313         (doLayout): Enlarge child if it is smaller than the viewport.
13314
13315 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
13316
13317         * java/awt/Dialog.java (constructor): Accept null title as per spec.
13318         * java/awt/FileDialog.java (constructor): Throw exception on invalid
13319         argument as per spec.
13320
13321 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
13322
13323         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
13324         (insert): Ditto.
13325         (remove): Ditto.  Also, Check for valid argument.
13326         (removeAll): Use peer interface method.
13327         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
13328         native add function.
13329         (nativeRemove): New name for native remove function.
13330         (getHistory): New native function.
13331         (constructor): Generate ItemEvent.
13332         (add): Ditto, if selection is changed.
13333         (remove): Ditto, ditto.
13334         (removeAll): Add implementation.
13335         (handleEvent): Remove.  Dead code.
13336         (choicePostItemEvent): Add comment.
13337         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
13338         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
13339         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
13340         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
13341         comments and fix condition to change selection.
13342         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
13343         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
13344         remove all capability.
13345         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
13346         (item_activate): Add cast to remove compiler warning.
13347
13348 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
13349
13350         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
13351         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13352         (getPreferredSize): Call preferredSize.
13353         (preferredSize): Call gtkWidgetGetPreferredDimensions.
13354         (getMinimumSize): Call minimumSize.
13355         (minimumSize): Call gtkWidgetGetPreferredDimensions.
13356         (gtkWidgetGetDimensions): Return the peer widget's current size
13357         request.
13358         (gtkWidgetGetPreferredDimensions): Return the peer widget's
13359         natural size request.
13360
13361 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
13362
13363         Thanks to Brian Gough <bjg@network-theory.com>
13364         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
13365         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
13366
13367 2004-01-04  Matthias Klose  <doko@debian.org>
13368
13369         * aclocal.m4: Rebuilt using "aclocal -I .".
13370         * configure: Rebuilt.
13371
13372 2004-01-03  Per Bothner  <per@bothner.com>
13373
13374         * java/util/Date.java (parse):  Fix a number of problems.
13375         (skipParens):  Remove no-longer-needed method.
13376