OSDN Git Service

539827b5ddc8bfc39d948e08ac7219b367b9d1df
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-11-29  Tom Tromey  <tromey@redhat.com>
2
3         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
4         Recognize --help and --version.
5         (usage): Mention gcj-dbtool.  Added "out" argument.
6         (insist): Updated.
7
8 2004-11-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
9
10         * link.cc (link_symbol_table): Do not use intptr_t.
11
12 2004-11-28  Mark Wielaard  <mark@klomp.org>
13
14         * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
15         XMLDecoder tests which currently don't compile.
16
17 2004-11-27  Andrew Haley  <aph@redhat.com>
18
19         * link.cc (ensure_class_linked): Conditionally compile
20         _Jv_IsInterpretedClass on INTERPRETER.
21         (print_class_loaded): Likewise.
22         (wait_for_state): Likewise.
23         * include/jvm.h (ROUND): Move to here from include/java-interp.h.
24         * include/java-interp.h (ROUND): Remove.
25
26 2004-11-25  Tom Tromey  <tromey@redhat.com>
27
28         * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
29         * java/lang/Class.h (_Jv_Linker): Declare.
30         (Class): Fix names of friends.
31         (_Jv_getInterfaceMethod): Declare.
32
33 2004-11-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
34
35         * testsuite/lib/libjava.exp (libjava_arguments): Add new global
36         variable libjava_ld_library_path.
37         (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
38
39 2004-11-25  Bryce McKinlay  <mckinlay@redhat.com>
40
41         * java/util/ResourceBundle.java (BundleKey): Don't implement
42         Cloneable.
43         (BundleKey.clone): Removed.
44         (getBundle): Copy BundleKey using constructor, not clone().
45
46 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
47
48         * configure: Regenerate for libtool reversion.
49
50 2004-11-25  Michael Koch  <konqueror@gmx.de>
51
52         * Makefile.am: Added most of javax.print again.
53         * Makefile.in: Regenerated.
54
55 2004-11-25  Michael Koch  <konqueror@gmx.de>
56
57         * Makefile.am: Added most of javax.print again.
58         * Makefile.in: Regenerated.
59
60 2004-11-24  Tom Tromey  <tromey@redhat.com>
61
62         * Merged gcj-abi-2-dev-branch to trunk.
63
64 2004-11-16  Tom Tromey  <tromey@redhat.com>
65
66         * include/java-interp.h (_Jv_DefineClass): Updated.
67         * java/lang/natVMClassLoader.cc (defineClass): Pass protection
68         domain to class reader.
69         * defineclass.cc (parse): Use print_class_loaded.
70         Include ProtectionDomain.h.
71         (_Jv_DefineClass): Added ProtectionDomain argument.
72         (_Jv_ClassReader): Likewise.
73         * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
74         * link.cc: Include CodeSource.h.
75         (print_class_loaded): New function.
76         (wait_for_state): Use it.
77
78 2004-11-16  Andrew Haley  <aph@redhat.com>
79
80         * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
81
82 2004-11-16  Andrew Haley  <aph@redhat.com>
83
84         * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
85         * configure.host: Define libgcj_ld_symbolic for Linux hosts.
86         * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
87         * configure: Regenerate.
88         * Makefile.in: Regenerate.      
89
90 2004-11-15  Andrew Haley  <aph@redhat.com>
91
92         * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
93         gc-allocated object.
94
95 2004-11-15  Andrew Haley  <aph@redhat.com>
96
97         * java/net/URLClassLoader.java
98         (URLLoader.getClassPath): New method.
99         (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
100         attribute and add URLs for each entry.
101         (JarURLLoader.classPath): New field.
102         (JarURLLoader.getClassPath): New method.
103         (addURLImpl): Scan through the list of extraUrls in the new
104         loader, adding them to our urlinfos.
105         (definePackage, findURLResource, findResources): Use
106         urlinfos.size(), not urls.size().
107
108 2004-11-11  Tom Tromey  <tromey@redhat.com>
109
110         * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
111         method.
112         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
113         linked.
114         (ensureSupersLinked): Declare.
115         * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
116         linked.
117
118 2004-11-10  Tom Tromey  <tromey@redhat.com>
119
120         * gij.cc (main): Treat -verbose the same as -verbose:class.
121         (help): Document -verbose and -verbose:class.
122
123         * link.cc (verbose_class_flag): Declare.
124         (wait_for_state): Print message when handling precompiled class.
125         * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
126
127 2004-11-09  Tom Tromey  <tromey@redhat.com>
128
129         * testsuite/libjava.lang/assign2.out: New file.
130         * testsuite/libjava.lang/assign2.java: New file.
131
132         * java/lang/natRuntime.cc (insertSystemProperties): Set
133         java.version to 1.4.2 and java.specification.version to 1.4.  Set
134         java.runtime.version.
135
136 2004-11-08  Tom Tromey  <tromey@redhat.com>
137
138         * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
139         supers installed.
140         * link.cc (verify_type_assertions): Don't link supers.
141
142         * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
143         * include/java-interp.h (class _Jv_InterpClass)
144         <_Jv_PrepareMissingMethods>: No longer `friend'.
145         * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
146         `friend'.
147         (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
148         _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
149         _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
150         _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
151         _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
152         * link.cc (search_method_in_class): Renamed from
153         _Jv_SearchMethodInClass.
154         (resolve_pool_entry): Updated.
155
156         * include/jvm.h (_Jv_CheckAssignment): Removed.
157         * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
158
159 2004-11-05  Tom Tromey  <tromey@redhat.com>
160
161         * link.cc (verify_type_assertions): Ensure classes have supers
162         linked.  Strip off array types first.
163
164 2004-11-05  Bryce McKinlay  <mckinlay@redhat.com>
165
166         * link.cc: Include VerifyError.h. 
167         (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
168         in the type assertion table.
169         * include/execution.h (_Jv_CompiledEngine::do_verify): Use
170         verify_type_assertions.
171         * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
172         * java/lang/Class.h (JV_ASSERT_END_OF_TABLE, 
173         JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
174         assertion code values.
175         (struct _Jv_TypeAssertion): Declare.
176         (assertion_table): New class field.
177         (verify): Remove class field.
178
179 2004-11-05  Andrew Haley  <aph@redhat.com>
180
181         * Makefile.am: Move jv_dbtool.java to
182         gnu/gcj/tools/gcj_dbtool/Main.java.
183         * Makefile.in: Rebuild.
184         * java/lang/VMCompiler.java: Rename property
185         "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
186         * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
187         jv_dbtool.java.
188         
189 2004-11-05  Andrew Haley  <aph@redhat.com>
190
191         * jv_dbtool.java (main): Allow the user to specify the size of the
192         database.  Display the capacity and the size.
193         (usage): Show the new option.
194                 
195 2004-11-04  Tom Tromey  <tromey@redhat.com>
196
197         * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
198         * link.cc (make_vtable): Use correct index when searching for
199         missing method's name.  Don't use `flags'.
200         (set_vtable_entries): Removed `flags' argument.  Don't recurse
201         into superclasses.
202         (link_symbol_table): Ensure target class method table is
203         complete.  Ensure target fields are laid out before entering
204         loop.
205
206         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
207         fix.
208
209         * interpret.cc (do_verify): Don't verify abstract methods.
210
211 2004-11-01  Tom Tromey  <tromey@redhat.com>
212
213         * link.cc (wait_for_state): Call verify_class.
214
215         * verify.cc (state::check_no_uninitialized_objects): Removed.
216         (push_jump): Updated.
217         (push_exception_jump): Likewise.
218         (handle_ret_insn): Likewise.
219         (handle_jsr_insn): Likewise.
220
221 2004-10-28  Andrew Haley  <aph@redhat.com>
222
223         * gnu/gcj/runtime/PersistentByteMap.java: New file.
224         * jv_dbtool.java: New file.
225         * Makefile.am (bin_PROGRAMS): Add jv-dbtool
226         (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
227         (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
228         * Makefile.in: Regenerate,
229         * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
230         Enumeration, StringTokenizer, Vector, PersistentByteMap.
231         (precompiledMapFiles): New variable.
232         (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
233         initialize precompiledMapFiles.
234         (compileClass): Look at the database of precompiled class files
235         before firing up gcj.
236
237         * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
238
239 2004-10-27  Andrew Haley  <aph@redhat.com>
240
241         * java/lang/VMCompiler.java (compileClass): try looking for
242         precompiledMapFiles.
243         * gnu/gcj/runtime/PersistentByteMap.java: New file.
244
245 2004-10-27  Tom Tromey  <tromey@redhat.com>
246
247         * link.cc (ensure_class_linked): Only resolve classes for
248         compiled classes.
249         (add_miranda_methods): Ensure interface supers are installed.
250         (resolve_pool_entry): Better error message.
251
252 2004-10-25  Tom Tromey  <tromey@redhat.com>
253
254         * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
255
256         * java/util/ResourceBundle.java (tryBundle): Use
257         Class.isAssignableFrom rather than catching ClassCastException.
258
259         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
260         exception if we hit EOF of `in'.
261         (read): Handle case where inflating returns -1.
262
263         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
264         initialize `iter'.
265         * gnu/java/text/SentenceBreakIterator.java
266         (SentenceBreakIterator): Don't initialize `iter'.
267         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
268         initialize `iter'.
269         * gnu/java/text/CharacterBreakIterator.java
270         (CharacterBreakIterator): Don't initialize `iter'.
271         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
272         constructor.
273         * java/text/BreakIterator.java: Updated documentation.
274
275 2004-10-20  Tom Tromey  <tromey@redhat.com>
276
277         * java/util/ResourceBundle.java (tryBundle): Also ignore
278         ClassCastException.
279
280 2004-10-18  Tom Tromey  <tromey@redhat.com>
281
282         * interpret.cc (do_post_miranda_hook): New method.
283         * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
284         New field.
285         (_Jv_CompiledEngine::do_post_miranda_hook): New method.
286         (_Jv_CompiledEngine): Initialize new field.
287         (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
288         (_Jv_InterpreterEngine): Initialize new field.
289         * link.cc (resolve_pool_entry): Put Miranda methods in target
290         class.
291         (ensure_method_table_complete): Call post_miranda_hook.
292         * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
293         aux_info.
294         * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
295         (parse): Set class' aux_info here.
296
297         * boehm.cc (_Jv_MarkObj): Mark `throws'.
298
299         * boehm.cc: Re-merged with trunk.
300
301 2004-10-18  Andrew Haley  <aph@redhat.com>
302
303         PR java/18036:
304         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
305         and correct logic used to find interpreter.
306
307 2004-10-13  Andrew Haley  <aph@redhat.com>
308
309         * interpret.cc (_Jv_InterpMethod::run): Initialize
310         _Jv_StartOfInterpreter.
311         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
312         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
313         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
314         _Unwind_FindEnclosingFunction to discover whether PC is within the
315         interpreter.
316
317 2004-10-13  Tom Tromey  <tromey@redhat.com>
318
319         * link.cc (find_iindex): Copy correct number of slots to new
320         ioffsets.
321
322 2004-10-12  Tom Tromey  <tromey@redhat.com>
323
324         * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
325         proc.
326         (gcj_loader_test_one): Use it.
327         (gcj_loader_run): Likewise.
328
329         * prims.cc: Don't include FirstThread.h.
330
331 2004-10-06  Tom Tromey  <tromey@redhat.com>
332
333         * link.cc (ensure_method_table_complete): Ensure superclass
334         Miranda methods installed.
335
336         * include/java-interp.h (class _Jv_JNIMethod): Added
337         JV_MARKOBJ_DECL as a friend.
338         * interpret.cc (ncode): Allocate jni_arg_types field with GC.
339         * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
340         interpreter method structures.  Mark jni_arg_types of JNI
341         methods.
342
343         * defineclass.cc (parse): Use JV_STATE_READ.
344         * java/lang/Class.h (JV_STATE_READ): New enum value.
345
346 2004-10-05  Tom Tromey  <tromey@redhat.com>
347
348         * link.cc (resolve_pool_entry): Add signature info to missing
349         method's information.
350
351         * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
352         * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
353
354 2004-10-04  Tom Tromey  <tromey@redhat.com>
355
356         * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
357         marking IDT.
358
359 2004-09-29  Tom Tromey  <tromey@redhat.com>
360
361         * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
362         resolve.cc.
363         * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
364         * jni.cc: Use _Jv_Linker.
365         * interpret.cc: Use _Jv_Linker.
366         * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
367         * java/lang/natClassLoader.cc: Use _Jv_Linker.
368         * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
369         * java/lang/Class.h: Use _Jv_Linker.
370         * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
371         * resolve.cc: Renamed ...
372         * link.cc: ... here.  Use _Jv_Linker.
373         * defineclass.cc (checkExtends): Use _Jv_Linker.
374
375 2004-09-17  Tom Tromey  <tromey@redhat.com>
376
377         * defineclass.cc (handleCodeAttribute): Don't reference
378         `deferred'.
379         (handleMethodsEnd): Likewise.
380         * include/java-interp.h (_Jv_MethodBase::deferred): Removed
381         field.
382         (_Jv_Defer_Resolution): Don't declare or define.
383         * interpret.cc (do_create_ncode): Don't resolve deferred method
384         pointers.
385         * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
386         * resolve.cc (link_symbol_table): No need to defer resolution.
387
388 2004-09-14  Tom Tromey  <tromey@redhat.com>
389
390         * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
391         (_Jv_MarkObj): Updated.
392         (_Jv_MarkArray): Likewise.
393
394         * include/jvm.h (StringClass): Removed.
395         * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
396         * interpret.cc (_Jv_InitField): Don't use StringClass.
397         * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
398         StringClass.
399         (rehash): Likewise
400         (intern): Likewise.
401         (_Jv_FinalizeString): Likewise.
402         (_Jv_NewStringUtf8Const): Likewise.
403         (equals): Likewise.
404         * prims.cc (JvConvertArgv): Don't use StringClass.
405
406         * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
407         * resolve.cc (ensure_fields_laid_out): Don't mention
408         COMPACT_FIELDS.
409         * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
410         * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
411
412         * java/lang/reflect/natField.cc (getType): Use resolve_field.
413         * java/lang/natVMClassLoader.cc (resolveClass): New native
414         implementation.
415         (linkClass0): Removed.
416         (markClassErrorState0): Likewise.
417         * java/lang/natClassLoader.cc: Include execution.h.  Moved class
418         preparation code to resolve.cc.
419         (_Jv_RegisterClassHookDefault): Set class's execution engine if
420         not already set.
421         (_Jv_FindClass): Use wait_for_state.
422         (_Jv_NewArrayClass): Likewise.  Simplified permissions setting.
423         * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
424         Moved interface table and class preparation code to resolve.cc.
425         (finalize): Rewrote.
426         (initializeClass): Simplified locking and class preparation.
427         * java/lang/VMClassLoader.java (linkClass0): Removed.
428         (markClassErrorState0): Likewise.
429         (resolveClass): Now native.
430         (transformException): New method.
431         * java/lang/Class.h (getSuperclass): Don't try to resolve super
432         reference.
433         (getInterface): Likewise.
434         (size): Likewise.
435         (set_state): New method.
436         (Class): Updated friend declarations.
437         (verify): Field now private.
438         (engine): New field.
439         * include/jvm.h (class _Jv_Resolver): New class declaration.
440         (_Jv_ResolveField): Removed declaration.
441         (_Jv_CheckAccessNoInit): Likewise.
442         (_Jv_isBinaryCompatible): Removed.
443         * include/java-interp.h (class _Jv_MethodBase): Updated friend
444         declarations.
445         (class _Jv_InterpMethod): Likewise.
446         (class _Jv_InterpClass): Likewise.
447         (class _Jv_JNIMethod): Likewise.
448         * include/execution.h: New file.
449         * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
450         (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
451         Register class after setting fields.
452         * resolve.cc: Include execution.h, VerifyError.h.  Moved
453         interpreter-specific code to interpret.cc.
454         (uaddr): New location.
455         (struct aligner): Likewise.
456         (ALIGNOF): Likewise.
457         (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
458         (INITIAL_IFACES_LEN): Likewise.
459         (null_idt): Likewise.
460         (_Jv_GetMethodString): Likewise.
461         (_Jv_ThrowNoSuchMethodError): Likewise.
462         (_Jv_abstractMethodError): Likewise.
463         (_Jv_Resolver::get_alignment_from_class): Renamed.
464         (_Jv_Resolver::resolve_field): Likewise.
465         (_Jv_Resolver::resolve_pool_entry): Likewise.
466         (_Jv_Resolver::resolve_class_ref): Likewise.
467         (_Jv_Resolver::prepare_constant_time_tables): Likewise.
468         (_Jv_Resolver::indexof): Likewise.
469         (_Jv_Resolver::get_interfaces): Likewise.
470         (_Jv_Resolver::generate_itable): Likewise.
471         (_Jv_Resolver::append_partial_itable): Likewise.
472         (_Jv_Resolver::find_iindex): Likewise.
473         (_Jv_Resolver::link_symbol_table): Likewise.
474         (_Jv_Resolver::link_exception_table): Likewise.
475         (_Jv_Resolver::layout_interface_methods): Likewise.
476         (_Jv_Resolver::layout_vtable_methods): Likewise.
477         (_Jv_Resolver::set_vtable_entries): Likewise.
478         (_Jv_Resolver::make_vtable): Likewise.
479         (_Jv_Resolver::ensure_fields_laid_out): Likewise.
480         (_Jv_Resolver::ensure_class_linked): Likewise.
481         (_Jv_Resolver::ensure_supers_installed): Likewise.
482         (_Jv_Resolver::add_miranda_methods): Likewise.
483         (_Jv_Resolver::ensure_method_table_complete): Likewise.
484         (_Jv_Resolver::verify_class): Likewise.
485         (_Jv_Resolver::wait_for_state): Likewise.
486         * prims.cc (_Jv_soleCompiledEngine): New global.
487         (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
488         (_Jv_CheckAccessNoInit): Removed.
489         * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
490         * interpret.cc: Include platform.h, ClassFormatError.h,
491         Modifier.h, execution.h.
492         (_Jv_soleInterpreterEngine): New global.
493         (compile): Use resolve_pool_entry.
494         (run): Likewise.
495         (_Jv_InitField): New location.
496         (skip_one_type): Likewise.
497         (get_ffi_type_from_signature): Likewise.
498         (_Jv_count_arguments): Likewise.
499         (init_cif): Likewise.
500         (ncode_closure): Likewise.
501         (ffi_closure_fun): Likewise.
502         (ncode): Likewise.
503         (throw_class_format_error): Likewise.
504         (throw_class_format_error): Likewise.
505         (_Jv_InterpreterEngine::do_verify): New method.
506         (_Jv_InterpreterEngine::do_create_ncode): Likewise.
507         (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
508         (_Jv_InterpreterEngine::do_resolve_method): Likewise.
509         * defineclass.cc: Include execution.h.
510         (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
511         engine.
512         (checkExtends): Ensure superclass has supers installed.
513         (_Jv_ClassNameSamePackage): Clarify usage constraints.
514         * boehm.cc (GC_enable, GC_disable): Declare at top of file.
515         (_Jv_MarkObj): Unconditionally mark vtable.  Mark interface
516         dispatch tables.
517
518 2004-09-13  Tom Tromey  <tromey@redhat.com>
519
520         * mauve-libgcj: List some classes we don't have.
521
522 2004-09-10  Andrew Haley  <aph@redhat.com>
523
524         * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
525         * java/lang/natClass.cc (initializeClass): Check itable.
526         (_Jv_getInterfaceMethod): New.
527         (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
528         Check that an interface method isn't called with invokevirtual.
529
530         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
531         super_meth is virtual.
532
533 2004-09-01  Tom Tromey  <tromey@redhat.com>
534
535         * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
536         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
537         _Jv_CheckAccessNoInit.
538         * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
539         * prims.cc (_Jv_CheckAccessNoInit): New method.
540
541         * java/lang/reflect/natMethod.cc (invoke): Check access against
542         declaring class, not object's class.
543         * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
544         argument.
545         (_Jv_LayoutVTableMethods): Perform checks of accessibility of
546         overridden method.
547         * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
548         argument.
549
550 2004-08-30  Andrew Haley  <aph@redhat.com>
551
552         * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
553         ClassNotFoundException.
554         Throw NoClassDefFoundError.
555
556         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
557         to klass->verify() from here ...
558         (_Jv_PrepareCompiledClass): ...and put it here.
559
560 2004-08-27  Andrew Haley  <aph@redhat.com>
561
562         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
563         klass->verify().
564         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
565         (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
566
567 2004-08-27  Tom Tromey  <tromey@redhat.com>
568
569         * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
570         friend.
571         * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
572         (_Jv_IsAssignableFromSlow): New function.
573         Include VerifyError.h.
574         * include/jvm.h (_Jv_CheckAssignment): Declare.
575
576 2004-08-18  Andrew Haley  <aph@redhat.com>
577
578         * java/lang/VMCompiler.java (loadSharedLibrary): Add className
579         argument.  Pass it to findClass instead of fileName.
580         (compileClass): Pass class name to loadSharedLibrary.
581
582 2004-06-22  Andrew Haley  <aph@redhat.com>
583
584         * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
585
586 2004-06-15  Andrew Haley  <aph@redhat.com>
587
588         * java/lang/natSystem.cc (getenv0): Don't assume environment
589         variable is Latin 1 coded.
590
591 2004-06-07  Andrew Haley  <aph@redhat.com>
592
593         * java/lang/System.java: (getenv0): New method.
594         (getenv): Add security check.  Do the right thing.
595         * java/lang/natSystem.cc (getenv0): New method.
596
597 2004-04-19    Andrew Haley  <aph@redhat.com>
598
599         * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
600         we destroy.
601
602         * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
603         is returned as an int in the range 0 to 255.
604
605 2004-08-13  Tom Tromey  <tromey@redhat.com>
606
607         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
608         class if it is interpreted.
609
610 2004-08-12  Tom Tromey  <tromey@redhat.com>
611
612         * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
613         * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
614         (Class::getSuperclass): Updated.
615         (Class::getInterfaces): Likewise.
616         (Class::size): Updated.
617         (_Jv_LayoutClass): Updated declaration.
618         * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
619         Synchronize on class.
620         (_Jv_LayoutClass): Changed interface.
621         (initializeClass): Updated.
622         (_Jv_LinkSymbolTable): Likewise.
623
624         * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
625         friend.
626         * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
627         _Jv_isBinaryCompatible.
628         * java/lang/natClass.cc (initializeClass): Use
629         _Jv_isBinaryCompatible.
630         (_Jv_LinkSymbolTable): Likewise.
631         * include/jvm.h (_Jv_isBinaryCompatible): New function.
632
633 2004-08-11  Tom Tromey  <tromey@redhat.com>
634
635         * gcj/javaprims.h: Regenerated.
636         * java/lang/natClassLoader.cc (getClassLoader0): Removed.
637         (_registerClass): Likewise.
638         * Makefile.in: Rebuilt.
639         * Makefile.am (core_java_source_files): Added VMCompiler.
640         * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
641         * java/lang/VMCompiler.java: New file.
642         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
643         `verbose' code.
644         (copyFile): Don't use fully-qualified name.
645         (h): Removed.
646         * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
647         (defineClass): Use VMCompiler.
648         * java/lang/ClassLoader.java (defineClass): Removed jit
649         compilation code and `verbose' code.
650         (getClassLoader0): Removed.
651         (_registerClass): Likewise.
652         (SharedLibHelpers): Removed.
653
654 2004-08-10  Tom Tromey  <tromey@redhat.com>
655
656         * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
657         URL)): New constructor.
658         (SoURLLoader): Likewise.
659         (JarURLLoader): Create SoURLLoader with override URL.
660
661 2004-08-10  Mark Wielaard  <mark@klomp.org>
662
663         * Makefile.in: Rebuilt.
664         * Makefile.am (interpret.lo): New rule.
665
666 2004-08-05  Andrew Haley  <aph@redhat.com>
667
668         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
669         aside for "GCJLIBS" in directory where jarfiles are loaded.     
670         (JarURLLoader.getClass): New method.
671         (JarURLLoader.toString):  New method.
672         (FileResource.toString):  New method.
673         * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
674         Remove "Duplicate class registration: " bug.
675         (_registerClass): New method.
676         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
677         (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
678         Add debugging.
679         (_Jv_LayoutClass): Use getSuperclass() rather than directly
680         accessing the field.
681         * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
682         (defineClass): Call gcj to JIT-compile a class.
683         (_registerClass): New method.
684         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
685         library name can refer to more than one loaded library, so use a
686         Set of SharedLibHelpers.
687         If a shared library is already loaded, take a copy.
688         (copyFile): New function.
689
690         * testsuite/libjava.compile/compile.exp: Force
691         -findirect-dispatch.
692
693         * java/security/BasicPermission.java: Remove bogus checks.
694
695         * java/lang/System.java (getenv0): New method.
696         * java/lang/natSystem.cc (getenv0): New method.
697
698 2004-05-24  Andrew Haley  <aph@redhat.com>
699
700         * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
701
702 2004-04-20  Bryce McKinlay  <mckinlay@redhat.com>
703
704         * Merged with HEAD as of 20040514. Diff against
705         gcj-abi-2-merge-20040514.
706
707 2004-04-16  Andrew Haley  <aph@redhat.com>
708
709         * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
710         _Jv_LayoutClass.
711         (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
712         (_Jv_PrepareCompiledClass): If we throw an exception during
713         preparation, restore state.
714         (ClassLoader::getClassLoader0): New method.
715
716         * java/lang/natClass.cc (get_alignment_from_class): Moved here
717         from resolve.cc.
718         (ALIGNOF): Use offsetof, not __alignof__.
719         (_Jv_ResolveClassRef): Resolve a reference to a class in a
720         constant pool.
721         (getInterfaces): Emit debug output if interface hasn't been
722         resolved.
723         (initializeClass): Call _Jv_LayoutClass.
724         (_Jv_LinkSymbolTable): Add debugging output.
725         (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
726         found.
727         (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
728         (_Jv_LinkSymbolTable): Pass the real class loader to
729         _Jv_FindClass.
730         (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
731         exception class.
732         (_Jv_LinkSymbolTable): Assert if we find a static field reference
733         to an interpreted class.
734         (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
735         superclass.
736         (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
737         resolve.cc.
738         
739         * java/lang/VMSecurityManager.java: Check for the system class
740         loader as well as loader != null.
741         
742         * java/lang/SecurityManager.java (checkPermission): Remove
743         security check.
744         (checkRead): Likewise.
745         (checkConnect): Likewise.
746
747         * java/lang/ClassLoader.java (loadClass): Include all class
748         loaders in stack trace string.
749         Look for class in "gcjlib.so" in the same directory.
750         (getSystemClassLoader) Use getClassLoader0.
751         (getClassLoader0): New native method.
752
753         * java/lang/Class.h (getSuperclass): New method.
754         (getInterface): New method.
755         (size): Lay out class if needed.
756         (firstMethodIndex): New method.
757         (Jv_ResolveClassRef): New declaration.
758         (_Jv_LinkSymbolTable): New declaration.
759
760         * java/io/ObjectOutputStream.java: Add DEBUG statements
761         everywhere.
762         (dumpElementln): New method.
763         (depth): New field.
764         * java/io/ObjectInputStream.java (MyIOException): new, for
765         debugging.
766         Everywhere: use MyIOException rather than IOException.
767         Indent debugging output to make nesting visible.
768         (currentClassLoader): Make native
769         (callersClassLoader): New field.
770         (depth): New field.
771         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
772         method.
773         
774         (readObject): ENDBLOCKDATA is generated if the class has a write
775         method, not if it has a read method.
776
777         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
778
779         * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
780         getContextClassLoader form the current thread after our own class
781         loader.
782
783         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
784         debugging.
785         (toString): New method.
786
787         * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
788         interfaces array.
789
790         * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
791         a constant pool entry, resolve it now.
792         (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
793         in natClass.cc.
794         Move get_alignment_from_class to natClass.cc.
795
796         * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
797         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
798
799         * defineclass.cc (checkExtends): Don't access superclass field
800         directly.
801
802         * Makefile.in: regenerate.
803
804         * gnu/gcj/util/natDebug.cc: New
805         * gnu/gcj/util/Debug.java: New.
806
807         * Makefile.am (java/io/ObjectInputStream.lo): Use
808         -fno-optimize-sibling-calls.
809
810         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
811         _Jv_LookupInterfaceMethodIdx to calculate the address of a method
812         in an interface.
813         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
814
815 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
816
817         * configure: Regenerate for libtool change.
818
819 2004-11-24  Michael Koch  <konqueror@gmx.de>
820
821         * gnu/java/security/PolicyFile.java: New file.
822         * Makefile.am: Added gnu/java/security/PolicyFile.java.
823         * Makefile.in: Regenerated.
824
825 2004-11-24  Michael Koch  <konqueror@gmx.de>
826
827         * java/lang/Character.java, scripts/unicode-blocks.pl:
828         Reorder "final static" to "static final".
829
830 2004-11-24  Michael Koch  <konqueror@gmx.de>
831
832         * java/util/ResourceBundle.java: Reformatted.
833         (tryBundle): Fixed javadoc.
834
835 2004-11-24  Jeroen Frijters  <jeroen@frijters.net>
836
837         * java/text/MessageFormat.java
838         (formatInternal): Made private.
839
840 2004-11-24  Michael Koch  <konqueror@gmx.de>
841
842         * java/nio/DirectByteBufferImpl.java
843         (ReadWrite.ReadWrite): New constructor.
844         (DirectByteBufferImpl): Likewise.
845         * jni.cc (_Jv_JNI_NewDirectByteBuffer):
846         Use DirectByteBufferImpl.ReadWrite.
847         * Makefile.am:
848         Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
849         * Makefile.in: Rgenerated.
850
851 2004-11-24  Jeroen Frijters  <address@bogus.example.com>
852
853         * java/nio/DirectByteBufferImpl.java
854         (ReadOnly): New inner subclass.
855         (ReadWrite): New inner subclass.
856         (owner): Made final and private.
857         (address): Made final.
858         (DirectByteBufferImpl(int)): New constructor.
859         (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
860         (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
861         (allocate): Modified to instantiate ReadWrite subclass.
862         (finalize): Fixed to only free the buffer, if we own it.
863         (put): Removed read-only check.
864         (slice, duplicate): Modified to instantiate appropriate subclass.
865         (isReadOnly): Removed.
866         * java/nio/MappedByteBufferImpl.java
867         (slice, duplicate): Modified to instantiate appropriate
868         DirectByteBufferImpl subclass.
869
870 2004-11-24  Michael Koch  <konqueror@gmx.de>
871
872         * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
873         * java/nio/DirectByteBufferImpl.java:
874         Moved native methods to java.nio.VMDirectByteBuffer class.
875         * java/nio/MappedByteBufferImpl.java:
876         Use native methods from java.nio.VMDirectByteBuffer class.
877         * java/nio/VMDirectByteBuffer.java: New file,
878         * java/nio/natDirectByteBufferImpl.cc:
879         Moved all methods into java.nio.VMDirectByteBuffer class.
880         * java/nio/channels/spi/AbstractSelectableChannel.java
881         (register): Only re-use valid keys.
882         * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
883         * Makefile.in: Regenerated.
884
885 2004-11-24  Michael Koch  <konqueror@gmx.de>
886
887         * java/nio/DirectByteBufferImpl.java,
888         java/nio/MappedByteBufferImpl.java:
889         Reformatted.
890
891 2004-11-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
892
893         * testsuite/lib/libjava.exp,
894         testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
895
896 2004-11-23  Richard Sandiford  <rsandifo@redhat.com>
897
898         * configure.host: Enable the interpreter for mips*-*-linux*.
899
900 2004-11-23  Michael Koch  <konqueror@gmx.de>
901
902         * java/lang/String.java (rehash): Removed.
903         * java/lang/natString.cc (rehash): Made static.
904         (_Jv_NewStringUtf8Const): Use static rehash method.
905
906 2004-11-23  Michael Koch  <konqueror@gmx.de>
907
908         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
909         include/Makefile.in, testsuite/Makefile.in: Regenerated.
910
911 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
912
913         PR target/18444
914         * configure.ac (threading): Accept 'posix95'.
915         * configure: Regenerate.
916
917 2004-11-22  Michael Koch  <konqueror@gmx.de>
918
919         * gnu/java/nio/SocketChannelImpl.java
920         (read): Made check for blocking un-ambiguous.
921         Removed wrong check for data array length.
922
923 2004-11-21  Michael Koch  <konqueror@gmx.de>
924
925         * gnu/java/nio/SocketChannelImpl.java
926         (read): Only return 0 when no bytes for reading available in
927         non-blocking mode.
928         * java/nio/channels/SocketChannel.java:
929         Added some missing @return tags.
930
931 2004-11-21  Michael Koch  <konqueror@gmx.de>
932
933         * java/beans/PropertyChangeSupport.java
934         (propertyChangeSupportSerializedDataVersion): Made static.
935         * java/beans/VetoableChangeSupport.java
936         (propertyChangeSupportSerializedDataVersion): Likewise.
937
938 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
939
940         * java/net/URLStreamHandler.java
941         (parseURL): Fixed file path canonicalisation.
942
943 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
944
945         * java/net/URLStreamHandler.java
946         (parseURL): Fixed file path canonicalisation.
947
948 2004-11-18  Michael Koch  <konqueror@gmx.de>
949
950         * java/net/URLClassLoader.java: Whitespace cleanup.
951
952 2004-11-18  Robert Schuster <address@bogus.example.com>
953
954         Complete 1.4 support
955         * java/beans/PropertyDescriptor.java:
956         (setReadMethod): New method
957         (setWriteMethod): New method
958         (equals): Implemented (1.4)
959         (checkMethods): operates on arguments now (private)
960
961
962 2004-11-18  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
963
964         * java/net/Inet6Address.java (getHostAddress): Fix textual
965         representation of IPv6 address with embedded zeroes
966         to conform to RFC 2373.
967
968 2004-11-18  Jeroen Frijters  <address@bogus.example.com>
969
970         * java/lang/StackTraceElement.java: Made final.
971         * java/nio/channels/Channels.java: Added private constructor.
972         * java/rmi/Naming.java: Added private constructor.
973         * java/rmi/registry/LocateRegistry.java: Added private constructor.
974         * java/rmi/server/RMIClassLoader.java: Added private constructor.
975         * java/security/KeyPairGeneratorSpi.java
976         (clone): Made protected and simplified implementation.
977         * java/text/DateFormat.java
978         (allFields): Made package accessible.
979         * java/text/DecimalFormat.java
980         (formatInternal): Made private.
981         * java/text/Format.java
982         (formatInternal): Made private.
983         * java/util/logging/Handler.java: Made constructor protected.
984         * java/util/regex/Matcher.java: Made final.
985         * java/util/regex/Pattern.java: Made final.
986         * javax/crypto/CipherInputStream.java
987         (mark): Corrected mark parameter type (from long to int).
988         * javax/crypto/ExemptionMechanism.java
989         (finalize): Added.
990         * javax/crypto/Mac.java
991         (getMacLength): Made final.
992         (clone): Made final.
993         * javax/imageio/ImageIO.java: Added private constructor.
994         * javax/imageio/stream/ImageInputStreamImpl.java
995         (checkClosed): Made final.
996         * javax/net/ssl/SSLPermission.java: Made final.
997         * javax/print/DocFlavor.java
998         (hostEncoding): Added work-around to prevent the field from being
999         a compile time constant.
1000         * javax/print/attribute/AttributeSetUtilities.java: Added private
1001         constructor.
1002         (UnmodifiableDocAttributeSet): Made private.
1003         (UnmodifiablePrintJobAttributeSet): Made private.
1004         (UnmodifiablePrintRequestAttributeSet): Made private.
1005         (UnmodifiablePrintServiceAttributeSet): Made private.
1006         (SynchronizedAttributeSet): Made private.
1007         (SynchronizedDocAttributeSet): Made private.
1008         (SynchronizedPrintJobAttributeSet): Made private.
1009         (SynchronizedPrintRequestAttributeSet): Made private.
1010         (SynchronizedPrintServiceAttributeSet): Made private.
1011         * javax/security/auth/PrivateCredentialPermission.java: Made final.
1012
1013 2004-11-18  Craig Black  <craig.black@aonix.com>
1014
1015         * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
1016
1017 2004-11-18  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
1018
1019         * Makefile.am: Correct friend function declaration.
1020         * Makefile.in: Regenerated.
1021         * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
1022         scope to function names.  Declare functions directly.
1023         * libjava/java/lang/Class.h
1024         (java::lang::Class): Correct friend class declaration.
1025         (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
1026         scope.
1027         * libjava/java/lang/Class.h
1028         (java::lang::Object): Correct friend class declaration.
1029
1030 2004-11-17  David Daney  <ddaney@avtrex.com>
1031
1032         * java/io/BufferedInputStream.java (skip): Return zero on EOF.
1033
1034 2004-11-17  Michael Koch  <konqueror@gmx.de>
1035
1036         * java/net/Socket.java (getPort): Return 0 in error case.
1037
1038 2004-11-17  Michael Koch  <konqueror@gmx.de>
1039
1040         *  java/nio/DirectByteBufferImpl.java
1041         (owner): Updated comment.
1042         (allocate): New method.
1043
1044 2004-11-17  Michael Koch  <konqueror@gmx.de>
1045
1046         * java/net/URL.java (URL): Handle case when argument is null.
1047
1048 2004-11-17  Michael Koch  <konqueror@gmx.de>
1049
1050         * java/beans/Beans.java,
1051         java/beans/PropertyChangeEvent.java,
1052         java/beans/PropertyEditorSupport.java:
1053         Fixed javadocs.
1054
1055 2004-11-17  Michael Koch  <konqueror@gmx.de>
1056
1057         * java/util/Timer.java (DEFAULT_SIZE): Made static.
1058
1059 2004-11-17  Michael Koch  <konqueror@gmx.de>
1060
1061         * java/net/InetAddress.java (getCanonicalHostName):
1062         Support IPv6 addresses.
1063
1064 2004-11-16  Michael Koch  <konqueror@gmx.de>
1065
1066         * java/lang/Object.java: Added javadocs all over (merged from GNU
1067         classpath).
1068
1069 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
1070
1071         * java/security/Security.java (Security): Silence the warning about no
1072         providers found in the no debug case.
1073
1074 2004-11-16  Michael Koch  <konqueror@gmx.de>
1075
1076         * java/net/InetAddress.java
1077         (toString): Merged from GNU classpath.
1078
1079 2004-11-16  Michael Koch  <konqueror@gmx.de>
1080
1081         * java/awt/geom/doc-files/Area-1.png,
1082         java/awt/geom/doc-files/Ellipse-1.png,
1083         java/awt/geom/doc-files/GeneralPath-1.png:
1084         New files.
1085
1086 2004-11-16  Michael Koch  <konqueror@gmx.de>
1087
1088         * java/util/Currency.java (cache): Fix modifier order.
1089
1090 2004-11-16  Michael Koch  <konqueror@gmx.de>
1091
1092         * java/io/BufferedReader.java,
1093         java/io/FileInputStream.java,
1094         java/io/FileOutputStream.java,
1095         java/io/FileWriter.java,
1096         java/io/OutputStreamWriter.java,
1097         java/io/PipedInputStream.java,
1098         java/io/PipedOutputStream.java,
1099         java/io/PipedReader.java,
1100         java/io/PipedWriter.java,
1101         java/io/PrintStream.java,
1102         java/io/PushbackInputStream.java,
1103         java/io/RandomAccessFile.java,
1104         java/io/Reader.java,
1105         java/io/StreamTokenizer.java,
1106         java/io/StringReader.java,
1107         java/net/NetworkInterface.java,
1108         java/net/URLClassLoader.java,
1109         java/nio/ByteOrder.java,
1110         java/nio/channels/Channel.java:
1111         Fixed javadocs all over.
1112
1113 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
1114
1115         * Makefile.am: Add imported files.
1116         * Makefile.in: Regenerate.
1117
1118         2004-10-24  Casey Marshall  <csm@gnu.org>
1119
1120         * javax/security/auth/login/LoginContext.java: Implemented.
1121         * javax/security/auth/login/Configuration.java (getConfig): New method.
1122         * javax/security/auth/spi/LoginModule.java,
1123         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
1124
1125 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
1126
1127         Import/Merge the X.509 certificate code from Classpath.
1128
1129         * Makefile.am: Add imported files.
1130         * Makefile.in: Regenerate.
1131
1132         2004-11-07  Casey Marshall  <csm@gnu.org>
1133
1134         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
1135         priviliged action. Add new algorithms.
1136         * gnu/java/security/provider/X509CertificateFactory.java
1137         (engineGenerateCertificate): Chain exceptions.
1138         (engineGenerateCertificates): Likewise.
1139         (engineGenerateCRL): Likewise.
1140         (engineGenerateCRLs): Likewise.
1141         (engineGenerateCertPath): New methods.
1142         (generateCert): Throw exception if 'inStream' is null.
1143         (generateCRL): Likewise.
1144         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
1145         version from GNU Crypto CVS.
1146         * gnu/java/security/x509/X509CRL.java: Likewise.
1147         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
1148         * gnu/java/security/x509/X509Certificate.java: Likewise.
1149         * java/security/cert/TrustAnchor.java: Call 'toString' and not
1150         toRFC2253.
1151         * gnu/java/security/provider/CollectionCertStoreImpl.java,
1152         * gnu/java/security/provider/EncodedKeyFactory.java,
1153         * gnu/java/security/provider/GnuDHPublicKey.java,
1154         * gnu/java/security/provider/GnuRSAPrivateKey.java,
1155         * gnu/java/security/provider/GnuRSAPublicKey.java,
1156         * gnu/java/security/provider/MD2withRSA.java,
1157         * gnu/java/security/provider/MD4withRSA.java,
1158         * gnu/java/security/provider/MD5withRSA.java,
1159         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
1160         * gnu/java/security/provider/RSA.java,
1161         * gnu/java/security/provider/RSAKeyFactory.java,
1162         * gnu/java/security/provider/SHA1withRSA.java,
1163         * gnu/java/security/x509/GnuPKIExtension.java,
1164         * gnu/java/security/x509/PolicyNodeImpl.java,
1165         * gnu/java/security/x509/Util.java,
1166         * gnu/java/security/x509/X509CRLSelectorImpl.java,
1167         * gnu/java/security/x509/X509CertPath.java,
1168         * gnu/java/security/x509/X509CertSelectorImpl.java,
1169         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
1170         * gnu/java/security/x509/ext/BasicConstraints.java,
1171         * gnu/java/security/x509/ext/CRLNumber.java,
1172         * gnu/java/security/x509/ext/CertificatePolicies.java,
1173         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
1174         * gnu/java/security/x509/ext/Extension.java,
1175         * gnu/java/security/x509/ext/GeneralNames.java,
1176         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
1177         * gnu/java/security/x509/ext/KeyUsage.java,
1178         * gnu/java/security/x509/ext/PolicyConstraint.java,
1179         * gnu/java/security/x509/ext/PolicyMappings.java,
1180         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
1181         * gnu/java/security/x509/ext/ReasonCode.java,
1182         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
1183         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
1184
1185         2004-11-07  Casey Marshall  <csm@gnu.org>
1186
1187         * gnu/java/security/x509/X509CRL.java:
1188         Missed import statements in previous checkin.
1189
1190         2004-11-07  Casey Marshall  <csm@gnu.org>
1191
1192         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
1193         to 'X509CertificateImpl' from previous checkin.
1194
1195 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
1196
1197         PR other/14264
1198         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
1199
1200 2004-11-11  Casey Marshall  <csm@gnu.org>
1201
1202         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
1203         channel is open.
1204         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
1205         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
1206
1207 2004-11-11  Robert Schuster <thebohemian@gmx.net>
1208
1209         Fixed regression:
1210         * gnu/java/beans/IntrospectionIncubator.java:
1211         (addMethod): Corrected classification of normal and property methods.
1212         (capitalize): Added documentation.
1213         (DoubleKey): [class] Added documentation.
1214
1215 2004-11-09  Tom Tromey  <tromey@redhat.com>
1216
1217         * include/jni.h: Added FIXME.
1218
1219 2004-11-08  Tom Tromey  <tromey@redhat.com>
1220
1221         * java/util/GregorianCalendar.java: Removed unused imports.
1222         * java/util/Vector.java: Removed unused import.
1223
1224 2004-11-07  Michael Koch  <konqueror@gmx.de>
1225
1226         * java/lang/Process.java:
1227         Import cleanups.
1228
1229 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
1230
1231         * java/util/zip/ZipEntry.java
1232         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
1233
1234 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
1235
1236         Fixes bug #10908
1237         * gnu/java/beans/IntrospectionIncubator.java:
1238         (addMethod): static methods are discarded now, too.
1239
1240 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
1241
1242         * java/util/GregorianCalendar.java
1243         Added/amended documentation.
1244
1245 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
1246
1247         * java/util/Collections.java
1248         Added documentation.
1249         * java/util/SortedMap.java
1250         Clarified some method examples.
1251         * java/util/SortedSet.java
1252         Clarified some method examples.
1253
1254 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
1255
1256         * java/util/Currency.java
1257         Documented variables and methods more fully.
1258         Caches the currency instances, so that a request
1259         for a locale, l, only ever returns the same
1260         instance (i.e. successive calls to getInstance(l)
1261         are reference equivalent (==)).
1262
1263 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1264
1265         * java/util/Date.java
1266         Added missing documentation.
1267
1268 2004-11-06  Michael Koch  <konqueror@gmx.de>
1269
1270         * java/util/zip/CheckedInputStream.java,
1271         java/util/zip/InflaterInputStream.java,
1272         java/util/zip/ZipFile.java,
1273         java/util/zip/ZipInputStream.java:
1274         Import cleanups.
1275
1276 2004-11-06  Tom Tromey  <tromey@redhat.com>
1277
1278         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
1279         package-private.
1280         (connections): Likewise.
1281         (scavenger): Likewise.
1282         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
1283         package-private.
1284         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
1285         package-private.
1286         (ptr): Likewise.
1287         * gnu/classpath/ServiceFactory.java (log): Now package-private.
1288
1289 2004-11-06  Tom Tromey  <tromey@redhat.com>
1290
1291         * javax/naming/directory/BasicAttributes.java (attributes): Now
1292         package-private.
1293         * javax/imageio/spi/ServiceRegistry.java (categories): Now
1294         package-private.
1295
1296 2004-11-06  Tom Tromey  <tromey@redhat.com>
1297
1298         * java/net/URLClassLoader.java (URLClassLoader): Now
1299         package-private.
1300         * java/nio/charset/CoderResult.java (CoderResult): Now
1301         package-private.
1302         (get): Likewise.
1303         (Cache): Likewise.  Don't synchronize on `this'.
1304         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
1305         package-private.
1306         * java/util/TimeZone.java (timezones): Now package-private.
1307
1308 2004-11-06  Tom Tromey  <tromey@redhat.com>
1309
1310         * java/security/Permissions.java (perms): Now package-private.
1311         * java/security/UnresolvedPermission.java (permissions): Now
1312         package-private.
1313
1314 2004-11-06  Tom Tromey  <tromey@redhat.com>
1315
1316         * java/io/FilePermission.java: Reindented.
1317
1318 2004-11-06  Tom Tromey  <tromey@redhat.com>
1319
1320         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
1321         package-private.
1322         (setBlockDataMode): Likewise.
1323
1324 2004-11-06  Tom Tromey  <tromey@redhat.com>
1325
1326         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
1327         package-private.
1328         (Encoder): Likewise.
1329         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
1330         (Encoder): Likewise.
1331         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
1332         package-private.
1333         (Encoder): Likewise.
1334
1335 2004-11-06  Mark Wielaard  <mark@klomp.org>
1336
1337         * Makefile.am: Add new javax.imageio files.
1338         * Makefile.in: Regenerated.
1339
1340 2004-11-06  Michael Koch  <konqueror@gmx.de>
1341
1342         * javax/imageio/event/IIOReadProgressListener.java,
1343         javax/imageio/event/IIOReadUpdateListener.java,
1344         javax/imageio/event/IIOReadWarningListener.java,
1345         javax/imageio/event/IIOWriteProgressListener.java,
1346         javax/imageio/event/IIOWriteWarningListener.java,
1347         javax/imageio/metadata/IIOMetadataFormat.java,
1348         javax/imageio/stream/FileCacheImageInputStream.java,
1349         javax/imageio/stream/FileCacheImageOutputStream.java,
1350         javax/imageio/stream/ImageInputStreamImpl.java:
1351         Import cleanup.
1352         * javax/imageio/metadata/package.html: New file.
1353
1354 2004-11-06  Michael Koch  <konqueror@gmx.de>
1355
1356         * javax/imageio/spi/ImageReaderSpi.java
1357         (isOwnReader): New method.
1358         * javax/imageio/spi/ImageWriterSpi.java
1359         (isOwnWriter): Likewise.
1360
1361 2004-11-06  Michael Koch  <konqueror@gmx.de>
1362
1363         * javax/imageio/ImageWriter.java
1364         (convertImageMetadata): New abstract method.
1365         (convertStreamMetadata): Likewise.
1366         (write): Likewise.
1367         * javax/imageio/stream/FileCacheImageInputStream.java
1368         (close): Fixed setting of stream to null.
1369         (checkStreamClosed): Throws IOException.
1370
1371 2004-11-06  Michael Koch  <konqueror@gmx.de>
1372
1373         * javax/imageio/stream/FileCacheImageInputStream.java,
1374         javax/imageio/stream/FileCacheImageOutputStream.java,
1375         javax/imageio/stream/FileImageInputStream.java,
1376         javax/imageio/stream/FileImageOutputStream.java,
1377         javax/imageio/stream/MemoryCacheImageInputStream.java,
1378         javax/imageio/stream/MemoryCacheImageOutputStream.java:
1379         New files.
1380
1381 2004-11-06  Michael Koch  <konqueror@gmx.de>
1382
1383         * javax/imageio/metadata/IIOInvalidTreeException.java,
1384         javax/imageio/metadata/IIOMetadataFormatImpl.java,
1385         javax/imageio/metadata/IIOMetadataNode.java:
1386         New stub files.
1387
1388 2004-11-06  Michael Koch  <konqueror@gmx.de>
1389
1390         * javax/imageio/stream/ImageInputStreamImpl.java,
1391         javax/imageio/stream/ImageOutputStreamImpl.java:
1392         New files.
1393
1394 2004-11-06  Michael Koch  <konqueror@gmx.de>
1395
1396         * javax/imageio/ImageIO.java:
1397         Added much new methods.
1398
1399 2004-11-06  Michael Koch  <konqueror@gmx.de>
1400
1401         * javax/imageio/ImageReader.java,
1402         javax/imageio/ImageWriter.java,
1403         javax/imageio/spi/ImageWriterSpi.java:
1404         Add SOME new methods.
1405
1406 2004-11-06  Michael Koch  <konqueror@gmx.de>
1407
1408         * javax/imageio/IIOParam.java,
1409         javax/imageio/ImageReadParam.java,
1410         javax/imageio/ImageReader.java,
1411         javax/imageio/ImageWriter.java:
1412         Mostly implemented.
1413         * javax/imageio/spi/ImageReaderSpi.java,
1414         javax/imageio/spi/ImageWriterSpi.java:
1415         New files.
1416
1417 2004-11-06  Michael Koch  <konqueror@gmx.de>
1418
1419         * javax/imageio/ImageWriteParam.java,
1420         javax/imageio/metadata/IIOMetadataFormat.java:
1421         Implemented.
1422
1423 2004-11-06  Michael Koch  <konqueror@gmx.de>
1424
1425         * javax/imageio/ImageTypeSpecifier.java:
1426         Mostly implemented.
1427
1428 2004-11-06  Michael Koch  <konqueror@gmx.de>
1429
1430         * javax/imageio/metadata/IIOMetadata.java:
1431         Mostly implemented.
1432
1433 2004-11-06  Michael Koch  <konqueror@gmx.de>
1434
1435         * javax/imageio/IIOImage.java,
1436         javax/imageio/ImageReadParam.java,
1437         javax/imageio/metadata/IIOMetadataController.java,
1438         javax/imageio/metadata/IIOMetadataFormat.java:
1439         New files.
1440         * javax/imageio/stream/ImageOutputStream.java:
1441         Implemented.
1442
1443 2004-11-06  Michael Koch  <konqueror@gmx.de>
1444
1445         * javax/imageio/IIOParam.java,
1446         javax/imageio/IIOParamController.java,
1447         javax/imageio/ImageTypeSpecifier.java,
1448         javax/imageio/ImageWriteParam.java,
1449         javax/imageio/metadata/IIOMetadata.java:
1450         New files.
1451         * javax/imageio/ImageTranscoder.java:
1452         Implemented.
1453
1454 2004-11-06  Michael Koch  <konqueror@gmx.de>
1455
1456         * javax/imageio/spi/ImageInputStreamSpi.java,
1457         javax/imageio/spi/ImageOutputStreamSpi.java:
1458         Reworked import startments.
1459         * javax/imageio/spi/ServiceRegistry.java:
1460         Reworked import startments. Fixed XHTML in javadocs.
1461         (ServiceRegistry): Added @param tag to javadoc.
1462         * javax/imageio/stream/ImageInputStream.java
1463         (mark): Doesn't throws IOException;
1464
1465 2004-11-06  Michael Koch  <konqueror@gmx.de>
1466
1467         * javax/imageio/ImageIO.java:
1468         New file.
1469
1470 2004-11-06  Michael Koch  <konqueror@gmx.de>
1471
1472         * javax/imageio/spi/IIORegistry.java
1473         (static): Don't register ImageReaderSpi.class and
1474         ImageWriterSpi.class yet.
1475
1476 2004-11-06  Michael Koch  <konqueror@gmx.de>
1477
1478         * javax/imageio/spi/IIORegistry.java:
1479         New file.
1480
1481 2004-11-06  Noa Resare  <noa@resare.com>
1482
1483         * java/net/Socket.java (getPort): Return 0 instead of -1 on
1484         unconnected sockets.
1485
1486 2004-11-06  Michael Koch  <konqueror@gmx.de>
1487
1488         * java/lang/StringBuffer.java,
1489         java/lang/Throwable.java,
1490         java/security/spec/DSAParameterSpec.java,
1491         java/util/zip/ZipEntry.java,
1492         java/util/zip/ZipFile.java,
1493         java/util/zip/ZipInputStream.java,
1494         java/util/zip/ZipOutputStream.java:
1495         Removed redundant and reordered modifiers.
1496
1497 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
1498
1499         * java/io/Vector.java
1500         (writeObject): New function to serialized output thread safe.
1501
1502         * java/io/ObjectOutputStream.java
1503         (writeObject): Move the assignment of the class handle to after
1504         the assignment of class descriptor handle.
1505
1506 2004-11-06  Robert Schuster <thebohemian@gmx.net>
1507
1508         Fixes documentation and indentation
1509         * java/beans/PropertyEditorSupport.java:
1510         reworked initial API doc
1511         (value): changed name from val
1512
1513 2004-11-06  Robert Schuster <thebohemian@gmx.net>
1514
1515         Updates to 1.5
1516         * java/beans/PropertyEditorSupport.java
1517         (PropertyEditorSupport()): Changed modifier to public
1518         (PropertyEditorSupport(Object): Changed modifier to public
1519         (setSource): New method
1520         (getSource): New method
1521
1522 2004-11-06  Robert Schuster <thebohemian@gmx.net>
1523
1524         Fixes bug #10799
1525         * java/beans/PropertyEditorSupport.java
1526         (setValue): Fire property change event
1527
1528 2004-11-03  Tom Tromey  <tromey@redhat.com>
1529
1530         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
1531         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
1532         returns jobjectArray.
1533         (_Jv_JNIEnv::NewObjectArray): Likewise.
1534
1535 2004-11-01  Tom Tromey  <tromey@redhat.com>
1536
1537         * verify.cc (state::check_no_uninitialized_objects): Removed.
1538         (push_jump): Updated.
1539         (push_exception_jump): Likewise.
1540         (handle_ret_insn): Likewise.
1541         (handle_jsr_insn): Likewise.
1542
1543 2004-10-30  Mark Wielaard  <mark@klomp.org>
1544
1545         PR libgcj/18234
1546         * java/lang/Runtime.java (static): Call init().
1547         (Runtime): Remove call to init().
1548         (init): Make static.
1549
1550 2004-10-28  David Daney  <ddaney@avtrex.com>
1551
1552         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
1553         * Makefile.am: Build it.
1554         * Makefile.in: Regenerate.
1555
1556 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1557
1558         PR libgcj/18104
1559         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
1560         colon.
1561         * Makefile.in: Regenerate.
1562         * configure: Regenerate.
1563         * configure.ac (CLASSPATH_SEPARATOR): Define.
1564         * gcj/Makefile.in: Regenerate.
1565         * include/Makefile.in: Regenerate.
1566         * testsuite/Makefile.in: Regenerate.
1567         * testsuite/lib/libjava.exp (libjava_arguments): Fix
1568         CLASSPATH separator handling for Windows.
1569
1570 2004-10-26  Michael Koch  <konqueror@gmx.de>
1571
1572         * gnu/java/net/protocol/http/Connection.java
1573         (getOutputStream): Implicitely switch to POST method.
1574
1575 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
1576
1577         * libjava/java/lang/Class.h
1578         (java::lang::Class): Correct friend class declaration.
1579
1580 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
1581
1582         * Makefile.am (DARWIN_CRT_SRC): New.
1583         (libgcj_la_SOURCES): Use it.
1584         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
1585         * darwin.cc: New file.
1586         * include/jvm.h (_Jv_RegisterClasses): Constify.
1587         (_Jv_RegisterClasses_Counted): New prototype.
1588         * java/lang/Class.h: Include stddef.h.  
1589         (_Jv_RegisterClasses): Constify.
1590         (_Jv_RegisterClasses_Counted): New prototype.
1591         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
1592         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
1593         (_Jv_RegisterClasses_Counted): New function.
1594         * configure: Regenerate.
1595         * Makefile.in: Regenerate.
1596         * gcj/Makefile.in: Regenerate.
1597         * include/Makefile.in: Regenerate.
1598         * testsuite/Makefile.in: Regenerate.
1599
1600 2004-10-25  Tom Tromey  <tromey@redhat.com>
1601
1602         * java/util/ResourceBundle.java (tryBundle): Use
1603         Class.isAssignableFrom rather than catching ClassCastException.
1604
1605 2004-10-25  Tom Tromey  <tromey@redhat.com>
1606
1607         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
1608         initialize `iter'.
1609         * gnu/java/text/SentenceBreakIterator.java
1610         (SentenceBreakIterator): Don't initialize `iter'.
1611         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
1612         initialize `iter'.
1613         * gnu/java/text/CharacterBreakIterator.java
1614         (CharacterBreakIterator): Don't initialize `iter'.
1615         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
1616         constructor.
1617         * java/text/BreakIterator.java: Updated documentation.
1618
1619 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
1620
1621         PR other/18138
1622         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
1623
1624 2004-10-23  Michael Koch  <konqueror@gmx.de>
1625
1626         * javax/print/DocFlavor.java,
1627         javax/print/attribute/standard/JobStateReason.java,
1628         javax/print/attribute/standard/MultipleDocumentHandling.java:
1629         Added missing constants.
1630
1631 2004-10-22  Tom Tromey  <tromey@redhat.com>
1632
1633         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
1634         typo.
1635
1636 2004-10-22  Michael Koch  <konqueror@gmx.de>
1637
1638         PR libjava/14009
1639         * gnu/java/net/protocol/http/Connection.java
1640         (sendRequest): Handle case when url.getFile() returns an empty string.
1641
1642 2004-10-22  Michael Koch  <konqueror@gmx.de>
1643
1644         * java/lang/Math.java,
1645         java/lang/StackTraceElement.java,
1646         java/nio/Buffer.java,
1647         java/nio/ByteBuffer.java,
1648         java/nio/CharBuffer.java,
1649         java/nio/DoubleBuffer.java,
1650         java/nio/FloatBuffer.java,
1651         java/nio/IntBuffer.java,
1652         java/nio/LongBuffer.java,
1653         java/nio/ShortBuffer.java,
1654         java/nio/charset/Charset.java,
1655         java/rmi/server/RMIClassLoader.java,
1656         java/rmi/server/RMISocketFactory.java,
1657         java/security/Policy.java,
1658         java/text/ChoiceFormat.java,
1659         java/text/CollationElementIterator.java,
1660         java/text/DateFormat.java,
1661         java/text/DecimalFormat.java,
1662         java/text/DecimalFormatSymbols.java,
1663         java/text/MessageFormat.java,
1664         java/text/NumberFormat.java,
1665         java/text/RuleBasedCollator.java,
1666         java/text/SimpleDateFormat.java,
1667         java/util/BitSet.java,
1668         java/util/Calendar.java,
1669         java/util/Collections.java,
1670         java/util/IdentityHashMap.java,
1671         java/util/Locale.java,
1672         java/util/TreeMap.java,
1673         java/util/logging/LogRecord.java,
1674         java/util/logging/XMLFormatter.java,
1675         java/util/prefs/AbstractPreferences.java,
1676         java/util/prefs/Preferences.java,
1677         javax/crypto/interfaces/DHPrivateKey.java,
1678         javax/crypto/interfaces/DHPublicKey.java,
1679         javax/crypto/interfaces/PBEKey.java,
1680         javax/net/ssl/HandshakeCompletedEvent.java,
1681         javax/security/auth/Subject.java:
1682         Removed redundant and reordered modifiers.
1683
1684 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
1685
1686         * gnu/java/net/natPlainSocketImplPosix.cc
1687         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
1688         with 'int *' argument instead of 'long *'.
1689
1690 2004-10-21  Michael Koch  <konqueror@gmx.de>
1691
1692         * java/net/NetworkInterface.java,
1693         java/text/Format.java,
1694         javax/security/auth/x500/X500Principal.java,
1695         javax/security/auth/x500/X500PrivateCredential.java,
1696         javax/security/cert/X509CertBridge.java,
1697         javax/security/sasl/Sasl.java,
1698         javax/sql/XAConnection.java:
1699         Import cleanup.
1700
1701 2004-10-21  Michael Koch  <konqueror@gmx.de>
1702
1703         * javax/net/ssl/HandshakeCompletedEvent.java,
1704         javax/net/ssl/KeyManagerFactory.java,
1705         javax/net/ssl/SSLContext.java,
1706         javax/net/ssl/SSLServerSocketFactory.java,
1707         javax/net/ssl/SSLSession.java,
1708         javax/net/ssl/SSLSocketFactory.java,
1709         javax/net/ssl/TrustManagerFactory.java:
1710         Import cleanup.
1711
1712 2004-10-21  Michael Koch  <konqueror@gmx.de>
1713
1714         * javax/naming/directory/BasicAttribute.java,
1715         javax/naming/directory/BasicAttributes.java,
1716         javax/naming/directory/InitialDirContext.java,
1717         javax/naming/event/NamingEvent.java,
1718         javax/naming/ldap/ControlFactory.java,
1719         javax/naming/ldap/ExtendedRequest.java,
1720         javax/naming/ldap/InitialLdapContext.java,
1721         javax/naming/ldap/LdapReferralException.java,
1722         javax/naming/spi/DirObjectFactory.java,
1723         javax/naming/spi/DirStateFactory.java,
1724         javax/naming/spi/DirectoryManager.java,
1725         javax/naming/spi/InitialContextFactory.java,
1726         javax/naming/spi/InitialContextFactoryBuilder.java,
1727         javax/naming/spi/NamingManager.java,
1728         javax/naming/spi/ObjectFactory.java,
1729         javax/naming/spi/ObjectFactoryBuilder.java,
1730         javax/naming/spi/StateFactory.java:
1731         Import cleanup.
1732
1733 2004-10-21  Michael Koch  <konqueror@gmx.de>
1734
1735         * javax/crypto/Cipher.java,
1736         javax/crypto/EncryptedPrivateKeyInfo.java,
1737         javax/crypto/ExemptionMechanism.java,
1738         javax/crypto/KeyAgreement.java,
1739         javax/crypto/KeyGenerator.java,
1740         javax/crypto/Mac.java,
1741         javax/crypto/SecretKeyFactory.java,
1742         javax/crypto/SecretKeyFactorySpi.java,
1743         javax/crypto/spec/SecretKeySpec.java:
1744         Import cleanup.
1745
1746 2004-10-21  Michael Koch  <konqueror@gmx.de>
1747
1748         * java/security/AlgorithmParameterGenerator.java,
1749         java/security/AlgorithmParameters.java,
1750         java/security/AlgorithmParametersSpi.java,
1751         java/security/AllPermission.java,
1752         java/security/BasicPermission.java,
1753         java/security/Certificate.java,
1754         java/security/CodeSource.java,
1755         java/security/DigestInputStream.java,
1756         java/security/DigestOutputStream.java,
1757         java/security/GuardedObject.java,
1758         java/security/KeyFactory.java,
1759         java/security/KeyFactorySpi.java,
1760         java/security/KeyPairGenerator.java,
1761         java/security/KeyStore.java,
1762         java/security/KeyStoreSpi.java,
1763         java/security/Permissions.java,
1764         java/security/Security.java,
1765         java/security/Signature.java,
1766         java/security/UnresolvedPermission.java,
1767         java/security/cert/CertPathBuilder.java,
1768         java/security/cert/CertPathValidator.java,
1769         java/security/cert/CertStore.java,
1770         java/security/cert/Certificate.java,
1771         java/security/cert/CertificateFactory.java,
1772         java/security/cert/PolicyQualifierInfo.java,
1773         java/security/cert/TrustAnchor.java,
1774         java/security/cert/X509CRL.java,
1775         java/security/cert/X509CRLSelector.java,
1776         java/security/cert/X509CertSelector.java:
1777         Import cleanup.
1778
1779 2004-10-21  Michael Koch  <konqueror@gmx.de>
1780
1781         * java/rmi/MarshalledObject.java,
1782         java/rmi/Naming.java,
1783         java/rmi/activation/Activatable.java,
1784         java/rmi/activation/ActivationGroup.java,
1785         java/rmi/activation/ActivationGroupDesc.java,
1786         java/rmi/activation/ActivationInstantiator.java,
1787         java/rmi/activation/ActivationMonitor.java,
1788         java/rmi/activation/ActivationSystem.java,
1789         java/rmi/activation/Activator.java,
1790         java/rmi/registry/LocateRegistry.java,
1791         java/rmi/registry/Registry.java,
1792         java/rmi/server/LogStream.java,
1793         java/rmi/server/ObjID.java,
1794         java/rmi/server/RMIClientSocketFactory.java,
1795         java/rmi/server/RMIServerSocketFactory.java,
1796         java/rmi/server/RMISocketFactory.java,
1797         java/rmi/server/RemoteCall.java,
1798         java/rmi/server/RemoteServer.java,
1799         java/rmi/server/ServerRef.java,
1800         java/rmi/server/UID.java,
1801         java/rmi/server/UnicastRemoteObject.java:
1802         Import cleanup.
1803
1804 2004-10-21  Tom Tromey  <tromey@redhat.com>
1805
1806         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
1807         exception if we hit EOF of `in'.
1808         (read): Handle case where inflating returns -1.
1809
1810 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
1811
1812         * gnu/java/nio/channels/natFileChannelPosix.cc
1813         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
1814         argument instead of 'long *'.
1815
1816 2004-10-21  Tom Tromey  <tromey@redhat.com>
1817
1818         * java/util/ResourceBundle.java (tryBundle): Also ignore
1819         ClassCastException.
1820
1821 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
1822
1823         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
1824         for all sh*-*-linux* targets.
1825         * configure: Regenerate.
1826         * include/sh-signal.h: New file.
1827
1828 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
1829
1830         * java/lang/ieeefp.h: Add m32r support.
1831
1832 2004-10-20  Andreas Schwab  <schwab@suse.de>
1833
1834         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
1835         to uaddr, not int.
1836         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
1837         Likewise.
1838
1839 2004-10-20  Michael Koch  <konqueror@gmx.de>
1840
1841         * javax/print/attribute/standard/ColorSupported.java,
1842         javax/print/attribute/standard/Compression.java,
1843         javax/print/attribute/standard/Copies.java,
1844         javax/print/attribute/standard/CopiesSupported.java,
1845         javax/print/attribute/standard/DateTimeAtCompleted.java,
1846         javax/print/attribute/standard/DateTimeAtCreation.java,
1847         javax/print/attribute/standard/DateTimeAtProcessing.java,
1848         javax/print/attribute/standard/DocumentName.java,
1849         javax/print/attribute/standard/Fidelity.java,
1850         javax/print/attribute/standard/Finishings.java,
1851         javax/print/attribute/standard/JobHoldUntil.java,
1852         javax/print/attribute/standard/JobImpressions.java,
1853         javax/print/attribute/standard/JobImpressionsCompleted.java,
1854         javax/print/attribute/standard/JobImpressionsSupported.java,
1855         javax/print/attribute/standard/JobKOctets.java,
1856         javax/print/attribute/standard/JobKOctetsProcessed.java,
1857         javax/print/attribute/standard/JobKOctetsSupported.java,
1858         javax/print/attribute/standard/JobMediaSheets.java,
1859         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
1860         javax/print/attribute/standard/JobMediaSheetsSupported.java,
1861         javax/print/attribute/standard/JobMessageFromOperator.java,
1862         javax/print/attribute/standard/JobName.java,
1863         javax/print/attribute/standard/JobOriginatingUserName.java,
1864         javax/print/attribute/standard/JobPriority.java,
1865         javax/print/attribute/standard/JobPrioritySupported.java,
1866         javax/print/attribute/standard/JobSheets.java,
1867         javax/print/attribute/standard/JobState.java,
1868         javax/print/attribute/standard/JobStateReason.java,
1869         javax/print/attribute/standard/JobStateReasons.java,
1870         javax/print/attribute/standard/Media.java,
1871         javax/print/attribute/standard/MultipleDocumentHandling.java,
1872         javax/print/attribute/standard/NumberOfDocuments.java,
1873         javax/print/attribute/standard/NumberOfInterveningJobs.java,
1874         javax/print/attribute/standard/NumberUp.java,
1875         javax/print/attribute/standard/NumberUpSupported.java,
1876         javax/print/attribute/standard/OrientationRequested.java,
1877         javax/print/attribute/standard/OutputDeviceAssigned.java,
1878         javax/print/attribute/standard/PDLOverrideSupported.java,
1879         javax/print/attribute/standard/PageRanges.java,
1880         javax/print/attribute/standard/PagesPerMinute.java,
1881         javax/print/attribute/standard/PagesPerMinuteColor.java,
1882         javax/print/attribute/standard/PrintQuality.java,
1883         javax/print/attribute/standard/PrinterInfo.java,
1884         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
1885         javax/print/attribute/standard/PrinterLocation.java,
1886         javax/print/attribute/standard/PrinterMakeAndModel.java,
1887         javax/print/attribute/standard/PrinterMessageFromOperator.java,
1888         javax/print/attribute/standard/PrinterMoreInfo.java,
1889         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
1890         javax/print/attribute/standard/PrinterName.java,
1891         javax/print/attribute/standard/PrinterStateReason.java,
1892         javax/print/attribute/standard/PrinterStateReasons.java,
1893         javax/print/attribute/standard/PrinterURI.java,
1894         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
1895         javax/print/attribute/standard/RequestingUserName.java:
1896         Reorganized imports and removed redundant final modifiers.
1897
1898 2004-10-20  Michael Koch  <konqueror@gmx.de>
1899
1900         * javax/security/sasl/SaslClient.java,
1901         javax/security/sasl/SaslClientFactory.java,
1902         javax/security/sasl/SaslException.java,
1903         javax/security/sasl/SaslServer.java,
1904         javax/security/sasl/SaslServerFactory.java:
1905         Remvoed CVS tags.
1906
1907 2004-10-20  Michael Koch  <konqueror@gmx.de>
1908
1909         * javax/security/auth/login/NullConfiguration.java,
1910         javax/security/auth/x500/X500Principal.java,
1911         javax/security/cert/X509Certificate.java,
1912         javax/security/sasl/AuthenticationException.java,
1913         javax/security/sasl/AuthorizeCallback.java,
1914         javax/security/sasl/RealmCallback.java,
1915         javax/security/sasl/RealmChoiceCallback.java,
1916         javax/security/sasl/Sasl.java,
1917         javax/security/sasl/SaslClient.java,
1918         javax/security/sasl/SaslClientFactory.java,
1919         javax/security/sasl/SaslException.java,
1920         javax/security/sasl/SaslServer.java,
1921         javax/security/sasl/SaslServerFactory.java:
1922         Cleaned up import statements and copyright notices.
1923
1924 2004-10-20  Michael Koch  <konqueror@gmx.de>
1925
1926         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
1927
1928 2004-10-20  Michael Koch  <konqueror@gmx.de>
1929
1930         * java/sql/Timestamp.java,
1931         java/text/AttributedCharacterIterator.java,
1932         java/text/AttributedString.java,
1933         java/util/zip/CheckedOutputStream.java,
1934         java/util/zip/DeflaterOutputStream.java,
1935         java/util/zip/ZipFile.java,
1936         javax/crypto/Cipher.java,
1937         javax/crypto/ExemptionMechanismException.java,
1938         javax/crypto/SecretKey.java,
1939         javax/crypto/SecretKeyFactory.java,
1940         javax/naming/directory/ModificationItem.java,
1941         javax/naming/directory/SearchControls.java,
1942         javax/naming/event/NamingListener.java,
1943         javax/naming/ldap/Control.java,
1944         javax/naming/ldap/ExtendedResponse.java,
1945         javax/net/ssl/SSLSocketFactory.java:
1946         Reorganized imports and fixed copyright headers.
1947
1948 2004-10-20  Michael Koch  <konqueror@gmx.de>
1949
1950         * java/util/logging/ConsoleHandler.java,
1951         java/util/logging/ErrorManager.java,
1952         java/util/logging/FileHandler.java,
1953         java/util/logging/Filter.java,
1954         java/util/logging/Formatter.java,
1955         java/util/logging/Handler.java,
1956         java/util/logging/Level.java,
1957         java/util/logging/LogManager.java,
1958         java/util/logging/LogRecord.java,
1959         java/util/logging/Logger.java,
1960         java/util/logging/LoggingPermission.java,
1961         java/util/logging/MemoryHandler.java,
1962         java/util/logging/SimpleFormatter.java,
1963         java/util/logging/SocketHandler.java,
1964         java/util/logging/StreamHandler.java,
1965         java/util/logging/XMLFormatter.java:
1966         Standardized copyrigth header.
1967
1968 2004-10-20  Michael Koch  <konqueror@gmx.de>
1969
1970         * java/security/AlgorithmParameterGenerator.java,
1971         java/security/AlgorithmParameters.java,
1972         java/security/DigestInputStream.java,
1973         java/security/Identity.java,
1974         java/security/KeyFactory.java,
1975         java/security/KeyPairGenerator.java,
1976         java/security/KeyStore.java,
1977         java/security/MessageDigest.java,
1978         java/security/MessageDigestSpi.java,
1979         java/security/Policy.java,
1980         java/security/SecureRandom.java,
1981         java/security/Security.java,
1982         java/security/Signature.java,
1983         java/security/SignatureSpi.java,
1984         java/security/cert/CertPathBuilder.java,
1985         java/security/cert/CertPathValidator.java,
1986         java/security/cert/CertStore.java,
1987         java/security/cert/Certificate.java,
1988         java/security/cert/CertificateFactory.java,
1989         java/security/cert/PolicyQualifierInfo.java,
1990         java/security/cert/TrustAnchor.java,
1991         java/security/cert/X509CRL.java,
1992         java/security/cert/X509CRLEntry.java,
1993         java/security/cert/X509Certificate.java,
1994         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
1995         Import statements reorganized, some little formatting issues,
1996         used java-style array declarations, added comments in empty catch
1997         blocks.
1998
1999 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
2000
2001         * java/security/Security.java
2002         (static): Use AccessController.doPrivileged to get system property.
2003
2004 2004-10-18  Sven de Marothy  <sven@physto.se>
2005
2006         * java/nio/ByteBufferHelper.java
2007         (putDouble): Use Double.toRawLongBits instead.
2008
2009 2004-10-18  Mark Wielaard  <mark@klomp.org>
2010         Andrew Haley  <aph@redhat.com>
2011
2012         * testsuite/libjava.lang/ExtraClassLoader.java: New.
2013
2014 2004-10-18  Andrew Haley  <aph@redhat.com>
2015
2016         PR java/18036:
2017         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
2018         and correct logic used to find interpreter.
2019         
2020 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
2021
2022         * java/util/logging/LogManager.java
2023         (findAncestor): Fixed IndexOutOfBoundsException.
2024
2025 2004-10-18  Michael Koch  <konqueror@gmx.de>
2026
2027         * java/io/BufferedInputStream.java: Fixed @author tag.
2028         (read): Simplified expression.
2029         (read): Merged javadoc a bit more.
2030         (read): Renamed 'remain' to 'totalBytesRead'.
2031         * java/io/DataInputStream.java,
2032         java/io/DataOutputStream.java,
2033         java/io/ObjectInputStream.java,
2034         java/io/ObjectOutputStream.java:
2035         Reworked modifier order.
2036
2037 2004-10-18  Michael Koch  <konqueror@gmx.de>
2038
2039         * java/net/Inet4Address.java: Merged file header and javadocs.
2040         * java/net/Inet6Address.java: Likewise.
2041         * java/net/InetAddress.java
2042         (getCanonicalHostName): Create Inet4Address object instead of
2043         InetAddress and add comment regarding IPv6.
2044         (toString): Simplified.
2045
2046 2004-10-18  Michael Koch  <konqueror@gmx.de>
2047
2048         * gnu/java/net/protocol/http/Connection.java,
2049         java/nio/MappedByteBufferImpl.java,
2050         java/text/RuleBasedCollator.java,
2051         java/util/ResourceBundle.java:
2052         Reworked import statements.
2053
2054 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
2055
2056         * java/security/IdentityScope.java
2057         (systemScope): Removed useless initializer.
2058         * java/security/Policy.java
2059         (currentPolicy): Likewise.
2060
2061 2004-10-18  Michael Koch  <konqueror@gmx.de>
2062
2063         * java/lang/System.java: Revert accidential change.
2064
2065 2004-10-18  Michael Koch  <konqueror@gmx.de>
2066
2067         * java/lang/Math.java,
2068         java/lang/Package.java,
2069         java/lang/Runtime.java,
2070         java/lang/StrictMath.java,
2071         java/lang/System.java,
2072         java/lang/Thread.java,
2073         java/lang/ThreadLocal.java,
2074         java/lang/Void.java:
2075         Reworked import statements, HTML in javadocs and modifier orders.
2076
2077 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
2078
2079         * java/util/Timer.java
2080         (nr): Removed useless initializer.
2081         * java/util/logging/LogRecord.java
2082         (lastSeqNum): Likewise.
2083         * javax/naming/spi/NamingManager.java
2084         (icfb, ofb): Likewise.
2085
2086 2004-10-18  Michael Koch  <konqueror@gmx.de>
2087
2088         * gnu/java/net/PlainDatagramSocketImpl.java:
2089         Reworked import statements.
2090         * gnu/java/security/provider/DSAParameters.java:
2091         Fixed copyrigth years.
2092         * java/net/JarURLConnection.java:
2093         Fixed HTML in @author tags.
2094         
2095
2096 2004-10-18  Michael Koch  <konqueror@gmx.de>
2097
2098         * java/rmi/activation/ActivationSystem.java
2099         (SYSTEM_PORT): Initialize with correct port number.
2100
2101 2004-10-18  Michael Koch  <konqueror@gmx.de>
2102
2103         * java/lang/reflect/Proxy.java: Improved javadocs.
2104
2105 2004-10-18  Michael Koch  <konqueror@gmx.de>
2106
2107         * java/lang/reflect/AccessibleObject.java
2108         (checkPermission): Removed redundant final modifier.
2109         (secureSetAccessible): Likewise.
2110         * java/lang/reflect/Proxy.java:
2111         Reworked import statements.
2112         (generate): Removed redundant final modifier.
2113         * java/lang/reflect/ReflectPermission.java:
2114         Reorder package declaration and import statement.
2115
2116 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
2117
2118         * java/lang/reflect/Proxy.java
2119         (count): Removed useless initializer.
2120
2121 2004-10-17  Michael Koch  <konqueror@gmx.de>
2122
2123         * java/net/BindException.java,
2124         java/net/ConnectException.java,
2125         java/net/ContentHandler.java,
2126         java/net/ContentHandlerFactory.java,
2127         java/net/DatagramPacket.java,
2128         java/net/DatagramSocket.java,
2129         java/net/DatagramSocketImpl.java,
2130         java/net/DatagramSocketImplFactory.java,
2131         java/net/FileNameMap.java,
2132         java/net/HttpURLConnection.java,
2133         java/net/MalformedURLException.java,
2134         java/net/MulticastSocket.java,
2135         java/net/NetworkInterface.java,
2136         java/net/NoRouteToHostException.java,
2137         java/net/PasswordAuthentication.java,
2138         java/net/PortUnreachableException.java,
2139         java/net/ProtocolException.java,
2140         java/net/ServerSocket.java,
2141         java/net/Socket.java,
2142         java/net/SocketException.java,
2143         java/net/SocketImpl.java,
2144         java/net/SocketImplFactory.java,
2145         java/net/SocketOptions.java,
2146         java/net/SocketPermission.java,
2147         java/net/SocketTimeoutException.java,
2148         java/net/URI.java,
2149         java/net/URISyntaxException.java,
2150         java/net/URL.java,
2151         java/net/URLDecoder.java,
2152         java/net/URLEncoder.java,
2153         java/net/URLStreamHandler.java,
2154         java/net/URLStreamHandlerFactory.java,
2155         java/net/UnknownHostException.java,
2156         java/net/UnknownServiceException.java:
2157         Big import statement and @author tag cleanup.
2158
2159 2004-10-17  Michael Koch  <konqueror@gmx.de>
2160
2161         * gnu/java/security/OID.java,
2162         gnu/java/security/provider/DSAParameters.java,
2163         gnu/java/security/provider/DSASignature.java,
2164         gnu/java/security/x509/X500DistinguishedName.java,
2165         gnu/java/security/x509/X509CRL.java:
2166         Import statements cleaned up.
2167
2168 2004-10-16  Michael Koch  <konqueror@gmx.de>
2169
2170         * gnu/java/nio/NIODatagramSocket.java,
2171         gnu/java/nio/ServerSocketChannelImpl.java:
2172         Reorganized import statements.
2173
2174 2004-10-16  Michael Koch  <konqueror@gmx.de>
2175
2176         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
2177         gnu/java/rmi/rmic/RMIC.java,
2178         gnu/java/rmi/server/RMIHashes.java,
2179         gnu/java/rmi/server/RMIObjectInputStream.java,
2180         gnu/java/rmi/server/RMIObjectOutputStream.java,
2181         gnu/java/rmi/server/UnicastConnection.java,
2182         gnu/java/rmi/server/UnicastConnectionManager.java,
2183         gnu/java/rmi/server/UnicastRemoteCall.java,
2184         gnu/java/rmi/server/UnicastServer.java,
2185         gnu/java/rmi/server/UnicastServerRef.java,
2186         java/rmi/MarshalledObject.java,
2187         java/rmi/Naming.java,
2188         java/rmi/RMISecurityManager.java,
2189         java/rmi/Remote.java,
2190         java/rmi/activation/Activatable.java,
2191         java/rmi/activation/ActivationDesc.java,
2192         java/rmi/activation/ActivationGroup.java,
2193         java/rmi/activation/ActivationGroupDesc.java,
2194         java/rmi/activation/ActivationGroupID.java,
2195         java/rmi/activation/ActivationID.java,
2196         java/rmi/activation/ActivationInstantiator.java,
2197         java/rmi/activation/ActivationMonitor.java,
2198         java/rmi/activation/ActivationSystem.java,
2199         java/rmi/activation/Activator.java,
2200         java/rmi/dgc/DGC.java,
2201         java/rmi/dgc/Lease.java,
2202         java/rmi/dgc/VMID.java,
2203         java/rmi/registry/LocateRegistry.java,
2204         java/rmi/registry/Registry.java,
2205         java/rmi/registry/RegistryHandler.java,
2206         java/rmi/server/LoaderHandler.java,
2207         java/rmi/server/LogStream.java,
2208         java/rmi/server/ObjID.java,
2209         java/rmi/server/Operation.java,
2210         java/rmi/server/RMIClassLoader.java,
2211         java/rmi/server/RMIClassLoaderSpi.java,
2212         java/rmi/server/RMIClientSocketFactory.java,
2213         java/rmi/server/RMIFailureHandler.java,
2214         java/rmi/server/RMIServerSocketFactory.java,
2215         java/rmi/server/RMISocketFactory.java,
2216         java/rmi/server/RemoteCall.java,
2217         java/rmi/server/RemoteObject.java,
2218         java/rmi/server/RemoteRef.java,
2219         java/rmi/server/RemoteServer.java,
2220         java/rmi/server/RemoteStub.java,
2221         java/rmi/server/ServerRef.java,
2222         java/rmi/server/Skeleton.java,
2223         java/rmi/server/SkeletonMismatchException.java,
2224         java/rmi/server/UID.java,
2225         java/rmi/server/UnicastRemoteObject.java,
2226         java/rmi/server/Unreferenced.java:
2227         File headers and import statements cleaned up.
2228
2229 2004-10-16  Michael Koch  <konqueror@gmx.de>
2230
2231         * libjava/gnu/java/nio/charset/UTF_16.java,
2232         libjava/gnu/java/nio/charset/UTF_16BE.java,
2233         libjava/gnu/java/nio/charset/UTF_16LE.java,
2234         libjava/java/nio/ByteOrder.java,
2235         libjava/java/nio/MappedByteBuffer.java,
2236         libjava/java/nio/channels/Channels.java,
2237         libjava/java/nio/channels/spi/SelectorProvider.java,
2238         libjava/java/nio/charset/Charset.java:
2239         Cleanup.
2240
2241 2004-10-16  Michael Koch  <konqueror@gmx.de>
2242
2243         * gnu/java/nio/charset/UTF_16Encoder.java
2244         (UTF_16Encoder): Fixed maxBytesPerChar handling.
2245
2246 2004-10-16  Michael Koch  <konqueror@gmx.de>
2247
2248         * java/math/BigDecimal.java, java/math/BigInteger.java:
2249         Reorganized import statements, removed redundant and
2250         reorganized modifiers.
2251
2252 2004-10-16  Michael Koch  <konqueror@gmx.de>
2253
2254         * gnu/java/beans/ExplicitBeanInfo.java:
2255         Explicitely import java.awt.Image.
2256         (getIcon): Fixed off-by-one error.
2257
2258 2004-10-15  Andrew Haley  <aph@redhat.com>
2259
2260         * Makefile.am (nat_files, xlib_nat_files): New.
2261         * Makefile.in: Regenerate.
2262
2263 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
2264
2265         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
2266         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
2267
2268 2004-10-13  Andrew Haley  <aph@redhat.com>
2269
2270         * interpret.cc (_Jv_InterpMethod::run): Initialize
2271         _Jv_StartOfInterpreter.
2272         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
2273         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
2274         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
2275         _Unwind_FindEnclosingFunction to discover whether PC is within the
2276         interpreter.
2277
2278 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
2279
2280         PR libgcj/17903:
2281         * testsuite/libjava.lang/md5test.java: New file.
2282         * testsuite/libjava.lang/md5test.out: Likewise.
2283         * testsuite/libjava.lang/shatest.java: Likewise.
2284         * testsuite/libjava.lang/shatest.out: Likewise.
2285
2286 2004-10-11  Richard Henderson  <rth@redhat.com>
2287
2288         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
2289         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
2290
2291 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
2292
2293         * java/util/Calendar.java (set): Invalidate DST_OFFSET
2294         field as a DST boundary may have been crossed.
2295         * java/util/GregorianCalendar.java (add): Throw 
2296         IllegalArgumentException on attempt to add to DST_OFFSET or 
2297         ZONE_OFFSET fields. Update javadoc.
2298
2299 2004-10-09  Michael Koch  <konqueror@gmx.de>
2300
2301         * java/io/CharArrayWriter.java
2302         (resize): Removed redundant 'final' modifier.
2303         * java/io/DataInputStream.java
2304         (readFully): Throw IndexOutOfBoundsException of len < 0.
2305         * java/io/FileDescriptor.java,
2306         java/io/FileInputStream.java,
2307         java/io/FileOutputStream.java,
2308         java/io/ObjectOutputStream.java,
2309         java/io/ObjectStreamClass.java,
2310         java/io/PipedInputStream.java,
2311         java/io/RandomAccessFile.java:
2312         Reorganized import statements.
2313
2314 2004-10-09  Michael Koch  <konqueror@gmx.de>
2315
2316         * gnu/java/rmi/rmic/RMIC.java,
2317         gnu/java/rmi/server/RMIHashes.java,
2318         gnu/java/rmi/server/RMIObjectInputStream.java,
2319         gnu/java/rmi/server/UnicastConnection.java,
2320         gnu/java/rmi/server/UnicastConnectionManager.java,
2321         gnu/java/rmi/server/UnicastRemoteCall.java,
2322         gnu/java/rmi/server/UnicastServerRef.java:
2323         Reworked import statements and fixed file headers.
2324
2325 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
2326
2327         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
2328         emission rule.
2329         * configure: Rebuilt.
2330
2331 2004-09-30  Tom Tromey  <tromey@redhat.com>
2332
2333         * java/text/MessageFormat.java (Field): Constructor now
2334         protected.
2335
2336 2004-09-30  Tom Tromey  <tromey@redhat.com>
2337
2338         * javax/crypto/MacSpi.java: Fixed typo.
2339
2340 2004-09-30  Michael Koch  <konqueror@gmx.de>
2341
2342         * java/net/InetAddress.java: Reformatted.
2343         (loopback): Initialize with Inet4Address object.
2344         (static): Initialize ANY_IF with Inet4Address object.
2345         (InetAddress): Removed unused package-private constructor.
2346
2347 2004-09-30  Michael Koch  <konqueror@gmx.de>
2348
2349         * java/beans/Beans.java,
2350         java/beans/EventHandler.java,
2351         java/beans/EventSetDescriptor.java,
2352         java/beans/Introspector.java,
2353         java/beans/PropertyEditorManager.java,
2354         java/beans/beancontext/BeanContext.java,
2355         java/beans/beancontext/BeanContextChild.java,
2356         java/beans/beancontext/BeanContextChildSupport.java,
2357         java/beans/beancontext/BeanContextMembershipEvent.java:
2358         Reordered import statements and removed redundant modifiers.
2359
2360 2004-09-29  Tom Tromey  <tromey@redhat.com>
2361
2362         PR libgcj/17715:
2363         * Makefile.in: Rebuilt.
2364         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
2365         files.
2366         (all_property_files): New macro.
2367
2368         * Makefile.in: Rebuilt.
2369         * Makefile.am (ordinary_java_source_files): Re-sorted.
2370         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
2371
2372 2004-09-28  Tom Tromey  <tromey@redhat.com>
2373
2374         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
2375
2376         PR libgcj/17222:
2377         * Makefile.am (libgcj.la): Restored.
2378         * Makefile.in: Rebuilt.
2379
2380 2004-09-28  Michael Koch  <konqueror@gmx.de>
2381
2382         * java/net/URLConnection.java: Reformatted.
2383         * java/net/URLClassLoader.java: Reformatted.
2384         (getContent): Reordered return of content.
2385         (getContentHandler): Don't check for null explicitely.
2386
2387 2004-09-27  Michael Koch  <konqueror@gmx.de>
2388
2389         * java/io/BufferedInputStream.java
2390         (BufferedInputStream): Added Jeroen Frijters to authors.
2391         (count): Don't explicitely initialize with default value.
2392         (pos): Likewise.
2393         (marklimit): Likewise.
2394         (read): Changed boolean expression to match GNU classpath' version.
2395         (reset): Add proper message to exception.
2396         (skip): Check for closed stream.
2397         (refill): Likewise.
2398
2399 2004-09-26  Per Bothner  <per@bothner.com>
2400
2401         * prims.cc (unblock_signal): Annotate signum with __unused__ to
2402         avoid warnings in the non-POSIX_VERSION case.
2403         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
2404         so place it inside an #if block.
2405         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
2406         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
2407         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
2408         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
2409
2410 2004-09-26  Per Bothner  <per@bothner.com>
2411
2412         * prims.cc (process_gcj_properties):  Optimization.
2413
2414 2004-09-26  Per Bothner  <per@bothner.com>
2415
2416         * java/util/Collections.java (sort):  Copy from array in forwards
2417         order, rather than reverse order which may be much less efficient.
2418
2419 2004-09-26  Mark Wielaard  <mark@klomp.org>
2420
2421         * java/lang/System.java (properties): Make package private.
2422         * java/lang/Throwable.java (StaticData.nl): Initialize through
2423         directly accessing System.properties.getProperty().
2424
2425         * java/lang/Throwable.java (nl): Remove static field.
2426         (StaticData): New private static inner class.
2427         (stackTraceStringBuffer): Use StaticData.nl.
2428
2429 2004-09-26  Casey Marshall <csm@gnu.org>
2430
2431         * java/security/ProtectionDomain.java
2432         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
2433         `true'.
2434
2435         * java/security/SecureClassLoader.java
2436         (defineClass): make protection domain dynamically bound.
2437         (getPermissions): call `getCurrentPolicy' to avoid permission
2438         check.
2439
2440 2004-09-25  Mark Wielaard  <mark@klomp.org>
2441
2442         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
2443         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
2444         * Makefile.in: Regenerated.
2445
2446         * gcj/javaprims.h: Regenerated.
2447
2448         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
2449         (getDefaultTimeZone): Make package private. Check that GMToffset
2450         contains at least one digit.
2451         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
2452         VMTimeZone.
2453         * util/VMTimeZone.java: New file with above methods.
2454
2455         * java/util/natTimeZone.cc: Removed (renamed).
2456         * java/util/natVMTimeZone.cc: Added (renamed).
2457
2458 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
2459
2460         * java/util/TimeZone.java
2461         (getDefaultTimeZone): Fixed test to distinguish between hours and
2462         minutes in specified timezone.
2463
2464 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
2465
2466         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
2467         handling of default package. (generate): Removed confused comments
2468         and code about making Method and Field accessible.
2469
2470 2004-09-25  Tom Tromey  <tromey@redhat.com>
2471
2472         PR java/17500:
2473         * testsuite/libjava.compile/pr17500.java: New file.
2474
2475 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
2476             Mark Wielaard  <mark@klomp.org>
2477
2478         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
2479         * gnu/regexp/RETokenLookAhead.java: New file.
2480
2481         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
2482         * Makefile.in: Regenerated.
2483
2484 2004-09-25  Michael Koch  <konqueror@gmx.de>
2485
2486         * java/io/ObjectStreamField.java:
2487         Removed unused import statement.
2488
2489 2004-09-24  Tom Tromey  <tromey@redhat.com>
2490
2491         PR java/15656:
2492         * testsuite/libjava.compile/pr15656.xfail: New file.
2493         * testsuite/libjava.compile/pr15656.java: new file.
2494
2495         PR java/16789:
2496         * testsuite/libjava.lang/pr16789.out: New file.
2497         * testsuite/libjava.lang/pr16789.java: New file.
2498
2499 2004-09-24  Andrew Haley  <aph@redhat.com>
2500
2501         PR java/16927
2502         * testsuite/libjava.compile/AssertBug.java: New file.
2503
2504 2004-09-24  Casey Marshall <csm@gnu.org>
2505
2506         * java/util/PropertyPermissionCollection.java
2507         (implies): avoid infinite loop.
2508
2509 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2510
2511         * javax/security/auth/PrivateCredentialPermission.java
2512         (PrivateCredentialPermission): added serialization UID
2513
2514
2515 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
2516
2517         * gnu/java/rmi/server/UnicastServer.java
2518         (incomingMessageCall): Added code to handle Errors.
2519         * gnu/java/rmi/server/UnicastServerRef.java
2520         (incomingMessageCall): Added code to handle Errors.
2521
2522
2523 2004-09-24  Tom Tromey  <tromey@redhat.com>
2524
2525         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
2526         (definedPackages): Likewise.
2527
2528 2004-09-24  Michael Koch  <konqueror@gmx.de>
2529
2530         * java/io/ObjectInputStream.java:
2531         Re-ordered imports.
2532
2533 2004-09-24  Casey Marshall <csm@gnu.org>
2534
2535         * java/io/ObjectInputStream.java (callReadMethod): re-throw
2536         `ClassNotFoundException'.
2537
2538 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
2539
2540         * java/io/ObjectInputStream.java (readObject): Delegate instantation
2541         of Externalizable classes to ObjectStreamClass.
2542         * java/io/ObjectStreamClass.java (newInstance): New method to
2543         instantiate Externalizable (while ignoring the accessibility of
2544         the constructor). (constructor): New field to cache the constructor.
2545
2546 2004-09-24  Mark Wielaard  <mark@klomp.org>
2547
2548         * java/net/URL.java (systemClassLoader): New static field.
2549         (getURLStreamHandler): Always use system/application classloader
2550         for finding URLStreamhandler. Remove unecessary instanceof checks.
2551
2552 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
2553
2554         * java/net/URL.java
2555         (set): This method now matches the behaviour of the JDK.
2556         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
2557
2558 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
2559
2560         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
2561
2562 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
2563
2564         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
2565         Don't set authority if host isn't specified.
2566
2567 2004-09-24  Michael Koch  <konqueror@gmx.de>
2568
2569         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
2570         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
2571         * gnu/java/nio/VMPipe.java,
2572         gnu/java/nio/VMSelector.java:
2573         New files.
2574         * gnu/java/nio/natPipeImplEcos.cc,
2575         gnu/java/nio/natPipeImplPosix.cc,
2576         gnu/java/nio/natPipeImplWin32.cc:
2577         Ported to VMPipe.
2578         * gnu/java/nio/natSelectorImplEcos.cc,
2579         gnu/java/nio/natSelectorImplPosix.cc,
2580         gnu/java/nio/natSelectorImplWin32.cc:
2581         Ported to VMSelector.
2582         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
2583         gnu/java/nio/VMSelector.java.
2584         * Makefile.in: Regenerated.
2585
2586 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
2587
2588         * java/lang/StackTraceElement.java
2589         (className): Renamed field to declaringClass to be compatible
2590         with Sun serialization format.
2591
2592 2004-09-23  Michael Koch  <konqueror@gmx.de>
2593
2594         * java/applet/AppletContext.java,
2595         java/applet/Applet.java,
2596         java/applet/AppletStub.java,
2597         java/applet/AudioClip.java:
2598         Jalopied and checkstyle clean.
2599
2600 2004-09-23  Mark Wielaard  <mark@klomp.org>
2601
2602         * java/util/Collections.java
2603         (binarySearch(List, Object, Comparator)): Explicitly
2604         reverse direction in list iterator.
2605         (rotate): Just return when list is empty.
2606
2607 2004-09-23  Tom Tromey  <tromey@redhat.com>
2608
2609         PR java/17329:
2610         * testsuite/libjava.compile/pr17329.java: New file.
2611
2612         PR java/17380:
2613         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
2614         9.2-implicit-7.
2615
2616 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
2617
2618         * Makefile.am: Run aclocal with -I ../config
2619         * acinclude.m4: Delete macros picked up from ../config and tidy.
2620         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
2621         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
2622         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
2623
2624 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
2625
2626         * aclocal.m4: Regenerate with aclocal 1.9.2.
2627         * configure: Regenerate.
2628         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
2629         * include/Makefile.in, testsuite/Makefile.in: Likewise.
2630
2631 2004-09-22  David Daney  <ddaney@avtrex.com>
2632
2633         PR libgcj/17623
2634         * java/net/URL.java (URL): Copy userInfo from context.
2635         (getUserInfo): Return cached userInfo if present.
2636
2637 2004-09-22  Tom Tromey  <tromey@redhat.com>
2638
2639         PR libgcj/6182:
2640         * mauve-libgcj: Enable java.lang.Character tests.
2641
2642 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
2643
2644         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
2645         dependencies.
2646         (lib_org_ietf_jgss_la_LIBADD): Likewise.
2647         * Makefile.in: Regenerated.
2648
2649 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
2650
2651         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
2652         * configure: Regenerate.
2653         * include/config.h.in: Likewise.
2654         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
2655         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
2656         macro to gtkpeer.h.
2657         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2658         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
2659         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
2660         architectures.
2661         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
2662         Likewise.
2663
2664 2004-09-22  Tom Tromey  <tromey@redhat.com>
2665
2666         PR libgcj/14446:
2667         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
2668         when comparing CRCs.
2669         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
2670         field.
2671         (read()): New overload.
2672
2673 2004-09-21  Tom Tromey  <tromey@redhat.com>
2674
2675         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
2676         Indentation fix.
2677
2678 2004-09-21  Michael Koch  <konqueror@gmx.de>
2679
2680         * java/net/Socket.java
2681         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
2682
2683 2004-09-21  Casey Marshall  <csm@gnu.org>
2684
2685         * javax/crypto/MacSpi.java (clone): Provide meaningful
2686         implementation.
2687
2688 2004-09-21  Tom Tromey  <tromey@redhat.com>
2689
2690         PR libgcj/16869:
2691         * Makefile.in: Rebuilt.
2692         * Makefile.am (MOSTLYCLEANFILES): Removed.
2693         (mostlyclean-local): Remove header files.
2694
2695 2004-09-21  Casey Marshall  <csm@gnu.org>
2696
2697         * java/security/cert/X509CRLSelector.java:
2698         (match): remove unreachable try-catch clauses.
2699         Reported by: Dalibor Topic <robilad@kaffe.org>
2700
2701 2004-09-21  Mark Wielaard  <mark@klomp.org>
2702
2703         * java/util/TreeMap.java (root): Don't initialize.
2704         (TreeMap(Comparator)): Call fabricateTree(0).
2705         (fabricateTree): Initialize root and size when count is 0.
2706
2707 2004-09-21  Sven de Marothy <sven@physto.se>
2708
2709         * java/nio/ByteBuffer.java (hashCode): Implemented.
2710         * java/nio/CharBuffer.java: Likewise.
2711         * java/nio/DoubleBuffer.java: Likewise.
2712         * java/nio/FloatBuffer.java: Likewise.
2713         * java/nio/LongBuffer.java: Likewise.
2714         * java/nio/IntBuffer.java: Likewise.
2715         * java/nio/ShortBuffer.java: Likewise.
2716
2717 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
2718
2719         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
2720
2721 2004-09-21  Michael Koch  <konqueror@gmx.de>
2722
2723         * javax/net/ssl/SSLServerSocket.java:
2724         Removed comment about "Do not edit this file, it's generated.".
2725
2726 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
2727
2728         Import the big Crypto/Jessie/Security merge from Classpath.
2729
2730         * Makefile.am: Add imported files.
2731         * Makefile.in: Regenerate.
2732
2733         2004-08-14  Casey Marshall <csm@gnu.org>
2734
2735         The Big Crypto Merge of 2004.
2736
2737         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
2738         Crypto's version.
2739
2740         Files imported from GNU Crypto.
2741         * javax/crypto/BadPaddingException.java
2742         * javax/crypto/Cipher.java
2743         * javax/crypto/CipherInputStream.java
2744         * javax/crypto/CipherOutputStream.java
2745         * javax/crypto/CipherSpi.java
2746         * javax/crypto/EncryptedPrivateKeyInfo.java
2747         * javax/crypto/ExemptionMechanism.java
2748         * javax/crypto/ExemptionMechanismException.java
2749         * javax/crypto/ExemptionMechanismSpi.java
2750         * javax/crypto/IllegalBlockSizeException.java
2751         * javax/crypto/KeyAgreement.java
2752         * javax/crypto/KeyAgreementSpi.java
2753         * javax/crypto/KeyGenerator.java
2754         * javax/crypto/KeyGeneratorSpi.java
2755         * javax/crypto/Mac.java
2756         * javax/crypto/MacSpi.java
2757         * javax/crypto/Makefile.am
2758         * javax/crypto/NoSuchPaddingException.java
2759         * javax/crypto/NullCipher.java
2760         * javax/crypto/NullCipherImpl.java
2761         * javax/crypto/SealedObject.java
2762         * javax/crypto/SecretKey.java
2763         * javax/crypto/SecretKeyFactory.java
2764         * javax/crypto/SecretKeyFactorySpi.java
2765         * javax/crypto/ShortBufferException.java
2766         * javax/crypto/interfaces/DHKey.java
2767         * javax/crypto/interfaces/DHPrivateKey.java
2768         * javax/crypto/interfaces/DHPublicKey.java
2769         * javax/crypto/interfaces/PBEKey.java
2770         * javax/crypto/spec/DESKeySpec.java
2771         * javax/crypto/spec/DESedeKeySpec.java
2772         * javax/crypto/spec/DHGenParameterSpec.java
2773         * javax/crypto/spec/DHParameterSpec.java
2774         * javax/crypto/spec/DHPrivateKeySpec.java
2775         * javax/crypto/spec/DHPublicKeySpec.java
2776         * javax/crypto/spec/IvParameterSpec.java
2777         * javax/crypto/spec/PBEKeySpec.java
2778         * javax/crypto/spec/PBEParameterSpec.java
2779         * javax/crypto/spec/RC2ParameterSpec.java
2780         * javax/crypto/spec/RC5ParameterSpec.java
2781         * javax/crypto/spec/SecretKeySpec.java
2782         * javax/security/auth/AuthPermission.java
2783         * javax/security/auth/DestroyFailedException.java
2784         * javax/security/auth/Destroyable.java
2785         * javax/security/auth/Policy.java
2786         * javax/security/auth/PrivateCredentialPermission.java
2787         * javax/security/auth/RefreshFailedException.java
2788         * javax/security/auth/Refreshable.java
2789         * javax/security/auth/Subject.java
2790         * javax/security/auth/SubjectDomainCombiner.java
2791         * javax/security/auth/callback/Callback.java
2792         * javax/security/auth/callback/CallbackHandler.java
2793         * javax/security/auth/callback/ChoiceCallback.java
2794         * javax/security/auth/callback/ConfirmationCallback.java
2795         * javax/security/auth/callback/LanguageCallback.java
2796         * javax/security/auth/callback/NameCallback.java
2797         * javax/security/auth/callback/PasswordCallback.java
2798         * javax/security/auth/callback/TextInputCallback.java
2799         * javax/security/auth/callback/TextOutputCallback.java
2800         * javax/security/auth/callback/UnsupportedCallbackException.java
2801         * javax/security/auth/login/AccountExpiredException.java
2802         * javax/security/auth/login/AppConfigurationEntry.java
2803         * javax/security/auth/login/Configuration.java
2804         * javax/security/auth/login/CredentialExpiredException.java
2805         * javax/security/auth/login/FailedLoginException.java
2806         * javax/security/auth/login/LoginContext.java
2807         * javax/security/auth/login/LoginException.java
2808         * javax/security/auth/login/NullConfiguration.java
2809         * javax/security/auth/x500/X500PrivateCredential.java
2810         * javax/security/sasl/AuthenticationException.java
2811         * javax/security/sasl/AuthorizeCallback.java
2812         * javax/security/sasl/RealmCallback.java
2813         * javax/security/sasl/RealmChoiceCallback.java
2814         * javax/security/sasl/Sasl.java
2815         * javax/security/sasl/SaslClient.java
2816         * javax/security/sasl/SaslClientFactory.java
2817         * javax/security/sasl/SaslException.java
2818         * javax/security/sasl/SaslServer.java
2819         * javax/security/sasl/SaslServerFactory.java
2820         * org/ietf/jgss/ChannelBinding.java
2821         * org/ietf/jgss/GSSContext.java
2822         * org/ietf/jgss/GSSCredential.java
2823         * org/ietf/jgss/GSSException.java
2824         * org/ietf/jgss/GSSManager.java
2825         * org/ietf/jgss/GSSName.java
2826         * org/ietf/jgss/MessageProp.java
2827         * org/ietf/jgss/Oid.java
2828         * org/ietf/jgss/MessagesBundle.properties
2829
2830         Files imported from Jessie <http://www.nongnu.org/jessie/>
2831         * javax/net/ServerSocketFactory.java
2832         * javax/net/SocketFactory.java
2833         * javax/net/VanillaServerSocketFactory.java
2834         * javax/net/VanillaSocketFactory.java
2835         * javax/net/ssl/HandshakeCompletedEvent.java
2836         * javax/net/ssl/HandshakeCompletedListener.java
2837         * javax/net/ssl/HostnameVerifier.java
2838         * javax/net/ssl/HttpsURLConnection.java
2839         * javax/net/ssl/KeyManager.java
2840         * javax/net/ssl/KeyManagerFactory.java
2841         * javax/net/ssl/KeyManagerFactorySpi.java
2842         * javax/net/ssl/ManagerFactoryParameters.java
2843         * javax/net/ssl/SSLContext.java
2844         * javax/net/ssl/SSLContextSpi.java
2845         * javax/net/ssl/SSLException.java
2846         * javax/net/ssl/SSLHandshakeException.java
2847         * javax/net/ssl/SSLKeyException.java
2848         * javax/net/ssl/SSLPeerUnverifiedException.java
2849         * javax/net/ssl/SSLPermission.java
2850         * javax/net/ssl/SSLProtocolException.java
2851         * javax/net/ssl/SSLServerSocket.java
2852         * javax/net/ssl/SSLServerSocketFactory.java
2853         * javax/net/ssl/SSLSession.java
2854         * javax/net/ssl/SSLSessionBindingEvent.java
2855         * javax/net/ssl/SSLSessionBindingListener.java
2856         * javax/net/ssl/SSLSessionContext.java
2857         * javax/net/ssl/SSLSocket.java
2858         * javax/net/ssl/SSLSocketFactory.java
2859         * javax/net/ssl/TrivialHostnameVerifier.java
2860         * javax/net/ssl/TrustManager.java
2861         * javax/net/ssl/TrustManagerFactory.java
2862         * javax/net/ssl/TrustManagerFactorySpi.java
2863         * javax/net/ssl/X509KeyManager.java
2864         * javax/net/ssl/X509TrustManager.java
2865         * javax/security/cert/Certificate.java
2866         * javax/security/cert/CertificateEncodingException.java
2867         * javax/security/cert/CertificateException.java
2868         * javax/security/cert/CertificateExpiredException.java
2869         * javax/security/cert/CertificateNotYetValidException.java
2870         * javax/security/cert/CertificateParsingException.java
2871         * javax/security/cert/X509CertBridge.java
2872         * javax/security/cert/X509Certificate.java
2873
2874         2004-08-20  Casey Marshall  <csm@gnu.org>
2875
2876         * java/security/cert/X509CRLSelector.java: New file.
2877         * java/security/cert/X509CertSelector.java: New file.
2878
2879 2004-09-15  Michael Koch  <konqueror@gmx.de>
2880
2881         * gnu/java/net/protocol/file/Handler.java
2882         (openConnection): Don't throw exception if host part for file: URI is
2883         present. setURL() keeps file: protocol if ftp: protocol is not
2884         available.
2885
2886 2004-09-14  Richard Henderson  <rth@redhat.com>
2887
2888         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
2889         value of sigsuspend.
2890
2891 2004-09-12  Tom Tromey  <tromey@redhat.com>
2892
2893         * javax/naming/CompoundName.java (CompoundName): Don't check for
2894         separator in "flat" case.
2895
2896 2004-09-12  Michael Koch  <konqueror@gmx.de>
2897
2898         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
2899         AM_CONFIG_HEADER by AC_CONFIG_FILES.
2900         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
2901         Regenerate.
2902
2903 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
2904
2905         PR libgcj/14751
2906         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
2907         handle in newly-allocated _Jv_Thread_t.
2908         (_Jv_ThreadDestroyData): Close thread handle.
2909         (_Jv_ThreadStart): Remove obsolete comment.
2910         Store handle of newly-created thread in _Jv_Thread_t.
2911         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
2912         before including <windows.h>
2913         #define _Jv_HaveCondDestroy
2914
2915 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
2916
2917         * java/lang/natThread.cc (finalize_native): Destroy
2918         join conditional variable and mutex if these destroy
2919         operations are supported.
2920
2921 2004-09-10  Dalibor Topic <robilad@kaffe.org>
2922
2923         * gnu/java/net/protocol/file/Connection.java (permission): New field.
2924         (DEFAULT_PERMISSION): New constant.
2925         (Connection): Create a FilePermission with permission to read file.
2926
2927 2004-09-10  Michael Koch  <konqueror@gmx.de>
2928
2929         * gnu/java/net/protocol/file/Connection.java
2930         (getLastModified): Moved around.
2931         (getPermission): Return stored permission.
2932
2933 2004-09-10  Michael Koch  <konqueror@gmx.de>
2934
2935         * Makefile.in: Regenerate.
2936
2937 2004-09-10  Michael Koch  <konqueror@gmx.de>
2938
2939         * Makefile.am: Reverted accidently commited stuff.
2940         * configure: Regenerated.
2941
2942 2004-09-10  Michael Koch  <konqueror@gmx.de>
2943
2944         * gnu/java/net/protocol/file/Connection.java
2945         (lineSeparator): Made non-final.
2946         (static): Removed.
2947         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
2948         instead of StringBufferInputStream.
2949
2950 2004-09-10  Michael Koch  <konqueror@gmx.de>
2951
2952         * gnu/java/net/protocol/file/Connection.java
2953         (connect): Handle file is a directory case.
2954
2955 2004-09-10  Michael Koch  <konqueror@gmx.de>
2956
2957         * Makefile.am
2958         (xlib_includes): Removed.
2959         (AM_CPPFLAGS): Renamed from INCLUDES.
2960         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
2961         * Makefile.in: Regenerate.
2962
2963 2004-09-09  Michael Koch  <konqueror@gmx.de>
2964
2965         * java/security/ProtectionDomain.java,
2966         * java/util/PropertyPermissionCollection.java:
2967         Fixed javadocs all over.
2968
2969 2004-09-09  Sven de Marothy  <sven@physto.se>
2970
2971         Patch from David Gilbert <david.gilbert@object-refinery.com>
2972         * java/lang/Comparable.java: Fixed documentation errors.
2973         * java/util/Arrays.java: Likewise.
2974
2975 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2976
2977         * java/net/Inet4Address.java
2978         (Inet4Address): Added comment to serialization UID.
2979         * java/text/Format.java
2980         (Format): Added comment to serialization UID.
2981
2982 2004-09-09  Michael Koch  <konqueror@gmx.de>
2983
2984         * java/lang/System.java
2985         (err): Fixed javadoci to point to setErr() and not setOut().
2986
2987 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
2988
2989         (normalizePath): Added special case for windows systems.
2990
2991 2004-09-09  Michael Koch  <konqueror@gmx.de>
2992
2993         * java/io/File.java
2994         (dupSeparator): Made private.
2995         (File(URI)): New constructor.
2996         (getParentFile): Fixed javadoc.
2997         (createTempFile): Reformated.
2998         (setReadOnly): Added comment.
2999         (deleteOnExit): Merged javadoc with classpath version.
3000
3001 2004-09-09  Michael Koch  <konqueror@gmx.de>
3002
3003         * Makefile.am: Don't try to include deps.mk.
3004         * Makefile.in: Regenerated.
3005
3006 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
3007
3008         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
3009         .d files.
3010         * configure: Rebuilt.
3011
3012 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
3013
3014         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
3015         Changed pfn from static local to local.
3016
3017 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
3018             H.J. Lu  <hongjiu.lu@intel.com>
3019
3020         PR libgcj/17290
3021         * Makefile.am (GCJCOMPILE): Remove definition.
3022         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
3023         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
3024         * Makefile.in: Rebuilt.
3025
3026 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
3027
3028         * configure.ac (enable-gc-debug): Update help for new syntax.
3029         * configure: Regenerate.
3030
3031 2004-09-03  David Daney  <ddaney@avtrex.com>
3032
3033         * include/mips-signal.h: Update copyright.
3034
3035 2004-09-03  David Daney  <ddaney@avtrex.com>
3036
3037         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
3038         * include/mips-signal.h: Added HANDLE_FPE support.
3039         
3040 2004-08-31  Michael Koch  <konqueror@gmx.de>
3041
3042         * javax/swing/plaf/basic/BasicTextAreaUI.java
3043         (create): New method.
3044         * javax/swing/text/DefaultHighlighter.java
3045         (DefaultHighlightPainter.debugRect): Removed.
3046         * javax/swing/text/StyleContext.java
3047         (DEFAULT_STYLE): New field.
3048
3049 2004-08-31  Michael Koch  <konqueror@gmx.de>
3050
3051         * javax/swing/plaf/basic/BasicLookAndFeel.java
3052         (initComponentDefaults): Add keybindings for selection.backward and
3053         selection-forward for text components.
3054         * javax/swing/plaf/basic/BasicTextUI.java
3055         (paintSafely): Paint highlight only when something is actually
3056         selected.
3057         * javax/swing/text/DefaultCaret.java
3058         (handleHighlight): New method.
3059         (setSelectionVisible): Don't do anything when nothing changes.
3060         Handle highlight.
3061         (moveDot): Reimplemented. Handle highlight.
3062         (setDot): Set mark too. Handle highlight.
3063         (getSelectionPainter): New method.
3064         * javax/swing/text/DefaultEditorKit.java
3065         (defaultActions): Added new actions for text selection.
3066         * javax/swing/text/DefaultHighlighter.java
3067         (DefaultHighlightPainter): New inner class.
3068         (DefaultPainter): New field.
3069         (paint): Implemented.
3070         * javax/swing/text/PlainView.java
3071         (paint): Don't draw background here again.
3072         * javax/swing/text/Utilities.java
3073         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
3074         (drawTabbedText): Likewise.
3075
3076 2004-08-31  Graydon Hoare  <graydon@redhat.com>
3077
3078         * javax/swing/JComponent.java
3079         (resetKeyboardActions): Add null checks.
3080
3081 2004-08-31  Graydon Hoare  <graydon@redhat.com>
3082
3083         * javax/swing/DefaultButtonModel.java:
3084         Skip group notification when no group is set.
3085
3086 2004-08-31  Graydon Hoare  <graydon@redhat.com>
3087
3088         * javax/swing/JColorChooser.java: 
3089         Make a couple inner classes static, for jikes.
3090
3091 2004-08-31  Michael Koch  <konqueror@gmx.de>
3092
3093         * javax/swing/plaf/basic/BasicTextUI.java
3094         (RottView.modelToView): New method.
3095         (UpdateHandler): Renamed from EventHandler.
3096         (updateHandler): Renamed from eventHandler.
3097         (modelToView): Implemented.
3098         * javax/swing/text/AbstractDocument.java
3099         (BranchElement.getElement): Return null for non-existing indeces.
3100         (BranchElement.getElementIndex): Return 0 in some corner cases.
3101         * javax/swing/text/FieldView.java
3102         (modelToView): New method.
3103         * javax/swing/text/PlainView.java
3104         (modelToView): Made public.
3105
3106 2004-08-31  Kim Ho  <kho@redhat.com>
3107
3108         * Makefile.am: New files.
3109         * Makefile.in: Regenerate.
3110         * gcj/Makefile.in: Regenerate.
3111         * include/Makefile.in: Regenerate.
3112         * java/awt/Color.java: Fix documentation.
3113         (RGBtoHSB): Use floats for conversions.
3114         * javax/swing/ButtonGroup.java: Run Jalopy.
3115         (setSelected): Reimplement.
3116         * javax/swing/DefaultButtonModel.java: Run Jalopy.
3117         (changeState): Let ButtonGroup know that the button 
3118         is changing state.
3119         * javax/swing/JColorChooser.java: Implement.
3120         * javax/swing/JLabel.java: Run Jalopy.
3121         * javax/swing/JSpinner.java: Run Jalopy.
3122         (setValue): New method.
3123         * javax/swing/JTabbedPane.java: Run Jalopy.
3124         (removeTabAt): Call correct remove method.
3125         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
3126         (getPreviousValue): Compare minimum value.
3127         * javax/swing/Timer.java: Run Jalopy.
3128         (run): Comment out println.
3129         * javax/swing/ToolTipManager.java:
3130         (mouseMoved): Get new tooltip text for location.
3131         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
3132         Jalopy and Javadoc.
3133         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
3134         Implement.
3135         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
3136         Run Jalopy.
3137         (setSelectedColor): Fire ChangeEvent.
3138         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
3139         New file. Implement.
3140         * javax/swing/colorchooser/DefaultPreviewPanel.java:
3141         Ditto.
3142         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
3143         Ditto.
3144         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
3145         Ditto.
3146         * javax/swing/plaf/basic/BasicArrowButton.java:
3147         (getArrow): Fix size of upward pointing button.
3148         * javax/swing/plaf/basic/BasicColorChooserUI.java:
3149         Implement.
3150         * javax/swing/plaf/basic/BasicSliderUI.java:
3151         (getWidthOfWidestLabel): Use preferred dimensions.
3152         (getHeightOfTallestLabel): Ditto.
3153         * javax/swing/plaf/basic/BasicSpinnerUI.java:
3154         Run Jalopy.
3155         (mousePressed): Disable changes to spinner if it is not enabled.
3156         * testsuite/Makefile.in: Regenerate.
3157
3158
3159 2004-08-31  Michael Koch  <konqueror@gmx.de>
3160
3161         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
3162         javax/swing/plaf/basic/BasicTableUI.java:
3163         Added copyright notice.
3164
3165 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
3166
3167         * Makefile.am: Added new files.
3168         * Makefile.in: Regenerate.
3169         * javax/swing/ComboBoxEditor.java: Added javadocs.
3170         * javax/swing/ComboBoxModel.java: Likewise.
3171         * javax/swing/DefaultComboBoxModel.java: Implemented.
3172         * javax/swing/DefaultListCellRenderer.java: Added javadocs
3173         and ran through jalopy to fix formatting style.
3174         (getListCellRendererComponent): Use appropriate border
3175         if renderer has focus and use noFocusBorder when it doesn't.
3176         * javax/swing/JComboBox.java: Implemented.
3177         * javax/swing/JList.java:
3178         (locationToIndex): New Method. Implemented.
3179         (indexToLocation): New Method.
3180         * javax/swing/JPopupMenu.java: 
3181         (visible): New field.
3182         (isVisible): Changed to use new field above.
3183         (setVisible): Likewise.
3184         * javax/swing/MutableComboBoxModel.java: Added javadocs.
3185         * javax/swing/plaf/basic/BasicArrowButton.java: 
3186         (shadow): Changed default color to Color.gray.
3187         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
3188         UI delegate for JComboBox.
3189         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
3190         Popup menu containing list of JComboBox's items.
3191         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
3192         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
3193         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
3194         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
3195         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3196         (popupMenuWillBecomeVisible): Set selected path to the first
3197         element only if it is of type MenuElement. Also fix formatting
3198         style.
3199         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
3200         methods signatures.
3201         
3202 2004-08-31  Michael Koch  <konqueror@gmx.de>
3203
3204         * javax/swing/text/AbstractDocument.java
3205         (createBranchElement): Use new constructor of BranchElement.
3206         (createLeafElement): Renamed arguments.
3207         (getRootElements): Implemented.
3208         (BranchElement.start): Removed.
3209         (BranchElement.end): Likewise.
3210         (BranchElement.BranchElement): Fixed arguments.
3211         (BranchElement.getEndOffset): Reimplemented.
3212         (BranchElement.getStartOffset): Likewis.
3213         * javax/swing/text/DefaultCaret.java
3214         (paint): Draw simple vertical line as caret instead of a rectangle.
3215         * javax/swing/text/JTextComponent.java
3216         (setText): Use doc directly.
3217         * javax/swing/text/PlainView.java
3218         (nextTabStop): Implemented.
3219         * javax/swing/text/Utilities.java
3220         (drawTabbedText): nextTabStop() returns an absolute x position.
3221         (getTabbedTextWidth): Likewise.
3222
3223 2004-08-31  Graydon Hoare  <graydon@redhat.com>
3224
3225         * java/awt/Component.java 
3226         (isFocusTraversable): Predicate on isLightweight()
3227         (setFocusable): Set isFocusTraversableOverridden.
3228         (requestFocus): Predicate peer dispatch on !isLightweight()
3229         (requestFocusInWindow): Likewise.
3230         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
3231         * java/awt/Container.java
3232         (dispatchEventImpl): Predicate on event mask.
3233         (LightweightDispatcher): Remove focus machinery.
3234         * java/awt/DefaultFocusTraversalPolicy.java
3235         (accept): Expand predicate to include isFocusable(). 
3236         * java/awt/DefaultKeyboardFocusManager.java:
3237         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
3238         * java/awt/KeyboardFocusManager.java
3239         (redispatchEvent): Synchronize on event to prevent feedback.
3240         * javax/swing/AbstractButton.java
3241         (ButtonFocusListener): Remove class.
3242         (init): Set focusPainted, focusable.
3243         * javax/swing/ActionMap.java (get): Check parent for null. 
3244         * javax/swing/InputMap.java (get): Likewise. 
3245         * javax/swing/JComponent.java
3246         (inputMap_whenFocused): New InputMap.
3247         (inputMap_whenAncestorOfFocused): Likewise.
3248         (inputMap_whenInFocusedWindow): Likewise.
3249         (getActionForKeyStroke): Rewrite.
3250         (getConditionForKeystroke): Likewise.
3251         (ActionListenerProxy): New private class.
3252         (setInputMap): Implement.
3253         (getInputMap): Likewise.
3254         (setActionMap): Likewise.
3255         (getActionMap): Likewise.
3256         (processComponentKeyEvent): New empty method.
3257         (processKeyEvent): Implement.
3258         (processKeyBinding): Likewise.
3259         (resetKeyboardActions): Rewrite.
3260         * javax/swing/KeyStroke.java: Rewrite.
3261         * javax/swing/SwingUtilities.java
3262         (notifyAction): Implement.
3263         (replaceUIActionMap): Likewise.
3264         (replaceUIInputMap): Likewise.
3265         * javax/swing/plaf/basic/BasicButtonListener.java
3266         (focusGained): Implement.
3267         (focusLost): Repaint if focusPainted().
3268         (installKeyboardActions): Install pressed / released actions.
3269         (uninstallKeyboardActions): Implement.
3270         * javax/swing/plaf/basic/BasicButtonUI.java
3271         (focusColor): New field.
3272         (installDefaults): Load focus color, install input map.
3273         (installKeyboardActions): Implement.
3274         (uninstallKeyboardActions): Likewise.
3275         (paintFocus): Rewrite.
3276         * javax/swing/plaf/basic/BasicLookAndFeel.java
3277         (Button.focus): New default, midPurple. 
3278         * javax/swing/plaf/basic/BasicTextUI.java
3279         (kit): Make static.
3280         (installUI): Get doc from kit, load defaults.
3281         (getKeymapName): Implement.
3282         (createKeymap): Likewise.
3283         (installKeyboardActions): Likewise.
3284         (getInputMap): Likewise.
3285         (getActionMap): Likewise.
3286         (createActionMap): Likewise.
3287         * javax/swing/text/AbstractDocument.java
3288         (getStartPosition): Implement.
3289         (getEndPosition): Likewise.
3290         * javax/swing/text/DefaultEditorKit.java
3291         (CopyAction): New class.
3292         (CutAction): Likewise.
3293         (DefaultKeyTypedAction): Likewise.
3294         (InsertBreakAction): Likewise.
3295         (InsertContentAction): Likewise.
3296         (InsertTabAction): Likewise.
3297         (PasteAction): Likewise.
3298         (defaultActions): New static table.
3299         (createCaret): Implement.
3300         (getActions): Likewise.
3301         * javax/swing/text/JTextComponent.java
3302         (KeymapWrapper): New private class.
3303         (KeymapActionMap): Likewise.
3304         (DefaultKeymap): New class.
3305         (keymaps): New static table.
3306         (keymap): New field.
3307         (getKeymap): Implement.
3308         (removeKeymap): Likewise.
3309         (addKeymap): Likewise.
3310         (setKeymap): Likewise.
3311         (loadKeymap): Likewise.
3312         (getActions): Likewise.
3313         (margin): New field.
3314         (JTextComponent): Build and install default keymap.
3315         * javax/swing/text/TextAction.java
3316         (textAction): Call super properly.
3317         (getTextComponent): Implement.
3318         * javax/swing/text/Utilities.java
3319         (drawTabbedText): Adjust position by ascent.
3320
3321 2004-08-31  David Jee  <djee@redhat.com>
3322
3323         PR AWT/17156
3324
3325         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
3326         (setEnabled): Make it a native method.
3327         * java/awt/DefaultKeyboardFocusManager.java
3328         (postProcessKeyEvent): Only post event if the menu item
3329         is active.
3330         * java/awt/MenuItem.java:
3331         Private field 'enabled' should be true by default.
3332         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3333         (setEnabled): New function.
3334
3335 2004-08-31  David Jee  <djee@redhat.com>
3336
3337         PR AWT/17059
3338
3339         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
3340         (nativeSetHelpMenu): New native method declaration.
3341         (addHelpMenu): Call nativeSetHelpMenu().
3342         (addMenu): Remove.
3343         * java/awt/MenuBar.java
3344         (setHelpMenu): Call addNotify() on the new help menu.
3345         (add): Call addNotify() on the new menu.
3346         (addNotify): Set the help menu if one exists.
3347         * java/awt/peer/MenuBarPeer.java
3348         (addMenu): Remove.
3349         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
3350         (nativeSetHelpMenu): New method.
3351
3352 2004-08-31  Graydon Hoare  <graydon@redhat.com>
3353
3354         * Makefile.am: Add new files.
3355         * Makefile.in: Regenerate.
3356         * javax/swing/Box.java: Fix setting of layout in ctor.
3357         * javax/swing/JScrollPane.java: Scroll headers as well.
3358         * javax/swing/JTable.java: Reimplement.
3359         * javax/swing/JViewPort.java: Only add non-null children.
3360         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
3361         * javax/swing/Timer.java: Fix stopping null waker.
3362         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
3363         * javax/swing/plaf/basic/BasicTableUI.java: New file.
3364         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
3365         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
3366         * javax/swing/table/DefaultTableModel.java: Clean up.
3367         * javax/swing/table/JTableHeader.java: Implement.
3368
3369 2004-08-31  Mark Wielaard  <mark@klomp.org>
3370
3371         * javax/swing/JSpinner.java (getChangeListeners): Remove double
3372         semi-colon.
3373
3374 2004-08-31  Mark Wielaard  <mark@klomp.org>
3375
3376         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
3377         Declare variables at top of functions/block.
3378         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
3379
3380 2004-08-31  Mark Wielaard  <mark@klomp.org>
3381
3382         * java/lang/Rectangle.java (intersects): Check r.width and r.height
3383         first.
3384
3385 2004-08-31  Michael Koch  <konqueror@gmx.de>
3386
3387         * javax/swing/text/PlainView.java
3388         (selectedColor): New field.
3389         (unselectedColor): Likewise.
3390         (font): Likewise.
3391         (updateMetrics): New method.
3392         (lineToRect): Likewise.
3393         (modelToView): Likewise.
3394         (drawSelectedText): Use color from JTextComponent ad draw with
3395         Utilities class.
3396         (drawUnselectedText): Likewise.
3397         (paint): Initialize helper fields.
3398         * javax/swing/text/View.java
3399         (getChildAllocation): New method.
3400         (getViewIndex): Likewise.
3401         (getToolTipText): Likewise.
3402
3403 2004-08-31  Michael Koch  <konqueror@gmx.de>
3404
3405         * javax/swing/text/Utilities.java
3406         (drawTabbedText): Reimplemented.
3407         (getTabbedTextWidth): Likewise.
3408
3409 2004-08-31  Michael Koch  <konqueror@gmx.de>
3410
3411         * javax/swing/plaf/basic/BasicTextUI.java
3412         (installDefaults): Install caret and highlighter.
3413         (modelToView): Use Bias.Forward when calling sibling.
3414         * javax/swing/text/AbstractDocument.java
3415         (ElementEdit): Implements DocumentEvent.ElementChange.
3416         (ElementEdit.ElementEdit): New method.
3417         (ElementEdit.getChildrenAdded): Likewise.
3418         (ElementEdit.getChildrenRemoved): Likewise.
3419         (ElementEdit.getElement): Likewise.
3420         (ElementEdit.getIndex): Likewise.
3421         * javax/swing/text/DefaultCaret.java
3422         (color): Removed.
3423         (textComponent): Renamed from parent, made private.
3424         (selectionVisible): Renamed from vis_sel, made private.
3425         (blinkRate): Renamed from blink, made private.
3426         (magicCaretPosition): Renamed from magic, made private.
3427         (visible): Renamed from vis, made private.
3428         (dot): Made private.
3429         (mark): Likewise.
3430         (deinstall): Remove as MouseMotionListener.
3431         (install): Initialize textComponent first. Add as MouseMotionListener.
3432         (paint): Reimplemented.
3433         * javax/swing/text/JTextComponent.java
3434         (setCaret): Deinstall old caret, install new one and fire property
3435         change after setting property.
3436         (setHighlighter): Deinstall old highlighter, install new one and fire
3437         property change after setting property.
3438         (setCaretColor): Fire property change after setting property.
3439         (setDisabledTextColor): Likewise.
3440         (setSelectedTextColor): Likewise.
3441         (setSelectionColor): Likewise.
3442         (modelToView): New method.
3443
3444 2004-08-31  Michael Koch  <konqueror@gmx.de>
3445
3446         * javax/swing/text/AbstractDocument.java
3447         (getText): Simplified.
3448         * javax/swing/text/Segment.java
3449         (current): New field.
3450         (current): Reimplemented.
3451         (first): Likewise.
3452         (getIndex): Likewise.
3453         (last): Likewise.
3454         (next): Likewise.
3455         (previous): Likewise.
3456         (setIndex): Likewise.
3457
3458 2004-08-31  Michael Koch  <konqueror@gmx.de>
3459
3460         * javax/swing/plaf/basic/BasicButtonUI.java
3461         (defaultTextIconGap): Made protected.
3462         (defaultTextShiftOffset): Likewise.
3463         (textShiftOffset): New field.
3464         (clearTextShiftOffset): New method.
3465         (getTextShiftOffset): Likewise.
3466         (setTextShiftOffset): Likewise.
3467
3468 2004-08-31  Michael Koch  <konqueror@gmx.de>
3469
3470         * javax/swing/plaf/basic/BasicTextUI.java
3471         (installUI): Add eventHandler as property listener.
3472         (uninstallUI): remove eventHandler as propert listener.
3473         (installDefaults): Added comment.
3474         (installListeners): Likewise.
3475         (installKeyboardActions): Likewise.
3476         (uninstallDefaults): Likewise.
3477         (uninstallListeners): Likewise.
3478         (uninstallKeyboardActions): Likewise.
3479
3480 2004-08-31  Michael Koch  <konqueror@gmx.de>
3481
3482         * javax/swing/text/AbstractDocument.java:
3483         Fixed some typos in comments.
3484         (insertString): Reimplemented.
3485         (remove): Likewise.
3486         (replace): New method.
3487         (children): Dont use fully qualified class name.
3488         (DefaultDocumentEvent.offset): Renamed from off.
3489         (DefaultDocumentEvent.length): Renamed from len.
3490         (DefaultDocumentEvent.type): New field.
3491         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
3492         (DefaultDocumentEvent.getType): Implemented.
3493
3494 2004-08-31  Michael Koch  <konqueror@gmx.de>
3495
3496         * javax/swing/plaf/basic/BasicTextUI.java
3497         (RootView.textComponent): Removed.
3498         (RootView.RootView): Don't initialize textComponent.
3499         (RootView.getViewFactory): New method.
3500         (EventHandler): New inner class.
3501         (rootView): Initialize at instance creation.
3502         (eventHandler): New field.
3503         (installUI): Don't create view hierarchy directly,
3504         call modelChanged() instead.
3505         (modelChanged): New method.
3506         * javax/swing/text/JTextComponent.java
3507         (setDocument): Fire property change event.
3508
3509 2004-08-31  Michael Koch  <konqueror@gmx.de>
3510
3511         * javax/swing/plaf/basic/BasicTextUI.java
3512         (RootView.paint): Removed debug output.
3513         (paintSafely): Draw highlighter before text.
3514         (paintBackground): Use background color of text component.
3515         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
3516         Reformatted.
3517
3518 2004-08-31  Michael Koch  <konqueror@gmx.de>
3519
3520         * javax/swing/plaf/basic/BasicToolBarUI.java
3521         (BasicToolBarUI): Fixed arguments for constructor.
3522         (createUI): Fixed creation of object.
3523
3524 2004-08-31  Michael Koch  <konqueror@gmx.de>
3525
3526         * javax/swing/DefaultListSelectionModel.java
3527         (fireValueChanged): Renamed from fireSelectionValueChanged,
3528         made protected.
3529
3530 2004-08-31  Michael Koch  <konqueror@gmx.de>
3531
3532         * javax/swing/text/TabSet.java
3533         (TabSet): Implements java.io.Serializable.
3534         * javax/swing/text/TabStop.java
3535         (TabStop): Implements java.io.Serializable.
3536         (TabStop): Made public.
3537
3538 2004-08-31  Michael Koch  <konqueror@gmx.de>
3539
3540         * javax/swing/JComponent.java
3541         (setUI): Fire PropertyChange.
3542         * javax/swing/JLabel.java
3543         (text): Renamed from labelText.
3544         (horizontalAlignment): New default vlaue.
3545         (icon): Renamed from activeIcon.
3546         (displayedMnemonic): Renamed from mnemonicKey, added default value.
3547         (displayedMnemonicIndex): Renamed from underlineChar.
3548         (setDisplayedMnemonic): Reimplemented.
3549         * javax/swing/JRadioButton.java
3550         (JRadioButton): New constructors.
3551         * javax/swing/JTextField.java
3552         (JTextField): Throw exception if colums < 0, initialitialz
3553         this.columns directly and initialize document with text conditionally.
3554
3555 2004-08-31  Michael Koch  <konqueror@gmx.de>
3556
3557         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
3558         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
3559         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
3560         * javax/swing/text/FieldView.java
3561         (paint): Just call super method for now.
3562         * Makefile.am: Added new files.
3563         * Makefile.in: Regenerated.
3564
3565 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
3566
3567         * javax/swing/AbstractSpinnerModel.java,
3568         javax/swing/JSpinner.java,
3569         javax/swing/SpinnerNumberModel.java,
3570         javax/swing/plaf/basic/BasicSpinnerUI.java:
3571         New files.
3572         * javax/swing/plaf/basic/BasicLookAndFeel.java
3573         (initClassDefaults): Added defaults for BasicSpinnerUI.
3574
3575 2004-08-31  Michael Koch  <konqueror@gmx.de>
3576
3577         * Makefile.am: Added new files.
3578         * Makefile.in: Regenerated.
3579
3580 2004-08-31  Michael Koch  <konqueror@gmx.de>
3581
3582         * javax/swing/TransferHandler.java,
3583         javax/swing/plaf/basic/ComboPopup.java: New files
3584         * Makefile.am: Added javax/swing/TransferHandler.java and
3585         javax/swing/plaf/basic/ComboPopup.java
3586         * Makefile.in: Regenerated.
3587
3588 2004-08-31  Roman Kennke  <roman@ontographics.com>
3589
3590         * javax/swing/text/Utilities.java: New file.
3591
3592 2004-08-31  Michael Koch  <konqueror@gmx.de>
3593
3594         * Makefile.am: Added javax/swing/text/Utilities.java.
3595         * Makefile.in: Regenerated.
3596
3597 2004-08-31  Graydon Hoare  <graydon@redhat.com>
3598
3599         * javax/swing/text/SimpleAttributeSet.java: New file.
3600         * javax/swing/text/StyleConstants.java: New file.
3601         * javax/swing/text/StyleContext.java: New file.
3602         * javax/swing/text/TabSet.java: New file.
3603         * javax/swing/text/TabStop.java: New file.
3604         * javax/swing/text/AbstactDocument.java:
3605         (AbstractElement): Implement attribute support.
3606         * javax/swing/text/AttributeSet.java
3607         (NameAttribute): New static field.
3608         (ResolveAttribute): New static field.
3609         * Makefile.am: Update for new files.
3610         * Makefile.in: Regenerate.
3611
3612 2004-08-31  Craig Black  <craig.black@aonix.com>
3613
3614         * gnu/java/awt/peer/gtk/GdkGraphics.java 
3615         (drawImage): Add support for scaling pixmaps.
3616         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
3617         (copyAndScalePixmap): New native method.
3618  
3619 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3620
3621         PR AWT/16121
3622         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
3623         type-punning compiler warnings using unions.
3624         (throw): Replace bzero with memset.
3625
3626 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
3627             Thomas Fitzsimmons  <fitzsim@redhat.com>
3628
3629         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
3630         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
3631         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
3632         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3633         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
3634
3635 2004-08-31  Mark Wielaard  <mark@klomp.org>
3636
3637         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
3638         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
3639         and stdlib.h, not gtkpeer.h.
3640         (*vm): New static variable.
3641         (areaPreparedID): Make static.
3642         (areaUpdatedID): Likewise.
3643         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
3644         (area_prepared): Likewise.
3645         (area_updated): Likewise.
3646         (closed): Likewise.
3647         (initStaticState): Initialize *vm javaVM.
3648         (pumpBytes): Use given env, not global gdk_env.
3649
3650 2004-08-31  Mark Wielaard  <mark@klomp.org>
3651
3652         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
3653         comments.
3654
3655 2004-08-31  Sven de Marothy  <sven@physto.se>
3656
3657         * java/awt/geom/CubicCurve2D.java: Reindent.
3658         (contains): Implemented.
3659         (intersects): Implemented.
3660         * java/awt/geom/QuadCurve2D.java: Likewise.
3661         * java/awt/geom/GeneralPath.java: Reindent and document.
3662         Fully (re)implemented using separate xpoints and ypoints
3663         float[] coords.
3664         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
3665
3666 2004-08-31  Michael Koch  <konqueror@gmx.de>
3667
3668         * javax/swing/JMenuItem.java
3669         (getMenuDragMouseListeners): New method.
3670         (getMenuKeyListeners): Likewise.
3671
3672 2004-08-31  Michael Koch  <konqueror@gmx.de>
3673
3674         * javax/swing/AbstractButton.java
3675         (model): Made protected.
3676         (actionListener): Likewise.
3677         (changeListener): Likewise.
3678         (itemListener): Likewise.
3679         (multiClickThreshhold): New field.
3680         (getActionListeners): New method.
3681         (getChangeListeners): Likewise.
3682         (getItemListeners): Likewise.
3683         (fireItemStateChanged): Simplified implementation.
3684         (fireActionPerformed): Likewise.
3685         (fireStateChanged): Likewise.
3686         (getMultiClickThreshhold): New method.
3687         (setMultiClickThreshhold): Likewise.
3688
3689 2004-08-31  Tom Tromey  <tromey@redhat.com>
3690
3691         * java/awt/image/Kernel.java (clone): Use super.clone().
3692
3693 2004-08-31  David Jee  <djee@redhat.com>
3694
3695         PR AWT/16682
3696         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3697         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
3698         (nativeSetIconImageFromData): New native method declaration.
3699         (setIconImage): Handle images not produced from GdkPixbufDecoder.
3700         * gnu/java/awt/peer/gtk/GtkImage.java
3701         (getPixelCache): New method.
3702         (getColorModel): New method.
3703         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3704         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
3705         (free_pixbuf_data): New helper function.
3706         (nativeSetIconImageFromData): New function.
3707
3708 2004-08-31  Graydon Hoare  <graydon@redhat.com>
3709
3710         PR SWING/16576
3711         * javax/swing/JLayeredPane.java 
3712         (setLayer): Permit changing layer after addition.
3713         (setPosition): Permit over-length positions.
3714         (layerToRange): Compare intValue()s.
3715         * javax/swing/Box.java (createHorizontalBox): Implement.
3716         (createRigidArea): Likewise.
3717         (createVerticalBox): Likewise.
3718
3719 2004-08-31  Kim Ho  <kho@redhat.com>
3720
3721         * java/awt/Component.java:
3722         (processMouseEvent): Consume event after
3723         listeners process it.
3724         (processMouseMotionEvent): ditto.
3725         (processMouseWheelEvent): ditto.
3726         * java/awt/Container.java:
3727         (acquireComponentForMouseEvent):
3728         Do not dispatch to events that have been
3729         removed from the Container.
3730         (handleEvent): Consume the MouseEvents.
3731         * javax/swing/RepaintManager.java:
3732         (paintDirtyRegions): Do not add to list of 
3733         damaged areas if the component has no root.
3734
3735 2004-08-31  Michael Koch  <konqueror@gmx.de>
3736
3737         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
3738
3739 2004-08-31  Mark Wielaard  <mark@klomp.org>
3740
3741         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
3742         null when a MissingResourceException is thrown. Should never happen.
3743
3744 2004-08-31  Mark Wielaard  <mark@klomp.org>
3745
3746         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
3747         when argument is null.
3748
3749 2004-08-31  Mark Wielaard  <mark@klomp.org>
3750
3751         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3752         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
3753         Define hid at start of function.
3754         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
3755         Likewise.
3756
3757 2004-08-31  Mark Wielaard  <mark@klomp.org>
3758
3759         * gnu/java/awt/EmbeddedWindow.java: Reindent.
3760         * javax/swing/JButton.java: Reindent.
3761         * javax/swing/JCheckBox.java: Reindent.
3762
3763 2004-08-31  Mark Wielaard  <mark@klomp.org>
3764
3765         * Makefile.am (gtk_c_source_files): Added
3766         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
3767         (gtk_awt_peer_sources): Added
3768         gnu/java/awt/peer/gtk/GThreadMutex.java and
3769         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
3770         * Makefile.in: Regenerated.
3771
3772 2004-08-31  Archie Cobbs  <archie@dellroad.org>
3773
3774         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
3775
3776 2004-08-31  Steven Augart  <augart@watson.ibm.com>
3777
3778         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
3779         Added jfieldID, jmethodID.
3780
3781 2004-08-31  Mark Wielaard  <mark@klomp.org>
3782
3783         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3784         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
3785         gdk_env before calling any gdk or gtk function.
3786
3787         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
3788         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
3789         (run): Set gtkInitCalled.
3790
3791 2004-08-31  Steven Augart  <augart@watson.ibm.com>
3792
3793         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
3794         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
3795
3796         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3797         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
3798         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
3799         init_glib_threads. 
3800         (init_glib_threads): New function.
3801
3802 2004-08-31  Mark Wielaard  <mark@klomp.org>
3803
3804         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
3805         PRIORITY when not already defined in header file.
3806
3807 2004-08-31  Mark Wielaard  <mark@klomp.org>
3808
3809         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
3810         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
3811
3812 2004-08-31  Steven Augart  <augart@watson.ibm.com>
3813
3814         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
3815         Implemented missing functions for GTK2.
3816         Added error handling.
3817         Renamed static functions out of the g_ namespace.
3818         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
3819         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
3820         Rewrote global-reference code.
3821         Eliminated cascading errors.
3822         (mutex_trylock_jni_impl) Fully implemented.
3823         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
3824         resolution.
3825         (setup_cache) New function.
3826         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
3827         bug where they were not unlocking the GMutex associated with the
3828         condition variable during the wait on that condition variable.
3829
3830         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3831         native/jni/gtk-peer/gthread-jni.c,
3832         native/jni/gtk-peer/gthread-jni.h
3833         (g_thread_jni_functions): Renamed to ...
3834         (portable_native_sync_jni_functions): this name.
3835         (gdk_vm): Renamed to...
3836         (the_vm): this name.
3837
3838         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3839         (gdk_vm): Removed duplicate definition.
3840         (gtkInit): Removed stray message to stdout.
3841         (gtkInit): Use g_malloc and g_free instead of malloc and free.
3842         (gtkInit): Fix a const assignment bug.
3843         (gtkInit): Simplified code.
3844
3845         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3846         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
3847         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
3848         gnu/java/awt/peer/gtk/GThreadMutex.java:
3849         New files.
3850
3851 2004-08-31  Mark Wielaard  <mark@klomp.org>
3852
3853         * javax/swing/Box.java: Put FIXME comment above class declaration.
3854         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
3855         * javax/swing/JCheckBox.java: Likewise.
3856         * javax/swing/JDialog.java: Likewise.
3857         * javax/swing/JRadioButton.java: Likewise.
3858         * javax/swing/JToggleButton.java: Likewise.
3859         * javax/swing/UIManager.java: Likewise.
3860         * javax/swing/border/TitledBorder.java: Likewise.
3861         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3862         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3863         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
3864         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3865         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
3866         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3867         * javax/swing/text/JTextComponent.java: Likewise.
3868
3869 2004-08-31  David Jee  <djee@redhat.com>
3870
3871         PR AWT/16682
3872         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3873         (setIconImage): Add a FIXME for unhandled cases.
3874
3875 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3876
3877         PR AWT/16040
3878         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
3879         getModifiers.  Replace old button masks with new ones.
3880         * gnu/awt/xlib/XEventLoop.java: Likewise.
3881         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
3882         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3883         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
3884         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
3885         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
3886         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
3887         * java/awt/Component.java: Replace old modifier masks with new
3888         ones.
3889         * java/awt/Container.java: Call getModifiersEx, not
3890         getModifiers.
3891         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
3892         old modifier masks.
3893         * javax/swing/JMenuItem.java: Replace old button masks with new
3894         ones.
3895         * javax/swing/KeyStroke.java: Call getModifiersEx, not
3896         getModifiers.
3897         * javax/swing/SwingUtilities.java: Likewise.
3898         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
3899         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
3900         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
3901         mask macros with new ones.
3902         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
3903         macros with new ones representing new masks.
3904
3905 2004-08-31  Craig Black  <craig.black@aonix.com>
3906
3907         * gnu/java/awt/peer/gtk/GdkGraphics.java
3908         (drawRoundRect): Implemented.
3909         (fillRoundRect): Implemented.
3910         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
3911         (drawRoundRect): Reimplemented to match GdkGraphics.
3912         (fillRoundRect): Reimplemented to match GdkGraphics.
3913
3914 2004-08-31  Mark Wielaard  <mark@klomp.org>
3915
3916         * Makefile.in: Regenerated.
3917
3918 2004-08-31  Michael Koch  <konqueror@gmx.de>
3919
3920         * gnu/java/awt/EmbeddedWindow.java
3921         (addNotify): Use AccessController to allow execution of privileged
3922         code.
3923
3924 2004-08-31  Michael Koch  <konqueror@gmx.de>
3925
3926         * gnu/java/awt/EmbeddedWindow.java
3927         (static): Removed.
3928         (addNotify): Set peer via reflection.
3929         (setWindowPeer): Removed.
3930         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
3931         * Makefile.am (nat_source_files):
3932         Removed gnu/java/awt/natEmbeddedWindow.cc.
3933
3934 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3935
3936         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
3937         and gnu/java/security/action/SetAccessibleAction.java.
3938
3939 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3940
3941         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3942         Renamed from 'setName'. New 2-argument form with default value.
3943         (run): Pass default 'value' parameter to System.getProperty().
3944         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3945         typos.
3946
3947 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3948
3949         * gnu/java/security/action/GetPropertyAction.java: New class.
3950         * gnu/java/security/action/SetAccessibleAction.java: New class.
3951
3952 2004-08-31  David Jee  <djee@redhat.com>
3953
3954         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3955         (setIconImage): Check if image is null.
3956
3957 2004-08-31  David Jee  <djee@redhat.com>
3958
3959         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3960         (create): Set the icon image.
3961         (nativeSetIconImage): New native method declaration.
3962         (setIconImage): Implement.
3963         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3964         (nativeSetIconImage): New function.
3965
3966 2004-08-31  Dalibor Topic <robilad@kaffe.org>
3967
3968         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3969         (filenameFilterCallback): Declare local variable accepted before use.
3970
3971 2004-08-31  Dalibor Topic <robilad@kaffe.org>
3972
3973         * gnu/java/awt/ComponentDataBlitOp.java:
3974         Cleaned up imports.
3975
3976 2004-08-31  Tom Tromey  <tromey@redhat.com>
3977
3978         * gnu/java/awt/peer/GLightweightPeer.java,
3979         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3980         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3981         javax/swing/JScrollPane.java: Removed
3982         redundant imports.
3983
3984 2004-08-31  David Jee  <djee@redhat.com>
3985
3986         * java/awt/DefaultKeyboardFocusManager.java
3987         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
3988         event.  Fix shift modifier checking.
3989         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3990         (accel_attach): Remove.
3991         (setupAccelGroup): Remove calls to accel_attach.
3992
3993 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3994
3995         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
3996         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
3997
3998         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
3999         GtkArgList.java.
4000         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
4001         * Makefile.in: Regenerate.
4002         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4003         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
4004         (create(String)): New method.
4005         (create): Call new create method.
4006         (getArgs): Remove method.
4007         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4008         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
4009         (nativeCreate): Rename to create.
4010         (gtkSetLabel): Rename to gtkButtonSetLabel.
4011         (gtkToggleButtonSetActive): New method.
4012         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
4013         (setState): Replace set call with gtkToggleButtonSetActive.
4014         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
4015         (getArgs): Remove method.
4016         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4017         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4018         (gtkWidgetSetSensitive): New method.
4019         (gtkWidgetSetParent): Likewise.
4020         (GtkComponentPeer): Call setParent, setComponentBounds and
4021         setVisibleAndEnabled.
4022         (setParent): New method.
4023         (setComponentBounds): New method.
4024         (setVisibleAndEnabled): New method.
4025         (setEnabled): Call gtkWidgetSetSensitive.
4026         (getArgs): Remove method.
4027         Remove all set methods.
4028         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
4029         gtkWindowSetModal, setTitle and setResizable.
4030         (getArgs): Remove method.
4031         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4032         (setComponentBounds): New method.
4033         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
4034         Replace set call with gtkWindowSetResizable.
4035         (getArgs): Remove method.
4036         (create): Call setTitle and setResizable.
4037         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4038         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4039         (gtkWindowSetTitle): New method.
4040         (gtkWindowSetResizable): New method.
4041         (gtkWindowSetModal): New method.
4042         (setParent): New method.
4043         (setVisibleAndEnabled): New method.
4044         (getArgs): Remove method.
4045         (setTitle): Call gtkWindowSetTitle.
4046         (setResizable): Call gtkWindowSetResizable.
4047         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
4048         and off locking instrumentation.
4049
4050 2004-08-31  Kim Ho  <kho@redhat.com>
4051
4052         * Makefile.am: Add new file.
4053         * Makefile.in: Regenerate.
4054         * gcj/Makefile.in: Regenerate
4055         * include/Makefile.in:
4056         * java/awt/Container.java:
4057         (acquireComponentForMouseEvent): Respect 
4058         the event mask when looking for candidate.
4059         * javax/swing/JComponent.java:
4060         Remove toolTip field.
4061         (createToolTip): Create a tooltip on demand.
4062         (setToolTipText): Register with the ToolTipManager.
4063         (getToolTipText(MouseEvent)): Return getToolTipText().
4064         * javax/swing/JToolTip.java: Implement.
4065         * javax/swing/Timer.java: Jalopy.
4066         (restart): Call stop, then start.
4067         (stop): Interrupt the timer rather than wait for
4068         the timer to come to a stop naturally.
4069         * javax/swing/ToolTipManager.java: Implement.
4070         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4071         Change ToolTip.background color.
4072         * javax/swing/plaf/basic/BasicToolTipUI.java:
4073         Implement.
4074         * testsuite/Makefile.in: Regenerate
4075
4076 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
4077
4078         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
4079         constructor param comments.
4080
4081 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
4082
4083         * java/awt/Component.java: Document AWT 1.0 event handler
4084         methods.
4085
4086 2004-08-31  Roman Kennke  <roman@ontographics.com>
4087
4088         * javax/swing/Box.java:
4089         (createGlue): Implemented
4090         (createHorizontalGlue): Implemented
4091         (createHorizontalStrut): Implemented
4092         (createVerticalGlue): Implemented
4093         (createVerticalStrut): Implemented
4094
4095 2004-08-31  David Jee  <djee@redhat.com>
4096
4097         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
4098         (GtkChoicePeer): Do not automatically select first item.
4099         (getHistory): Remove.
4100         (nativeGetSelected): New method.
4101         (nativeRemoveAll): New method.
4102         (add): Use nativeGetSelected() instead of getHistory().
4103         (remove): Likewise.
4104         (removeAll): Call nativeRemoveAll().
4105         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4106         (create): Migrate to GtkComboBox.
4107         (append): Likewise.
4108         (nativeAdd): Likewise.
4109         (nativeRemove): Likewise.
4110         (select): Likewise.
4111         (nativeRemoveAll): New method.
4112         (nativeGetSelected): New method.
4113         (selection_changed): New method.
4114         (getHistory): Remove.
4115         (item_activate): Remove.
4116         (item_removed): Remove.
4117         (connect_choice_item_selectable_hook): Remove.
4118
4119 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
4120
4121         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
4122         variable in setEditable call.
4123
4124         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4125         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4126         (gtkWidgetSetBackground): New method.
4127         (gtkWidgetSetForeground): Likewise.
4128         (create): Set peer's editable state based on awtComponent's.
4129
4130         * java/awt/Button.java (Button()): Use empty string rather than
4131         null in no-label constructor.
4132
4133 2004-08-31  Roman Kennke  <roman@ontographics.com>
4134
4135         * javax/swing/BoxLayout.java: Reimplement.
4136
4137 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
4138
4139         * gnu/java/awt/peer/gtk/GdkGraphics.java,
4140         gnu_java_awt_peer_gtk_GdkGraphics.c
4141         (initState(GtkComponentPeer)): Don't return array of colour
4142         values.
4143         (GdkGraphics(int,int)): Set default font to size 12.
4144         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
4145         component's foreground colour.
4146         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4147         gnu_java_awt_peer_gtk_GdkGraphics2D.c
4148         (initState(GtkComponentPeer)): Don't return array of colour
4149         values.
4150         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
4151         colours to component's colours.
4152         (current_colors_of_widget): Remove function.
4153         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
4154         Return a new graphics object.
4155         * java/awt/Font.java (toString): Fix format.
4156         * java/awt/Graphics.java (toString): Likewise.
4157
4158 2004-08-31  Craig Black  <craig.black@aonix.com>
4159
4160         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
4161         (addTearOff): New function.
4162         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
4163         New native method.
4164         (init): Call addTearOff() when menu.isTearOff().
4165
4166 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
4167
4168         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
4169         Default implementation.
4170         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
4171         Implement using GdkPixbufDecoder.
4172
4173 2004-08-31  David Jee  <djee@redhat.com>
4174
4175         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
4176         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
4177         setting the size of GtkFileDialogPeers.
4178         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4179         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
4180         use their default sizes rather than their natural requisitions.
4181
4182 2004-08-31  Michael Koch  <konqueror@gmx.de>
4183
4184         * javax/swing/JFormattedTextField.java
4185         (JFormattedTextField): Implemented.
4186         * javax/swing/text/DefaultEditorKit.java
4187         (BeepAction): New inner class.
4188         * javax/swing/text/Segment.java
4189         (partialReturn): New field.
4190         (setPartialReturn): New method.
4191         (isPartialReturn): Likewise.
4192         * javax/swing/text/View.java
4193         (createFragment): Fixed typo.
4194         (getStartOffset): New method.
4195         (getEndOffset): Likewise.
4196
4197 2004-08-31  Michael Koch  <konqueror@gmx.de>
4198
4199         * javax/swing/table/DefaultTableColumnModel.java
4200         (serialVersionUID): Made private.
4201         (listenerList): Initialize.
4202         (changeEvent): Initialize.
4203         * javax/swing/table/JTableHeader.java
4204         (JTableHeader): New constructors.
4205         (createDefaultColumnModel): New method.
4206         * javax/swing/table/TableColumn.java
4207         (setHeaderRenderer): Simplified code.
4208         (setCellRenderer): Likewise.
4209         (setWidth): Likewise.
4210
4211 2004-08-31  Tom Tromey  <tromey@redhat.com>
4212
4213         * java/text/AttributedString.java (AttributedString): Use
4214         ArrayList to build array of attribute ranges.  Don't use
4215         `attribs' before it is set.
4216
4217 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
4218
4219         * HACKING: Remove reference to special automake. No longer needed.
4220
4221 2004-08-30  Tom Tromey  <tromey@redhat.com>
4222
4223         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
4224         return result from `add'.
4225
4226 2004-08-30  Tom Tromey  <tromey@redhat.com>
4227
4228         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
4229
4230 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
4231
4232         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
4233
4234 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
4235
4236         * java/io/File.java File(String,String): Fixed handling of empty
4237         path.
4238
4239 2004-08-30  Casey Marshall  <csm@gnu.org>
4240
4241         Author e-mail updated for all files.
4242         * gnu/java/security/OID.java (equals): Test if the aurgment is an
4243         instance of OID.
4244         (compareTo): Use `equals'.
4245         * gnu/java/security/der/BitString.java (equals): Test if the
4246         argument is an instance of BitString.
4247         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
4248         class final. Made fields private.
4249         (<init>): New constructor.
4250         (skip): New method.
4251         (makeString): Made static; don't use NIO.
4252         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
4253         * gnu/java/security/der/DERWriter.java: Fixed imports.
4254         (writeString): Don't use NIO.
4255         (toIso88591, toUtf16Be, toUtf8): New methods.
4256         * gnu/java/security/der/DERValue.java: Formatting changes only.
4257         * gnu/java/security/der/DER.java: Likewise.
4258
4259 2004-08-30  Tom Tromey  <tromey@redhat.com>
4260
4261         * java/nio/CharBuffer.java (put): Fix typo.
4262         * java/nio/DoubleBuffer.java (put): Fix typo.
4263         * java/nio/FloatBuffer.java (put): Fix typo.
4264         * java/nio/IntBuffer.java (put): Fix typo.
4265         * java/nio/LongBuffer.java (put): Fix typo.
4266         * java/nio/ShortBuffer.java (put): Fix typo.
4267
4268 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
4269
4270         * java/nio/ByteBuffer.java (put): Fix typo.
4271
4272 2004-08-30  Casey Marshall  <csm@gnu.org>
4273
4274         * java/security/DummyKeyPairGenerator.java (clone): Removed
4275         useless instanceof check.
4276         * java/security/DummyMessageDigest.java (clone): Likewise.
4277         * java/security/DummySignature.java (clone): Likewise.
4278         * java/security/MessageDigest.java (clone): Remove useless
4279         instanceof check.
4280         * java/security/MessageDigestSpi.java (clone): Likewise.
4281         * java/security/Signature.java (clone): Provide meaningful
4282         implementation.
4283         * java/security/SignatureSpi.java (clone): Likewise.
4284
4285 2004-08-29  Mark Wielaard  <mark@klomp.org>
4286
4287         * java/util/Arrays.java
4288         (sort(byte[], int, int)): Check fromIndex < 0.
4289         (sort(char[], int, int)): Likewise.
4290         (sort(short[], int, int)): Likewise.
4291         (sort(int[], int, int)): Likewise.
4292         (sort(long[], int, int)): Likewise.
4293         (sort(float[], int, int)): Likewise.
4294         (sort(double[], int, int)): Likewise.
4295         (sort(Object[], int, int, Comparator)): Likewise.
4296         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
4297         (qsort(char[], int, int)): Likewise.
4298         (qsort(short[], int, int)): Likewise.
4299         (qsort(int[], int, int)): Likewise.
4300         (qsort(long[], int, int)): Likewise.
4301         (qsort(float[], int, int)): Likewise.
4302         (qsort(double[], int, int)): Likewise.
4303
4304 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4305
4306         * java/util/AbstractCollection.java, java/util/AbstractList.java,
4307         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
4308         java/util/ArrayList.java, java/util/Arrays.java,
4309         java/util/BitSet.java, java/util/Calendar.java,
4310         java/util/Collection.java, java/util/ListIterator.java,
4311         java/util/Map.java, java/util/SortedSet.java:
4312         Added additional exceptions to documentation, along
4313         with some additions and corrections.
4314
4315 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
4316
4317         * configure.ac: Handle --enable-gc-debug.
4318         * configure: Regenerate.
4319         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
4320         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
4321         Rearrange include file order.
4322         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
4323         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
4324         (disable_gc_mutex): Delete along with all references.
4325         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
4326         adjust for debug header size.
4327         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
4328         debug case.
4329         (_Jv_AllocArray): Declare min_heap_addr only if needed.
4330         (gcj_describe_type_fn): New.
4331         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
4332         Register gcj_describe_type_fn.
4333         * include/boehm-gc.h:
4334         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
4335         Don't define, but declare, for debug case.
4336         * java/lang/natObject.cc:
4337         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
4338
4339 2004-08-26  Mark Wielaard  <mark@klomp.org>
4340
4341         Fixes PR libgcj/17002:
4342         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
4343         a TimeZoneId string and then try to convert that to a TimeZone with
4344         getDefaultSystemTimeZone(String).
4345         (timezones0): Changed type from Hashtable to HashMap.
4346         (timezones): Create HashMap, not Hashtable.
4347         (getDefaultTimeZone): New method, rewritten from CNI version.
4348         (readTimeZoneFile): New method.
4349         (readtzFile): Likewise.
4350         (skipFully): Likewise.
4351         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
4352         getDefaultTimeZoneId and rewritten.
4353         (getDefaultTimeZoneId): Rewritten in java.
4354         
4355 2004-08-25  David Daney  <daney@avtrex.com>
4356
4357         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
4358         * Makefile.in: Regenerated.
4359
4360 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
4361
4362         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
4363         only if jvmpi is enabled.
4364         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
4365         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
4366         (_Jv_AllocString): Likewise.
4367         (_Jv_AllocPtrFreeObject): Likewise.     
4368
4369 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
4370
4371         * defineclass.cc: Include <stdio.h>.
4372         * java/lang/natClassLoader.cc: Include <stdio.h>.
4373
4374 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
4375             Michael Koch  <konqueror@gmx.de>
4376
4377         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
4378         * Makefile.in: Regenerated.
4379
4380 2004-08-20  Michael Koch  <konqueror@gmx.de>
4381
4382         * configure.ac: Replaced all AC_TRY_COMPILE macros with
4383         AC_COMPILE_IFELSE macros.
4384
4385 2004-08-20  Michael Koch  <konqueror@gmx.de>
4386
4387         * configure.in: Renamed to configure.ac.
4388         * configure.ac: New file.
4389         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
4390         include/config.h.in, testsuite/Makefile.in: Regenerated.
4391
4392 2004-08-20  Michael Koch  <konqueror@gmx.de>
4393
4394         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
4395         * aclocal.m4, configure: Regenerated.
4396
4397 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
4398             Michael Koch  <konqueror@gmx.de>
4399
4400         * configure.in, Makefile.am: Ported to automake 1.9.
4401         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
4402         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
4403         Regenerated.
4404
4405 2004-08-19  Tom Tromey  <tromey@redhat.com>
4406
4407         * java/net/DatagramSocket.java: Fixed typo.
4408
4409 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
4410
4411         PR libgcj/17081
4412         * java/net/URI.java (string): New field. Make all other fields
4413         transient.
4414         (readObject): Implemented.
4415         (writeObject): Implemented.
4416         (URI): Set 'string'.
4417
4418 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
4419
4420         PR libgcj/17079
4421         * java/util/logging/Handler.java (isLoggable): Accept record if its
4422         log level equals the threshold level. From Robin Green.
4423
4424 2004-08-18  David Daney  <ddaney@avtrex.com>
4425
4426         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
4427         instead of sigwait.
4428
4429 2004-08-17  Michael Koch  <konqueror@gmx.de>
4430
4431         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
4432         * Makefile.in: Regenerated.
4433
4434 2004-08-16  Tom Tromey  <tromey@redhat.com>
4435
4436         PR java/8473:
4437         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
4438
4439 2004-08-16  Michael Koch  <konqueror@gmx.de>
4440
4441         * Makefile.am
4442         (math_c_files): Renamed from c_files.
4443         (math_c_source_files): Renamed from c_source_files.
4444         * Makefile.in,
4445         gcj/Makefile.in,
4446         include/Makefile.in,
4447         testsuite/Makefile.in: Regenerated.
4448
4449 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
4450
4451         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
4452         to avoid autoconf warning.
4453         * configure: Rebuilt.
4454
4455 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
4456
4457         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
4458         localhostAddress to loopbackAddress.
4459         * java/net/natInetAddressWin32.cc (lookup): Likewise.
4460
4461 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
4462
4463         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
4464         boehm-gc's include dirs.
4465         * configure: Rebuilt.
4466         * include/boehm-gc.h: Include gc_config.h.
4467
4468 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
4469
4470         * java/net/InetAddress.java (loopbackAddress): Renamed from 
4471         localhostAddress.
4472         (getByName): Return loopback address for null hostname, without
4473         security check. Use lookup(), not getAllByName.
4474         (getAllByName): Return loopback address for null hostname, without
4475         security check.
4476         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
4477         check here.
4478
4479 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
4480
4481         PR libgcj/17020
4482         Reported by Robin Green.
4483         * defineclass.cc (handleField): Don't throw exception on unrecognised
4484         modifier. Add FIXME comments for spec compliance.
4485         (handleMethod): Likewise.
4486
4487 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
4488
4489         PR libgcj/16662
4490         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
4491         (Almost everywhere): add LOG calls, fix, add comments.
4492         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
4493         Add explicit check for LOCKED bit in slow case (PR 16662).
4494         (_Jv_MonitorExit): Add casts in debug-only code.
4495         Always release LOCKED bit before throwing exception.
4496         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
4497         isn't.  Handle easy cases without lock acquisition.
4498         (Object::wait): Use NotifyAll for lock inflation.
4499
4500 2004-08-12  David Daney  <ddaney@avtrex.com>
4501
4502         * testsuite/libjava.lang/Process_1.java: New test.
4503         * testsuite/libjava.lang/Process_2.java: New test.
4504         * testsuite/libjava.lang/Process_3.java: New test.
4505         * testsuite/libjava.lang/Process_4.java: New test.
4506         * testsuite/libjava.lang/Process_5.java: New test.
4507         * testsuite/libjava.lang/Process_6.java: New test.
4508         * testsuite/libjava.lang/Process_1.out: Expected result.
4509         * testsuite/libjava.lang/Process_2.out: Expected result.
4510         * testsuite/libjava.lang/Process_3.out: Expected result.
4511         * testsuite/libjava.lang/Process_4.out: Expected result.
4512         * testsuite/libjava.lang/Process_5.out: Expected result.
4513         * testsuite/libjava.lang/Process_6.out: Expected result.
4514
4515 2004-08-12  David Daney  <ddaney@avtrex.com>
4516
4517         PR libgcj/11801
4518         * java/lang/PosixProcess.java: Rewrote.
4519         * java/lang/natPosixProcess.cc: Rewrote.
4520         * java/lang/Runtime.java (execInternal): Declare throws IOException.
4521         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
4522         * posix-threads.cc (block_sigchld) New function.
4523         (_Jv_ThreadRegister) Use it.
4524         (_Jv_ThreadStart) Use it.
4525         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
4526         * Makefile.am: ... to specify extra native headers.
4527         * configure: Regenerated.
4528         * include/config.h: Regenerated.
4529         * Makefile.in: Regenerated.
4530         * gcj/Makefile.in: Regenerated.
4531         * include/Makefile.in: Regenerated.
4532         * testsuite/Makefile.in: Regenerated.
4533
4534 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
4535
4536         PR tree-optimization/16867
4537         * testsuite/libjava.lang/PR16867.java: New test.
4538
4539 2004-08-09  Per Bothner  <per@bothner.com>
4540
4541         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
4542         with private fields and access methods.
4543         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
4544         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
4545         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
4546         ( _Jv_makeUtf8Const): Rewrite using new constructors.
4547         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
4548         * defineclass.cc: Use new _Utf8Const access/convenience methods.
4549         * jni.cc: Likewise.
4550         * resolve.cc: Likewise.
4551         * gcj/field.h: Likewise.
4552         * include/jvm.h: Likewise.
4553         * java/lang/Class.h: Likewise.
4554         * java/lang/natClass.cc: Likwise.
4555         * java/lang/natClassLoader.cc: Likewise
4556         * java/lang/reflect/natMethod.cc: Likewise
4557         * verify.cc: Likewise.
4558         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
4559         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
4560
4561 2004-08-10  Andrew Haley  <aph@redhat.com>
4562
4563         * testsuite/libjava.lang/err14.java: New file.
4564         * testsuite/libjava.lang/err14.out: New file.
4565
4566 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
4567
4568         * Makefile.am: Fix missing rename from x_nat_headers to 
4569         xlib_nat_headers.
4570         * Makefile.in: Regenerated.
4571
4572 2004-08-04  Andrew Haley  <aph@redhat.com>
4573
4574         * java/security/BasicPermission.java: Don't check wildcards.
4575
4576 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
4577             Michael Koch  <konqueror@gmx.de>
4578
4579         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
4580         * configure.in: Replaced all usages of AC_LINK_FILES by
4581         AC_CONFIG_LINKS.
4582         * aclocal.m4,
4583         configure: Regenerated.
4584
4585 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
4586             Michael Koch  <konqueror@gmx.de>
4587
4588         * acconfig.h: Removed.
4589         * Makefile.am: Rename variables for xlib peer to include xlib and
4590         gtk_c_headers to gtk_jni_headers.
4591         * Makefile.in: Regenerated.
4592
4593 2004-08-04  Andrew Haley  <aph@redhat.com>
4594
4595         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
4596         debugging.
4597
4598 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
4599
4600         * configure.in: Eliminate uses of changequote (mostly by quoting []).
4601         Replace most top level 'dnl' comments with '#' comments, conforming
4602         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
4603         help strings.
4604         * configure: Rebuilt.
4605
4606 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
4607
4608         * acinclude.m4: Include no-executables.m4.
4609         * aclocal.m4: Rebuild.
4610         * configure.in: Convert to the autoconf 2.59 version of
4611         of the no-executables hack, and also of the nonstandard CXX
4612         hack and the multilibbed CC and CXX hack.  Change prerequisite
4613         to autoconf 2.59.
4614         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
4615         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4616         testsuite/Makefile.in: Regenerate.
4617
4618 2004-08-03  Tom Tromey  <tromey@redhat.com>
4619
4620         * jni.cc: Reindented.
4621
4622 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
4623
4624         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
4625
4626 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
4627
4628         * testsuite/libjava.compile/PR16701.java: New test.
4629
4630 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4631
4632         * java/util/Collection.java, java/util/List.java,
4633         java/util/Map.java, java/util/Set.java,
4634         java/util/SortedMap.java, java/util/SortedSet.java:
4635         Added additional exceptions to documentation.
4636
4637 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
4638
4639         PR libgcj/16814
4640         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
4641         * configure. Regenerate.
4642         * include/win32.h: Explicitly include winsock2.h
4643         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
4644         Winsock api.
4645
4646 2004-07-30  Michael Koch  <konqueror@gmx.de>
4647
4648         * java/util/zip/GZIPInputStream.java
4649         (GZIPInputStream): Increase buffer size to 4k.
4650         * java/util/zip/GZIPOutputStream.java
4651         (GZIPOutputStream): Likewise.
4652         * java/util/zip/Inflater.java
4653         (setInput): Merged formating with GNU classpath.
4654         * java/util/zip/InflaterInputStream.java
4655         (InflaterInputStream): Increase buffer size to 4k.
4656         (fill): Throw exception if stream ends early.
4657         (read): Merged endless-loop with GNU classpath.
4658         (skip): Increase buffer size to 2k.
4659
4660 2004-07-30  Michael Koch  <konqueror@gmx.de>
4661
4662         * gnu/java/awt/EmbeddedWindow.java
4663         (addNotify): Use AccessController to allow execution of privileged
4664         code.
4665
4666 2004-07-29  Michael Koch  <konqueror@gmx.de>
4667
4668         * gnu/java/lang/MainThread.java:
4669         Explicitely import used classes.
4670         (args): Make it type String[].
4671
4672 2004-07-29 Dalibor Topic <robilad@kaffe.org>
4673
4674         * gnu/java/awt/ComponentDataBlitOp.java,
4675         gnu/java/beans/ExplicitBeanInfo.java,
4676         gnu/java/beans/IntrospectionIncubator.java,
4677         gnu/java/beans/editors/ColorEditor.java,
4678         gnu/java/beans/editors/FontEditor.java,
4679         gnu/java/beans/editors/NativeBooleanEditor.java,
4680         gnu/java/beans/editors/NativeByteEditor.java,
4681         gnu/java/beans/editors/NativeDoubleEditor.java,
4682         gnu/java/beans/editors/NativeFloatEditor.java,
4683         gnu/java/beans/editors/NativeIntEditor.java,
4684         gnu/java/beans/editors/NativeLongEditor.java,
4685         gnu/java/beans/editors/NativeShortEditor.java,
4686         gnu/java/beans/editors/StringEditor.java,
4687         gnu/java/io/ClassLoaderObjectInputStream.java,
4688         gnu/java/io/decode/Decoder.java,
4689         gnu/java/io/encode/Encoder.java,
4690         gnu/java/lang/ClassHelper.java,
4691         gnu/java/locale/Calendar.java,
4692         gnu/java/locale/Calendar_de.java,
4693         gnu/java/locale/Calendar_en.java,
4694         gnu/java/locale/Calendar_nl.java,
4695         gnu/java/locale/LocaleInformation_de.java,
4696         gnu/java/locale/LocaleInformation_en.java,
4697         gnu/java/locale/LocaleInformation_nl.java:
4698         Cleaned up imports.
4699
4700 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
4701
4702         * README: Remove obsolete info. Update bug URL.
4703         * THANKS: Updated.
4704         * NEWS: Updated with news up to GCC 3.4 release.
4705
4706 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
4707
4708         * gnu/java/security/action/GetPropertyAction.java (setParameters):
4709         Renamed from 'setName'. New 2-argument form with default value.
4710         (run): Pass default 'value' parameter to System.getProperty().
4711         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
4712         typos.
4713         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
4714         not 'setName'.
4715
4716 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
4717
4718         * configure.in: Check for minimum GTK version 2.4 requirement.
4719         * configure: Rebuilt.
4720
4721 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
4722
4723         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
4724         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
4725         Reduce sleep time.
4726         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
4727         compiler bug.
4728         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
4729         address. Reduce sleep times. Synchronize with target threads before
4730         attempting to interrupt them. Don't try to calibrate yeild count,
4731         instead, always loop for a fixed time.
4732         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
4733         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
4734         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
4735         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
4736         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
4737         * testsuite/libjava.lang/pr179.java: Likewise.
4738         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
4739         time. Remove upper bounds check on sleep time. 
4740
4741 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
4742
4743         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
4744         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
4745
4746 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
4747
4748         * java/io/File.java (toURI): Throw RuntimeException, not 
4749         InternalError.
4750         * java/lang/Runtime.java (exit): Qualify static sleep() call with
4751         class name, not instance.
4752
4753 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
4754
4755         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
4756         and gnu/java/security/action/SetAccessibleAction.java.
4757         * Makefile.in: Rebuilt.
4758
4759 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
4760
4761         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
4762         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
4763         _Jv_InitPrimClass.
4764         (DECLARE_PRIM_TYPE): Don't declare array vtables.
4765         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
4766         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
4767
4768 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
4769
4770         * Makefile.am: Replace jar, rmic and rmiregistry references with
4771         gjar, grmic and grmiregistry.
4772         * configure.in: Likewise.
4773         * Makefile.in: Regenerate.
4774         * configure: Likewise.
4775         * gcj/Makefile.in: Likewise.
4776         * include/Makefile.in: Likewise.
4777         * testsuite/Makefile.in: Likewise.
4778
4779 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
4780
4781         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
4782         for privileged getProperty calls.
4783         * java/io/ObjectOutputStream.java (getField): No longer static. Use
4784         SetAccessibleAction instead of anonymous class for doPrivileged call.
4785         (getMethod): Likewise.
4786         (setAccessible): New field. PrivilegedAction object to use when
4787         calling setAccessible.
4788         * java/io/ObjectStreamClass.java (calculateOffsets): Use
4789         SetAccessibleAction instead of anonymous class for diPrivileged call.
4790         (setFields): Likewise.
4791         (getClassUID): Likewise.
4792         (findMethod): Likewise.
4793         * gnu/java/security/action/GetPropertyAction.java: New class.
4794         * gnu/java/security/action/SetAccessibleAction.java: New class. 
4795
4796 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
4797
4798         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
4799         for final fields.
4800         * testsuite/libjava.lang/Serialization.java: New test.
4801         * testsuite/libjava.lang/Serialization.out: New.
4802
4803 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
4804
4805         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
4806         missed in last commit.
4807
4808 2004-07-23  Mark Wielaard  <mark@klomp.org>
4809
4810         * java/lang/System.java (static): Set http.agent system property when
4811         not yet set.
4812         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
4813         from system property inside AccessController.doPrivileged() call.
4814         (proxyPort): Made package private.
4815         (proxyInUse): Likewise.
4816         (proxyHost): Likewise.
4817         (userAgent): Likewise.
4818
4819 2004-07-23  Mark Wielaard  <mark@klomp.org>
4820
4821         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
4822         implementation.
4823
4824 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
4825
4826         * Makefile.am (ordinary_java_source_files): Add
4827         DefaultContentHandlerFactory.java.
4828         * Makefile.in: Rebuilt.
4829         * java/net/URLConnection.java (defaultFactory): New field.
4830         (getContent): 
4831         (getContentHandler): Renamed from 'setContentHandler'. Try 
4832         defaultFactory after user-set factory, if any. Search for content 
4833         handler implementations in gnu.java.net.content, not gnu.gcj.content.
4834         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
4835         Implemented.
4836         (getLastModified): Implemented.
4837         (getPermission): Create file permission here, instead of in
4838         constructor.
4839         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
4840         Implemented.
4841         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
4842         Implemented.
4843         (getLastModified): Implemented.
4844         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
4845         Default implementation.
4846         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
4847         Implement using GdkPixbufDecoder.
4848         
4849 2004-07-21  Michael Koch  <konqueror@gmx.de>
4850
4851         * javax/swing/JTextArea.java
4852         (setLineWrap): Fire property change event after new value is set.
4853         (setTabSize): Likewise.
4854
4855 2004-07-21  Michael Koch  <konqueror@gmx.de>
4856
4857         * javax/swing/JTable.java
4858         (autoCreateColumnsFromModel): New field.
4859         (autoResizeMode): Likewise.
4860         (cellEditor): Likewise.
4861         (cellSelectionEnabled): Likewise.
4862         (columnModel): Likewise.
4863         (dataModel): Likewise.
4864         (defaultEditorsByColumnClass): Likewise.
4865         (defaultRenderersByColumnClass): Likewise.
4866         (editingColumn): Likewise.
4867         (editingRow): Likewise.
4868         (gridColor): Likewise.
4869         (preferredViewportSize): Likewise.
4870         (rowHeight): Likewise.
4871         (rowMargin): Likewise.
4872         (rowSelectionAllowed): Likewise.
4873         (selectionBackground): Likewise.
4874         (selectionForeground): Likewise.
4875         (selectionModel): Likewise.
4876         (showHorizontalLines): Likewise.
4877         (showVerticalLines): Likewise.
4878         (tableHeader): Likewise.
4879         (JTable): Implemented.
4880         (getColumnModel): Likewise.
4881         (getSelectedRow): Likewise.
4882         (getSelectionModel): Likewise.
4883         (setModel): Likewise.
4884         (setSelectionModel): Likewise.
4885         (createScrollPaneForTable): New method.
4886         (createDefaultDataModel): Likewise.
4887         (createDefaultListSelectionModel): Likewise.
4888         (getModel): Likewise.
4889         (getTableHeader): Likewise.
4890         (setTableHeader): Likewise.
4891         (getColumnSelectionAllowed): Likewise.
4892         (setColumnSelectionAllowed): Likewise.
4893         (getRowSelectionAllowed): Likewise.
4894         (setRowSelectionAllowed): Likewise.
4895         (getAutoResizeMode): Likewise.
4896         (setAutoResizeMode): Likewise.
4897         (getColumnCount): Likewise.
4898         (getRowCount): Likewise.
4899         (getCellRenderer): Likewise.
4900         * javax/swing/JTree.java
4901         (cellRenderer): New field.
4902         (editable): Likewise.
4903         (rootVisible): Likewise.
4904         (showsRootHandles): Likewise.
4905         (getModel): New method.
4906         (setModel): Likewise.
4907         (isEditable): Likewise.
4908         (setEditable): Likewise.
4909         (isRootVisbile): Likewise.
4910         (setRootVisible): Likewise.
4911         (getShowsRootHandles): Likewise.
4912         (setShowRootHandles): Likewise.
4913         (getCellRenderer): Likewise.
4914         (setCellRenderer): Likewise.
4915
4916 2004-07-21  Michael Koch  <konqueror@gmx.de>
4917
4918         * javax/swing/JFormattedTextField.java
4919         (setDocument): Implemented.
4920         * javax/swing/JRootPane.java:
4921         Fixed javadocs.
4922         * javax/swing/JTable.java
4923         (getDefaultRenderer): New method.
4924         * javax/swing/JTextField.java
4925         (setFont): Likewise.
4926         (getPreferredSize): Likewise.
4927         * javax/swing/JToggleButton.java
4928         (getAccessibleContext): Fix javadoc.
4929         * javax/swing/JTree.java:
4930         Add some javadocs.
4931         * javax/swing/JViewport.java:
4932         Likewise.
4933
4934 2004-07-21  David Jee  <djee@redhat.com>
4935
4936         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
4937         Collect all native method declaration at the top.
4938         (create): Set the filename filter if necessary.
4939         (setDirectory): Call nativeSetDirectory().
4940         (setFilenameFilter): Implement.
4941         (filenameFilterCallback): New method.
4942         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4943         (create): Configure dialog to show hidden files.
4944         (filenameFilterCallback): New function. 
4945         (nativeSetFilenameFilter): New function.
4946         (nativeSetDirectory): New function.
4947
4948 2004-07-21  Kim Ho  <kho@redhat.com>
4949
4950         * javax/swing/plaf/basic/BasicSliderUI.java:
4951         Ran Jalopy.
4952         (paintTrack): Fill the track before painting
4953         the borders.
4954
4955 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4956
4957         patch from Roman Kennke <roman@ontographics.com>
4958         * javax/swing/Spring.java: New file.
4959         * javax/swing/SpringLayout.java: New file.
4960         * Makefile.am: Add new files.
4961         * Makefile.in: Regenerate.
4962
4963 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4964
4965         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
4966         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
4967         * javax/swing/ScrollPaneLayout.java: Likewise.
4968
4969 2004-07-21  Kim Ho  <kho@redhat.com>
4970
4971         * javax/swing/DefaultDesktopManager.java:
4972         (findMinimum): Removed.
4973         (resizeFrame): Trust the UI to pass valid 
4974         bounds.
4975         * javax/swing/JOptionPane.java:
4976         Implemented showInternalXXXDialog methods.
4977         (startModal): New method.
4978         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
4979         (BorderListener::mouseDragged): Verify that the new 
4980         bounds are valid before passing them to the DesktopManager.
4981         (preferredLayoutSize): Delegate
4982         to getSize.
4983         (minimumLayoutSize): Ditto.
4984         (getSize): New method.
4985         (GlassPaneDispatcher): Reimplemented by copying 
4986         a stripped down LightweightDispatcher from Container.
4987         (getMinimumSize): Call minimumLayoutSize.
4988         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
4989         Ran Jalopy.
4990         (mousePressed): Add ability to properly close 
4991         JInternalFrames.
4992         * javax/swing/plaf/basic/BasicToolBarUI.java:
4993         (DragWindow): Set owner for DragWindow.
4994
4995 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
4996
4997         * java/awt/image/ShortLookupTable.java: New file.
4998         * java/awt/image/ByteLookupTable.java: New file.
4999         * Makefile.am: Added new files.
5000         * Makefile.in: Regenerated.
5001
5002 2004-07-21  David Jee  <djee@redhat.com>
5003
5004         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
5005         (create(GtkContainerPeer)): New native method.
5006         (create()): Call native create(), passing in the parent frame
5007         as the paramter. Natively set the current file and directory.
5008         (setFile): Construct an absolute filename before passing it to
5009         the native peer.
5010         (nativeGetDirectory): New method.
5011         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5012         (window_closed): Removed.
5013         (ok_clicked): Likewise.
5014         (cancel_clicked): Likewise.
5015         (handle_response): New method.
5016         (create): Use GtkFileChooserDialog.
5017         (connectSignals): Connect to handle_response.
5018         (nativeGetDirectory): New method.
5019         (nativeSetFile): Use GtkFileChooserDialog.
5020
5021 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
5022
5023         * java/awt/image/LookupTable.java: New file.
5024         * Makefile.am: Added new file.
5025         * Makefile.in: Regenerated.
5026
5027 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
5028
5029         * java/awt/image/Kernel.java: New file.
5030         * Makefile.am: Added new file.
5031         * Makefile.in: Regenerated.
5032
5033 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5034
5035         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
5036         * javax/swing/JMenu.java: Likewise.
5037         * javax/swing/JMenuBar.java: Likewise.
5038         (MARGIN_CHANGED_PROPERTY): New property.
5039         (setMargin): Implemented.
5040         * javax/swing/JMenuItem.java: Fixed javadocs.
5041         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
5042         (LABEL_CHANGED_PROPERTY): New property.
5043         (add): changed to use createActionComponent.
5044         (createActionComponent): Implemented.   
5045         (setLabel): Fire PropertyChangeEvent if label property
5046         changes.
5047         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
5048         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5049         (ContainerHandler): Repaint if margin property has changed.
5050         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5051         (installUI): Call installComponents().
5052         (uninstallUI): Call uinstallComponents().
5053         * javax/swing/plaf/basic/BasicMenuUI.java:
5054         Fixed javadocs.
5055         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5056         Likewise.
5057
5058 2004-07-21  Kim Ho  <kho@redhat.com>
5059
5060         * javax/swing/plaf/basic/BasicToolBarUI.java:
5061         (DragWindow): Use the right constructor.
5062
5063 2004-07-21  Kim Ho  <kho@redhat.com>
5064
5065         * javax/swing/JToolBar.java:
5066         (layoutContainer): Use getComponents.
5067         * javax/swing/plaf/basic/BasicToolBarUI.java:
5068         (DragWindow): Don't use SwingUtilities' 
5069         getOwnerFrame
5070         (ToolBarDialog): ditto.
5071
5072 2004-07-21  Kim Ho  <kho@redhat.com>
5073
5074         * javax/swing/JRootPane.java:
5075         Ran jalopy.
5076         (layoutContainer): Set the glasspane's size to 
5077         be the same as the content pane.
5078         (createGlassPane): Set opaque property to false.
5079
5080 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5081
5082         * java/awt/Component.java (requestFocus()): Don't handle Panels
5083         specially.
5084         (requestFocus(boolean)): Likewise.
5085         (requestFocusInWindow(boolean)): Likewise.
5086         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
5087         Set GTK_CAN_FOCUS flag.
5088
5089 2004-07-21  Kim Ho  <kho@redhat.com>
5090
5091         * Makefile.am: Added new file.
5092         * Makefile.in: Regenerated.
5093         * gcj/Makefile.in: Regenerated.
5094         * include/Makefile.in: Regenerated.
5095         * javax/swing/AbstractButton.java:
5096         Add rollOverEnabled property.
5097         (setRolloverEnabled): Use new property.
5098         (isRolloverEnabled): Use new property.
5099         * javax/swing/JTabbedPane.java:
5100         (setComponent): Remove useless JTabbedPane.this.
5101         * javax/swing/JToolBar.java: Finish implementation.
5102         * javax/swing/plaf/basic/BasicArrowButton.java:
5103         (paint): Moved border painting to a border.
5104         * javax/swing/plaf/basic/BasicLookAndFeel.java:
5105         Change JToolBar look and feel defaults.
5106         * javax/swing/plaf/basic/BasicOptionPaneUI.java
5107         (actionPerformed): Return Integer index instead of name.
5108         (addButtonComponents): Check to see if component is
5109         JButton last.
5110         (createMessageArea): Don't use components that are not
5111         completed yet.
5112         (getIconForType): Use temporary icons.
5113         * javax/swing/plaf/basic/BasicSliderUI.java:
5114         (mousePressed): Do not return if it's on thumb.
5115         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
5116         (paintMinorTickForVertSlider): ditto.
5117         (paintMajorTickForHorizSlider): ditto.
5118         (paintMajorTickForVertSlider): ditto.
5119         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
5120         Add a border around the SplitPaneDivider.
5121         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
5122         Remove comments.
5123         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
5124         New file. Implemented.
5125         * javax/swing/plaf/basic/BasicToolBarUI.java:
5126         Implemented.
5127         * testsuite/Makefile.in: Regenerated.
5128
5129 2004-07-21  Graydon Hoare  <graydon@redhat.com>
5130
5131         * javax/swing/Timer.java (run): Queue events each time cycle.
5132
5133 2004-07-21  David Jee  <djee@redhat.com>
5134
5135         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5136         (imageComplete): Call image.imageComplete().
5137         * java/awt/image/MemoryImageSource.java:
5138         Reimplement consumers as a Vector instead of a Hashtable.  This is
5139         because enumeration on a Hashtable is not thread-safe.
5140         (addConsumer): Adapt to Vector consumers.
5141         (isConsumer): Adapt to Vector consumers.
5142         (removeConsumer): Adapt to Vector consumers.
5143         (startProduction): Adapt to Vector consumers. Call imageComplete()
5144         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
5145         (newPixels): Adapt to Vector consumers.
5146         (sendPicture): Set the color model of the image consumer.
5147         (newPixels(IIII)): Adapt to Vector consumers.
5148         (newPixels(IIIIB)): Adapt to Vector consumers.
5149
5150 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5151
5152         * java/awt/Component.java (deliverEvent): Implement.
5153         (postEvent): Implement.
5154         (handleEvent): Implement.
5155         (translateEvent): New method.
5156         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
5157         * java/awt/Container.java (deliverEvent): Implement.
5158         * java/awt/Event.java (paramString): Fix formatting.
5159         * java/awt/Font.java (toString): Likewise.
5160         * java/awt/Window.java (postEvent): Implement.
5161
5162 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5163
5164         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
5165         Set window's focus owner upon receiving a FOCUS_LOST event.
5166         * java/awt/Window.java (Window()): Refocus the previously
5167         focused component within the window when the window regains the
5168         top-level focus.
5169         (setFocusOwner): New method.
5170         * java/awt/Component.java (requestFocus): Add FIXME.
5171
5172         * libgcj.pc.in: Remove library flags.
5173
5174 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5175
5176         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
5177         MOUSE_PRESSED event.
5178         * java/awt/Component.java (requestFocus()): Handle Panel
5179         specially.  Post FOCUS_LOST event on opposite component.
5180         (requestFocus(boolean)): Likewise.
5181         (requestFocusInWindow(boolean)): Likewise.
5182         (paramString): Reorder dimension fields.
5183         * java/awt/Container.java (paramString): Fix string format.
5184         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
5185         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
5186         process key events if the focus owner is non-null.
5187         (dispatchKeyEvent): Likewise.
5188         * java/awt/Frame.java (paramString): Fix formatting.
5189         (generateName): New method.
5190         (getUniqueLong): Likewise.
5191         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
5192         the temporary focus owner is null.  If so, return the permanent
5193         focus owner.
5194         * java/awt/Panel.java (generateName): New method.
5195         (getUniqueLong): Likewise.
5196         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
5197         signal handling to make callbacks more specific.
5198
5199 2004-07-21  Michael Koch  <konqueror@gmx.de>
5200
5201         * javax/swing/text/Position.java
5202         (Bias): Implemented.
5203
5204 2004-07-21  Michael Koch  <konqueror@gmx.de>
5205
5206         * javax/swing/LookAndFeel.java
5207         (provideErrorFeedback): New method.
5208
5209 2004-07-21  Michael Koch  <konqueror@gmx.de>
5210
5211         * javax/swing/JTextArea.java
5212         (tabSize): New field.
5213         (getTabSize): New method.
5214         (setTabSize): Likewise.
5215
5216 2004-07-21  Michael Koch  <konqueror@gmx.de>
5217
5218         * javax/swing/ActionMap.java:
5219         Fixed javadocs all over.
5220         (serialVersionUID): Made private.
5221         (parent): Don't explicitely initialize with default value.
5222         (get): SImplified.
5223         (keys): Reimplemented.
5224         (allKeys): Likewise.
5225         (convertSet): Removed.
5226         * javax/swing/ComponentInputMap.java:
5227         Fixed javadocs all over.
5228         (ComponentInputMap): Implemented.
5229         (put): Likewise.
5230         (clear): Likewise.
5231         (remove): Likewise.
5232         (SetParent): Likewise.
5233         (getComponent): Likewise.
5234         * javax/swing/InputMap.java:
5235         Fixed javadocs all over.
5236         (serialVersionUID): Made private.
5237         (parent): Don't explicitely initialize with default value.
5238         (get): SImplified.
5239         (keys): Reimplemented.
5240         (allKeys): Likewise.
5241         (convertSet): Removed.
5242
5243 2004-07-21  Michael Koch  <konqueror@gmx.de>
5244
5245         * javax/swing/ActionMap.java,
5246         javax/swing/ComponentInputMap.java,
5247         javax/swing/InputMap.java,
5248         javax/swing/table/DefaultTableColumnModel.java,
5249         javax/swing/table/TableColumn.java,
5250         javax/swing/table/TableColumnModel.java,
5251         javax/swing/table/TableModel.java,
5252         javax/swing/text/AbstractDocument.java,
5253         javax/swing/text/TextAction.java:
5254         Reformated.
5255
5256 2004-07-21  Graydon Hoare  <graydon@redhat.com>
5257
5258         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
5259         Make method non-static.
5260         * javax/swing/AbstractButton.java:
5261         Rename fields to match property names where possible.
5262         (iconTextGap): New property.
5263         * javax/swing/JCheckBox.java: Match AbstractButton changes.
5264         (init) New method, call from after various constructors.
5265         * javax/swing/JComponent.java (revalidate): 
5266         Invalidate before queueing repair.
5267         * javax/swing/JList.java (getPreferredScrollableViewportSize):
5268         Reimplement in terms of visibleRowCount property.
5269         * javax/swing/JMenuButton.java: Match AbstractButton changes.
5270         * javax/swing/JScrollPane.java (createScrollListener): 
5271         Remove tracing chatter.
5272         * javax/swing/JToggleButton.java: Match AbstractButton changes.
5273         * javax/swing/RepaintManager.java (addInvalidComponent): 
5274         Don't invalidate.
5275         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
5276         calculations.
5277         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
5278         Mimic sun behavior on top left/right positioning.
5279         * javax/swing/ViewportLayout.java (preferredLayoutSize):
5280         Remove mistaken use of preferredScrollableViewportSize here.
5281         (layoutContainer): Use view's preferred size as basis.
5282         * javax/swing/plaf/basic/BasicButtonUI.java:
5283         Set, get, and use textIconGap property.
5284         (paint) Paint text returned from layout (with ellipsis).
5285         * javax/swing/plaf/basic/BasicListUI.java:
5286         Remove tracing chatter, correct various minor calculations.
5287         (getCellBounds): Update layout state before calculating.
5288         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
5289         Use margin default similar to sun's.    
5290         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
5291         (createIncreaseIcon): Center icon, minimize margins.
5292         (createDecreaseIcon): Likewise.
5293         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
5294         Implement.
5295         (installUI): Call it.
5296         (uninstallDefaults): Implement.
5297         (uninstallUI): Call it.
5298         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
5299         Call existing Window constructor.
5300         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
5301         Set clip before painting.
5302
5303 2004-07-21  Olga Rodimina <rodimina@redhat.com>
5304         
5305         * javax/swing/JMenuItem.java:
5306         (processMouseEvent): Reimplemented to deal with
5307         mouse drag events.
5308         (createMenuDragMouseEvent): New private helper method.
5309         Creates MenuDragMouseEvent.
5310         * javax/swing/MenuSelectionManager.java
5311         (componentForPoint): Implemented.
5312         (isComponentPartOfCurrentMenu): Made public.
5313         (processMouseEvent): Reimplemented to deal with 
5314         mouse drag events.
5315         (setSelectedPath): Corrected small mistake that caused
5316         path to be set incorrectly.
5317         (getPath): If given component is JMenu then also add this
5318         menu's popup menu to the selected path.
5319         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5320         (getPath): Ditto.
5321         (getPreferredSize): Call getPreferredMenuItemSize().
5322         (getPreferredItemSize): Moved code from getPreferredSize to here.
5323         (installListeners): Install MouseMotionListeners.
5324         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
5325         if mouse wasn't released in the bounds of this menu item.
5326         (MenuDragMouseHandler): Implemented.
5327         * javax/swing/plaf/basic/BasicMenuUI.java:
5328         (installListeners): Install MouseMotionListener and 
5329         MenuDrageMouseListener.
5330         (MenuDragMouseHandler): Implemented.
5331         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5332         (uninstallListeners): Implemented.
5333         
5334 2004-07-21  Michael Koch  <konqueror@gmx.de>
5335
5336         * javax/swing/JCheckBox.java: Reformated.
5337         (JCheckBox): Fixed all constructors.
5338         (isBorderPaintedFlat): New method.
5339         (setBorderPaintedFlat): New method.
5340         * javax/swing/JEditorPane.java
5341         (createEditorKitForContentType): Made public.
5342         (scrollToReference): Likewise.
5343         * javax/swing/JTextArea.java
5344         (setLineWrap): Fire property change.
5345         * javax/swing/JToggleButton.java
5346         (JToggleButton): New constructor.
5347         (JToggleButton): Simplified.
5348         * javax/swing/text/AttributeSet.java
5349         (FontAttribute): Renamed from FontCharacterAttribute.
5350         * javax/swing/text/JTextComponent.java
5351         (KeyBinBinding): Added javadoc.
5352         (JTextComponent): Likewise.
5353         (getAccessibleContext): Fixed javadoc.
5354         * javax/swing/text/View.java
5355         (View): Added javadoc.
5356         * javax/swing/text/TabableView.java: New file.
5357         * Makefile.am: Added javax/swing/text/TabableView.java.
5358         * Makefile.in: Regenerated.
5359
5360 2004-07-21  Graydon Hoare  <graydon@redhat.com>
5361
5362         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
5363         * gnu/java/awt/peer/gtk/GtkToolkit.java 
5364         (GtkErrorImage): New helper class.
5365         (bufferedImageOrError): New helper method.
5366         (createImage): Use it.
5367
5368 2004-07-21  David Jee  <djee@redhat.com>
5369
5370         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5371         (setCaretPosition): Scroll the text view so the new caret position
5372         is visible on screen.
5373
5374 2004-07-21  David Jee  <djee@redhat.com>
5375
5376         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
5377         (setBounds): Do not validate awtComponent here.
5378         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
5379         (getPreferredSize): New method.
5380         * java/awt/ScrollPane.java
5381         (ScrollPane): Set default size to 100x100.
5382         (addNotify): If child is not a Panel, wrap it with a new Panel.
5383         (paramString): Implement.
5384
5385 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5386
5387         * javax/swing/JMenu.java:
5388         (setSelected): Display popup menu only if this menu 
5389         is showing on the screen.
5390         * javax/swing/JPopupMenu.java:
5391         (processMouseEvent): Added comment.
5392         (processKeyEvent): Likewise.
5393         * javax/swing/MenuSelectionManager.java:
5394         (clearSelectedPath): Only fireStateChanged() after
5395         selected path was changed, not before.
5396         (setSelectedPath): Likewise.
5397         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5398         (paintMenuItem): Corrected position of menu item's
5399         icon.
5400         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5401         (installUI): Correct setDefaultLightWeightPopupEnabled call.
5402         (popupMenuCanceled): Reimplemented.
5403         (popupMenuWillBecomeVisible): Select first menu item by default 
5404         when displaying free floating popup menus.
5405         (TopWindowListener): Reimplemented.
5406
5407 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5408
5409         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
5410         Panel from being painted twice when it is first shown.
5411
5412 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5413
5414         * java/awt/Window.java: Reverted changes from my 
5415         previous patch for creating window without an owner.
5416         * javax/swing/SwingUtilities.java: 
5417         (SwingUtilities.OwnerFrame): made static.
5418         (OwnerFrame.setVisible): New method. Overridden with
5419         empty implementation.
5420         (OwnerFrame.isShowing): New method. Ovverridden
5421         to return always true.
5422
5423 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5424
5425         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5426         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5427         (GtkComponentPeer): Remove temporary try/catch block.
5428         (setVisible): Call show and hide.
5429         (show): Make native.
5430         (hide): Likewise.
5431         (getArgs): Don't add "visible" argument.
5432         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5433         (property_notify_predicate): Return Bool instead of int.
5434         (find_layout): New function.
5435         (connectJObject): Call find_layout.
5436         (connectSignals): Likewise.
5437         (moveLayout): Likewise.
5438         (gtkLayoutSetVisible): Likewise.
5439
5440 2004-07-21  Mark Wielaard  <mark@klomp.org>
5441
5442         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
5443         on notifier object before calling notifyAll().
5444
5445 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5446
5447         * java/awt/Window.java: Changed constructors to use new
5448         method that is described below. Constructors call this
5449         methods only if newly created window should have an owner.
5450         (setWindowOwner): New method. Implementation for
5451         this method is moved from this(owner,configuration).
5452         * javax/swing/JWindow.java:
5453         (JWindow): Reimplement to use SwingUtilities.ownerFrame
5454         instead of owner.
5455         * javax/swing/SwingUtilities.java:
5456         (ownerFrame): Change type of this field to OwnerFrame.
5457         (getOwnerFrame): Changed to return object of type OwnerFrame.
5458         (SwingUtilities.OwnerFrame): New class. Represents owner
5459         of a Window that is not provided with one.
5460
5461 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5462
5463         *  javax/swing/AbstractButton.java: 
5464         (configurePropertiesFromAction): Set action command
5465         to button's text by default if action command is not 
5466         explicitely specified.
5467         * javax/swing/JMenu.java: Remove unnecessary listener
5468         and methods relevant to it.
5469         (setSelected): Reimplemented.
5470         (menuSelectionChanged): Moved most part of implementation to
5471         setSelected() and call it instead.
5472         * javax/swing/JMenuItem.java: 
5473         (init): Comment out statement that sets paint_border to false.
5474         (configurePropertiesFromAction): Do not set accelerator
5475         for JMenu.
5476         (menuSelectionChanged): Change selected index in the selection
5477         model of menu item's parent.
5478         * javax/swing/JPopupMenu.java:
5479         (remove): Set constraints.fill field to GridBagConstraints.BOTH
5480         instead of GridBagConstraints.HORIZONTAL.
5481         (insert): Likewise.
5482         (createActionChangeListener): Implemented.
5483         (setVisible): Correct location of HeavyWeightMenu and 
5484         don't firePopupMenuCanceled().
5485         (menuSelectionChanged): Implemented.
5486         (ActionChangeListener): New Listener. Implemented.
5487         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5488         (BasicMenuBarUI.ContainerHandler): Implemented.
5489         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5490         (paintMenuItem): Uncommented out code that paints 
5491         icon, now that icons are working properly.
5492         (PropertyChangeListener): Implemented.
5493         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5494         Added javadocs.
5495         (topWindowListener): New field.
5496         (Constructor): initialize topWindowListener.
5497         (BasicPopupMenuUI.TopWindowListener): Implemented.      
5498         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
5499         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
5500         Implemented.
5501
5502 2004-07-21  Michael Koch  <konqueror@gmx.de>
5503
5504         * javax/swing/plaf/basic/BasicButtonUI.java
5505         (paintFocus): Fixed method signature.
5506         (paintButtonPressed): Likewise.
5507         (paintButtonNormal): Likewise.
5508         (paintText): New method.
5509         * javax/swing/plaf/basic/BasicLabelUI.java
5510         (paint): Re-indented.
5511         * javax/swing/plaf/basic/BasicTextUI.java
5512         (installUI): Set parent textComponent to opaque.
5513         * javax/swing/text/DefaultHighlighter.java
5514         (checkPositions): New helper method.
5515         (addHighlight): Throws BadLocationException, check positions.
5516         (changeHighlight): Likewise.
5517         * javax/swing/text/EditorKit.java
5518         (EditorKit): Implements Serializable.
5519         * javax/swing/text/JTextComponent.java
5520         (getUI): Added javadoc.
5521         (setUI): Likewise.
5522         (upadteUI): Added javadoc, don't revalidate and repaint.
5523
5524 2004-07-21  David Jee  <djee@redhat.com>
5525
5526         * java/awt/GridBagLayout.java
5527         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
5528         * javax/swing/AbstractButton.java
5529         (setText): Reindent.
5530         * javax/swing/RepaintManager.java
5531         (addInvalidComponent): Find the first ancestor that isValidateRoot().
5532
5533 2004-07-21  Michael Koch  <konqueror@gmx.de>
5534
5535         * javax/swing/JFormattedTextField.java
5536         (value): New field.
5537         (JFormattedTextField): Implemented.
5538         (getValue): Likewise.
5539         (setValue): Likewise.
5540         * javax/swing/LookAndFeel.java
5541         (getSupportsWindowDecorations): New method.
5542         * javax/swing/UIDefaults.java:
5543         Use java.beans.PropertyChangeSupport instead of doing all ourself.
5544         (addPropertyChangeListener): Made public.
5545         (addResourceBundle): Likewise.
5546         (removeResourceBundle): Likewise.
5547         (setDefaultLocale): Likewise.
5548         * javax/swing/plaf/basic/BasicRootPaneUI.java
5549         (BasicRootPaneUI): Implements PropertyChangeListener.
5550         (propertyChange): New method.
5551         * javax/swing/plaf/basic/BasicTextUI.java
5552         (BasicHighlighter): New inner class.
5553         (createHighlighter): New method.
5554         * javax/swing/plaf/basic/BasicToolBarUI.java
5555         (DragWindow): Extends java.awt.Window.
5556         * javax/swing/text/JTextComponent.java
5557         (getDocument): Removed debug output.
5558         * javax/swing/plaf/basic/BasicTextFieldUI.java,
5559         javax/swing/text/DefaultHighlighter.java,
5560         javax/swing/text/FieldView.java,
5561         javax/swing/text/PlainView.java: New files.
5562         * Makefile.am: Added new files.
5563         * Makefile.in: Regenerated.
5564
5565 2004-07-21  Michael Koch  <konqueror@gmx.de>
5566
5567         * javax/swing/JEditorPane.java
5568         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
5569         (createEditorKitForContentType): Likewise.
5570         * javax/swing/text/DefaultEditorKit.java
5571         (serialVersionUID): Added constant field.
5572         (EndOfLineStringPropery): Fixed typo.
5573         (DefaultEditorKit): New constructor.
5574         * javax/swing/text/Segment.java:
5575         Import java.text.CharacterIterator.
5576         * javax/swing/text/CharacterIterator.java,
5577         javax/swing/text/PlainEditorKit.java: Removed.
5578         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
5579         javax/swing/text/PlainEditorKit.java.
5580         * Makefile.in: Regenerated.
5581
5582 2004-07-21  Michael Koch  <konqueror@gmx.de>
5583
5584         * javax/swing/JButton.java,
5585         javax/swing/text/DefaultEditorKit.java,
5586         javax/swing/text/EditorKit.java,
5587         javax/swing/text/Segment.java,
5588         javax/swing/text/StyledEditorKit.java:
5589         Reformatted.
5590
5591 2004-07-21  Michael Koch  <konqueror@gmx.de>
5592
5593         * javax/swing/ImageIcon.java
5594         (file): Removed.
5595         (description): Renamed from descr.
5596         (ImageIcon): Added missing constructors.
5597         (setParent): Removed.
5598         (setImageObserver): New method.
5599         (getImageObserver): New method.
5600         (paintIcon): Handle observer = null.
5601         * javax/swing/JButton.java
5602         (removeNotify): Fixed javadoc.
5603         (updateUI): Simplified.
5604         * javax/swing/JRootPane.java
5605         (serialVersionUID): New constant field.
5606         * javax/swing/UIManager.java:
5607         Fixed javadocs all over.
5608         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
5609         * javax/swing/text/AbstractDocument.java
5610         (createPosition): Throws BadLocationException.
5611         (getText): Likewise.
5612         (remove): Likewise.
5613         * javax/swing/text/ComponentView.java
5614         (modelToView): Likewise.
5615         * javax/swing/text/DefaultEditorKit.java:
5616         Made all public methods public.
5617         (read): Throws BadLocationException and IOException.
5618         (write): Likewise.
5619         * javax/swing/text/EditorKit.java:
5620         Made all public methods public.
5621         (serialVersionUID): New constant field.
5622         (clone): New method.
5623         (read): Throws BadLocationException and IOException.
5624         (write): Likewise.
5625         * javax/swing/text/Segment.java
5626         (array): Made public.
5627         (count): Likewise.
5628         (offset): Likewise.
5629         (Segment): New constructors.
5630         (clone): Reimplemented.
5631         * javax/swing/text/StyledEditorKit.java
5632         (serialVersionUID): New constant field.
5633
5634 2004-07-21  Graydon Hoare  <graydon@redhat.com>
5635
5636         * java/awt/image/BufferedImage.java 
5637         (getSource): Implement.
5638         * javax/swing/ImageIcon.java 
5639         (ImageIcon): Implement ctor.
5640         * javax/swing/ScrollPaneLayout.java 
5641         (preferredLayoutSize): Be more careful about nulls.
5642
5643 2004-07-21  Michael Koch  <konqueror@gmx.de>
5644
5645         * javax/swing/text/AttributeSet.java
5646         (CharacterAttribute): New interface
5647         (ColorAttribute): Likewise.
5648         (FontCharacterAttribute): Likewise.
5649         (ParagraphAttribute): Likewise.
5650         * javax/swing/text/DefaultCaret.java
5651         (moveCaret): New method.
5652         (positionCaret): Likewise.
5653         (repaint): Made protected.
5654         * javax/swing/text/JTextComponent.java
5655         (KeyBinding): Made it static.
5656         * javax/swing/text/View.java
5657         (getContainer): Honor parent == null.
5658
5659 2004-07-21  Michael Koch  <konqueror@gmx.de>
5660
5661         * javax/swing/text/AbstractDocument.java:
5662         Reformatted.
5663
5664 2004-07-21  Michael Koch  <konqueror@gmx.de>
5665
5666         * javax/swing/plaf/basic/BasicRootPaneUI.java:
5667         Import javax.swing.UIManager explicitely.
5668         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5669         (ScrollingButton): Made it static.
5670
5671 2004-07-21  Michael Koch  <konqueror@gmx.de>
5672
5673         * javax/swing/UIDefaults.java
5674         (ActiveValue): Made public.
5675         (LazyValue): Likewise.
5676         * javax/swing/plaf/basic/BasicTextUI.java
5677         (RootView): Reintroduced.
5678         (view): Removed.
5679         (rootView): New field.
5680         (installUI): Create document if needed, initialize rootView.
5681         (uninstallUI): Hanle rootView.
5682         (paint): Likewise.
5683         (getRootView): Likewise.
5684         (setView): Likewise.
5685         * javax/swing/text/DefaultCaret.java:
5686         Renamed all "evt" variables to "event".
5687
5688 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5689
5690         * libgcj.spec.in: Add -l-java-util-logging.
5691
5692 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
5693
5694         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5695         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
5696         gtk-xft-dpi can no calculate the right value.
5697         (dpi_changed_cb): Mark *pspec as unsused.
5698
5699 2004-07-21  David Jee  <djee@redhat.com>
5700
5701         * java/awt/Component.java
5702         (move): Delegate to setBounds().
5703         (resize): Likewise.
5704         (reshape): Fix so it repaints parent and self only when necessary.
5705
5706 2004-07-21  David Jee  <djee@redhat.com>
5707
5708         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5709         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5710         (GtkComponentPeer): Revert previous patch from 2004-06-22.
5711         (setVisible): Likewise.
5712         (show): Likewise.
5713         (hide): Likewise.
5714         (getArgs): Likewise.
5715         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5716         (property_notify_predicate): Likewise.
5717         (find_layout): Likewise.
5718         (connectJObject): Likewise.
5719         (connectSignals): Likewise.
5720         (moveLayout): Likewise.
5721         (gtkLayoutSetVisible): Likewise.
5722
5723 2004-07-21  Graydon Hoare  <graydon@redhat.com>
5724
5725         * Makefile.am
5726         (jv_convert_LDADD):
5727         (gij_LDADD):
5728         (rmic_LDADD):
5729         (rmiregistry_LDADD): Add lib-java-util-logging.la
5730         * Makefile.in: Regenerate.
5731
5732 2004-07-21  Michael Koch  <konqueror@gmx.de>
5733
5734         * javax/swing/text/AbstractDocument.java
5735         (replace): Dont use protected method of java.util.Vector directly.
5736
5737 2004-07-21  Michael Koch  <konqueror@gmx.de>
5738
5739         * javax/swing/plaf/basic/BasicTextUI.java
5740         (installUI): Call specialized install methods.
5741         (installDefaults): New method.
5742         (installListeners): Likewise.
5743         (installKeyboardActions): Likewise.
5744         (uninstallUI): Likewise.
5745         (uninstallDefaults): New method.
5746         (uninstallListeners): Likewise.
5747         (uninstallKeyboardActions): Likewise.
5748         (getPropertyPrefix): New abstract method.
5749         (paint): Made final, just call paintSafely().
5750         (paintSavely): New method.
5751         (paintBackground): Likewise.
5752         (getVisibleEditorRect): Likewise.
5753         * javax/swing/text/LayeredHighlighter.java,
5754         javax/swing/text/TabExpander.java: New files.
5755         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
5756         and javax/swing/text/TabExpander.java.
5757         * Makefile.in: Regenerated.
5758
5759 2004-07-21  Michael Koch  <konqueror@gmx.de>
5760
5761         * javax/swing/plaf/basic/BasicTextUI.java
5762         (BasicTextUI): Made abstract.
5763         (BasicCaret): New inner class.
5764         (view): Don't explicitely initialize with "null".
5765         (textComponent): New field.
5766         (textColor): Removed.
5767         (disabledTextColor): Removed.
5768         (normalBackgroundColor): Removed.
5769         (RootView): Removed commented out inner class.
5770         (createUI): Removed.
5771         (createCaret): New method.
5772         (getComponent): Likewise.
5773         (installUI): Initialize textComponent only.
5774         (getPreferredSize): Use installed JTextComponent.
5775         (setView): New method.
5776         (create): Likewise.
5777         * javax/swing/text/JTextComponent.java
5778         (highlighter): New field.
5779         (caretColor): Likewise.
5780         (disabledTextColor): Likewise.
5781         (seletedTextColor): Likewise.
5782         (selectionColor): Likewise.
5783         (setUI): New method.
5784         (getCaretColor): Likewise.
5785         (setCaretColor): Likewise.
5786         (getDisabledColor): Likewise.
5787         (setDisabledColor): Likewise.
5788         (getSelectedTextColor): Likewise.
5789         (setSelectedTextColor): Likewise.
5790         (getSelectionColor): Likewise.
5791         (setSelectionColor): Likewise.
5792         (getHighlighter): Likewise.
5793         (setHighlighter): Likewise.
5794         (replaceSelection): Likewise.
5795
5796 2004-07-21  Michael Koch  <konqueror@gmx.de>
5797
5798         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5799         (BasicScrollPaneUI): Implements ScrollPaneConstants.
5800         * javax/swing/plaf/basic/BasicToolBarUI.java
5801         (BasicToolBarUI): Implements SwingConstants.
5802
5803 2004-07-21  Michael Koch  <konqueror@gmx.de>
5804
5805         * javax/swing/JPopupMenu.java: Removed CVS tags.
5806         * javax/swing/UIDefaults.java: Reformatted.
5807         * javax/swing/plaf/basic/BasicRootPaneUI.java:
5808         Explicitely import used classes.
5809
5810 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5811
5812         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5813         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5814         (GtkComponentPeer): Remove temporary try/catch block.
5815         (setVisible): Call show and hide.
5816         (show): Make native.
5817         (hide): Likewise.
5818         (getArgs): Don't add "visible" argument.
5819         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5820         (property_notify_predicate): Return Bool instead of int.
5821         (find_layout): New function.
5822         (connectJObject): Call find_layout.
5823         (connectSignals): Likewise.
5824         (moveLayout): Likewise.
5825         (gtkLayoutSetVisible): Likewise.
5826
5827 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5828
5829         * javax/swing/AbstractButton.java:
5830         (setDisplayedMnemonicIndex): Check if button
5831         text is not null before checking its length.
5832         * javax/swing/JMenuItem.java:
5833         (processMouseEvent): Disarm menu item if mouse has
5834         exited it.
5835         * javax/swing/plaf/basic/BasicMenuUI.java:
5836         (MouseInputHandler.mouseEntered): Do not raise
5837         popup menu if this menu is already selected.
5838         (MouseInputHandler.mousePressed): Do not fire 
5839         MenuEvents.
5840         (MenuHandler): Implemented.     
5841
5842 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5843
5844         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
5845         (getSelectedObjects): Implemented.
5846         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
5847         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
5848         Added javadoc for few methods.
5849         (processMouseEvent): Made public.
5850         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
5851         (processMouseEvent): Likewise.
5852
5853 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5854
5855         * javax/swing/AbstractButton.java:
5856         (init): Set display mnemonic index to -1.
5857         (setMnemonic(char)): Use setMnemonic(int).
5858         (setMnemonic(int)): Set display mnemonic index.
5859         (getDisplayedMnemonicIndex): Change method signature
5860         by removing 'index' parameter.
5861         * javax/swing/plaf/basic/BasicLookAndFeel.java:
5862         Added default for Menu.selectionBackground.     
5863         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5864         (paintMenuItem): Change background color of the selected
5865         menu item.
5866         (paintText): Paint differently when menu item is disabled.
5867         Also paint mnemonic if it appears in the menu item's label.
5868         (paintAccelerator): Paint accelerator differently
5869         if menu item is disabled.
5870         * javax/swing/plaf/basic/BasicMenuUI.java:
5871         (installDefaults): Install defaults for 
5872         selectionForeground and selectionBackground.
5873         (uninstallDefaults): Uninstall defauls for 
5874         selectionForeground and selectionBackground.
5875
5876 2004-07-21  Michael Koch  <konqueror@gmx.de>
5877
5878         * javax/swing/text/AbstractDocument.java
5879         (BranchElement): Implemented.
5880         (LeafElement): Implemented.
5881         * javax/swing/text/DefaultCaret.java:
5882         Import used classes.
5883         (serialVersionUID): New constant.
5884         * javax/swing/text/JTextComponent.java
5885         (AccessibleJTextComponent): Removed dead declaration.
5886         (caretPos): Removed.
5887         (setCaret): New method.
5888         * javax/swing/text/PlainDocument.java
5889         (rootElement): New field.
5890         (PlainDocument): Initialize rootElement.
5891         (createDefaultRoot): New method.
5892         (getDefaultRootElement): Implemented.
5893         * javax/swing/text/View.java: Reformatted.
5894         * javax/swing/text/ViewFactory.java
5895         (create): Added javadoc.
5896
5897 2004-07-21  Michael Koch  <konqueror@gmx.de>
5898
5899         * javax/swing/ToolTipManager.java: Reformatted.
5900
5901 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
5902
5903         * javax/swing/AbstractButton.java
5904         (changeEvent): New field.
5905         (fireItemStateChanged): Change source of the event
5906         to 'this' before firing it to button listeners.
5907         (fireActionPerformed): Likewise.
5908         (fireStateChanged): Likewise.
5909         (createActionListener): Do not set source 
5910         of the event to AbstractButton.                                  
5911         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5912         (ContainerHandler.componentAdded): Removed 
5913         print out statement.
5914         (ContainerHandler.componentRemoved): Likewise.
5915
5916 2004-07-21  Michael Koch  <konqueror@gmx.de>
5917
5918         * javax/swing/text/Highlighter.java: New file.
5919         * Makefile.am: Added javax/swing/text/Highlighter.java.
5920         * Makefile.in: Regenerated.
5921
5922 2004-07-21  Michael Koch  <konqueror@gmx.de>
5923
5924         * javax/swing/ToolTipManager.java
5925         (stillInsideTimerAction): Fixed constructor arguments.
5926         (outsideTimerAction): Likewise.
5927         (insideTimerAction): Likewise.
5928
5929 2004-07-21  Michael Koch  <konqueror@gmx.de>
5930
5931         * javax/swing/JButton.java: Reformatted.
5932         * javax/swing/JFormattedTextField.java
5933         (getUIClassID): Implemented.
5934         * javax/swing/JRootPane.java
5935         (serialVersionUID): New constant.
5936         * javax/swing/JTextField.java
5937         (align): New field.
5938         (JTextField): Simplified.
5939         (getUIClassID): New method.
5940         (getActionListeners): Added @since tag.
5941         (setColumns): Invalidate layout and repaint.
5942         (getHorizontalAlignment): New method.
5943         (setHorizontalAlignment): New method.
5944         (selectAll): Removed.
5945         * javax/swing/SwingUtilities.java
5946         (getAncestorOfClass): Removed redundant @see tag.
5947         (isLeftMouseButton): Fixed implementation.
5948         (isMiddleMouseButton): Likewise.
5949         (isRightMouseButton): Likewise.
5950         * javax/swing/text/AbstractDocument.java
5951         (AttributeContext.addAttribute): New method.
5952         (AttributeContext.addAttributes): New method.
5953         (AttributeContext.getEmptySet): New method.
5954         (AttributeContext.reclaim): New method.
5955         (AttributeContext.removeAttribute): New method.
5956         (AttributeContext.removeAttributes): New method.
5957         * javax/swing/text/Document.java
5958         (createPosition): Throws BadLocationException.
5959         (getText): Likewise.
5960         (remove): Likewise.
5961         * javax/swing/text/JTextComponent.java
5962         (getText): Return null if no document is set. Catch
5963         BadLocationException.
5964         (getUI): Return ui.
5965         (updateUI): Simplified.
5966
5967 2004-07-21  Michael Koch  <konqueror@gmx.de>
5968
5969         * javax/swing/JButton.java
5970         (removeNotify): Fixed javadoc.
5971         (updateUI): Simplified.
5972
5973 2004-07-21  David Jee  <djee@redhat.com>
5974
5975         * gnu/java/awt/image/ImageDecoder.java
5976         (startProduction): Only add consumer if it's not added yet.
5977         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5978         (GdkPixbufDecoder): Don't call initState() here.
5979         (produce): Call initState() here, to ensure area_prepared and
5980         area_updated signals are properly connected.
5981         * gnu/java/awt/peer/gtk/GtkImage.java
5982         (setColorModel): Use equals() to compare ColorModel objects.
5983         (setPixels): Likewise.
5984         * java/awt/image/ColorModel.java
5985         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
5986         * java/awt/image/RGBImageFilter.java
5987         (setColorModel): Set consumer's color model.
5988         (setPixels): Use equals() to compare ColorModel objects.
5989
5990 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
5991
5992         * java/net/URLConnection.java (position): New field.
5993         (dateFormat1, dateFormat2, dateFormat3): Removed.
5994         (dateFormats): New field.
5995         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
5996         each time instead of re-allocating.
5997         (initializeDateFormats): Initialize 'dateFormats'.
5998
5999 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
6000
6001         PR libgcj/16591
6002         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
6003         is defined.
6004
6005 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
6006
6007         * java/net/Socket.java (getImpl): Now private. Remove comment.
6008
6009 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
6010
6011         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
6012         of chained Writer when calling super-constructor.
6013         * java/io/FilterWriter.java (FilterWriter): Likewise.
6014         * java/io/PrintWriter.java (PrintWriter): Likewise.
6015
6016 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
6017
6018         * prims.cc (process_gcj_properties): Don't increment i within LHS
6019         of assignment.
6020
6021 2004-07-19  Per Bothner  <per@bothner.com>
6022
6023         Print -verbose:message on "loading", not initialization.
6024         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
6025         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
6026         gcj::verbose_class_flag.
6027         * java/lang/natClass.cc (initializeClass):  Don't print message here.
6028         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
6029         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
6030         (_Jv_PrepareCompiledClass):  Likewise.
6031
6032 2004-07-18  Matthias Klose  <doko@debian.org>
6033
6034         * configure.in: Substitute target_noncanonical.
6035         * configure: Regenerate
6036
6037 2004-07-17  Michael Koch  <konqueror@gmx.de>
6038
6039         * java/lang/String.java: Fixed javadocs all over.
6040
6041 2004-07-17  Mark Wielaard  <mark@klomp.org>
6042
6043         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
6044         when size is smaller.
6045         * java/io/RandomAccessFile.java (setLength): Use truncate for
6046         shrinking the file and seek plus write for expanding the file.
6047
6048 2004-07-17  Michael Koch  <konqueror@gmx.de>
6049
6050         * gnu/java/nio/channels/natFileChannelPosix.cc
6051         (implTruncate): Always save current position. Only reposition file
6052         pointer to where we started if not beyond new lenght. Reposition file
6053         pointer to file length if it points beyond the end of file.
6054
6055 2004-07-17  Mark Wielaard  <mark@klomp.org>
6056
6057         * javax/swing/Box.java: Put FIXME comment above class declaration.
6058         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
6059         * javax/swing/JCheckBox.java: Likewise.
6060         * javax/swing/JDialog.java: Likewise.
6061         * javax/swing/JRadioButton.java: Likewise.
6062         * javax/swing/JToggleButton.java: Likewise.
6063         * javax/swing/UIManager.java: Likewise.
6064         * javax/swing/border/TitledBorder.java: Likewise.
6065         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6066         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
6067         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
6068         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6069         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
6070         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6071         * javax/swing/text/JTextComponent.java: Likewise.
6072
6073 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
6074
6075         * java/net/DatagramPacket.java (setAddress): Removed check for
6076         null address.
6077
6078 2004-07-17  Michael Koch  <konqueror@gmx.de>
6079
6080         * java/net/DatagramSocket.java
6081         (getLocalAddress): Check if socket is bound or not.
6082         * java/net/Socket.java
6083         (getLocalAddrss): Check if socket is bound or not.
6084         (getPort): Return -1 when not connected. Dont check getImpl() for
6085         null.
6086         (setReuseAddress): Check if socket is closed.
6087         (isConnected): Check if getImpl() returns null.
6088
6089 2004-07-17  Mark Wielaard  <mark@klomp.org>
6090
6091         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
6092         on notifier object before calling notifyAll().
6093
6094 2004-07-17  Michael Koch  <konqueror@gmx.de>
6095
6096         * gnu/java/nio/channels/FileChannelImpl.java
6097         (finalize): Added javadoc.
6098
6099 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
6100
6101         * java/text/CollationElementIterator.java
6102         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
6103         (setText): Use ArrayList instead of Vector.
6104
6105 2004-07-17  Michael Koch  <konqueror@gmx.de>
6106
6107         * java/nio/ByteOrder.java
6108         (static): Removed. Not needed.
6109         Thanks to Patrick Reali for noticing.
6110         * java/nio/charset/CharsetDecoder.java
6111         (decode): Fix for classpath bug #9177: Reset state before flipping.
6112
6113 2004-07-17  Michael Koch  <konqueror@gmx.de>
6114
6115         * java/security/Security.java: Fixed javadocs all over.
6116
6117 2004-07-17  Michael Koch  <konqueror@gmx.de>
6118
6119         * gnu/java/awt/EmbeddedWindow.java
6120         (static): Removed.
6121         (addNotify): Set peer via reflection.
6122         (setWindowPeer): Removed.
6123         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
6124         * Makefile.am (nat_source_files):
6125         Removed gnu/java/awt/natEmbeddedWindow.cc.
6126         * Makefile.in: Regenerated.
6127
6128 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
6129
6130         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
6131         assignment.
6132         * configure: Regenerated.
6133
6134 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
6135
6136         * configure.in: Use build_noncanonical rather than build_alias.
6137         * configure: Rebuild.
6138
6139         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
6140         by logic refactoring.  Move default definition of NATIVE closer
6141         to first alternate definition.
6142         * configure: Regenerate.
6143
6144         * Makefile.am: Set ZIP and GCJH directly using autoconf.
6145         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
6146         gcj/Makefile.in: Regenerate.
6147         * configure.in: Set ZIP and GCJH.  Remove redundant condition
6148         in AM_CONDITIONAL(NATIVE,...)
6149         * configure: Regenerate.
6150
6151 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
6152
6153         * configure.in: Use target_noncanonical rather than
6154         target_alias for forward-compatibility with autoconf 2.59.
6155         * configure: Regenerate.
6156         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
6157         testsuite/Makefile.am: Substitute target_noncanonical.
6158         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
6159         testsuite/Makefile.in: Regenerate.
6160
6161         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
6162         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
6163         * acinclude.m4: Include acx.m4.
6164         * aclocal.m4: Regenerate.
6165         * configure: Regenerate.
6166
6167 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
6168
6169         PR libgcj/16574
6170         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
6171         (decimalFormat): New static variable.
6172         (sbuf): Likewise.
6173         (getTime): New. Override Date.getTime().
6174         (toString): Synchronize. Use decimalFormat to format nanos value
6175         correctly. Truncate extra zeros.
6176         (before): Compare getNanos() only if getTime() is equal.
6177         (after): Likewise.
6178         
6179 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
6180
6181         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
6182         * configure.in: ...here.
6183         * aclocal.m4: Regenerate.
6184         * configure: Regenerate.
6185
6186         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
6187         * configure: Rebuilt with autoconf 2.13.
6188         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
6189         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
6190
6191 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
6192
6193         PR libgcj/16204
6194         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
6195         large file support.
6196         * Makefile.in: Rebuilt.
6197         * testsuite/libjava.lang/LargeFile.java: New test case.
6198         * testsuite/libjava.lang/LargeFile.out: New file.
6199
6200 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
6201
6202         * java/beans/EventHandler.java: Remove debugging statements.
6203
6204 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
6205
6206         * java/beans/EventHandler.java: New file.
6207         * Makefile.am (awt_java_source_files): Add EventHandler.java.
6208         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
6209         testsuite/Makefile.in: Regenerate.
6210
6211 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
6212
6213         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
6214         flag to the gcj_setup.
6215         (gcj_jacks_run): Check tclsh version and launch jacks directly with
6216         the tclsh.
6217         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
6218         deprecation flag change. 58 XFAILS removed.
6219
6220 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
6221
6222         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
6223         -fno-use-divide-subroutine.
6224         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
6225         (HANDLE_FPE): Define.
6226         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
6227         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
6228         (HANDLE_DIVIDE_OVERFLOW): Define.
6229
6230 2004-07-14  Michael Koch  <konqueror@gmx.de> 
6231             Matthias Klose  <doko@debian.org> 
6232
6233         * java/awt/im/InputContext.java: Initialize in, line.
6234
6235 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
6236
6237         * interpret.cc (run): Correctly access libffi return values of
6238         integral smaller-than-int type; these are implicitly promoted.
6239
6240 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
6241
6242         PR libgcj/7587
6243         * interpret.cc (compile_mutex): New.
6244         (_Jv_InitInterpreter): New. Initialize compile_mutex.
6245         (run): Lock compile_mutex before calling compile() if compilation is
6246         required.
6247         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
6248         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
6249
6250 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
6251
6252         PR libgcj/15713
6253         * include/jvm.h (_Jv_value): New union type.
6254         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
6255         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
6256         union members.
6257
6258 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
6259
6260         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
6261         * gnu/awt/xlib/XOffScreenImage.java
6262           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
6263           constructor argument. Add constructor using ImageProducer.
6264           (getSource): Implement.
6265           (imageComplete): New method.
6266           (setColorModel): New method.
6267           (setDimensions): New method.
6268           (setHints): New method.
6269           (setPixels): New method.
6270           (setProperties): New method.
6271         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
6272         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
6273
6274 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
6275
6276         PR libgcj/16478 
6277         * prims.cc (_Jv_CreateJavaVM): Fix comment.
6278         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
6279         (finalizerReady): Now native.
6280         (run): Likewise.
6281         (runFinalizers): Removed.
6282         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
6283         a primitive lock, and don't hold it while running the finalizers.
6284         (runFinalizers): Implement. Don't aquire any Java lock.
6285         (finalizerReady): Use lock primitives to signal finalizer thread.
6286
6287 2004-07-11  Mark Wielaard  <mark@klomp.org>
6288
6289         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
6290         * java/net/URLStreamHandler.java (parseURL): When url file part
6291         doesn't contain a '/' just ignore context.
6292
6293 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
6294
6295         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
6296         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
6297         (MAKE_THROW_FRAME): Do not modify PSW address.
6298         (INIT_SEGV): Install SIGINFO-style signal handler.
6299         (INIT_FPE): Likewise.
6300
6301 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
6302
6303         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
6304         status. 21 xfail's removed, 1 added.
6305
6306 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
6307
6308         * gcj/javaprims.h: Regenerate CNI namespace definitions.
6309
6310 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6311
6312         * java/text/MessageFormat.java
6313         (formatInternal): Append "{n}" if argument n is unavailable.
6314         (format(Object, StringBuffer, FieldPosition)): This
6315         should be equivalent to format(Object[],
6316         StringBuffer, FieldPosition).
6317
6318 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
6319
6320         * java.util.Calendar.java (cache): New private static field. Cached
6321         mappings of locales->calendar classes.
6322         (ctorArgTypes): New private static field. Singleton argument for
6323         calendar class constructor lookup.
6324         (getInstance): Cache Locale->Calendar class mappings using HashMap.
6325         Optimize by bypassing reflection instantiation for the 
6326         GregorianCalendar case.
6327
6328 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
6329
6330         * java/util/Calendar.java: Use getSystemClassLoader as argument for
6331         ResourceBundle.getBundle() calls.
6332         * java/util/GregorianCalendar.java: Likewise.
6333         * java/util/Currency.java: Likewise.
6334         * java/text/BreakIterator.java: Likewise.
6335         * java/text/Collator.java: Likewise.
6336         * java/text/DateFormat.java: Likewise.
6337         * java/text/DateFormatSymbols.java: Likewise.
6338         * java/text/DecimalFormatSymbols.java: Likewise.
6339         * java/text/NumberFormat.java: Likewise.
6340         * java/awt/Window.java: Likewise.       
6341
6342 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
6343
6344         * java/util/ResourceBundle.java (bundleCache): Renamed from
6345         resourceBundleCache. Update comments.
6346         (getObject): Don't catch MissingResourceException.
6347         (getBundle(String)): Remove 'final'. Use system classloader if
6348         getCallingClassLoader returned null.
6349         (getBundle(String, Locale)): Likewise.
6350         (BundleKey): New private class. HashMap key for bundle cache lookup.
6351         (lookupKey): New. Singleton instance of BundleKey.
6352         (nullEntry): New. Cache entry to represent failed lookups.
6353         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
6354         caching strategy, no-allocation lookup, and new tryBundle methods.
6355         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
6356         name using given classloader.
6357         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
6358         baseName for given Locale and attempt to load bundle.
6359
6360 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
6361
6362         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
6363         illegal protected method calls.
6364
6365 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
6366
6367         Fix or remove some bogus test cases.
6368         * testsuite/libjava.compile/pr10459_2.java: Removed.
6369         * testsuite/libjava.compile/pr10459.java: Test using its own method,
6370         not Object.clone().
6371         * testsuite/libjava.compile/inner_data.java: Test against its own
6372         protected field.
6373
6374 2004-07-09  Michael Koch  <konqueror@gmx.de>
6375
6376         * scripts/unicode-muncher.pl: Updated to version 2.1
6377         from GNU classpath. Added some clarifications on where to find the
6378         needed files from www.unicode.org.
6379         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
6380         gnu/gcj/convert/UnicodeData-3.0.0.txt:
6381         Removed, these can directly be downloaded from www.unicode.org if
6382         needed. 
6383         * gnu/java/lang/CharData.java: Regenerated.
6384         * include/java-chartables.h: Regenerated.
6385         * Makefile.am (ordinary_java_source_files):
6386         Removed gnu/java/lang/CharData.java.
6387         * Makefile.in: Regenerated.
6388
6389 2004-07-09  Michael Koch  <konqueror@gmx.de>
6390
6391         * java/security/AccessControlContext.java,
6392         java/security/SecureClassLoader.java:
6393         Fixed javadocs.
6394
6395 2004-07-09  Michael Koch  <konqueror@gmx.de>
6396
6397         * java/io/ObjectInputStream.java (readFields): Use long datatype
6398         when shifting byte values more then 24 bits left.
6399
6400 2004-07-09  Michael Koch  <konqueror@gmx.de>
6401
6402         * java/util/zip/DeflaterOutputStream.java,
6403         java/util/zip/GZIPInputStream.java,
6404         java/util/zip/GZIPOutputStream.java,
6405         java/util/zip/InflaterInputStream.java:
6406         Reformatted. Added javadocs. Reordered all stuff.
6407         Renamed variables to be more clear.
6408
6409 2004-07-09  Michael Koch  <konqueror@gmx.de>
6410
6411         * javax/imageio/IIOException.java,
6412         javax/imageio/event/IIOReadProgressListener.java,
6413         javax/imageio/event/IIOReadUpdateListener.java,
6414         javax/imageio/event/IIOReadWarningListener.java,
6415         javax/imageio/event/IIOWriteProgressListener.java,
6416         javax/imageio/event/IIOWriteWarningListener.java:
6417         New files.
6418         * Makefile.am: Added new files.
6419         * Makefile.in: Regenerated.
6420
6421 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
6422
6423         * java/text/RuleBasedCollator.java
6424         (mergeRules): Use ArrayList instead of Vector.
6425         (subParseString): likewise.
6426         (parseString): likewise.
6427         (buildCollationVector): likewise.
6428         (getCollationKey): likewise.
6429
6430 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
6431
6432         * java/text/DateFormat.java (parse):
6433         Improved javadoc. Improved exception message.
6434
6435 2004-07-09  Mark Wielaard  <mark@klomp.org>
6436
6437         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
6438         interrupted() method to clear interupt flag of our Thread.
6439
6440 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
6441
6442         * java/nio/Buffer.java,
6443         java/nio/ByteBuffer.java,
6444         java/nio/ByteBufferHelper.java,
6445         java/nio/ByteBufferImpl.java,
6446         java/nio/CharBuffer.java,
6447         java/nio/CharBufferImpl.java,
6448         java/nio/CharViewBufferImpl.java,
6449         java/nio/DirectByteBufferImpl.java,
6450         java/nio/DoubleBuffer.java,
6451         java/nio/DoubleBufferImpl.java,
6452         java/nio/DoubleViewBufferImpl.java,
6453         java/nio/FloatBuffer.java,
6454         java/nio/FloatBufferImpl.java,
6455         java/nio/FloatViewBufferImpl.java,
6456         java/nio/IntBuffer.java,
6457         java/nio/IntBufferImpl.java,
6458         java/nio/IntViewBufferImpl.java,
6459         java/nio/LongBuffer.java,
6460         java/nio/LongBufferImpl.java,
6461         java/nio/LongViewBufferImpl.java,
6462         java/nio/MappedByteBufferImpl.java,
6463         java/nio/ShortBuffer.java,
6464         java/nio/ShortBufferImpl.java,
6465         java/nio/ShortViewBufferImpl.java:
6466         Fixed javadocs all over. Improved input error
6467         checking.
6468
6469         * java/nio/Buffer.java
6470         (checkForUnderflow, checkForOverflow, checkIndex,
6471         checkIfReadOnly, checkArraySize): New helper methods
6472         for error checking.
6473
6474         * java/nio/ByteBufferHelper.java
6475         (checkRemainingForRead, checkRemainingForWrite,
6476         checkAvailableForRead, checkAvailableForWrite): Removed
6477         no longer needed methods.
6478
6479 2004-07-09  Michael Koch  <konqueror@gmx.de>
6480
6481         * gnu/regexp/CharIndexedInputStream.java:
6482         Reordered imports to match classpath.
6483
6484 2004-07-09  Michael Koch  <konqueror@gmx.de>
6485
6486         * gnu/java/awt/EmbeddedWindow.java:
6487         Load native library for setWindowPeer method.
6488
6489 2004-07-08  Randolph Chung  <tausq@debian.org>
6490
6491         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
6492         * configure: Regenerate.
6493         * configure.host: Set can_unwind_signal for hppa*-linux.
6494         * include/pa-signal.h: New file.
6495
6496 2004-07-07  Per Bothner  <per@bothner.com>
6497
6498         * Makefile.am:  Add rules to build libgij from just gij.cc.
6499
6500         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
6501         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
6502         (initializeClass):  If verbose_class_flag, print message.
6503         * gij.cc (main):  Handle -verbose:class flag.
6504
6505 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
6506
6507         * configure.host: Enable hash synchronization on Darwin.
6508         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
6509         ';', since this is a comment on Darwin.
6510         (compare_and_swap_release): Likewise.
6511
6512 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
6513
6514         * java/net/URLStreamHandler.java (parseURL): Canonicalize
6515         file portion of URL in addition to spec for file: protocol.
6516
6517 2004-07-05  Anthony Green  <green@redhat.com>
6518
6519         * java/io/File.java (toURI): Merge from Classpath.
6520
6521 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
6522
6523         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
6524         before passing to URL constructor. Rethrow any MalformedURLException
6525         as a RuntimeException. Catch MalformedURLException specifically, not
6526         all exceptions.
6527
6528 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
6529
6530         * java/util/Locale.java (readObject): Intern strings read from object
6531         stream.
6532
6533 2004-07-04  Michael Koch  <konqueror@gmx.de>
6534
6535         * gnu/gcj/runtime/FirstThread.java,
6536         gnu/gcj/runtime/natFirstThread.cc: Removed.
6537         * gnu/java/lang/MainThread.java,
6538         gnu/java/lang/natMainThread.cc: New files.
6539         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
6540         * Makefile.am: Added new files and removed deleted ones.
6541         * Makefile.in: Regenerated.
6542
6543 2004-07-03  Mark Wielaard  <mark@klomp.org>
6544             Anthony Green  <green@redhat.com>
6545
6546         * java/net/URL.java (getFile): Clarify return value doc.
6547         (getPath): Return null if file is empty - not empty String.
6548         (set): Convert protocol to lower case before doing anything.
6549         Only change the protocol handler if it's different.
6550
6551 2004-07-03  Anthony Green  <green@redhat.com>
6552
6553         * java/net/URL.java (URL): Convert protocol to lower case before
6554         doing anything, so we getURLStreamHandler() with the proper value.
6555
6556 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
6557
6558         * java/util/Locale.java (hashcode): Made transient.
6559         (hashCode): No longer synchronized.
6560         (equals): Remove comment.
6561         (writeObject): No longer synchronized. Implement using writeObject 
6562         calls instead of tweaking hashCode field. Update doc.
6563         (readObject): Implement using readObject calls.
6564
6565 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
6566             Andreas Tobler  <a.tobler@schweiz.ch>
6567
6568         * configure.host (powerpc-*-darwin*): New case, define
6569         can_unwind_signal.
6570         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
6571         * configure: Regenerate.
6572         * include/darwin-signal.h: New.
6573
6574 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
6575
6576         * java/beans/Statement.java (doExecute): Fix formatting.
6577
6578 2004-06-29  Per Bothner  <per@bothner.com>
6579
6580         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
6581         etc etc):  Remove needless parenthesis, which causes __stdcall__
6582         attribute on MinGW to get ignored.
6583
6584 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
6585
6586         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
6587
6588 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
6589
6590         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
6591
6592 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
6593
6594         * java/beans/Expression.java: New file.
6595         * java/beans/Statement.java: New file.
6596         * Makefile.am: Added new files.
6597         * Makefile.in: Re-generate.
6598
6599 2004-06-27 Mark Wielaard  <mark@klomp.org>
6600
6601         * java/io/FilePermission.java (usingPerms): Removed.
6602         (actionsString): Made final.
6603         (cachePerms): Renamed to checkPerms.
6604         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
6605         on action String.
6606         (FilePermission): Check arguments, call checkPerms().
6607         (equals): Remove cachePerms() call.
6608         (implies): Likewise.
6609
6610 2004-06-27  Mark Wielaard  <mark@klomp.org>
6611
6612         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
6613         final field.
6614         (sendRequest): Use new field in user-agent http agent.
6615
6616 2004-06-27  Mark Wielaard  <mark@klomp.org>
6617
6618         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
6619         when argument is null.
6620
6621 2004-06-26  Mark Wielaard  <mark@klomp.org>
6622
6623         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6624         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
6625         GetMethodID call.
6626         (cancel_clicked): Likewise.
6627
6628 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
6629
6630         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6631         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
6632         can not calculate the right value.
6633         (dpi_changed_cb): Likewise. Mark *pspec as unused.
6634
6635 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
6636
6637         * testsuite/libjava.jacks/jacks.xfail: Remove
6638         15.9.1-qualified-concrete-20.
6639
6640 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
6641
6642         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
6643         encoding name to iconv.
6644         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
6645
6646 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
6647
6648         PR libgcj/16134:
6649         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
6650         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
6651         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
6652
6653 2004-06-21  Andrew Haley  <aph@redhat.com>
6654
6655         * java/io/ObjectOutputStream.java: Add DEBUG statements
6656         everywhere.
6657         (dumpElementln): New method.
6658         (depth): New field.
6659         * java/io/ObjectInputStream.java
6660         (currentClassLoader): Make native.
6661         (callersClassLoader): New field.
6662         (depth): New field.
6663         (readObject): ENDBLOCKDATA is generated if the class has a write
6664         method, not if it has a read method.
6665         (readObject): Save and restore this.currentObject and
6666         this.currentObjectStreamClass around calls to callReadMethod().
6667         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
6668         method.
6669
6670 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
6671
6672         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
6673         darwin.
6674
6675 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
6676
6677         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
6678         if desired, before the default class loader is initialised.
6679         Call INIT_SEGV only if HANDLE_SEGV is defined.
6680
6681 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
6682
6683         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
6684         directory only if it actually exists.
6685
6686 2004-06-18  Graydon Hoare  <graydon@redhat.com>
6687
6688         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6689         Fix up non-ansi comments.
6690
6691 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
6692
6693         * javax/swing/text/AbstractDocument.java: Adding missing import
6694         for javax.swing.event.EventListenerList.
6695         * javax/swing/text/DefaultCaret.java: Likewise.
6696
6697 2004-06-17  Michael Koch  <konqueror@gmx.de>
6698
6699         * javax/swing/JToolBar.java
6700         (name): Removed.
6701         (JToolBar): Use Component.setName(String) instead of doing it all
6702         alone.
6703         * javax/swing/Timer.java
6704         (queueEvent): Added missing modifier.
6705
6706 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
6707
6708         * Makefile.am: Added new file.
6709         * Makefile.in: Re-generate.
6710         * javax/swing/JMenu.java:
6711         (insertSeparator): Implemented.
6712         * javax/swing/JPopupMenu.java:
6713         (JPopupMenu.Separator): Implemented.
6714         * javax/swing/MenuSelectionManager.java:
6715         (processMouseEvent): Use java.awt.Component 
6716         for event source instead of javax.swing.JComponent. 
6717         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
6718         New File. Implemented.
6719         
6720 2004-06-16  David Jee  <djee@redhat.com>
6721
6722         * java/awt/GridBagLayout.java
6723         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
6724         Make sure pos_x and pos_y are never negative.
6725
6726 2004-04-16  Andrew Overholt  <overholt@redhat.com>
6727
6728         * Makefile.am: Add new file.
6729         * Makefile.in: Re-generate.     
6730         * javax/swing/JToolBar.java
6731         Partially implemented.
6732         * javax/swing/plaf/basic/BasicToolBarUI.java
6733         New file. Partially implemented.
6734
6735 2004-06-16  Graydon Hoare  <graydon@redhat.com>
6736
6737         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
6738         (setComposite): Accept AlphaComposite arguments.
6739         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
6740         (createBufferedImage): Add new overloads.
6741         * gnu/java/awt/peer/gtk/GtkToolkit.java
6742         (createImage): Use GdkPixbufDecoder.createBufferedImage
6743         when useGraphics2D() is true.
6744         (getImage): Delegate to createImage.
6745         * javax/swing/JList.java
6746         (isSelectionEmpty):
6747         (getFirstVisibleIndex):
6748         (getLastVisibleIndex):
6749         (setSelectedValue):
6750         (ensureIndexIsVisible): New methods.
6751         * javax/swing/Timer.java: Reimplement.
6752
6753 2004-06-16  Michael Koch  <konqueror@gmx.de>
6754
6755         * javax/swing/text/AbstractDocument.java
6756         (AbstracElement): Made public, implements java.io.Serializable.
6757         (AttributeContext): Made public.
6758         (BranchElement): Likewise.
6759         (Content): Likewise.
6760         (DefaultDocumentEvent): Made public, extends
6761         javax.swing.undo.CompoundEdit.
6762         (ElementEdit): Made public, extends
6763         javax.swing.undo.AbstractUndoableEdit.
6764         (LeafElement): Made public.
6765         (LeafElement.LeafElement): Made public.
6766
6767 2004-06-16  Michael Koch  <konqueror@gmx.de>
6768
6769         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
6770         methods (that were obviously never be intended to get included hi this
6771         class. Added some methods too.
6772
6773 2004-06-16  Michael Koch  <konqueror@gmx.de>
6774
6775         * javax/swing/text/PlainDocument.java
6776         (serialVersionUID): New constant.
6777         (lineLimitAttribute): Likewise.
6778         (tabSizeAttribute): Likewise.
6779         (tabSize): New field.
6780         (PlainDocument): Made public.
6781         (PlainDocument): New constructor.
6782
6783 2004-06-16  Michael Koch  <konqueror@gmx.de>
6784
6785         * javax/swing/text/AbstractDocument.java
6786         (insertString): Throws BadLocationException.
6787         * javax/swing/text/Document.java
6788         (insertString): Likewise.
6789         * javax/swing/text/JTextComponent.java:
6790         Javadocs and comments cleaned up.
6791
6792 2004-06-16  Michael Koch  <konqueror@gmx.de>
6793
6794         * javax/swing/event/UndoableEditListener.java: Reformatted.
6795         * javax/swing/text/AbstractDocument.java
6796         (AbstractDocument): Implements java.io.Serializable.
6797         (doc_list): Removed.
6798         (undo_list): Removed.
6799         (AbstractElement.serialVerionUID): New field.
6800         (BranchElement.serialVerionUID): Likewise.
6801         (DefaultDocumentEvent.serialVerionUID): Likewise.
6802         (ElementEdit.serialVerionUID): Likewise.
6803         (LeafElement.serialVerionUID): Likewise.
6804         (serialVerionUID): Likewise.
6805         (BAD_LOCATION): New constant.
6806         (BidiElementName): Likewise.
6807         (ContentElementName): Likewise.
6808         (ParagraphElementName): Likewise.
6809         (SectionElementName): Likewise.
6810         (ElementNameAttribute): Likewise.
6811         (AbstractDocument): Made protected.
6812         (AbstractDocument): New construtor.
6813         (listenerList): New field.
6814         (fireChangedUpdate): Implemented.
6815         (fireInsertUpdate): Likewise.
6816         (fireRemoveUpdate): Likewise.
6817         (fireUndoableEditUpdate): Likewise.
6818         (getListeners): Likewise.
6819         (addDocumentListener): Likewise.
6820         (removeDocumentListener): Likewise.
6821         (addUndoableEditListener): Likewise.
6822         (removeUndoableEditListener): Likewise.
6823         (getDocumentListeners): New method.
6824         (getUndoableEditListeners): Likewise.
6825         (getAsynchronousLoadPriority): Made public.
6826         (getBidiRootElement): Likewise.
6827         (setAsynchronousLoadPriority): Likewise.
6828         (setDocumentProperties): Likewise.
6829         * javax/swing/text/BadLocationException.java
6830         (serialVerionUID): New field.
6831         * javax/swing/text/DefaultCaret.java
6832         (changeEvent): New field.
6833         (listenerList): Likewise.
6834         (changes): Removed.
6835         (addChangeListener): Reimplemented.
6836         (removeChangeListener): Likewise.
6837         (getListeners): New method.
6838         (getChangeListeners): Likwise.
6839         (getComponent): Likewise.
6840         * javax/swing/text/GapContent.java
6841         (GapContent): Implements java.io.Serializable.
6842         (serialVerionUID): New field.
6843
6844 2004-06-16  Michael Koch  <konqueror@gmx.de>
6845
6846         * javax/swing/JTree.java
6847         (treeModel): New field.
6848         (JTree): New constructors, one existing one made public.
6849         (createTreeModel): New method.
6850         (addTreeExpansionListener): Likewise.
6851         (removeTreeExpansionListener): Likewise.
6852         (getTreeExpansionListeners): Likewise.
6853         (fireTreeCollapsed): Likewise.
6854         (fireTreeExpanded): Likewise.
6855         (addTreeSelectionListener): Likewise.
6856         (removeTreeSelectionListener): Likewise.
6857         (getTreeSelectionListeners): Likewise.
6858         (fireValueChanged): Likewise.
6859         (addTreeWillExpandListener): Likewise.
6860         (removeTreeWillExpandListener): Likewise.
6861         (getTreeWillExpandListeners): Likewise.
6862         (fireTreeWillCollapse): Likewise.
6863         (fireTreeWillExpand): Likewise.
6864
6865 2004-06-16  Michael Koch  <konqueror@gmx.de>
6866
6867         * javax/swing/JTree.java: Reformatted.
6868
6869 2004-06-16  Michael Koch  <konqueror@gmx.de>
6870
6871         * javax/swing/JTextArea.java: New file.
6872         * javax/swing/JTextField.java
6873         (actions): Removed.
6874         (notifyAction): New constant.
6875         (columns): New field.
6876         (JTextField): New constructors.
6877         (createDefaultModel): New method.
6878         (addActionListener): Reimplmemented.
6879         (removeActionListener): Reimplemented.
6880         (getActionListeners): New method.
6881         (fireActionPerformed): New method.
6882         (getColumns): New method.
6883         (setColumne): New method.
6884         * javax/swing/text/JTextComponent.java
6885         (AccessibleJTextComponent.serialVersionUID): New field.
6886         (serialVersionUID): Likewise.
6887         (DEFAULT_KEYMAP): Likewise.
6888         (FOCUS_ACCELERATOR_KEY): Likewise.
6889         (doc): Made private.
6890         (icon_gap): Likewise.
6891         (icon): Likewise.
6892         (align): Likewise.
6893         (JTextComponent): Some constructors removed.
6894         (getScrollableTracksViewportHeight): New method.
6895         (getScrollableTracksViewportWidth): Likewise.
6896         * Makefile.am: Added javax/swing/JTextArea.java.
6897         * Makefile.in: Regenerated.
6898
6899 2004-06-15  Graydon Hoare  <graydon@redhat.com>
6900
6901         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
6902         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
6903         * javax/swing/JViewport.java 
6904         (getExtentSize): Return size rather than preferred size.
6905         (toViewCoordinates): New methods.
6906         (getViewSize): Return size rather than preferred size.
6907         (setViewSize): Note view size as set.
6908         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
6909         * javax/swing/plaf/basic/BasicScrollBarUI.java 
6910         (getPreferredSize): Don't redo layout.
6911         * javax/swing/plaf/basic/BasicViewportUI.java 
6912         (paint): Translate image properly and eat exceptions.
6913
6914 2004-06-15  Kim Ho  <kho@redhat.com>
6915
6916         * javax/swing/JTabbedPane.java
6917         (setComponent): Remove old component and
6918         add new component.
6919         (setSelectedIndex): Don't operate on the 
6920         components if they're null. Don't set index
6921         on the model if the index is the same.
6922         (insertTab): Don't add or hide the component
6923         if it's null. Repaint the container.
6924         * javax/swing/plaf/basic/BasicLookAndFeel.java
6925         Change colors for TabbedPane.
6926         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6927         (mousePressed): Re-layout and paint the component.
6928         (layoutContainer): Don't set location on the view.
6929         (ScrollingViewport::paint): Remove.
6930
6931 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
6932
6933         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6934         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
6935
6936         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6937         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
6938         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
6939         critical region.
6940         (drawLine): Call gdk_flush before leaving GDK critical region.
6941         (fillRect): Likewise.
6942         (drawRect): Likewise.
6943         (copyArea): Likewise.
6944         (copyPixmap): Likewise.
6945         (clearRect): Likewise.
6946         (drawArc): Likewise.
6947         (drawPolyline): Likewise.
6948         (drawPolygon): Likewise.
6949         (fillPolygon): Likewise.
6950         (fillArc): Likewise.
6951         (drawOval): Likewise.
6952         (fillOval): Likewise.
6953
6954         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
6955         style parameter.
6956         (GdkFontMetrics): Add style argument to initState call.
6957         (stringWidth(String,int,int,String)): Add style parameter.
6958         (stringWidth(String)): Add style argument to stringWidth call.
6959         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
6960         (initState): Set pango font style and weight based on AWT style
6961         parameter.  Pass default GTK language to
6962         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
6963         simply dividing by PANGO_SCALE.
6964         (stringWidth): Set pango font style and weight based on AWT style
6965         parameter.
6966
6967         * java/awt/Button.java (next_button_number): New field.
6968         (paramString): Change output.
6969         (generateName): New method.
6970         (getUniqueLong): New method.
6971
6972 2004-06-14  Kim Ho  <kho@redhat.com>
6973
6974         * javax/swing/JTabbedPane.java:
6975         (setComponentAt): Set the component, not
6976         the enabled status.
6977         * javax/swing/plaf/basic/BasicDesktopIconUI.java
6978         (actionPerformed): Let deiconize catch exception.
6979
6980 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
6981
6982         * javax/swing/JPopupMenu.java:
6983         (setVisible): Corrected location of a 
6984         heavyweight popup menu.
6985
6986 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
6987
6988         * javax/swing/MenuSelectionManager.java: 
6989         Ran through jalopy to fix formatting style.
6990
6991 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
6992         
6993         * javax/swing/JLayeredPane.java: 
6994         (remove): Revalidate and repaint layered pane after
6995         the component was removed.
6996         javax/swing/JMenu.java:
6997         (setVisible): Display popup menu at the user location,
6998         if one was set by the user.
6999         (setMenuLocation): Reimplemented. Fixed javadoc.
7000         * javax/swing/JMenuBar.java: Added javadoc.
7001         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
7002         (MODEL_CHANGED_PROPERTY): New Property.
7003         (isSelected): Implemented.
7004         (setBorderPainted): Fire PropertyChangeEvent
7005         if paintBorder property changes.
7006         (setSelected): Implemented.
7007         (setSelectionModel): Implemented.
7008         * javax/swing/JPopupMenu.java: Added Javadoc
7009         (pack): Implemented.
7010         (setVisible): Reimplemented.
7011         (show): Fixed location.
7012         (JPopupMenu.LigthWeightPopup): Reimplemented to use
7013         Container instead of JPanel.
7014         * javax/swing/MenuSelectionManager.java: Added Javadocs.
7015         (clearSelectedPath): Reimplemented to clear selectedPath
7016         in reverse order.
7017         (processMouseEvent): Reimplemented.
7018         (setSelectedPath): Fire stateChange event indicating that
7019         selected menu path has changed.
7020         (getPath): Change to use ArrayList instead of Vector.
7021         * javax/swing/plaf/basic/BasicMenuBarUI.java:
7022         (installUI): call installKeyboardActions().
7023         (uninstallUI): call uninstallKeyboardActions().
7024
7025 2004-06-13  Michael Koch  <konqueror@gmx.de>
7026
7027         * javax/swing/text/DefaultCaret.java,
7028         javax/swing/text/BadLocationException.java:
7029         Reformatted.
7030
7031 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
7032
7033         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
7034         DEFAULT_COLS): New variables.
7035         (create): Don't allow 0 rows or 0 columns.  Instead, set the
7036         values to DEFAULT_ROWS or DEFAULT_COLS.
7037         (getMinimumSize): Likewise.
7038         (getPreferredSize): Likewise.
7039         (minimumSize): Likewise.
7040         (preferredSize): Likewise.
7041         (create): Set peer's editable state.
7042         * java/awt/TextArea.java (TextArea()): Set rows and columns to
7043         zero.  Update javadocs.
7044         (TextArea(String)): Likewise.
7045         (TextArea(int,int)): Fix javadocs.
7046         (TextArea(String,int,int,int)): Only throw exception if one of
7047         rows or columns is zero.  Fix javadocs.
7048
7049 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
7050
7051         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
7052         addition to Components.
7053
7054         * java/awt/MenuItem.java (dispatchEventImpl): If the event
7055         wasn't consumed by normal processing, send it to the parent
7056         menu.
7057
7058         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7059         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
7060         translation.
7061
7062 2004-06-11  David Jee  <djee@redhat.com>
7063
7064         * java/awt/MediaTracker.java
7065         (addImage(Image,int)): Call imageUpdate() to udpate image status.
7066         (addImage(Image,int,int,int)): Likewise.
7067
7068 2004-06-11  Michael Koch  <konqueror@gmx.de>
7069
7070         * javax/swing/text/AbstractDocument.java,
7071         javax/swing/text/Document.java,
7072         javax/swing/text/GapContent.java,
7073         javax/swing/text/JTextComponent.java,
7074         javax/swing/text/PlainDocument.java:
7075         Reformatted.
7076
7077 2004-06-11  Michael Koch  <konqueror@gmx.de>
7078
7079         * javax/swing/JRootPane.java
7080         (AccessibleJRootPane.serialVersionUID): New field.
7081         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
7082         (AccessibleJRootPane.getAccessibleRole): New method.
7083         (RootLayout): Implements Serializable.
7084         (RootLayout.serialVersionUID): New field.
7085         (RootLayout.RootLayout): New constructor.
7086         (setJMenuBar): Made public.
7087         (getJMenuBar): Likewise.
7088         (JRootPane): Likewise.
7089         (createContentPane): Likewise.
7090         (createGlassPane): Likewise.
7091         (createLayeredPane): Likewise.
7092
7093 2004-06-11  Michael Koch  <konqueror@gmx.de>
7094
7095         * javax/swing/SwingUtilities.java
7096         (isLeftMouseButton): Fixed javadoc.
7097         (isMiddleMouseButton): Likewise.
7098         (isRightMouseButton): Likewise.
7099
7100 2004-06-11  Michael Koch  <konqueror@gmx.de>
7101
7102         * javax/swing/JScrollPane.java
7103         (serialVersionUID): New field.
7104         (columnHeader): Made protected.
7105         (rowHeader): Likewise.
7106         (lowerLeft): Likewise.
7107         (lowerRight): Likewise.
7108         (upperLeft): Likewise.
7109         (upperRight): Likewise.
7110         (horizontalScrollBar): Likewise.
7111         (horizontalScrollBarPolicy): Likewise.
7112         (verticalScrollBar): Likewise.
7113         (verticalScrollBarPolicy): Likewise.
7114         (viewport): Likewise.
7115
7116 2004-06-11  Michael Koch  <konqueror@gmx.de>
7117
7118         * javax/swing/LookAndFeel.java: Fixed javadocs.
7119
7120 2004-06-11  Michael Koch  <konqueror@gmx.de>
7121
7122         * javax/swing/JEditorPane.java: Fixed javadocs.
7123         (JEditorPane): Removed redundant call to to this().
7124         (fireHyperlinkUpdate): Implemented.
7125
7126 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
7127
7128         * javax/swing/JMenu.java: Fixed file name 
7129         in the file comment.
7130
7131 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
7132
7133         * javax/swing/JMenu.java: Added javadoc.
7134         (JMenu): Added MenuChangeListener to listen to 
7135         ChangeEvents occuring in menu's model. 
7136         (insert): Throw IllegalArgumentException if 
7137         index is less than 0
7138         (setSelected): Reimplement.
7139         (setPopupMenuVisible): Call menu's model isEnabled()
7140         (setDelay): Throw IllegalArgumentException if 
7141         given amount of delay is less than 0.
7142         (createActionComponent): Implemented.
7143         (createActionChangeListener): Implemented.
7144         (addSeparator): Implemented.
7145         (getItem): Throw IllegalArgumentException if index is 
7146         less than 0.
7147         (getItemCount): Implemented.
7148         (fireMenuSelected): Changed to use menuEvent.
7149         (fireMenuDeselected): Likewise.
7150         (fireMenuCanceled): Likewise.
7151         (setAccelerator): Changed to throw an error if this 
7152         method is used. 
7153         (doClick): Implemented.
7154         (JMenu.ActionChangedListener): New inner class to handle
7155         PropertyChangeEvents occuring in the actions associated with menu.
7156         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
7157         (BasicMenuUI): Added PropertyChangeListener to the menu.
7158         (createChangeListener): Implemented.
7159         (createMenuDragMouseListener): Likewise.
7160         (createMenuKeyListener): Likewise.
7161         (createPropertyChangeListener): Likewise.
7162         (uninstallListeners): Likewise.
7163         (BasicMenuUI.MouseInputHandler): Reimplemented.
7164         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
7165         (BasicMenuUI.ChangeHandler): Likewise.
7166         (BasicMenuUI.MenuDragMouseHandler): Likewise.
7167         (BasicMenuUI.MenuKeyHandler): Likewise.
7168
7169 2004-06-10  David Jee  <djee@redhat.com>
7170
7171         * java/awt/MediaTracker.java
7172         (imageUpdate): Only do notifyAll() if the image is complete.
7173
7174 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
7175
7176         * javax/swing/JApplet.java:
7177         (getJMenuBar): Made public.
7178         (setJMenuBar): Likewise.
7179         * javax/swing/JFrame.java:
7180         (getJMenuBar): Made public.
7181         (setJMenuBar): Likewise.
7182         * javax/swing/JWindow.java:
7183         (getJMenuBar): Removed.
7184         (setJMenuBar): Removed.
7185
7186 2004-06-10  Michael Koch  <konqueror@gmx.de>
7187
7188         * javax/swing/JEditorPane.java
7189         (createEditorKitForContentType): Fixed visibility.
7190         (fireHyperlinkUpdate): Likewise.
7191         (getContentType): Likewise.
7192         (getEditorKit): Likewise.
7193         (getEditorKitForContentType): Likewise.
7194         (getPage): Likewise.
7195         (read): Likewise.
7196         (registerEditorKitForContentTyoe): Likewise.
7197         (replaceSelection): Likewise.
7198         (setContentType): Likewise.
7199         (setEditorKit): Likewise.
7200         (setPage): Likewise.
7201
7202 2004-06-10  Michael Koch  <konqueror@gmx.de>
7203
7204         * javax/swing/Timer.java
7205         (Timer): New constructor.
7206         * javax/swing/plaf/basic/BasicProgressBarUI.java
7207         (animationTimer): Don't initialize at construction.
7208         (startAnimationTimer): Added since tag.
7209         (stopAnimationTimer): Likewise.
7210         (installUI): Use new Timer constructor.
7211         * javax/swing/plaf/basic/BasicScrollBarUI.java
7212         (installUI): Likewise.
7213         * javax/swing/plaf/basic/BasicSliderUI.java
7214         (installUI): Likewise.
7215
7216 2004-06-10  Michael Koch  <konqueror@gmx.de>
7217
7218         * javax/swing/ButtonGroup.java
7219         (serialVersionUID): Made private.
7220         (buttons): Renamed from v, added javadoc.
7221         (sel): Added javadoc.
7222         (ButtonGroup): Likewise.
7223         (add): Likewise.
7224         (remove): Likewise.
7225         (getElements): Likewise.
7226         (getSelection): Likewise.
7227         (setSelected): Likewise.
7228         (isSelected): Likewise.
7229         (getButtonCount): Likewise.
7230
7231 2004-06-10  Michael Koch  <konqueror@gmx.de>
7232
7233         * javax/swing/ButtonGroup.java,
7234         javax/swing/ImageIcon.java,
7235         javax/swing/JEditorPane.java,
7236         javax/swing/JRootPane.java,
7237         javax/swing/JTextField.java,
7238         javax/swing/LookAndFeel.java,
7239         javax/swing/plaf/basic/BasicTextUI.java:
7240         Reindented.
7241
7242 2004-06-10  Michael Koch  <konqueror@gmx.de>
7243
7244         * javax/swing/text/Style.java: Added javadocs.
7245
7246 2004-06-10  Michael Koch  <konqueror@gmx.de>
7247
7248         * javax/swing/JComponent.java
7249         (fireVetoableChange): Removed redundant cast.
7250         * javax/swing/JLabel.java
7251         (getDisabledIcon): Save icon for next call.
7252
7253 2004-06-10  Michael Koch  <konqueror@gmx.de>
7254
7255         * javax/swing/KeyStroke.java
7256         (getKeyStroke(char,boolean)): Marked deprecated.
7257
7258 2004-06-10  Michael Koch  <konqueror@gmx.de>
7259
7260         * javax/swing/DefaultCellEditor.java,
7261         javax/swing/GrayFilter.java,
7262         javax/swing/event/DocumentEvent.java,
7263         javax/swing/text/JTextComponent.java,
7264         javax/swing/text/MutableAttributeSet.java:
7265         Reindented.
7266
7267 2004-06-10  Michael Koch  <konqueror@gmx.de>
7268
7269         * javax/swing/plaf/BorderUIResource.java:
7270         Added serialVersionUID all over.
7271
7272 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
7273
7274         * javax/swing/undo/UndoManager.java: Re-written from scratch.
7275
7276 2004-06-10  Michael Koch  <konqueror@gmx.de>
7277
7278         * javax/swing/table/DefaultTableCellRenderer.java
7279         (noFocusBorder): Initialize directly.
7280
7281 2004-06-10  Michael Koch  <konqueror@gmx.de>
7282
7283         * javax/swing/plaf/basic/BasicArrowButton.java
7284         (setDirection): Use method argument.
7285
7286 2004-06-10  Michael Koch  <konqueror@gmx.de>
7287
7288         * javax/swing/plaf/BorderUIResource.java,
7289         javax/swing/plaf/ComponentUI.java,
7290         javax/swing/undo/CompoundEdit.java,
7291         javax/swing/undo/StateEdit.java:
7292         Fixed javadocs all over.
7293
7294 2004-06-10  Michael Koch  <konqueror@gmx.de>
7295
7296         * javax/swing/DefaultButtonModel.java
7297         (ARMED): Made public final, fixed value.
7298         (ENABLED): Likewise.
7299         (PRESSED): Likewise.
7300         (ROLLOVER): Likewise.
7301         (SELECTED): Likewise.
7302         (stateMask): Initialize directly.
7303         (listenerList): Likewise.
7304         (mnemonic): Likewise.
7305         (fireStateChanged): Removed argument, use changeEvent as event.
7306         All places where this method is called are fixed too.
7307         (getActionCommant): Fixed javadoc.
7308         (setGroup): Fixed javadoc.
7309         (getGroup): New method.
7310
7311 2004-06-09  Olga Rodimina <rodimina@redhat.com>
7312
7313         * javax/swing/AbstractButton.java
7314         (AbstractButton): Use init() to initialize the button.
7315         (init): New Method. Initializes AbstractButton.
7316         * javax/swing/JMenuItem.java: Documented.
7317         (JMenuItem): Reimplemented.
7318         (init): Implemented.
7319         (setEnabled): Changed to call super.setEnabled()
7320         (processMouseEvent): Reimplemented.
7321         (fireMenuKeyPressed): Implemented.
7322         (fireMenuKeyReleased): Implemented.
7323         (fireMenuKeyTyped): Implemented.
7324         (menuSelectionChanged): disarm the model if the menu item was
7325         deselected.
7326         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
7327         (getPath): Change to use ArrayList instead of Vector.
7328         (getPreferredSize): Renamed variable.
7329         (paintMenuItem): Paint margin area of menu item.
7330         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
7331         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
7332         menu item's bounds before clearing the selection.       
7333
7334 2004-06-09  David Jee  <djee@redhat.com>
7335
7336         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
7337         (GtkTextComponentPeer): Set caret position to 0.
7338         * java/awt/TextComponent.java
7339         (setText): Set caret position to 0.
7340         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7341         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
7342         Handle GtkScrolledWindow separately. Fix signal handler blocking.
7343         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
7344         Likewise.
7345         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7346         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
7347         visible.
7348
7349 2004-06-09  Kim Ho  <kho@redhat.com>
7350
7351         * Makefile.am: New files
7352         * Makefile.in: Regenerated
7353         * java/awt/Container.java
7354         (getComponentAt): Removed.
7355         * javax/swing/AbstractAction.java
7356         (ENABLED_PROPERTY): New property.
7357         (putValue): Fire PropertyChangeEvents.
7358         (setEnabled): ditto.
7359         (firePropertyChange): Javadoc and implement
7360         convenience method.
7361         * javax/swing/AbstractButton.java
7362         (setAction): Don't create PropertyChangeListener
7363         if new Action is null.
7364         (setIcon): Don't set icon till after comparing
7365         it.
7366         (configurePropertiesFromAction): Check mnemonic
7367         key before calling intValue().
7368         (createActionPropertyChangeListener): Check
7369         properties rather than bulk change.
7370         * javax/swing/DefaultDesktopManager.java:
7371         Implement.
7372         * javax/swing/DesktopManager.java:
7373         Jalopy and javadoc.
7374         * javax/swing/JComponent.java
7375         (fireVetoableChange): Implement.
7376         (paintImmediately): Use root component.
7377         * javax/swing/JDesktopPane.java: Implement
7378         * javax/swing/JInternalFrame.java: Implement
7379         * javax/swing/JLabel.java
7380         (getDisabledIcon): Return grayscaled icon if
7381         no disabled icon specified.
7382         * javax/swing/JMenuBar.java
7383         (getComponentAtIndex): Use getComponent
7384         * javax/swing/JOptionPane.java
7385         (getDesktopPaneForComponent): Use SwingUtilities'
7386         getAncestorOfClass
7387         (getFrameForComponent): ditto.
7388         * javax/swing/JSplitPane.java
7389         (remove): Use getComponent.
7390         * javax/swing/SwingUtilities.java
7391         (convertPoint): Implement.
7392         * javax/swing/plaf/basic/BasicButtonUI.java
7393         (paintButtonNormal): Check opaqueness before
7394         filling background.
7395         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
7396         Implement
7397         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
7398         Implement.
7399         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
7400         Implement.
7401         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
7402         Implement.
7403         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7404         Change InternalFrame and Desktop colors.
7405
7406 2004-06-09  David Jee  <djee@redhat.com>
7407
7408         * java/awt/Container.java
7409         (remove): Do not set component to invisible.
7410
7411 2004-06-09  Michael Koch  <konqueror@gmx.de>
7412
7413         * javax/swing/tree/DefaultMutableTreeNode.java
7414         (getLeafCount): Renamed enum to e.
7415
7416 2004-06-09  Michael Koch  <konqueror@gmx.de>
7417
7418         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
7419         (positionForMouseEvent): Removed redundant semicolon.
7420         (continueDrag): Use method arguments.
7421
7422 2004-06-09  Michael Koch  <konqueror@gmx.de>
7423
7424         * javax/swing/border/TitledBorder.java,
7425         javax/swing/filechooser/FileSystemView.java,
7426         javax/swing/plaf/basic/BasicButtonListener.java,
7427         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7428         javax/swing/plaf/basic/BasicLabelUI.java,
7429         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7430         javax/swing/plaf/basic/BasicScrollBarUI.java,
7431         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7432         javax/swing/plaf/basic/BasicSliderUI.java,
7433         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7434         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7435         javax/swing/table/JTableHeader.java,
7436         javax/swing/text/AbstractDocument.java,
7437         javax/swing/text/DefaultCaret.java,
7438         javax/swing/text/StyledEditorKit.java,
7439         javax/swing/tree/DefaultTreeCellEditor.java:
7440         Reworked import statements.
7441
7442 2004-06-08  Graydon Hoare  <graydon@redhat.com>
7443
7444         * javax/swing/Box.java: Temporarily comment out code
7445         broken due to visibility bug.
7446
7447 2004-06-09  Michael Koch  <konqueror@gmx.de>
7448
7449         * javax/swing/ImageIcon.java
7450         (ImageIcon): Added missing constructor.
7451
7452 2004-06-08  Michael Koch  <konqueror@gmx.de>
7453
7454         * javax/swing/JToggleButton.java
7455         (JToggleButton): New constructor.
7456         (getAccessibleContext): Moved documentation into javadoc.
7457         (getUIClassID): Likewise.
7458
7459 2004-06-08  Michael Koch  <konqueror@gmx.de>
7460
7461         * javax/swing/AbstractButton.java
7462         (getDisabledIcon): Create disabled icon if none exists yet.
7463
7464 2004-06-08  Michael Koch  <konqueror@gmx.de>
7465
7466         * javax/swing/plaf/basic/BasicLookAndFeel.java
7467         (initClassDefaults): Added FormattedTextFieldUI.
7468         (loadResourceBundle): Renamed enum to e.
7469
7470 2004-06-08  Michael Koch  <konqueror@gmx.de>
7471
7472         * javax/swing/plaf/basic/BasicButtonUI.java
7473         (paintIcon): Simplified.
7474         (paintText): Paint disabled button correctly.
7475
7476 2004-06-08  Michael Koch  <konqueror@gmx.de>
7477
7478         * javax/swing/JComponent.java
7479         (createToolTip): Use official JToolTip API.
7480
7481 2004-06-08  Michael Koch  <konqueror@gmx.de>
7482
7483         * javax/swing/JToolTip.java
7484         (JToolTip): No arguments in API.
7485         (setTipText): New method.
7486
7487 2004-06-08  Michael Koch  <konqueror@gmx.de>
7488
7489         * javax/swing/SwingUtilities.java
7490         (isLeftMouseButton): New method.
7491         (isMiddleMouseButton): New method.
7492         (isRightMouseButton): New method.
7493
7494 2004-06-08  Michael Koch  <konqueror@gmx.de>
7495
7496         * javax/swing/AbstractButton.java,
7497         javax/swing/CellRendererPane.java,
7498         javax/swing/JCheckBoxMenuItem.java,
7499         javax/swing/JColorChooser.java,
7500         javax/swing/JComboBox.java,
7501         javax/swing/JComponent.java,
7502         javax/swing/JDesktopPane.java,
7503         javax/swing/JFileChooser.java,
7504         javax/swing/JMenu.java,
7505         javax/swing/JMenuItem.java,
7506         javax/swing/JOptionPane.java,
7507         javax/swing/JPasswordField.java,
7508         javax/swing/JPopupMenu.java,
7509         javax/swing/JProgressBar.java,
7510         javax/swing/JRadioButtonMenuItem.java,
7511         javax/swing/JScrollBar.java,
7512         javax/swing/JSeparator.java,
7513         javax/swing/JSlider.java,
7514         javax/swing/JSplitPane.java,
7515         javax/swing/JTabbedPane.java,
7516         javax/swing/JTextField.java,
7517         javax/swing/JToolBar.java,
7518         javax/swing/text/JTextComponent.java:
7519         Fixed all constructors of accessibility classes.
7520
7521 2004-06-08  Michael Koch  <konqueror@gmx.de>
7522
7523         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
7524         over.
7525
7526 2004-06-08  Michael Koch  <konqueror@gmx.de>
7527
7528         * javax/swing/Box.java
7529         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
7530         (AccessibleBoxFiller.serialVersionUID): New member variable.
7531         * javax/swing/DefaultButtonModel.java
7532         (stateMask): Made protected.
7533         (listenerList): Likewise.
7534         (changeEvent): Likewise.
7535         (group): Likewise.
7536         (mnemonic): Likewise.
7537         (actionCommand): Likewise.
7538         (getListeners): New method.
7539         (getActionListeners): New method.
7540         (getItemListeners): New method.
7541         (getChangeListeners): New method.
7542         (fireItemStateChanged): Simplified.
7543         (fireActionPerformed): Simplified.
7544         (fireStateChanged): Simplified.
7545         * javax/swing/JFrame.java
7546         (JFrame): Implements WindowContants.
7547         (HIDE_ON_CLOSE): Removed.
7548         (EXIT_ON_CLOSE): Removed.
7549         (DISPOSE_ON_CLOSE): Removed.
7550         (DO_NOTHING_ON_CLOSE): Removed.
7551         (processWindowEvent): Exit with code 0.
7552         (setDefaultCloseOperation): Do security check before setting value.
7553         * javax/swing/JOptionPane.java
7554         (message): Initialize only in constructor.
7555         * javax/swing/JToolTip.java: Removed unused imports.
7556         * javax/swing/JViewport.java
7557         (serialVersionUID): New member variable.
7558         (SIMPLE_SCROLL_MODE): Made final, fixed value.
7559         (BLIT_SCROLL_MODE): Likewise.
7560         (BACKINGSTORE_SCROLL_MODE): Likewise.
7561         (scrollUnderway): Made protected.
7562         (isViewSizeSet): Likewise.
7563         * javax/swing/ListModel.java: Fixed javadoc.
7564         * javax/swing/Popup.java: Likewise.
7565         * javax/swing/RepaintManager.java
7566         (paintDirtyRegions): Don't use internal classes of
7567         java.util.AbstractMap.
7568         * javax/swing/ScrollPaneConstants.java: Reindented.
7569         * javax/swing/ScrollPaneLayout.java
7570         (viewport): Made protected.
7571         (verticalScrollBar): Made protected, renamed to vsb.
7572         (horizontalScrollBar): Made protected, renamed to hsb.
7573         (rowHeader): Made protected, renamed to rowHead.
7574         (columnHeader): Made protected, renamed to colHead.
7575         (lowerLeft): Made protected.
7576         (lowerRight): Made protected.
7577         (upperLeft): Made protected.
7578         (upperRight): Made protected.
7579         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
7580         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
7581
7582 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
7583
7584         * java/awt/MediaTracker.java (imageUpdate): Only set status to
7585         LOADING if flags has SOMEBITS set.
7586
7587 2004-06-07  Michael Koch  <konqueror@gmx.de>
7588
7589         * javax/swing/AbstractButton.java: Reorganized imports.
7590         * javax/swing/ActionMap.java: Likewise.
7591         * javax/swing/DefaultButtonModel.java: Likewise.
7592         * javax/swing/DefaultListModel.java: Likewise.
7593         * javax/swing/ImageIcon.java: Likewise.
7594         (serialVersionUID): New member variable.
7595         * javax/swing/JComboBox.java: Reorganized imports.
7596         * javax/swing/JComponent.java: Likewise.
7597         (ui): Made protected.
7598         (listenerList): Made protected.
7599         (TOOL_TIP_TEXT_KEY): New constant.
7600         (scrollRectToVisible): Removed redundant null check.
7601         * javax/swing/JFrame.java: Reorganized imports.
7602         * javax/swing/JInternalFrame.java: Reorganized imports.
7603         * javax/swing/JProgressBar.java: Likewise.
7604         * javax/swing/JRootPane.java: Likewise.
7605         * javax/swing/JScrollBar.java: Likewise.
7606         * javax/swing/JSeparator.java: Likewise.
7607         * javax/swing/JSlider.java: Likewise.
7608         * javax/swing/JTabbedPane.java: Likewise.
7609         * javax/swing/JTextField.java: Likewise.
7610         * javax/swing/JToolBar.java: Likewise.
7611         * javax/swing/JTree.java: Likewise.
7612         * javax/swing/JViewport.java: Likewise.
7613         * javax/swing/JWindow.java: Likewise.
7614         * javax/swing/KeyStroke.java: Likewise.
7615         * javax/swing/LookAndFeel.java: Likewise.
7616         * javax/swing/MenuSelectionManager.java: Likewise.
7617         * javax/swing/SwingUtilities.java: Likewise.
7618         * javax/swing/Timer.java: Likewise.
7619         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
7620         * javax/swing/JList.java
7621         (HORIZONTAL_WRAP): Made final, fixed value.
7622         (VERTICAL): Likewise.
7623         (VERTICAL_WRAP): Likewise.
7624
7625 2004-06-07  Michael Koch  <konqueror@gmx.de>
7626
7627         * javax/swing/AbstractButton.java
7628         (serialVersionUID): New member variable.
7629         (AccessibleAbstractButton.serialVersionUID): Likewise.
7630         (AbstractButton): Made public.
7631         * javax/swing/Box.java
7632         (AccessibleBox.serialVersionUID): New member variable.
7633         (Filler.serialVersionUID): Likewise.
7634         * javax/swing/DefaultListSelectionModel.java
7635         (serialVersionUID): Likewise.
7636         * javax/swing/JApplet.java
7637         (serialVersionUID): Likewise.
7638         * javax/swing/JCheckBox.java
7639         (serialVersionUID): Likewise.
7640         * javax/swing/JCheckBoxMenuItem.java
7641         (serialVersionUID): Likewise.
7642         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
7643         * javax/swing/JColorChooser.java
7644         (serialVersionUID): Likewise.
7645         (AccessibleJColorChooser.serialVersionUID): Likewise.
7646         * javax/swing/JComponent.java
7647         (serialVersionUID): Made private.
7648         (AccessibleJComponent.serialVersionUID): New member variable.
7649         * javax/swing/JDesktopPane.java
7650         (serialVersionUID): Likewise.
7651         * javax/swing/JDialog.java
7652         (serialVersionUID): Likewise.
7653         * javax/swing/JFormattedTextField.java
7654         (serialVersionUID): Fixed value.
7655         * javax/swing/JFrame.java
7656         (serialVersionUID): New member variable.
7657         (getDefaultCloseOpertation): Made public.
7658         * javax/swing/JLayeredPane.java
7659         (serialVersionUID): Likewise.
7660         (LAYER_PROPERTY): Made final, fixed value.
7661         (JLayeredPane): Made public.
7662         * javax/swing/JMenu.java
7663         (AccessibleJMenu.serialVersionUID): New member variable.
7664         (WinListener.serialVersionUID): Likewise.
7665         * javax/swing/JMenuBar.java
7666         (serialVersionUID): Likewise.
7667         (getComponentAtIndex): Added @deprecated tag.
7668         * javax/swing/JMenuItem.java
7669         (serialVersionUID): New member variable.
7670         (AccessibleJMenuItem.serialVersionUID): Likewise.
7671         * javax/swing/JOptionPane.java
7672         (serialVersionUID): Likewise.
7673         (AccessibleJOptionPane.serialVersionUID): Likewise.
7674         * javax/swing/JPopupMenu.java
7675         (serialVersionUID): Likewise.
7676         (AccessibleJPopupMenu.serialVersionUID): Likewise.
7677         (getPopupMenuListeners): New method.
7678         (getComponentAtIndex): Added @deprecated tag.
7679         * javax/swing/JProgressBar.java
7680         (serialVersionUID): New member variable.
7681         (AccessibleJProgressBar.serialVersionUID): Likewise.
7682         * javax/swing/JRadioButton.java
7683         (serialVersionUID): Likewise.
7684         * javax/swing/JRadioButtonMenuItem.java
7685         (serialVersionUID): Likewise.
7686         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
7687         * javax/swing/JScrollBar.java
7688         (serialVersionUID): Likewise.
7689         (AccessibleJScrollBar.serialVersionUID): Likewise.
7690         * javax/swing/JSeparator.java
7691         (serialVersionUID): Likewise.
7692         (AccessibleJSeparator.serialVersionUID): Likewise.
7693         * javax/swing/JSlider.java: Fixed javadocs.
7694         (AccessibleJSlider.serialVersionUID): New member variable.
7695         * javax/swing/JSplitPane.java: Added copyright statement.
7696         (serialVersionUID): New member variable.
7697         (AccessibleJSplitPane.serialVersionUID): Likewise.
7698         * javax/swing/JTabbedPane.java
7699         (serialVersionUID): Likewise.
7700         (AccessibleJTabbedPane.serialVersionUID): Likewise.
7701         (ModelListener.serialVersionUID): Likewise.
7702         (ModelListener.ModelListener): New constructor.
7703         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
7704         (WRAP_TAB_LAYOUT): Likewise.
7705         * javax/swing/JTable.java
7706         (serialVersionUID): New member variable.
7707         * javax/swing/JToggleButton.java
7708         (serialVersionUID): Likewise.
7709         (ToggleButtonModel): Made static.
7710         (ToggleButtonModel.serialVersionUID): New member variable.
7711         * javax/swing/JToolTip.java
7712         (serialVersionUID): Likewise.
7713         * javax/swing/JTree.java
7714         (serialVersionUID): Likewise.
7715         * javax/swing/JWindow.java
7716         (serialVersionUID): Likewise.
7717         * javax/swing/Timer.java
7718         (serialVersionUID): Likewise.
7719
7720 2004-06-06  Michael Koch  <konqueror@gmx.de>
7721
7722         * javax/swing/SwingConstants.java
7723         (NEXT): New constant.
7724         (PREVIOUS): Likewise.
7725         * javax/swing/UIManager.java
7726         (LookAndFeel): Made public.
7727         (LookAndFeel.getClassName): Likewise.
7728         (LookAndFeel.getName): Likewise.
7729
7730 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
7731
7732         * javax/swing/JCheckBoxMenuItem.java:
7733         Removed CVS tags.
7734         * javax/swing/JMenu.java: Likewise.
7735         * javax/swing/JMenuBar.java: Likewise.
7736         * javax/swing/JMenuItem.java: Likewise.
7737         * javax/swing/JPopupMenu.java: Likewise.
7738         * javax/swing/JRadioButtonMenuItem.java: Likewise.
7739         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
7740         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
7741         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7742         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
7743         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
7744         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
7745
7746 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
7747         
7748         * javax/swing/plaf/basic/BasicMenuUI.java:
7749         (MouseEntered): Do not call getPath() from MenuSelectionManager.
7750         Call getPath() from super class instead.
7751
7752 2004-05-31  David Jee  <djee@redhat.com>
7753
7754         * java/awt/Container.java
7755         (remove): Set component visibility to false after removing it.
7756
7757 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
7758
7759         * java/awt/Component.java (getForeground): Return SystemColor if
7760         parent is null.
7761         (getBackground): Likewise.
7762
7763         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
7764         (item_highlighted): New function.
7765         (connectSignals): Set item_highlighted as list's select
7766         function.
7767
7768         * java/applet/Applet.java: Revert changes from 2004-04-29,
7769         2004-03-15 and 2004-03-14.
7770
7771         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
7772         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
7773         factor.
7774
7775         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
7776         "Dialog" as the default font.
7777         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
7778         Likewise.
7779         * java/awt/Component.java (getFont): Return "Dialog" font by
7780         default.
7781         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
7782         Multiply size argument to pango_font_description_set_size by the
7783         DPI conversion factor rather than by PANGO_SCALE.
7784         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
7785         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
7786         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
7787         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
7788         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7789         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
7790         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
7791         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
7792         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
7793         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
7794         Divide baseline y coordinate by DPI conversion factor rather
7795         than by PANGO_SCALE.
7796         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
7797         (area_prepared): Fix typo.
7798         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
7799         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
7800         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
7801         (dpi_conversion_factor): New global variable.
7802         (init_dpi_conversion_factor): New function to calculate and
7803         track DPI conversion factor.
7804         (dpi_changed_cb): New callback.
7805         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
7806
7807 2004-05-27  David Jee  <djee@redhat.com>
7808
7809         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7810         (getGraphics): Return a new GdkGraphics instance.
7811         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
7812         (getGraphics): Call super.getGraphics().
7813
7814 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
7815
7816         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7817         (setNativeBounds): Clamp width and height values to >= 0.
7818
7819         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7820         (find_fg_color_widget): Handle GtkOptionMenu specially.
7821
7822         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7823         (pre_event_handler): Only post configure events to visible
7824         top-level windows.
7825
7826 2004-05-26  David Jee  <djee@redhat.com>
7827
7828         * java/awt/BorderLayout.java
7829         (layoutContainer): Fix size calculations.
7830
7831 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
7832
7833         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7834         (window_wm_protocols_filter): Remove function.
7835         (create): Remove filter that removes WM_TAKE_FOCUS client
7836         messages.
7837
7838 2004-06-17  Anthony Green  <green@redhat.com>
7839
7840         * java/util/zip/ZipFile.java (getInputStream): Return null if
7841         entry not found.
7842
7843         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
7844         directory contents to the class path.
7845
7846 2004-06-15  Andrew Haley  <aph@redhat.com>
7847
7848         * java/lang/natSystem.cc (getenv0): Don't assume environment
7849         variable is Latin 1 coded.
7850
7851 2004-06-14  Andreas Jaeger  <aj@suse.de>
7852
7853         * configure.in: Support --enable-version-specific-runtime-libs.
7854         * configure: Regenerated.
7855
7856 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
7857
7858         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
7859         to pass ClassLoader argument.
7860         * java/util/GregorianCalendar.java: Likewise.
7861         * java/util/Currency.java: Likewise.
7862         * java/text/BreakIterator.java: Likewise.
7863         * java/text/Collator.java: Likewise.
7864         * java/text/DateFormat.java: Likewise.
7865         * java/text/DateFormatSymbols.java: Likewise.
7866         * java/text/DecimalFormatSymbols.java: Likewise.
7867         * java/text/NumberFormat.java: Likewise.
7868         * java/awt/Window.java: Likewise.
7869
7870 2004-06-14  Andrew Haley  <aph@redhat.com>
7871
7872         * java/lang/System.java: (getenv0): New method.
7873         (getenv): Add security check.  Do the right thing.
7874         * java/lang/natSystem.cc (getenv0): New method.
7875
7876 2004-06-12  Mark Wielaard  <mark@klomp.org>
7877
7878         * javax/swing/RepaintManager.java
7879         (paintDirtyRegions): Use entrySet(), not values().
7880
7881 2004-06-10  Mark Wielaard  <mark@klomp.org>
7882
7883         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
7884         NoSuchMethodError.
7885
7886 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
7887
7888         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
7889         when we already know the answer.
7890         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7891         (setStartRule,setEndRule): Don't take abs of day number.
7892         (getOffset): Clarify docs.  Add argument checks.
7893         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7894         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7895         endTimeMode.
7896
7897 2004-06-10  Tom Tromey  <tromey@redhat.com>
7898
7899         * interpret.cc (run): Handle wide fload.
7900
7901 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
7902
7903         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
7904
7905 2004-06-05  Michael Koch  <konqueror@gmx.de>
7906
7907         * javax/swing/SwingConstants.java
7908         (NEXT): New constant.
7909         (PREVIOUS): Likewise.
7910
7911 2004-06-05  Michael Koch  <konqueror@gmx.de>
7912
7913         * javax/swing/UIManager.java
7914         (LookAndFeel): Made public.
7915         (LookAndFeel.getName): Likewise.
7916         (LookAndFeel.getClassName): Likewise.
7917
7918 2004-06-03  Michael Koch  <konqueror@gmx.de>
7919
7920         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7921         (requestFocus): Revert last changes.
7922         (gtkRequestFocus): Removed.
7923         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7924         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
7925         Renamed to ...
7926         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
7927         Reverted last patch.
7928         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7929         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
7930         Reverted comment change.
7931
7932 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
7933
7934         * javax/swing/JCheckBoxMenuItem.java:
7935         Removed CVS tags.
7936         * javax/swing/JMenu.java: Likewise.
7937         * javax/swing/JMenuBar.java: Likewise.
7938         * javax/swing/JMenuItem.java: Likewise.
7939         * javax/swing/JPopupMenu.java: Likewise.
7940         * javax/swing/JRadioButtonMenuItem.java: Likewise.
7941         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
7942         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
7943         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7944         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
7945         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
7946         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
7947
7948 2004-06-01  Tom Tromey  <tromey@redhat.com>
7949
7950         * java/io/ObjectStreamField.java: Cleaned up imports.
7951
7952 2004-06-01  Michael Koch  <konqueror@gmx.de>
7953
7954         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
7955       
7956 2004-06-01  Mark Wielaard  <mark@klomp.org>
7957
7958         * java/io/Writer.java (Writer(Object)): Fixed API doc.
7959
7960 2004-06-01  Michael Koch  <konqueror@gmx.de>
7961
7962         * java/security/Security.java
7963         (insertProviderAt): Use equals() instead of ==.
7964         (removeProvicer): Likewise.
7965         (getProvider): Likewise.
7966         * java/security/Signature.java
7967         (sign): Don't set state to UNINITIALIZED.
7968         (verify): Likewise.
7969
7970 2004-06-01  Mark Wielaard  <mark@klomp.org>
7971
7972         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
7973         Implement by calling gtkRequestFocus.
7974         (gtkRequestFocus): New native method.
7975         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7976         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
7977         Renamed to ...
7978         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
7979         New function name.
7980         (filter_expose_event_handler):
7981         Mark static.
7982         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7983         (menu_pos): Mark static.
7984
7985 2004-06-01  Michael Koch  <konqueror@gmx.de>
7986
7987         * java/text/CollationElementIterator.java,
7988         java/text/CollationKey.java,
7989         java/text/RuleBasedCollator.java: New versions from GNU classpath.
7990         * testsuite/libjava.mauve/xfails: Removed all
7991         java.text.CollationElementIterator tests.
7992
7993 2004-06-01  Michael Koch  <konqueror@gmx.de>
7994
7995         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
7996         version.
7997         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
7998         Java 1.5 keyword usage.
7999
8000 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
8001
8002         * javax/swing/plaf/basic/BasicMenuUI.java:
8003         (MouseEntered): Do not call getPath() from MenuSelectionManager.
8004         Call getPath() from super class instead.
8005
8006 2004-05-31  Michael Koch  <konqueror@gmx.de>
8007
8008         * java/io/SequenceInputStream.java:
8009         Rename enum to e because enum is a keyword in Java 1.5.
8010
8011 2004-05-31  Michael Koch  <konqueror@gmx.de>
8012
8013         * gnu/java/rmi/rmic/CompilerProcess.java:
8014         Fixed javadoc to by XHTML compliant.
8015
8016 2004-05-30  Mark Wielaard  <mark@klomp.org>
8017
8018         * java/awt/Toolkit.java (loadSystemColors): Implement.
8019
8020 2004-05-30  Michael Koch  <konqueror@gmx.de>
8021
8022         * java/lang/System.java: Reordered imports.
8023
8024 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
8025
8026         * java/text/DecimalFormat.java
8027         (parse): Fixed parsing of decimal strings. Number of maximum
8028         digits to be read should now work.
8029         * java/text/SimpleDateFormat.java
8030         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
8031         formatter. This fixes DateFormatTest.
8032
8033 2004-05-30  Michael Koch  <konqueror@gmx.de>
8034
8035         * java/nio/Buffer.java
8036         (limit): Fixed off by one error.
8037         * java/nio/CharBuffer.java
8038         (wrap): Fixed arguments, added javadocs.
8039
8040 2004-05-30  Michael Koch  <konqueror@gmx.de>
8041
8042         * gnu/java/beans/BeanInfoEmbryo.java,
8043         java/awt/im/InputContext.java,
8044         javax/swing/tree/DefaultMutableTreeNode.java:
8045         Rename enum to e because enum is a keyword in Java 1.5.
8046
8047 2004-05-30  Michael Koch  <konqueror@gmx.de>
8048
8049         * gnu/java/math/MPN.java,
8050         java/awt/geom/Arc2D.java:
8051         Fixed javadocs all over.
8052
8053 2004-05-30  Michael Koch  <konqueror@gmx.de>
8054
8055         * java/awt/DefaultKeyboardFocusManager.java
8056         (dispatchEvent): Call method to get key event dispatchers.
8057         (dispatchKeyEvent): Call method to get key event post processors.
8058         * javax/swing/JComponent.java
8059         (listenerList): Made protected.
8060         * javax/swing/JOptionPane.java
8061         (message): Don't initialize.
8062         (JOptionPane): Set message text.
8063         * javax/swing/JPopupMenu.java
8064         (show): Fixed typo in argument name.
8065         * javax/swing/RepaintManager.java
8066         (paintDirtyRegions): Use public API of java.util.Map.
8067         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8068         (positionForMouseEvent): Removed redundant ';'.
8069         (continueDrag): Use method arguments.
8070
8071 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
8072
8073         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
8074         results.
8075
8076 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
8077
8078         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
8079         _Jv_AllocBytes.
8080         * gnu/gcj/RawDataManaged.java: New file.
8081         * java/lang/Thread.java (data): Declare as RawDataManaged.
8082         * java/lang/natThread.cc (init_native): Cast natThread data to
8083         RawDataManaged, not jobject.
8084         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
8085         * Makefile.in: Rebuilt.
8086
8087 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
8088
8089         * java/util/SimpleTimeZone.java: Reverting my last change until I
8090         can fix it properly.
8091
8092 2004-05-27  Michael Koch  <konqueror@gmx.de>
8093
8094         * javax/swing/JPopupMenu.java
8095         (isVisible): Do not use visible directly.
8096         (setVisible): Likewise.
8097         * javax/swing/JWindow.java
8098         (JWindow): call accessible constructor.
8099         * javax/swing/RepaintManager.java
8100         (paintDirtyRegions): Use public methods to obtain iterator.
8101
8102 2004-05-25  David Jee  <djee@redhat.com>
8103
8104         * java/awt/Container.java
8105         (remove): Set component's parent to null only after we removed the
8106         component from its parent's layout manager.
8107
8108 2004-05-25  David Jee  <djee@redhat.com>
8109
8110         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8111         (GtkComponentPeer): Set bounds regardless of whether awtComponent
8112         is valid.
8113         * gnu/java/awt/peer/gtk/GtkListPeer.java
8114         (getSize): Change native method declaration.
8115         (minimumSize): Pass visible row count into getSize().
8116         (preferredSize): Likewise.
8117         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
8118         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
8119         natural size. Use visible row count to determine the final height
8120         value to return.
8121
8122 2004-05-21  Graydon Hoare  <graydon@redhat.com>
8123
8124         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
8125         (setClip): Minor correction to order of operations.
8126
8127         * javax/swing/JScrollPane.java: Extend sketchy implementation.
8128         * javax/swing/ScrollPaneLayout.java: Likewise.
8129         * javax/swing/JViewPort.java: Likewise.
8130         * javax/swing/ViewportLayout.java: Likewise.
8131
8132         * javax/swing/JComponent.java: Rewrite.
8133         * javax/swing/RepaintManager.java: Likewise.
8134
8135         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
8136         * javax/swing/JList.java 
8137         (setSelectedIndices):
8138         (getSelectedIndices):
8139         (getSelectedValues): New functions.
8140         (getPreferredScrollableViewportSize): Return preferred size.
8141         (getScrollableUnitIncrement):
8142         (getScrollableBlockIncrement): Initial implementations.
8143         * javax/swing/JRootPane.java: Clean up slightly.
8144         (getUI):
8145         (setUI):
8146         (updateUI):
8147         (getUIClassID):
8148         (isValidateRoot): Add overrides from JComponent.
8149         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
8150         * javax/swing/UIManager.java (getDimension): Return the dimension.
8151
8152         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
8153         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
8154         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
8155         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
8156         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
8157         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
8158         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
8159         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
8160         Likewise, and set background.
8161         * javax/swing/plaf/basic/BasicListUI.java: 
8162         Likewise, and improve a bit.
8163         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
8164         Likewise, and adjust calculations.
8165         * javax/swing/plaf/basic/BasicViewportUI.java:
8166         Likewise, and improve a bit.
8167         * javax/swing/plaf/basic/BasicLookAndFeel.java 
8168         (Button.margin): Shrink.
8169
8170         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
8171         Hack to set horizontal always, workaround pango.
8172
8173         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
8174         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8175         Synchronize more often, check cairo status after ops,
8176         handle changes to cairo pattern API, check for disposal.
8177
8178 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
8179
8180         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8181         (BasicMenuItemUI): Create propertyChangeListener.
8182         (getPath):Implemented.
8183         (installListeners): Add propertyChangeListener to menuItem.
8184         (uninstallListeners): Remove propertyChangeListener from menuItem.
8185         (update): Implemented.
8186         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
8187         (mouseEntered): Take insets of popup menu into account when
8188         calculating position of popup menu.     
8189         
8190 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
8191
8192         * Makefile.am: Added new file. 
8193         * Makefile.in: Regenerate.
8194         * javax/swing/JMenuBar.java:
8195         Started implementation.
8196         * javax/swing/JPopupMenu.java:
8197         (setVisible): Fixed location of lightweight/mediumweight
8198         popup menu.
8199         (show): Fixed location of PopupMenu.
8200         * javax/swing/plaf/basic/BasicMenuBarUI.java:
8201         New file. UI Delegate for JMenuBar.
8202         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
8203         (mouseEntered): Corrected position of the submenu.
8204
8205 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
8206
8207         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
8208         to _gtk_accel_group_attach.
8209         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8210         Likewise.
8211
8212         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
8213         package access.  Don't override setFont.
8214         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
8215         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
8216         gtkWidgetRequestFocus package access.
8217         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
8218         setFont.
8219         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
8220         Give gtkWidgetRequestFocus package access.
8221         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
8222         gtkWidgetRequestFocus package access.  Don't override setFont.
8223         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
8224         setFont.
8225         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
8226         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
8227         region.
8228         (gtkSetFont): Likewise.
8229         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
8230         Implement.
8231         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8232         (gtkSetFont): Whitespace fix.
8233
8234         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8235         (gtkWidgetSetUsize): Remove method.
8236
8237 2004-05-18  David Jee  <djee@redhat.com>
8238
8239         * java/awt/image/MemoryImageSource.java
8240         (newPixels(int,int,int,int,boolean)): Set only the specified
8241         rectangle of pixels.
8242         (newPixels(byte[],ColorModel,int,int)): Implement.
8243         (newPixels(int[],ColorModel,int,int)): Implement.
8244
8245 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
8246
8247         * Makefile.am: Added new file.
8248         * Makefile.in: Regenerate.
8249         * javax/swing/JMenu.java: Started 
8250         implementation.
8251         * javax/swing/JPopupMenu.java:
8252         (insert): If specified index is -1, then
8253         add component at the end.
8254         (isPopupTrigger): Reimplemented.
8255         (JPopupMenu.LightWeightPopup): setBounds
8256         of the lightWeightPopup before adding it 
8257         to the layeredPane.
8258         (javax/swing/plaf/basic/BasicIconFactory.java):
8259         (getMenuArrowIcon): Implemented.
8260         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8261         (getPreferredSize): Add size of the arrow icon 
8262         if this menu item is instance of JMenu.
8263         (paintMenuItem): Paint arrow icon if this 
8264         menu item is a submenu.
8265         * javax/swing/plaf/basic/BasicMenuUI.java:
8266         New File. UI Delegate for JMenu.
8267
8268 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
8269
8270         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
8271         Post KEY_TYPED events.
8272         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8273         (generates_key_typed_event): Remove function.
8274
8275 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
8276
8277         * javax/swing/JRootPane.java
8278         (JRootPane.RootLayout): Reimplemented to 
8279         set bounds of contentPane and menuBar.
8280         (setJMenuBar): Add menu bar to the layered pane.
8281         (createLayeredPane): Set layout of layeredPane
8282         to null.
8283         * javax/swing/JLayeredPane.java:
8284         (addImpl): Calculate index of the component in the
8285         layeredPane according to the specified position within 
8286         the layer.      
8287
8288 2004-05-17  David Jee  <djee@redhat.com>
8289
8290         * gnu/java/awt/peer/gtk/GtkImagePainter.java
8291         (setPixels): Change color model to the default model after
8292         converting pixels.
8293         * java/awt/image/MemoryImageSource.java
8294         (newPixels): Set only the specified rectangle of pixels.
8295
8296 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
8297
8298         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
8299         -l-java-beans -l-javax-accessibility -l-javax-swing.
8300
8301         * java/awt/AWTEvent.java (toString): Print source's name rather
8302         than the source itself.
8303
8304 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
8305
8306         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
8307         native.
8308         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
8309         (gdk_color_to_java_color): New function.
8310         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
8311
8312 2004-05-12  David Jee  <djee@redhat.com>
8313
8314         * java/awt/image/RGBImageFilter.java:
8315         Initialize origmodel as null.
8316         (makeColor): Fix pixel component order.
8317         (filterRGBPixels): Fix pixel iteration.
8318         (setPixels): Add extra checks for index color model. Convert pixels
8319         to default color model if necessary.
8320         (convertColorModelToDefault): New override method for byte pixels.
8321         (convertColorModelToDefault): For int pixels, fix pixel iteration.
8322         (makeColorbyDefaultCM): New override method for byte pixels.
8323         (makeColorbyDefaultCM): For int pixel, add color model as argument.
8324         (makeColor): Fix pixel component order.
8325
8326 2004-05-11  Kim Ho  <kho@redhat.com>
8327
8328         * javax/swing/Box.java:
8329         Comment out more parts of Box.Filler.
8330
8331 2004-05-11  Kim Ho  <kho@redhat.com>
8332
8333         * javax/swing/Box.java:
8334         Remove reference to AccessibleAWTComponent so
8335         it compiles again.
8336
8337 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
8338
8339         * gnu/java/awt/peer/gtk/GtkListPeer.java,
8340         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
8341         implementation of list peer to use GtkTreeView instead of
8342         deprecated GtkCList.
8343
8344 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
8345
8346         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8347         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
8348         (handleEvent): Remove keyChar argument to
8349         gtkWidgetDispatchKeyEvent calls.
8350         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
8351         compiler warnings.
8352         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
8353         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
8354         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8355         Likewise.
8356
8357 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
8358
8359         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8360         (gtkWidgetRequestFocus): Mark protected.
8361         (GtkComponentPeer): Only set the peer's bounds if its component
8362         is valid.
8363         * java/awt/Component.java (static): Set the default keyboard
8364         focus manager.
8365         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
8366         requestFocusInWindow(temporary)): Don't request focus if the
8367         component is not showing.  Get tree lock before traversing
8368         component hierarchy.
8369         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
8370         Only set the global focus owner if it is not a Window.
8371         (processKeyEvent): Consume keystrokes associated with the focus
8372         traversal keystroke.
8373         (focusPreviousComponent, focusNextComponent, upFocusCycle,
8374         downFocusCycle): Call requestFocusInWindow instead of
8375         requestFocus.
8376         * java/awt/EventDispatchThread.java (run): Move setting of
8377         default keyboard focus manager to Component.java.
8378         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8379         (awt_keycode_to_keysym): New function.
8380         (gtkWidgetDispatchKeyEvent): Finish implementation.
8381         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8382         (pre_event_handler): Add FIXME comment.
8383
8384         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8385         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8386         (gtkWidgetRequestFocus): New method.
8387         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
8388         disable Tab and Shift-Tab keystrokes.
8389         (addNotify, appendText, insertText, replaceText): Simplify peer
8390         retrieval code.
8391         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
8392         (connectSignals): Remove connections to "commit" signals.
8393         Remove C++-style comments.
8394
8395         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8396         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
8397         (handleEvent): Activate GTK button when the space bar key is
8398         pressed.
8399         (gtkActivate): New method.
8400
8401 2004-05-06  David Jee  <djee@redhat.com>
8402
8403         * java/awt/image/CropImageFilter.java
8404         (setPixels): Implement for byte array pixels.
8405         * java/awt/image/ReplicateScaleFilter.java
8406         (setPixels): Implement for byte array pixels.
8407         (replicatePixels): Overload for byte array pixels.
8408
8409 2004-05-06  Kim Ho  <kho@redhat.com>
8410
8411         * javax/swing/Box.java:
8412         (getAccessibleContext): Return an instance of the 
8413         correct class.
8414
8415 2004-05-05  David Jee  <djee@redhat.com>
8416
8417         * gnu/java/awt/peer/gtk/GdkGraphics.java
8418         (drawImage): When component is null, use SystemColor.window as
8419         the default bgcolor.
8420         * gnu/java/awt/peer/gtk/GtkImage.java
8421         (setPixels): We can avoid iterating through the pixel rows only
8422         when height is 1.
8423         * java/awt/Image.java
8424         (getScaledInstance): Partially implement.
8425         * java/awt/image/CropImageFilter.java
8426         (setProperties): Fix "filter" property.
8427         (setPixels): Implement.
8428         * java/awt/image/ReplicateScaleFilter.java
8429         (setDimensions): Use scaled dimensions.
8430         (setPixels): Implement.
8431         (replicatePixels): New method.
8432
8433 2004-05-05  David Jee  <djee@redhat.com>
8434
8435         * gnu/java/awt/peer/gtk/GtkImagePainter.java
8436         (convertPixels): If either pixels or model is null, return null.
8437         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
8438         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
8439         is null, do nothing and return.
8440
8441 2004-05-03  Kim Ho  <kho@redhat.com>
8442
8443         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
8444         (getGraphics): Like GtkFramePeer, the Graphics
8445         object needs to be translate to account for
8446         window decorations.
8447         (postMouseEvent): New method. Account for
8448         translation.
8449         (postExposeEvent): ditto.
8450         * javax/swing/Box.java: Stubbed.
8451         * javax/swing/JDialog.java: Ran through jalopy
8452         to fix indentation.
8453         (JDialog): Call SwingUtilities' getOwnerFrame
8454         for null owners.
8455         (setLayout): Check isRootPaneCheckingEnabled
8456         * javax/swing/JOptionPane.java: Re-implemented.
8457         * javax/swing/SwingUtilities.java:
8458         (getOwnerFrame): Static method to grab a default
8459         owner frame for Dialogs that don't specify owners.
8460         * javax/swing/event/SwingPropertyChangeSupport.java:
8461         (firePropertyChange): Fix early exit condition.
8462         * javax/swing/plaf/basic/BasicLabelUI.java:
8463         (paint): Avoid painting text if it is null 
8464         or empty.
8465         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
8466         Implement.
8467
8468 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
8469
8470         * Makefile.am: Added new file.
8471         * Makefile.in: Regenerate.
8472         * javax/swing/JPopupMenu.java:
8473         Started implementation.
8474         * javax/swing/JWindow.java
8475         (JWindow): call super() if parent for window
8476         is not specified.
8477         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8478         New File. UI Delegate for JPopupMenu.
8479
8480 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
8481
8482         * javax/swing/JApplet.java: Indicated that JApplet
8483         implements RootPaneContainer and made method of this
8484         interface public. 
8485         * javax/swing/JFrame.java: Ditto.
8486         * javax/swing/JWindow.java: Ditto.
8487         
8488 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
8489
8490         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8491         (nativeSetBounds): Call gdk_window_move in addition to
8492         gtk_window_move.
8493
8494         * java/applet/Applet.java (preferredSize): Call parent's
8495         preferredSize if the applet stub is null.
8496         (minimumSize): Likewise for parent's minimumSize.
8497
8498 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
8499
8500         * javax/swing/JMenuItem.java
8501         (createActionPropertyChangeListener): Implemented.
8502         (processMouseEvent): Ditto.
8503         (fireMenuDragMouseEntered): Ditto.
8504         (fireMenuDragMouseExited): Ditto.
8505         (fireMenuDragMouseDragged): Ditto.
8506         (fireMenuDragMouseReleased): Ditto.
8507         (menuSelectionChanged): Ditto.
8508         (getSubElements): Ditto.
8509         (getComponent): Ditto.
8510         (addMenuDragMouseListener): Ditto.
8511         (removeMenuDragMouseListener):Ditto.
8512         (addMenuKeyListener): Ditto.
8513         (removeMenuKeyListener): Ditto.
8514         * javax/swing/plaf/basic/BasicMenuItemUI.java
8515         (doClick): Imlemented.
8516         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
8517         Don't handle mouse events here. Pass them to 
8518         MenuSelectionManager.
8519         
8520 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
8521         Used correct version of jalopy configuration
8522         file to fix style in the files below.
8523
8524 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
8525
8526         * javax/swing/JCheckBoxMenuItem.java: 
8527         Fixed style and removed unnecessary comments.
8528         * javax/swing/JMenuItem.java: Ditto.
8529         * javax/swing/JRadioButtonMenuItem.java: Ditto.
8530         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
8531         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
8532         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
8533
8534 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
8535
8536         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
8537         C-style.
8538
8539         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
8540
8541         * java/awt/ContainerOrderFocusTraversalPolicy.java
8542         (getComponentAfter): Start from current component and work up
8543         the component hierarchy until an acceptable component is found.
8544         Synchronize on tree lock.
8545         (getComponentBefore): Likewise.
8546
8547 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
8548
8549         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
8550         focus-related debugging messages.
8551         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
8552         * java/awt/EventDispatchThread.java: Likewise.
8553         * java/awt/KeyboardFocusManager.java: Likewise.
8554         * java/awt/Window.java: Likewise.
8555         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
8556         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
8557
8558         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
8559         new C++-style comments to C-style comments.
8560         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
8561
8562         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8563         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8564         (handleEvent): Dispatch key press and key release events to
8565         backing widget.
8566         (requestFocus): Post a FOCUS_GAINED event to the event queue.
8567         (gtkWidgetRequestFocus): New method.
8568         (gtkWidgetDispatchKeyEvent): Likewise.
8569         * java/awt/Component.java (requestFocus, requestFocus(boolean),
8570         requestFocusInWindow, requestFocusInWindow(boolean),
8571         getFocusCycleRootAncestor, nextFocus, transferFocus,
8572         transferFocusBackward, transferFocusUpCycle, hasFocus,
8573         isFocusOwner): Implement and document focus-handling methods.
8574         (setFocusTraversalKeys): Inherit focus traversal keys when
8575         keystrokes argument is null.  Fix focus-handling documentation
8576         throughout class.
8577         * java/awt/Container.java (setFocusTraversalKeys,
8578         getFocusTraversalKeys, areFocusTraversalKeysSet,
8579         isFocusCycleRoot, setFocusTraversalPolicy,
8580         getFocusTraversalPolicy, isFocusTraversalPolicySet,
8581         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
8582         Implement and document focus-handling methods.
8583         (transferFocusBackward): Remove method.
8584         (readObject, writeObject): Implement and document serialization
8585         methods.
8586         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
8587         and document.
8588         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
8589         document.
8590         * java/awt/DefaultKeyboardFocusManager.java: Implement and
8591         partially document.
8592         * java/awt/EventDispatchThread.java (run): Set default keyboard
8593         focus manager.  Attempt to dispatch each event to the keyboard
8594         focus manager before normal dispatch.
8595         * java/awt/KeyboardFocusManager.java: Implement and partially
8596         document.
8597         * java/awt/Window.java (Window): Set focusCycleRoot to true.
8598         (show): Focus initial component when window is shown for the
8599         first time.
8600         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8601         (pre_event_handler): Replace complex key press and key release
8602         logic with simple callbacks into GtkComponentPeer.
8603         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
8604
8605 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
8606
8607         * javax/swing/MenuSelectionManager.java
8608         (componentForPoint): Added new method. 
8609         (defaultManager): New Method. Implemented.
8610         (getSelectedPath): Ditto.
8611         (isComponentPartOfCurrentMenu): Ditto.
8612         (processKeyEvent): Added new method.
8613         (processMouseEvent): New Method. Implemented.
8614         (setSelectedPath): Ditto.
8615         (getPath): Ditto.
8616
8617 2004-04-19  Kim Ho  <kho@redhat.com>
8618
8619         * java/awt/Container.java: 
8620         (remove): Set the component's parent to null.
8621         (getComponentAt): Implement.
8622         * javax/swing/JComponent.java:
8623         (JComponent): Initialize defaultLocale
8624         (getDefaultLocale): Implement.
8625         (setDefaultLocale): ditto.
8626         * javax/swing/JSlider.java:
8627         (JSlider): Fix calculation of value.
8628         * javax/swing/JSplitPane.java: Implement.
8629         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8630         Change SplitPane's default divider size.
8631         * javax/swing/plaf/basic/BasicScrollBarUI.java:
8632         (paint): Remove unused code.
8633         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
8634         Added comments and ran through jalopy.
8635         (setBasicSplitPaneUI): Get reference to hidden divider
8636         and set up one touch buttons if necessary.
8637         (setBorder): Fire propertyChangeEvent only if 
8638         borders are different.
8639         (getPreferredSize): Defer to layout manager.
8640         (propertyChange): Implement.
8641         (oneTouchExpandableChanged): ditto.
8642         (createLeftOneTouchButton): Use BasicArrowButton.
8643         (createRightOneTouchButton): ditto.
8644         (moveDividerTo): New method. Moves the divider
8645         to a set location based on the last divider location.
8646         (BasicSplitPaneDivider::MouseHandler): Implement.
8647         (BasicSplitPaneDivider::OneTouchButton): Removed.
8648         (BasicSplitPaneDivider::DragController): Implement.
8649         (BasicSplitPaneDivider::VerticalDragController):
8650         ditto.
8651         (BasicSplitPaneDivider::DividerLayout): ditto.
8652         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
8653         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8654         (calculateLayoutInfo): Don't show component if it's
8655         null.
8656         (paintTab): Fix title paint logic.
8657
8658 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
8659
8660         PR libgcj/8321
8661         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
8662         (setStartRule,setEndRule): Don't take abs of day number.
8663         (getOffset): Clarify docs.  Add argument checks.
8664         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
8665         (equals,hasSameRules,toString,readObject): Use startTimeMode and
8666         endTimeMode.
8667         * testsuite/libjava.mauve/xfails
8668         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
8669
8670 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
8671
8672         Layout interfaces during preparation, not initialization. 
8673         * java/lang/natClass.cc (initializeClass): Move 
8674         _Jv_LayoutInterfaceMethods call...
8675         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
8676
8677 2004-05-19  Anthony Green  <green@localhost.localdomain>
8678
8679         * Makefile.am (awt_java_source_files): Remove javax.rmi and
8680         gnu.javax.rmi code.
8681         * Makefile.in: Rebuilt.
8682         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
8683         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
8684         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
8685         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
8686         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
8687         gnu/javax/rmi/CORBA/DelegateFactory.java,
8688         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
8689         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
8690         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
8691         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
8692         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
8693         gnu/javax/rmi/PortableServer.java: Remove files.
8694
8695 2004-05-19  Anthony Green  <green@redhat.com>
8696
8697         * Makefile.am: Define JAVA_EXT_DIRS.
8698         * Makefile.in: Rebuilt.
8699         * java/lang/natRuntime.cc (insertSystemProperties): Set
8700         java.ext.dirs property.
8701
8702 2004-05-16  Mark Wielaard  <mark@klomp.org>
8703
8704         * java/io/Writer.java (Writer(Object)): Check for null lock object.
8705
8706 2004-05-15  Mark Wielaard  <mark@klomp.org>
8707
8708         * doc/cni.sgml: Removed, merged into gcj.texi.
8709
8710 2004-05-15  Mark Wielaard  <mark@klomp.org>
8711
8712         * Makefile.am (ordinary_java_source_files): Add new javax.print
8713         classes.
8714         * Makefile.in: Regenerated.
8715
8716 2004-05-15  Michael Koch  <konqueror@gmx.de>
8717
8718         * javax/print/attribute/standard/DateTimeAtCompleted.java,
8719         javax/print/attribute/standard/DateTimeAtCreation.java,
8720         javax/print/attribute/standard/DateTimeAtProcessing.java,
8721         javax/print/attribute/standard/DocumentName.java,
8722         javax/print/attribute/standard/JobHoldUntil.java,
8723         javax/print/attribute/standard/JobImpressionsCompleted.java,
8724         javax/print/attribute/standard/JobMessageFromOperator.java,
8725         javax/print/attribute/standard/JobName.java,
8726         javax/print/attribute/standard/JobOriginatingUserName.java,
8727         javax/print/attribute/standard/JobPriority.java,
8728         javax/print/attribute/standard/JobPrioritySupported.java,
8729         javax/print/attribute/standard/NumberOfInterveningJobs.java,
8730         javax/print/attribute/standard/OutputDeviceAssigned.java,
8731         javax/print/attribute/standard/PrinterInfo.java,
8732         javax/print/attribute/standard/PrinterLocation.java,
8733         javax/print/attribute/standard/PrinterMakeAndModel.java,
8734         javax/print/attribute/standard/PrinterMessageFromOperator.java,
8735         javax/print/attribute/standard/PrinterName.java,
8736         javax/print/attribute/standard/QueuedJobCount.java,
8737         javax/print/attribute/standard/RequestingUserName.java:
8738         Fixed javadocs all over.
8739
8740 2004-05-15  Michael Koch  <konqueror@gmx.de>
8741
8742         * javax/print/DocFlavor.java,
8743         javax/print/attribute/standard/ColorSupported.java,
8744         javax/print/attribute/standard/Compression.java,
8745         javax/print/attribute/standard/CopiesSupported.java,
8746         javax/print/attribute/standard/Fidelity.java,
8747         javax/print/attribute/standard/Finishings.java,
8748         javax/print/attribute/standard/JobImpressionsSupported.java,
8749         javax/print/attribute/standard/JobKOctetsSupported.java,
8750         javax/print/attribute/standard/JobMediaSheetsSupported.java,
8751         javax/print/attribute/standard/JobSheets.java,
8752         javax/print/attribute/standard/JobState.java,
8753         javax/print/attribute/standard/JobStateReason.java,
8754         javax/print/attribute/standard/JobStateReasons.java,
8755         javax/print/attribute/standard/Media.java,
8756         javax/print/attribute/standard/MediaSizeName.java,
8757         javax/print/attribute/standard/MultipleDocumentHandling.java,
8758         javax/print/attribute/standard/NumberUpSupported.java,
8759         javax/print/attribute/standard/OrientationRequested.java,
8760         javax/print/attribute/standard/PDLOverrideSupported.java,
8761         javax/print/attribute/standard/PageRanges.java,
8762         javax/print/attribute/standard/PresentationDirection.java,
8763         javax/print/attribute/standard/PrintQuality.java,
8764         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
8765         javax/print/attribute/standard/PrinterMoreInfo.java,
8766         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
8767         javax/print/attribute/standard/PrinterResolution.java,
8768         javax/print/attribute/standard/PrinterState.java,
8769         javax/print/attribute/standard/PrinterStateReason.java,
8770         javax/print/attribute/standard/PrinterStateReasons.java,
8771         javax/print/attribute/standard/PrinterURI.java,
8772         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
8773         javax/print/attribute/standard/Severity.java,
8774         javax/print/attribute/standard/SheetCollate.java,
8775         javax/print/attribute/standard/Sides.java:
8776         Added serialVersionUID and removed final keyword where it doenst
8777         belong.
8778
8779 2004-05-15  Michael Koch  <konqueror@gmx.de>
8780
8781         * javax/print/PrintServiceLookup.java: New file.
8782
8783 2004-05-15  Michael Koch  <konqueror@gmx.de>
8784
8785         * javax/print/DocFlavor.java:
8786         Implemented all flavor classes.
8787
8788 2004-05-15  Michael Koch  <konqueror@gmx.de>
8789
8790         * javax/print/attribute/standard/ColorSupported.java,
8791         javax/print/attribute/standard/Compression.java,
8792         javax/print/attribute/standard/CopiesSupported.java,
8793         javax/print/attribute/standard/Fidelity.java,
8794         javax/print/attribute/standard/Finishings.java,
8795         javax/print/attribute/standard/JobImpressionsSupported.java,
8796         javax/print/attribute/standard/JobKOctetsSupported.java,
8797         javax/print/attribute/standard/JobMediaSheetsSupported.java,
8798         javax/print/attribute/standard/JobSheets.java,
8799         javax/print/attribute/standard/JobState.java,
8800         javax/print/attribute/standard/JobStateReason.java,
8801         javax/print/attribute/standard/JobStateReasons.java,
8802         javax/print/attribute/standard/Media.java,
8803         javax/print/attribute/standard/MediaSizeName.java,
8804         javax/print/attribute/standard/MultipleDocumentHandling.java,
8805         javax/print/attribute/standard/NumberUpSupported.java,
8806         javax/print/attribute/standard/OrientationRequested.java,
8807         javax/print/attribute/standard/PDLOverrideSupported.java,
8808         javax/print/attribute/standard/PageRanges.java,
8809         javax/print/attribute/standard/PresentationDirection.java,
8810         javax/print/attribute/standard/PrintQuality.java,
8811         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
8812         javax/print/attribute/standard/PrinterMoreInfo.java,
8813         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
8814         javax/print/attribute/standard/PrinterResolution.java,
8815         javax/print/attribute/standard/PrinterState.java,
8816         javax/print/attribute/standard/PrinterStateReason.java,
8817         javax/print/attribute/standard/PrinterStateReasons.java,
8818         javax/print/attribute/standard/PrinterURI.java,
8819         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
8820         javax/print/attribute/standard/Severity.java,
8821         javax/print/attribute/standard/SheetCollate.java,
8822         javax/print/attribute/standard/Sides.java: New files.
8823
8824 2004-05-15  Michael Koch  <konqueror@gmx.de>
8825
8826         * javax/print/Doc.java
8827         (getPrintData): Throws IOException.
8828         (getReaderForText): Likewise.
8829         (getStreamForBytes): Likewise.
8830         * javax/print/DocFlavor.java:
8831         Fixed filename in copyright.
8832         (serialVersionUID): New field.
8833         * javax/print/ServiceUIFactory.java:
8834         Made all constants final.
8835         * javax/print/AttributeException.java
8836         javax/print/MultiDoc.java
8837         javax/print/MultiDocPrintJob.java
8838         javax/print/MultiDocPrintService.java
8839         javax/print/StreamPrintService.java
8840         javax/print/URIException.java: New files.
8841         * javax/print/Makefile.am
8842         (EXTRA_DIST): Added all new files.
8843
8844 2004-05-15  Michael Koch  <konqueror@gmx.de>
8845
8846         * javax/print/attribute/standard/Copies.java,
8847         javax/print/attribute/standard/DateTimeAtCompleted.java,
8848         javax/print/attribute/standard/DateTimeAtCreation.java,
8849         javax/print/attribute/standard/DateTimeAtProcessing.java,
8850         javax/print/attribute/standard/DocumentName.java,
8851         javax/print/attribute/standard/JobHoldUntil.java,
8852         javax/print/attribute/standard/JobImpressions.java,
8853         javax/print/attribute/standard/JobImpressionsCompleted.java,
8854         javax/print/attribute/standard/JobKOctets.java,
8855         javax/print/attribute/standard/JobKOctetsProcessed.java,
8856         javax/print/attribute/standard/JobMediaSheets.java,
8857         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
8858         javax/print/attribute/standard/JobMessageFromOperator.java,
8859         javax/print/attribute/standard/JobName.java,
8860         javax/print/attribute/standard/JobOriginatingUserName.java,
8861         javax/print/attribute/standard/JobPriority.java,
8862         javax/print/attribute/standard/JobPrioritySupported.java,
8863         javax/print/attribute/standard/NumberOfDocuments.java,
8864         javax/print/attribute/standard/NumberOfInterveningJobs.java,
8865         javax/print/attribute/standard/NumberUp.java,
8866         javax/print/attribute/standard/OutputDeviceAssigned.java,
8867         javax/print/attribute/standard/PagesPerMinute.java,
8868         javax/print/attribute/standard/PagesPerMinuteColor.java:
8869         Fixed @return tag all over.
8870
8871 2004-05-15  Michael Koch  <konqueror@gmx.de>
8872
8873         * javax/print/attribute/AttributeSetUtilities.java
8874         (verifyCategoryForValue): Fixed typo in javadoc.
8875         * javax/print/attribute/HashAttributeSet.java
8876         (containsKey): Fixed @return tag.
8877         (comtainsValue): Likewise.
8878         (equals): Likewise.
8879         * javax/print/attribute/IntegerSyntax.java
8880         (equals): Likewise.
8881         * javax/print/attribute/ResolutionSyntax.java
8882         (equals): Likewise.
8883         (getCrossFeedResolution): Removed unused code.
8884         (getFeedResolution): Likewise.
8885         * javax/print/attribute/SetOfIntegerSyntax.java
8886         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8887         (equals): Fixed @return tag.
8888         * javax/print/attribute/TextSyntax.java
8889         (TextSyntax): Take locale into account.
8890         (hashCode): Better implementation.
8891
8892 2004-05-15  Michael Koch  <konqueror@gmx.de>
8893
8894         * javax/print/CancelablePrintJob.java,
8895         javax/print/Doc.java,
8896         javax/print/DocFlavor.java,
8897         javax/print/DocPrintJob.java,
8898         javax/print/FlavorException.java,
8899         javax/print/PrintException.java,
8900         javax/print/PrintService.java,
8901         javax/print/ServiceUIFactory.java: New files.
8902
8903 2004-05-15  Mark Wielaard  <mark@klomp.org>
8904
8905         * gnu/regexp/CharIndexedReader.java: Removed.
8906         * gnu/regexp/REFilterReader.java: Likewise.
8907         * gnu/regexp/RETokenLookAhead.java: Likewise.
8908         * Makefile.am (ordinary_java_source_files): Remove above classes.
8909         * Makefile.in: Regenerated.
8910
8911 2004-05-14  Tom Tromey  <tromey@redhat.com>
8912
8913         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
8914         not `XGraphicsConfiguration.XOffScreenImage'.
8915
8916 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
8917
8918         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
8919
8920 2004-05-14  Steven Augart  <augart@watson.ibm.com>
8921
8922         * include/jni.h (_Jv_func): Removed.
8923         (struct JNINativeInterface): Use `void *' for reserved slots.
8924         (struct JNIInvokeInterface): Likewise.
8925
8926 2004-05-11  Michael Koch  <konqueror@gmx.de>
8927
8928         * gnu/java/net/natPlainSocketImplPosix.cc
8929         (read): Fixed typo in expression.
8930
8931 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
8932
8933         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
8934         ld_library_additions. Adjust all calls to libjava_invoke to match
8935         the new argument.
8936
8937         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
8938         path to cxxflagslist.
8939         Pass path of libstdc++ to libjava_invoke.
8940
8941         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
8942         libjava_invoke arguments.
8943
8944 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
8945
8946         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
8947         reality.
8948
8949 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
8950
8951         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
8952         main binary against the JNI shared library.
8953
8954 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
8955
8956         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
8957         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
8958         (SimpleTimeZone): Tweak docs.  Add new variation.
8959         (setStartRule,setEndRule): Add new variations.  Use
8960         startTimeMode and endTimeMode.
8961
8962 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
8963
8964         * java/util/Calendar.java (getActualMinimum,
8965         getActualMaximum):  Remove abstract.  Implement.
8966
8967 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
8968
8969         Run the jni tests using the interpreter.
8970         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
8971         options_cxx to shared lib compile command.
8972         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
8973         they are used to link the shared lib, not the main binary.
8974         Use libjava_invoke to run gij.
8975
8976 2004-05-06  Michael Koch  <konqueror@gmx.de>
8977
8978         * java/util/logging/Level.java
8979         (parse): Use == instead of String.equals().
8980
8981 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
8982
8983         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
8984         verify_field_signature and verify_method_signature, not 
8985         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
8986         (_Jv_ClassReader::handleField): Likewise.
8987         (_Jv_ClassReader::handleMethod): Likewise.
8988
8989 2004-05-06  Michael Koch  <konqueror@gmx.de>
8990
8991         * javax/swing/table/TableColumn.java:
8992         Reformated.
8993
8994 2004-05-06  Michael Koch  <konqueror@gmx.de>
8995
8996         * javax/imageio/spi/ImageReaderWriterSpi.java
8997         (ImageReaderWriterSpi): Made it public.
8998         * javax/imageio/stream/ImageInputStream.java:
8999         Clean up imports.
9000
9001 2004-05-06  Michael Koch  <konqueror@gmx.de>
9002
9003         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9004         Removed empty line.
9005
9006 2004-05-06  Michael Koch  <konqueror@gmx.de>
9007
9008         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
9009         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
9010         New files.
9011         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
9012         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
9013         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
9014         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
9015         their own source file.
9016         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9017         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
9018         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
9019         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
9020         (create): Define variable on top of function.
9021         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
9022         (menu_pos): Prototyped.
9023         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9024         (setTitle): Removed.
9025         * jni/gtk-peer/gthread-jni.c
9026         (gdk_threads_wake): Removed.
9027         * Makefile.am (gtk_c_source_files): Added new files
9028         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
9029         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
9030         * Makefile.in: Regenerated.
9031
9032 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
9033
9034         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
9035         call.
9036
9037 2004-05-05  Mark Wielaard  <mark@klomp.org>
9038
9039         * javax/swing/AbstractButton.java: Replace special HTML entities with
9040         ASCII equivalent.
9041         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
9042         * javax/swing/DefaultButtonModel.java: Likewise.
9043         * javax/swing/DefaultListModel.java: Likewise.
9044         * javax/swing/JList.java: Likewise.
9045         * javax/swing/JSlider.java: Likewise.
9046         * javax/swing/ListModel.java: Likewise.
9047         * javax/swing/Popup.java: Likewise.
9048         * javax/swing/SwingUtilities.java: Likewise.
9049
9050 2004-05-05  Michael Koch  <konqueror@gmx.de>
9051
9052         * javax/swing/AbstractButton.java,
9053         javax/swing/ActionMap.java,
9054         javax/swing/DefaultButtonModel.java,
9055         javax/swing/DefaultListModel.java,
9056         javax/swing/ImageIcon.java,
9057         javax/swing/JComboBox.java,
9058         javax/swing/JComponent.java,
9059         javax/swing/JFrame.java,
9060         javax/swing/JInternalFrame.java,
9061         javax/swing/JMenuBar.java,
9062         javax/swing/JMenuItem.java,
9063         javax/swing/JOptionPane.java,
9064         javax/swing/JProgressBar.java,
9065         javax/swing/JRootPane.java,
9066         javax/swing/JScrollBar.java,
9067         javax/swing/JScrollPane.java,
9068         javax/swing/JSeparator.java,
9069         javax/swing/JSlider.java,
9070         javax/swing/JTabbedPane.java,
9071         javax/swing/JTable.java,
9072         javax/swing/JTextField.java,
9073         javax/swing/JToolBar.java,
9074         javax/swing/JToolTip.java,
9075         javax/swing/JTree.java,
9076         javax/swing/JViewport.java,
9077         javax/swing/JWindow.java,
9078         javax/swing/KeyStroke.java,
9079         javax/swing/LookAndFeel.java,
9080         javax/swing/SwingUtilities.java,
9081         javax/swing/Timer.java,
9082         javax/swing/ToolTipManager.java,
9083         javax/swing/UIDefaults.java,
9084         javax/swing/border/TitledBorder.java,
9085         javax/swing/filechooser/FileSystemView.java,
9086         javax/swing/plaf/basic/BasicButtonListener.java,
9087         javax/swing/plaf/basic/BasicButtonUI.java,
9088         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
9089         javax/swing/plaf/basic/BasicGraphicsUtils.java,
9090         javax/swing/plaf/basic/BasicLabelUI.java,
9091         javax/swing/plaf/basic/BasicMenuItemUI.java,
9092         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
9093         javax/swing/plaf/basic/BasicRootPaneUI.java,
9094         javax/swing/plaf/basic/BasicScrollBarUI.java,
9095         javax/swing/plaf/basic/BasicScrollPaneUI.java,
9096         javax/swing/plaf/basic/BasicSliderUI.java,
9097         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9098         javax/swing/plaf/basic/BasicToggleButtonUI.java,
9099         javax/swing/table/JTableHeader.java,
9100         javax/swing/text/AbstractDocument.java,
9101         javax/swing/text/DefaultCaret.java,
9102         javax/swing/text/StyledEditorKit.java,
9103         javax/swing/tree/DefaultTreeCellEditor.java:
9104         Cleaned up imports.
9105
9106 2004-05-05  Michael Koch  <konqueror@gmx.de>
9107
9108         * java/util/prefs/AbstractPreferences.java
9109         (AbstractPreferences): Added parenthesis for clarity.
9110         Closes classpath bug #7940.
9111
9112 2004-05-05  Tom Tromey  <tromey@redhat.com>
9113
9114         * javax/naming/CompoundName.java (endsWith): Look at correct
9115         element of source name.
9116
9117 2004-05-05  Mark Wielaard  <mark@klomp.org>
9118
9119         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
9120         * java/util/HashMap.java (rehash): Add entry at start of bucket.
9121
9122 2004-05-05  Tom Tromey  <tromey@redhat.com>
9123
9124         * java/io/BufferedReader.java (skip): Removed unused
9125         variable.
9126
9127 2004-05-05  Michael Koch  <konqueror@gmx.de>
9128
9129         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
9130
9131 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
9132
9133         * java/text/AttributedString.java,
9134         java/text/AttributedStringIterator.java,
9135         java/text/Collator.java,
9136         java/text/DecimalFormatSymbols.java,
9137         java/text/NumberFormat.java,
9138         java/text/RuleBasedCollator.java:
9139         Cleaned up imports.
9140
9141 2004-05-05  Tom Tromey  <tromey@redhat.com>
9142
9143         * java/text/Format.java: Cleaned up imports.
9144         * java/text/DecimalFormat.java: Cleaned up imports.
9145         * java/security/SecureRandom.java: Cleaned up imports.
9146         (SecureRandom): Removed unused variable.
9147         * java/security/UnresolvedPermission.java: Cleaned up imports.
9148         * java/util/Date.java (parse): Removed unused variable.
9149         * java/util/ResourceBundle.java: Cleaned up imports.
9150         (getBundle): Removed unused variable.
9151         (tryBundle): Likewise.
9152         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
9153
9154 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
9155
9156         * java/text/SimpleDateFormat.java:
9157         (formatWithAttribute): New method. It implements
9158         the formatting process with attributes.
9159         (format): Use formatWithAttribute.
9160         (formatToCharacterIterator): New method. Use
9161         formatWithAttribute.
9162
9163 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
9164
9165         * java/text/MessageFormat.java:
9166         (class Field): New class.
9167         (formatToCharacterIterator): New method.
9168         (format): Use formatInternal now.
9169         (formatInternal): New method. String formatter should
9170         be done here (with attributes). Attributes merging supported.
9171         (parse): More documentation.
9172         (getFormatsByArgumentIndex): New method.
9173         (setFormatByArgumentIndex): New method.
9174         (setFormatsByArgumentIndex): New method.
9175
9176 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
9177
9178         * java/text/DecimalFormat.java
9179         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
9180         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
9181         (parse): Fixed handling of exponentiation notation and grouping.
9182
9183 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
9184
9185         * java/text/DecimalFormat.java
9186         (scanFix): Build attribute array. Fixed error reporting.
9187         (applyPatternWithSymbols): Store attributes for the prefix and
9188         suffix.
9189         (formatInternal): New method. Changed the way the string is
9190         computed. Implemented attributes. Cleant up rounding in
9191         exponential notation.
9192         (format): Use formatInternal.
9193         (formatToCharacterIterator): New method.
9194         (exponentRound, negativePrefixRanges, positivePrefixRanges,
9195         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
9196         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
9197         New fields.
9198
9199 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
9200
9201         * java/security/interfaces/DSAKeyPairGenerator.java,
9202         java/security/interfaces/DSAPrivateKey.java,
9203         java/security/interfaces/DSAPublicKey.java,
9204         java/security/interfaces/RSAPrivateKey.java,
9205         java/security/interfaces/RSAPublicKey.java:
9206         Cleaned up imports.
9207
9208 2004-05-04  Michael Koch  <konqueror@gmx.de>
9209
9210         * java/nio/ByteBuffer.java,
9211         java/nio/CharBuffer.java,
9212         java/nio/DoubleBuffer.java,
9213         java/nio/FloatBuffer.java,
9214         java/nio/IntBuffer.java,
9215         java/nio/LongBuffer.java,
9216         java/nio/ShortBuffer.java:
9217         (compareTo): Fixed bogus implementation in all buffer classes.
9218
9219 2004-05-04  Ingo Proetel  <proetel@aicas.com>
9220
9221         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
9222         32 bit pixels not 8 bit pixels.
9223         (isCompatibleRaster): Added javadoc comment.
9224
9225 2004-05-04  Ingo Proetel  <proetel@aicas.com>
9226
9227         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
9228         scanline stride.
9229
9230 2004-05-04  Ingo Proetel  <proetel@aicas.com>
9231
9232         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
9233         (getColorModel): Return the actual color model.
9234         (getRaster): Implemented.
9235         (ColorRaster): New inner class.
9236         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
9237         a PaintContext.
9238         * java/awt/Color.java (<init>): Make exception more verbose.
9239         (createContext): Use ColorModel when creating a PaintContext.
9240
9241 2004-05-04  Michael Koch  <konqueror@gmx.de>
9242
9243         * gnu/java/text/CharacterBreakIterator.java
9244         (previous): Removed unused variable.
9245
9246 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
9247
9248         * gnu/java/text/FormatBuffer.java,
9249         gnu/java/text/AttributedFormatBuffer.java,
9250         gnu/java/text/StringFormatBuffer.java: New classes to implement
9251         attributed iterators in java.text.
9252         * gnu/java/text/FormatCharacterIterator.java: Moved 
9253         from java/text as it is an internal class.
9254         * java/text/FormatCharacterIterator.java: Removed.
9255         * java/text/Format.java:
9256         Import gnu.java.text.FormatCharacterIterator.
9257         * Makefile.am (java_source_files): Added new files.
9258         * Makefile.in: Regenerated.
9259         
9260
9261 2004-05-04  Mark Wielaard  <mark@klomp.org>
9262
9263         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
9264
9265 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
9266
9267         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
9268         * Makefile.in: Rebuilt.
9269
9270 2004-05-03  Mark Wielaard  <mark@klomp.org>
9271
9272         * gnu/java/security/der/DERReader.java: Call static methods staticly.
9273         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
9274         * java/net/URL.java
9275         (set(String, String, int, String, String, String, String, String)):
9276         Assign this.file to path or path + "?" + query.
9277         * java/util/Arrays.java: Call static methods staticly.
9278         * java/util/zip/ZipEntry.java: Likewise.
9279         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
9280         dir to this.direction.
9281         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
9282         Assign static field only once.
9283         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
9284
9285 2004-05-03  Mark Wielaard  <mark@klomp.org>
9286
9287         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
9288         unused variables hScrollbarHeight and vScrollbarWidth.
9289         (preferredSize): Likewise.
9290         * gnu/java/security/provider/DSAParameters.java (engineToString):
9291         Removed unused call to System.getProperty("line.seperator");
9292         * java/security/Security.java (loadProviders): Return result.
9293
9294 2004-05-03  Tom Tromey  <tromey@redhat.com>
9295
9296         * java/net/URLStreamHandler.java (toExternalForm): Removed
9297         unused variables.
9298         unused constructor.
9299         * java/math/BigDecimal.java (divide): Removed unused variable.
9300         * java/lang/Throwable.java: Cleaned up imports.
9301         * java/lang/ClassLoader.java: Cleaned up imports.
9302         * java/io/FilePermission.java (implies): Removed unused
9303         variable.
9304         * java/awt/TextComponent.java: Removed unused import.
9305         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
9306         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
9307         * gnu/java/text/WordBreakIterator.java: Removed unused import.
9308         * gnu/java/text/SentenceBreakIterator.java: Removed unused
9309         import.
9310         * gnu/java/text/LineBreakIterator.java: Removed unused import.
9311         * gnu/java/text/CharacterBreakIterator.java: Removed
9312         unused import.
9313         * gnu/java/security/provider/DSAKeyPairGenerator.java:
9314         Cleaned up imports.
9315         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
9316         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
9317         unused method.
9318         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
9319         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
9320         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
9321         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
9322         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
9323         (lookupProviders): Removed unused variable.
9324         (loadNextServiceProvider): Likewise.
9325         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
9326
9327 2004-05-03  Michael Koch  <konqueror@gmx.de>
9328
9329         Fixes PR libgcj/14695:
9330         * java/net/NetworkInterface.java
9331         (getByName): Return null when no interface was found.
9332
9333 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
9334             Tom Tromey  <tromey@redhat.com>
9335
9336         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
9337         additional option "-Wmissing-prototypes" for compiling C sources.
9338         Print actual filename for pass/fail rather than $name.c.
9339         * testsuite/libjava.jni/PR15133.java: New testcase file.
9340         * testsuite/libjava.jni/PR15133.c: Likewise.
9341         * testsuite/libjava.jni/PR15133.out: Likewise.
9342
9343 2004-04-30  Roger Sayle  <roger@eyesopen.com>
9344
9345         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
9346         ceil and floor.
9347
9348 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
9349         
9350         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
9351         limit the maximum heap size to avoid unnecessary thrashing.
9352
9353 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
9354
9355         * java/text/CollationElementIterator.java (reset): Reset
9356         lookahead variables.
9357
9358 2004-04-23  Mark Wielaard  <mark@klomp.org>
9359
9360         * jni/classpath/jcl.c: Changed C++ comments into C comments.
9361
9362 2004-04-23 Dalibor Topic <robilad@kaffe.org>
9363
9364         * java/sql/DriverManager.java:
9365         Cleaned up imports.
9366
9367 2004-04-23  Michael Koch  <konqueror@gmx.de>
9368
9369         * java/net/URL.java
9370         (hashcode): Don't initialize with default value explicitely.
9371         (getContent): Removed redundant "final" keyword.
9372         (openStream): Likewise.
9373         (getURLStreamHandler): Fixed coding style.
9374         * java/net/URLConnection.java
9375         (defaultAllowUserInteraction): Don't initialize with default value
9376         explicitely.
9377         (connected): Likewise.
9378         (doOutput): Likewise.
9379         (ifModifiedSince): Likewise.
9380         (dateformats_initialized): Likewise.
9381         (setURLStreamHander): Use StreamTokenizer where it belongs to.
9382
9383 2004-04-23  Michael Koch  <konqueror@gmx.de>
9384
9385         * gnu/java/nio/channels/FileChannelImpl.java
9386         (SET, CUR): Unused, removed.
9387         (read): Implement here directly.
9388         (implRead): Removed.
9389         (write): Implement here directly.
9390         (implWrite): Removed.
9391
9392 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
9393
9394         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
9395         javax/rmi/CORBA/Stub.java,
9396         javax/rmi/CORBA/Util.java,
9397         javax/rmi/CORBA/ValueHandler.java,
9398         javax/rmi/CORBA/ValueHandler.java,
9399         javax/rmi/PortableRemoteObject.java:
9400         Cleaned up imports.
9401
9402 2004-04-23 Dalibor Topic <robilad@kaffe.org>
9403
9404         * java/util/jar/JarFile.java,
9405         java/util/jar/JarInputStream.java,
9406         java/util/jar/JarOutputStream.java,
9407         java/util/jar/Manifest.java:
9408         Cleaned up imports.
9409
9410 2004-04-23 Dalibor Topic <robilad@kaffe.org>
9411
9412         * java/util/ArrayList.java,
9413         java/util/Calendar.java,
9414         java/util/Currency.java,
9415         java/util/HashMap.java,
9416         java/util/HashSet.java,
9417         java/util/Hashtable.java,
9418         java/util/LinkedList.java,
9419         java/util/Properties.java,
9420         java/util/PropertyPermission.java,
9421         java/util/TimeZone.java,
9422         java/util/TreeMap.java,
9423         java/util/TreeSet.java,
9424         java/util/Vector.java,
9425         java/util/WeakHashMap.java:
9426         Cleaned up imports.
9427
9428 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
9429
9430         * java/util/logging/FileHandler.java,
9431         java/util/logging/Formatter.java,
9432         java/util/logging/Handler.java,
9433         java/util/logging/Logger.java,
9434         java/util/logging/SimpleFormatter.java,
9435         java/util/logging/XMLFormatter.java:
9436         Cleaned up imports.
9437
9438 2004-04-22  Mark Wielaard  <mark@klomp.org>
9439
9440         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
9441         -Wno-long-long flags variable.
9442         (gtk_c_files): Use PEDANTIC_CFLAGS.
9443         * Makefile.in: Regenerated.
9444
9445 2004-04-22  Mark Wielaard  <mark@klomp.org>
9446
9447         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9448         Changed C++ comments into C comments.
9449         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
9450         Likewise.
9451
9452 2004-04-22  Michael Koch  <konqueror@gmx.de>
9453
9454         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
9455         Merged copyright year with GNU classpath.
9456
9457 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
9458
9459         * javax/security/auth/x500/X500Principal.java:
9460         Cleaned up imports.
9461
9462 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
9463
9464         * javax/swing/JSlider.java:
9465         Fixed HTML tags in comments.
9466
9467 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
9468
9469         * javax/accessibility/AccessibleText.java:
9470         Cleaned up imports.
9471
9472 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
9473
9474         * java/net/URLStreamHandler.java
9475         (parseURL): Convert the file path to using '/' instead of native
9476         file separator.
9477
9478 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
9479
9480         * java/net/URL.java
9481         (userInfo): New field.
9482         (URL): Set authority to the right value.
9483         (setURL): Fixed authority and file initialization.
9484         * java/net/URLStreamHandler.java
9485         (parseURL): Take care of the query tag. Build authority.
9486         (toExternalForm): Fixed URL building using authority.
9487
9488 2004-04-22  Michael Koch  <konqueror@gmx.de>
9489
9490         * java/net/Socket.java
9491         (impl): Made package-private.
9492         * java/net/ServerSocket.java
9493         (implAccept): Access Socket.impl field directly.
9494
9495 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
9496
9497         * java/util/prefs/Preferences.java,
9498         java/util/prefs/InvalidPreferencesFormatException.java,
9499         java/util/prefs/BackingStoreException.java,
9500         java/util/prefs/AbstractPreferences.java:
9501         Cleaned up imports.
9502
9503 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
9504
9505         * java/util/regex/Matcher.java,
9506         java/util/regex/Pattern.java:
9507         Cleaned up imports.
9508
9509 2004-04-22  Michael Koch  <konqueror@gmx.de>
9510
9511         * java/nio/charset/IllegalCharsetNameException.java
9512         (charsetName): Made private.
9513         (IllegalCharsetNameException): Added @param tag to javadoc.
9514         (getCharsetName): Added @return tag to javadoc.
9515         * java/nio/charset/MalformedInputException.java
9516         (MalformedInputException): Added @param tag to javadoc.
9517         (getInputLength): Revised method description, added @return tag.
9518         (getMessage): Added @return tag.
9519
9520 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
9521
9522         * java/awt/Font.java (deriveFont): Implement missing variants.
9523         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
9524         missing variants.
9525
9526 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
9527
9528         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
9529         Set method->index values for interface methods to their itable index.
9530         (initializeClass): Call _Jv_LayoutInterfaceMethods.
9531
9532 2004-04-21  Michael Koch  <konqueror@gmx.de>
9533
9534         * java/nio/DirectByteBufferImpl.java
9535         (shiftDown): Made static, give address as argument and
9536         provide a convenience method that overwrites shiftDown in
9537         ByteBufferImpl and calls the native shiftDown.
9538         * java/nio/MappedByteBufferImpl.java
9539         (): Use optimized method in DirectByteBufferImpl.
9540         * java/nio/natDirectByteBufferImpl.cc
9541         (shiftDown): Changed method signature. Removed usage of array_offset.
9542
9543 2004-04-21  Michael Koch  <konqueror@gmx.de>
9544
9545         * gnu/java/net/natPlainSocketImplPosix.cc
9546         (SocketInputStream::read): Make sure returned data is a byte value.
9547
9548 2004-04-21  Michael Koch  <konqueror@gmx.de>
9549
9550         * gnu/classpath/ServiceFactory.java,
9551         gnu/classpath/ServiceProviderLoadingAction.java,
9552         javax/imageio/ImageReader.java,
9553         javax/imageio/ImageTranscoder.java,
9554         javax/imageio/ImageWriter.java,
9555         javax/imageio/package.html,
9556         javax/imageio/spi/IIOServiceProvider.java,
9557         javax/imageio/spi/ImageInputStreamSpi.java,
9558         javax/imageio/spi/ImageOutputStreamSpi.java,
9559         javax/imageio/spi/ImageReaderWriterSpi.java,
9560         javax/imageio/spi/ImageTranscoderSpi.java,
9561         javax/imageio/spi/RegisterableService.java,
9562         javax/imageio/spi/ServiceRegistry.java,
9563         javax/imageio/spi/package.html,
9564         javax/imageio/stream/IIOByteBuffer.java,
9565         javax/imageio/stream/ImageInputStream.java,
9566         javax/imageio/stream/ImageOutputStream.java,
9567         javax/imageio/stream/package.html:
9568         New files.
9569         * Makefile.am
9570         (ordinary_java_source_files): Added
9571         gnu/classpath/ServiceFactory.java and
9572         gnu/classpath/ServiceProviderLoadingAction.java.
9573         (javax_source_files): Added
9574         javax/imageio/ImageReader.java,
9575         javax/imageio/ImageTranscoder.java,
9576         javax/imageio/ImageWriter.java,
9577         javax/imageio/spi/IIOServiceProvider.java,
9578         javax/imageio/spi/ImageInputStreamSpi.java,
9579         javax/imageio/spi/ImageOutputStreamSpi.java,
9580         javax/imageio/spi/ImageReaderWriterSpi.java,
9581         javax/imageio/spi/ImageTranscoderSpi.java,
9582         javax/imageio/spi/RegisterableService.java,
9583         javax/imageio/spi/ServiceRegistry.java,
9584         javax/imageio/stream/IIOByteBuffer.java,
9585         javax/imageio/stream/ImageInputStream.java and
9586         javax/imageio/stream/ImageOutputStream.java.
9587         * Makefile.in: Regenerated.
9588
9589 2004-04-21  Michael Koch  <konqueror@gmx.de>
9590
9591         * java/util/Properties.java
9592         (load): Fix wrongly merged fix.
9593
9594 2004-04-21  Mark Wielaard  <mark@klomp.org>
9595
9596         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
9597         malloc and free buf.
9598
9599 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
9600
9601         * javax/naming/AuthenticationException.java,
9602         javax/naming/AuthenticationNotSupportedException.java,
9603         javax/naming/CannotProceedException.java,
9604         javax/naming/CommunicationException.java,
9605         javax/naming/CompoundName.java,
9606         javax/naming/ConfigurationException.java,
9607         javax/naming/ContextNotEmptyException.java,
9608         javax/naming/InitialContext.java,
9609         javax/naming/InsufficientResourcesException.java,
9610         javax/naming/InterruptedNamingException.java,
9611         javax/naming/LimitExceededException.java,
9612         javax/naming/LinkException.java,
9613         javax/naming/LinkLoopException.java,
9614         javax/naming/LinkRef.java,
9615         javax/naming/MalformedLinkException.java,
9616         javax/naming/Name.java,
9617         javax/naming/NameAlreadyBoundException.java,
9618         javax/naming/NameNotFoundException.java,
9619         javax/naming/NamingSecurityException.java,
9620         javax/naming/NoInitialContextException.java,
9621         javax/naming/NoPermissionException.java,
9622         javax/naming/NotContextException.java,
9623         javax/naming/PartialResultException.java,
9624         javax/naming/ReferralException.java,
9625         javax/naming/ServiceUnavailableException.java,
9626         javax/naming/SizeLimitExceededException.java,
9627         javax/naming/TimeLimitExceededException.java,
9628         javax/naming/directory/Attribute.java,
9629         javax/naming/directory/Attributes.java,
9630         javax/naming/directory/SearchResult.java,
9631         javax/naming/event/NamingExceptionEvent.java,
9632         javax/naming/spi/ResolveResult.java:
9633         Cleaned up imports.
9634
9635 2004-04-21  Mark Wielaard  <mark@klomp.org>
9636
9637         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
9638         Changed C++ comments into C comments. Removed commented out code.
9639         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9640         Likewise.
9641         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
9642         Likewise.
9643         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
9644         Likewise.
9645         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
9646         Likewise.
9647         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
9648         Likewise.
9649         * native/jni/gtk-peer/gthread-jni.c:
9650         Likewise.
9651
9652 2004-04-21  Mark Wielaard  <mark@klomp.org>
9653
9654         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
9655         static fields defined in interface.
9656         * javax/awt/JDialog.java: Likewise.
9657         (JDialog): Make constructors public.
9658         (getDefaultCloseOperation): Make public.
9659         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
9660         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
9661         * javax/swing/JViewport.java (JViewport): Make constructor public.
9662
9663 2004-04-21  Michael Koch  <konqueror@gmx.de>
9664
9665         * java/util/Map.java
9666         (Entry): Removed redundant "static" modifier.
9667         * java/text/AttributedCharacterIterator.java:
9668         Updated copyright year.
9669
9670 2004-04-20  Michael Koch  <konqueror@gmx.de>
9671
9672         * javax/naming/directory/SearchControls.java:
9673         Don't explicitely extend java.lang.Object.
9674         * javax/naming/spi/DirStateFactory.java:
9675         Merged copyright year with GNU classpath.
9676
9677 2004-04-20  Michael Koch  <konqueror@gmx.de>
9678
9679         * java/nio/channels/Channels.java:
9680         Merged coding style with GNU classpath.
9681
9682 2004-04-20  Michael Koch  <konqueror@gmx.de>
9683
9684         * java/net/ServerSocket.java
9685         Merged coding style from GNU classpath.
9686
9687 2004-04-20  Michael Koch  <konqueror@gmx.de>
9688
9689         * java/io/BufferedWriter.java:
9690         Reordered variables to be at top of the class.
9691         (localFlush): Removed redundant final keyword.
9692
9693 2004-04-20  Ingo Proetel  <proetel@aicas.com>
9694
9695         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
9696
9697 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
9698
9699         * java/text/DecimalFormat.java (scanFix): Removed suffix check
9700         for percent and permill check.
9701
9702 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
9703
9704         * java/text/FieldPosition.java
9705         (FieldPosition) Constructor now behaves as it should according
9706         to the java documentation.
9707
9708 2004-04-20  Mark Wielaard  <mark@klomp.org>
9709
9710         * java/util/Properties.java: Use the word umlaut, not &auml; in api
9711         documentation.
9712
9713 2004-04-20  Michael Koch  <konqueror@gmx.de>
9714
9715         * java/nio/Buffer.java,
9716         java/nio/channels/AlreadyConnectedException.java,
9717         java/nio/channels/AsynchronousCloseException.java,
9718         java/nio/channels/ByteChannel.java,
9719         java/nio/channels/CancelledKeyException.java,
9720         java/nio/channels/Channel.java,
9721         java/nio/channels/Channels.java,
9722         java/nio/channels/ClosedByInterruptException.java,
9723         java/nio/channels/ClosedChannelException.java,
9724         java/nio/channels/ClosedSelectorException.java,
9725         java/nio/channels/ConnectionPendingException.java,
9726         java/nio/channels/DatagramChannel.java,
9727         java/nio/channels/FileChannel.java,
9728         java/nio/channels/FileLock.java,
9729         java/nio/channels/FileLockInterruptionException.java,
9730         java/nio/channels/GatheringByteChannel.java,
9731         java/nio/channels/IllegalBlockingModeException.java,
9732         java/nio/channels/IllegalSelectorException.java,
9733         java/nio/channels/InterruptibleChannel.java,
9734         java/nio/channels/NoConnectionPendingException.java,
9735         java/nio/channels/NonReadableChannelException.java,
9736         java/nio/channels/NonWritableChannelException.java,
9737         java/nio/channels/NotYetBoundException.java,
9738         java/nio/channels/NotYetConnectedException.java,
9739         java/nio/channels/OverlappingFileLockException.java,
9740         java/nio/channels/Pipe.java,
9741         java/nio/channels/ReadableByteChannel.java,
9742         java/nio/channels/ScatteringByteChannel.java,
9743         java/nio/channels/SelectableChannel.java,
9744         java/nio/channels/SelectionKey.java,
9745         java/nio/channels/Selector.java,
9746         java/nio/channels/ServerSocketChannel.java,
9747         java/nio/channels/SocketChannel.java,
9748         java/nio/channels/UnresolvedAddressException.java,
9749         java/nio/channels/UnsupportedAddressTypeException.java,
9750         java/nio/channels/WritableByteChannel.java,
9751         java/nio/channels/spi/AbstractInterruptibleChannel.java,
9752         java/nio/channels/spi/AbstractSelectableChannel.java,
9753         java/nio/channels/spi/AbstractSelectionKey.java,
9754         java/nio/channels/spi/AbstractSelector.java,
9755         java/nio/channels/spi/SelectorProvider.java,
9756         java/nio/charset/spi/CharsetProvider.java:
9757         Fixed javadocs and jalopied all over java.nio.
9758
9759 2004-04-20  Michael Koch  <konqueror@gmx.de>
9760
9761         * java/nio/ByteBufferImpl.java,
9762         java/nio/CharBufferImpl.java,
9763         java/nio/DirectByteBufferImpl.java,
9764         java/nio/DoubleBufferImpl.java,
9765         java/nio/DoubleViewBufferImpl.java,
9766         java/nio/FloatBufferImpl.java,
9767         java/nio/FloatViewBufferImpl.java,
9768         java/nio/IntBufferImpl.java,
9769         java/nio/IntViewBufferImpl.java,
9770         java/nio/LongBufferImpl.java,
9771         java/nio/LongViewBufferImpl.java,
9772         java/nio/MappedByteBufferImpl.java,
9773         java/nio/ShortBufferImpl.java,
9774         java/nio/ShortViewBufferImpl.java:
9775         Made sure all classes are final and removed final keyword from all
9776         methods.
9777
9778 2004-04-20  Michael Koch  <konqueror@gmx.de>
9779
9780         * java/rmi/MarshalledObject.java,
9781         java/rmi/Naming.java,
9782         java/rmi/RemoteException.java,
9783         java/rmi/activation/ActivationException.java,
9784         java/rmi/server/ServerCloneException.java,
9785         java/security/AccessController.java,
9786         java/security/AlgorithmParameterGenerator.java,
9787         java/security/AlgorithmParameters.java,
9788         java/security/CodeSource.java,
9789         java/security/Identity.java,
9790         java/security/IdentityScope.java,
9791         java/security/KeyPairGenerator.java,
9792         java/security/KeyStore.java,
9793         java/security/Security.java,
9794         java/security/Signature.java,
9795         java/security/SignatureSpi.java,
9796         java/security/SignedObject.java,
9797         java/security/spec/DSAParameterSpec.java,
9798         java/security/spec/DSAPrivateKeySpec.java,
9799         java/security/spec/DSAPublicKeySpec.java,
9800         java/sql/Array.java,
9801         java/sql/DatabaseMetaData.java,
9802         java/sql/ResultSet.java,
9803         java/text/ChoiceFormat.java,
9804         java/text/CollationElementIterator.java,
9805         java/text/CollationKey.java,
9806         java/text/Collator.java,
9807         java/text/DateFormat.java,
9808         java/text/DateFormatSymbols.java,
9809         java/text/DecimalFormatSymbols.java,
9810         java/text/Format.java,
9811         java/text/ParsePosition.java,
9812         java/text/RuleBasedCollator.java,
9813         java/text/SimpleDateFormat.java,
9814         java/text/StringCharacterIterator.java,
9815         java/util/Collections.java,
9816         java/util/PropertyResourceBundle.java,
9817         java/util/ResourceBundle.java,
9818         java/util/StringTokenizer.java,
9819         java/util/jar/Attributes.java,
9820         java/util/logging/ConsoleHandler.java,
9821         java/util/logging/LogManager.java,
9822         java/util/logging/MemoryHandler.java,
9823         java/util/logging/SocketHandler.java,
9824         javax/naming/NamingException.java:
9825         Fixed javadoc, coding style and argument names all over.
9826
9827 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
9828
9829         * java/io/FileDescriptor.java: (FileDescriptor) Added public
9830         constructor. (valid) Added null check.
9831
9832 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
9833
9834         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
9835         * java/io/FileOutputStream.java
9836         (FileOutputStream) Reorganized constructors. Constructors now
9837         check whether the given path is directory.
9838
9839 2004-04-20  Michael Koch  <konqueror@gmx.de>
9840
9841         * java/net/Authenticator.java,
9842         java/net/BindException.java,
9843         java/net/ConnectException.java,
9844         java/net/ContentHandler.java,
9845         java/net/ContentHandlerFactory.java,
9846         java/net/DatagramPacket.java,
9847         java/net/DatagramSocket.java,
9848         java/net/DatagramSocketImpl.java,
9849         java/net/DatagramSocketImplFactory.java,
9850         java/net/FileNameMap.java,
9851         java/net/HttpURLConnection.java,
9852         java/net/Inet4Address.java,
9853         java/net/Inet6Address.java,
9854         java/net/InetAddress.java,
9855         java/net/InetSocketAddress.java,
9856         java/net/JarURLConnection.java,
9857         java/net/MalformedURLException.java,
9858         java/net/MulticastSocket.java,
9859         java/net/NetPermission.java,
9860         java/net/NetworkInterface.java,
9861         java/net/NoRouteToHostException.java,
9862         java/net/PasswordAuthentication.java,
9863         java/net/PortUnreachableException.java,
9864         java/net/ProtocolException.java,
9865         java/net/ServerSocket.java,
9866         java/net/Socket.java,
9867         java/net/SocketAddress.java,
9868         java/net/SocketException.java,
9869         java/net/SocketImpl.java,
9870         java/net/SocketImplFactory.java,
9871         java/net/SocketOptions.java,
9872         java/net/SocketPermission.java,
9873         java/net/SocketTimeoutException.java,
9874         java/net/URI.java,
9875         java/net/URISyntaxException.java,
9876         java/net/URL.java,
9877         java/net/URLClassLoader.java,
9878         java/net/URLConnection.java,
9879         java/net/URLDecoder.java,
9880         java/net/URLEncoder.java,
9881         java/net/URLStreamHandler.java,
9882         java/net/URLStreamHandlerFactory.java,
9883         java/net/UnknownHostException.java,
9884         java/net/UnknownServiceException.java:
9885         Fixed javadocs, coding style and argument names all over.
9886
9887 2004-04-20  Michael Koch  <konqueror@gmx.de>
9888
9889         * java/lang/Byte.java,
9890         java/lang/CharSequence.java,
9891         java/lang/ClassLoader.java,
9892         java/lang/Compiler.java,
9893         java/lang/Double.java,
9894         java/lang/Float.java,
9895         java/lang/Integer.java,
9896         java/lang/Long.java,
9897         java/lang/Math.java,
9898         java/lang/Number.java,
9899         java/lang/Package.java,
9900         java/lang/Runtime.java,
9901         java/lang/RuntimePermission.java,
9902         java/lang/SecurityManager.java,
9903         java/lang/Short.java,
9904         java/lang/StringBuffer.java,
9905         java/lang/System.java,
9906         java/lang/ThreadGroup.java,
9907         java/lang/Throwable.java,
9908         java/lang/reflect/InvocationHandler.java,
9909         java/lang/reflect/Proxy.java:
9910         Fixed javadocs, coding style and argument names all over.
9911
9912 2004-04-20  Michael Koch  <konqueror@gmx.de>
9913
9914         * java/io/BufferedWriter.java,
9915         java/io/ByteArrayInputStream.java,
9916         java/io/CharArrayWriter.java,
9917         java/io/DataInput.java,
9918         java/io/DataInputStream.java,
9919         java/io/File.java,
9920         java/io/FilterInputStream.java,
9921         java/io/InputStream.java,
9922         java/io/InputStreamReader.java,
9923         java/io/ObjectInputStream.java,
9924         java/io/ObjectStreamClass.java,
9925         java/io/PipedInputStream.java,
9926         java/io/PipedReader.java,
9927         java/io/PushbackInputStream.java,
9928         java/io/PushbackReader.java,
9929         java/io/RandomAccessFile.java,
9930         java/io/SerializablePermission.java,
9931         java/io/StreamTokenizer.java,
9932         java/io/StringWriter.java,
9933         java/io/WriteAbortedException.java,
9934         java/io/Writer.java:
9935         Fixed javadocs all over, rename arguments to match javadocs,
9936         fixed coding style.
9937
9938 2004-04-20  Ingo Proetel  <proetel@aicas.com>
9939
9940         * java/awt/FontMetrics.java:
9941         (charsWidth): fixed accumulation of total_width
9942         (getWidth): simple default implementation
9943         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
9944         in Rectangle constructor.
9945         * java/awt/image/Raster.java (toString): Added method. 
9946         * java/awt/image/SampleModel.java (<init>): Added error cause
9947         information to thrown exception.
9948         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
9949         New method.
9950         (setDataElements): New method.
9951         (setPixels): New method.
9952         (toString): New method.
9953
9954 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
9955
9956         * java/awt/image/ComponentColorModel.java
9957         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
9958         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
9959         Mauve tests on this method. Improved documentation.
9960
9961 2004-04-20  Michael Koch  <konqueror@gmx.de>
9962
9963         * javax/swing/JLayeredPane.java,
9964         javax/swing/plaf/BorderUIResource.java,
9965         javax/swing/plaf/ComponentUI.java,
9966         javax/swing/undo/CompoundEdit.java,
9967         javax/swing/undo/StateEdit.java:
9968         Fixed HTML tags in javadocs all over.
9969
9970 2004-04-20  Michael Koch  <konqueror@gmx.de>
9971
9972         * javax/print/attribute/EnumSyntax.java
9973         (getOffset): Made protected.
9974         * javax/print/attribute/HashAttributeSet.java
9975         (HashAttributeSet): Likewise.
9976         * javax/print/attribute/ResolutionSyntax.java
9977         (getFeedResolution): Fixed typo in exception name.
9978         (getCrossFeedResolution): Likewise.
9979         * javax/print/attribute/SetOfIntegerSyntax.java
9980         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
9981         * javax/print/attribute/TextSyntax.java
9982         (TextSyntax): Handle locale correctly.
9983         (hashCode): Calc better hashcode value.
9984         (equals): Fixed @return tag.
9985         (toString): New method.
9986
9987 2004-04-20  Michael Koch  <konqueror@gmx.de>
9988
9989         * gnu/java/nio/FileLockImpl.java
9990         (static): Removed, not needed anymore.
9991         * gnu/java/nio/channels/FileChannelImpl.java
9992         (FileChannelImpl): Made final.
9993         (mode): Made private.
9994         (READ, WRITE, APPEND): Made public.
9995         (EXCL, SYNC, DSYNC): Likewise.
9996         (static): Load native JNI library, when needed.
9997         (length): Unused, removed.
9998         (available): Made public.
9999         (implPosition): Throws IOException.
10000         (seek): Likewise.
10001         (implTruncate): Likewise.
10002         (unlock): Likewise.
10003         (lock): Likewise.
10004
10005 2004-04-20  Michael Koch  <konqueror@gmx.de>
10006
10007         * java/awt/AWTPermission.java,
10008         java/awt/Component.java,
10009         java/awt/ComponentOrientation.java,,
10010         java/awt/Dialog.java,
10011         java/awt/FontMetrics.java,
10012         java/awt/Graphics.java,
10013         java/awt/datatransfer/DataFlavor.java,
10014         java/beans/Introspector.java,
10015         java/beans/PropertyEditor.java,
10016         java/beans/PropertyEditorManager.java,
10017         java/beans/beancontext/BeanContextServiceProvider.java:
10018         Fixed HTML tags in javadocs all over.
10019
10020 2004-04-20  Mark Wielaard  <mark@klomp.org>
10021
10022         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
10023         MissingResourceException is thrown.
10024         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
10025         null when a MissingResourceException is thrown. Should never happen.
10026
10027 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
10028
10029         * java/awt/image/DataBufferShort.java,
10030         java/awt/image/DataBufferFloat.java,
10031         java/awt/image/DataBufferDouble.java,
10032         java/awt/image/PixelInterleavedSampleModel.java: New files.
10033         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
10034         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
10035
10036 2004-04-20  Michael Koch  <konqueror@gmx.de>
10037
10038         * Makefile.am (java_source_files): Added
10039         java/awt/image/DataBufferDouble.java,
10040         java/awt/image/DataBufferFloat.java,
10041         java/awt/image/DataBufferShort.java and
10042         java/awt/image/PixelInterleavedSampleModel.java.
10043         * Makefile.in: Regenerated.
10044
10045 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
10046  
10047         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
10048         undocumented CNI calls.
10049         * include/java-interp.h (_Jv_InterpClass): No longer
10050         extends java.lang.Class.
10051         * java/lang/Class.h (Class): Add new field `aux_info'.
10052         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
10053         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
10054         Use Class->aux_info instead.
10055         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
10056         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
10057         Use Class->aux_info instead.
10058         * java/io/natObjectInputStream.cc (allocateObject): Use
10059         _Jv_AllocObject.
10060         * java/lang/natClass.cc (newInstance): Likewise.
10061         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
10062         * java/lang/natObject.cc (clone): Likewise.
10063         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
10064         * java/lang/natVMClassLoader.cc (defineClass): Don't use
10065         JvAllocObject. Allocate klass->aux_info here for interpreted
10066         class.
10067         
10068 2004-04-17  Mark Wielaard  <mark@klomp.org>
10069
10070         * javax/swing/JToggleButton.java (ToggleButtonModel):
10071         Make public static inner class.
10072         * javax/swing/JTabbedPane.java (setComponentAt):
10073         Call Page.setComponent().
10074         (SCROLL_TAB_LAYOUT): Make public, value is 1.
10075         (WRAP_TAB_LAYOUT): Make public, value is 0.
10076         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
10077         Make private static inner class.
10078
10079 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
10080
10081         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
10082         arguments to match new signature. Remove FIXME comments.
10083
10084 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
10085
10086         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
10087         Remove method.
10088         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
10089         unused code.
10090
10091 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
10092
10093         * Makefile.am: Added new file.
10094         * Makefile.in: Regenerate.
10095         * javax/swing/ImageIcon.java: 
10096         (ImageIcon(file)): set description of the icon 
10097         to the file name
10098         * javax/swing/JCheckBoxMenuItem.java:
10099         Mostly Implemented. Work in progress.
10100         * javax/swing/JRadioButtonMenuItem.java:
10101         Reimplement constructors to use JToggleButtonModel.
10102         * javax/swing/plaf/basic/BasicIconFactory.java:
10103         (getCheckBoxMenuItemIcon): return check box
10104         icon.
10105         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10106         paint menu item selected only when it is armed and 
10107         pressed. 
10108  
10109 2004-04-02  David Jee  <djee@redhat.com>
10110
10111         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
10112         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
10113         * java/awt/Component.java
10114         (add): Set the parent of the popup as this component.
10115         * java/awt/PopupMenu.java
10116         (addNotify): Create popup menu when peer is null.
10117         (show): Call addNotify() if peer is null.
10118         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
10119         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
10120         argument for gtk_menu_popup() as zero. This causes the popup menu to
10121         respond to any mouse button.
10122
10123 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
10124
10125         * Makefile.am: Added new file.
10126         * Makefile.in: Regenerate.
10127         * javax/swing/JRadioButtonMenuItem.java:
10128         Implemented.
10129         * javax/swing/plaf/basic/BasicIconFactory.java:
10130         (getRadioButtonMenuItemIcon): Return
10131         radio button icon.
10132         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10133         (getPreferredSize): Add size of checkIcon if it
10134         exists.
10135         (installDefaults): Don't initialize checkIcon.
10136         It's value will be set in subclasses. 
10137         (uninstallDefaults): remove uninstallation of 
10138         checkIcon.
10139         (paint): Moved code to paintMenuItem().
10140         (paintMenuItem): Implemented.
10141         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
10142         UI delegate for JRadioButtonMenuItem.
10143         
10144 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
10145
10146         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10147         Corrected position of the accelerator.
10148
10149 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
10150
10151         * Makefile.am: Added new file. 
10152         * Makefile.in: Regenerate.
10153         * javax/swing/JMenuItem.java: Partly 
10154         implemented. Work in progress
10155         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10156         Changed default value of acceleratorDelimiter.
10157         * javax/swing/plaf/basic/BasicMenuItemUI.java:
10158         New class. Partly implemented.
10159                 
10160 2004-03-26  Mark Wielaard  <mark@klomp.org>
10161
10162         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10163         (item_activate): Declare label before use.
10164         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10165         (gtkSetFont): Removed unused variable label.
10166         (addExposeFilter): Declare variables before use.
10167         (removeExposeFilter): Likewise.
10168         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
10169         (ok_clicked): Declare str_fileName before use.
10170
10171 2004-03-26  David Jee  <djee@redhat.com>
10172
10173         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
10174         (addSeparator): Remove.
10175         * java/awt/Menu.java
10176         (separator): Remove static final MenuItem field.
10177         (separatorLabel): New static final String field.
10178         (addSeparator): Do not use peer method; use add(MenuItem) instead.
10179         Use separatorLabel to denote that it is a separator.
10180         (insertSeparator): Create a new MenuItem with separatorLabel, instead
10181         of reusing the static separator instance, because a MenuItem instance
10182         can't be added more than once without being cloned.
10183         * java/awt/peer/MenuPeer.java
10184         (addSeparator): Remove from interface.
10185
10186 2004-03-26  David Jee  <djee@redhat.com>
10187
10188         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
10189         (connectSignals): New native method declaration.
10190         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
10191         * java/awt/MenuItem.java
10192         (getActionCommand): Return the label if the action command is not set.
10193         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
10194         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
10195         gtk_menu_shell_append().
10196         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
10197         (item_activate): Fix argument type.
10198         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
10199         signal here.
10200         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
10201         method.
10202         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
10203         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
10204         given. Add the menu widget's top-level GtkWindow to the global window
10205         group, so it can grab the pointer.
10206         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
10207         gtk_menu_shell_append().
10208
10209 2004-03-23  Graydon Hoare  <graydon@redhat.com>
10210
10211         * java/text/AttributedString.java 
10212         (addAttribute): Fix off-by-one.
10213         (getIterator): Likewise.        
10214         * java/text/AttributedStringIterator.java 
10215         (getRunLimit): Correct logic.
10216         (getRunStart): Likewise.
10217         (getAttribute): Fix inequality.
10218         (getAttributes): Likewise.
10219         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
10220
10221 2004-03-23  Kim Ho  <kho@redhat.com>
10222
10223         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
10224         (calculateSizes): Return real width and height.
10225
10226 2004-03-23  Kim Ho  <kho@redhat.com>
10227
10228         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
10229         (calculateTabRects): Set the selectedRun before
10230         trying to rotate tabs.
10231
10232 2004-03-23  Kim Ho  <kho@redhat.com>
10233
10234         * Makefile.am: New file
10235         * Makefile.in: Regenerate
10236         * java/awt/Graphics.java: (drawRect):
10237         Draw to the correct point.
10238         * javax/swing/DefaultSingleSelectionModel.java
10239         (isSelected): Return true if the selected index
10240         is not -1.
10241         * javax/swing/JLabel.java: Do not change mnemonic
10242         index if text is null.
10243         * javax/swing/JProgressBar.java: Use JComponent's
10244         EventListenerList.
10245         * javax/swing/JScrollBar.java: Ditto.
10246         * javax/swing/JSlider.java: Ditto.
10247         * javax/swing/JTabbedPane.java: Reimplement.
10248         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10249         Add defaults for TabbedPane.
10250         * javax/swing/plaf/basic/BasicArrowButton.java:
10251         Implement
10252         * javax/swing/plaf/basic/BasicProgressBarUI.java:
10253         (paintDeterminate): Don't paint String if it's
10254         empty.
10255         (paintIndeterminate): ditto.
10256         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
10257         Reimplement.
10258
10259 2004-03-19  Michael Koch  <konqueror@gmx.de>
10260
10261         * java/awt/image/AffineTransformOp.java
10262         (AffineTransformOp): Made public.
10263         * javax/swing/JComponent.java
10264         (listenerList): Made protected.
10265         (accessibleContext): Likewise.
10266         * javax/swing/JList.java
10267         (valueChanged): Dont use internal fields of ListSelectionEvent.
10268         * javax/swing/JViewport.java
10269         (getView): Dont use internal fields of Component.
10270         (addImpl): Likewise.
10271         * javax/swing/Timer.java
10272         (isRunning): Made public.
10273         (start): Likewise.
10274         (stop): Likewise.
10275         * javax/swing/UIDefaults.java
10276         (getInt): Made public.
10277         * javax/swing/plaf/basic/BasicListUI.java
10278         (mousePressed): Dont use internal fields of MouseEvent.
10279         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
10280         * javax/swing/plaf/basic/BasicScrollBarUI.java
10281         (arrowIcon): Made static.
10282         * javax/swing/plaf/basic/BasicViewportUI.java
10283         (stateChanged): Dont use internal field on ChangeEvent.
10284         * javax/swing/text/JTextComponent.java
10285         (getUI): Call UIManager.getUI().
10286         (updateUI): Use getUI().
10287
10288 2004-03-19  Graydon Hoare  <graydon@redhat.com>
10289
10290         * javax/swing/JComponent.java: Turn off double buffer by default.
10291         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
10292         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
10293         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
10294         Use cairo to copy areas.
10295         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
10296         Initialize and set clip region.
10297
10298 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
10299
10300         * java/applet/Applet.java (preferredSize): Override deprecated
10301         variant of getPreferredSize.
10302         (minimumSize): Override deprecated variant of getMinimumSize.
10303
10304 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
10305
10306         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10307         (drawImage(img,xform,bgcolor,obs)): New Method.
10308         Helper function that every drawImage method will
10309         use.
10310         (drawRaster): Added new parameter, bgcolor. All
10311         transparent pixels are changed to bgcolor before 
10312         image is drawn.
10313         (drawRenderedImage): Fixed to use changed drawRaster().
10314         (drawImage(image,xform,obs): Fixed to use new helper function 
10315         (drawImage(image,op,x,y)): Ditto.
10316         (drawImage (img,x,y,observer)): Ditto.
10317         ((PainterThread) bgcolor): New Field.
10318         ((PainterThread) (setPixels)): Changed all transparent pixels 
10319         to bgcolor.     
10320         (drawImage(img,x,y,width,height,bgcolor,observer)): 
10321         Fixed FIXME - all the transparent pixels are 
10322         changed to the specified bgcolor. 
10323         (drawImage(img, x, y, width, height, observer): Changed to 
10324         use function above.
10325         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
10326         Fixed FIXME- changed all transparent pixels to bgcolor.
10327         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
10328         Changed to use function above. 
10329
10330 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
10331
10332         * java/applet/Applet.java (dimensions): New field.
10333         (getDimensions): New method.
10334         (getPreferredSize): Call getDimensions.
10335         (getMinimumSize): Likewise.
10336
10337 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
10338
10339         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
10340         * jni/classpath/jnilink.c: Likewise.
10341
10342         * java/applet/Applet.java (getPreferredSize): New method.
10343         (getMinimumSize): New method.
10344
10345 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
10346
10347         * prims.cc (_Jv_AllocObject): Remove `size' argument.
10348         (_Jv_AllocObjectNoFinalizer): Likewise.
10349         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
10350         (_Jv_AllocPtrFreeObject): Likewise.
10351         (_Jv_AllocString): Moved from natString.cc. Call collector interface
10352         directly even in the JVMPI case.        
10353         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
10354         _Jv_AllocObject calls.
10355         * gcj/javaprims.h: Update prototypes.
10356         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
10357         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
10358         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
10359
10360 2004-04-14  Andrew Haley  <aph@redhat.com>
10361             Bryce McKinlay  <mckinlay@redhat.com>
10362
10363         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
10364         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
10365         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
10366
10367         * testsuite/libjava.lang/InvokeInterface.java: New file.
10368         * testsuite/libjava.lang/InvokeInterface.out: New file.
10369
10370 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
10371         
10372         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
10373         modified lookup().
10374         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
10375         StackTraceElement directly.
10376         (newElement): New native helper method to create StackTraceElement
10377         bypassing Java access control.
10378         (createStackTraceElement): Use newElement() instead of directly
10379         calling StackTraceElement's constructor.
10380         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
10381
10382 2004-04-01  Michael Koch  <konqueror@gmx.de>
10383
10384         * java/lang/SecurityManager.java
10385         (checkAwtEventQueueAccess): Implemented.
10386
10387 2004-04-01  Gary Benson  <gbenson@redhat.com>
10388
10389         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
10390         (_Jv_SearchMethodInClass): Likewise.
10391
10392 2004-03-26  Peter Moon  <peterm@miraculum.com>
10393
10394         * java/text/NumberFormat.java: Fix spelling of setCurrency
10395         method.
10396
10397 2004-03-21  Anthony Green  <green@redhat.com>
10398
10399         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
10400         recursion when searching for the system ClassLoader.
10401
10402 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
10403
10404         * java/net/ServerSocket.java
10405         (accept): Close the socket when error occured.
10406
10407 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
10408
10409         * java/net/URI.java (parseURI): Added unquoting.
10410         (unquote): New method.
10411         (quoteAuthority): Implemented.
10412         (quote(String,String)): New method.
10413         (quotePath): Implemented.
10414         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
10415         (getSchemeSpecificPart): Removed FIXME comment.
10416         (getRawAuthority): Return new rawAuthority field.
10417         (getAuthority): Removed FIXME comment.
10418         (getRawUserInfo): Return new rawUserInfo field.
10419         (getUserInfo): Removed FIXME comment.
10420         (getRawPath): Return new rawPath field.
10421         (getPath): Removed FIXME comment.
10422         (getRawQuery): Return new rawQuery field.
10423         (getQuery): Removed FIXME comment.
10424         (getRawFragment): Return new rawFragment field.
10425         (getFragment): Removed FIXME comment.
10426
10427 2004-03-20  Michael Koch  <konqueror@gmx.de>
10428
10429         * java/net/URLConnection.java: Merged copyright year with classpath.
10430
10431 2004-03-20  Norbert Frese  <postfach@nfrese.net>
10432
10433         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
10434         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
10435         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
10436         rmi-message.
10437         (getObjectInputStream): Return object reference, throw IOException if null.
10438         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
10439         (getObjectOutputStream): Return object reference, throw IOException if null.
10440         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
10441         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
10442         (UnicastConnectionManager): Throw RemoteException if port is not available.
10443         (getInstance): Throw RemoteException.
10444         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
10445         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
10446         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
10447         Collect Exceptions which are returned by a rmi-call and fix void returns.
10448         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
10449         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
10450         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
10451         (dispatch): Answer ping messages which are sent by other java implementions.
10452         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
10453         for every rmi-message and fix void return problems.
10454         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
10455         (UnicastServerRef): Throw RemoteException.
10456         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
10457         In some situations it is necessary to export a subclass of the class which has the _Stub.
10458         For instance when the class with has the _Stub is abstract.
10459         (findStubSkelClass): New method which looks for the class which has the _Stub.
10460         (getClientHost): Implementated.
10461         * gcc/libjava/java/rmi/server/RemoteServer.java
10462         (getClientHost): Implementated.
10463         * gcc/libjava/Makefile.am (rmi_java_source_files):
10464         Added gnu/java/rmi/server/RMIIncomingThread.java.
10465         * Makefile.in: Regenerated.
10466
10467 2004-03-20  Michael Koch  <konqueror@gmx.de>
10468
10469         * java/net/InetAddress.java
10470         (getLocalHostname): Added javadoc.
10471
10472 2004-03-19  Per Bothner  <per@bothner.com>
10473
10474         * configure.in: FILE variable  overrides FLATFORM when linking
10475         natFileChannelXXX.cc.
10476
10477         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
10478         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
10479
10480 2004-03-19  Per Bothner  <per@bothner.com>
10481
10482         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
10483         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
10484         * Makefile.am:  Update accordingly.
10485         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
10486         as aliases for UnicodeLittle and UnicodeBig.
10487
10488 2004-03-20  Mark Wielaard  <mark@klomp.org>
10489
10490         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10491         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
10492         Don't access ws when it is null.
10493         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
10494         Likewise.
10495
10496 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
10497
10498         * java/lang/ThreadGroup.java (list): Changed print to println.
10499
10500 2004-03-19  Mark Wielaard  <mark@klomp.org>
10501
10502         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
10503         happy.
10504
10505 2004-02-10  Randolph Chung  <tausq@debian.org>
10506  
10507         * configure.in: Build java for hppa target.
10508         * configure: Regenerate.
10509         * libjava/configure.host (hppa-*): Add target.
10510         * libjava/sysdeps/pa/lock.h: New file.
10511
10512 2004-03-19  Mark Wielaard  <mark@klomp.org>
10513
10514         Reported by Stephen Crawley
10515         * java/io/FilePermission.java (implies): Use String.length() -1 to
10516         access last char of String.
10517
10518 2004-03-19  Michael Koch  <konqueror@gmx.de>
10519
10520         * java/awt/image/AffineTransformOp.java
10521         (AffineTransformOp): Made public.
10522         * javax/swing/JComponent.java
10523         (listenerList): Made protected.
10524         (accessibleContext): Likewise.
10525         * javax/swing/JList.java
10526         (valueChanged): Dont use internal fields of ListSelectionEvent.
10527         * javax/swing/JViewport.java
10528         (getView): Dont use internal fields of Component.
10529         (addImpl): Likewise.
10530         * javax/swing/Timer.java
10531         (isRunning): Made public.
10532         (start): Likewise.
10533         (stop): Likewise.
10534         * javax/swing/UIDefaults.java
10535         (getInt): Made public.
10536         * javax/swing/plaf/basic/BasicListUI.java
10537         (mousePressed): Dont use internal fields of MouseEvent.
10538         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
10539         * javax/swing/plaf/basic/BasicScrollBarUI.java
10540         (arrowIcon): Made static.
10541         * javax/swing/plaf/basic/BasicViewportUI.java
10542         (stateChanged): Dont use internal field on ChangeEvent.
10543         * javax/swing/text/JTextComponent.java
10544         (getUI): Call UIManager.getUI().
10545         (updateUI): Use getUI().
10546
10547 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10548
10549         * verify.cc: Undef PC.
10550
10551 2004-03-18  Michael Koch  <konqueror@gmx.de>
10552
10553         * java/nio/channels/spi/AbstractSelectableChannel.java
10554         (keys): Initialize at declaration.
10555         (locate): keys cant be null.
10556         (add): Removed.
10557         (addSelectionKey): New method.
10558         (removeSelectionKey): New method.
10559         * java/nio/channels/spi/AbstractSelectionKey.java
10560         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
10561         * java/nio/channels/spi/AbstractSelector.java
10562         (provider): Javadoc added.
10563         (cancelledKeys): Javadoc added.
10564         (cancelKey): Javadoc added, add key to cancelledKeys.
10565         (deregister): Implemented.
10566
10567 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10568
10569         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
10570         MAP_FAILED to void *.
10571
10572 2004-03-12  Graydon Hoare  <graydon@redhat.com>
10573
10574         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
10575         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
10576         * javax/swing/JList.java (ListListener): Revalidate on changes.
10577         * javax/swing/JScrollPane.java: Reimplement.
10578         * javax/swing/JViewport.java: Reimplement.
10579         * javax/swing/ScrollPaneLayout.java: Reimplement.
10580         * javax/swing/ViewportLayout.java: Tidy up.
10581         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
10582         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
10583         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
10584         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
10585         backing store only.
10586
10587 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
10588
10589         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10590         (window_wm_protocols_filter): New function.
10591         (window_focus_in_cb): Remove function.
10592         (window_focus_out_cb): Likewise.
10593         (window_focus_or_active_state_change_cb): New function.
10594         (create): Add filter that removes WM_TAKE_FOCUS client messages.
10595         (connectSignals): Don't attach handlers to focus-in-event or
10596         focus-out-event signals.  Handle notify signal.
10597
10598 2004-03-11  David Jee  <djee@redhat.com>
10599
10600         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
10601         (gtkSetLabel): New native method declaration.
10602         (setLabel): Use gtkSetLabel.
10603         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
10604         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
10605
10606 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
10607
10608         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
10609         black when color argument is null.
10610
10611 2004-03-10  Kim Ho  <kho@redhat.com>
10612
10613         * java/awt/Container.java: Remove check
10614         for drag events.
10615
10616 2004-03-10  Kim Ho  <kho@redhat.com>
10617
10618         * java/awt/Container.java: (visitChild):
10619         Remove candidate clip. Use the component
10620         clip to intersect.
10621         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
10622         (handleEvent): Use the PaintEvent's clip.
10623
10624 2004-03-10  Kim Ho  <kho@redhat.com>
10625
10626         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
10627         (handleEvent): Don't set the clip for the
10628         Graphics object.
10629
10630 2004-03-09  Graydon Hoare  <graydon@redhat.com>
10631
10632         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
10633         Fix double <-> fixed macros, reset font transform.
10634         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
10635         Likewise.
10636
10637 2004-03-09  Kim Ho  <kho@redhat.com>
10638
10639         * java/awt/Container.java: (visitChild): Move
10640         the x and y coordinate of the component rectangle
10641         to correct position.
10642         (handleEvent): Forward drag events to the pressed
10643         component.
10644         * javax/swing/plaf/basic/BasicScrollBarUI.java:
10645         Fix comments.
10646         (ArrowButtonListener::mousePressed): Stop the
10647         existing timer.
10648         (mouseDragged): Implement.
10649         (TrackListener::mousePressed): Only react if
10650         the press doesn't occur on the thumb, otherwise
10651         just set the offset.
10652         (TrackListener::mouseReleased): Unset the isAdjusting
10653         value.
10654         (createIncreaseIcon): Switch icon.
10655         (createDecreaseIcon): Switch icon.
10656         (calculatePreferredSize): Use width.
10657         (getThumbBounds): Use the top as the lower value.
10658         (layoutVScrollBar): Switch the button locations.
10659         (paintIncreaseHighlight): Paint correct side of thumb.
10660         (paintDecreaseHighlight): ditto.
10661         (valueForYPosition): Use top as the lower value.
10662         * javax/swing/plaf/basic/BasicSliderUI.java:
10663         Fix comments.
10664         (mouseDragged): Implement.
10665         (mousePressed): Only react when the thumb isn't
10666         pressed, otherwise just set offset.
10667         (mouseReleased): Handle a release of the thumb.
10668         (scrollDueToClickInTrack): Stop the timer first.
10669         * javax/swing/JProgressBar.java:
10670         (setString): Fix change condition.
10671         * javax/swing/JSeparator.java:
10672         Remove println's.
10673
10674 2004-03-08  David Jee  <djee@redhat.com>
10675
10676         * java/awt/image/AffineTransformOp.java:
10677         (filter): Use Graphics2D interface instead of directly using the
10678         GdkGraphics2D peer.
10679
10680 2004-03-05  David Jee  <djee@redhat.com>
10681
10682         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10683         (handleEvent): Action events are generated upon MOUSE_RELEASED.
10684         * java/awt/Container.java
10685         (acquireComponentForMouseEvent): Fixed.
10686         (handleEvent): Fixed.
10687         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10688         (state_to_awt_mods_with_button_states): New method.
10689         (pre_event_handler): Fixed mouse event generation.
10690
10691 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
10692
10693         gnu/java/awt/peer/gtk/GdkGraphics2D.java
10694         (GdkGraphics2D (BufferedImage)): Initialize
10695         pixmap associated with specified BufferedImage.
10696         (setPaint): Changed implementation of Texture
10697         Paint to use AffineTransformOp.
10698         * java/awt/image/AffineTransformOp.java
10699         (createCompatibleDestRaster): Throw RasterFormatException 
10700         if resulting width or height of raster is 0.
10701
10702 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
10703
10704         * java/awt/image/AffineTransformOp.java:
10705         Removed unnecessary field interpolationType.
10706         Formatted some of the lines to be consistent with 
10707         the GNU style.
10708         (AffineTransformOp): Create new RenderingHints 
10709         containing specified interpolation type.
10710         (createCompatibleDestImage): Implemented.
10711         (createCompatibleDestRaster): Implemented.
10712         (filter): Implemented.
10713         (getBounds2D(BufferedImage)): Implemented.
10714         (getBounds2D(Raster)): Implemented.
10715         (getInterpolationType): Get interpolation value from 
10716         rendering hints.
10717
10718 2004-03-04  David Jee  <djee@redhat.com>
10719
10720         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10721         (setFont): Check if child peers are null.
10722
10723 2004-03-04  Graydon Hoare  <graydon@redhat.com>
10724
10725         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
10726         .libs in -L option.
10727         (libjava_arguments): Add new libraries to argument list.
10728
10729 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
10730
10731         * Makefile.am: Added java/awt/image/AffineTransformOp.java
10732         * Makefile.in: Re-generated.
10733         * java/awt/image/AffineTransformOp.java: New Class.
10734
10735 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
10736
10737         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10738         (setPaint): Interpret correctly TexturePaint's
10739         anchor rectangle.
10740         (drawImage): Fixed scale factors of the affine
10741         transform.
10742
10743 2004-02-27  David Jee  <djee@redhat.com>
10744
10745         * gnu/java/awt/peer/gtk/GdkGraphics.java
10746         (GdkGraphics(Component)): Inherit font from component.
10747         (drawString): Use font style.
10748         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
10749         (gtkSetFont): New native method declaration.
10750         (setFont): New method.
10751         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10752         (gtkSetFont): New native method declaration.
10753         (setFont): Call new native method gtkSetFont.
10754         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10755         (setFont): For all child components who do not their fonts set,
10756         set their peers' fonts with this container's font.
10757         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
10758         Move all native method declarations to the top for readability.
10759         (gtkSetFont): New native method declaration.
10760         (setFont): New method.
10761         * java/awt/Component.java
10762         (setFont): Invalidate after setting the font.
10763         * java/awt/Container.java
10764         (invalidateTree): New method.
10765         (setFont): Invalidate the container tree after setting the font.
10766         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10767         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
10768         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
10769         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
10770         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10771         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
10772         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
10773         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
10774
10775 2004-02-27  Olga Rodimina <rodimina@redhat.com>
10776
10777         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10778         (updateBufferedImage): New helper function.
10779         Updates BufferedImage in memory if it was changed.
10780         (draw): changed to update BufferedImage in memory after
10781         this drawing operation
10782         (fill): Ditto.
10783         (draw3DRect): Ditto.
10784         (fill3DRect): Ditto.
10785         (clearRect): Ditto.
10786         (drawRaster): Ditto.
10787         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
10788         no affine transformation.
10789         (drawGlyphVector): Ditto.
10790
10791 2004-02-26  Olga Rodimina <rodimina@redhat.com>
10792
10793         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10794         (isBufferedImageGraphics): New Helper function. 
10795         Returns true if this graphics2d can be used to draw 
10796         into buffered image and false otherwise.
10797         (updateImagePixels): New Helper function. 
10798         Updates pixels in the BufferedImage.
10799         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
10800         (getImagePixels): New function. Returns pixels
10801         of the buffered image associated with 
10802         this Graphics2D.
10803
10804 2004-02-26  David Jee  <djee@redhat.com>
10805
10806         * java/awt/BorderLayout.java
10807         (layoutContainer): Fix width and height calculations to ensure
10808         that they're non-negative.
10809         * java/awt/Component.java
10810         (setBackground): If c is null, inherit from closest ancestor whose
10811         background color is set.
10812
10813 2004-02-26  Kim Ho  <kho@redhat.com>
10814
10815         * Makefile.am: Add new files.
10816         * Makefile.in: Re-generate.
10817         * javax/swing/JProgressBar.java: 
10818         (JProgressBar(int, int int)): Throw
10819         IllegalArgumentException if orientation is
10820         invalid.
10821         (JProgressBar(BoundedRangeModel)): Create
10822         ChangeListener and register it. UpdateUI.
10823         (getChangeListeners): Implement.
10824         (setModel): Reset ChangeListener.
10825         * javax/swing/JScrollBar.java: Implement.
10826         * javax/swing/JSeparator.java: Implement.
10827         * javax/swing/JSlider.java:
10828         (JSlider(int, int, int, int)): Throw 
10829         IllegalArgumentException if orientation
10830         is invalid.
10831         (getChangeListeners): Fix method name.
10832         * javax/swing/SwingUtilities.java:
10833         (layoutCompoundLabel): If there is no text,
10834         set the text rectangle dimensions to 0.
10835         * javax/swing/plaf/basic/BasicButtonUI.java:
10836         (paint): If there is no text, don't paint it.
10837         * javax/swing/plaf/basic/BasicScrollBarUI.java:
10838         Implement.
10839         * javax/swing/plaf/basic/BasicSeparatorUI.java:
10840         Implement.
10841         * javax/swing/plaf/basic/BasicSliderUI.java: 
10842         (propertyChange): If the model changes, change
10843         the listeners accordingly.
10844
10845 2004-02-25  Graydon Hoare  <graydon@redhat.com>
10846
10847         * javax/swing/AbstractButton.java: Add "final" qualifiers.
10848         * javax/swing/JList.java: Reimplement.
10849         * javax/swing/DefaultListSelectionModel.java: Reimplement.
10850         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
10851         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
10852         * javax/swing/ListModel.java: Javadoc.
10853         * javax/swing/ListSelectionModel.java: Add missing methods.
10854         * javax/swing/AbstractListModel.java: Javadoc and corrections.
10855         * javax/swing/DefaultListModel.java: Javadoc and corrections.
10856         * javax/swing/ListModel.java: Javadoc and corrections.
10857         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
10858
10859 2004-02-25  David Jee  <djee@redhat.com>
10860
10861         * gnu/java/awt/peer/gtk/GtkFontPeer.java
10862         (GtkFontPeer): Change default size to 12.
10863         * gnu/java/awt/peer/gtk/GtkToolkit.java
10864         (getFontPeer): Change default size to 12.
10865         (getClasspathFontPeer): Likewise. Set default name to "Default".
10866         * java/awt/Font.java
10867         (Font(Map)): Call Font(String,Map).
10868         (Font(String,Map)): If attrs is null, initialize it as an empty
10869         HashMap, which will ensure that the Font will get default attributes.
10870
10871 2004-02-25  David Jee  <djee@redhat.com>
10872
10873         * gnu/java/awt/peer/gtk/GtkFontPeer.java
10874         (GtkFontPeer(String,int)): Call the new constructor with size 1.
10875         (GtkFontPeer(String,int,int)): New constructor with size attribute.
10876         * gnu/java/awt/peer/gtk/GtkToolkit.java
10877         (getFontPeer(String,int)): Call the new overload method with size 1.
10878         (getFontPeer(String,int,int)): New method. Overloaded with size
10879         attribute.
10880         (getClasspathFontPeer): Set the size of the font.
10881
10882 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
10883
10884         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10885         (bimage): New field.
10886         (GdkGraphics2D): New Constructor. Constructs Graphics
10887         object that can be used to draw into the Buffered Image.
10888         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
10889         (GdkGraphicsEnvironment): Fixed to include public 
10890         keyword.
10891         (createGraphics): Implemented.
10892         * gnu/java/awt/peer/gtk/GtkToolkit.java
10893         (getLocalGraphicsEnvironment): Implemented.
10894         * java/awt/GraphicsEnvironment.java:
10895         (getLocalGraphicsEnvironment): Implemented.
10896         * java/awt/image/BufferedImage.java:
10897         (createGraphics): Implemented.
10898                 
10899 2004-02-24  David Jee  <djee@redhat.com>
10900
10901         * java/awt/Component.java
10902         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
10903         * java/awt/Container.java
10904         (addNotifyContainerChildren): Fix event enabling.
10905
10906 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
10907
10908         * Makefile.am: Added 
10909         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
10910         * Makefile.in: Re-generated.
10911         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
10912         New Class. 
10913         
10914 2004-02-19  Kim Ho  <kho@redhat.com>
10915
10916         * Makefile.am: Add BasicProgressBarUI
10917         * Makefile.in: Regenerate.
10918         * javax/swing/JProgressBar.java: 
10919         Re-implement.
10920         * javax/swing/plaf/basic/BasicLookAndFeel.java
10921         Add constants for JProgressBar.
10922         * javax/swing/plaf/basic/BasicProgressBarUI.java
10923         Implement.
10924         * javax/swing/plaf/basic/BasicSliderUI.java
10925         Change comments.
10926         (calculateGeometry): New method
10927         (paint): Remove unnecessary size calculations.
10928
10929 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
10930
10931         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10932         (drawRaster): Fixed small error that caused
10933         imageToUser transformation to be set incorrectly.
10934         (toString): Implemented.
10935
10936 2004-02-18  David Jee  <djee@redhat.com>
10937
10938         * java/awt/CardLayout.java
10939         (addLayoutComponent): Show the first component added as the default.
10940         (removeLayoutComponent): After removing, show the next component.
10941         (gotoComponent): If there is only one component, show it and return.
10942
10943 2004-02-18  Kim Ho  <kho@redhat.com>
10944
10945         * javax/swing/JSlider.java: Re-order
10946         modifiers.
10947         * javax/swing/JLabel.java: Re-order
10948         modifiers.
10949         * javax/swing/JComponent.java: 
10950         (addPropertyChangeListener):
10951         Implement.
10952         (removePropertyChangeListener):
10953         ditto.
10954         (firePropertyChangeEvent):
10955         ditto.
10956
10957 2004-02-17  David Jee  <djee@redhat.com>
10958
10959         * java/awt/Component.java
10960         (show): Dispatch ComponentEvent via system event queue.
10961         (hide): Likewise.
10962         (move): Likewise.
10963         (resize): Likewise.
10964         (reshape): Likewise.
10965         * java/awt/Window.java
10966         (setBoundsCallback): Likewise.
10967
10968 2004-02-17  David Jee  <djee@redhat.com>
10969
10970         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10971         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
10972         Use gtk_widget_set_size_request() instead of the deprecated
10973         gtk_widget_set_usize().
10974
10975 2004-02-17  Kim Ho  <kho@redhat.com>
10976
10977         * javax/swing/JSlider.java: Fix comments and
10978         make property strings constants.
10979         (createStandardLabels): Use the labels
10980         preferred size as bounds.
10981         * javax/swing/plaf/basic/BasicSliderUI.java
10982         Fix comments.
10983         (ScrollHandler::actionPerformed): Don't
10984         calculate the timer stop value. Let the
10985         MouseListeners find the stop location.
10986         (getPreferredHorizontalSize): Re-implement.
10987         (getPreferredVerticalSize): ditto.
10988         (getMinimumHorizontalSize): ditto.
10989         (getMinimumVerticalSize): ditto.
10990         (getPreferredSize): ditto.
10991         (getMinimumSize): ditto.
10992         (getMaximumSize): ditto.
10993         (paintTicks): Use doubles to find the
10994         tick location.
10995         (paintHorizontalLabel):  Use preferredSize
10996         as initial width and height.
10997         (paintVerticalLabel): ditto.
10998
10999 2004-02-17  Kim Ho  <kho@redhat.com>
11000
11001         * javax/swing/JLabel.java: Changed 
11002         property strings to constants.
11003         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
11004         New property.
11005         (setText): Change mnemonic index if
11006         text is too short.
11007         (setDisplayedMnemonicIndex): Fire property
11008         change event.
11009         (getDisplayedMnemonicIndex): Remove check
11010         against short text.
11011
11012 2004-02-17 Olga Rodimina <rodimina@redhat.com>
11013
11014         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11015         (drawImage(img,xform,obs)): Invert xform before
11016         passing the xform to cairo.
11017         (drawImage(img,x,y,bgcolor,obs)): Implemented.
11018         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
11019         implemented.
11020         (drawImage (img,x,y,w,h,obs)): Implemented.
11021         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
11022         bgcolor,obs)): Partly implemented.
11023         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
11024         Implemented.
11025         * java/awt/image/BufferedImage.java:
11026         (copyData): if dest is null, create raster with same
11027         dimensions as the current image.
11028
11029 2004-02-16  Graydon Hoare  <graydon@redhat.com>
11030
11031         * javax/swing/plaf/basic/BasicLabelUI.java 
11032         (getPreferredSize): Use layoutCL.
11033         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11034         (getPreferredButtonSize): Start with empty view rect, layout using
11035         component's preferred alignment.
11036         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
11037         List defaults.
11038
11039 2004-02-16  David Jee  <djee@redhat.com>
11040
11041         * java/awt/Component.java
11042         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
11043         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
11044         (move): Erase old bounds and repaint new bounds. Dispatch
11045         COMPONENT_MOVED ComponentEvent.
11046         (resize): Erase old bounds and repaint new bounds. Dispatch
11047         COMPONENT_RESIZED ComponentEvent.
11048         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
11049         ComponentEvents.
11050         * java/awt/Window.java
11051         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
11052         ComponentEvents.
11053
11054 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
11055
11056         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11057         (setRenderingHint): Added implementation of 
11058         Interpolation rendering hints.
11059         (setRenderingHints): Ditto.
11060         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
11061         (drawPixels): fixed to allow user to choose type 
11062         of filtering that should be used when displaying images.
11063         (cairoSurfaceSetFilter): New method. Sets filter type for 
11064         interpolation of pixel values.
11065
11066 2004-02-16  David Jee  <djee@redhat.com>
11067
11068         * java/awt/GridBagLayout.java
11069         (calcCellSizes): Rows or columns with zero sizes should still be
11070         considered for extra space distribution.
11071
11072 2004-02-16  Kim Ho  <kho@redhat.com>
11073
11074         * javax/swing/JLabel.java: Re-implement.
11075         * javax/swing/plaf/basic/BasicLabelUI.java
11076         Re-implement.
11077         * javax/swing/plaf/basic/BasicLookAndFeel.java:
11078         Added constant.
11079
11080 2004-02-16  Kim Ho  <kho@redhat.com>
11081
11082         * javax/swing/JSlider.java: Fix indentation and comments.
11083         (setModel): Remove null check to conform with Sun's.
11084         (setOrientation): Throw exception if not
11085         HORIZONTAL or VERTICAL.
11086         (getInverted): Use private variable instead of 
11087         ComponentOrientation.
11088         (setInverted): ditto.
11089         * javax/swing/plaf/basic/BasicSliderUI.java:
11090         Fix indentation and comments.
11091         (propertyChange): Remove check for inverted slider, handle
11092         in main paint.
11093         (getMinimumSize): Return preferred size.
11094         (getMaximumSize): ditto.
11095         (calculateFocusRect): Don't relocate rectangle.
11096         (drawInverted): Return XOR of the slider's inversion and 
11097         the component's orientation.
11098         (paint): Update leftToRightCache
11099
11100 2004-02-13  David Jee  <djee@redhat.com>
11101
11102         * java/awt/GridBagLayout.java
11103         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
11104         code to helper methods.
11105         (sortBySpan): New helper method.
11106         (distributeSizeAndWeight): Likewise.
11107         (calcCellWeights): Likewise.
11108         (calcCellSizes): Add comments.
11109
11110 2004-02-13  David Jee  <djee@redhat.com>
11111
11112         * java/awt/Component.java
11113         (show): Only do something if component is invisible at the moment.
11114         (hide): Only do something if component is visible at the moment.
11115         (reshape): If lightweight, erase old bounds and repaint new bounds.
11116
11117 2004-02-13  Kim Ho  <kho@redhat.com>
11118
11119         * Makefile.am: Updated for new file.
11120         * Makefile.in: Regenerated.
11121         * javax/swing/JSlider.java: Reimplement.
11122         * javax/swing/SwingUtilities.java
11123         (layoutCompoundLabel): Use icon height
11124         instead of width.
11125         (paintComponent): Implement.
11126         * javax/swing/plaf/basic/BasicLookAndFeel.java:
11127         Add JSlider defaults.
11128         * javax/swing/plaf/basic/BasicSliderUI.java:
11129         Implement. New file.
11130
11131 2004-03-17  Michael Koch  <konqueror@gmx.de>
11132
11133         * gnu/java/net/PlainDatagramSocketImpl.java
11134         (RECEIVE_LOCK): New member field.
11135         (SEND_LOCK): New member field.
11136         (send0): New method.
11137         (send): Synchronize on SEND_LOCK.
11138         (receive0): New method.
11139         (receive): Synchronize on RECEIVE_LOCK.
11140         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
11141         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
11142         gnu/java/net/natPlainDatagramSocketImplWin32.cc
11143         (send0): Renamed from send.
11144         (receive0): Renamed from receive.
11145 2004-03-17  Michael Koch  <konqueror@gmx.de>
11146
11147         * gnu/java/net/natPlainSocketImplPosix.cc
11148         (write): Just call write(jbyteArray, offset, len).
11149         (read): Just call read(jbyteArray, offset, len).
11150
11151 2004-03-16  Michael Koch  <konqueror@gmx.de>
11152
11153         * javax/swing/JTabbedPane.java
11154         (serialVersionUID): New field.
11155
11156 2004-03-16  Norbert Frese  <postfach@nfrese.net>
11157
11158         * java/net/InetAddress.java
11159         (getByName): Handle hostname == "" case.
11160
11161 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
11162
11163         Reported by: Adam Heath <doogie@debian.org>
11164         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
11165         class loader.
11166
11167 2004-03-15  Michael Koch  <konqueror@gmx.de>
11168
11169         * java/util/Locale.java: Reverting my last patch
11170         and add a comment why the original version was okay.
11171
11172 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
11173
11174         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
11175         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
11176         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
11177         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
11178
11179 2004-03-12  Michael Koch  <konqueror@gmx.de>
11180
11181         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
11182
11183 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
11184
11185         * java/net/URI.java (toURL): Implemented.
11186
11187 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
11188
11189         * java/net/URI.java
11190         (URI_REGEXP) updated to contain scheme specific part.
11191         (SCHEME_SPEC_PART_GROUP) new constant.
11192         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
11193         updated to make room for SCHEME_SPEC_PART_GROUP.
11194         (parseURI) parse scheme specific part.
11195         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
11196         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
11197         getQuery, getFragment) implemented.
11198
11199 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
11200
11201         * libraries/javalib/java/net/URI.java
11202         partially implemented using java.util.regex.
11203         (URI_REGEXP) new constant. Used to parse URIs.
11204         (SCHEME_GROUP) new constant representing index of scheme group
11205         in parsed URI.
11206         (AUTHORITY_GROUP) new constant representing index of authority
11207         group in parsed URI.
11208         (PATH_GROUP) new constant representing index of path group in
11209         parsed URI.
11210         (QUERY_GROUP) new constant representing index of query group in
11211         parsed URI.
11212         (FRAGMENT_GROUP) new constant representing index of fragment
11213         group in parsed URI.
11214         (getURIGroup) new static utility method.
11215         (parseURI) implemented.
11216         (quote) stub for new static utility method.
11217         (quoteAuthority) stub for new static utility method.
11218         (quoteHost) stub for new static utility method.
11219         (quotePath) stub for new static utility method.
11220         (quoteUserInfo) stub for new static utility method.
11221         (URI) implemented.
11222         (create) don't throw URISyntaxException. Implemented.
11223         (toString) implemented.
11224
11225 2004-03-12  Michael Koch  <konqueror@gmx.de>
11226
11227         * java/net/HttpURLConnection.java
11228         (getResponseCode): Fix another typo in javadoc.
11229
11230 2004-03-11  Michael Koch  <konqueror@gmx.de>
11231
11232         * java/util/logging/Level.java
11233         (parse): Use String.equals() instead of ==.
11234
11235 2004-03-11  Michael Koch  <konqueror@gmx.de>
11236
11237         * gnu/java/net/protocol/jar/Connection.java
11238         (getContentLength): New method.
11239
11240 2004-03-11  Michael Koch  <konqueror@gmx.de>
11241
11242         * gnu/java/net/PlainSocketImpl.java:
11243         Reformated to merge better with classpath's version.
11244
11245 2004-03-11  Michael Koch  <konqueror@gmx.de>
11246
11247         * java/util/Locale.java
11248         (getISO3Language): Use String.equals() instead of ==.
11249         (getISO3Country): Likewise.
11250
11251 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
11252
11253         * java/text/AttributedString.java
11254         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
11255         Use HashMap instead of Hashtable since value can be null, and
11256         you can not store a null value in a Hashtable.
11257
11258 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
11259
11260         * java/text/AttributedStringIterator.java
11261         (getAllAttributesKey): Return only keys concerned
11262         by the current iterator.
11263         (getAttributes): Use strict inequality for
11264         end_index. 
11265
11266 2004-03-11  Michael Koch  <konqueror@gmx.de>
11267
11268         * java/net/HttpURLConnection.java:
11269         Fixed typo in javadoc.
11270
11271 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
11272
11273         * java/io/BufferedInputStream.java (marktarget): New field for max
11274         mark limit.
11275         (CHUNKSIZE): New constant for incremental mark buffer allocation.
11276         (mark): Use new fields.
11277         (read): Likewise.
11278         (read(byte[],int,int)): Likewise.
11279         (skip): Likewise.
11280         (refill): Likewise.
11281
11282 2004-03-11  Mark Wielaard  <mark@klomp.org>
11283
11284         * java/beans/BeanDescriptor.java (BeanDescriptor):
11285         Set the FeatureDescriptor programmatic name.
11286
11287 2004-03-11  Michael Koch  <konqueror@gmx.de>
11288
11289         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
11290         This file was was just copied form java/io/natFileDescriptorEcos.cc
11291         and never changed to compile correctly.
11292
11293 2004-03-11  Michael Koch  <konqueror@gmx.de>
11294
11295         * gnu/java/nio/PipeImpl.java
11296         (SourceChannelImpl): Made final.
11297         (read): Implemented.
11298         (SinkChannelImpl): Made final.
11299         (write): Implemented.
11300
11301 2004-03-11  Michael Koch  <konqueror@gmx.de>
11302
11303         * gnu/java/net/PlainDatagramSocketImpl.java:
11304         Reformated to match classpath's version more.
11305
11306 2004-03-11  Michael Koch  <konqueror@gmx.de>
11307
11308         * gnu/java/awt/peer/ClasspathFontPeer.java:
11309         Fixed javadoc to be correct xhtml.
11310         * gnu/java/awt/peer/gtk/GtkArgList.java
11311         (add): Use Boolean.valueOf() instead of new Boolean().
11312
11313 2004-03-09  Michael Koch  <konqueror@gmx.de>
11314
11315         * java/lang/Thread.java
11316         (runnable): Moved around.
11317         (daemon): Renamed from daemon_flag.
11318         (contextClassLoader): Renamed from context_class_loader.
11319         (Thread): Reordered constructors.
11320         (activeCount): Use group directly.
11321         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
11322         (holdsLock): Reworked javadoc.
11323         (setDaemon): Reworked.
11324         * java/lang/natThread.cc
11325         (destroy): Removed.
11326
11327 2004-03-08  Anthony Green  <green@redhat.com>
11328
11329         * Makefile.am: Build property resource files into libgcj.
11330         * Makefile.in: Rebuilt.
11331         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
11332         java/util/regex/PatternSyntaxException.java,
11333         gnu/regexp/CharIndexed.java,
11334         gnu/regexp/CharIndexedCharArray.java,
11335         gnu/regexp/CharIndexedInputStream.java,
11336         gnu/regexp/CharIndexedReader.java,
11337         gnu/regexp/CharIndexedString.java,
11338         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
11339         gnu/regexp/REException.java,
11340         gnu/regexp/REFilterInputStream.java,
11341         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
11342         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
11343         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
11344         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
11345         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
11346         gnu/regexp/RETokenLookAhead.java,
11347         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
11348         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
11349         gnu/regexp/RETokenStart.java,
11350         gnu/regexp/RETokenWordBoundary.java,
11351         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
11352
11353 2004-03-03  Per Bothner  <per@bothner.com>
11354
11355         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
11356         Optimize when argument is a FileChannelImpl.
11357         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
11358         New native methods.
11359         * java/nio/channels/natChannels.cc:  New file for new native methods.
11360         * Makefile.am:  Update accordingly.
11361
11362 2004-03-02  Jan Hubicka  <jh@suse.cz>
11363
11364         * configure.host: Pass -fno-omit-frame-pointer for i386.
11365         * configure.in: Likewise.
11366         * configure: Regenerate.
11367
11368 2004-03-01  Per Bothner  <per@bothner.com>
11369
11370         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
11371
11372 2004-02-29  Per Bothner  <per@bothner.com>
11373
11374         * java/nio/channels/FileChannelImpl.java:  Moved to package
11375         gnu/java/nio/channels, since we need to refer to it from java.io.
11376         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
11377         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
11378         from java/nio/channels.  Don't depend on FileDescriptor.
11379         (in, out, err):  New static fields.
11380         (mode):  New field.
11381         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
11382         from FileDescriptor.
11383         (by):  Removed MappedByteBuffer field.
11384         (map):  New working implementation.
11385         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
11386         some code "ported" from natFileDescriptoPosix.cc.
11387         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
11388         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
11389         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
11390         Remove native methods.
11391         * Makefile.am, configure.in:  Updated accordingly.
11392
11393         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
11394         (ch):  New FileChannelImpl field.  Update constructor to match.
11395         (releaseImpl):  Remove native method.  Instead ...
11396         (release):  Call unlock on channel.
11397         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
11398
11399         * java/io/natFileDescriptorEcos.cc:  Remove file.
11400         * java/io/natFileDescriptorPosix.cc:  Remove file.
11401         * java/io/natFileDescriptorWin32.cc:  Remove file.
11402         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
11403         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
11404         (<init>(FileChannelImpl)):  New package-private constructor.
11405         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
11406         (available, close, read, skip):  Implement using FileChannelImpl.
11407         (getFD):  Allocate FileDescriptor if needed.
11408         (getChannel):  Is now trivial.
11409         * java/io/FileOutputStream.java:  Corresponding changes.
11410         * java/io/RandomAccessFile.java:  Corresponding changes.
11411
11412         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
11413         unmapImpl):  New dummy methods, to be overridden by subclass.
11414         (finalize, isLoaded, load, force):  New methods.
11415         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
11416         Now works, at least for read mapping.
11417
11418         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
11419         streams using FileChannelImpl, not FileDescriptor.
11420         * java/lang/natWin32Process.cc (startProcess):  Likewise.
11421
11422 2004-02-28  Michael Koch  <konqueror@gmx.de>
11423
11424         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
11425         wrong code.
11426
11427 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
11428
11429         * java/io/ObjectInputStream.java
11430         (readClassDescriptor): Keep elements of the mapping non null.
11431         (checkTypeConsistency): New method.
11432         (readFields): Fixed main loop and base logic. Small reindentation.
11433         * java/io/ObjectStreamField.java
11434         (lookupField): New method to update the field reference.
11435         (checkFieldType): New method.
11436         * java/io/ObjectStreamClass.java
11437         (setClass, setFields): Call lookupField when building the field
11438         database. Check the real field type.
11439
11440 2004-02-28  Michael Koch  <konqueror@gmx.de>
11441
11442         * java/nio/ByteOrder.java
11443         (nativeOrder): Use equals() to compare strings.
11444
11445 2004-02-26  Michael Koch  <konqueror@gmx.de>
11446
11447         * gnu/java/nio/FileLockImpl.java
11448         (finalize): Made protected.
11449         * java/nio/channels/FileChannel.java
11450         (MapMode.READ_ONLY): Made final.
11451         (MapMode.READ_WRITE): Made final.
11452         (MapMode.PRIVATE): Made final.
11453         * java/nio/channels/SocketChannel.java
11454         (open): Simplified code.
11455         * java/nio/channels/spi/AbstractSelectableChannel.java
11456         (registered): Unused, removed.
11457         (keyFor): Check channel is open, only locate key
11458         and not add a new one.
11459         (register): Don't delete attachments.
11460
11461 2004-02-26  Michael Koch  <konqueror@gmx.de>
11462
11463         * gnu/java/awt/ComponentDataBlitOp.java
11464         (INSTANCE): Made final.
11465         * gnu/java/awt/image/ImageDecoder.java:
11466         Reworked imports.
11467         (cm): Unused, removed.
11468
11469 2004-02-26  Michael Koch  <konqueror@gmx.de>
11470
11471         * gnu/java/nio/DatagramChannelImpl.java
11472         (send): Check if target address is resolved.
11473
11474 2004-02-26  Michael Koch  <konqueror@gmx.de>
11475
11476         * Makefile.am: Generate and install headers for inner classes in
11477         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
11478         * Makefile.in: Regenerated.
11479
11480 2004-02-24  Anthony Green  <green@redhat.com>
11481
11482         * java/lang/StringBuffer.java: No need to NULL out remainder of
11483         buffer since ensureCapacity_unsynchronized will have done this for
11484         us.
11485
11486 2004-02-20  Michael Koch  <konqueror@gmx.de>
11487
11488         * gnu/java/net/protocol/jar/Handler.java
11489         (): Removed unneeded check for file != null. java.net.URL.getFile()
11490         returns an empty string but never null.
11491
11492 2004-02-20  Michael Koch  <konqueror@gmx.de>
11493
11494         * gnu/gcj/convert/Convert.java
11495         (main): Use equals() to compare strings.
11496
11497 2004-02-20  Michael Koch  <konqueror@gmx.de>
11498
11499         * javax/swing/AbstractButton.java: Made several constants final.
11500         (getRolloverSelectedIcon): Made public.
11501         (getSelectedIcon): Made public.
11502
11503 2004-02-16  Per Bothner  <per@bothner.com>
11504
11505         * java/nio/CharBufferImpl.java:  Inline super constructor.
11506         * java/nio/DoubleBufferImpl.java:  Likewise.
11507         * java/nio/FloatBufferImpl.java:  Likewise.
11508         * java/nio/IntBufferImpl.java:  Likewise.
11509         * java/nio/LongBufferImpl.java:  Likewise.
11510         * java/nio/ShortBufferImpl.java:  Likewise.
11511         * java/nio/CharBuffer.java:  Remove unused constructor.
11512         * java/nio/DoubleBuffer.java:  Likewise.
11513         * java/nio/FloatBuffer.java:  Likewise.
11514         * java/nio/IntBuffer.java:  Likewise.
11515         * java/nio/LongBuffer.java:  Likewise.
11516         * java/nio/ShortBuffer.java:  Likewise.
11517         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
11518         Fix buggy call to super constructor.
11519         * java/nio/DoubleViewBufferImpl.java:  Likewise.
11520         * java/nio/FloatViewBufferImpl.java:  Likewise.
11521         * java/nio/IntViewBufferImpl.java:  Likewise.
11522         * java/nio/LongViewBufferImpl.java:  Likewise.
11523         * java/nio/ShortViewBufferImpl.java:  Likewise.
11524         
11525         * java/nio/ByteBuffer.java (endian):  Make non-private so other
11526         java.nio classes can inherit it.
11527         (<init>):  Don't bother clearing array_offset.
11528         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
11529         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
11530         Remove redundant test.
11531
11532         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
11533         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
11534         Use new XxxViewBufferImpl constructors.
11535         * java/nio/MappedByteBufferImpl.java:  Likewise.
11536         * java/nio/DirectByteBufferImpl.java:  Likewise.
11537
11538         * java/nio/ByteBufferImpl.java:  Remove one constructor.
11539         Inline super in remaining constructor.
11540         * java/nio/ByteBuffer.java:  Remove unused constructor.
11541
11542         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
11543
11544         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
11545         * java/nio/DirectByteBufferImpl.java (owner):  New field.
11546         (offset):  Remove unused field.
11547         (<init>):  Modify one and add another constructor.  Change callers.
11548         (allocateDirect):  Removed - not used.
11549         (getImpl, putImpl):  Make static and pass address explicitly,
11550         to make them useful for MappedByteBufferImpl.
11551         (get, put):  Check for underflow.  Modify for new getImpl.
11552         (getImpl):  New native method where target is array.
11553         (get(byte[],int,int)):  Use the above.
11554         (adjustAddress):  New static native method.
11555         (slice, duplicate, asReadOnly):  New implementations.
11556         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
11557         adjustAddress):  New or updated native methods.
11558
11559 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
11560
11561         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
11562         overflow of fieldmapping.
11563
11564 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
11565
11566         * javax/swing/undo/UndoManager.java: Re-written from scratch.
11567
11568 2004-02-14  Per Bothner  <per@bothner.com>
11569
11570         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
11571         Set closed before calling implCloseChannel, as in the spec.
11572
11573 2004-02-09  Graydon Hoare  <graydon@redhat.com>
11574
11575         * javax/swing/ToggleButtonModel.java: Remove dead class.
11576         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
11577         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
11578         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
11579         * Makefile.am: Update for new and removed files.
11580         * Makefile.in: Regenerate.
11581
11582         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
11583         * javax/swing/AbstractButton.java 
11584         (AbstractButton): Initialize fields correctly in ctor.
11585         * javax/swing/JCheckbox.java 
11586         (JCheckBox): Override painting flags.
11587         * javax/swing/DefaultButtonModel.java: Conform to sun.
11588         * javax/swing/JComponent.java (paint): Fill with background color
11589         if available.
11590         (processComponentKeyEvent)
11591         (processFocusEvent)
11592         (processKeyEvent)
11593         (processMouseMotionEvent): Remove event-consuming empty methods.
11594         (getUIClassID): Return "ComponentUI" not "JComponent"
11595         * javax/swing/JFrame.java: Remove some debugging chatter.
11596         (JFrame): Subscribe to window events.
11597         * javax/swing/JRadioButton.java 
11598         (JRadioButton): Override painting flags.
11599         * javax/swing/JRootPane.java 
11600         (JRootPane): Set background from UIDefaults.
11601         * javax/swing/JToggleButton.java 
11602         (ToggleButtonModel): New inner class.
11603         (JToggleButton): Override layout alighment.
11604         * javax/swing/SwingUtilities.java:
11605         (getLocalBounds): Return width and height, not x and y.
11606         (calculateInnerArea): Use local bounds, not bounds.
11607         (layoutCompoundLabel): Provide overridden form.
11608         (layoutCompoundLabel): Correct bugs.
11609         * javax/swing/UIDefaults.java: Correct comment.
11610         * javax/swing/plaf/basic/BasicButtonUI.java: 
11611         Move most logic into defaults, external listener.
11612         (paintIcon): Implement icon painting.
11613         (paint): Fix state painting to conform to changes in model.
11614         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
11615         Remove most dead/wrong methods.
11616         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
11617         * javax/swing/plaf/basic/BasicIconFactory.java:
11618         (DummyIcon): New class.
11619         (getMenuItemCheckIcon)
11620         (getMenuItemArrowIcon) 
11621         (getMenuArrowIcon)
11622         (getCheckBoxMenuItemIcon)
11623         (getRadioButtonMenuItemIcon)
11624         (createEmptyFrameIcon): Return DummyIcons, not null.
11625         (getCheckBoxIcon): Implement an icon that looks like sun's.
11626         (getRadioButtonIcon): Implement an icon that looks like sun's.
11627         * javax/swing/plaf/basic/BasicLookAndFeel.java 
11628         (initComponentDefaults): Fix impossible values, add some missing.
11629         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
11630         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
11631         Remove most dead/wrong methods.
11632         (icon): New field.
11633         (getDefaultIcon): New method.
11634         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
11635         Remove most dead/wrong methods.
11636         * javax/swing/plaf/metal/MetalLookAndFeel.java
11637         (getDefaults): Return super.getDefaults(), not BasicDefaults.
11638         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
11639         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
11640         Implement "clearing" as drawing, when on pixmap drawables.
11641
11642         * javax/swing/JButton.java (getUIClassID): 
11643         * javax/swing/JCheckBox.java (getUIClassID):
11644         * javax/swing/JEditorPane.java (getUIClassID):
11645         * javax/swing/JLabel.java (getUIClassID): 
11646         * javax/swing/JList.java (getUIClassID): 
11647         * javax/swing/JOptionPane.java (getUIClassID): 
11648         * javax/swing/JPanel.java (getUIClassID): 
11649         * javax/swing/JPasswordField.java (uiClassID): 
11650         * javax/swing/JRadioButton.java (getUIClassID): 
11651         * javax/swing/JRootPane.java (getUIClassID): 
11652         * javax/swing/JScrollPane.java (getUIClassID): 
11653         * javax/swing/JTabbedPane.java (getUIClassID): 
11654         * javax/swing/JToggleButton.java (getUIClassID): 
11655         * javax/swing/JTree.java (getUIClassID): 
11656         * javax/swing/JViewport.java (getUIClassID): 
11657         * javax/swing/text/JTextComponent.java (getUIClassID):
11658         Return "fooUI" not "Jfoo"
11659
11660 2004-02-11  Michael Koch  <konqueror@gmx.de>
11661
11662         * java/net/DatagramSocket.java
11663         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
11664         Boolean object.
11665         (setBroadcast): Likewise.
11666         * java/net/MulticastSocket.java
11667         (setLoopbackMode): Likewise.
11668         * java/net/ServerSocket.java
11669         (setReuseAddress): Likewise.
11670         * java/net/Socket.java
11671         (setTcpNoDelay): Likewise.
11672         (setSoLinger): Likewise.
11673         (setOOBInline): Likewise.
11674         (setKeepAlive): Likewise.
11675         (setReuseAddress): Likewise.
11676         * java/net/URLConnection.java
11677         (setContentHandler): Replace == with equals().
11678         * java/net/URLStreamHandler.java
11679         (hostSEquals): Fix checking host addresses.
11680         (toExternalForm): Dont check protocol for null. We know already its
11681         not null.
11682
11683 2004-02-10  David Jee  <djee@redhat.com>
11684
11685         * java/awt/BorderLayout.java
11686         (calcCompSize): Invisible components get zero dimensions.
11687         * java/awt/Button.java
11688         (setLabel): Set actionCommand.
11689         * java/awt/Component.java
11690         (show): Invalidate component and parent container.
11691         (hide): Likewise.
11692
11693 2004-02-10  David Jee  <djee@redhat.com>
11694
11695         * java/awt/GridBagLayout.java
11696         (GridBagLayout): New private field, internalcomptable.
11697         (lookupInternalConstraints): New method.
11698         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
11699         (GetLayoutInfo): Reimplement.
11700         (calcCellSizes): Ignore rows/columns with size 0.
11701
11702 2004-02-10  Michael Koch  <konqueror@gmx.de>
11703
11704         * gnu/java/awt/EmbeddedWindow.java
11705         (setHandle): Use java.awt.Component.getPeer() instead of
11706         java.awt.Component.peer directly.
11707
11708 2004-02-10  David Jee  <djee@redhat.com>
11709
11710         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
11711         (gtkSetLabel): New native method definition.
11712         (setLabel): Use gtkSetLabel.
11713         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
11714         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
11715
11716 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
11717
11718         * include/powerpc-signal.h: Revert 2004-01-21 change.
11719         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
11720         from syscall for ppc32 versions.
11721
11722 2004-02-08  Per Bothner  <per@bothner.com>
11723
11724         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
11725         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
11726         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
11727         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
11728         Pass ByteOrder parameter to most methods, since the underlying
11729         ByteBuffer's order isn't always what we should use.
11730         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
11731         * java/nio/DirectByteBufferImpl.java:  Likewise.
11732         Use ByteBufferHelper methods.
11733         * java/nio/MappedByteBufferImpl.java:  Likewise.
11734         (compact):  Use shiftDown.
11735         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
11736         (get, put):  Use ByteBufferHelper.
11737         (compact):  Use new shiftDown method.
11738         (duplicate(boolean)):  New helper method.
11739         (duplicate, asReadOnlyBuffer):  Use it.
11740         (order):  Return endian field.
11741         * java/nio/DoubleViewBufferImpl.java:  Likewise.
11742         * java/nio/FloatViewBufferImpl.java:  Likewise.
11743         * java/nio/IntViewBufferImpl.java:  Likewise.
11744         * java/nio/LongViewBufferImpl.java:  Likewise.
11745         * java/nio/ShortViewBufferImpl.java:  Likewise.
11746         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
11747         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
11748         (compact):  Re-implement using shiftDown.
11749
11750 2004-02-08  Andreas Jaeger  <aj@suse.de>
11751
11752         * include/x86_64-signal.h: Fix typo.
11753
11754 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
11755
11756         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
11757         qualifier to _regs.
11758         (HANDLE_DIVIDE_OVERFLOW): Likewise.
11759
11760 2004-02-06  Michael Koch  <konqueror@gmx.de>
11761
11762         * java/io/ObjectInputStream.java
11763         (currentClassLoader): Reverted to old version of this method.
11764
11765 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
11766
11767         * java/io/ObjectInputStream.java: Made all calls
11768         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
11769         use cached info from ObjectStreamClass. (readClassDescriptor):
11770         Cache more information in ObjectStreamClass. (processResolution,
11771         readFields): Use cached info from ObjectStreamClass.
11772         (newObject): Throw exception instead of returning null for failure.
11773         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
11774         setCharField, setDoubleField, setFloatField, setIntField,
11775         setLongField, setShortField, setObjectField, readObjectParams):
11776         Removed. (dumpElement, dumpElementln): Removed dump flag condition
11777         check.
11778         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
11779         (setClass): Added call to cacheMethods() (findMethod): New method.
11780         (cacheMethods): New method. (ObjectStreamClass): Added call to
11781         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
11782         AccessController.doPrivileged to invoke setAccessible.
11783         (readObjectMethod, readResolveMethod, realClassIsSerializable,
11784         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
11785         New fields.
11786         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
11787         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
11788         isPrimitive): Made safe for cases where type == null.
11789         (setBooleanField, setByteField, setCharField, setShortField,
11790         setIntField, setLongField, setFloatField, setDoubleField,
11791         setObjectField): New methods.
11792
11793 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
11794
11795         * java/awt/Component.java (getFont): Return a default font
11796         instead of null.
11797
11798         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
11799         (Scrollbar (int, int, int, int, int)): Make default page
11800         increment 10.
11801         (setValues): Only call peer.setValues if one of the values has
11802         changed.
11803         (generateName): New method.
11804         (getUniqueLong): New method.
11805         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
11806         (range_scrollbar): Remove structure.
11807         (post_adjustment_event): Remove function.
11808         (post_change_event): Accept jobject argument.
11809         (create): Cast jints to gdoubles.  Round scrollbar values to the
11810         nearest integer.  Clamp min, max and value settings.
11811         (connectJObject): Connect hook to widget->window.
11812         (connectSignals): Remove range_scrollbar structure variables.
11813         Remove "move-slider" connection.  Pass global peer reference to
11814         "value-changed" callback.
11815         (setLineIncrement): Cast jint value to gdouble.
11816         (setPageIncrement): Likewise.
11817         (setValues): Likewise.  Clamp min, max and value settings.
11818
11819 2004-02-05  Michael Koch  <konqueror@gmx.de>
11820
11821         * javax/swing/AbstractCellEditor.java
11822         (getCellEditorValue): Removed.
11823         * javax/swing/Box.java: Reformated.
11824         (serialVersionUID): New field.
11825         * javax/swing/ButtonGroup.java:
11826         Removed some weird whitespace.
11827         * javax/swing/CellEditor.java: Reformated.
11828         * javax/swing/CellRendererPane.java
11829         (serialVersionUID): New field.
11830         (AccessibleCellRendererPaneserialVersionUID): New field.
11831         * javax/swing/DefaultListModel.java
11832         (serialVersionUID): New field.
11833         * javax/swing/JEditorPane.java
11834         (serialVersionUID): New field.
11835         (setPage): Throws IOException.
11836         (addHyperlinkListener): Implemented.
11837         (removeHyperlinkListener): Implemented.
11838         (getHyperlinkListener): New method.
11839         * javax/swing/JFileChooser.java
11840         (serialVersionUID): New field.
11841         (AccessibleJFileChooser.serialVersionUID): New field.
11842         (addActionListener): Implemented.
11843         (removeActionListener): Implemented.
11844         (getActionListeners): New method.
11845         * javax/swing/JFormattedTextField.java
11846         (serialVersionUID): New field.
11847         (AbstractFormatter.serialVersionUID): New field.
11848         (clone): Throws CloneNotSupportedException
11849         (setEditValid): Add missing argument.
11850         (stringToValue): Throws ParseExcpetion.
11851         (valueToString): Throws ParseException.
11852         (commitEdit): Throws ParseException.
11853         * javax/swing/JLabel.java
11854         (serialVersionUID): New field.
11855         * javax/swing/JList.java
11856         (serialVersionUID): New field.
11857         (addListSelectionListener): Reformated.
11858         (removeListSelectionListener): Reformated.
11859         (getListSelectionListeners): New method.
11860         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
11861         Reformated.
11862         (serialVersionUID): New field.
11863         * javax/swing/table/AbstractTableModel.java
11864         (getValueAt): Removed.
11865         (getColumnCount): Removed.
11866         (getRowCount): Removed.
11867
11868 2004-02-05  Michael Koch  <konqueror@gmx.de>
11869
11870         * java/awt/datatransfer/DataFlavor.java
11871         (imageFlavor): Javadoc added.
11872         (javaJVMLocalObjectType): Fixed.
11873
11874 2004-02-05  Michael Koch  <konqueror@gmx.de>
11875
11876         * java/lang/Thread.java
11877         (Thread): Reordered.
11878         (setContextClassLoader): Fixed javadoc comment.
11879         (setPriority): Reordered.
11880         (yield): Reordered.
11881         (initialize_native): Reordered.
11882         (gen_name): Reordered.
11883
11884 2004-02-05  Michael Koch  <konqueror@gmx.de>
11885
11886         * java/lang/Thread.java: Reordered fields, reformated much code,
11887         no functional changes, some variables renamed, javadoc comments
11888         merged.
11889
11890 2004-02-05  Michael Koch  <konqueror@gmx.de>
11891
11892         * java/util/zip/Deflater.java,
11893         java/util/zip/DeflaterOutputStream.java,
11894         java/util/zip/GZIPInputStream.java:
11895         Reformated and javadoc comments merged from classpath.
11896
11897 2004-02-05  Michael Koch  <konqueror@gmx.de>
11898
11899         * gnu/java/nio/NIOServerSocket.java
11900         (impl): Unused, removed.
11901         * gnu/java/nio/SocketChannelImpl.java
11902         (finnishConnect): Don't throw NoConnectionPendingException if not
11903         connected or no connection pending.
11904
11905 2004-02-02  Graydon Hoare  <graydon@redhat.com>
11906
11907         * javax/swing/SwingUtilities.java: Many new functions.
11908         * java/awt/Container.java (LightweightDispatcher): Reimplement.
11909         * javax/swing/basic/BasicGraphicsUtils.java 
11910         (getPreferredButtonSize): Start layout from top-left corner.
11911
11912 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
11913
11914         * java/awt/geom/AffineTransform.java: 
11915         Corrected comments on the field definitions for
11916         m11 and m10.
11917         (shear): Fixed few errors that caused shear
11918         transformation to be performed incorrectly.
11919         (createInverse): Fixed to return correct
11920         inverse of the given matrix.
11921
11922 2004-02-03  Tom Tromey  <tromey@redhat.com>
11923
11924         * java/lang/natPosixProcess.cc (startProcess): Handle case where
11925         PATH or LD_LIBRARY_PATH is not set in parent environment.
11926
11927 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
11928
11929         * gnu/java/awt/peer/gtk/GtkListPeer.java,
11930         java/awt/BorderLayout.java, java/awt/CardLayout.java,
11931         java/awt/CheckboxGroup.java, java/awt/Choice.java,
11932         java/awt/Component.java, java/awt/Container.java,
11933         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
11934         java/awt/LayoutManager2.java, java/awt/List.java,
11935         java/awt/Menu.java, java/awt/MenuBar.java,
11936         java/awt/MenuItem.java, java/awt/Polygon.java,
11937         java/awt/Rectangle.java, java/awt/ScrollPane.java,
11938         java/awt/Scrollbar.java, java/awt/TextArea.java,
11939         java/awt/TextField.java,
11940         java/awt/image/renderable/RenderContext.java,
11941         javax/swing/JApplet.java: Fix handling of alias methods, where a
11942         method has been deprecated in favour of a new one with the same
11943         funtion but a different name.  Put the method implementation in
11944         the deprecated method and have the new method call the
11945         deprecated one.  Make all other code call the new method.
11946
11947 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
11948
11949         * gnu/java/nio/DatagramChannelImpl.java
11950         (inChannelOperation): New field.
11951         (isInChannelOperation): New accessor.
11952         (setInChannelOperation): New modifier.
11953         (receive): Use capacity() - position() of destination
11954         buffer instead of remaining(). Set and reset our "in
11955         channel operation indicator" before and after delegating
11956         the receive to our datagram socket. Removed testing code.
11957         Update destination buffer's current position if it is
11958         backed by a byte array (hasArray() is true).
11959         (send): Set and reset our "in channel operation indicator"
11960         before and after delegating the send to our datagram socket.
11961         Removed testing code. Update source buffer's current position
11962         if it is backed by a byte array (hasArray() is true).
11963         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
11964         Use capacity() - position() of destination buffer instead
11965         of remaining().
11966         * java/net/DatagramSocket.java (receive): Don't throw an
11967         IllegalBlockingModeException if we have a non-blocking
11968         channel which initiated this operation.
11969         (send): Likewise.
11970
11971 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
11972
11973         * configure.in: Add pkgconfig check for glib and gthread.
11974         * configure: Regenerate.
11975
11976 2004-02-01  Michael Koch  <konqueror@gmx.de>
11977
11978         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
11979         arguments.
11980         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
11981         * verify.cc (debug_print): Mark 'fmt' unused.
11982
11983 2004-01-30  Michael Koch  <konqueror@gmx.de>
11984
11985         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
11986         * configure: Regenerated.
11987         * glib-2.0.m4: Removed.
11988         * gtk-2.0.m4: Removed.
11989         * libart.m4: Removed.
11990         * pkg.m4: New file.
11991
11992 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
11993
11994         * gnu/java/net/PlainSocketImpl.java 
11995         (inChannelOperation): New field.
11996         (isInChannelOperation): New accessor.
11997         (setInChannelOperation): New modifier.
11998         * gnu/java/nio/ServerSocketChannelImpl.java
11999         (accept): Set and reset our server socket's PlainSocketImpl's
12000         "in channel operation" indicator before and after delegating
12001         the accept to our server socket.
12002         * gnu/java/nio/SocketChannelImpl.java
12003         (connect): Set and reset our socket's PlainSocketImpl's "in channel
12004         operation" indicator before and after delegating the operation to
12005         our socket.
12006         (read): Likewise.
12007         (write): Likewise.
12008         * java/net/ServerSocket.java (implAccept): Don't throw an
12009         IllegalBlockingModeException if we have a non-blocking
12010         channel which initiated this accept operation.
12011         * java/net/Socket.java (connect): Don't throw an
12012         IllegalBlockingModeException if we have a non-blocking
12013         channel which initiated this connect operation.
12014         * java/nio/channels/spi/AbstractSelectableChannel.java
12015         (configureBlocking): Only call implConfigureBlocking() if
12016         the desired blocking mode is different from our current one.
12017
12018 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
12019
12020         * java/io/BufferedReader.java (sbuf): New field.
12021         (readLine): Use String.valueOf instead of new String() as per
12022         Per Bothner's suggestion. Use instance sbuf field instead of a
12023         local StringBuffer instance.
12024         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
12025         caller's buffer to refill().
12026         (read(void)): Pass our internal work buffer to refill if our
12027         input queue is empty.
12028         (refill): Changed return type to int. Use the specified buffer
12029         instead of our work buffer as per Bryce McKinlay's suggestion.
12030         Return the number of characters read or -1 for EOF.
12031
12032 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
12033
12034         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
12035
12036 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
12037
12038         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
12039         * Makefile.in: Re-generated.
12040         * gnu/awt/xlib/XFontPeer.java: New file.
12041         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
12042         (setClip): Commented out debug printout.
12043         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
12044         (getFontPeer): Return XFontPeer.
12045         (getLocalGraphicsEnvironment): New method.
12046         (getClasspathFontPeer): New method.
12047         (createFont): New method.
12048
12049 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
12050
12051         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
12052         return null. 
12053
12054 2004-01-29  Kim Ho  <kho@redhat.com>
12055
12056         * gnu/java/awt/peer/gtk/GtkFramePeer.java
12057         (gtkLayoutSetVisible): New method
12058         (setMenuBar): Hide layout before setting MenuBar
12059         and reshow it after.
12060         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12061         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
12062
12063 2004-01-28  Michael Koch  <konqueror@gmx.de>
12064
12065         * gnu/java/lang/ClassHelper.java
12066         (getPackagePortion): Removed.
12067
12068 2004-01-28  Michael Koch  <konqueror@gmx.de>
12069
12070         * javax/swing/JComponent.java
12071         (listenerList): Initalize globally.
12072         (ancestor_list): Removed.
12073         (veto_list): Removed.
12074         (change_list): Removed.
12075         (get_veto_list): Removed.
12076         (get_change_list): Removed.
12077         (get_ancestor_list): Removed.
12078         (removeAncestorListener): Reimplemented.
12079         (removePropertyChangeListener): Likewise.
12080         (removeVetoableChangeListener): Likewise.
12081         (addAncestorListener): Likewise.
12082         (addPropertyChangeListener): Likewise.
12083         (addVetoableChangeListener): Likewise.
12084         (getListeners): New method.
12085         (getAncestorListeners): Likewise.
12086         (getVetoableChangeListeners): Likewise.
12087         (fireVetoableChange): Throws PropertyVetoException.
12088         * javax/swing/JEditorPane.java
12089         (JEditorPane): Throws IOException.
12090
12091 2004-01-28  David Jee  <djee@redhat.com>
12092
12093         * gnu/java/awt/peer/gtk/GtkFramePeer.java
12094         (create): Set the default foreground color to
12095         java.awt.SystemColor.windowText.
12096
12097 2004-01-27  Michael Koch  <konqueror@gmx.de>
12098
12099         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
12100         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
12101         Reindented to merge with classpath.
12102
12103 2004-01-27  David Jee  <djee@redhat.com>
12104
12105         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12106         (addExposeFilter): Handle GtkFramePeer separately.
12107         (removeExposeFilter): Likewise.
12108
12109 2004-01-27  Michael Koch  <konqueror@gmx.de>
12110
12111         * gnu/java/net/protocol/http/Connection.java
12112         (getOutputStream): Fixed typo.
12113
12114 2004-01-27  Michael Koch  <konqueror@gmx.de>
12115
12116         * java/lang/Class.java
12117         (getConstructor): Removed SecurityException from throws clause.
12118         (_getConstructors): Likewise.
12119         (getConstructors): Likewise.
12120         (getDeclaredConstructor): Likewise.
12121         (getDeclaredClasses): Likewise.
12122         (getDeclaredConstructors): Likewise.
12123         (getDeclaredField): Likewise.
12124         (getDeclaredMethod): Likewise.
12125         (getDeclaredMethods): Likewise.
12126         (getField): Likewise.
12127         (getMethod): Likewise.
12128         (getMethods): Likewise.
12129
12130 2004-01-27  Kim Ho  <kho@redhat.com>
12131
12132         * gnu/java/awt/peer/gtk/GtkFramePeer.java
12133         (removeMenuBarPeer): Remove MenuBarPeer argument.
12134         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
12135         (dispose): Call native method.
12136         * java/awt/Frame.java (setMenuBar): Create and remove
12137         MenuBar peers only if the Frame has a peer.
12138         (addNotify): Create the MenuBar peer if one exists.
12139         (removeNotify): Remove MenuBar peer if one exists.
12140         * java/awt/Menu.java: Fix imports.
12141         (addNotify): Don't use full class name.
12142         (removeNotify): Call removeNotify on all children.
12143         * java/awt/MenuBar.java (removeNotify): Call
12144         removeNotify on all children.
12145         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12146         (removeMenuBarPeer): Remove MenuBarPeer argument.
12147         Iterate through children to find the Frame's MenuBar.
12148         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
12149         New file.
12150         (dispose): Remove references to the MenuComponent.
12151
12152 2004-01-27  Michael Koch  <konqueror@gmx.de>
12153
12154         * javax/swing/AbstractCellEditor.java: Reformated.
12155         * javax/swing/DefaultListSelectionModel.java
12156         (listenerList): Made protected.
12157         (addListSelectionListener): Javadoc added.
12158         (removeListSelectionListener): Likewise.
12159         (getListeners): Likewise.
12160         (getListSelectionListeners): Likewise.
12161         * javax/swing/JComboBox.java: Merged copyright year.
12162         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
12163
12164 2004-01-26  Andrew Haley  <aph@redhat.com>
12165
12166         * javax/swing/table/JTableHeader.java: Extend JComponent
12167
12168 2004-01-26  Kim Ho  <kho@redhat.com>
12169
12170         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
12171         Fix spacing.
12172
12173 2004-01-26  Kim Ho  <kho@redhat.com>
12174
12175         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
12176         method.
12177         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
12178         height and let the Layout Managers readjust anything that
12179         needs to move.
12180         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12181         (moveLayout): New method. Shift everything in the Gtk
12182         layout in the Y direction by an offset.
12183
12184 2004-01-26  David Jee  <djee@redhat.com>
12185
12186         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
12187         (handleEvent): Implemented. Handles PaintEvents.
12188         (paint): Implemented. Use GTK native methods to queue updates
12189         for this heavyweight peer.
12190         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
12191         (handleEvent): Removed.
12192         * java/awt/Component.java
12193         (paint): Implemented. Explictly paint the heavyweight peer.
12194         (update): Clear the background for heavyweight components.
12195         (paintAll): No need to call peer.paint() anymore.
12196         (processEvent): Don't process PaintEvents here. It's now done in
12197         the peer's handleEvent().
12198         (processPaintEvent): Removed.
12199         * java/awt/Container.java
12200         (paint): No need to call super.paint(). Visit heavyweight
12201         children as well.
12202         (update): Don't clear the background here.  It's done in
12203         Component.update().
12204         (visitChildren): Added check to not recurse into Containers.
12205         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12206         (filter_expose_event_handler): New method.  Filter unwanted
12207         expose events while painting heavyweight peers.
12208         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
12209         New method. Connect filter and block pre_event_handler.
12210         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
12211         New method. Disconnect filter and unblock pre_event_handler.
12212         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
12213         New method. Invalidate and update given area.
12214         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12215         (pre_event_handler): Add checks for unwanted expose events.
12216
12217 2004-01-26  David Jee  <djee@redhat.com>
12218
12219         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12220         (find_bg_color_widget): For GtkButton, return its child.
12221
12222 2004-01-26  Kim Ho  <kho@redhat.com>
12223
12224         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
12225         private.
12226         (setMenuBar): Grab MenuBar height and change insets.
12227         (setBounds): Account for MenuBar height.
12228         (postInsetsChangedEvent): Ditto.
12229         (postSizeAllocateEvent): Remove.
12230         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12231         (menubar_resize_cb): Remove
12232         (setMenuBarPeer): Remove callback.
12233         (getMenuBarHeight): Use size requisition instead of
12234         allocation.
12235
12236 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
12237
12238         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
12239         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
12240         when peer is null.
12241         (setColumns): Remove FIXME -- peer will retrieve number of
12242         columns by calling getColumns.
12243         (setRows): Likewise for number of rows.
12244         (next_text_number): New field.
12245         (paramString): Fix param string.
12246         (generateName): New method.
12247         (getUniqueLong): New method.
12248
12249 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
12250
12251         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
12252         image observer of image loading status.
12253         (getImage (String)): Start image production.
12254         (getImage (URL)): Likewise.
12255
12256 2004-01-25  Michael Koch  <konqueror@gmx.de>
12257
12258         * java/lang/Class.java: Imports reworked, reformated.
12259         (Class): Javadoc added.
12260         (forName): Likewise.
12261         (getClasses): Likewise.
12262         (getClassLoader): Likewise.
12263         (getComponentType): Likewise.
12264         (getConstructor): Likewise.
12265         (getConstructors): Likewise.
12266         (getDeclaredConstructor): Likewise.
12267         (getDeclaredClasses): Likewise.
12268         (getDeclaredConstructors): Likewise.
12269         (getDeclaredField): Likewise.
12270         (getDeclaredMethod): Likewise.
12271         (getDeclaredMethods): Likewise.
12272         (getDeclaringClass): Likewise.
12273         (getField): Likewise.
12274         (getInterfaces): Likewise.
12275         (getMethod): Likewise.
12276         (getMethods): Likewise.
12277         (getModifiers): Likewise.
12278         (getName): Likewise.
12279         (getResource): Likewise.
12280         (getResourceAsStream): Likewise.
12281         (getSigners): Likewise.
12282         (setSigners): Likewise.
12283         (getSuperclass): Likewise.
12284         (isArray): Likewise.
12285         (isAssignableFrom): Likewise.
12286         (isInstance): Likewise.
12287         (isInterface): Likewise.
12288         (isPrimitive): Likewise.
12289         (newInstance): Likewise.
12290         (getProtectionDomain): Likewise.
12291         (toString): Likewise.
12292         (Class): Moved.
12293         (initializeClass): Likewise.
12294         (finalize): Likewise.
12295
12296 2004-01-24  Michael Koch  <konqueror@gmx.de>
12297
12298         * gnu/java/net/protocol/jar/Connection.java
12299         (hdrHash): Removed.
12300         (hdrVec): Removed.
12301         (gotHeaders): Removed.
12302         (getHeaderField): Removed.
12303         (getHeaderFields): Removed.
12304         (getHeaderFieldKey): Removed.
12305         (getKey): Removed.
12306         (getField): Removed.
12307         (getHeaders): Removed.
12308
12309 2004-01-24  Michael Koch  <konqueror@gmx.de>
12310
12311         * Makefile.am: Added library version to gtk peer lib.
12312         * Makefile.in: Regenerated.
12313
12314 2004-01-24  Michael Koch  <konqueror@gmx.de>
12315
12316         * java/util/zip/InflaterInputStream.java: Merged class documentation
12317         with classpath.
12318
12319 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
12320
12321         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
12322         header.  For __powerpc64__ provide the default-signal.h definitions
12323         for now.
12324         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
12325         instead of the dummy definitions.
12326         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
12327         (powerpc64*-*): Remove with_libffi_default.
12328         Only add -mminimal-toc for 64-bit compilations.
12329         * configure.in: Use powerpc-signal.h on powerpc64 as well.
12330         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
12331         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
12332         * configure: Rebuilt.
12333
12334 2004-01-23  Michael Koch  <konqueror@gmx.de>
12335
12336         * gnu/java/nio/FileLockImpl.java: Compile fixes.
12337
12338 2004-01-23  Michael Koch  <konqueror@gmx.de>
12339
12340         * java/lang/VMClassLoader.java: Reworked imports.
12341         
12342 2004-01-23  Michael Koch  <konqueror@gmx.de>
12343
12344         * javax/swing/AbstractAction.java: Reformated.
12345
12346 2004-01-23  Michael Koch  <konqueror@gmx.de>
12347
12348         * java/text/CollationElementIterator.java:
12349         (setText): New method.
12350
12351 2004-01-23  Michael Koch  <konqueror@gmx.de>
12352
12353         * gnu/java/nio/FileLockImpl.java:
12354         Fixed filename in copyright.
12355         (released): Removed.
12356         (finalize): New method.
12357         * gnu/java/nio/natFileLockImpl.cc
12358         (releaseImpl): Implemented.
12359         * java/nio/channels/FileChannelImpl.java:
12360         Reworked imports.
12361         (lock): Implemented.
12362         (lockImpl): New method.
12363         (tryLock): Implemented.
12364         (tryLockImpl): New method.
12365         * java/nio/channels/natFileChannelImpl.cc
12366         (lockImpl): New method.
12367         (tryLockImpl): New method.
12368
12369 2004-01-23  Michael Koch  <konqueror@gmx.de>
12370
12371         * java/io/FileDescriptor.java
12372         (lock): New method.
12373         (tryLock): New method.
12374         (unlock): New method.
12375         * java/io/natFileDescriptorEcos.cc
12376         (lock): New method.
12377         (tryLock): New method.
12378         (unlock): New method.
12379         * java/io/natFileDescriptorPosix.cc
12380         (lock): New method.
12381         (tryLock): New method.
12382         (unlock): New method.
12383         * java/io/natFileDescriptorWin32.cc
12384         (lock): New method.
12385         (tryLock): New method.
12386         (unlock): New method.
12387
12388 2004-01-23  Michael Koch  <konqueror@gmx.de>
12389
12390         * java/io/FileDescriptor.java
12391         (sync): Moved around, added javadoc.
12392         (valid): Likewise.
12393         (open): Likewise.
12394         (write): Likewise.
12395         (close): Likewise.
12396         (setLength): Likewise.
12397         (seek): Likewise.
12398         (getLength): Likewise.
12399         (getFilePointer): Likewise.
12400         (read): Likewise.
12401         (available): Likewise.
12402         (finalize): Likewise.
12403
12404 2004-01-23  Michael Koch  <konqueror@gmx.de>
12405
12406         * javax/swing/AbstractAction.java: Reformated.
12407         (getPropertyChangeListeners): New method.
12408         * javax/swing/AbstractCellEditor.java: Reformated.
12409         (getCellEditorListeners): New method.
12410         * javax/swing/DefaultListSelectionModel.java
12411         (listenerList): New field.
12412         (listeners): Removed.
12413         (get_listeners): Removed.
12414         (addListSelectionListener): Rewritten.
12415         (removeListSelectionListener): Rewritten.
12416         (getListSelectionListeners): New method.
12417         (getListeners): New method.
12418         * javax/swing/JComboBox.java: Imports reworked.
12419         (addActionListener): Implemented.
12420         (removeActionListener): Implemented.
12421         (addItemListener): Implemented.
12422         (removeItemListener): Implemented.
12423         (addPopupMenuListener): Implemented.
12424         (removePopupMenuListener): Implemented.
12425         (getActionListeners): New method.
12426         (getItemListeners): New method.
12427         (getPopupMenuListeners): New method.
12428
12429 2004-01-23  Michael Koch  <konqueror@gmx.de>
12430
12431         * gnu/java/net/protocol/http/Connection.java
12432         (connect): Don't initialize bufferedOutputStream if not needed.
12433         (sendRequest): Set property for content length if content is present.
12434         Write content only if present.
12435         (getOutputStream): Check if already connected, dont connect,
12436         initalize bufferedOutputStream if needed.
12437
12438 2004-01-23  Michael Koch  <konqueror@gmx.de>
12439
12440         * java/io/FileDescriptor.java
12441         (in, out, err): Added javadoc.
12442         (static): Merged loading code.
12443         (fd, position): Moved around.
12444
12445 2004-01-23  Michael Koch  <konqueror@gmx.de>
12446
12447         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
12448         New file.
12449
12450 2004-01-23  Michael Koch  <konqueror@gmx.de>
12451
12452         * java/lang/Class.java,
12453         java/lang/Object.java,
12454         java/lang/Thread.java: Merged copyright with classpath.
12455
12456 2004-01-23  Michael Koch  <konqueror@gmx.de>
12457
12458         * java/io/FileDescriptor.java: Merged copyright with classpath to
12459         start merging this class.
12460
12461 2004-01-22  Tom Tromey  <tromey@redhat.com>
12462
12463         PR libgcj/13107:
12464         * testsuite/libjava.lang/pr13107_2.xfail: New file.
12465         * testsuite/libjava.lang/pr13107_3.xfail: New file.
12466         * testsuite/libjava.lang/pr13107_3.java: New file.
12467         * testsuite/libjava.lang/pr13107_3.out: New file.
12468         * testsuite/libjava.lang/pr13107_2.java: New file.
12469         * testsuite/libjava.lang/pr13107_2.out: New file.
12470         * testsuite/libjava.lang/pr13107.java: New file.
12471         * testsuite/libjava.lang/pr13107.out: New file.
12472         * verify.cc (jsr_ptrs): Removed.
12473         (entry_points): Likewise.
12474         (struct subr_info): Likewise.
12475         (struct subr_entry_info): Likewise.
12476         (type_val::unused_by_subroutine_type): Likewise.
12477         (type::merge): Don't handle unused_by_subroutine_type.
12478         (type::print): Likewise.
12479         (state::flags): Removed.
12480         (state::subroutine): Likewise.
12481         (state::seen_subrs): Likewise.
12482         (state::NO_STACK): Likewise.
12483         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
12484         (state): Updated all methods.
12485         (state::clean_subrs): Removed.
12486         (state::state): Removed `ret_semantics' flag.
12487         (state::copy): Likewise.
12488         (state::add_subr): Removed.
12489         (state::enter_subroutine): Likewise.
12490         (type::set_return_address): New method.
12491         (handle_jsr_insn): Set return address on the type.  Always
12492         invalidate PC after call.
12493         (check_nonrecursive_call): Removed.
12494         (~_Jv_BytecodeVerifier): Updated.
12495         (branch_prepass): Removed special handling of jsr.
12496         (note_branch_target): Likewise.
12497         (get_subroutine): Removed.
12498         (state::merge): Don't merge subroutines and don't handle
12499         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
12500         (state::note_variable): Removed.
12501         (state::is_unmerged_ret_state): Likewise.
12502         (state::print): Updated.
12503         (set_variable): Likewise.
12504         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
12505         and jsr_semantics arguments.  Updated for new reverification
12506         list.
12507         (pop_jump): Rewrote.
12508         (construct_primitive_array_type): Updated.
12509         (state::next): Removed.
12510         (INVALID_STATE): New define.
12511         (state::INVALID): Removed.
12512         (state::NO_NEXT): New value.
12513         (state::pc, state::next): New fields.
12514         (state::get_pc): New method.
12515         (next_verify_pc): Removed.
12516         (next_verify_state): New field.
12517         (verify_instructions_0): Always check for falling off end.
12518         (linked): New type.
12519         (linked_utf8): Removed.
12520         (states): Changed type.
12521         (type::state_mergeable_p): New method.
12522         (state::state_mergeable_p): Likewise.
12523         (handle_ret_insn): Removed most code.
12524         (state::reverify): New method.
12525         (add_new_state): Likewise.
12526         (state::set_pc): Likewise.
12527
12528 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
12529
12530         PR java/13733
12531         * testsuite/libjava.compile/PR13733.java: New file.
12532         * testsuite/libjava.compile/PR13733.xfail: New file.
12533
12534 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
12535             Michael Koch  <konqueror@gmx.de>
12536
12537         * javax/swing/table/DefaultTableCellRenderer.java
12538         (DefaultTableCellRenderer): Added javadoc for the class and for
12539         the constructor, Border instance, create an EmptyBorder.
12540         (UIResource): Removed the comment at the end of the class
12541         (setForeground): New method.
12542         (setBackground): New method.
12543         (updateUI): New method.
12544         (getTableCellRendererComponent): Rewritten with the help of
12545         dvholten and Stephane Meslin-Weber.
12546         (validate): New method.
12547         (repaint): New method.
12548         (firePropertyChange): New method.
12549         (setValue): New method.
12550
12551 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
12552
12553         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12554         (connectJObject): Replace printf calls with g_assert statements.
12555         Move property-notify-event signal connection to ...
12556         (connectSignals): Connect property-notify-event signal.  Iterate
12557         through the vbox's children to find layout.
12558
12559 2004-01-22  Graydon Hoare  <graydon@redhat.com>
12560         
12561         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
12562         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
12563         Predicate static initialization on GtkToolkit.useGraphics2D().
12564         * java/awt/Component.java (processPaintEvent): Consume event.
12565         * javax/swing/AbstractButton.java: Reimplement, document.
12566         * javax/swing/DefaultButtonModel.java: Reimplement, document.
12567         * javax/swing/JComponent.java (paint): Use double buffer.
12568         (listenerList): Enable member.
12569         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
12570         * javax/swing/JToggleButton.java 
12571         (JToggleButton): Modify model constructor.
12572         * javax/swing/SwingUtilities.java 
12573         (layoutCompoundLabel): Adjust arithmetic.
12574         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
12575         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
12576         (getPreferredButtonSize): Include margins in calculation.
12577         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12578         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
12579         Receive up events from subordinate layout component.
12580
12581 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
12582
12583         * java/awt/Component.java (show): Set visible to true before
12584         showing the peer.
12585
12586 2004-01-21  Kim Ho  <kho@redhat.com>
12587
12588         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
12589         Fix comments.
12590         (removeMenuBarPeer): Make package private.
12591         (setMenuBarPeer): Make package private.
12592         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12593         (menubar_resize_cb): Mark attributes unused.
12594         (getMenuBarHeight): ditto.
12595
12596 2004-01-21  David Jee  <djee@redhat.com>
12597
12598         * java/awt/Container.java
12599         (LightweightDispatcher.handleEvent): Add an extra check to avoid
12600         dispatching MOUSE_ENTERED event twice. Translate the point for
12601         the mouse event target before dispatching the event.
12602
12603 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
12604
12605         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
12606         lib_org_w3c_dom_la_LDFLAGS): New.
12607         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
12608         * Makefile.in: Rebuilt.
12609
12610 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
12611
12612         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
12613         Calculate proper offsets for heavyweight components packed in
12614         lightweight containers.
12615
12616         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
12617         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
12618         (native create): Add width parameter.
12619         (create): Calculate text entry width based on current font's
12620         metrics and number of columns.  Set TextField's font if not
12621         already set.  Call native create.
12622         (gtkEntryGetBorderWidth): New native method.
12623         (gtkEntryGetSize): Remove method.
12624         (getMinimumSize): Call minimumSize.
12625         (getPreferredSize): Call preferredSize.
12626         (minimumSize): Calculate minimum size based on backing
12627         GtkEntry's borders, font metrics and number of columns.
12628         (preferredSize): Likewise for preferred size.
12629         (get_border_width): New static function.
12630
12631         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
12632         Override GtkWindowPeer's setResizable method to account for menu
12633         bar height when setting the frame's size.
12634
12635 2004-01-19  Matthias Klose  <doko@debian.org>
12636
12637         * libtool-version: Increased `current' to 6.
12638
12639 2004-01-19  Kim Ho  <kho@redhat.com>
12640
12641         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12642         (connectJObject): Iterate through the vbox's children to find layout.
12643
12644 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
12645
12646         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
12647         isDispatchThread method to replace wrong test condition.
12648
12649 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
12650
12651         * java/awt/EventQueue.java (pop): Prevent racing condition to add
12652         events to the queue out of order by acquiring locks in the proper
12653         order and not by releasing one before acquiring the other.
12654
12655 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
12656
12657         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
12658         visible so that dialog can be reused.
12659
12660 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
12661
12662         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
12663         events may be handled by any queue in the stack.
12664
12665 2004-01-19  Kim Ho  <kho@redhat.com>
12666
12667         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
12668         MenuBarPeer parameter.
12669         (removeMenuBarPeer): New native method.
12670         (setMenuBar): Call remove if menu bar is null. Adjust insets
12671         appropriately.
12672         (postSizeAllocateEvent): New method. Called when menu bar size is
12673         allocated. Adjust insets and redo layout.
12674         (GtkFramePeer): Set menu bar during frame creation.
12675         (postConfigureEvent): Adjust position and size to accomodate
12676         menu bar.
12677         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
12678         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
12679         (addNotify): Create the peer if it doesn't exist and call addNotify
12680         for the menu's items.
12681         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
12682         * java/awt/MenuItem.java (addNotify): Create the peer if it
12683         doesn't exist.
12684         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12685         (removeMenuBarPeer): New method. Remove menu bar on the current
12686         frame.
12687         (setMenuBarPeer): Add the menu bar to the current frame and the
12688         callback for size-allocate events on the menu bar.
12689         (getMenuBarHeight): Add menu bar parameter.
12690         (menubar_resize_cb): New callback method for postSizeAllocate events.
12691
12692         Also: Fix indentation on last ChangeLog entry.
12693
12694 2004-01-16  Kim Ho  <kho@redhat.com>
12695
12696         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
12697         (gtkWidgetGetDimensions): Remove.
12698         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12699         (gtkWidgetGetDimensions): Remove.
12700
12701 2004-01-16  Tom Tromey  <tromey@redhat.com>
12702
12703         * java/awt/Container.java: Typo and indentation fixes.
12704
12705         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
12706         * java/lang/natVMClassLoader.cc: ...here.  New file.
12707         * Makefile.in: Rebuilt.
12708         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
12709
12710 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
12711
12712         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
12713         Discard GDK_ENTER_NOTIFY related to ungrabs.
12714
12715 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
12716
12717         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
12718         is called for an intermediate queue.
12719
12720 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
12721
12722         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12723         (window_property_changed_cb): Set id_set.
12724
12725 2004-01-16  Kim Ho  <kho@redhat.com>
12726
12727         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
12728         it is a FileDialog and has dimensions of 0 by 0, then the initial
12729         size is set to size request plus insets.
12730         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
12731         (gtkWidgetGetDimensions): Override method.
12732         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12733         (gtkWidgetGetDimensions): Override method. Returns size request plus
12734         insets.
12735
12736 2004-01-16  Andrew Haley  <aph@redhat.com>
12737
12738         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
12739         * sysdep/i386/locks.h: Likewise.
12740
12741 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
12742
12743         * java/awt/EventDispatchThread.java (run): Stop running when
12744         interrupted.
12745         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
12746         Reset the queue after transferring its contents.
12747         (push): Start a new dispatch thread if none is running.
12748
12749 2004-01-16  Olga Rodimina <rodimina@redhat.com>
12750
12751         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
12752         (doPolygon): set fill rule of polygon to 
12753         WIND_EVEN_ODD by default.
12754
12755 2004-01-15  Olga Rodimina <rodimina@redhat.com>
12756
12757         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
12758         Implemented rendering hints related methods.
12759         (getDefaultHints): New helper method. Returns
12760         default rendering hints.
12761         (walkPath): changed to normalize path if
12762         the KEY_STROKE_CONTROL key is in "normalize" mode.
12763         (draw3DRect): changed coordinates of rectangle by +0.5
12764         if in "normalize" mode.
12765
12766 2004-01-15  Tom Tromey  <tromey@redhat.com>
12767
12768         * Makefile.in: Rebuilt.
12769         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
12770         (%.lo: %.java) Filter out StackTrace.lo.
12771
12772 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
12773
12774         * configure.in: Add in AC_PREREQ(2.13)
12775         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
12776         FIXME comment.
12777
12778 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
12779             Tom Tromey  <tromey@redhat.com>
12780
12781         PR libgcj/12001:
12782         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
12783         array to superclass.
12784         (init): Changed interface; add URLs here.
12785         (initialize): New static method.
12786         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
12787         (_Jv_RunMain): ... not here.
12788
12789 2004-01-14  Michael Koch  <konqueror@gmx.de>
12790
12791         * java/text/MessageFormat.java:
12792         Added descriptions to exceptions.
12793         This fixes PR libgcj/2429.
12794
12795 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
12796
12797         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
12798         (push): Make sure push is performed at the top of the thread stack.
12799
12800 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
12801
12802         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
12803         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
12804         (native create): Add width and height parameters.  Set text
12805         view's size request according to new parameters.
12806         (create): Calculate text view size based on current font's
12807         metrics and number of rows and columns.  Set TextArea's font if
12808         not already set.  Call native create.
12809         (getMinimumSize): Call minimumSize.
12810         (getPreferredSize): Call preferredSize.
12811         (getHScrollbarHeight): New method.
12812         (getVScrollbarWidth): New method.
12813         (minimumSize): Calculate minimum size based on scrollbar
12814         visibility, scrollbar sizes, font metrics and number of rows and
12815         columns.
12816         (preferredSize): Likewise for preferred size.
12817         (gtkTextGetSize): Remove method.
12818
12819 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
12820
12821         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
12822         (initializeInsets): Remove method.
12823         (GtkComponentPeer): Initialize insets field.  Remove call to
12824         initializeInsets.
12825         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
12826         Remove method.
12827         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
12828         Remove method.
12829         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
12830         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
12831         (latestInsets): Remove field.
12832         (native create): Add insets parameter.  Call
12833         window_get_frame_extents.  Set the window's default size and
12834         size request based on its frame extents.
12835         (create): Initialize insets.
12836         (postInsetsChangedEvent): New method.
12837         (postConfigureEvent): Remove parameters top, left, bottom,
12838         right.  Remove insets-related logic.
12839         (connectJObject): Handle property-notify-event.
12840         (window_get_frame_extents, request_frame_extents,
12841         property_notify_predicate, window_property_changed_cb): New
12842         static functions.
12843         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12844         (pre_event_handler): Remove insets-related logic for configure
12845         events.
12846         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
12847         Update postConfigureEvent signature.
12848
12849 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
12850  
12851         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
12852         to handle Window "Closing" events.
12853  
12854 2004-01-13  David Jee  <djee@redhat.com>
12855
12856         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
12857         (setBackground): New method. Children with no explicitly-set
12858         background will be repainted with the parent container's new
12859         background color.
12860
12861 2004-01-13  David Jee  <djee@redhat.com>
12862
12863         * Makefile.am: Add BitwiseXORComposite.java.
12864         * Makefile.in: Regenerated.
12865         * gcj/Makefile.in: Regenerated.
12866         * include/Makefile.in: Regenerated.
12867         * testsuite/Makefile.in: Regenerated.
12868
12869 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
12870
12871         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
12872         not show modal dialogs twice and so that it allows showing a modal
12873         dialog from another modal dialog.
12874
12875 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
12876
12877         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
12878         and run secondary dispatch thread to process event queue while this
12879         thread is blocked.
12880
12881 2004-01-12  Graydon Hoare  <graydon@redhat.com>
12882
12883         * gnu/java/awt/gtk/GdkGraphics2D.java
12884         (static): Check GtkToolkit before initializing static state.
12885         (Graphics2D): Don't construct transform with 0.5 unit offset.
12886
12887 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
12888
12889         * gnu/java/awt/BitwiseXORComposite.java: Add.
12890         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
12891         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
12892         (BitwiseXORComposite): Remove inner class.
12893
12894 2004-01-11  Michael Koch  <konqueror@gmx.de>
12895
12896         * gnu/java/lang/reflect/TypeSignature.java
12897         (getEncodingOfClass): Documentation fixed.
12898         (getClassForEncoding): Give class loader to Class.forName().
12899         Documentation fixed.
12900
12901 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
12902
12903         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
12904
12905 2004-01-11  Michael Koch  <konqueror@gmx.de>
12906
12907         * javax/swing/undo/StateEditable.java
12908         (RCSID): Removed redundant modifiers.
12909
12910 2004-01-10  Michael Koch  <konqueror@gmx.de>
12911
12912         * javax/print/attribute/EnumSyntax.java
12913         (getStringTable): Made protected.
12914         (getEnumValueTable): Likewise.
12915         * javax/print/attribute/standard/JobKOctetsProcessed.java
12916         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
12917         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
12918         (JobMediaSheetsCompleted): Made class final.
12919         * javax/print/attribute/standard/OutputDeviceAssigned.java
12920         (getName): Fixed typo.
12921         * javax/print/attribute/standard/RequestingUserName.java
12922         (serialVersionUID): Fixed value.
12923
12924 2004-01-10  Michael Koch  <konqueror@gmx.de>
12925
12926         * javax/swing/plaf/basic/BasicButtonUI.java,
12927         javax/swing/plaf/basic/BasicCheckBoxUI.java,
12928         javax/swing/plaf/basic/BasicListUI.java,
12929         javax/swing/plaf/basic/BasicOptionPaneUI.java,
12930         javax/swing/plaf/basic/BasicPanelUI.java,
12931         javax/swing/plaf/basic/BasicRadioButtonUI.java,
12932         javax/swing/plaf/basic/BasicScrollPaneUI.java,
12933         javax/swing/plaf/basic/BasicToggleButtonUI.java,
12934         javax/swing/plaf/basic/BasicViewportUI.java:
12935         Fixed import statements.
12936
12937 2004-01-10  Michael Koch  <konqueror@gmx.de>
12938
12939         * gnu/java/awt/image/ImageDecoder.java
12940         (produce): Made public.
12941         * gnu/java/awt/peer/GLightweightPeer.java,
12942         gnu/java/awt/peer/gtk/GtkToolkit.java:
12943         Reformated.
12944
12945 2004-01-10  Michael Koch  <konqueror@gmx.de>
12946
12947         * javax/swing/JRadioButtonMenuItem.java,
12948         javax/swing/JSeparator.java,
12949         javax/swing/JSplitPane.java,
12950         javax/swing/JTextPane.java,
12951         javax/swing/JToolBar.java,
12952         javax/swing/ListCellRenderer.java,
12953         javax/swing/ListModel.java,
12954         javax/swing/MenuElement.java,
12955         javax/swing/OverlayLayout.java,
12956         javax/swing/ProgressMonitor.java,
12957         javax/swing/ProgressMonitorInputStream.java,
12958         javax/swing/Renderer.java,
12959         javax/swing/RootPaneContainer.java,
12960         javax/swing/Scrollable.java,
12961         javax/swing/SingleSelectionModel.java,
12962         javax/swing/ToolTipManager.java,
12963         javax/swing/ViewportLayout.java,
12964         javax/swing/event/DocumentEvent.java,
12965         javax/swing/event/SwingPropertyChangeSupport.java,
12966         javax/swing/event/TreeSelectionEvent.java,
12967         javax/swing/event/UndoableEditEvent.java,
12968         javax/swing/text/AbstractDocument.java,
12969         javax/swing/text/AttributeSet.java,
12970         javax/swing/text/Caret.java,
12971         javax/swing/text/ComponentView.java,
12972         javax/swing/text/DefaultCaret.java,
12973         javax/swing/text/DefaultEditorKit.java,
12974         javax/swing/text/Document.java,
12975         javax/swing/text/EditorKit.java,
12976         javax/swing/text/GapContent.java,
12977         javax/swing/text/Keymap.java,
12978         javax/swing/text/MutableAttributeSet.java,
12979         javax/swing/text/PlainEditorKit.java,
12980         javax/swing/text/Segment.java,
12981         javax/swing/text/Style.java,
12982         javax/swing/text/StyledDocument.java,
12983         javax/swing/text/StyledEditorKit.java,
12984         javax/swing/text/TextAction.java,
12985         javax/swing/text/View.java: Fixed import statements.
12986
12987 2004-01-08  Graydon Hoare  <graydon@redhat.com>
12988
12989         * javax/swing/JLayeredPane.java: Rewrite to accomodate
12990         djee@redhat.com's recent inverse ordering of Container elements.
12991
12992 2004-01-09  Michael Koch  <konqueror@gmx.de>
12993
12994         * gnu/java/lang/ArrayHelper.java
12995         (equalsArray): Removed.
12996
12997 2004-01-09  Andrew Haley  <aph@redhat.com>
12998
12999         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
13000         a Utf8Const field before looking at its class.
13001
13002 2004-01-09  Michael Koch  <konqueror@gmx.de>
13003
13004         * javax/print/attribute/standard/DocumentName.java,
13005         javax/print/attribute/standard/JobHoldUntil.java,
13006         javax/print/attribute/standard/JobMessageFromOperator.java,
13007         javax/print/attribute/standard/JobName.java,
13008         javax/print/attribute/standard/JobOriginatingUserName.java,
13009         javax/print/attribute/standard/OutputDeviceAssigned.java,
13010         javax/print/attribute/standard/PrinterInfo.java,
13011         javax/print/attribute/standard/PrinterLocation.java,
13012         javax/print/attribute/standard/PrinterMakeAndModel.java,
13013         javax/print/attribute/standard/PrinterMessageFromOperator.java,
13014         javax/print/attribute/standard/PrinterName.java,
13015         javax/print/attribute/standard/RequestingUserName.java: New files.
13016         * Makefile.am (javax_source_files): Added new files.
13017         * Makefile.in: Regenerated.
13018
13019 2004-01-09  Michael Koch  <konqueror@gmx.de>
13020
13021         * javax/swing/AbstractAction.java,
13022         javax/swing/AbstractSet.java,
13023         javax/swing/Action.java,
13024         javax/swing/ActionMap.java,
13025         javax/swing/BoundedRangeModel.java,
13026         javax/swing/ButtonModel.java,
13027         javax/swing/CellEditor.java,
13028         javax/swing/CellRendererPane.java,
13029         javax/swing/ComboBoxEditor.java,
13030         javax/swing/DebugGraphics.java,
13031         javax/swing/DefaultCellEditor.java,
13032         javax/swing/DefaultCellRenderer.java,
13033         javax/swing/DefaultComboBoxModel.java,
13034         javax/swing/DefaultDesktopManager.java,
13035         javax/swing/DefaultFocusManager.java,
13036         javax/swing/DefaultListCellRenderer.java,
13037         javax/swing/Icon.java,
13038         javax/swing/JButton.java,
13039         javax/swing/JCheckBoxMenuItem.java,
13040         javax/swing/JDesktopPane.java,
13041         javax/swing/JEditorPane.java,
13042         javax/swing/JMenu.java,
13043         javax/swing/JPanel.java,
13044         javax/swing/JPasswordField.java,
13045         javax/swing/JPopupMenu.java,
13046         javax/swing/JProgressBar.java: Reworked imports.
13047
13048 2004-01-09  Michael Koch  <konqueror@gmx.de>
13049
13050         * java/awt/geom/PathIterator.java
13051         (WIND_EVEN_ODD): Removed redundant modifiers.
13052         (WIND_NON_ZERO): Likewise.
13053         (SEG_MOVETO): Likewise.
13054         (SEG_LINETO): Likewise.
13055         (SEG_QUADTO): Likewise.
13056         (SEG_CUBICTO): Likewise.
13057         (SEG_CLOSE): Likewise.
13058         * java/awt/image/SinglePixelPackedSampleModel.java:
13059         Removed redundant semicolon.
13060         * java/io/ObjectInputStream.java
13061         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
13062         * java/util/logging/Filter.java
13063         (isLoggable): Removed redundant modifier.
13064         * java/util/logging/LogManager.java:
13065         Removed redundant semicolon.
13066         * java/util/logging/XMLFormatter.java
13067         (format): Removed unused variable "key".
13068
13069 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
13070
13071         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
13072         New name for the former setFile native method.
13073         (setFile): New method.
13074         (setDirectory): Implemented.
13075         (connectSignals): New native method.
13076         (setFilenameFilter): Improve comment.
13077         (getGraphics): Comment.
13078         (gtkHideFileDialog): New method.
13079         (gtkDisposeFileDialog): New method.
13080         (gtkSetFilename): New method.
13081         * java/awt/Dialog.java (show): Block on modal dialogs, but only
13082         for FileDialog for now.
13083         (hide): New method.
13084         (dispose): New method.
13085         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
13086         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
13087         deprecated creation functions.  Make dialog modal.  Add it to the
13088         window group.
13089         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
13090         function.
13091         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
13092         Rename to...
13093         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
13094         name.
13095         (window_closed): New function.
13096         (ok_clicked): New function.
13097         (cancel_clicked): New function.
13098
13099 2004-01-08  Michael Koch  <konqueror@gmx.de>
13100
13101         * javax/swing/JLayeredPane.java: Revert changes to standard
13102         boilerplate, reworked imports.
13103
13104 2004-01-07  Tom Tromey  <tromey@redhat.com>
13105
13106         PR libgcj/13439:
13107         * verify.cc (state::merge): Copy changed locals out of subroutine
13108         in NO_STACK case.
13109         (state::FLAG_CHANGED): New const.
13110         (state::FLAG_UNUSED): Likewise.
13111         (state::local_changed): Removed.  Updated all users.
13112         (state::flags): New field.
13113         (state::merge): Added jsr_semantics argument, more logic.
13114         (push_jump_merge): Added jsr_semantics argument.
13115         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
13116         merging through the jsr instruction.
13117
13118 2004-01-07  Tom Tromey  <tromey@redhat.com>
13119
13120         * scripts/MakeDefaultMimeTypes.java: Use \n, not
13121         backslash-newline.
13122
13123 2004-01-07  Graydon Hoare  <graydon@redhat.com>
13124
13125         * java/awt/Container.java (LightweightDispatcher): Implement.
13126         (visitChild): Reuse graphics object.
13127         (dispatchEventImpl): Optionally dispatch to lightweight.
13128         (addNotifyContainerChildren): Build LightweightDispatcher.
13129
13130 2004-01-07  David Jee  <djee@redhat.com>
13131
13132         * java/awt/Container.java
13133         (update): Clear only the clipped region, instead of clearing the
13134         entire Container.
13135         (visitChildren): Visit children in descending order.
13136
13137 2004-01-07  Michael Koch  <konqueror@gmx.de>
13138
13139         * java/lang/reflect/Array.java: Merged documentation with classpath.
13140
13141 2004-01-07  Michael Koch  <konqueror@gmx.de>
13142
13143         * java/text/CollationElementIterator.java
13144         (textIndex): Renamed from index.
13145         * java/text/CollationKey.java
13146         (collator): New member.
13147         (CollationKey): New argument for parent collator.
13148         (equals): Check for same collator, source string and key array.
13149         * java/text/RuleBasedCollator.java:
13150         Reformated.
13151         (RuleBasedCollator): Don't re-initialize frenchAccents with default
13152         value.
13153         (getCollationElementIterator): Rewritten.
13154         (getCollationKey): Added new argument to CollationKey constructor.
13155
13156 2004-01-07  Michael Koch  <konqueror@gmx.de>
13157
13158         * gnu/java/nio/DatagramChannelImpl.java
13159         (blocking): Removed.
13160         (DatagramChannelImpl): Call configureBlocking().
13161         (implConfigureBlocking): Dont initialize blocking.
13162         * gnu/java/nio/ServerSocketChannelImpl.java
13163         (blocking): Removed.
13164         (ServerSocketChannelImpl): Call configureBlocking().
13165         (implConfigureBlocking): Dont initialize blocking.
13166         * gnu/java/nio/SocketChannelImpl.java
13167         (blocking): Removed.
13168         (SocketChannelImpl): Call configureBlocking().
13169         (implConfigureBlocking): Dont initialize blocking.
13170         (connect): Use isBlocking().
13171         * java/nio/channels/spi/AbstractSelectableChannel.java
13172         (configureBlocking): Use blockingLock() instead of LOCK.
13173         Set blocking after successfully called implConfigureBlocking().
13174         (register): Use blockingLock() instead of LOCK.
13175
13176 2004-01-07  Michael Koch  <konqueror@gmx.de>
13177
13178         * java/net/ServerSocket.java (isBound): Fixed documentation.
13179
13180 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
13181
13182         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
13183         (changeEvent): Create event object on demand.
13184         (DefaultBoundedRangeModel, toString, setValue, setExtent,
13185         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
13186         fireStateChanged): Re-written.
13187         * javax/swing/event/EventListenerList.java: Reformatted, document
13188         typical usage.
13189         (toString): Implemented.
13190         (getListeners): Re-written.
13191         (remove): Re-written.
13192         (add): Re-written.
13193         (NO_LISTENERS): New singleton field.
13194         (listenerList): Declare as transient; document.
13195         (serialVersionUID): Document.
13196         (getListenerCount(Class)): More efficient implementation,
13197         also accepts null argument.  Improve Javadoc.
13198         (getListenerCount()): Remove unnecessary cast; docfix.
13199         * javax/swing/undo/UndoableEditSupport.java:
13200         Re-format, document.
13201         (UndoableEditSupport): Set realSource field. Improve documentation.
13202         (_postEdit): Iterate over cloned listener vector.
13203         (toString): Don't emit realSource.
13204         (beginUpdate, endUpdate): Support nested updates.
13205         (postEdit): Use compound edit if present.
13206
13207 2004-01-06  Graydon Hoare  <graydon@redhat.com>
13208
13209         * java/awt/Container.java (swapComponents): Add forgotten
13210         function, required for JLayeredPane change.
13211
13212 2004-01-06  Michael Koch  <konqueror@gmx.de>
13213
13214         * java/text/CollationElementIterator.java: Reformated.
13215         (CollationElementIterator): Changed order of arguments.
13216         * java/text/RuleBasedCollator.java
13217         (RuleBasedCollator): Merged class documentation.
13218         (CollationElement): Added documentation.
13219         (compare): Reformated, renamed arguments.
13220         (equals): Likewise.
13221         (getCollationElementIterator): Likewise.
13222         (getCollationKey): Likewise.
13223
13224 2004-01-06  Graydon Hoare  <graydon@redhat.com>
13225
13226         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
13227
13228 2004-01-06  Michael Koch  <konqueror@gmx.de>
13229
13230         * gnu/java/net/protocol/file/Connection.java:
13231         Reformated copyright.
13232         (hdrHash): Removed.
13233         (hdrVec): Removed.
13234         (gotHeaders): Removed.
13235         (getHeaderField): Removed.
13236         (getHeaderField): Removed.
13237         (getHeaderFieldKey): Removed.
13238         (getKey): Removed.
13239         (getField): Removed.
13240         (getHeaders): Removed.
13241
13242 2004-01-06  Michael Koch  <konqueror@gmx.de>
13243
13244         * javax/print/attribute/standard/DateTimeAtCompleted.java,
13245         javax/print/attribute/standard/DateTimeAtCreation.java,
13246         javax/print/attribute/standard/DateTimeAtProcessing.java,
13247         javax/print/attribute/standard/JobImpressionsCompleted.java,
13248         javax/print/attribute/standard/JobKOctets.java,
13249         javax/print/attribute/standard/JobKOctetsProcessed.java,
13250         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
13251         javax/print/attribute/standard/JobPrioritySupported.java: New files.
13252         * Makefile.am (javax_source_files): Added new files.
13253         * Makefile.in: Regenerated.
13254
13255 2004-01-06  Michael Koch  <konqueror@gmx.de>
13256
13257         * java/net/URLConnection.java
13258         (contentHandler): Removed.
13259         (locale): Removed.
13260         (getHeaderFields): Return an empty map instead of null.
13261         (getContent): Connect if needed, renamed "cType" to "type" and
13262         "contentHandler" to "ch" and made it a local variable.
13263         (getPermission): Don't use package in class name.
13264         (setDefaultRequestProperty): Fixed typo in documentation.
13265         (initializeDateFormats): Made locale a local variable.
13266
13267 2004-01-06  Michael Koch  <konqueror@gmx.de>
13268
13269         * java/lang/Package.java
13270         (getPackage): Get the current class loader directly.
13271         * java/lang/SecurityManager.java
13272         (currentLoadedClass): Dont iterate over class contexts.
13273         (classLoaderDepth): Don't check class loaders if everything is allowed.
13274
13275 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
13276
13277         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
13278         (pre_event_handler): Set all insets to 0 when a Configure event
13279         is received for a GtkPlug.
13280         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
13281         Make handle long, not int.
13282         (EmbeddedWindow()): New constructor.
13283         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
13284         long, not int.
13285         (setHandle): New method.
13286         (getHandle): Return long, not int.
13287         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
13288         declaration.
13289         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
13290         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
13291         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
13292         argument to GdkNativeWindow.
13293         (construct): New method.
13294         (embed): New method.
13295
13296         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
13297         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
13298         (create(int, int)): New method.
13299         (create): Call new create method.
13300         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
13301         methods.
13302         (childResized): Remove native implementation.  Implement in
13303         Java.
13304         (getHScrollbarHeight, getVScrollbarWidth): Call
13305         gtk_widget_size_request to get scrollbar dimensions.
13306         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
13307         call getVScrollbarWidth and getHScrollbarHeight when vertical
13308         and horizontal scrollbars respectively are needed.
13309         (doLayout): Enlarge child if it is smaller than the viewport.
13310
13311 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
13312
13313         * java/awt/Dialog.java (constructor): Accept null title as per spec.
13314         * java/awt/FileDialog.java (constructor): Throw exception on invalid
13315         argument as per spec.
13316
13317 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
13318
13319         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
13320         (insert): Ditto.
13321         (remove): Ditto.  Also, Check for valid argument.
13322         (removeAll): Use peer interface method.
13323         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
13324         native add function.
13325         (nativeRemove): New name for native remove function.
13326         (getHistory): New native function.
13327         (constructor): Generate ItemEvent.
13328         (add): Ditto, if selection is changed.
13329         (remove): Ditto, ditto.
13330         (removeAll): Add implementation.
13331         (handleEvent): Remove.  Dead code.
13332         (choicePostItemEvent): Add comment.
13333         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
13334         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
13335         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
13336         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
13337         comments and fix condition to change selection.
13338         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
13339         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
13340         remove all capability.
13341         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
13342         (item_activate): Add cast to remove compiler warning.
13343
13344 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
13345
13346         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
13347         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13348         (getPreferredSize): Call preferredSize.
13349         (preferredSize): Call gtkWidgetGetPreferredDimensions.
13350         (getMinimumSize): Call minimumSize.
13351         (minimumSize): Call gtkWidgetGetPreferredDimensions.
13352         (gtkWidgetGetDimensions): Return the peer widget's current size
13353         request.
13354         (gtkWidgetGetPreferredDimensions): Return the peer widget's
13355         natural size request.
13356
13357 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
13358
13359         Thanks to Brian Gough <bjg@network-theory.com>
13360         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
13361         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
13362
13363 2004-01-04  Matthias Klose  <doko@debian.org>
13364
13365         * aclocal.m4: Rebuilt using "aclocal -I .".
13366         * configure: Rebuilt.
13367
13368 2004-01-03  Per Bothner  <per@bothner.com>
13369
13370         * java/util/Date.java (parse):  Fix a number of problems.
13371         (skipParens):  Remove no-longer-needed method.
13372