]>
Commit | Line | Data |
---|---|---|
67bbb1e1 EB |
1 | 2004-11-29 Eric Botcazou <ebotcazou@libertysurf.fr> |
2 | ||
3 | * link.cc (link_symbol_table): Do not use intptr_t. | |
4 | ||
c8387a93 MW |
5 | 2004-11-28 Mark Wielaard <mark@klomp.org> |
6 | ||
7 | * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and | |
8 | XMLDecoder tests which currently don't compile. | |
9 | ||
1daa567c AH |
10 | 2004-11-27 Andrew Haley <aph@redhat.com> |
11 | ||
12 | * link.cc (ensure_class_linked): Conditionally compile | |
13 | _Jv_IsInterpretedClass on INTERPRETER. | |
14 | (print_class_loaded): Likewise. | |
15 | (wait_for_state): Likewise. | |
16 | * include/jvm.h (ROUND): Move to here from include/java-interp.h. | |
17 | * include/java-interp.h (ROUND): Remove. | |
18 | ||
7cb21c1c TT |
19 | 2004-11-25 Tom Tromey <tromey@redhat.com> |
20 | ||
21 | * gnu/gcj/util/natDebug.cc (getField): Don't qualify name. | |
22 | * java/lang/Class.h (_Jv_Linker): Declare. | |
23 | (Class): Fix names of friends. | |
24 | (_Jv_getInterfaceMethod): Declare. | |
25 | ||
f7fdebfb JDA |
26 | 2004-11-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
27 | ||
28 | * testsuite/lib/libjava.exp (libjava_arguments): Add new global | |
29 | variable libjava_ld_library_path. | |
30 | (gcj_invoke, libjava_invoke): Use it to set ld_library_path. | |
31 | ||
5257260c BM |
32 | 2004-11-25 Bryce McKinlay <mckinlay@redhat.com> |
33 | ||
34 | * java/util/ResourceBundle.java (BundleKey): Don't implement | |
35 | Cloneable. | |
36 | (BundleKey.clone): Removed. | |
37 | (getBundle): Copy BundleKey using constructor, not clone(). | |
38 | ||
767f726e KC |
39 | 2004-11-25 Kelley Cook <kcook@gcc.gnu.org> |
40 | ||
41 | * configure: Regenerate for libtool reversion. | |
42 | ||
8f9bd776 MK |
43 | 2004-11-25 Michael Koch <konqueror@gmx.de> |
44 | ||
45 | * Makefile.am: Added most of javax.print again. | |
46 | * Makefile.in: Regenerated. | |
47 | ||
bef638f4 MK |
48 | 2004-11-25 Michael Koch <konqueror@gmx.de> |
49 | ||
50 | * Makefile.am: Added most of javax.print again. | |
51 | * Makefile.in: Regenerated. | |
52 | ||
36739040 TT |
53 | 2004-11-24 Tom Tromey <tromey@redhat.com> |
54 | ||
55 | * Merged gcj-abi-2-dev-branch to trunk. | |
56 | ||
57 | 2004-11-16 Tom Tromey <tromey@redhat.com> | |
58 | ||
59 | * include/java-interp.h (_Jv_DefineClass): Updated. | |
60 | * java/lang/natVMClassLoader.cc (defineClass): Pass protection | |
61 | domain to class reader. | |
62 | * defineclass.cc (parse): Use print_class_loaded. | |
63 | Include ProtectionDomain.h. | |
64 | (_Jv_DefineClass): Added ProtectionDomain argument. | |
65 | (_Jv_ClassReader): Likewise. | |
66 | * include/jvm.h (_Jv_Linker::print_class_loaded): Declare. | |
67 | * link.cc: Include CodeSource.h. | |
68 | (print_class_loaded): New function. | |
69 | (wait_for_state): Use it. | |
70 | ||
71 | 2004-11-16 Andrew Haley <aph@redhat.com> | |
72 | ||
73 | * gnu/gcj/util/Debug.java (print): Add RawDataManaged. | |
74 | ||
75 | 2004-11-16 Andrew Haley <aph@redhat.com> | |
76 | ||
77 | * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition. | |
78 | * configure.host: Define libgcj_ld_symbolic for Linux hosts. | |
79 | * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC. | |
80 | * configure: Regenerate. | |
81 | * Makefile.in: Regenerate. | |
82 | ||
83 | 2004-11-15 Andrew Haley <aph@redhat.com> | |
84 | ||
85 | * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a | |
86 | gc-allocated object. | |
87 | ||
88 | 2004-11-15 Andrew Haley <aph@redhat.com> | |
89 | ||
90 | * java/net/URLClassLoader.java | |
91 | (URLLoader.getClassPath): New method. | |
92 | (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path" | |
93 | attribute and add URLs for each entry. | |
94 | (JarURLLoader.classPath): New field. | |
95 | (JarURLLoader.getClassPath): New method. | |
96 | (addURLImpl): Scan through the list of extraUrls in the new | |
97 | loader, adding them to our urlinfos. | |
98 | (definePackage, findURLResource, findResources): Use | |
99 | urlinfos.size(), not urls.size(). | |
100 | ||
101 | 2004-11-11 Tom Tromey <tromey@redhat.com> | |
102 | ||
103 | * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New | |
104 | method. | |
105 | * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers | |
106 | linked. | |
107 | (ensureSupersLinked): Declare. | |
108 | * java/lang/natVMClassLoader.cc (loadClass): Ensure supers | |
109 | linked. | |
110 | ||
111 | 2004-11-10 Tom Tromey <tromey@redhat.com> | |
112 | ||
113 | * gij.cc (main): Treat -verbose the same as -verbose:class. | |
114 | (help): Document -verbose and -verbose:class. | |
115 | ||
116 | * link.cc (verbose_class_flag): Declare. | |
117 | (wait_for_state): Print message when handling precompiled class. | |
118 | * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc. | |
119 | ||
120 | 2004-11-09 Tom Tromey <tromey@redhat.com> | |
121 | ||
122 | * testsuite/libjava.lang/assign2.out: New file. | |
123 | * testsuite/libjava.lang/assign2.java: New file. | |
124 | ||
125 | * java/lang/natRuntime.cc (insertSystemProperties): Set | |
126 | java.version to 1.4.2 and java.specification.version to 1.4. Set | |
127 | java.runtime.version. | |
128 | ||
129 | 2004-11-08 Tom Tromey <tromey@redhat.com> | |
130 | ||
131 | * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure | |
132 | supers installed. | |
133 | * link.cc (verify_type_assertions): Don't link supers. | |
134 | ||
135 | * include/jvm.h (_Jv_Linker::search_method_in_class): Declare. | |
136 | * include/java-interp.h (class _Jv_InterpClass) | |
137 | <_Jv_PrepareMissingMethods>: No longer `friend'. | |
138 | * java/lang/Class.h (_Jv_SearchMethodInClass): No longer | |
139 | `friend'. | |
140 | (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass, | |
141 | _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex, | |
142 | _Jv_AppendPartialITable, _Jv_LinkSymbolTable, | |
143 | _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable, | |
144 | _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise. | |
145 | * link.cc (search_method_in_class): Renamed from | |
146 | _Jv_SearchMethodInClass. | |
147 | (resolve_pool_entry): Updated. | |
148 | ||
149 | * include/jvm.h (_Jv_CheckAssignment): Removed. | |
150 | * java/lang/natClass.cc (_Jv_CheckAssignment): Removed. | |
151 | ||
152 | 2004-11-05 Tom Tromey <tromey@redhat.com> | |
153 | ||
154 | * link.cc (verify_type_assertions): Ensure classes have supers | |
155 | linked. Strip off array types first. | |
156 | ||
157 | 2004-11-05 Bryce McKinlay <mckinlay@redhat.com> | |
158 | ||
159 | * link.cc: Include VerifyError.h. | |
160 | (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries | |
161 | in the type assertion table. | |
162 | * include/execution.h (_Jv_CompiledEngine::do_verify): Use | |
163 | verify_type_assertions. | |
164 | * include/jvm.h (_Jv_Linker::verify_type_assertions): declare. | |
165 | * java/lang/Class.h (JV_ASSERT_END_OF_TABLE, | |
166 | JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare | |
167 | assertion code values. | |
168 | (struct _Jv_TypeAssertion): Declare. | |
169 | (assertion_table): New class field. | |
170 | (verify): Remove class field. | |
171 | ||
172 | 2004-11-05 Andrew Haley <aph@redhat.com> | |
173 | ||
174 | * Makefile.am: Move jv_dbtool.java to | |
175 | gnu/gcj/tools/gcj_dbtool/Main.java. | |
176 | * Makefile.in: Rebuild. | |
177 | * java/lang/VMCompiler.java: Rename property | |
178 | "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path". | |
179 | * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from | |
180 | jv_dbtool.java. | |
181 | ||
182 | 2004-11-05 Andrew Haley <aph@redhat.com> | |
183 | ||
184 | * jv_dbtool.java (main): Allow the user to specify the size of the | |
185 | database. Display the capacity and the size. | |
186 | (usage): Show the new option. | |
187 | ||
188 | 2004-11-04 Tom Tromey <tromey@redhat.com> | |
189 | ||
190 | * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated. | |
191 | * link.cc (make_vtable): Use correct index when searching for | |
192 | missing method's name. Don't use `flags'. | |
193 | (set_vtable_entries): Removed `flags' argument. Don't recurse | |
194 | into superclasses. | |
195 | (link_symbol_table): Ensure target class method table is | |
196 | complete. Ensure target fields are laid out before entering | |
197 | loop. | |
198 | ||
199 | * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation | |
200 | fix. | |
201 | ||
202 | * interpret.cc (do_verify): Don't verify abstract methods. | |
203 | ||
204 | 2004-11-01 Tom Tromey <tromey@redhat.com> | |
205 | ||
206 | * link.cc (wait_for_state): Call verify_class. | |
207 | ||
208 | * verify.cc (state::check_no_uninitialized_objects): Removed. | |
209 | (push_jump): Updated. | |
210 | (push_exception_jump): Likewise. | |
211 | (handle_ret_insn): Likewise. | |
212 | (handle_jsr_insn): Likewise. | |
213 | ||
214 | 2004-10-28 Andrew Haley <aph@redhat.com> | |
215 | ||
216 | * gnu/gcj/runtime/PersistentByteMap.java: New file. | |
217 | * jv_dbtool.java: New file. | |
218 | * Makefile.am (bin_PROGRAMS): Add jv-dbtool | |
219 | (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK) | |
220 | (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New. | |
221 | * Makefile.in: Regenerate, | |
222 | * java/lang/VMCompiler.java: Import NoSuchAlgorithmException, | |
223 | Enumeration, StringTokenizer, Vector, PersistentByteMap. | |
224 | (precompiledMapFiles): New variable. | |
225 | (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to | |
226 | initialize precompiledMapFiles. | |
227 | (compileClass): Look at the database of precompiled class files | |
228 | before firing up gcj. | |
229 | ||
230 | * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment. | |
231 | ||
232 | 2004-10-27 Andrew Haley <aph@redhat.com> | |
233 | ||
234 | * java/lang/VMCompiler.java (compileClass): try looking for | |
235 | precompiledMapFiles. | |
236 | * gnu/gcj/runtime/PersistentByteMap.java: New file. | |
237 | ||
238 | 2004-10-27 Tom Tromey <tromey@redhat.com> | |
239 | ||
240 | * link.cc (ensure_class_linked): Only resolve classes for | |
241 | compiled classes. | |
242 | (add_miranda_methods): Ensure interface supers are installed. | |
243 | (resolve_pool_entry): Better error message. | |
244 | ||
245 | 2004-10-25 Tom Tromey <tromey@redhat.com> | |
246 | ||
247 | * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it. | |
248 | ||
249 | * java/util/ResourceBundle.java (tryBundle): Use | |
250 | Class.isAssignableFrom rather than catching ClassCastException. | |
251 | ||
252 | * java/util/zip/InflaterInputStream.java (fill): Don't throw an | |
253 | exception if we hit EOF of `in'. | |
254 | (read): Handle case where inflating returns -1. | |
255 | ||
256 | * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't | |
257 | initialize `iter'. | |
258 | * gnu/java/text/SentenceBreakIterator.java | |
259 | (SentenceBreakIterator): Don't initialize `iter'. | |
260 | * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't | |
261 | initialize `iter'. | |
262 | * gnu/java/text/CharacterBreakIterator.java | |
263 | (CharacterBreakIterator): Don't initialize `iter'. | |
264 | * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New | |
265 | constructor. | |
266 | * java/text/BreakIterator.java: Updated documentation. | |
267 | ||
268 | 2004-10-20 Tom Tromey <tromey@redhat.com> | |
269 | ||
270 | * java/util/ResourceBundle.java (tryBundle): Also ignore | |
271 | ClassCastException. | |
272 | ||
273 | 2004-10-18 Tom Tromey <tromey@redhat.com> | |
274 | ||
275 | * interpret.cc (do_post_miranda_hook): New method. | |
276 | * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook): | |
277 | New field. | |
278 | (_Jv_CompiledEngine::do_post_miranda_hook): New method. | |
279 | (_Jv_CompiledEngine): Initialize new field. | |
280 | (_Jv_InterpreterEngine::do_post_miranda_hook): Declare. | |
281 | (_Jv_InterpreterEngine): Initialize new field. | |
282 | * link.cc (resolve_pool_entry): Put Miranda methods in target | |
283 | class. | |
284 | (ensure_method_table_complete): Call post_miranda_hook. | |
285 | * java/lang/natVMClassLoader.cc (defineClass): Don't set class' | |
286 | aux_info. | |
287 | * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes. | |
288 | (parse): Set class' aux_info here. | |
289 | ||
290 | * boehm.cc (_Jv_MarkObj): Mark `throws'. | |
291 | ||
292 | * boehm.cc: Re-merged with trunk. | |
293 | ||
294 | 2004-10-18 Andrew Haley <aph@redhat.com> | |
295 | ||
296 | PR java/18036: | |
297 | * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize | |
298 | and correct logic used to find interpreter. | |
299 | ||
300 | 2004-10-13 Andrew Haley <aph@redhat.com> | |
301 | ||
302 | * interpret.cc (_Jv_InterpMethod::run): Initialize | |
303 | _Jv_StartOfInterpreter. | |
304 | (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed. | |
305 | (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables. | |
306 | * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use | |
307 | _Unwind_FindEnclosingFunction to discover whether PC is within the | |
308 | interpreter. | |
309 | ||
310 | 2004-10-13 Tom Tromey <tromey@redhat.com> | |
311 | ||
312 | * link.cc (find_iindex): Copy correct number of slots to new | |
313 | ioffsets. | |
314 | ||
315 | 2004-10-12 Tom Tromey <tromey@redhat.com> | |
316 | ||
317 | * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New | |
318 | proc. | |
319 | (gcj_loader_test_one): Use it. | |
320 | (gcj_loader_run): Likewise. | |
321 | ||
322 | * prims.cc: Don't include FirstThread.h. | |
323 | ||
324 | 2004-10-06 Tom Tromey <tromey@redhat.com> | |
325 | ||
326 | * link.cc (ensure_method_table_complete): Ensure superclass | |
327 | Miranda methods installed. | |
328 | ||
329 | * include/java-interp.h (class _Jv_JNIMethod): Added | |
330 | JV_MARKOBJ_DECL as a friend. | |
331 | * interpret.cc (ncode): Allocate jni_arg_types field with GC. | |
332 | * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking | |
333 | interpreter method structures. Mark jni_arg_types of JNI | |
334 | methods. | |
335 | ||
336 | * defineclass.cc (parse): Use JV_STATE_READ. | |
337 | * java/lang/Class.h (JV_STATE_READ): New enum value. | |
338 | ||
339 | 2004-10-05 Tom Tromey <tromey@redhat.com> | |
340 | ||
341 | * link.cc (resolve_pool_entry): Add signature info to missing | |
342 | method's information. | |
343 | ||
344 | * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor. | |
345 | * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function. | |
346 | ||
347 | 2004-10-04 Tom Tromey <tromey@redhat.com> | |
348 | ||
349 | * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when | |
350 | marking IDT. | |
351 | ||
352 | 2004-09-29 Tom Tromey <tromey@redhat.com> | |
353 | ||
354 | * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not | |
355 | resolve.cc. | |
356 | * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver. | |
357 | * jni.cc: Use _Jv_Linker. | |
358 | * interpret.cc: Use _Jv_Linker. | |
359 | * java/lang/reflect/natField.cc (getType): Use _Jv_Linker. | |
360 | * java/lang/natClassLoader.cc: Use _Jv_Linker. | |
361 | * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker. | |
362 | * java/lang/Class.h: Use _Jv_Linker. | |
363 | * java/lang/natClass.cc (initializeClass): Use _Jv_Linker. | |
364 | * resolve.cc: Renamed ... | |
365 | * link.cc: ... here. Use _Jv_Linker. | |
366 | * defineclass.cc (checkExtends): Use _Jv_Linker. | |
367 | ||
368 | 2004-09-17 Tom Tromey <tromey@redhat.com> | |
369 | ||
370 | * defineclass.cc (handleCodeAttribute): Don't reference | |
371 | `deferred'. | |
372 | (handleMethodsEnd): Likewise. | |
373 | * include/java-interp.h (_Jv_MethodBase::deferred): Removed | |
374 | field. | |
375 | (_Jv_Defer_Resolution): Don't declare or define. | |
376 | * interpret.cc (do_create_ncode): Don't resolve deferred method | |
377 | pointers. | |
378 | * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare. | |
379 | * resolve.cc (link_symbol_table): No need to defer resolution. | |
380 | ||
381 | 2004-09-14 Tom Tromey <tromey@redhat.com> | |
382 | ||
383 | * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument. | |
384 | (_Jv_MarkObj): Updated. | |
385 | (_Jv_MarkArray): Likewise. | |
386 | ||
387 | * include/jvm.h (StringClass): Removed. | |
388 | * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass. | |
389 | * interpret.cc (_Jv_InitField): Don't use StringClass. | |
390 | * java/lang/natString.cc (_Jv_StringFindSlot): Don't use | |
391 | StringClass. | |
392 | (rehash): Likewise | |
393 | (intern): Likewise. | |
394 | (_Jv_FinalizeString): Likewise. | |
395 | (_Jv_NewStringUtf8Const): Likewise. | |
396 | (equals): Likewise. | |
397 | * prims.cc (JvConvertArgv): Don't use StringClass. | |
398 | ||
399 | * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS. | |
400 | * resolve.cc (ensure_fields_laid_out): Don't mention | |
401 | COMPACT_FIELDS. | |
402 | * defineclass.cc (handleField): Don't mention COMPACT_FIELDS. | |
403 | * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS. | |
404 | ||
405 | * java/lang/reflect/natField.cc (getType): Use resolve_field. | |
406 | * java/lang/natVMClassLoader.cc (resolveClass): New native | |
407 | implementation. | |
408 | (linkClass0): Removed. | |
409 | (markClassErrorState0): Likewise. | |
410 | * java/lang/natClassLoader.cc: Include execution.h. Moved class | |
411 | preparation code to resolve.cc. | |
412 | (_Jv_RegisterClassHookDefault): Set class's execution engine if | |
413 | not already set. | |
414 | (_Jv_FindClass): Use wait_for_state. | |
415 | (_Jv_NewArrayClass): Likewise. Simplified permissions setting. | |
416 | * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h. | |
417 | Moved interface table and class preparation code to resolve.cc. | |
418 | (finalize): Rewrote. | |
419 | (initializeClass): Simplified locking and class preparation. | |
420 | * java/lang/VMClassLoader.java (linkClass0): Removed. | |
421 | (markClassErrorState0): Likewise. | |
422 | (resolveClass): Now native. | |
423 | (transformException): New method. | |
424 | * java/lang/Class.h (getSuperclass): Don't try to resolve super | |
425 | reference. | |
426 | (getInterface): Likewise. | |
427 | (size): Likewise. | |
428 | (set_state): New method. | |
429 | (Class): Updated friend declarations. | |
430 | (verify): Field now private. | |
431 | (engine): New field. | |
432 | * include/jvm.h (class _Jv_Resolver): New class declaration. | |
433 | (_Jv_ResolveField): Removed declaration. | |
434 | (_Jv_CheckAccessNoInit): Likewise. | |
435 | (_Jv_isBinaryCompatible): Removed. | |
436 | * include/java-interp.h (class _Jv_MethodBase): Updated friend | |
437 | declarations. | |
438 | (class _Jv_InterpMethod): Likewise. | |
439 | (class _Jv_InterpClass): Likewise. | |
440 | (class _Jv_JNIMethod): Likewise. | |
441 | * include/execution.h: New file. | |
442 | * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h. | |
443 | (_Jv_sharedlib_register_hook): Set `engine' on loaded class. | |
444 | Register class after setting fields. | |
445 | * resolve.cc: Include execution.h, VerifyError.h. Moved | |
446 | interpreter-specific code to interpret.cc. | |
447 | (uaddr): New location. | |
448 | (struct aligner): Likewise. | |
449 | (ALIGNOF): Likewise. | |
450 | (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here. | |
451 | (INITIAL_IFACES_LEN): Likewise. | |
452 | (null_idt): Likewise. | |
453 | (_Jv_GetMethodString): Likewise. | |
454 | (_Jv_ThrowNoSuchMethodError): Likewise. | |
455 | (_Jv_abstractMethodError): Likewise. | |
456 | (_Jv_Resolver::get_alignment_from_class): Renamed. | |
457 | (_Jv_Resolver::resolve_field): Likewise. | |
458 | (_Jv_Resolver::resolve_pool_entry): Likewise. | |
459 | (_Jv_Resolver::resolve_class_ref): Likewise. | |
460 | (_Jv_Resolver::prepare_constant_time_tables): Likewise. | |
461 | (_Jv_Resolver::indexof): Likewise. | |
462 | (_Jv_Resolver::get_interfaces): Likewise. | |
463 | (_Jv_Resolver::generate_itable): Likewise. | |
464 | (_Jv_Resolver::append_partial_itable): Likewise. | |
465 | (_Jv_Resolver::find_iindex): Likewise. | |
466 | (_Jv_Resolver::link_symbol_table): Likewise. | |
467 | (_Jv_Resolver::link_exception_table): Likewise. | |
468 | (_Jv_Resolver::layout_interface_methods): Likewise. | |
469 | (_Jv_Resolver::layout_vtable_methods): Likewise. | |
470 | (_Jv_Resolver::set_vtable_entries): Likewise. | |
471 | (_Jv_Resolver::make_vtable): Likewise. | |
472 | (_Jv_Resolver::ensure_fields_laid_out): Likewise. | |
473 | (_Jv_Resolver::ensure_class_linked): Likewise. | |
474 | (_Jv_Resolver::ensure_supers_installed): Likewise. | |
475 | (_Jv_Resolver::add_miranda_methods): Likewise. | |
476 | (_Jv_Resolver::ensure_method_table_complete): Likewise. | |
477 | (_Jv_Resolver::verify_class): Likewise. | |
478 | (_Jv_Resolver::wait_for_state): Likewise. | |
479 | * prims.cc (_Jv_soleCompiledEngine): New global. | |
480 | (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow. | |
481 | (_Jv_CheckAccessNoInit): Removed. | |
482 | * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field. | |
483 | * interpret.cc: Include platform.h, ClassFormatError.h, | |
484 | Modifier.h, execution.h. | |
485 | (_Jv_soleInterpreterEngine): New global. | |
486 | (compile): Use resolve_pool_entry. | |
487 | (run): Likewise. | |
488 | (_Jv_InitField): New location. | |
489 | (skip_one_type): Likewise. | |
490 | (get_ffi_type_from_signature): Likewise. | |
491 | (_Jv_count_arguments): Likewise. | |
492 | (init_cif): Likewise. | |
493 | (ncode_closure): Likewise. | |
494 | (ffi_closure_fun): Likewise. | |
495 | (ncode): Likewise. | |
496 | (throw_class_format_error): Likewise. | |
497 | (throw_class_format_error): Likewise. | |
498 | (_Jv_InterpreterEngine::do_verify): New method. | |
499 | (_Jv_InterpreterEngine::do_create_ncode): Likewise. | |
500 | (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise. | |
501 | (_Jv_InterpreterEngine::do_resolve_method): Likewise. | |
502 | * defineclass.cc: Include execution.h. | |
503 | (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count, | |
504 | engine. | |
505 | (checkExtends): Ensure superclass has supers installed. | |
506 | (_Jv_ClassNameSamePackage): Clarify usage constraints. | |
507 | * boehm.cc (GC_enable, GC_disable): Declare at top of file. | |
508 | (_Jv_MarkObj): Unconditionally mark vtable. Mark interface | |
509 | dispatch tables. | |
510 | ||
511 | 2004-09-13 Tom Tromey <tromey@redhat.com> | |
512 | ||
513 | * mauve-libgcj: List some classes we don't have. | |
514 | ||
515 | 2004-09-10 Andrew Haley <aph@redhat.com> | |
516 | ||
517 | * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend. | |
518 | * java/lang/natClass.cc (initializeClass): Check itable. | |
519 | (_Jv_getInterfaceMethod): New. | |
520 | (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls. | |
521 | Check that an interface method isn't called with invokevirtual. | |
522 | ||
523 | * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure | |
524 | super_meth is virtual. | |
525 | ||
526 | 2004-09-01 Tom Tromey <tromey@redhat.com> | |
527 | ||
528 | * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend. | |
529 | * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use | |
530 | _Jv_CheckAccessNoInit. | |
531 | * include/jvm.h (_Jv_CheckAccessNoInit): Declare. | |
532 | * prims.cc (_Jv_CheckAccessNoInit): New method. | |
533 | ||
534 | * java/lang/reflect/natMethod.cc (invoke): Check access against | |
535 | declaring class, not object's class. | |
536 | * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another | |
537 | argument. | |
538 | (_Jv_LayoutVTableMethods): Perform checks of accessibility of | |
539 | overridden method. | |
540 | * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another | |
541 | argument. | |
542 | ||
543 | 2004-08-30 Andrew Haley <aph@redhat.com> | |
544 | ||
545 | * java/lang/natClass.cc (_Jv_CheckAssignment): Catch | |
546 | ClassNotFoundException. | |
547 | Throw NoClassDefFoundError. | |
548 | ||
549 | * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call | |
550 | to klass->verify() from here ... | |
551 | (_Jv_PrepareCompiledClass): ...and put it here. | |
552 | ||
553 | 2004-08-27 Andrew Haley <aph@redhat.com> | |
554 | ||
555 | * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call | |
556 | klass->verify(). | |
557 | * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging. | |
558 | (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class. | |
559 | ||
560 | 2004-08-27 Tom Tromey <tromey@redhat.com> | |
561 | ||
562 | * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as | |
563 | friend. | |
564 | * java/lang/natClass.cc (_Jv_CheckAssignment): New function. | |
565 | (_Jv_IsAssignableFromSlow): New function. | |
566 | Include VerifyError.h. | |
567 | * include/jvm.h (_Jv_CheckAssignment): Declare. | |
568 | ||
569 | 2004-08-18 Andrew Haley <aph@redhat.com> | |
570 | ||
571 | * java/lang/VMCompiler.java (loadSharedLibrary): Add className | |
572 | argument. Pass it to findClass instead of fileName. | |
573 | (compileClass): Pass class name to loadSharedLibrary. | |
574 | ||
575 | 2004-06-22 Andrew Haley <aph@redhat.com> | |
576 | ||
577 | * testsuite/libjava.compile/compile.exp: Force indirect dispatch. | |
578 | ||
579 | 2004-06-15 Andrew Haley <aph@redhat.com> | |
580 | ||
581 | * java/lang/natSystem.cc (getenv0): Don't assume environment | |
582 | variable is Latin 1 coded. | |
583 | ||
584 | 2004-06-07 Andrew Haley <aph@redhat.com> | |
585 | ||
586 | * java/lang/System.java: (getenv0): New method. | |
587 | (getenv): Add security check. Do the right thing. | |
588 | * java/lang/natSystem.cc (getenv0): New method. | |
589 | ||
590 | 2004-04-19 Andrew Haley <aph@redhat.com> | |
591 | ||
592 | * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes | |
593 | we destroy. | |
594 | ||
595 | * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte | |
596 | is returned as an int in the range 0 to 255. | |
597 | ||
598 | 2004-08-13 Tom Tromey <tromey@redhat.com> | |
599 | ||
600 | * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target | |
601 | class if it is interpreted. | |
602 | ||
603 | 2004-08-12 Tom Tromey <tromey@redhat.com> | |
604 | ||
605 | * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated. | |
606 | * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration. | |
607 | (Class::getSuperclass): Updated. | |
608 | (Class::getInterfaces): Likewise. | |
609 | (Class::size): Updated. | |
610 | (_Jv_LayoutClass): Updated declaration. | |
611 | * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface. | |
612 | Synchronize on class. | |
613 | (_Jv_LayoutClass): Changed interface. | |
614 | (initializeClass): Updated. | |
615 | (_Jv_LinkSymbolTable): Likewise. | |
616 | ||
617 | * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as | |
618 | friend. | |
619 | * java/lang/natClassLoader.cc (_Jv_WaitForState): Use | |
620 | _Jv_isBinaryCompatible. | |
621 | * java/lang/natClass.cc (initializeClass): Use | |
622 | _Jv_isBinaryCompatible. | |
623 | (_Jv_LinkSymbolTable): Likewise. | |
624 | * include/jvm.h (_Jv_isBinaryCompatible): New function. | |
625 | ||
626 | 2004-08-11 Tom Tromey <tromey@redhat.com> | |
627 | ||
628 | * gcj/javaprims.h: Regenerated. | |
629 | * java/lang/natClassLoader.cc (getClassLoader0): Removed. | |
630 | (_registerClass): Likewise. | |
631 | * Makefile.in: Rebuilt. | |
632 | * Makefile.am (core_java_source_files): Added VMCompiler. | |
633 | * java/lang/Compiler.java: Rewrote in terms of VMCompiler. | |
634 | * java/lang/VMCompiler.java: New file. | |
635 | * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed | |
636 | `verbose' code. | |
637 | (copyFile): Don't use fully-qualified name. | |
638 | (h): Removed. | |
639 | * java/lang/natVMClassLoader.cc: Include VMCompiler.h. | |
640 | (defineClass): Use VMCompiler. | |
641 | * java/lang/ClassLoader.java (defineClass): Removed jit | |
642 | compilation code and `verbose' code. | |
643 | (getClassLoader0): Removed. | |
644 | (_registerClass): Likewise. | |
645 | (SharedLibHelpers): Removed. | |
646 | ||
647 | 2004-08-10 Tom Tromey <tromey@redhat.com> | |
648 | ||
649 | * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL, | |
650 | URL)): New constructor. | |
651 | (SoURLLoader): Likewise. | |
652 | (JarURLLoader): Create SoURLLoader with override URL. | |
653 | ||
654 | 2004-08-10 Mark Wielaard <mark@klomp.org> | |
655 | ||
656 | * Makefile.in: Rebuilt. | |
657 | * Makefile.am (interpret.lo): New rule. | |
658 | ||
659 | 2004-08-05 Andrew Haley <aph@redhat.com> | |
660 | ||
661 | * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look | |
662 | aside for "GCJLIBS" in directory where jarfiles are loaded. | |
663 | (JarURLLoader.getClass): New method. | |
664 | (JarURLLoader.toString): New method. | |
665 | (FileResource.toString): New method. | |
666 | * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault): | |
667 | Remove "Duplicate class registration: " bug. | |
668 | (_registerClass): New method. | |
669 | * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index. | |
670 | (_Jv_LinkSymbolTable): Call _Jv_LayoutClass(). | |
671 | Add debugging. | |
672 | (_Jv_LayoutClass): Use getSuperclass() rather than directly | |
673 | accessing the field. | |
674 | * java/lang/ClassLoader.java (SharedLibHelpers): New variable. | |
675 | (defineClass): Call gcj to JIT-compile a class. | |
676 | (_registerClass): New method. | |
677 | * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared | |
678 | library name can refer to more than one loaded library, so use a | |
679 | Set of SharedLibHelpers. | |
680 | If a shared library is already loaded, take a copy. | |
681 | (copyFile): New function. | |
682 | ||
683 | * testsuite/libjava.compile/compile.exp: Force | |
684 | -findirect-dispatch. | |
685 | ||
686 | * java/security/BasicPermission.java: Remove bogus checks. | |
687 | ||
688 | * java/lang/System.java (getenv0): New method. | |
689 | * java/lang/natSystem.cc (getenv0): New method. | |
690 | ||
691 | 2004-05-24 Andrew Haley <aph@redhat.com> | |
692 | ||
693 | * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message. | |
694 | ||
695 | 2004-04-20 Bryce McKinlay <mckinlay@redhat.com> | |
696 | ||
697 | * Merged with HEAD as of 20040514. Diff against | |
698 | gcj-abi-2-merge-20040514. | |
699 | ||
700 | 2004-04-16 Andrew Haley <aph@redhat.com> | |
701 | ||
702 | * java/lang/natClassLoader.cc (_Jv_WaitForState): Call | |
703 | _Jv_LayoutClass. | |
704 | (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison. | |
705 | (_Jv_PrepareCompiledClass): If we throw an exception during | |
706 | preparation, restore state. | |
707 | (ClassLoader::getClassLoader0): New method. | |
708 | ||
709 | * java/lang/natClass.cc (get_alignment_from_class): Moved here | |
710 | from resolve.cc. | |
711 | (ALIGNOF): Use offsetof, not __alignof__. | |
712 | (_Jv_ResolveClassRef): Resolve a reference to a class in a | |
713 | constant pool. | |
714 | (getInterfaces): Emit debug output if interface hasn't been | |
715 | resolved. | |
716 | (initializeClass): Call _Jv_LayoutClass. | |
717 | (_Jv_LinkSymbolTable): Add debugging output. | |
718 | (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't | |
719 | found. | |
720 | (_Jv_LinkSymbolTable): Call _Jv_PrepareClass. | |
721 | (_Jv_LinkSymbolTable): Pass the real class loader to | |
722 | _Jv_FindClass. | |
723 | (_Jv_linkExceptionClassTable): Don't throw if we fail to find an | |
724 | exception class. | |
725 | (_Jv_LinkSymbolTable): Assert if we find a static field reference | |
726 | to an interpreted class. | |
727 | (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the | |
728 | superclass. | |
729 | (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in | |
730 | resolve.cc. | |
731 | ||
732 | * java/lang/VMSecurityManager.java: Check for the system class | |
733 | loader as well as loader != null. | |
734 | ||
735 | * java/lang/SecurityManager.java (checkPermission): Remove | |
736 | security check. | |
737 | (checkRead): Likewise. | |
738 | (checkConnect): Likewise. | |
739 | ||
740 | * java/lang/ClassLoader.java (loadClass): Include all class | |
741 | loaders in stack trace string. | |
742 | Look for class in "gcjlib.so" in the same directory. | |
743 | (getSystemClassLoader) Use getClassLoader0. | |
744 | (getClassLoader0): New native method. | |
745 | ||
746 | * java/lang/Class.h (getSuperclass): New method. | |
747 | (getInterface): New method. | |
748 | (size): Lay out class if needed. | |
749 | (firstMethodIndex): New method. | |
750 | (Jv_ResolveClassRef): New declaration. | |
751 | (_Jv_LinkSymbolTable): New declaration. | |
752 | ||
753 | * java/io/ObjectOutputStream.java: Add DEBUG statements | |
754 | everywhere. | |
755 | (dumpElementln): New method. | |
756 | (depth): New field. | |
757 | * java/io/ObjectInputStream.java (MyIOException): new, for | |
758 | debugging. | |
759 | Everywhere: use MyIOException rather than IOException. | |
760 | Indent debugging output to make nesting visible. | |
761 | (currentClassLoader): Make native | |
762 | (callersClassLoader): New field. | |
763 | (depth): New field. | |
764 | * java/io/natObjectInputStream.cc (getCallersClassLoader): New | |
765 | method. | |
766 | ||
767 | (readObject): ENDBLOCKDATA is generated if the class has a write | |
768 | method, not if it has a read method. | |
769 | ||
770 | * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface. | |
771 | ||
772 | * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the | |
773 | getContextClassLoader form the current thread after our own class | |
774 | loader. | |
775 | ||
776 | * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader | |
777 | debugging. | |
778 | (toString): New method. | |
779 | ||
780 | * verify.cc (class _Jv_BytecodeVerifier): Don't directly access | |
781 | interfaces array. | |
782 | ||
783 | * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like | |
784 | a constant pool entry, resolve it now. | |
785 | (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass | |
786 | in natClass.cc. | |
787 | Move get_alignment_from_class to natClass.cc. | |
788 | ||
789 | * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class. | |
790 | (_Jv_AllocObjectNoInitNoFinalizer): Likewise. | |
791 | ||
792 | * defineclass.cc (checkExtends): Don't access superclass field | |
793 | directly. | |
794 | ||
795 | * Makefile.in: regenerate. | |
796 | ||
797 | * gnu/gcj/util/natDebug.cc: New | |
798 | * gnu/gcj/util/Debug.java: New. | |
799 | ||
800 | * Makefile.am (java/io/ObjectInputStream.lo): Use | |
801 | -fno-optimize-sibling-calls. | |
802 | ||
803 | * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use | |
804 | _Jv_LookupInterfaceMethodIdx to calculate the address of a method | |
805 | in an interface. | |
806 | * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface. | |
807 | ||
2c92e90f KC |
808 | 2004-11-24 Kelley Cook <kcook@gcc.gnu.org> |
809 | ||
810 | * configure: Regenerate for libtool change. | |
811 | ||
8a7228ee MK |
812 | 2004-11-24 Michael Koch <konqueror@gmx.de> |
813 | ||
814 | * gnu/java/security/PolicyFile.java: New file. | |
815 | * Makefile.am: Added gnu/java/security/PolicyFile.java. | |
816 | * Makefile.in: Regenerated. | |
817 | ||
58e594dc MK |
818 | 2004-11-24 Michael Koch <konqueror@gmx.de> |
819 | ||
820 | * java/lang/Character.java, scripts/unicode-blocks.pl: | |
821 | Reorder "final static" to "static final". | |
822 | ||
b1e6f043 MK |
823 | 2004-11-24 Michael Koch <konqueror@gmx.de> |
824 | ||
825 | * java/util/ResourceBundle.java: Reformatted. | |
826 | (tryBundle): Fixed javadoc. | |
827 | ||
9cf12765 JF |
828 | 2004-11-24 Jeroen Frijters <jeroen@frijters.net> |
829 | ||
830 | * java/text/MessageFormat.java | |
831 | (formatInternal): Made private. | |
832 | ||
7ef52736 MK |
833 | 2004-11-24 Michael Koch <konqueror@gmx.de> |
834 | ||
835 | * java/nio/DirectByteBufferImpl.java | |
836 | (ReadWrite.ReadWrite): New constructor. | |
837 | (DirectByteBufferImpl): Likewise. | |
838 | * jni.cc (_Jv_JNI_NewDirectByteBuffer): | |
839 | Use DirectByteBufferImpl.ReadWrite. | |
840 | * Makefile.am: | |
841 | Generate java/nio/DirectByteBufferImpl$ReadWrite.h. | |
842 | * Makefile.in: Rgenerated. | |
843 | ||
b4345a57 JF |
844 | 2004-11-24 Jeroen Frijters <address@bogus.example.com> |
845 | ||
846 | * java/nio/DirectByteBufferImpl.java | |
847 | (ReadOnly): New inner subclass. | |
848 | (ReadWrite): New inner subclass. | |
849 | (owner): Made final and private. | |
850 | (address): Made final. | |
851 | (DirectByteBufferImpl(int)): New constructor. | |
852 | (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor. | |
853 | (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed. | |
854 | (allocate): Modified to instantiate ReadWrite subclass. | |
855 | (finalize): Fixed to only free the buffer, if we own it. | |
856 | (put): Removed read-only check. | |
857 | (slice, duplicate): Modified to instantiate appropriate subclass. | |
858 | (isReadOnly): Removed. | |
859 | * java/nio/MappedByteBufferImpl.java | |
860 | (slice, duplicate): Modified to instantiate appropriate | |
861 | DirectByteBufferImpl subclass. | |
862 | ||
11dde1bb MK |
863 | 2004-11-24 Michael Koch <konqueror@gmx.de> |
864 | ||
865 | * gnu/java/nio/NIOServerSocket.java: Added email to @author tag. | |
866 | * java/nio/DirectByteBufferImpl.java: | |
867 | Moved native methods to java.nio.VMDirectByteBuffer class. | |
868 | * java/nio/MappedByteBufferImpl.java: | |
869 | Use native methods from java.nio.VMDirectByteBuffer class. | |
870 | * java/nio/VMDirectByteBuffer.java: New file, | |
871 | * java/nio/natDirectByteBufferImpl.cc: | |
872 | Moved all methods into java.nio.VMDirectByteBuffer class. | |
873 | * java/nio/channels/spi/AbstractSelectableChannel.java | |
874 | (register): Only re-use valid keys. | |
875 | * Makefile.am: Added java/nio/VMDirectByteBuffer.java. | |
876 | * Makefile.in: Regenerated. | |
877 | ||
b38cd28c MK |
878 | 2004-11-24 Michael Koch <konqueror@gmx.de> |
879 | ||
880 | * java/nio/DirectByteBufferImpl.java, | |
881 | java/nio/MappedByteBufferImpl.java: | |
882 | Reformatted. | |
883 | ||
1df8e834 JDA |
884 | 2004-11-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
885 | ||
886 | * testsuite/lib/libjava.exp, | |
887 | testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp. | |
888 | ||
a996709e RS |
889 | 2004-11-23 Richard Sandiford <rsandifo@redhat.com> |
890 | ||
891 | * configure.host: Enable the interpreter for mips*-*-linux*. | |
892 | ||
f8af9e28 MK |
893 | 2004-11-23 Michael Koch <konqueror@gmx.de> |
894 | ||
895 | * java/lang/String.java (rehash): Removed. | |
896 | * java/lang/natString.cc (rehash): Made static. | |
897 | (_Jv_NewStringUtf8Const): Use static rehash method. | |
898 | ||
5dc9b36b MK |
899 | 2004-11-23 Michael Koch <konqueror@gmx.de> |
900 | ||
901 | * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, | |
902 | include/Makefile.in, testsuite/Makefile.in: Regenerated. | |
903 | ||
f3968b05 EB |
904 | 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr> |
905 | ||
906 | PR target/18444 | |
907 | * configure.ac (threading): Accept 'posix95'. | |
908 | * configure: Regenerate. | |
909 | ||
392cd098 MK |
910 | 2004-11-22 Michael Koch <konqueror@gmx.de> |
911 | ||
912 | * gnu/java/nio/SocketChannelImpl.java | |
913 | (read): Made check for blocking un-ambiguous. | |
914 | Removed wrong check for data array length. | |
915 | ||
926253ee MK |
916 | 2004-11-21 Michael Koch <konqueror@gmx.de> |
917 | ||
918 | * gnu/java/nio/SocketChannelImpl.java | |
919 | (read): Only return 0 when no bytes for reading available in | |
920 | non-blocking mode. | |
921 | * java/nio/channels/SocketChannel.java: | |
922 | Added some missing @return tags. | |
923 | ||
f146ac0a MK |
924 | 2004-11-21 Michael Koch <konqueror@gmx.de> |
925 | ||
926 | * java/beans/PropertyChangeSupport.java | |
927 | (propertyChangeSupportSerializedDataVersion): Made static. | |
928 | * java/beans/VetoableChangeSupport.java | |
929 | (propertyChangeSupportSerializedDataVersion): Likewise. | |
930 | ||
c521478a MK |
931 | 2004-11-18 Jeroen Frijters <jeroen@frijters.net> |
932 | ||
933 | * java/net/URLStreamHandler.java | |
934 | (parseURL): Fixed file path canonicalisation. | |
935 | ||
6e5b5084 JF |
936 | 2004-11-18 Jeroen Frijters <jeroen@frijters.net> |
937 | ||
938 | * java/net/URLStreamHandler.java | |
939 | (parseURL): Fixed file path canonicalisation. | |
940 | ||
c4cb37ea MK |
941 | 2004-11-18 Michael Koch <konqueror@gmx.de> |
942 | ||
943 | * java/net/URLClassLoader.java: Whitespace cleanup. | |
944 | ||
fbddd18f RS |
945 | 2004-11-18 Robert Schuster <address@bogus.example.com> |
946 | ||
947 | Complete 1.4 support | |
948 | * java/beans/PropertyDescriptor.java: | |
949 | (setReadMethod): New method | |
950 | (setWriteMethod): New method | |
951 | (equals): Implemented (1.4) | |
952 | (checkMethods): operates on arguments now (private) | |
953 | ||
954 | ||
4fdb8244 MR |
955 | 2004-11-18 Mattias Rehnberg <Mattias.Rehnberg@home.se> |
956 | ||
957 | * java/net/Inet6Address.java (getHostAddress): Fix textual | |
958 | representation of IPv6 address with embedded zeroes | |
959 | to conform to RFC 2373. | |
960 | ||
a7349816 JF |
961 | 2004-11-18 Jeroen Frijters <address@bogus.example.com> |
962 | ||
963 | * java/lang/StackTraceElement.java: Made final. | |
964 | * java/nio/channels/Channels.java: Added private constructor. | |
965 | * java/rmi/Naming.java: Added private constructor. | |
966 | * java/rmi/registry/LocateRegistry.java: Added private constructor. | |
967 | * java/rmi/server/RMIClassLoader.java: Added private constructor. | |
968 | * java/security/KeyPairGeneratorSpi.java | |
969 | (clone): Made protected and simplified implementation. | |
970 | * java/text/DateFormat.java | |
971 | (allFields): Made package accessible. | |
972 | * java/text/DecimalFormat.java | |
973 | (formatInternal): Made private. | |
974 | * java/text/Format.java | |
975 | (formatInternal): Made private. | |
976 | * java/util/logging/Handler.java: Made constructor protected. | |
977 | * java/util/regex/Matcher.java: Made final. | |
978 | * java/util/regex/Pattern.java: Made final. | |
979 | * javax/crypto/CipherInputStream.java | |
980 | (mark): Corrected mark parameter type (from long to int). | |
981 | * javax/crypto/ExemptionMechanism.java | |
982 | (finalize): Added. | |
983 | * javax/crypto/Mac.java | |
984 | (getMacLength): Made final. | |
985 | (clone): Made final. | |
986 | * javax/imageio/ImageIO.java: Added private constructor. | |
987 | * javax/imageio/stream/ImageInputStreamImpl.java | |
988 | (checkClosed): Made final. | |
989 | * javax/net/ssl/SSLPermission.java: Made final. | |
990 | * javax/print/DocFlavor.java | |
991 | (hostEncoding): Added work-around to prevent the field from being | |
992 | a compile time constant. | |
993 | * javax/print/attribute/AttributeSetUtilities.java: Added private | |
994 | constructor. | |
995 | (UnmodifiableDocAttributeSet): Made private. | |
996 | (UnmodifiablePrintJobAttributeSet): Made private. | |
997 | (UnmodifiablePrintRequestAttributeSet): Made private. | |
998 | (UnmodifiablePrintServiceAttributeSet): Made private. | |
999 | (SynchronizedAttributeSet): Made private. | |
1000 | (SynchronizedDocAttributeSet): Made private. | |
1001 | (SynchronizedPrintJobAttributeSet): Made private. | |
1002 | (SynchronizedPrintRequestAttributeSet): Made private. | |
1003 | (SynchronizedPrintServiceAttributeSet): Made private. | |
1004 | * javax/security/auth/PrivateCredentialPermission.java: Made final. | |
1005 | ||
f0b4747b CB |
1006 | 2004-11-18 Craig Black <craig.black@aonix.com> |
1007 | ||
1008 | * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting. | |
1009 | ||
21a0c6e0 KL |
1010 | 2004-11-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> |
1011 | ||
1012 | * Makefile.am: Correct friend function declaration. | |
1013 | * Makefile.in: Regenerated. | |
1014 | * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add | |
1015 | scope to function names. Declare functions directly. | |
1016 | * libjava/java/lang/Class.h | |
1017 | (java::lang::Class): Correct friend class declaration. | |
1018 | (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global | |
1019 | scope. | |
1020 | * libjava/java/lang/Class.h | |
1021 | (java::lang::Object): Correct friend class declaration. | |
1022 | ||
188cd44d DD |
1023 | 2004-11-17 David Daney <ddaney@avtrex.com> |
1024 | ||
1025 | * java/io/BufferedInputStream.java (skip): Return zero on EOF. | |
1026 | ||
ff6e1bc0 MK |
1027 | 2004-11-17 Michael Koch <konqueror@gmx.de> |
1028 | ||
1029 | * java/net/Socket.java (getPort): Return 0 in error case. | |
1030 | ||
4dbbd945 MK |
1031 | 2004-11-17 Michael Koch <konqueror@gmx.de> |
1032 | ||
1033 | * java/nio/DirectByteBufferImpl.java | |
1034 | (owner): Updated comment. | |
1035 | (allocate): New method. | |
1036 | ||
f6bf324d MK |
1037 | 2004-11-17 Michael Koch <konqueror@gmx.de> |
1038 | ||
1039 | * java/net/URL.java (URL): Handle case when argument is null. | |
1040 | ||
866212e7 MK |
1041 | 2004-11-17 Michael Koch <konqueror@gmx.de> |
1042 | ||
1043 | * java/beans/Beans.java, | |
1044 | java/beans/PropertyChangeEvent.java, | |
1045 | java/beans/PropertyEditorSupport.java: | |
1046 | Fixed javadocs. | |
1047 | ||
2cc07ffc MK |
1048 | 2004-11-17 Michael Koch <konqueror@gmx.de> |
1049 | ||
1050 | * java/util/Timer.java (DEFAULT_SIZE): Made static. | |
1051 | ||
879245b6 MK |
1052 | 2004-11-17 Michael Koch <konqueror@gmx.de> |
1053 | ||
1054 | * java/net/InetAddress.java (getCanonicalHostName): | |
1055 | Support IPv6 addresses. | |
1056 | ||
0b434932 MK |
1057 | 2004-11-16 Michael Koch <konqueror@gmx.de> |
1058 | ||
1059 | * java/lang/Object.java: Added javadocs all over (merged from GNU | |
1060 | classpath). | |
1061 | ||
fd9065b2 AT |
1062 | 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch> |
1063 | ||
1064 | * java/security/Security.java (Security): Silence the warning about no | |
1065 | providers found in the no debug case. | |
1066 | ||
0a56af0b MK |
1067 | 2004-11-16 Michael Koch <konqueror@gmx.de> |
1068 | ||
1069 | * java/net/InetAddress.java | |
1070 | (toString): Merged from GNU classpath. | |
1071 | ||
c1d36a89 MK |
1072 | 2004-11-16 Michael Koch <konqueror@gmx.de> |
1073 | ||
1074 | * java/awt/geom/doc-files/Area-1.png, | |
1075 | java/awt/geom/doc-files/Ellipse-1.png, | |
1076 | java/awt/geom/doc-files/GeneralPath-1.png: | |
1077 | New files. | |
1078 | ||
83e620bb MK |
1079 | 2004-11-16 Michael Koch <konqueror@gmx.de> |
1080 | ||
1081 | * java/util/Currency.java (cache): Fix modifier order. | |
1082 | ||
be06f47b MK |
1083 | 2004-11-16 Michael Koch <konqueror@gmx.de> |
1084 | ||
1085 | * java/io/BufferedReader.java, | |
1086 | java/io/FileInputStream.java, | |
1087 | java/io/FileOutputStream.java, | |
1088 | java/io/FileWriter.java, | |
1089 | java/io/OutputStreamWriter.java, | |
1090 | java/io/PipedInputStream.java, | |
1091 | java/io/PipedOutputStream.java, | |
1092 | java/io/PipedReader.java, | |
1093 | java/io/PipedWriter.java, | |
1094 | java/io/PrintStream.java, | |
1095 | java/io/PushbackInputStream.java, | |
1096 | java/io/RandomAccessFile.java, | |
1097 | java/io/Reader.java, | |
1098 | java/io/StreamTokenizer.java, | |
1099 | java/io/StringReader.java, | |
1100 | java/net/NetworkInterface.java, | |
1101 | java/net/URLClassLoader.java, | |
1102 | java/nio/ByteOrder.java, | |
1103 | java/nio/channels/Channel.java: | |
1104 | Fixed javadocs all over. | |
1105 | ||
6917e657 AT |
1106 | 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch> |
1107 | ||
1108 | * Makefile.am: Add imported files. | |
1109 | * Makefile.in: Regenerate. | |
1110 | ||
1111 | 2004-10-24 Casey Marshall <csm@gnu.org> | |
1112 | ||
1113 | * javax/security/auth/login/LoginContext.java: Implemented. | |
1114 | * javax/security/auth/login/Configuration.java (getConfig): New method. | |
1115 | * javax/security/auth/spi/LoginModule.java, | |
1116 | * gnu/java/security/action/GetSecurityPropertyAction.java: New files. | |
1117 | ||
50714886 AT |
1118 | 2004-11-15 Andreas Tobler <a.tobler@schweiz.ch> |
1119 | ||
1120 | Import/Merge the X.509 certificate code from Classpath. | |
1121 | ||
1122 | * Makefile.am: Add imported files. | |
1123 | * Makefile.in: Regenerate. | |
1124 | ||
1125 | 2004-11-07 Casey Marshall <csm@gnu.org> | |
1126 | ||
1127 | * gnu/java/security/provider/Gnu.java(<init>): Add entries in a | |
1128 | priviliged action. Add new algorithms. | |
1129 | * gnu/java/security/provider/X509CertificateFactory.java | |
1130 | (engineGenerateCertificate): Chain exceptions. | |
1131 | (engineGenerateCertificates): Likewise. | |
1132 | (engineGenerateCRL): Likewise. | |
1133 | (engineGenerateCRLs): Likewise. | |
1134 | (engineGenerateCertPath): New methods. | |
1135 | (generateCert): Throw exception if 'inStream' is null. | |
1136 | (generateCRL): Likewise. | |
1137 | * gnu/java/security/x509/X500DistinguishedName.java: Replaced with | |
1138 | version from GNU Crypto CVS. | |
1139 | * gnu/java/security/x509/X509CRL.java: Likewise. | |
1140 | * gnu/java/security/x509/X509CRLEntry.java: Likewise. | |
1141 | * gnu/java/security/x509/X509Certificate.java: Likewise. | |
1142 | * java/security/cert/TrustAnchor.java: Call 'toString' and not | |
1143 | toRFC2253. | |
1144 | * gnu/java/security/provider/CollectionCertStoreImpl.java, | |
1145 | * gnu/java/security/provider/EncodedKeyFactory.java, | |
1146 | * gnu/java/security/provider/GnuDHPublicKey.java, | |
1147 | * gnu/java/security/provider/GnuRSAPrivateKey.java, | |
1148 | * gnu/java/security/provider/GnuRSAPublicKey.java, | |
1149 | * gnu/java/security/provider/MD2withRSA.java, | |
1150 | * gnu/java/security/provider/MD4withRSA.java, | |
1151 | * gnu/java/security/provider/MD5withRSA.java, | |
1152 | * gnu/java/security/provider/PKIXCertPathValidatorImpl.java, | |
1153 | * gnu/java/security/provider/RSA.java, | |
1154 | * gnu/java/security/provider/RSAKeyFactory.java, | |
1155 | * gnu/java/security/provider/SHA1withRSA.java, | |
1156 | * gnu/java/security/x509/GnuPKIExtension.java, | |
1157 | * gnu/java/security/x509/PolicyNodeImpl.java, | |
1158 | * gnu/java/security/x509/Util.java, | |
1159 | * gnu/java/security/x509/X509CRLSelectorImpl.java, | |
1160 | * gnu/java/security/x509/X509CertPath.java, | |
1161 | * gnu/java/security/x509/X509CertSelectorImpl.java, | |
1162 | * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java, | |
1163 | * gnu/java/security/x509/ext/BasicConstraints.java, | |
1164 | * gnu/java/security/x509/ext/CRLNumber.java, | |
1165 | * gnu/java/security/x509/ext/CertificatePolicies.java, | |
1166 | * gnu/java/security/x509/ext/ExtendedKeyUsage.java, | |
1167 | * gnu/java/security/x509/ext/Extension.java, | |
1168 | * gnu/java/security/x509/ext/GeneralNames.java, | |
1169 | * gnu/java/security/x509/ext/IssuerAlternativeNames.java, | |
1170 | * gnu/java/security/x509/ext/KeyUsage.java, | |
1171 | * gnu/java/security/x509/ext/PolicyConstraint.java, | |
1172 | * gnu/java/security/x509/ext/PolicyMappings.java, | |
1173 | * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java, | |
1174 | * gnu/java/security/x509/ext/ReasonCode.java, | |
1175 | * gnu/java/security/x509/ext/SubjectAlternativeNames.java, | |
1176 | * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files. | |
1177 | ||
1178 | 2004-11-07 Casey Marshall <csm@gnu.org> | |
1179 | ||
1180 | * gnu/java/security/x509/X509CRL.java: | |
1181 | Missed import statements in previous checkin. | |
1182 | ||
1183 | 2004-11-07 Casey Marshall <csm@gnu.org> | |
1184 | ||
1185 | * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference | |
1186 | to 'X509CertificateImpl' from previous checkin. | |
1187 | ||
690e11b8 AP |
1188 | 2004-11-12 Andrew Pinski <pinskia@physics.uc.edu> |
1189 | ||
1190 | PR other/14264 | |
1191 | * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C. | |
1192 | ||
2941ddc4 CM |
1193 | 2004-11-11 Casey Marshall <csm@gnu.org> |
1194 | ||
1195 | * gnu/java/nio/FileLock.java (isValid): locks are valid if the | |
1196 | channel is open. | |
1197 | * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use | |
1198 | 'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks. | |
1199 | ||
5fd40200 | 1200 | 2004-11-11 Robert Schuster <thebohemian@gmx.net> |
50714886 AT |
1201 | |
1202 | Fixed regression: | |
1203 | * gnu/java/beans/IntrospectionIncubator.java: | |
1204 | (addMethod): Corrected classification of normal and property methods. | |
1205 | (capitalize): Added documentation. | |
1206 | (DoubleKey): [class] Added documentation. | |
5fd40200 | 1207 | |
cdf87ecb TT |
1208 | 2004-11-09 Tom Tromey <tromey@redhat.com> |
1209 | ||
1210 | * include/jni.h: Added FIXME. | |
1211 | ||
763f47ee TT |
1212 | 2004-11-08 Tom Tromey <tromey@redhat.com> |
1213 | ||
1214 | * java/util/GregorianCalendar.java: Removed unused imports. | |
1215 | * java/util/Vector.java: Removed unused import. | |
1216 | ||
d060a30b MW |
1217 | 2004-11-07 Michael Koch <konqueror@gmx.de> |
1218 | ||
1219 | * java/lang/Process.java: | |
1220 | Import cleanups. | |
1221 | ||
1222 | 2004-11-07 Jeroen Frijters <jeroen@frijters.net> | |
1223 | ||
1224 | * java/util/zip/ZipEntry.java | |
1225 | (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final. | |
1226 | ||
c2914ce5 RS |
1227 | 2004-11-07 Robert Schuster <theBohemian@gmx.net> |
1228 | ||
1229 | Fixes bug #10908 | |
1230 | * gnu/java/beans/IntrospectionIncubator.java: | |
1231 | (addMethod): static methods are discarded now, too. | |
1232 | ||
43962ff9 AJH |
1233 | 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org> |
1234 | ||
1235 | * java/util/GregorianCalendar.java | |
1236 | Added/amended documentation. | |
1237 | ||
70c67ff5 AJH |
1238 | 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org> |
1239 | ||
1240 | * java/util/Collections.java | |
1241 | Added documentation. | |
1242 | * java/util/SortedMap.java | |
1243 | Clarified some method examples. | |
1244 | * java/util/SortedSet.java | |
1245 | Clarified some method examples. | |
1246 | ||
bfda8308 AJH |
1247 | 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org> |
1248 | ||
1249 | * java/util/Currency.java | |
1250 | Documented variables and methods more fully. | |
1251 | Caches the currency instances, so that a request | |
1252 | for a locale, l, only ever returns the same | |
1253 | instance (i.e. successive calls to getInstance(l) | |
1254 | are reference equivalent (==)). | |
1255 | ||
6dd70904 AJH |
1256 | 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org> |
1257 | ||
1258 | * java/util/Date.java | |
1259 | Added missing documentation. | |
1260 | ||
d56ab5d2 MK |
1261 | 2004-11-06 Michael Koch <konqueror@gmx.de> |
1262 | ||
1263 | * java/util/zip/CheckedInputStream.java, | |
1264 | java/util/zip/InflaterInputStream.java, | |
1265 | java/util/zip/ZipFile.java, | |
1266 | java/util/zip/ZipInputStream.java: | |
1267 | Import cleanups. | |
1268 | ||
9ec0f3c8 TT |
1269 | 2004-11-06 Tom Tromey <tromey@redhat.com> |
1270 | ||
1271 | * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now | |
1272 | package-private. | |
1273 | (connections): Likewise. | |
1274 | (scavenger): Likewise. | |
1275 | * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now | |
1276 | package-private. | |
1277 | * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now | |
1278 | package-private. | |
1279 | (ptr): Likewise. | |
1280 | * gnu/classpath/ServiceFactory.java (log): Now package-private. | |
1281 | ||
ab6036c8 TT |
1282 | 2004-11-06 Tom Tromey <tromey@redhat.com> |
1283 | ||
1284 | * javax/naming/directory/BasicAttributes.java (attributes): Now | |
1285 | package-private. | |
1286 | * javax/imageio/spi/ServiceRegistry.java (categories): Now | |
1287 | package-private. | |
1288 | ||
92002f50 TT |
1289 | 2004-11-06 Tom Tromey <tromey@redhat.com> |
1290 | ||
1291 | * java/net/URLClassLoader.java (URLClassLoader): Now | |
1292 | package-private. | |
1293 | * java/nio/charset/CoderResult.java (CoderResult): Now | |
1294 | package-private. | |
1295 | (get): Likewise. | |
1296 | (Cache): Likewise. Don't synchronize on `this'. | |
1297 | * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now | |
1298 | package-private. | |
1299 | * java/util/TimeZone.java (timezones): Now package-private. | |
1300 | ||
96859aa4 TT |
1301 | 2004-11-06 Tom Tromey <tromey@redhat.com> |
1302 | ||
1303 | * java/security/Permissions.java (perms): Now package-private. | |
1304 | * java/security/UnresolvedPermission.java (permissions): Now | |
1305 | package-private. | |
1306 | ||
d28f3078 TT |
1307 | 2004-11-06 Tom Tromey <tromey@redhat.com> |
1308 | ||
1309 | * java/io/FilePermission.java: Reindented. | |
1310 | ||
7771b8da TT |
1311 | 2004-11-06 Tom Tromey <tromey@redhat.com> |
1312 | ||
1313 | * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now | |
1314 | package-private. | |
1315 | (setBlockDataMode): Likewise. | |
1316 | ||
91229668 TT |
1317 | 2004-11-06 Tom Tromey <tromey@redhat.com> |
1318 | ||
1319 | * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now | |
1320 | package-private. | |
1321 | (Encoder): Likewise. | |
1322 | * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private. | |
1323 | (Encoder): Likewise. | |
1324 | * gnu/java/nio/charset/US_ASCII.java (Decoder): Now | |
1325 | package-private. | |
1326 | (Encoder): Likewise. | |
1327 | ||
6c56bdc2 MW |
1328 | 2004-11-06 Mark Wielaard <mark@klomp.org> |
1329 | ||
1330 | * Makefile.am: Add new javax.imageio files. | |
1331 | * Makefile.in: Regenerated. | |
1332 | ||
1333 | 2004-11-06 Michael Koch <konqueror@gmx.de> | |
1334 | ||
1335 | * javax/imageio/event/IIOReadProgressListener.java, | |
1336 | javax/imageio/event/IIOReadUpdateListener.java, | |
1337 | javax/imageio/event/IIOReadWarningListener.java, | |
1338 | javax/imageio/event/IIOWriteProgressListener.java, | |
1339 | javax/imageio/event/IIOWriteWarningListener.java, | |
1340 | javax/imageio/metadata/IIOMetadataFormat.java, | |
1341 | javax/imageio/stream/FileCacheImageInputStream.java, | |
1342 | javax/imageio/stream/FileCacheImageOutputStream.java, | |
1343 | javax/imageio/stream/ImageInputStreamImpl.java: | |
1344 | Import cleanup. | |
1345 | * javax/imageio/metadata/package.html: New file. | |
1346 | ||
1347 | 2004-11-06 Michael Koch <konqueror@gmx.de> | |
1348 | ||
1349 | * javax/imageio/spi/ImageReaderSpi.java | |
1350 | (isOwnReader): New method. | |
1351 | * javax/imageio/spi/ImageWriterSpi.java | |
1352 | (isOwnWriter): Likewise. | |
1353 | ||
1354 | 2004-11-06 Michael Koch <konqueror@gmx.de> | |
1355 | ||
1356 | * javax/imageio/ImageWriter.java | |
1357 | (convertImageMetadata): New abstract method. | |
1358 | (convertStreamMetadata): Likewise. | |
1359 | (write): Likewise. | |
1360 | * javax/imageio/stream/FileCacheImageInputStream.java | |
1361 | (close): Fixed setting of stream to null. | |
1362 | (checkStreamClosed): Throws IOException. | |
1363 | ||
1364 | 2004-11-06 Michael Koch <konqueror@gmx.de> | |
1365 | ||
1366 | * javax/imageio/stream/FileCacheImageInputStream.java, | |
1367 | javax/imageio/stream/FileCacheImageOutputStream.java, | |
1368 | javax/imageio/stream/FileImageInputStream.java, | |
1369 | javax/imageio/stream/FileImageOutputStream.java, | |
1370 | javax/imageio/stream/MemoryCacheImageInputStream.java, | |
1371 | javax/imageio/stream/MemoryCacheImageOutputStream.java: | |
1372 | New files. | |
1373 | ||
1374 | 2004-11-06 Michael Koch <konqueror@gmx.de> | |
1375 | ||
1376 | * javax/imageio/metadata/IIOInvalidTreeException.java, | |
1377 | javax/imageio/metadata/IIOMetadataFormatImpl.java, | |
1378 | javax/imageio/metadata/IIOMetadataNode.java: | |
1379 | New stub files. | |
1380 | ||
1381 | 2004-11-06 Michael Koch <konqueror@gmx.de> | |
1382 | ||
1383 | * javax/imageio/stream/ImageInputStreamImpl.java, | |
1384 | javax/imageio/stream/ImageOutputStreamImpl.java: | |
1385 | New files. | |
1386 | ||
1387 | 2004-11-06 Michael Koch <konqueror@gmx.de> | |
1388 | ||
1389 | * javax/imageio/ImageIO.java: | |
1390 | Added much new methods. | |
1391 | ||
1392 | 2004-11-06 Michael Koch <konqueror@gmx.de> | |
1393 | ||
1394 | * javax/imageio/ImageReader.java, | |
1395 | javax/imageio/ImageWriter.java, | |
1396 | javax/imageio/spi/ImageWriterSpi.java: | |
1397 | Add SOME new methods. | |
1398 | ||
1399 | 2004-11-06 Michael Koch <konqueror@gmx.de> | |
1400 | ||
1401 | * javax/imageio/IIOParam.java, | |
1402 | javax/imageio/ImageReadParam.java, | |
1403 | javax/imageio/ImageReader.java, | |
1404 | javax/imageio/ImageWriter.java: | |
1405 | Mostly implemented. | |
1406 | * javax/imageio/spi/ImageReaderSpi.java, | |
1407 | javax/imageio/spi/ImageWriterSpi.java: | |
1408 | New files. | |
1409 | ||
1410 | 2004-11-06 Michael Koch <konqueror@gmx.de> | |
1411 | ||
1412 | * javax/imageio/ImageWriteParam.java, | |
1413 | javax/imageio/metadata/IIOMetadataFormat.java: | |
1414 | Implemented. | |
1415 | ||
1416 | 2004-11-06 Michael Koch <konqueror@gmx.de> | |
1417 | ||
1418 | * javax/imageio/ImageTypeSpecifier.java: | |
1419 | Mostly implemented. | |
1420 | ||
1421 | 2004-11-06 Michael Koch <konqueror@gmx.de> | |
1422 | ||
1423 | * javax/imageio/metadata/IIOMetadata.java: | |
1424 | Mostly implemented. | |
1425 | ||
1426 | 2004-11-06 Michael Koch <konqueror@gmx.de> | |
1427 | ||
1428 | * javax/imageio/IIOImage.java, | |
1429 | javax/imageio/ImageReadParam.java, | |
1430 | javax/imageio/metadata/IIOMetadataController.java, | |
1431 | javax/imageio/metadata/IIOMetadataFormat.java: | |
1432 | New files. | |
1433 | * javax/imageio/stream/ImageOutputStream.java: | |
1434 | Implemented. | |
1435 | ||
1436 | 2004-11-06 Michael Koch <konqueror@gmx.de> | |
1437 | ||
1438 | * javax/imageio/IIOParam.java, | |
1439 | javax/imageio/IIOParamController.java, | |
1440 | javax/imageio/ImageTypeSpecifier.java, | |
1441 | javax/imageio/ImageWriteParam.java, | |
1442 | javax/imageio/metadata/IIOMetadata.java: | |
1443 | New files. | |
1444 | * javax/imageio/ImageTranscoder.java: | |
1445 | Implemented. | |
1446 | ||
1447 | 2004-11-06 Michael Koch <konqueror@gmx.de> | |
1448 | ||
1449 | * javax/imageio/spi/ImageInputStreamSpi.java, | |
1450 | javax/imageio/spi/ImageOutputStreamSpi.java: | |
1451 | Reworked import startments. | |
1452 | * javax/imageio/spi/ServiceRegistry.java: | |
1453 | Reworked import startments. Fixed XHTML in javadocs. | |
1454 | (ServiceRegistry): Added @param tag to javadoc. | |
1455 | * javax/imageio/stream/ImageInputStream.java | |
1456 | (mark): Doesn't throws IOException; | |
1457 | ||
1458 | 2004-11-06 Michael Koch <konqueror@gmx.de> | |
1459 | ||
1460 | * javax/imageio/ImageIO.java: | |
1461 | New file. | |
1462 | ||
1463 | 2004-11-06 Michael Koch <konqueror@gmx.de> | |
1464 | ||
1465 | * javax/imageio/spi/IIORegistry.java | |
1466 | (static): Don't register ImageReaderSpi.class and | |
1467 | ImageWriterSpi.class yet. | |
1468 | ||
1469 | 2004-11-06 Michael Koch <konqueror@gmx.de> | |
1470 | ||
1471 | * javax/imageio/spi/IIORegistry.java: | |
1472 | New file. | |
1473 | ||
8d43449b NR |
1474 | 2004-11-06 Noa Resare <noa@resare.com> |
1475 | ||
1476 | * java/net/Socket.java (getPort): Return 0 instead of -1 on | |
1477 | unconnected sockets. | |
1478 | ||
c2e999df MK |
1479 | 2004-11-06 Michael Koch <konqueror@gmx.de> |
1480 | ||
1481 | * java/lang/StringBuffer.java, | |
1482 | java/lang/Throwable.java, | |
1483 | java/security/spec/DSAParameterSpec.java, | |
1484 | java/util/zip/ZipEntry.java, | |
1485 | java/util/zip/ZipFile.java, | |
1486 | java/util/zip/ZipInputStream.java, | |
1487 | java/util/zip/ZipOutputStream.java: | |
1488 | Removed redundant and reordered modifiers. | |
1489 | ||
03e9b849 MR |
1490 | 2004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se> |
1491 | ||
1492 | * java/io/Vector.java | |
1493 | (writeObject): New function to serialized output thread safe. | |
1494 | ||
1495 | * java/io/ObjectOutputStream.java | |
1496 | (writeObject): Move the assignment of the class handle to after | |
1497 | the assignment of class descriptor handle. | |
1498 | ||
6ea123ce RS |
1499 | 2004-11-06 Robert Schuster <thebohemian@gmx.net> |
1500 | ||
1501 | Fixes documentation and indentation | |
1502 | * java/beans/PropertyEditorSupport.java: | |
1503 | reworked initial API doc | |
1504 | (value): changed name from val | |
1505 | ||
1506 | 2004-11-06 Robert Schuster <thebohemian@gmx.net> | |
1507 | ||
1508 | Updates to 1.5 | |
1509 | * java/beans/PropertyEditorSupport.java | |
1510 | (PropertyEditorSupport()): Changed modifier to public | |
1511 | (PropertyEditorSupport(Object): Changed modifier to public | |
1512 | (setSource): New method | |
1513 | (getSource): New method | |
1514 | ||
1515 | 2004-11-06 Robert Schuster <thebohemian@gmx.net> | |
1516 | ||
1517 | Fixes bug #10799 | |
1518 | * java/beans/PropertyEditorSupport.java | |
1519 | (setValue): Fire property change event | |
1520 | ||
cb0be2e7 TT |
1521 | 2004-11-03 Tom Tromey <tromey@redhat.com> |
1522 | ||
1523 | * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type. | |
1524 | * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now | |
1525 | returns jobjectArray. | |
1526 | (_Jv_JNIEnv::NewObjectArray): Likewise. | |
1527 | ||
939347bb TT |
1528 | 2004-11-01 Tom Tromey <tromey@redhat.com> |
1529 | ||
1530 | * verify.cc (state::check_no_uninitialized_objects): Removed. | |
1531 | (push_jump): Updated. | |
1532 | (push_exception_jump): Likewise. | |
1533 | (handle_ret_insn): Likewise. | |
1534 | (handle_jsr_insn): Likewise. | |
1535 | ||
5dc8952e MW |
1536 | 2004-10-30 Mark Wielaard <mark@klomp.org> |
1537 | ||
1538 | PR libgcj/18234 | |
1539 | * java/lang/Runtime.java (static): Call init(). | |
1540 | (Runtime): Remove call to init(). | |
1541 | (init): Make static. | |
1542 | ||
86ce0e3d DD |
1543 | 2004-10-28 David Daney <ddaney@avtrex.com> |
1544 | ||
1545 | * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file. | |
1546 | * Makefile.am: Build it. | |
1547 | * Makefile.in: Regenerate. | |
1548 | ||
349e19d4 AL |
1549 | 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com> |
1550 | ||
1551 | PR libgcj/18104 | |
1552 | * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a | |
1553 | colon. | |
1554 | * Makefile.in: Regenerate. | |
1555 | * configure: Regenerate. | |
1556 | * configure.ac (CLASSPATH_SEPARATOR): Define. | |
1557 | * gcj/Makefile.in: Regenerate. | |
1558 | * include/Makefile.in: Regenerate. | |
1559 | * testsuite/Makefile.in: Regenerate. | |
1560 | * testsuite/lib/libjava.exp (libjava_arguments): Fix | |
1561 | CLASSPATH separator handling for Windows. | |
1562 | ||
8db8c940 MK |
1563 | 2004-10-26 Michael Koch <konqueror@gmx.de> |
1564 | ||
1565 | * gnu/java/net/protocol/http/Connection.java | |
1566 | (getOutputStream): Implicitely switch to POST method. | |
1567 | ||
ea0ffdd2 KL |
1568 | 2004-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> |
1569 | ||
1570 | * libjava/java/lang/Class.h | |
1571 | (java::lang::Class): Correct friend class declaration. | |
1572 | ||
f1a66265 GK |
1573 | 2004-10-25 Geoffrey Keating <geoffk@apple.com> |
1574 | ||
1575 | * Makefile.am (DARWIN_CRT_SRC): New. | |
1576 | (libgcj_la_SOURCES): Use it. | |
1577 | * configure.ac: Define USING_DARWIN_CRT when on Darwin. | |
1578 | * darwin.cc: New file. | |
1579 | * include/jvm.h (_Jv_RegisterClasses): Constify. | |
1580 | (_Jv_RegisterClasses_Counted): New prototype. | |
1581 | * java/lang/Class.h: Include stddef.h. | |
1582 | (_Jv_RegisterClasses): Constify. | |
1583 | (_Jv_RegisterClasses_Counted): New prototype. | |
1584 | (Object): Make '_Jv_RegisterClasses_Counted' a friend. | |
1585 | * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify. | |
1586 | (_Jv_RegisterClasses_Counted): New function. | |
1587 | * configure: Regenerate. | |
1588 | * Makefile.in: Regenerate. | |
1589 | * gcj/Makefile.in: Regenerate. | |
1590 | * include/Makefile.in: Regenerate. | |
1591 | * testsuite/Makefile.in: Regenerate. | |
1592 | ||
4cd26879 TT |
1593 | 2004-10-25 Tom Tromey <tromey@redhat.com> |
1594 | ||
1595 | * java/util/ResourceBundle.java (tryBundle): Use | |
1596 | Class.isAssignableFrom rather than catching ClassCastException. | |
1597 | ||
6fc058da TT |
1598 | 2004-10-25 Tom Tromey <tromey@redhat.com> |
1599 | ||
1600 | * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't | |
1601 | initialize `iter'. | |
1602 | * gnu/java/text/SentenceBreakIterator.java | |
1603 | (SentenceBreakIterator): Don't initialize `iter'. | |
1604 | * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't | |
1605 | initialize `iter'. | |
1606 | * gnu/java/text/CharacterBreakIterator.java | |
1607 | (CharacterBreakIterator): Don't initialize `iter'. | |
1608 | * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New | |
1609 | constructor. | |
1610 | * java/text/BreakIterator.java: Updated documentation. | |
1611 | ||
1e02510f EB |
1612 | 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr> |
1613 | ||
1614 | PR other/18138 | |
1615 | * testsuite/lib/libjava.exp: Accept more than one multilib libgcc. | |
1616 | ||
b1a70a1a MK |
1617 | 2004-10-23 Michael Koch <konqueror@gmx.de> |
1618 | ||
1619 | * javax/print/DocFlavor.java, | |
1620 | javax/print/attribute/standard/JobStateReason.java, | |
1621 | javax/print/attribute/standard/MultipleDocumentHandling.java: | |
1622 | Added missing constants. | |
1623 | ||
aced40e9 TT |
1624 | 2004-10-22 Tom Tromey <tromey@redhat.com> |
1625 | ||
1626 | * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix | |
1627 | typo. | |
1628 | ||
7758f90a MK |
1629 | 2004-10-22 Michael Koch <konqueror@gmx.de> |
1630 | ||
1631 | PR libjava/14009 | |
1632 | * gnu/java/net/protocol/http/Connection.java | |
1633 | (sendRequest): Handle case when url.getFile() returns an empty string. | |
1634 | ||
0460023e MK |
1635 | 2004-10-22 Michael Koch <konqueror@gmx.de> |
1636 | ||
7651d1b8 MK |
1637 | * java/lang/Math.java, |
1638 | java/lang/StackTraceElement.java, | |
1639 | java/nio/Buffer.java, | |
1640 | java/nio/ByteBuffer.java, | |
1641 | java/nio/CharBuffer.java, | |
1642 | java/nio/DoubleBuffer.java, | |
1643 | java/nio/FloatBuffer.java, | |
1644 | java/nio/IntBuffer.java, | |
1645 | java/nio/LongBuffer.java, | |
1646 | java/nio/ShortBuffer.java, | |
1647 | java/nio/charset/Charset.java, | |
1648 | java/rmi/server/RMIClassLoader.java, | |
1649 | java/rmi/server/RMISocketFactory.java, | |
1650 | java/security/Policy.java, | |
1651 | java/text/ChoiceFormat.java, | |
1652 | java/text/CollationElementIterator.java, | |
1653 | java/text/DateFormat.java, | |
1654 | java/text/DecimalFormat.java, | |
1655 | java/text/DecimalFormatSymbols.java, | |
1656 | java/text/MessageFormat.java, | |
1657 | java/text/NumberFormat.java, | |
1658 | java/text/RuleBasedCollator.java, | |
1659 | java/text/SimpleDateFormat.java, | |
1660 | java/util/BitSet.java, | |
1661 | java/util/Calendar.java, | |
1662 | java/util/Collections.java, | |
1663 | java/util/IdentityHashMap.java, | |
1664 | java/util/Locale.java, | |
1665 | java/util/TreeMap.java, | |
1666 | java/util/logging/LogRecord.java, | |
1667 | java/util/logging/XMLFormatter.java, | |
1668 | java/util/prefs/AbstractPreferences.java, | |
1669 | java/util/prefs/Preferences.java, | |
1670 | javax/crypto/interfaces/DHPrivateKey.java, | |
1671 | javax/crypto/interfaces/DHPublicKey.java, | |
1672 | javax/crypto/interfaces/PBEKey.java, | |
1673 | javax/net/ssl/HandshakeCompletedEvent.java, | |
1674 | javax/security/auth/Subject.java: | |
1675 | Removed redundant and reordered modifiers. | |
0460023e | 1676 | |
969def55 UW |
1677 | 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com> |
1678 | ||
1679 | * gnu/java/net/natPlainSocketImplPosix.cc | |
1680 | (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl | |
1681 | with 'int *' argument instead of 'long *'. | |
1682 | ||
8265f931 MK |
1683 | 2004-10-21 Michael Koch <konqueror@gmx.de> |
1684 | ||
1685 | * java/net/NetworkInterface.java, | |
1686 | java/text/Format.java, | |
1687 | javax/security/auth/x500/X500Principal.java, | |
1688 | javax/security/auth/x500/X500PrivateCredential.java, | |
1689 | javax/security/cert/X509CertBridge.java, | |
1690 | javax/security/sasl/Sasl.java, | |
1691 | javax/sql/XAConnection.java: | |
1692 | Import cleanup. | |
1693 | ||
875dc6aa MK |
1694 | 2004-10-21 Michael Koch <konqueror@gmx.de> |
1695 | ||
1696 | * javax/net/ssl/HandshakeCompletedEvent.java, | |
1697 | javax/net/ssl/KeyManagerFactory.java, | |
1698 | javax/net/ssl/SSLContext.java, | |
1699 | javax/net/ssl/SSLServerSocketFactory.java, | |
1700 | javax/net/ssl/SSLSession.java, | |
1701 | javax/net/ssl/SSLSocketFactory.java, | |
1702 | javax/net/ssl/TrustManagerFactory.java: | |
1703 | Import cleanup. | |
1704 | ||
2c69d1e0 MK |
1705 | 2004-10-21 Michael Koch <konqueror@gmx.de> |
1706 | ||
1707 | * javax/naming/directory/BasicAttribute.java, | |
1708 | javax/naming/directory/BasicAttributes.java, | |
1709 | javax/naming/directory/InitialDirContext.java, | |
1710 | javax/naming/event/NamingEvent.java, | |
1711 | javax/naming/ldap/ControlFactory.java, | |
1712 | javax/naming/ldap/ExtendedRequest.java, | |
1713 | javax/naming/ldap/InitialLdapContext.java, | |
1714 | javax/naming/ldap/LdapReferralException.java, | |
1715 | javax/naming/spi/DirObjectFactory.java, | |
1716 | javax/naming/spi/DirStateFactory.java, | |
1717 | javax/naming/spi/DirectoryManager.java, | |
1718 | javax/naming/spi/InitialContextFactory.java, | |
1719 | javax/naming/spi/InitialContextFactoryBuilder.java, | |
1720 | javax/naming/spi/NamingManager.java, | |
1721 | javax/naming/spi/ObjectFactory.java, | |
1722 | javax/naming/spi/ObjectFactoryBuilder.java, | |
1723 | javax/naming/spi/StateFactory.java: | |
1724 | Import cleanup. | |
1725 | ||
d69201f4 MK |
1726 | 2004-10-21 Michael Koch <konqueror@gmx.de> |
1727 | ||
1728 | * javax/crypto/Cipher.java, | |
1729 | javax/crypto/EncryptedPrivateKeyInfo.java, | |
1730 | javax/crypto/ExemptionMechanism.java, | |
1731 | javax/crypto/KeyAgreement.java, | |
1732 | javax/crypto/KeyGenerator.java, | |
1733 | javax/crypto/Mac.java, | |
1734 | javax/crypto/SecretKeyFactory.java, | |
1735 | javax/crypto/SecretKeyFactorySpi.java, | |
1736 | javax/crypto/spec/SecretKeySpec.java: | |
1737 | Import cleanup. | |
1738 | ||
78fe42c3 MK |
1739 | 2004-10-21 Michael Koch <konqueror@gmx.de> |
1740 | ||
1741 | * java/security/AlgorithmParameterGenerator.java, | |
1742 | java/security/AlgorithmParameters.java, | |
1743 | java/security/AlgorithmParametersSpi.java, | |
1744 | java/security/AllPermission.java, | |
1745 | java/security/BasicPermission.java, | |
1746 | java/security/Certificate.java, | |
1747 | java/security/CodeSource.java, | |
1748 | java/security/DigestInputStream.java, | |
1749 | java/security/DigestOutputStream.java, | |
1750 | java/security/GuardedObject.java, | |
1751 | java/security/KeyFactory.java, | |
1752 | java/security/KeyFactorySpi.java, | |
1753 | java/security/KeyPairGenerator.java, | |
1754 | java/security/KeyStore.java, | |
1755 | java/security/KeyStoreSpi.java, | |
1756 | java/security/Permissions.java, | |
1757 | java/security/Security.java, | |
1758 | java/security/Signature.java, | |
1759 | java/security/UnresolvedPermission.java, | |
1760 | java/security/cert/CertPathBuilder.java, | |
1761 | java/security/cert/CertPathValidator.java, | |
1762 | java/security/cert/CertStore.java, | |
1763 | java/security/cert/Certificate.java, | |
1764 | java/security/cert/CertificateFactory.java, | |
1765 | java/security/cert/PolicyQualifierInfo.java, | |
1766 | java/security/cert/TrustAnchor.java, | |
1767 | java/security/cert/X509CRL.java, | |
1768 | java/security/cert/X509CRLSelector.java, | |
1769 | java/security/cert/X509CertSelector.java: | |
1770 | Import cleanup. | |
1771 | ||
02db0fc1 MK |
1772 | 2004-10-21 Michael Koch <konqueror@gmx.de> |
1773 | ||
1774 | * java/rmi/MarshalledObject.java, | |
1775 | java/rmi/Naming.java, | |
1776 | java/rmi/activation/Activatable.java, | |
1777 | java/rmi/activation/ActivationGroup.java, | |
1778 | java/rmi/activation/ActivationGroupDesc.java, | |
1779 | java/rmi/activation/ActivationInstantiator.java, | |
1780 | java/rmi/activation/ActivationMonitor.java, | |
1781 | java/rmi/activation/ActivationSystem.java, | |
1782 | java/rmi/activation/Activator.java, | |
1783 | java/rmi/registry/LocateRegistry.java, | |
1784 | java/rmi/registry/Registry.java, | |
1785 | java/rmi/server/LogStream.java, | |
1786 | java/rmi/server/ObjID.java, | |
1787 | java/rmi/server/RMIClientSocketFactory.java, | |
1788 | java/rmi/server/RMIServerSocketFactory.java, | |
1789 | java/rmi/server/RMISocketFactory.java, | |
1790 | java/rmi/server/RemoteCall.java, | |
1791 | java/rmi/server/RemoteServer.java, | |
1792 | java/rmi/server/ServerRef.java, | |
1793 | java/rmi/server/UID.java, | |
1794 | java/rmi/server/UnicastRemoteObject.java: | |
1795 | Import cleanup. | |
1796 | ||
c28fdf71 TT |
1797 | 2004-10-21 Tom Tromey <tromey@redhat.com> |
1798 | ||
1799 | * java/util/zip/InflaterInputStream.java (fill): Don't throw an | |
1800 | exception if we hit EOF of `in'. | |
1801 | (read): Handle case where inflating returns -1. | |
1802 | ||
b228bf7f UW |
1803 | 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com> |
1804 | ||
1805 | * gnu/java/nio/channels/natFileChannelPosix.cc | |
1806 | (FileChannelImpl::available): Call FIONREAD ioctl with 'int *' | |
1807 | argument instead of 'long *'. | |
1808 | ||
5303e3d7 TT |
1809 | 2004-10-21 Tom Tromey <tromey@redhat.com> |
1810 | ||
1811 | * java/util/ResourceBundle.java (tryBundle): Also ignore | |
1812 | ClassCastException. | |
1813 | ||
be3d702c KK |
1814 | 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org> |
1815 | ||
1816 | * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h | |
1817 | for all sh*-*-linux* targets. | |
1818 | * configure: Regenerate. | |
1819 | * include/sh-signal.h: New file. | |
1820 | ||
2989a2f5 KI |
1821 | 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
1822 | ||
1823 | * java/lang/ieeefp.h: Add m32r support. | |
1824 | ||
b3a45023 AS |
1825 | 2004-10-20 Andreas Schwab <schwab@suse.de> |
1826 | ||
1827 | * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers | |
1828 | to uaddr, not int. | |
1829 | * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): | |
1830 | Likewise. | |
1831 | ||
a904937b MK |
1832 | 2004-10-20 Michael Koch <konqueror@gmx.de> |
1833 | ||
1834 | * javax/print/attribute/standard/ColorSupported.java, | |
1835 | javax/print/attribute/standard/Compression.java, | |
1836 | javax/print/attribute/standard/Copies.java, | |
1837 | javax/print/attribute/standard/CopiesSupported.java, | |
1838 | javax/print/attribute/standard/DateTimeAtCompleted.java, | |
1839 | javax/print/attribute/standard/DateTimeAtCreation.java, | |
1840 | javax/print/attribute/standard/DateTimeAtProcessing.java, | |
1841 | javax/print/attribute/standard/DocumentName.java, | |
1842 | javax/print/attribute/standard/Fidelity.java, | |
1843 | javax/print/attribute/standard/Finishings.java, | |
1844 | javax/print/attribute/standard/JobHoldUntil.java, | |
1845 | javax/print/attribute/standard/JobImpressions.java, | |
1846 | javax/print/attribute/standard/JobImpressionsCompleted.java, | |
1847 | javax/print/attribute/standard/JobImpressionsSupported.java, | |
1848 | javax/print/attribute/standard/JobKOctets.java, | |
1849 | javax/print/attribute/standard/JobKOctetsProcessed.java, | |
1850 | javax/print/attribute/standard/JobKOctetsSupported.java, | |
1851 | javax/print/attribute/standard/JobMediaSheets.java, | |
1852 | javax/print/attribute/standard/JobMediaSheetsCompleted.java, | |
1853 | javax/print/attribute/standard/JobMediaSheetsSupported.java, | |
1854 | javax/print/attribute/standard/JobMessageFromOperator.java, | |
1855 | javax/print/attribute/standard/JobName.java, | |
1856 | javax/print/attribute/standard/JobOriginatingUserName.java, | |
1857 | javax/print/attribute/standard/JobPriority.java, | |
1858 | javax/print/attribute/standard/JobPrioritySupported.java, | |
1859 | javax/print/attribute/standard/JobSheets.java, | |
1860 | javax/print/attribute/standard/JobState.java, | |
1861 | javax/print/attribute/standard/JobStateReason.java, | |
1862 | javax/print/attribute/standard/JobStateReasons.java, | |
1863 | javax/print/attribute/standard/Media.java, | |
1864 | javax/print/attribute/standard/MultipleDocumentHandling.java, | |
1865 | javax/print/attribute/standard/NumberOfDocuments.java, | |
1866 | javax/print/attribute/standard/NumberOfInterveningJobs.java, | |
1867 | javax/print/attribute/standard/NumberUp.java, | |
1868 | javax/print/attribute/standard/NumberUpSupported.java, | |
1869 | javax/print/attribute/standard/OrientationRequested.java, | |
1870 | javax/print/attribute/standard/OutputDeviceAssigned.java, | |
1871 | javax/print/attribute/standard/PDLOverrideSupported.java, | |
1872 | javax/print/attribute/standard/PageRanges.java, | |
1873 | javax/print/attribute/standard/PagesPerMinute.java, | |
1874 | javax/print/attribute/standard/PagesPerMinuteColor.java, | |
1875 | javax/print/attribute/standard/PrintQuality.java, | |
1876 | javax/print/attribute/standard/PrinterInfo.java, | |
1877 | javax/print/attribute/standard/PrinterIsAcceptingJobs.java, | |
1878 | javax/print/attribute/standard/PrinterLocation.java, | |
1879 | javax/print/attribute/standard/PrinterMakeAndModel.java, | |
1880 | javax/print/attribute/standard/PrinterMessageFromOperator.java, | |
1881 | javax/print/attribute/standard/PrinterMoreInfo.java, | |
1882 | javax/print/attribute/standard/PrinterMoreInfoManufacturer.java, | |
1883 | javax/print/attribute/standard/PrinterName.java, | |
1884 | javax/print/attribute/standard/PrinterStateReason.java, | |
1885 | javax/print/attribute/standard/PrinterStateReasons.java, | |
1886 | javax/print/attribute/standard/PrinterURI.java, | |
1887 | javax/print/attribute/standard/ReferenceUriSchemesSupported.java, | |
1888 | javax/print/attribute/standard/RequestingUserName.java: | |
1889 | Reorganized imports and removed redundant final modifiers. | |
1890 | ||
ccc89383 MK |
1891 | 2004-10-20 Michael Koch <konqueror@gmx.de> |
1892 | ||
1893 | * javax/security/sasl/SaslClient.java, | |
1894 | javax/security/sasl/SaslClientFactory.java, | |
1895 | javax/security/sasl/SaslException.java, | |
1896 | javax/security/sasl/SaslServer.java, | |
1897 | javax/security/sasl/SaslServerFactory.java: | |
1898 | Remvoed CVS tags. | |
1899 | ||
b99bf96a MK |
1900 | 2004-10-20 Michael Koch <konqueror@gmx.de> |
1901 | ||
1902 | * javax/security/auth/login/NullConfiguration.java, | |
1903 | javax/security/auth/x500/X500Principal.java, | |
1904 | javax/security/cert/X509Certificate.java, | |
1905 | javax/security/sasl/AuthenticationException.java, | |
1906 | javax/security/sasl/AuthorizeCallback.java, | |
1907 | javax/security/sasl/RealmCallback.java, | |
1908 | javax/security/sasl/RealmChoiceCallback.java, | |
1909 | javax/security/sasl/Sasl.java, | |
1910 | javax/security/sasl/SaslClient.java, | |
1911 | javax/security/sasl/SaslClientFactory.java, | |
1912 | javax/security/sasl/SaslException.java, | |
1913 | javax/security/sasl/SaslServer.java, | |
1914 | javax/security/sasl/SaslServerFactory.java: | |
1915 | Cleaned up import statements and copyright notices. | |
1916 | ||
659d8f1a MK |
1917 | 2004-10-20 Michael Koch <konqueror@gmx.de> |
1918 | ||
1919 | * gnu/java/rmi/rmic/RMIC.java: Reformatted. | |
1920 | ||
724c2517 MK |
1921 | 2004-10-20 Michael Koch <konqueror@gmx.de> |
1922 | ||
1923 | * java/sql/Timestamp.java, | |
1924 | java/text/AttributedCharacterIterator.java, | |
1925 | java/text/AttributedString.java, | |
1926 | java/util/zip/CheckedOutputStream.java, | |
1927 | java/util/zip/DeflaterOutputStream.java, | |
1928 | java/util/zip/ZipFile.java, | |
1929 | javax/crypto/Cipher.java, | |
1930 | javax/crypto/ExemptionMechanismException.java, | |
1931 | javax/crypto/SecretKey.java, | |
1932 | javax/crypto/SecretKeyFactory.java, | |
1933 | javax/naming/directory/ModificationItem.java, | |
1934 | javax/naming/directory/SearchControls.java, | |
1935 | javax/naming/event/NamingListener.java, | |
1936 | javax/naming/ldap/Control.java, | |
1937 | javax/naming/ldap/ExtendedResponse.java, | |
1938 | javax/net/ssl/SSLSocketFactory.java: | |
1939 | Reorganized imports and fixed copyright headers. | |
1940 | ||
fd460b77 MK |
1941 | 2004-10-20 Michael Koch <konqueror@gmx.de> |
1942 | ||
1943 | * java/util/logging/ConsoleHandler.java, | |
1944 | java/util/logging/ErrorManager.java, | |
1945 | java/util/logging/FileHandler.java, | |
1946 | java/util/logging/Filter.java, | |
1947 | java/util/logging/Formatter.java, | |
1948 | java/util/logging/Handler.java, | |
1949 | java/util/logging/Level.java, | |
1950 | java/util/logging/LogManager.java, | |
1951 | java/util/logging/LogRecord.java, | |
1952 | java/util/logging/Logger.java, | |
1953 | java/util/logging/LoggingPermission.java, | |
1954 | java/util/logging/MemoryHandler.java, | |
1955 | java/util/logging/SimpleFormatter.java, | |
1956 | java/util/logging/SocketHandler.java, | |
1957 | java/util/logging/StreamHandler.java, | |
1958 | java/util/logging/XMLFormatter.java: | |
1959 | Standardized copyrigth header. | |
1960 | ||
242b11bd MK |
1961 | 2004-10-20 Michael Koch <konqueror@gmx.de> |
1962 | ||
1963 | * java/security/AlgorithmParameterGenerator.java, | |
1964 | java/security/AlgorithmParameters.java, | |
1965 | java/security/DigestInputStream.java, | |
1966 | java/security/Identity.java, | |
1967 | java/security/KeyFactory.java, | |
1968 | java/security/KeyPairGenerator.java, | |
1969 | java/security/KeyStore.java, | |
1970 | java/security/MessageDigest.java, | |
1971 | java/security/MessageDigestSpi.java, | |
1972 | java/security/Policy.java, | |
1973 | java/security/SecureRandom.java, | |
1974 | java/security/Security.java, | |
1975 | java/security/Signature.java, | |
1976 | java/security/SignatureSpi.java, | |
1977 | java/security/cert/CertPathBuilder.java, | |
1978 | java/security/cert/CertPathValidator.java, | |
1979 | java/security/cert/CertStore.java, | |
1980 | java/security/cert/Certificate.java, | |
1981 | java/security/cert/CertificateFactory.java, | |
1982 | java/security/cert/PolicyQualifierInfo.java, | |
1983 | java/security/cert/TrustAnchor.java, | |
1984 | java/security/cert/X509CRL.java, | |
1985 | java/security/cert/X509CRLEntry.java, | |
1986 | java/security/cert/X509Certificate.java, | |
1987 | java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: | |
1988 | Import statements reorganized, some little formatting issues, | |
1989 | used java-style array declarations, added comments in empty catch | |
1990 | blocks. | |
1991 | ||
2ddfd025 JF |
1992 | 2004-10-18 Jeroen Frijters <jeroen@frijters.net> |
1993 | ||
1994 | * java/security/Security.java | |
1995 | (static): Use AccessController.doPrivileged to get system property. | |
1996 | ||
691e8c0f SM |
1997 | 2004-10-18 Sven de Marothy <sven@physto.se> |
1998 | ||
1999 | * java/nio/ByteBufferHelper.java | |
2000 | (putDouble): Use Double.toRawLongBits instead. | |
2001 | ||
bc2fed82 MW |
2002 | 2004-10-18 Mark Wielaard <mark@klomp.org> |
2003 | Andrew Haley <aph@redhat.com> | |
2004 | ||
2005 | * testsuite/libjava.lang/ExtraClassLoader.java: New. | |
2006 | ||
963ebe78 AH |
2007 | 2004-10-18 Andrew Haley <aph@redhat.com> |
2008 | ||
2009 | PR java/18036: | |
2010 | * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize | |
2011 | and correct logic used to find interpreter. | |
2012 | ||
e5871096 JF |
2013 | 2004-10-18 Jeroen Frijters <jeroen@frijters.net> |
2014 | ||
2015 | * java/util/logging/LogManager.java | |
2016 | (findAncestor): Fixed IndexOutOfBoundsException. | |
2017 | ||
0736f19f MK |
2018 | 2004-10-18 Michael Koch <konqueror@gmx.de> |
2019 | ||
2020 | * java/io/BufferedInputStream.java: Fixed @author tag. | |
2021 | (read): Simplified expression. | |
2022 | (read): Merged javadoc a bit more. | |
2023 | (read): Renamed 'remain' to 'totalBytesRead'. | |
2024 | * java/io/DataInputStream.java, | |
2025 | java/io/DataOutputStream.java, | |
2026 | java/io/ObjectInputStream.java, | |
2027 | java/io/ObjectOutputStream.java: | |
2028 | Reworked modifier order. | |
2029 | ||
df397ce2 MK |
2030 | 2004-10-18 Michael Koch <konqueror@gmx.de> |
2031 | ||
2032 | * java/net/Inet4Address.java: Merged file header and javadocs. | |
2033 | * java/net/Inet6Address.java: Likewise. | |
2034 | * java/net/InetAddress.java | |
2035 | (getCanonicalHostName): Create Inet4Address object instead of | |
2036 | InetAddress and add comment regarding IPv6. | |
2037 | (toString): Simplified. | |
2038 | ||
2c661756 MK |
2039 | 2004-10-18 Michael Koch <konqueror@gmx.de> |
2040 | ||
2041 | * gnu/java/net/protocol/http/Connection.java, | |
2042 | java/nio/MappedByteBufferImpl.java, | |
2043 | java/text/RuleBasedCollator.java, | |
2044 | java/util/ResourceBundle.java: | |
2045 | Reworked import statements. | |
2046 | ||
2047 | 2004-10-18 Jeroen Frijters <jeroen@frijters.net> | |
2048 | ||
2049 | * java/security/IdentityScope.java | |
2050 | (systemScope): Removed useless initializer. | |
2051 | * java/security/Policy.java | |
2052 | (currentPolicy): Likewise. | |
2053 | ||
33308026 MK |
2054 | 2004-10-18 Michael Koch <konqueror@gmx.de> |
2055 | ||
2056 | * java/lang/System.java: Revert accidential change. | |
2057 | ||
2047d8e4 MK |
2058 | 2004-10-18 Michael Koch <konqueror@gmx.de> |
2059 | ||
2060 | * java/lang/Math.java, | |
2061 | java/lang/Package.java, | |
2062 | java/lang/Runtime.java, | |
2063 | java/lang/StrictMath.java, | |
2064 | java/lang/System.java, | |
2065 | java/lang/Thread.java, | |
2066 | java/lang/ThreadLocal.java, | |
2067 | java/lang/Void.java: | |
2068 | Reworked import statements, HTML in javadocs and modifier orders. | |
2069 | ||
36071b5c JF |
2070 | 2004-10-18 Jeroen Frijters <jeroen@frijters.net> |
2071 | ||
2072 | * java/util/Timer.java | |
2073 | (nr): Removed useless initializer. | |
2074 | * java/util/logging/LogRecord.java | |
2075 | (lastSeqNum): Likewise. | |
2076 | * javax/naming/spi/NamingManager.java | |
2077 | (icfb, ofb): Likewise. | |
2078 | ||
73aab3de MK |
2079 | 2004-10-18 Michael Koch <konqueror@gmx.de> |
2080 | ||
2081 | * gnu/java/net/PlainDatagramSocketImpl.java: | |
2082 | Reworked import statements. | |
2083 | * gnu/java/security/provider/DSAParameters.java: | |
2084 | Fixed copyrigth years. | |
2085 | * java/net/JarURLConnection.java: | |
2086 | Fixed HTML in @author tags. | |
2087 | ||
2088 | ||
4e2721c3 MK |
2089 | 2004-10-18 Michael Koch <konqueror@gmx.de> |
2090 | ||
2091 | * java/rmi/activation/ActivationSystem.java | |
2092 | (SYSTEM_PORT): Initialize with correct port number. | |
2093 | ||
7b040d4c MK |
2094 | 2004-10-18 Michael Koch <konqueror@gmx.de> |
2095 | ||
2096 | * java/lang/reflect/Proxy.java: Improved javadocs. | |
2097 | ||
2098 | 2004-10-18 Michael Koch <konqueror@gmx.de> | |
2099 | ||
2100 | * java/lang/reflect/AccessibleObject.java | |
2101 | (checkPermission): Removed redundant final modifier. | |
2102 | (secureSetAccessible): Likewise. | |
2103 | * java/lang/reflect/Proxy.java: | |
2104 | Reworked import statements. | |
2105 | (generate): Removed redundant final modifier. | |
2106 | * java/lang/reflect/ReflectPermission.java: | |
2107 | Reorder package declaration and import statement. | |
2108 | ||
2109 | 2004-10-18 Jeroen Frijters <jeroen@frijters.net> | |
2110 | ||
2111 | * java/lang/reflect/Proxy.java | |
2112 | (count): Removed useless initializer. | |
2113 | ||
05dfb0b0 MK |
2114 | 2004-10-17 Michael Koch <konqueror@gmx.de> |
2115 | ||
2116 | * java/net/BindException.java, | |
2117 | java/net/ConnectException.java, | |
2118 | java/net/ContentHandler.java, | |
2119 | java/net/ContentHandlerFactory.java, | |
2120 | java/net/DatagramPacket.java, | |
2121 | java/net/DatagramSocket.java, | |
2122 | java/net/DatagramSocketImpl.java, | |
2123 | java/net/DatagramSocketImplFactory.java, | |
2124 | java/net/FileNameMap.java, | |
2125 | java/net/HttpURLConnection.java, | |
2126 | java/net/MalformedURLException.java, | |
2127 | java/net/MulticastSocket.java, | |
2128 | java/net/NetworkInterface.java, | |
2129 | java/net/NoRouteToHostException.java, | |
2130 | java/net/PasswordAuthentication.java, | |
2131 | java/net/PortUnreachableException.java, | |
2132 | java/net/ProtocolException.java, | |
2133 | java/net/ServerSocket.java, | |
2134 | java/net/Socket.java, | |
2135 | java/net/SocketException.java, | |
2136 | java/net/SocketImpl.java, | |
2137 | java/net/SocketImplFactory.java, | |
2138 | java/net/SocketOptions.java, | |
2139 | java/net/SocketPermission.java, | |
2140 | java/net/SocketTimeoutException.java, | |
2141 | java/net/URI.java, | |
2142 | java/net/URISyntaxException.java, | |
2143 | java/net/URL.java, | |
2144 | java/net/URLDecoder.java, | |
2145 | java/net/URLEncoder.java, | |
2146 | java/net/URLStreamHandler.java, | |
2147 | java/net/URLStreamHandlerFactory.java, | |
2148 | java/net/UnknownHostException.java, | |
2149 | java/net/UnknownServiceException.java: | |
2150 | Big import statement and @author tag cleanup. | |
2151 | ||
3238d4f9 MK |
2152 | 2004-10-17 Michael Koch <konqueror@gmx.de> |
2153 | ||
2154 | * gnu/java/security/OID.java, | |
2155 | gnu/java/security/provider/DSAParameters.java, | |
2156 | gnu/java/security/provider/DSASignature.java, | |
2157 | gnu/java/security/x509/X500DistinguishedName.java, | |
2158 | gnu/java/security/x509/X509CRL.java: | |
2159 | Import statements cleaned up. | |
2160 | ||
410c47a4 MK |
2161 | 2004-10-16 Michael Koch <konqueror@gmx.de> |
2162 | ||
2163 | * gnu/java/nio/NIODatagramSocket.java, | |
2164 | gnu/java/nio/ServerSocketChannelImpl.java: | |
2165 | Reorganized import statements. | |
2166 | ||
86b28213 MK |
2167 | 2004-10-16 Michael Koch <konqueror@gmx.de> |
2168 | ||
2169 | * gnu/java/rmi/RMIMarshalledObjectOutputStream.java | |
2170 | gnu/java/rmi/rmic/RMIC.java, | |
2171 | gnu/java/rmi/server/RMIHashes.java, | |
2172 | gnu/java/rmi/server/RMIObjectInputStream.java, | |
2173 | gnu/java/rmi/server/RMIObjectOutputStream.java, | |
2174 | gnu/java/rmi/server/UnicastConnection.java, | |
2175 | gnu/java/rmi/server/UnicastConnectionManager.java, | |
2176 | gnu/java/rmi/server/UnicastRemoteCall.java, | |
2177 | gnu/java/rmi/server/UnicastServer.java, | |
2178 | gnu/java/rmi/server/UnicastServerRef.java, | |
2179 | java/rmi/MarshalledObject.java, | |
2180 | java/rmi/Naming.java, | |
2181 | java/rmi/RMISecurityManager.java, | |
2182 | java/rmi/Remote.java, | |
2183 | java/rmi/activation/Activatable.java, | |
2184 | java/rmi/activation/ActivationDesc.java, | |
2185 | java/rmi/activation/ActivationGroup.java, | |
2186 | java/rmi/activation/ActivationGroupDesc.java, | |
2187 | java/rmi/activation/ActivationGroupID.java, | |
2188 | java/rmi/activation/ActivationID.java, | |
2189 | java/rmi/activation/ActivationInstantiator.java, | |
2190 | java/rmi/activation/ActivationMonitor.java, | |
2191 | java/rmi/activation/ActivationSystem.java, | |
2192 | java/rmi/activation/Activator.java, | |
2193 | java/rmi/dgc/DGC.java, | |
2194 | java/rmi/dgc/Lease.java, | |
2195 | java/rmi/dgc/VMID.java, | |
2196 | java/rmi/registry/LocateRegistry.java, | |
2197 | java/rmi/registry/Registry.java, | |
2198 | java/rmi/registry/RegistryHandler.java, | |
2199 | java/rmi/server/LoaderHandler.java, | |
2200 | java/rmi/server/LogStream.java, | |
2201 | java/rmi/server/ObjID.java, | |
2202 | java/rmi/server/Operation.java, | |
2203 | java/rmi/server/RMIClassLoader.java, | |
2204 | java/rmi/server/RMIClassLoaderSpi.java, | |
2205 | java/rmi/server/RMIClientSocketFactory.java, | |
2206 | java/rmi/server/RMIFailureHandler.java, | |
2207 | java/rmi/server/RMIServerSocketFactory.java, | |
2208 | java/rmi/server/RMISocketFactory.java, | |
2209 | java/rmi/server/RemoteCall.java, | |
2210 | java/rmi/server/RemoteObject.java, | |
2211 | java/rmi/server/RemoteRef.java, | |
2212 | java/rmi/server/RemoteServer.java, | |
2213 | java/rmi/server/RemoteStub.java, | |
2214 | java/rmi/server/ServerRef.java, | |
2215 | java/rmi/server/Skeleton.java, | |
2216 | java/rmi/server/SkeletonMismatchException.java, | |
2217 | java/rmi/server/UID.java, | |
2218 | java/rmi/server/UnicastRemoteObject.java, | |
2219 | java/rmi/server/Unreferenced.java: | |
2220 | File headers and import statements cleaned up. | |
2221 | ||
d8d3480a MK |
2222 | 2004-10-16 Michael Koch <konqueror@gmx.de> |
2223 | ||
2224 | * libjava/gnu/java/nio/charset/UTF_16.java, | |
2225 | libjava/gnu/java/nio/charset/UTF_16BE.java, | |
2226 | libjava/gnu/java/nio/charset/UTF_16LE.java, | |
2227 | libjava/java/nio/ByteOrder.java, | |
2228 | libjava/java/nio/MappedByteBuffer.java, | |
2229 | libjava/java/nio/channels/Channels.java, | |
2230 | libjava/java/nio/channels/spi/SelectorProvider.java, | |
2231 | libjava/java/nio/charset/Charset.java: | |
2232 | Cleanup. | |
2233 | ||
752ef873 MK |
2234 | 2004-10-16 Michael Koch <konqueror@gmx.de> |
2235 | ||
2236 | * gnu/java/nio/charset/UTF_16Encoder.java | |
2237 | (UTF_16Encoder): Fixed maxBytesPerChar handling. | |
2238 | ||
7af8968e MK |
2239 | 2004-10-16 Michael Koch <konqueror@gmx.de> |
2240 | ||
2241 | * java/math/BigDecimal.java, java/math/BigInteger.java: | |
2242 | Reorganized import statements, removed redundant and | |
2243 | reorganized modifiers. | |
2244 | ||
f3bf8475 MK |
2245 | 2004-10-16 Michael Koch <konqueror@gmx.de> |
2246 | ||
2247 | * gnu/java/beans/ExplicitBeanInfo.java: | |
2248 | Explicitely import java.awt.Image. | |
2249 | (getIcon): Fixed off-by-one error. | |
2250 | ||
b08fd659 AH |
2251 | 2004-10-15 Andrew Haley <aph@redhat.com> |
2252 | ||
2253 | * Makefile.am (nat_files, xlib_nat_files): New. | |
2254 | * Makefile.in: Regenerate. | |
2255 | ||
ed674251 UW |
2256 | 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com> |
2257 | ||
2258 | * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of | |
2259 | ffi_raw_call if FFI_NATIVE_RAW_API is not defined. | |
2260 | ||
180a373d AH |
2261 | 2004-10-13 Andrew Haley <aph@redhat.com> |
2262 | ||
2263 | * interpret.cc (_Jv_InterpMethod::run): Initialize | |
2264 | _Jv_StartOfInterpreter. | |
2265 | (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed. | |
2266 | (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables. | |
2267 | * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use | |
2268 | _Unwind_FindEnclosingFunction to discover whether PC is within the | |
2269 | interpreter. | |
2270 | ||
2abb138b RO |
2271 | 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net> |
2272 | ||
2273 | PR libgcj/17903: | |
2274 | * testsuite/libjava.lang/md5test.java: New file. | |
2275 | * testsuite/libjava.lang/md5test.out: Likewise. | |
2276 | * testsuite/libjava.lang/shatest.java: Likewise. | |
2277 | * testsuite/libjava.lang/shatest.out: Likewise. | |
2278 | ||
169bb110 RH |
2279 | 2004-10-11 Richard Henderson <rth@redhat.com> |
2280 | ||
2281 | * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*. | |
2282 | (_Jv_ThreadSelf): Use __builtin_thread_pointer. | |
2283 | ||
0ba09d8f BM |
2284 | 2004-10-08 Bryce McKinlay <mckinlay@redhat.com> |
2285 | ||
2286 | * java/util/Calendar.java (set): Invalidate DST_OFFSET | |
2287 | field as a DST boundary may have been crossed. | |
2288 | * java/util/GregorianCalendar.java (add): Throw | |
2289 | IllegalArgumentException on attempt to add to DST_OFFSET or | |
2290 | ZONE_OFFSET fields. Update javadoc. | |
2291 | ||
0d2e6ffe MK |
2292 | 2004-10-09 Michael Koch <konqueror@gmx.de> |
2293 | ||
2294 | * java/io/CharArrayWriter.java | |
2295 | (resize): Removed redundant 'final' modifier. | |
2296 | * java/io/DataInputStream.java | |
2297 | (readFully): Throw IndexOutOfBoundsException of len < 0. | |
2298 | * java/io/FileDescriptor.java, | |
2299 | java/io/FileInputStream.java, | |
2300 | java/io/FileOutputStream.java, | |
2301 | java/io/ObjectOutputStream.java, | |
2302 | java/io/ObjectStreamClass.java, | |
2303 | java/io/PipedInputStream.java, | |
2304 | java/io/RandomAccessFile.java: | |
2305 | Reorganized import statements. | |
2306 | ||
f507003a MK |
2307 | 2004-10-09 Michael Koch <konqueror@gmx.de> |
2308 | ||
2309 | * gnu/java/rmi/rmic/RMIC.java, | |
2310 | gnu/java/rmi/server/RMIHashes.java, | |
2311 | gnu/java/rmi/server/RMIObjectInputStream.java, | |
2312 | gnu/java/rmi/server/UnicastConnection.java, | |
2313 | gnu/java/rmi/server/UnicastConnectionManager.java, | |
2314 | gnu/java/rmi/server/UnicastRemoteCall.java, | |
2315 | gnu/java/rmi/server/UnicastServerRef.java: | |
2316 | Reworked import statements and fixed file headers. | |
2317 | ||
56d6e6b1 LR |
2318 | 2004-10-04 Loren J. Rittle <ljrittle@acm.org> |
2319 | ||
2320 | * configure.ac (*-*-freebsd[[1234]]*): Refine error message | |
2321 | emission rule. | |
2322 | * configure: Rebuilt. | |
2323 | ||
02164889 TT |
2324 | 2004-09-30 Tom Tromey <tromey@redhat.com> |
2325 | ||
acfeef9c | 2326 | * java/text/MessageFormat.java (Field): Constructor now |
02164889 TT |
2327 | protected. |
2328 | ||
26f7abae TT |
2329 | 2004-09-30 Tom Tromey <tromey@redhat.com> |
2330 | ||
2331 | * javax/crypto/MacSpi.java: Fixed typo. | |
2332 | ||
0aa36026 MK |
2333 | 2004-09-30 Michael Koch <konqueror@gmx.de> |
2334 | ||
2335 | * java/net/InetAddress.java: Reformatted. | |
2336 | (loopback): Initialize with Inet4Address object. | |
2337 | (static): Initialize ANY_IF with Inet4Address object. | |
2338 | (InetAddress): Removed unused package-private constructor. | |
2339 | ||
57da15a4 MK |
2340 | 2004-09-30 Michael Koch <konqueror@gmx.de> |
2341 | ||
2342 | * java/beans/Beans.java, | |
2343 | java/beans/EventHandler.java, | |
2344 | java/beans/EventSetDescriptor.java, | |
2345 | java/beans/Introspector.java, | |
2346 | java/beans/PropertyEditorManager.java, | |
2347 | java/beans/beancontext/BeanContext.java, | |
2348 | java/beans/beancontext/BeanContextChild.java, | |
2349 | java/beans/beancontext/BeanContextChildSupport.java, | |
2350 | java/beans/beancontext/BeanContextMembershipEvent.java: | |
2351 | Reordered import statements and removed redundant modifiers. | |
2352 | ||
c8dc36d6 TT |
2353 | 2004-09-29 Tom Tromey <tromey@redhat.com> |
2354 | ||
26aed923 TT |
2355 | PR libgcj/17715: |
2356 | * Makefile.in: Rebuilt. | |
2357 | * Makefile.am (libgcj-@gcc_version@.jar): Include properties | |
2358 | files. | |
2359 | (all_property_files): New macro. | |
2360 | ||
c8dc36d6 TT |
2361 | * Makefile.in: Rebuilt. |
2362 | * Makefile.am (ordinary_java_source_files): Re-sorted. | |
2363 | (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la. | |
2364 | ||
bd1c8428 TT |
2365 | 2004-09-28 Tom Tromey <tromey@redhat.com> |
2366 | ||
252d7884 TT |
2367 | * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets. |
2368 | ||
bd1c8428 TT |
2369 | PR libgcj/17222: |
2370 | * Makefile.am (libgcj.la): Restored. | |
2371 | * Makefile.in: Rebuilt. | |
2372 | ||
95b88040 MK |
2373 | 2004-09-28 Michael Koch <konqueror@gmx.de> |
2374 | ||
2375 | * java/net/URLConnection.java: Reformatted. | |
2376 | * java/net/URLClassLoader.java: Reformatted. | |
2377 | (getContent): Reordered return of content. | |
2378 | (getContentHandler): Don't check for null explicitely. | |
2379 | ||
2c11433f MK |
2380 | 2004-09-27 Michael Koch <konqueror@gmx.de> |
2381 | ||
2382 | * java/io/BufferedInputStream.java | |
2383 | (BufferedInputStream): Added Jeroen Frijters to authors. | |
2384 | (count): Don't explicitely initialize with default value. | |
2385 | (pos): Likewise. | |
2386 | (marklimit): Likewise. | |
2387 | (read): Changed boolean expression to match GNU classpath' version. | |
2388 | (reset): Add proper message to exception. | |
2389 | (skip): Check for closed stream. | |
2390 | (refill): Likewise. | |
2391 | ||
c5fe8107 PB |
2392 | 2004-09-26 Per Bothner <per@bothner.com> |
2393 | ||
2394 | * prims.cc (unblock_signal): Annotate signum with __unused__ to | |
2395 | avoid warnings in the non-POSIX_VERSION case. | |
2396 | Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE, | |
2397 | so place it inside an #if block. | |
2398 | * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__. | |
2399 | * include/i386-signal.h (SIGNAL_HANDLER): Likewise | |
2400 | * include/mips-signal.h (SIGNAL_HANDLER): Likewise | |
2401 | * include/sparc-signal.h (SIGNAL_HANDLER): Likewise | |
2402 | ||
08bc8777 PB |
2403 | 2004-09-26 Per Bothner <per@bothner.com> |
2404 | ||
2405 | * prims.cc (process_gcj_properties): Optimization. | |
2406 | ||
a22478ce PB |
2407 | 2004-09-26 Per Bothner <per@bothner.com> |
2408 | ||
2409 | * java/util/Collections.java (sort): Copy from array in forwards | |
2410 | order, rather than reverse order which may be much less efficient. | |
2411 | ||
3bd2680e MW |
2412 | 2004-09-26 Mark Wielaard <mark@klomp.org> |
2413 | ||
2414 | * java/lang/System.java (properties): Make package private. | |
2415 | * java/lang/Throwable.java (StaticData.nl): Initialize through | |
2416 | directly accessing System.properties.getProperty(). | |
2417 | ||
2418 | * java/lang/Throwable.java (nl): Remove static field. | |
2419 | (StaticData): New private static inner class. | |
2420 | (stackTraceStringBuffer): Use StaticData.nl. | |
2421 | ||
59c86e4b CM |
2422 | 2004-09-26 Casey Marshall <csm@gnu.org> |
2423 | ||
2424 | * java/security/ProtectionDomain.java | |
2425 | (<init>(CodeSource,PermissionCollection)): set `staticBinding' to | |
2426 | `true'. | |
2427 | ||
2428 | * java/security/SecureClassLoader.java | |
2429 | (defineClass): make protection domain dynamically bound. | |
2430 | (getPermissions): call `getCurrentPolicy' to avoid permission | |
2431 | check. | |
2432 | ||
ffe2e220 MW |
2433 | 2004-09-25 Mark Wielaard <mark@klomp.org> |
2434 | ||
2435 | * Makefile.am (core_java_source_files): Add VMTimeZone.java. | |
2436 | (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc. | |
2437 | * Makefile.in: Regenerated. | |
2438 | ||
2439 | * gcj/javaprims.h: Regenerated. | |
2440 | ||
2441 | * java/util/TimeZone.java (defaultZone): Use VMTimeZone. | |
2442 | (getDefaultTimeZone): Make package private. Check that GMToffset | |
2443 | contains at least one digit. | |
2444 | (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to | |
2445 | VMTimeZone. | |
2446 | * util/VMTimeZone.java: New file with above methods. | |
2447 | ||
2448 | * java/util/natTimeZone.cc: Removed (renamed). | |
2449 | * java/util/natVMTimeZone.cc: Added (renamed). | |
2450 | ||
2451 | 2004-09-25 Jeroen Frijters <jeroen@frijters.net> | |
2452 | ||
2453 | * java/util/TimeZone.java | |
2454 | (getDefaultTimeZone): Fixed test to distinguish between hours and | |
2455 | minutes in specified timezone. | |
2456 | ||
9b2b6c0f JF |
2457 | 2004-09-25 Jeroen Frijters <jeroen@frijters.net> |
2458 | ||
2459 | * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed | |
2460 | handling of default package. (generate): Removed confused comments | |
2461 | and code about making Method and Field accessible. | |
2462 | ||
4b2582f0 TT |
2463 | 2004-09-25 Tom Tromey <tromey@redhat.com> |
2464 | ||
2465 | PR java/17500: | |
2466 | * testsuite/libjava.compile/pr17500.java: New file. | |
2467 | ||
27a92d68 SB |
2468 | 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com> |
2469 | Mark Wielaard <mark@klomp.org> | |
2470 | ||
2471 | * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support. | |
2472 | * gnu/regexp/RETokenLookAhead.java: New file. | |
2473 | ||
2474 | * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java. | |
2475 | * Makefile.in: Regenerated. | |
2476 | ||
20319d32 MK |
2477 | 2004-09-25 Michael Koch <konqueror@gmx.de> |
2478 | ||
2479 | * java/io/ObjectStreamField.java: | |
2480 | Removed unused import statement. | |
2481 | ||
0a08595a TT |
2482 | 2004-09-24 Tom Tromey <tromey@redhat.com> |
2483 | ||
013303df TT |
2484 | PR java/15656: |
2485 | * testsuite/libjava.compile/pr15656.xfail: New file. | |
2486 | * testsuite/libjava.compile/pr15656.java: new file. | |
2487 | ||
0a08595a TT |
2488 | PR java/16789: |
2489 | * testsuite/libjava.lang/pr16789.out: New file. | |
2490 | * testsuite/libjava.lang/pr16789.java: New file. | |
2491 | ||
0a41faf0 AH |
2492 | 2004-09-24 Andrew Haley <aph@redhat.com> |
2493 | ||
2494 | PR java/16927 | |
2495 | * testsuite/libjava.compile/AssertBug.java: New file. | |
2496 | ||
c80a4b7e CM |
2497 | 2004-09-24 Casey Marshall <csm@gnu.org> |
2498 | ||
2499 | * java/util/PropertyPermissionCollection.java | |
2500 | (implies): avoid infinite loop. | |
2501 | ||
7e53ab66 AJH |
2502 | 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org> |
2503 | ||
2504 | * javax/security/auth/PrivateCredentialPermission.java | |
2505 | (PrivateCredentialPermission): added serialization UID | |
2506 | ||
2507 | ||
c7c671b9 IP |
2508 | 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com> |
2509 | ||
2510 | * gnu/java/rmi/server/UnicastServer.java | |
2511 | (incomingMessageCall): Added code to handle Errors. | |
2512 | * gnu/java/rmi/server/UnicastServerRef.java | |
2513 | (incomingMessageCall): Added code to handle Errors. | |
2514 | ||
2515 | ||
66719604 TT |
2516 | 2004-09-24 Tom Tromey <tromey@redhat.com> |
2517 | ||
2518 | * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap. | |
2519 | (definedPackages): Likewise. | |
2520 | ||
28c23a8c MK |
2521 | 2004-09-24 Michael Koch <konqueror@gmx.de> |
2522 | ||
2523 | * java/io/ObjectInputStream.java: | |
2524 | Re-ordered imports. | |
2525 | ||
629a2d2b CM |
2526 | 2004-09-24 Casey Marshall <csm@gnu.org> |
2527 | ||
2528 | * java/io/ObjectInputStream.java (callReadMethod): re-throw | |
2529 | `ClassNotFoundException'. | |
2530 | ||
73eb1309 JF |
2531 | 2004-09-24 Jeroen Frijters <jeroen@frijters.net> |
2532 | ||
2533 | * java/io/ObjectInputStream.java (readObject): Delegate instantation | |
2534 | of Externalizable classes to ObjectStreamClass. | |
2535 | * java/io/ObjectStreamClass.java (newInstance): New method to | |
2536 | instantiate Externalizable (while ignoring the accessibility of | |
2537 | the constructor). (constructor): New field to cache the constructor. | |
2538 | ||
8ac4bd37 MW |
2539 | 2004-09-24 Mark Wielaard <mark@klomp.org> |
2540 | ||
2541 | * java/net/URL.java (systemClassLoader): New static field. | |
2542 | (getURLStreamHandler): Always use system/application classloader | |
2543 | for finding URLStreamhandler. Remove unecessary instanceof checks. | |
2544 | ||
56a4b3e2 GL |
2545 | 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org> |
2546 | ||
2547 | * java/net/URL.java | |
2548 | (set): This method now matches the behaviour of the JDK. | |
2549 | (DEFAULT_SEARCH_PATH): Added "gnu.inet". | |
2550 | ||
5bb3fc27 MK |
2551 | 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org> |
2552 | ||
2553 | * java/net/URL.java (URL): Delete whitespaces in the protocol string. | |
2554 | ||
2555 | 2004-09-24 Jeroen Frijters <jeroen@frijters.net> | |
2556 | ||
2557 | * java/net/URL.java (URL(String,String,int,String,URLStreamHandler): | |
2558 | Don't set authority if host isn't specified. | |
2559 | ||
9e54846f MK |
2560 | 2004-09-24 Michael Koch <konqueror@gmx.de> |
2561 | ||
2562 | * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff. | |
2563 | * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff. | |
2564 | * gnu/java/nio/VMPipe.java, | |
2565 | gnu/java/nio/VMSelector.java: | |
2566 | New files. | |
2567 | * gnu/java/nio/natPipeImplEcos.cc, | |
2568 | gnu/java/nio/natPipeImplPosix.cc, | |
2569 | gnu/java/nio/natPipeImplWin32.cc: | |
2570 | Ported to VMPipe. | |
2571 | * gnu/java/nio/natSelectorImplEcos.cc, | |
2572 | gnu/java/nio/natSelectorImplPosix.cc, | |
2573 | gnu/java/nio/natSelectorImplWin32.cc: | |
2574 | Ported to VMSelector. | |
2575 | * Makefile.am: Added new files gnu/java/nio/VMPipe.java and | |
2576 | gnu/java/nio/VMSelector.java. | |
2577 | * Makefile.in: Regenerated. | |
2578 | ||
e6ab8dc2 JF |
2579 | 2004-09-24 Jeroen Frijters <jeroen@frijters.net> |
2580 | ||
2581 | * java/lang/StackTraceElement.java | |
2582 | (className): Renamed field to declaringClass to be compatible | |
2583 | with Sun serialization format. | |
2584 | ||
09bddb92 MK |
2585 | 2004-09-23 Michael Koch <konqueror@gmx.de> |
2586 | ||
2587 | * java/applet/AppletContext.java, | |
2588 | java/applet/Applet.java, | |
2589 | java/applet/AppletStub.java, | |
2590 | java/applet/AudioClip.java: | |
2591 | Jalopied and checkstyle clean. | |
2592 | ||
093942ac MW |
2593 | 2004-09-23 Mark Wielaard <mark@klomp.org> |
2594 | ||
2595 | * java/util/Collections.java | |
2596 | (binarySearch(List, Object, Comparator)): Explicitly | |
2597 | reverse direction in list iterator. | |
2598 | (rotate): Just return when list is empty. | |
2599 | ||
53d26678 TT |
2600 | 2004-09-23 Tom Tromey <tromey@redhat.com> |
2601 | ||
51c9fed9 TT |
2602 | PR java/17329: |
2603 | * testsuite/libjava.compile/pr17329.java: New file. | |
2604 | ||
53d26678 TT |
2605 | PR java/17380: |
2606 | * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and | |
2607 | 9.2-implicit-7. | |
2608 | ||
5b7a26f6 KC |
2609 | 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> |
2610 | ||
2611 | * Makefile.am: Run aclocal with -I ../config | |
2612 | * acinclude.m4: Delete macros picked up from ../config and tidy. | |
2613 | (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete. | |
2614 | * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate. | |
2615 | * include/Makefile.in, testsuite/Makefile.in: Regenerate. | |
2616 | ||
54805b23 KC |
2617 | 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> |
2618 | ||
2619 | * aclocal.m4: Regenerate with aclocal 1.9.2. | |
2620 | * configure: Regenerate. | |
2621 | * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2. | |
2622 | * include/Makefile.in, testsuite/Makefile.in: Likewise. | |
2623 | ||
d0259e11 DD |
2624 | 2004-09-22 David Daney <ddaney@avtrex.com> |
2625 | ||
2626 | PR libgcj/17623 | |
2627 | * java/net/URL.java (URL): Copy userInfo from context. | |
2628 | (getUserInfo): Return cached userInfo if present. | |
2629 | ||
aa8cb1ad TT |
2630 | 2004-09-22 Tom Tromey <tromey@redhat.com> |
2631 | ||
2632 | PR libgcj/6182: | |
2633 | * mauve-libgcj: Enable java.lang.Character tests. | |
2634 | ||
733a7ed9 AT |
2635 | 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch> |
2636 | ||
2637 | * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing | |
2638 | dependencies. | |
2639 | (lib_org_ietf_jgss_la_LIBADD): Likewise. | |
2640 | * Makefile.in: Regenerated. | |
2641 | ||
44bffd9f AT |
2642 | 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch> |
2643 | ||
2644 | * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN. | |
2645 | * configure: Regenerate. | |
2646 | * include/config.h.in: Likewise. | |
2647 | * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels. | |
2648 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32 | |
2649 | macro to gtkpeer.h. | |
2650 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c | |
2651 | (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert | |
2652 | pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian | |
2653 | architectures. | |
2654 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated): | |
2655 | Likewise. | |
2656 | ||
ecd16bf6 TT |
2657 | 2004-09-22 Tom Tromey <tromey@redhat.com> |
2658 | ||
2659 | PR libgcj/14446: | |
2660 | * java/util/zip/GZIPInputStream.java (read): Avoid sign extension | |
2661 | when comparing CRCs. | |
2662 | * java/util/zip/InflaterInputStream.java (onebytebuffer): New | |
2663 | field. | |
2664 | (read()): New overload. | |
2665 | ||
3a3d0225 TT |
2666 | 2004-09-21 Tom Tromey <tromey@redhat.com> |
2667 | ||
2668 | * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): | |
2669 | Indentation fix. | |
2670 | ||
93880692 MK |
2671 | 2004-09-21 Michael Koch <konqueror@gmx.de> |
2672 | ||
2673 | * java/net/Socket.java | |
2674 | (getLocalAddress): Return InetAddress.ANY_IF if not bound yet. | |
2675 | ||
448a698b CM |
2676 | 2004-09-21 Casey Marshall <csm@gnu.org> |
2677 | ||
2678 | * javax/crypto/MacSpi.java (clone): Provide meaningful | |
2679 | implementation. | |
2680 | ||
34f87940 TT |
2681 | 2004-09-21 Tom Tromey <tromey@redhat.com> |
2682 | ||
2683 | PR libgcj/16869: | |
2684 | * Makefile.in: Rebuilt. | |
2685 | * Makefile.am (MOSTLYCLEANFILES): Removed. | |
2686 | (mostlyclean-local): Remove header files. | |
2687 | ||
f1b18462 AT |
2688 | 2004-09-21 Casey Marshall <csm@gnu.org> |
2689 | ||
2690 | * java/security/cert/X509CRLSelector.java: | |
2691 | (match): remove unreachable try-catch clauses. | |
2692 | Reported by: Dalibor Topic <robilad@kaffe.org> | |
2693 | ||
2694 | 2004-09-21 Mark Wielaard <mark@klomp.org> | |
2695 | ||
2696 | * java/util/TreeMap.java (root): Don't initialize. | |
2697 | (TreeMap(Comparator)): Call fabricateTree(0). | |
2698 | (fabricateTree): Initialize root and size when count is 0. | |
2699 | ||
9413382e SM |
2700 | 2004-09-21 Sven de Marothy <sven@physto.se> |
2701 | ||
2702 | * java/nio/ByteBuffer.java (hashCode): Implemented. | |
2703 | * java/nio/CharBuffer.java: Likewise. | |
2704 | * java/nio/DoubleBuffer.java: Likewise. | |
2705 | * java/nio/FloatBuffer.java: Likewise. | |
2706 | * java/nio/LongBuffer.java: Likewise. | |
2707 | * java/nio/IntBuffer.java: Likewise. | |
2708 | * java/nio/ShortBuffer.java: Likewise. | |
2709 | ||
936f1f06 AT |
2710 | 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch> |
2711 | ||
2712 | * javax/security/auth/x500/X500Principal.java: Fix some merge glitches. | |
2713 | ||
2714 | 2004-09-21 Michael Koch <konqueror@gmx.de> | |
2715 | ||
2716 | * javax/net/ssl/SSLServerSocket.java: | |
2717 | Removed comment about "Do not edit this file, it's generated.". | |
2718 | ||
6f5ce93b AT |
2719 | 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch> |
2720 | ||
2721 | Import the big Crypto/Jessie/Security merge from Classpath. | |
2722 | ||
2723 | * Makefile.am: Add imported files. | |
2724 | * Makefile.in: Regenerate. | |
2725 | ||
2726 | 2004-08-14 Casey Marshall <csm@gnu.org> | |
2727 | ||
2728 | The Big Crypto Merge of 2004. | |
2729 | ||
2730 | * javax/security/auth/x500/X500Principal.java: Replaced with GNU | |
2731 | Crypto's version. | |
2732 | ||
2733 | Files imported from GNU Crypto. | |
2734 | * javax/crypto/BadPaddingException.java | |
2735 | * javax/crypto/Cipher.java | |
2736 | * javax/crypto/CipherInputStream.java | |
2737 | * javax/crypto/CipherOutputStream.java | |
2738 | * javax/crypto/CipherSpi.java | |
2739 | * javax/crypto/EncryptedPrivateKeyInfo.java | |
2740 | * javax/crypto/ExemptionMechanism.java | |
2741 | * javax/crypto/ExemptionMechanismException.java | |
2742 | * javax/crypto/ExemptionMechanismSpi.java | |
2743 | * javax/crypto/IllegalBlockSizeException.java | |
2744 | * javax/crypto/KeyAgreement.java | |
2745 | * javax/crypto/KeyAgreementSpi.java | |
2746 | * javax/crypto/KeyGenerator.java | |
2747 | * javax/crypto/KeyGeneratorSpi.java | |
2748 | * javax/crypto/Mac.java | |
2749 | * javax/crypto/MacSpi.java | |
2750 | * javax/crypto/Makefile.am | |
2751 | * javax/crypto/NoSuchPaddingException.java | |
2752 | * javax/crypto/NullCipher.java | |
2753 | * javax/crypto/NullCipherImpl.java | |
2754 | * javax/crypto/SealedObject.java | |
2755 | * javax/crypto/SecretKey.java | |
2756 | * javax/crypto/SecretKeyFactory.java | |
2757 | * javax/crypto/SecretKeyFactorySpi.java | |
2758 | * javax/crypto/ShortBufferException.java | |
2759 | * javax/crypto/interfaces/DHKey.java | |
2760 | * javax/crypto/interfaces/DHPrivateKey.java | |
2761 | * javax/crypto/interfaces/DHPublicKey.java | |
2762 | * javax/crypto/interfaces/PBEKey.java | |
2763 | * javax/crypto/spec/DESKeySpec.java | |
2764 | * javax/crypto/spec/DESedeKeySpec.java | |
2765 | * javax/crypto/spec/DHGenParameterSpec.java | |
2766 | * javax/crypto/spec/DHParameterSpec.java | |
2767 | * javax/crypto/spec/DHPrivateKeySpec.java | |
2768 | * javax/crypto/spec/DHPublicKeySpec.java | |
2769 | * javax/crypto/spec/IvParameterSpec.java | |
2770 | * javax/crypto/spec/PBEKeySpec.java | |
2771 | * javax/crypto/spec/PBEParameterSpec.java | |
2772 | * javax/crypto/spec/RC2ParameterSpec.java | |
2773 | * javax/crypto/spec/RC5ParameterSpec.java | |
2774 | * javax/crypto/spec/SecretKeySpec.java | |
2775 | * javax/security/auth/AuthPermission.java | |
2776 | * javax/security/auth/DestroyFailedException.java | |
2777 | * javax/security/auth/Destroyable.java | |
2778 | * javax/security/auth/Policy.java | |
2779 | * javax/security/auth/PrivateCredentialPermission.java | |
2780 | * javax/security/auth/RefreshFailedException.java | |
2781 | * javax/security/auth/Refreshable.java | |
2782 | * javax/security/auth/Subject.java | |
2783 | * javax/security/auth/SubjectDomainCombiner.java | |
2784 | * javax/security/auth/callback/Callback.java | |
2785 | * javax/security/auth/callback/CallbackHandler.java | |
2786 | * javax/security/auth/callback/ChoiceCallback.java | |
2787 | * javax/security/auth/callback/ConfirmationCallback.java | |
2788 | * javax/security/auth/callback/LanguageCallback.java | |
2789 | * javax/security/auth/callback/NameCallback.java | |
2790 | * javax/security/auth/callback/PasswordCallback.java | |
2791 | * javax/security/auth/callback/TextInputCallback.java | |
2792 | * javax/security/auth/callback/TextOutputCallback.java | |
2793 | * javax/security/auth/callback/UnsupportedCallbackException.java | |
2794 | * javax/security/auth/login/AccountExpiredException.java | |
2795 | * javax/security/auth/login/AppConfigurationEntry.java | |
2796 | * javax/security/auth/login/Configuration.java | |
2797 | * javax/security/auth/login/CredentialExpiredException.java | |
2798 | * javax/security/auth/login/FailedLoginException.java | |
2799 | * javax/security/auth/login/LoginContext.java | |
2800 | * javax/security/auth/login/LoginException.java | |
2801 | * javax/security/auth/login/NullConfiguration.java | |
2802 | * javax/security/auth/x500/X500PrivateCredential.java | |
2803 | * javax/security/sasl/AuthenticationException.java | |
2804 | * javax/security/sasl/AuthorizeCallback.java | |
2805 | * javax/security/sasl/RealmCallback.java | |
2806 | * javax/security/sasl/RealmChoiceCallback.java | |
2807 | * javax/security/sasl/Sasl.java | |
2808 | * javax/security/sasl/SaslClient.java | |
2809 | * javax/security/sasl/SaslClientFactory.java | |
2810 | * javax/security/sasl/SaslException.java | |
2811 | * javax/security/sasl/SaslServer.java | |
2812 | * javax/security/sasl/SaslServerFactory.java | |
2813 | * org/ietf/jgss/ChannelBinding.java | |
2814 | * org/ietf/jgss/GSSContext.java | |
2815 | * org/ietf/jgss/GSSCredential.java | |
2816 | * org/ietf/jgss/GSSException.java | |
2817 | * org/ietf/jgss/GSSManager.java | |
2818 | * org/ietf/jgss/GSSName.java | |
2819 | * org/ietf/jgss/MessageProp.java | |
2820 | * org/ietf/jgss/Oid.java | |
2821 | * org/ietf/jgss/MessagesBundle.properties | |
2822 | ||
2823 | Files imported from Jessie <http://www.nongnu.org/jessie/> | |
2824 | * javax/net/ServerSocketFactory.java | |
2825 | * javax/net/SocketFactory.java | |
2826 | * javax/net/VanillaServerSocketFactory.java | |
2827 | * javax/net/VanillaSocketFactory.java | |
2828 | * javax/net/ssl/HandshakeCompletedEvent.java | |
2829 | * javax/net/ssl/HandshakeCompletedListener.java | |
2830 | * javax/net/ssl/HostnameVerifier.java | |
2831 | * javax/net/ssl/HttpsURLConnection.java | |
2832 | * javax/net/ssl/KeyManager.java | |
2833 | * javax/net/ssl/KeyManagerFactory.java | |
2834 | * javax/net/ssl/KeyManagerFactorySpi.java | |
2835 | * javax/net/ssl/ManagerFactoryParameters.java | |
2836 | * javax/net/ssl/SSLContext.java | |
2837 | * javax/net/ssl/SSLContextSpi.java | |
2838 | * javax/net/ssl/SSLException.java | |
2839 | * javax/net/ssl/SSLHandshakeException.java | |
2840 | * javax/net/ssl/SSLKeyException.java | |
2841 | * javax/net/ssl/SSLPeerUnverifiedException.java | |
2842 | * javax/net/ssl/SSLPermission.java | |
2843 | * javax/net/ssl/SSLProtocolException.java | |
2844 | * javax/net/ssl/SSLServerSocket.java | |
2845 | * javax/net/ssl/SSLServerSocketFactory.java | |
2846 | * javax/net/ssl/SSLSession.java | |
2847 | * javax/net/ssl/SSLSessionBindingEvent.java | |
2848 | * javax/net/ssl/SSLSessionBindingListener.java | |
2849 | * javax/net/ssl/SSLSessionContext.java | |
2850 | * javax/net/ssl/SSLSocket.java | |
2851 | * javax/net/ssl/SSLSocketFactory.java | |
2852 | * javax/net/ssl/TrivialHostnameVerifier.java | |
2853 | * javax/net/ssl/TrustManager.java | |
2854 | * javax/net/ssl/TrustManagerFactory.java | |
2855 | * javax/net/ssl/TrustManagerFactorySpi.java | |
2856 | * javax/net/ssl/X509KeyManager.java | |
2857 | * javax/net/ssl/X509TrustManager.java | |
2858 | * javax/security/cert/Certificate.java | |
2859 | * javax/security/cert/CertificateEncodingException.java | |
2860 | * javax/security/cert/CertificateException.java | |
2861 | * javax/security/cert/CertificateExpiredException.java | |
2862 | * javax/security/cert/CertificateNotYetValidException.java | |
2863 | * javax/security/cert/CertificateParsingException.java | |
2864 | * javax/security/cert/X509CertBridge.java | |
2865 | * javax/security/cert/X509Certificate.java | |
2866 | ||
2867 | 2004-08-20 Casey Marshall <csm@gnu.org> | |
2868 | ||
2869 | * java/security/cert/X509CRLSelector.java: New file. | |
2870 | * java/security/cert/X509CertSelector.java: New file. | |
2871 | ||
c36992ff MK |
2872 | 2004-09-15 Michael Koch <konqueror@gmx.de> |
2873 | ||
2874 | * gnu/java/net/protocol/file/Handler.java | |
2875 | (openConnection): Don't throw exception if host part for file: URI is | |
2876 | present. setURL() keeps file: protocol if ftp: protocol is not | |
2877 | available. | |
2878 | ||
72826319 RH |
2879 | 2004-09-14 Richard Henderson <rth@redhat.com> |
2880 | ||
2881 | * java/lang/natPosixProcess.cc (waitForSignal): Ignore return | |
2882 | value of sigsuspend. | |
2883 | ||
3abcc195 TT |
2884 | 2004-09-12 Tom Tromey <tromey@redhat.com> |
2885 | ||
2886 | * javax/naming/CompoundName.java (CompoundName): Don't check for | |
2887 | separator in "flat" case. | |
2888 | ||
bdd1aed4 MK |
2889 | 2004-09-12 Michael Koch <konqueror@gmx.de> |
2890 | ||
2891 | * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces | |
2892 | AM_CONFIG_HEADER by AC_CONFIG_FILES. | |
2893 | * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure: | |
2894 | Regenerate. | |
2895 | ||
a0be84dd ME |
2896 | 2004-09-11 Mohan Embar <gnustuff@thisiscool.com> |
2897 | ||
2898 | PR libgcj/14751 | |
2899 | * win32-threads.cc (_Jv_ThreadInitData): Zero out thread | |
2900 | handle in newly-allocated _Jv_Thread_t. | |
2901 | (_Jv_ThreadDestroyData): Close thread handle. | |
2902 | (_Jv_ThreadStart): Remove obsolete comment. | |
2903 | Store handle of newly-created thread in _Jv_Thread_t. | |
2904 | * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN | |
2905 | before including <windows.h> | |
2906 | #define _Jv_HaveCondDestroy | |
2907 | ||
bdbf6060 ME |
2908 | 2004-09-11 Mohan Embar <gnustuff@thisiscool.com> |
2909 | ||
2910 | * java/lang/natThread.cc (finalize_native): Destroy | |
2911 | join conditional variable and mutex if these destroy | |
2912 | operations are supported. | |
2913 | ||
cad79bac MK |
2914 | 2004-09-10 Dalibor Topic <robilad@kaffe.org> |
2915 | ||
2916 | * gnu/java/net/protocol/file/Connection.java (permission): New field. | |
2917 | (DEFAULT_PERMISSION): New constant. | |
2918 | (Connection): Create a FilePermission with permission to read file. | |
2919 | ||
2920 | 2004-09-10 Michael Koch <konqueror@gmx.de> | |
2921 | ||
2922 | * gnu/java/net/protocol/file/Connection.java | |
2923 | (getLastModified): Moved around. | |
2924 | (getPermission): Return stored permission. | |
2925 | ||
8166c201 MK |
2926 | 2004-09-10 Michael Koch <konqueror@gmx.de> |
2927 | ||
2928 | * Makefile.in: Regenerate. | |
2929 | ||
3cf735f6 MK |
2930 | 2004-09-10 Michael Koch <konqueror@gmx.de> |
2931 | ||
2932 | * Makefile.am: Reverted accidently commited stuff. | |
2933 | * configure: Regenerated. | |
2934 | ||
5123971a MK |
2935 | 2004-09-10 Michael Koch <konqueror@gmx.de> |
2936 | ||
2937 | * gnu/java/net/protocol/file/Connection.java | |
2938 | (lineSeparator): Made non-final. | |
2939 | (static): Removed. | |
2940 | (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream | |
2941 | instead of StringBufferInputStream. | |
2942 | ||
2943 | 2004-09-10 Michael Koch <konqueror@gmx.de> | |
2944 | ||
2945 | * gnu/java/net/protocol/file/Connection.java | |
2946 | (connect): Handle file is a directory case. | |
2947 | ||
456d47b3 MK |
2948 | 2004-09-10 Michael Koch <konqueror@gmx.de> |
2949 | ||
2950 | * Makefile.am | |
2951 | (xlib_includes): Removed. | |
2952 | (AM_CPPFLAGS): Renamed from INCLUDES. | |
2953 | (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable. | |
2954 | * Makefile.in: Regenerate. | |
2955 | ||
4166b036 AT |
2956 | 2004-09-09 Michael Koch <konqueror@gmx.de> |
2957 | ||
2958 | * java/security/ProtectionDomain.java, | |
2959 | * java/util/PropertyPermissionCollection.java: | |
2960 | Fixed javadocs all over. | |
2961 | ||
2962 | 2004-09-09 Sven de Marothy <sven@physto.se> | |
2963 | ||
2964 | Patch from David Gilbert <david.gilbert@object-refinery.com> | |
2965 | * java/lang/Comparable.java: Fixed documentation errors. | |
2966 | * java/util/Arrays.java: Likewise. | |
2967 | ||
2968 | 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
2969 | ||
2970 | * java/net/Inet4Address.java | |
2971 | (Inet4Address): Added comment to serialization UID. | |
2972 | * java/text/Format.java | |
2973 | (Format): Added comment to serialization UID. | |
2974 | ||
c6614d3e MK |
2975 | 2004-09-09 Michael Koch <konqueror@gmx.de> |
2976 | ||
2977 | * java/lang/System.java | |
2978 | (err): Fixed javadoci to point to setErr() and not setOut(). | |
2979 | ||
6273ba37 MK |
2980 | 2004-09-09 Jeroen Frijters <jeroen@frijters.net> |
2981 | ||
2982 | (normalizePath): Added special case for windows systems. | |
2983 | ||
2984 | 2004-09-09 Michael Koch <konqueror@gmx.de> | |
2985 | ||
2986 | * java/io/File.java | |
2987 | (dupSeparator): Made private. | |
2988 | (File(URI)): New constructor. | |
2989 | (getParentFile): Fixed javadoc. | |
2990 | (createTempFile): Reformated. | |
2991 | (setReadOnly): Added comment. | |
2992 | (deleteOnExit): Merged javadoc with classpath version. | |
2993 | ||
93177580 MK |
2994 | 2004-09-09 Michael Koch <konqueror@gmx.de> |
2995 | ||
2996 | * Makefile.am: Don't try to include deps.mk. | |
2997 | * Makefile.in: Regenerated. | |
2998 | ||
2e8401ae BM |
2999 | 2004-09-08 Bryce McKinlay <mckinlay@redhat.com> |
3000 | ||
3001 | * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and | |
3002 | .d files. | |
3003 | * configure: Rebuilt. | |
3004 | ||
56fa138b ME |
3005 | 2004-09-04 Mohan Embar <gnustuff@thisiscool.com> |
3006 | ||
3007 | * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces): | |
3008 | Changed pfn from static local to local. | |
3009 | ||
351cfd8b BM |
3010 | 2004-09-03 Bryce McKinlay <mckinlay@redhat.com> |
3011 | H.J. Lu <hongjiu.lu@intel.com> | |
3012 | ||
3013 | PR libgcj/17290 | |
3014 | * Makefile.am (GCJCOMPILE): Remove definition. | |
3015 | (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags. | |
3016 | Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets. | |
3017 | * Makefile.in: Rebuilt. | |
3018 | ||
48d0dd75 KC |
3019 | 2004-09-03 Kelley Cook <kcook@gcc.gnu.org> |
3020 | ||
3021 | * configure.ac (enable-gc-debug): Update help for new syntax. | |
3022 | * configure: Regenerate. | |
3023 | ||
321c496b DD |
3024 | 2004-09-03 David Daney <ddaney@avtrex.com> |
3025 | ||
3026 | * include/mips-signal.h: Update copyright. | |
3027 | ||
04efec81 DD |
3028 | 2004-09-03 David Daney <ddaney@avtrex.com> |
3029 | ||
3030 | * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*. | |
3031 | * include/mips-signal.h: Added HANDLE_FPE support. | |
3032 | ||
57579172 GH |
3033 | 2004-08-31 Michael Koch <konqueror@gmx.de> |
3034 | ||
3035 | * javax/swing/plaf/basic/BasicTextAreaUI.java | |
3036 | (create): New method. | |
3037 | * javax/swing/text/DefaultHighlighter.java | |
3038 | (DefaultHighlightPainter.debugRect): Removed. | |
3039 | * javax/swing/text/StyleContext.java | |
3040 | (DEFAULT_STYLE): New field. | |
3041 | ||
3042 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3043 | ||
3044 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
3045 | (initComponentDefaults): Add keybindings for selection.backward and | |
3046 | selection-forward for text components. | |
3047 | * javax/swing/plaf/basic/BasicTextUI.java | |
3048 | (paintSafely): Paint highlight only when something is actually | |
3049 | selected. | |
3050 | * javax/swing/text/DefaultCaret.java | |
3051 | (handleHighlight): New method. | |
3052 | (setSelectionVisible): Don't do anything when nothing changes. | |
3053 | Handle highlight. | |
3054 | (moveDot): Reimplemented. Handle highlight. | |
3055 | (setDot): Set mark too. Handle highlight. | |
3056 | (getSelectionPainter): New method. | |
3057 | * javax/swing/text/DefaultEditorKit.java | |
3058 | (defaultActions): Added new actions for text selection. | |
3059 | * javax/swing/text/DefaultHighlighter.java | |
3060 | (DefaultHighlightPainter): New inner class. | |
3061 | (DefaultPainter): New field. | |
3062 | (paint): Implemented. | |
3063 | * javax/swing/text/PlainView.java | |
3064 | (paint): Don't draw background here again. | |
3065 | * javax/swing/text/Utilities.java | |
3066 | (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize. | |
3067 | (drawTabbedText): Likewise. | |
3068 | ||
3069 | 2004-08-31 Graydon Hoare <graydon@redhat.com> | |
3070 | ||
3071 | * javax/swing/JComponent.java | |
3072 | (resetKeyboardActions): Add null checks. | |
3073 | ||
3074 | 2004-08-31 Graydon Hoare <graydon@redhat.com> | |
3075 | ||
3076 | * javax/swing/DefaultButtonModel.java: | |
3077 | Skip group notification when no group is set. | |
3078 | ||
3079 | 2004-08-31 Graydon Hoare <graydon@redhat.com> | |
3080 | ||
3081 | * javax/swing/JColorChooser.java: | |
3082 | Make a couple inner classes static, for jikes. | |
3083 | ||
3084 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3085 | ||
3086 | * javax/swing/plaf/basic/BasicTextUI.java | |
3087 | (RottView.modelToView): New method. | |
3088 | (UpdateHandler): Renamed from EventHandler. | |
3089 | (updateHandler): Renamed from eventHandler. | |
3090 | (modelToView): Implemented. | |
3091 | * javax/swing/text/AbstractDocument.java | |
3092 | (BranchElement.getElement): Return null for non-existing indeces. | |
3093 | (BranchElement.getElementIndex): Return 0 in some corner cases. | |
3094 | * javax/swing/text/FieldView.java | |
3095 | (modelToView): New method. | |
3096 | * javax/swing/text/PlainView.java | |
3097 | (modelToView): Made public. | |
3098 | ||
3099 | 2004-08-31 Kim Ho <kho@redhat.com> | |
3100 | ||
3101 | * Makefile.am: New files. | |
3102 | * Makefile.in: Regenerate. | |
3103 | * gcj/Makefile.in: Regenerate. | |
3104 | * include/Makefile.in: Regenerate. | |
3105 | * java/awt/Color.java: Fix documentation. | |
3106 | (RGBtoHSB): Use floats for conversions. | |
3107 | * javax/swing/ButtonGroup.java: Run Jalopy. | |
3108 | (setSelected): Reimplement. | |
3109 | * javax/swing/DefaultButtonModel.java: Run Jalopy. | |
3110 | (changeState): Let ButtonGroup know that the button | |
3111 | is changing state. | |
3112 | * javax/swing/JColorChooser.java: Implement. | |
3113 | * javax/swing/JLabel.java: Run Jalopy. | |
3114 | * javax/swing/JSpinner.java: Run Jalopy. | |
3115 | (setValue): New method. | |
3116 | * javax/swing/JTabbedPane.java: Run Jalopy. | |
3117 | (removeTabAt): Call correct remove method. | |
3118 | * javax/swing/SpinnerNumberModel.java: Run Jalopy. | |
3119 | (getPreviousValue): Compare minimum value. | |
3120 | * javax/swing/Timer.java: Run Jalopy. | |
3121 | (run): Comment out println. | |
3122 | * javax/swing/ToolTipManager.java: | |
3123 | (mouseMoved): Get new tooltip text for location. | |
3124 | * javax/swing/colorchooser/AbstractColorChooserPanel.java: | |
3125 | Jalopy and Javadoc. | |
3126 | * javax/swing/colorchooser/ColorChooserComponentFactory.java: | |
3127 | Implement. | |
3128 | * javax/swing/colorchooser/DefaultColorSelectionModel.java: | |
3129 | Run Jalopy. | |
3130 | (setSelectedColor): Fire ChangeEvent. | |
3131 | * javax/swing/colorchooser/DefaultHSBChooserPanel.java: | |
3132 | New file. Implement. | |
3133 | * javax/swing/colorchooser/DefaultPreviewPanel.java: | |
3134 | Ditto. | |
3135 | * javax/swing/colorchooser/DefaultRGBChooserPanel.java: | |
3136 | Ditto. | |
3137 | * javax/swing/colorchooser/DefaultSwatchChooserPanel.java: | |
3138 | Ditto. | |
3139 | * javax/swing/plaf/basic/BasicArrowButton.java: | |
3140 | (getArrow): Fix size of upward pointing button. | |
3141 | * javax/swing/plaf/basic/BasicColorChooserUI.java: | |
3142 | Implement. | |
3143 | * javax/swing/plaf/basic/BasicSliderUI.java: | |
3144 | (getWidthOfWidestLabel): Use preferred dimensions. | |
3145 | (getHeightOfTallestLabel): Ditto. | |
3146 | * javax/swing/plaf/basic/BasicSpinnerUI.java: | |
3147 | Run Jalopy. | |
3148 | (mousePressed): Disable changes to spinner if it is not enabled. | |
3149 | * testsuite/Makefile.in: Regenerate. | |
3150 | ||
3151 | ||
3152 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3153 | ||
3154 | * javax/swing/plaf/basic/BasicTableHeaderUI.java, | |
3155 | javax/swing/plaf/basic/BasicTableUI.java: | |
3156 | Added copyright notice. | |
3157 | ||
3158 | 2004-08-31 Olga Rodimina <rodimina@redhat.com> | |
3159 | ||
3160 | * Makefile.am: Added new files. | |
3161 | * Makefile.in: Regenerate. | |
3162 | * javax/swing/ComboBoxEditor.java: Added javadocs. | |
3163 | * javax/swing/ComboBoxModel.java: Likewise. | |
3164 | * javax/swing/DefaultComboBoxModel.java: Implemented. | |
3165 | * javax/swing/DefaultListCellRenderer.java: Added javadocs | |
3166 | and ran through jalopy to fix formatting style. | |
3167 | (getListCellRendererComponent): Use appropriate border | |
3168 | if renderer has focus and use noFocusBorder when it doesn't. | |
3169 | * javax/swing/JComboBox.java: Implemented. | |
3170 | * javax/swing/JList.java: | |
3171 | (locationToIndex): New Method. Implemented. | |
3172 | (indexToLocation): New Method. | |
3173 | * javax/swing/JPopupMenu.java: | |
3174 | (visible): New field. | |
3175 | (isVisible): Changed to use new field above. | |
3176 | (setVisible): Likewise. | |
3177 | * javax/swing/MutableComboBoxModel.java: Added javadocs. | |
3178 | * javax/swing/plaf/basic/BasicArrowButton.java: | |
3179 | (shadow): Changed default color to Color.gray. | |
3180 | * javax/swing/plaf/basic/BasicComboBoxUI.java: New File. | |
3181 | UI delegate for JComboBox. | |
3182 | * javax/swing/plaf/basic/BasicComboPopup.java: New File. | |
3183 | Popup menu containing list of JComboBox's items. | |
3184 | * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File. | |
3185 | * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File. | |
3186 | * javax/swing/plaf/basic/BasicComboBoxUI.java: New File. | |
3187 | * javax/swing/plaf/basic/BasicComboPopup.java: New File. | |
3188 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
3189 | (popupMenuWillBecomeVisible): Set selected path to the first | |
3190 | element only if it is of type MenuElement. Also fix formatting | |
3191 | style. | |
3192 | * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing | |
3193 | methods signatures. | |
3194 | ||
3195 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3196 | ||
3197 | * javax/swing/text/AbstractDocument.java | |
3198 | (createBranchElement): Use new constructor of BranchElement. | |
3199 | (createLeafElement): Renamed arguments. | |
3200 | (getRootElements): Implemented. | |
3201 | (BranchElement.start): Removed. | |
3202 | (BranchElement.end): Likewise. | |
3203 | (BranchElement.BranchElement): Fixed arguments. | |
3204 | (BranchElement.getEndOffset): Reimplemented. | |
3205 | (BranchElement.getStartOffset): Likewis. | |
3206 | * javax/swing/text/DefaultCaret.java | |
3207 | (paint): Draw simple vertical line as caret instead of a rectangle. | |
3208 | * javax/swing/text/JTextComponent.java | |
3209 | (setText): Use doc directly. | |
3210 | * javax/swing/text/PlainView.java | |
3211 | (nextTabStop): Implemented. | |
3212 | * javax/swing/text/Utilities.java | |
3213 | (drawTabbedText): nextTabStop() returns an absolute x position. | |
3214 | (getTabbedTextWidth): Likewise. | |
3215 | ||
3216 | 2004-08-31 Graydon Hoare <graydon@redhat.com> | |
3217 | ||
3218 | * java/awt/Component.java | |
3219 | (isFocusTraversable): Predicate on isLightweight() | |
3220 | (setFocusable): Set isFocusTraversableOverridden. | |
3221 | (requestFocus): Predicate peer dispatch on !isLightweight() | |
3222 | (requestFocusInWindow): Likewise. | |
3223 | (dispatchEventImpl): Coordinate with KeyboardFocusManager. | |
3224 | * java/awt/Container.java | |
3225 | (dispatchEventImpl): Predicate on event mask. | |
3226 | (LightweightDispatcher): Remove focus machinery. | |
3227 | * java/awt/DefaultFocusTraversalPolicy.java | |
3228 | (accept): Expand predicate to include isFocusable(). | |
3229 | * java/awt/DefaultKeyboardFocusManager.java: | |
3230 | Globally change c.dispatchEvent(e) to redispatchEvent(c,e) | |
3231 | * java/awt/KeyboardFocusManager.java | |
3232 | (redispatchEvent): Synchronize on event to prevent feedback. | |
3233 | * javax/swing/AbstractButton.java | |
3234 | (ButtonFocusListener): Remove class. | |
3235 | (init): Set focusPainted, focusable. | |
3236 | * javax/swing/ActionMap.java (get): Check parent for null. | |
3237 | * javax/swing/InputMap.java (get): Likewise. | |
3238 | * javax/swing/JComponent.java | |
3239 | (inputMap_whenFocused): New InputMap. | |
3240 | (inputMap_whenAncestorOfFocused): Likewise. | |
3241 | (inputMap_whenInFocusedWindow): Likewise. | |
3242 | (getActionForKeyStroke): Rewrite. | |
3243 | (getConditionForKeystroke): Likewise. | |
3244 | (ActionListenerProxy): New private class. | |
3245 | (setInputMap): Implement. | |
3246 | (getInputMap): Likewise. | |
3247 | (setActionMap): Likewise. | |
3248 | (getActionMap): Likewise. | |
3249 | (processComponentKeyEvent): New empty method. | |
3250 | (processKeyEvent): Implement. | |
3251 | (processKeyBinding): Likewise. | |
3252 | (resetKeyboardActions): Rewrite. | |
3253 | * javax/swing/KeyStroke.java: Rewrite. | |
3254 | * javax/swing/SwingUtilities.java | |
3255 | (notifyAction): Implement. | |
3256 | (replaceUIActionMap): Likewise. | |
3257 | (replaceUIInputMap): Likewise. | |
3258 | * javax/swing/plaf/basic/BasicButtonListener.java | |
3259 | (focusGained): Implement. | |
3260 | (focusLost): Repaint if focusPainted(). | |
3261 | (installKeyboardActions): Install pressed / released actions. | |
3262 | (uninstallKeyboardActions): Implement. | |
3263 | * javax/swing/plaf/basic/BasicButtonUI.java | |
3264 | (focusColor): New field. | |
3265 | (installDefaults): Load focus color, install input map. | |
3266 | (installKeyboardActions): Implement. | |
3267 | (uninstallKeyboardActions): Likewise. | |
3268 | (paintFocus): Rewrite. | |
3269 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
3270 | (Button.focus): New default, midPurple. | |
3271 | * javax/swing/plaf/basic/BasicTextUI.java | |
3272 | (kit): Make static. | |
3273 | (installUI): Get doc from kit, load defaults. | |
3274 | (getKeymapName): Implement. | |
3275 | (createKeymap): Likewise. | |
3276 | (installKeyboardActions): Likewise. | |
3277 | (getInputMap): Likewise. | |
3278 | (getActionMap): Likewise. | |
3279 | (createActionMap): Likewise. | |
3280 | * javax/swing/text/AbstractDocument.java | |
3281 | (getStartPosition): Implement. | |
3282 | (getEndPosition): Likewise. | |
3283 | * javax/swing/text/DefaultEditorKit.java | |
3284 | (CopyAction): New class. | |
3285 | (CutAction): Likewise. | |
3286 | (DefaultKeyTypedAction): Likewise. | |
3287 | (InsertBreakAction): Likewise. | |
3288 | (InsertContentAction): Likewise. | |
3289 | (InsertTabAction): Likewise. | |
3290 | (PasteAction): Likewise. | |
3291 | (defaultActions): New static table. | |
3292 | (createCaret): Implement. | |
3293 | (getActions): Likewise. | |
3294 | * javax/swing/text/JTextComponent.java | |
3295 | (KeymapWrapper): New private class. | |
3296 | (KeymapActionMap): Likewise. | |
3297 | (DefaultKeymap): New class. | |
3298 | (keymaps): New static table. | |
3299 | (keymap): New field. | |
3300 | (getKeymap): Implement. | |
3301 | (removeKeymap): Likewise. | |
3302 | (addKeymap): Likewise. | |
3303 | (setKeymap): Likewise. | |
3304 | (loadKeymap): Likewise. | |
3305 | (getActions): Likewise. | |
3306 | (margin): New field. | |
3307 | (JTextComponent): Build and install default keymap. | |
3308 | * javax/swing/text/TextAction.java | |
3309 | (textAction): Call super properly. | |
3310 | (getTextComponent): Implement. | |
3311 | * javax/swing/text/Utilities.java | |
3312 | (drawTabbedText): Adjust position by ascent. | |
3313 | ||
3314 | 2004-08-31 David Jee <djee@redhat.com> | |
3315 | ||
3316 | PR AWT/17156 | |
3317 | ||
3318 | * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java | |
3319 | (setEnabled): Make it a native method. | |
3320 | * java/awt/DefaultKeyboardFocusManager.java | |
3321 | (postProcessKeyEvent): Only post event if the menu item | |
3322 | is active. | |
3323 | * java/awt/MenuItem.java: | |
3324 | Private field 'enabled' should be true by default. | |
3325 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c | |
3326 | (setEnabled): New function. | |
3327 | ||
3328 | 2004-08-31 David Jee <djee@redhat.com> | |
3329 | ||
3330 | PR AWT/17059 | |
3331 | ||
3332 | * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java | |
3333 | (nativeSetHelpMenu): New native method declaration. | |
3334 | (addHelpMenu): Call nativeSetHelpMenu(). | |
3335 | (addMenu): Remove. | |
3336 | * java/awt/MenuBar.java | |
3337 | (setHelpMenu): Call addNotify() on the new help menu. | |
3338 | (add): Call addNotify() on the new menu. | |
3339 | (addNotify): Set the help menu if one exists. | |
3340 | * java/awt/peer/MenuBarPeer.java | |
3341 | (addMenu): Remove. | |
3342 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c | |
3343 | (nativeSetHelpMenu): New method. | |
3344 | ||
3345 | 2004-08-31 Graydon Hoare <graydon@redhat.com> | |
3346 | ||
3347 | * Makefile.am: Add new files. | |
3348 | * Makefile.in: Regenerate. | |
3349 | * javax/swing/Box.java: Fix setting of layout in ctor. | |
3350 | * javax/swing/JScrollPane.java: Scroll headers as well. | |
3351 | * javax/swing/JTable.java: Reimplement. | |
3352 | * javax/swing/JViewPort.java: Only add non-null children. | |
3353 | * javax/swing/ScrollPaneLayout.java: Correct header calculations. | |
3354 | * javax/swing/Timer.java: Fix stopping null waker. | |
3355 | * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file. | |
3356 | * javax/swing/plaf/basic/BasicTableUI.java: New file. | |
3357 | * javax/swing/table/DefaultTableCellRenderer.java: Configure. | |
3358 | * javax/swing/table/DefaultTableColumnModel.java: Flesh out. | |
3359 | * javax/swing/table/DefaultTableModel.java: Clean up. | |
3360 | * javax/swing/table/JTableHeader.java: Implement. | |
3361 | ||
3362 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
3363 | ||
3364 | * javax/swing/JSpinner.java (getChangeListeners): Remove double | |
3365 | semi-colon. | |
3366 | ||
3367 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
3368 | ||
3369 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: | |
3370 | Declare variables at top of functions/block. | |
3371 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise. | |
3372 | ||
3373 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
3374 | ||
3375 | * java/lang/Rectangle.java (intersects): Check r.width and r.height | |
3376 | first. | |
3377 | ||
3378 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3379 | ||
3380 | * javax/swing/text/PlainView.java | |
3381 | (selectedColor): New field. | |
3382 | (unselectedColor): Likewise. | |
3383 | (font): Likewise. | |
3384 | (updateMetrics): New method. | |
3385 | (lineToRect): Likewise. | |
3386 | (modelToView): Likewise. | |
3387 | (drawSelectedText): Use color from JTextComponent ad draw with | |
3388 | Utilities class. | |
3389 | (drawUnselectedText): Likewise. | |
3390 | (paint): Initialize helper fields. | |
3391 | * javax/swing/text/View.java | |
3392 | (getChildAllocation): New method. | |
3393 | (getViewIndex): Likewise. | |
3394 | (getToolTipText): Likewise. | |
3395 | ||
3396 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3397 | ||
3398 | * javax/swing/text/Utilities.java | |
3399 | (drawTabbedText): Reimplemented. | |
3400 | (getTabbedTextWidth): Likewise. | |
3401 | ||
3402 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3403 | ||
3404 | * javax/swing/plaf/basic/BasicTextUI.java | |
3405 | (installDefaults): Install caret and highlighter. | |
3406 | (modelToView): Use Bias.Forward when calling sibling. | |
3407 | * javax/swing/text/AbstractDocument.java | |
3408 | (ElementEdit): Implements DocumentEvent.ElementChange. | |
3409 | (ElementEdit.ElementEdit): New method. | |
3410 | (ElementEdit.getChildrenAdded): Likewise. | |
3411 | (ElementEdit.getChildrenRemoved): Likewise. | |
3412 | (ElementEdit.getElement): Likewise. | |
3413 | (ElementEdit.getIndex): Likewise. | |
3414 | * javax/swing/text/DefaultCaret.java | |
3415 | (color): Removed. | |
3416 | (textComponent): Renamed from parent, made private. | |
3417 | (selectionVisible): Renamed from vis_sel, made private. | |
3418 | (blinkRate): Renamed from blink, made private. | |
3419 | (magicCaretPosition): Renamed from magic, made private. | |
3420 | (visible): Renamed from vis, made private. | |
3421 | (dot): Made private. | |
3422 | (mark): Likewise. | |
3423 | (deinstall): Remove as MouseMotionListener. | |
3424 | (install): Initialize textComponent first. Add as MouseMotionListener. | |
3425 | (paint): Reimplemented. | |
3426 | * javax/swing/text/JTextComponent.java | |
3427 | (setCaret): Deinstall old caret, install new one and fire property | |
3428 | change after setting property. | |
3429 | (setHighlighter): Deinstall old highlighter, install new one and fire | |
3430 | property change after setting property. | |
3431 | (setCaretColor): Fire property change after setting property. | |
3432 | (setDisabledTextColor): Likewise. | |
3433 | (setSelectedTextColor): Likewise. | |
3434 | (setSelectionColor): Likewise. | |
3435 | (modelToView): New method. | |
3436 | ||
3437 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3438 | ||
3439 | * javax/swing/text/AbstractDocument.java | |
3440 | (getText): Simplified. | |
3441 | * javax/swing/text/Segment.java | |
3442 | (current): New field. | |
3443 | (current): Reimplemented. | |
3444 | (first): Likewise. | |
3445 | (getIndex): Likewise. | |
3446 | (last): Likewise. | |
3447 | (next): Likewise. | |
3448 | (previous): Likewise. | |
3449 | (setIndex): Likewise. | |
3450 | ||
3451 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3452 | ||
3453 | * javax/swing/plaf/basic/BasicButtonUI.java | |
3454 | (defaultTextIconGap): Made protected. | |
3455 | (defaultTextShiftOffset): Likewise. | |
3456 | (textShiftOffset): New field. | |
3457 | (clearTextShiftOffset): New method. | |
3458 | (getTextShiftOffset): Likewise. | |
3459 | (setTextShiftOffset): Likewise. | |
3460 | ||
3461 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3462 | ||
3463 | * javax/swing/plaf/basic/BasicTextUI.java | |
3464 | (installUI): Add eventHandler as property listener. | |
3465 | (uninstallUI): remove eventHandler as propert listener. | |
3466 | (installDefaults): Added comment. | |
3467 | (installListeners): Likewise. | |
3468 | (installKeyboardActions): Likewise. | |
3469 | (uninstallDefaults): Likewise. | |
3470 | (uninstallListeners): Likewise. | |
3471 | (uninstallKeyboardActions): Likewise. | |
3472 | ||
3473 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3474 | ||
3475 | * javax/swing/text/AbstractDocument.java: | |
3476 | Fixed some typos in comments. | |
3477 | (insertString): Reimplemented. | |
3478 | (remove): Likewise. | |
3479 | (replace): New method. | |
3480 | (children): Dont use fully qualified class name. | |
3481 | (DefaultDocumentEvent.offset): Renamed from off. | |
3482 | (DefaultDocumentEvent.length): Renamed from len. | |
3483 | (DefaultDocumentEvent.type): New field. | |
3484 | (DefaultDocumentEvent.DefaultDocumentEvent): New constructor. | |
3485 | (DefaultDocumentEvent.getType): Implemented. | |
3486 | ||
3487 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3488 | ||
3489 | * javax/swing/plaf/basic/BasicTextUI.java | |
3490 | (RootView.textComponent): Removed. | |
3491 | (RootView.RootView): Don't initialize textComponent. | |
3492 | (RootView.getViewFactory): New method. | |
3493 | (EventHandler): New inner class. | |
3494 | (rootView): Initialize at instance creation. | |
3495 | (eventHandler): New field. | |
3496 | (installUI): Don't create view hierarchy directly, | |
3497 | call modelChanged() instead. | |
3498 | (modelChanged): New method. | |
3499 | * javax/swing/text/JTextComponent.java | |
3500 | (setDocument): Fire property change event. | |
3501 | ||
3502 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3503 | ||
3504 | * javax/swing/plaf/basic/BasicTextUI.java | |
3505 | (RootView.paint): Removed debug output. | |
3506 | (paintSafely): Draw highlighter before text. | |
3507 | (paintBackground): Use background color of text component. | |
3508 | * javax/swing/plaf/basic/BasicToggleButtonUI.java: | |
3509 | Reformatted. | |
3510 | ||
3511 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3512 | ||
3513 | * javax/swing/plaf/basic/BasicToolBarUI.java | |
3514 | (BasicToolBarUI): Fixed arguments for constructor. | |
3515 | (createUI): Fixed creation of object. | |
3516 | ||
3517 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3518 | ||
3519 | * javax/swing/DefaultListSelectionModel.java | |
3520 | (fireValueChanged): Renamed from fireSelectionValueChanged, | |
3521 | made protected. | |
3522 | ||
3523 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3524 | ||
3525 | * javax/swing/text/TabSet.java | |
3526 | (TabSet): Implements java.io.Serializable. | |
3527 | * javax/swing/text/TabStop.java | |
3528 | (TabStop): Implements java.io.Serializable. | |
3529 | (TabStop): Made public. | |
3530 | ||
3531 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3532 | ||
3533 | * javax/swing/JComponent.java | |
3534 | (setUI): Fire PropertyChange. | |
3535 | * javax/swing/JLabel.java | |
3536 | (text): Renamed from labelText. | |
3537 | (horizontalAlignment): New default vlaue. | |
3538 | (icon): Renamed from activeIcon. | |
3539 | (displayedMnemonic): Renamed from mnemonicKey, added default value. | |
3540 | (displayedMnemonicIndex): Renamed from underlineChar. | |
3541 | (setDisplayedMnemonic): Reimplemented. | |
3542 | * javax/swing/JRadioButton.java | |
3543 | (JRadioButton): New constructors. | |
3544 | * javax/swing/JTextField.java | |
3545 | (JTextField): Throw exception if colums < 0, initialitialz | |
3546 | this.columns directly and initialize document with text conditionally. | |
3547 | ||
3548 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3549 | ||
3550 | * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java, | |
3551 | javax/swing/plaf/basic/BasicPasswordFieldUI.java, | |
3552 | javax/swing/plaf/basic/BasicTextAreaUI.java: New files. | |
3553 | * javax/swing/text/FieldView.java | |
3554 | (paint): Just call super method for now. | |
3555 | * Makefile.am: Added new files. | |
3556 | * Makefile.in: Regenerated. | |
3557 | ||
3558 | 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org> | |
3559 | ||
3560 | * javax/swing/AbstractSpinnerModel.java, | |
3561 | javax/swing/JSpinner.java, | |
3562 | javax/swing/SpinnerNumberModel.java, | |
3563 | javax/swing/plaf/basic/BasicSpinnerUI.java: | |
3564 | New files. | |
3565 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
3566 | (initClassDefaults): Added defaults for BasicSpinnerUI. | |
3567 | ||
3568 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3569 | ||
3570 | * Makefile.am: Added new files. | |
3571 | * Makefile.in: Regenerated. | |
3572 | ||
3573 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3574 | ||
3575 | * javax/swing/TransferHandler.java, | |
3576 | javax/swing/plaf/basic/ComboPopup.java: New files | |
3577 | * Makefile.am: Added javax/swing/TransferHandler.java and | |
3578 | javax/swing/plaf/basic/ComboPopup.java | |
3579 | * Makefile.in: Regenerated. | |
3580 | ||
3581 | 2004-08-31 Roman Kennke <roman@ontographics.com> | |
3582 | ||
3583 | * javax/swing/text/Utilities.java: New file. | |
3584 | ||
3585 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3586 | ||
3587 | * Makefile.am: Added javax/swing/text/Utilities.java. | |
3588 | * Makefile.in: Regenerated. | |
3589 | ||
3590 | 2004-08-31 Graydon Hoare <graydon@redhat.com> | |
3591 | ||
3592 | * javax/swing/text/SimpleAttributeSet.java: New file. | |
3593 | * javax/swing/text/StyleConstants.java: New file. | |
3594 | * javax/swing/text/StyleContext.java: New file. | |
3595 | * javax/swing/text/TabSet.java: New file. | |
3596 | * javax/swing/text/TabStop.java: New file. | |
3597 | * javax/swing/text/AbstactDocument.java: | |
3598 | (AbstractElement): Implement attribute support. | |
3599 | * javax/swing/text/AttributeSet.java | |
3600 | (NameAttribute): New static field. | |
3601 | (ResolveAttribute): New static field. | |
3602 | * Makefile.am: Update for new files. | |
3603 | * Makefile.in: Regenerate. | |
3604 | ||
3605 | 2004-08-31 Craig Black <craig.black@aonix.com> | |
3606 | ||
3607 | * gnu/java/awt/peer/gtk/GdkGraphics.java | |
3608 | (drawImage): Add support for scaling pixmaps. | |
3609 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c | |
3610 | (copyAndScalePixmap): New native method. | |
3611 | ||
3612 | 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3613 | ||
3614 | PR AWT/16121 | |
3615 | * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate | |
3616 | type-punning compiler warnings using unions. | |
3617 | (throw): Replace bzero with memset. | |
3618 | ||
3619 | 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch> | |
3620 | Thomas Fitzsimmons <fitzsim@redhat.com> | |
3621 | ||
3622 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move | |
3623 | NSA_PB macros to gtkpeer.h. Include gtkpeer.h. | |
3624 | * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here. | |
3625 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
3626 | (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro. | |
3627 | ||
3628 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
3629 | ||
3630 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: | |
3631 | #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h | |
3632 | and stdlib.h, not gtkpeer.h. | |
3633 | (*vm): New static variable. | |
3634 | (areaPreparedID): Make static. | |
3635 | (areaUpdatedID): Likewise. | |
3636 | (area_prepared): Get and use JNIEnv through stored JavaVM *vm. | |
3637 | (area_prepared): Likewise. | |
3638 | (area_updated): Likewise. | |
3639 | (closed): Likewise. | |
3640 | (initStaticState): Initialize *vm javaVM. | |
3641 | (pumpBytes): Use given env, not global gdk_env. | |
3642 | ||
3643 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
3644 | ||
3645 | * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate | |
3646 | comments. | |
3647 | ||
3648 | 2004-08-31 Sven de Marothy <sven@physto.se> | |
3649 | ||
3650 | * java/awt/geom/CubicCurve2D.java: Reindent. | |
3651 | (contains): Implemented. | |
3652 | (intersects): Implemented. | |
3653 | * java/awt/geom/QuadCurve2D.java: Likewise. | |
3654 | * java/awt/geom/GeneralPath.java: Reindent and document. | |
3655 | Fully (re)implemented using separate xpoints and ypoints | |
3656 | float[] coords. | |
3657 | * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007). | |
3658 | ||
3659 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3660 | ||
3661 | * javax/swing/JMenuItem.java | |
3662 | (getMenuDragMouseListeners): New method. | |
3663 | (getMenuKeyListeners): Likewise. | |
3664 | ||
3665 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3666 | ||
3667 | * javax/swing/AbstractButton.java | |
3668 | (model): Made protected. | |
3669 | (actionListener): Likewise. | |
3670 | (changeListener): Likewise. | |
3671 | (itemListener): Likewise. | |
3672 | (multiClickThreshhold): New field. | |
3673 | (getActionListeners): New method. | |
3674 | (getChangeListeners): Likewise. | |
3675 | (getItemListeners): Likewise. | |
3676 | (fireItemStateChanged): Simplified implementation. | |
3677 | (fireActionPerformed): Likewise. | |
3678 | (fireStateChanged): Likewise. | |
3679 | (getMultiClickThreshhold): New method. | |
3680 | (setMultiClickThreshhold): Likewise. | |
3681 | ||
3682 | 2004-08-31 Tom Tromey <tromey@redhat.com> | |
3683 | ||
3684 | * java/awt/image/Kernel.java (clone): Use super.clone(). | |
3685 | ||
3686 | 2004-08-31 David Jee <djee@redhat.com> | |
3687 | ||
3688 | PR AWT/16682 | |
3689 | * gnu/java/awt/peer/gtk/GtkFramePeer.java | |
3690 | (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder. | |
3691 | (nativeSetIconImageFromData): New native method declaration. | |
3692 | (setIconImage): Handle images not produced from GdkPixbufDecoder. | |
3693 | * gnu/java/awt/peer/gtk/GtkImage.java | |
3694 | (getPixelCache): New method. | |
3695 | (getColorModel): New method. | |
3696 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
3697 | (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder. | |
3698 | (free_pixbuf_data): New helper function. | |
3699 | (nativeSetIconImageFromData): New function. | |
3700 | ||
3701 | 2004-08-31 Graydon Hoare <graydon@redhat.com> | |
3702 | ||
3703 | PR SWING/16576 | |
3704 | * javax/swing/JLayeredPane.java | |
3705 | (setLayer): Permit changing layer after addition. | |
3706 | (setPosition): Permit over-length positions. | |
3707 | (layerToRange): Compare intValue()s. | |
3708 | * javax/swing/Box.java (createHorizontalBox): Implement. | |
3709 | (createRigidArea): Likewise. | |
3710 | (createVerticalBox): Likewise. | |
3711 | ||
3712 | 2004-08-31 Kim Ho <kho@redhat.com> | |
3713 | ||
3714 | * java/awt/Component.java: | |
3715 | (processMouseEvent): Consume event after | |
3716 | listeners process it. | |
3717 | (processMouseMotionEvent): ditto. | |
3718 | (processMouseWheelEvent): ditto. | |
3719 | * java/awt/Container.java: | |
3720 | (acquireComponentForMouseEvent): | |
3721 | Do not dispatch to events that have been | |
3722 | removed from the Container. | |
3723 | (handleEvent): Consume the MouseEvents. | |
3724 | * javax/swing/RepaintManager.java: | |
3725 | (paintDirtyRegions): Do not add to list of | |
3726 | damaged areas if the component has no root. | |
3727 | ||
3728 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3729 | ||
3730 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports. | |
3731 | ||
3732 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
3733 | ||
3734 | * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return | |
3735 | null when a MissingResourceException is thrown. Should never happen. | |
3736 | ||
3737 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
3738 | ||
3739 | * java/awt/EventQueue.java (postEvent): Throw NullPointerException | |
3740 | when argument is null. | |
3741 | ||
3742 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
3743 | ||
3744 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
3745 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter): | |
3746 | Define hid at start of function. | |
3747 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter): | |
3748 | Likewise. | |
3749 | ||
3750 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
3751 | ||
3752 | * gnu/java/awt/EmbeddedWindow.java: Reindent. | |
3753 | * javax/swing/JButton.java: Reindent. | |
3754 | * javax/swing/JCheckBox.java: Reindent. | |
3755 | ||
3756 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
3757 | ||
3758 | * Makefile.am (gtk_c_source_files): Added | |
3759 | jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c. | |
3760 | (gtk_awt_peer_sources): Added | |
3761 | gnu/java/awt/peer/gtk/GThreadMutex.java and | |
3762 | gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java. | |
3763 | * Makefile.in: Regenerated. | |
3764 | ||
3765 | 2004-08-31 Archie Cobbs <archie@dellroad.org> | |
3766 | ||
3767 | * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files | |
3768 | ||
3769 | 2004-08-31 Steven Augart <augart@watson.ibm.com> | |
3770 | ||
3771 | * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): | |
3772 | Added jfieldID, jmethodID. | |
3773 | ||
3774 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
3775 | ||
3776 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
3777 | (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize | |
3778 | gdk_env before calling any gdk or gtk function. | |
3779 | ||
3780 | * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field. | |
3781 | (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled. | |
3782 | (run): Set gtkInitCalled. | |
3783 | ||
3784 | 2004-08-31 Steven Augart <augart@watson.ibm.com> | |
3785 | ||
3786 | * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of | |
3787 | the gnu.classpath.awt.gtk.portable.native.sync system property to C. | |
3788 | ||
3789 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
3790 | (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument, | |
3791 | portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to | |
3792 | init_glib_threads. | |
3793 | (init_glib_threads): New function. | |
3794 | ||
3795 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
3796 | ||
3797 | * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_ | |
3798 | PRIORITY when not already defined in header file. | |
3799 | ||
3800 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
3801 | ||
3802 | * jni/gtk-peer/gthread-jni.c (setup_cache): Call | |
3803 | ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2. | |
3804 | ||
3805 | 2004-08-31 Steven Augart <augart@watson.ibm.com> | |
3806 | ||
3807 | * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes. | |
3808 | Implemented missing functions for GTK2. | |
3809 | Added error handling. | |
3810 | Renamed static functions out of the g_ namespace. | |
3811 | Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, | |
3812 | EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options. | |
3813 | Rewrote global-reference code. | |
3814 | Eliminated cascading errors. | |
3815 | (mutex_trylock_jni_impl) Fully implemented. | |
3816 | (cond_timed_wait_jni_impl) Went from millisecond to microsecond | |
3817 | resolution. | |
3818 | (setup_cache) New function. | |
3819 | (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed | |
3820 | bug where they were not unlocking the GMutex associated with the | |
3821 | condition variable during the wait on that condition variable. | |
3822 | ||
3823 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c, | |
3824 | native/jni/gtk-peer/gthread-jni.c, | |
3825 | native/jni/gtk-peer/gthread-jni.h | |
3826 | (g_thread_jni_functions): Renamed to ... | |
3827 | (portable_native_sync_jni_functions): this name. | |
3828 | (gdk_vm): Renamed to... | |
3829 | (the_vm): this name. | |
3830 | ||
3831 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
3832 | (gdk_vm): Removed duplicate definition. | |
3833 | (gtkInit): Removed stray message to stdout. | |
3834 | (gtkInit): Use g_malloc and g_free instead of malloc and free. | |
3835 | (gtkInit): Fix a const assignment bug. | |
3836 | (gtkInit): Simplified code. | |
3837 | ||
3838 | * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java, | |
3839 | native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c, | |
3840 | native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h, | |
3841 | gnu/java/awt/peer/gtk/GThreadMutex.java: | |
3842 | New files. | |
3843 | ||
3844 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
3845 | ||
3846 | * javax/swing/Box.java: Put FIXME comment above class declaration. | |
3847 | * javax/swing/JButton.java: Remove illegal L&F HTML from comments. | |
3848 | * javax/swing/JCheckBox.java: Likewise. | |
3849 | * javax/swing/JDialog.java: Likewise. | |
3850 | * javax/swing/JRadioButton.java: Likewise. | |
3851 | * javax/swing/JToggleButton.java: Likewise. | |
3852 | * javax/swing/UIManager.java: Likewise. | |
3853 | * javax/swing/border/TitledBorder.java: Likewise. | |
3854 | * javax/swing/plaf/basic/BasicLabelUI.java: Likewise. | |
3855 | * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise. | |
3856 | * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise. | |
3857 | * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise. | |
3858 | * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise. | |
3859 | * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise. | |
3860 | * javax/swing/text/JTextComponent.java: Likewise. | |
3861 | ||
3862 | 2004-08-31 David Jee <djee@redhat.com> | |
3863 | ||
3864 | PR AWT/16682 | |
3865 | * gnu/java/awt/peer/gtk/GtkFramePeer.java | |
3866 | (setIconImage): Add a FIXME for unhandled cases. | |
3867 | ||
3868 | 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3869 | ||
3870 | PR AWT/16040 | |
3871 | * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not | |
3872 | getModifiers. Replace old button masks with new ones. | |
3873 | * gnu/awt/xlib/XEventLoop.java: Likewise. | |
3874 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise. | |
3875 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
3876 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise. | |
3877 | * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise. | |
3878 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise. | |
3879 | * java/awt/AWTKeyStroke.java: Remove old modifier masks. | |
3880 | * java/awt/Component.java: Replace old modifier masks with new | |
3881 | ones. | |
3882 | * java/awt/Container.java: Call getModifiersEx, not | |
3883 | getModifiers. | |
3884 | * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove | |
3885 | old modifier masks. | |
3886 | * javax/swing/JMenuItem.java: Replace old button masks with new | |
3887 | ones. | |
3888 | * javax/swing/KeyStroke.java: Call getModifiersEx, not | |
3889 | getModifiers. | |
3890 | * javax/swing/SwingUtilities.java: Likewise. | |
3891 | * javax/swing/plaf/basic/BasicButtonListener.java: Likewise. | |
3892 | * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise. | |
3893 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old | |
3894 | mask macros with new ones. | |
3895 | * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask | |
3896 | macros with new ones representing new masks. | |
3897 | ||
3898 | 2004-08-31 Craig Black <craig.black@aonix.com> | |
3899 | ||
3900 | * gnu/java/awt/peer/gtk/GdkGraphics.java | |
3901 | (drawRoundRect): Implemented. | |
3902 | (fillRoundRect): Implemented. | |
3903 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java | |
3904 | (drawRoundRect): Reimplemented to match GdkGraphics. | |
3905 | (fillRoundRect): Reimplemented to match GdkGraphics. | |
3906 | ||
3907 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
3908 | ||
3909 | * Makefile.in: Regenerated. | |
3910 | ||
3911 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3912 | ||
3913 | * gnu/java/awt/EmbeddedWindow.java | |
3914 | (addNotify): Use AccessController to allow execution of privileged | |
3915 | code. | |
3916 | ||
3917 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
3918 | ||
3919 | * gnu/java/awt/EmbeddedWindow.java | |
3920 | (static): Removed. | |
3921 | (addNotify): Set peer via reflection. | |
3922 | (setWindowPeer): Removed. | |
3923 | * gnu/java/awt/natEmbeddedWindow.cc: Removed. | |
3924 | * Makefile.am (nat_source_files): | |
3925 | Removed gnu/java/awt/natEmbeddedWindow.cc. | |
3926 | ||
3927 | 2004-08-31 Bryce McKinlay <mckinlay@redhat.com> | |
3928 | ||
3929 | * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java | |
3930 | and gnu/java/security/action/SetAccessibleAction.java. | |
3931 | ||
3932 | 2004-08-31 Bryce McKinlay <mckinlay@redhat.com> | |
3933 | ||
3934 | * gnu/java/security/action/GetPropertyAction.java (setParameters): | |
3935 | Renamed from 'setName'. New 2-argument form with default value. | |
3936 | (run): Pass default 'value' parameter to System.getProperty(). | |
3937 | * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc | |
3938 | typos. | |
3939 | ||
3940 | 2004-08-31 Bryce McKinlay <mckinlay@redhat.com> | |
3941 | ||
3942 | * gnu/java/security/action/GetPropertyAction.java: New class. | |
3943 | * gnu/java/security/action/SetAccessibleAction.java: New class. | |
3944 | ||
3945 | 2004-08-31 David Jee <djee@redhat.com> | |
3946 | ||
3947 | * gnu/java/awt/peer/gtk/GtkFramePeer.java | |
3948 | (setIconImage): Check if image is null. | |
3949 | ||
3950 | 2004-08-31 David Jee <djee@redhat.com> | |
3951 | ||
3952 | * gnu/java/awt/peer/gtk/GtkFramePeer.java | |
3953 | (create): Set the icon image. | |
3954 | (nativeSetIconImage): New native method declaration. | |
3955 | (setIconImage): Implement. | |
3956 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
3957 | (nativeSetIconImage): New function. | |
3958 | ||
3959 | 2004-08-31 Dalibor Topic <robilad@kaffe.org> | |
3960 | ||
3961 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
3962 | (filenameFilterCallback): Declare local variable accepted before use. | |
3963 | ||
3964 | 2004-08-31 Dalibor Topic <robilad@kaffe.org> | |
3965 | ||
3966 | * gnu/java/awt/ComponentDataBlitOp.java: | |
3967 | Cleaned up imports. | |
3968 | ||
3969 | 2004-08-31 Tom Tromey <tromey@redhat.com> | |
3970 | ||
3971 | * gnu/java/awt/peer/GLightweightPeer.java, | |
3972 | gnu/java/awt/peer/gtk/GdkGraphics2D.java, | |
3973 | gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
3974 | javax/swing/JScrollPane.java: Removed | |
3975 | redundant imports. | |
3976 | ||
3977 | 2004-08-31 David Jee <djee@redhat.com> | |
3978 | ||
3979 | * java/awt/DefaultKeyboardFocusManager.java | |
3980 | (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED | |
3981 | event. Fix shift modifier checking. | |
3982 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c | |
3983 | (accel_attach): Remove. | |
3984 | (setupAccelGroup): Remove calls to accel_attach. | |
3985 | ||
3986 | 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3987 | ||
3988 | * gnu/java/awt/peer/gtk/GtkArg.java: Remove file. | |
3989 | * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file. | |
3990 | ||
3991 | * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and | |
3992 | GtkArgList.java. | |
3993 | (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS. | |
3994 | * Makefile.in: Regenerate. | |
3995 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java, | |
3996 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c | |
3997 | (create(String)): New method. | |
3998 | (create): Call new create method. | |
3999 | (getArgs): Remove method. | |
4000 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java, | |
4001 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c | |
4002 | (nativeCreate): Rename to create. | |
4003 | (gtkSetLabel): Rename to gtkButtonSetLabel. | |
4004 | (gtkToggleButtonSetActive): New method. | |
4005 | (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel. | |
4006 | (setState): Replace set call with gtkToggleButtonSetActive. | |
4007 | (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel. | |
4008 | (getArgs): Remove method. | |
4009 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
4010 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
4011 | (gtkWidgetSetSensitive): New method. | |
4012 | (gtkWidgetSetParent): Likewise. | |
4013 | (GtkComponentPeer): Call setParent, setComponentBounds and | |
4014 | setVisibleAndEnabled. | |
4015 | (setParent): New method. | |
4016 | (setComponentBounds): New method. | |
4017 | (setVisibleAndEnabled): New method. | |
4018 | (setEnabled): Call gtkWidgetSetSensitive. | |
4019 | (getArgs): Remove method. | |
4020 | Remove all set methods. | |
4021 | * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call | |
4022 | gtkWindowSetModal, setTitle and setResizable. | |
4023 | (getArgs): Remove method. | |
4024 | * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java | |
4025 | (setComponentBounds): New method. | |
4026 | * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable): | |
4027 | Replace set call with gtkWindowSetResizable. | |
4028 | (getArgs): Remove method. | |
4029 | (create): Call setTitle and setResizable. | |
4030 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java, | |
4031 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
4032 | (gtkWindowSetTitle): New method. | |
4033 | (gtkWindowSetResizable): New method. | |
4034 | (gtkWindowSetModal): New method. | |
4035 | (setParent): New method. | |
4036 | (setVisibleAndEnabled): New method. | |
4037 | (getArgs): Remove method. | |
4038 | (setTitle): Call gtkWindowSetTitle. | |
4039 | (setResizable): Call gtkWindowSetResizable. | |
4040 | * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on | |
4041 | and off locking instrumentation. | |
4042 | ||
4043 | 2004-08-31 Kim Ho <kho@redhat.com> | |
4044 | ||
4045 | * Makefile.am: Add new file. | |
4046 | * Makefile.in: Regenerate. | |
4047 | * gcj/Makefile.in: Regenerate | |
4048 | * include/Makefile.in: | |
4049 | * java/awt/Container.java: | |
4050 | (acquireComponentForMouseEvent): Respect | |
4051 | the event mask when looking for candidate. | |
4052 | * javax/swing/JComponent.java: | |
4053 | Remove toolTip field. | |
4054 | (createToolTip): Create a tooltip on demand. | |
4055 | (setToolTipText): Register with the ToolTipManager. | |
4056 | (getToolTipText(MouseEvent)): Return getToolTipText(). | |
4057 | * javax/swing/JToolTip.java: Implement. | |
4058 | * javax/swing/Timer.java: Jalopy. | |
4059 | (restart): Call stop, then start. | |
4060 | (stop): Interrupt the timer rather than wait for | |
4061 | the timer to come to a stop naturally. | |
4062 | * javax/swing/ToolTipManager.java: Implement. | |
4063 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
4064 | Change ToolTip.background color. | |
4065 | * javax/swing/plaf/basic/BasicToolTipUI.java: | |
4066 | Implement. | |
4067 | * testsuite/Makefile.in: Regenerate | |
4068 | ||
4069 | 2004-08-31 Jerry Quinn <jlquinn@optonline.net> | |
4070 | ||
4071 | * java/awt/image/DirectColorModel.java (DirectColorModel): Fix | |
4072 | constructor param comments. | |
4073 | ||
4074 | 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com> | |
4075 | ||
4076 | * java/awt/Component.java: Document AWT 1.0 event handler | |
4077 | methods. | |
4078 | ||
4079 | 2004-08-31 Roman Kennke <roman@ontographics.com> | |
4080 | ||
4081 | * javax/swing/Box.java: | |
4082 | (createGlue): Implemented | |
4083 | (createHorizontalGlue): Implemented | |
4084 | (createHorizontalStrut): Implemented | |
4085 | (createVerticalGlue): Implemented | |
4086 | (createVerticalStrut): Implemented | |
4087 | ||
4088 | 2004-08-31 David Jee <djee@redhat.com> | |
4089 | ||
4090 | * gnu/java/awt/peer/gtk/GtkChoicePeer.java | |
4091 | (GtkChoicePeer): Do not automatically select first item. | |
4092 | (getHistory): Remove. | |
4093 | (nativeGetSelected): New method. | |
4094 | (nativeRemoveAll): New method. | |
4095 | (add): Use nativeGetSelected() instead of getHistory(). | |
4096 | (remove): Likewise. | |
4097 | (removeAll): Call nativeRemoveAll(). | |
4098 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c | |
4099 | (create): Migrate to GtkComboBox. | |
4100 | (append): Likewise. | |
4101 | (nativeAdd): Likewise. | |
4102 | (nativeRemove): Likewise. | |
4103 | (select): Likewise. | |
4104 | (nativeRemoveAll): New method. | |
4105 | (nativeGetSelected): New method. | |
4106 | (selection_changed): New method. | |
4107 | (getHistory): Remove. | |
4108 | (item_activate): Remove. | |
4109 | (item_removed): Remove. | |
4110 | (connect_choice_item_selectable_hook): Remove. | |
4111 | ||
4112 | 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com> | |
4113 | ||
4114 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf | |
4115 | variable in setEditable call. | |
4116 | ||
4117 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java, | |
4118 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c | |
4119 | (gtkWidgetSetBackground): New method. | |
4120 | (gtkWidgetSetForeground): Likewise. | |
4121 | (create): Set peer's editable state based on awtComponent's. | |
4122 | ||
4123 | * java/awt/Button.java (Button()): Use empty string rather than | |
4124 | null in no-label constructor. | |
4125 | ||
4126 | 2004-08-31 Roman Kennke <roman@ontographics.com> | |
4127 | ||
4128 | * javax/swing/BoxLayout.java: Reimplement. | |
4129 | ||
4130 | 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com> | |
4131 | ||
4132 | * gnu/java/awt/peer/gtk/GdkGraphics.java, | |
4133 | gnu_java_awt_peer_gtk_GdkGraphics.c | |
4134 | (initState(GtkComponentPeer)): Don't return array of colour | |
4135 | values. | |
4136 | (GdkGraphics(int,int)): Set default font to size 12. | |
4137 | (GdkGraphics(GtkComponentPeer)): Set graphics colour to | |
4138 | component's foreground colour. | |
4139 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java, | |
4140 | gnu_java_awt_peer_gtk_GdkGraphics2D.c | |
4141 | (initState(GtkComponentPeer)): Don't return array of colour | |
4142 | values. | |
4143 | (GdkGraphics2D(GtkComponentPeer)): Set foreground and background | |
4144 | colours to component's colours. | |
4145 | (current_colors_of_widget): Remove function. | |
4146 | * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics): | |
4147 | Return a new graphics object. | |
4148 | * java/awt/Font.java (toString): Fix format. | |
4149 | * java/awt/Graphics.java (toString): Likewise. | |
4150 | ||
4151 | 2004-08-31 Craig Black <craig.black@aonix.com> | |
4152 | ||
4153 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c | |
4154 | (addTearOff): New function. | |
4155 | * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff): | |
4156 | New native method. | |
4157 | (init): Call addTearOff() when menu.isTearOff(). | |
4158 | ||
4159 | 2004-08-31 Bryce McKinlay <mckinlay@redhat.com> | |
4160 | ||
4161 | * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New. | |
4162 | Default implementation. | |
4163 | * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New. | |
4164 | Implement using GdkPixbufDecoder. | |
4165 | ||
4166 | 2004-08-31 David Jee <djee@redhat.com> | |
4167 | ||
4168 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
4169 | (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for | |
4170 | setting the size of GtkFileDialogPeers. | |
4171 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
4172 | (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow, | |
4173 | use their default sizes rather than their natural requisitions. | |
4174 | ||
4175 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
4176 | ||
4177 | * javax/swing/JFormattedTextField.java | |
4178 | (JFormattedTextField): Implemented. | |
4179 | * javax/swing/text/DefaultEditorKit.java | |
4180 | (BeepAction): New inner class. | |
4181 | * javax/swing/text/Segment.java | |
4182 | (partialReturn): New field. | |
4183 | (setPartialReturn): New method. | |
4184 | (isPartialReturn): Likewise. | |
4185 | * javax/swing/text/View.java | |
4186 | (createFragment): Fixed typo. | |
4187 | (getStartOffset): New method. | |
4188 | (getEndOffset): Likewise. | |
4189 | ||
4190 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
4191 | ||
4192 | * javax/swing/table/DefaultTableColumnModel.java | |
4193 | (serialVersionUID): Made private. | |
4194 | (listenerList): Initialize. | |
4195 | (changeEvent): Initialize. | |
4196 | * javax/swing/table/JTableHeader.java | |
4197 | (JTableHeader): New constructors. | |
4198 | (createDefaultColumnModel): New method. | |
4199 | * javax/swing/table/TableColumn.java | |
4200 | (setHeaderRenderer): Simplified code. | |
4201 | (setCellRenderer): Likewise. | |
4202 | (setWidth): Likewise. | |
4203 | ||
e2ab6d12 TT |
4204 | 2004-08-31 Tom Tromey <tromey@redhat.com> |
4205 | ||
4206 | * java/text/AttributedString.java (AttributedString): Use | |
4207 | ArrayList to build array of attribute ranges. Don't use | |
4208 | `attribs' before it is set. | |
4209 | ||
1c340cb6 AT |
4210 | 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch> |
4211 | ||
4212 | * HACKING: Remove reference to special automake. No longer needed. | |
4213 | ||
b6e9851a TT |
4214 | 2004-08-30 Tom Tromey <tromey@redhat.com> |
4215 | ||
4216 | * gnu/java/security/util/Prime.java (generateRandomPrime): Use | |
4217 | return result from `add'. | |
4218 | ||
05502144 TT |
4219 | 2004-08-30 Tom Tromey <tromey@redhat.com> |
4220 | ||
4221 | * java/rmi/server/UID.java (UID): Read `nextCount', not count. | |
4222 | ||
e7023b0f AT |
4223 | 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch> |
4224 | ||
4225 | * gnu/java/security/der/DEREncodingException.java: Remove whitespaces. | |
4226 | ||
2c64dead JF |
4227 | 2004-08-30 Jeroen Frijters <jeroen@frijters.net> |
4228 | ||
4229 | * java/io/File.java File(String,String): Fixed handling of empty | |
4230 | path. | |
4231 | ||
bd8a2e96 CM |
4232 | 2004-08-30 Casey Marshall <csm@gnu.org> |
4233 | ||
4234 | Author e-mail updated for all files. | |
4235 | * gnu/java/security/OID.java (equals): Test if the aurgment is an | |
4236 | instance of OID. | |
4237 | (compareTo): Use `equals'. | |
4238 | * gnu/java/security/der/BitString.java (equals): Test if the | |
4239 | argument is an instance of BitString. | |
4240 | * gnu/java/security/der/DERReader.java: Removed NIO imports. Made | |
4241 | class final. Made fields private. | |
4242 | (<init>): New constructor. | |
4243 | (skip): New method. | |
4244 | (makeString): Made static; don't use NIO. | |
4245 | (fromIso88591, fromUtf16Be, fromUtf8): New methods. | |
4246 | * gnu/java/security/der/DERWriter.java: Fixed imports. | |
4247 | (writeString): Don't use NIO. | |
4248 | (toIso88591, toUtf16Be, toUtf8): New methods. | |
4249 | * gnu/java/security/der/DERValue.java: Formatting changes only. | |
4250 | * gnu/java/security/der/DER.java: Likewise. | |
4251 | ||
68760aee AT |
4252 | 2004-08-30 Tom Tromey <tromey@redhat.com> |
4253 | ||
4254 | * java/nio/CharBuffer.java (put): Fix typo. | |
4255 | * java/nio/DoubleBuffer.java (put): Fix typo. | |
4256 | * java/nio/FloatBuffer.java (put): Fix typo. | |
4257 | * java/nio/IntBuffer.java (put): Fix typo. | |
4258 | * java/nio/LongBuffer.java (put): Fix typo. | |
4259 | * java/nio/ShortBuffer.java (put): Fix typo. | |
4260 | ||
4261 | 2004-08-30 Florian Weimer <fw@deneb.enyo.de> | |
4262 | ||
4263 | * java/nio/ByteBuffer.java (put): Fix typo. | |
4264 | ||
28839b70 CM |
4265 | 2004-08-30 Casey Marshall <csm@gnu.org> |
4266 | ||
4267 | * java/security/DummyKeyPairGenerator.java (clone): Removed | |
4268 | useless instanceof check. | |
4269 | * java/security/DummyMessageDigest.java (clone): Likewise. | |
4270 | * java/security/DummySignature.java (clone): Likewise. | |
4271 | * java/security/MessageDigest.java (clone): Remove useless | |
4272 | instanceof check. | |
4273 | * java/security/MessageDigestSpi.java (clone): Likewise. | |
4274 | * java/security/Signature.java (clone): Provide meaningful | |
4275 | implementation. | |
4276 | * java/security/SignatureSpi.java (clone): Likewise. | |
4277 | ||
6cd655a3 MW |
4278 | 2004-08-29 Mark Wielaard <mark@klomp.org> |
4279 | ||
4280 | * java/util/Arrays.java | |
4281 | (sort(byte[], int, int)): Check fromIndex < 0. | |
4282 | (sort(char[], int, int)): Likewise. | |
4283 | (sort(short[], int, int)): Likewise. | |
4284 | (sort(int[], int, int)): Likewise. | |
4285 | (sort(long[], int, int)): Likewise. | |
4286 | (sort(float[], int, int)): Likewise. | |
4287 | (sort(double[], int, int)): Likewise. | |
4288 | (sort(Object[], int, int, Comparator)): Likewise. | |
4289 | (qsort(byte[], int, int)): Honor lower bound from in insertion sort. | |
4290 | (qsort(char[], int, int)): Likewise. | |
4291 | (qsort(short[], int, int)): Likewise. | |
4292 | (qsort(int[], int, int)): Likewise. | |
4293 | (qsort(long[], int, int)): Likewise. | |
4294 | (qsort(float[], int, int)): Likewise. | |
4295 | (qsort(double[], int, int)): Likewise. | |
4296 | ||
477a21f7 AJH |
4297 | 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org> |
4298 | ||
4299 | * java/util/AbstractCollection.java, java/util/AbstractList.java, | |
4300 | java/util/AbstractMap.java, java/util/AbstractSequentialList.java, | |
4301 | java/util/ArrayList.java, java/util/Arrays.java, | |
4302 | java/util/BitSet.java, java/util/Calendar.java, | |
4303 | java/util/Collection.java, java/util/ListIterator.java, | |
4304 | java/util/Map.java, java/util/SortedSet.java: | |
4305 | Added additional exceptions to documentation, along | |
4306 | with some additions and corrections. | |
4307 | ||
ed347998 HB |
4308 | 2004-08-27 Hans Boehm <Hans.Boehm@hp.com> |
4309 | ||
4310 | * configure.ac: Handle --enable-gc-debug. | |
4311 | * configure: Regenerate. | |
4312 | * include/config.h.in (LIBGCJ_GC_DEBUG): Add. | |
4313 | * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files. | |
4314 | Rearrange include file order. | |
4315 | (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set. | |
4316 | (GC_finalize_all, GC_debug_generic_malloc): Don't declare. | |
4317 | (disable_gc_mutex): Delete along with all references. | |
4318 | (_Jv_MarkObj, _Jv_MarkArray): Use public types, | |
4319 | adjust for debug header size. | |
4320 | (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for | |
4321 | debug case. | |
4322 | (_Jv_AllocArray): Declare min_heap_addr only if needed. | |
4323 | (gcj_describe_type_fn): New. | |
4324 | (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind. | |
4325 | Register gcj_describe_type_fn. | |
4326 | * include/boehm-gc.h: | |
4327 | (_Jv_AllocObj, _Jv_allocPtrFreeObj): | |
4328 | Don't define, but declare, for debug case. | |
4329 | * java/lang/natObject.cc: | |
4330 | (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set. | |
4331 | ||
42348101 MW |
4332 | 2004-08-26 Mark Wielaard <mark@klomp.org> |
4333 | ||
4334 | Fixes PR libgcj/17002: | |
4335 | * java/util/TimeZone.java (defaultZone): Try a couple of ways to get | |
4336 | a TimeZoneId string and then try to convert that to a TimeZone with | |
4337 | getDefaultSystemTimeZone(String). | |
4338 | (timezones0): Changed type from Hashtable to HashMap. | |
4339 | (timezones): Create HashMap, not Hashtable. | |
4340 | (getDefaultTimeZone): New method, rewritten from CNI version. | |
4341 | (readTimeZoneFile): New method. | |
4342 | (readtzFile): Likewise. | |
4343 | (skipFully): Likewise. | |
4344 | * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to | |
4345 | getDefaultTimeZoneId and rewritten. | |
4346 | (getDefaultTimeZoneId): Rewritten in java. | |
4347 | ||
ed89de94 DD |
4348 | 2004-08-25 David Daney <daney@avtrex.com> |
4349 | ||
4350 | * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS. | |
4351 | * Makefile.in: Regenerated. | |
4352 | ||
8ba14152 BM |
4353 | 2004-08-23 Bryce McKinlay <mckinlay@redhat.com> |
4354 | ||
4355 | * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc | |
4356 | only if jvmpi is enabled. | |
4357 | (jvmpi_notify_alloc): Don't check if jvmpi is enabled here. | |
4358 | (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC. | |
4359 | (_Jv_AllocString): Likewise. | |
4360 | (_Jv_AllocPtrFreeObject): Likewise. | |
4361 | ||
0039c16d | 4362 | 2004-08-23 Hans Boehm <Hans.Boehm@hp.com> |
8ba14152 | 4363 | |
0039c16d HB |
4364 | * defineclass.cc: Include <stdio.h>. |
4365 | * java/lang/natClassLoader.cc: Include <stdio.h>. | |
4366 | ||
be2043db AT |
4367 | 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch> |
4368 | Michael Koch <konqueror@gmx.de> | |
4369 | ||
4370 | * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added. | |
4371 | * Makefile.in: Regenerated. | |
4372 | ||
b7d9c3ae MK |
4373 | 2004-08-20 Michael Koch <konqueror@gmx.de> |
4374 | ||
4375 | * configure.ac: Replaced all AC_TRY_COMPILE macros with | |
4376 | AC_COMPILE_IFELSE macros. | |
4377 | ||
80d8905c MK |
4378 | 2004-08-20 Michael Koch <konqueror@gmx.de> |
4379 | ||
4380 | * configure.in: Renamed to configure.ac. | |
4381 | * configure.ac: New file. | |
4382 | * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in | |
4383 | include/config.h.in, testsuite/Makefile.in: Regenerated. | |
4384 | ||
cad90591 MK |
4385 | 2004-08-20 Michael Koch <konqueror@gmx.de> |
4386 | ||
4387 | * configure.in: Rewrote some obsolete stuff for autoconf 2.59. | |
4388 | * aclocal.m4, configure: Regenerated. | |
4389 | ||
e3f92d3b MK |
4390 | 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com> |
4391 | Michael Koch <konqueror@gmx.de> | |
4392 | ||
438c7f23 BM |
4393 | * configure.in, Makefile.am: Ported to automake 1.9. |
4394 | * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, | |
4395 | include/Makefile.in, testsuite/Makefile.in, include/config.h.in: | |
e3f92d3b MK |
4396 | Regenerated. |
4397 | ||
476a918f TT |
4398 | 2004-08-19 Tom Tromey <tromey@redhat.com> |
4399 | ||
4400 | * java/net/DatagramSocket.java: Fixed typo. | |
4401 | ||
bb0452b1 BM |
4402 | 2004-08-18 Bryce McKinlay <mckinlay@redhat.com> |
4403 | ||
4404 | PR libgcj/17081 | |
4405 | * java/net/URI.java (string): New field. Make all other fields | |
4406 | transient. | |
4407 | (readObject): Implemented. | |
4408 | (writeObject): Implemented. | |
4409 | (URI): Set 'string'. | |
4410 | ||
b4b3435e BM |
4411 | 2004-08-18 Bryce McKinlay <mckinlay@redhat.com> |
4412 | ||
4413 | PR libgcj/17079 | |
4414 | * java/util/logging/Handler.java (isLoggable): Accept record if its | |
4415 | log level equals the threshold level. From Robin Green. | |
4416 | ||
720086cd DD |
4417 | 2004-08-18 David Daney <ddaney@avtrex.com> |
4418 | ||
4419 | * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend | |
4420 | instead of sigwait. | |
4421 | ||
baeff970 MK |
4422 | 2004-08-17 Michael Koch <konqueror@gmx.de> |
4423 | ||
4424 | * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read. | |
4425 | * Makefile.in: Regenerated. | |
4426 | ||
0e5b1376 TT |
4427 | 2004-08-16 Tom Tromey <tromey@redhat.com> |
4428 | ||
4429 | PR java/8473: | |
4430 | * testsuite/libjava.jacks/jacks.xfail: Removed passing test. | |
4431 | ||
be170ef2 MK |
4432 | 2004-08-16 Michael Koch <konqueror@gmx.de> |
4433 | ||
4434 | * Makefile.am | |
4435 | (math_c_files): Renamed from c_files. | |
4436 | (math_c_source_files): Renamed from c_source_files. | |
4437 | * Makefile.in, | |
4438 | gcj/Makefile.in, | |
4439 | include/Makefile.in, | |
4440 | testsuite/Makefile.in: Regenerated. | |
4441 | ||
7614fd28 BM |
4442 | 2004-08-16 Bryce McKinlay <mckinlay@redhat.com> |
4443 | ||
4444 | * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory | |
4445 | to avoid autoconf warning. | |
4446 | * configure: Rebuilt. | |
4447 | ||
1c5192e4 AT |
4448 | 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch> |
4449 | ||
4450 | * java/net/natInetAddressPosix.cc (lookup): Reflect rename of | |
4451 | localhostAddress to loopbackAddress. | |
4452 | * java/net/natInetAddressWin32.cc (lookup): Likewise. | |
4453 | ||
4109fe85 BM |
4454 | 2004-08-13 Bryce McKinlay <mckinlay@redhat.com> |
4455 | ||
4456 | * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I | |
4457 | boehm-gc's include dirs. | |
4458 | * configure: Rebuilt. | |
4459 | * include/boehm-gc.h: Include gc_config.h. | |
4460 | ||
d7945faf BM |
4461 | 2004-08-13 Bryce McKinlay <mckinlay@redhat.com> |
4462 | ||
4463 | * java/net/InetAddress.java (loopbackAddress): Renamed from | |
4464 | localhostAddress. | |
4465 | (getByName): Return loopback address for null hostname, without | |
4466 | security check. Use lookup(), not getAllByName. | |
4467 | (getAllByName): Return loopback address for null hostname, without | |
4468 | security check. | |
4469 | * java/net/natInetAddressPosix.cc (lookup): Don't perform security | |
4470 | check here. | |
4471 | ||
73389fa4 BM |
4472 | 2004-08-13 Bryce McKinlay <mckinlay@redhat.com> |
4473 | ||
4474 | PR libgcj/17020 | |
4475 | Reported by Robin Green. | |
4476 | * defineclass.cc (handleField): Don't throw exception on unrecognised | |
4477 | modifier. Add FIXME comments for spec compliance. | |
4478 | (handleMethod): Likewise. | |
4479 | ||
28e99c62 HB |
4480 | 2004-08-10 Hans Boehm <Hans.Boehm@hp.com> |
4481 | ||
4482 | PR libgcj/16662 | |
4483 | * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing. | |
4484 | (Almost everywhere): add LOG calls, fix, add comments. | |
4485 | (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion. | |
4486 | Add explicit check for LOCKED bit in slow case (PR 16662). | |
4487 | (_Jv_MonitorExit): Add casts in debug-only code. | |
4488 | Always release LOCKED bit before throwing exception. | |
4489 | (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock | |
4490 | isn't. Handle easy cases without lock acquisition. | |
4491 | (Object::wait): Use NotifyAll for lock inflation. | |
4492 | ||
faa03cf1 DD |
4493 | 2004-08-12 David Daney <ddaney@avtrex.com> |
4494 | ||
4495 | * testsuite/libjava.lang/Process_1.java: New test. | |
4496 | * testsuite/libjava.lang/Process_2.java: New test. | |
4497 | * testsuite/libjava.lang/Process_3.java: New test. | |
4498 | * testsuite/libjava.lang/Process_4.java: New test. | |
4499 | * testsuite/libjava.lang/Process_5.java: New test. | |
4500 | * testsuite/libjava.lang/Process_6.java: New test. | |
4501 | * testsuite/libjava.lang/Process_1.out: Expected result. | |
4502 | * testsuite/libjava.lang/Process_2.out: Expected result. | |
4503 | * testsuite/libjava.lang/Process_3.out: Expected result. | |
4504 | * testsuite/libjava.lang/Process_4.out: Expected result. | |
4505 | * testsuite/libjava.lang/Process_5.out: Expected result. | |
4506 | * testsuite/libjava.lang/Process_6.out: Expected result. | |
4507 | ||
4508 | 2004-08-12 David Daney <ddaney@avtrex.com> | |
4509 | ||
4510 | PR libgcj/11801 | |
4511 | * java/lang/PosixProcess.java: Rewrote. | |
4512 | * java/lang/natPosixProcess.cc: Rewrote. | |
4513 | * java/lang/Runtime.java (execInternal): Declare throws IOException. | |
4514 | * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare. | |
4515 | * posix-threads.cc (block_sigchld) New function. | |
4516 | (_Jv_ThreadRegister) Use it. | |
4517 | (_Jv_ThreadStart) Use it. | |
4518 | * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in... | |
4519 | * Makefile.am: ... to specify extra native headers. | |
4520 | * configure: Regenerated. | |
4521 | * include/config.h: Regenerated. | |
4522 | * Makefile.in: Regenerated. | |
4523 | * gcj/Makefile.in: Regenerated. | |
4524 | * include/Makefile.in: Regenerated. | |
4525 | * testsuite/Makefile.in: Regenerated. | |
4526 | ||
c597ef4e DN |
4527 | 2004-08-12 Diego Novillo <dnovillo@redhat.com> |
4528 | ||
4529 | PR tree-optimization/16867 | |
4530 | * testsuite/libjava.lang/PR16867.java: New test. | |
4531 | ||
b4d49f49 PB |
4532 | 2004-08-09 Per Bothner <per@bothner.com> |
4533 | ||
4534 | * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class, | |
4535 | with private fields and access methods. | |
4536 | (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations. | |
4537 | * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h. | |
4538 | * prims.cc (_Jv_Utf8COnst::init): New method implementation. | |
4539 | ( _Jv_makeUtf8Const): Rewrite using new constructors. | |
4540 | (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static. | |
4541 | * defineclass.cc: Use new _Utf8Const access/convenience methods. | |
4542 | * jni.cc: Likewise. | |
4543 | * resolve.cc: Likewise. | |
4544 | * gcj/field.h: Likewise. | |
4545 | * include/jvm.h: Likewise. | |
4546 | * java/lang/Class.h: Likewise. | |
4547 | * java/lang/natClass.cc: Likwise. | |
4548 | * java/lang/natClassLoader.cc: Likewise | |
4549 | * java/lang/reflect/natMethod.cc: Likewise | |
4550 | * verify.cc: Likewise. | |
4551 | (_Jv_BytecodeVerifier::make_utf8_const): Optimize. | |
4552 | (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call. | |
4553 | ||
7e04b67b AH |
4554 | 2004-08-10 Andrew Haley <aph@redhat.com> |
4555 | ||
4556 | * testsuite/libjava.lang/err14.java: New file. | |
4557 | * testsuite/libjava.lang/err14.out: New file. | |
4558 | ||
48a8c565 AT |
4559 | 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch> |
4560 | ||
4561 | * Makefile.am: Fix missing rename from x_nat_headers to | |
4562 | xlib_nat_headers. | |
4563 | * Makefile.in: Regenerated. | |
4564 | ||
26be638d AH |
4565 | 2004-08-04 Andrew Haley <aph@redhat.com> |
4566 | ||
4567 | * java/security/BasicPermission.java: Don't check wildcards. | |
4568 | ||
614c0fc2 TF |
4569 | 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com> |
4570 | Michael Koch <konqueror@gmx.de> | |
4571 | ||
4572 | * acinclude.m4: Correctly quote PKG_CHECK_MODULES. | |
4573 | * configure.in: Replaced all usages of AC_LINK_FILES by | |
4574 | AC_CONFIG_LINKS. | |
4575 | * aclocal.m4, | |
4576 | configure: Regenerated. | |
4577 | ||
ff78c80b TF |
4578 | 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com> |
4579 | Michael Koch <konqueror@gmx.de> | |
4580 | ||
4581 | * acconfig.h: Removed. | |
4582 | * Makefile.am: Rename variables for xlib peer to include xlib and | |
4583 | gtk_c_headers to gtk_jni_headers. | |
4584 | * Makefile.in: Regenerated. | |
4585 | ||
76207f7c AH |
4586 | 2004-08-04 Andrew Haley <aph@redhat.com> |
4587 | ||
4588 | * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with | |
4589 | debugging. | |
4590 | ||
aed6152d NN |
4591 | 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org> |
4592 | ||
4593 | * configure.in: Eliminate uses of changequote (mostly by quoting []). | |
4594 | Replace most top level 'dnl' comments with '#' comments, conforming | |
4595 | to new autoconf style. Use AS_HELP_STRING throughout; improve a few | |
4596 | help strings. | |
4597 | * configure: Rebuilt. | |
4598 | ||
ed698112 NN |
4599 | 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org> |
4600 | ||
4601 | * acinclude.m4: Include no-executables.m4. | |
4602 | * aclocal.m4: Rebuild. | |
4603 | * configure.in: Convert to the autoconf 2.59 version of | |
4604 | of the no-executables hack, and also of the nonstandard CXX | |
4605 | hack and the multilibbed CC and CXX hack. Change prerequisite | |
4606 | to autoconf 2.59. | |
4607 | * configure: Rebuild with autoconf 2.59. (Woo-hoo!) | |
4608 | * Makefile.in, gcj/Makefile.in, include/Makefile.in, | |
4609 | testsuite/Makefile.in: Regenerate. | |
4610 | ||
8e9031ec TT |
4611 | 2004-08-03 Tom Tromey <tromey@redhat.com> |
4612 | ||
4613 | * jni.cc: Reindented. | |
4614 | ||
474f5417 BM |
4615 | 2004-08-02 Bryce McKinlay <mckinlay@redhat.com> |
4616 | ||
4617 | * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat. | |
4618 | ||
899deeca BM |
4619 | 2004-08-02 Bryce McKinlay <mckinlay@redhat.com> |
4620 | ||
4621 | * testsuite/libjava.compile/PR16701.java: New test. | |
4622 | ||
b828123e AJH |
4623 | 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org> |
4624 | ||
4625 | * java/util/Collection.java, java/util/List.java, | |
4626 | java/util/Map.java, java/util/Set.java, | |
4627 | java/util/SortedMap.java, java/util/SortedSet.java: | |
4628 | Added additional exceptions to documentation. | |
4629 | ||
5b5662ee DS |
4630 | 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net> |
4631 | ||
4632 | PR libgcj/16814 | |
4633 | * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32. | |
4634 | * configure. Regenerate. | |
4635 | * include/win32.h: Explicitly include winsock2.h | |
4636 | * win32.cc (_Jv_platform_initialize): Require version 2.2 of | |
4637 | Winsock api. | |
4638 | ||
f370ef24 MK |
4639 | 2004-07-30 Michael Koch <konqueror@gmx.de> |
4640 | ||
4641 | * java/util/zip/GZIPInputStream.java | |
4642 | (GZIPInputStream): Increase buffer size to 4k. | |
4643 | * java/util/zip/GZIPOutputStream.java | |
4644 | (GZIPOutputStream): Likewise. | |
4645 | * java/util/zip/Inflater.java | |
4646 | (setInput): Merged formating with GNU classpath. | |
4647 | * java/util/zip/InflaterInputStream.java | |
4648 | (InflaterInputStream): Increase buffer size to 4k. | |
4649 | (fill): Throw exception if stream ends early. | |
4650 | (read): Merged endless-loop with GNU classpath. | |
4651 | (skip): Increase buffer size to 2k. | |
4652 | ||
2afed683 MK |
4653 | 2004-07-30 Michael Koch <konqueror@gmx.de> |
4654 | ||
4655 | * gnu/java/awt/EmbeddedWindow.java | |
4656 | (addNotify): Use AccessController to allow execution of privileged | |
4657 | code. | |
4658 | ||
a639e504 MK |
4659 | 2004-07-29 Michael Koch <konqueror@gmx.de> |
4660 | ||
4661 | * gnu/java/lang/MainThread.java: | |
4662 | Explicitely import used classes. | |
4663 | (args): Make it type String[]. | |
4664 | ||
1cc49b13 DT |
4665 | 2004-07-29 Dalibor Topic <robilad@kaffe.org> |
4666 | ||
4667 | * gnu/java/awt/ComponentDataBlitOp.java, | |
4668 | gnu/java/beans/ExplicitBeanInfo.java, | |
4669 | gnu/java/beans/IntrospectionIncubator.java, | |
4670 | gnu/java/beans/editors/ColorEditor.java, | |
4671 | gnu/java/beans/editors/FontEditor.java, | |
4672 | gnu/java/beans/editors/NativeBooleanEditor.java, | |
4673 | gnu/java/beans/editors/NativeByteEditor.java, | |
4674 | gnu/java/beans/editors/NativeDoubleEditor.java, | |
4675 | gnu/java/beans/editors/NativeFloatEditor.java, | |
4676 | gnu/java/beans/editors/NativeIntEditor.java, | |
4677 | gnu/java/beans/editors/NativeLongEditor.java, | |
4678 | gnu/java/beans/editors/NativeShortEditor.java, | |
4679 | gnu/java/beans/editors/StringEditor.java, | |
4680 | gnu/java/io/ClassLoaderObjectInputStream.java, | |
4681 | gnu/java/io/decode/Decoder.java, | |
4682 | gnu/java/io/encode/Encoder.java, | |
4683 | gnu/java/lang/ClassHelper.java, | |
4684 | gnu/java/locale/Calendar.java, | |
4685 | gnu/java/locale/Calendar_de.java, | |
4686 | gnu/java/locale/Calendar_en.java, | |
4687 | gnu/java/locale/Calendar_nl.java, | |
4688 | gnu/java/locale/LocaleInformation_de.java, | |
4689 | gnu/java/locale/LocaleInformation_en.java, | |
4690 | gnu/java/locale/LocaleInformation_nl.java: | |
4691 | Cleaned up imports. | |
4692 | ||
4d4fed15 BM |
4693 | 2004-07-28 Bryce McKinlay <mckinlay@redhat.com> |
4694 | ||
4695 | * README: Remove obsolete info. Update bug URL. | |
4696 | * THANKS: Updated. | |
e90bcbf5 | 4697 | * NEWS: Updated with news up to GCC 3.4 release. |
4d4fed15 | 4698 | |
64d696b6 BM |
4699 | 2004-07-28 Bryce McKinlay <mckinlay@redhat.com> |
4700 | ||
4701 | * gnu/java/security/action/GetPropertyAction.java (setParameters): | |
4702 | Renamed from 'setName'. New 2-argument form with default value. | |
4703 | (run): Pass default 'value' parameter to System.getProperty(). | |
4704 | * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc | |
4705 | typos. | |
4706 | * gnu/java/net/protocol/http/Connection.java: Use 'setParameters' | |
4707 | not 'setName'. | |
4708 | ||
f0faf24b BM |
4709 | 2004-07-28 Bryce McKinlay <mckinlay@redhat.com> |
4710 | ||
4711 | * configure.in: Check for minimum GTK version 2.4 requirement. | |
4712 | * configure: Rebuilt. | |
4713 | ||
ce961468 BM |
4714 | 2004-07-27 Bryce McKinlay <mckinlay@redhat.com> |
4715 | ||
4716 | * testsuite/libjava.lang/TLtest.java: Reduce sleep time. | |
4717 | * testsuite/libjava.lang/Thread_Alive.java: Remove old email address. | |
4718 | Reduce sleep time. | |
4719 | * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around | |
4720 | compiler bug. | |
4721 | * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email | |
4722 | address. Reduce sleep times. Synchronize with target threads before | |
4723 | attempting to interrupt them. Don't try to calibrate yeild count, | |
4724 | instead, always loop for a fixed time. | |
4725 | * testsuite/libjava.lang/Thread_Join.java: Remove old email address. | |
4726 | * testsuite/libjava.lang/Thread_Monitor.java: Likewise. | |
4727 | * testsuite/libjava.lang/Thread_Wait.java: Likewise. | |
4728 | * testsuite/libjava.lang/Thread_Wait_2.java: Likewise. | |
4729 | * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise. | |
4730 | * testsuite/libjava.lang/pr179.java: Likewise. | |
4731 | * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep | |
4732 | time. Remove upper bounds check on sleep time. | |
4733 | ||
0954f3eb BM |
4734 | 2004-07-27 Bryce McKinlay <mckinlay@redhat.com> |
4735 | ||
4736 | * testsuite/libjava.lang/Thread_HoldsLock.java: New test case. | |
4737 | * testsuite/libjava.lang/Thread_HoldsLock.out: New. | |
4738 | ||
d078f7c0 BM |
4739 | 2004-07-27 Bryce McKinlay <mckinlay@redhat.com> |
4740 | ||
4741 | * java/io/File.java (toURI): Throw RuntimeException, not | |
4742 | InternalError. | |
4743 | * java/lang/Runtime.java (exit): Qualify static sleep() call with | |
4744 | class name, not instance. | |
4745 | ||
8b66a9e9 BM |
4746 | 2004-07-24 Bryce McKinlay <mckinlay@redhat.com> |
4747 | ||
4748 | * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java | |
4749 | and gnu/java/security/action/SetAccessibleAction.java. | |
4750 | * Makefile.in: Rebuilt. | |
4751 | ||
ffe4e037 BM |
4752 | 2004-07-23 Bryce McKinlay <mckinlay@redhat.com> |
4753 | ||
4754 | * prims.cc (_Jv_InitPrimClass): Don't create an array class. | |
4755 | (_Jv_CreateJavaVM): Don't pass array vtable parameter to | |
4756 | _Jv_InitPrimClass. | |
4757 | (DECLARE_PRIM_TYPE): Don't declare array vtables. | |
4758 | * include/jvm.h (struct _Jv_ArrayVTable): Removed. | |
4759 | * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration. | |
4760 | ||
ef05818b TF |
4761 | 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com> |
4762 | ||
4763 | * Makefile.am: Replace jar, rmic and rmiregistry references with | |
4764 | gjar, grmic and grmiregistry. | |
4765 | * configure.in: Likewise. | |
4766 | * Makefile.in: Regenerate. | |
4767 | * configure: Likewise. | |
4768 | * gcj/Makefile.in: Likewise. | |
4769 | * include/Makefile.in: Likewise. | |
4770 | * testsuite/Makefile.in: Likewise. | |
4771 | ||
ae066484 BM |
4772 | 2004-07-23 Bryce McKinlay <mckinlay@redhat.com> |
4773 | ||
ec5c28ec BM |
4774 | * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction |
4775 | for privileged getProperty calls. | |
4776 | * java/io/ObjectOutputStream.java (getField): No longer static. Use | |
4777 | SetAccessibleAction instead of anonymous class for doPrivileged call. | |
4778 | (getMethod): Likewise. | |
4779 | (setAccessible): New field. PrivilegedAction object to use when | |
4780 | calling setAccessible. | |
4781 | * java/io/ObjectStreamClass.java (calculateOffsets): Use | |
4782 | SetAccessibleAction instead of anonymous class for diPrivileged call. | |
4783 | (setFields): Likewise. | |
4784 | (getClassUID): Likewise. | |
4785 | (findMethod): Likewise. | |
4786 | * gnu/java/security/action/GetPropertyAction.java: New class. | |
4787 | * gnu/java/security/action/SetAccessibleAction.java: New class. | |
4788 | ||
4789 | 2004-07-23 Bryce McKinlay <mckinlay@redhat.com> | |
4790 | ||
4791 | * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset' | |
4792 | for final fields. | |
ae066484 BM |
4793 | * testsuite/libjava.lang/Serialization.java: New test. |
4794 | * testsuite/libjava.lang/Serialization.out: New. | |
4795 | ||
4796 | 2004-07-23 Bryce McKinlay <mckinlay@redhat.com> | |
694e657a MW |
4797 | |
4798 | * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file | |
4799 | missed in last commit. | |
4800 | ||
392abf6b MW |
4801 | 2004-07-23 Mark Wielaard <mark@klomp.org> |
4802 | ||
4803 | * java/lang/System.java (static): Set http.agent system property when | |
4804 | not yet set. | |
4805 | * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent | |
4806 | from system property inside AccessController.doPrivileged() call. | |
4807 | (proxyPort): Made package private. | |
4808 | (proxyInUse): Likewise. | |
4809 | (proxyHost): Likewise. | |
4810 | (userAgent): Likewise. | |
4811 | ||
6d97cb60 MW |
4812 | 2004-07-23 Mark Wielaard <mark@klomp.org> |
4813 | ||
4814 | * gnu/java/net/DefaultContentHandlerFactory.java: New dummy | |
4815 | implementation. | |
4816 | ||
f1f90ae0 BM |
4817 | 2004-07-22 Bryce McKinlay <mckinlay@redhat.com> |
4818 | ||
4819 | * Makefile.am (ordinary_java_source_files): Add | |
4820 | DefaultContentHandlerFactory.java. | |
4821 | * Makefile.in: Rebuilt. | |
4822 | * java/net/URLConnection.java (defaultFactory): New field. | |
4823 | (getContent): | |
4824 | (getContentHandler): Renamed from 'setContentHandler'. Try | |
4825 | defaultFactory after user-set factory, if any. Search for content | |
4826 | handler implementations in gnu.java.net.content, not gnu.gcj.content. | |
4827 | * gnu/java/net/protocol/file/Connection.java (getHeaderField): | |
4828 | Implemented. | |
4829 | (getLastModified): Implemented. | |
4830 | (getPermission): Create file permission here, instead of in | |
4831 | constructor. | |
4832 | * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField): | |
4833 | Implemented. | |
4834 | * gnu/java/net/protocol/jar/Connection.java (getHeaderField): | |
4835 | Implemented. | |
4836 | (getLastModified): Implemented. | |
4837 | * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New. | |
4838 | Default implementation. | |
4839 | * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New. | |
4840 | Implement using GdkPixbufDecoder. | |
4841 | ||
8e99fb4f GH |
4842 | 2004-07-21 Michael Koch <konqueror@gmx.de> |
4843 | ||
4844 | * javax/swing/JTextArea.java | |
4845 | (setLineWrap): Fire property change event after new value is set. | |
4846 | (setTabSize): Likewise. | |
4847 | ||
4848 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
4849 | ||
4850 | * javax/swing/JTable.java | |
4851 | (autoCreateColumnsFromModel): New field. | |
4852 | (autoResizeMode): Likewise. | |
4853 | (cellEditor): Likewise. | |
4854 | (cellSelectionEnabled): Likewise. | |
4855 | (columnModel): Likewise. | |
4856 | (dataModel): Likewise. | |
4857 | (defaultEditorsByColumnClass): Likewise. | |
4858 | (defaultRenderersByColumnClass): Likewise. | |
4859 | (editingColumn): Likewise. | |
4860 | (editingRow): Likewise. | |
4861 | (gridColor): Likewise. | |
4862 | (preferredViewportSize): Likewise. | |
4863 | (rowHeight): Likewise. | |
4864 | (rowMargin): Likewise. | |
4865 | (rowSelectionAllowed): Likewise. | |
4866 | (selectionBackground): Likewise. | |
4867 | (selectionForeground): Likewise. | |
4868 | (selectionModel): Likewise. | |
4869 | (showHorizontalLines): Likewise. | |
4870 | (showVerticalLines): Likewise. | |
4871 | (tableHeader): Likewise. | |
4872 | (JTable): Implemented. | |
4873 | (getColumnModel): Likewise. | |
4874 | (getSelectedRow): Likewise. | |
4875 | (getSelectionModel): Likewise. | |
4876 | (setModel): Likewise. | |
4877 | (setSelectionModel): Likewise. | |
4878 | (createScrollPaneForTable): New method. | |
4879 | (createDefaultDataModel): Likewise. | |
4880 | (createDefaultListSelectionModel): Likewise. | |
4881 | (getModel): Likewise. | |
4882 | (getTableHeader): Likewise. | |
4883 | (setTableHeader): Likewise. | |
4884 | (getColumnSelectionAllowed): Likewise. | |
4885 | (setColumnSelectionAllowed): Likewise. | |
4886 | (getRowSelectionAllowed): Likewise. | |
4887 | (setRowSelectionAllowed): Likewise. | |
4888 | (getAutoResizeMode): Likewise. | |
4889 | (setAutoResizeMode): Likewise. | |
4890 | (getColumnCount): Likewise. | |
4891 | (getRowCount): Likewise. | |
4892 | (getCellRenderer): Likewise. | |
4893 | * javax/swing/JTree.java | |
4894 | (cellRenderer): New field. | |
4895 | (editable): Likewise. | |
4896 | (rootVisible): Likewise. | |
4897 | (showsRootHandles): Likewise. | |
4898 | (getModel): New method. | |
4899 | (setModel): Likewise. | |
4900 | (isEditable): Likewise. | |
4901 | (setEditable): Likewise. | |
4902 | (isRootVisbile): Likewise. | |
4903 | (setRootVisible): Likewise. | |
4904 | (getShowsRootHandles): Likewise. | |
4905 | (setShowRootHandles): Likewise. | |
4906 | (getCellRenderer): Likewise. | |
4907 | (setCellRenderer): Likewise. | |
4908 | ||
4909 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
4910 | ||
4911 | * javax/swing/JFormattedTextField.java | |
4912 | (setDocument): Implemented. | |
4913 | * javax/swing/JRootPane.java: | |
4914 | Fixed javadocs. | |
4915 | * javax/swing/JTable.java | |
4916 | (getDefaultRenderer): New method. | |
4917 | * javax/swing/JTextField.java | |
4918 | (setFont): Likewise. | |
4919 | (getPreferredSize): Likewise. | |
4920 | * javax/swing/JToggleButton.java | |
4921 | (getAccessibleContext): Fix javadoc. | |
4922 | * javax/swing/JTree.java: | |
4923 | Add some javadocs. | |
4924 | * javax/swing/JViewport.java: | |
4925 | Likewise. | |
4926 | ||
4927 | 2004-07-21 David Jee <djee@redhat.com> | |
4928 | ||
4929 | * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: | |
4930 | Collect all native method declaration at the top. | |
4931 | (create): Set the filename filter if necessary. | |
4932 | (setDirectory): Call nativeSetDirectory(). | |
4933 | (setFilenameFilter): Implement. | |
4934 | (filenameFilterCallback): New method. | |
4935 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
4936 | (create): Configure dialog to show hidden files. | |
4937 | (filenameFilterCallback): New function. | |
4938 | (nativeSetFilenameFilter): New function. | |
4939 | (nativeSetDirectory): New function. | |
4940 | ||
4941 | 2004-07-21 Kim Ho <kho@redhat.com> | |
4942 | ||
4943 | * javax/swing/plaf/basic/BasicSliderUI.java: | |
4944 | Ran Jalopy. | |
4945 | (paintTrack): Fill the track before painting | |
4946 | the borders. | |
4947 | ||
4948 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
4949 | ||
4950 | patch from Roman Kennke <roman@ontographics.com> | |
4951 | * javax/swing/Spring.java: New file. | |
4952 | * javax/swing/SpringLayout.java: New file. | |
4953 | * Makefile.am: Add new files. | |
4954 | * Makefile.in: Regenerate. | |
4955 | ||
4956 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
4957 | ||
4958 | * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes. | |
4959 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise. | |
4960 | * javax/swing/ScrollPaneLayout.java: Likewise. | |
4961 | ||
4962 | 2004-07-21 Kim Ho <kho@redhat.com> | |
4963 | ||
4964 | * javax/swing/DefaultDesktopManager.java: | |
4965 | (findMinimum): Removed. | |
4966 | (resizeFrame): Trust the UI to pass valid | |
4967 | bounds. | |
4968 | * javax/swing/JOptionPane.java: | |
4969 | Implemented showInternalXXXDialog methods. | |
4970 | (startModal): New method. | |
4971 | * javax/swing/plaf/basic/BasicInternalFrameUI.java: | |
4972 | (BorderListener::mouseDragged): Verify that the new | |
4973 | bounds are valid before passing them to the DesktopManager. | |
4974 | (preferredLayoutSize): Delegate | |
4975 | to getSize. | |
4976 | (minimumLayoutSize): Ditto. | |
4977 | (getSize): New method. | |
4978 | (GlassPaneDispatcher): Reimplemented by copying | |
4979 | a stripped down LightweightDispatcher from Container. | |
4980 | (getMinimumSize): Call minimumLayoutSize. | |
4981 | * javax/swing/plaf/basic/BasicOptionPaneUI.java: | |
4982 | Ran Jalopy. | |
4983 | (mousePressed): Add ability to properly close | |
4984 | JInternalFrames. | |
4985 | * javax/swing/plaf/basic/BasicToolBarUI.java: | |
4986 | (DragWindow): Set owner for DragWindow. | |
4987 | ||
4988 | 2004-07-21 Jerry Quinn <jlquinn@optonline.net> | |
4989 | ||
4990 | * java/awt/image/ShortLookupTable.java: New file. | |
4991 | * java/awt/image/ByteLookupTable.java: New file. | |
4992 | * Makefile.am: Added new files. | |
4993 | * Makefile.in: Regenerated. | |
4994 | ||
4995 | 2004-07-21 David Jee <djee@redhat.com> | |
4996 | ||
4997 | * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java | |
4998 | (create(GtkContainerPeer)): New native method. | |
4999 | (create()): Call native create(), passing in the parent frame | |
5000 | as the paramter. Natively set the current file and directory. | |
5001 | (setFile): Construct an absolute filename before passing it to | |
5002 | the native peer. | |
5003 | (nativeGetDirectory): New method. | |
5004 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
5005 | (window_closed): Removed. | |
5006 | (ok_clicked): Likewise. | |
5007 | (cancel_clicked): Likewise. | |
5008 | (handle_response): New method. | |
5009 | (create): Use GtkFileChooserDialog. | |
5010 | (connectSignals): Connect to handle_response. | |
5011 | (nativeGetDirectory): New method. | |
5012 | (nativeSetFile): Use GtkFileChooserDialog. | |
5013 | ||
5014 | 2004-07-21 Jerry Quinn <jlquinn@optonline.net> | |
5015 | ||
5016 | * java/awt/image/LookupTable.java: New file. | |
5017 | * Makefile.am: Added new file. | |
5018 | * Makefile.in: Regenerated. | |
5019 | ||
5020 | 2004-07-21 Jerry Quinn <jlquinn@optonline.net> | |
5021 | ||
5022 | * java/awt/image/Kernel.java: New file. | |
5023 | * Makefile.am: Added new file. | |
5024 | * Makefile.in: Regenerated. | |
5025 | ||
5026 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
5027 | ||
5028 | * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs. | |
5029 | * javax/swing/JMenu.java: Likewise. | |
5030 | * javax/swing/JMenuBar.java: Likewise. | |
5031 | (MARGIN_CHANGED_PROPERTY): New property. | |
5032 | (setMargin): Implemented. | |
5033 | * javax/swing/JMenuItem.java: Fixed javadocs. | |
5034 | * javax/swing/JPopupMenuUI.java: Fixed javadocs. | |
5035 | (LABEL_CHANGED_PROPERTY): New property. | |
5036 | (add): changed to use createActionComponent. | |
5037 | (createActionComponent): Implemented. | |
5038 | (setLabel): Fire PropertyChangeEvent if label property | |
5039 | changes. | |
5040 | * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs. | |
5041 | * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise. | |
5042 | (ContainerHandler): Repaint if margin property has changed. | |
5043 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
5044 | (installUI): Call installComponents(). | |
5045 | (uninstallUI): Call uinstallComponents(). | |
5046 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
5047 | Fixed javadocs. | |
5048 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
5049 | Likewise. | |
5050 | ||
5051 | 2004-07-21 Kim Ho <kho@redhat.com> | |
5052 | ||
5053 | * javax/swing/plaf/basic/BasicToolBarUI.java: | |
5054 | (DragWindow): Use the right constructor. | |
5055 | ||
5056 | 2004-07-21 Kim Ho <kho@redhat.com> | |
5057 | ||
5058 | * javax/swing/JToolBar.java: | |
5059 | (layoutContainer): Use getComponents. | |
5060 | * javax/swing/plaf/basic/BasicToolBarUI.java: | |
5061 | (DragWindow): Don't use SwingUtilities' | |
5062 | getOwnerFrame | |
5063 | (ToolBarDialog): ditto. | |
5064 | ||
5065 | 2004-07-21 Kim Ho <kho@redhat.com> | |
5066 | ||
5067 | * javax/swing/JRootPane.java: | |
5068 | Ran jalopy. | |
5069 | (layoutContainer): Set the glasspane's size to | |
5070 | be the same as the content pane. | |
5071 | (createGlassPane): Set opaque property to false. | |
5072 | ||
5073 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
5074 | ||
5075 | * java/awt/Component.java (requestFocus()): Don't handle Panels | |
5076 | specially. | |
5077 | (requestFocus(boolean)): Likewise. | |
5078 | (requestFocusInWindow(boolean)): Likewise. | |
5079 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create): | |
5080 | Set GTK_CAN_FOCUS flag. | |
5081 | ||
5082 | 2004-07-21 Kim Ho <kho@redhat.com> | |
5083 | ||
5084 | * Makefile.am: Added new file. | |
5085 | * Makefile.in: Regenerated. | |
5086 | * gcj/Makefile.in: Regenerated. | |
5087 | * include/Makefile.in: Regenerated. | |
5088 | * javax/swing/AbstractButton.java: | |
5089 | Add rollOverEnabled property. | |
5090 | (setRolloverEnabled): Use new property. | |
5091 | (isRolloverEnabled): Use new property. | |
5092 | * javax/swing/JTabbedPane.java: | |
5093 | (setComponent): Remove useless JTabbedPane.this. | |
5094 | * javax/swing/JToolBar.java: Finish implementation. | |
5095 | * javax/swing/plaf/basic/BasicArrowButton.java: | |
5096 | (paint): Moved border painting to a border. | |
5097 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
5098 | Change JToolBar look and feel defaults. | |
5099 | * javax/swing/plaf/basic/BasicOptionPaneUI.java | |
5100 | (actionPerformed): Return Integer index instead of name. | |
5101 | (addButtonComponents): Check to see if component is | |
5102 | JButton last. | |
5103 | (createMessageArea): Don't use components that are not | |
5104 | completed yet. | |
5105 | (getIconForType): Use temporary icons. | |
5106 | * javax/swing/plaf/basic/BasicSliderUI.java: | |
5107 | (mousePressed): Do not return if it's on thumb. | |
5108 | (paintMinorTickForHorizSlider): Use BLACK to paint ticks. | |
5109 | (paintMinorTickForVertSlider): ditto. | |
5110 | (paintMajorTickForHorizSlider): ditto. | |
5111 | (paintMajorTickForVertSlider): ditto. | |
5112 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java: | |
5113 | Add a border around the SplitPaneDivider. | |
5114 | * javax/swing/plaf/basic/BasicSplitPaneUI.java: | |
5115 | Remove comments. | |
5116 | * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java: | |
5117 | New file. Implemented. | |
5118 | * javax/swing/plaf/basic/BasicToolBarUI.java: | |
5119 | Implemented. | |
5120 | * testsuite/Makefile.in: Regenerated. | |
5121 | ||
5122 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
5123 | ||
5124 | * javax/swing/Timer.java (run): Queue events each time cycle. | |
5125 | ||
5126 | 2004-07-21 David Jee <djee@redhat.com> | |
5127 | ||
5128 | * gnu/java/awt/peer/gtk/GtkImagePainter.java | |
5129 | (imageComplete): Call image.imageComplete(). | |
5130 | * java/awt/image/MemoryImageSource.java: | |
5131 | Reimplement consumers as a Vector instead of a Hashtable. This is | |
5132 | because enumeration on a Hashtable is not thread-safe. | |
5133 | (addConsumer): Adapt to Vector consumers. | |
5134 | (isConsumer): Adapt to Vector consumers. | |
5135 | (removeConsumer): Adapt to Vector consumers. | |
5136 | (startProduction): Adapt to Vector consumers. Call imageComplete() | |
5137 | with STATICIMAGEDONE flag instead of SINGLEFRAME flag. | |
5138 | (newPixels): Adapt to Vector consumers. | |
5139 | (sendPicture): Set the color model of the image consumer. | |
5140 | (newPixels(IIII)): Adapt to Vector consumers. | |
5141 | (newPixels(IIIIB)): Adapt to Vector consumers. | |
5142 | ||
5143 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
5144 | ||
5145 | * java/awt/Component.java (deliverEvent): Implement. | |
5146 | (postEvent): Implement. | |
5147 | (handleEvent): Implement. | |
5148 | (translateEvent): New method. | |
5149 | (dispatchEventImpl): Document. Add AWT 1.0 event handling. | |
5150 | * java/awt/Container.java (deliverEvent): Implement. | |
5151 | * java/awt/Event.java (paramString): Fix formatting. | |
5152 | * java/awt/Font.java (toString): Likewise. | |
5153 | * java/awt/Window.java (postEvent): Implement. | |
5154 | ||
5155 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
5156 | ||
5157 | * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent): | |
5158 | Set window's focus owner upon receiving a FOCUS_LOST event. | |
5159 | * java/awt/Window.java (Window()): Refocus the previously | |
5160 | focused component within the window when the window regains the | |
5161 | top-level focus. | |
5162 | (setFocusOwner): New method. | |
5163 | * java/awt/Component.java (requestFocus): Add FIXME. | |
5164 | ||
5165 | * libgcj.pc.in: Remove library flags. | |
5166 | ||
5167 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
5168 | ||
5169 | * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle | |
5170 | MOUSE_PRESSED event. | |
5171 | * java/awt/Component.java (requestFocus()): Handle Panel | |
5172 | specially. Post FOCUS_LOST event on opposite component. | |
5173 | (requestFocus(boolean)): Likewise. | |
5174 | (requestFocusInWindow(boolean)): Likewise. | |
5175 | (paramString): Reorder dimension fields. | |
5176 | * java/awt/Container.java (paramString): Fix string format. | |
5177 | * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent): | |
5178 | Handle FOCUS_LOST events. Don't handle Windows specially. Only | |
5179 | process key events if the focus owner is non-null. | |
5180 | (dispatchKeyEvent): Likewise. | |
5181 | * java/awt/Frame.java (paramString): Fix formatting. | |
5182 | (generateName): New method. | |
5183 | (getUniqueLong): Likewise. | |
5184 | * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if | |
5185 | the temporary focus owner is null. If so, return the permanent | |
5186 | focus owner. | |
5187 | * java/awt/Panel.java (generateName): New method. | |
5188 | (getUniqueLong): Likewise. | |
5189 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework | |
5190 | signal handling to make callbacks more specific. | |
5191 | ||
5192 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5193 | ||
5194 | * javax/swing/text/Position.java | |
5195 | (Bias): Implemented. | |
5196 | ||
5197 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5198 | ||
5199 | * javax/swing/LookAndFeel.java | |
5200 | (provideErrorFeedback): New method. | |
5201 | ||
5202 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5203 | ||
5204 | * javax/swing/JTextArea.java | |
5205 | (tabSize): New field. | |
5206 | (getTabSize): New method. | |
5207 | (setTabSize): Likewise. | |
5208 | ||
5209 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5210 | ||
5211 | * javax/swing/ActionMap.java: | |
5212 | Fixed javadocs all over. | |
5213 | (serialVersionUID): Made private. | |
5214 | (parent): Don't explicitely initialize with default value. | |
5215 | (get): SImplified. | |
5216 | (keys): Reimplemented. | |
5217 | (allKeys): Likewise. | |
5218 | (convertSet): Removed. | |
5219 | * javax/swing/ComponentInputMap.java: | |
5220 | Fixed javadocs all over. | |
5221 | (ComponentInputMap): Implemented. | |
5222 | (put): Likewise. | |
5223 | (clear): Likewise. | |
5224 | (remove): Likewise. | |
5225 | (SetParent): Likewise. | |
5226 | (getComponent): Likewise. | |
5227 | * javax/swing/InputMap.java: | |
5228 | Fixed javadocs all over. | |
5229 | (serialVersionUID): Made private. | |
5230 | (parent): Don't explicitely initialize with default value. | |
5231 | (get): SImplified. | |
5232 | (keys): Reimplemented. | |
5233 | (allKeys): Likewise. | |
5234 | (convertSet): Removed. | |
5235 | ||
5236 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5237 | ||
5238 | * javax/swing/ActionMap.java, | |
5239 | javax/swing/ComponentInputMap.java, | |
5240 | javax/swing/InputMap.java, | |
5241 | javax/swing/table/DefaultTableColumnModel.java, | |
5242 | javax/swing/table/TableColumn.java, | |
5243 | javax/swing/table/TableColumnModel.java, | |
5244 | javax/swing/table/TableModel.java, | |
5245 | javax/swing/text/AbstractDocument.java, | |
5246 | javax/swing/text/TextAction.java: | |
5247 | Reformated. | |
5248 | ||
5249 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
5250 | ||
5251 | * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): | |
5252 | Make method non-static. | |
5253 | * javax/swing/AbstractButton.java: | |
5254 | Rename fields to match property names where possible. | |
5255 | (iconTextGap): New property. | |
5256 | * javax/swing/JCheckBox.java: Match AbstractButton changes. | |
5257 | (init) New method, call from after various constructors. | |
5258 | * javax/swing/JComponent.java (revalidate): | |
5259 | Invalidate before queueing repair. | |
5260 | * javax/swing/JList.java (getPreferredScrollableViewportSize): | |
5261 | Reimplement in terms of visibleRowCount property. | |
5262 | * javax/swing/JMenuButton.java: Match AbstractButton changes. | |
5263 | * javax/swing/JScrollPane.java (createScrollListener): | |
5264 | Remove tracing chatter. | |
5265 | * javax/swing/JToggleButton.java: Match AbstractButton changes. | |
5266 | * javax/swing/RepaintManager.java (addInvalidComponent): | |
5267 | Don't invalidate. | |
5268 | * javax/swing/ScrollPaneLayout.java: Various corrections to layout | |
5269 | calculations. | |
5270 | * javax/swing/SwingUtilities.java (layoutCompoundLabel): | |
5271 | Mimic sun behavior on top left/right positioning. | |
5272 | * javax/swing/ViewportLayout.java (preferredLayoutSize): | |
5273 | Remove mistaken use of preferredScrollableViewportSize here. | |
5274 | (layoutContainer): Use view's preferred size as basis. | |
5275 | * javax/swing/plaf/basic/BasicButtonUI.java: | |
5276 | Set, get, and use textIconGap property. | |
5277 | (paint) Paint text returned from layout (with ellipsis). | |
5278 | * javax/swing/plaf/basic/BasicListUI.java: | |
5279 | Remove tracing chatter, correct various minor calculations. | |
5280 | (getCellBounds): Update layout state before calculating. | |
5281 | * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin): | |
5282 | Use margin default similar to sun's. | |
5283 | * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon): | |
5284 | (createIncreaseIcon): Center icon, minimize margins. | |
5285 | (createDecreaseIcon): Likewise. | |
5286 | * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults): | |
5287 | Implement. | |
5288 | (installUI): Call it. | |
5289 | (uninstallDefaults): Implement. | |
5290 | (uninstallUI): Call it. | |
5291 | * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow): | |
5292 | Call existing Window constructor. | |
5293 | * javax/swing/plaf/basic/BasicViewportUI.java (paint): | |
5294 | Set clip before painting. | |
5295 | ||
5296 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
5297 | ||
5298 | * javax/swing/JMenuItem.java: | |
5299 | (processMouseEvent): Reimplemented to deal with | |
5300 | mouse drag events. | |
5301 | (createMenuDragMouseEvent): New private helper method. | |
5302 | Creates MenuDragMouseEvent. | |
5303 | * javax/swing/MenuSelectionManager.java | |
5304 | (componentForPoint): Implemented. | |
5305 | (isComponentPartOfCurrentMenu): Made public. | |
5306 | (processMouseEvent): Reimplemented to deal with | |
5307 | mouse drag events. | |
5308 | (setSelectedPath): Corrected small mistake that caused | |
5309 | path to be set incorrectly. | |
5310 | (getPath): If given component is JMenu then also add this | |
5311 | menu's popup menu to the selected path. | |
5312 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
5313 | (getPath): Ditto. | |
5314 | (getPreferredSize): Call getPreferredMenuItemSize(). | |
5315 | (getPreferredItemSize): Moved code from getPreferredSize to here. | |
5316 | (installListeners): Install MouseMotionListeners. | |
5317 | (MouseInputHandler): Pass mouse release event to MenuSelectionManager | |
5318 | if mouse wasn't released in the bounds of this menu item. | |
5319 | (MenuDragMouseHandler): Implemented. | |
5320 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
5321 | (installListeners): Install MouseMotionListener and | |
5322 | MenuDrageMouseListener. | |
5323 | (MenuDragMouseHandler): Implemented. | |
5324 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
5325 | (uninstallListeners): Implemented. | |
5326 | ||
5327 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5328 | ||
5329 | * javax/swing/JCheckBox.java: Reformated. | |
5330 | (JCheckBox): Fixed all constructors. | |
5331 | (isBorderPaintedFlat): New method. | |
5332 | (setBorderPaintedFlat): New method. | |
5333 | * javax/swing/JEditorPane.java | |
5334 | (createEditorKitForContentType): Made public. | |
5335 | (scrollToReference): Likewise. | |
5336 | * javax/swing/JTextArea.java | |
5337 | (setLineWrap): Fire property change. | |
5338 | * javax/swing/JToggleButton.java | |
5339 | (JToggleButton): New constructor. | |
5340 | (JToggleButton): Simplified. | |
5341 | * javax/swing/text/AttributeSet.java | |
5342 | (FontAttribute): Renamed from FontCharacterAttribute. | |
5343 | * javax/swing/text/JTextComponent.java | |
5344 | (KeyBinBinding): Added javadoc. | |
5345 | (JTextComponent): Likewise. | |
5346 | (getAccessibleContext): Fixed javadoc. | |
5347 | * javax/swing/text/View.java | |
5348 | (View): Added javadoc. | |
5349 | * javax/swing/text/TabableView.java: New file. | |
5350 | * Makefile.am: Added javax/swing/text/TabableView.java. | |
5351 | * Makefile.in: Regenerated. | |
5352 | ||
5353 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
5354 | ||
5355 | * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter. | |
5356 | * gnu/java/awt/peer/gtk/GtkToolkit.java | |
5357 | (GtkErrorImage): New helper class. | |
5358 | (bufferedImageOrError): New helper method. | |
5359 | (createImage): Use it. | |
5360 | ||
5361 | 2004-07-21 David Jee <djee@redhat.com> | |
5362 | ||
5363 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c | |
5364 | (setCaretPosition): Scroll the text view so the new caret position | |
5365 | is visible on screen. | |
5366 | ||
5367 | 2004-07-21 David Jee <djee@redhat.com> | |
5368 | ||
5369 | * gnu/java/awt/peer/gtk/GtkContainerPeer.java | |
5370 | (setBounds): Do not validate awtComponent here. | |
5371 | * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java | |
5372 | (getPreferredSize): New method. | |
5373 | * java/awt/ScrollPane.java | |
5374 | (ScrollPane): Set default size to 100x100. | |
5375 | (addNotify): If child is not a Panel, wrap it with a new Panel. | |
5376 | (paramString): Implement. | |
5377 | ||
5378 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
5379 | ||
5380 | * javax/swing/JMenu.java: | |
5381 | (setSelected): Display popup menu only if this menu | |
5382 | is showing on the screen. | |
5383 | * javax/swing/JPopupMenu.java: | |
5384 | (processMouseEvent): Added comment. | |
5385 | (processKeyEvent): Likewise. | |
5386 | * javax/swing/MenuSelectionManager.java: | |
5387 | (clearSelectedPath): Only fireStateChanged() after | |
5388 | selected path was changed, not before. | |
5389 | (setSelectedPath): Likewise. | |
5390 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
5391 | (paintMenuItem): Corrected position of menu item's | |
5392 | icon. | |
5393 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
5394 | (installUI): Correct setDefaultLightWeightPopupEnabled call. | |
5395 | (popupMenuCanceled): Reimplemented. | |
5396 | (popupMenuWillBecomeVisible): Select first menu item by default | |
5397 | when displaying free floating popup menus. | |
5398 | (TopWindowListener): Reimplemented. | |
5399 | ||
5400 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
5401 | ||
5402 | * java/awt/Panel.java (dispatchEventImpl): Override to prevent | |
5403 | Panel from being painted twice when it is first shown. | |
5404 | ||
5405 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
5406 | ||
5407 | * java/awt/Window.java: Reverted changes from my | |
5408 | previous patch for creating window without an owner. | |
5409 | * javax/swing/SwingUtilities.java: | |
5410 | (SwingUtilities.OwnerFrame): made static. | |
5411 | (OwnerFrame.setVisible): New method. Overridden with | |
5412 | empty implementation. | |
5413 | (OwnerFrame.isShowing): New method. Ovverridden | |
5414 | to return always true. | |
5415 | ||
5416 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
5417 | ||
5418 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
5419 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
5420 | (GtkComponentPeer): Remove temporary try/catch block. | |
5421 | (setVisible): Call show and hide. | |
5422 | (show): Make native. | |
5423 | (hide): Likewise. | |
5424 | (getArgs): Don't add "visible" argument. | |
5425 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
5426 | (property_notify_predicate): Return Bool instead of int. | |
5427 | (find_layout): New function. | |
5428 | (connectJObject): Call find_layout. | |
5429 | (connectSignals): Likewise. | |
5430 | (moveLayout): Likewise. | |
5431 | (gtkLayoutSetVisible): Likewise. | |
5432 | ||
5433 | 2004-07-21 Mark Wielaard <mark@klomp.org> | |
5434 | ||
5435 | * java/awt/event/InvocationEvent.java (dispatch): Synchronize | |
5436 | on notifier object before calling notifyAll(). | |
5437 | ||
5438 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
5439 | ||
5440 | * java/awt/Window.java: Changed constructors to use new | |
5441 | method that is described below. Constructors call this | |
5442 | methods only if newly created window should have an owner. | |
5443 | (setWindowOwner): New method. Implementation for | |
5444 | this method is moved from this(owner,configuration). | |
5445 | * javax/swing/JWindow.java: | |
5446 | (JWindow): Reimplement to use SwingUtilities.ownerFrame | |
5447 | instead of owner. | |
5448 | * javax/swing/SwingUtilities.java: | |
5449 | (ownerFrame): Change type of this field to OwnerFrame. | |
5450 | (getOwnerFrame): Changed to return object of type OwnerFrame. | |
5451 | (SwingUtilities.OwnerFrame): New class. Represents owner | |
5452 | of a Window that is not provided with one. | |
5453 | ||
5454 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
5455 | ||
5456 | * javax/swing/AbstractButton.java: | |
5457 | (configurePropertiesFromAction): Set action command | |
5458 | to button's text by default if action command is not | |
5459 | explicitely specified. | |
5460 | * javax/swing/JMenu.java: Remove unnecessary listener | |
5461 | and methods relevant to it. | |
5462 | (setSelected): Reimplemented. | |
5463 | (menuSelectionChanged): Moved most part of implementation to | |
5464 | setSelected() and call it instead. | |
5465 | * javax/swing/JMenuItem.java: | |
5466 | (init): Comment out statement that sets paint_border to false. | |
5467 | (configurePropertiesFromAction): Do not set accelerator | |
5468 | for JMenu. | |
5469 | (menuSelectionChanged): Change selected index in the selection | |
5470 | model of menu item's parent. | |
5471 | * javax/swing/JPopupMenu.java: | |
5472 | (remove): Set constraints.fill field to GridBagConstraints.BOTH | |
5473 | instead of GridBagConstraints.HORIZONTAL. | |
5474 | (insert): Likewise. | |
5475 | (createActionChangeListener): Implemented. | |
5476 | (setVisible): Correct location of HeavyWeightMenu and | |
5477 | don't firePopupMenuCanceled(). | |
5478 | (menuSelectionChanged): Implemented. | |
5479 | (ActionChangeListener): New Listener. Implemented. | |
5480 | * javax/swing/plaf/basic/BasicMenuBarUI.java: | |
5481 | (BasicMenuBarUI.ContainerHandler): Implemented. | |
5482 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
5483 | (paintMenuItem): Uncommented out code that paints | |
5484 | icon, now that icons are working properly. | |
5485 | (PropertyChangeListener): Implemented. | |
5486 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
5487 | Added javadocs. | |
5488 | (topWindowListener): New field. | |
5489 | (Constructor): initialize topWindowListener. | |
5490 | (BasicPopupMenuUI.TopWindowListener): Implemented. | |
5491 | (BasicPopupMenuUI.PopupMenuHandler): Implemented. | |
5492 | (BasicPopupMenuUI.TopWindowListener): New ComponentListener. | |
5493 | Implemented. | |
8e99fb4f GH |
5494 | |
5495 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5496 | ||
5497 | * javax/swing/plaf/basic/BasicButtonUI.java | |
5498 | (paintFocus): Fixed method signature. | |
5499 | (paintButtonPressed): Likewise. | |
5500 | (paintButtonNormal): Likewise. | |
5501 | (paintText): New method. | |
5502 | * javax/swing/plaf/basic/BasicLabelUI.java | |
5503 | (paint): Re-indented. | |
5504 | * javax/swing/plaf/basic/BasicTextUI.java | |
5505 | (installUI): Set parent textComponent to opaque. | |
5506 | * javax/swing/text/DefaultHighlighter.java | |
5507 | (checkPositions): New helper method. | |
5508 | (addHighlight): Throws BadLocationException, check positions. | |
5509 | (changeHighlight): Likewise. | |
5510 | * javax/swing/text/EditorKit.java | |
5511 | (EditorKit): Implements Serializable. | |
5512 | * javax/swing/text/JTextComponent.java | |
5513 | (getUI): Added javadoc. | |
5514 | (setUI): Likewise. | |
5515 | (upadteUI): Added javadoc, don't revalidate and repaint. | |
5516 | ||
5517 | 2004-07-21 David Jee <djee@redhat.com> | |
5518 | ||
5519 | * java/awt/GridBagLayout.java | |
5520 | (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE. | |
5521 | * javax/swing/AbstractButton.java | |
5522 | (setText): Reindent. | |
5523 | * javax/swing/RepaintManager.java | |
5524 | (addInvalidComponent): Find the first ancestor that isValidateRoot(). | |
5525 | ||
5526 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5527 | ||
5528 | * javax/swing/JFormattedTextField.java | |
5529 | (value): New field. | |
5530 | (JFormattedTextField): Implemented. | |
5531 | (getValue): Likewise. | |
5532 | (setValue): Likewise. | |
5533 | * javax/swing/LookAndFeel.java | |
5534 | (getSupportsWindowDecorations): New method. | |
5535 | * javax/swing/UIDefaults.java: | |
5536 | Use java.beans.PropertyChangeSupport instead of doing all ourself. | |
5537 | (addPropertyChangeListener): Made public. | |
5538 | (addResourceBundle): Likewise. | |
5539 | (removeResourceBundle): Likewise. | |
5540 | (setDefaultLocale): Likewise. | |
5541 | * javax/swing/plaf/basic/BasicRootPaneUI.java | |
5542 | (BasicRootPaneUI): Implements PropertyChangeListener. | |
5543 | (propertyChange): New method. | |
5544 | * javax/swing/plaf/basic/BasicTextUI.java | |
5545 | (BasicHighlighter): New inner class. | |
5546 | (createHighlighter): New method. | |
5547 | * javax/swing/plaf/basic/BasicToolBarUI.java | |
5548 | (DragWindow): Extends java.awt.Window. | |
5549 | * javax/swing/text/JTextComponent.java | |
5550 | (getDocument): Removed debug output. | |
5551 | * javax/swing/plaf/basic/BasicTextFieldUI.java, | |
5552 | javax/swing/text/DefaultHighlighter.java, | |
5553 | javax/swing/text/FieldView.java, | |
5554 | javax/swing/text/PlainView.java: New files. | |
5555 | * Makefile.am: Added new files. | |
5556 | * Makefile.in: Regenerated. | |
5557 | ||
5558 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5559 | ||
5560 | * javax/swing/JEditorPane.java | |
5561 | (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit. | |
5562 | (createEditorKitForContentType): Likewise. | |
5563 | * javax/swing/text/DefaultEditorKit.java | |
5564 | (serialVersionUID): Added constant field. | |
5565 | (EndOfLineStringPropery): Fixed typo. | |
5566 | (DefaultEditorKit): New constructor. | |
5567 | * javax/swing/text/Segment.java: | |
5568 | Import java.text.CharacterIterator. | |
5569 | * javax/swing/text/CharacterIterator.java, | |
5570 | javax/swing/text/PlainEditorKit.java: Removed. | |
5571 | * Makefile.am: Removed javax/swing/text/CharacterIterator.java and | |
5572 | javax/swing/text/PlainEditorKit.java. | |
5573 | * Makefile.in: Regenerated. | |
5574 | ||
5575 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5576 | ||
5577 | * javax/swing/JButton.java, | |
5578 | javax/swing/text/DefaultEditorKit.java, | |
5579 | javax/swing/text/EditorKit.java, | |
5580 | javax/swing/text/Segment.java, | |
5581 | javax/swing/text/StyledEditorKit.java: | |
5582 | Reformatted. | |
5583 | ||
5584 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5585 | ||
5586 | * javax/swing/ImageIcon.java | |
5587 | (file): Removed. | |
5588 | (description): Renamed from descr. | |
5589 | (ImageIcon): Added missing constructors. | |
5590 | (setParent): Removed. | |
5591 | (setImageObserver): New method. | |
5592 | (getImageObserver): New method. | |
5593 | (paintIcon): Handle observer = null. | |
5594 | * javax/swing/JButton.java | |
5595 | (removeNotify): Fixed javadoc. | |
5596 | (updateUI): Simplified. | |
5597 | * javax/swing/JRootPane.java | |
5598 | (serialVersionUID): New constant field. | |
5599 | * javax/swing/UIManager.java: | |
5600 | Fixed javadocs all over. | |
5601 | (setLookAndFeel): Throws UnsupportedLookAndFeelException. | |
5602 | * javax/swing/text/AbstractDocument.java | |
5603 | (createPosition): Throws BadLocationException. | |
5604 | (getText): Likewise. | |
5605 | (remove): Likewise. | |
5606 | * javax/swing/text/ComponentView.java | |
5607 | (modelToView): Likewise. | |
5608 | * javax/swing/text/DefaultEditorKit.java: | |
5609 | Made all public methods public. | |
5610 | (read): Throws BadLocationException and IOException. | |
5611 | (write): Likewise. | |
5612 | * javax/swing/text/EditorKit.java: | |
5613 | Made all public methods public. | |
5614 | (serialVersionUID): New constant field. | |
5615 | (clone): New method. | |
5616 | (read): Throws BadLocationException and IOException. | |
5617 | (write): Likewise. | |
5618 | * javax/swing/text/Segment.java | |
5619 | (array): Made public. | |
5620 | (count): Likewise. | |
5621 | (offset): Likewise. | |
5622 | (Segment): New constructors. | |
5623 | (clone): Reimplemented. | |
5624 | * javax/swing/text/StyledEditorKit.java | |
5625 | (serialVersionUID): New constant field. | |
5626 | ||
5627 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
5628 | ||
5629 | * java/awt/image/BufferedImage.java | |
5630 | (getSource): Implement. | |
5631 | * javax/swing/ImageIcon.java | |
5632 | (ImageIcon): Implement ctor. | |
5633 | * javax/swing/ScrollPaneLayout.java | |
5634 | (preferredLayoutSize): Be more careful about nulls. | |
5635 | ||
5636 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5637 | ||
5638 | * javax/swing/text/AttributeSet.java | |
5639 | (CharacterAttribute): New interface | |
5640 | (ColorAttribute): Likewise. | |
5641 | (FontCharacterAttribute): Likewise. | |
5642 | (ParagraphAttribute): Likewise. | |
5643 | * javax/swing/text/DefaultCaret.java | |
5644 | (moveCaret): New method. | |
5645 | (positionCaret): Likewise. | |
5646 | (repaint): Made protected. | |
5647 | * javax/swing/text/JTextComponent.java | |
5648 | (KeyBinding): Made it static. | |
5649 | * javax/swing/text/View.java | |
5650 | (getContainer): Honor parent == null. | |
5651 | ||
5652 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5653 | ||
5654 | * javax/swing/text/AbstractDocument.java: | |
5655 | Reformatted. | |
5656 | ||
5657 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5658 | ||
5659 | * javax/swing/plaf/basic/BasicRootPaneUI.java: | |
5660 | Import javax.swing.UIManager explicitely. | |
5661 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
5662 | (ScrollingButton): Made it static. | |
5663 | ||
5664 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5665 | ||
5666 | * javax/swing/UIDefaults.java | |
5667 | (ActiveValue): Made public. | |
5668 | (LazyValue): Likewise. | |
5669 | * javax/swing/plaf/basic/BasicTextUI.java | |
5670 | (RootView): Reintroduced. | |
5671 | (view): Removed. | |
5672 | (rootView): New field. | |
5673 | (installUI): Create document if needed, initialize rootView. | |
5674 | (uninstallUI): Hanle rootView. | |
5675 | (paint): Likewise. | |
5676 | (getRootView): Likewise. | |
5677 | (setView): Likewise. | |
5678 | * javax/swing/text/DefaultCaret.java: | |
5679 | Renamed all "evt" variables to "event". | |
5680 | ||
5681 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
5682 | ||
5683 | * libgcj.spec.in: Add -l-java-util-logging. | |
5684 | ||
5685 | 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch> | |
5686 | ||
5687 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
5688 | (init_dpi_conversion_factor): Check for int_dpi < 0 in case | |
5689 | gtk-xft-dpi can no calculate the right value. | |
5690 | (dpi_changed_cb): Mark *pspec as unsused. | |
5691 | ||
5692 | 2004-07-21 David Jee <djee@redhat.com> | |
5693 | ||
5694 | * java/awt/Component.java | |
5695 | (move): Delegate to setBounds(). | |
5696 | (resize): Likewise. | |
5697 | (reshape): Fix so it repaints parent and self only when necessary. | |
5698 | ||
5699 | 2004-07-21 David Jee <djee@redhat.com> | |
5700 | ||
5701 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
5702 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
5703 | (GtkComponentPeer): Revert previous patch from 2004-06-22. | |
5704 | (setVisible): Likewise. | |
5705 | (show): Likewise. | |
5706 | (hide): Likewise. | |
5707 | (getArgs): Likewise. | |
5708 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
5709 | (property_notify_predicate): Likewise. | |
5710 | (find_layout): Likewise. | |
5711 | (connectJObject): Likewise. | |
5712 | (connectSignals): Likewise. | |
5713 | (moveLayout): Likewise. | |
5714 | (gtkLayoutSetVisible): Likewise. | |
5715 | ||
5716 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
5717 | ||
5718 | * Makefile.am | |
5719 | (jv_convert_LDADD): | |
5720 | (gij_LDADD): | |
5721 | (rmic_LDADD): | |
5722 | (rmiregistry_LDADD): Add lib-java-util-logging.la | |
5723 | * Makefile.in: Regenerate. | |
5724 | ||
5725 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5726 | ||
5727 | * javax/swing/text/AbstractDocument.java | |
5728 | (replace): Dont use protected method of java.util.Vector directly. | |
5729 | ||
5730 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5731 | ||
5732 | * javax/swing/plaf/basic/BasicTextUI.java | |
5733 | (installUI): Call specialized install methods. | |
5734 | (installDefaults): New method. | |
5735 | (installListeners): Likewise. | |
5736 | (installKeyboardActions): Likewise. | |
5737 | (uninstallUI): Likewise. | |
5738 | (uninstallDefaults): New method. | |
5739 | (uninstallListeners): Likewise. | |
5740 | (uninstallKeyboardActions): Likewise. | |
5741 | (getPropertyPrefix): New abstract method. | |
5742 | (paint): Made final, just call paintSafely(). | |
5743 | (paintSavely): New method. | |
5744 | (paintBackground): Likewise. | |
5745 | (getVisibleEditorRect): Likewise. | |
5746 | * javax/swing/text/LayeredHighlighter.java, | |
5747 | javax/swing/text/TabExpander.java: New files. | |
5748 | * Makefile.am: Added javax/swing/text/LayeredHighlighter.java | |
5749 | and javax/swing/text/TabExpander.java. | |
5750 | * Makefile.in: Regenerated. | |
5751 | ||
5752 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5753 | ||
5754 | * javax/swing/plaf/basic/BasicTextUI.java | |
5755 | (BasicTextUI): Made abstract. | |
5756 | (BasicCaret): New inner class. | |
5757 | (view): Don't explicitely initialize with "null". | |
5758 | (textComponent): New field. | |
5759 | (textColor): Removed. | |
5760 | (disabledTextColor): Removed. | |
5761 | (normalBackgroundColor): Removed. | |
5762 | (RootView): Removed commented out inner class. | |
5763 | (createUI): Removed. | |
5764 | (createCaret): New method. | |
5765 | (getComponent): Likewise. | |
5766 | (installUI): Initialize textComponent only. | |
5767 | (getPreferredSize): Use installed JTextComponent. | |
5768 | (setView): New method. | |
5769 | (create): Likewise. | |
5770 | * javax/swing/text/JTextComponent.java | |
5771 | (highlighter): New field. | |
5772 | (caretColor): Likewise. | |
5773 | (disabledTextColor): Likewise. | |
5774 | (seletedTextColor): Likewise. | |
5775 | (selectionColor): Likewise. | |
5776 | (setUI): New method. | |
5777 | (getCaretColor): Likewise. | |
5778 | (setCaretColor): Likewise. | |
5779 | (getDisabledColor): Likewise. | |
5780 | (setDisabledColor): Likewise. | |
5781 | (getSelectedTextColor): Likewise. | |
5782 | (setSelectedTextColor): Likewise. | |
5783 | (getSelectionColor): Likewise. | |
5784 | (setSelectionColor): Likewise. | |
5785 | (getHighlighter): Likewise. | |
5786 | (setHighlighter): Likewise. | |
5787 | (replaceSelection): Likewise. | |
5788 | ||
5789 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5790 | ||
5791 | * javax/swing/plaf/basic/BasicScrollPaneUI.java | |
5792 | (BasicScrollPaneUI): Implements ScrollPaneConstants. | |
5793 | * javax/swing/plaf/basic/BasicToolBarUI.java | |
5794 | (BasicToolBarUI): Implements SwingConstants. | |
5795 | ||
5796 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5797 | ||
5798 | * javax/swing/JPopupMenu.java: Removed CVS tags. | |
5799 | * javax/swing/UIDefaults.java: Reformatted. | |
5800 | * javax/swing/plaf/basic/BasicRootPaneUI.java: | |
5801 | Explicitely import used classes. | |
5802 | ||
5803 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
5804 | ||
5805 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
5806 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
5807 | (GtkComponentPeer): Remove temporary try/catch block. | |
5808 | (setVisible): Call show and hide. | |
5809 | (show): Make native. | |
5810 | (hide): Likewise. | |
5811 | (getArgs): Don't add "visible" argument. | |
5812 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
5813 | (property_notify_predicate): Return Bool instead of int. | |
5814 | (find_layout): New function. | |
5815 | (connectJObject): Call find_layout. | |
5816 | (connectSignals): Likewise. | |
5817 | (moveLayout): Likewise. | |
5818 | (gtkLayoutSetVisible): Likewise. | |
5819 | ||
5820 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
5821 | ||
5822 | * javax/swing/AbstractButton.java: | |
5823 | (setDisplayedMnemonicIndex): Check if button | |
5824 | text is not null before checking its length. | |
5825 | * javax/swing/JMenuItem.java: | |
5826 | (processMouseEvent): Disarm menu item if mouse has | |
5827 | exited it. | |
5828 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
5829 | (MouseInputHandler.mouseEntered): Do not raise | |
5830 | popup menu if this menu is already selected. | |
5831 | (MouseInputHandler.mousePressed): Do not fire | |
5832 | MenuEvents. | |
5833 | (MenuHandler): Implemented. | |
5834 | ||
5835 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
5836 | ||
5837 | * javax/swing/JCheckBoxMenuItem.java: Added Javadoc. | |
5838 | (getSelectedObjects): Implemented. | |
5839 | * javax/swing/JRadioButtonMenuItem.java: Added Javadoc. | |
5840 | * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: | |
5841 | Added javadoc for few methods. | |
5842 | (processMouseEvent): Made public. | |
5843 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java | |
5844 | (processMouseEvent): Likewise. | |
5845 | ||
5846 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
5847 | ||
5848 | * javax/swing/AbstractButton.java: | |
5849 | (init): Set display mnemonic index to -1. | |
5850 | (setMnemonic(char)): Use setMnemonic(int). | |
5851 | (setMnemonic(int)): Set display mnemonic index. | |
5852 | (getDisplayedMnemonicIndex): Change method signature | |
5853 | by removing 'index' parameter. | |
5854 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
5855 | Added default for Menu.selectionBackground. | |
5856 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
5857 | (paintMenuItem): Change background color of the selected | |
5858 | menu item. | |
5859 | (paintText): Paint differently when menu item is disabled. | |
5860 | Also paint mnemonic if it appears in the menu item's label. | |
5861 | (paintAccelerator): Paint accelerator differently | |
5862 | if menu item is disabled. | |
5863 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
5864 | (installDefaults): Install defaults for | |
5865 | selectionForeground and selectionBackground. | |
5866 | (uninstallDefaults): Uninstall defauls for | |
5867 | selectionForeground and selectionBackground. | |
5868 | ||
5869 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5870 | ||
5871 | * javax/swing/text/AbstractDocument.java | |
5872 | (BranchElement): Implemented. | |
5873 | (LeafElement): Implemented. | |
5874 | * javax/swing/text/DefaultCaret.java: | |
5875 | Import used classes. | |
5876 | (serialVersionUID): New constant. | |
5877 | * javax/swing/text/JTextComponent.java | |
5878 | (AccessibleJTextComponent): Removed dead declaration. | |
5879 | (caretPos): Removed. | |
5880 | (setCaret): New method. | |
5881 | * javax/swing/text/PlainDocument.java | |
5882 | (rootElement): New field. | |
5883 | (PlainDocument): Initialize rootElement. | |
5884 | (createDefaultRoot): New method. | |
5885 | (getDefaultRootElement): Implemented. | |
5886 | * javax/swing/text/View.java: Reformatted. | |
5887 | * javax/swing/text/ViewFactory.java | |
5888 | (create): Added javadoc. | |
5889 | ||
5890 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5891 | ||
5892 | * javax/swing/ToolTipManager.java: Reformatted. | |
5893 | ||
5894 | 2004-07-21 Rodimina Olga <rodimina@redhat.com> | |
5895 | ||
5896 | * javax/swing/AbstractButton.java | |
5897 | (changeEvent): New field. | |
5898 | (fireItemStateChanged): Change source of the event | |
5899 | to 'this' before firing it to button listeners. | |
5900 | (fireActionPerformed): Likewise. | |
5901 | (fireStateChanged): Likewise. | |
5902 | (createActionListener): Do not set source | |
5903 | of the event to AbstractButton. | |
5904 | * javax/swing/plaf/basic/BasicMenuBarUI.java: | |
5905 | (ContainerHandler.componentAdded): Removed | |
5906 | print out statement. | |
5907 | (ContainerHandler.componentRemoved): Likewise. | |
5908 | ||
5909 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5910 | ||
5911 | * javax/swing/text/Highlighter.java: New file. | |
5912 | * Makefile.am: Added javax/swing/text/Highlighter.java. | |
5913 | * Makefile.in: Regenerated. | |
5914 | ||
5915 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5916 | ||
5917 | * javax/swing/ToolTipManager.java | |
5918 | (stillInsideTimerAction): Fixed constructor arguments. | |
5919 | (outsideTimerAction): Likewise. | |
5920 | (insideTimerAction): Likewise. | |
5921 | ||
5922 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5923 | ||
5924 | * javax/swing/JButton.java: Reformatted. | |
5925 | * javax/swing/JFormattedTextField.java | |
5926 | (getUIClassID): Implemented. | |
5927 | * javax/swing/JRootPane.java | |
5928 | (serialVersionUID): New constant. | |
5929 | * javax/swing/JTextField.java | |
5930 | (align): New field. | |
5931 | (JTextField): Simplified. | |
5932 | (getUIClassID): New method. | |
5933 | (getActionListeners): Added @since tag. | |
5934 | (setColumns): Invalidate layout and repaint. | |
5935 | (getHorizontalAlignment): New method. | |
5936 | (setHorizontalAlignment): New method. | |
5937 | (selectAll): Removed. | |
5938 | * javax/swing/SwingUtilities.java | |
5939 | (getAncestorOfClass): Removed redundant @see tag. | |
5940 | (isLeftMouseButton): Fixed implementation. | |
5941 | (isMiddleMouseButton): Likewise. | |
5942 | (isRightMouseButton): Likewise. | |
5943 | * javax/swing/text/AbstractDocument.java | |
5944 | (AttributeContext.addAttribute): New method. | |
5945 | (AttributeContext.addAttributes): New method. | |
5946 | (AttributeContext.getEmptySet): New method. | |
5947 | (AttributeContext.reclaim): New method. | |
5948 | (AttributeContext.removeAttribute): New method. | |
5949 | (AttributeContext.removeAttributes): New method. | |
5950 | * javax/swing/text/Document.java | |
5951 | (createPosition): Throws BadLocationException. | |
5952 | (getText): Likewise. | |
5953 | (remove): Likewise. | |
5954 | * javax/swing/text/JTextComponent.java | |
5955 | (getText): Return null if no document is set. Catch | |
5956 | BadLocationException. | |
5957 | (getUI): Return ui. | |
5958 | (updateUI): Simplified. | |
5959 | ||
5960 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
5961 | ||
5962 | * javax/swing/JButton.java | |
5963 | (removeNotify): Fixed javadoc. | |
5964 | (updateUI): Simplified. | |
5965 | ||
5966 | 2004-07-21 David Jee <djee@redhat.com> | |
5967 | ||
5968 | * gnu/java/awt/image/ImageDecoder.java | |
5969 | (startProduction): Only add consumer if it's not added yet. | |
5970 | * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java | |
5971 | (GdkPixbufDecoder): Don't call initState() here. | |
5972 | (produce): Call initState() here, to ensure area_prepared and | |
5973 | area_updated signals are properly connected. | |
5974 | * gnu/java/awt/peer/gtk/GtkImage.java | |
5975 | (setColorModel): Use equals() to compare ColorModel objects. | |
5976 | (setPixels): Likewise. | |
5977 | * java/awt/image/ColorModel.java | |
5978 | (equals): Fix typo. Use Arrays.equals() to compare int arrays. | |
5979 | * java/awt/image/RGBImageFilter.java | |
5980 | (setColorModel): Set consumer's color model. | |
5981 | (setPixels): Use equals() to compare ColorModel objects. | |
5982 | ||
eecbcf54 BM |
5983 | 2004-07-21 Bryce McKinlay <mckinlay@redhat.com> |
5984 | ||
5985 | * java/net/URLConnection.java (position): New field. | |
5986 | (dateFormat1, dateFormat2, dateFormat3): Removed. | |
5987 | (dateFormats): New field. | |
5988 | (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition | |
5989 | each time instead of re-allocating. | |
5990 | (initializeDateFormats): Initialize 'dateFormats'. | |
5991 | ||
f82bb1be BM |
5992 | 2004-07-20 Bryce McKinlay <mckinlay@redhat.com> |
5993 | ||
5994 | PR libgcj/16591 | |
5995 | * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS | |
5996 | is defined. | |
5997 | ||
f6bbce40 BM |
5998 | 2004-07-20 Bryce McKinlay <mckinlay@redhat.com> |
5999 | ||
6000 | * java/net/Socket.java (getImpl): Now private. Remove comment. | |
6001 | ||
8246c778 BM |
6002 | 2004-07-20 Bryce McKinlay <mckinlay@redhat.com> |
6003 | ||
6004 | * java/io/BufferedWriter.java (BufferedWriter): Use existing lock | |
6005 | of chained Writer when calling super-constructor. | |
6006 | * java/io/FilterWriter.java (FilterWriter): Likewise. | |
6007 | * java/io/PrintWriter.java (PrintWriter): Likewise. | |
6008 | ||
b4ffdef7 BM |
6009 | 2004-07-19 Bryce McKinlay <mckinlay@redhat.com> |
6010 | ||
6011 | * prims.cc (process_gcj_properties): Don't increment i within LHS | |
6012 | of assignment. | |
6013 | ||
963ddbd5 PB |
6014 | 2004-07-19 Per Bothner <per@bothner.com> |
6015 | ||
6016 | Print -verbose:message on "loading", not initialization. | |
6017 | * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order. | |
6018 | * defineclass.cc (_Jv_ClassReader::parse): Print message if | |
6019 | gcj::verbose_class_flag. | |
6020 | * java/lang/natClass.cc (initializeClass): Don't print message here. | |
6021 | * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was | |
6022 | _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message. | |
6023 | (_Jv_PrepareCompiledClass): Likewise. | |
6024 | ||
60557047 MK |
6025 | 2004-07-18 Matthias Klose <doko@debian.org> |
6026 | ||
6027 | * configure.in: Substitute target_noncanonical. | |
6028 | * configure: Regenerate | |
6029 | ||
1792f52d MK |
6030 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
6031 | ||
6032 | * java/lang/String.java: Fixed javadocs all over. | |
6033 | ||
baa61e09 MK |
6034 | 2004-07-17 Mark Wielaard <mark@klomp.org> |
6035 | ||
6036 | * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate | |
6037 | when size is smaller. | |
6038 | * java/io/RandomAccessFile.java (setLength): Use truncate for | |
6039 | shrinking the file and seek plus write for expanding the file. | |
6040 | ||
6041 | 2004-07-17 Michael Koch <konqueror@gmx.de> | |
6042 | ||
6043 | * gnu/java/nio/channels/natFileChannelPosix.cc | |
6044 | (implTruncate): Always save current position. Only reposition file | |
6045 | pointer to where we started if not beyond new lenght. Reposition file | |
6046 | pointer to file length if it points beyond the end of file. | |
6047 | ||
6fd3cc05 MW |
6048 | 2004-07-17 Mark Wielaard <mark@klomp.org> |
6049 | ||
6050 | * javax/swing/Box.java: Put FIXME comment above class declaration. | |
6051 | * javax/swing/JButton.java: Remove illegal L&F HTML from comments. | |
6052 | * javax/swing/JCheckBox.java: Likewise. | |
6053 | * javax/swing/JDialog.java: Likewise. | |
6054 | * javax/swing/JRadioButton.java: Likewise. | |
6055 | * javax/swing/JToggleButton.java: Likewise. | |
6056 | * javax/swing/UIManager.java: Likewise. | |
6057 | * javax/swing/border/TitledBorder.java: Likewise. | |
6058 | * javax/swing/plaf/basic/BasicLabelUI.java: Likewise. | |
6059 | * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise. | |
6060 | * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise. | |
6061 | * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise. | |
6062 | * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise. | |
6063 | * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise. | |
6064 | * javax/swing/text/JTextComponent.java: Likewise. | |
6065 | ||
320e32f6 MK |
6066 | 2004-07-17 Jeroen Frijters <jeroen@frijters.net> |
6067 | ||
6068 | * java/net/DatagramPacket.java (setAddress): Removed check for | |
6069 | null address. | |
6070 | ||
6071 | 2004-07-17 Michael Koch <konqueror@gmx.de> | |
6072 | ||
6073 | * java/net/DatagramSocket.java | |
6074 | (getLocalAddress): Check if socket is bound or not. | |
6075 | * java/net/Socket.java | |
6076 | (getLocalAddrss): Check if socket is bound or not. | |
6077 | (getPort): Return -1 when not connected. Dont check getImpl() for | |
6078 | null. | |
6079 | (setReuseAddress): Check if socket is closed. | |
6080 | (isConnected): Check if getImpl() returns null. | |
6081 | ||
10c383a4 MW |
6082 | 2004-07-17 Mark Wielaard <mark@klomp.org> |
6083 | ||
6084 | * java/awt/event/InvocationEvent.java (dispatch): Synchronize | |
6085 | on notifier object before calling notifyAll(). | |
6086 | ||
2ccc5a95 MK |
6087 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
6088 | ||
6089 | * gnu/java/nio/channels/FileChannelImpl.java | |
6090 | (finalize): Added javadoc. | |
6091 | ||
61ce29b1 GL |
6092 | 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org> |
6093 | ||
6094 | * java/text/CollationElementIterator.java | |
6095 | (text_decomposition): Changed type to RuleBasedCollator.CollationElement[] | |
6096 | (setText): Use ArrayList instead of Vector. | |
6097 | ||
651ba822 MK |
6098 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
6099 | ||
6100 | * java/nio/ByteOrder.java | |
6101 | (static): Removed. Not needed. | |
6102 | Thanks to Patrick Reali for noticing. | |
6103 | * java/nio/charset/CharsetDecoder.java | |
6104 | (decode): Fix for classpath bug #9177: Reset state before flipping. | |
6105 | ||
e3fe5b9c MK |
6106 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
6107 | ||
6108 | * java/security/Security.java: Fixed javadocs all over. | |
6109 | ||
316a1df4 MK |
6110 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
6111 | ||
6112 | * gnu/java/awt/EmbeddedWindow.java | |
6113 | (static): Removed. | |
6114 | (addNotify): Set peer via reflection. | |
6115 | (setWindowPeer): Removed. | |
6116 | * gnu/java/awt/natEmbeddedWindow.cc: Removed. | |
6117 | * Makefile.am (nat_source_files): | |
6118 | Removed gnu/java/awt/natEmbeddedWindow.cc. | |
6119 | * Makefile.in: Regenerated. | |
6120 | ||
c0f43fa7 RE |
6121 | 2004-07-17 Richard Earnshaw <rearnsha@arm.com> |
6122 | ||
6123 | * configure.in(ZIP, GCJH): Remove white space around '=' in variable | |
6124 | assignment. | |
6125 | * configure: Regenerated. | |
6126 | ||
4c86f325 NN |
6127 | 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org> |
6128 | ||
b764adea NN |
6129 | * configure.in: Use build_noncanonical rather than build_alias. |
6130 | * configure: Rebuild. | |
6131 | ||
f11d297f NN |
6132 | * configure.in: Eliminate CANADIAN and NULL_TARGET variables |
6133 | by logic refactoring. Move default definition of NATIVE closer | |
6134 | to first alternate definition. | |
6135 | * configure: Regenerate. | |
6136 | ||
4c86f325 NN |
6137 | * Makefile.am: Set ZIP and GCJH directly using autoconf. |
6138 | * Makefile.in, include/Makefile.in, testsuite/Makefile.in, | |
6139 | gcj/Makefile.in: Regenerate. | |
6140 | * configure.in: Set ZIP and GCJH. Remove redundant condition | |
6141 | in AM_CONDITIONAL(NATIVE,...) | |
6142 | * configure: Regenerate. | |
6143 | ||
bc03b358 NN |
6144 | 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org> |
6145 | ||
ed2e3d33 NN |
6146 | * configure.in: Use target_noncanonical rather than |
6147 | target_alias for forward-compatibility with autoconf 2.59. | |
6148 | * configure: Regenerate. | |
6149 | * Makefile.am, gcj/Makefile.am, include/Makefile.am, | |
6150 | testsuite/Makefile.am: Substitute target_noncanonical. | |
6151 | * Makefile.in, gcj/Makefile.in, include/Makefile.in, | |
6152 | testsuite/Makefile.in: Regenerate. | |
6153 | ||
bc03b358 NN |
6154 | * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM. |
6155 | Introduce _GCC_TOPLEV_NONCANONICAL_TARGET. | |
6156 | * acinclude.m4: Include acx.m4. | |
6157 | * aclocal.m4: Regenerate. | |
6158 | * configure: Regenerate. | |
6159 | ||
cbd7a79b BM |
6160 | 2004-07-15 Bryce McKinlay <mckinlay@redhat.com> |
6161 | ||
6162 | PR libgcj/16574 | |
6163 | * java/sql/Timestamp.java (dateFormat): Renamed from sdf. | |
6164 | (decimalFormat): New static variable. | |
6165 | (sbuf): Likewise. | |
6166 | (getTime): New. Override Date.getTime(). | |
6167 | (toString): Synchronize. Use decimalFormat to format nanos value | |
6168 | correctly. Truncate extra zeros. | |
6169 | (before): Compare getNanos() only if getTime() is equal. | |
6170 | (after): Likewise. | |
6171 | ||
b2281cb3 NN |
6172 | 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org> |
6173 | ||
36609570 NN |
6174 | * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into... |
6175 | * configure.in: ...here. | |
6176 | * aclocal.m4: Regenerate. | |
6177 | * configure: Regenerate. | |
6178 | ||
b2281cb3 NN |
6179 | * aclocal.m4: Rebuilt with aclocal gcj-1.4. |
6180 | * configure: Rebuilt with autoconf 2.13. | |
6181 | * Makefile.in, gcj/Makefile.in, include/Makefile.in, | |
6182 | testsuite/Makefile.in: Rebuilt with automake gcj-1.4. | |
6183 | ||
b845ed9f BM |
6184 | 2004-07-14 Bryce McKinlay <mckinlay@redhat.com> |
6185 | ||
6186 | PR libgcj/16204 | |
6187 | * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable | |
6188 | large file support. | |
6189 | * Makefile.in: Rebuilt. | |
6190 | * testsuite/libjava.lang/LargeFile.java: New test case. | |
6191 | * testsuite/libjava.lang/LargeFile.out: New file. | |
6192 | ||
ade1907d JQ |
6193 | 2004-07-14 Jerry Quinn <jlquinn@optonline.net> |
6194 | ||
6195 | * java/beans/EventHandler.java: Remove debugging statements. | |
6196 | ||
12e8e7ea JQ |
6197 | 2004-07-14 Jerry Quinn <jlquinn@optonline.net> |
6198 | ||
6199 | * java/beans/EventHandler.java: New file. | |
6200 | * Makefile.am (awt_java_source_files): Add EventHandler.java. | |
6201 | * Makefile.in, gcj/Makefile.in, include/Makefile.in, | |
6202 | testsuite/Makefile.in: Regenerate. | |
6203 | ||
7cb73054 AT |
6204 | 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch> |
6205 | ||
6206 | * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation | |
6207 | flag to the gcj_setup. | |
6208 | (gcj_jacks_run): Check tclsh version and launch jacks directly with | |
6209 | the tclsh. | |
6210 | * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the | |
6211 | deprecation flag change. 58 XFAILS removed. | |
6212 | ||
220a826e UW |
6213 | 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com> |
6214 | ||
6215 | * configure.host (DIVIDESPEC) [s390*-*-*]: Set to | |
6216 | -fno-use-divide-subroutine. | |
6217 | * include/s390-signal.h: Include <ucontext.h> and <limits.h>. | |
6218 | (HANDLE_FPE): Define. | |
6219 | (SIGNAL_HANDLER): Change third argument to ucontext_t *. | |
6220 | (struct old_s390_kernel_sigaction): Likewise for k_sa_handler. | |
6221 | (HANDLE_DIVIDE_OVERFLOW): Define. | |
6222 | ||
c1b4f64d MK |
6223 | 2004-07-14 Michael Koch <konqueror@gmx.de> |
6224 | Matthias Klose <doko@debian.org> | |
6225 | ||
12e8e7ea | 6226 | * java/awt/im/InputContext.java: Initialize in, line. |
c1b4f64d | 6227 | |
5549179f UW |
6228 | 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com> |
6229 | ||
6230 | * interpret.cc (run): Correctly access libffi return values of | |
6231 | integral smaller-than-int type; these are implicitly promoted. | |
6232 | ||
6187fd28 BM |
6233 | 2004-07-13 Bryce McKinlay <mckinlay@redhat.com> |
6234 | ||
6235 | PR libgcj/7587 | |
6236 | * interpret.cc (compile_mutex): New. | |
6237 | (_Jv_InitInterpreter): New. Initialize compile_mutex. | |
6238 | (run): Lock compile_mutex before calling compile() if compilation is | |
6239 | required. | |
6240 | * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter(). | |
6241 | * include/java-interp.h (_Jv_InitInterpreter): Declare. | |
6242 | ||
7a1c3d48 BM |
6243 | 2004-07-12 Bryce McKinlay <mckinlay@redhat.com> |
6244 | ||
6245 | PR libgcj/15713 | |
6246 | * include/jvm.h (_Jv_value): New union type. | |
6247 | * gcj/field.h (_Jv_Field): Add new _addr union field variants | |
6248 | * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field | |
6249 | union members. | |
6250 | ||
717b2091 SG |
6251 | 2004-07-12 Scott Gilbertson <scottg@mantatest.com> |
6252 | ||
6253 | * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement. | |
6254 | * gnu/awt/xlib/XOffScreenImage.java | |
6255 | (XOffScreenImage): Add ImageConsumer interface. Add ColorModel | |
6256 | constructor argument. Add constructor using ImageProducer. | |
6257 | (getSource): Implement. | |
6258 | (imageComplete): New method. | |
6259 | (setColorModel): New method. | |
6260 | (setDimensions): New method. | |
6261 | (setHints): New method. | |
6262 | (setPixels): New method. | |
6263 | (setProperties): New method. | |
6264 | * gnu/gcj/xlib/GC.java (drawPoint): New native method. | |
6265 | * gnu/gcj/xlib/natGC.cc (drawPoint): New native method. | |
6266 | ||
31a7b755 BM |
6267 | 2004-07-11 Bryce McKinlay <mckinlay@redhat.com> |
6268 | ||
abd1b60d | 6269 | PR libgcj/16478 |
31a7b755 BM |
6270 | * prims.cc (_Jv_CreateJavaVM): Fix comment. |
6271 | * gnu/gcj/runtime/FinalizerThread.java (init): New. Native. | |
6272 | (finalizerReady): Now native. | |
6273 | (run): Likewise. | |
6274 | (runFinalizers): Removed. | |
6275 | * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use | |
6276 | a primitive lock, and don't hold it while running the finalizers. | |
6277 | (runFinalizers): Implement. Don't aquire any Java lock. | |
6278 | (finalizerReady): Use lock primitives to signal finalizer thread. | |
6279 | ||
eeb32988 MW |
6280 | 2004-07-11 Mark Wielaard <mark@klomp.org> |
6281 | ||
6282 | Reported by Roman Kennke <roman@ontographics.com> (bug #9331) | |
6283 | * java/net/URLStreamHandler.java (parseURL): When url file part | |
6284 | doesn't contain a '/' just ignore context. | |
6285 | ||
bbb362e6 UW |
6286 | 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com> |
6287 | ||
6288 | * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype. | |
6289 | (struct old_s390_kernel_sigaction): Likewise for k_sa_handler. | |
6290 | (MAKE_THROW_FRAME): Do not modify PSW address. | |
6291 | (INIT_SEGV): Install SIGINFO-style signal handler. | |
6292 | (INIT_FPE): Likewise. | |
6293 | ||
33dc5b0b BM |
6294 | 2004-07-10 Bryce McKinlay <mckinlay@redhat.com> |
6295 | ||
6296 | * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current | |
6297 | status. 21 xfail's removed, 1 added. | |
6298 | ||
a4548f27 BM |
6299 | 2004-07-10 Bryce McKinlay <mckinlay@redhat.com> |
6300 | ||
6301 | * gcj/javaprims.h: Regenerate CNI namespace definitions. | |
6302 | ||
8f0ce8da IK |
6303 | 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org> |
6304 | ||
6305 | * java/text/MessageFormat.java | |
6306 | (formatInternal): Append "{n}" if argument n is unavailable. | |
6307 | (format(Object, StringBuffer, FieldPosition)): This | |
6308 | should be equivalent to format(Object[], | |
6309 | StringBuffer, FieldPosition). | |
6310 | ||
3ee7acd1 BM |
6311 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
6312 | ||
6313 | * java.util.Calendar.java (cache): New private static field. Cached | |
6314 | mappings of locales->calendar classes. | |
6315 | (ctorArgTypes): New private static field. Singleton argument for | |
6316 | calendar class constructor lookup. | |
6317 | (getInstance): Cache Locale->Calendar class mappings using HashMap. | |
6318 | Optimize by bypassing reflection instantiation for the | |
6319 | GregorianCalendar case. | |
6320 | ||
284d6a1f BM |
6321 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
6322 | ||
6323 | * java/util/Calendar.java: Use getSystemClassLoader as argument for | |
6324 | ResourceBundle.getBundle() calls. | |
6325 | * java/util/GregorianCalendar.java: Likewise. | |
6326 | * java/util/Currency.java: Likewise. | |
6327 | * java/text/BreakIterator.java: Likewise. | |
6328 | * java/text/Collator.java: Likewise. | |
6329 | * java/text/DateFormat.java: Likewise. | |
6330 | * java/text/DateFormatSymbols.java: Likewise. | |
6331 | * java/text/DecimalFormatSymbols.java: Likewise. | |
6332 | * java/text/NumberFormat.java: Likewise. | |
6333 | * java/awt/Window.java: Likewise. | |
6334 | ||
21f56031 BM |
6335 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
6336 | ||
6337 | * java/util/ResourceBundle.java (bundleCache): Renamed from | |
6338 | resourceBundleCache. Update comments. | |
6339 | (getObject): Don't catch MissingResourceException. | |
6340 | (getBundle(String)): Remove 'final'. Use system classloader if | |
6341 | getCallingClassLoader returned null. | |
6342 | (getBundle(String, Locale)): Likewise. | |
6343 | (BundleKey): New private class. HashMap key for bundle cache lookup. | |
6344 | (lookupKey): New. Singleton instance of BundleKey. | |
6345 | (nullEntry): New. Cache entry to represent failed lookups. | |
6346 | (getBundle(String, Locale, ClassLoader)): Re-written to use new | |
6347 | caching strategy, no-allocation lookup, and new tryBundle methods. | |
6348 | (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle | |
6349 | name using given classloader. | |
6350 | (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify | |
6351 | baseName for given Locale and attempt to load bundle. | |
6352 | ||
42c00752 BM |
6353 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
6354 | ||
6355 | * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove | |
6356 | illegal protected method calls. | |
6357 | ||
6e342fc1 BM |
6358 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
6359 | ||
6360 | Fix or remove some bogus test cases. | |
6361 | * testsuite/libjava.compile/pr10459_2.java: Removed. | |
6362 | * testsuite/libjava.compile/pr10459.java: Test using its own method, | |
6363 | not Object.clone(). | |
6364 | * testsuite/libjava.compile/inner_data.java: Test against its own | |
6365 | protected field. | |
6366 | ||
1f33f6b4 MK |
6367 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
6368 | ||
6369 | * scripts/unicode-muncher.pl: Updated to version 2.1 | |
6370 | from GNU classpath. Added some clarifications on where to find the | |
6371 | needed files from www.unicode.org. | |
6372 | * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html, | |
6373 | gnu/gcj/convert/UnicodeData-3.0.0.txt: | |
6374 | Removed, these can directly be downloaded from www.unicode.org if | |
6375 | needed. | |
6376 | * gnu/java/lang/CharData.java: Regenerated. | |
6377 | * include/java-chartables.h: Regenerated. | |
6378 | * Makefile.am (ordinary_java_source_files): | |
6379 | Removed gnu/java/lang/CharData.java. | |
6380 | * Makefile.in: Regenerated. | |
6381 | ||
771aacd3 MK |
6382 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
6383 | ||
6384 | * java/security/AccessControlContext.java, | |
6385 | java/security/SecureClassLoader.java: | |
6386 | Fixed javadocs. | |
6387 | ||
3d5f053c MK |
6388 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
6389 | ||
6390 | * java/io/ObjectInputStream.java (readFields): Use long datatype | |
6391 | when shifting byte values more then 24 bits left. | |
6392 | ||
d642571f MK |
6393 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
6394 | ||
6395 | * java/util/zip/DeflaterOutputStream.java, | |
6396 | java/util/zip/GZIPInputStream.java, | |
6397 | java/util/zip/GZIPOutputStream.java, | |
6398 | java/util/zip/InflaterInputStream.java: | |
6399 | Reformatted. Added javadocs. Reordered all stuff. | |
6400 | Renamed variables to be more clear. | |
6401 | ||
3042e24b MK |
6402 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
6403 | ||
6404 | * javax/imageio/IIOException.java, | |
6405 | javax/imageio/event/IIOReadProgressListener.java, | |
6406 | javax/imageio/event/IIOReadUpdateListener.java, | |
6407 | javax/imageio/event/IIOReadWarningListener.java, | |
6408 | javax/imageio/event/IIOWriteProgressListener.java, | |
6409 | javax/imageio/event/IIOWriteWarningListener.java: | |
6410 | New files. | |
6411 | * Makefile.am: Added new files. | |
6412 | * Makefile.in: Regenerated. | |
6413 | ||
4a738a82 GL |
6414 | 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org> |
6415 | ||
6416 | * java/text/RuleBasedCollator.java | |
6417 | (mergeRules): Use ArrayList instead of Vector. | |
6418 | (subParseString): likewise. | |
6419 | (parseString): likewise. | |
6420 | (buildCollationVector): likewise. | |
6421 | (getCollationKey): likewise. | |
6422 | ||
28e0ee76 DT |
6423 | 2004-07-09 Dalibor Topic <robilad@kaffe.org> |
6424 | ||
6425 | * java/text/DateFormat.java (parse): | |
6426 | Improved javadoc. Improved exception message. | |
6427 | ||
2e54a860 MW |
6428 | 2004-07-09 Mark Wielaard <mark@klomp.org> |
6429 | ||
6430 | * gnu/java/nio/SelectorImpl.java (select): Call static Thread | |
6431 | interrupted() method to clear interupt flag of our Thread. | |
6432 | ||
23c41c08 DT |
6433 | 2004-07-09 Dalibor Topic <robilad@kaffe.org> |
6434 | ||
6435 | * java/nio/Buffer.java, | |
6436 | java/nio/ByteBuffer.java, | |
6437 | java/nio/ByteBufferHelper.java, | |
6438 | java/nio/ByteBufferImpl.java, | |
6439 | java/nio/CharBuffer.java, | |
6440 | java/nio/CharBufferImpl.java, | |
6441 | java/nio/CharViewBufferImpl.java, | |
6442 | java/nio/DirectByteBufferImpl.java, | |
6443 | java/nio/DoubleBuffer.java, | |
6444 | java/nio/DoubleBufferImpl.java, | |
6445 | java/nio/DoubleViewBufferImpl.java, | |
6446 | java/nio/FloatBuffer.java, | |
6447 | java/nio/FloatBufferImpl.java, | |
6448 | java/nio/FloatViewBufferImpl.java, | |
6449 | java/nio/IntBuffer.java, | |
6450 | java/nio/IntBufferImpl.java, | |
6451 | java/nio/IntViewBufferImpl.java, | |
6452 | java/nio/LongBuffer.java, | |
6453 | java/nio/LongBufferImpl.java, | |
6454 | java/nio/LongViewBufferImpl.java, | |
6455 | java/nio/MappedByteBufferImpl.java, | |
6456 | java/nio/ShortBuffer.java, | |
6457 | java/nio/ShortBufferImpl.java, | |
6458 | java/nio/ShortViewBufferImpl.java: | |
6459 | Fixed javadocs all over. Improved input error | |
6460 | checking. | |
6461 | ||
6462 | * java/nio/Buffer.java | |
6463 | (checkForUnderflow, checkForOverflow, checkIndex, | |
6464 | checkIfReadOnly, checkArraySize): New helper methods | |
6465 | for error checking. | |
6466 | ||
6467 | * java/nio/ByteBufferHelper.java | |
6468 | (checkRemainingForRead, checkRemainingForWrite, | |
6469 | checkAvailableForRead, checkAvailableForWrite): Removed | |
6470 | no longer needed methods. | |
6471 | ||
e484d7d5 MK |
6472 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
6473 | ||
6474 | * gnu/regexp/CharIndexedInputStream.java: | |
6475 | Reordered imports to match classpath. | |
6476 | ||
3e518ab0 MK |
6477 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
6478 | ||
6479 | * gnu/java/awt/EmbeddedWindow.java: | |
6480 | Load native library for setWindowPeer method. | |
6481 | ||
8c5ac2c4 RC |
6482 | 2004-07-08 Randolph Chung <tausq@debian.org> |
6483 | ||
6484 | * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa. | |
6485 | * configure: Regenerate. | |
6486 | * configure.host: Set can_unwind_signal for hppa*-linux. | |
6487 | * include/pa-signal.h: New file. | |
6488 | ||
0bd24153 PB |
6489 | 2004-07-07 Per Bothner <per@bothner.com> |
6490 | ||
fedf5454 PB |
6491 | * Makefile.am: Add rules to build libgij from just gij.cc. |
6492 | ||
0bd24153 PB |
6493 | * include/jvm.h (namespace jcj): Declare verbose_class_flag |
6494 | * java/lang/natClass.cc (gcj::verbose_class_flag): New variable. | |
6495 | (initializeClass): If verbose_class_flag, print message. | |
6496 | * gij.cc (main): Handle -verbose:class flag. | |
6497 | ||
0e497b6c AT |
6498 | 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch> |
6499 | ||
6500 | * configure.host: Enable hash synchronization on Darwin. | |
6501 | * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of | |
6502 | ';', since this is a comment on Darwin. | |
6503 | (compare_and_swap_release): Likewise. | |
6504 | ||
c09bade6 ME |
6505 | 2004-07-06 Mohan Embar <gnustuff@thisiscool.com> |
6506 | ||
6507 | * java/net/URLStreamHandler.java (parseURL): Canonicalize | |
6508 | file portion of URL in addition to spec for file: protocol. | |
6509 | ||
23f99379 | 6510 | 2004-07-05 Anthony Green <green@redhat.com> |
0e497b6c | 6511 | |
23f99379 AG |
6512 | * java/io/File.java (toURI): Merge from Classpath. |
6513 | ||
a1433c46 BM |
6514 | 2004-07-05 Bryce McKinlay <mckinlay@redhat.com> |
6515 | ||
6516 | * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry | |
6517 | before passing to URL constructor. Rethrow any MalformedURLException | |
6518 | as a RuntimeException. Catch MalformedURLException specifically, not | |
6519 | all exceptions. | |
0e497b6c | 6520 | |
a86f0372 BM |
6521 | 2004-07-05 Bryce McKinlay <mckinlay@redhat.com> |
6522 | ||
6523 | * java/util/Locale.java (readObject): Intern strings read from object | |
6524 | stream. | |
6525 | ||
74fa958e MK |
6526 | 2004-07-04 Michael Koch <konqueror@gmx.de> |
6527 | ||
6528 | * gnu/gcj/runtime/FirstThread.java, | |
6529 | gnu/gcj/runtime/natFirstThread.cc: Removed. | |
6530 | * gnu/java/lang/MainThread.java, | |
6531 | gnu/java/lang/natMainThread.cc: New files. | |
6532 | * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread. | |
6533 | * Makefile.am: Added new files and removed deleted ones. | |
6534 | * Makefile.in: Regenerated. | |
6535 | ||
94fbf267 | 6536 | 2004-07-03 Mark Wielaard <mark@klomp.org> |
0e497b6c | 6537 | Anthony Green <green@redhat.com> |
94fbf267 AG |
6538 | |
6539 | * java/net/URL.java (getFile): Clarify return value doc. | |
6540 | (getPath): Return null if file is empty - not empty String. | |
6541 | (set): Convert protocol to lower case before doing anything. | |
6542 | Only change the protocol handler if it's different. | |
6543 | ||
6544 | 2004-07-03 Anthony Green <green@redhat.com> | |
6545 | ||
6546 | * java/net/URL.java (URL): Convert protocol to lower case before | |
6547 | doing anything, so we getURLStreamHandler() with the proper value. | |
6548 | ||
b5349c07 BM |
6549 | 2004-07-02 Bryce McKinlay <mckinlay@redhat.com> |
6550 | ||
6551 | * java/util/Locale.java (hashcode): Made transient. | |
6552 | (hashCode): No longer synchronized. | |
6553 | (equals): Remove comment. | |
6554 | (writeObject): No longer synchronized. Implement using writeObject | |
6555 | calls instead of tweaking hashCode field. Update doc. | |
6556 | (readObject): Implement using readObject calls. | |
6557 | ||
f8a57be8 GK |
6558 | 2004-06-26 Geoffrey Keating <geoffk@apple.com> |
6559 | Andreas Tobler <a.tobler@schweiz.ch> | |
6560 | ||
6561 | * configure.host (powerpc-*-darwin*): New case, define | |
6562 | can_unwind_signal. | |
6563 | * configure.in (*-*-darwin*): New case, point to darwin-signal.h. | |
6564 | * configure: Regenerate. | |
6565 | * include/darwin-signal.h: New. | |
6566 | ||
dcfbe7c7 JQ |
6567 | 2004-06-30 Jerry Quinn <jlquinn@optonline.net> |
6568 | ||
6569 | * java/beans/Statement.java (doExecute): Fix formatting. | |
6570 | ||
8319dc87 PB |
6571 | 2004-06-29 Per Bothner <per@bothner.com> |
6572 | ||
6573 | * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef, | |
6574 | etc etc): Remove needless parenthesis, which causes __stdcall__ | |
6575 | attribute on MinGW to get ignored. | |
6576 | ||
b4bbd47e BM |
6577 | 2004-06-29 Bryce McKinlay <mckinlay@redhat.com> |
6578 | ||
6579 | * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249. | |
6580 | ||
b5493719 BM |
6581 | 2004-06-28 Bryce McKinlay <mckinlay@redhat.com> |
6582 | ||
b4bbd47e | 6583 | * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6. |
b5493719 | 6584 | |
7b63e340 JQ |
6585 | 2004-06-28 Jerry Quinn <jlquinn@optonline.net> |
6586 | ||
6587 | * java/beans/Expression.java: New file. | |
6588 | * java/beans/Statement.java: New file. | |
6589 | * Makefile.am: Added new files. | |
6590 | * Makefile.in: Re-generate. | |
6591 | ||
01036503 MW |
6592 | 2004-06-27 Mark Wielaard <mark@klomp.org> |
6593 | ||
6594 | * java/io/FilePermission.java (usingPerms): Removed. | |
6595 | (actionsString): Made final. | |
6596 | (cachePerms): Renamed to checkPerms. | |
6597 | (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase() | |
6598 | on action String. | |
6599 | (FilePermission): Check arguments, call checkPerms(). | |
6600 | (equals): Remove cachePerms() call. | |
6601 | (implies): Likewise. | |
6602 | ||
ce6230c4 MW |
6603 | 2004-06-27 Mark Wielaard <mark@klomp.org> |
6604 | ||
6605 | * gnu/java/net/protocol/http/Connection.java (userAgent): New static | |
6606 | final field. | |
6607 | (sendRequest): Use new field in user-agent http agent. | |
6608 | ||
66a74d2a MW |
6609 | 2004-06-27 Mark Wielaard <mark@klomp.org> |
6610 | ||
6611 | * java/awt/EventQueue.java (postEvent): Throw NullPointerException | |
6612 | when argument is null. | |
6613 | ||
6614 | 2004-06-26 Mark Wielaard <mark@klomp.org> | |
6615 | ||
6616 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
6617 | (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI | |
6618 | GetMethodID call. | |
6619 | (cancel_clicked): Likewise. | |
6620 | ||
d168da74 AT |
6621 | 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch> |
6622 | ||
6623 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
6624 | (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi | |
6625 | can not calculate the right value. | |
6626 | (dpi_changed_cb): Likewise. Mark *pspec as unused. | |
6627 | ||
cc21f43e BM |
6628 | 2004-06-24 Bryce McKinlay <mckinlay@redhat.com> |
6629 | ||
6630 | * testsuite/libjava.jacks/jacks.xfail: Remove | |
6631 | 15.9.1-qualified-concrete-20. | |
6632 | ||
eb8163ab BM |
6633 | 2004-06-22 Bryce McKinlay <mckinlay@redhat.com> |
6634 | ||
6635 | * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original | |
6636 | encoding name to iconv. | |
6637 | * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise. | |
6638 | ||
f50aa505 BM |
6639 | 2004-06-22 Bryce McKinlay <mckinlay@redhat.com> |
6640 | ||
6641 | PR libgcj/16134: | |
e9cb3dac BM |
6642 | * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize |
6643 | encoding name before cache lookup. Thanks to Hannes Wallnoefer. | |
6644 | * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise. | |
f50aa505 | 6645 | |
deb3d52f AH |
6646 | 2004-06-21 Andrew Haley <aph@redhat.com> |
6647 | ||
6648 | * java/io/ObjectOutputStream.java: Add DEBUG statements | |
6649 | everywhere. | |
6650 | (dumpElementln): New method. | |
6651 | (depth): New field. | |
6652 | * java/io/ObjectInputStream.java | |
6653 | (currentClassLoader): Make native. | |
6654 | (callersClassLoader): New field. | |
6655 | (depth): New field. | |
6656 | (readObject): ENDBLOCKDATA is generated if the class has a write | |
6657 | method, not if it has a read method. | |
6658 | (readObject): Save and restore this.currentObject and | |
6659 | this.currentObjectStreamClass around calls to callReadMethod(). | |
6660 | * java/io/natObjectInputStream.cc (getCallersClassLoader): New | |
6661 | method. | |
6662 | ||
cfc74dce AT |
6663 | 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch> |
6664 | ||
6665 | * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for | |
6666 | darwin. | |
6667 | ||
bd760894 RM |
6668 | 2004-06-18 Ranjit Mathew <rmathew@hotmail.com> |
6669 | ||
6670 | * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers, | |
6671 | if desired, before the default class loader is initialised. | |
6672 | Call INIT_SEGV only if HANDLE_SEGV is defined. | |
6673 | ||
6ca77e6f RM |
6674 | 2004-06-18 Ranjit Mathew <rmathew@hotmail.com> |
6675 | ||
6676 | * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions | |
6677 | directory only if it actually exists. | |
6678 | ||
67a69e82 GH |
6679 | 2004-06-18 Graydon Hoare <graydon@redhat.com> |
6680 | ||
6681 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
6682 | Fix up non-ansi comments. | |
6683 | ||
6684 | 2004-06-18 Ranjit Mathew <rmathew@hotmail.com> | |
6685 | ||
6686 | * javax/swing/text/AbstractDocument.java: Adding missing import | |
6687 | for javax.swing.event.EventListenerList. | |
6688 | * javax/swing/text/DefaultCaret.java: Likewise. | |
6689 | ||
4dfcdad1 GH |
6690 | 2004-06-17 Michael Koch <konqueror@gmx.de> |
6691 | ||
6692 | * javax/swing/JToolBar.java | |
6693 | (name): Removed. | |
6694 | (JToolBar): Use Component.setName(String) instead of doing it all | |
6695 | alone. | |
6696 | * javax/swing/Timer.java | |
6697 | (queueEvent): Added missing modifier. | |
6698 | ||
6699 | 2004-06-17 Olga Rodimina <rodimina@redhat.coom> | |
6700 | ||
6701 | * Makefile.am: Added new file. | |
6702 | * Makefile.in: Re-generate. | |
6703 | * javax/swing/JMenu.java: | |
6704 | (insertSeparator): Implemented. | |
6705 | * javax/swing/JPopupMenu.java: | |
6706 | (JPopupMenu.Separator): Implemented. | |
6707 | * javax/swing/MenuSelectionManager.java: | |
6708 | (processMouseEvent): Use java.awt.Component | |
6709 | for event source instead of javax.swing.JComponent. | |
6710 | * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: | |
6711 | New File. Implemented. | |
6712 | ||
6713 | 2004-06-16 David Jee <djee@redhat.com> | |
6714 | ||
6715 | * java/awt/GridBagLayout.java | |
6716 | (GetLayoutInfo): Adjust cell sizes iff parent size is not zero. | |
6717 | Make sure pos_x and pos_y are never negative. | |
6718 | ||
6719 | 2004-04-16 Andrew Overholt <overholt@redhat.com> | |
6720 | ||
6721 | * Makefile.am: Add new file. | |
6722 | * Makefile.in: Re-generate. | |
6723 | * javax/swing/JToolBar.java | |
6724 | Partially implemented. | |
6725 | * javax/swing/plaf/basic/BasicToolBarUI.java | |
6726 | New file. Partially implemented. | |
6727 | ||
6728 | 2004-06-16 Graydon Hoare <graydon@redhat.com> | |
6729 | ||
6730 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java | |
6731 | (setComposite): Accept AlphaComposite arguments. | |
6732 | * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java | |
6733 | (createBufferedImage): Add new overloads. | |
6734 | * gnu/java/awt/peer/gtk/GtkToolkit.java | |
6735 | (createImage): Use GdkPixbufDecoder.createBufferedImage | |
6736 | when useGraphics2D() is true. | |
6737 | (getImage): Delegate to createImage. | |
6738 | * javax/swing/JList.java | |
6739 | (isSelectionEmpty): | |
6740 | (getFirstVisibleIndex): | |
6741 | (getLastVisibleIndex): | |
6742 | (setSelectedValue): | |
6743 | (ensureIndexIsVisible): New methods. | |
6744 | * javax/swing/Timer.java: Reimplement. | |
6745 | ||
6746 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
6747 | ||
6748 | * javax/swing/text/AbstractDocument.java | |
6749 | (AbstracElement): Made public, implements java.io.Serializable. | |
6750 | (AttributeContext): Made public. | |
6751 | (BranchElement): Likewise. | |
6752 | (Content): Likewise. | |
6753 | (DefaultDocumentEvent): Made public, extends | |
6754 | javax.swing.undo.CompoundEdit. | |
6755 | (ElementEdit): Made public, extends | |
6756 | javax.swing.undo.AbstractUndoableEdit. | |
6757 | (LeafElement): Made public. | |
6758 | (LeafElement.LeafElement): Made public. | |
6759 | ||
6760 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
6761 | ||
6762 | * javax/swing/text/JTextComponent.java: Totally reworked. Removed many | |
6763 | methods (that were obviously never be intended to get included hi this | |
6764 | class. Added some methods too. | |
6765 | ||
6766 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
6767 | ||
6768 | * javax/swing/text/PlainDocument.java | |
6769 | (serialVersionUID): New constant. | |
6770 | (lineLimitAttribute): Likewise. | |
6771 | (tabSizeAttribute): Likewise. | |
6772 | (tabSize): New field. | |
6773 | (PlainDocument): Made public. | |
6774 | (PlainDocument): New constructor. | |
6775 | ||
6776 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
6777 | ||
6778 | * javax/swing/text/AbstractDocument.java | |
6779 | (insertString): Throws BadLocationException. | |
6780 | * javax/swing/text/Document.java | |
6781 | (insertString): Likewise. | |
6782 | * javax/swing/text/JTextComponent.java: | |
6783 | Javadocs and comments cleaned up. | |
6784 | ||
6785 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
6786 | ||
6787 | * javax/swing/event/UndoableEditListener.java: Reformatted. | |
6788 | * javax/swing/text/AbstractDocument.java | |
6789 | (AbstractDocument): Implements java.io.Serializable. | |
6790 | (doc_list): Removed. | |
6791 | (undo_list): Removed. | |
6792 | (AbstractElement.serialVerionUID): New field. | |
6793 | (BranchElement.serialVerionUID): Likewise. | |
6794 | (DefaultDocumentEvent.serialVerionUID): Likewise. | |
6795 | (ElementEdit.serialVerionUID): Likewise. | |
6796 | (LeafElement.serialVerionUID): Likewise. | |
6797 | (serialVerionUID): Likewise. | |
6798 | (BAD_LOCATION): New constant. | |
6799 | (BidiElementName): Likewise. | |
6800 | (ContentElementName): Likewise. | |
6801 | (ParagraphElementName): Likewise. | |
6802 | (SectionElementName): Likewise. | |
6803 | (ElementNameAttribute): Likewise. | |
6804 | (AbstractDocument): Made protected. | |
6805 | (AbstractDocument): New construtor. | |
6806 | (listenerList): New field. | |
6807 | (fireChangedUpdate): Implemented. | |
6808 | (fireInsertUpdate): Likewise. | |
6809 | (fireRemoveUpdate): Likewise. | |
6810 | (fireUndoableEditUpdate): Likewise. | |
6811 | (getListeners): Likewise. | |
6812 | (addDocumentListener): Likewise. | |
6813 | (removeDocumentListener): Likewise. | |
6814 | (addUndoableEditListener): Likewise. | |
6815 | (removeUndoableEditListener): Likewise. | |
6816 | (getDocumentListeners): New method. | |
6817 | (getUndoableEditListeners): Likewise. | |
6818 | (getAsynchronousLoadPriority): Made public. | |
6819 | (getBidiRootElement): Likewise. | |
6820 | (setAsynchronousLoadPriority): Likewise. | |
6821 | (setDocumentProperties): Likewise. | |
6822 | * javax/swing/text/BadLocationException.java | |
6823 | (serialVerionUID): New field. | |
6824 | * javax/swing/text/DefaultCaret.java | |
6825 | (changeEvent): New field. | |
6826 | (listenerList): Likewise. | |
6827 | (changes): Removed. | |
6828 | (addChangeListener): Reimplemented. | |
6829 | (removeChangeListener): Likewise. | |
6830 | (getListeners): New method. | |
6831 | (getChangeListeners): Likwise. | |
6832 | (getComponent): Likewise. | |
6833 | * javax/swing/text/GapContent.java | |
6834 | (GapContent): Implements java.io.Serializable. | |
6835 | (serialVerionUID): New field. | |
6836 | ||
6837 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
6838 | ||
6839 | * javax/swing/JTree.java | |
6840 | (treeModel): New field. | |
6841 | (JTree): New constructors, one existing one made public. | |
6842 | (createTreeModel): New method. | |
6843 | (addTreeExpansionListener): Likewise. | |
6844 | (removeTreeExpansionListener): Likewise. | |
6845 | (getTreeExpansionListeners): Likewise. | |
6846 | (fireTreeCollapsed): Likewise. | |
6847 | (fireTreeExpanded): Likewise. | |
6848 | (addTreeSelectionListener): Likewise. | |
6849 | (removeTreeSelectionListener): Likewise. | |
6850 | (getTreeSelectionListeners): Likewise. | |
6851 | (fireValueChanged): Likewise. | |
6852 | (addTreeWillExpandListener): Likewise. | |
6853 | (removeTreeWillExpandListener): Likewise. | |
6854 | (getTreeWillExpandListeners): Likewise. | |
6855 | (fireTreeWillCollapse): Likewise. | |
6856 | (fireTreeWillExpand): Likewise. | |
6857 | ||
6858 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
6859 | ||
6860 | * javax/swing/JTree.java: Reformatted. | |
6861 | ||
6862 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
6863 | ||
6864 | * javax/swing/JTextArea.java: New file. | |
6865 | * javax/swing/JTextField.java | |
6866 | (actions): Removed. | |
6867 | (notifyAction): New constant. | |
6868 | (columns): New field. | |
6869 | (JTextField): New constructors. | |
6870 | (createDefaultModel): New method. | |
6871 | (addActionListener): Reimplmemented. | |
6872 | (removeActionListener): Reimplemented. | |
6873 | (getActionListeners): New method. | |
6874 | (fireActionPerformed): New method. | |
6875 | (getColumns): New method. | |
6876 | (setColumne): New method. | |
6877 | * javax/swing/text/JTextComponent.java | |
6878 | (AccessibleJTextComponent.serialVersionUID): New field. | |
6879 | (serialVersionUID): Likewise. | |
6880 | (DEFAULT_KEYMAP): Likewise. | |
6881 | (FOCUS_ACCELERATOR_KEY): Likewise. | |
6882 | (doc): Made private. | |
6883 | (icon_gap): Likewise. | |
6884 | (icon): Likewise. | |
6885 | (align): Likewise. | |
6886 | (JTextComponent): Some constructors removed. | |
6887 | (getScrollableTracksViewportHeight): New method. | |
6888 | (getScrollableTracksViewportWidth): Likewise. | |
6889 | * Makefile.am: Added javax/swing/JTextArea.java. | |
6890 | * Makefile.in: Regenerated. | |
6891 | ||
6892 | 2004-06-15 Graydon Hoare <graydon@redhat.com> | |
6893 | ||
6894 | * javax/swing/ImageIcon.java (ImageIcon): New constructor. | |
6895 | * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property. | |
6896 | * javax/swing/JViewport.java | |
6897 | (getExtentSize): Return size rather than preferred size. | |
6898 | (toViewCoordinates): New methods. | |
6899 | (getViewSize): Return size rather than preferred size. | |
6900 | (setViewSize): Note view size as set. | |
6901 | * javax/swing/ViewportLayout.java (layoutContainer): Reimplement. | |
6902 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
6903 | (getPreferredSize): Don't redo layout. | |
6904 | * javax/swing/plaf/basic/BasicViewportUI.java | |
6905 | (paint): Translate image properly and eat exceptions. | |
6906 | ||
6907 | 2004-06-15 Kim Ho <kho@redhat.com> | |
6908 | ||
6909 | * javax/swing/JTabbedPane.java | |
6910 | (setComponent): Remove old component and | |
6911 | add new component. | |
6912 | (setSelectedIndex): Don't operate on the | |
6913 | components if they're null. Don't set index | |
6914 | on the model if the index is the same. | |
6915 | (insertTab): Don't add or hide the component | |
6916 | if it's null. Repaint the container. | |
6917 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
6918 | Change colors for TabbedPane. | |
6919 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
6920 | (mousePressed): Re-layout and paint the component. | |
6921 | (layoutContainer): Don't set location on the view. | |
6922 | (ScrollingViewport::paint): Remove. | |
6923 | ||
6924 | 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com> | |
6925 | ||
6926 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
6927 | (gtkWidgetDispatchKeyEvent): Change warning message to comment. | |
6928 | ||
6929 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString): | |
6930 | Wrap baseline y value in PANGO_PIXELS macro, rather than simply | |
6931 | dividing by PANGO_SCALE. Call gdk_flush before leaving GDK | |
6932 | critical region. | |
6933 | (drawLine): Call gdk_flush before leaving GDK critical region. | |
6934 | (fillRect): Likewise. | |
6935 | (drawRect): Likewise. | |
6936 | (copyArea): Likewise. | |
6937 | (copyPixmap): Likewise. | |
6938 | (clearRect): Likewise. | |
6939 | (drawArc): Likewise. | |
6940 | (drawPolyline): Likewise. | |
6941 | (drawPolygon): Likewise. | |
6942 | (fillPolygon): Likewise. | |
6943 | (fillArc): Likewise. | |
6944 | (drawOval): Likewise. | |
6945 | (fillOval): Likewise. | |
6946 | ||
6947 | * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add | |
6948 | style parameter. | |
6949 | (GdkFontMetrics): Add style argument to initState call. | |
6950 | (stringWidth(String,int,int,String)): Add style parameter. | |
6951 | (stringWidth(String)): Add style argument to stringWidth call. | |
6952 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c | |
6953 | (initState): Set pango font style and weight based on AWT style | |
6954 | parameter. Pass default GTK language to | |
6955 | pango_context_get_metrics. Use PANGO_PIXELS macro rather than | |
6956 | simply dividing by PANGO_SCALE. | |
6957 | (stringWidth): Set pango font style and weight based on AWT style | |
6958 | parameter. | |
6959 | ||
6960 | * java/awt/Button.java (next_button_number): New field. | |
6961 | (paramString): Change output. | |
6962 | (generateName): New method. | |
6963 | (getUniqueLong): New method. | |
6964 | ||
6965 | 2004-06-14 Kim Ho <kho@redhat.com> | |
6966 | ||
6967 | * javax/swing/JTabbedPane.java: | |
6968 | (setComponentAt): Set the component, not | |
6969 | the enabled status. | |
6970 | * javax/swing/plaf/basic/BasicDesktopIconUI.java | |
6971 | (actionPerformed): Let deiconize catch exception. | |
6972 | ||
6973 | 2004-06-14 Olga Rodimina <rodimina@redhat.com> | |
6974 | ||
6975 | * javax/swing/JPopupMenu.java: | |
6976 | (setVisible): Corrected location of a | |
6977 | heavyweight popup menu. | |
6978 | ||
6979 | 2004-06-14 Olga Rodimina <rodimina@redhat.com> | |
6980 | ||
6981 | * javax/swing/MenuSelectionManager.java: | |
6982 | Ran through jalopy to fix formatting style. | |
6983 | ||
6984 | 2004-06-14 Olga Rodimina <rodimina@redhat.com> | |
6985 | ||
6986 | * javax/swing/JLayeredPane.java: | |
6987 | (remove): Revalidate and repaint layered pane after | |
6988 | the component was removed. | |
6989 | javax/swing/JMenu.java: | |
6990 | (setVisible): Display popup menu at the user location, | |
6991 | if one was set by the user. | |
6992 | (setMenuLocation): Reimplemented. Fixed javadoc. | |
6993 | * javax/swing/JMenuBar.java: Added javadoc. | |
6994 | (BORDER_PAINTED_CHANGED_PROPERTY): New Property. | |
6995 | (MODEL_CHANGED_PROPERTY): New Property. | |
6996 | (isSelected): Implemented. | |
6997 | (setBorderPainted): Fire PropertyChangeEvent | |
6998 | if paintBorder property changes. | |
6999 | (setSelected): Implemented. | |
7000 | (setSelectionModel): Implemented. | |
7001 | * javax/swing/JPopupMenu.java: Added Javadoc | |
7002 | (pack): Implemented. | |
7003 | (setVisible): Reimplemented. | |
7004 | (show): Fixed location. | |
7005 | (JPopupMenu.LigthWeightPopup): Reimplemented to use | |
7006 | Container instead of JPanel. | |
7007 | * javax/swing/MenuSelectionManager.java: Added Javadocs. | |
7008 | (clearSelectedPath): Reimplemented to clear selectedPath | |
7009 | in reverse order. | |
7010 | (processMouseEvent): Reimplemented. | |
7011 | (setSelectedPath): Fire stateChange event indicating that | |
7012 | selected menu path has changed. | |
7013 | (getPath): Change to use ArrayList instead of Vector. | |
7014 | * javax/swing/plaf/basic/BasicMenuBarUI.java: | |
7015 | (installUI): call installKeyboardActions(). | |
7016 | (uninstallUI): call uninstallKeyboardActions(). | |
7017 | ||
7018 | 2004-06-13 Michael Koch <konqueror@gmx.de> | |
7019 | ||
7020 | * javax/swing/text/DefaultCaret.java, | |
7021 | javax/swing/text/BadLocationException.java: | |
7022 | Reformatted. | |
7023 | ||
7024 | 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com> | |
7025 | ||
7026 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS, | |
7027 | DEFAULT_COLS): New variables. | |
7028 | (create): Don't allow 0 rows or 0 columns. Instead, set the | |
7029 | values to DEFAULT_ROWS or DEFAULT_COLS. | |
7030 | (getMinimumSize): Likewise. | |
7031 | (getPreferredSize): Likewise. | |
7032 | (minimumSize): Likewise. | |
7033 | (preferredSize): Likewise. | |
7034 | (create): Set peer's editable state. | |
7035 | * java/awt/TextArea.java (TextArea()): Set rows and columns to | |
7036 | zero. Update javadocs. | |
7037 | (TextArea(String)): Likewise. | |
7038 | (TextArea(int,int)): Fix javadocs. | |
7039 | (TextArea(String,int,int,int)): Only throw exception if one of | |
7040 | rows or columns is zero. Fix javadocs. | |
7041 | ||
7042 | 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com> | |
7043 | ||
7044 | * java/awt/AWTEvent.java (toString): Handle MenuComponents in | |
7045 | addition to Components. | |
7046 | ||
7047 | * java/awt/MenuItem.java (dispatchEventImpl): If the event | |
7048 | wasn't consumed by normal processing, send it to the parent | |
7049 | menu. | |
7050 | ||
7051 | * gnu/java/awt/peer/gtk/GtkImagePainter.java | |
7052 | (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove | |
7053 | translation. | |
7054 | ||
7055 | 2004-06-11 David Jee <djee@redhat.com> | |
7056 | ||
7057 | * java/awt/MediaTracker.java | |
7058 | (addImage(Image,int)): Call imageUpdate() to udpate image status. | |
7059 | (addImage(Image,int,int,int)): Likewise. | |
7060 | ||
7061 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
7062 | ||
7063 | * javax/swing/text/AbstractDocument.java, | |
7064 | javax/swing/text/Document.java, | |
7065 | javax/swing/text/GapContent.java, | |
7066 | javax/swing/text/JTextComponent.java, | |
7067 | javax/swing/text/PlainDocument.java: | |
7068 | Reformatted. | |
7069 | ||
7070 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
7071 | ||
7072 | * javax/swing/JRootPane.java | |
7073 | (AccessibleJRootPane.serialVersionUID): New field. | |
7074 | (AccessibleJRootPane.AccessibleJRootPane): New constructor. | |
7075 | (AccessibleJRootPane.getAccessibleRole): New method. | |
7076 | (RootLayout): Implements Serializable. | |
7077 | (RootLayout.serialVersionUID): New field. | |
7078 | (RootLayout.RootLayout): New constructor. | |
7079 | (setJMenuBar): Made public. | |
7080 | (getJMenuBar): Likewise. | |
7081 | (JRootPane): Likewise. | |
7082 | (createContentPane): Likewise. | |
7083 | (createGlassPane): Likewise. | |
7084 | (createLayeredPane): Likewise. | |
7085 | ||
7086 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
7087 | ||
7088 | * javax/swing/SwingUtilities.java | |
7089 | (isLeftMouseButton): Fixed javadoc. | |
7090 | (isMiddleMouseButton): Likewise. | |
7091 | (isRightMouseButton): Likewise. | |
7092 | ||
7093 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
7094 | ||
7095 | * javax/swing/JScrollPane.java | |
7096 | (serialVersionUID): New field. | |
7097 | (columnHeader): Made protected. | |
7098 | (rowHeader): Likewise. | |
7099 | (lowerLeft): Likewise. | |
7100 | (lowerRight): Likewise. | |
7101 | (upperLeft): Likewise. | |
7102 | (upperRight): Likewise. | |
7103 | (horizontalScrollBar): Likewise. | |
7104 | (horizontalScrollBarPolicy): Likewise. | |
7105 | (verticalScrollBar): Likewise. | |
7106 | (verticalScrollBarPolicy): Likewise. | |
7107 | (viewport): Likewise. | |
7108 | ||
7109 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
7110 | ||
7111 | * javax/swing/LookAndFeel.java: Fixed javadocs. | |
7112 | ||
7113 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
7114 | ||
7115 | * javax/swing/JEditorPane.java: Fixed javadocs. | |
7116 | (JEditorPane): Removed redundant call to to this(). | |
7117 | (fireHyperlinkUpdate): Implemented. | |
7118 | ||
7119 | 2004-06-10 Olga Rodimina <rodimina@redhat.com> | |
7120 | ||
7121 | * javax/swing/JMenu.java: Fixed file name | |
7122 | in the file comment. | |
7123 | ||
7124 | 2004-06-10 Olga Rodimina <rodimina@redhat.com> | |
7125 | ||
7126 | * javax/swing/JMenu.java: Added javadoc. | |
7127 | (JMenu): Added MenuChangeListener to listen to | |
7128 | ChangeEvents occuring in menu's model. | |
7129 | (insert): Throw IllegalArgumentException if | |
7130 | index is less than 0 | |
7131 | (setSelected): Reimplement. | |
7132 | (setPopupMenuVisible): Call menu's model isEnabled() | |
7133 | (setDelay): Throw IllegalArgumentException if | |
7134 | given amount of delay is less than 0. | |
7135 | (createActionComponent): Implemented. | |
7136 | (createActionChangeListener): Implemented. | |
7137 | (addSeparator): Implemented. | |
7138 | (getItem): Throw IllegalArgumentException if index is | |
7139 | less than 0. | |
7140 | (getItemCount): Implemented. | |
7141 | (fireMenuSelected): Changed to use menuEvent. | |
7142 | (fireMenuDeselected): Likewise. | |
7143 | (fireMenuCanceled): Likewise. | |
7144 | (setAccelerator): Changed to throw an error if this | |
7145 | method is used. | |
7146 | (doClick): Implemented. | |
7147 | (JMenu.ActionChangedListener): New inner class to handle | |
7148 | PropertyChangeEvents occuring in the actions associated with menu. | |
7149 | * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc. | |
7150 | (BasicMenuUI): Added PropertyChangeListener to the menu. | |
7151 | (createChangeListener): Implemented. | |
7152 | (createMenuDragMouseListener): Likewise. | |
7153 | (createMenuKeyListener): Likewise. | |
7154 | (createPropertyChangeListener): Likewise. | |
7155 | (uninstallListeners): Likewise. | |
7156 | (BasicMenuUI.MouseInputHandler): Reimplemented. | |
7157 | (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet. | |
7158 | (BasicMenuUI.ChangeHandler): Likewise. | |
7159 | (BasicMenuUI.MenuDragMouseHandler): Likewise. | |
7160 | (BasicMenuUI.MenuKeyHandler): Likewise. | |
7161 | ||
7162 | 2004-06-10 David Jee <djee@redhat.com> | |
7163 | ||
7164 | * java/awt/MediaTracker.java | |
7165 | (imageUpdate): Only do notifyAll() if the image is complete. | |
7166 | ||
7167 | 2004-06-10 Olga Rodimina <rodimina@redhat.com> | |
7168 | ||
7169 | * javax/swing/JApplet.java: | |
7170 | (getJMenuBar): Made public. | |
7171 | (setJMenuBar): Likewise. | |
7172 | * javax/swing/JFrame.java: | |
7173 | (getJMenuBar): Made public. | |
7174 | (setJMenuBar): Likewise. | |
7175 | * javax/swing/JWindow.java: | |
7176 | (getJMenuBar): Removed. | |
7177 | (setJMenuBar): Removed. | |
7178 | ||
7179 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
7180 | ||
7181 | * javax/swing/JEditorPane.java | |
7182 | (createEditorKitForContentType): Fixed visibility. | |
7183 | (fireHyperlinkUpdate): Likewise. | |
7184 | (getContentType): Likewise. | |
7185 | (getEditorKit): Likewise. | |
7186 | (getEditorKitForContentType): Likewise. | |
7187 | (getPage): Likewise. | |
7188 | (read): Likewise. | |
7189 | (registerEditorKitForContentTyoe): Likewise. | |
7190 | (replaceSelection): Likewise. | |
7191 | (setContentType): Likewise. | |
7192 | (setEditorKit): Likewise. | |
7193 | (setPage): Likewise. | |
7194 | ||
7195 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
7196 | ||
7197 | * javax/swing/Timer.java | |
7198 | (Timer): New constructor. | |
7199 | * javax/swing/plaf/basic/BasicProgressBarUI.java | |
7200 | (animationTimer): Don't initialize at construction. | |
7201 | (startAnimationTimer): Added since tag. | |
7202 | (stopAnimationTimer): Likewise. | |
7203 | (installUI): Use new Timer constructor. | |
7204 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
7205 | (installUI): Likewise. | |
7206 | * javax/swing/plaf/basic/BasicSliderUI.java | |
7207 | (installUI): Likewise. | |
7208 | ||
7209 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
7210 | ||
7211 | * javax/swing/ButtonGroup.java | |
7212 | (serialVersionUID): Made private. | |
7213 | (buttons): Renamed from v, added javadoc. | |
7214 | (sel): Added javadoc. | |
7215 | (ButtonGroup): Likewise. | |
7216 | (add): Likewise. | |
7217 | (remove): Likewise. | |
7218 | (getElements): Likewise. | |
7219 | (getSelection): Likewise. | |
7220 | (setSelected): Likewise. | |
7221 | (isSelected): Likewise. | |
7222 | (getButtonCount): Likewise. | |
7223 | ||
7224 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
7225 | ||
7226 | * javax/swing/ButtonGroup.java, | |
7227 | javax/swing/ImageIcon.java, | |
7228 | javax/swing/JEditorPane.java, | |
7229 | javax/swing/JRootPane.java, | |
7230 | javax/swing/JTextField.java, | |
7231 | javax/swing/LookAndFeel.java, | |
7232 | javax/swing/plaf/basic/BasicTextUI.java: | |
7233 | Reindented. | |
7234 | ||
7235 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
7236 | ||
7237 | * javax/swing/text/Style.java: Added javadocs. | |
7238 | ||
7239 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
7240 | ||
7241 | * javax/swing/JComponent.java | |
7242 | (fireVetoableChange): Removed redundant cast. | |
7243 | * javax/swing/JLabel.java | |
7244 | (getDisabledIcon): Save icon for next call. | |
7245 | ||
7246 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
7247 | ||
7248 | * javax/swing/KeyStroke.java | |
7249 | (getKeyStroke(char,boolean)): Marked deprecated. | |
7250 | ||
7251 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
7252 | ||
7253 | * javax/swing/DefaultCellEditor.java, | |
7254 | javax/swing/GrayFilter.java, | |
7255 | javax/swing/event/DocumentEvent.java, | |
7256 | javax/swing/text/JTextComponent.java, | |
7257 | javax/swing/text/MutableAttributeSet.java: | |
7258 | Reindented. | |
7259 | ||
7260 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
7261 | ||
7262 | * javax/swing/plaf/BorderUIResource.java: | |
7263 | Added serialVersionUID all over. | |
7264 | ||
7265 | 2004-06-10 Sascha Brawer <brawer@dandelis.ch> | |
7266 | ||
7267 | * javax/swing/undo/UndoManager.java: Re-written from scratch. | |
7268 | ||
7269 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
7270 | ||
7271 | * javax/swing/table/DefaultTableCellRenderer.java | |
7272 | (noFocusBorder): Initialize directly. | |
7273 | ||
7274 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
7275 | ||
7276 | * javax/swing/plaf/basic/BasicArrowButton.java | |
7277 | (setDirection): Use method argument. | |
7278 | ||
7279 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
7280 | ||
7281 | * javax/swing/plaf/BorderUIResource.java, | |
7282 | javax/swing/plaf/ComponentUI.java, | |
7283 | javax/swing/undo/CompoundEdit.java, | |
7284 | javax/swing/undo/StateEdit.java: | |
7285 | Fixed javadocs all over. | |
7286 | ||
7287 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
7288 | ||
7289 | * javax/swing/DefaultButtonModel.java | |
7290 | (ARMED): Made public final, fixed value. | |
7291 | (ENABLED): Likewise. | |
7292 | (PRESSED): Likewise. | |
7293 | (ROLLOVER): Likewise. | |
7294 | (SELECTED): Likewise. | |
7295 | (stateMask): Initialize directly. | |
7296 | (listenerList): Likewise. | |
7297 | (mnemonic): Likewise. | |
7298 | (fireStateChanged): Removed argument, use changeEvent as event. | |
7299 | All places where this method is called are fixed too. | |
7300 | (getActionCommant): Fixed javadoc. | |
7301 | (setGroup): Fixed javadoc. | |
7302 | (getGroup): New method. | |
7303 | ||
7304 | 2004-06-09 Olga Rodimina <rodimina@redhat.com> | |
7305 | ||
7306 | * javax/swing/AbstractButton.java | |
7307 | (AbstractButton): Use init() to initialize the button. | |
7308 | (init): New Method. Initializes AbstractButton. | |
7309 | * javax/swing/JMenuItem.java: Documented. | |
7310 | (JMenuItem): Reimplemented. | |
7311 | (init): Implemented. | |
7312 | (setEnabled): Changed to call super.setEnabled() | |
7313 | (processMouseEvent): Reimplemented. | |
7314 | (fireMenuKeyPressed): Implemented. | |
7315 | (fireMenuKeyReleased): Implemented. | |
7316 | (fireMenuKeyTyped): Implemented. | |
7317 | (menuSelectionChanged): disarm the model if the menu item was | |
7318 | deselected. | |
7319 | * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented. | |
7320 | (getPath): Change to use ArrayList instead of Vector. | |
7321 | (getPreferredSize): Renamed variable. | |
7322 | (paintMenuItem): Paint margin area of menu item. | |
7323 | (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager. | |
7324 | (MouseInputHandler.mouseReleased): Check if mouse was pressed inside | |
7325 | menu item's bounds before clearing the selection. | |
7326 | ||
7327 | 2004-06-09 David Jee <djee@redhat.com> | |
7328 | ||
7329 | * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java | |
7330 | (GtkTextComponentPeer): Set caret position to 0. | |
7331 | * java/awt/TextComponent.java | |
7332 | (setText): Set caret position to 0. | |
7333 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
7334 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter): | |
7335 | Handle GtkScrolledWindow separately. Fix signal handler blocking. | |
7336 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter): | |
7337 | Likewise. | |
7338 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
7339 | (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor | |
7340 | visible. | |
7341 | ||
7342 | 2004-06-09 Kim Ho <kho@redhat.com> | |
7343 | ||
7344 | * Makefile.am: New files | |
7345 | * Makefile.in: Regenerated | |
7346 | * java/awt/Container.java | |
7347 | (getComponentAt): Removed. | |
7348 | * javax/swing/AbstractAction.java | |
7349 | (ENABLED_PROPERTY): New property. | |
7350 | (putValue): Fire PropertyChangeEvents. | |
7351 | (setEnabled): ditto. | |
7352 | (firePropertyChange): Javadoc and implement | |
7353 | convenience method. | |
7354 | * javax/swing/AbstractButton.java | |
7355 | (setAction): Don't create PropertyChangeListener | |
7356 | if new Action is null. | |
7357 | (setIcon): Don't set icon till after comparing | |
7358 | it. | |
7359 | (configurePropertiesFromAction): Check mnemonic | |
7360 | key before calling intValue(). | |
7361 | (createActionPropertyChangeListener): Check | |
7362 | properties rather than bulk change. | |
7363 | * javax/swing/DefaultDesktopManager.java: | |
7364 | Implement. | |
7365 | * javax/swing/DesktopManager.java: | |
7366 | Jalopy and javadoc. | |
7367 | * javax/swing/JComponent.java | |
7368 | (fireVetoableChange): Implement. | |
7369 | (paintImmediately): Use root component. | |
7370 | * javax/swing/JDesktopPane.java: Implement | |
7371 | * javax/swing/JInternalFrame.java: Implement | |
7372 | * javax/swing/JLabel.java | |
7373 | (getDisabledIcon): Return grayscaled icon if | |
7374 | no disabled icon specified. | |
7375 | * javax/swing/JMenuBar.java | |
7376 | (getComponentAtIndex): Use getComponent | |
7377 | * javax/swing/JOptionPane.java | |
7378 | (getDesktopPaneForComponent): Use SwingUtilities' | |
7379 | getAncestorOfClass | |
7380 | (getFrameForComponent): ditto. | |
7381 | * javax/swing/JSplitPane.java | |
7382 | (remove): Use getComponent. | |
7383 | * javax/swing/SwingUtilities.java | |
7384 | (convertPoint): Implement. | |
7385 | * javax/swing/plaf/basic/BasicButtonUI.java | |
7386 | (paintButtonNormal): Check opaqueness before | |
7387 | filling background. | |
7388 | * javax/swing/plaf/basic/BasicDesktopIconUI.java: | |
7389 | Implement | |
7390 | * javax/swing/plaf/basic/BasicDesktopPaneUI.java: | |
7391 | Implement. | |
7392 | * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java: | |
7393 | Implement. | |
7394 | * javax/swing/plaf/basic/BasicInternalFrameUI.java: | |
7395 | Implement. | |
7396 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
7397 | Change InternalFrame and Desktop colors. | |
7398 | ||
7399 | 2004-06-09 David Jee <djee@redhat.com> | |
7400 | ||
7401 | * java/awt/Container.java | |
7402 | (remove): Do not set component to invisible. | |
7403 | ||
7404 | 2004-06-09 Michael Koch <konqueror@gmx.de> | |
7405 | ||
7406 | * javax/swing/tree/DefaultMutableTreeNode.java | |
7407 | (getLeafCount): Renamed enum to e. | |
7408 | ||
7409 | 2004-06-09 Michael Koch <konqueror@gmx.de> | |
7410 | ||
7411 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java | |
7412 | (positionForMouseEvent): Removed redundant semicolon. | |
7413 | (continueDrag): Use method arguments. | |
7414 | ||
7415 | 2004-06-09 Michael Koch <konqueror@gmx.de> | |
7416 | ||
7417 | * javax/swing/border/TitledBorder.java, | |
7418 | javax/swing/filechooser/FileSystemView.java, | |
7419 | javax/swing/plaf/basic/BasicButtonListener.java, | |
7420 | javax/swing/plaf/basic/BasicGraphicsUtils.java, | |
7421 | javax/swing/plaf/basic/BasicLabelUI.java, | |
7422 | javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java, | |
7423 | javax/swing/plaf/basic/BasicScrollBarUI.java, | |
7424 | javax/swing/plaf/basic/BasicScrollPaneUI.java, | |
7425 | javax/swing/plaf/basic/BasicSliderUI.java, | |
7426 | javax/swing/plaf/basic/BasicTabbedPaneUI.java, | |
7427 | javax/swing/plaf/basic/BasicToggleButtonUI.java, | |
7428 | javax/swing/table/JTableHeader.java, | |
7429 | javax/swing/text/AbstractDocument.java, | |
7430 | javax/swing/text/DefaultCaret.java, | |
7431 | javax/swing/text/StyledEditorKit.java, | |
7432 | javax/swing/tree/DefaultTreeCellEditor.java: | |
7433 | Reworked import statements. | |
7434 | ||
7435 | 2004-06-08 Graydon Hoare <graydon@redhat.com> | |
7436 | ||
7437 | * javax/swing/Box.java: Temporarily comment out code | |
7438 | broken due to visibility bug. | |
7439 | ||
7440 | 2004-06-09 Michael Koch <konqueror@gmx.de> | |
7441 | ||
7442 | * javax/swing/ImageIcon.java | |
7443 | (ImageIcon): Added missing constructor. | |
7444 | ||
7445 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
7446 | ||
7447 | * javax/swing/JToggleButton.java | |
7448 | (JToggleButton): New constructor. | |
7449 | (getAccessibleContext): Moved documentation into javadoc. | |
7450 | (getUIClassID): Likewise. | |
7451 | ||
7452 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
7453 | ||
7454 | * javax/swing/AbstractButton.java | |
7455 | (getDisabledIcon): Create disabled icon if none exists yet. | |
7456 | ||
7457 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
7458 | ||
7459 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
7460 | (initClassDefaults): Added FormattedTextFieldUI. | |
7461 | (loadResourceBundle): Renamed enum to e. | |
7462 | ||
7463 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
7464 | ||
7465 | * javax/swing/plaf/basic/BasicButtonUI.java | |
7466 | (paintIcon): Simplified. | |
7467 | (paintText): Paint disabled button correctly. | |
7468 | ||
7469 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
7470 | ||
7471 | * javax/swing/JComponent.java | |
7472 | (createToolTip): Use official JToolTip API. | |
7473 | ||
7474 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
7475 | ||
7476 | * javax/swing/JToolTip.java | |
7477 | (JToolTip): No arguments in API. | |
7478 | (setTipText): New method. | |
7479 | ||
7480 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
7481 | ||
7482 | * javax/swing/SwingUtilities.java | |
7483 | (isLeftMouseButton): New method. | |
7484 | (isMiddleMouseButton): New method. | |
7485 | (isRightMouseButton): New method. | |
7486 | ||
7487 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
7488 | ||
7489 | * javax/swing/AbstractButton.java, | |
7490 | javax/swing/CellRendererPane.java, | |
7491 | javax/swing/JCheckBoxMenuItem.java, | |
7492 | javax/swing/JColorChooser.java, | |
7493 | javax/swing/JComboBox.java, | |
7494 | javax/swing/JComponent.java, | |
7495 | javax/swing/JDesktopPane.java, | |
7496 | javax/swing/JFileChooser.java, | |
7497 | javax/swing/JMenu.java, | |
7498 | javax/swing/JMenuItem.java, | |
7499 | javax/swing/JOptionPane.java, | |
7500 | javax/swing/JPasswordField.java, | |
7501 | javax/swing/JPopupMenu.java, | |
7502 | javax/swing/JProgressBar.java, | |
7503 | javax/swing/JRadioButtonMenuItem.java, | |
7504 | javax/swing/JScrollBar.java, | |
7505 | javax/swing/JSeparator.java, | |
7506 | javax/swing/JSlider.java, | |
7507 | javax/swing/JSplitPane.java, | |
7508 | javax/swing/JTabbedPane.java, | |
7509 | javax/swing/JTextField.java, | |
7510 | javax/swing/JToolBar.java, | |
7511 | javax/swing/text/JTextComponent.java: | |
7512 | Fixed all constructors of accessibility classes. | |
7513 | ||
7514 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
7515 | ||
7516 | * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all | |
7517 | over. | |
7518 | ||
7519 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
7520 | ||
7521 | * javax/swing/Box.java | |
7522 | (AccessibleBoxFiller): Extends AccessibleAWTComponent. | |
7523 | (AccessibleBoxFiller.serialVersionUID): New member variable. | |
7524 | * javax/swing/DefaultButtonModel.java | |
7525 | (stateMask): Made protected. | |
7526 | (listenerList): Likewise. | |
7527 | (changeEvent): Likewise. | |
7528 | (group): Likewise. | |
7529 | (mnemonic): Likewise. | |
7530 | (actionCommand): Likewise. | |
7531 | (getListeners): New method. | |
7532 | (getActionListeners): New method. | |
7533 | (getItemListeners): New method. | |
7534 | (getChangeListeners): New method. | |
7535 | (fireItemStateChanged): Simplified. | |
7536 | (fireActionPerformed): Simplified. | |
7537 | (fireStateChanged): Simplified. | |
7538 | * javax/swing/JFrame.java | |
7539 | (JFrame): Implements WindowContants. | |
7540 | (HIDE_ON_CLOSE): Removed. | |
7541 | (EXIT_ON_CLOSE): Removed. | |
7542 | (DISPOSE_ON_CLOSE): Removed. | |
7543 | (DO_NOTHING_ON_CLOSE): Removed. | |
7544 | (processWindowEvent): Exit with code 0. | |
7545 | (setDefaultCloseOperation): Do security check before setting value. | |
7546 | * javax/swing/JOptionPane.java | |
7547 | (message): Initialize only in constructor. | |
7548 | * javax/swing/JToolTip.java: Removed unused imports. | |
7549 | * javax/swing/JViewport.java | |
7550 | (serialVersionUID): New member variable. | |
7551 | (SIMPLE_SCROLL_MODE): Made final, fixed value. | |
7552 | (BLIT_SCROLL_MODE): Likewise. | |
7553 | (BACKINGSTORE_SCROLL_MODE): Likewise. | |
7554 | (scrollUnderway): Made protected. | |
7555 | (isViewSizeSet): Likewise. | |
7556 | * javax/swing/ListModel.java: Fixed javadoc. | |
7557 | * javax/swing/Popup.java: Likewise. | |
7558 | * javax/swing/RepaintManager.java | |
7559 | (paintDirtyRegions): Don't use internal classes of | |
7560 | java.util.AbstractMap. | |
7561 | * javax/swing/ScrollPaneConstants.java: Reindented. | |
7562 | * javax/swing/ScrollPaneLayout.java | |
7563 | (viewport): Made protected. | |
7564 | (verticalScrollBar): Made protected, renamed to vsb. | |
7565 | (horizontalScrollBar): Made protected, renamed to hsb. | |
7566 | (rowHeader): Made protected, renamed to rowHead. | |
7567 | (columnHeader): Made protected, renamed to colHead. | |
7568 | (lowerLeft): Made protected. | |
7569 | (lowerRight): Made protected. | |
7570 | (upperLeft): Made protected. | |
7571 | (upperRight): Made protected. | |
7572 | (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy. | |
7573 | (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy. | |
7574 | ||
7575 | 2004-06-07 Bernd Schmidt <bernds@btinternet.com> | |
7576 | ||
7577 | * java/awt/MediaTracker.java (imageUpdate): Only set status to | |
7578 | LOADING if flags has SOMEBITS set. | |
7579 | ||
7580 | 2004-06-07 Michael Koch <konqueror@gmx.de> | |
7581 | ||
7582 | * javax/swing/AbstractButton.java: Reorganized imports. | |
7583 | * javax/swing/ActionMap.java: Likewise. | |
7584 | * javax/swing/DefaultButtonModel.java: Likewise. | |
7585 | * javax/swing/DefaultListModel.java: Likewise. | |
7586 | * javax/swing/ImageIcon.java: Likewise. | |
7587 | (serialVersionUID): New member variable. | |
7588 | * javax/swing/JComboBox.java: Reorganized imports. | |
7589 | * javax/swing/JComponent.java: Likewise. | |
7590 | (ui): Made protected. | |
7591 | (listenerList): Made protected. | |
7592 | (TOOL_TIP_TEXT_KEY): New constant. | |
7593 | (scrollRectToVisible): Removed redundant null check. | |
7594 | * javax/swing/JFrame.java: Reorganized imports. | |
7595 | * javax/swing/JInternalFrame.java: Reorganized imports. | |
7596 | * javax/swing/JProgressBar.java: Likewise. | |
7597 | * javax/swing/JRootPane.java: Likewise. | |
7598 | * javax/swing/JScrollBar.java: Likewise. | |
7599 | * javax/swing/JSeparator.java: Likewise. | |
7600 | * javax/swing/JSlider.java: Likewise. | |
7601 | * javax/swing/JTabbedPane.java: Likewise. | |
7602 | * javax/swing/JTextField.java: Likewise. | |
7603 | * javax/swing/JToolBar.java: Likewise. | |
7604 | * javax/swing/JTree.java: Likewise. | |
7605 | * javax/swing/JViewport.java: Likewise. | |
7606 | * javax/swing/JWindow.java: Likewise. | |
7607 | * javax/swing/KeyStroke.java: Likewise. | |
7608 | * javax/swing/LookAndFeel.java: Likewise. | |
7609 | * javax/swing/MenuSelectionManager.java: Likewise. | |
7610 | * javax/swing/SwingUtilities.java: Likewise. | |
7611 | * javax/swing/Timer.java: Likewise. | |
7612 | * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc. | |
7613 | * javax/swing/JList.java | |
7614 | (HORIZONTAL_WRAP): Made final, fixed value. | |
7615 | (VERTICAL): Likewise. | |
7616 | (VERTICAL_WRAP): Likewise. | |
7617 | ||
7618 | 2004-06-07 Michael Koch <konqueror@gmx.de> | |
7619 | ||
7620 | * javax/swing/AbstractButton.java | |
7621 | (serialVersionUID): New member variable. | |
7622 | (AccessibleAbstractButton.serialVersionUID): Likewise. | |
7623 | (AbstractButton): Made public. | |
7624 | * javax/swing/Box.java | |
7625 | (AccessibleBox.serialVersionUID): New member variable. | |
7626 | (Filler.serialVersionUID): Likewise. | |
7627 | * javax/swing/DefaultListSelectionModel.java | |
7628 | (serialVersionUID): Likewise. | |
7629 | * javax/swing/JApplet.java | |
7630 | (serialVersionUID): Likewise. | |
7631 | * javax/swing/JCheckBox.java | |
7632 | (serialVersionUID): Likewise. | |
7633 | * javax/swing/JCheckBoxMenuItem.java | |
7634 | (serialVersionUID): Likewise. | |
7635 | (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise. | |
7636 | * javax/swing/JColorChooser.java | |
7637 | (serialVersionUID): Likewise. | |
7638 | (AccessibleJColorChooser.serialVersionUID): Likewise. | |
7639 | * javax/swing/JComponent.java | |
7640 | (serialVersionUID): Made private. | |
7641 | (AccessibleJComponent.serialVersionUID): New member variable. | |
7642 | * javax/swing/JDesktopPane.java | |
7643 | (serialVersionUID): Likewise. | |
7644 | * javax/swing/JDialog.java | |
7645 | (serialVersionUID): Likewise. | |
7646 | * javax/swing/JFormattedTextField.java | |
7647 | (serialVersionUID): Fixed value. | |
7648 | * javax/swing/JFrame.java | |
7649 | (serialVersionUID): New member variable. | |
7650 | (getDefaultCloseOpertation): Made public. | |
7651 | * javax/swing/JLayeredPane.java | |
7652 | (serialVersionUID): Likewise. | |
7653 | (LAYER_PROPERTY): Made final, fixed value. | |
7654 | (JLayeredPane): Made public. | |
7655 | * javax/swing/JMenu.java | |
7656 | (AccessibleJMenu.serialVersionUID): New member variable. | |
7657 | (WinListener.serialVersionUID): Likewise. | |
7658 | * javax/swing/JMenuBar.java | |
7659 | (serialVersionUID): Likewise. | |
7660 | (getComponentAtIndex): Added @deprecated tag. | |
7661 | * javax/swing/JMenuItem.java | |
7662 | (serialVersionUID): New member variable. | |
7663 | (AccessibleJMenuItem.serialVersionUID): Likewise. | |
7664 | * javax/swing/JOptionPane.java | |
7665 | (serialVersionUID): Likewise. | |
7666 | (AccessibleJOptionPane.serialVersionUID): Likewise. | |
7667 | * javax/swing/JPopupMenu.java | |
7668 | (serialVersionUID): Likewise. | |
7669 | (AccessibleJPopupMenu.serialVersionUID): Likewise. | |
7670 | (getPopupMenuListeners): New method. | |
7671 | (getComponentAtIndex): Added @deprecated tag. | |
7672 | * javax/swing/JProgressBar.java | |
7673 | (serialVersionUID): New member variable. | |
7674 | (AccessibleJProgressBar.serialVersionUID): Likewise. | |
7675 | * javax/swing/JRadioButton.java | |
7676 | (serialVersionUID): Likewise. | |
7677 | * javax/swing/JRadioButtonMenuItem.java | |
7678 | (serialVersionUID): Likewise. | |
7679 | (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise. | |
7680 | * javax/swing/JScrollBar.java | |
7681 | (serialVersionUID): Likewise. | |
7682 | (AccessibleJScrollBar.serialVersionUID): Likewise. | |
7683 | * javax/swing/JSeparator.java | |
7684 | (serialVersionUID): Likewise. | |
7685 | (AccessibleJSeparator.serialVersionUID): Likewise. | |
7686 | * javax/swing/JSlider.java: Fixed javadocs. | |
7687 | (AccessibleJSlider.serialVersionUID): New member variable. | |
7688 | * javax/swing/JSplitPane.java: Added copyright statement. | |
7689 | (serialVersionUID): New member variable. | |
7690 | (AccessibleJSplitPane.serialVersionUID): Likewise. | |
7691 | * javax/swing/JTabbedPane.java | |
7692 | (serialVersionUID): Likewise. | |
7693 | (AccessibleJTabbedPane.serialVersionUID): Likewise. | |
7694 | (ModelListener.serialVersionUID): Likewise. | |
7695 | (ModelListener.ModelListener): New constructor. | |
7696 | (SCROLL_TAB_LAYOUT): Made public final, fixed value. | |
7697 | (WRAP_TAB_LAYOUT): Likewise. | |
7698 | * javax/swing/JTable.java | |
7699 | (serialVersionUID): New member variable. | |
7700 | * javax/swing/JToggleButton.java | |
7701 | (serialVersionUID): Likewise. | |
7702 | (ToggleButtonModel): Made static. | |
7703 | (ToggleButtonModel.serialVersionUID): New member variable. | |
7704 | * javax/swing/JToolTip.java | |
7705 | (serialVersionUID): Likewise. | |
7706 | * javax/swing/JTree.java | |
7707 | (serialVersionUID): Likewise. | |
7708 | * javax/swing/JWindow.java | |
7709 | (serialVersionUID): Likewise. | |
7710 | * javax/swing/Timer.java | |
7711 | (serialVersionUID): Likewise. | |
7712 | ||
7713 | 2004-06-06 Michael Koch <konqueror@gmx.de> | |
7714 | ||
7715 | * javax/swing/SwingConstants.java | |
7716 | (NEXT): New constant. | |
7717 | (PREVIOUS): Likewise. | |
7718 | * javax/swing/UIManager.java | |
7719 | (LookAndFeel): Made public. | |
7720 | (LookAndFeel.getClassName): Likewise. | |
7721 | (LookAndFeel.getName): Likewise. | |
7722 | ||
7723 | 2004-06-02 Olga Rodimina <rodimina@redhat.com> | |
7724 | ||
7725 | * javax/swing/JCheckBoxMenuItem.java: | |
7726 | Removed CVS tags. | |
7727 | * javax/swing/JMenu.java: Likewise. | |
7728 | * javax/swing/JMenuBar.java: Likewise. | |
7729 | * javax/swing/JMenuItem.java: Likewise. | |
7730 | * javax/swing/JPopupMenu.java: Likewise. | |
7731 | * javax/swing/JRadioButtonMenuItem.java: Likewise. | |
7732 | * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise. | |
7733 | * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise. | |
7734 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise. | |
7735 | * javax/swing/plaf/basic/BasicMenuUI.java: Likewise. | |
7736 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise. | |
7737 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise. | |
7738 | ||
7739 | 2004-05-31 Olga Rodimina <rodimina@redhat.com> | |
7740 | ||
7741 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
7742 | (MouseEntered): Do not call getPath() from MenuSelectionManager. | |
7743 | Call getPath() from super class instead. | |
7744 | ||
7745 | 2004-05-31 David Jee <djee@redhat.com> | |
7746 | ||
7747 | * java/awt/Container.java | |
7748 | (remove): Set component visibility to false after removing it. | |
7749 | ||
7750 | 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com> | |
7751 | ||
7752 | * java/awt/Component.java (getForeground): Return SystemColor if | |
7753 | parent is null. | |
7754 | (getBackground): Likewise. | |
7755 | ||
7756 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c | |
7757 | (item_highlighted): New function. | |
7758 | (connectSignals): Set item_highlighted as list's select | |
7759 | function. | |
7760 | ||
7761 | * java/applet/Applet.java: Revert changes from 2004-04-29, | |
7762 | 2004-03-15 and 2004-03-14. | |
7763 | ||
7764 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString): | |
7765 | Divide baseline y coordinate by PANGO_SCALE, not DPI conversion | |
7766 | factor. | |
7767 | ||
7768 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set | |
7769 | "Dialog" as the default font. | |
7770 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): | |
7771 | Likewise. | |
7772 | * java/awt/Component.java (getFont): Return "Dialog" font by | |
7773 | default. | |
7774 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: | |
7775 | Multiply size argument to pango_font_description_set_size by the | |
7776 | DPI conversion factor rather than by PANGO_SCALE. | |
7777 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise. | |
7778 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise. | |
7779 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise. | |
7780 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise. | |
7781 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise. | |
7782 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise. | |
7783 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise. | |
7784 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise. | |
7785 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise. | |
7786 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString): | |
7787 | Divide baseline y coordinate by DPI conversion factor rather | |
7788 | than by PANGO_SCALE. | |
7789 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c | |
7790 | (area_prepared): Fix typo. | |
7791 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c | |
7792 | (gtkSetFont): Move gtk_bin_get_child inside GDK critical region. | |
7793 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
7794 | (dpi_conversion_factor): New global variable. | |
7795 | (init_dpi_conversion_factor): New function to calculate and | |
7796 | track DPI conversion factor. | |
7797 | (dpi_changed_cb): New callback. | |
7798 | * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare. | |
7799 | ||
7800 | 2004-05-27 David Jee <djee@redhat.com> | |
7801 | ||
7802 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
7803 | (getGraphics): Return a new GdkGraphics instance. | |
7804 | * gnu/java/awt/peer/gtk/GtkContainerPeer.java | |
7805 | (getGraphics): Call super.getGraphics(). | |
7806 | ||
7807 | 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com> | |
7808 | ||
7809 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
7810 | (setNativeBounds): Clamp width and height values to >= 0. | |
7811 | ||
7812 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
7813 | (find_fg_color_widget): Handle GtkOptionMenu specially. | |
7814 | ||
7815 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
7816 | (pre_event_handler): Only post configure events to visible | |
7817 | top-level windows. | |
7818 | ||
7819 | 2004-05-26 David Jee <djee@redhat.com> | |
7820 | ||
7821 | * java/awt/BorderLayout.java | |
7822 | (layoutContainer): Fix size calculations. | |
7823 | ||
7824 | 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com> | |
7825 | ||
7826 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
7827 | (window_wm_protocols_filter): Remove function. | |
7828 | (create): Remove filter that removes WM_TAKE_FOCUS client | |
7829 | messages. | |
7830 | ||
794c3bee AG |
7831 | 2004-06-17 Anthony Green <green@redhat.com> |
7832 | ||
1616280e AG |
7833 | * java/util/zip/ZipFile.java (getInputStream): Return null if |
7834 | entry not found. | |
7835 | ||
794c3bee AG |
7836 | * gnu/gcj/runtime/VMClassLoader.java (init): Add extension |
7837 | directory contents to the class path. | |
7838 | ||
d1238423 AH |
7839 | 2004-06-15 Andrew Haley <aph@redhat.com> |
7840 | ||
7841 | * java/lang/natSystem.cc (getenv0): Don't assume environment | |
7842 | variable is Latin 1 coded. | |
7843 | ||
f1c3e0a6 AJ |
7844 | 2004-06-14 Andreas Jaeger <aj@suse.de> |
7845 | ||
7846 | * configure.in: Support --enable-version-specific-runtime-libs. | |
7847 | * configure: Regenerated. | |
7848 | ||
84b1d821 BM |
7849 | 2004-06-14 Bryce McKinlay <mckinlay@redhat.com> |
7850 | ||
7851 | * java/util/Calendar.java: Change ResourceBundle.getBundle() calls | |
7852 | to pass ClassLoader argument. | |
7853 | * java/util/GregorianCalendar.java: Likewise. | |
7854 | * java/util/Currency.java: Likewise. | |
7855 | * java/text/BreakIterator.java: Likewise. | |
7856 | * java/text/Collator.java: Likewise. | |
7857 | * java/text/DateFormat.java: Likewise. | |
7858 | * java/text/DateFormatSymbols.java: Likewise. | |
7859 | * java/text/DecimalFormatSymbols.java: Likewise. | |
7860 | * java/text/NumberFormat.java: Likewise. | |
7861 | * java/awt/Window.java: Likewise. | |
7862 | ||
df94fa14 AH |
7863 | 2004-06-14 Andrew Haley <aph@redhat.com> |
7864 | ||
7865 | * java/lang/System.java: (getenv0): New method. | |
7866 | (getenv): Add security check. Do the right thing. | |
7867 | * java/lang/natSystem.cc (getenv0): New method. | |
7868 | ||
ff6ea709 MW |
7869 | 2004-06-12 Mark Wielaard <mark@klomp.org> |
7870 | ||
7871 | * javax/swing/RepaintManager.java | |
7872 | (paintDirtyRegions): Use entrySet(), not values(). | |
7873 | ||
d1ee8381 MW |
7874 | 2004-06-10 Mark Wielaard <mark@klomp.org> |
7875 | ||
7876 | * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to | |
7877 | NoSuchMethodError. | |
7878 | ||
b092552d JQ |
7879 | 2004-06-11 Jerry Quinn <jlquinn@optonline.net> |
7880 | ||
7881 | * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae | |
7882 | when we already know the answer. | |
7883 | * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2. | |
7884 | (setStartRule,setEndRule): Don't take abs of day number. | |
7885 | (getOffset): Clarify docs. Add argument checks. | |
7886 | (isBefore): Take abs of day number in DOW_LE_DOM_MODE. | |
7887 | (equals,hasSameRules,toString,readObject): Use startTimeMode and | |
7888 | endTimeMode. | |
7889 | ||
618df745 TT |
7890 | 2004-06-10 Tom Tromey <tromey@redhat.com> |
7891 | ||
7892 | * interpret.cc (run): Handle wide fload. | |
7893 | ||
648b6075 JQ |
7894 | 2004-06-06 Jerry Quinn <jlquinn@optonline.net> |
7895 | ||
7896 | * java/util/zip/ZipEntry.java (setTime): Remove scaling. | |
7897 | ||
9fc3ed51 MK |
7898 | 2004-06-05 Michael Koch <konqueror@gmx.de> |
7899 | ||
7900 | * javax/swing/SwingConstants.java | |
7901 | (NEXT): New constant. | |
7902 | (PREVIOUS): Likewise. | |
7903 | ||
c6dd0441 MK |
7904 | 2004-06-05 Michael Koch <konqueror@gmx.de> |
7905 | ||
7906 | * javax/swing/UIManager.java | |
7907 | (LookAndFeel): Made public. | |
7908 | (LookAndFeel.getName): Likewise. | |
7909 | (LookAndFeel.getClassName): Likewise. | |
7910 | ||
53ef271f MK |
7911 | 2004-06-03 Michael Koch <konqueror@gmx.de> |
7912 | ||
7913 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
7914 | (requestFocus): Revert last changes. | |
7915 | (gtkRequestFocus): Removed. | |
7916 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
7917 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus): | |
7918 | Renamed to ... | |
7919 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus): | |
7920 | Reverted last patch. | |
7921 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | |
7922 | (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup): | |
7923 | Reverted comment change. | |
7924 | ||
26f4ba86 OR |
7925 | 2004-06-02 Olga Rodimina <rodimina@redhat.com> |
7926 | ||
7927 | * javax/swing/JCheckBoxMenuItem.java: | |
7928 | Removed CVS tags. | |
7929 | * javax/swing/JMenu.java: Likewise. | |
7930 | * javax/swing/JMenuBar.java: Likewise. | |
7931 | * javax/swing/JMenuItem.java: Likewise. | |
7932 | * javax/swing/JPopupMenu.java: Likewise. | |
7933 | * javax/swing/JRadioButtonMenuItem.java: Likewise. | |
7934 | * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise. | |
7935 | * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise. | |
7936 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise. | |
7937 | * javax/swing/plaf/basic/BasicMenuUI.java: Likewise. | |
7938 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise. | |
7939 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise. | |
7940 | ||
c05e85e2 MK |
7941 | 2004-06-01 Tom Tromey <tromey@redhat.com> |
7942 | ||
7943 | * java/io/ObjectStreamField.java: Cleaned up imports. | |
7944 | ||
7945 | 2004-06-01 Michael Koch <konqueror@gmx.de> | |
7946 | ||
7947 | * java/io/ObjectStreamField.java: Style and javadoc cleanup. | |
7948 | ||
7949 | 2004-06-01 Mark Wielaard <mark@klomp.org> | |
7950 | ||
7951 | * java/io/Writer.java (Writer(Object)): Fixed API doc. | |
7952 | ||
6ef44cfd MK |
7953 | 2004-06-01 Michael Koch <konqueror@gmx.de> |
7954 | ||
7955 | * java/security/Security.java | |
7956 | (insertProviderAt): Use equals() instead of ==. | |
7957 | (removeProvicer): Likewise. | |
7958 | (getProvider): Likewise. | |
7959 | * java/security/Signature.java | |
7960 | (sign): Don't set state to UNINITIALIZED. | |
7961 | (verify): Likewise. | |
7962 | ||
1900c4c6 MW |
7963 | 2004-06-01 Mark Wielaard <mark@klomp.org> |
7964 | ||
7965 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus): | |
7966 | Implement by calling gtkRequestFocus. | |
7967 | (gtkRequestFocus): New native method. | |
7968 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
7969 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__): | |
7970 | Renamed to ... | |
7971 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus): | |
7972 | New function name. | |
7973 | (filter_expose_event_handler): | |
7974 | Mark static. | |
7975 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | |
7976 | (menu_pos): Mark static. | |
7977 | ||
57807c31 MK |
7978 | 2004-06-01 Michael Koch <konqueror@gmx.de> |
7979 | ||
7980 | * java/text/CollationElementIterator.java, | |
7981 | java/text/CollationKey.java, | |
7982 | java/text/RuleBasedCollator.java: New versions from GNU classpath. | |
7983 | * testsuite/libjava.mauve/xfails: Removed all | |
7984 | java.text.CollationElementIterator tests. | |
7985 | ||
f7dbd56c MK |
7986 | 2004-06-01 Michael Koch <konqueror@gmx.de> |
7987 | ||
7988 | * java/util/zip/InflaterInputStream.java: Merged more with Classpath | |
7989 | version. | |
7990 | * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed | |
7991 | Java 1.5 keyword usage. | |
7992 | ||
44a4b8db OR |
7993 | 2004-05-31 Olga Rodimina <rodimina@redhat.com> |
7994 | ||
7995 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
7996 | (MouseEntered): Do not call getPath() from MenuSelectionManager. | |
7997 | Call getPath() from super class instead. | |
7998 | ||
58128b9d MK |
7999 | 2004-05-31 Michael Koch <konqueror@gmx.de> |
8000 | ||
8001 | * java/io/SequenceInputStream.java: | |
8002 | Rename enum to e because enum is a keyword in Java 1.5. | |
8003 | ||
771b9ca3 MK |
8004 | 2004-05-31 Michael Koch <konqueror@gmx.de> |
8005 | ||
8006 | * gnu/java/rmi/rmic/CompilerProcess.java: | |
8007 | Fixed javadoc to by XHTML compliant. | |
8008 | ||
7a70d70c MW |
8009 | 2004-05-30 Mark Wielaard <mark@klomp.org> |
8010 | ||
8011 | * java/awt/Toolkit.java (loadSystemColors): Implement. | |
8012 | ||
289f9db7 MK |
8013 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
8014 | ||
071917b0 MK |
8015 | * java/lang/System.java: Reordered imports. |
8016 | ||
8017 | 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org> | |
8018 | ||
289f9db7 MK |
8019 | * java/text/DecimalFormat.java |
8020 | (parse): Fixed parsing of decimal strings. Number of maximum | |
8021 | digits to be read should now work. | |
8022 | * java/text/SimpleDateFormat.java | |
8023 | (SimpleDateFormat): Set maximumFractionDigit to 0 for the number | |
8024 | formatter. This fixes DateFormatTest. | |
8025 | ||
1b2545bc MK |
8026 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
8027 | ||
8028 | * java/nio/Buffer.java | |
8029 | (limit): Fixed off by one error. | |
8030 | * java/nio/CharBuffer.java | |
8031 | (wrap): Fixed arguments, added javadocs. | |
8032 | ||
74c2dbf7 MK |
8033 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
8034 | ||
8035 | * gnu/java/beans/BeanInfoEmbryo.java, | |
8036 | java/awt/im/InputContext.java, | |
8037 | javax/swing/tree/DefaultMutableTreeNode.java: | |
8038 | Rename enum to e because enum is a keyword in Java 1.5. | |
8039 | ||
27d14326 MK |
8040 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
8041 | ||
8042 | * gnu/java/math/MPN.java, | |
8043 | java/awt/geom/Arc2D.java: | |
8044 | Fixed javadocs all over. | |
8045 | ||
933592af MK |
8046 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
8047 | ||
8048 | * java/awt/DefaultKeyboardFocusManager.java | |
8049 | (dispatchEvent): Call method to get key event dispatchers. | |
8050 | (dispatchKeyEvent): Call method to get key event post processors. | |
8051 | * javax/swing/JComponent.java | |
8052 | (listenerList): Made protected. | |
8053 | * javax/swing/JOptionPane.java | |
8054 | (message): Don't initialize. | |
8055 | (JOptionPane): Set message text. | |
8056 | * javax/swing/JPopupMenu.java | |
8057 | (show): Fixed typo in argument name. | |
8058 | * javax/swing/RepaintManager.java | |
8059 | (paintDirtyRegions): Use public API of java.util.Map. | |
8060 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java | |
8061 | (positionForMouseEvent): Removed redundant ';'. | |
8062 | (continueDrag): Use method arguments. | |
8063 | ||
5ba95354 RM |
8064 | 2004-05-29 Ranjit Mathew <rmathew@hotmail.com> |
8065 | ||
8066 | * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge | |
8067 | results. | |
8068 | ||
ca60dce2 BM |
8069 | 2004-05-28 Bryce McKinlay <mckinlay@redhat.com> |
8070 | ||
8071 | * gcj/cni.h (JvAllocBytes): New public CNI function. Calls | |
8072 | _Jv_AllocBytes. | |
8073 | * gnu/gcj/RawDataManaged.java: New file. | |
8074 | * java/lang/Thread.java (data): Declare as RawDataManaged. | |
8075 | * java/lang/natThread.cc (init_native): Cast natThread data to | |
8076 | RawDataManaged, not jobject. | |
8077 | * Makefile.am (ordinary_java_source_files): Add RawDataManaged. | |
8078 | * Makefile.in: Rebuilt. | |
8079 | ||
b9f065be JQ |
8080 | 2004-05-27 Jerry Quinn <jlquinn@optonline.net> |
8081 | ||
8082 | * java/util/SimpleTimeZone.java: Reverting my last change until I | |
8083 | can fix it properly. | |
8084 | ||
a4171ce1 MK |
8085 | 2004-05-27 Michael Koch <konqueror@gmx.de> |
8086 | ||
8087 | * javax/swing/JPopupMenu.java | |
8088 | (isVisible): Do not use visible directly. | |
8089 | (setVisible): Likewise. | |
8090 | * javax/swing/JWindow.java | |
8091 | (JWindow): call accessible constructor. | |
8092 | * javax/swing/RepaintManager.java | |
8093 | (paintDirtyRegions): Use public methods to obtain iterator. | |
8094 | ||
c5d2de6b GH |
8095 | 2004-05-25 David Jee <djee@redhat.com> |
8096 | ||
8097 | * java/awt/Container.java | |
8098 | (remove): Set component's parent to null only after we removed the | |
8099 | component from its parent's layout manager. | |
8100 | ||
8101 | 2004-05-25 David Jee <djee@redhat.com> | |
8102 | ||
8103 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
8104 | (GtkComponentPeer): Set bounds regardless of whether awtComponent | |
8105 | is valid. | |
8106 | * gnu/java/awt/peer/gtk/GtkListPeer.java | |
8107 | (getSize): Change native method declaration. | |
8108 | (minimumSize): Pass visible row count into getSize(). | |
8109 | (preferredSize): Likewise. | |
8110 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c | |
8111 | (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's | |
8112 | natural size. Use visible row count to determine the final height | |
8113 | value to return. | |
8114 | ||
8115 | 2004-05-21 Graydon Hoare <graydon@redhat.com> | |
8116 | ||
8117 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java | |
8118 | (setClip): Minor correction to order of operations. | |
8119 | ||
8120 | * javax/swing/JScrollPane.java: Extend sketchy implementation. | |
8121 | * javax/swing/ScrollPaneLayout.java: Likewise. | |
8122 | * javax/swing/JViewPort.java: Likewise. | |
8123 | * javax/swing/ViewportLayout.java: Likewise. | |
8124 | ||
8125 | * javax/swing/JComponent.java: Rewrite. | |
8126 | * javax/swing/RepaintManager.java: Likewise. | |
8127 | ||
8128 | * javax/swing/JLayeredPane.java: Change validate() to revalidate(). | |
8129 | * javax/swing/JList.java | |
8130 | (setSelectedIndices): | |
8131 | (getSelectedIndices): | |
8132 | (getSelectedValues): New functions. | |
8133 | (getPreferredScrollableViewportSize): Return preferred size. | |
8134 | (getScrollableUnitIncrement): | |
8135 | (getScrollableBlockIncrement): Initial implementations. | |
8136 | * javax/swing/JRootPane.java: Clean up slightly. | |
8137 | (getUI): | |
8138 | (setUI): | |
8139 | (updateUI): | |
8140 | (getUIClassID): | |
8141 | (isValidateRoot): Add overrides from JComponent. | |
8142 | * javax/swing/JScrollBar.java: Set default orientation to VERTICAL. | |
8143 | * javax/swing/UIManager.java (getDimension): Return the dimension. | |
8144 | ||
8145 | * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque. | |
8146 | * javax/swing/plaf/basic/BasicLabelUI.java: Likewise. | |
8147 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise. | |
8148 | * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise. | |
8149 | * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise. | |
8150 | * javax/swing/plaf/basic/BasicSliderUI.java: Likewise. | |
8151 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise. | |
8152 | * javax/swing/plaf/basic/BasicRootPaneUI.java: | |
8153 | Likewise, and set background. | |
8154 | * javax/swing/plaf/basic/BasicListUI.java: | |
8155 | Likewise, and improve a bit. | |
8156 | * javax/swing/plaf/basic/BasicScrollBarUI.java: | |
8157 | Likewise, and adjust calculations. | |
8158 | * javax/swing/plaf/basic/BasicViewportUI.java: | |
8159 | Likewise, and improve a bit. | |
8160 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
8161 | (Button.margin): Shrink. | |
8162 | ||
8163 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: | |
8164 | Hack to set horizontal always, workaround pango. | |
8165 | ||
8166 | * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API. | |
8167 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: | |
8168 | Synchronize more often, check cairo status after ops, | |
8169 | handle changes to cairo pattern API, check for disposal. | |
8170 | ||
8171 | 2004-05-21 Olga Rodimina <rodimina@redhat.com> | |
8172 | ||
8173 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
8174 | (BasicMenuItemUI): Create propertyChangeListener. | |
8175 | (getPath):Implemented. | |
8176 | (installListeners): Add propertyChangeListener to menuItem. | |
8177 | (uninstallListeners): Remove propertyChangeListener from menuItem. | |
8178 | (update): Implemented. | |
8179 | * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler: | |
8180 | (mouseEntered): Take insets of popup menu into account when | |
8181 | calculating position of popup menu. | |
8182 | ||
8183 | 2004-05-18 Olga Rodimina <rodimina@redhat.com> | |
8184 | ||
8185 | * Makefile.am: Added new file. | |
8186 | * Makefile.in: Regenerate. | |
8187 | * javax/swing/JMenuBar.java: | |
8188 | Started implementation. | |
8189 | * javax/swing/JPopupMenu.java: | |
8190 | (setVisible): Fixed location of lightweight/mediumweight | |
8191 | popup menu. | |
8192 | (show): Fixed location of PopupMenu. | |
8193 | * javax/swing/plaf/basic/BasicMenuBarUI.java: | |
8194 | New file. UI Delegate for JMenuBar. | |
8195 | * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler: | |
8196 | (mouseEntered): Corrected position of the submenu. | |
8197 | ||
8198 | 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com> | |
8199 | ||
8200 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls | |
8201 | to _gtk_accel_group_attach. | |
8202 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c: | |
8203 | Likewise. | |
8204 | ||
8205 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont | |
8206 | package access. Don't override setFont. | |
8207 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise. | |
8208 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give | |
8209 | gtkWidgetRequestFocus package access. | |
8210 | * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override | |
8211 | setFont. | |
8212 | * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont. | |
8213 | Give gtkWidgetRequestFocus package access. | |
8214 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give | |
8215 | gtkWidgetRequestFocus package access. Don't override setFont. | |
8216 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override | |
8217 | setFont. | |
8218 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c | |
8219 | (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical | |
8220 | region. | |
8221 | (gtkSetFont): Likewise. | |
8222 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont): | |
8223 | Implement. | |
8224 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
8225 | (gtkSetFont): Whitespace fix. | |
8226 | ||
8227 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
8228 | (gtkWidgetSetUsize): Remove method. | |
8229 | ||
8230 | 2004-05-18 David Jee <djee@redhat.com> | |
8231 | ||
8232 | * java/awt/image/MemoryImageSource.java | |
8233 | (newPixels(int,int,int,int,boolean)): Set only the specified | |
8234 | rectangle of pixels. | |
8235 | (newPixels(byte[],ColorModel,int,int)): Implement. | |
8236 | (newPixels(int[],ColorModel,int,int)): Implement. | |
8237 | ||
8238 | 2004-05-18 Olga Rodimina <rodimina@redhat.com> | |
8239 | ||
8240 | * Makefile.am: Added new file. | |
8241 | * Makefile.in: Regenerate. | |
8242 | * javax/swing/JMenu.java: Started | |
8243 | implementation. | |
8244 | * javax/swing/JPopupMenu.java: | |
8245 | (insert): If specified index is -1, then | |
8246 | add component at the end. | |
8247 | (isPopupTrigger): Reimplemented. | |
8248 | (JPopupMenu.LightWeightPopup): setBounds | |
8249 | of the lightWeightPopup before adding it | |
8250 | to the layeredPane. | |
8251 | (javax/swing/plaf/basic/BasicIconFactory.java): | |
8252 | (getMenuArrowIcon): Implemented. | |
8253 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
8254 | (getPreferredSize): Add size of the arrow icon | |
8255 | if this menu item is instance of JMenu. | |
8256 | (paintMenuItem): Paint arrow icon if this | |
8257 | menu item is a submenu. | |
8258 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
8259 | New File. UI Delegate for JMenu. | |
8260 | ||
8261 | 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com> | |
8262 | ||
8263 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): | |
8264 | Post KEY_TYPED events. | |
8265 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
8266 | (generates_key_typed_event): Remove function. | |
8267 | ||
8268 | 2004-05-17 Olga Rodimina <rodimina@redhat.com> | |
8269 | ||
8270 | * javax/swing/JRootPane.java | |
8271 | (JRootPane.RootLayout): Reimplemented to | |
8272 | set bounds of contentPane and menuBar. | |
8273 | (setJMenuBar): Add menu bar to the layered pane. | |
8274 | (createLayeredPane): Set layout of layeredPane | |
8275 | to null. | |
8276 | * javax/swing/JLayeredPane.java: | |
8277 | (addImpl): Calculate index of the component in the | |
8278 | layeredPane according to the specified position within | |
8279 | the layer. | |
8280 | ||
8281 | 2004-05-17 David Jee <djee@redhat.com> | |
8282 | ||
8283 | * gnu/java/awt/peer/gtk/GtkImagePainter.java | |
8284 | (setPixels): Change color model to the default model after | |
8285 | converting pixels. | |
8286 | * java/awt/image/MemoryImageSource.java | |
8287 | (newPixels): Set only the specified rectangle of pixels. | |
8288 | ||
8289 | 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com> | |
8290 | ||
8291 | * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet | |
8292 | -l-java-beans -l-javax-accessibility -l-javax-swing. | |
8293 | ||
8294 | * java/awt/AWTEvent.java (toString): Print source's name rather | |
8295 | than the source itself. | |
8296 | ||
8297 | 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com> | |
8298 | ||
8299 | * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make | |
8300 | native. | |
8301 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c | |
8302 | (gdk_color_to_java_color): New function. | |
8303 | * jni/gtk-peer/gtkpeer.h: Add SystemColor defines. | |
8304 | ||
8305 | 2004-05-12 David Jee <djee@redhat.com> | |
8306 | ||
8307 | * java/awt/image/RGBImageFilter.java: | |
8308 | Initialize origmodel as null. | |
8309 | (makeColor): Fix pixel component order. | |
8310 | (filterRGBPixels): Fix pixel iteration. | |
8311 | (setPixels): Add extra checks for index color model. Convert pixels | |
8312 | to default color model if necessary. | |
8313 | (convertColorModelToDefault): New override method for byte pixels. | |
8314 | (convertColorModelToDefault): For int pixels, fix pixel iteration. | |
8315 | (makeColorbyDefaultCM): New override method for byte pixels. | |
8316 | (makeColorbyDefaultCM): For int pixel, add color model as argument. | |
8317 | (makeColor): Fix pixel component order. | |
8318 | ||
8319 | 2004-05-11 Kim Ho <kho@redhat.com> | |
8320 | ||
8321 | * javax/swing/Box.java: | |
8322 | Comment out more parts of Box.Filler. | |
8323 | ||
8324 | 2004-05-11 Kim Ho <kho@redhat.com> | |
8325 | ||
8326 | * javax/swing/Box.java: | |
8327 | Remove reference to AccessibleAWTComponent so | |
8328 | it compiles again. | |
8329 | ||
8330 | 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com> | |
8331 | ||
8332 | * gnu/java/awt/peer/gtk/GtkListPeer.java, | |
8333 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update | |
8334 | implementation of list peer to use GtkTreeView instead of | |
8335 | deprecated GtkCList. | |
8336 | ||
8337 | 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com> | |
8338 | ||
8339 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
8340 | (gtkWidgetDispatchKeyEvent): Remove keyChar parameter. | |
8341 | (handleEvent): Remove keyChar argument to | |
8342 | gtkWidgetDispatchKeyEvent calls. | |
8343 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix | |
8344 | compiler warnings. | |
8345 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise. | |
8346 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise. | |
8347 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c: | |
8348 | Likewise. | |
8349 | ||
8350 | 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com> | |
8351 | ||
8352 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
8353 | (gtkWidgetRequestFocus): Mark protected. | |
8354 | (GtkComponentPeer): Only set the peer's bounds if its component | |
8355 | is valid. | |
8356 | * java/awt/Component.java (static): Set the default keyboard | |
8357 | focus manager. | |
8358 | (requestFocus(), requestFocus(boolean), requestFocusInWindow(), | |
8359 | requestFocusInWindow(temporary)): Don't request focus if the | |
8360 | component is not showing. Get tree lock before traversing | |
8361 | component hierarchy. | |
8362 | * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent): | |
8363 | Only set the global focus owner if it is not a Window. | |
8364 | (processKeyEvent): Consume keystrokes associated with the focus | |
8365 | traversal keystroke. | |
8366 | (focusPreviousComponent, focusNextComponent, upFocusCycle, | |
8367 | downFocusCycle): Call requestFocusInWindow instead of | |
8368 | requestFocus. | |
8369 | * java/awt/EventDispatchThread.java (run): Move setting of | |
8370 | default keyboard focus manager to Component.java. | |
8371 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
8372 | (awt_keycode_to_keysym): New function. | |
8373 | (gtkWidgetDispatchKeyEvent): Finish implementation. | |
8374 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
8375 | (pre_event_handler): Add FIXME comment. | |
8376 | ||
8377 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, | |
8378 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
8379 | (gtkWidgetRequestFocus): New method. | |
8380 | * java/awt/TextArea.java (TextArea): Set focus traversal keys to | |
8381 | disable Tab and Shift-Tab keystrokes. | |
8382 | (addNotify, appendText, insertText, replaceText): Simplify peer | |
8383 | retrieval code. | |
8384 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c | |
8385 | (connectSignals): Remove connections to "commit" signals. | |
8386 | Remove C++-style comments. | |
8387 | ||
8388 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java, | |
8389 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c | |
8390 | (handleEvent): Activate GTK button when the space bar key is | |
8391 | pressed. | |
8392 | (gtkActivate): New method. | |
8393 | ||
8394 | 2004-05-06 David Jee <djee@redhat.com> | |
8395 | ||
8396 | * java/awt/image/CropImageFilter.java | |
8397 | (setPixels): Implement for byte array pixels. | |
8398 | * java/awt/image/ReplicateScaleFilter.java | |
8399 | (setPixels): Implement for byte array pixels. | |
8400 | (replicatePixels): Overload for byte array pixels. | |
8401 | ||
8402 | 2004-05-06 Kim Ho <kho@redhat.com> | |
8403 | ||
8404 | * javax/swing/Box.java: | |
8405 | (getAccessibleContext): Return an instance of the | |
8406 | correct class. | |
8407 | ||
8408 | 2004-05-05 David Jee <djee@redhat.com> | |
8409 | ||
8410 | * gnu/java/awt/peer/gtk/GdkGraphics.java | |
8411 | (drawImage): When component is null, use SystemColor.window as | |
8412 | the default bgcolor. | |
8413 | * gnu/java/awt/peer/gtk/GtkImage.java | |
8414 | (setPixels): We can avoid iterating through the pixel rows only | |
8415 | when height is 1. | |
8416 | * java/awt/Image.java | |
8417 | (getScaledInstance): Partially implement. | |
8418 | * java/awt/image/CropImageFilter.java | |
8419 | (setProperties): Fix "filter" property. | |
8420 | (setPixels): Implement. | |
8421 | * java/awt/image/ReplicateScaleFilter.java | |
8422 | (setDimensions): Use scaled dimensions. | |
8423 | (setPixels): Implement. | |
8424 | (replicatePixels): New method. | |
8425 | ||
8426 | 2004-05-05 David Jee <djee@redhat.com> | |
8427 | ||
8428 | * gnu/java/awt/peer/gtk/GtkImagePainter.java | |
8429 | (convertPixels): If either pixels or model is null, return null. | |
8430 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c | |
8431 | (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels | |
8432 | is null, do nothing and return. | |
8433 | ||
8434 | 2004-05-03 Kim Ho <kho@redhat.com> | |
8435 | ||
8436 | * gnu/java/awt/peer/gtk/GtkDialogPeer.java: | |
8437 | (getGraphics): Like GtkFramePeer, the Graphics | |
8438 | object needs to be translate to account for | |
8439 | window decorations. | |
8440 | (postMouseEvent): New method. Account for | |
8441 | translation. | |
8442 | (postExposeEvent): ditto. | |
8443 | * javax/swing/Box.java: Stubbed. | |
8444 | * javax/swing/JDialog.java: Ran through jalopy | |
8445 | to fix indentation. | |
8446 | (JDialog): Call SwingUtilities' getOwnerFrame | |
8447 | for null owners. | |
8448 | (setLayout): Check isRootPaneCheckingEnabled | |
8449 | * javax/swing/JOptionPane.java: Re-implemented. | |
8450 | * javax/swing/SwingUtilities.java: | |
8451 | (getOwnerFrame): Static method to grab a default | |
8452 | owner frame for Dialogs that don't specify owners. | |
8453 | * javax/swing/event/SwingPropertyChangeSupport.java: | |
8454 | (firePropertyChange): Fix early exit condition. | |
8455 | * javax/swing/plaf/basic/BasicLabelUI.java: | |
8456 | (paint): Avoid painting text if it is null | |
8457 | or empty. | |
8458 | * javax/swing/plaf/basic/BasicOptionPaneUI.java: | |
8459 | Implement. | |
8460 | ||
8461 | 2004-05-03 Olga Rodimina <rodimina@redhat.com> | |
8462 | ||
8463 | * Makefile.am: Added new file. | |
8464 | * Makefile.in: Regenerate. | |
8465 | * javax/swing/JPopupMenu.java: | |
8466 | Started implementation. | |
8467 | * javax/swing/JWindow.java | |
8468 | (JWindow): call super() if parent for window | |
8469 | is not specified. | |
8470 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
8471 | New File. UI Delegate for JPopupMenu. | |
8472 | ||
8473 | 2004-04-30 Olga Rodimina <rodimina@redhat.com> | |
8474 | ||
8475 | * javax/swing/JApplet.java: Indicated that JApplet | |
8476 | implements RootPaneContainer and made method of this | |
8477 | interface public. | |
8478 | * javax/swing/JFrame.java: Ditto. | |
8479 | * javax/swing/JWindow.java: Ditto. | |
8480 | ||
8481 | 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com> | |
8482 | ||
8483 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
8484 | (nativeSetBounds): Call gdk_window_move in addition to | |
8485 | gtk_window_move. | |
8486 | ||
8487 | * java/applet/Applet.java (preferredSize): Call parent's | |
8488 | preferredSize if the applet stub is null. | |
8489 | (minimumSize): Likewise for parent's minimumSize. | |
8490 | ||
8491 | 2004-04-27 Olga Rodimina <rodimina@redhat.com> | |
8492 | ||
8493 | * javax/swing/JMenuItem.java | |
8494 | (createActionPropertyChangeListener): Implemented. | |
8495 | (processMouseEvent): Ditto. | |
8496 | (fireMenuDragMouseEntered): Ditto. | |
8497 | (fireMenuDragMouseExited): Ditto. | |
8498 | (fireMenuDragMouseDragged): Ditto. | |
8499 | (fireMenuDragMouseReleased): Ditto. | |
8500 | (menuSelectionChanged): Ditto. | |
8501 | (getSubElements): Ditto. | |
8502 | (getComponent): Ditto. | |
8503 | (addMenuDragMouseListener): Ditto. | |
8504 | (removeMenuDragMouseListener):Ditto. | |
8505 | (addMenuKeyListener): Ditto. | |
8506 | (removeMenuKeyListener): Ditto. | |
8507 | * javax/swing/plaf/basic/BasicMenuItemUI.java | |
8508 | (doClick): Imlemented. | |
8509 | * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler: | |
8510 | Don't handle mouse events here. Pass them to | |
8511 | MenuSelectionManager. | |
8512 | ||
8513 | 2004-04-26 Olga Rodimina <rodimina@redhat.com> | |
8514 | Used correct version of jalopy configuration | |
8515 | file to fix style in the files below. | |
8516 | ||
8517 | 2004-04-26 Olga Rodimina <rodimina@redhat.com> | |
8518 | ||
8519 | * javax/swing/JCheckBoxMenuItem.java: | |
8520 | Fixed style and removed unnecessary comments. | |
8521 | * javax/swing/JMenuItem.java: Ditto. | |
8522 | * javax/swing/JRadioButtonMenuItem.java: Ditto. | |
8523 | * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto. | |
8524 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto. | |
8525 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto. | |
8526 | ||
8527 | 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com> | |
8528 | ||
8529 | * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to | |
8530 | C-style. | |
8531 | ||
8532 | * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment. | |
8533 | ||
8534 | * java/awt/ContainerOrderFocusTraversalPolicy.java | |
8535 | (getComponentAfter): Start from current component and work up | |
8536 | the component hierarchy until an acceptable component is found. | |
8537 | Synchronize on tree lock. | |
8538 | (getComponentBefore): Likewise. | |
8539 | ||
8540 | 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com> | |
8541 | ||
8542 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove | |
8543 | focus-related debugging messages. | |
8544 | * java/awt/DefaultKeyboardFocusManager.java: Likewise. | |
8545 | * java/awt/EventDispatchThread.java: Likewise. | |
8546 | * java/awt/KeyboardFocusManager.java: Likewise. | |
8547 | * java/awt/Window.java: Likewise. | |
8548 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise. | |
8549 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise. | |
8550 | ||
8551 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change | |
8552 | new C++-style comments to C-style comments. | |
8553 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise. | |
8554 | ||
8555 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
8556 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
8557 | (handleEvent): Dispatch key press and key release events to | |
8558 | backing widget. | |
8559 | (requestFocus): Post a FOCUS_GAINED event to the event queue. | |
8560 | (gtkWidgetRequestFocus): New method. | |
8561 | (gtkWidgetDispatchKeyEvent): Likewise. | |
8562 | * java/awt/Component.java (requestFocus, requestFocus(boolean), | |
8563 | requestFocusInWindow, requestFocusInWindow(boolean), | |
8564 | getFocusCycleRootAncestor, nextFocus, transferFocus, | |
8565 | transferFocusBackward, transferFocusUpCycle, hasFocus, | |
8566 | isFocusOwner): Implement and document focus-handling methods. | |
8567 | (setFocusTraversalKeys): Inherit focus traversal keys when | |
8568 | keystrokes argument is null. Fix focus-handling documentation | |
8569 | throughout class. | |
8570 | * java/awt/Container.java (setFocusTraversalKeys, | |
8571 | getFocusTraversalKeys, areFocusTraversalKeysSet, | |
8572 | isFocusCycleRoot, setFocusTraversalPolicy, | |
8573 | getFocusTraversalPolicy, isFocusTraversalPolicySet, | |
8574 | setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle): | |
8575 | Implement and document focus-handling methods. | |
8576 | (transferFocusBackward): Remove method. | |
8577 | (readObject, writeObject): Implement and document serialization | |
8578 | methods. | |
8579 | * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement | |
8580 | and document. | |
8581 | * java/awt/DefaultFocusTraversalPolicy.java: Implement and | |
8582 | document. | |
8583 | * java/awt/DefaultKeyboardFocusManager.java: Implement and | |
8584 | partially document. | |
8585 | * java/awt/EventDispatchThread.java (run): Set default keyboard | |
8586 | focus manager. Attempt to dispatch each event to the keyboard | |
8587 | focus manager before normal dispatch. | |
8588 | * java/awt/KeyboardFocusManager.java: Implement and partially | |
8589 | document. | |
8590 | * java/awt/Window.java (Window): Set focusCycleRoot to true. | |
8591 | (show): Focus initial component when window is shown for the | |
8592 | first time. | |
8593 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
8594 | (pre_event_handler): Replace complex key press and key release | |
8595 | logic with simple callbacks into GtkComponentPeer. | |
8596 | * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal. | |
8597 | ||
8598 | 2004-04-21 Olga Rodimina <rodimina@redhat.com> | |
8599 | ||
8600 | * javax/swing/MenuSelectionManager.java | |
8601 | (componentForPoint): Added new method. | |
8602 | (defaultManager): New Method. Implemented. | |
8603 | (getSelectedPath): Ditto. | |
8604 | (isComponentPartOfCurrentMenu): Ditto. | |
8605 | (processKeyEvent): Added new method. | |
8606 | (processMouseEvent): New Method. Implemented. | |
8607 | (setSelectedPath): Ditto. | |
8608 | (getPath): Ditto. | |
8609 | ||
8610 | 2004-04-19 Kim Ho <kho@redhat.com> | |
8611 | ||
8612 | * java/awt/Container.java: | |
8613 | (remove): Set the component's parent to null. | |
8614 | (getComponentAt): Implement. | |
8615 | * javax/swing/JComponent.java: | |
8616 | (JComponent): Initialize defaultLocale | |
8617 | (getDefaultLocale): Implement. | |
8618 | (setDefaultLocale): ditto. | |
8619 | * javax/swing/JSlider.java: | |
8620 | (JSlider): Fix calculation of value. | |
8621 | * javax/swing/JSplitPane.java: Implement. | |
8622 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
8623 | Change SplitPane's default divider size. | |
8624 | * javax/swing/plaf/basic/BasicScrollBarUI.java: | |
8625 | (paint): Remove unused code. | |
8626 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java: | |
8627 | Added comments and ran through jalopy. | |
8628 | (setBasicSplitPaneUI): Get reference to hidden divider | |
8629 | and set up one touch buttons if necessary. | |
8630 | (setBorder): Fire propertyChangeEvent only if | |
8631 | borders are different. | |
8632 | (getPreferredSize): Defer to layout manager. | |
8633 | (propertyChange): Implement. | |
8634 | (oneTouchExpandableChanged): ditto. | |
8635 | (createLeftOneTouchButton): Use BasicArrowButton. | |
8636 | (createRightOneTouchButton): ditto. | |
8637 | (moveDividerTo): New method. Moves the divider | |
8638 | to a set location based on the last divider location. | |
8639 | (BasicSplitPaneDivider::MouseHandler): Implement. | |
8640 | (BasicSplitPaneDivider::OneTouchButton): Removed. | |
8641 | (BasicSplitPaneDivider::DragController): Implement. | |
8642 | (BasicSplitPaneDivider::VerticalDragController): | |
8643 | ditto. | |
8644 | (BasicSplitPaneDivider::DividerLayout): ditto. | |
8645 | * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement. | |
8646 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: | |
8647 | (calculateLayoutInfo): Don't show component if it's | |
8648 | null. | |
8649 | (paintTab): Fix title paint logic. | |
8650 | ||
2140214f JQ |
8651 | 2004-05-26 Jerry Quinn <jlquinn@optonline.net> |
8652 | ||
8653 | PR libgcj/8321 | |
8654 | * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2. | |
8655 | (setStartRule,setEndRule): Don't take abs of day number. | |
8656 | (getOffset): Clarify docs. Add argument checks. | |
8657 | (isBefore): Take abs of day number in DOW_LE_DOM_MODE. | |
8658 | (equals,hasSameRules,toString,readObject): Use startTimeMode and | |
8659 | endTimeMode. | |
8660 | * testsuite/libjava.mauve/xfails | |
8661 | (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22. | |
8662 | ||
17abdabc BM |
8663 | 2004-05-21 Bryce McKinlay <mckinlay@redhat.com> |
8664 | ||
8665 | Layout interfaces during preparation, not initialization. | |
8666 | * java/lang/natClass.cc (initializeClass): Move | |
8667 | _Jv_LayoutInterfaceMethods call... | |
8668 | * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here. | |
8669 | ||
0fa13661 AG |
8670 | 2004-05-19 Anthony Green <green@localhost.localdomain> |
8671 | ||
8672 | * Makefile.am (awt_java_source_files): Remove javax.rmi and | |
8673 | gnu.javax.rmi code. | |
8674 | * Makefile.in: Rebuilt. | |
8675 | * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java, | |
8676 | javax/rmi/UtilDelegate.java, javax/rmi/Stub.java, | |
8677 | javax/rmi/Util.java, javax/rmi/ObjectImpl.java, | |
8678 | javax/rmi/SystemException.java, javax/rmi/ValueHandler.java, | |
8679 | javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java, | |
8680 | gnu/javax/rmi/CORBA/DelegateFactory.java, | |
8681 | gnu/javax/rmi/CORBA/GetDelegateInstanceException.java, | |
8682 | gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, | |
8683 | gnu/javax/rmi/CORBA/StubDelegateImpl.java, | |
8684 | gnu/javax/rmi/CORBA/UtilDelegateImpl.java, | |
8685 | gnu/javax/rmi/CORBA/ValueHandlerImpl.java, | |
8686 | gnu/javax/rmi/PortableServer.java: Remove files. | |
8687 | ||
0f22079e AG |
8688 | 2004-05-19 Anthony Green <green@redhat.com> |
8689 | ||
8690 | * Makefile.am: Define JAVA_EXT_DIRS. | |
8691 | * Makefile.in: Rebuilt. | |
8692 | * java/lang/natRuntime.cc (insertSystemProperties): Set | |
8693 | java.ext.dirs property. | |
8694 | ||
9152dcf4 MW |
8695 | 2004-05-16 Mark Wielaard <mark@klomp.org> |
8696 | ||
8697 | * java/io/Writer.java (Writer(Object)): Check for null lock object. | |
8698 | ||
fb0e7ec0 MW |
8699 | 2004-05-15 Mark Wielaard <mark@klomp.org> |
8700 | ||
8701 | * doc/cni.sgml: Removed, merged into gcj.texi. | |
8702 | ||
85ff6f62 MW |
8703 | 2004-05-15 Mark Wielaard <mark@klomp.org> |
8704 | ||
8705 | * Makefile.am (ordinary_java_source_files): Add new javax.print | |
8706 | classes. | |
8707 | * Makefile.in: Regenerated. | |
8708 | ||
8709 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
8710 | ||
8711 | * javax/print/attribute/standard/DateTimeAtCompleted.java, | |
8712 | javax/print/attribute/standard/DateTimeAtCreation.java, | |
8713 | javax/print/attribute/standard/DateTimeAtProcessing.java, | |
8714 | javax/print/attribute/standard/DocumentName.java, | |
8715 | javax/print/attribute/standard/JobHoldUntil.java, | |
8716 | javax/print/attribute/standard/JobImpressionsCompleted.java, | |
8717 | javax/print/attribute/standard/JobMessageFromOperator.java, | |
8718 | javax/print/attribute/standard/JobName.java, | |
8719 | javax/print/attribute/standard/JobOriginatingUserName.java, | |
8720 | javax/print/attribute/standard/JobPriority.java, | |
8721 | javax/print/attribute/standard/JobPrioritySupported.java, | |
8722 | javax/print/attribute/standard/NumberOfInterveningJobs.java, | |
8723 | javax/print/attribute/standard/OutputDeviceAssigned.java, | |
8724 | javax/print/attribute/standard/PrinterInfo.java, | |
8725 | javax/print/attribute/standard/PrinterLocation.java, | |
8726 | javax/print/attribute/standard/PrinterMakeAndModel.java, | |
8727 | javax/print/attribute/standard/PrinterMessageFromOperator.java, | |
8728 | javax/print/attribute/standard/PrinterName.java, | |
8729 | javax/print/attribute/standard/QueuedJobCount.java, | |
8730 | javax/print/attribute/standard/RequestingUserName.java: | |
8731 | Fixed javadocs all over. | |
8732 | ||
8733 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
8734 | ||
8735 | * javax/print/DocFlavor.java, | |
8736 | javax/print/attribute/standard/ColorSupported.java, | |
8737 | javax/print/attribute/standard/Compression.java, | |
8738 | javax/print/attribute/standard/CopiesSupported.java, | |
8739 | javax/print/attribute/standard/Fidelity.java, | |
8740 | javax/print/attribute/standard/Finishings.java, | |
8741 | javax/print/attribute/standard/JobImpressionsSupported.java, | |
8742 | javax/print/attribute/standard/JobKOctetsSupported.java, | |
8743 | javax/print/attribute/standard/JobMediaSheetsSupported.java, | |
8744 | javax/print/attribute/standard/JobSheets.java, | |
8745 | javax/print/attribute/standard/JobState.java, | |
8746 | javax/print/attribute/standard/JobStateReason.java, | |
8747 | javax/print/attribute/standard/JobStateReasons.java, | |
8748 | javax/print/attribute/standard/Media.java, | |
8749 | javax/print/attribute/standard/MediaSizeName.java, | |
8750 | javax/print/attribute/standard/MultipleDocumentHandling.java, | |
8751 | javax/print/attribute/standard/NumberUpSupported.java, | |
8752 | javax/print/attribute/standard/OrientationRequested.java, | |
8753 | javax/print/attribute/standard/PDLOverrideSupported.java, | |
8754 | javax/print/attribute/standard/PageRanges.java, | |
8755 | javax/print/attribute/standard/PresentationDirection.java, | |
8756 | javax/print/attribute/standard/PrintQuality.java, | |
8757 | javax/print/attribute/standard/PrinterIsAcceptingJobs.java, | |
8758 | javax/print/attribute/standard/PrinterMoreInfo.java, | |
8759 | javax/print/attribute/standard/PrinterMoreInfoManufacturer.java, | |
8760 | javax/print/attribute/standard/PrinterResolution.java, | |
8761 | javax/print/attribute/standard/PrinterState.java, | |
8762 | javax/print/attribute/standard/PrinterStateReason.java, | |
8763 | javax/print/attribute/standard/PrinterStateReasons.java, | |
8764 | javax/print/attribute/standard/PrinterURI.java, | |
8765 | javax/print/attribute/standard/ReferenceUriSchemesSupported.java, | |
8766 | javax/print/attribute/standard/Severity.java, | |
8767 | javax/print/attribute/standard/SheetCollate.java, | |
8768 | javax/print/attribute/standard/Sides.java: | |
8769 | Added serialVersionUID and removed final keyword where it doenst | |
8770 | belong. | |
8771 | ||
8772 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
8773 | ||
8774 | * javax/print/PrintServiceLookup.java: New file. | |
8775 | ||
8776 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
8777 | ||
8778 | * javax/print/DocFlavor.java: | |
8779 | Implemented all flavor classes. | |
8780 | ||
8781 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
8782 | ||
8783 | * javax/print/attribute/standard/ColorSupported.java, | |
8784 | javax/print/attribute/standard/Compression.java, | |
8785 | javax/print/attribute/standard/CopiesSupported.java, | |
8786 | javax/print/attribute/standard/Fidelity.java, | |
8787 | javax/print/attribute/standard/Finishings.java, | |
8788 | javax/print/attribute/standard/JobImpressionsSupported.java, | |
8789 | javax/print/attribute/standard/JobKOctetsSupported.java, | |
8790 | javax/print/attribute/standard/JobMediaSheetsSupported.java, | |
8791 | javax/print/attribute/standard/JobSheets.java, | |
8792 | javax/print/attribute/standard/JobState.java, | |
8793 | javax/print/attribute/standard/JobStateReason.java, | |
8794 | javax/print/attribute/standard/JobStateReasons.java, | |
8795 | javax/print/attribute/standard/Media.java, | |
8796 | javax/print/attribute/standard/MediaSizeName.java, | |
8797 | javax/print/attribute/standard/MultipleDocumentHandling.java, | |
8798 | javax/print/attribute/standard/NumberUpSupported.java, | |
8799 | javax/print/attribute/standard/OrientationRequested.java, | |
8800 | javax/print/attribute/standard/PDLOverrideSupported.java, | |
8801 | javax/print/attribute/standard/PageRanges.java, | |
8802 | javax/print/attribute/standard/PresentationDirection.java, | |
8803 | javax/print/attribute/standard/PrintQuality.java, | |
8804 | javax/print/attribute/standard/PrinterIsAcceptingJobs.java, | |
8805 | javax/print/attribute/standard/PrinterMoreInfo.java, | |
8806 | javax/print/attribute/standard/PrinterMoreInfoManufacturer.java, | |
8807 | javax/print/attribute/standard/PrinterResolution.java, | |
8808 | javax/print/attribute/standard/PrinterState.java, | |
8809 | javax/print/attribute/standard/PrinterStateReason.java, | |
8810 | javax/print/attribute/standard/PrinterStateReasons.java, | |
8811 | javax/print/attribute/standard/PrinterURI.java, | |
8812 | javax/print/attribute/standard/ReferenceUriSchemesSupported.java, | |
8813 | javax/print/attribute/standard/Severity.java, | |
8814 | javax/print/attribute/standard/SheetCollate.java, | |
8815 | javax/print/attribute/standard/Sides.java: New files. | |
8816 | ||
8817 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
8818 | ||
8819 | * javax/print/Doc.java | |
8820 | (getPrintData): Throws IOException. | |
8821 | (getReaderForText): Likewise. | |
8822 | (getStreamForBytes): Likewise. | |
8823 | * javax/print/DocFlavor.java: | |
8824 | Fixed filename in copyright. | |
8825 | (serialVersionUID): New field. | |
8826 | * javax/print/ServiceUIFactory.java: | |
8827 | Made all constants final. | |
8828 | * javax/print/AttributeException.java | |
8829 | javax/print/MultiDoc.java | |
8830 | javax/print/MultiDocPrintJob.java | |
8831 | javax/print/MultiDocPrintService.java | |
8832 | javax/print/StreamPrintService.java | |
8833 | javax/print/URIException.java: New files. | |
8834 | * javax/print/Makefile.am | |
8835 | (EXTRA_DIST): Added all new files. | |
8836 | ||
8837 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
8838 | ||
8839 | * javax/print/attribute/standard/Copies.java, | |
8840 | javax/print/attribute/standard/DateTimeAtCompleted.java, | |
8841 | javax/print/attribute/standard/DateTimeAtCreation.java, | |
8842 | javax/print/attribute/standard/DateTimeAtProcessing.java, | |
8843 | javax/print/attribute/standard/DocumentName.java, | |
8844 | javax/print/attribute/standard/JobHoldUntil.java, | |
8845 | javax/print/attribute/standard/JobImpressions.java, | |
8846 | javax/print/attribute/standard/JobImpressionsCompleted.java, | |
8847 | javax/print/attribute/standard/JobKOctets.java, | |
8848 | javax/print/attribute/standard/JobKOctetsProcessed.java, | |
8849 | javax/print/attribute/standard/JobMediaSheets.java, | |
8850 | javax/print/attribute/standard/JobMediaSheetsCompleted.java, | |
8851 | javax/print/attribute/standard/JobMessageFromOperator.java, | |
8852 | javax/print/attribute/standard/JobName.java, | |
8853 | javax/print/attribute/standard/JobOriginatingUserName.java, | |
8854 | javax/print/attribute/standard/JobPriority.java, | |
8855 | javax/print/attribute/standard/JobPrioritySupported.java, | |
8856 | javax/print/attribute/standard/NumberOfDocuments.java, | |
8857 | javax/print/attribute/standard/NumberOfInterveningJobs.java, | |
8858 | javax/print/attribute/standard/NumberUp.java, | |
8859 | javax/print/attribute/standard/OutputDeviceAssigned.java, | |
8860 | javax/print/attribute/standard/PagesPerMinute.java, | |
8861 | javax/print/attribute/standard/PagesPerMinuteColor.java: | |
8862 | Fixed @return tag all over. | |
8863 | ||
8864 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
8865 | ||
8866 | * javax/print/attribute/AttributeSetUtilities.java | |
8867 | (verifyCategoryForValue): Fixed typo in javadoc. | |
8868 | * javax/print/attribute/HashAttributeSet.java | |
8869 | (containsKey): Fixed @return tag. | |
8870 | (comtainsValue): Likewise. | |
8871 | (equals): Likewise. | |
8872 | * javax/print/attribute/IntegerSyntax.java | |
8873 | (equals): Likewise. | |
8874 | * javax/print/attribute/ResolutionSyntax.java | |
8875 | (equals): Likewise. | |
8876 | (getCrossFeedResolution): Removed unused code. | |
8877 | (getFeedResolution): Likewise. | |
8878 | * javax/print/attribute/SetOfIntegerSyntax.java | |
8879 | (SetOfIntegerSyntax): Fixed HTML entities in javadoc. | |
8880 | (equals): Fixed @return tag. | |
8881 | * javax/print/attribute/TextSyntax.java | |
8882 | (TextSyntax): Take locale into account. | |
8883 | (hashCode): Better implementation. | |
8884 | ||
8885 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
8886 | ||
8887 | * javax/print/CancelablePrintJob.java, | |
8888 | javax/print/Doc.java, | |
8889 | javax/print/DocFlavor.java, | |
8890 | javax/print/DocPrintJob.java, | |
8891 | javax/print/FlavorException.java, | |
8892 | javax/print/PrintException.java, | |
8893 | javax/print/PrintService.java, | |
8894 | javax/print/ServiceUIFactory.java: New files. | |
8895 | ||
f437e359 MW |
8896 | 2004-05-15 Mark Wielaard <mark@klomp.org> |
8897 | ||
8898 | * gnu/regexp/CharIndexedReader.java: Removed. | |
8899 | * gnu/regexp/REFilterReader.java: Likewise. | |
8900 | * gnu/regexp/RETokenLookAhead.java: Likewise. | |
8901 | * Makefile.am (ordinary_java_source_files): Remove above classes. | |
8902 | * Makefile.in: Regenerated. | |
8903 | ||
ae0d0d59 TT |
8904 | 2004-05-14 Tom Tromey <tromey@redhat.com> |
8905 | ||
8906 | * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage', | |
8907 | not `XGraphicsConfiguration.XOffScreenImage'. | |
8908 | ||
1cd29ad2 SG |
8909 | 2004-05-14 Scott Gilbertson <scottg@mantatest.com> |
8910 | ||
8911 | * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap. | |
8912 | ||
a01a235c SA |
8913 | 2004-05-14 Steven Augart <augart@watson.ibm.com> |
8914 | ||
8915 | * include/jni.h (_Jv_func): Removed. | |
8916 | (struct JNINativeInterface): Use `void *' for reserved slots. | |
8917 | (struct JNIInvokeInterface): Likewise. | |
8918 | ||
8f0b9daa MK |
8919 | 2004-05-11 Michael Koch <konqueror@gmx.de> |
8920 | ||
8921 | * gnu/java/net/natPlainSocketImplPosix.cc | |
8922 | (read): Fixed typo in expression. | |
8923 | ||
3f68457e AT |
8924 | 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch> |
8925 | ||
8926 | * testsuite/lib/libjava.exp (libjava_invoke): Add new argument | |
8927 | ld_library_additions. Adjust all calls to libjava_invoke to match | |
8928 | the new argument. | |
8929 | ||
8930 | * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++ | |
8931 | path to cxxflagslist. | |
8932 | Pass path of libstdc++ to libjava_invoke. | |
8933 | ||
8934 | * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust | |
8935 | libjava_invoke arguments. | |
8936 | ||
731d47a6 RM |
8937 | 2004-05-10 Ranjit Mathew <rmathew@hotmail.com> |
8938 | ||
8939 | * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current | |
8940 | reality. | |
8941 | ||
8e31e128 RM |
8942 | 2004-05-07 Ranjit Mathew <rmathew@gmail.com> |
8943 | ||
8944 | * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the | |
8945 | main binary against the JNI shared library. | |
8946 | ||
61af3d86 JQ |
8947 | 2004-05-07 Jerry Quinn <jlquinn@optonline.net> |
8948 | ||
8949 | * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode, | |
8950 | WALL_TIME, STANDARD_TIME, UTC_TIME): New members. | |
8951 | (SimpleTimeZone): Tweak docs. Add new variation. | |
8952 | (setStartRule,setEndRule): Add new variations. Use | |
8953 | startTimeMode and endTimeMode. | |
8954 | ||
8955 | 2004-05-07 Jerry Quinn <jlquinn@optonline.net> | |
8956 | ||
8957 | * java/util/Calendar.java (getActualMinimum, | |
8958 | getActualMaximum): Remove abstract. Implement. | |
8959 | ||
579f9640 BM |
8960 | 2004-05-06 Bryce McKinlay <mckinlay@redhat.com> |
8961 | ||
8962 | Run the jni tests using the interpreter. | |
8963 | * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append | |
8964 | options_cxx to shared lib compile command. | |
8965 | (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so | |
8966 | they are used to link the shared lib, not the main binary. | |
8967 | Use libjava_invoke to run gij. | |
8968 | ||
0a215a11 MK |
8969 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
8970 | ||
8971 | * java/util/logging/Level.java | |
8972 | (parse): Use == instead of String.equals(). | |
8973 | ||
e51f7aeb BM |
8974 | 2004-05-06 Bryce McKinlay <mckinlay@redhat.com> |
8975 | ||
8976 | * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use | |
8977 | verify_field_signature and verify_method_signature, not | |
8978 | _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature. | |
8979 | (_Jv_ClassReader::handleField): Likewise. | |
8980 | (_Jv_ClassReader::handleMethod): Likewise. | |
8981 | ||
c8395524 MK |
8982 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
8983 | ||
8984 | * javax/swing/table/TableColumn.java: | |
8985 | Reformated. | |
8986 | ||
c8b86f1a MK |
8987 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
8988 | ||
8989 | * javax/imageio/spi/ImageReaderWriterSpi.java | |
8990 | (ImageReaderWriterSpi): Made it public. | |
8991 | * javax/imageio/stream/ImageInputStream.java: | |
8992 | Clean up imports. | |
8993 | ||
9f2eefb7 MK |
8994 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
8995 | ||
8996 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
8997 | Removed empty line. | |
8998 | ||
45505d4d MK |
8999 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
9000 | ||
9001 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c, | |
9002 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c: | |
9003 | New files. | |
9004 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c: | |
9005 | Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h. | |
9006 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: | |
9007 | Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to | |
9008 | their own source file. | |
9009 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
9010 | Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to | |
9011 | their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize. | |
9012 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c | |
9013 | (create): Define variable on top of function. | |
9014 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | |
9015 | (menu_pos): Prototyped. | |
9016 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
9017 | (setTitle): Removed. | |
9018 | * jni/gtk-peer/gthread-jni.c | |
9019 | (gdk_threads_wake): Removed. | |
9020 | * Makefile.am (gtk_c_source_files): Added new files | |
9021 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and | |
9022 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c. | |
9023 | * Makefile.in: Regenerated. | |
9024 | ||
74e94435 BM |
9025 | 2004-05-05 Bryce McKinlay <mckinlay@redhat.com> |
9026 | ||
9027 | * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary() | |
9028 | call. | |
9029 | ||
68ea5833 MW |
9030 | 2004-05-05 Mark Wielaard <mark@klomp.org> |
9031 | ||
9032 | * javax/swing/AbstractButton.java: Replace special HTML entities with | |
9033 | ASCII equivalent. | |
9034 | * javax/swing/DefaultBoundedRangeModel.java: Likewise. | |
9035 | * javax/swing/DefaultButtonModel.java: Likewise. | |
9036 | * javax/swing/DefaultListModel.java: Likewise. | |
9037 | * javax/swing/JList.java: Likewise. | |
9038 | * javax/swing/JSlider.java: Likewise. | |
9039 | * javax/swing/ListModel.java: Likewise. | |
9040 | * javax/swing/Popup.java: Likewise. | |
9041 | * javax/swing/SwingUtilities.java: Likewise. | |
9042 | ||
880fa238 MK |
9043 | 2004-05-05 Michael Koch <konqueror@gmx.de> |
9044 | ||
9045 | * javax/swing/AbstractButton.java, | |
9046 | javax/swing/ActionMap.java, | |
9047 | javax/swing/DefaultButtonModel.java, | |
9048 | javax/swing/DefaultListModel.java, | |
9049 | javax/swing/ImageIcon.java, | |
9050 | javax/swing/JComboBox.java, | |
9051 | javax/swing/JComponent.java, | |
9052 | javax/swing/JFrame.java, | |
9053 | javax/swing/JInternalFrame.java, | |
9054 | javax/swing/JMenuBar.java, | |
9055 | javax/swing/JMenuItem.java, | |
9056 | javax/swing/JOptionPane.java, | |
9057 | javax/swing/JProgressBar.java, | |
9058 | javax/swing/JRootPane.java, | |
9059 | javax/swing/JScrollBar.java, | |
9060 | javax/swing/JScrollPane.java, | |
9061 | javax/swing/JSeparator.java, | |
9062 | javax/swing/JSlider.java, | |
9063 | javax/swing/JTabbedPane.java, | |
9064 | javax/swing/JTable.java, | |
9065 | javax/swing/JTextField.java, | |
9066 | javax/swing/JToolBar.java, | |
9067 | javax/swing/JToolTip.java, | |
9068 | javax/swing/JTree.java, | |
9069 | javax/swing/JViewport.java, | |
9070 | javax/swing/JWindow.java, | |
9071 | javax/swing/KeyStroke.java, | |
9072 | javax/swing/LookAndFeel.java, | |
9073 | javax/swing/SwingUtilities.java, | |
9074 | javax/swing/Timer.java, | |
9075 | javax/swing/ToolTipManager.java, | |
9076 | javax/swing/UIDefaults.java, | |
9077 | javax/swing/border/TitledBorder.java, | |
9078 | javax/swing/filechooser/FileSystemView.java, | |
9079 | javax/swing/plaf/basic/BasicButtonListener.java, | |
9080 | javax/swing/plaf/basic/BasicButtonUI.java, | |
9081 | javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java, | |
9082 | javax/swing/plaf/basic/BasicGraphicsUtils.java, | |
9083 | javax/swing/plaf/basic/BasicLabelUI.java, | |
9084 | javax/swing/plaf/basic/BasicMenuItemUI.java, | |
9085 | javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java, | |
9086 | javax/swing/plaf/basic/BasicRootPaneUI.java, | |
9087 | javax/swing/plaf/basic/BasicScrollBarUI.java, | |
9088 | javax/swing/plaf/basic/BasicScrollPaneUI.java, | |
9089 | javax/swing/plaf/basic/BasicSliderUI.java, | |
9090 | javax/swing/plaf/basic/BasicTabbedPaneUI.java, | |
9091 | javax/swing/plaf/basic/BasicToggleButtonUI.java, | |
9092 | javax/swing/table/JTableHeader.java, | |
9093 | javax/swing/text/AbstractDocument.java, | |
9094 | javax/swing/text/DefaultCaret.java, | |
9095 | javax/swing/text/StyledEditorKit.java, | |
9096 | javax/swing/tree/DefaultTreeCellEditor.java: | |
9097 | Cleaned up imports. | |
9098 | ||
4a93a226 MK |
9099 | 2004-05-05 Michael Koch <konqueror@gmx.de> |
9100 | ||
9101 | * java/util/prefs/AbstractPreferences.java | |
9102 | (AbstractPreferences): Added parenthesis for clarity. | |
9103 | Closes classpath bug #7940. | |
9104 | ||
aaec686e TT |
9105 | 2004-05-05 Tom Tromey <tromey@redhat.com> |
9106 | ||
9107 | * javax/naming/CompoundName.java (endsWith): Look at correct | |
9108 | element of source name. | |
9109 | ||
b1210ca2 MW |
9110 | 2004-05-05 Mark Wielaard <mark@klomp.org> |
9111 | ||
9112 | Reported by f.haeglsperger@gmx.de [classpath patch #2485] | |
9113 | * java/util/HashMap.java (rehash): Add entry at start of bucket. | |
9114 | ||
a54f498a TT |
9115 | 2004-05-05 Tom Tromey <tromey@redhat.com> |
9116 | ||
9117 | * java/io/BufferedReader.java (skip): Removed unused | |
9118 | variable. | |
9119 | ||
e8430418 MK |
9120 | 2004-05-05 Michael Koch <konqueror@gmx.de> |
9121 | ||
9122 | * java/awt/FileDialog.java: Import java.io.Serializable explicitly. | |
9123 | ||
f32c742c DT |
9124 | 2004-05-05 Dalibor Topic <robilad@kaffe.org> |
9125 | ||
9126 | * java/text/AttributedString.java, | |
9127 | java/text/AttributedStringIterator.java, | |
9128 | java/text/Collator.java, | |
9129 | java/text/DecimalFormatSymbols.java, | |
9130 | java/text/NumberFormat.java, | |
9131 | java/text/RuleBasedCollator.java: | |
9132 | Cleaned up imports. | |
9133 | ||
d70bd7ff TT |
9134 | 2004-05-05 Tom Tromey <tromey@redhat.com> |
9135 | ||
9136 | * java/text/Format.java: Cleaned up imports. | |
9137 | * java/text/DecimalFormat.java: Cleaned up imports. | |
9138 | * java/security/SecureRandom.java: Cleaned up imports. | |
9139 | (SecureRandom): Removed unused variable. | |
9140 | * java/security/UnresolvedPermission.java: Cleaned up imports. | |
9141 | * java/util/Date.java (parse): Removed unused variable. | |
9142 | * java/util/ResourceBundle.java: Cleaned up imports. | |
9143 | (getBundle): Removed unused variable. | |
9144 | (tryBundle): Likewise. | |
9145 | * java/util/regex/Pattern.java (Pattern): Removed unused constructor. | |
9146 | ||
2225a42a GL |
9147 | 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org> |
9148 | ||
9149 | * java/text/SimpleDateFormat.java: | |
9150 | (formatWithAttribute): New method. It implements | |
9151 | the formatting process with attributes. | |
9152 | (format): Use formatWithAttribute. | |
9153 | (formatToCharacterIterator): New method. Use | |
9154 | formatWithAttribute. | |
9155 | ||
1f646142 GL |
9156 | 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org> |
9157 | ||
9158 | * java/text/MessageFormat.java: | |
9159 | (class Field): New class. | |
9160 | (formatToCharacterIterator): New method. | |
9161 | (format): Use formatInternal now. | |
9162 | (formatInternal): New method. String formatter should | |
9163 | be done here (with attributes). Attributes merging supported. | |
9164 | (parse): More documentation. | |
9165 | (getFormatsByArgumentIndex): New method. | |
9166 | (setFormatByArgumentIndex): New method. | |
9167 | (setFormatsByArgumentIndex): New method. | |
9168 | ||
8cf1edb3 GL |
9169 | 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org> |
9170 | ||
9171 | * java/text/DecimalFormat.java | |
9172 | (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309. | |
9173 | (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS. | |
9174 | (parse): Fixed handling of exponentiation notation and grouping. | |
9175 | ||
9176 | 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org> | |
9177 | ||
9178 | * java/text/DecimalFormat.java | |
9179 | (scanFix): Build attribute array. Fixed error reporting. | |
9180 | (applyPatternWithSymbols): Store attributes for the prefix and | |
9181 | suffix. | |
9182 | (formatInternal): New method. Changed the way the string is | |
9183 | computed. Implemented attributes. Cleant up rounding in | |
9184 | exponential notation. | |
9185 | (format): Use formatInternal. | |
9186 | (formatToCharacterIterator): New method. | |
9187 | (exponentRound, negativePrefixRanges, positivePrefixRanges, | |
9188 | negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges, | |
9189 | positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs): | |
9190 | New fields. | |
9191 | ||
aff9d141 DT |
9192 | 2004-05-04 Dalibor Topic <robilad@kaffe.org> |
9193 | ||
9194 | * java/security/interfaces/DSAKeyPairGenerator.java, | |
9195 | java/security/interfaces/DSAPrivateKey.java, | |
9196 | java/security/interfaces/DSAPublicKey.java, | |
9197 | java/security/interfaces/RSAPrivateKey.java, | |
9198 | java/security/interfaces/RSAPublicKey.java: | |
9199 | Cleaned up imports. | |
9200 | ||
933522fb MK |
9201 | 2004-05-04 Michael Koch <konqueror@gmx.de> |
9202 | ||
9203 | * java/nio/ByteBuffer.java, | |
9204 | java/nio/CharBuffer.java, | |
9205 | java/nio/DoubleBuffer.java, | |
9206 | java/nio/FloatBuffer.java, | |
9207 | java/nio/IntBuffer.java, | |
9208 | java/nio/LongBuffer.java, | |
9209 | java/nio/ShortBuffer.java: | |
9210 | (compareTo): Fixed bogus implementation in all buffer classes. | |
9211 | ||
27c2c3ec IP |
9212 | 2004-05-04 Ingo Proetel <proetel@aicas.com> |
9213 | ||
9214 | * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has | |
9215 | 32 bit pixels not 8 bit pixels. | |
9216 | (isCompatibleRaster): Added javadoc comment. | |
9217 | ||
9218 | 2004-05-04 Ingo Proetel <proetel@aicas.com> | |
9219 | ||
9220 | * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset | |
9221 | scanline stride. | |
9222 | ||
9223 | 2004-05-04 Ingo Proetel <proetel@aicas.com> | |
9224 | ||
9225 | * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature. | |
9226 | (getColorModel): Return the actual color model. | |
9227 | (getRaster): Implemented. | |
9228 | (ColorRaster): New inner class. | |
9229 | * java/awt/SystemColor.java (createContext): Use ColorModel when creating | |
9230 | a PaintContext. | |
9231 | * java/awt/Color.java (<init>): Make exception more verbose. | |
9232 | (createContext): Use ColorModel when creating a PaintContext. | |
9233 | ||
a31d9d6c MK |
9234 | 2004-05-04 Michael Koch <konqueror@gmx.de> |
9235 | ||
9236 | * gnu/java/text/CharacterBreakIterator.java | |
9237 | (previous): Removed unused variable. | |
9238 | ||
065afdfa GL |
9239 | 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org> |
9240 | ||
9241 | * gnu/java/text/FormatBuffer.java, | |
9242 | gnu/java/text/AttributedFormatBuffer.java, | |
9243 | gnu/java/text/StringFormatBuffer.java: New classes to implement | |
9244 | attributed iterators in java.text. | |
9245 | * gnu/java/text/FormatCharacterIterator.java: Moved | |
9246 | from java/text as it is an internal class. | |
9247 | * java/text/FormatCharacterIterator.java: Removed. | |
9248 | * java/text/Format.java: | |
9249 | Import gnu.java.text.FormatCharacterIterator. | |
9250 | * Makefile.am (java_source_files): Added new files. | |
9251 | * Makefile.in: Regenerated. | |
9252 | ||
9253 | ||
af62fd12 MW |
9254 | 2004-05-04 Mark Wielaard <mark@klomp.org> |
9255 | ||
53c87e49 | 9256 | * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method. |
af62fd12 | 9257 | |
a3c44036 AT |
9258 | 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch> |
9259 | ||
9260 | * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra. | |
9261 | * Makefile.in: Rebuilt. | |
9262 | ||
007265b8 MW |
9263 | 2004-05-03 Mark Wielaard <mark@klomp.org> |
9264 | ||
9265 | * gnu/java/security/der/DERReader.java: Call static methods staticly. | |
9266 | * java/awt/TextComponent.java (select): Use selectionEnd parameter. | |
9267 | * java/net/URL.java | |
9268 | (set(String, String, int, String, String, String, String, String)): | |
9269 | Assign this.file to path or path + "?" + query. | |
9270 | * java/util/Arrays.java: Call static methods staticly. | |
9271 | * java/util/zip/ZipEntry.java: Likewise. | |
9272 | * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign | |
9273 | dir to this.direction. | |
9274 | * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder): | |
9275 | Assign static field only once. | |
9276 | (DefaultTableCellRenderer): Don't reassign noFocusBorder each time. | |
9277 | ||
a00d3b3c MW |
9278 | 2004-05-03 Mark Wielaard <mark@klomp.org> |
9279 | ||
9280 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed | |
9281 | unused variables hScrollbarHeight and vScrollbarWidth. | |
9282 | (preferredSize): Likewise. | |
9283 | * gnu/java/security/provider/DSAParameters.java (engineToString): | |
9284 | Removed unused call to System.getProperty("line.seperator"); | |
9285 | * java/security/Security.java (loadProviders): Return result. | |
9286 | ||
7b68f0bf TT |
9287 | 2004-05-03 Tom Tromey <tromey@redhat.com> |
9288 | ||
9289 | * java/net/URLStreamHandler.java (toExternalForm): Removed | |
9290 | unused variables. | |
9291 | unused constructor. | |
9292 | * java/math/BigDecimal.java (divide): Removed unused variable. | |
9293 | * java/lang/Throwable.java: Cleaned up imports. | |
9294 | * java/lang/ClassLoader.java: Cleaned up imports. | |
9295 | * java/io/FilePermission.java (implies): Removed unused | |
9296 | variable. | |
9297 | * java/awt/TextComponent.java: Removed unused import. | |
9298 | * gnu/java/util/prefs/NodeReader.java: Cleaned up imports. | |
9299 | * gnu/java/util/DoubleEnumeration.java: Removed unused import. | |
9300 | * gnu/java/text/WordBreakIterator.java: Removed unused import. | |
9301 | * gnu/java/text/SentenceBreakIterator.java: Removed unused | |
9302 | import. | |
9303 | * gnu/java/text/LineBreakIterator.java: Removed unused import. | |
9304 | * gnu/java/text/CharacterBreakIterator.java: Removed | |
9305 | unused import. | |
9306 | * gnu/java/security/provider/DSAKeyPairGenerator.java: | |
9307 | Cleaned up imports. | |
9308 | * gnu/java/security/der/DERWriter.java: Cleaned up imports. | |
9309 | * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed | |
9310 | unused method. | |
9311 | * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports. | |
9312 | * gnu/java/nio/FileLockImpl.java: Cleaned up imports. | |
9313 | * gnu/java/io/Base64InputStream.java: Cleaned up imports. | |
9314 | * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports. | |
9315 | * gnu/classpath/ServiceFactory.java: Cleaned up imports. | |
9316 | (lookupProviders): Removed unused variable. | |
9317 | (loadNextServiceProvider): Likewise. | |
9318 | * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports. | |
9319 | ||
493b3c9c MK |
9320 | 2004-05-03 Michael Koch <konqueror@gmx.de> |
9321 | ||
9322 | Fixes PR libgcj/14695: | |
9323 | * java/net/NetworkInterface.java | |
9324 | (getByName): Return null when no interface was found. | |
9325 | ||
55ce9c52 RM |
9326 | 2004-04-30 Ranjit Mathew <rmathew@hotmail.com> |
9327 | Tom Tromey <tromey@redhat.com> | |
9328 | ||
9329 | * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use | |
9330 | additional option "-Wmissing-prototypes" for compiling C sources. | |
9331 | Print actual filename for pass/fail rather than $name.c. | |
9332 | * testsuite/libjava.jni/PR15133.java: New testcase file. | |
9333 | * testsuite/libjava.jni/PR15133.c: Likewise. | |
9334 | * testsuite/libjava.jni/PR15133.out: Likewise. | |
9335 | ||
2d99c042 RS |
9336 | 2004-04-30 Roger Sayle <roger@eyesopen.com> |
9337 | ||
9338 | * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin, | |
9339 | ceil and floor. | |
9340 | ||
c1fcbbc3 RM |
9341 | 2004-04-25 Ranjit Mathew <rmathew@hotmail.com> |
9342 | ||
9343 | * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly | |
9344 | limit the maximum heap size to avoid unnecessary thrashing. | |
9345 | ||
6f0b1fa5 JQ |
9346 | 2004-04-24 Jerry Quinn <jlquinn@optonline.net> |
9347 | ||
9348 | * java/text/CollationElementIterator.java (reset): Reset | |
9349 | lookahead variables. | |
9350 | ||
99a88816 MW |
9351 | 2004-04-23 Mark Wielaard <mark@klomp.org> |
9352 | ||
9353 | * jni/classpath/jcl.c: Changed C++ comments into C comments. | |
9354 | ||
b4e7ef8d DT |
9355 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> |
9356 | ||
9357 | * java/sql/DriverManager.java: | |
9358 | Cleaned up imports. | |
9359 | ||
e9d34968 MK |
9360 | 2004-04-23 Michael Koch <konqueror@gmx.de> |
9361 | ||
9362 | * java/net/URL.java | |
9363 | (hashcode): Don't initialize with default value explicitely. | |
9364 | (getContent): Removed redundant "final" keyword. | |
9365 | (openStream): Likewise. | |
9366 | (getURLStreamHandler): Fixed coding style. | |
9367 | * java/net/URLConnection.java | |
9368 | (defaultAllowUserInteraction): Don't initialize with default value | |
9369 | explicitely. | |
9370 | (connected): Likewise. | |
9371 | (doOutput): Likewise. | |
9372 | (ifModifiedSince): Likewise. | |
9373 | (dateformats_initialized): Likewise. | |
9374 | (setURLStreamHander): Use StreamTokenizer where it belongs to. | |
9375 | ||
87939d70 MK |
9376 | 2004-04-23 Michael Koch <konqueror@gmx.de> |
9377 | ||
9378 | * gnu/java/nio/channels/FileChannelImpl.java | |
9379 | (SET, CUR): Unused, removed. | |
9380 | (read): Implement here directly. | |
9381 | (implRead): Removed. | |
9382 | (write): Implement here directly. | |
9383 | (implWrite): Removed. | |
9384 | ||
5d837a58 DT |
9385 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> |
9386 | ||
9387 | * javax/rmi/CORBA/PortableRemoteObjectDelegate.java, | |
9388 | javax/rmi/CORBA/Stub.java, | |
9389 | javax/rmi/CORBA/Util.java, | |
9390 | javax/rmi/CORBA/ValueHandler.java, | |
9391 | javax/rmi/CORBA/ValueHandler.java, | |
9392 | javax/rmi/PortableRemoteObject.java: | |
9393 | Cleaned up imports. | |
9394 | ||
ace7ed7c DT |
9395 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> |
9396 | ||
9397 | * java/util/jar/JarFile.java, | |
9398 | java/util/jar/JarInputStream.java, | |
9399 | java/util/jar/JarOutputStream.java, | |
9400 | java/util/jar/Manifest.java: | |
9401 | Cleaned up imports. | |
9402 | ||
9403 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> | |
9404 | ||
9405 | * java/util/ArrayList.java, | |
9406 | java/util/Calendar.java, | |
9407 | java/util/Currency.java, | |
9408 | java/util/HashMap.java, | |
9409 | java/util/HashSet.java, | |
9410 | java/util/Hashtable.java, | |
9411 | java/util/LinkedList.java, | |
9412 | java/util/Properties.java, | |
9413 | java/util/PropertyPermission.java, | |
9414 | java/util/TimeZone.java, | |
9415 | java/util/TreeMap.java, | |
9416 | java/util/TreeSet.java, | |
9417 | java/util/Vector.java, | |
9418 | java/util/WeakHashMap.java: | |
9419 | Cleaned up imports. | |
9420 | ||
9421 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> | |
9422 | ||
9423 | * java/util/logging/FileHandler.java, | |
9424 | java/util/logging/Formatter.java, | |
9425 | java/util/logging/Handler.java, | |
9426 | java/util/logging/Logger.java, | |
9427 | java/util/logging/SimpleFormatter.java, | |
9428 | java/util/logging/XMLFormatter.java: | |
9429 | Cleaned up imports. | |
9430 | ||
ae522139 MW |
9431 | 2004-04-22 Mark Wielaard <mark@klomp.org> |
9432 | ||
9433 | * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall | |
9434 | -Wno-long-long flags variable. | |
9435 | (gtk_c_files): Use PEDANTIC_CFLAGS. | |
9436 | * Makefile.in: Regenerated. | |
9437 | ||
838a4849 MK |
9438 | 2004-04-22 Mark Wielaard <mark@klomp.org> |
9439 | ||
9440 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
9441 | Changed C++ comments into C comments. | |
9442 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: | |
9443 | Likewise. | |
9444 | ||
9445 | 2004-04-22 Michael Koch <konqueror@gmx.de> | |
9446 | ||
9447 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c: | |
9448 | Merged copyright year with GNU classpath. | |
9449 | ||
fe2235d1 DT |
9450 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
9451 | ||
9452 | * javax/security/auth/x500/X500Principal.java: | |
9453 | Cleaned up imports. | |
9454 | ||
b7db3d0a DT |
9455 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
9456 | ||
9457 | * javax/swing/JSlider.java: | |
9458 | Fixed HTML tags in comments. | |
9459 | ||
32bfc773 DT |
9460 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
9461 | ||
9462 | * javax/accessibility/AccessibleText.java: | |
9463 | Cleaned up imports. | |
9464 | ||
e930d01a MK |
9465 | 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl> |
9466 | ||
9467 | * java/net/URLStreamHandler.java | |
9468 | (parseURL): Convert the file path to using '/' instead of native | |
9469 | file separator. | |
9470 | ||
9471 | 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org> | |
9472 | ||
9473 | * java/net/URL.java | |
9474 | (userInfo): New field. | |
9475 | (URL): Set authority to the right value. | |
9476 | (setURL): Fixed authority and file initialization. | |
9477 | * java/net/URLStreamHandler.java | |
9478 | (parseURL): Take care of the query tag. Build authority. | |
9479 | (toExternalForm): Fixed URL building using authority. | |
9480 | ||
5d79367d MK |
9481 | 2004-04-22 Michael Koch <konqueror@gmx.de> |
9482 | ||
9483 | * java/net/Socket.java | |
9484 | (impl): Made package-private. | |
9485 | * java/net/ServerSocket.java | |
9486 | (implAccept): Access Socket.impl field directly. | |
9487 | ||
c0dce235 DT |
9488 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
9489 | ||
9490 | * java/util/prefs/Preferences.java, | |
9491 | java/util/prefs/InvalidPreferencesFormatException.java, | |
9492 | java/util/prefs/BackingStoreException.java, | |
9493 | java/util/prefs/AbstractPreferences.java: | |
9494 | Cleaned up imports. | |
9495 | ||
9496 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> | |
9497 | ||
9498 | * java/util/regex/Matcher.java, | |
9499 | java/util/regex/Pattern.java: | |
9500 | Cleaned up imports. | |
9501 | ||
5c09d725 MK |
9502 | 2004-04-22 Michael Koch <konqueror@gmx.de> |
9503 | ||
9504 | * java/nio/charset/IllegalCharsetNameException.java | |
9505 | (charsetName): Made private. | |
9506 | (IllegalCharsetNameException): Added @param tag to javadoc. | |
9507 | (getCharsetName): Added @return tag to javadoc. | |
9508 | * java/nio/charset/MalformedInputException.java | |
9509 | (MalformedInputException): Added @param tag to javadoc. | |
9510 | (getInputLength): Revised method description, added @return tag. | |
9511 | (getMessage): Added @return tag. | |
9512 | ||
83ef3f2b JQ |
9513 | 2004-04-22 Jerry Quinn <jlquinn@optonline.net> |
9514 | ||
9515 | * java/awt/Font.java (deriveFont): Implement missing variants. | |
9516 | * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement | |
9517 | missing variants. | |
9518 | ||
746ecc78 BM |
9519 | 2004-04-21 Bryce McKinlay <mckinlay@redhat.com> |
9520 | ||
9521 | * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method. | |
9522 | Set method->index values for interface methods to their itable index. | |
9523 | (initializeClass): Call _Jv_LayoutInterfaceMethods. | |
9524 | ||
86a80fc3 MK |
9525 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
9526 | ||
9527 | * java/nio/DirectByteBufferImpl.java | |
9528 | (shiftDown): Made static, give address as argument and | |
9529 | provide a convenience method that overwrites shiftDown in | |
9530 | ByteBufferImpl and calls the native shiftDown. | |
9531 | * java/nio/MappedByteBufferImpl.java | |
9532 | (): Use optimized method in DirectByteBufferImpl. | |
9533 | * java/nio/natDirectByteBufferImpl.cc | |
9534 | (shiftDown): Changed method signature. Removed usage of array_offset. | |
9535 | ||
6e90ed19 MK |
9536 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
9537 | ||
9538 | * gnu/java/net/natPlainSocketImplPosix.cc | |
9539 | (SocketInputStream::read): Make sure returned data is a byte value. | |
9540 | ||
96d22b12 MK |
9541 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
9542 | ||
9543 | * gnu/classpath/ServiceFactory.java, | |
9544 | gnu/classpath/ServiceProviderLoadingAction.java, | |
9545 | javax/imageio/ImageReader.java, | |
9546 | javax/imageio/ImageTranscoder.java, | |
9547 | javax/imageio/ImageWriter.java, | |
9548 | javax/imageio/package.html, | |
9549 | javax/imageio/spi/IIOServiceProvider.java, | |
9550 | javax/imageio/spi/ImageInputStreamSpi.java, | |
9551 | javax/imageio/spi/ImageOutputStreamSpi.java, | |
9552 | javax/imageio/spi/ImageReaderWriterSpi.java, | |
9553 | javax/imageio/spi/ImageTranscoderSpi.java, | |
9554 | javax/imageio/spi/RegisterableService.java, | |
9555 | javax/imageio/spi/ServiceRegistry.java, | |
9556 | javax/imageio/spi/package.html, | |
9557 | javax/imageio/stream/IIOByteBuffer.java, | |
9558 | javax/imageio/stream/ImageInputStream.java, | |
9559 | javax/imageio/stream/ImageOutputStream.java, | |
9560 | javax/imageio/stream/package.html: | |
9561 | New files. | |
9562 | * Makefile.am | |
9563 | (ordinary_java_source_files): Added | |
9564 | gnu/classpath/ServiceFactory.java and | |
9565 | gnu/classpath/ServiceProviderLoadingAction.java. | |
9566 | (javax_source_files): Added | |
9567 | javax/imageio/ImageReader.java, | |
9568 | javax/imageio/ImageTranscoder.java, | |
9569 | javax/imageio/ImageWriter.java, | |
9570 | javax/imageio/spi/IIOServiceProvider.java, | |
9571 | javax/imageio/spi/ImageInputStreamSpi.java, | |
9572 | javax/imageio/spi/ImageOutputStreamSpi.java, | |
9573 | javax/imageio/spi/ImageReaderWriterSpi.java, | |
9574 | javax/imageio/spi/ImageTranscoderSpi.java, | |
9575 | javax/imageio/spi/RegisterableService.java, | |
9576 | javax/imageio/spi/ServiceRegistry.java, | |
9577 | javax/imageio/stream/IIOByteBuffer.java, | |
9578 | javax/imageio/stream/ImageInputStream.java and | |
9579 | javax/imageio/stream/ImageOutputStream.java. | |
9580 | * Makefile.in: Regenerated. | |
9581 | ||
ca17d211 MK |
9582 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
9583 | ||
9584 | * java/util/Properties.java | |
9585 | (load): Fix wrongly merged fix. | |
9586 | ||
60e957d0 MW |
9587 | 2004-04-21 Mark Wielaard <mark@klomp.org> |
9588 | ||
9589 | * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly | |
9590 | malloc and free buf. | |
9591 | ||
27dd18cf DT |
9592 | 2004-04-21 Dalibor Topic <robilad@kaffe.org> |
9593 | ||
9594 | * javax/naming/AuthenticationException.java, | |
9595 | javax/naming/AuthenticationNotSupportedException.java, | |
9596 | javax/naming/CannotProceedException.java, | |
9597 | javax/naming/CommunicationException.java, | |
9598 | javax/naming/CompoundName.java, | |
9599 | javax/naming/ConfigurationException.java, | |
9600 | javax/naming/ContextNotEmptyException.java, | |
9601 | javax/naming/InitialContext.java, | |
9602 | javax/naming/InsufficientResourcesException.java, | |
9603 | javax/naming/InterruptedNamingException.java, | |
9604 | javax/naming/LimitExceededException.java, | |
9605 | javax/naming/LinkException.java, | |
9606 | javax/naming/LinkLoopException.java, | |
9607 | javax/naming/LinkRef.java, | |
9608 | javax/naming/MalformedLinkException.java, | |
9609 | javax/naming/Name.java, | |
9610 | javax/naming/NameAlreadyBoundException.java, | |
9611 | javax/naming/NameNotFoundException.java, | |
9612 | javax/naming/NamingSecurityException.java, | |
9613 | javax/naming/NoInitialContextException.java, | |
9614 | javax/naming/NoPermissionException.java, | |
9615 | javax/naming/NotContextException.java, | |
9616 | javax/naming/PartialResultException.java, | |
9617 | javax/naming/ReferralException.java, | |
9618 | javax/naming/ServiceUnavailableException.java, | |
9619 | javax/naming/SizeLimitExceededException.java, | |
9620 | javax/naming/TimeLimitExceededException.java, | |
9621 | javax/naming/directory/Attribute.java, | |
9622 | javax/naming/directory/Attributes.java, | |
9623 | javax/naming/directory/SearchResult.java, | |
9624 | javax/naming/event/NamingExceptionEvent.java, | |
9625 | javax/naming/spi/ResolveResult.java: | |
9626 | Cleaned up imports. | |
9627 | ||
2635995a MW |
9628 | 2004-04-21 Mark Wielaard <mark@klomp.org> |
9629 | ||
9630 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: | |
9631 | Changed C++ comments into C comments. Removed commented out code. | |
9632 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
9633 | Likewise. | |
9634 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: | |
9635 | Likewise. | |
9636 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c: | |
9637 | Likewise. | |
9638 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: | |
9639 | Likewise. | |
9640 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c: | |
9641 | Likewise. | |
9642 | * native/jni/gtk-peer/gthread-jni.c: | |
9643 | Likewise. | |
9644 | ||
1c3d6bb2 MW |
9645 | 2004-04-21 Mark Wielaard <mark@klomp.org> |
9646 | ||
9647 | * javax/awt/JFrame.java: Implement WindowConstants. Remove final | |
9648 | static fields defined in interface. | |
9649 | * javax/awt/JDialog.java: Likewise. | |
9650 | (JDialog): Make constructors public. | |
9651 | (getDefaultCloseOperation): Make public. | |
9652 | (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set. | |
9653 | (setDefaultCloseOperation): Make public. Check argument. Add API doc. | |
9654 | * javax/swing/JViewport.java (JViewport): Make constructor public. | |
9655 | ||
387fa012 MK |
9656 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
9657 | ||
9658 | * java/util/Map.java | |
9659 | (Entry): Removed redundant "static" modifier. | |
9660 | * java/text/AttributedCharacterIterator.java: | |
9661 | Updated copyright year. | |
9662 | ||
bf9f06ae MK |
9663 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
9664 | ||
9665 | * javax/naming/directory/SearchControls.java: | |
9666 | Don't explicitely extend java.lang.Object. | |
9667 | * javax/naming/spi/DirStateFactory.java: | |
9668 | Merged copyright year with GNU classpath. | |
9669 | ||
8a6c1d29 MK |
9670 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
9671 | ||
9672 | * java/nio/channels/Channels.java: | |
9673 | Merged coding style with GNU classpath. | |
9674 | ||
f5874634 MK |
9675 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
9676 | ||
9677 | * java/net/ServerSocket.java | |
9678 | Merged coding style from GNU classpath. | |
9679 | ||
90cb5151 MK |
9680 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
9681 | ||
9682 | * java/io/BufferedWriter.java: | |
9683 | Reordered variables to be at top of the class. | |
9684 | (localFlush): Removed redundant final keyword. | |
9685 | ||
5ede96a4 IP |
9686 | 2004-04-20 Ingo Proetel <proetel@aicas.com> |
9687 | ||
9688 | * java/awt/event/MouseEvent.java (<init>): fixed field assignment | |
9689 | ||
391d8ef5 MK |
9690 | 2004-04-20 Jeroen Frijters <jeroen@frijters.net> |
9691 | ||
9692 | * java/text/DecimalFormat.java (scanFix): Removed suffix check | |
9693 | for percent and permill check. | |
9694 | ||
9695 | 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org> | |
9696 | ||
9697 | * java/text/FieldPosition.java | |
9698 | (FieldPosition) Constructor now behaves as it should according | |
9699 | to the java documentation. | |
9700 | ||
9701 | 2004-04-20 Mark Wielaard <mark@klomp.org> | |
9702 | ||
9703 | * java/util/Properties.java: Use the word umlaut, not ä in api | |
9704 | documentation. | |
9705 | ||
92e1fe67 MK |
9706 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
9707 | ||
9708 | * java/nio/Buffer.java, | |
9709 | java/nio/channels/AlreadyConnectedException.java, | |
9710 | java/nio/channels/AsynchronousCloseException.java, | |
9711 | java/nio/channels/ByteChannel.java, | |
9712 | java/nio/channels/CancelledKeyException.java, | |
9713 | java/nio/channels/Channel.java, | |
9714 | java/nio/channels/Channels.java, | |
9715 | java/nio/channels/ClosedByInterruptException.java, | |
9716 | java/nio/channels/ClosedChannelException.java, | |
9717 | java/nio/channels/ClosedSelectorException.java, | |
9718 | java/nio/channels/ConnectionPendingException.java, | |
9719 | java/nio/channels/DatagramChannel.java, | |
9720 | java/nio/channels/FileChannel.java, | |
9721 | java/nio/channels/FileLock.java, | |
9722 | java/nio/channels/FileLockInterruptionException.java, | |
9723 | java/nio/channels/GatheringByteChannel.java, | |
9724 | java/nio/channels/IllegalBlockingModeException.java, | |
9725 | java/nio/channels/IllegalSelectorException.java, | |
9726 | java/nio/channels/InterruptibleChannel.java, | |
9727 | java/nio/channels/NoConnectionPendingException.java, | |
9728 | java/nio/channels/NonReadableChannelException.java, | |
9729 | java/nio/channels/NonWritableChannelException.java, | |
9730 | java/nio/channels/NotYetBoundException.java, | |
9731 | java/nio/channels/NotYetConnectedException.java, | |
9732 | java/nio/channels/OverlappingFileLockException.java, | |
9733 | java/nio/channels/Pipe.java, | |
9734 | java/nio/channels/ReadableByteChannel.java, | |
9735 | java/nio/channels/ScatteringByteChannel.java, | |
9736 | java/nio/channels/SelectableChannel.java, | |
9737 | java/nio/channels/SelectionKey.java, | |
9738 | java/nio/channels/Selector.java, | |
9739 | java/nio/channels/ServerSocketChannel.java, | |
9740 | java/nio/channels/SocketChannel.java, | |
9741 | java/nio/channels/UnresolvedAddressException.java, | |
9742 | java/nio/channels/UnsupportedAddressTypeException.java, | |
9743 | java/nio/channels/WritableByteChannel.java, | |
9744 | java/nio/channels/spi/AbstractInterruptibleChannel.java, | |
9745 | java/nio/channels/spi/AbstractSelectableChannel.java, | |
9746 | java/nio/channels/spi/AbstractSelectionKey.java, | |
9747 | java/nio/channels/spi/AbstractSelector.java, | |
9748 | java/nio/channels/spi/SelectorProvider.java, | |
9749 | java/nio/charset/spi/CharsetProvider.java: | |
9750 | Fixed javadocs and jalopied all over java.nio. | |
9751 | ||
08c5d757 MK |
9752 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
9753 | ||
9754 | * java/nio/ByteBufferImpl.java, | |
9755 | java/nio/CharBufferImpl.java, | |
9756 | java/nio/DirectByteBufferImpl.java, | |
9757 | java/nio/DoubleBufferImpl.java, | |
9758 | java/nio/DoubleViewBufferImpl.java, | |
9759 | java/nio/FloatBufferImpl.java, | |
9760 | java/nio/FloatViewBufferImpl.java, | |
9761 | java/nio/IntBufferImpl.java, | |
9762 | java/nio/IntViewBufferImpl.java, | |
9763 | java/nio/LongBufferImpl.java, | |
9764 | java/nio/LongViewBufferImpl.java, | |
9765 | java/nio/MappedByteBufferImpl.java, | |
9766 | java/nio/ShortBufferImpl.java, | |
9767 | java/nio/ShortViewBufferImpl.java: | |
9768 | Made sure all classes are final and removed final keyword from all | |
9769 | methods. | |
9770 | ||
a17c9f2e MK |
9771 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
9772 | ||
9773 | * java/rmi/MarshalledObject.java, | |
9774 | java/rmi/Naming.java, | |
9775 | java/rmi/RemoteException.java, | |
9776 | java/rmi/activation/ActivationException.java, | |
9777 | java/rmi/server/ServerCloneException.java, | |
9778 | java/security/AccessController.java, | |
9779 | java/security/AlgorithmParameterGenerator.java, | |
9780 | java/security/AlgorithmParameters.java, | |
9781 | java/security/CodeSource.java, | |
9782 | java/security/Identity.java, | |
9783 | java/security/IdentityScope.java, | |
9784 | java/security/KeyPairGenerator.java, | |
9785 | java/security/KeyStore.java, | |
9786 | java/security/Security.java, | |
9787 | java/security/Signature.java, | |
9788 | java/security/SignatureSpi.java, | |
9789 | java/security/SignedObject.java, | |
9790 | java/security/spec/DSAParameterSpec.java, | |
9791 | java/security/spec/DSAPrivateKeySpec.java, | |
9792 | java/security/spec/DSAPublicKeySpec.java, | |
9793 | java/sql/Array.java, | |
9794 | java/sql/DatabaseMetaData.java, | |
9795 | java/sql/ResultSet.java, | |
9796 | java/text/ChoiceFormat.java, | |
9797 | java/text/CollationElementIterator.java, | |
9798 | java/text/CollationKey.java, | |
9799 | java/text/Collator.java, | |
9800 | java/text/DateFormat.java, | |
9801 | java/text/DateFormatSymbols.java, | |
9802 | java/text/DecimalFormatSymbols.java, | |
9803 | java/text/Format.java, | |
9804 | java/text/ParsePosition.java, | |
9805 | java/text/RuleBasedCollator.java, | |
9806 | java/text/SimpleDateFormat.java, | |
9807 | java/text/StringCharacterIterator.java, | |
9808 | java/util/Collections.java, | |
9809 | java/util/PropertyResourceBundle.java, | |
9810 | java/util/ResourceBundle.java, | |
9811 | java/util/StringTokenizer.java, | |
9812 | java/util/jar/Attributes.java, | |
9813 | java/util/logging/ConsoleHandler.java, | |
9814 | java/util/logging/LogManager.java, | |
9815 | java/util/logging/MemoryHandler.java, | |
9816 | java/util/logging/SocketHandler.java, | |
9817 | javax/naming/NamingException.java: | |
9818 | Fixed javadoc, coding style and argument names all over. | |
9819 | ||
0fc920c8 MK |
9820 | 2004-04-20 Jeroen Frijters <jeroen@frijters.net> |
9821 | ||
9822 | * java/io/FileDescriptor.java: (FileDescriptor) Added public | |
9823 | constructor. (valid) Added null check. | |
9824 | ||
9825 | 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org> | |
9826 | ||
9827 | Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com> | |
9828 | * java/io/FileOutputStream.java | |
9829 | (FileOutputStream) Reorganized constructors. Constructors now | |
9830 | check whether the given path is directory. | |
9831 | ||
f6d49f66 MK |
9832 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
9833 | ||
9834 | * java/net/Authenticator.java, | |
9835 | java/net/BindException.java, | |
9836 | java/net/ConnectException.java, | |
9837 | java/net/ContentHandler.java, | |
9838 | java/net/ContentHandlerFactory.java, | |
9839 | java/net/DatagramPacket.java, | |
9840 | java/net/DatagramSocket.java, | |
9841 | java/net/DatagramSocketImpl.java, | |
9842 | java/net/DatagramSocketImplFactory.java, | |
9843 | java/net/FileNameMap.java, | |
9844 | java/net/HttpURLConnection.java, | |
9845 | java/net/Inet4Address.java, | |
9846 | java/net/Inet6Address.java, | |
9847 | java/net/InetAddress.java, | |
9848 | java/net/InetSocketAddress.java, | |
9849 | java/net/JarURLConnection.java, | |
9850 | java/net/MalformedURLException.java, | |
9851 | java/net/MulticastSocket.java, | |
9852 | java/net/NetPermission.java, | |
9853 | java/net/NetworkInterface.java, | |
9854 | java/net/NoRouteToHostException.java, | |
9855 | java/net/PasswordAuthentication.java, | |
9856 | java/net/PortUnreachableException.java, | |
9857 | java/net/ProtocolException.java, | |
9858 | java/net/ServerSocket.java, | |
9859 | java/net/Socket.java, | |
9860 | java/net/SocketAddress.java, | |
9861 | java/net/SocketException.java, | |
9862 | java/net/SocketImpl.java, | |
9863 | java/net/SocketImplFactory.java, | |
9864 | java/net/SocketOptions.java, | |
9865 | java/net/SocketPermission.java, | |
9866 | java/net/SocketTimeoutException.java, | |
9867 | java/net/URI.java, | |
9868 | java/net/URISyntaxException.java, | |
9869 | java/net/URL.java, | |
9870 | java/net/URLClassLoader.java, | |
9871 | java/net/URLConnection.java, | |
9872 | java/net/URLDecoder.java, | |
9873 | java/net/URLEncoder.java, | |
9874 | java/net/URLStreamHandler.java, | |
9875 | java/net/URLStreamHandlerFactory.java, | |
9876 | java/net/UnknownHostException.java, | |
9877 | java/net/UnknownServiceException.java: | |
9878 | Fixed javadocs, coding style and argument names all over. | |
9879 | ||
cf6f7d55 MK |
9880 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
9881 | ||
9882 | * java/lang/Byte.java, | |
9883 | java/lang/CharSequence.java, | |
9884 | java/lang/ClassLoader.java, | |
9885 | java/lang/Compiler.java, | |
9886 | java/lang/Double.java, | |
9887 | java/lang/Float.java, | |
9888 | java/lang/Integer.java, | |
9889 | java/lang/Long.java, | |
9890 | java/lang/Math.java, | |
9891 | java/lang/Number.java, | |
9892 | java/lang/Package.java, | |
9893 | java/lang/Runtime.java, | |
9894 | java/lang/RuntimePermission.java, | |
9895 | java/lang/SecurityManager.java, | |
9896 | java/lang/Short.java, | |
9897 | java/lang/StringBuffer.java, | |
9898 | java/lang/System.java, | |
9899 | java/lang/ThreadGroup.java, | |
9900 | java/lang/Throwable.java, | |
9901 | java/lang/reflect/InvocationHandler.java, | |
9902 | java/lang/reflect/Proxy.java: | |
9903 | Fixed javadocs, coding style and argument names all over. | |
9904 | ||
9f714d5e MK |
9905 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
9906 | ||
9907 | * java/io/BufferedWriter.java, | |
9908 | java/io/ByteArrayInputStream.java, | |
9909 | java/io/CharArrayWriter.java, | |
9910 | java/io/DataInput.java, | |
9911 | java/io/DataInputStream.java, | |
9912 | java/io/File.java, | |
9913 | java/io/FilterInputStream.java, | |
9914 | java/io/InputStream.java, | |
9915 | java/io/InputStreamReader.java, | |
9916 | java/io/ObjectInputStream.java, | |
9917 | java/io/ObjectStreamClass.java, | |
9918 | java/io/PipedInputStream.java, | |
9919 | java/io/PipedReader.java, | |
9920 | java/io/PushbackInputStream.java, | |
9921 | java/io/PushbackReader.java, | |
9922 | java/io/RandomAccessFile.java, | |
9923 | java/io/SerializablePermission.java, | |
9924 | java/io/StreamTokenizer.java, | |
9925 | java/io/StringWriter.java, | |
9926 | java/io/WriteAbortedException.java, | |
9927 | java/io/Writer.java: | |
9928 | Fixed javadocs all over, rename arguments to match javadocs, | |
9929 | fixed coding style. | |
9930 | ||
23f0ecff MK |
9931 | 2004-04-20 Ingo Proetel <proetel@aicas.com> |
9932 | ||
9933 | * java/awt/FontMetrics.java: | |
9934 | (charsWidth): fixed accumulation of total_width | |
9935 | (getWidth): simple default implementation | |
9936 | * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate | |
9937 | in Rectangle constructor. | |
9938 | * java/awt/image/Raster.java (toString): Added method. | |
9939 | * java/awt/image/SampleModel.java (<init>): Added error cause | |
9940 | information to thrown exception. | |
9941 | * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements): | |
9942 | New method. | |
9943 | (setDataElements): New method. | |
9944 | (setPixels): New method. | |
9945 | (toString): New method. | |
9946 | ||
9947 | 2004-04-20 Sascha Brawer <brawer@dandelis.ch> | |
9948 | ||
9949 | * java/awt/image/ComponentColorModel.java | |
9950 | (createCompatibleSampleModel): Return PixelInterleavedSampleModel | |
9951 | for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the | |
9952 | Mauve tests on this method. Improved documentation. | |
9953 | ||
2c4d54e6 MK |
9954 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
9955 | ||
9956 | * javax/swing/JLayeredPane.java, | |
9957 | javax/swing/plaf/BorderUIResource.java, | |
9958 | javax/swing/plaf/ComponentUI.java, | |
9959 | javax/swing/undo/CompoundEdit.java, | |
9960 | javax/swing/undo/StateEdit.java: | |
9961 | Fixed HTML tags in javadocs all over. | |
9962 | ||
5589f3e5 MK |
9963 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
9964 | ||
9965 | * javax/print/attribute/EnumSyntax.java | |
9966 | (getOffset): Made protected. | |
9967 | * javax/print/attribute/HashAttributeSet.java | |
9968 | (HashAttributeSet): Likewise. | |
9969 | * javax/print/attribute/ResolutionSyntax.java | |
9970 | (getFeedResolution): Fixed typo in exception name. | |
9971 | (getCrossFeedResolution): Likewise. | |
9972 | * javax/print/attribute/SetOfIntegerSyntax.java | |
9973 | (SetOfIntegerSyntax): Fixed HTML entities in javadoc. | |
9974 | * javax/print/attribute/TextSyntax.java | |
9975 | (TextSyntax): Handle locale correctly. | |
9976 | (hashCode): Calc better hashcode value. | |
9977 | (equals): Fixed @return tag. | |
9978 | (toString): New method. | |
9979 | ||
0150fc22 MK |
9980 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
9981 | ||
9982 | * gnu/java/nio/FileLockImpl.java | |
9983 | (static): Removed, not needed anymore. | |
9984 | * gnu/java/nio/channels/FileChannelImpl.java | |
9985 | (FileChannelImpl): Made final. | |
9986 | (mode): Made private. | |
9987 | (READ, WRITE, APPEND): Made public. | |
9988 | (EXCL, SYNC, DSYNC): Likewise. | |
9989 | (static): Load native JNI library, when needed. | |
9990 | (length): Unused, removed. | |
9991 | (available): Made public. | |
9992 | (implPosition): Throws IOException. | |
9993 | (seek): Likewise. | |
9994 | (implTruncate): Likewise. | |
9995 | (unlock): Likewise. | |
9996 | (lock): Likewise. | |
9997 | ||
7431acbe MK |
9998 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
9999 | ||
10000 | * java/awt/AWTPermission.java, | |
10001 | java/awt/Component.java, | |
10002 | java/awt/ComponentOrientation.java,, | |
10003 | java/awt/Dialog.java, | |
10004 | java/awt/FontMetrics.java, | |
10005 | java/awt/Graphics.java, | |
10006 | java/awt/datatransfer/DataFlavor.java, | |
10007 | java/beans/Introspector.java, | |
10008 | java/beans/PropertyEditor.java, | |
10009 | java/beans/PropertyEditorManager.java, | |
10010 | java/beans/beancontext/BeanContextServiceProvider.java: | |
10011 | Fixed HTML tags in javadocs all over. | |
10012 | ||
7f6f517f MW |
10013 | 2004-04-20 Mark Wielaard <mark@klomp.org> |
10014 | ||
10015 | * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when | |
10016 | MissingResourceException is thrown. | |
10017 | * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return | |
10018 | null when a MissingResourceException is thrown. Should never happen. | |
10019 | ||
8ecb0346 MK |
10020 | 2004-04-20 Sascha Brawer <brawer@dandelis.ch> |
10021 | ||
10022 | * java/awt/image/DataBufferShort.java, | |
10023 | java/awt/image/DataBufferFloat.java, | |
10024 | java/awt/image/DataBufferDouble.java, | |
10025 | java/awt/image/PixelInterleavedSampleModel.java: New files. | |
10026 | * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData, | |
10027 | getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE. | |
10028 | ||
10029 | 2004-04-20 Michael Koch <konqueror@gmx.de> | |
10030 | ||
10031 | * Makefile.am (java_source_files): Added | |
10032 | java/awt/image/DataBufferDouble.java, | |
10033 | java/awt/image/DataBufferFloat.java, | |
10034 | java/awt/image/DataBufferShort.java and | |
10035 | java/awt/image/PixelInterleavedSampleModel.java. | |
10036 | * Makefile.in: Regenerated. | |
10037 | ||
f5310108 BM |
10038 | 2004-04-19 Bryce McKinlay <mckinlay@redhat.com> |
10039 | ||
10040 | * gcj/cni.h (JvAllocObject): Remove these obsolete, | |
10041 | undocumented CNI calls. | |
10042 | * include/java-interp.h (_Jv_InterpClass): No longer | |
10043 | extends java.lang.Class. | |
10044 | * java/lang/Class.h (Class): Add new field `aux_info'. | |
10045 | * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking. | |
10046 | * defineclass.cc: Remove Class<->_Jv_InterpClass casts. | |
10047 | Use Class->aux_info instead. | |
10048 | * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject. | |
10049 | * resolve.cc: Remove Class<->_Jv_InterpClass casts. | |
10050 | Use Class->aux_info instead. | |
10051 | * java/io/natObjectInputStream.cc (allocateObject): Use | |
10052 | _Jv_AllocObject. | |
10053 | * java/lang/natClass.cc (newInstance): Likewise. | |
10054 | * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise. | |
10055 | * java/lang/natObject.cc (clone): Likewise. | |
10056 | * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise. | |
10057 | * java/lang/natVMClassLoader.cc (defineClass): Don't use | |
10058 | JvAllocObject. Allocate klass->aux_info here for interpreted | |
10059 | class. | |
10060 | ||
afd7c0dc MW |
10061 | 2004-04-17 Mark Wielaard <mark@klomp.org> |
10062 | ||
10063 | * javax/swing/JToggleButton.java (ToggleButtonModel): | |
10064 | Make public static inner class. | |
10065 | * javax/swing/JTabbedPane.java (setComponentAt): | |
10066 | Call Page.setComponent(). | |
10067 | (SCROLL_TAB_LAYOUT): Make public, value is 1. | |
10068 | (WRAP_TAB_LAYOUT): Make public, value is 0. | |
10069 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton): | |
10070 | Make private static inner class. | |
10071 | ||
bf7ad402 BM |
10072 | 2004-04-16 Bryce McKinlay <mckinlay@redhat.com> |
10073 | ||
10074 | * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject | |
10075 | arguments to match new signature. Remove FIXME comments. | |
10076 | ||
31e632d3 GH |
10077 | 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com> |
10078 | ||
10079 | * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals): | |
10080 | Remove method. | |
10081 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove | |
10082 | unused code. | |
10083 | ||
10084 | 2004-04-02 Olga Rodimina <rodimina@redhat.com> | |
10085 | ||
10086 | * Makefile.am: Added new file. | |
10087 | * Makefile.in: Regenerate. | |
10088 | * javax/swing/ImageIcon.java: | |
10089 | (ImageIcon(file)): set description of the icon | |
10090 | to the file name | |
10091 | * javax/swing/JCheckBoxMenuItem.java: | |
10092 | Mostly Implemented. Work in progress. | |
10093 | * javax/swing/JRadioButtonMenuItem.java: | |
10094 | Reimplement constructors to use JToggleButtonModel. | |
10095 | * javax/swing/plaf/basic/BasicIconFactory.java: | |
10096 | (getCheckBoxMenuItemIcon): return check box | |
10097 | icon. | |
10098 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
10099 | paint menu item selected only when it is armed and | |
10100 | pressed. | |
10101 | ||
10102 | 2004-04-02 David Jee <djee@redhat.com> | |
10103 | ||
10104 | * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java | |
10105 | (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer. | |
10106 | * java/awt/Component.java | |
10107 | (add): Set the parent of the popup as this component. | |
10108 | * java/awt/PopupMenu.java | |
10109 | (addNotify): Create popup menu when peer is null. | |
10110 | (show): Call addNotify() if peer is null. | |
10111 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | |
10112 | (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button | |
10113 | argument for gtk_menu_popup() as zero. This causes the popup menu to | |
10114 | respond to any mouse button. | |
10115 | ||
10116 | 2004-03-31 Olga Rodimina <rodimina@redhat.com> | |
10117 | ||
10118 | * Makefile.am: Added new file. | |
10119 | * Makefile.in: Regenerate. | |
10120 | * javax/swing/JRadioButtonMenuItem.java: | |
10121 | Implemented. | |
10122 | * javax/swing/plaf/basic/BasicIconFactory.java: | |
10123 | (getRadioButtonMenuItemIcon): Return | |
10124 | radio button icon. | |
10125 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
10126 | (getPreferredSize): Add size of checkIcon if it | |
10127 | exists. | |
10128 | (installDefaults): Don't initialize checkIcon. | |
10129 | It's value will be set in subclasses. | |
10130 | (uninstallDefaults): remove uninstallation of | |
10131 | checkIcon. | |
10132 | (paint): Moved code to paintMenuItem(). | |
10133 | (paintMenuItem): Implemented. | |
10134 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: | |
10135 | UI delegate for JRadioButtonMenuItem. | |
10136 | ||
10137 | 2004-03-29 Olga Rodimina <rodimina@redhat.com> | |
10138 | ||
10139 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
10140 | Corrected position of the accelerator. | |
10141 | ||
10142 | 2004-03-29 Olga Rodimina <rodimina@redhat.com> | |
10143 | ||
10144 | * Makefile.am: Added new file. | |
10145 | * Makefile.in: Regenerate. | |
10146 | * javax/swing/JMenuItem.java: Partly | |
10147 | implemented. Work in progress | |
10148 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
10149 | Changed default value of acceleratorDelimiter. | |
10150 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
10151 | New class. Partly implemented. | |
10152 | ||
10153 | 2004-03-26 Mark Wielaard <mark@klomp.org> | |
10154 | ||
10155 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c | |
10156 | (item_activate): Declare label before use. | |
10157 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
10158 | (gtkSetFont): Removed unused variable label. | |
10159 | (addExposeFilter): Declare variables before use. | |
10160 | (removeExposeFilter): Likewise. | |
10161 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
10162 | (ok_clicked): Declare str_fileName before use. | |
10163 | ||
10164 | 2004-03-26 David Jee <djee@redhat.com> | |
10165 | ||
10166 | * gnu/java/awt/peer/gtk/GtkMenuPeer.java | |
10167 | (addSeparator): Remove. | |
10168 | * java/awt/Menu.java | |
10169 | (separator): Remove static final MenuItem field. | |
10170 | (separatorLabel): New static final String field. | |
10171 | (addSeparator): Do not use peer method; use add(MenuItem) instead. | |
10172 | Use separatorLabel to denote that it is a separator. | |
10173 | (insertSeparator): Create a new MenuItem with separatorLabel, instead | |
10174 | of reusing the static separator instance, because a MenuItem instance | |
10175 | can't be added more than once without being cloned. | |
10176 | * java/awt/peer/MenuPeer.java | |
10177 | (addSeparator): Remove from interface. | |
10178 | ||
10179 | 2004-03-26 David Jee <djee@redhat.com> | |
10180 | ||
10181 | * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java | |
10182 | (connectSignals): New native method declaration. | |
10183 | (GtkMenuItemPeer): Connect signals if the parent is a Menu. | |
10184 | * java/awt/MenuItem.java | |
10185 | (getActionCommand): Return the label if the action command is not set. | |
10186 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c | |
10187 | (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use | |
10188 | gtk_menu_shell_append(). | |
10189 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c | |
10190 | (item_activate): Fix argument type. | |
10191 | (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect | |
10192 | signal here. | |
10193 | (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New | |
10194 | method. | |
10195 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c | |
10196 | (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is | |
10197 | given. Add the menu widget's top-level GtkWindow to the global window | |
10198 | group, so it can grab the pointer. | |
10199 | (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use | |
10200 | gtk_menu_shell_append(). | |
10201 | ||
10202 | 2004-03-23 Graydon Hoare <graydon@redhat.com> | |
10203 | ||
10204 | * java/text/AttributedString.java | |
10205 | (addAttribute): Fix off-by-one. | |
10206 | (getIterator): Likewise. | |
10207 | * java/text/AttributedStringIterator.java | |
10208 | (getRunLimit): Correct logic. | |
10209 | (getRunStart): Likewise. | |
10210 | (getAttribute): Fix inequality. | |
10211 | (getAttributes): Likewise. | |
10212 | * testsuite/libjava.mauve/xfails: Remove AttributedString xfail. | |
10213 | ||
10214 | 2004-03-23 Kim Ho <kho@redhat.com> | |
10215 | ||
10216 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: | |
10217 | (calculateSizes): Return real width and height. | |
10218 | ||
10219 | 2004-03-23 Kim Ho <kho@redhat.com> | |
10220 | ||
10221 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
10222 | (calculateTabRects): Set the selectedRun before | |
10223 | trying to rotate tabs. | |
10224 | ||
10225 | 2004-03-23 Kim Ho <kho@redhat.com> | |
10226 | ||
10227 | * Makefile.am: New file | |
10228 | * Makefile.in: Regenerate | |
10229 | * java/awt/Graphics.java: (drawRect): | |
10230 | Draw to the correct point. | |
10231 | * javax/swing/DefaultSingleSelectionModel.java | |
10232 | (isSelected): Return true if the selected index | |
10233 | is not -1. | |
10234 | * javax/swing/JLabel.java: Do not change mnemonic | |
10235 | index if text is null. | |
10236 | * javax/swing/JProgressBar.java: Use JComponent's | |
10237 | EventListenerList. | |
10238 | * javax/swing/JScrollBar.java: Ditto. | |
10239 | * javax/swing/JSlider.java: Ditto. | |
10240 | * javax/swing/JTabbedPane.java: Reimplement. | |
10241 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
10242 | Add defaults for TabbedPane. | |
10243 | * javax/swing/plaf/basic/BasicArrowButton.java: | |
10244 | Implement | |
10245 | * javax/swing/plaf/basic/BasicProgressBarUI.java: | |
10246 | (paintDeterminate): Don't paint String if it's | |
10247 | empty. | |
10248 | (paintIndeterminate): ditto. | |
10249 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: | |
10250 | Reimplement. | |
10251 | ||
10252 | 2004-03-19 Michael Koch <konqueror@gmx.de> | |
10253 | ||
10254 | * java/awt/image/AffineTransformOp.java | |
10255 | (AffineTransformOp): Made public. | |
10256 | * javax/swing/JComponent.java | |
10257 | (listenerList): Made protected. | |
10258 | (accessibleContext): Likewise. | |
10259 | * javax/swing/JList.java | |
10260 | (valueChanged): Dont use internal fields of ListSelectionEvent. | |
10261 | * javax/swing/JViewport.java | |
10262 | (getView): Dont use internal fields of Component. | |
10263 | (addImpl): Likewise. | |
10264 | * javax/swing/Timer.java | |
10265 | (isRunning): Made public. | |
10266 | (start): Likewise. | |
10267 | (stop): Likewise. | |
10268 | * javax/swing/UIDefaults.java | |
10269 | (getInt): Made public. | |
10270 | * javax/swing/plaf/basic/BasicListUI.java | |
10271 | (mousePressed): Dont use internal fields of MouseEvent. | |
10272 | (propertyChanged): Dont use internal fields of PropertyChangeEvent. | |
10273 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
10274 | (arrowIcon): Made static. | |
10275 | * javax/swing/plaf/basic/BasicViewportUI.java | |
10276 | (stateChanged): Dont use internal field on ChangeEvent. | |
10277 | * javax/swing/text/JTextComponent.java | |
10278 | (getUI): Call UIManager.getUI(). | |
10279 | (updateUI): Use getUI(). | |
10280 | ||
10281 | 2004-03-19 Graydon Hoare <graydon@redhat.com> | |
10282 | ||
10283 | * javax/swing/JComponent.java: Turn off double buffer by default. | |
10284 | * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting. | |
10285 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c | |
10286 | (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): | |
10287 | Use cairo to copy areas. | |
10288 | (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip): | |
10289 | Initialize and set clip region. | |
10290 | ||
10291 | 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com> | |
10292 | ||
10293 | * java/applet/Applet.java (preferredSize): Override deprecated | |
10294 | variant of getPreferredSize. | |
10295 | (minimumSize): Override deprecated variant of getMinimumSize. | |
10296 | ||
10297 | 2004-03-15 Olga Rodimina <rodimina@redhat.com> | |
10298 | ||
10299 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java | |
10300 | (drawImage(img,xform,bgcolor,obs)): New Method. | |
10301 | Helper function that every drawImage method will | |
10302 | use. | |
10303 | (drawRaster): Added new parameter, bgcolor. All | |
10304 | transparent pixels are changed to bgcolor before | |
10305 | image is drawn. | |
10306 | (drawRenderedImage): Fixed to use changed drawRaster(). | |
10307 | (drawImage(image,xform,obs): Fixed to use new helper function | |
10308 | (drawImage(image,op,x,y)): Ditto. | |
10309 | (drawImage (img,x,y,observer)): Ditto. | |
10310 | ((PainterThread) bgcolor): New Field. | |
10311 | ((PainterThread) (setPixels)): Changed all transparent pixels | |
10312 | to bgcolor. | |
10313 | (drawImage(img,x,y,width,height,bgcolor,observer)): | |
10314 | Fixed FIXME - all the transparent pixels are | |
10315 | changed to the specified bgcolor. | |
10316 | (drawImage(img, x, y, width, height, observer): Changed to | |
10317 | use function above. | |
10318 | (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): | |
10319 | Fixed FIXME- changed all transparent pixels to bgcolor. | |
10320 | (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)): | |
10321 | Changed to use function above. | |
10322 | ||
10323 | 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com> | |
10324 | ||
10325 | * java/applet/Applet.java (dimensions): New field. | |
10326 | (getDimensions): New method. | |
10327 | (getPreferredSize): Call getDimensions. | |
10328 | (getMinimumSize): Likewise. | |
10329 | ||
10330 | 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com> | |
10331 | ||
10332 | * jni/classpath/jcl.c: Include stdlib.h, not malloc.h. | |
10333 | * jni/classpath/jnilink.c: Likewise. | |
10334 | ||
10335 | * java/applet/Applet.java (getPreferredSize): New method. | |
10336 | (getMinimumSize): New method. | |
10337 | ||
245c3c04 BM |
10338 | 2004-04-15 Bryce McKinlay <mckinlay@redhat.com> |
10339 | ||
10340 | * prims.cc (_Jv_AllocObject): Remove `size' argument. | |
10341 | (_Jv_AllocObjectNoFinalizer): Likewise. | |
10342 | (_Jv_AllocObjectNoInitNoFinalizer): Likewise. | |
10343 | (_Jv_AllocPtrFreeObject): Likewise. | |
10344 | (_Jv_AllocString): Moved from natString.cc. Call collector interface | |
10345 | directly even in the JVMPI case. | |
10346 | * gcj/cni.h (JvAllocObject): Remove `size' argument from | |
10347 | _Jv_AllocObject calls. | |
10348 | * gcj/javaprims.h: Update prototypes. | |
10349 | * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject. | |
10350 | * java/lang/Class.h: Update _Jv_AllocObject friend prototype. | |
10351 | * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc. | |
10352 | ||
d7afe286 BM |
10353 | 2004-04-14 Andrew Haley <aph@redhat.com> |
10354 | Bryce McKinlay <mckinlay@redhat.com> | |
10355 | ||
10356 | * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use | |
10357 | _Jv_LookupInterfaceMethodIdx for calls to interfaces. | |
10358 | * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg. | |
10359 | ||
10360 | * testsuite/libjava.lang/InvokeInterface.java: New file. | |
10361 | * testsuite/libjava.lang/InvokeInterface.out: New file. | |
10362 | ||
84264cb6 RM |
10363 | 2004-04-09 Ranjit Mathew <rmathew@hotmail.com> |
10364 | ||
10365 | * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to | |
10366 | modified lookup(). | |
10367 | * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a | |
10368 | StackTraceElement directly. | |
10369 | (newElement): New native helper method to create StackTraceElement | |
10370 | bypassing Java access control. | |
10371 | (createStackTraceElement): Use newElement() instead of directly | |
10372 | calling StackTraceElement's constructor. | |
10373 | * gnu/gcj/runtime/natNameFinder.cc (newElement): New method. | |
10374 | ||
2b6b5c35 MK |
10375 | 2004-04-01 Michael Koch <konqueror@gmx.de> |
10376 | ||
10377 | * java/lang/SecurityManager.java | |
10378 | (checkAwtEventQueueAccess): Implemented. | |
10379 | ||
1c19eacc GB |
10380 | 2004-04-01 Gary Benson <gbenson@redhat.com> |
10381 | ||
10382 | * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception. | |
10383 | (_Jv_SearchMethodInClass): Likewise. | |
10384 | ||
99b43239 PM |
10385 | 2004-03-26 Peter Moon <peterm@miraculum.com> |
10386 | ||
10387 | * java/text/NumberFormat.java: Fix spelling of setCurrency | |
10388 | method. | |
10389 | ||
95e59f1a AG |
10390 | 2004-03-21 Anthony Green <green@redhat.com> |
10391 | ||
10392 | * java/lang/natClass.cc (getClassLoader): Circumvent infinite | |
10393 | recursion when searching for the system ClassLoader. | |
10394 | ||
de205e06 IK |
10395 | 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org> |
10396 | ||
10397 | * java/net/ServerSocket.java | |
10398 | (accept): Close the socket when error occured. | |
10399 | ||
bdf11d55 JF |
10400 | 2004-03-21 Jeroen Frijters <jeroen@frijters.net> |
10401 | ||
10402 | * java/net/URI.java (parseURI): Added unquoting. | |
10403 | (unquote): New method. | |
10404 | (quoteAuthority): Implemented. | |
10405 | (quote(String,String)): New method. | |
10406 | (quotePath): Implemented. | |
10407 | (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field. | |
10408 | (getSchemeSpecificPart): Removed FIXME comment. | |
10409 | (getRawAuthority): Return new rawAuthority field. | |
10410 | (getAuthority): Removed FIXME comment. | |
10411 | (getRawUserInfo): Return new rawUserInfo field. | |
10412 | (getUserInfo): Removed FIXME comment. | |
10413 | (getRawPath): Return new rawPath field. | |
10414 | (getPath): Removed FIXME comment. | |
10415 | (getRawQuery): Return new rawQuery field. | |
10416 | (getQuery): Removed FIXME comment. | |
10417 | (getRawFragment): Return new rawFragment field. | |
10418 | (getFragment): Removed FIXME comment. | |
10419 | ||
0d13be1e MK |
10420 | 2004-03-20 Michael Koch <konqueror@gmx.de> |
10421 | ||
10422 | * java/net/URLConnection.java: Merged copyright year with classpath. | |
10423 | ||
f903e73b NF |
10424 | 2004-03-20 Norbert Frese <postfach@nfrese.net> |
10425 | ||
10426 | * gnu/java/rmi/server/RMIIncomingThread.java: New file. | |
10427 | * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java: | |
10428 | Create a new RMIObjectOuputStream/RMIObjectInputStream for every | |
10429 | rmi-message. | |
10430 | (getObjectInputStream): Return object reference, throw IOException if null. | |
10431 | (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'. | |
10432 | (getObjectOutputStream): Return object reference, throw IOException if null. | |
10433 | (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'. | |
10434 | * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java: | |
10435 | (UnicastConnectionManager): Throw RemoteException if port is not available. | |
10436 | (getInstance): Throw RemoteException. | |
10437 | (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval. | |
10438 | * gcc/libjava/gnu/java/rmi/server/UnicastRef.java: | |
10439 | Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message. | |
10440 | Collect Exceptions which are returned by a rmi-call and fix void returns. | |
10441 | * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java: | |
10442 | Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message. | |
10443 | * gcc/libjava/gnu/java/rmi/server/UnicastServer.java: | |
10444 | (dispatch): Answer ping messages which are sent by other java implementions. | |
10445 | (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream | |
10446 | for every rmi-message and fix void return problems. | |
10447 | * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java | |
10448 | (UnicastServerRef): Throw RemoteException. | |
10449 | (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic. | |
10450 | In some situations it is necessary to export a subclass of the class which has the _Stub. | |
10451 | For instance when the class with has the _Stub is abstract. | |
10452 | (findStubSkelClass): New method which looks for the class which has the _Stub. | |
10453 | (getClientHost): Implementated. | |
10454 | * gcc/libjava/java/rmi/server/RemoteServer.java | |
10455 | (getClientHost): Implementated. | |
10456 | * gcc/libjava/Makefile.am (rmi_java_source_files): | |
10457 | Added gnu/java/rmi/server/RMIIncomingThread.java. | |
10458 | * Makefile.in: Regenerated. | |
10459 | ||
7f5773c6 MK |
10460 | 2004-03-20 Michael Koch <konqueror@gmx.de> |
10461 | ||
10462 | * java/net/InetAddress.java | |
10463 | (getLocalHostname): Added javadoc. | |
10464 | ||
ab16524d PB |
10465 | 2004-03-19 Per Bothner <per@bothner.com> |
10466 | ||
10467 | * configure.in: FILE variable overrides FLATFORM when linking | |
10468 | natFileChannelXXX.cc. | |
10469 | ||
10470 | * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored. | |
10471 | (write): Call diag_write, as in old natFileDescriptorEcos.cc. | |
10472 | ||
0fca95f5 PB |
10473 | 2004-03-19 Per Bothner <per@bothner.com> |
10474 | ||
10475 | * gnu/gcj/convert/Input_UnicodeBig.java: New class.. | |
10476 | * gnu/gcj/convert/Input_UnicodeLittle.java: New class. | |
10477 | * Makefile.am: Update accordingly. | |
10478 | * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be" | |
10479 | as aliases for UnicodeLittle and UnicodeBig. | |
10480 | ||
edb3d426 MW |
10481 | 2004-03-20 Mark Wielaard <mark@klomp.org> |
10482 | ||
10483 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
10484 | (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth): | |
10485 | Don't access ws when it is null. | |
10486 | (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight): | |
10487 | Likewise. | |
10488 | ||
b121dcb5 JF |
10489 | 2004-03-19 Jeroen Frijters <jeroen@frijters.net> |
10490 | ||
10491 | * java/lang/ThreadGroup.java (list): Changed print to println. | |
10492 | ||
44b20223 MW |
10493 | 2004-03-19 Mark Wielaard <mark@klomp.org> |
10494 | ||
10495 | * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc | |
10496 | happy. | |
10497 | ||
f94b0887 RC |
10498 | 2004-02-10 Randolph Chung <tausq@debian.org> |
10499 | ||
10500 | * configure.in: Build java for hppa target. | |
10501 | * configure: Regenerate. | |
10502 | * libjava/configure.host (hppa-*): Add target. | |
10503 | * libjava/sysdeps/pa/lock.h: New file. | |
10504 | ||
d511a273 MW |
10505 | 2004-03-19 Mark Wielaard <mark@klomp.org> |
10506 | ||
10507 | Reported by Stephen Crawley | |
10508 | * java/io/FilePermission.java (implies): Use String.length() -1 to | |
10509 | access last char of String. | |
10510 | ||
9c6637c8 MK |
10511 | 2004-03-19 Michael Koch <konqueror@gmx.de> |
10512 | ||
10513 | * java/awt/image/AffineTransformOp.java | |
10514 | (AffineTransformOp): Made public. | |
10515 | * javax/swing/JComponent.java | |
10516 | (listenerList): Made protected. | |
10517 | (accessibleContext): Likewise. | |
10518 | * javax/swing/JList.java | |
10519 | (valueChanged): Dont use internal fields of ListSelectionEvent. | |
10520 | * javax/swing/JViewport.java | |
10521 | (getView): Dont use internal fields of Component. | |
10522 | (addImpl): Likewise. | |
10523 | * javax/swing/Timer.java | |
10524 | (isRunning): Made public. | |
10525 | (start): Likewise. | |
10526 | (stop): Likewise. | |
10527 | * javax/swing/UIDefaults.java | |
10528 | (getInt): Made public. | |
10529 | * javax/swing/plaf/basic/BasicListUI.java | |
10530 | (mousePressed): Dont use internal fields of MouseEvent. | |
10531 | (propertyChanged): Dont use internal fields of PropertyChangeEvent. | |
10532 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
10533 | (arrowIcon): Made static. | |
10534 | * javax/swing/plaf/basic/BasicViewportUI.java | |
10535 | (stateChanged): Dont use internal field on ChangeEvent. | |
10536 | * javax/swing/text/JTextComponent.java | |
10537 | (getUI): Call UIManager.getUI(). | |
10538 | (updateUI): Use getUI(). | |
10539 | ||
165c9b04 RO |
10540 | 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
10541 | ||
10542 | * verify.cc: Undef PC. | |
10543 | ||
138f5109 MK |
10544 | 2004-03-18 Michael Koch <konqueror@gmx.de> |
10545 | ||
10546 | * java/nio/channels/spi/AbstractSelectableChannel.java | |
10547 | (keys): Initialize at declaration. | |
10548 | (locate): keys cant be null. | |
10549 | (add): Removed. | |
10550 | (addSelectionKey): New method. | |
10551 | (removeSelectionKey): New method. | |
10552 | * java/nio/channels/spi/AbstractSelectionKey.java | |
10553 | (cancel): Call AbstractSelector.cancelKey(SelectionKey key). | |
10554 | * java/nio/channels/spi/AbstractSelector.java | |
10555 | (provider): Javadoc added. | |
10556 | (cancelledKeys): Javadoc added. | |
10557 | (cancelKey): Javadoc added, add key to cancelledKeys. | |
10558 | (deregister): Implemented. | |
10559 | ||
acc63e4c RO |
10560 | 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
10561 | ||
10562 | * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast | |
10563 | MAP_FAILED to void *. | |
10564 | ||
86881a7b GH |
10565 | 2004-03-12 Graydon Hoare <graydon@redhat.com> |
10566 | ||
10567 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes. | |
10568 | * javax/swing/JComponent.java (paint): Use persistent double buffer. | |
10569 | * javax/swing/JList.java (ListListener): Revalidate on changes. | |
10570 | * javax/swing/JScrollPane.java: Reimplement. | |
10571 | * javax/swing/JViewport.java: Reimplement. | |
10572 | * javax/swing/ScrollPaneLayout.java: Reimplement. | |
10573 | * javax/swing/ViewportLayout.java: Tidy up. | |
10574 | * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns. | |
10575 | * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement. | |
10576 | * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels. | |
10577 | * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of | |
10578 | backing store only. | |
10579 | ||
10580 | 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com> | |
10581 | ||
10582 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
10583 | (window_wm_protocols_filter): New function. | |
10584 | (window_focus_in_cb): Remove function. | |
10585 | (window_focus_out_cb): Likewise. | |
10586 | (window_focus_or_active_state_change_cb): New function. | |
10587 | (create): Add filter that removes WM_TAKE_FOCUS client messages. | |
10588 | (connectSignals): Don't attach handlers to focus-in-event or | |
10589 | focus-out-event signals. Handle notify signal. | |
10590 | ||
10591 | 2004-03-11 David Jee <djee@redhat.com> | |
10592 | ||
10593 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java | |
10594 | (gtkSetLabel): New native method declaration. | |
10595 | (setLabel): Use gtkSetLabel. | |
10596 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c | |
10597 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method. | |
10598 | ||
10599 | 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com> | |
10600 | ||
10601 | * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to | |
10602 | black when color argument is null. | |
10603 | ||
10604 | 2004-03-10 Kim Ho <kho@redhat.com> | |
10605 | ||
10606 | * java/awt/Container.java: Remove check | |
10607 | for drag events. | |
10608 | ||
10609 | 2004-03-10 Kim Ho <kho@redhat.com> | |
10610 | ||
10611 | * java/awt/Container.java: (visitChild): | |
10612 | Remove candidate clip. Use the component | |
10613 | clip to intersect. | |
10614 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: | |
10615 | (handleEvent): Use the PaintEvent's clip. | |
10616 | ||
10617 | 2004-03-10 Kim Ho <kho@redhat.com> | |
10618 | ||
10619 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: | |
10620 | (handleEvent): Don't set the clip for the | |
10621 | Graphics object. | |
10622 | ||
10623 | 2004-03-09 Graydon Hoare <graydon@redhat.com> | |
10624 | ||
10625 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: | |
10626 | Fix double <-> fixed macros, reset font transform. | |
10627 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: | |
10628 | Likewise. | |
10629 | ||
10630 |