OSDN Git Service

7adeca6e93b1edc877d4159c5a44f175a0c1ff22
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2005-03-15  Andreas Tobler  <a.tobler@schweiz.ch>
2
3         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
4         interpreter-specific code with #ifdef INTERPRETER.
5         (_Jv_StackTrace::getLineNumberForFrame): Likewise.
6         (_Jv_StackTrace::FillInFrameInfo): Likewise.
7         (_Jv_StackTrace::non_system_trace_fn): Likewise.
8         * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
9         #ifdef INTERPRETER. Also protect declarations that use it.
10         * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside 
11         #ifdef INTERPRETER block.
12
13 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
14
15         PR libgcj/20251
16         * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
17         * Makefile.in: Rebuilt.
18
19 2005-03-15  David Daney  <ddaney@avtrex.com>
20
21         * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
22         count == 0 case.
23
24 2005-03-15  David Daney  <ddaney@avtrex.com>
25
26         * java/io/BufferedInputStream.java (available): Use 'in' instead
27         of 'super' for underlying stream access.
28         (close): Ditto.
29         (read(byte[], int, int)): Ditto.
30         (refill): Ditto.
31         (skip): Call skip on underlying stream when possible. 
32
33 2005-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
34
35         * stacktrace.cc (GetCallerInfo): Return nothing in case of
36         SJLJ_EXCEPTIONS is defined.
37
38 2005-03-12  Ranjit Mathew  <rmathew@hotmail.com>
39
40         * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
41         tests.
42
43 2005-03-11  Andreas Tobler  <a.tobler@schweiz.ch>
44
45         * testsuite/lib/libjava.exp (libjava_init): Use the same target
46         check for Darwin.
47         (libjava_arguments): Likewise.
48
49         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
50         (gcj_jni_test_one): Likewise.
51         (gcj_jni_invocation_compile_c_to_binary): Likewise.
52         Add flags to keep the Darwin linker quiet.
53         (gcj_jni_invocation_test_one): Use the same target check for Darwin.
54         Add -liconv for Darwin.
55
56 2005-03-11  Tom Tromey  <tromey@redhat.com>
57
58         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
59         (usage): Document '-p'.
60         * Makefile.in: Rebuilt.
61         * Makefile.am (dbexecdir): New variable.
62         (db_name): Likewise.
63         (dbexec_DATA): Likewise.
64         ($(db_name)): New target.
65         (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
66         * java/lang/natRuntime.cc (insertSystemProperties): Set default
67         system database.
68
69 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
70
71         * exception.cc: Remove stray MethodRef.h include.
72         * java/lang/natClass.cc: Likewise.
73         * gnu/gcj/runtime/MethodRef.java: Removed.
74         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
75         gnu/gcj/runtime/natStackTrace.cc: Really removed.
76         * java/lang/natRuntime.cc (_load): Remove unsed variable.
77         * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
78         * Makefile.in: Rebuilt.
79
80 2005-03-10  Tom Tromey  <tromey@redhat.com>
81
82         * Makefile.in: Rebuilt.
83         * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
84
85 2005-03-10  Chris Burdess  <dog@bluezoo.org>
86
87         * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
88         not currently parsing the DTD.
89
90 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
91
92         New Stack Trace infrastructure.
93         * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
94         (gnu/gcj/runtime/StackTrace.java): Removed.
95         (ordinary_java_source_files): Remove obsolete files.
96         (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
97         * configure.host (fallback_backtrace_h): Set backtrace header
98         for mingw and cygwin targets. 
99         * configure.ac: Make symlink for fallback backtrace headers.
100         * Makefile.in, configure: Rebuilt.
101         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
102         Read 'LineNumberTable' attribute.
103         (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
104         attribute.
105         (_Jv_ClassReader::handleCodeAttribute): Initialize method line 
106         table fields.
107         * exception.cc: Remove unused include.
108         * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
109         (SAVE_PC): New macro. Save current PC in the interpreter frame.
110         (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
111         (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
112         table to direct threaded instruction values.
113         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
114         (_Jv_InterpMethod::run): No longer member function. All 
115         callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
116         is made or where an instruction could throw.
117         (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
118         in line_table.
119         * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
120         (catch_fpe): Likewise.
121         * stacktrace.cc: New file. Stack trace code now here.
122         * gnu/gcj/runtime/MethodRef.java: 
123         * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
124         calls addr2line to look up PC addresses in a given binary or shared
125         library.
126         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
127         gnu/gcj/runtime/natStackTrace.cc: Removed.
128         * gnu/java/lang/MainThread.java (call_main): Add comment warning that
129         this function name is specially recognised by the stack trace code
130         and shouldn't be changed.
131         * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
132         (struct  _Jv_LineTableEntry, line_table, line_table_len): New.
133         (_Jv_InterpMethod::run): Update declaration.
134         (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
135         friends.
136         (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
137         * include/java-stack.h: New file. Declarations for stack tracing.
138         * include/jvm.h (_Jv_Frame_info): Removed.
139         * java/lang/Class.h: Update friend declarations.        
140         * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
141         exception message.
142         * java/lang/VMThrowable.java (fillInStackTrace): Now native.
143         (getStackTrace): Now native.
144         (data): New RawDataManaged field.
145         * java/lang/natClass.cc: Update includes. 
146         (forName): Use _Jv_StackTrace::GetCallingClass for 
147         calling-classloader check.
148         (getClassLoader): Likewise.
149         * java/lang/natRuntime.cc: Update includes.
150         (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
151         * java/lang/natVMSecurityManager.cc: Update includes.
152         (getClassContext): Use _Jv_StackTrace::GetClassContext.
153         * java/lang/natVMThrowable.cc: New file. Native methods for 
154         VMThrowable.
155         * java/lang/reflect/natArray.cc: Update includes.
156         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
157         accessibility check.
158         * java/lang/reflect/natConstructor.cc: Update includes.
159         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
160         accessibility check.
161         * java/lang/reflect/natField.cc: Update includes.
162         (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
163         accessibility check.
164         * java/lang/reflect/natMethod.cc: Update includes.
165         (invoke): Use _Jv_StackTrace::GetCallingClass to implement
166         accessibility check.
167         * java/util/natResourceBundle.cc: Update includes.
168         (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.   
169         * java/util/logging/natLogger.cc: Update includes. Use 
170         _Jv_StackTrace::GetCallerInfo to get call-site info.    
171         * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
172         implementation.
173         * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
174         implementation.
175
176 2005-03-10  Ranjit Mathew  <rmathew@hotmail.com>
177
178         * testsuite/libjava.compile/PR20312.java: New file.
179         * testsuite/libjava.compile/PR20312.xfail: Likewise.
180         * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
181
182 2005-03-09  Andrew Haley  <aph@redhat.com>
183
184         * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
185         New.
186         (smallTransferTo): New.
187         (transferFrom): Loop around smallTransferFrom, copying pageSize
188         bytes each time.
189         (transferTo): Likewise.
190
191 2005-03-09  David Daney  <ddaney@avtrex.com>
192
193         PR libgcj/20389
194         Merge BufferedInputStream from GNU Classpath.
195         * java/io/BufferedInputStream.java (marktarget): Field removed.
196         (CHUNKSIZE): Field removed.
197         (bufferSize): New field.
198         (BufferedInputStream): Initialize fields.
199         (close): Invalidate mark and buffer indexes.
200         (mark):  Rewritten.
201         (read()): Move mark handling code to refill.
202         (read(byte[], int, int)): Ditto.
203         (skip): Ditto and simplify EOF testing.
204         (refill): Rewritten.
205         * java/io/InputStreamReader.java (refill): Removed mark and reset
206         of internal BufferedInputStream.
207
208 2005-03-09  Tom Tromey  <tromey@redhat.com>
209
210         * java/lang/natVMClassLoader.cc (defineClass): Reference
211         'systemClassLoader' field directly.
212         * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
213         field directly.
214         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
215         Reference 'systemClassLoader' field directly.
216         (_Jv_UnregisterInitiatingLoader): Likewise.
217         (_Jv_FindClass): Likewise.
218
219 2005-03-09  Andreas Tobler  <a.tobler@schweiz.ch>
220
221         * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
222
223         * java/lang/mprec.h: Remove commented headers. Fix comment to match
224         the file in GNU Classpath style.
225
226 2005-03-09  Tom Tromey  <tromey@redhat.com>
227
228         * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
229         (toString): Synchronize.
230
231 2005-03-08  Bryce McKinlay  <mckinlay@redhat.com>
232
233         * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
234         * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
235
236 2005-03-07  Tom Tromey  <tromey@redhat.com>
237
238         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
239         (usage): Document '-f'.
240
241 2005-03-07  Tom Tromey  <tromey@redhat.com>
242
243         * java/lang/VMCompiler.java (md5Digest): New field.
244         (compileClass): Clone md5Digest instead of looking up a new one.
245
246 2005-03-07  Tom Tromey  <tromey@redhat.com>
247
248         PR java/20215:
249         * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
250         * link.cc (find_field_helper): Added 'type' argument.
251         (find_field): Updated.
252
253 2005-04-07  Scott Gilbertson  <scottg@mantatest.com>
254         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
255         * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
256         throw UnsupportedOperationException, fixed comments.
257         (setFont, setForeground): Fixed comments.
258         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
259         return type to boolean.
260         (getNextEvent): Fixed javadocs.
261         * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
262         (nativeQueueEmpty): Removed unused code.
263         (iterateNativeQueue): Removed outer loop.
264
265 2005-03-06  Roger Sayle  <roger@eyesopen.com>
266
267         PR libgcj/20155
268         * Makefile.am (libgcj0_convenience.la): Revert last change.
269         * Makefile.in: Regenerate.
270
271 2005-03-05  Anthony Green  <green@redhat.com>
272
273         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
274         classpath_jawt_lock, classpath_jawt_unlock): New functions.
275         * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
276         (_Jv_GetDrawingSurface): Set visualID.
277         (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
278         (JAWT_GetAWT): Set Lock and Unlock.
279         * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
280         visualID.
281         * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
282         JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
283         JAWT_LOCK_SURFACE_CHANGED): New macros.
284         (struct _JAWT): Add Lock and Unlock.
285
286 2005-03-05  Roger Sayle  <roger@eyesopen.com>
287             Alexandre Oliva  <aoliva@redhat.com>
288             Kelley Cook  <kcook@gcc.gnu.org>
289
290         PR libgcj/20155
291         * Makefile.am (libgcj0_convenience.la): New rule to create a file
292         of the object files to link to avoid exceeding the command line
293         length limits on some platforms.
294         (clean-local): Clean up objectlist files.
295         * Makefile.in: Regenerate.
296
297 2005-03-05  Andreas Tobler  <a.tobler@schweiz.ch>
298
299         * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
300         spec_case. Initialize pointer mlo.
301
302         * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
303         delta.
304
305         * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
306
307         * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
308         and k.
309
310         * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
311         uninitialized variable z.
312
313         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
314         possible unused variables.
315
316         * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
317
318         * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
319
320 2005-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
321
322         PR libgcj/20292
323         * testsuite/libjava.jni/jni.exp
324         (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
325         flags.
326         (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
327
328 2005-02-23  David Daney  <ddaney@avtrex.com>
329
330         * configure.host: Don't use -mxgot for MIPS builds.
331
332 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
333
334         PR bootstrap/17383
335         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
336         (COMPPATH): Removed.
337         (ZIP, GCJH): Replace it with ../$(host_subdir).
338         (built_gcc_dir): Add $(host_subdir).
339         * configure: Regenerate.
340         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
341         gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
342         external/w3c_dom/Makefile.in: Regenerate.
343
344 2005-02-24  David Gilbert  <david.gilbert@object-refinery.com>
345
346         * java/awt/font/TextAttribute.java: changed names to lower case;
347         (readResolve): implemented.
348         Added doc comments all over.
349
350 2005-02-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
351
352         PR libgcj/16923
353         * jni.cc (JNI_CreateJavaVM): Check JNI version.  Cast args to
354         JvVMInitArgs.  Pass args to _Jv_CreateJavaVM and check return
355         value.  Move argument parsing code to prims.cc.
356         * prims.cc (no_properties): Remove.
357         (_Jv_Compiler_Properties): Initialize to NULL.
358         (_Jv_Properties_Count): Initialize to 0.
359         (parse_verbose_args): New function.
360         (parse_init_args): New function.
361         (_Jv_CreateJavaVM): Call parse_init_args.
362         (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
363         * gcj/cni.h (JvVMOption): New struct.
364         (JvVMInitArgs): Likewise.
365         (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
366         void*.
367         * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
368         (_Jv_VMInitArgs): Likewise.
369         * include/java-props.h (_Jv_Properties_Count): Declare.
370         * java/lang/natRuntime.cc (insertSystemProperties): Use
371         _Jv_Properties_Count in for loop exit condition.
372         * testsuite/libjava.jni/jni.exp
373         (gcj_invocation_compile_c_to_binary): New procedure.
374         (gcj_invocation_test_one): Likewise.
375         (gcj_jni_run): Run JNI invocation API tests.
376         * testsuite/libjava.jni/invocation/PR16923.c,
377         testsuite/libjava.jni/invocation/PR16923.java,
378         testsuite/libjava.jni/invocation/PR16923.out: New test.
379
380 2005-02-23  Michael Koch  <konqueror@gmx.de>
381
382         * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
383         * Makefile.in: Regenerated.
384
385 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
386
387         * gnu/java/nio/ChannelReader: Fixed comments.
388
389 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
390
391         * java/nio/channels/Channels: Added FIXMEs about
392         stub method implementation.
393         (newReader): Implemented.
394         * gnu/java/nio/ChannelReader: New class.
395
396 2005-02-23  Michael Koch  <konqueror@gmx.de>
397
398         * java/text/SimpleDateFormat.java:
399         Removed unused import.
400
401 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
402
403         PR libgcj/20029:
404         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
405         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
406         * Makefile.in: Regenerate.
407         * configure.ac: Check for libXtst.
408         * configure: Regenerate.
409
410 2005-02-22  Mark Wielaard  <address@bogus.example.com>
411
412         * java/security/AlgorithmParameterGenerator.java (getInstance):
413         Mention provider when throwing NoSuchProviderException.
414         * java/security/AlgorithmParameters.java (getInstance): Likewise.
415         * java/security/KeyFactory.java (getInstance): Likewise.
416         * java/security/KeyStore.java (getInstance): Likewise.
417         * java/security/SecureRandom.java (getInstance): Likewise.
418         * java/security/cert/CertificateFactory.java (getInstance): Likewise.
419
420 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
421
422         * java/lang/reflect/Proxy.java,
423         java/net/URL.java,
424         java/security/SecureRandom.java,
425         java/util/Timer.java,
426         java/util/prefs/AbstractPreferences.java:
427         Don't catch java.lang.ThreadDeath.
428
429 2005-02-22  David Gilbert  <david.gilbert@object-refinery.com>
430
431         * java/awt/font/TransformAttribute.java,
432         (TransformAttribute(AffineTransform)): throw
433         IllegalArgumentException for null transform.
434         (getTransform): return a copy of transform.
435         Added doc comments to all.
436
437 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
438
439         * java/io/Externalizable.java,
440         java/io/Serializable.java
441         (serialVersionUID): Removed.
442         * java/rmi/server/RemoteObject.java,
443         java/rmi/server/UID.java
444         (serialVersionUID): Made private.
445         * java/rmi/server/RemoteRef.java,
446         java/rmi/server/ServerRef.java
447         (serialVersionUID): Set proper value.
448         * java/security/interfaces/DSAPrivateKey.java,
449         java/security/interfaces/DSAPublicKey.java,
450         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
451         java/security/interfaces/RSAPrivateCrtKey.java,
452         java/security/interfaces/RSAPrivateKey.java,
453         java/security/interfaces/RSAPublicKey.java,
454         javax/crypto/SecretKey.java
455         (serialVersionUID): Added.
456
457 2005-02-22  Tom Tromey  <tromey@redhat.com>
458
459         * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
460
461 2005-02-22  Tom Tromey  <tromey@redhat.com>
462
463         PR java/20056:
464         * verify.cc (type::EITHER): New constant.
465         (check_field_constant): Use it.
466         (type::compatible): Handle it.
467
468 2005-02-22  Michael Koch  <konqueror@gmx.de>
469
470         * gnu/java/security/PolicyFile.java,
471         gnu/java/security/pkcs/PKCS7SignedData.java,
472         gnu/java/security/pkcs/SignerInfo.java:
473         Fixed copyright header.
474
475 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
476
477         * java/beans/PropertyDescriptor.java
478         (PropertyDescriptor,setReadMethod): Set propertyType.
479
480 2005-02-22  Michael Koch  <konqueror@gmx.de>
481
482         * java/nio/DirectByteBufferImpl.java
483         (owner): Fixed formatting of javadoc.
484         * java/text/DateFormat.java
485         (getAvailableLocales): Fixed formatting.
486         * java/text/SimpleDateFormat.java:
487         Fixed formatting and import statement order.
488         * java/util/Calendar.java
489         (Calendar): Fixed javadoc to be HTML compliant.
490         * java/util/SimpleTimeZone.java:
491         Fixed javadocs.
492
493 2005-02-22  Roman Kennke <roman@ontographics.com>
494
495         * javax/swing/plaf/basic/BasicLookAndFeel.java
496         (initComponentDefaults): Fixed Button left and right margin.
497
498 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
499
500         * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
501         empty Runnable.
502
503         PR libgcj/17952:
504         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
505         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
506         (getWidth): New method.
507         (getHeight): Likewise.
508         (create): Remove width, height and insets parameters.  Move size
509         setup ...
510         (realize_cb): ... here.  New function.
511         (connectSignals): Connect realize_cb.
512         (request_frame_extents): Remove FIXME.  Move
513         postInsetsChangedEvent lookup ...
514         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
515         ... here.  Look up GtkWindowPeer getWidth and getHeight methods.
516         * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
517         jmethodID.
518         (windowGetWidthID): Likewise.
519         (windowGetHeightID): Likewise.
520
521 2005-02-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
522
523         PR libgcj/19842
524         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
525         (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
526
527 2005-02-21  Bryce McKinlay  <mckinlay@redhat.com>
528
529         Merge serialization from GNU Classpath.
530         * gcj/method.h: Add missing #includes.
531         * java/io/ObjectInputStream.java (readClassDescriptor): Check for 
532         primitive class IDs on the stream here...
533         (resolveClass): ...not here.
534         * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
535         fields.
536         * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
537         setLongNative, setIntNative, setShortNative, setCharNative,
538         setByteNative, setBooleanNative, setObjectNative): New native methods.
539         * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
540         setLongNative, setIntNative, setShortNative, setCharNative,
541         setByteNative, setBooleanNative, setObjectNative): Implement them.
542         * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
543         from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
544         the constructor here.
545         (callConstructor): Removed.
546         (getCallersClassLoader): Removed.
547         * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
548         setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
549         to control whether setting final field values is permitted. Call
550         getAddr() with checkFinal parameter instead of setAddr().
551         * java/lang/reflect/natField.cc (getType): Lookup and resolve field
552         only if not done already.
553         (getAddr): Add checkFinal parameter. Do the final field check only if
554         checkFinal is set.
555         (setAddr): Removed.
556
557 2005-02-21  Mark Wielaard  <mark@klomp.org>
558
559         # Fixes bug #11957
560         * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
561         twice.
562         
563 2005-02-21  Mark Wielaard  <mark@klomp.org>
564
565         Fixes bug #11618.
566         * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
567         without a super class and us ObjectStreamClass.lookupForClassObject().
568         (resolveClass): Check for primitive types.
569         (lookupClass): Return null when argument is null.
570
571 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
572
573         * java/io/ObjectInputStream.java
574         (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
575
576 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
577
578         * java/io/ObjectOutputStream.java
579         (writeObject, callWriteMethod): Replaced reflection with accessing
580         cached info in ObjectStreamClass.
581         (getMethod): Removed.
582         * java/io/ObjectStreamClass.java
583         (findMethod): Added check to make sure the method found has the
584         right modifiers.
585         (cacheMethods): Added writeReplace and writeObject methods.
586         (setFlags): Look at new writeObjectMethod field instead of doing
587         reflection again.
588         (writeReplaceMethod): New field.
589         (writeObjectMethod): New field.
590
591 2005-02-21  Guilhem Lavaux  <guilhem@kaffe.org>
592         Jeroen Frijters  <jeroen@frijters.net>
593
594         * java/io/ObjectInputStream.java
595         (newObject): Changed prototype. Get a constructor reflect object
596         directly.
597         (callConstructor): Removed.
598         (allocateObject): Changed prototype.
599         (readClassDescriptor): Build the constructor reflection directly.
600         (readObject): Invoke newObject using the new prototype.
601
602         * java/io/ObjectStreamClass.java
603         (firstNonSerializableParent): Removed.
604         (firstNonSerializableParentConstructor): Added. 
605
606 2005-02-21  Mark Wielaard  <mark@klomp.org>
607
608         * gnu/java/locale/LocaleInformation_en.java: Extend
609         localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
610
611 2005-02-21  Mark Wielaard  <mark@klomp.org>
612
613         * java/text/SimpleDateFormat.java
614         (SimpleDateFormat(String, DateFormatSymbols)): Throw
615         NullPointerException when formatData is null.
616
617 2005-02-21  Mark Wielaard  <mark@klomp.org>
618
619         * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
620         taking dstSavings into account.
621
622 2005-02-21  Sven de Marothy <sven@physto.se>
623
624         * java/text/SimpleDateFormat.java,
625         (parse): Set correct DST_OFFSET to the correct value.
626
627 2005-02-21  Mark Wielaard  <mark@klomp.org>
628
629         * java/util/SimpleTimeZone.java (checkRule): Throw
630         IllegalArgumentException when month out of range.
631
632 2005-02-21  Sven de Marothy  <sven@physto.se>
633
634         * java/util/GregorianCalendar.java,
635         (add): Don't set fields directly anymore. Use set()
636
637 2005-02-21  Mark Wielaard  <mark@klomp.org>
638
639         * java/text/SimpleDateFormat.java (CompiledField.toString):
640         Use StringBuffer, not StringBuilder.
641         (toString): Likewise.
642
643 2005-02-21  Sven de Marothy  <sven@physto.se>
644
645         * java/util/Calendar.java 
646         (clear): Dates should clear to local time.
647         * java/util/GregorianCalendar.java      
648         (computeTime): Fix priority problem with DAY_OF_WEEK,
649         Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
650
651 2005-02-21  Sven de Marothy  <sven@physto.se>
652
653         * java/util/Calendar.java 
654         (Calendar): Constructor should clear fields.
655
656 2005-02-21  Sven de Marothy  <sven@physto.se>
657
658         * java/text/SimpleDateFormat.java
659         (parse): Tweak handling of 2-year dates
660         * java/util/Calendar.java
661         (clear): Clear fields to correct value.
662         * java/util/GregorianCalendar.java
663         (computeTime): Correct handling of time zones.
664         Correct field minimum values.
665
666 2005-02-21  Sven de Marothy  <sven@physto.se>
667
668         * java/util/Calendar.java
669         (set) Invalidate all fields on first call to set().
670
671 2005-02-21  Sven de Marothy  <sven@physto.se>
672
673         * java/util/GregorianCalendar.java
674         (computeTime): Fixed handling of time zones.
675
676 2005-02-21  Sven de Marothy  <sven@physto.se>
677
678         * java/util/Calendar.java
679         (clear): Set values to Epoch instead of zero.
680         (set): Set isSet to the relevant field pattern instead of just
681         the field.
682         * java/util/GregorianCalendar.java
683         (getBundle): Removed.
684         (getDayOfYear): Removed.
685         (getFirstDayOfMonth): New private method.
686         (nonLeniencyCheck): New private method.
687         (computeTime): Correct handling of insufficient data.
688
689 2005-02-21  Sven de Marothy <sven@physto.se>
690
691         * java/util/Calendar.java: Invalidate ERA field on setting
692         the YEAR.
693         * java/util/SimpleTimeZone.java:
694         (getDaysInMonth): Reimplemented.
695         * java/util/GregorianCalendar.java:
696         (getLinearTime): Removed.
697         (isLeapYear(int,boolean)): Removed.
698         (before(), after()): Removed.
699         (computeTime): Reimplemented.
700
701 2005-02-21  Sven de Marothy <sven@physto.se>
702
703         * java/util/Calendar.java: Reformatted.
704         * java/util/GregorianCalendar.java: Reformatted.
705         * java/util/SimpleTimeZone.java: Reformatted.
706
707 2005-02-21  Sven de Marothy <sven@physto.se>
708
709         * java/util/GregorianCalendar.java
710         (GregorianCalendar): Update fields in the constructor
711
712 2005-02-21  Noa Resare  <noa@resare.com>
713
714         * java/util/Calendar.java (explicitDSTOffset): New instance field.
715         (set(int,int)): Set and use new field.
716         (set(int,int,int)): Check new field.
717
718 2005-02-21  Noa Resare  <address@hidden>
719
720         * java/util/Calendar.java(set):
721         Fix for DST related regression.
722
723 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
724
725         * java/util/Calendar.java
726         (setTimeInMillis): Added call to clear, removed computeFields call.
727         * java/util/Date.java
728         (Date(int,int,int,int,int,int)): Removed workaround for
729         GregorianCalendar bug.
730         * java/util/GregorianCalendar.java
731         (GregorianCalendar): Chained all constructors to a (new)
732         common constructor.
733         (computeTime): Fixed support for lenient month treatment.
734         (getLinearDay): Return long instead of int.
735         (calculateDay): Added fields argument and changed day argument
736         to long.
737
738 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
739
740         * java/text/SimpleDateFormat.java
741         Lots of documentation updates.
742         (readObject(java.io.ObjectInputStream)): Wraps
743         IllegalArgumentException as specified.
744         (compileFormat(String)): Uses standardChars
745         rather than the local pattern characters.
746         Throws IllegalArgumentException rather than
747         storing a -1 field.
748         (toString()): Extended to include all variables
749         in a better format.
750         (translateLocalizedPattern(String, String, String)):
751         Renamed to better define the use of this method.
752
753 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
754
755         * java/text/DateFormat.java:
756         Documented pattern character offset constants and
757         added new ones.
758         (Field): Added new static fields for new pattern chars.
759         * java/text/SimpleDateFormat.java:
760         (CompiledField): Changed name of FieldSizePair class
761         to CompiledField after adding the character as an
762         attribute.  Changed fields to private and added
763         accessors to give encapsulation.
764         (CompiledField.CompiledField(int,int,char)): Extended
765         with character field.
766         (CompiledField.getField()): New accessor method.
767         (CompiledField.getSize()): New acceessor method.
768         (CompiledField.getCharacter()): New accessor method.
769         (CompiledField.toString()): Added primarily for debugging.
770         (standardChars): Now uses extended 24 character sequence.
771         (compileFormat(String)): Changed to use CompiledField.
772         (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
773         java.text.FieldPosition)): Changed to use CompiledField.
774         New handler for RFC 822 timezones added.
775
776 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
777
778         * java/text/SimpleDateFormat.java:
779         (parse(String, java.text.ParsePosition)):
780         Changed 'E' and 'M' cases to use both
781         short and long names.  Extended 'z'
782         case to also handle 'Z', and deal
783         with simple GMT offsets such as +0100.
784         (computeOffset(String)): New private method,
785         which converts a GMT offset specification,
786         such as GMT-0500 to a numeric offset in
787         milliseconds.
788         * java/util/TimeZone.java:
789         (timezones()): Added "CEST", the daylight
790         savings time version of "CET", or Central
791         European Time.
792
793 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
794
795         * java/text/SimpleDateFormat.java:
796         (parse): Set the DST offset to 0 when parsing
797         GMT offset timezones.
798
799 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
800
801         * java/text/SimpleDateFormat.java:
802         (parse): Use offset to set ZONE_OFFSET
803         rather than the DST_OFFSET, so that
804         GMT offset timezones change the right
805         one.
806
807 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
808
809         * java/text/SimpleDateFormat.java:
810         (getDateFormatSymbols()): return a copy
811         (setDateFormatSymbols(java.text.DateFormatSymbols)):
812         throw exception on null input
813         (clone()): implemented to clone
814         internal fields
815
816 2005-02-21  Sven de Marothy <sven@physto.se>
817
818         * java/text/SimpleDateFormat.java
819         (parse): comparison should be case-insensitive, ignore null
820         strings.
821
822 2005-02-21  Robert Schuster  <theBohemian@gmx.net>
823
824         * gnu/java/beans/IntrospectionIncubator.java
825         (addMethod) Reverts the patch that ntroduced a regression (see bug
826         https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
827
828 2005-02-21  Michael Koch  <konqueror@gmx.de>
829
830         * java/awt/Checkbox.java
831         (next_checkbox_number): New static variable.
832         (generateName): New method.
833         (getUniqueLong): Likewise.
834         * java/awt/Window.java
835         (next_window_number): New static variable.
836         (generateName): New method.
837         (getUniqueLong): Likewise.
838
839 2005-02-21  Mark Wielaard  <mark@klomp.org>
840
841         * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
842         exists.
843
844 2005-02-21  Andrew Haley  <aph@redhat.com>
845
846         * Makefile.in: Rebuilt.
847         * Makefile.am (nat_source_files): Added natLogger.cc.
848         * java/util/logging/natLogger.cc: New file.
849         * java/util/logging/Logger.java (getCallerStackFrame): Now
850         native.
851
852 2005-02-21  Andreas Tobler  <a.tobler@schweiz.ch>
853
854         * Makefile.am (all_property_files): Remove left over.
855         (classes.stamp): Add stamp for the ONESTEP build, also known as
856         --enable-libgcj-multifile.
857         * Makefile.in: Regenerated.
858
859 2005-02-21  Michael Koch  <konqueror@gmx.de>
860
861         * java/awt/Button.java,
862         java/awt/Container.java,
863         java/awt/Font.java,
864         java/awt/Frame.java,
865         java/text/CollationElementIterator.java,
866         java/text/RuleBasedCollator.java,
867         java/util/PropertyPermission.java:
868         Fixed formatting issues all over.
869
870 2005-02-21  Mark Wielaard  <mark@klomp.org>
871
872         * java/io/FileDescriptor.java (sync): Add real exception to
873         SyncFailedException.
874
875 2005-02-21  Michael Koch  <konqueror@gmx.de>
876
877         * java/io/InputStreamReader.java:
878         Fixed @author tag.
879
880 2005-02-20  Rutger Ovidius  <ovidr@users.sourceforge.net>
881
882         PR libgcj/19728:
883         * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
884
885 2005-02-20  Dalibor Topic  <robilad@kaffe.org>
886
887         * libraries/javalib/gnu/regexp/RE.java,
888         libraries/javalib/java/io/ObjectInputStream.java,
889         libraries/javalib/java/security/AllPermission.java,
890         libraries/javalib/java/security/BasicPermission.java,
891         libraries/javalib/java/security/Permissions.java,
892         libraries/javalib/java/text/MessageFormat.java:
893         Made 'inner' classes real public static inner classes,
894         and made them final where possible, or removed them
895         where unused.
896
897 2005-02-20  Michael Koch  <konqueror@gmx.de>
898
899         * gnu/java/text/FormatCharacterIterator.java:
900         Removed redundant modifiers.
901
902 2005-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
903
904         * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
905         snprintf.
906
907 2005-02-19  Michael Koch  <konqueror@gmx.de>
908
909         * Makefile.am: Added new files in gnu/java/beans and
910         java/beans/XMLDecoder.java.
911         * Makefile.in: Regenerated.
912
913 2005-02-19  Robert Schuster  <thebohemian@gmx.net>
914
915         * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
916         assignment behavior by using java.lang.reflect.Array.set()
917         directly.
918
919 2005-02-19  Dalibor Topic  <robilad@kaffe.org>
920
921         * gnu/java/beans/EmptyBeanInfo.java,
922         gnu/java/beans/info/ComponentBeanInfo.java:
923         Removed unused files.
924
925 2005-02-19  Robert Schuster <thebohemian@gmx.net>
926
927         * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
928         of AppletStub for java.beans.Beans.instantiate.
929         * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
930         of AppletContext.
931         * java/beans/Beans: Added 1.4 functionality, fixed user documentation
932         to be conformant with Javadoc guidelines.
933         (instantiate): Added two more overloaded variants, reworked user
934         documentation, fixed exception behavior, fixed behavior when
935         deserializing null.
936
937 2005-02-19  Mark Wielaard  <mark@klomp.org>
938
939         * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
940         failing methods.
941         * gnu/java/beans/decoder/DummyContext.java: Likewise.
942
943 2005-02-19  Robert Schuster  <theBohemian@gmx.net>
944
945         * gnu/java/beans/decoder/AbstractContext.java,
946         gnu/java/beans/decoder/AbstractCreatableContext.java,
947         gnu/java/beans/decoder/AbstractElementHandler.java,
948         gnu/java/beans/decoder/AbstractObjectContext.java,
949         gnu/java/beans/decoder/ArrayContext.java,
950         gnu/java/beans/decoder/ArrayHandler.java,
951         gnu/java/beans/decoder/AssemblyException.java,
952         gnu/java/beans/decoder/BooleanHandler.java,
953         gnu/java/beans/decoder/ByteHandler.java,
954         gnu/java/beans/decoder/CharHandler.java,
955         gnu/java/beans/decoder/ClassHandler.java,
956         gnu/java/beans/decoder/ConstructorContext.java,
957         gnu/java/beans/decoder/Context.java,
958         gnu/java/beans/decoder/DecoderContext.java,
959         gnu/java/beans/decoder/DefaultExceptionListener.java,
960         gnu/java/beans/decoder/DoubleHandler.java,
961         gnu/java/beans/decoder/DummyContext.java,
962         gnu/java/beans/decoder/DummyHandler.java,
963         gnu/java/beans/decoder/ElementHandler.java,
964         gnu/java/beans/decoder/FloatHandler.java,
965         gnu/java/beans/decoder/GrowableArrayContext.java,
966         gnu/java/beans/decoder/IndexContext.java,
967         gnu/java/beans/decoder/IntHandler.java,
968         gnu/java/beans/decoder/JavaHandler.java,
969         gnu/java/beans/decoder/LongHandler.java,
970         gnu/java/beans/decoder/MethodContext.java,
971         gnu/java/beans/decoder/MethodFinder.java,
972         gnu/java/beans/decoder/NullHandler.java,
973         gnu/java/beans/decoder/ObjectContext.java,
974         gnu/java/beans/decoder/ObjectHandler.java,
975         gnu/java/beans/decoder/PersistenceParser.java,
976         gnu/java/beans/decoder/PropertyContext.java,
977         gnu/java/beans/decoder/ShortHandler.java,
978         gnu/java/beans/decoder/SimpleHandler.java,
979         gnu/java/beans/decoder/StaticMethodContext.java,
980         gnu/java/beans/decoder/StringHandler.java,
981         gnu/java/beans/decoder/VoidHandler.java: New class
982         implementing java.beans.XMLDecoder decoding functionality.
983         * java/beans/XMLDecoder.java: New class.
984
985 2005-02-19  Michael Koch  <konqueror@gmx.de>
986
987         * javax/swing/JTextField.java
988         (notfiyAction): Added javadoc.
989
990 2005-02-19  Sven de Marothy  <sven@physto.se>
991
992         * javax/swing/SpinnerDateModel.java: Implemented.
993
994 2005-02-19  Michael Koch  <konqueror@gmx.de>
995
996         * Makefile.am: Added javax/swing/SpinnerDateModel.java.
997         * Makefile.in: Regenerated.
998
999 2005-02-19  Michael Koch  <konqueror@gmx.de>
1000
1001         * gnu/java/nio/SelectorImpl.java:
1002         Reworked import statements.
1003         (register): Removed unused code.
1004         * java/nio/channels/Channels.java: Reformatted.
1005         * java/nio/charset/Charset.java: Likewise.
1006         * java/rmi/server/RemoteObject.java
1007         (serialVersionUID): Made private.
1008         * java/rmi/server/UID.java
1009         (serialVersionUID): Likewise.
1010
1011 2005-02-19  Michael Koch  <konqueror@gmx.de>
1012
1013         * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
1014         gnu/java/net/protocol/ftp/BlockInputStream.java,
1015         gnu/java/net/protocol/ftp/BlockOutputStream.java,
1016         gnu/java/net/protocol/ftp/CompressedInputStream.java,
1017         gnu/java/net/protocol/ftp/CompressedOutputStream.java,
1018         gnu/java/net/protocol/ftp/DTPInputStream.java,
1019         gnu/java/net/protocol/ftp/DTP.java,
1020         gnu/java/net/protocol/ftp/DTPOutputStream.java,
1021         gnu/java/net/protocol/ftp/FTPConnection.java,
1022         gnu/java/net/protocol/ftp/FTPException.java,
1023         gnu/java/net/protocol/ftp/FTPResponse.java,
1024         gnu/java/net/protocol/ftp/FTPURLConnection.java,
1025         gnu/java/net/protocol/ftp/Handler.java,
1026         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
1027         gnu/java/net/protocol/ftp/StreamInputStream.java,
1028         gnu/java/net/protocol/ftp/StreamOutputStream.java,
1029         gnu/java/net/CRLFInputStream.java,
1030         gnu/java/net/CRLFOutputStream.java,
1031         gnu/java/net/GetLocalHostAction.java,
1032         gnu/java/net/protocol/ftp/package.html: New files.
1033         * Makefile.am: Added new files.
1034         * Makefile.in: Regenerated.
1035
1036 2005-02-18  Tom Tromey  <tromey@redhat.com>
1037
1038         * link.cc (make_vtable): Remove abstract method check.
1039         (append_partial_itable): Likewise.
1040
1041         PR java/20056:
1042         * verify.cc (type::equals): Fixed test.
1043         * testsuite/libjava.lang/PR20056.out: New file.
1044         * testsuite/libjava.lang/PR20056.java: New file.
1045
1046 2005-02-18  Bryce McKinlay  <mckinlay@redhat.com>
1047
1048         * java/util/LinkedHashMap (addEntry): Call remove() with key argument, 
1049         not the HashEntry. Reported by Jean-Marie White.
1050
1051 2005-02-18  Tom Tromey  <tromey@redhat.com>
1052
1053         PR java/20056:
1054         * include/jvm.h (_Jv_Linker::has_field_p): Declare.
1055         * link.cc (has_field_p): New function.
1056         * verify.cc (check_field_constant): Added 'putfield' argument.
1057         (verify_instructions_0): Updated.
1058         (type::equals): New method.
1059
1060 2005-02-18  Anthony Green  <green@redhat.com>
1061
1062         * NEWS: Draft of libgcj NEWS for 4.0.
1063
1064 2005-02-18  Anthony Green  <green@redhat.com>
1065
1066         * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
1067         architecture names to "i386" for compatibility reasons.  Win32
1068         still uses "x86".
1069
1070 2005-02-18  Anthony Green  <green@redhat.com>
1071
1072         * gij.cc (version): Change year for '--version' to 2005.
1073         * gnu/gcj/convert/Convert.java: Ditto.
1074         * gnu/java/rmi/rmic/RMIC.java: Ditto.
1075         * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
1076
1077         * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
1078         recent copyright year in `--version' output.
1079
1080 2005-02-18  Robert Schuster <thebohemian@gmx.net>
1081
1082         * java/nio/charset/Charset.java (forName): Throws
1083         IllegalArgumentException when argument is null
1084         and added documentation.
1085
1086 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1087
1088         * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
1089         Move the position of the source buffer forward.
1090
1091 2005-02-17  Tom Tromey  <tromey@redhat.com>
1092
1093         * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
1094         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
1095         * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
1096         * link.cc (_Jv_GetMethodString): Added 'derived' argument.
1097         Changed type of second argument.  Rewrote.
1098         (make_vtable): Use it.
1099         (append_partial_itable): Updated.
1100         (layout_vtable_methods): Updated.
1101
1102 2005-02-17  Michael Koch  <konqueror@gmx.de>
1103
1104         * gnu/java/net/PlainSocketImpl.java
1105         (shutdownInput): Added javadoc.
1106         (shutdownOutput): Likewise.
1107
1108 2005-02-17  Michael Koch  <konqueror@gmx.de>
1109
1110         * javax/print/attribute/standard/Chromaticity.java,
1111         javax/print/attribute/standard/Destination.java,
1112         javax/print/attribute/standard/MediaPrintableArea.java,
1113         javax/print/attribute/standard/MediaSize.java: New files.
1114         * Makefile.am: Added new files.
1115         * Makefile.in: Regenerated.
1116
1117 2005-02-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1118             Michael Koch  <konqueror@gmx.de>
1119
1120         * gnu/java/net/protocol/http/Cookie.java,
1121         gnu/java/net/protocol/http/HTTPConnection.java,
1122         gnu/java/net/protocol/http/HTTPDateFormat.java,
1123         gnu/java/net/protocol/http/Request.java,
1124         gnu/java/nio/PipeImpl.java,
1125         gnu/java/rmi/dgc/DGCImpl.java,
1126         gnu/java/rmi/server/ConnectionRunnerPool.java,
1127         gnu/java/rmi/server/UnicastConnectionManager.java,
1128         gnu/java/security/der/DERWriter.java,
1129         gnu/java/security/pkcs/SignerInfo.java,
1130         gnu/java/security/provider/EncodedKeyFactory.java,
1131         gnu/java/security/provider/GnuDHPublicKey.java,
1132         gnu/java/security/provider/GnuDSAPrivateKey.java,
1133         gnu/java/security/provider/GnuDSAPublicKey.java,
1134         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
1135         gnu/java/security/x509/X500DistinguishedName.java,
1136         gnu/java/security/x509/X509CRL.java,
1137         gnu/java/security/x509/X509CRLEntry.java,
1138         gnu/java/security/x509/X509Certificate.java,
1139         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
1140         gnu/java/security/x509/ext/CertificatePolicies.java,
1141         gnu/java/security/x509/ext/PolicyConstraint.java,
1142         gnu/xml/dom/Consumer.java,
1143         gnu/xml/dom/DomCharacterData.java,
1144         gnu/xml/dom/DomDocument.java,
1145         gnu/xml/dom/DomDocumentBuilder.java,
1146         gnu/xml/dom/DomIterator.java,
1147         gnu/xml/dom/DomNode.java,
1148         gnu/xml/dom/DomXPathExpression.java,
1149         gnu/xml/dom/DomXPathResult.java,
1150         gnu/xml/dom/JAXPFactory.java,
1151         gnu/xml/pipeline/CallFilter.java,
1152         gnu/xml/pipeline/DomConsumer.java,
1153         gnu/xml/pipeline/LinkFilter.java,
1154         gnu/xml/pipeline/NSFilter.java,
1155         gnu/xml/pipeline/TeeConsumer.java,
1156         gnu/xml/pipeline/ValidationConsumer.java,
1157         gnu/xml/pipeline/WellFormednessFilter.java,
1158         gnu/xml/pipeline/XIncludeFilter.java,
1159         gnu/xml/pipeline/XsltFilter.java,
1160         gnu/xml/transform/ApplyImportsNode.java,
1161         gnu/xml/transform/Bindings.java,
1162         gnu/xml/transform/DocumentFunction.java,
1163         gnu/xml/transform/FormatNumberFunction.java,
1164         gnu/xml/transform/NodeNumberNode.java,
1165         gnu/xml/transform/NumberNode.java,
1166         gnu/xml/transform/Stylesheet.java,
1167         gnu/xml/transform/SystemPropertyFunction.java,
1168         gnu/xml/transform/Template.java,
1169         gnu/xml/transform/TemplatesImpl.java,
1170         gnu/xml/transform/TransformerImpl.java,
1171         gnu/xml/transform/ValueOfNode.java,
1172         gnu/xml/transform/XSLURIResolver.java,
1173         gnu/xml/util/DoParse.java,
1174         gnu/xml/util/Resolver.java,
1175         gnu/xml/xpath/Expr.java,
1176         gnu/xml/xpath/FunctionCall.java,
1177         gnu/xml/xpath/RelationalExpr.java,
1178         gnu/xml/xpath/Selector.java,
1179         gnu/xml/xpath/XPathParser.java:
1180         Reworked import statements, fixed modifier order and some little
1181         formatting issues.
1182
1183 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1184
1185         * java/nio/ByteBufferImpl.java (compact):
1186         Set position and limit even if no bytes were moved.
1187
1188 2005-02-17  Michael Koch  <konqueror@gmx.de>
1189
1190         * java/nio/CharViewBufferImpl.java (compact): Likewise.
1191         * java/nio/DirectByteBufferImpl.java (compact): Likewise.
1192         * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
1193         * java/nio/FloatViewBufferImpl.java (compact): Likewise.
1194         * java/nio/IntViewBufferImpl.java (compact): Likewise.
1195         * java/nio/LongViewBufferImpl.java (compact): Likewise.
1196         * java/nio/MappedByteBufferImpl.java (compact): Likewise.
1197         * java/nio/ShortViewBufferImpl.java (compact): Likewise.
1198         * java/nio/FloatBufferImpl.java (compact): Set position.
1199         * java/nio/CharBufferImpl.java (compact): Likewise.
1200         * java/nio/DoubleBufferImpl.java (compact): Likewise.
1201         * java/nio/IntBufferImpl.java (compact): Likewise.
1202         * java/nio/LongBufferImpl.java (compact): Likewise.
1203         * java/nio/ShortBufferImpl.java (compact): Likewise.
1204
1205 2005-02-17  Jeroen Frijters  <jeroen@frijters.net>
1206
1207         * java/nio/ByteBufferImpl.java,
1208         java/nio/CharBufferImpl.java,
1209         java/nio/DirectByteBufferImpl.java,
1210         java/nio/DoubleBufferImpl.java,
1211         java/nio/FloatBufferImpl.java,
1212         java/nio/IntBufferImpl.java,
1213         java/nio/LongBufferImpl.java,
1214         java/nio/MappedByteBufferImpl.java,
1215         java/nio/ShortBufferImpl.java
1216         (compact): Added explicit read-only check and invalidate mark.
1217
1218 2005-02-17  Michael Koch  <konqueror@gmx.de>
1219
1220         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1221         gnu/java/awt/peer/gtk/GdkFontPeer.java,
1222         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1223         gnu/java/awt/peer/gtk/GdkGraphics.java,
1224         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1225         gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
1226         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1227         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1228         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
1229         gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
1230         gnu/java/awt/peer/gtk/GdkTextLayout.java,
1231         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
1232         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
1233         gnu/java/awt/peer/gtk/GtkClipboard.java,
1234         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1235         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1236         gnu/java/awt/peer/gtk/GtkFontPeer.java,
1237         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1238         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
1239         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
1240         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
1241         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
1242         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
1243         gnu/java/awt/peer/gtk/GtkToolkit.java,
1244         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1245         java/applet/Applet.java,
1246         java/awt/AWTError.java,
1247         java/awt/AWTEvent.java,
1248         java/awt/AWTEventMulticaster.java,
1249         java/awt/AWTException.java,
1250         java/awt/AWTKeyStroke.java,
1251         java/awt/AWTPermission.java,
1252         java/awt/ActiveEvent.java,
1253         java/awt/Adjustable.java,
1254         java/awt/AlphaComposite.java,
1255         java/awt/AttributeValue.java,
1256         java/awt/BorderLayout.java,
1257         java/awt/BufferCapabilities.java,
1258         java/awt/Button.java,
1259         java/awt/Canvas.java,
1260         java/awt/CheckboxGroup.java,
1261         java/awt/CheckboxMenuItem.java,
1262         java/awt/Color.java,
1263         java/awt/ColorPaintContext.java,
1264         java/awt/Component.java,
1265         java/awt/ComponentOrientation.java,
1266         java/awt/Composite.java,
1267         java/awt/CompositeContext.java,
1268         java/awt/Container.java,
1269         java/awt/ContainerOrderFocusTraversalPolicy.java,
1270         java/awt/DefaultFocusTraversalPolicy.java,
1271         java/awt/Dialog.java,
1272         java/awt/Dimension.java,
1273         java/awt/DisplayMode.java,
1274         java/awt/EventQueue.java,
1275         java/awt/FileDialog.java,
1276         java/awt/FontFormatException.java,
1277         java/awt/Graphics.java,
1278         java/awt/Graphics2D.java,
1279         java/awt/GraphicsConfigTemplate.java,
1280         java/awt/GraphicsConfiguration.java,
1281         java/awt/GraphicsDevice.java,
1282         java/awt/GridBagLayout.java,
1283         java/awt/GridBagLayoutInfo.java,
1284         java/awt/GridLayout.java,
1285         java/awt/HeadlessException.java,
1286         java/awt/IllegalComponentStateException.java,
1287         java/awt/Image.java,
1288         java/awt/Insets.java,
1289         java/awt/ItemSelectable.java,
1290         java/awt/JobAttributes.java,
1291         java/awt/KeyEventDispatcher.java,
1292         java/awt/KeyEventPostProcessor.java,
1293         java/awt/KeyboardFocusManager.java,
1294         java/awt/Label.java,
1295         java/awt/LayoutManager.java,
1296         java/awt/MenuBar.java,
1297         java/awt/MenuComponent.java,
1298         java/awt/MenuContainer.java,
1299         java/awt/PageAttributes.java,
1300         java/awt/Paint.java,
1301         java/awt/PaintContext.java,
1302         java/awt/Panel.java,
1303         java/awt/Point.java,
1304         java/awt/Polygon.java,
1305         java/awt/PrintGraphics.java,
1306         java/awt/PrintJob.java,
1307         java/awt/Rectangle.java,
1308         java/awt/RenderingHints.java,
1309         java/awt/Shape.java,
1310         java/awt/Stroke.java,
1311         java/awt/SystemColor.java,
1312         java/awt/Toolkit.java,
1313         java/awt/Transparency.java,
1314         java/awt/Window.java,
1315         java/awt/color/CMMException.java,
1316         java/awt/color/ColorSpace.java,
1317         java/awt/color/ICC_ColorSpace.java,
1318         java/awt/color/ICC_Profile.java,
1319         java/awt/color/ProfileDataException.java,
1320         java/awt/datatransfer/FlavorTable.java,
1321         java/awt/datatransfer/MimeTypeParseException.java,
1322         java/awt/datatransfer/Transferable.java,
1323         java/awt/datatransfer/UnsupportedFlavorException.java,
1324         java/awt/dnd/Autoscroll.java,
1325         java/awt/dnd/DnDConstants.java,
1326         java/awt/dnd/DragGestureListener.java,
1327         java/awt/dnd/DragSourceAdapter.java,
1328         java/awt/dnd/DragSourceDropEvent.java,
1329         java/awt/dnd/DragSourceListener.java,
1330         java/awt/dnd/DragSourceMotionListener.java,
1331         java/awt/dnd/DropTargetAdapter.java,
1332         java/awt/dnd/DropTargetContext.java,
1333         java/awt/dnd/DropTargetListener.java,
1334         java/awt/dnd/InvalidDnDOperationException.java,
1335         java/awt/dnd/MouseDragGestureRecognizer.java,
1336         java/awt/dnd/peer/DropTargetContextPeer.java,
1337         java/awt/event/AWTEventListener.java,
1338         java/awt/event/AWTEventListenerProxy.java,
1339         java/awt/event/ActionEvent.java,
1340         java/awt/event/AdjustmentEvent.java,
1341         java/awt/event/AdjustmentListener.java,
1342         java/awt/event/ComponentAdapter.java,
1343         java/awt/event/ComponentEvent.java,
1344         java/awt/event/ComponentListener.java,
1345         java/awt/event/ContainerAdapter.java,
1346         java/awt/event/ContainerEvent.java,
1347         java/awt/event/ContainerListener.java,
1348         java/awt/event/FocusAdapter.java,
1349         java/awt/event/FocusEvent.java,
1350         java/awt/event/FocusListener.java,
1351         java/awt/event/InputEvent.java,
1352         java/awt/event/InputMethodEvent.java,
1353         java/awt/event/InputMethodListener.java,
1354         java/awt/event/InvocationEvent.java,
1355         java/awt/event/ItemEvent.java,
1356         java/awt/event/ItemListener.java,
1357         java/awt/event/KeyAdapter.java,
1358         java/awt/event/KeyEvent.java,
1359         java/awt/event/KeyListener.java,
1360         java/awt/event/MouseAdapter.java,
1361         java/awt/event/MouseEvent.java,
1362         java/awt/event/MouseListener.java,
1363         java/awt/event/MouseMotionAdapter.java,
1364         java/awt/event/MouseMotionListener.java,
1365         java/awt/event/MouseWheelEvent.java,
1366         java/awt/event/MouseWheelListener.java,
1367         java/awt/event/PaintEvent.java,
1368         java/awt/event/TextEvent.java,
1369         java/awt/event/TextListener.java,
1370         java/awt/event/WindowAdapter.java,
1371         java/awt/event/WindowEvent.java,
1372         java/awt/event/WindowFocusListener.java,
1373         java/awt/event/WindowListener.java,
1374         java/awt/event/WindowStateListener.java,
1375         java/awt/font/TextHitInfo.java,
1376         java/awt/geom/CubicCurve2D.java,
1377         java/awt/geom/Dimension2D.java,
1378         java/awt/geom/Ellipse2D.java,
1379         java/awt/geom/IllegalPathStateException.java,
1380         java/awt/geom/Line2D.java,
1381         java/awt/geom/NoninvertibleTransformException.java,
1382         java/awt/geom/PathIterator.java,
1383         java/awt/geom/Point2D.java,
1384         java/awt/geom/QuadCurve2D.java,
1385         java/awt/geom/RectangularShape.java,
1386         java/awt/geom/RoundRectangle2D.java,
1387         java/awt/im/InputContext.java,
1388         java/awt/im/InputMethodHighlight.java,
1389         java/awt/im/InputMethodRequests.java,
1390         java/awt/im/InputSubset.java,
1391         java/awt/im/spi/InputMethod.java,
1392         java/awt/im/spi/InputMethodDescriptor.java,
1393         java/awt/image/BandCombineOp.java,
1394         java/awt/image/BandedSampleModel.java,
1395         java/awt/image/ByteLookupTable.java,
1396         java/awt/image/ComponentSampleModel.java,
1397         java/awt/image/DataBuffer.java,
1398         java/awt/image/DataBufferByte.java,
1399         java/awt/image/DataBufferDouble.java,
1400         java/awt/image/DataBufferFloat.java,
1401         java/awt/image/DataBufferInt.java,
1402         java/awt/image/DataBufferShort.java,
1403         java/awt/image/DataBufferUShort.java,
1404         java/awt/image/ImagingOpException.java,
1405         java/awt/image/Kernel.java,
1406         java/awt/image/LookupTable.java,
1407         java/awt/image/MultiPixelPackedSampleModel.java,
1408         java/awt/image/PackedColorModel.java,
1409         java/awt/image/PixelInterleavedSampleModel.java,
1410         java/awt/image/RGBImageFilter.java,
1411         java/awt/image/Raster.java,
1412         java/awt/image/RasterFormatException.java,
1413         java/awt/image/SampleModel.java,
1414         java/awt/image/ShortLookupTable.java,
1415         java/awt/image/SinglePixelPackedSampleModel.java,
1416         java/awt/image/WritableRaster.java,
1417         java/awt/print/PrinterAbortException.java,
1418         java/awt/print/PrinterException.java,
1419         java/awt/print/PrinterIOException.java,
1420         java/beans/AppletInitializer.java,
1421         java/beans/ExceptionListener.java,
1422         java/beans/PropertyChangeEvent.java,
1423         java/beans/PropertyChangeListenerProxy.java,
1424         java/beans/PropertyChangeSupport.java,
1425         java/beans/PropertyDescriptor.java,
1426         java/beans/VetoableChangeListenerProxy.java,
1427         java/beans/VetoableChangeSupport.java,
1428         java/io/BufferedReader.java,
1429         java/io/ByteArrayInputStream.java,
1430         java/io/ByteArrayOutputStream.java,
1431         java/io/CharArrayReader.java,
1432         java/io/CharArrayWriter.java,
1433         java/io/CharConversionException.java,
1434         java/io/DataInput.java,
1435         java/io/DataInputStream.java,
1436         java/io/DataOutput.java,
1437         java/io/DataOutputStream.java,
1438         java/io/EOFException.java,
1439         java/io/FileInputStream.java,
1440         java/io/FileNotFoundException.java,
1441         java/io/FileOutputStream.java,
1442         java/io/FilenameFilter.java,
1443         java/io/FilterInputStream.java,
1444         java/io/FilterOutputStream.java,
1445         java/io/FilterReader.java,
1446         java/io/FilterWriter.java,
1447         java/io/IOException.java,
1448         java/io/InputStream.java,
1449         java/io/InterruptedIOException.java,
1450         java/io/LineNumberInputStream.java,
1451         java/io/LineNumberReader.java,
1452         java/io/ObjectInputStream.java,
1453         java/io/ObjectStreamException.java,
1454         java/io/OptionalDataException.java,
1455         java/io/OutputStream.java,
1456         java/io/OutputStreamWriter.java,
1457         java/io/PrintStream.java,
1458         java/io/PrintWriter.java,
1459         java/io/PushbackInputStream.java,
1460         java/io/PushbackReader.java,
1461         java/io/RandomAccessFile.java,
1462         java/io/Reader.java,
1463         java/io/SequenceInputStream.java,
1464         java/io/Serializable.java,
1465         java/io/StreamCorruptedException.java,
1466         java/io/StreamTokenizer.java,
1467         java/io/StringBufferInputStream.java,
1468         java/io/StringWriter.java,
1469         java/io/SyncFailedException.java,
1470         java/io/UTFDataFormatException.java,
1471         java/io/UnsupportedEncodingException.java,
1472         java/io/WriteAbortedException.java,
1473         java/io/Writer.java,
1474         java/lang/AbstractMethodError.java,
1475         java/lang/ArithmeticException.java,
1476         java/lang/ArrayIndexOutOfBoundsException.java,
1477         java/lang/ArrayStoreException.java,
1478         java/lang/AssertionError.java,
1479         java/lang/Boolean.java,
1480         java/lang/Byte.java,
1481         java/lang/Class.java,
1482         java/lang/ClassCastException.java,
1483         java/lang/ClassCircularityError.java,
1484         java/lang/ClassLoader.java,
1485         java/lang/ClassNotFoundException.java,
1486         java/lang/CloneNotSupportedException.java,
1487         java/lang/Cloneable.java,
1488         java/lang/Comparable.java,
1489         java/lang/Compiler.java,
1490         java/lang/Double.java,
1491         java/lang/Error.java,
1492         java/lang/Exception.java,
1493         java/lang/ExceptionInInitializerError.java,
1494         java/lang/Float.java,
1495         java/lang/IllegalAccessError.java,
1496         java/lang/IllegalAccessException.java,
1497         java/lang/IllegalArgumentException.java,
1498         java/lang/IllegalMonitorStateException.java,
1499         java/lang/IllegalStateException.java,
1500         java/lang/IllegalThreadStateException.java,
1501         java/lang/IncompatibleClassChangeError.java,
1502         java/lang/IndexOutOfBoundsException.java,
1503         java/lang/InheritableThreadLocal.java,
1504         java/lang/InstantiationError.java,
1505         java/lang/InstantiationException.java,
1506         java/lang/Integer.java,
1507         java/lang/InternalError.java,
1508         java/lang/InterruptedException.java,
1509         java/lang/LinkageError.java,
1510         java/lang/Long.java,
1511         java/lang/NegativeArraySizeException.java,
1512         java/lang/NoClassDefFoundError.java,
1513         java/lang/NoSuchFieldError.java,
1514         java/lang/NoSuchFieldException.java,
1515         java/lang/NoSuchMethodError.java,
1516         java/lang/NoSuchMethodException.java,
1517         java/lang/NullPointerException.java,
1518         java/lang/Number.java,
1519         java/lang/NumberFormatException.java,
1520         java/lang/OutOfMemoryError.java,
1521         java/lang/Process.java,
1522         java/lang/Runnable.java,
1523         java/lang/Runtime.java,
1524         java/lang/RuntimeException.java,
1525         java/lang/RuntimePermission.java,
1526         java/lang/SecurityException.java,
1527         java/lang/SecurityManager.java,
1528         java/lang/Short.java,
1529         java/lang/StackOverflowError.java,
1530         java/lang/StackTraceElement.java,
1531         java/lang/StringBuffer.java,
1532         java/lang/StringIndexOutOfBoundsException.java,
1533         java/lang/ThreadDeath.java,
1534         java/lang/ThreadGroup.java,
1535         java/lang/Throwable.java,
1536         java/lang/UnsatisfiedLinkError.java,
1537         java/lang/UnsupportedOperationException.java,
1538         java/lang/VerifyError.java,
1539         java/lang/VirtualMachineError.java,
1540         java/lang/reflect/AccessibleObject.java,
1541         java/lang/reflect/Array.java,
1542         java/lang/reflect/InvocationTargetException.java,
1543         java/lang/reflect/Member.java,
1544         java/lang/reflect/Modifier.java,
1545         java/lang/reflect/Proxy.java,
1546         java/lang/reflect/ReflectPermission.java,
1547         java/lang/reflect/UndeclaredThrowableException.java,
1548         java/math/BigInteger.java,
1549         java/net/NetworkInterface.java,
1550         java/nio/ByteBufferHelper.java,
1551         java/nio/ByteBufferImpl.java,
1552         java/nio/DirectByteBufferImpl.java,
1553         java/nio/DoubleBufferImpl.java,
1554         java/nio/FloatBufferImpl.java,
1555         java/nio/IntBufferImpl.java,
1556         java/nio/LongBufferImpl.java,
1557         java/nio/ShortBufferImpl.java,
1558         java/nio/channels/Channel.java,
1559         java/nio/channels/IllegalBlockingModeException.java,
1560         java/nio/charset/spi/CharsetProvider.java,
1561         java/security/AccessControlException.java,
1562         java/security/BasicPermission.java,
1563         java/security/DigestException.java,
1564         java/security/DigestInputStream.java,
1565         java/security/DigestOutputStream.java,
1566         java/security/GeneralSecurityException.java,
1567         java/security/Guard.java,
1568         java/security/GuardedObject.java,
1569         java/security/InvalidAlgorithmParameterException.java,
1570         java/security/InvalidKeyException.java,
1571         java/security/InvalidParameterException.java,
1572         java/security/Key.java,
1573         java/security/KeyException.java,
1574         java/security/KeyManagementException.java,
1575         java/security/KeyStoreException.java,
1576         java/security/MessageDigestSpi.java,
1577         java/security/NoSuchAlgorithmException.java,
1578         java/security/NoSuchProviderException.java,
1579         java/security/Permission.java,
1580         java/security/PermissionCollection.java,
1581         java/security/Permissions.java,
1582         java/security/Principal.java,
1583         java/security/PrivateKey.java,
1584         java/security/PrivilegedActionException.java,
1585         java/security/ProviderException.java,
1586         java/security/PublicKey.java,
1587         java/security/SecureRandom.java,
1588         java/security/SecureRandomSpi.java,
1589         java/security/SignatureException.java,
1590         java/security/SignatureSpi.java,
1591         java/security/SignedObject.java,
1592         java/security/Signer.java,
1593         java/security/UnrecoverableKeyException.java,
1594         java/security/UnresolvedPermission.java,
1595         java/security/acl/AclNotFoundException.java,
1596         java/security/acl/LastOwnerException.java,
1597         java/security/acl/NotOwnerException.java,
1598         java/security/cert/CertPath.java,
1599         java/security/cert/CertPathBuilderException.java,
1600         java/security/cert/CertPathValidatorException.java,
1601         java/security/cert/CertStoreException.java,
1602         java/text/BreakIterator.java,
1603         java/text/ChoiceFormat.java,
1604         java/text/CollationElementIterator.java,
1605         java/text/CollationKey.java,
1606         java/text/Collator.java,
1607         java/text/DateFormat.java,
1608         java/text/DateFormatSymbols.java,
1609         java/text/DecimalFormat.java,
1610         java/text/DecimalFormatSymbols.java,
1611         java/text/FieldPosition.java,
1612         java/text/Format.java,
1613         java/text/NumberFormat.java,
1614         java/text/ParseException.java,
1615         java/text/ParsePosition.java,
1616         java/text/StringCharacterIterator.java,
1617         java/util/AbstractCollection.java,
1618         java/util/AbstractList.java,
1619         java/util/AbstractMap.java,
1620         java/util/AbstractSequentialList.java,
1621         java/util/AbstractSet.java,
1622         java/util/ArrayList.java,
1623         java/util/Arrays.java,
1624         java/util/BitSet.java,
1625         java/util/Collection.java,
1626         java/util/Collections.java,
1627         java/util/Comparator.java,
1628         java/util/ConcurrentModificationException.java,
1629         java/util/Currency.java,
1630         java/util/Date.java,
1631         java/util/EmptyStackException.java,
1632         java/util/Enumeration.java,
1633         java/util/EventListener.java,
1634         java/util/EventListenerProxy.java,
1635         java/util/EventObject.java,
1636         java/util/HashMap.java,
1637         java/util/HashSet.java,
1638         java/util/Hashtable.java,
1639         java/util/IdentityHashMap.java,
1640         java/util/Iterator.java,
1641         java/util/LinkedHashSet.java,
1642         java/util/LinkedList.java,
1643         java/util/List.java,
1644         java/util/ListIterator.java,
1645         java/util/ListResourceBundle.java,
1646         java/util/Map.java,
1647         java/util/MissingResourceException.java,
1648         java/util/NoSuchElementException.java,
1649         java/util/Observable.java,
1650         java/util/Observer.java,
1651         java/util/Properties.java,
1652         java/util/PropertyPermissionCollection.java,
1653         java/util/RandomAccess.java,
1654         java/util/Set.java,
1655         java/util/SortedMap.java,
1656         java/util/SortedSet.java,
1657         java/util/Stack.java,
1658         java/util/StringTokenizer.java,
1659         java/util/TooManyListenersException.java,
1660         java/util/TreeMap.java,
1661         java/util/TreeSet.java,
1662         java/util/Vector.java,
1663         java/util/logging/FileHandler.java,
1664         java/util/logging/Level.java,
1665         java/util/prefs/BackingStoreException.java,
1666         java/util/prefs/InvalidPreferencesFormatException.java,
1667         java/util/prefs/Preferences.java,
1668         javax/accessibility/Accessible.java,
1669         javax/accessibility/AccessibleAction.java,
1670         javax/accessibility/AccessibleBundle.java,
1671         javax/accessibility/AccessibleComponent.java,
1672         javax/accessibility/AccessibleContext.java,
1673         javax/accessibility/AccessibleEditableText.java,
1674         javax/accessibility/AccessibleExtendedComponent.java,
1675         javax/accessibility/AccessibleExtendedTable.java,
1676         javax/accessibility/AccessibleHyperlink.java,
1677         javax/accessibility/AccessibleHypertext.java,
1678         javax/accessibility/AccessibleIcon.java,
1679         javax/accessibility/AccessibleKeyBinding.java,
1680         javax/accessibility/AccessibleRelation.java,
1681         javax/accessibility/AccessibleRelationSet.java,
1682         javax/accessibility/AccessibleResourceBundle.java,
1683         javax/accessibility/AccessibleRole.java,
1684         javax/accessibility/AccessibleSelection.java,
1685         javax/accessibility/AccessibleState.java,
1686         javax/accessibility/AccessibleStateSet.java,
1687         javax/accessibility/AccessibleTable.java,
1688         javax/accessibility/AccessibleTableModelChange.java,
1689         javax/accessibility/AccessibleText.java,
1690         javax/accessibility/AccessibleValue.java,
1691         javax/imageio/IIOException.java,
1692         javax/imageio/ImageIO.java,
1693         javax/imageio/spi/IIOServiceProvider.java,
1694         javax/imageio/spi/ImageInputStreamSpi.java,
1695         javax/imageio/spi/ImageOutputStreamSpi.java,
1696         javax/imageio/spi/ImageReaderWriterSpi.java,
1697         javax/imageio/spi/ImageTranscoderSpi.java,
1698         javax/imageio/spi/RegisterableService.java,
1699         javax/imageio/spi/ServiceRegistry.java,
1700         javax/imageio/stream/IIOByteBuffer.java,
1701         javax/imageio/stream/ImageInputStream.java,
1702         javax/imageio/stream/ImageOutputStream.java,
1703         javax/naming/Binding.java,
1704         javax/naming/CannotProceedException.java,
1705         javax/naming/CompositeName.java,
1706         javax/naming/CompoundName.java,
1707         javax/naming/LinkException.java,
1708         javax/naming/LinkRef.java,
1709         javax/naming/NameClassPair.java,
1710         javax/naming/Reference.java,
1711         javax/naming/ReferralException.java,
1712         javax/naming/directory/Attribute.java,
1713         javax/naming/directory/AttributeModificationException.java,
1714         javax/naming/directory/Attributes.java,
1715         javax/naming/directory/DirContext.java,
1716         javax/naming/directory/ModificationItem.java,
1717         javax/naming/directory/SearchControls.java,
1718         javax/naming/directory/SearchResult.java,
1719         javax/naming/event/EventContext.java,
1720         javax/naming/event/EventDirContext.java,
1721         javax/naming/event/NamespaceChangeListener.java,
1722         javax/naming/event/NamingExceptionEvent.java,
1723         javax/naming/event/NamingListener.java,
1724         javax/naming/event/ObjectChangeListener.java,
1725         javax/naming/ldap/Control.java,
1726         javax/naming/ldap/ExtendedResponse.java,
1727         javax/naming/ldap/HasControls.java,
1728         javax/naming/ldap/LdapContext.java,
1729         javax/naming/ldap/UnsolicitedNotification.java,
1730         javax/naming/ldap/UnsolicitedNotificationEvent.java,
1731         javax/naming/ldap/UnsolicitedNotificationListener.java,
1732         javax/naming/spi/DirectoryManager.java,
1733         javax/naming/spi/ResolveResult.java,
1734         javax/naming/spi/Resolver.java,
1735         javax/security/auth/callback/Callback.java,
1736         javax/security/auth/callback/CallbackHandler.java,
1737         javax/security/auth/callback/ChoiceCallback.java,
1738         javax/security/auth/callback/ConfirmationCallback.java,
1739         javax/security/auth/callback/LanguageCallback.java,
1740         javax/security/auth/callback/NameCallback.java,
1741         javax/security/auth/callback/PasswordCallback.java,
1742         javax/security/auth/callback/TextInputCallback.java,
1743         javax/security/auth/callback/TextOutputCallback.java,
1744         javax/security/auth/callback/UnsupportedCallbackException.java,
1745         javax/security/sasl/Sasl.java,
1746         javax/security/sasl/SaslServerFactory.java,
1747         javax/swing/DefaultBoundedRangeModel.java,
1748         javax/swing/JComponent.java,
1749         javax/swing/JList.java,
1750         javax/swing/JProgressBar.java,
1751         javax/swing/JRadioButton.java,
1752         javax/swing/JTextArea.java,
1753         javax/swing/JTextField.java,
1754         javax/swing/JToggleButton.java,
1755         javax/swing/JTree.java,
1756         javax/swing/SpinnerListModel.java,
1757         javax/swing/event/EventListenerList.java,
1758         javax/swing/text/JTextComponent.java,
1759         javax/swing/text/StringContent.java,
1760         javax/swing/text/Utilities.java,
1761         javax/swing/undo/UndoManager.java,
1762         javax/swing/undo/UndoableEditSupport.java,
1763         javax/transaction/HeuristicCommitException.java,
1764         javax/transaction/HeuristicMixedException.java,
1765         javax/transaction/HeuristicRollbackException.java,
1766         javax/transaction/InvalidTransactionException.java,
1767         javax/transaction/NotSupportedException.java,
1768         javax/transaction/RollbackException.java,
1769         javax/transaction/Status.java,
1770         javax/transaction/Synchronization.java,
1771         javax/transaction/SystemException.java,
1772         javax/transaction/Transaction.java,
1773         javax/transaction/TransactionManager.java,
1774         javax/transaction/TransactionRequiredException.java,
1775         javax/transaction/TransactionRolledbackException.java,
1776         javax/transaction/UserTransaction.java,
1777         javax/transaction/xa/XAException.java,
1778         javax/transaction/xa/XAResource.java,
1779         javax/transaction/xa/Xid.java,
1780         javax/xml/XMLConstants.java,
1781         javax/xml/datatype/DatatypeConfigurationException.java,
1782         javax/xml/datatype/DatatypeConstants.java,
1783         javax/xml/datatype/DatatypeFactory.java,
1784         javax/xml/datatype/Duration.java,
1785         javax/xml/datatype/XMLGregorianCalendar.java,
1786         javax/xml/namespace/NamespaceContext.java,
1787         javax/xml/namespace/QName.java,
1788         javax/xml/parsers/DocumentBuilder.java,
1789         javax/xml/parsers/DocumentBuilderFactory.java,
1790         javax/xml/parsers/FactoryConfigurationError.java,
1791         javax/xml/parsers/ParserConfigurationException.java,
1792         javax/xml/parsers/SAXParser.java,
1793         javax/xml/parsers/SAXParserFactory.java,
1794         javax/xml/transform/ErrorListener.java,
1795         javax/xml/transform/OutputKeys.java,
1796         javax/xml/transform/Result.java,
1797         javax/xml/transform/Source.java,
1798         javax/xml/transform/SourceLocator.java,
1799         javax/xml/transform/Templates.java,
1800         javax/xml/transform/Transformer.java,
1801         javax/xml/transform/TransformerConfigurationException.java,
1802         javax/xml/transform/TransformerException.java,
1803         javax/xml/transform/TransformerFactory.java,
1804         javax/xml/transform/TransformerFactoryConfigurationError.java,
1805         javax/xml/transform/URIResolver.java,
1806         javax/xml/transform/dom/DOMLocator.java,
1807         javax/xml/transform/dom/DOMResult.java,
1808         javax/xml/transform/dom/DOMSource.java,
1809         javax/xml/transform/sax/SAXResult.java,
1810         javax/xml/transform/sax/SAXSource.java,
1811         javax/xml/transform/sax/SAXTransformerFactory.java,
1812         javax/xml/transform/sax/TemplatesHandler.java,
1813         javax/xml/transform/sax/TransformerHandler.java,
1814         javax/xml/transform/stream/StreamResult.java,
1815         javax/xml/transform/stream/StreamSource.java,
1816         javax/xml/validation/Schema.java,
1817         javax/xml/validation/SchemaFactory.java,
1818         javax/xml/validation/TypeInfoProvider.java,
1819         javax/xml/validation/Validator.java,
1820         javax/xml/validation/ValidatorHandler.java,
1821         javax/xml/xpath/XPathConstants.java,
1822         javax/xml/xpath/XPathException.java,
1823         javax/xml/xpath/XPathExpression.java,
1824         javax/xml/xpath/XPathExpressionException.java,
1825         javax/xml/xpath/XPathFactory.java,
1826         javax/xml/xpath/XPathFactoryConfigurationException.java,
1827         javax/xml/xpath/XPathFunction.java,
1828         javax/xml/xpath/XPathFunctionException.java,
1829         javax/xml/xpath/XPathFunctionResolver.java:
1830         Fixed usage of @author tag, reworked import statements,
1831         removed CVS tags, changed the modifier order and fixed
1832         HTML usage in javadocs.
1833
1834 2005-02-16  Julian Scheid  <julian@sektor37.de>
1835
1836         * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
1837         in.position().
1838         (encodeLoop): Likewise.
1839
1840 2005-02-16  Mark Wielaard  <mark@klomp.org>
1841
1842         * Makefile.am (ordinary_java_source_files): Add new files
1843         gnu/java/security/ber/BER.java,
1844         gnu/java/security/ber/BEREncodingException.java,
1845         gnu/java/security/ber/BERReader.java,
1846         gnu/java/security/ber/BERValue.java,
1847         gnu/java/security/pkcs/PKCS7SignedData.java and
1848         gnu/java/security/pkcs/SignerInfo.java.
1849         * Makefile.in: Regenerated.
1850
1851 2005-02-16  Casey Marshall  <csm@gnu.org>
1852
1853         * gnu/java/security/provider/GnuDSAPrivateKey.java
1854         (encodedKey): new field.
1855         (getFormat): return "PKCS#8".
1856         (getEncoded): implemented.
1857         (toString): check for 'null' values.
1858         * gnu/java/security/provider/GnuDSAPublicKey.java
1859         (encodedKey): new field.
1860         (getFormat): return "X.509".
1861         (getEncoded): implemented.
1862         (toString): check for 'null' values.
1863
1864 2005-02-16  Michael Koch  <konqueror@gmx.de>
1865
1866         * java/util/jar/JarFile.java: Imports reworked.
1867
1868 2005-02-16  Mark Wielaard  <mark@klomp.org>
1869
1870         * java/util/jar/JarFile.java (verify): Make package private.
1871         (signaturesRead): Likewise.
1872         (verified): Likewise.
1873         (entryCerts): Likewise.
1874         (DEBUG): Likewise.
1875         (debug): Likewise.
1876         (entries): Construct new JarEnumeration with reference to this.
1877         (JarEnumeration): Make static.
1878         (JarEnumeration.jarfile): New field.
1879         (JarEnumeration.nextElement): Use and synchronize on jarfile.
1880         Compare verified value to Boolean.TRUE or Boolean.False only
1881         when verify is true.
1882         (getEntry): Make synchronized. Compare value of verified to
1883         Boolean.TRUE.
1884         (getInputStream): Construct EntryInputStream with reference to this.
1885         (getManifest): Make synchronized.
1886         (EntryInputStream): Make static.
1887         (EntryInputStream.jarfile): New field.
1888         (EntryInputStream.EntryInputStream): Check if manifest exists,
1889         before getting attributes.
1890         (eof): Synchronize on jarfile.
1891
1892 2005-02-16  Casey Marshall  <csm@gnu.org>
1893
1894         * java/util/jar/JarFile.java (verify): return if the jar is signed
1895         with an unsupported algorithm.
1896
1897 2005-02-16  Mark Wielaard  <mark@klomp.org>
1898
1899         * java/util/jar/JarFile.java (EntryInputStream): Add actual
1900         InputStream as argument.
1901         (getInputStream): Construct a new EntryInputStream with the result of
1902         super.getInputStream(entry).
1903
1904 2005-02-16  Casey Marshall  <csm@gnu.org>
1905
1906         Signed JAR file support.
1907         * java/net/URLClassLoader.java
1908         (JarURLResource.getCertificates): re-read jar entry to ensure
1909         certificates are picked up.
1910         (findClass): fill in class `signers' field, too.
1911         * java/util/jar/JarFile.java (META_INF): new constant.
1912         (PKCS7_DSA_SUFFIX): new constant.
1913         (PKCS7_RSA_SUFFIX): new constant.
1914         (DIGEST_KEY_SUFFIX): new constant.
1915         (SF_SUFFIX): new constant.
1916         (MD2_OID): new constant.
1917         (MD4_OID): new constant.
1918         (MD5_OID): new constant.
1919         (SHA1_OID): new constant.
1920         (DSA_ENCRYPTION_OID): new constant.
1921         (RSA_ENCRYPTION_OID): new constant.
1922         (signaturesRead): new field.
1923         (verified): new field.
1924         (entryCerts): new field.
1925         (DEBUG): new constant.
1926         (debug): new method.
1927         (JarEnumeration.nextElement): fill in entry certificates, read
1928         signatures if they haven't been read.
1929         (getEntry): likewise.
1930         (getInputStream): verify stream if it hasn't been verified yet.
1931         (readSignatures): new method.
1932         (verify): new method.
1933         (verifyHashes): new method.
1934         (readManifestEntry): new method.
1935         (EntryInputStream): new class.
1936         * gnu/java/io/Base64InputStream.java (decode): new class
1937         method.
1938         * gnu/java/security/der/DERReader.java don't make class
1939         final.
1940         (in): made protected.
1941         (encBuf): likewise.
1942         (readLength): likewise.
1943         * gnu/java/security/ber/BER.java,
1944         * gnu/java/security/ber/BEREncodingException.java,
1945         * gnu/java/security/ber/BERReader.java,
1946         * gnu/java/security/ber/BERValue.java,
1947         * gnu/java/security/pkcs/PKCS7SignedData.java,
1948         * gnu/java/security/pkcs/SignerInfo.java:
1949         new files.
1950
1951 2005-02-16  Tom Tromey  <tromey@redhat.com>
1952
1953         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
1954         copied file on exit.
1955
1956 2005-02-15  Mark Wielaard  <mark@klomp.org>
1957
1958         * java/awt/BasicStroke.java (hashCode): Check for null dash.
1959
1960 2005-02-15  Michael Koch  <konqueror@gmx.de>
1961
1962         * gnu/java/awt/peer/gtk/GtkArg.java,
1963         gnu/java/awt/peer/gtk/GtkArgList.java:
1964         Removed.
1965
1966 2005-02-15  Craig Black  <craig.black@aonix.com>
1967
1968         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
1969         (postMenuActionEvent): Implement to notify ItemListeners.
1970         * java/awt/CheckboxMenuItem.java
1971         (dispatchEventImpl): Update state on ItemEvent.
1972         * java/awt/MenuItem.java
1973         (processActionEvent): Retarget event source.
1974
1975 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1976
1977         * gnu/java/awt/color/ClutProfileConverter.java,
1978         gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
1979         gnu/java/awt/peer/gtk/GdkFontPeer.java,
1980         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1981         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1982         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1983         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1984         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
1985         gnu/java/awt/peer/gtk/GdkTextLayout.java,
1986         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1987         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
1988         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
1989         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1990         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
1991         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1992         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1993         gnu/java/awt/peer/gtk/GtkFontPeer.java,
1994         gnu/java/awt/peer/gtk/GtkFramePeer.java,
1995         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1996         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
1997         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
1998         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
1999         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
2000         gnu/java/awt/peer/gtk/GtkToolkit.java,
2001         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2002         javax/swing/JPopupMenu.java,
2003         javax/swing/JSpinner.java,
2004         javax/swing/SortingFocusTraversalPolicy.java,
2005         javax/swing/SwingUtilities.java,
2006         javax/swing/plaf/basic/BasicComboBoxEditor.java,
2007         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
2008         javax/swing/tree/DefaultMutableTreeNode.java:
2009         Removed unused imports and expanded starred
2010         imports.
2011
2012 2005-02-15  Mark Wielaard  <mark@klomp.org>
2013
2014         * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
2015         IllegalArgumentException when the given String is null.
2016
2017         * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
2018         when given keystoke sequence cannot be parsed.
2019
2020         * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
2021         if one is installed. Only install the given menubar is not null.
2022
2023         * javax/swing/JViewport.java (getViewSize): Return an empty
2024         Dimension when the view isn't set or preferred component size when
2025         no viewSize is set.
2026
2027         * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
2028         empty Dimension when there is no view set.
2029         (minimumLayoutSize): Likewise.
2030         (layoutContainer): Don't try to layout when there is no view.
2031
2032 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
2033
2034         * jawt.c: New file.
2035         * include/jawt.h: Likewise.
2036         * include/jawt_md.h: Likewise.
2037         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
2038         jawt_md.h files.
2039         * jni/classpath/classpath_jawt.h: Likewise.
2040         * jni/gtk-peer/gtk_jawt.c: Likewise.
2041         * Makefile.am: Build libjawt.so.
2042
2043 2005-02-15  Michael Koch  <konqueror@gmx.de>
2044
2045         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
2046         Merged file header with classpath CVS head.
2047         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
2048         Merged code formatting with classpath CVS head.
2049         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
2050         Removed debug code.
2051         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
2052         Handle special JNI strings with 2 '\0' at the end.
2053         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2054         Merged file header with classpath CVS head.
2055         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
2056         Merged code formatting with classpath CVS head.
2057
2058 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
2059
2060         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
2061         Use GTK's built-in file system backend.  Use GTK_RESPONSE_ACCEPT.
2062         (handle_response): Use GTK_RESPONSE_ACCEPT.
2063
2064 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2065
2066         * Makefile.am: Fix library build breakage.
2067         * Makefile.in: Regenerate.
2068
2069 2005-02-15  Michael Koch  <konqueror@gmx.de>
2070
2071         * javax/swing/JTabbedPane.java
2072         (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
2073
2074 2005-02-15  Michael Koch  <konqueror@gmx.de>
2075
2076         * javax/swing/tree/DefaultMutableTreeNode.java:
2077         Reworked Javadocs all over.
2078         (getPathToRoot): Fixed direction of result array initialization.
2079
2080 2005-02-15  Michael Koch  <konqueror@gmx.de>
2081
2082         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2083          Fix includes for cairo 0.3.0 snappshot.
2084         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
2085         Merged file header from classpath CVS HEAD.
2086
2087 2005-02-15  Craig Black  <craig.black@aonix.com>
2088
2089         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2090         (copyState): Pass a JNI global reference to signal handler.
2091         (realize_cb): Use and free JNI global reference.
2092         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2093         (create): Pass a JNI global reference to signal handler.
2094         (selection_changed): Match declaration.
2095         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
2096         (dispose): Do not remove entries from state tables until after widget is
2097         destroyed.
2098
2099 2005-02-15  Michael Koch  <konqueror@gmx.de>
2100
2101         * java/awt/Container.javai (paramString):
2102         If layoutMgr is null just return result of super.paramString().
2103         * java/awt/Scrollbar.java: Reformatted.
2104         * java/awt/im/InputContext.java (static):
2105         Removed redundant initializations.
2106
2107 2005-02-15  Michael Koch  <konqueror@gmx.de>
2108
2109         * javax/swing/ImageIcon.java,
2110         javax/swing/UIManager.java,
2111         javax/swing/text/EditorKit.java,
2112         javax/swing/text/Segment.java:
2113         More whitespace cleanups.
2114
2115 2005-02-15  Michael Koch  <konqueror@gmx.de>
2116
2117         * gnu/java/awt/EmbeddedWindow.java,
2118         gnu/java/awt/image/ImageDecoder.java,
2119         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
2120         java/awt/DefaultKeyboardFocusManager.java,
2121         java/awt/Frame.java,
2122         java/awt/image/RGBImageFilter.java,
2123         javax/swing/AbstractButton.java,
2124         javax/swing/ActionMap.java,
2125         javax/swing/ComponentInputMap.java,
2126         javax/swing/DefaultDesktopManager.java,
2127         javax/swing/ImageIcon.java,
2128         javax/swing/InputMap.java,
2129         javax/swing/JButton.java,
2130         javax/swing/JCheckBox.java,
2131         javax/swing/JCheckBoxMenuItem.java,
2132         javax/swing/JEditorPane.java,
2133         javax/swing/JMenu.java,
2134         javax/swing/JMenuItem.java,
2135         javax/swing/JOptionPane.java,
2136         javax/swing/JRootPane.java,
2137         javax/swing/JTable.java,
2138         javax/swing/MenuSelectionManager.java,
2139         javax/swing/RepaintManager.java,
2140         javax/swing/ScrollPaneLayout.java,
2141         javax/swing/SortingFocusTraversalPolicy.java,
2142         javax/swing/UIManager.java,
2143         javax/swing/ViewportLayout.java,
2144         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
2145         javax/swing/plaf/basic/BasicInternalFrameUI.java,
2146         javax/swing/plaf/basic/BasicLabelUI.java,
2147         javax/swing/plaf/basic/BasicListUI.java,
2148         javax/swing/plaf/basic/BasicMenuItemUI.java,
2149         javax/swing/plaf/basic/BasicMenuUI.java,
2150         javax/swing/plaf/basic/BasicOptionPaneUI.java,
2151         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
2152         javax/swing/plaf/basic/BasicRootPaneUI.java,
2153         javax/swing/plaf/basic/BasicScrollPaneUI.java,
2154         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
2155         javax/swing/plaf/basic/BasicTextUI.java,
2156         javax/swing/table/TableColumnModel.java,
2157         javax/swing/text/AbstractDocument.java,
2158         javax/swing/text/EditorKit.java,
2159         javax/swing/text/Position.java,
2160         javax/swing/text/Segment.java,
2161         javax/swing/text/StyledEditorKit.java,
2162         javax/swing/text/ViewFactory.java:
2163         Cleanup whitespace differences to classpath CVS HEAD.
2164
2165 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2166
2167         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
2168         (finalize): Call finish from here.
2169         (produce): Not from here.
2170         * Makefile.am (gtk_c_source_files): 
2171         Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
2172         * Makefile.in: Regenerate.
2173         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2174         (cairoSetFont):
2175         (cairoDrawGdkTextLayout):
2176         (cairoDrawString): 
2177         (getPeerTextMetrics):
2178         (getPeerFontMetrics): Remove.
2179         (setFont): Don't call cairoSetFont.
2180         (cairoDrawGlyphVector): Accept font peer argument.
2181         (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
2182         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c    
2183         (ensure_metrics_cairo):
2184         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
2185         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
2186         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
2187         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
2188         (metrics_cairo):
2189         (metrics_surface): Remove.
2190         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
2191         Pass and install font peer.
2192
2193 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2194
2195         * Makefile.am: Create "split library" structure.
2196         * Makefile.in: Regenerate.
2197
2198 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2199
2200         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
2201         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2202         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
2203         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2204         Release GDK lock during upcalls.
2205
2206 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2207
2208         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
2209         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2210         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
2211         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics): 
2212         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.   
2213         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.  
2214         * gnu/java/awt/peer/gtk/GdkFontPeer.java
2215         (getGlyphVector):
2216         (getFontMetrics):
2217         (getTextMetrics): New native methods.
2218         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
2219         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
2220         * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
2221         * Makefile.in: Regenerate.
2222
2223 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2224
2225         * javax/swing/SwingUtilities.java:
2226         (getAccessibleAt(java.awt.Component, java.awt.Point)):
2227         Implemented and documented.
2228         (getAccessibleChild(java.awt.Component, int)): Likewise.
2229         (getAccessibleChildrenCount(java.awt.Component)): Likewise.
2230         (getAccessibleIndexInParent(java.awt.Component)): Likewise.
2231         (getAccessibleStateSet(java.awt.Component)): Likewise.
2232
2233 2005-02-15  Michael Koch  <konqueror@gmx.de>
2234
2235         * javax/swing/SwingUtilities.java
2236         (getFontMetrics): Removed.
2237
2238 2005-02-15  Michael Koch  <konqueror@gmx.de>
2239
2240         * java/awt/Container.java
2241         (paramString): Implemented.
2242         * javax/swing/AbstractButton.java
2243         (paramString): Implemented.
2244         * javax/swing/JComponent.java
2245         (paramString): Implemented.
2246         * javax/swing/JMenu.java
2247         (paramString): Implemented.
2248         * javax/swing/JMenuBar.java
2249         (paramString): Implemented.
2250         * javax/swing/JMenuItem.java
2251         (paramString): Implemented.
2252         * javax/swing/JPopupMenu.java
2253         (paramString): Implemented.
2254
2255 2005-02-15  Michael Koch  <konqueror@gmx.de>
2256
2257         * javax/swing/JMenu.java
2258         (uiClassID): Removed.
2259         (JMenu): Set invoker on popup menu.
2260         (getUIClassID): Return id directly.
2261         (getItemCount): Simply return getMenuComponentCount().
2262         Fixed javadoc.
2263         (isTopLevelMenu): Simplified.
2264         * javax/swing/JMenuItem.java
2265         (uiClassID): Removed.
2266         (getUIClassID): Return id directly.
2267         * javax/swing/JPopupMenu.java
2268         (uiClassID): Removed.
2269         (JPopupMenu): Always initialize correctly.
2270         (getSubElements): Only return components implementing MenuElement
2271         interface.
2272         (HeavyWeightPopup.hide): Removed.
2273
2274 2005-02-15  Michael Koch  <konqueror@gmx.de>
2275
2276         * java/awt/image/ReplicateScaleFilter.java
2277         (replicatePixels): Made private.
2278         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
2279         (DefaultRGBChooserPanel): Made package private.
2280         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
2281         (RecentSwatchPanel): Likewise.
2282         * javax/swing/event/MouseInputAdapter.java: Reformatted.
2283         (MouseInputAdapter): Made abstract.
2284         * javax/swing/tree/DefaultMutableTreeNode.java
2285         (random): Removed.
2286         (growTree): Likewise.
2287
2288 2005-02-15  Michael Koch  <konqueror@gmx.de>
2289
2290         * java/awt/dnd/DropTarget.java (addDropTargetListener):
2291         Clarified comments.
2292
2293 2005-02-15  Michael Koch  <konqueror@gmx.de>
2294
2295         * javax/swing/JComponent.java (getComponentGraphics):
2296         Removed accidently commited code.
2297
2298 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2299
2300         * java/awt/dnd/DropTarget.java
2301         (addDropTargetListener): Despite documentation, do not throw.
2302         * javax/swing/JComponent.java: Set a default DropTarget.
2303
2304 2005-02-15  Michael Koch  <konqueror@gmx.de>
2305
2306         * javax/swing/AbstractAction.java
2307         (ENABLED_PROPERTY): Removed.
2308         (setEnabled): Replaced constant with real string.
2309         * javax/swing/AbstractButton.java
2310         (createActionPropertyChangeListener.propertyChange): Likewise.
2311         * javax/swing/JComboBox.java
2312         (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
2313         (EDITABLE_CHANGED_PROPERTY): Removed.
2314         (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
2315         (ENABLED_CHANGED_PROPERTY):Likewise.
2316         (RENDERER_CHANGED_PROPERTY):Likewise.
2317         (EDITOR_CHANGED_PROPERTY):Likewise.
2318         (MODEL_CHANGED_PROPERTY):Likewise.
2319         (uiClassID):Likewise.
2320         (getUIClassID): Replaced constant with real string.
2321         (setModel):Likewise.
2322         (setEditable):Likewise.
2323         (setMaximumRowCount):Likewise.
2324         (setRenderer):Likewise.
2325         (setEditor):Likewise.
2326         (setEnabled):Likewise.
2327         * javax/swing/JLabel.java
2328         (DISABLED_ICON_CHANGED_PROPERTY): Removed.
2329         (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
2330         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
2331         (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
2332         (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
2333         (ICON_CHANGED_PROPERTY): Likewise.
2334         (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
2335         (LABEL_FOR_CHANGED_PROPERTY): Likewise.
2336         (TEXT_CHANGED_PROPERTY): Likewise.
2337         (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
2338         (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
2339         (setText): Replaced constant with real string.
2340         (setIcon): Likewise.
2341         (setDisabledIcon): Likewise.
2342         (setDisplayedMnemonic): Likewise.
2343         (setIconTextGap): Likewise.
2344         (setVerticalAlignment): Likewise.
2345         (setHorizontalAlignment): Likewise.
2346         (setVerticalTextPosition): Likewise.
2347         (setHorizontalTextPosition): Likewise.
2348         (setLabelFor): Replaced constant with real string.
2349         Fire property change event after property got changed.
2350         * javax/swing/JList.java
2351         (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
2352         (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
2353         (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
2354         (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
2355         (MODEL_PROPERTY_CHANGED): Likewise.
2356         (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
2357         (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
2358         (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
2359         (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
2360         (setFixedCellWidth): Reimplemented.
2361         (setFixedCellHeight): Exit if new value is identical.
2362         Replaced constant with real string.
2363         (setSelectionBackground): Likewise.
2364         (setSelectionForeground): Likewise.
2365         (setPrototypeCellValue): Likewise.
2366         (setCellRenderer): Replaced constant with real string.
2367         (setModel): Likewise.
2368         (setSelectionModel): Likewise.
2369         * javax/swing/JMenuBar.java
2370         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
2371         (MODEL_CHANGED_PROPERTY): Likewise.
2372         (MARGIN_CHANGED_PROPERTY): Likewise.
2373         (setBorderPainted): Reimplemented.
2374         (setMargin): Likewise.
2375         (setSelectionModel): Replaced constant with real string.
2376         * javax/swing/JPopupMenu.java
2377         (LABEL_CHANGED_PROPERTY): Removed.
2378         (VISIBLE_CHANGED_PROPERTY): Likewise.
2379         (borderPainted): Likewise.
2380         (setLabel): Replaced constant with real string.
2381         (setVisible): Exit if new value is identical.
2382         Replaced constant with real string.
2383         * javax/swing/JProgressBar.java
2384         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
2385         (ORIENTATION_CHANGED_PROPERTY): Likewise.
2386         (STRING_CHANGED_PROPERTY): Likewise.
2387         (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
2388         (INDETERMINATE_CHANGED_PROPERTY): Likewise.
2389         (setOrientation): Replaced constant with real string.
2390         (setStringPainted): Likewise.
2391         (setString): Likewise.
2392         (setBorderPainted): Likewise.
2393         (setIndeterminate): Likewise.
2394         * javax/swing/JScrollBar.java
2395         (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
2396         (MODEL_CHANGED_PROPERTY): Likewise.
2397         (ORIENTATION_CHANGED_PROPERTY): Likewise.
2398         (setOrientation): Replaced constant with real string.
2399         (setModel): Likewise.
2400         (setUnitIncrement): Likewise.
2401         (setBlockIncrement): Likewise.
2402         * javax/swing/JScrollPane.java
2403         (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
2404         (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
2405         (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
2406         (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
2407         (LAYOUT_CHANGED_PROPERTY): Likewise.
2408         (ROW_HEADER_CHANGED_PROPERTY): Likewise.
2409         (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
2410         (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
2411         (VIEWPORT_CHANGED_PROPERTY): Likewise.
2412         (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
2413         (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
2414         (setComponentOrientation): Replaced constant with real string.
2415         (setColumnHeader): Likewise.
2416         (setHorizontalScrollBar): Likewise.
2417         (setHorizontalScrollBarPolicy): Likewise.
2418         (setRowHeader): Likewise.
2419         (setVerticalScrollBar): Likewise.
2420         (setVerticalScrollBarPolicy): Likewise.
2421         (setWheelScrollingEnabled): Likewise.
2422         (setViewport): Likewise.
2423         (setViewportBorder): Likewise.
2424         * javax/swing/JSlider.java
2425         (INVERTED_CHANGED_PROPERTY): Removed.
2426         (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
2427         (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
2428         (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
2429         (MODEL_CHANGED_PROPERTY): Likewise.
2430         (ORIENTATION_CHANGED_PROPERTY): Likewise.
2431         (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
2432         (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
2433         (setModel): Replaced constant with real string.
2434         (setOrientation): Likewise.
2435         (setLabelTable): Likewise.
2436         (setInverted): Likewise.
2437         (setMajorTickSpacing): Likewise.
2438         (setMinorTickSpacing): Likewise.
2439         (setPaintTicks): Likewise.
2440         (setPaintLabels): Likewise.
2441         * javax/swing/JTabbedPane.java
2442         (MODEL_CHANGED_PROPERTY): Removed.
2443         (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
2444         (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
2445         (setModel): Replaced constant with real string.
2446         (setTabPlacement): Likewise.
2447         (setTabLayoutPolicy): Likewise.
2448         * javax/swing/JToolBar.java
2449         (ORIENTATION_CHANGED_PROPERTY): Removed.
2450         (FLOATABLE_CHANGED_PROPERTY): Likewise.
2451         (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
2452         (MARGIN_CHANGED_PROPERTY): Likewise.
2453         (ROLLOVER_CHANGED_PROPERTY): Likewise.
2454         (setRollover): Replaced constant with real string.
2455         (setMargin): Likewise.
2456         (setBorderPainted): Likewise.
2457         (setFloatable): Likewise.
2458         (setOrientation): Likewise.
2459         * javax/swing/plaf/basic/BasicComboBoxUI.java
2460         (PropertyChangeHandler.propertyChange): Likewise.
2461         * javax/swing/plaf/basic/BasicComboPopup.java
2462         (PropertyChangeHandler.propertyChange): Likewise.
2463         * javax/swing/plaf/basic/BasicMenuBarUI.java
2464         (PropertyChangeHandler.propertyChange): Likewise.
2465         * javax/swing/plaf/basic/BasicProgressBarUI.java
2466         (PropertyChangeHandler.propertyChange): Likewise.
2467         * javax/swing/plaf/basic/BasicScrollBarUI.java
2468         (PropertyChangeHandler.propertyChange): Likewise.
2469         * javax/swing/plaf/basic/BasicSliderUI.java
2470         (PropertyChangeHandler.propertyChange): Likewise.
2471         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2472         (PropertyChangeHandler.propertyChange): Likewise.
2473         * javax/swing/plaf/basic/BasicToolBarUI.java
2474         (PropertyChangeHandler.propertyChange): Likewise.
2475
2476 2005-02-15  Michael Koch  <konqueror@gmx.de>
2477
2478         * javax/swing/DefaultButtonModel.java
2479         (changeState): Made private.
2480         * javax/swing/DefaultDesktopManager.java
2481         (setWasIcon): Fixed second argument to be java.lang.Boolean.
2482         * javax/swing/JLayeredPane.java
2483         (layerToRange): Made private.
2484         (incrLayer): Likewise.
2485         (decrLayer): Likewise.
2486         * javax/swing/JTable.java
2487         (dragEnabled): Likewise.
2488         (preferredViewportSize): Renamed from preferredScrollableViewportSize.
2489         * javax/swing/KeyStroke.java
2490         (Keystroke): Made private.
2491         * javax/swing/TransferHandler.java
2492         (COMMAND_COPY): Likewise.
2493         (COMMAND_CUT): Likewise.
2494         (COMMAND_PASTE): Likewise.
2495
2496 2005-02-15  Michael Koch  <konqueror@gmx.de>
2497
2498         * javax/swing/JTextField.java
2499         (postActionEvent): Use text in field when actionCommand is null.
2500         (getActionCommand): Removed.
2501
2502 2005-02-15  Michael Koch  <konqueror@gmx.de>
2503
2504         * javax/swing/AbstractSet.java: Removed.
2505         * Makefile.am: Removed javax/swing/AbstractSet.java.
2506         * Makefile.in: Regenerated.
2507
2508 2005-02-15  Michael Koch  <konqueror@gmx.de>
2509
2510         * java/awt/Window.java
2511         (AccessibleWindow.getAccessibleStateSet): Fixed method name.
2512         * java/awt/dnd/DnDConstants.java
2513         (DnDConstants): New private constructor.
2514
2515 2005-02-15  Michael Koch  <konqueror@gmx.de>
2516
2517         * javax/swing/DefaultCellRenderer.java: Removed.
2518         * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
2519         * Makefile.in: Regenerated.
2520
2521 2005-02-15  Michael Koch  <konqueror@gmx.de>
2522
2523         * javax/swing/AbstractButton.java
2524         (fireItemStateChanged): Made protected.
2525         (fireActionPerformed): Likewise.
2526         (fireStateChanged): Likewise.
2527         * javax/swing/DefaultButtonModel.java
2528         (fireItemStateChanged): Likewise.
2529         (fireActionPerformed): Likewise.
2530         (fireStateChanged): Likewise.
2531         * javax/swing/JApplet.java
2532         (JApplet): Removed.
2533         (frameInit): Likewise.
2534         (setRootPane): Made protected.
2535         (createRootPane): Likewise.
2536         * javax/swing/JComponent.java
2537         (getClientProperty): Likewise.
2538         (putClientProperty): Likewise.
2539         * javax/swing/JEditorPane.java
2540         (getContentType): Likewise.
2541         (setContentType): Likewise.
2542         * javax/swing/JFrame.java
2543         (setRootPane): Likewise.
2544         (createRootPane): Likewise.
2545         * javax/swing/JInternalFrame.java
2546         (getFocusCycleRootAncestor): Made final. Added @since tag.
2547         (isFocusCycleRoot): Likewise.
2548         (getWarningString): Made final.
2549         * javax/swing/JScrollBar.java
2550         (changeListener): Removed.
2551         (changeEvent): Likewise.
2552         (createChangeListener): Likewise.
2553         (fireStateChanged): Likewise.
2554         (addChangeListener): Likewise.
2555         (removeChangeListener): Likewise.
2556         (getChangeListeners): Likewise.
2557         * javax/swing/JScrollPane.java
2558         (createViewport): Made protected.
2559         * javax/swing/JViewport.java
2560         (addImpl): Likewise.
2561         (setBorder): New method.
2562         * javax/swing/JWindow.java
2563         (setRootPane): Made protected.
2564         (createRootPane): Likewise.
2565         * javax/swing/plaf/basic/BasicButtonUI.java
2566         (installListeners): Likewise.
2567         (uninstallListeners): Likewise.
2568         * javax/swing/plaf/basic/BasicProgressBarUI.java
2569         (incrementAnimationIndex): Likewise.
2570         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2571         (createLayoutManager): Likewise.
2572         * javax/swing/table/DefaultTableCellRenderer.java
2573         (firePropertyChange): Likewise.
2574         * javax/swing/table/JTableHeader.java
2575         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
2576         New constructor.
2577         * javax/swing/text/PlainDocument.java
2578         (reindex): Made private.
2579         * javax/swing/text/PlainView.java
2580         (drawLine): Made protected.
2581         (getTabSize): Likewise.
2582         * javax/swing/text/View.java
2583         (setSize): Removed.
2584         (preferenceChanged): New method.
2585         (getBreakWeight): Likewise.
2586         (breakView): Likewise.
2587         (getViewIndex): Likewise.
2588
2589 2005-02-15  Michael Koch  <konqueror@gmx.de>
2590
2591         * javax/swing/JScrollPane.java
2592         (ScrollBar): Made class protected.
2593         * javax/swing/JSpinner.java
2594         (JSpinner): Added @since tag.
2595         (listenerList): Removed.
2596         * javax/swing/JTable.java
2597         (setValueAt): New method.
2598         (getColumn): Likewise.
2599         * javax/swing/JWindow.java
2600         (rootPaneCheckingEnabled): Renamed from checking.
2601
2602 2005-02-15  Michael Koch  <konqueror@gmx.de>
2603
2604         * javax/swing/plaf/basic/BasicTextUI.java
2605         (RootView.modelToView): Made it public and return a java.awt.Shape.
2606         Handle null subview.
2607         (uninstall): Set textComponent to null when its not possible used
2608         anymore.
2609         * javax/swing/text/View.java
2610         (setParent): Use better argument name.
2611         (getContainer): Get parent via getParent().
2612         (getViewFactory): Likewise.
2613         (getAttributes): Get element via getElement().
2614         (getStartOffset): Likewise.
2615         (getEndOffset): Likewise.
2616         (getResizeWeight): New method.
2617         (getMaximumSpan): Likewise.
2618         (getMinimumSpan): Likewise.
2619         (setSize): Likewise.
2620         (getGraphics): Likewise.
2621
2622 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2623
2624         * java/awt/Checkbox.java:
2625         (AccessibleAWTCheckbox()): Added public constructor
2626         to call superclass.
2627         * java/awt/Choice.java:
2628         (AccessibleAWTChoice): Added class documentation.
2629         (AccessibleAWTChoice()): Added public constructor
2630         to call superclass.
2631         (AccessibleAWTChoice.getAccessibleAction()): Documented.
2632         (AccessibleAWTChoice.getAccessibleRole()): Documented,
2633         and changed role to COMBO_BOX.
2634         (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
2635         (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
2636         (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
2637
2638 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2639             Michael Koch  <konqueror@gmx.de>
2640
2641         * javax/swing/LayoutFocusTraversalPolicy.java,
2642         javax/swing/SortingFocusTraversalPolicy.java:
2643         New classes.
2644         * Makefile.am: Added new classes.
2645         * Makefike.in: Regenerated.
2646
2647
2648 2005-02-15  Michael Koch  <konqueror@gmx.de>
2649
2650         * javax/swing/DebugGraphics.java: Mostly implemented.
2651
2652 2005-02-15  Michael Koch  <konqueror@gmx.de>
2653
2654         * javax/swing/SwingUtilities.java
2655         (findFocusOwner): New method.
2656
2657 2005-02-15  Michael Koch  <konqueror@gmx.de>
2658
2659         * javax/swing/text/DefaultEditorKit.java
2660         (read): Added '\n' after each line.
2661         * javax/swing/text/PlainView.java
2662         (modelToView): Update metrics.
2663         (drawLine): Use offsets from element.
2664         (paint): Update metrics. Draw all lines.
2665
2666 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2667
2668         * java/awt/Checkbox.java:
2669         (AccessibleAWTCheckbox): Added class documentation
2670         * java/awt/Scrollbar.java:
2671         (AccessibleAWTScrollBar): typo corrected and docs added
2672         (AccessibleAWTScrollBar.getAccessibleRole()): documented
2673         (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
2674         (AccessibleAWTScrollBar.getAccessibleValue()): likewise
2675         (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
2676         (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
2677         (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
2678         (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
2679         (getAccessibleContext()): name of accessible class corrected
2680
2681 2005-02-15  Mark Wielaard  <mark@klomp.org>
2682
2683         * java/awt/BasicStroke.java (hashCode): Implement.
2684         (equals): Document.
2685
2686 2005-02-15  Michael Koch  <konqueror@gmx.de>
2687
2688         * java/awt/print/PrinterJob.java
2689         (pageDialog): Throws java.awt.HeadlessException.
2690         (printDialog): Likewise.
2691
2692 2005-02-15  Mark Wielaard  <mark@klomp.org>
2693
2694         * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
2695
2696 2005-02-15  Michael Koch  <konqueror@gmx.de>
2697
2698         * javax/swing/JTable.java
2699         (getValueAt): New method.
2700         * javax/swing/table/JTableHeader.java
2701         (columnAtPoint): New method.
2702
2703 2005-02-15  Michael Koch  <konqueror@gmx.de>
2704
2705         * javax/swing/JTextField.java
2706         (actions): New field.
2707         (static): Initalize actions field.
2708         (getActions): New method.
2709
2710 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2711
2712         * java/awt/Checkbox.java:
2713         (AccessibleAWTCheckbox): name capitalization corrected
2714         and serialization UID added.
2715         (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
2716         documented.
2717         (AccessibleAWTCheckbox.getAccessibleAction()): likewise
2718         (AccessibleAWTCheckbox.getAccessibleValue()): likewise
2719         (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
2720         (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
2721         (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
2722         (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
2723         (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
2724         (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
2725         (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
2726         (AccessibleAWTCheckbox.getAccessibleRole()): likewise
2727         (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
2728         documented
2729         (getAccessibleContext()): name of accessible class corrected
2730
2731 2005-02-15  Sven de Marothy  <sven@physto.se>
2732
2733         * java/awt/geom/doc-files/Area-1.png,
2734         java/awt/geom/doc-files/Ellipse-1.png,
2735         java/awt/geom/doc-files/GeneralPath-1.png:
2736         New files.
2737
2738 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2739
2740         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
2741         Use union to avoid type-punning warning.
2742
2743 2005-02-15  Michael Koch  <konqueror@gmx.de>
2744
2745         * javax/swing/DefaultListSelectionModel.java
2746         (clone): New method.
2747
2748 2005-02-15  Mark Wielaard  <mark@klomp.org>
2749
2750         Reported by Martin Platter <motse@complang.tuwien.ac.at>
2751         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2752         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
2753         Correct method signature of gtkSetFilename.
2754
2755 2005-02-15  Arnaud Vandyck  <avdyk@gnu.org>
2756
2757         * javax/swing/text/StringContent.java: New file.
2758
2759 2005-02-15  Michael Koch  <konqueror@gmx.de>
2760
2761         * Makefile.am: Added javax/swing/text/StringContent.java.
2762         * Makefile.in: Regenerated.
2763
2764 2005-02-15  Michael Koch  <konqueror@gmx.de>
2765
2766         * gnu/java/awt/ClasspathToolkit.java:
2767         Import statements reworked.
2768         (imageCache): Made it of type java.util.HashMap.
2769
2770 2005-02-15  Michael Koch  <konqueror@gmx.de>
2771
2772         * javax/imageio/stream/MemoryCacheImageInputStream.java:
2773         Reworked import statements.
2774
2775 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2776
2777         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
2778         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2779         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
2780         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2781         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
2782         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
2783         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
2784         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
2785         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2786         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
2787         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
2788         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
2789         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
2790         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
2791         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
2792         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2793         Rewrite uses of extern variable to be function calls.
2794         * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to 
2795         function, from extern variable.
2796         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c 
2797         (gdk_env): Remove variable, add new function.
2798         (java_vm): Add new variable.
2799         (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
2800         java_vm rather than old gdk_env variable.
2801
2802 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
2803
2804         * javax/swing/DefaultListModel.java
2805         (add): fire correct event,
2806         (addElement): corrected interval indices in event,
2807         (clear): corrected upper bound for interval, only fire event if
2808         list is not empty,
2809         (setSize): fire appropriate event.
2810
2811 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2812
2813         * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
2814         * gnu/awt/xlib/XToolkit.java: Likewise.
2815         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
2816         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
2817         * gnu/java/awt/ClasspathToolkit.java: Likewise.
2818         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
2819         * java/awt/EventQueue.java (getNextEvent): 
2820         Adjust event loop to switch to native mode after 100ms.
2821         * javax/swing/Timer.java (drainEvents): Reuse Runnable.
2822         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
2823         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): 
2824         Wake up event thread.
2825         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
2826         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
2827         Adjust event loop to switch to java mode after 100ms.
2828
2829 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2830
2831         * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
2832         accidentally removed in last change.
2833
2834 2005-02-15  Michael Koch  <konqueror@gmx.de>
2835
2836         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2837         gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
2838
2839 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2840
2841         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
2842         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
2843         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
2844         * jni.cc: Reuse bottom frame between calls, avoid clearing
2845         frame when no local references are made.
2846
2847 2005-02-15  Michael Koch  <konqueror@gmx.de>
2848
2849         * javax/swing/UIDefaults.java (UIDefaults):
2850         Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
2851         Fixed HTML entity and removed a redundant comma.
2852
2853 2005-02-15  Michael Koch  <konqueror@gmx.de>
2854
2855         * javax/swing/text/DefaultEditorKit.java
2856         (deinstall): Removed.
2857         (install): Likewise.
2858
2859 2005-02-15  Michael Koch  <konqueror@gmx.de>
2860
2861         * javax/swing/UIDefaults.java (put): Handle value of null.
2862
2863 2005-02-15  Michael Koch  <konqueror@gmx.de>
2864
2865         * java/awt/Robot.java,
2866         java/awt/Scrollbar.java,
2867         java/awt/print/PrinterJob.java,
2868         javax/swing/JTable.java,
2869         javax/swing/text/AbstractDocument.java:
2870         Reworked import statements.
2871
2872 2005-02-15  Michael Koch  <konqueror@gmx.de>
2873
2874         * javax/swing/JEditorPane.java
2875         (read): Implemented.
2876         (write): Likewise.
2877         * javax/swing/text/DefaultEditorKit.java
2878         (page): Renamed from page_url. Made private.
2879         (editorKit): Renamed from kit. Made private.
2880         (ctype): Removed.
2881         (JEditorPane): All constructors reimplemented.
2882         (getContentType): Use content type from editor kit.
2883         (getEditorKit): Return editorKit.
2884         (getEditorKitForContentType):Likewise.
2885         (getPage): Return page.
2886         (setContentType): Reimplemented.
2887         (setEditorKit): Likewise.
2888         (setEditorKitForContentType): Removed wrong implementation.
2889         (setPage): Implemented.
2890
2891 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
2892
2893         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2894         (nativeSetIconImageFromData): Re-add native implementation.
2895
2896 2005-02-15  David Gilbert  <david.gilbert@object-refinery.com>
2897
2898         * javax/swing/table/DefaultTableModel.java
2899         (DefaultTableModel()): Added Javadocs.
2900         (DefaultTableModel(int, int)): Fixed implementation.
2901         (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
2902         for negative rowCount.
2903         (DefaultTableModel(Object[], int)): Added Javadocs.
2904         (DefaultTableModel(Vector, Vector)): Likewise.
2905         (DefaultTableModel(Object[][], Object[])): Likewise.
2906         (getDataVector): Likewise.
2907         (setDataVector(Vector, Vector)): Likewise.
2908         (setDataVector(Object[][], Object[])): Likewise.
2909         (newDataAvailable): Likewise.
2910         (newRowsAdded): Likewise.
2911         (rowsRemoved): Likewise.
2912         (setColumnIdentifiers(Vector)): Allow for null argument.
2913         (setColumnIdentifiers(Object[])): Added Javadocs.
2914         (setNumRows): Likewise.
2915         (setRowCount): Adds new rows if necessary, and sends more specific
2916         TableModelEvent.
2917         (setColumnCount): Allow for null columnIdentifiers.
2918         (addColumn(Object)): Added Javadocs.
2919         (addColumn(Object, Vector)): Handle null columnData.
2920         (addColumn(Object, Object[])): Handle columnData with more or less
2921         entries than rows in the table.
2922         (addRow(Vector)): Fire appropriate event.
2923         (addRow(Object[])): Added Javadocs.
2924         (insertRow(int, Vector)): Fire appropriate event.
2925         (insertRow(int, Object[])): Added Javadocs.
2926         (moveRow): Reimplemented.
2927         (removeRow(int)): Fire appropriate event.
2928         (getColumnCount): Allow for null columnIdentifiers.
2929         (getColumnName): Now returns empty string when column index is too
2930         large.
2931         (isCellEditable): Added Javadocs.
2932         (getValueAt): Likewise.
2933         (setValueAt): Fire more specific event.
2934         (convertToVector): Added Javadocs.
2935         * javax/swing/table/TableModel.java
2936         Added Javadocs.
2937
2938 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
2939
2940         * libgcj.spec.in (lib): Add -l-javax-imageio.
2941
2942 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
2943
2944         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
2945         references to event queue q with method call q().
2946         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
2947         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
2948         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
2949         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
2950         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
2951         * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
2952         (q): New method.
2953
2954 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2955
2956         * gnu/java/awt/ClasspathToolkit.java 
2957         (registerImageIOSpis): New method.
2958         * gnu/java/awt/image/ImageDecoder.java 
2959         (imageDecoder): New constructor using InputStream
2960         (startProduction): Handle existing InputStream.
2961         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
2962         (findSimpleIntegerArray): Make public and static.
2963         (updateBufferedImage): Set each pixel, in a loop.
2964         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: 
2965         Implement ImageIO SPI classes.
2966         (createBufferedImage): Rewrite in terms of SPI classes.
2967         * gnu/java/awt/peer/gtk/GtkToolkit.java
2968         (registerImageIOSpis): New method.
2969         * java/lang/reflect/natMethod.cc 
2970         (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk, 
2971         which lets JNI call interface methods properly.
2972         * javax/imageio/ImageIO.java 
2973         (WriterFormatFilter.filter): Fix copy-and-paste typos.
2974         (WriterMIMETypeFilter.filter): Likewise.
2975         (ImageReaderIterator): Pass extension argument through to SPI.
2976         (getReadersByFilter): Likewise.
2977         (getWritersByFilter): Likewise.
2978         (getImageReadersByFormatName): Likewise.
2979         (getImageReadersByMIMEType): Likewise.
2980         (getImageReadersBySuffix): Likewise.
2981         (getImageWritersByFormatName): Likewise.
2982         (getImageWritersByMIMEType): Likewise.
2983         (getImageWritersBySuffix): Likewise.
2984         (read): Implement.
2985         (write): Implement.
2986         * javax/imageio/ImageReader.java 
2987         (progressListeners): Initialize.
2988         (setInput): Implement.
2989         * javax/imageio/ImageWriter.java
2990         (progressListeners): Initialize.
2991         (warningListeners): Likewise.
2992         (warningLocales): Likewise.
2993         (setOutput): Test "isInstance" rather than class equality.
2994         * javax/imageio/spi/IIORegistry.java
2995         (static): Add reader and writer SPIs.
2996         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
2997         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
2998         (query_formats): New function.
2999         (save_to_stream): Likewise.
3000         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
3001
3002 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3003
3004         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
3005         Call XFlush.
3006         (keyPress): Likewise.
3007         (keyRelease): Likewise.
3008
3009 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
3010
3011         * javax/swing/JTable.java
3012         (columnAtPoint): New Method. Implemented.
3013         (rowAtPoint): Likewise.
3014         (countSelections): Fixed few small count errors.
3015         (getSelections): Likewise.
3016         (setSelectionMode): Set selection mode for column 
3017         selection model in addition to row selection model.
3018         * javax/swing/plaf/basic/BasicTableUI.java:
3019         (getRowForPoint): Removed. Replaced by
3020         JTable.rowAtPoint().
3021         (getColForPoint): Removed. Replaced by 
3022         JTable.columnAtPoint().
3023         (updateSelection): Updated to call JTable.columnAtPoint 
3024         and JTable.rowAtPoint.
3025         * javax/swing/table/DefaultTableColumnModel.java:
3026         (getSelectedColumns): Implemented.
3027         (getSelectedColumnCount): Implemented.          
3028
3029 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3030
3031         * Makefile.am 
3032         (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
3033         (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
3034         * Makefile.in: Regenerate.
3035         * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
3036         * gnu/awt/xlib/XFramePeer.java: Likewise.
3037         * gnu/awt/xlib/XToolkit.java: Likewise.
3038         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
3039         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
3040         * gnu/java/awt/ClasspathToolkit.java 
3041         (nativeQueueEmpty)
3042         (wakeNativeQueue)
3043         (iterateNativeQueue): New methods.
3044         * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
3045         * gnu/java/awt/peer/gtk/GtkToolkit.java
3046         (gtkInit): Absorb from defunct GtkMainThread class.
3047         (static): Run gtkInit in static startup block.
3048         (GtkToolkit): Remove construction of GtkMainThread and queue.
3049         (getSystemEventQueueImpl): Construct queue when requested.
3050         (nativeQueueEmpty)
3051         (wakeNativeQueue)
3052         (iterateNativeQueue): New methods.
3053         * java/awt/Component.java (removeNotify): Remove race.
3054         * java/awt/EventDispatchThread.java 
3055         (EventDispatchThread): Don't start on construction.
3056         (run): Remove isInterrupted check.
3057         * java/awt/EventQueue.java (shutdown): New flag.
3058         (isShutdown): New method checking J2SE shutdown condition.
3059         (setShutdown): New method.
3060         (getNextEvent): Restructure to use ClasspathToolkit.
3061         (postEvent): Activate new thread on posting, wake thread on
3062         post of possible shutdown condition event.
3063         * java/awt/Frame.java 
3064         (Frame): Call noteFrame in all constructors.
3065         (fireDummyEvent): New helper method.
3066         (addNotify): Fire a dummy event to wake up queue.
3067         (removeNotify): Fire a dummy event to wake up queue.
3068         (noteFrame): New method.
3069         (weakFrames): New static field.
3070         (getFrames): Implement.
3071         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: 
3072         Remove.
3073         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
3074         Move everything from GtkMainThread into this file
3075         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
3076         (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
3077         (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
3078         New functions to implement single-threaded queue semantics.
3079
3080 2005-02-15  Michael Koch  <konqueror@gmx.de>
3081
3082         * javax/swing/plaf/metal/MetalLookAndFeel.java
3083         (getControlTextFont): New method.
3084         (getMenuTextFont): Likewise.
3085         (getSubTextFont): Likewise.
3086         (getSystemTextFont): Likewise.
3087         (getUserTextFont): Likewise.
3088         (getWindowTitleFont): Likewise.
3089
3090 2005-02-15  Michael Koch  <konqueror@gmx.de>
3091
3092         * javax/swing/text/AbstractDocument.java
3093         (documentFilter): New field.
3094         (getDocumentFilter): New method.
3095         (setDocumentFilter): Likewise.
3096         (dump): Likewise.
3097
3098 2005-02-15  Michael Koch  <konqueror@gmx.de>
3099
3100         * javax/swing/JTree.java
3101         (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
3102
3103 2005-02-15  Michael Koch  <konqueror@gmx.de>
3104
3105         * javax/swing/text/AbstractDocument.java
3106         (AbstractElement.getLength): Fixed off-by-one error.
3107         (AbstractElement.children): Made abstract.
3108         (AbstractElement.getAllowsChildren): Likewise.
3109         (AbstractElement.getElement): Likewise.
3110         (AbstractElement.dumpElement): New private method.
3111         (AbstractElement.dump): New method.
3112         (BranchElememt.getName): Fixed implementation.
3113         (BranchElememt.toString): Likewise.
3114         (BranchElememt.getElement): Fixed arguments.
3115         (LeafElement.getName): Fixed implementation.
3116         (LeafElement.toString): Likewise.
3117         * javax/swing/text/GapContent.java
3118         (GapContent): Put default content into buffer.
3119         * javax/swing/text/PlainDocument.java
3120         (reindex): Use empty attribute sets instead of null.
3121         (createDefaultRoot): Reimplemented.
3122         (insertUpdate): Call super method.
3123         (removeUpdate): Likewise.
3124         (getParagraphElement): Implemented.
3125
3126 2005-02-15  Michael Koch  <konqueror@gmx.de>
3127
3128         * gnu/java/awt/ClasspathToolkit.java
3129         (createRobot): Throws java.awt.AWTException.
3130         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
3131         Added '__attribute__((unused))' to all unused method arguments.
3132
3133 2005-02-15  Michael Koch  <konqueror@gmx.de>
3134
3135         * javax/swing/DefaultBoundedRangeModel.java
3136         (fireValueChanged): Fixed off-by-one error.
3137
3138 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3139
3140         * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
3141         (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
3142         GdkRobotPeer.java.
3143         (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
3144         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
3145         * gnu/awt/xlib/XToolkit.java (createRobot): New method.
3146         * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
3147         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
3148         (getDefaultScreenDevice): Implement.
3149         * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
3150         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
3151         * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
3152         * java/awt/Robot.java: Implement.
3153         * java/awt/peer/RobotPeer.java: Rename parameters.
3154         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
3155         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3156         (awt_keycode_to_keysym): Make non-static.
3157         * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
3158         AWT_BUTTON3_MASK): Declare constants.
3159         (awt_keycode_to_keysym): Declare.
3160
3161         * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
3162         * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
3163         and is non-empty pass its value to "make check".
3164         (test_mauve_sim): Likewise.
3165
3166 2005-02-15  Michael Koch  <konqueror@gmx.de>
3167
3168         * javax/imageio/IIOParam.java
3169         (setSourceBands): New method.
3170         (setSourceSubsampling): Likewise.
3171         * javax/imageio/ImageReadParam.java
3172         (setDestination): Likewise.
3173         (setDestinationBands): Likewise.
3174         (setSourceProgressivePasses): Likewise.
3175         * javax/imageio/metadata/IIOInvalidTreeException.java
3176         (serialVersionUID): New static field.
3177         * javax/imageio/metadata/IIOMetadataNode.java
3178         (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
3179         (parent): Dont initailize with default value explicitely.
3180         (Object): Likewise.
3181         (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
3182         (removeAttributeNode): Likewise.
3183         (removeAttributeNS): Likewise.
3184         (setAttribute): Likewise.
3185         (setAttributeNode): Likewise.
3186         (setAttributeNodeNS): Likewise.
3187         (setAttributeNS): Likewise.
3188         (appendChild): Likewise.
3189         (getNodeValue): Likewise.
3190         (insertBefore): Likewise.
3191         (removeChild): Likewise.
3192         (replaceChild): Likewise.
3193         (setPrefix): Likewise.
3194
3195 2005-02-15  Michael Koch  <konqueror@gmx.de>
3196
3197         * javax/swing/LookAndFeel.java
3198         (getDesktopPropertyValue): New method.
3199
3200 2005-02-15  Michael Koch  <konqueror@gmx.de>
3201
3202         * javax/swing/JTree.java
3203         (hasChildren): New instance field.
3204
3205 2005-02-15  Michael Koch  <konqueror@gmx.de>
3206
3207         * javax/swing/JComponent.java
3208         (getToolTipText): New method.
3209         (getTitledBorderText): Likewise.
3210         (getAccessibleKeyBinding): Likewise.
3211         (getVerifyInputWhenFocusTarget): Likewise.
3212         (setVerifyInputWhenFocusTarget): Likewise.
3213         (verifyInputWhenFocusTarget): New instance field.
3214
3215 2005-02-15  Michael Koch  <konqueror@gmx.de>
3216
3217         * javax/swing/DefaultListSelectionModel.java
3218         (fireValueChanged): New method.
3219
3220 2005-02-15  Michael Koch  <konqueror@gmx.de>
3221
3222         * javax/swing/DefaultBoundedRangeModel.java:
3223         Fixed javadocs all over.
3224         (fireStateChanged): Simplified.
3225         * javax/swing/BoundedRangeModel.java:
3226         Reformatted.
3227
3228 2005-02-15  Michael Koch  <konqueror@gmx.de>
3229
3230         * javax/swing/JRootPane.java
3231         (setMenuBar): Added @deprecated tag.
3232         (getMenuBar): Likewise.
3233         * javax/swing/JTable.java
3234         (sizeColumnsToFit): Likewise.
3235
3236 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
3237
3238         * javax/swing/ImageIcon.java (setImage): Implemented.
3239
3240 2005-02-15  Michael Koch  <konqueror@gmx.de>
3241
3242         * javax/swing/JTable.java:
3243         Removed unused imports.
3244
3245 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
3246
3247         (prepareRenderer): Get column's index in dataModel instead
3248         of column's view index.
3249         (getColumnCount): return count of the columns in ColumnModel,
3250         not in dataModel.
3251         (removeColumn): Implemented.
3252         (moveColumm): Likewise.
3253         (setRowHeight): throw IllegalArgumentException if height is 
3254         less then 1.
3255         * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
3256         (DefaultTableColumnModel):Add call to createSelectionModel().
3257         (addColumn): Fire columnAdded event to registered listeners.
3258         (removeColumn): Fire columnRemoved event to registered listeners.
3259         (moveColumn): Fire columnMoved event to registered listeners.
3260         (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
3261         (getColumnIndex): Changed parameter name.
3262         (setColumnSelectionAllowed): Likewise.
3263         (fireColumnAdded): Implemented.
3264         (fireColumnRemoved): Likewise.
3265         (fireColumnMoved): Likewise.
3266         (fireColumnMarginChanged): Likewise.
3267         (getListeners): Changed parameter name.
3268         (propertyChange): Implemented.
3269         (valueChanged): Changed parameter name. 
3270         (createSelectionModel): Implemented.    
3271
3272 2005-02-15  Michael Koch  <konqueror@gmx.de>
3273
3274         * gnu/java/awt/peer/gtk/GtkToolkit.java:
3275         Explicitely import used classes.
3276         (getLocalGraphicsEnvironment): Simplify.
3277         * java/awt/Window.java (Window):
3278         Enable code to get the default GraphicsConfiguration.
3279
3280 2005-02-15  Michael Koch  <konqueror@gmx.de>
3281
3282         * javax/swing/plaf/metal/DefaultMetalTheme.java
3283         (CONTROL_TEXT_FONT): New static field.
3284         (MENU_TEXT_FONT): Likewise.
3285         (SUB_TEXT_FONT): Likewise.
3286         (SYSTEM_TEXT_FONT): Likewise.
3287         (USER_TEXT_FONT): Likewise.
3288         (WINDOW_TITLE_FONT): Likewise.
3289         (getControlTextFont): New method.
3290         (getMenuTextFont): Likewise.
3291         (getSubTextFont): Likewise.
3292         (getSystemTextFont): Likewise.
3293         (getUserTextFont): Likewise.
3294         (getWindowTitleFont): Likewise.
3295         * javax/swing/plaf/metal/MetalTheme.java
3296         (BLACK): Initialize with Color.BLACK.
3297         (WHITE): Initialize with Color.WHITE.
3298         (getInactiveControlTextColor): Return getControlDisabled().
3299         (getMenuDisabledForeground): Return getSecondary3().
3300         (getControlTextFont): New abstract method.
3301         (getMenuTextFont): Likewise.
3302         (getSubTextFont): Likewise.
3303         (getSystemTextFont): Likewise.
3304         (getUserTextFont): Likewise.
3305         (getWindowTitleFont): Likewise.
3306
3307 2005-02-15  Michael Koch  <konqueror@gmx.de>
3308
3309         * javax/swing/JFormattedTextField.java
3310         (getFocusLostBehavior): Fixed typo in method name.
3311         (setFocusLostBehavior): Likewise.
3312
3313 2005-02-15  Michael Koch  <konqueror@gmx.de>
3314
3315         * javax/swing/TransferHandler.java:
3316         Reworked import statements.
3317
3318 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3319
3320         * java/awt/Button.java,
3321         java/awt/Canvas.java,
3322         java/awt/Checkbox.java,
3323         java/awt/CheckboxMenuItem.java,
3324         java/awt/Choice.java,
3325         java/awt/Dialog.java,
3326         java/awt/Frame.java,
3327         java/awt/Label.java,
3328         java/awt/List.java,
3329         java/awt/Menu.java,
3330         java/awt/MenuBar.java,
3331         java/awt/MenuItem.java,
3332         java/awt/PopupMenu.java,
3333         java/awt/ScrollPane.java,
3334         java/awt/Scrollbar.java,
3335         java/awt/TextArea.java,
3336         java/awt/Window.java (getAccessibleContext): Clean up comments.
3337         Reformat.
3338         * java/awt/Button.java,
3339         java/awt/Checkbox.java,
3340         java/awt/Choice.java,
3341         java/awt/Menu.java,
3342         java/awt/PopupMenu.java,
3343         java/awt/TextArea.java (getAccessibleContext): Only create new
3344         accessible once.
3345         * java/awt/TextComponent.java (getAccessibleContext): Implement.
3346
3347 2005-02-15  Michael Koch  <konqueror@gmx.de>
3348
3349         * java/awt/Button.java,
3350         javax/swing/JApplet.java,
3351         javax/swing/JFormattedTextField.java,
3352         javax/swing/JWindow.java,
3353         javax/swing/JTree.java,
3354         javax/swing/plaf/basic/BasicEditorPaneUI.java,
3355         javax/swing/plaf/basic/BasicTextPaneUI.java,
3356         javax/swing/plaf/basic/BasicTreeUI.java:
3357         Reworked import statements.
3358
3359 2005-02-15  Michael Koch  <konqueror@gmx.de>
3360
3361         * Makefile.am: Put javax.imageio into its own library and link it
3362         against lib-org-w3c-dom.la to fix bootstrapping.
3363         * Makefile.in: Regenerated.
3364
3365 2005-02-15  Michael Koch  <konqueror@gmx.de>
3366
3367         * javax/swing/text/TextAction.java
3368         (getTextComponent): Simplified. Added Javadoc.
3369         (augmentList): Implemented. Added Javadoc.
3370         (getFocusedComponent): Added javadoc.
3371
3372 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3373
3374         * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
3375         getAccessibleContext): Implement.
3376         * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
3377         getAccessibleContext): Implement.
3378
3379 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3380
3381         * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
3382         Implement.
3383         * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
3384         Implement.
3385         * java/awt/Window.java (getAccessibleContext): Fix comment.
3386         Remove extra import.
3387
3388 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3389
3390         * java/awt/Window.java (AccessibleAWTWindow): Implement.
3391         (isActive, isFocused, getAccessibleContext): Implement.
3392
3393 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3394
3395         * java/awt/MenuItem.java (getAccessibleContext): Implement.
3396         * java/awt/MenuComponent.java (accessibleContext): Make package
3397         visible.
3398         * java/awt/CheckboxMenuItem.java (getAccessibleContext,
3399         AccessibleAWTCheckboxMenuItem): Implement.
3400
3401 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3402
3403         * java/awt/List.java: Implement AccessibleAWTList,
3404         AccessibleAWTListChild.
3405
3406 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3407
3408         * java/awt/Choice.java: Add implements declaration for
3409         Accessible.
3410
3411 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3412
3413         * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
3414         instead of Object.
3415
3416 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3417
3418         * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
3419         implemented interface list.
3420
3421 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3422
3423         * javax/imageio/metadata/IIOMetadataNode.java: Implement.
3424         * javax/imageio/metadata/IIOAttr.java: New class.
3425         * javax/imageio/metadata/IIONamedNodeMap.java: New class.
3426         * javax/imageio/metadata/IIONodeList.java: New class.
3427         * Makefile.am: Added new files.
3428         * Makefile.in: Regenerated.
3429
3430 2005-02-15  Michael Koch  <konqueror@gmx.de>
3431
3432         * javax/swing/AbstractAction.java,
3433         javax/swing/AbstractCellEditor.java,
3434         javax/swing/AbstractListModel.java,
3435         javax/swing/DefaultBoundedRangeModel.java,
3436         javax/swing/DefaultButtonModel.java,
3437         javax/swing/DefaultCellEditor.java,
3438         javax/swing/DefaultComboBoxModel.java,
3439         javax/swing/DefaultDesktopManager.java,
3440         javax/swing/JMenu.java,
3441         javax/swing/JSlider.java,
3442         javax/swing/KeyStroke.java,
3443         javax/swing/OverlayLayout.java,
3444         javax/swing/ScrollPaneLayout.java,
3445         javax/swing/SizeRequirements.java,
3446         javax/swing/ViewportLayout.java:
3447         Made serialVersionUID private.
3448
3449 2005-02-15  Michael Koch  <konqueror@gmx.de>
3450
3451         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
3452         Reformatted.
3453
3454 2005-02-15  Michael Koch  <konqueror@gmx.de>
3455
3456         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
3457
3458 2005-02-15  Michael Koch  <konqueror@gmx.de>
3459
3460         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
3461
3462 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
3463
3464         * java/awt/EventDispatchThread.java,
3465         java/awt/Toolkit.java:
3466         Don't catch java.lang.ThreadDeath.
3467
3468 2005-02-15  Michael Koch  <konqueror@gmx.de>
3469
3470         * javax/swing/text/PasswordView.java
3471         (drawEchoCharacter): Added javadoc.
3472         (drawSelectedText): Likewise.
3473         (drawUnselectedText): Likewise.
3474
3475 2005-02-15  Michael Koch  <konqueror@gmx.de>
3476
3477         * javax/swing/JRootPane.java
3478         (windowDecorationStyle): New field.
3479         (setMenuBar): New method.
3480         (getMenuBar): Likewise.
3481         (getWindowDecorationStyle): Likewise.
3482         (setWindowDecorationStyle): Likewise.
3483
3484 2005-02-15  Michael Koch  <konqueror@gmx.de>
3485
3486         * javax/swing/DefaultListSelectionModel.java
3487         (leadAnchorNotificationEnabled): Made protected.
3488
3489 2005-02-15  Michael Koch  <konqueror@gmx.de>
3490
3491         * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
3492         * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
3493         * Makefile.in: Regenerated.
3494
3495
3496 2005-02-15  Michael Koch  <konqueror@gmx.de>
3497
3498         * javax/swing/JFormattedTextField.java: Implemented.
3499         * javax/swing/JWindow.java
3500         (JWindow): New constructors.
3501         (initWindow): Renamed from initFrame.
3502         * javax/swing/UIDefaults.java
3503         (ActiveValue): Made interface static.
3504         (LazyValue): Likewise.
3505         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
3506         (TitlePaneLayout.TitlePaneLayout): New constructor.
3507         * javax/swing/plaf/basic/BasicSliderUI.java
3508         (ChangeHandler): Made public.
3509         (FocusHandler): Likewise.
3510         (PropertyChangeHandler): Likewise.
3511         (ScrollListener): Likewise.
3512         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3513         (FocusHandler): Likewise.
3514         (MouseHandler): Likewise.
3515         * javax/swing/plaf/basic/BasicTextPaneUI.java
3516         (BasicTextPaneUI): Extend BasicEditorPaneUI.
3517         * javax/swing/plaf/basic/BasicToolBarUI.java
3518         (BasicToolBarUI): Simplified. Reworked javadoc.
3519         (canDock): Simplified. Make public.
3520         (DockingListener): Made public.
3521         * javax/swing/text/JTextComponent.java
3522         (navigationFilter): New field.
3523         (getNavigationFilter): New method.
3524         (setNavigationFilter): Likewise.
3525
3526 2005-02-15  Michael Koch  <konqueror@gmx.de>
3527
3528         * javax/swing/plaf/metal/MetalTheme.java
3529         (getControlTextColor): Return getControlInfo().
3530         (getHighlightedTextColor): Return getControlTextColor().
3531
3532 2005-02-15  Michael Koch  <konqueror@gmx.de>
3533
3534         * javax/swing/plaf/basic/BasicButtonListener.java
3535         (BasicButtonListener): New constructor.
3536         * javax/swing/plaf/basic/BasicButtonUI.java
3537         (createButtonListener): Usw new BasicButtonListener constructor.
3538
3539 2005-02-15  Michael Koch  <konqueror@gmx.de>
3540
3541         * javax/imageio/event/package.html,
3542         javax/imageio/metadata/package.html: New files.
3543
3544 2005-02-15  Michael Koch  <konqueror@gmx.de>
3545
3546         * java/awt/image/MemoryImageSource.java: Reformatted.
3547
3548 2005-02-15  Michael Koch  <konqueror@gmx.de>
3549
3550         * javax/swing/tree/TreeCellEditor.java: Refomatted.
3551
3552 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
3553
3554         * java/awt/color/ICC_Profile.java
3555         (finalize): Removed pointless field assignments.
3556
3557 2005-02-15  Michael Koch  <konqueror@gmx.de>
3558
3559         * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
3560         * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
3561         * Makefile.in: Regenerated.
3562
3563 2005-02-15  Michael Koch  <konqueror@gmx.de>
3564
3565         * javax/swing/text/DefaultStyledDocument.java: New file.
3566         * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
3567         * Makefile.in: Regenerated.
3568
3569 2005-02-15  Michael Koch  <konqueror@gmx.de>
3570
3571         * javax/swing/JFileChooser.java
3572         (showDialog): Return CANCEL_OPTION for now.
3573         (showOpenDialog): Likewise.
3574         (showSaveDialog): Likewise.
3575
3576 2005-02-15  Michael Koch  <konqueror@gmx.de>
3577
3578         * javax/swing/JApplet.java
3579         (HIDE_ON_CLOSE): Removed.
3580         (EXIT_ON_CLOSE): Likewise.
3581         (DISPOSE_ON_CLOSE): Likewise.
3582         (DO_NOTHING_ON_CLOSE): Likewise.
3583         (close_action): Likewise.
3584         (getDefaultCloseOperation): Likewise.
3585         (setDefaultCloseOperation): Likewise.
3586         (processWindowEvent): Likewise.
3587         (getPreferredSize): Simplified.
3588         * javax/swing/JInternalFrame.java
3589         (setDefaultCloseOperation): Fixed throwing exception on wrong argument
3590         value.
3591         * javax/swing/JWindow.java
3592         (HIDE_ON_CLOSE): Removed.
3593         (EXIT_ON_CLOSE): Likewise.
3594         (DISPOSE_ON_CLOSE): Likewise.
3595         (DO_NOTHING_ON_CLOSE): Likewise.
3596         (close_action): Likewise.
3597         (processKeyEvent): Likewise.
3598         (setDefaultCloseOperation): Likewise.
3599         (getPreferredSize): Simplified.
3600
3601 2005-02-15  Michael Koch  <konqueror@gmx.de>
3602
3603         * javax/swing/JTextField.java
3604         (getPreferredSize): Re-implemented.
3605
3606 2005-02-15  Michael Koch  <konqueror@gmx.de>
3607
3608         * javax/swing/JLabel.java
3609         (setDisplayedMnemonic): Use only upper case characters.
3610         (setDisplayedMnemonicIndex): Handle index == -1 and fire
3611         PropertyChangeEvent after property got set to the new index.
3612
3613 2005-02-15  Robert Schuster <thebohemian@gmx.net>
3614
3615         * javax/swing/JComboBox.java:
3616         (JComboBox): Removed selection of the
3617         first item in the model.
3618
3619 2005-02-15  Robert Schuster <thebohemian@gmx.net>
3620
3621         * javax/swing/JComboBox.java
3622         added support for no item being selected
3623         (JComboBox): select first or nothing depending on element count
3624         (setModel): cleaned up unneeded "this." usage, added more
3625         docs, made exception behavior match that of the JDK
3626         (setLighWeightPopupEnabled): removed unneeded "this." usage
3627         (setEditable): dito
3628         (setMaximumRowCount): dito
3629         (setRenderer): dito
3630         (setPrototypeDisplayValue): dito
3631         (getSelectedItem): simplified, added more user doc
3632         (setSelectedIndex): corrected exception behavior, added more user doc
3633         (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
3634         added performance warning to user doc
3635         (addItem): fixed exception behavior, added user doc
3636         (insertItemAt): dito
3637         (removeItem): dito
3638         (removeItemAt): dito
3639         (removeAll): fixed exception behavior, added user doc, added support
3640         for model not being instance of DefaultComboBoxModel
3641         (getSelectedItemObjects): simplified
3642         (getItemCount): fixed dependency on DefaultComboBoxModel
3643         (getItemAt): fixed dependency on MutableComboBoxModel
3644         * javax/swing/DefaultComboBoxModel.java:
3645         (setSelectedItem): updates selected item only if new
3646         value is null or known (match JDK behavior)
3647         * javax/swing/plaf/basic/BasicComboBoxUI.java:
3648         (paintCurrentValue): renders "" if no item is selected
3649
3650 2005-02-15  Michael Koch  <konqueror@gmx.de>
3651
3652         * javax/swing/plaf/metal/MetalTheme.java,
3653         javax/swing/plaf/metal/DefaultMetalTheme.java:
3654         New files.
3655         * javax/swing/plaf/metal/MetalLookAndFeel.java
3656         * Makefile.am: Added the new files.
3657         * Makefile.in: Regenerated.
3658
3659 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
3660
3661         * javax/swing/JTable.java
3662         (editorComp): New field.
3663         (JTable): Initialize local variables and call updateUI
3664         (selectionBackground): Make protected.
3665         (selectionForeground): Likewise.
3666         (initializeLocalVars): Create default editors and renderers,
3667         initialize editingColumn, editingRow variables.
3668         (createDefaultEditors): New Method.
3669         (createDefaultRenderers): Likewise.
3670         (createDefaultListSelectionModel): Removed
3671         (createDefaultSelectionModel): New Method.
3672         (createDefaultTableHeader): Likewise
3673         (removeColumn): Likewise.
3674         (getEditingColumn): Likewise.
3675         (setEditingColumn): Likewise.
3676         (getEditingRow): Likewise.
3677         (setEditingRow): Likewise.
3678         (getEditorComponent): Likewise.
3679         (isEditing): Likewise.
3680         (setDefaultEditor): Likewise.
3681         (addColumnSelectionInterval): Likewise.
3682         (addRowSelectionInterval): Likewise.
3683         (setColumnSelectionInterval): Likewise.
3684         (setRowSelectionInterval): Likewise.
3685         (removeColumnSelectionInterval): Likewise.
3686         (removeRowSelectionInterval): Likewise.
3687         (isColumnSelected): Likewise.
3688         (isRowSelected): Likewise.
3689         (isCellSelected): Likewise.
3690         (selectAll): Likewise.
3691
3692 2005-02-15  Michael Koch  <konqueror@gmx.de>
3693
3694         * javax/swing/JTable.java
3695         (addColumn): New method.
3696         (getColumnClass): Likewise.
3697         (getColumnName): Likewise.
3698
3699 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
3700
3701         * javax/swing/TransferHandler.java
3702         (createTransferable): Made protected.
3703
3704 2005-02-15  Michael Koch  <konqueror@gmx.de>
3705
3706         * javax/swing/JTable.java,
3707         javax/swing/plaf/basic/BasicTableHeaderUI.java,
3708         javax/swing/plaf/basic/BasicTableUI.java:
3709         Use fixed get/setIntercellSpacing() methods.
3710
3711 2005-02-15  Michael Koch  <konqueror@gmx.de>
3712
3713         * javax/swing/JTable.java
3714         (getIntercellSpacing): Fixed typo in method name.
3715         (setIntercellSpacing): Likewise.
3716
3717 2005-02-15  Michael Koch  <konqueror@gmx.de>
3718
3719         * javax/swing/text/JTextComponent.java
3720         (focusAccelerator): New variable.
3721         (getFocusAccelerator): New method.
3722         (setFocusAccelerator): Likewise.
3723
3724 2005-02-15  Michael Koch  <konqueror@gmx.de>
3725
3726         * javax/swing/JComponent.java
3727         (setTransferHandler): Made public. Fire property change event.
3728         * javax/swing/TransferHandler.java: Implemented.
3729         * javax/swing/text/JTextComponent.java
3730         (DefaultTransferHandler): New inner class.
3731         (defaultTransferHandler): New variable.
3732         (copy): New method.
3733         (cut): Likewise.
3734         (paste): Likewise.
3735         (doTransferAction): Likewise.
3736
3737 2005-02-15  Michael Koch  <konqueror@gmx.de>
3738
3739         * javax/swing/JTree.java
3740         (collapsePath): New method.
3741         (collapseRow): Likewise.
3742         (expandPath): Likewise.
3743         (expandRow): Likewise.
3744         (checkExpandParents): Likewise.
3745         (doExpandParents): Likewise.
3746         (setExpandedState): Likewise.
3747         (makeVisible): Likewise.
3748
3749 2005-02-15  Michael Koch  <konqueror@gmx.de>
3750
3751         * javax/swing/JPasswordField.java: Updated javadocs.
3752
3753 2005-02-15  Michael Koch  <konqueror@gmx.de>
3754
3755         * javax/swing/JLayeredPane.java
3756         (getLayer): Fixed return type, made public.
3757         (getPosition): Use new getLayer().
3758         (SetPosition): Likewise.
3759         (getIndexOf): Likewise.
3760         (remove): Likewise.
3761         * javax/swing/JInternalFrame.java
3762         (getLayer): Use new JLayeredPane.getLayer().
3763
3764
3765 2005-02-15  Michael Koch  <konqueror@gmx.de>
3766
3767         * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
3768         (setHeaderValue): Simplified. Do nothing when old value == new value.
3769
3770 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3771
3772         * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
3773         against null clip region.
3774         * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
3775         gtkWindowSetResizable.
3776         (postConfigureEvent): Only revalidate if frame size has changed.
3777         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
3778         Only revalidate if frame size has changed.
3779         * java/awt/Component.java (reshape): Only repaint and post
3780         component events if component is showing.
3781         * java/awt/Container.java (addImpl): Only post container event if
3782         container is showing.
3783         (remove): Likewise.
3784         * java/awt/Window.java (setLocationRelativeTo): Implement.
3785         (setBoundsCallback): Only post component events if component is
3786         showing.
3787         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
3788         Protect against null graphics structure.  Flush gdk event queue.
3789
3790 2005-02-15  Michael Koch  <konqueror@gmx.de>
3791
3792         * javax/imageio/ImageReader.java,
3793         javax/imageio/ImageTranscoder.java,
3794         javax/imageio/ImageWriter.java,
3795         javax/imageio/spi/ImageInputStreamSpi.java,
3796         javax/imageio/spi/ImageOutputStreamSpi.java,
3797         javax/imageio/spi/ServiceRegistry.java,
3798         javax/imageio/stream/ImageInputStream.java,
3799         javax/imageio/stream/ImageOutputStream.java: Updated.
3800         * javax/imageio/IIOException.java,
3801         javax/imageio/IIOImage.java,
3802         javax/imageio/IIOParam.java,
3803         javax/imageio/IIOParamController.java,
3804         javax/imageio/ImageIO.java,
3805         javax/imageio/ImageReadParam.java,
3806         javax/imageio/ImageTypeSpecifier.java,
3807         javax/imageio/ImageWriteParam.java,
3808         javax/imageio/spi/IIORegistry.java,
3809         javax/imageio/spi/ImageReaderSpi.java,
3810         javax/imageio/spi/ImageWriterSpi.java,
3811         javax/imageio/stream/FileCacheImageInputStream.java,
3812         javax/imageio/stream/FileCacheImageOutputStream.java,
3813         javax/imageio/stream/FileImageInputStream.java,
3814         javax/imageio/stream/FileImageOutputStream.java,
3815         javax/imageio/stream/ImageInputStreamImpl.java,
3816         javax/imageio/stream/ImageOutputStreamImpl.java,
3817         javax/imageio/stream/MemoryCacheImageInputStream.java,
3818         javax/imageio/stream/MemoryCacheImageOutputStream.java,
3819         javax/imageio/event/IIOReadProgressListener.java,
3820         javax/imageio/event/IIOReadUpdateListener.java,
3821         javax/imageio/event/IIOReadWarningListener.java,
3822         javax/imageio/event/IIOWriteProgressListener.java,
3823         javax/imageio/event/IIOWriteWarningListener.java,
3824         javax/imageio/metadata/IIOMetadata.java,
3825         javax/imageio/metadata/IIOMetadataController.java,
3826         javax/imageio/metadata/IIOMetadataFormat.java,
3827         javax/imageio/metadata/IIOInvalidTreeException.java,
3828         javax/imageio/metadata/IIOMetadataFormatImpl.java,
3829         javax/imageio/metadata/IIOMetadataNode.java: New files.
3830         * Makefile.am (javax_source_files): Added new files
3831         * Makefile.in: Regenerated.
3832
3833 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3834
3835         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: 
3836         Rework painting into BufferedImages
3837         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
3838         Construct BufferedImage with alpha only when alpha is
3839         present in colormodel.
3840         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
3841         Rework painting into client-side jint arrays.
3842         * jni/gtk-peer/gtkcairopeer.h: 
3843         Likewise.
3844
3845 2005-02-15  Michael Koch  <konqueror@gmx.de>
3846
3847         * javax/swing/DefaultListCellRenderer.java
3848         (serialVersionUID): Made private.
3849         (getListCellRendererComponent): Set horizontal alignment.
3850         * javax/swing/JLabel.java
3851         (setVerticalAlignment): Re-implemented.
3852         (setHorizontalAlignment): Do nothing if old value = new value.
3853         * javax/swing/JList.java
3854         (setCellRenderer): Likewise.
3855         (setModel): Re-implemented.
3856         (setSelectionModel): Likewise.
3857
3858 2005-02-15  David Gilbert <david.gilbert@object-refinery.com>
3859
3860         * java/awt/Component.java,
3861         java/awt/geom/Rectangle2D.java:
3862         Javadoc fixes.
3863
3864 2005-02-15  Michael Koch  <konqueror@gmx.de>
3865
3866         * javax/swing/AbstractListModel.java
3867         (fireContentsChanged): Simplified.
3868         (fireIntervalAdded): Likewise.
3869         (fireIntervalRemoved): Likewise.
3870         * javax/swing/DefaultSingleSelectionModel.java:
3871         Reformatted.
3872         (fireStateChanged): Simplified.
3873         * javax/swing/JPopupMenu.java
3874         (setSelectionModel): Set property.
3875
3876 2005-02-15  Michael Koch  <konqueror@gmx.de>
3877
3878         * java/awt/print/Book.java: Reformatted.
3879
3880 2005-02-15  Michael Koch  <konqueror@gmx.de>
3881
3882         * java/awt/geom/Area.java
3883         (QuadSegment.curveArea): Remove unused variables.
3884         (CubicSegment.curveArea): Likewise.
3885
3886 2005-02-15  Michael Koch  <konqueror@gmx.de>
3887
3888         * javax/swing/JTree.java
3889         (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
3890         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
3891         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
3892         (EXPANDED): New constant.
3893         (COLLAPSED): Likewise.
3894         (nodeStates): New field.
3895         (cellEditor): New method.
3896         (cellRenderer): Likewise.
3897         (selectionModel): Likewise.
3898         (treeModel): Likewise.
3899         (scrollPathToVisible): Likewise.
3900         (scrollRowToVisible): Likewise.
3901         (isCollapsed): Likewise.
3902         (isExpanded): Likewise.
3903         (clearToggledPaths): Likewise.
3904         (getDescendantToggledPaths): Likewise.
3905         (hasBeenExpanded): Likewise.
3906         (isVisible): Likewise.
3907         (isPathEditable): Likewise.
3908
3909 2005-02-15  Michael Koch  <konqueror@gmx.de>
3910
3911         * javax/swing/JLayeredPane.java: Reformatted.
3912
3913 2005-02-15  Michael Koch  <konqueror@gmx.de>
3914
3915         * javax/swing/tree/DefaultMutableTreeNode.java:
3916         Completely Revised.
3917         * javax/swing/tree/MutableTreeNode.java:
3918         Reformatted.
3919
3920 2005-02-15  Michael Koch  <konqueror@gmx.de>
3921
3922         * javax/swing/JFormattedTextField.java
3923         (setDocument): Call setDocument of super class. Don't fire property
3924         change event.
3925
3926 2005-02-15  Sven de Marothy  <sven@physto.se>
3927
3928         * java/awt/image/IndexColorModel.java:
3929         Add FIXME with respect to alpha handling.
3930         (getAlpha): Default to returning opaque pixels. 
3931         * java/awt/image/MultiPixelPackedSampleModel.java
3932         (MultiPixelPackedSampleModel): Corrected parameters, order of
3933         bit shifts and masks, stride length off by one.
3934
3935 2005-02-15  Michael Koch  <konqueror@gmx.de>
3936
3937         * javax/swing/JList.java, javax/swing/JTree.java:
3938         Added much new methods and fixed much methods setting bound properties.
3939
3940 2005-02-16  Mark Wielaard  <mark@klomp.org>
3941
3942         * Makefile.am (gnu_xml_source_files): Removed
3943         gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
3944         gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
3945         gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
3946         gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
3947         gnu/xml/dom/DomDocumentFragment.java,
3948         gnu/xml/dom/DomProcessingInstruction.java and
3949         gnu/xml/dom/ls/DomLSException.java.
3950         * Makefile.in: Regenerated.
3951
3952 2005-02-16  Tom Tromey  <tromey@redhat.com>
3953
3954         * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
3955         attribute index is out of bounds.
3956
3957 2005-02-16  Chris Burdess  <dog@gnu.org>
3958
3959         * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
3960         isDeclared methods. Improved performance of isSpecified methods.
3961
3962 2005-02-16  Chris Burdess  <dog@gnu.org>
3963
3964         Fixes bug libgcj/19864
3965         * gnu/xml/dom/DomAttr.java,
3966         gnu/xml/dom/DomCDATA.java,
3967         gnu/xml/dom/DomCDATASection.java,
3968         gnu/xml/dom/DomCharacterData.java,
3969         gnu/xml/dom/DomDOMException.java,
3970         gnu/xml/dom/DomDoctype.java,
3971         gnu/xml/dom/DomDocument.java,
3972         gnu/xml/dom/DomDocumentConfiguration.java,
3973         gnu/xml/dom/DomDocumentFragment.java,
3974         gnu/xml/dom/DomElement.java,
3975         gnu/xml/dom/DomEx.java,
3976         gnu/xml/dom/DomFragment.java,
3977         gnu/xml/dom/DomImpl.java,
3978         gnu/xml/dom/DomIterator.java,
3979         gnu/xml/dom/DomNamedNodeMap.java,
3980         gnu/xml/dom/DomNode.java,
3981         gnu/xml/dom/DomNsNode.java,
3982         gnu/xml/dom/DomPI.java,
3983         gnu/xml/dom/DomProcessingInstruction.java,
3984         gnu/xml/dom/DomText.java,
3985         gnu/xml/dom/DomLSEx.java,
3986         gnu/xml/dom/DomLSException.java,
3987         gnu/xml/dom/DomLSParser.java,
3988         gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
3989         implementation class names to conform to Classpath guidelines.  Make
3990         DomLSException use JDK 1.4+ exception chaining.
3991         * gnu/xml/util/SAXNullTransformerFactory.java,
3992         gnu/xml/xpath/Predicate.java: Use constants relative to 
3993         declaring class or interface.
3994
3995 2005-02-16  Andrew Haley  <aph@redhat.com>
3996
3997         * javax/security/auth/Subject.java (doAsPrivileged): If acc is
3998         null, create a new AccessControlContext.
3999         * java/security/SecureClassLoader.java (protectionDomainCache):
4000         new field.
4001         (defineClass): Create a new protection domain and add it to our
4002         cache.
4003
4004         * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
4005         addStub() to keep track of the stub we've exported.
4006         (unexportObject): Call deleteStub().
4007         * java/rmi/server/RemoteObject.java (stubs): New field.
4008         (addStub): New method.
4009         (deleteStub): New method.
4010         (toStub): Rewrite.
4011         
4012         * java/lang/VMCompiler.java (loadSharedLibrary): Pass
4013         true to findHelper (tryParents).
4014         * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
4015         Likewise.
4016         * java/net/URLClassLoader.java (SoURLLoader): Likewise.
4017         * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
4018         ProtectionDomain.  
4019         If tryParents is false, don't scan parent class loaders.
4020
4021         * java/security/Permissions.java (PermissionsHash.implies):
4022         Iterate over the collection and invoke implies() on each
4023         element.
4024
4025 2005-02-16  Andrew Haley  <aph@redhat.com>
4026
4027         * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
4028         fields.
4029         (PersistentByteMap): Set name
4030         Magic number changed to 0x67636a64 ("gcjd").
4031         (init): Force the map to be prime.
4032         (emptyPersistentByteMap): File name was a string, now a File.
4033         (addBytes): Share srings between entries.
4034         (stringTableSize): New method.
4035         (capacity): Scale by load factor.
4036         (force): New method.
4037         (getFile): New method.
4038         (close): New method.
4039         (putAll): New method.
4040         (ByteWrapper): New class.
4041         * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
4042         (main): Guess the average string size as 32, not 64.
4043         Copy a database before modifying it, so that we can update a
4044         database in a running system.
4045         If a database isn't big enough, resize it.