OSDN Git Service

* c-decl.c (build_array_declarator, set_array_declarator_type,
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
2             Michael Koch  <konqueror@gmx.de>
3
4         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
5         * Makefile.in: Regenerated.
6
7 2004-08-20  Michael Koch  <konqueror@gmx.de>
8
9         * configure.ac: Replaced all AC_TRY_COMPILE macros with
10         AC_COMPILE_IFELSE macros.
11
12 2004-08-20  Michael Koch  <konqueror@gmx.de>
13
14         * configure.in: Renamed to configure.ac.
15         * configure.ac: New file.
16         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
17         include/config.h.in, testsuite/Makefile.in: Regenerated.
18
19 2004-08-20  Michael Koch  <konqueror@gmx.de>
20
21         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
22         * aclocal.m4, configure: Regenerated.
23
24 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
25             Michael Koch  <konqueror@gmx.de>
26
27         * configure.in, Makefile.am: Ported to automake 1.9.
28         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
29         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
30         Regenerated.
31
32 2004-08-19  Tom Tromey  <tromey@redhat.com>
33
34         * java/net/DatagramSocket.java: Fixed typo.
35
36 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
37
38         PR libgcj/17081
39         * java/net/URI.java (string): New field. Make all other fields
40         transient.
41         (readObject): Implemented.
42         (writeObject): Implemented.
43         (URI): Set 'string'.
44
45 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
46
47         PR libgcj/17079
48         * java/util/logging/Handler.java (isLoggable): Accept record if its
49         log level equals the threshold level. From Robin Green.
50
51 2004-08-18  David Daney  <ddaney@avtrex.com>
52
53         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
54         instead of sigwait.
55
56 2004-08-17  Michael Koch  <konqueror@gmx.de>
57
58         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
59         * Makefile.in: Regenerated.
60
61 2004-08-16  Tom Tromey  <tromey@redhat.com>
62
63         PR java/8473:
64         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
65
66 2004-08-16  Michael Koch  <konqueror@gmx.de>
67
68         * Makefile.am
69         (math_c_files): Renamed from c_files.
70         (math_c_source_files): Renamed from c_source_files.
71         * Makefile.in,
72         gcj/Makefile.in,
73         include/Makefile.in,
74         testsuite/Makefile.in: Regenerated.
75
76 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
77
78         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
79         to avoid autoconf warning.
80         * configure: Rebuilt.
81
82 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
83
84         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
85         localhostAddress to loopbackAddress.
86         * java/net/natInetAddressWin32.cc (lookup): Likewise.
87
88 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
89
90         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
91         boehm-gc's include dirs.
92         * configure: Rebuilt.
93         * include/boehm-gc.h: Include gc_config.h.
94
95 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
96
97         * java/net/InetAddress.java (loopbackAddress): Renamed from 
98         localhostAddress.
99         (getByName): Return loopback address for null hostname, without
100         security check. Use lookup(), not getAllByName.
101         (getAllByName): Return loopback address for null hostname, without
102         security check.
103         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
104         check here.
105
106 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
107
108         PR libgcj/17020
109         Reported by Robin Green.
110         * defineclass.cc (handleField): Don't throw exception on unrecognised
111         modifier. Add FIXME comments for spec compliance.
112         (handleMethod): Likewise.
113
114 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
115
116         PR libgcj/16662
117         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
118         (Almost everywhere): add LOG calls, fix, add comments.
119         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
120         Add explicit check for LOCKED bit in slow case (PR 16662).
121         (_Jv_MonitorExit): Add casts in debug-only code.
122         Always release LOCKED bit before throwing exception.
123         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
124         isn't.  Handle easy cases without lock acquisition.
125         (Object::wait): Use NotifyAll for lock inflation.
126
127 2004-08-12  David Daney  <ddaney@avtrex.com>
128
129         * testsuite/libjava.lang/Process_1.java: New test.
130         * testsuite/libjava.lang/Process_2.java: New test.
131         * testsuite/libjava.lang/Process_3.java: New test.
132         * testsuite/libjava.lang/Process_4.java: New test.
133         * testsuite/libjava.lang/Process_5.java: New test.
134         * testsuite/libjava.lang/Process_6.java: New test.
135         * testsuite/libjava.lang/Process_1.out: Expected result.
136         * testsuite/libjava.lang/Process_2.out: Expected result.
137         * testsuite/libjava.lang/Process_3.out: Expected result.
138         * testsuite/libjava.lang/Process_4.out: Expected result.
139         * testsuite/libjava.lang/Process_5.out: Expected result.
140         * testsuite/libjava.lang/Process_6.out: Expected result.
141
142 2004-08-12  David Daney  <ddaney@avtrex.com>
143
144         PR libgcj/11801
145         * java/lang/PosixProcess.java: Rewrote.
146         * java/lang/natPosixProcess.cc: Rewrote.
147         * java/lang/Runtime.java (execInternal): Declare throws IOException.
148         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
149         * posix-threads.cc (block_sigchld) New function.
150         (_Jv_ThreadRegister) Use it.
151         (_Jv_ThreadStart) Use it.
152         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
153         * Makefile.am: ... to specify extra native headers.
154         * configure: Regenerated.
155         * include/config.h: Regenerated.
156         * Makefile.in: Regenerated.
157         * gcj/Makefile.in: Regenerated.
158         * include/Makefile.in: Regenerated.
159         * testsuite/Makefile.in: Regenerated.
160
161 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
162
163         PR tree-optimization/16867
164         * testsuite/libjava.lang/PR16867.java: New test.
165
166 2004-08-09  Per Bothner  <per@bothner.com>
167
168         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
169         with private fields and access methods.
170         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
171         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
172         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
173         ( _Jv_makeUtf8Const): Rewrite using new constructors.
174         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
175         * defineclass.cc: Use new _Utf8Const access/convenience methods.
176         * jni.cc: Likewise.
177         * resolve.cc: Likewise.
178         * gcj/field.h: Likewise.
179         * include/jvm.h: Likewise.
180         * java/lang/Class.h: Likewise.
181         * java/lang/natClass.cc: Likwise.
182         * java/lang/natClassLoader.cc: Likewise
183         * java/lang/reflect/natMethod.cc: Likewise
184         * verify.cc: Likewise.
185         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
186         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
187
188 2004-08-10  Andrew Haley  <aph@redhat.com>
189
190         * testsuite/libjava.lang/err14.java: New file.
191         * testsuite/libjava.lang/err14.out: New file.
192
193 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
194
195         * Makefile.am: Fix missing rename from x_nat_headers to 
196         xlib_nat_headers.
197         * Makefile.in: Regenerated.
198
199 2004-08-04  Andrew Haley  <aph@redhat.com>
200
201         * java/security/BasicPermission.java: Don't check wildcards.
202
203 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
204             Michael Koch  <konqueror@gmx.de>
205
206         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
207         * configure.in: Replaced all usages of AC_LINK_FILES by
208         AC_CONFIG_LINKS.
209         * aclocal.m4,
210         configure: Regenerated.
211
212 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
213             Michael Koch  <konqueror@gmx.de>
214
215         * acconfig.h: Removed.
216         * Makefile.am: Rename variables for xlib peer to include xlib and
217         gtk_c_headers to gtk_jni_headers.
218         * Makefile.in: Regenerated.
219
220 2004-08-04  Andrew Haley  <aph@redhat.com>
221
222         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
223         debugging.
224
225 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
226
227         * configure.in: Eliminate uses of changequote (mostly by quoting []).
228         Replace most top level 'dnl' comments with '#' comments, conforming
229         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
230         help strings.
231         * configure: Rebuilt.
232
233 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
234
235         * acinclude.m4: Include no-executables.m4.
236         * aclocal.m4: Rebuild.
237         * configure.in: Convert to the autoconf 2.59 version of
238         of the no-executables hack, and also of the nonstandard CXX
239         hack and the multilibbed CC and CXX hack.  Change prerequisite
240         to autoconf 2.59.
241         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
242         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
243         testsuite/Makefile.in: Regenerate.
244
245 2004-08-03  Tom Tromey  <tromey@redhat.com>
246
247         * jni.cc: Reindented.
248
249 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
250
251         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
252
253 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
254
255         * testsuite/libjava.compile/PR16701.java: New test.
256
257 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
258
259         * java/util/Collection.java, java/util/List.java,
260         java/util/Map.java, java/util/Set.java,
261         java/util/SortedMap.java, java/util/SortedSet.java:
262         Added additional exceptions to documentation.
263
264 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
265
266         PR libgcj/16814
267         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
268         * configure. Regenerate.
269         * include/win32.h: Explicitly include winsock2.h
270         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
271         Winsock api.
272
273 2004-07-30  Michael Koch  <konqueror@gmx.de>
274
275         * java/util/zip/GZIPInputStream.java
276         (GZIPInputStream): Increase buffer size to 4k.
277         * java/util/zip/GZIPOutputStream.java
278         (GZIPOutputStream): Likewise.
279         * java/util/zip/Inflater.java
280         (setInput): Merged formating with GNU classpath.
281         * java/util/zip/InflaterInputStream.java
282         (InflaterInputStream): Increase buffer size to 4k.
283         (fill): Throw exception if stream ends early.
284         (read): Merged endless-loop with GNU classpath.
285         (skip): Increase buffer size to 2k.
286
287 2004-07-30  Michael Koch  <konqueror@gmx.de>
288
289         * gnu/java/awt/EmbeddedWindow.java
290         (addNotify): Use AccessController to allow execution of privileged
291         code.
292
293 2004-07-29  Michael Koch  <konqueror@gmx.de>
294
295         * gnu/java/lang/MainThread.java:
296         Explicitely import used classes.
297         (args): Make it type String[].
298
299 2004-07-29 Dalibor Topic <robilad@kaffe.org>
300
301         * gnu/java/awt/ComponentDataBlitOp.java,
302         gnu/java/beans/ExplicitBeanInfo.java,
303         gnu/java/beans/IntrospectionIncubator.java,
304         gnu/java/beans/editors/ColorEditor.java,
305         gnu/java/beans/editors/FontEditor.java,
306         gnu/java/beans/editors/NativeBooleanEditor.java,
307         gnu/java/beans/editors/NativeByteEditor.java,
308         gnu/java/beans/editors/NativeDoubleEditor.java,
309         gnu/java/beans/editors/NativeFloatEditor.java,
310         gnu/java/beans/editors/NativeIntEditor.java,
311         gnu/java/beans/editors/NativeLongEditor.java,
312         gnu/java/beans/editors/NativeShortEditor.java,
313         gnu/java/beans/editors/StringEditor.java,
314         gnu/java/io/ClassLoaderObjectInputStream.java,
315         gnu/java/io/decode/Decoder.java,
316         gnu/java/io/encode/Encoder.java,
317         gnu/java/lang/ClassHelper.java,
318         gnu/java/locale/Calendar.java,
319         gnu/java/locale/Calendar_de.java,
320         gnu/java/locale/Calendar_en.java,
321         gnu/java/locale/Calendar_nl.java,
322         gnu/java/locale/LocaleInformation_de.java,
323         gnu/java/locale/LocaleInformation_en.java,
324         gnu/java/locale/LocaleInformation_nl.java:
325         Cleaned up imports.
326
327 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
328
329         * README: Remove obsolete info. Update bug URL.
330         * THANKS: Updated.
331         * NEWS: Updated with news up to GCC 3.4 release.
332
333 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
334
335         * gnu/java/security/action/GetPropertyAction.java (setParameters):
336         Renamed from 'setName'. New 2-argument form with default value.
337         (run): Pass default 'value' parameter to System.getProperty().
338         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
339         typos.
340         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
341         not 'setName'.
342
343 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
344
345         * configure.in: Check for minimum GTK version 2.4 requirement.
346         * configure: Rebuilt.
347
348 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
349
350         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
351         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
352         Reduce sleep time.
353         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
354         compiler bug.
355         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
356         address. Reduce sleep times. Synchronize with target threads before
357         attempting to interrupt them. Don't try to calibrate yeild count,
358         instead, always loop for a fixed time.
359         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
360         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
361         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
362         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
363         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
364         * testsuite/libjava.lang/pr179.java: Likewise.
365         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
366         time. Remove upper bounds check on sleep time. 
367
368 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
369
370         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
371         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
372
373 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
374
375         * java/io/File.java (toURI): Throw RuntimeException, not 
376         InternalError.
377         * java/lang/Runtime.java (exit): Qualify static sleep() call with
378         class name, not instance.
379
380 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
381
382         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
383         and gnu/java/security/action/SetAccessibleAction.java.
384         * Makefile.in: Rebuilt.
385
386 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
387
388         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
389         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
390         _Jv_InitPrimClass.
391         (DECLARE_PRIM_TYPE): Don't declare array vtables.
392         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
393         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
394
395 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
396
397         * Makefile.am: Replace jar, rmic and rmiregistry references with
398         gjar, grmic and grmiregistry.
399         * configure.in: Likewise.
400         * Makefile.in: Regenerate.
401         * configure: Likewise.
402         * gcj/Makefile.in: Likewise.
403         * include/Makefile.in: Likewise.
404         * testsuite/Makefile.in: Likewise.
405
406 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
407
408         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
409         for privileged getProperty calls.
410         * java/io/ObjectOutputStream.java (getField): No longer static. Use
411         SetAccessibleAction instead of anonymous class for doPrivileged call.
412         (getMethod): Likewise.
413         (setAccessible): New field. PrivilegedAction object to use when
414         calling setAccessible.
415         * java/io/ObjectStreamClass.java (calculateOffsets): Use
416         SetAccessibleAction instead of anonymous class for diPrivileged call.
417         (setFields): Likewise.
418         (getClassUID): Likewise.
419         (findMethod): Likewise.
420         * gnu/java/security/action/GetPropertyAction.java: New class.
421         * gnu/java/security/action/SetAccessibleAction.java: New class. 
422
423 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
424
425         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
426         for final fields.
427         * testsuite/libjava.lang/Serialization.java: New test.
428         * testsuite/libjava.lang/Serialization.out: New.
429
430 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
431
432         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
433         missed in last commit.
434
435 2004-07-23  Mark Wielaard  <mark@klomp.org>
436
437         * java/lang/System.java (static): Set http.agent system property when
438         not yet set.
439         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
440         from system property inside AccessController.doPrivileged() call.
441         (proxyPort): Made package private.
442         (proxyInUse): Likewise.
443         (proxyHost): Likewise.
444         (userAgent): Likewise.
445
446 2004-07-23  Mark Wielaard  <mark@klomp.org>
447
448         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
449         implementation.
450
451 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
452
453         * Makefile.am (ordinary_java_source_files): Add
454         DefaultContentHandlerFactory.java.
455         * Makefile.in: Rebuilt.
456         * java/net/URLConnection.java (defaultFactory): New field.
457         (getContent): 
458         (getContentHandler): Renamed from 'setContentHandler'. Try 
459         defaultFactory after user-set factory, if any. Search for content 
460         handler implementations in gnu.java.net.content, not gnu.gcj.content.
461         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
462         Implemented.
463         (getLastModified): Implemented.
464         (getPermission): Create file permission here, instead of in
465         constructor.
466         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
467         Implemented.
468         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
469         Implemented.
470         (getLastModified): Implemented.
471         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
472         Default implementation.
473         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
474         Implement using GdkPixbufDecoder.
475         
476 2004-07-21  Michael Koch  <konqueror@gmx.de>
477
478         * javax/swing/JTextArea.java
479         (setLineWrap): Fire property change event after new value is set.
480         (setTabSize): Likewise.
481
482 2004-07-21  Michael Koch  <konqueror@gmx.de>
483
484         * javax/swing/JTable.java
485         (autoCreateColumnsFromModel): New field.
486         (autoResizeMode): Likewise.
487         (cellEditor): Likewise.
488         (cellSelectionEnabled): Likewise.
489         (columnModel): Likewise.
490         (dataModel): Likewise.
491         (defaultEditorsByColumnClass): Likewise.
492         (defaultRenderersByColumnClass): Likewise.
493         (editingColumn): Likewise.
494         (editingRow): Likewise.
495         (gridColor): Likewise.
496         (preferredViewportSize): Likewise.
497         (rowHeight): Likewise.
498         (rowMargin): Likewise.
499         (rowSelectionAllowed): Likewise.
500         (selectionBackground): Likewise.
501         (selectionForeground): Likewise.
502         (selectionModel): Likewise.
503         (showHorizontalLines): Likewise.
504         (showVerticalLines): Likewise.
505         (tableHeader): Likewise.
506         (JTable): Implemented.
507         (getColumnModel): Likewise.
508         (getSelectedRow): Likewise.
509         (getSelectionModel): Likewise.
510         (setModel): Likewise.
511         (setSelectionModel): Likewise.
512         (createScrollPaneForTable): New method.
513         (createDefaultDataModel): Likewise.
514         (createDefaultListSelectionModel): Likewise.
515         (getModel): Likewise.
516         (getTableHeader): Likewise.
517         (setTableHeader): Likewise.
518         (getColumnSelectionAllowed): Likewise.
519         (setColumnSelectionAllowed): Likewise.
520         (getRowSelectionAllowed): Likewise.
521         (setRowSelectionAllowed): Likewise.
522         (getAutoResizeMode): Likewise.
523         (setAutoResizeMode): Likewise.
524         (getColumnCount): Likewise.
525         (getRowCount): Likewise.
526         (getCellRenderer): Likewise.
527         * javax/swing/JTree.java
528         (cellRenderer): New field.
529         (editable): Likewise.
530         (rootVisible): Likewise.
531         (showsRootHandles): Likewise.
532         (getModel): New method.
533         (setModel): Likewise.
534         (isEditable): Likewise.
535         (setEditable): Likewise.
536         (isRootVisbile): Likewise.
537         (setRootVisible): Likewise.
538         (getShowsRootHandles): Likewise.
539         (setShowRootHandles): Likewise.
540         (getCellRenderer): Likewise.
541         (setCellRenderer): Likewise.
542
543 2004-07-21  Michael Koch  <konqueror@gmx.de>
544
545         * javax/swing/JFormattedTextField.java
546         (setDocument): Implemented.
547         * javax/swing/JRootPane.java:
548         Fixed javadocs.
549         * javax/swing/JTable.java
550         (getDefaultRenderer): New method.
551         * javax/swing/JTextField.java
552         (setFont): Likewise.
553         (getPreferredSize): Likewise.
554         * javax/swing/JToggleButton.java
555         (getAccessibleContext): Fix javadoc.
556         * javax/swing/JTree.java:
557         Add some javadocs.
558         * javax/swing/JViewport.java:
559         Likewise.
560
561 2004-07-21  David Jee  <djee@redhat.com>
562
563         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
564         Collect all native method declaration at the top.
565         (create): Set the filename filter if necessary.
566         (setDirectory): Call nativeSetDirectory().
567         (setFilenameFilter): Implement.
568         (filenameFilterCallback): New method.
569         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
570         (create): Configure dialog to show hidden files.
571         (filenameFilterCallback): New function. 
572         (nativeSetFilenameFilter): New function.
573         (nativeSetDirectory): New function.
574
575 2004-07-21  Kim Ho  <kho@redhat.com>
576
577         * javax/swing/plaf/basic/BasicSliderUI.java:
578         Ran Jalopy.
579         (paintTrack): Fill the track before painting
580         the borders.
581
582 2004-07-21  Graydon Hoare  <graydon@redhat.com>
583
584         patch from Roman Kennke <roman@ontographics.com>
585         * javax/swing/Spring.java: New file.
586         * javax/swing/SpringLayout.java: New file.
587         * Makefile.am: Add new files.
588         * Makefile.in: Regenerate.
589
590 2004-07-21  Graydon Hoare  <graydon@redhat.com>
591
592         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
593         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
594         * javax/swing/ScrollPaneLayout.java: Likewise.
595
596 2004-07-21  Kim Ho  <kho@redhat.com>
597
598         * javax/swing/DefaultDesktopManager.java:
599         (findMinimum): Removed.
600         (resizeFrame): Trust the UI to pass valid 
601         bounds.
602         * javax/swing/JOptionPane.java:
603         Implemented showInternalXXXDialog methods.
604         (startModal): New method.
605         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
606         (BorderListener::mouseDragged): Verify that the new 
607         bounds are valid before passing them to the DesktopManager.
608         (preferredLayoutSize): Delegate
609         to getSize.
610         (minimumLayoutSize): Ditto.
611         (getSize): New method.
612         (GlassPaneDispatcher): Reimplemented by copying 
613         a stripped down LightweightDispatcher from Container.
614         (getMinimumSize): Call minimumLayoutSize.
615         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
616         Ran Jalopy.
617         (mousePressed): Add ability to properly close 
618         JInternalFrames.
619         * javax/swing/plaf/basic/BasicToolBarUI.java:
620         (DragWindow): Set owner for DragWindow.
621
622 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
623
624         * java/awt/image/ShortLookupTable.java: New file.
625         * java/awt/image/ByteLookupTable.java: New file.
626         * Makefile.am: Added new files.
627         * Makefile.in: Regenerated.
628
629 2004-07-21  David Jee  <djee@redhat.com>
630
631         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
632         (create(GtkContainerPeer)): New native method.
633         (create()): Call native create(), passing in the parent frame
634         as the paramter. Natively set the current file and directory.
635         (setFile): Construct an absolute filename before passing it to
636         the native peer.
637         (nativeGetDirectory): New method.
638         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
639         (window_closed): Removed.
640         (ok_clicked): Likewise.
641         (cancel_clicked): Likewise.
642         (handle_response): New method.
643         (create): Use GtkFileChooserDialog.
644         (connectSignals): Connect to handle_response.
645         (nativeGetDirectory): New method.
646         (nativeSetFile): Use GtkFileChooserDialog.
647
648 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
649
650         * java/awt/image/LookupTable.java: New file.
651         * Makefile.am: Added new file.
652         * Makefile.in: Regenerated.
653
654 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
655
656         * java/awt/image/Kernel.java: New file.
657         * Makefile.am: Added new file.
658         * Makefile.in: Regenerated.
659
660 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
661
662         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
663         * javax/swing/JMenu.java: Likewise.
664         * javax/swing/JMenuBar.java: Likewise.
665         (MARGIN_CHANGED_PROPERTY): New property.
666         (setMargin): Implemented.
667         * javax/swing/JMenuItem.java: Fixed javadocs.
668         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
669         (LABEL_CHANGED_PROPERTY): New property.
670         (add): changed to use createActionComponent.
671         (createActionComponent): Implemented.   
672         (setLabel): Fire PropertyChangeEvent if label property
673         changes.
674         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
675         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
676         (ContainerHandler): Repaint if margin property has changed.
677         * javax/swing/plaf/basic/BasicMenuItemUI.java:
678         (installUI): Call installComponents().
679         (uninstallUI): Call uinstallComponents().
680         * javax/swing/plaf/basic/BasicMenuUI.java:
681         Fixed javadocs.
682         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
683         Likewise.
684
685 2004-07-21  Kim Ho  <kho@redhat.com>
686
687         * javax/swing/plaf/basic/BasicToolBarUI.java:
688         (DragWindow): Use the right constructor.
689
690 2004-07-21  Kim Ho  <kho@redhat.com>
691
692         * javax/swing/JToolBar.java:
693         (layoutContainer): Use getComponents.
694         * javax/swing/plaf/basic/BasicToolBarUI.java:
695         (DragWindow): Don't use SwingUtilities' 
696         getOwnerFrame
697         (ToolBarDialog): ditto.
698
699 2004-07-21  Kim Ho  <kho@redhat.com>
700
701         * javax/swing/JRootPane.java:
702         Ran jalopy.
703         (layoutContainer): Set the glasspane's size to 
704         be the same as the content pane.
705         (createGlassPane): Set opaque property to false.
706
707 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
708
709         * java/awt/Component.java (requestFocus()): Don't handle Panels
710         specially.
711         (requestFocus(boolean)): Likewise.
712         (requestFocusInWindow(boolean)): Likewise.
713         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
714         Set GTK_CAN_FOCUS flag.
715
716 2004-07-21  Kim Ho  <kho@redhat.com>
717
718         * Makefile.am: Added new file.
719         * Makefile.in: Regenerated.
720         * gcj/Makefile.in: Regenerated.
721         * include/Makefile.in: Regenerated.
722         * javax/swing/AbstractButton.java:
723         Add rollOverEnabled property.
724         (setRolloverEnabled): Use new property.
725         (isRolloverEnabled): Use new property.
726         * javax/swing/JTabbedPane.java:
727         (setComponent): Remove useless JTabbedPane.this.
728         * javax/swing/JToolBar.java: Finish implementation.
729         * javax/swing/plaf/basic/BasicArrowButton.java:
730         (paint): Moved border painting to a border.
731         * javax/swing/plaf/basic/BasicLookAndFeel.java:
732         Change JToolBar look and feel defaults.
733         * javax/swing/plaf/basic/BasicOptionPaneUI.java
734         (actionPerformed): Return Integer index instead of name.
735         (addButtonComponents): Check to see if component is
736         JButton last.
737         (createMessageArea): Don't use components that are not
738         completed yet.
739         (getIconForType): Use temporary icons.
740         * javax/swing/plaf/basic/BasicSliderUI.java:
741         (mousePressed): Do not return if it's on thumb.
742         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
743         (paintMinorTickForVertSlider): ditto.
744         (paintMajorTickForHorizSlider): ditto.
745         (paintMajorTickForVertSlider): ditto.
746         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
747         Add a border around the SplitPaneDivider.
748         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
749         Remove comments.
750         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
751         New file. Implemented.
752         * javax/swing/plaf/basic/BasicToolBarUI.java:
753         Implemented.
754         * testsuite/Makefile.in: Regenerated.
755
756 2004-07-21  Graydon Hoare  <graydon@redhat.com>
757
758         * javax/swing/Timer.java (run): Queue events each time cycle.
759
760 2004-07-21  David Jee  <djee@redhat.com>
761
762         * gnu/java/awt/peer/gtk/GtkImagePainter.java
763         (imageComplete): Call image.imageComplete().
764         * java/awt/image/MemoryImageSource.java:
765         Reimplement consumers as a Vector instead of a Hashtable.  This is
766         because enumeration on a Hashtable is not thread-safe.
767         (addConsumer): Adapt to Vector consumers.
768         (isConsumer): Adapt to Vector consumers.
769         (removeConsumer): Adapt to Vector consumers.
770         (startProduction): Adapt to Vector consumers. Call imageComplete()
771         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
772         (newPixels): Adapt to Vector consumers.
773         (sendPicture): Set the color model of the image consumer.
774         (newPixels(IIII)): Adapt to Vector consumers.
775         (newPixels(IIIIB)): Adapt to Vector consumers.
776
777 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
778
779         * java/awt/Component.java (deliverEvent): Implement.
780         (postEvent): Implement.
781         (handleEvent): Implement.
782         (translateEvent): New method.
783         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
784         * java/awt/Container.java (deliverEvent): Implement.
785         * java/awt/Event.java (paramString): Fix formatting.
786         * java/awt/Font.java (toString): Likewise.
787         * java/awt/Window.java (postEvent): Implement.
788
789 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
790
791         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
792         Set window's focus owner upon receiving a FOCUS_LOST event.
793         * java/awt/Window.java (Window()): Refocus the previously
794         focused component within the window when the window regains the
795         top-level focus.
796         (setFocusOwner): New method.
797         * java/awt/Component.java (requestFocus): Add FIXME.
798
799         * libgcj.pc.in: Remove library flags.
800
801 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
802
803         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
804         MOUSE_PRESSED event.
805         * java/awt/Component.java (requestFocus()): Handle Panel
806         specially.  Post FOCUS_LOST event on opposite component.
807         (requestFocus(boolean)): Likewise.
808         (requestFocusInWindow(boolean)): Likewise.
809         (paramString): Reorder dimension fields.
810         * java/awt/Container.java (paramString): Fix string format.
811         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
812         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
813         process key events if the focus owner is non-null.
814         (dispatchKeyEvent): Likewise.
815         * java/awt/Frame.java (paramString): Fix formatting.
816         (generateName): New method.
817         (getUniqueLong): Likewise.
818         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
819         the temporary focus owner is null.  If so, return the permanent
820         focus owner.
821         * java/awt/Panel.java (generateName): New method.
822         (getUniqueLong): Likewise.
823         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
824         signal handling to make callbacks more specific.
825
826 2004-07-21  Michael Koch  <konqueror@gmx.de>
827
828         * javax/swing/text/Position.java
829         (Bias): Implemented.
830
831 2004-07-21  Michael Koch  <konqueror@gmx.de>
832
833         * javax/swing/LookAndFeel.java
834         (provideErrorFeedback): New method.
835
836 2004-07-21  Michael Koch  <konqueror@gmx.de>
837
838         * javax/swing/JTextArea.java
839         (tabSize): New field.
840         (getTabSize): New method.
841         (setTabSize): Likewise.
842
843 2004-07-21  Michael Koch  <konqueror@gmx.de>
844
845         * javax/swing/ActionMap.java:
846         Fixed javadocs all over.
847         (serialVersionUID): Made private.
848         (parent): Don't explicitely initialize with default value.
849         (get): SImplified.
850         (keys): Reimplemented.
851         (allKeys): Likewise.
852         (convertSet): Removed.
853         * javax/swing/ComponentInputMap.java:
854         Fixed javadocs all over.
855         (ComponentInputMap): Implemented.
856         (put): Likewise.
857         (clear): Likewise.
858         (remove): Likewise.
859         (SetParent): Likewise.
860         (getComponent): Likewise.
861         * javax/swing/InputMap.java:
862         Fixed javadocs all over.
863         (serialVersionUID): Made private.
864         (parent): Don't explicitely initialize with default value.
865         (get): SImplified.
866         (keys): Reimplemented.
867         (allKeys): Likewise.
868         (convertSet): Removed.
869
870 2004-07-21  Michael Koch  <konqueror@gmx.de>
871
872         * javax/swing/ActionMap.java,
873         javax/swing/ComponentInputMap.java,
874         javax/swing/InputMap.java,
875         javax/swing/table/DefaultTableColumnModel.java,
876         javax/swing/table/TableColumn.java,
877         javax/swing/table/TableColumnModel.java,
878         javax/swing/table/TableModel.java,
879         javax/swing/text/AbstractDocument.java,
880         javax/swing/text/TextAction.java:
881         Reformated.
882
883 2004-07-21  Graydon Hoare  <graydon@redhat.com>
884
885         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
886         Make method non-static.
887         * javax/swing/AbstractButton.java:
888         Rename fields to match property names where possible.
889         (iconTextGap): New property.
890         * javax/swing/JCheckBox.java: Match AbstractButton changes.
891         (init) New method, call from after various constructors.
892         * javax/swing/JComponent.java (revalidate): 
893         Invalidate before queueing repair.
894         * javax/swing/JList.java (getPreferredScrollableViewportSize):
895         Reimplement in terms of visibleRowCount property.
896         * javax/swing/JMenuButton.java: Match AbstractButton changes.
897         * javax/swing/JScrollPane.java (createScrollListener): 
898         Remove tracing chatter.
899         * javax/swing/JToggleButton.java: Match AbstractButton changes.
900         * javax/swing/RepaintManager.java (addInvalidComponent): 
901         Don't invalidate.
902         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
903         calculations.
904         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
905         Mimic sun behavior on top left/right positioning.
906         * javax/swing/ViewportLayout.java (preferredLayoutSize):
907         Remove mistaken use of preferredScrollableViewportSize here.
908         (layoutContainer): Use view's preferred size as basis.
909         * javax/swing/plaf/basic/BasicButtonUI.java:
910         Set, get, and use textIconGap property.
911         (paint) Paint text returned from layout (with ellipsis).
912         * javax/swing/plaf/basic/BasicListUI.java:
913         Remove tracing chatter, correct various minor calculations.
914         (getCellBounds): Update layout state before calculating.
915         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
916         Use margin default similar to sun's.    
917         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
918         (createIncreaseIcon): Center icon, minimize margins.
919         (createDecreaseIcon): Likewise.
920         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
921         Implement.
922         (installUI): Call it.
923         (uninstallDefaults): Implement.
924         (uninstallUI): Call it.
925         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
926         Call existing Window constructor.
927         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
928         Set clip before painting.
929
930 2004-07-21  Olga Rodimina <rodimina@redhat.com>
931         
932         * javax/swing/JMenuItem.java:
933         (processMouseEvent): Reimplemented to deal with
934         mouse drag events.
935         (createMenuDragMouseEvent): New private helper method.
936         Creates MenuDragMouseEvent.
937         * javax/swing/MenuSelectionManager.java
938         (componentForPoint): Implemented.
939         (isComponentPartOfCurrentMenu): Made public.
940         (processMouseEvent): Reimplemented to deal with 
941         mouse drag events.
942         (setSelectedPath): Corrected small mistake that caused
943         path to be set incorrectly.
944         (getPath): If given component is JMenu then also add this
945         menu's popup menu to the selected path.
946         * javax/swing/plaf/basic/BasicMenuItemUI.java:
947         (getPath): Ditto.
948         (getPreferredSize): Call getPreferredMenuItemSize().
949         (getPreferredItemSize): Moved code from getPreferredSize to here.
950         (installListeners): Install MouseMotionListeners.
951         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
952         if mouse wasn't released in the bounds of this menu item.
953         (MenuDragMouseHandler): Implemented.
954         * javax/swing/plaf/basic/BasicMenuUI.java:
955         (installListeners): Install MouseMotionListener and 
956         MenuDrageMouseListener.
957         (MenuDragMouseHandler): Implemented.
958         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
959         (uninstallListeners): Implemented.
960         
961 2004-07-21  Michael Koch  <konqueror@gmx.de>
962
963         * javax/swing/JCheckBox.java: Reformated.
964         (JCheckBox): Fixed all constructors.
965         (isBorderPaintedFlat): New method.
966         (setBorderPaintedFlat): New method.
967         * javax/swing/JEditorPane.java
968         (createEditorKitForContentType): Made public.
969         (scrollToReference): Likewise.
970         * javax/swing/JTextArea.java
971         (setLineWrap): Fire property change.
972         * javax/swing/JToggleButton.java
973         (JToggleButton): New constructor.
974         (JToggleButton): Simplified.
975         * javax/swing/text/AttributeSet.java
976         (FontAttribute): Renamed from FontCharacterAttribute.
977         * javax/swing/text/JTextComponent.java
978         (KeyBinBinding): Added javadoc.
979         (JTextComponent): Likewise.
980         (getAccessibleContext): Fixed javadoc.
981         * javax/swing/text/View.java
982         (View): Added javadoc.
983         * javax/swing/text/TabableView.java: New file.
984         * Makefile.am: Added javax/swing/text/TabableView.java.
985         * Makefile.in: Regenerated.
986
987 2004-07-21  Graydon Hoare  <graydon@redhat.com>
988
989         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
990         * gnu/java/awt/peer/gtk/GtkToolkit.java 
991         (GtkErrorImage): New helper class.
992         (bufferedImageOrError): New helper method.
993         (createImage): Use it.
994
995 2004-07-21  David Jee  <djee@redhat.com>
996
997         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
998         (setCaretPosition): Scroll the text view so the new caret position
999         is visible on screen.
1000
1001 2004-07-21  David Jee  <djee@redhat.com>
1002
1003         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
1004         (setBounds): Do not validate awtComponent here.
1005         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
1006         (getPreferredSize): New method.
1007         * java/awt/ScrollPane.java
1008         (ScrollPane): Set default size to 100x100.
1009         (addNotify): If child is not a Panel, wrap it with a new Panel.
1010         (paramString): Implement.
1011
1012 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
1013
1014         * javax/swing/JMenu.java:
1015         (setSelected): Display popup menu only if this menu 
1016         is showing on the screen.
1017         * javax/swing/JPopupMenu.java:
1018         (processMouseEvent): Added comment.
1019         (processKeyEvent): Likewise.
1020         * javax/swing/MenuSelectionManager.java:
1021         (clearSelectedPath): Only fireStateChanged() after
1022         selected path was changed, not before.
1023         (setSelectedPath): Likewise.
1024         * javax/swing/plaf/basic/BasicMenuItemUI.java:
1025         (paintMenuItem): Corrected position of menu item's
1026         icon.
1027         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1028         (installUI): Correct setDefaultLightWeightPopupEnabled call.
1029         (popupMenuCanceled): Reimplemented.
1030         (popupMenuWillBecomeVisible): Select first menu item by default 
1031         when displaying free floating popup menus.
1032         (TopWindowListener): Reimplemented.
1033
1034 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
1035
1036         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
1037         Panel from being painted twice when it is first shown.
1038
1039 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
1040
1041         * java/awt/Window.java: Reverted changes from my 
1042         previous patch for creating window without an owner.
1043         * javax/swing/SwingUtilities.java: 
1044         (SwingUtilities.OwnerFrame): made static.
1045         (OwnerFrame.setVisible): New method. Overridden with
1046         empty implementation.
1047         (OwnerFrame.isShowing): New method. Ovverridden
1048         to return always true.
1049
1050 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
1051
1052         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1053         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1054         (GtkComponentPeer): Remove temporary try/catch block.
1055         (setVisible): Call show and hide.
1056         (show): Make native.
1057         (hide): Likewise.
1058         (getArgs): Don't add "visible" argument.
1059         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1060         (property_notify_predicate): Return Bool instead of int.
1061         (find_layout): New function.
1062         (connectJObject): Call find_layout.
1063         (connectSignals): Likewise.
1064         (moveLayout): Likewise.
1065         (gtkLayoutSetVisible): Likewise.
1066
1067 2004-07-21  Mark Wielaard  <mark@klomp.org>
1068
1069         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
1070         on notifier object before calling notifyAll().
1071
1072 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
1073
1074         * java/awt/Window.java: Changed constructors to use new
1075         method that is described below. Constructors call this
1076         methods only if newly created window should have an owner.
1077         (setWindowOwner): New method. Implementation for
1078         this method is moved from this(owner,configuration).
1079         * javax/swing/JWindow.java:
1080         (JWindow): Reimplement to use SwingUtilities.ownerFrame
1081         instead of owner.
1082         * javax/swing/SwingUtilities.java:
1083         (ownerFrame): Change type of this field to OwnerFrame.
1084         (getOwnerFrame): Changed to return object of type OwnerFrame.
1085         (SwingUtilities.OwnerFrame): New class. Represents owner
1086         of a Window that is not provided with one.
1087
1088 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
1089
1090         *  javax/swing/AbstractButton.java: 
1091         (configurePropertiesFromAction): Set action command
1092         to button's text by default if action command is not 
1093         explicitely specified.
1094         * javax/swing/JMenu.java: Remove unnecessary listener
1095         and methods relevant to it.
1096         (setSelected): Reimplemented.
1097         (menuSelectionChanged): Moved most part of implementation to
1098         setSelected() and call it instead.
1099         * javax/swing/JMenuItem.java: 
1100         (init): Comment out statement that sets paint_border to false.
1101         (configurePropertiesFromAction): Do not set accelerator
1102         for JMenu.
1103         (menuSelectionChanged): Change selected index in the selection
1104         model of menu item's parent.
1105         * javax/swing/JPopupMenu.java:
1106         (remove): Set constraints.fill field to GridBagConstraints.BOTH
1107         instead of GridBagConstraints.HORIZONTAL.
1108         (insert): Likewise.
1109         (createActionChangeListener): Implemented.
1110         (setVisible): Correct location of HeavyWeightMenu and 
1111         don't firePopupMenuCanceled().
1112         (menuSelectionChanged): Implemented.
1113         (ActionChangeListener): New Listener. Implemented.
1114         * javax/swing/plaf/basic/BasicMenuBarUI.java:
1115         (BasicMenuBarUI.ContainerHandler): Implemented.
1116         * javax/swing/plaf/basic/BasicMenuItemUI.java:
1117         (paintMenuItem): Uncommented out code that paints 
1118         icon, now that icons are working properly.
1119         (PropertyChangeListener): Implemented.
1120         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1121         Added javadocs.
1122         (topWindowListener): New field.
1123         (Constructor): initialize topWindowListener.
1124         (BasicPopupMenuUI.TopWindowListener): Implemented.      
1125         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
1126         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
1127         Implemented.
1128
1129 2004-07-21  Michael Koch  <konqueror@gmx.de>
1130
1131         * javax/swing/plaf/basic/BasicButtonUI.java
1132         (paintFocus): Fixed method signature.
1133         (paintButtonPressed): Likewise.
1134         (paintButtonNormal): Likewise.
1135         (paintText): New method.
1136         * javax/swing/plaf/basic/BasicLabelUI.java
1137         (paint): Re-indented.
1138         * javax/swing/plaf/basic/BasicTextUI.java
1139         (installUI): Set parent textComponent to opaque.
1140         * javax/swing/text/DefaultHighlighter.java
1141         (checkPositions): New helper method.
1142         (addHighlight): Throws BadLocationException, check positions.
1143         (changeHighlight): Likewise.
1144         * javax/swing/text/EditorKit.java
1145         (EditorKit): Implements Serializable.
1146         * javax/swing/text/JTextComponent.java
1147         (getUI): Added javadoc.
1148         (setUI): Likewise.
1149         (upadteUI): Added javadoc, don't revalidate and repaint.
1150
1151 2004-07-21  David Jee  <djee@redhat.com>
1152
1153         * java/awt/GridBagLayout.java
1154         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
1155         * javax/swing/AbstractButton.java
1156         (setText): Reindent.
1157         * javax/swing/RepaintManager.java
1158         (addInvalidComponent): Find the first ancestor that isValidateRoot().
1159
1160 2004-07-21  Michael Koch  <konqueror@gmx.de>
1161
1162         * javax/swing/JFormattedTextField.java
1163         (value): New field.
1164         (JFormattedTextField): Implemented.
1165         (getValue): Likewise.
1166         (setValue): Likewise.
1167         * javax/swing/LookAndFeel.java
1168         (getSupportsWindowDecorations): New method.
1169         * javax/swing/UIDefaults.java:
1170         Use java.beans.PropertyChangeSupport instead of doing all ourself.
1171         (addPropertyChangeListener): Made public.
1172         (addResourceBundle): Likewise.
1173         (removeResourceBundle): Likewise.
1174         (setDefaultLocale): Likewise.
1175         * javax/swing/plaf/basic/BasicRootPaneUI.java
1176         (BasicRootPaneUI): Implements PropertyChangeListener.
1177         (propertyChange): New method.
1178         * javax/swing/plaf/basic/BasicTextUI.java
1179         (BasicHighlighter): New inner class.
1180         (createHighlighter): New method.
1181         * javax/swing/plaf/basic/BasicToolBarUI.java
1182         (DragWindow): Extends java.awt.Window.
1183         * javax/swing/text/JTextComponent.java
1184         (getDocument): Removed debug output.
1185         * javax/swing/plaf/basic/BasicTextFieldUI.java,
1186         javax/swing/text/DefaultHighlighter.java,
1187         javax/swing/text/FieldView.java,
1188         javax/swing/text/PlainView.java: New files.
1189         * Makefile.am: Added new files.
1190         * Makefile.in: Regenerated.
1191
1192 2004-07-21  Michael Koch  <konqueror@gmx.de>
1193
1194         * javax/swing/JEditorPane.java
1195         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
1196         (createEditorKitForContentType): Likewise.
1197         * javax/swing/text/DefaultEditorKit.java
1198         (serialVersionUID): Added constant field.
1199         (EndOfLineStringPropery): Fixed typo.
1200         (DefaultEditorKit): New constructor.
1201         * javax/swing/text/Segment.java:
1202         Import java.text.CharacterIterator.
1203         * javax/swing/text/CharacterIterator.java,
1204         javax/swing/text/PlainEditorKit.java: Removed.
1205         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
1206         javax/swing/text/PlainEditorKit.java.
1207         * Makefile.in: Regenerated.
1208
1209 2004-07-21  Michael Koch  <konqueror@gmx.de>
1210
1211         * javax/swing/JButton.java,
1212         javax/swing/text/DefaultEditorKit.java,
1213         javax/swing/text/EditorKit.java,
1214         javax/swing/text/Segment.java,
1215         javax/swing/text/StyledEditorKit.java:
1216         Reformatted.
1217
1218 2004-07-21  Michael Koch  <konqueror@gmx.de>
1219
1220         * javax/swing/ImageIcon.java
1221         (file): Removed.
1222         (description): Renamed from descr.
1223         (ImageIcon): Added missing constructors.
1224         (setParent): Removed.
1225         (setImageObserver): New method.
1226         (getImageObserver): New method.
1227         (paintIcon): Handle observer = null.
1228         * javax/swing/JButton.java
1229         (removeNotify): Fixed javadoc.
1230         (updateUI): Simplified.
1231         * javax/swing/JRootPane.java
1232         (serialVersionUID): New constant field.
1233         * javax/swing/UIManager.java:
1234         Fixed javadocs all over.
1235         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
1236         * javax/swing/text/AbstractDocument.java
1237         (createPosition): Throws BadLocationException.
1238         (getText): Likewise.
1239         (remove): Likewise.
1240         * javax/swing/text/ComponentView.java
1241         (modelToView): Likewise.
1242         * javax/swing/text/DefaultEditorKit.java:
1243         Made all public methods public.
1244         (read): Throws BadLocationException and IOException.
1245         (write): Likewise.
1246         * javax/swing/text/EditorKit.java:
1247         Made all public methods public.
1248         (serialVersionUID): New constant field.
1249         (clone): New method.
1250         (read): Throws BadLocationException and IOException.
1251         (write): Likewise.
1252         * javax/swing/text/Segment.java
1253         (array): Made public.
1254         (count): Likewise.
1255         (offset): Likewise.
1256         (Segment): New constructors.
1257         (clone): Reimplemented.
1258         * javax/swing/text/StyledEditorKit.java
1259         (serialVersionUID): New constant field.
1260
1261 2004-07-21  Graydon Hoare  <graydon@redhat.com>
1262
1263         * java/awt/image/BufferedImage.java 
1264         (getSource): Implement.
1265         * javax/swing/ImageIcon.java 
1266         (ImageIcon): Implement ctor.
1267         * javax/swing/ScrollPaneLayout.java 
1268         (preferredLayoutSize): Be more careful about nulls.
1269
1270 2004-07-21  Michael Koch  <konqueror@gmx.de>
1271
1272         * javax/swing/text/AttributeSet.java
1273         (CharacterAttribute): New interface
1274         (ColorAttribute): Likewise.
1275         (FontCharacterAttribute): Likewise.
1276         (ParagraphAttribute): Likewise.
1277         * javax/swing/text/DefaultCaret.java
1278         (moveCaret): New method.
1279         (positionCaret): Likewise.
1280         (repaint): Made protected.
1281         * javax/swing/text/JTextComponent.java
1282         (KeyBinding): Made it static.
1283         * javax/swing/text/View.java
1284         (getContainer): Honor parent == null.
1285
1286 2004-07-21  Michael Koch  <konqueror@gmx.de>
1287
1288         * javax/swing/text/AbstractDocument.java:
1289         Reformatted.
1290
1291 2004-07-21  Michael Koch  <konqueror@gmx.de>
1292
1293         * javax/swing/plaf/basic/BasicRootPaneUI.java:
1294         Import javax.swing.UIManager explicitely.
1295         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1296         (ScrollingButton): Made it static.
1297
1298 2004-07-21  Michael Koch  <konqueror@gmx.de>
1299
1300         * javax/swing/UIDefaults.java
1301         (ActiveValue): Made public.
1302         (LazyValue): Likewise.
1303         * javax/swing/plaf/basic/BasicTextUI.java
1304         (RootView): Reintroduced.
1305         (view): Removed.
1306         (rootView): New field.
1307         (installUI): Create document if needed, initialize rootView.
1308         (uninstallUI): Hanle rootView.
1309         (paint): Likewise.
1310         (getRootView): Likewise.
1311         (setView): Likewise.
1312         * javax/swing/text/DefaultCaret.java:
1313         Renamed all "evt" variables to "event".
1314
1315 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
1316
1317         * libgcj.spec.in: Add -l-java-util-logging.
1318
1319 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
1320
1321         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1322         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
1323         gtk-xft-dpi can no calculate the right value.
1324         (dpi_changed_cb): Mark *pspec as unsused.
1325
1326 2004-07-21  David Jee  <djee@redhat.com>
1327
1328         * java/awt/Component.java
1329         (move): Delegate to setBounds().
1330         (resize): Likewise.
1331         (reshape): Fix so it repaints parent and self only when necessary.
1332
1333 2004-07-21  David Jee  <djee@redhat.com>
1334
1335         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1336         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1337         (GtkComponentPeer): Revert previous patch from 2004-06-22.
1338         (setVisible): Likewise.
1339         (show): Likewise.
1340         (hide): Likewise.
1341         (getArgs): Likewise.
1342         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1343         (property_notify_predicate): Likewise.
1344         (find_layout): Likewise.
1345         (connectJObject): Likewise.
1346         (connectSignals): Likewise.
1347         (moveLayout): Likewise.
1348         (gtkLayoutSetVisible): Likewise.
1349
1350 2004-07-21  Graydon Hoare  <graydon@redhat.com>
1351
1352         * Makefile.am
1353         (jv_convert_LDADD):
1354         (gij_LDADD):
1355         (rmic_LDADD):
1356         (rmiregistry_LDADD): Add lib-java-util-logging.la
1357         * Makefile.in: Regenerate.
1358
1359 2004-07-21  Michael Koch  <konqueror@gmx.de>
1360
1361         * javax/swing/text/AbstractDocument.java
1362         (replace): Dont use protected method of java.util.Vector directly.
1363
1364 2004-07-21  Michael Koch  <konqueror@gmx.de>
1365
1366         * javax/swing/plaf/basic/BasicTextUI.java
1367         (installUI): Call specialized install methods.
1368         (installDefaults): New method.
1369         (installListeners): Likewise.
1370         (installKeyboardActions): Likewise.
1371         (uninstallUI): Likewise.
1372         (uninstallDefaults): New method.
1373         (uninstallListeners): Likewise.
1374         (uninstallKeyboardActions): Likewise.
1375         (getPropertyPrefix): New abstract method.
1376         (paint): Made final, just call paintSafely().
1377         (paintSavely): New method.
1378         (paintBackground): Likewise.
1379         (getVisibleEditorRect): Likewise.
1380         * javax/swing/text/LayeredHighlighter.java,
1381         javax/swing/text/TabExpander.java: New files.
1382         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
1383         and javax/swing/text/TabExpander.java.
1384         * Makefile.in: Regenerated.
1385
1386 2004-07-21  Michael Koch  <konqueror@gmx.de>
1387
1388         * javax/swing/plaf/basic/BasicTextUI.java
1389         (BasicTextUI): Made abstract.
1390         (BasicCaret): New inner class.
1391         (view): Don't explicitely initialize with "null".
1392         (textComponent): New field.
1393         (textColor): Removed.
1394         (disabledTextColor): Removed.
1395         (normalBackgroundColor): Removed.
1396         (RootView): Removed commented out inner class.
1397         (createUI): Removed.
1398         (createCaret): New method.
1399         (getComponent): Likewise.
1400         (installUI): Initialize textComponent only.
1401         (getPreferredSize): Use installed JTextComponent.
1402         (setView): New method.
1403         (create): Likewise.
1404         * javax/swing/text/JTextComponent.java
1405         (highlighter): New field.
1406         (caretColor): Likewise.
1407         (disabledTextColor): Likewise.
1408         (seletedTextColor): Likewise.
1409         (selectionColor): Likewise.
1410         (setUI): New method.
1411         (getCaretColor): Likewise.
1412         (setCaretColor): Likewise.
1413         (getDisabledColor): Likewise.
1414         (setDisabledColor): Likewise.
1415         (getSelectedTextColor): Likewise.
1416         (setSelectedTextColor): Likewise.
1417         (getSelectionColor): Likewise.
1418         (setSelectionColor): Likewise.
1419         (getHighlighter): Likewise.
1420         (setHighlighter): Likewise.
1421         (replaceSelection): Likewise.
1422
1423 2004-07-21  Michael Koch  <konqueror@gmx.de>
1424
1425         * javax/swing/plaf/basic/BasicScrollPaneUI.java
1426         (BasicScrollPaneUI): Implements ScrollPaneConstants.
1427         * javax/swing/plaf/basic/BasicToolBarUI.java
1428         (BasicToolBarUI): Implements SwingConstants.
1429
1430 2004-07-21  Michael Koch  <konqueror@gmx.de>
1431
1432         * javax/swing/JPopupMenu.java: Removed CVS tags.
1433         * javax/swing/UIDefaults.java: Reformatted.
1434         * javax/swing/plaf/basic/BasicRootPaneUI.java:
1435         Explicitely import used classes.
1436
1437 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
1438
1439         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1440         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1441         (GtkComponentPeer): Remove temporary try/catch block.
1442         (setVisible): Call show and hide.
1443         (show): Make native.
1444         (hide): Likewise.
1445         (getArgs): Don't add "visible" argument.
1446         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1447         (property_notify_predicate): Return Bool instead of int.
1448         (find_layout): New function.
1449         (connectJObject): Call find_layout.
1450         (connectSignals): Likewise.
1451         (moveLayout): Likewise.
1452         (gtkLayoutSetVisible): Likewise.
1453
1454 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
1455
1456         * javax/swing/AbstractButton.java:
1457         (setDisplayedMnemonicIndex): Check if button
1458         text is not null before checking its length.
1459         * javax/swing/JMenuItem.java:
1460         (processMouseEvent): Disarm menu item if mouse has
1461         exited it.
1462         * javax/swing/plaf/basic/BasicMenuUI.java:
1463         (MouseInputHandler.mouseEntered): Do not raise
1464         popup menu if this menu is already selected.
1465         (MouseInputHandler.mousePressed): Do not fire 
1466         MenuEvents.
1467         (MenuHandler): Implemented.     
1468
1469 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
1470
1471         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
1472         (getSelectedObjects): Implemented.
1473         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
1474         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
1475         Added javadoc for few methods.
1476         (processMouseEvent): Made public.
1477         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
1478         (processMouseEvent): Likewise.
1479
1480 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
1481
1482         * javax/swing/AbstractButton.java:
1483         (init): Set display mnemonic index to -1.
1484         (setMnemonic(char)): Use setMnemonic(int).
1485         (setMnemonic(int)): Set display mnemonic index.
1486         (getDisplayedMnemonicIndex): Change method signature
1487         by removing 'index' parameter.
1488         * javax/swing/plaf/basic/BasicLookAndFeel.java:
1489         Added default for Menu.selectionBackground.     
1490         * javax/swing/plaf/basic/BasicMenuItemUI.java:
1491         (paintMenuItem): Change background color of the selected
1492         menu item.
1493         (paintText): Paint differently when menu item is disabled.
1494         Also paint mnemonic if it appears in the menu item's label.
1495         (paintAccelerator): Paint accelerator differently
1496         if menu item is disabled.
1497         * javax/swing/plaf/basic/BasicMenuUI.java:
1498         (installDefaults): Install defaults for 
1499         selectionForeground and selectionBackground.
1500         (uninstallDefaults): Uninstall defauls for 
1501         selectionForeground and selectionBackground.
1502
1503 2004-07-21  Michael Koch  <konqueror@gmx.de>
1504
1505         * javax/swing/text/AbstractDocument.java
1506         (BranchElement): Implemented.
1507         (LeafElement): Implemented.
1508         * javax/swing/text/DefaultCaret.java:
1509         Import used classes.
1510         (serialVersionUID): New constant.
1511         * javax/swing/text/JTextComponent.java
1512         (AccessibleJTextComponent): Removed dead declaration.
1513         (caretPos): Removed.
1514         (setCaret): New method.
1515         * javax/swing/text/PlainDocument.java
1516         (rootElement): New field.
1517         (PlainDocument): Initialize rootElement.
1518         (createDefaultRoot): New method.
1519         (getDefaultRootElement): Implemented.
1520         * javax/swing/text/View.java: Reformatted.
1521         * javax/swing/text/ViewFactory.java
1522         (create): Added javadoc.
1523
1524 2004-07-21  Michael Koch  <konqueror@gmx.de>
1525
1526         * javax/swing/ToolTipManager.java: Reformatted.
1527
1528 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
1529
1530         * javax/swing/AbstractButton.java
1531         (changeEvent): New field.
1532         (fireItemStateChanged): Change source of the event
1533         to 'this' before firing it to button listeners.
1534         (fireActionPerformed): Likewise.
1535         (fireStateChanged): Likewise.
1536         (createActionListener): Do not set source 
1537         of the event to AbstractButton.                                  
1538         * javax/swing/plaf/basic/BasicMenuBarUI.java:
1539         (ContainerHandler.componentAdded): Removed 
1540         print out statement.
1541         (ContainerHandler.componentRemoved): Likewise.
1542
1543 2004-07-21  Michael Koch  <konqueror@gmx.de>
1544
1545         * javax/swing/text/Highlighter.java: New file.
1546         * Makefile.am: Added javax/swing/text/Highlighter.java.
1547         * Makefile.in: Regenerated.
1548
1549 2004-07-21  Michael Koch  <konqueror@gmx.de>
1550
1551         * javax/swing/ToolTipManager.java
1552         (stillInsideTimerAction): Fixed constructor arguments.
1553         (outsideTimerAction): Likewise.
1554         (insideTimerAction): Likewise.
1555
1556 2004-07-21  Michael Koch  <konqueror@gmx.de>
1557
1558         * javax/swing/JButton.java: Reformatted.
1559         * javax/swing/JFormattedTextField.java
1560         (getUIClassID): Implemented.
1561         * javax/swing/JRootPane.java
1562         (serialVersionUID): New constant.
1563         * javax/swing/JTextField.java
1564         (align): New field.
1565         (JTextField): Simplified.
1566         (getUIClassID): New method.
1567         (getActionListeners): Added @since tag.
1568         (setColumns): Invalidate layout and repaint.
1569         (getHorizontalAlignment): New method.
1570         (setHorizontalAlignment): New method.
1571         (selectAll): Removed.
1572         * javax/swing/SwingUtilities.java
1573         (getAncestorOfClass): Removed redundant @see tag.
1574         (isLeftMouseButton): Fixed implementation.
1575         (isMiddleMouseButton): Likewise.
1576         (isRightMouseButton): Likewise.
1577         * javax/swing/text/AbstractDocument.java
1578         (AttributeContext.addAttribute): New method.
1579         (AttributeContext.addAttributes): New method.
1580         (AttributeContext.getEmptySet): New method.
1581         (AttributeContext.reclaim): New method.
1582         (AttributeContext.removeAttribute): New method.
1583         (AttributeContext.removeAttributes): New method.
1584         * javax/swing/text/Document.java
1585         (createPosition): Throws BadLocationException.
1586         (getText): Likewise.
1587         (remove): Likewise.
1588         * javax/swing/text/JTextComponent.java
1589         (getText): Return null if no document is set. Catch
1590         BadLocationException.
1591         (getUI): Return ui.
1592         (updateUI): Simplified.
1593
1594 2004-07-21  Michael Koch  <konqueror@gmx.de>
1595
1596         * javax/swing/JButton.java
1597         (removeNotify): Fixed javadoc.
1598         (updateUI): Simplified.
1599
1600 2004-07-21  David Jee  <djee@redhat.com>
1601
1602         * gnu/java/awt/image/ImageDecoder.java
1603         (startProduction): Only add consumer if it's not added yet.
1604         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1605         (GdkPixbufDecoder): Don't call initState() here.
1606         (produce): Call initState() here, to ensure area_prepared and
1607         area_updated signals are properly connected.
1608         * gnu/java/awt/peer/gtk/GtkImage.java
1609         (setColorModel): Use equals() to compare ColorModel objects.
1610         (setPixels): Likewise.
1611         * java/awt/image/ColorModel.java
1612         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
1613         * java/awt/image/RGBImageFilter.java
1614         (setColorModel): Set consumer's color model.
1615         (setPixels): Use equals() to compare ColorModel objects.
1616
1617 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
1618
1619         * java/net/URLConnection.java (position): New field.
1620         (dateFormat1, dateFormat2, dateFormat3): Removed.
1621         (dateFormats): New field.
1622         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
1623         each time instead of re-allocating.
1624         (initializeDateFormats): Initialize 'dateFormats'.
1625
1626 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
1627
1628         PR libgcj/16591
1629         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
1630         is defined.
1631
1632 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
1633
1634         * java/net/Socket.java (getImpl): Now private. Remove comment.
1635
1636 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
1637
1638         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
1639         of chained Writer when calling super-constructor.
1640         * java/io/FilterWriter.java (FilterWriter): Likewise.
1641         * java/io/PrintWriter.java (PrintWriter): Likewise.
1642
1643 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
1644
1645         * prims.cc (process_gcj_properties): Don't increment i within LHS
1646         of assignment.
1647
1648 2004-07-19  Per Bothner  <per@bothner.com>
1649
1650         Print -verbose:message on "loading", not initialization.
1651         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
1652         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
1653         gcj::verbose_class_flag.
1654         * java/lang/natClass.cc (initializeClass):  Don't print message here.
1655         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
1656         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
1657         (_Jv_PrepareCompiledClass):  Likewise.
1658
1659 2004-07-18  Matthias Klose  <doko@debian.org>
1660
1661         * configure.in: Substitute target_noncanonical.
1662         * configure: Regenerate
1663
1664 2004-07-17  Michael Koch  <konqueror@gmx.de>
1665
1666         * java/lang/String.java: Fixed javadocs all over.
1667
1668 2004-07-17  Mark Wielaard  <mark@klomp.org>
1669
1670         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
1671         when size is smaller.
1672         * java/io/RandomAccessFile.java (setLength): Use truncate for
1673         shrinking the file and seek plus write for expanding the file.
1674
1675 2004-07-17  Michael Koch  <konqueror@gmx.de>
1676
1677         * gnu/java/nio/channels/natFileChannelPosix.cc
1678         (implTruncate): Always save current position. Only reposition file
1679         pointer to where we started if not beyond new lenght. Reposition file
1680         pointer to file length if it points beyond the end of file.
1681
1682 2004-07-17  Mark Wielaard  <mark@klomp.org>
1683
1684         * javax/swing/Box.java: Put FIXME comment above class declaration.
1685         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1686         * javax/swing/JCheckBox.java: Likewise.
1687         * javax/swing/JDialog.java: Likewise.
1688         * javax/swing/JRadioButton.java: Likewise.
1689         * javax/swing/JToggleButton.java: Likewise.
1690         * javax/swing/UIManager.java: Likewise.
1691         * javax/swing/border/TitledBorder.java: Likewise.
1692         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1693         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1694         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1695         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1696         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1697         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1698         * javax/swing/text/JTextComponent.java: Likewise.
1699
1700 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
1701
1702         * java/net/DatagramPacket.java (setAddress): Removed check for
1703         null address.
1704
1705 2004-07-17  Michael Koch  <konqueror@gmx.de>
1706
1707         * java/net/DatagramSocket.java
1708         (getLocalAddress): Check if socket is bound or not.
1709         * java/net/Socket.java
1710         (getLocalAddrss): Check if socket is bound or not.
1711         (getPort): Return -1 when not connected. Dont check getImpl() for
1712         null.
1713         (setReuseAddress): Check if socket is closed.
1714         (isConnected): Check if getImpl() returns null.
1715
1716 2004-07-17  Mark Wielaard  <mark@klomp.org>
1717
1718         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
1719         on notifier object before calling notifyAll().
1720
1721 2004-07-17  Michael Koch  <konqueror@gmx.de>
1722
1723         * gnu/java/nio/channels/FileChannelImpl.java
1724         (finalize): Added javadoc.
1725
1726 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
1727
1728         * java/text/CollationElementIterator.java
1729         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
1730         (setText): Use ArrayList instead of Vector.
1731
1732 2004-07-17  Michael Koch  <konqueror@gmx.de>
1733
1734         * java/nio/ByteOrder.java
1735         (static): Removed. Not needed.
1736         Thanks to Patrick Reali for noticing.
1737         * java/nio/charset/CharsetDecoder.java
1738         (decode): Fix for classpath bug #9177: Reset state before flipping.
1739
1740 2004-07-17  Michael Koch  <konqueror@gmx.de>
1741
1742         * java/security/Security.java: Fixed javadocs all over.
1743
1744 2004-07-17  Michael Koch  <konqueror@gmx.de>
1745
1746         * gnu/java/awt/EmbeddedWindow.java
1747         (static): Removed.
1748         (addNotify): Set peer via reflection.
1749         (setWindowPeer): Removed.
1750         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1751         * Makefile.am (nat_source_files):
1752         Removed gnu/java/awt/natEmbeddedWindow.cc.
1753         * Makefile.in: Regenerated.
1754
1755 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
1756
1757         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
1758         assignment.
1759         * configure: Regenerated.
1760
1761 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
1762
1763         * configure.in: Use build_noncanonical rather than build_alias.
1764         * configure: Rebuild.
1765
1766         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
1767         by logic refactoring.  Move default definition of NATIVE closer
1768         to first alternate definition.
1769         * configure: Regenerate.
1770
1771         * Makefile.am: Set ZIP and GCJH directly using autoconf.
1772         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
1773         gcj/Makefile.in: Regenerate.
1774         * configure.in: Set ZIP and GCJH.  Remove redundant condition
1775         in AM_CONDITIONAL(NATIVE,...)
1776         * configure: Regenerate.
1777
1778 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
1779
1780         * configure.in: Use target_noncanonical rather than
1781         target_alias for forward-compatibility with autoconf 2.59.
1782         * configure: Regenerate.
1783         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
1784         testsuite/Makefile.am: Substitute target_noncanonical.
1785         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1786         testsuite/Makefile.in: Regenerate.
1787
1788         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
1789         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
1790         * acinclude.m4: Include acx.m4.
1791         * aclocal.m4: Regenerate.
1792         * configure: Regenerate.
1793
1794 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
1795
1796         PR libgcj/16574
1797         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
1798         (decimalFormat): New static variable.
1799         (sbuf): Likewise.
1800         (getTime): New. Override Date.getTime().
1801         (toString): Synchronize. Use decimalFormat to format nanos value
1802         correctly. Truncate extra zeros.
1803         (before): Compare getNanos() only if getTime() is equal.
1804         (after): Likewise.
1805         
1806 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
1807
1808         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
1809         * configure.in: ...here.
1810         * aclocal.m4: Regenerate.
1811         * configure: Regenerate.
1812
1813         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
1814         * configure: Rebuilt with autoconf 2.13.
1815         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1816         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
1817
1818 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
1819
1820         PR libgcj/16204
1821         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
1822         large file support.
1823         * Makefile.in: Rebuilt.
1824         * testsuite/libjava.lang/LargeFile.java: New test case.
1825         * testsuite/libjava.lang/LargeFile.out: New file.
1826
1827 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
1828
1829         * java/beans/EventHandler.java: Remove debugging statements.
1830
1831 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
1832
1833         * java/beans/EventHandler.java: New file.
1834         * Makefile.am (awt_java_source_files): Add EventHandler.java.
1835         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1836         testsuite/Makefile.in: Regenerate.
1837
1838 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
1839
1840         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
1841         flag to the gcj_setup.
1842         (gcj_jacks_run): Check tclsh version and launch jacks directly with
1843         the tclsh.
1844         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
1845         deprecation flag change. 58 XFAILS removed.
1846
1847 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
1848
1849         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
1850         -fno-use-divide-subroutine.
1851         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
1852         (HANDLE_FPE): Define.
1853         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
1854         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
1855         (HANDLE_DIVIDE_OVERFLOW): Define.
1856
1857 2004-07-14  Michael Koch  <konqueror@gmx.de> 
1858             Matthias Klose  <doko@debian.org> 
1859
1860         * java/awt/im/InputContext.java: Initialize in, line.
1861
1862 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
1863
1864         * interpret.cc (run): Correctly access libffi return values of
1865         integral smaller-than-int type; these are implicitly promoted.
1866
1867 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
1868
1869         PR libgcj/7587
1870         * interpret.cc (compile_mutex): New.
1871         (_Jv_InitInterpreter): New. Initialize compile_mutex.
1872         (run): Lock compile_mutex before calling compile() if compilation is
1873         required.
1874         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
1875         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
1876
1877 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
1878
1879         PR libgcj/15713
1880         * include/jvm.h (_Jv_value): New union type.
1881         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
1882         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
1883         union members.
1884
1885 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
1886
1887         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
1888         * gnu/awt/xlib/XOffScreenImage.java
1889           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
1890           constructor argument. Add constructor using ImageProducer.
1891           (getSource): Implement.
1892           (imageComplete): New method.
1893           (setColorModel): New method.
1894           (setDimensions): New method.
1895           (setHints): New method.
1896           (setPixels): New method.
1897           (setProperties): New method.
1898         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
1899         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
1900
1901 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
1902
1903         PR libgcj/16478 
1904         * prims.cc (_Jv_CreateJavaVM): Fix comment.
1905         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
1906         (finalizerReady): Now native.
1907         (run): Likewise.
1908         (runFinalizers): Removed.
1909         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
1910         a primitive lock, and don't hold it while running the finalizers.
1911         (runFinalizers): Implement. Don't aquire any Java lock.
1912         (finalizerReady): Use lock primitives to signal finalizer thread.
1913
1914 2004-07-11  Mark Wielaard  <mark@klomp.org>
1915
1916         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
1917         * java/net/URLStreamHandler.java (parseURL): When url file part
1918         doesn't contain a '/' just ignore context.
1919
1920 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
1921
1922         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
1923         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
1924         (MAKE_THROW_FRAME): Do not modify PSW address.
1925         (INIT_SEGV): Install SIGINFO-style signal handler.
1926         (INIT_FPE): Likewise.
1927
1928 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
1929
1930         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
1931         status. 21 xfail's removed, 1 added.
1932
1933 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
1934
1935         * gcj/javaprims.h: Regenerate CNI namespace definitions.
1936
1937 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1938
1939         * java/text/MessageFormat.java
1940         (formatInternal): Append "{n}" if argument n is unavailable.
1941         (format(Object, StringBuffer, FieldPosition)): This
1942         should be equivalent to format(Object[],
1943         StringBuffer, FieldPosition).
1944
1945 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
1946
1947         * java.util.Calendar.java (cache): New private static field. Cached
1948         mappings of locales->calendar classes.
1949         (ctorArgTypes): New private static field. Singleton argument for
1950         calendar class constructor lookup.
1951         (getInstance): Cache Locale->Calendar class mappings using HashMap.
1952         Optimize by bypassing reflection instantiation for the 
1953         GregorianCalendar case.
1954
1955 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
1956
1957         * java/util/Calendar.java: Use getSystemClassLoader as argument for
1958         ResourceBundle.getBundle() calls.
1959         * java/util/GregorianCalendar.java: Likewise.
1960         * java/util/Currency.java: Likewise.
1961         * java/text/BreakIterator.java: Likewise.
1962         * java/text/Collator.java: Likewise.
1963         * java/text/DateFormat.java: Likewise.
1964         * java/text/DateFormatSymbols.java: Likewise.
1965         * java/text/DecimalFormatSymbols.java: Likewise.
1966         * java/text/NumberFormat.java: Likewise.
1967         * java/awt/Window.java: Likewise.       
1968
1969 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
1970
1971         * java/util/ResourceBundle.java (bundleCache): Renamed from
1972         resourceBundleCache. Update comments.
1973         (getObject): Don't catch MissingResourceException.
1974         (getBundle(String)): Remove 'final'. Use system classloader if
1975         getCallingClassLoader returned null.
1976         (getBundle(String, Locale)): Likewise.
1977         (BundleKey): New private class. HashMap key for bundle cache lookup.
1978         (lookupKey): New. Singleton instance of BundleKey.
1979         (nullEntry): New. Cache entry to represent failed lookups.
1980         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
1981         caching strategy, no-allocation lookup, and new tryBundle methods.
1982         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
1983         name using given classloader.
1984         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
1985         baseName for given Locale and attempt to load bundle.
1986
1987 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
1988
1989         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
1990         illegal protected method calls.
1991
1992 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
1993
1994         Fix or remove some bogus test cases.
1995         * testsuite/libjava.compile/pr10459_2.java: Removed.
1996         * testsuite/libjava.compile/pr10459.java: Test using its own method,
1997         not Object.clone().
1998         * testsuite/libjava.compile/inner_data.java: Test against its own
1999         protected field.
2000
2001 2004-07-09  Michael Koch  <konqueror@gmx.de>
2002
2003         * scripts/unicode-muncher.pl: Updated to version 2.1
2004         from GNU classpath. Added some clarifications on where to find the
2005         needed files from www.unicode.org.
2006         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
2007         gnu/gcj/convert/UnicodeData-3.0.0.txt:
2008         Removed, these can directly be downloaded from www.unicode.org if
2009         needed. 
2010         * gnu/java/lang/CharData.java: Regenerated.
2011         * include/java-chartables.h: Regenerated.
2012         * Makefile.am (ordinary_java_source_files):
2013         Removed gnu/java/lang/CharData.java.
2014         * Makefile.in: Regenerated.
2015
2016 2004-07-09  Michael Koch  <konqueror@gmx.de>
2017
2018         * java/security/AccessControlContext.java,
2019         java/security/SecureClassLoader.java:
2020         Fixed javadocs.
2021
2022 2004-07-09  Michael Koch  <konqueror@gmx.de>
2023
2024         * java/io/ObjectInputStream.java (readFields): Use long datatype
2025         when shifting byte values more then 24 bits left.
2026
2027 2004-07-09  Michael Koch  <konqueror@gmx.de>
2028
2029         * java/util/zip/DeflaterOutputStream.java,
2030         java/util/zip/GZIPInputStream.java,
2031         java/util/zip/GZIPOutputStream.java,
2032         java/util/zip/InflaterInputStream.java:
2033         Reformatted. Added javadocs. Reordered all stuff.
2034         Renamed variables to be more clear.
2035
2036 2004-07-09  Michael Koch  <konqueror@gmx.de>
2037
2038         * javax/imageio/IIOException.java,
2039         javax/imageio/event/IIOReadProgressListener.java,
2040         javax/imageio/event/IIOReadUpdateListener.java,
2041         javax/imageio/event/IIOReadWarningListener.java,
2042         javax/imageio/event/IIOWriteProgressListener.java,
2043         javax/imageio/event/IIOWriteWarningListener.java:
2044         New files.
2045         * Makefile.am: Added new files.
2046         * Makefile.in: Regenerated.
2047
2048 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
2049
2050         * java/text/RuleBasedCollator.java
2051         (mergeRules): Use ArrayList instead of Vector.
2052         (subParseString): likewise.
2053         (parseString): likewise.
2054         (buildCollationVector): likewise.
2055         (getCollationKey): likewise.
2056
2057 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
2058
2059         * java/text/DateFormat.java (parse):
2060         Improved javadoc. Improved exception message.
2061
2062 2004-07-09  Mark Wielaard  <mark@klomp.org>
2063
2064         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
2065         interrupted() method to clear interupt flag of our Thread.
2066
2067 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
2068
2069         * java/nio/Buffer.java,
2070         java/nio/ByteBuffer.java,
2071         java/nio/ByteBufferHelper.java,
2072         java/nio/ByteBufferImpl.java,
2073         java/nio/CharBuffer.java,
2074         java/nio/CharBufferImpl.java,
2075         java/nio/CharViewBufferImpl.java,
2076         java/nio/DirectByteBufferImpl.java,
2077         java/nio/DoubleBuffer.java,
2078         java/nio/DoubleBufferImpl.java,
2079         java/nio/DoubleViewBufferImpl.java,
2080         java/nio/FloatBuffer.java,
2081         java/nio/FloatBufferImpl.java,
2082         java/nio/FloatViewBufferImpl.java,
2083         java/nio/IntBuffer.java,
2084         java/nio/IntBufferImpl.java,
2085         java/nio/IntViewBufferImpl.java,
2086         java/nio/LongBuffer.java,
2087         java/nio/LongBufferImpl.java,
2088         java/nio/LongViewBufferImpl.java,
2089         java/nio/MappedByteBufferImpl.java,
2090         java/nio/ShortBuffer.java,
2091         java/nio/ShortBufferImpl.java,
2092         java/nio/ShortViewBufferImpl.java:
2093         Fixed javadocs all over. Improved input error
2094         checking.
2095
2096         * java/nio/Buffer.java
2097         (checkForUnderflow, checkForOverflow, checkIndex,
2098         checkIfReadOnly, checkArraySize): New helper methods
2099         for error checking.
2100
2101         * java/nio/ByteBufferHelper.java
2102         (checkRemainingForRead, checkRemainingForWrite,
2103         checkAvailableForRead, checkAvailableForWrite): Removed
2104         no longer needed methods.
2105
2106 2004-07-09  Michael Koch  <konqueror@gmx.de>
2107
2108         * gnu/regexp/CharIndexedInputStream.java:
2109         Reordered imports to match classpath.
2110
2111 2004-07-09  Michael Koch  <konqueror@gmx.de>
2112
2113         * gnu/java/awt/EmbeddedWindow.java:
2114         Load native library for setWindowPeer method.
2115
2116 2004-07-08  Randolph Chung  <tausq@debian.org>
2117
2118         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
2119         * configure: Regenerate.
2120         * configure.host: Set can_unwind_signal for hppa*-linux.
2121         * include/pa-signal.h: New file.
2122
2123 2004-07-07  Per Bothner  <per@bothner.com>
2124
2125         * Makefile.am:  Add rules to build libgij from just gij.cc.
2126
2127         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
2128         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
2129         (initializeClass):  If verbose_class_flag, print message.
2130         * gij.cc (main):  Handle -verbose:class flag.
2131
2132 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
2133
2134         * configure.host: Enable hash synchronization on Darwin.
2135         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
2136         ';', since this is a comment on Darwin.
2137         (compare_and_swap_release): Likewise.
2138
2139 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
2140
2141         * java/net/URLStreamHandler.java (parseURL): Canonicalize
2142         file portion of URL in addition to spec for file: protocol.
2143
2144 2004-07-05  Anthony Green  <green@redhat.com>
2145
2146         * java/io/File.java (toURI): Merge from Classpath.
2147
2148 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
2149
2150         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
2151         before passing to URL constructor. Rethrow any MalformedURLException
2152         as a RuntimeException. Catch MalformedURLException specifically, not
2153         all exceptions.
2154
2155 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
2156
2157         * java/util/Locale.java (readObject): Intern strings read from object
2158         stream.
2159
2160 2004-07-04  Michael Koch  <konqueror@gmx.de>
2161
2162         * gnu/gcj/runtime/FirstThread.java,
2163         gnu/gcj/runtime/natFirstThread.cc: Removed.
2164         * gnu/java/lang/MainThread.java,
2165         gnu/java/lang/natMainThread.cc: New files.
2166         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
2167         * Makefile.am: Added new files and removed deleted ones.
2168         * Makefile.in: Regenerated.
2169
2170 2004-07-03  Mark Wielaard  <mark@klomp.org>
2171             Anthony Green  <green@redhat.com>
2172
2173         * java/net/URL.java (getFile): Clarify return value doc.
2174         (getPath): Return null if file is empty - not empty String.
2175         (set): Convert protocol to lower case before doing anything.
2176         Only change the protocol handler if it's different.
2177
2178 2004-07-03  Anthony Green  <green@redhat.com>
2179
2180         * java/net/URL.java (URL): Convert protocol to lower case before
2181         doing anything, so we getURLStreamHandler() with the proper value.
2182
2183 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
2184
2185         * java/util/Locale.java (hashcode): Made transient.
2186         (hashCode): No longer synchronized.
2187         (equals): Remove comment.
2188         (writeObject): No longer synchronized. Implement using writeObject 
2189         calls instead of tweaking hashCode field. Update doc.
2190         (readObject): Implement using readObject calls.
2191
2192 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
2193             Andreas Tobler  <a.tobler@schweiz.ch>
2194
2195         * configure.host (powerpc-*-darwin*): New case, define
2196         can_unwind_signal.
2197         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
2198         * configure: Regenerate.
2199         * include/darwin-signal.h: New.
2200
2201 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
2202
2203         * java/beans/Statement.java (doExecute): Fix formatting.
2204
2205 2004-06-29  Per Bothner  <per@bothner.com>
2206
2207         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
2208         etc etc):  Remove needless parenthesis, which causes __stdcall__
2209         attribute on MinGW to get ignored.
2210
2211 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
2212
2213         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
2214
2215 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
2216
2217         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
2218
2219 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
2220
2221         * java/beans/Expression.java: New file.
2222         * java/beans/Statement.java: New file.
2223         * Makefile.am: Added new files.
2224         * Makefile.in: Re-generate.
2225
2226 2004-06-27 Mark Wielaard  <mark@klomp.org>
2227
2228         * java/io/FilePermission.java (usingPerms): Removed.
2229         (actionsString): Made final.
2230         (cachePerms): Renamed to checkPerms.
2231         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
2232         on action String.
2233         (FilePermission): Check arguments, call checkPerms().
2234         (equals): Remove cachePerms() call.
2235         (implies): Likewise.
2236
2237 2004-06-27  Mark Wielaard  <mark@klomp.org>
2238
2239         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
2240         final field.
2241         (sendRequest): Use new field in user-agent http agent.
2242
2243 2004-06-27  Mark Wielaard  <mark@klomp.org>
2244
2245         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2246         when argument is null.
2247
2248 2004-06-26  Mark Wielaard  <mark@klomp.org>
2249
2250         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2251         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
2252         GetMethodID call.
2253         (cancel_clicked): Likewise.
2254
2255 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
2256
2257         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2258         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
2259         can not calculate the right value.
2260         (dpi_changed_cb): Likewise. Mark *pspec as unused.
2261
2262 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
2263
2264         * testsuite/libjava.jacks/jacks.xfail: Remove
2265         15.9.1-qualified-concrete-20.
2266
2267 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
2268
2269         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
2270         encoding name to iconv.
2271         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
2272
2273 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
2274
2275         PR libgcj/16134:
2276         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
2277         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
2278         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
2279
2280 2004-06-21  Andrew Haley  <aph@redhat.com>
2281
2282         * java/io/ObjectOutputStream.java: Add DEBUG statements
2283         everywhere.
2284         (dumpElementln): New method.
2285         (depth): New field.
2286         * java/io/ObjectInputStream.java
2287         (currentClassLoader): Make native.
2288         (callersClassLoader): New field.
2289         (depth): New field.
2290         (readObject): ENDBLOCKDATA is generated if the class has a write
2291         method, not if it has a read method.
2292         (readObject): Save and restore this.currentObject and
2293         this.currentObjectStreamClass around calls to callReadMethod().
2294         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
2295         method.
2296
2297 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
2298
2299         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
2300         darwin.
2301
2302 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
2303
2304         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
2305         if desired, before the default class loader is initialised.
2306         Call INIT_SEGV only if HANDLE_SEGV is defined.
2307
2308 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
2309
2310         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
2311         directory only if it actually exists.
2312
2313 2004-06-18  Graydon Hoare  <graydon@redhat.com>
2314
2315         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2316         Fix up non-ansi comments.
2317
2318 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
2319
2320         * javax/swing/text/AbstractDocument.java: Adding missing import
2321         for javax.swing.event.EventListenerList.
2322         * javax/swing/text/DefaultCaret.java: Likewise.
2323
2324 2004-06-17  Michael Koch  <konqueror@gmx.de>
2325
2326         * javax/swing/JToolBar.java
2327         (name): Removed.
2328         (JToolBar): Use Component.setName(String) instead of doing it all
2329         alone.
2330         * javax/swing/Timer.java
2331         (queueEvent): Added missing modifier.
2332
2333 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
2334
2335         * Makefile.am: Added new file.
2336         * Makefile.in: Re-generate.
2337         * javax/swing/JMenu.java:
2338         (insertSeparator): Implemented.
2339         * javax/swing/JPopupMenu.java:
2340         (JPopupMenu.Separator): Implemented.
2341         * javax/swing/MenuSelectionManager.java:
2342         (processMouseEvent): Use java.awt.Component 
2343         for event source instead of javax.swing.JComponent. 
2344         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
2345         New File. Implemented.
2346         
2347 2004-06-16  David Jee  <djee@redhat.com>
2348
2349         * java/awt/GridBagLayout.java
2350         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
2351         Make sure pos_x and pos_y are never negative.
2352
2353 2004-04-16  Andrew Overholt  <overholt@redhat.com>
2354
2355         * Makefile.am: Add new file.
2356         * Makefile.in: Re-generate.     
2357         * javax/swing/JToolBar.java
2358         Partially implemented.
2359         * javax/swing/plaf/basic/BasicToolBarUI.java
2360         New file. Partially implemented.
2361
2362 2004-06-16  Graydon Hoare  <graydon@redhat.com>
2363
2364         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
2365         (setComposite): Accept AlphaComposite arguments.
2366         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
2367         (createBufferedImage): Add new overloads.
2368         * gnu/java/awt/peer/gtk/GtkToolkit.java
2369         (createImage): Use GdkPixbufDecoder.createBufferedImage
2370         when useGraphics2D() is true.
2371         (getImage): Delegate to createImage.
2372         * javax/swing/JList.java
2373         (isSelectionEmpty):
2374         (getFirstVisibleIndex):
2375         (getLastVisibleIndex):
2376         (setSelectedValue):
2377         (ensureIndexIsVisible): New methods.
2378         * javax/swing/Timer.java: Reimplement.
2379
2380 2004-06-16  Michael Koch  <konqueror@gmx.de>
2381
2382         * javax/swing/text/AbstractDocument.java
2383         (AbstracElement): Made public, implements java.io.Serializable.
2384         (AttributeContext): Made public.
2385         (BranchElement): Likewise.
2386         (Content): Likewise.
2387         (DefaultDocumentEvent): Made public, extends
2388         javax.swing.undo.CompoundEdit.
2389         (ElementEdit): Made public, extends
2390         javax.swing.undo.AbstractUndoableEdit.
2391         (LeafElement): Made public.
2392         (LeafElement.LeafElement): Made public.
2393
2394 2004-06-16  Michael Koch  <konqueror@gmx.de>
2395
2396         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
2397         methods (that were obviously never be intended to get included hi this
2398         class. Added some methods too.
2399
2400 2004-06-16  Michael Koch  <konqueror@gmx.de>
2401
2402         * javax/swing/text/PlainDocument.java
2403         (serialVersionUID): New constant.
2404         (lineLimitAttribute): Likewise.
2405         (tabSizeAttribute): Likewise.
2406         (tabSize): New field.
2407         (PlainDocument): Made public.
2408         (PlainDocument): New constructor.
2409
2410 2004-06-16  Michael Koch  <konqueror@gmx.de>
2411
2412         * javax/swing/text/AbstractDocument.java
2413         (insertString): Throws BadLocationException.
2414         * javax/swing/text/Document.java
2415         (insertString): Likewise.
2416         * javax/swing/text/JTextComponent.java:
2417         Javadocs and comments cleaned up.
2418
2419 2004-06-16  Michael Koch  <konqueror@gmx.de>
2420
2421         * javax/swing/event/UndoableEditListener.java: Reformatted.
2422         * javax/swing/text/AbstractDocument.java
2423         (AbstractDocument): Implements java.io.Serializable.
2424         (doc_list): Removed.
2425         (undo_list): Removed.
2426         (AbstractElement.serialVerionUID): New field.
2427         (BranchElement.serialVerionUID): Likewise.
2428         (DefaultDocumentEvent.serialVerionUID): Likewise.
2429         (ElementEdit.serialVerionUID): Likewise.
2430         (LeafElement.serialVerionUID): Likewise.
2431         (serialVerionUID): Likewise.
2432         (BAD_LOCATION): New constant.
2433         (BidiElementName): Likewise.
2434         (ContentElementName): Likewise.
2435         (ParagraphElementName): Likewise.
2436         (SectionElementName): Likewise.
2437         (ElementNameAttribute): Likewise.
2438         (AbstractDocument): Made protected.
2439         (AbstractDocument): New construtor.
2440         (listenerList): New field.
2441         (fireChangedUpdate): Implemented.
2442         (fireInsertUpdate): Likewise.
2443         (fireRemoveUpdate): Likewise.
2444         (fireUndoableEditUpdate): Likewise.
2445         (getListeners): Likewise.
2446         (addDocumentListener): Likewise.
2447         (removeDocumentListener): Likewise.
2448         (addUndoableEditListener): Likewise.
2449         (removeUndoableEditListener): Likewise.
2450         (getDocumentListeners): New method.
2451         (getUndoableEditListeners): Likewise.
2452         (getAsynchronousLoadPriority): Made public.
2453         (getBidiRootElement): Likewise.
2454         (setAsynchronousLoadPriority): Likewise.
2455         (setDocumentProperties): Likewise.
2456         * javax/swing/text/BadLocationException.java
2457         (serialVerionUID): New field.
2458         * javax/swing/text/DefaultCaret.java
2459         (changeEvent): New field.
2460         (listenerList): Likewise.
2461         (changes): Removed.
2462         (addChangeListener): Reimplemented.
2463         (removeChangeListener): Likewise.
2464         (getListeners): New method.
2465         (getChangeListeners): Likwise.
2466         (getComponent): Likewise.
2467         * javax/swing/text/GapContent.java
2468         (GapContent): Implements java.io.Serializable.
2469         (serialVerionUID): New field.
2470
2471 2004-06-16  Michael Koch  <konqueror@gmx.de>
2472
2473         * javax/swing/JTree.java
2474         (treeModel): New field.
2475         (JTree): New constructors, one existing one made public.
2476         (createTreeModel): New method.
2477         (addTreeExpansionListener): Likewise.
2478         (removeTreeExpansionListener): Likewise.
2479         (getTreeExpansionListeners): Likewise.
2480         (fireTreeCollapsed): Likewise.
2481         (fireTreeExpanded): Likewise.
2482         (addTreeSelectionListener): Likewise.
2483         (removeTreeSelectionListener): Likewise.
2484         (getTreeSelectionListeners): Likewise.
2485         (fireValueChanged): Likewise.
2486         (addTreeWillExpandListener): Likewise.
2487         (removeTreeWillExpandListener): Likewise.
2488         (getTreeWillExpandListeners): Likewise.
2489         (fireTreeWillCollapse): Likewise.
2490         (fireTreeWillExpand): Likewise.
2491
2492 2004-06-16  Michael Koch  <konqueror@gmx.de>
2493
2494         * javax/swing/JTree.java: Reformatted.
2495
2496 2004-06-16  Michael Koch  <konqueror@gmx.de>
2497
2498         * javax/swing/JTextArea.java: New file.
2499         * javax/swing/JTextField.java
2500         (actions): Removed.
2501         (notifyAction): New constant.
2502         (columns): New field.
2503         (JTextField): New constructors.
2504         (createDefaultModel): New method.
2505         (addActionListener): Reimplmemented.
2506         (removeActionListener): Reimplemented.
2507         (getActionListeners): New method.
2508         (fireActionPerformed): New method.
2509         (getColumns): New method.
2510         (setColumne): New method.
2511         * javax/swing/text/JTextComponent.java
2512         (AccessibleJTextComponent.serialVersionUID): New field.
2513         (serialVersionUID): Likewise.
2514         (DEFAULT_KEYMAP): Likewise.
2515         (FOCUS_ACCELERATOR_KEY): Likewise.
2516         (doc): Made private.
2517         (icon_gap): Likewise.
2518         (icon): Likewise.
2519         (align): Likewise.
2520         (JTextComponent): Some constructors removed.
2521         (getScrollableTracksViewportHeight): New method.
2522         (getScrollableTracksViewportWidth): Likewise.
2523         * Makefile.am: Added javax/swing/JTextArea.java.
2524         * Makefile.in: Regenerated.
2525
2526 2004-06-15  Graydon Hoare  <graydon@redhat.com>
2527
2528         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
2529         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
2530         * javax/swing/JViewport.java 
2531         (getExtentSize): Return size rather than preferred size.
2532         (toViewCoordinates): New methods.
2533         (getViewSize): Return size rather than preferred size.
2534         (setViewSize): Note view size as set.
2535         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
2536         * javax/swing/plaf/basic/BasicScrollBarUI.java 
2537         (getPreferredSize): Don't redo layout.
2538         * javax/swing/plaf/basic/BasicViewportUI.java 
2539         (paint): Translate image properly and eat exceptions.
2540
2541 2004-06-15  Kim Ho  <kho@redhat.com>
2542
2543         * javax/swing/JTabbedPane.java
2544         (setComponent): Remove old component and
2545         add new component.
2546         (setSelectedIndex): Don't operate on the 
2547         components if they're null. Don't set index
2548         on the model if the index is the same.
2549         (insertTab): Don't add or hide the component
2550         if it's null. Repaint the container.
2551         * javax/swing/plaf/basic/BasicLookAndFeel.java
2552         Change colors for TabbedPane.
2553         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2554         (mousePressed): Re-layout and paint the component.
2555         (layoutContainer): Don't set location on the view.
2556         (ScrollingViewport::paint): Remove.
2557
2558 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
2559
2560         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2561         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
2562
2563         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2564         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
2565         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
2566         critical region.
2567         (drawLine): Call gdk_flush before leaving GDK critical region.
2568         (fillRect): Likewise.
2569         (drawRect): Likewise.
2570         (copyArea): Likewise.
2571         (copyPixmap): Likewise.
2572         (clearRect): Likewise.
2573         (drawArc): Likewise.
2574         (drawPolyline): Likewise.
2575         (drawPolygon): Likewise.
2576         (fillPolygon): Likewise.
2577         (fillArc): Likewise.
2578         (drawOval): Likewise.
2579         (fillOval): Likewise.
2580
2581         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
2582         style parameter.
2583         (GdkFontMetrics): Add style argument to initState call.
2584         (stringWidth(String,int,int,String)): Add style parameter.
2585         (stringWidth(String)): Add style argument to stringWidth call.
2586         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
2587         (initState): Set pango font style and weight based on AWT style
2588         parameter.  Pass default GTK language to
2589         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
2590         simply dividing by PANGO_SCALE.
2591         (stringWidth): Set pango font style and weight based on AWT style
2592         parameter.
2593
2594         * java/awt/Button.java (next_button_number): New field.
2595         (paramString): Change output.
2596         (generateName): New method.
2597         (getUniqueLong): New method.
2598
2599 2004-06-14  Kim Ho  <kho@redhat.com>
2600
2601         * javax/swing/JTabbedPane.java:
2602         (setComponentAt): Set the component, not
2603         the enabled status.
2604         * javax/swing/plaf/basic/BasicDesktopIconUI.java
2605         (actionPerformed): Let deiconize catch exception.
2606
2607 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
2608
2609         * javax/swing/JPopupMenu.java:
2610         (setVisible): Corrected location of a 
2611         heavyweight popup menu.
2612
2613 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
2614
2615         * javax/swing/MenuSelectionManager.java: 
2616         Ran through jalopy to fix formatting style.
2617
2618 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
2619         
2620         * javax/swing/JLayeredPane.java: 
2621         (remove): Revalidate and repaint layered pane after
2622         the component was removed.
2623         javax/swing/JMenu.java:
2624         (setVisible): Display popup menu at the user location,
2625         if one was set by the user.
2626         (setMenuLocation): Reimplemented. Fixed javadoc.
2627         * javax/swing/JMenuBar.java: Added javadoc.
2628         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
2629         (MODEL_CHANGED_PROPERTY): New Property.
2630         (isSelected): Implemented.
2631         (setBorderPainted): Fire PropertyChangeEvent
2632         if paintBorder property changes.
2633         (setSelected): Implemented.
2634         (setSelectionModel): Implemented.
2635         * javax/swing/JPopupMenu.java: Added Javadoc
2636         (pack): Implemented.
2637         (setVisible): Reimplemented.
2638         (show): Fixed location.
2639         (JPopupMenu.LigthWeightPopup): Reimplemented to use
2640         Container instead of JPanel.
2641         * javax/swing/MenuSelectionManager.java: Added Javadocs.
2642         (clearSelectedPath): Reimplemented to clear selectedPath
2643         in reverse order.
2644         (processMouseEvent): Reimplemented.
2645         (setSelectedPath): Fire stateChange event indicating that
2646         selected menu path has changed.
2647         (getPath): Change to use ArrayList instead of Vector.
2648         * javax/swing/plaf/basic/BasicMenuBarUI.java:
2649         (installUI): call installKeyboardActions().
2650         (uninstallUI): call uninstallKeyboardActions().
2651
2652 2004-06-13  Michael Koch  <konqueror@gmx.de>
2653
2654         * javax/swing/text/DefaultCaret.java,
2655         javax/swing/text/BadLocationException.java:
2656         Reformatted.
2657
2658 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
2659
2660         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
2661         DEFAULT_COLS): New variables.
2662         (create): Don't allow 0 rows or 0 columns.  Instead, set the
2663         values to DEFAULT_ROWS or DEFAULT_COLS.
2664         (getMinimumSize): Likewise.
2665         (getPreferredSize): Likewise.
2666         (minimumSize): Likewise.
2667         (preferredSize): Likewise.
2668         (create): Set peer's editable state.
2669         * java/awt/TextArea.java (TextArea()): Set rows and columns to
2670         zero.  Update javadocs.
2671         (TextArea(String)): Likewise.
2672         (TextArea(int,int)): Fix javadocs.
2673         (TextArea(String,int,int,int)): Only throw exception if one of
2674         rows or columns is zero.  Fix javadocs.
2675
2676 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2677
2678         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
2679         addition to Components.
2680
2681         * java/awt/MenuItem.java (dispatchEventImpl): If the event
2682         wasn't consumed by normal processing, send it to the parent
2683         menu.
2684
2685         * gnu/java/awt/peer/gtk/GtkImagePainter.java
2686         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
2687         translation.
2688
2689 2004-06-11  David Jee  <djee@redhat.com>
2690
2691         * java/awt/MediaTracker.java
2692         (addImage(Image,int)): Call imageUpdate() to udpate image status.
2693         (addImage(Image,int,int,int)): Likewise.
2694
2695 2004-06-11  Michael Koch  <konqueror@gmx.de>
2696
2697         * javax/swing/text/AbstractDocument.java,
2698         javax/swing/text/Document.java,
2699         javax/swing/text/GapContent.java,
2700         javax/swing/text/JTextComponent.java,
2701         javax/swing/text/PlainDocument.java:
2702         Reformatted.
2703
2704 2004-06-11  Michael Koch  <konqueror@gmx.de>
2705
2706         * javax/swing/JRootPane.java
2707         (AccessibleJRootPane.serialVersionUID): New field.
2708         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
2709         (AccessibleJRootPane.getAccessibleRole): New method.
2710         (RootLayout): Implements Serializable.
2711         (RootLayout.serialVersionUID): New field.
2712         (RootLayout.RootLayout): New constructor.
2713         (setJMenuBar): Made public.
2714         (getJMenuBar): Likewise.
2715         (JRootPane): Likewise.
2716         (createContentPane): Likewise.
2717         (createGlassPane): Likewise.
2718         (createLayeredPane): Likewise.
2719
2720 2004-06-11  Michael Koch  <konqueror@gmx.de>
2721
2722         * javax/swing/SwingUtilities.java
2723         (isLeftMouseButton): Fixed javadoc.
2724         (isMiddleMouseButton): Likewise.
2725         (isRightMouseButton): Likewise.
2726
2727 2004-06-11  Michael Koch  <konqueror@gmx.de>
2728
2729         * javax/swing/JScrollPane.java
2730         (serialVersionUID): New field.
2731         (columnHeader): Made protected.
2732         (rowHeader): Likewise.
2733         (lowerLeft): Likewise.
2734         (lowerRight): Likewise.
2735         (upperLeft): Likewise.
2736         (upperRight): Likewise.
2737         (horizontalScrollBar): Likewise.
2738         (horizontalScrollBarPolicy): Likewise.
2739         (verticalScrollBar): Likewise.
2740         (verticalScrollBarPolicy): Likewise.
2741         (viewport): Likewise.
2742
2743 2004-06-11  Michael Koch  <konqueror@gmx.de>
2744
2745         * javax/swing/LookAndFeel.java: Fixed javadocs.
2746
2747 2004-06-11  Michael Koch  <konqueror@gmx.de>
2748
2749         * javax/swing/JEditorPane.java: Fixed javadocs.
2750         (JEditorPane): Removed redundant call to to this().
2751         (fireHyperlinkUpdate): Implemented.
2752
2753 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
2754
2755         * javax/swing/JMenu.java: Fixed file name 
2756         in the file comment.
2757
2758 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
2759
2760         * javax/swing/JMenu.java: Added javadoc.
2761         (JMenu): Added MenuChangeListener to listen to 
2762         ChangeEvents occuring in menu's model. 
2763         (insert): Throw IllegalArgumentException if 
2764         index is less than 0
2765         (setSelected): Reimplement.
2766         (setPopupMenuVisible): Call menu's model isEnabled()
2767         (setDelay): Throw IllegalArgumentException if 
2768         given amount of delay is less than 0.
2769         (createActionComponent): Implemented.
2770         (createActionChangeListener): Implemented.
2771         (addSeparator): Implemented.
2772         (getItem): Throw IllegalArgumentException if index is 
2773         less than 0.
2774         (getItemCount): Implemented.
2775         (fireMenuSelected): Changed to use menuEvent.
2776         (fireMenuDeselected): Likewise.
2777         (fireMenuCanceled): Likewise.
2778         (setAccelerator): Changed to throw an error if this 
2779         method is used. 
2780         (doClick): Implemented.
2781         (JMenu.ActionChangedListener): New inner class to handle
2782         PropertyChangeEvents occuring in the actions associated with menu.
2783         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
2784         (BasicMenuUI): Added PropertyChangeListener to the menu.
2785         (createChangeListener): Implemented.
2786         (createMenuDragMouseListener): Likewise.
2787         (createMenuKeyListener): Likewise.
2788         (createPropertyChangeListener): Likewise.
2789         (uninstallListeners): Likewise.
2790         (BasicMenuUI.MouseInputHandler): Reimplemented.
2791         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
2792         (BasicMenuUI.ChangeHandler): Likewise.
2793         (BasicMenuUI.MenuDragMouseHandler): Likewise.
2794         (BasicMenuUI.MenuKeyHandler): Likewise.
2795
2796 2004-06-10  David Jee  <djee@redhat.com>
2797
2798         * java/awt/MediaTracker.java
2799         (imageUpdate): Only do notifyAll() if the image is complete.
2800
2801 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
2802
2803         * javax/swing/JApplet.java:
2804         (getJMenuBar): Made public.
2805         (setJMenuBar): Likewise.
2806         * javax/swing/JFrame.java:
2807         (getJMenuBar): Made public.
2808         (setJMenuBar): Likewise.
2809         * javax/swing/JWindow.java:
2810         (getJMenuBar): Removed.
2811         (setJMenuBar): Removed.
2812
2813 2004-06-10  Michael Koch  <konqueror@gmx.de>
2814
2815         * javax/swing/JEditorPane.java
2816         (createEditorKitForContentType): Fixed visibility.
2817         (fireHyperlinkUpdate): Likewise.
2818         (getContentType): Likewise.
2819         (getEditorKit): Likewise.
2820         (getEditorKitForContentType): Likewise.
2821         (getPage): Likewise.
2822         (read): Likewise.
2823         (registerEditorKitForContentTyoe): Likewise.
2824         (replaceSelection): Likewise.
2825         (setContentType): Likewise.
2826         (setEditorKit): Likewise.
2827         (setPage): Likewise.
2828
2829 2004-06-10  Michael Koch  <konqueror@gmx.de>
2830
2831         * javax/swing/Timer.java
2832         (Timer): New constructor.
2833         * javax/swing/plaf/basic/BasicProgressBarUI.java
2834         (animationTimer): Don't initialize at construction.
2835         (startAnimationTimer): Added since tag.
2836         (stopAnimationTimer): Likewise.
2837         (installUI): Use new Timer constructor.
2838         * javax/swing/plaf/basic/BasicScrollBarUI.java
2839         (installUI): Likewise.
2840         * javax/swing/plaf/basic/BasicSliderUI.java
2841         (installUI): Likewise.
2842
2843 2004-06-10  Michael Koch  <konqueror@gmx.de>
2844
2845         * javax/swing/ButtonGroup.java
2846         (serialVersionUID): Made private.
2847         (buttons): Renamed from v, added javadoc.
2848         (sel): Added javadoc.
2849         (ButtonGroup): Likewise.
2850         (add): Likewise.
2851         (remove): Likewise.
2852         (getElements): Likewise.
2853         (getSelection): Likewise.
2854         (setSelected): Likewise.
2855         (isSelected): Likewise.
2856         (getButtonCount): Likewise.
2857
2858 2004-06-10  Michael Koch  <konqueror@gmx.de>
2859
2860         * javax/swing/ButtonGroup.java,
2861         javax/swing/ImageIcon.java,
2862         javax/swing/JEditorPane.java,
2863         javax/swing/JRootPane.java,
2864         javax/swing/JTextField.java,
2865         javax/swing/LookAndFeel.java,
2866         javax/swing/plaf/basic/BasicTextUI.java:
2867         Reindented.
2868
2869 2004-06-10  Michael Koch  <konqueror@gmx.de>
2870
2871         * javax/swing/text/Style.java: Added javadocs.
2872
2873 2004-06-10  Michael Koch  <konqueror@gmx.de>
2874
2875         * javax/swing/JComponent.java
2876         (fireVetoableChange): Removed redundant cast.
2877         * javax/swing/JLabel.java
2878         (getDisabledIcon): Save icon for next call.
2879
2880 2004-06-10  Michael Koch  <konqueror@gmx.de>
2881
2882         * javax/swing/KeyStroke.java
2883         (getKeyStroke(char,boolean)): Marked deprecated.
2884
2885 2004-06-10  Michael Koch  <konqueror@gmx.de>
2886
2887         * javax/swing/DefaultCellEditor.java,
2888         javax/swing/GrayFilter.java,
2889         javax/swing/event/DocumentEvent.java,
2890         javax/swing/text/JTextComponent.java,
2891         javax/swing/text/MutableAttributeSet.java:
2892         Reindented.
2893
2894 2004-06-10  Michael Koch  <konqueror@gmx.de>
2895
2896         * javax/swing/plaf/BorderUIResource.java:
2897         Added serialVersionUID all over.
2898
2899 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
2900
2901         * javax/swing/undo/UndoManager.java: Re-written from scratch.
2902
2903 2004-06-10  Michael Koch  <konqueror@gmx.de>
2904
2905         * javax/swing/table/DefaultTableCellRenderer.java
2906         (noFocusBorder): Initialize directly.
2907
2908 2004-06-10  Michael Koch  <konqueror@gmx.de>
2909
2910         * javax/swing/plaf/basic/BasicArrowButton.java
2911         (setDirection): Use method argument.
2912
2913 2004-06-10  Michael Koch  <konqueror@gmx.de>
2914
2915         * javax/swing/plaf/BorderUIResource.java,
2916         javax/swing/plaf/ComponentUI.java,
2917         javax/swing/undo/CompoundEdit.java,
2918         javax/swing/undo/StateEdit.java:
2919         Fixed javadocs all over.
2920
2921 2004-06-10  Michael Koch  <konqueror@gmx.de>
2922
2923         * javax/swing/DefaultButtonModel.java
2924         (ARMED): Made public final, fixed value.
2925         (ENABLED): Likewise.
2926         (PRESSED): Likewise.
2927         (ROLLOVER): Likewise.
2928         (SELECTED): Likewise.
2929         (stateMask): Initialize directly.
2930         (listenerList): Likewise.
2931         (mnemonic): Likewise.
2932         (fireStateChanged): Removed argument, use changeEvent as event.
2933         All places where this method is called are fixed too.
2934         (getActionCommant): Fixed javadoc.
2935         (setGroup): Fixed javadoc.
2936         (getGroup): New method.
2937
2938 2004-06-09  Olga Rodimina <rodimina@redhat.com>
2939
2940         * javax/swing/AbstractButton.java
2941         (AbstractButton): Use init() to initialize the button.
2942         (init): New Method. Initializes AbstractButton.
2943         * javax/swing/JMenuItem.java: Documented.
2944         (JMenuItem): Reimplemented.
2945         (init): Implemented.
2946         (setEnabled): Changed to call super.setEnabled()
2947         (processMouseEvent): Reimplemented.
2948         (fireMenuKeyPressed): Implemented.
2949         (fireMenuKeyReleased): Implemented.
2950         (fireMenuKeyTyped): Implemented.
2951         (menuSelectionChanged): disarm the model if the menu item was
2952         deselected.
2953         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
2954         (getPath): Change to use ArrayList instead of Vector.
2955         (getPreferredSize): Renamed variable.
2956         (paintMenuItem): Paint margin area of menu item.
2957         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
2958         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
2959         menu item's bounds before clearing the selection.       
2960
2961 2004-06-09  David Jee  <djee@redhat.com>
2962
2963         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2964         (GtkTextComponentPeer): Set caret position to 0.
2965         * java/awt/TextComponent.java
2966         (setText): Set caret position to 0.
2967         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2968         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2969         Handle GtkScrolledWindow separately. Fix signal handler blocking.
2970         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2971         Likewise.
2972         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2973         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
2974         visible.
2975
2976 2004-06-09  Kim Ho  <kho@redhat.com>
2977
2978         * Makefile.am: New files
2979         * Makefile.in: Regenerated
2980         * java/awt/Container.java
2981         (getComponentAt): Removed.
2982         * javax/swing/AbstractAction.java
2983         (ENABLED_PROPERTY): New property.
2984         (putValue): Fire PropertyChangeEvents.
2985         (setEnabled): ditto.
2986         (firePropertyChange): Javadoc and implement
2987         convenience method.
2988         * javax/swing/AbstractButton.java
2989         (setAction): Don't create PropertyChangeListener
2990         if new Action is null.
2991         (setIcon): Don't set icon till after comparing
2992         it.
2993         (configurePropertiesFromAction): Check mnemonic
2994         key before calling intValue().
2995         (createActionPropertyChangeListener): Check
2996         properties rather than bulk change.
2997         * javax/swing/DefaultDesktopManager.java:
2998         Implement.
2999         * javax/swing/DesktopManager.java:
3000         Jalopy and javadoc.
3001         * javax/swing/JComponent.java
3002         (fireVetoableChange): Implement.
3003         (paintImmediately): Use root component.
3004         * javax/swing/JDesktopPane.java: Implement
3005         * javax/swing/JInternalFrame.java: Implement
3006         * javax/swing/JLabel.java
3007         (getDisabledIcon): Return grayscaled icon if
3008         no disabled icon specified.
3009         * javax/swing/JMenuBar.java
3010         (getComponentAtIndex): Use getComponent
3011         * javax/swing/JOptionPane.java
3012         (getDesktopPaneForComponent): Use SwingUtilities'
3013         getAncestorOfClass
3014         (getFrameForComponent): ditto.
3015         * javax/swing/JSplitPane.java
3016         (remove): Use getComponent.
3017         * javax/swing/SwingUtilities.java
3018         (convertPoint): Implement.
3019         * javax/swing/plaf/basic/BasicButtonUI.java
3020         (paintButtonNormal): Check opaqueness before
3021         filling background.
3022         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
3023         Implement
3024         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
3025         Implement.
3026         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
3027         Implement.
3028         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3029         Implement.
3030         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3031         Change InternalFrame and Desktop colors.
3032
3033 2004-06-09  David Jee  <djee@redhat.com>
3034
3035         * java/awt/Container.java
3036         (remove): Do not set component to invisible.
3037
3038 2004-06-09  Michael Koch  <konqueror@gmx.de>
3039
3040         * javax/swing/tree/DefaultMutableTreeNode.java
3041         (getLeafCount): Renamed enum to e.
3042
3043 2004-06-09  Michael Koch  <konqueror@gmx.de>
3044
3045         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
3046         (positionForMouseEvent): Removed redundant semicolon.
3047         (continueDrag): Use method arguments.
3048
3049 2004-06-09  Michael Koch  <konqueror@gmx.de>
3050
3051         * javax/swing/border/TitledBorder.java,
3052         javax/swing/filechooser/FileSystemView.java,
3053         javax/swing/plaf/basic/BasicButtonListener.java,
3054         javax/swing/plaf/basic/BasicGraphicsUtils.java,
3055         javax/swing/plaf/basic/BasicLabelUI.java,
3056         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
3057         javax/swing/plaf/basic/BasicScrollBarUI.java,
3058         javax/swing/plaf/basic/BasicScrollPaneUI.java,
3059         javax/swing/plaf/basic/BasicSliderUI.java,
3060         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
3061         javax/swing/plaf/basic/BasicToggleButtonUI.java,
3062         javax/swing/table/JTableHeader.java,
3063         javax/swing/text/AbstractDocument.java,
3064         javax/swing/text/DefaultCaret.java,
3065         javax/swing/text/StyledEditorKit.java,
3066         javax/swing/tree/DefaultTreeCellEditor.java:
3067         Reworked import statements.
3068
3069 2004-06-08  Graydon Hoare  <graydon@redhat.com>
3070
3071         * javax/swing/Box.java: Temporarily comment out code
3072         broken due to visibility bug.
3073
3074 2004-06-09  Michael Koch  <konqueror@gmx.de>
3075
3076         * javax/swing/ImageIcon.java
3077         (ImageIcon): Added missing constructor.
3078
3079 2004-06-08  Michael Koch  <konqueror@gmx.de>
3080
3081         * javax/swing/JToggleButton.java
3082         (JToggleButton): New constructor.
3083         (getAccessibleContext): Moved documentation into javadoc.
3084         (getUIClassID): Likewise.
3085
3086 2004-06-08  Michael Koch  <konqueror@gmx.de>
3087
3088         * javax/swing/AbstractButton.java
3089         (getDisabledIcon): Create disabled icon if none exists yet.
3090
3091 2004-06-08  Michael Koch  <konqueror@gmx.de>
3092
3093         * javax/swing/plaf/basic/BasicLookAndFeel.java
3094         (initClassDefaults): Added FormattedTextFieldUI.
3095         (loadResourceBundle): Renamed enum to e.
3096
3097 2004-06-08  Michael Koch  <konqueror@gmx.de>
3098
3099         * javax/swing/plaf/basic/BasicButtonUI.java
3100         (paintIcon): Simplified.
3101         (paintText): Paint disabled button correctly.
3102
3103 2004-06-08  Michael Koch  <konqueror@gmx.de>
3104
3105         * javax/swing/JComponent.java
3106         (createToolTip): Use official JToolTip API.
3107
3108 2004-06-08  Michael Koch  <konqueror@gmx.de>
3109
3110         * javax/swing/JToolTip.java
3111         (JToolTip): No arguments in API.
3112         (setTipText): New method.
3113
3114 2004-06-08  Michael Koch  <konqueror@gmx.de>
3115
3116         * javax/swing/SwingUtilities.java
3117         (isLeftMouseButton): New method.
3118         (isMiddleMouseButton): New method.
3119         (isRightMouseButton): New method.
3120
3121 2004-06-08  Michael Koch  <konqueror@gmx.de>
3122
3123         * javax/swing/AbstractButton.java,
3124         javax/swing/CellRendererPane.java,
3125         javax/swing/JCheckBoxMenuItem.java,
3126         javax/swing/JColorChooser.java,
3127         javax/swing/JComboBox.java,
3128         javax/swing/JComponent.java,
3129         javax/swing/JDesktopPane.java,
3130         javax/swing/JFileChooser.java,
3131         javax/swing/JMenu.java,
3132         javax/swing/JMenuItem.java,
3133         javax/swing/JOptionPane.java,
3134         javax/swing/JPasswordField.java,
3135         javax/swing/JPopupMenu.java,
3136         javax/swing/JProgressBar.java,
3137         javax/swing/JRadioButtonMenuItem.java,
3138         javax/swing/JScrollBar.java,
3139         javax/swing/JSeparator.java,
3140         javax/swing/JSlider.java,
3141         javax/swing/JSplitPane.java,
3142         javax/swing/JTabbedPane.java,
3143         javax/swing/JTextField.java,
3144         javax/swing/JToolBar.java,
3145         javax/swing/text/JTextComponent.java:
3146         Fixed all constructors of accessibility classes.
3147
3148 2004-06-08  Michael Koch  <konqueror@gmx.de>
3149
3150         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
3151         over.
3152
3153 2004-06-08  Michael Koch  <konqueror@gmx.de>
3154
3155         * javax/swing/Box.java
3156         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
3157         (AccessibleBoxFiller.serialVersionUID): New member variable.
3158         * javax/swing/DefaultButtonModel.java
3159         (stateMask): Made protected.
3160         (listenerList): Likewise.
3161         (changeEvent): Likewise.
3162         (group): Likewise.
3163         (mnemonic): Likewise.
3164         (actionCommand): Likewise.
3165         (getListeners): New method.
3166         (getActionListeners): New method.
3167         (getItemListeners): New method.
3168         (getChangeListeners): New method.
3169         (fireItemStateChanged): Simplified.
3170         (fireActionPerformed): Simplified.
3171         (fireStateChanged): Simplified.
3172         * javax/swing/JFrame.java
3173         (JFrame): Implements WindowContants.
3174         (HIDE_ON_CLOSE): Removed.
3175         (EXIT_ON_CLOSE): Removed.
3176         (DISPOSE_ON_CLOSE): Removed.
3177         (DO_NOTHING_ON_CLOSE): Removed.
3178         (processWindowEvent): Exit with code 0.
3179         (setDefaultCloseOperation): Do security check before setting value.
3180         * javax/swing/JOptionPane.java
3181         (message): Initialize only in constructor.
3182         * javax/swing/JToolTip.java: Removed unused imports.
3183         * javax/swing/JViewport.java
3184         (serialVersionUID): New member variable.
3185         (SIMPLE_SCROLL_MODE): Made final, fixed value.
3186         (BLIT_SCROLL_MODE): Likewise.
3187         (BACKINGSTORE_SCROLL_MODE): Likewise.
3188         (scrollUnderway): Made protected.
3189         (isViewSizeSet): Likewise.
3190         * javax/swing/ListModel.java: Fixed javadoc.
3191         * javax/swing/Popup.java: Likewise.
3192         * javax/swing/RepaintManager.java
3193         (paintDirtyRegions): Don't use internal classes of
3194         java.util.AbstractMap.
3195         * javax/swing/ScrollPaneConstants.java: Reindented.
3196         * javax/swing/ScrollPaneLayout.java
3197         (viewport): Made protected.
3198         (verticalScrollBar): Made protected, renamed to vsb.
3199         (horizontalScrollBar): Made protected, renamed to hsb.
3200         (rowHeader): Made protected, renamed to rowHead.
3201         (columnHeader): Made protected, renamed to colHead.
3202         (lowerLeft): Made protected.
3203         (lowerRight): Made protected.
3204         (upperLeft): Made protected.
3205         (upperRight): Made protected.
3206         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
3207         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
3208
3209 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
3210
3211         * java/awt/MediaTracker.java (imageUpdate): Only set status to
3212         LOADING if flags has SOMEBITS set.
3213
3214 2004-06-07  Michael Koch  <konqueror@gmx.de>
3215
3216         * javax/swing/AbstractButton.java: Reorganized imports.
3217         * javax/swing/ActionMap.java: Likewise.
3218         * javax/swing/DefaultButtonModel.java: Likewise.
3219         * javax/swing/DefaultListModel.java: Likewise.
3220         * javax/swing/ImageIcon.java: Likewise.
3221         (serialVersionUID): New member variable.
3222         * javax/swing/JComboBox.java: Reorganized imports.
3223         * javax/swing/JComponent.java: Likewise.
3224         (ui): Made protected.
3225         (listenerList): Made protected.
3226         (TOOL_TIP_TEXT_KEY): New constant.
3227         (scrollRectToVisible): Removed redundant null check.
3228         * javax/swing/JFrame.java: Reorganized imports.
3229         * javax/swing/JInternalFrame.java: Reorganized imports.
3230         * javax/swing/JProgressBar.java: Likewise.
3231         * javax/swing/JRootPane.java: Likewise.
3232         * javax/swing/JScrollBar.java: Likewise.
3233         * javax/swing/JSeparator.java: Likewise.
3234         * javax/swing/JSlider.java: Likewise.
3235         * javax/swing/JTabbedPane.java: Likewise.
3236         * javax/swing/JTextField.java: Likewise.
3237         * javax/swing/JToolBar.java: Likewise.
3238         * javax/swing/JTree.java: Likewise.
3239         * javax/swing/JViewport.java: Likewise.
3240         * javax/swing/JWindow.java: Likewise.
3241         * javax/swing/KeyStroke.java: Likewise.
3242         * javax/swing/LookAndFeel.java: Likewise.
3243         * javax/swing/MenuSelectionManager.java: Likewise.
3244         * javax/swing/SwingUtilities.java: Likewise.
3245         * javax/swing/Timer.java: Likewise.
3246         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
3247         * javax/swing/JList.java
3248         (HORIZONTAL_WRAP): Made final, fixed value.
3249         (VERTICAL): Likewise.
3250         (VERTICAL_WRAP): Likewise.
3251
3252 2004-06-07  Michael Koch  <konqueror@gmx.de>
3253
3254         * javax/swing/AbstractButton.java
3255         (serialVersionUID): New member variable.
3256         (AccessibleAbstractButton.serialVersionUID): Likewise.
3257         (AbstractButton): Made public.
3258         * javax/swing/Box.java
3259         (AccessibleBox.serialVersionUID): New member variable.
3260         (Filler.serialVersionUID): Likewise.
3261         * javax/swing/DefaultListSelectionModel.java
3262         (serialVersionUID): Likewise.
3263         * javax/swing/JApplet.java
3264         (serialVersionUID): Likewise.
3265         * javax/swing/JCheckBox.java
3266         (serialVersionUID): Likewise.
3267         * javax/swing/JCheckBoxMenuItem.java
3268         (serialVersionUID): Likewise.
3269         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
3270         * javax/swing/JColorChooser.java
3271         (serialVersionUID): Likewise.
3272         (AccessibleJColorChooser.serialVersionUID): Likewise.
3273         * javax/swing/JComponent.java
3274         (serialVersionUID): Made private.
3275         (AccessibleJComponent.serialVersionUID): New member variable.
3276         * javax/swing/JDesktopPane.java
3277         (serialVersionUID): Likewise.
3278         * javax/swing/JDialog.java
3279         (serialVersionUID): Likewise.
3280         * javax/swing/JFormattedTextField.java
3281         (serialVersionUID): Fixed value.
3282         * javax/swing/JFrame.java
3283         (serialVersionUID): New member variable.
3284         (getDefaultCloseOpertation): Made public.
3285         * javax/swing/JLayeredPane.java
3286         (serialVersionUID): Likewise.
3287         (LAYER_PROPERTY): Made final, fixed value.
3288         (JLayeredPane): Made public.
3289         * javax/swing/JMenu.java
3290         (AccessibleJMenu.serialVersionUID): New member variable.
3291         (WinListener.serialVersionUID): Likewise.
3292         * javax/swing/JMenuBar.java
3293         (serialVersionUID): Likewise.
3294         (getComponentAtIndex): Added @deprecated tag.
3295         * javax/swing/JMenuItem.java
3296         (serialVersionUID): New member variable.
3297         (AccessibleJMenuItem.serialVersionUID): Likewise.
3298         * javax/swing/JOptionPane.java
3299         (serialVersionUID): Likewise.
3300         (AccessibleJOptionPane.serialVersionUID): Likewise.
3301         * javax/swing/JPopupMenu.java
3302         (serialVersionUID): Likewise.
3303         (AccessibleJPopupMenu.serialVersionUID): Likewise.
3304         (getPopupMenuListeners): New method.
3305         (getComponentAtIndex): Added @deprecated tag.
3306         * javax/swing/JProgressBar.java
3307         (serialVersionUID): New member variable.
3308         (AccessibleJProgressBar.serialVersionUID): Likewise.
3309         * javax/swing/JRadioButton.java
3310         (serialVersionUID): Likewise.
3311         * javax/swing/JRadioButtonMenuItem.java
3312         (serialVersionUID): Likewise.
3313         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
3314         * javax/swing/JScrollBar.java
3315         (serialVersionUID): Likewise.
3316         (AccessibleJScrollBar.serialVersionUID): Likewise.
3317         * javax/swing/JSeparator.java
3318         (serialVersionUID): Likewise.
3319         (AccessibleJSeparator.serialVersionUID): Likewise.
3320         * javax/swing/JSlider.java: Fixed javadocs.
3321         (AccessibleJSlider.serialVersionUID): New member variable.
3322         * javax/swing/JSplitPane.java: Added copyright statement.
3323         (serialVersionUID): New member variable.
3324         (AccessibleJSplitPane.serialVersionUID): Likewise.
3325         * javax/swing/JTabbedPane.java
3326         (serialVersionUID): Likewise.
3327         (AccessibleJTabbedPane.serialVersionUID): Likewise.
3328         (ModelListener.serialVersionUID): Likewise.
3329         (ModelListener.ModelListener): New constructor.
3330         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
3331         (WRAP_TAB_LAYOUT): Likewise.
3332         * javax/swing/JTable.java
3333         (serialVersionUID): New member variable.
3334         * javax/swing/JToggleButton.java
3335         (serialVersionUID): Likewise.
3336         (ToggleButtonModel): Made static.
3337         (ToggleButtonModel.serialVersionUID): New member variable.
3338         * javax/swing/JToolTip.java
3339         (serialVersionUID): Likewise.
3340         * javax/swing/JTree.java
3341         (serialVersionUID): Likewise.
3342         * javax/swing/JWindow.java
3343         (serialVersionUID): Likewise.
3344         * javax/swing/Timer.java
3345         (serialVersionUID): Likewise.
3346
3347 2004-06-06  Michael Koch  <konqueror@gmx.de>
3348
3349         * javax/swing/SwingConstants.java
3350         (NEXT): New constant.
3351         (PREVIOUS): Likewise.
3352         * javax/swing/UIManager.java
3353         (LookAndFeel): Made public.
3354         (LookAndFeel.getClassName): Likewise.
3355         (LookAndFeel.getName): Likewise.
3356
3357 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
3358
3359         * javax/swing/JCheckBoxMenuItem.java:
3360         Removed CVS tags.
3361         * javax/swing/JMenu.java: Likewise.
3362         * javax/swing/JMenuBar.java: Likewise.
3363         * javax/swing/JMenuItem.java: Likewise.
3364         * javax/swing/JPopupMenu.java: Likewise.
3365         * javax/swing/JRadioButtonMenuItem.java: Likewise.
3366         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
3367         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3368         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3369         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
3370         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
3371         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
3372
3373 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
3374         
3375         * javax/swing/plaf/basic/BasicMenuUI.java:
3376         (MouseEntered): Do not call getPath() from MenuSelectionManager.
3377         Call getPath() from super class instead.
3378
3379 2004-05-31  David Jee  <djee@redhat.com>
3380
3381         * java/awt/Container.java
3382         (remove): Set component visibility to false after removing it.
3383
3384 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
3385
3386         * java/awt/Component.java (getForeground): Return SystemColor if
3387         parent is null.
3388         (getBackground): Likewise.
3389
3390         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
3391         (item_highlighted): New function.
3392         (connectSignals): Set item_highlighted as list's select
3393         function.
3394
3395         * java/applet/Applet.java: Revert changes from 2004-04-29,
3396         2004-03-15 and 2004-03-14.
3397
3398         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3399         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
3400         factor.
3401
3402         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
3403         "Dialog" as the default font.
3404         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
3405         Likewise.
3406         * java/awt/Component.java (getFont): Return "Dialog" font by
3407         default.
3408         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
3409         Multiply size argument to pango_font_description_set_size by the
3410         DPI conversion factor rather than by PANGO_SCALE.
3411         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
3412         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
3413         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
3414         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
3415         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
3416         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
3417         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
3418         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
3419         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3420         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3421         Divide baseline y coordinate by DPI conversion factor rather
3422         than by PANGO_SCALE.
3423         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
3424         (area_prepared): Fix typo.
3425         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
3426         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
3427         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3428         (dpi_conversion_factor): New global variable.
3429         (init_dpi_conversion_factor): New function to calculate and
3430         track DPI conversion factor.
3431         (dpi_changed_cb): New callback.
3432         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
3433
3434 2004-05-27  David Jee  <djee@redhat.com>
3435
3436         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3437         (getGraphics): Return a new GdkGraphics instance.
3438         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3439         (getGraphics): Call super.getGraphics().
3440
3441 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
3442
3443         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3444         (setNativeBounds): Clamp width and height values to >= 0.
3445
3446         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3447         (find_fg_color_widget): Handle GtkOptionMenu specially.
3448
3449         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3450         (pre_event_handler): Only post configure events to visible
3451         top-level windows.
3452
3453 2004-05-26  David Jee  <djee@redhat.com>
3454
3455         * java/awt/BorderLayout.java
3456         (layoutContainer): Fix size calculations.
3457
3458 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
3459
3460         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3461         (window_wm_protocols_filter): Remove function.
3462         (create): Remove filter that removes WM_TAKE_FOCUS client
3463         messages.
3464
3465 2004-06-17  Anthony Green  <green@redhat.com>
3466
3467         * java/util/zip/ZipFile.java (getInputStream): Return null if
3468         entry not found.
3469
3470         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
3471         directory contents to the class path.
3472
3473 2004-06-15  Andrew Haley  <aph@redhat.com>
3474
3475         * java/lang/natSystem.cc (getenv0): Don't assume environment
3476         variable is Latin 1 coded.
3477
3478 2004-06-14  Andreas Jaeger  <aj@suse.de>
3479
3480         * configure.in: Support --enable-version-specific-runtime-libs.
3481         * configure: Regenerated.
3482
3483 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
3484
3485         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
3486         to pass ClassLoader argument.
3487         * java/util/GregorianCalendar.java: Likewise.
3488         * java/util/Currency.java: Likewise.
3489         * java/text/BreakIterator.java: Likewise.
3490         * java/text/Collator.java: Likewise.
3491         * java/text/DateFormat.java: Likewise.
3492         * java/text/DateFormatSymbols.java: Likewise.
3493         * java/text/DecimalFormatSymbols.java: Likewise.
3494         * java/text/NumberFormat.java: Likewise.
3495         * java/awt/Window.java: Likewise.
3496
3497 2004-06-14  Andrew Haley  <aph@redhat.com>
3498
3499         * java/lang/System.java: (getenv0): New method.
3500         (getenv): Add security check.  Do the right thing.
3501         * java/lang/natSystem.cc (getenv0): New method.
3502
3503 2004-06-12  Mark Wielaard  <mark@klomp.org>
3504
3505         * javax/swing/RepaintManager.java
3506         (paintDirtyRegions): Use entrySet(), not values().
3507
3508 2004-06-10  Mark Wielaard  <mark@klomp.org>
3509
3510         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
3511         NoSuchMethodError.
3512
3513 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
3514
3515         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
3516         when we already know the answer.
3517         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
3518         (setStartRule,setEndRule): Don't take abs of day number.
3519         (getOffset): Clarify docs.  Add argument checks.
3520         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
3521         (equals,hasSameRules,toString,readObject): Use startTimeMode and
3522         endTimeMode.
3523
3524 2004-06-10  Tom Tromey  <tromey@redhat.com>
3525
3526         * interpret.cc (run): Handle wide fload.
3527
3528 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
3529
3530         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
3531
3532 2004-06-05  Michael Koch  <konqueror@gmx.de>
3533
3534         * javax/swing/SwingConstants.java
3535         (NEXT): New constant.
3536         (PREVIOUS): Likewise.
3537
3538 2004-06-05  Michael Koch  <konqueror@gmx.de>
3539
3540         * javax/swing/UIManager.java
3541         (LookAndFeel): Made public.
3542         (LookAndFeel.getName): Likewise.
3543         (LookAndFeel.getClassName): Likewise.
3544
3545 2004-06-03  Michael Koch  <konqueror@gmx.de>
3546
3547         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3548         (requestFocus): Revert last changes.
3549         (gtkRequestFocus): Removed.
3550         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3551         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
3552         Renamed to ...
3553         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
3554         Reverted last patch.
3555         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3556         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
3557         Reverted comment change.
3558
3559 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
3560
3561         * javax/swing/JCheckBoxMenuItem.java:
3562         Removed CVS tags.
3563         * javax/swing/JMenu.java: Likewise.
3564         * javax/swing/JMenuBar.java: Likewise.
3565         * javax/swing/JMenuItem.java: Likewise.
3566         * javax/swing/JPopupMenu.java: Likewise.
3567         * javax/swing/JRadioButtonMenuItem.java: Likewise.
3568         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
3569         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3570         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3571         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
3572         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
3573         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
3574
3575 2004-06-01  Tom Tromey  <tromey@redhat.com>
3576
3577         * java/io/ObjectStreamField.java: Cleaned up imports.
3578
3579 2004-06-01  Michael Koch  <konqueror@gmx.de>
3580
3581         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
3582       
3583 2004-06-01  Mark Wielaard  <mark@klomp.org>
3584
3585         * java/io/Writer.java (Writer(Object)): Fixed API doc.
3586
3587 2004-06-01  Michael Koch  <konqueror@gmx.de>
3588
3589         * java/security/Security.java
3590         (insertProviderAt): Use equals() instead of ==.
3591         (removeProvicer): Likewise.
3592         (getProvider): Likewise.
3593         * java/security/Signature.java
3594         (sign): Don't set state to UNINITIALIZED.
3595         (verify): Likewise.
3596
3597 2004-06-01  Mark Wielaard  <mark@klomp.org>
3598
3599         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
3600         Implement by calling gtkRequestFocus.
3601         (gtkRequestFocus): New native method.
3602         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3603         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
3604         Renamed to ...
3605         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
3606         New function name.
3607         (filter_expose_event_handler):
3608         Mark static.
3609         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3610         (menu_pos): Mark static.
3611
3612 2004-06-01  Michael Koch  <konqueror@gmx.de>
3613
3614         * java/text/CollationElementIterator.java,
3615         java/text/CollationKey.java,
3616         java/text/RuleBasedCollator.java: New versions from GNU classpath.
3617         * testsuite/libjava.mauve/xfails: Removed all
3618         java.text.CollationElementIterator tests.
3619
3620 2004-06-01  Michael Koch  <konqueror@gmx.de>
3621
3622         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
3623         version.
3624         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
3625         Java 1.5 keyword usage.
3626
3627 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
3628
3629         * javax/swing/plaf/basic/BasicMenuUI.java:
3630         (MouseEntered): Do not call getPath() from MenuSelectionManager.
3631         Call getPath() from super class instead.
3632
3633 2004-05-31  Michael Koch  <konqueror@gmx.de>
3634
3635         * java/io/SequenceInputStream.java:
3636         Rename enum to e because enum is a keyword in Java 1.5.
3637
3638 2004-05-31  Michael Koch  <konqueror@gmx.de>
3639
3640         * gnu/java/rmi/rmic/CompilerProcess.java:
3641         Fixed javadoc to by XHTML compliant.
3642
3643 2004-05-30  Mark Wielaard  <mark@klomp.org>
3644
3645         * java/awt/Toolkit.java (loadSystemColors): Implement.
3646
3647 2004-05-30  Michael Koch  <konqueror@gmx.de>
3648
3649         * java/lang/System.java: Reordered imports.
3650
3651 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
3652
3653         * java/text/DecimalFormat.java
3654         (parse): Fixed parsing of decimal strings. Number of maximum
3655         digits to be read should now work.
3656         * java/text/SimpleDateFormat.java
3657         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
3658         formatter. This fixes DateFormatTest.
3659
3660 2004-05-30  Michael Koch  <konqueror@gmx.de>
3661
3662         * java/nio/Buffer.java
3663         (limit): Fixed off by one error.
3664         * java/nio/CharBuffer.java
3665         (wrap): Fixed arguments, added javadocs.
3666
3667 2004-05-30  Michael Koch  <konqueror@gmx.de>
3668
3669         * gnu/java/beans/BeanInfoEmbryo.java,
3670         java/awt/im/InputContext.java,
3671         javax/swing/tree/DefaultMutableTreeNode.java:
3672         Rename enum to e because enum is a keyword in Java 1.5.
3673
3674 2004-05-30  Michael Koch  <konqueror@gmx.de>
3675
3676         * gnu/java/math/MPN.java,
3677         java/awt/geom/Arc2D.java:
3678         Fixed javadocs all over.
3679
3680 2004-05-30  Michael Koch  <konqueror@gmx.de>
3681
3682         * java/awt/DefaultKeyboardFocusManager.java
3683         (dispatchEvent): Call method to get key event dispatchers.
3684         (dispatchKeyEvent): Call method to get key event post processors.
3685         * javax/swing/JComponent.java
3686         (listenerList): Made protected.
3687         * javax/swing/JOptionPane.java
3688         (message): Don't initialize.
3689         (JOptionPane): Set message text.
3690         * javax/swing/JPopupMenu.java
3691         (show): Fixed typo in argument name.
3692         * javax/swing/RepaintManager.java
3693         (paintDirtyRegions): Use public API of java.util.Map.
3694         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
3695         (positionForMouseEvent): Removed redundant ';'.
3696         (continueDrag): Use method arguments.
3697
3698 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
3699
3700         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
3701         results.
3702
3703 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
3704
3705         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
3706         _Jv_AllocBytes.
3707         * gnu/gcj/RawDataManaged.java: New file.
3708         * java/lang/Thread.java (data): Declare as RawDataManaged.
3709         * java/lang/natThread.cc (init_native): Cast natThread data to
3710         RawDataManaged, not jobject.
3711         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
3712         * Makefile.in: Rebuilt.
3713
3714 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
3715
3716         * java/util/SimpleTimeZone.java: Reverting my last change until I
3717         can fix it properly.
3718
3719 2004-05-27  Michael Koch  <konqueror@gmx.de>
3720
3721         * javax/swing/JPopupMenu.java
3722         (isVisible): Do not use visible directly.
3723         (setVisible): Likewise.
3724         * javax/swing/JWindow.java
3725         (JWindow): call accessible constructor.
3726         * javax/swing/RepaintManager.java
3727         (paintDirtyRegions): Use public methods to obtain iterator.
3728
3729 2004-05-25  David Jee  <djee@redhat.com>
3730
3731         * java/awt/Container.java
3732         (remove): Set component's parent to null only after we removed the
3733         component from its parent's layout manager.
3734
3735 2004-05-25  David Jee  <djee@redhat.com>
3736
3737         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3738         (GtkComponentPeer): Set bounds regardless of whether awtComponent
3739         is valid.
3740         * gnu/java/awt/peer/gtk/GtkListPeer.java
3741         (getSize): Change native method declaration.
3742         (minimumSize): Pass visible row count into getSize().
3743         (preferredSize): Likewise.
3744         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
3745         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
3746         natural size. Use visible row count to determine the final height
3747         value to return.
3748
3749 2004-05-21  Graydon Hoare  <graydon@redhat.com>
3750
3751         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
3752         (setClip): Minor correction to order of operations.
3753
3754         * javax/swing/JScrollPane.java: Extend sketchy implementation.
3755         * javax/swing/ScrollPaneLayout.java: Likewise.
3756         * javax/swing/JViewPort.java: Likewise.
3757         * javax/swing/ViewportLayout.java: Likewise.
3758
3759         * javax/swing/JComponent.java: Rewrite.
3760         * javax/swing/RepaintManager.java: Likewise.
3761
3762         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
3763         * javax/swing/JList.java 
3764         (setSelectedIndices):
3765         (getSelectedIndices):
3766         (getSelectedValues): New functions.
3767         (getPreferredScrollableViewportSize): Return preferred size.
3768         (getScrollableUnitIncrement):
3769         (getScrollableBlockIncrement): Initial implementations.
3770         * javax/swing/JRootPane.java: Clean up slightly.
3771         (getUI):
3772         (setUI):
3773         (updateUI):
3774         (getUIClassID):
3775         (isValidateRoot): Add overrides from JComponent.
3776         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
3777         * javax/swing/UIManager.java (getDimension): Return the dimension.
3778
3779         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
3780         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3781         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3782         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3783         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3784         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
3785         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3786         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
3787         Likewise, and set background.
3788         * javax/swing/plaf/basic/BasicListUI.java: 
3789         Likewise, and improve a bit.
3790         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
3791         Likewise, and adjust calculations.
3792         * javax/swing/plaf/basic/BasicViewportUI.java:
3793         Likewise, and improve a bit.
3794         * javax/swing/plaf/basic/BasicLookAndFeel.java 
3795         (Button.margin): Shrink.
3796
3797         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
3798         Hack to set horizontal always, workaround pango.
3799
3800         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
3801         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
3802         Synchronize more often, check cairo status after ops,
3803         handle changes to cairo pattern API, check for disposal.
3804
3805 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
3806
3807         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3808         (BasicMenuItemUI): Create propertyChangeListener.
3809         (getPath):Implemented.
3810         (installListeners): Add propertyChangeListener to menuItem.
3811         (uninstallListeners): Remove propertyChangeListener from menuItem.
3812         (update): Implemented.
3813         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
3814         (mouseEntered): Take insets of popup menu into account when
3815         calculating position of popup menu.     
3816         
3817 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
3818
3819         * Makefile.am: Added new file. 
3820         * Makefile.in: Regenerate.
3821         * javax/swing/JMenuBar.java:
3822         Started implementation.
3823         * javax/swing/JPopupMenu.java:
3824         (setVisible): Fixed location of lightweight/mediumweight
3825         popup menu.
3826         (show): Fixed location of PopupMenu.
3827         * javax/swing/plaf/basic/BasicMenuBarUI.java:
3828         New file. UI Delegate for JMenuBar.
3829         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
3830         (mouseEntered): Corrected position of the submenu.
3831
3832 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
3833
3834         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
3835         to _gtk_accel_group_attach.
3836         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
3837         Likewise.
3838
3839         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
3840         package access.  Don't override setFont.
3841         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
3842         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
3843         gtkWidgetRequestFocus package access.
3844         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
3845         setFont.
3846         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
3847         Give gtkWidgetRequestFocus package access.
3848         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
3849         gtkWidgetRequestFocus package access.  Don't override setFont.
3850         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
3851         setFont.
3852         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3853         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
3854         region.
3855         (gtkSetFont): Likewise.
3856         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
3857         Implement.
3858         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3859         (gtkSetFont): Whitespace fix.
3860
3861         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3862         (gtkWidgetSetUsize): Remove method.
3863
3864 2004-05-18  David Jee  <djee@redhat.com>
3865
3866         * java/awt/image/MemoryImageSource.java
3867         (newPixels(int,int,int,int,boolean)): Set only the specified
3868         rectangle of pixels.
3869         (newPixels(byte[],ColorModel,int,int)): Implement.
3870         (newPixels(int[],ColorModel,int,int)): Implement.
3871
3872 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
3873
3874         * Makefile.am: Added new file.
3875         * Makefile.in: Regenerate.
3876         * javax/swing/JMenu.java: Started 
3877         implementation.
3878         * javax/swing/JPopupMenu.java:
3879         (insert): If specified index is -1, then
3880         add component at the end.
3881         (isPopupTrigger): Reimplemented.
3882         (JPopupMenu.LightWeightPopup): setBounds
3883         of the lightWeightPopup before adding it 
3884         to the layeredPane.
3885         (javax/swing/plaf/basic/BasicIconFactory.java):
3886         (getMenuArrowIcon): Implemented.
3887         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3888         (getPreferredSize): Add size of the arrow icon 
3889         if this menu item is instance of JMenu.
3890         (paintMenuItem): Paint arrow icon if this 
3891         menu item is a submenu.
3892         * javax/swing/plaf/basic/BasicMenuUI.java:
3893         New File. UI Delegate for JMenu.
3894
3895 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
3896
3897         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
3898         Post KEY_TYPED events.
3899         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3900         (generates_key_typed_event): Remove function.
3901
3902 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
3903
3904         * javax/swing/JRootPane.java
3905         (JRootPane.RootLayout): Reimplemented to 
3906         set bounds of contentPane and menuBar.
3907         (setJMenuBar): Add menu bar to the layered pane.
3908         (createLayeredPane): Set layout of layeredPane
3909         to null.
3910         * javax/swing/JLayeredPane.java:
3911         (addImpl): Calculate index of the component in the
3912         layeredPane according to the specified position within 
3913         the layer.      
3914
3915 2004-05-17  David Jee  <djee@redhat.com>
3916
3917         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3918         (setPixels): Change color model to the default model after
3919         converting pixels.
3920         * java/awt/image/MemoryImageSource.java
3921         (newPixels): Set only the specified rectangle of pixels.
3922
3923 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
3924
3925         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
3926         -l-java-beans -l-javax-accessibility -l-javax-swing.
3927
3928         * java/awt/AWTEvent.java (toString): Print source's name rather
3929         than the source itself.
3930
3931 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
3932
3933         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
3934         native.
3935         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3936         (gdk_color_to_java_color): New function.
3937         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
3938
3939 2004-05-12  David Jee  <djee@redhat.com>
3940
3941         * java/awt/image/RGBImageFilter.java:
3942         Initialize origmodel as null.
3943         (makeColor): Fix pixel component order.
3944         (filterRGBPixels): Fix pixel iteration.
3945         (setPixels): Add extra checks for index color model. Convert pixels
3946         to default color model if necessary.
3947         (convertColorModelToDefault): New override method for byte pixels.
3948         (convertColorModelToDefault): For int pixels, fix pixel iteration.
3949         (makeColorbyDefaultCM): New override method for byte pixels.
3950         (makeColorbyDefaultCM): For int pixel, add color model as argument.
3951         (makeColor): Fix pixel component order.
3952
3953 2004-05-11  Kim Ho  <kho@redhat.com>
3954
3955         * javax/swing/Box.java:
3956         Comment out more parts of Box.Filler.
3957
3958 2004-05-11  Kim Ho  <kho@redhat.com>
3959
3960         * javax/swing/Box.java:
3961         Remove reference to AccessibleAWTComponent so
3962         it compiles again.
3963
3964 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
3965
3966         * gnu/java/awt/peer/gtk/GtkListPeer.java,
3967         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
3968         implementation of list peer to use GtkTreeView instead of
3969         deprecated GtkCList.
3970
3971 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
3972
3973         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3974         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
3975         (handleEvent): Remove keyChar argument to
3976         gtkWidgetDispatchKeyEvent calls.
3977         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
3978         compiler warnings.
3979         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
3980         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
3981         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
3982         Likewise.
3983
3984 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
3985
3986         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3987         (gtkWidgetRequestFocus): Mark protected.
3988         (GtkComponentPeer): Only set the peer's bounds if its component
3989         is valid.
3990         * java/awt/Component.java (static): Set the default keyboard
3991         focus manager.
3992         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
3993         requestFocusInWindow(temporary)): Don't request focus if the
3994         component is not showing.  Get tree lock before traversing
3995         component hierarchy.
3996         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3997         Only set the global focus owner if it is not a Window.
3998         (processKeyEvent): Consume keystrokes associated with the focus
3999         traversal keystroke.
4000         (focusPreviousComponent, focusNextComponent, upFocusCycle,
4001         downFocusCycle): Call requestFocusInWindow instead of
4002         requestFocus.
4003         * java/awt/EventDispatchThread.java (run): Move setting of
4004         default keyboard focus manager to Component.java.
4005         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4006         (awt_keycode_to_keysym): New function.
4007         (gtkWidgetDispatchKeyEvent): Finish implementation.
4008         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4009         (pre_event_handler): Add FIXME comment.
4010
4011         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4012         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4013         (gtkWidgetRequestFocus): New method.
4014         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
4015         disable Tab and Shift-Tab keystrokes.
4016         (addNotify, appendText, insertText, replaceText): Simplify peer
4017         retrieval code.
4018         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4019         (connectSignals): Remove connections to "commit" signals.
4020         Remove C++-style comments.
4021
4022         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4023         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
4024         (handleEvent): Activate GTK button when the space bar key is
4025         pressed.
4026         (gtkActivate): New method.
4027
4028 2004-05-06  David Jee  <djee@redhat.com>
4029
4030         * java/awt/image/CropImageFilter.java
4031         (setPixels): Implement for byte array pixels.
4032         * java/awt/image/ReplicateScaleFilter.java
4033         (setPixels): Implement for byte array pixels.
4034         (replicatePixels): Overload for byte array pixels.
4035
4036 2004-05-06  Kim Ho  <kho@redhat.com>
4037
4038         * javax/swing/Box.java:
4039         (getAccessibleContext): Return an instance of the 
4040         correct class.
4041
4042 2004-05-05  David Jee  <djee@redhat.com>
4043
4044         * gnu/java/awt/peer/gtk/GdkGraphics.java
4045         (drawImage): When component is null, use SystemColor.window as
4046         the default bgcolor.
4047         * gnu/java/awt/peer/gtk/GtkImage.java
4048         (setPixels): We can avoid iterating through the pixel rows only
4049         when height is 1.
4050         * java/awt/Image.java
4051         (getScaledInstance): Partially implement.
4052         * java/awt/image/CropImageFilter.java
4053         (setProperties): Fix "filter" property.
4054         (setPixels): Implement.
4055         * java/awt/image/ReplicateScaleFilter.java
4056         (setDimensions): Use scaled dimensions.
4057         (setPixels): Implement.
4058         (replicatePixels): New method.
4059
4060 2004-05-05  David Jee  <djee@redhat.com>
4061
4062         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4063         (convertPixels): If either pixels or model is null, return null.
4064         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
4065         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
4066         is null, do nothing and return.
4067
4068 2004-05-03  Kim Ho  <kho@redhat.com>
4069
4070         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
4071         (getGraphics): Like GtkFramePeer, the Graphics
4072         object needs to be translate to account for
4073         window decorations.
4074         (postMouseEvent): New method. Account for
4075         translation.
4076         (postExposeEvent): ditto.
4077         * javax/swing/Box.java: Stubbed.
4078         * javax/swing/JDialog.java: Ran through jalopy
4079         to fix indentation.
4080         (JDialog): Call SwingUtilities' getOwnerFrame
4081         for null owners.
4082         (setLayout): Check isRootPaneCheckingEnabled
4083         * javax/swing/JOptionPane.java: Re-implemented.
4084         * javax/swing/SwingUtilities.java:
4085         (getOwnerFrame): Static method to grab a default
4086         owner frame for Dialogs that don't specify owners.
4087         * javax/swing/event/SwingPropertyChangeSupport.java:
4088         (firePropertyChange): Fix early exit condition.
4089         * javax/swing/plaf/basic/BasicLabelUI.java:
4090         (paint): Avoid painting text if it is null 
4091         or empty.
4092         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
4093         Implement.
4094
4095 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
4096
4097         * Makefile.am: Added new file.
4098         * Makefile.in: Regenerate.
4099         * javax/swing/JPopupMenu.java:
4100         Started implementation.
4101         * javax/swing/JWindow.java
4102         (JWindow): call super() if parent for window
4103         is not specified.
4104         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4105         New File. UI Delegate for JPopupMenu.
4106
4107 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
4108
4109         * javax/swing/JApplet.java: Indicated that JApplet
4110         implements RootPaneContainer and made method of this
4111         interface public. 
4112         * javax/swing/JFrame.java: Ditto.
4113         * javax/swing/JWindow.java: Ditto.
4114         
4115 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
4116
4117         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4118         (nativeSetBounds): Call gdk_window_move in addition to
4119         gtk_window_move.
4120
4121         * java/applet/Applet.java (preferredSize): Call parent's
4122         preferredSize if the applet stub is null.
4123         (minimumSize): Likewise for parent's minimumSize.
4124
4125 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
4126
4127         * javax/swing/JMenuItem.java
4128         (createActionPropertyChangeListener): Implemented.
4129         (processMouseEvent): Ditto.
4130         (fireMenuDragMouseEntered): Ditto.
4131         (fireMenuDragMouseExited): Ditto.
4132         (fireMenuDragMouseDragged): Ditto.
4133         (fireMenuDragMouseReleased): Ditto.
4134         (menuSelectionChanged): Ditto.
4135         (getSubElements): Ditto.
4136         (getComponent): Ditto.
4137         (addMenuDragMouseListener): Ditto.
4138         (removeMenuDragMouseListener):Ditto.
4139         (addMenuKeyListener): Ditto.
4140         (removeMenuKeyListener): Ditto.
4141         * javax/swing/plaf/basic/BasicMenuItemUI.java
4142         (doClick): Imlemented.
4143         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
4144         Don't handle mouse events here. Pass them to 
4145         MenuSelectionManager.
4146         
4147 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
4148         Used correct version of jalopy configuration
4149         file to fix style in the files below.
4150
4151 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
4152
4153         * javax/swing/JCheckBoxMenuItem.java: 
4154         Fixed style and removed unnecessary comments.
4155         * javax/swing/JMenuItem.java: Ditto.
4156         * javax/swing/JRadioButtonMenuItem.java: Ditto.
4157         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
4158         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
4159         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
4160
4161 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
4162
4163         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
4164         C-style.
4165
4166         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
4167
4168         * java/awt/ContainerOrderFocusTraversalPolicy.java
4169         (getComponentAfter): Start from current component and work up
4170         the component hierarchy until an acceptable component is found.
4171         Synchronize on tree lock.
4172         (getComponentBefore): Likewise.
4173
4174 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4175
4176         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
4177         focus-related debugging messages.
4178         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
4179         * java/awt/EventDispatchThread.java: Likewise.
4180         * java/awt/KeyboardFocusManager.java: Likewise.
4181         * java/awt/Window.java: Likewise.
4182         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
4183         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
4184
4185         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
4186         new C++-style comments to C-style comments.
4187         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
4188
4189         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4190         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4191         (handleEvent): Dispatch key press and key release events to
4192         backing widget.
4193         (requestFocus): Post a FOCUS_GAINED event to the event queue.
4194         (gtkWidgetRequestFocus): New method.
4195         (gtkWidgetDispatchKeyEvent): Likewise.
4196         * java/awt/Component.java (requestFocus, requestFocus(boolean),
4197         requestFocusInWindow, requestFocusInWindow(boolean),
4198         getFocusCycleRootAncestor, nextFocus, transferFocus,
4199         transferFocusBackward, transferFocusUpCycle, hasFocus,
4200         isFocusOwner): Implement and document focus-handling methods.
4201         (setFocusTraversalKeys): Inherit focus traversal keys when
4202         keystrokes argument is null.  Fix focus-handling documentation
4203         throughout class.
4204         * java/awt/Container.java (setFocusTraversalKeys,
4205         getFocusTraversalKeys, areFocusTraversalKeysSet,
4206         isFocusCycleRoot, setFocusTraversalPolicy,
4207         getFocusTraversalPolicy, isFocusTraversalPolicySet,
4208         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
4209         Implement and document focus-handling methods.
4210         (transferFocusBackward): Remove method.
4211         (readObject, writeObject): Implement and document serialization
4212         methods.
4213         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
4214         and document.
4215         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
4216         document.
4217         * java/awt/DefaultKeyboardFocusManager.java: Implement and
4218         partially document.
4219         * java/awt/EventDispatchThread.java (run): Set default keyboard
4220         focus manager.  Attempt to dispatch each event to the keyboard
4221         focus manager before normal dispatch.
4222         * java/awt/KeyboardFocusManager.java: Implement and partially
4223         document.
4224         * java/awt/Window.java (Window): Set focusCycleRoot to true.
4225         (show): Focus initial component when window is shown for the
4226         first time.
4227         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4228         (pre_event_handler): Replace complex key press and key release
4229         logic with simple callbacks into GtkComponentPeer.
4230         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
4231
4232 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
4233
4234         * javax/swing/MenuSelectionManager.java
4235         (componentForPoint): Added new method. 
4236         (defaultManager): New Method. Implemented.
4237         (getSelectedPath): Ditto.
4238         (isComponentPartOfCurrentMenu): Ditto.
4239         (processKeyEvent): Added new method.
4240         (processMouseEvent): New Method. Implemented.
4241         (setSelectedPath): Ditto.
4242         (getPath): Ditto.
4243
4244 2004-04-19  Kim Ho  <kho@redhat.com>
4245
4246         * java/awt/Container.java: 
4247         (remove): Set the component's parent to null.
4248         (getComponentAt): Implement.
4249         * javax/swing/JComponent.java:
4250         (JComponent): Initialize defaultLocale
4251         (getDefaultLocale): Implement.
4252         (setDefaultLocale): ditto.
4253         * javax/swing/JSlider.java:
4254         (JSlider): Fix calculation of value.
4255         * javax/swing/JSplitPane.java: Implement.
4256         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4257         Change SplitPane's default divider size.
4258         * javax/swing/plaf/basic/BasicScrollBarUI.java:
4259         (paint): Remove unused code.
4260         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
4261         Added comments and ran through jalopy.
4262         (setBasicSplitPaneUI): Get reference to hidden divider
4263         and set up one touch buttons if necessary.
4264         (setBorder): Fire propertyChangeEvent only if 
4265         borders are different.
4266         (getPreferredSize): Defer to layout manager.
4267         (propertyChange): Implement.
4268         (oneTouchExpandableChanged): ditto.
4269         (createLeftOneTouchButton): Use BasicArrowButton.
4270         (createRightOneTouchButton): ditto.
4271         (moveDividerTo): New method. Moves the divider
4272         to a set location based on the last divider location.
4273         (BasicSplitPaneDivider::MouseHandler): Implement.
4274         (BasicSplitPaneDivider::OneTouchButton): Removed.
4275         (BasicSplitPaneDivider::DragController): Implement.
4276         (BasicSplitPaneDivider::VerticalDragController):
4277         ditto.
4278         (BasicSplitPaneDivider::DividerLayout): ditto.
4279         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
4280         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
4281         (calculateLayoutInfo): Don't show component if it's
4282         null.
4283         (paintTab): Fix title paint logic.
4284
4285 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
4286
4287         PR libgcj/8321
4288         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
4289         (setStartRule,setEndRule): Don't take abs of day number.
4290         (getOffset): Clarify docs.  Add argument checks.
4291         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
4292         (equals,hasSameRules,toString,readObject): Use startTimeMode and
4293         endTimeMode.
4294         * testsuite/libjava.mauve/xfails
4295         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
4296
4297 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
4298
4299         Layout interfaces during preparation, not initialization. 
4300         * java/lang/natClass.cc (initializeClass): Move 
4301         _Jv_LayoutInterfaceMethods call...
4302         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
4303
4304 2004-05-19  Anthony Green  <green@localhost.localdomain>
4305
4306         * Makefile.am (awt_java_source_files): Remove javax.rmi and
4307         gnu.javax.rmi code.
4308         * Makefile.in: Rebuilt.
4309         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
4310         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
4311         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
4312         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
4313         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
4314         gnu/javax/rmi/CORBA/DelegateFactory.java,
4315         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
4316         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
4317         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
4318         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
4319         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
4320         gnu/javax/rmi/PortableServer.java: Remove files.
4321
4322 2004-05-19  Anthony Green  <green@redhat.com>
4323
4324         * Makefile.am: Define JAVA_EXT_DIRS.
4325         * Makefile.in: Rebuilt.
4326         * java/lang/natRuntime.cc (insertSystemProperties): Set
4327         java.ext.dirs property.
4328
4329 2004-05-16  Mark Wielaard  <mark@klomp.org>
4330
4331         * java/io/Writer.java (Writer(Object)): Check for null lock object.
4332
4333 2004-05-15  Mark Wielaard  <mark@klomp.org>
4334
4335         * doc/cni.sgml: Removed, merged into gcj.texi.
4336
4337 2004-05-15  Mark Wielaard  <mark@klomp.org>
4338
4339         * Makefile.am (ordinary_java_source_files): Add new javax.print
4340         classes.
4341         * Makefile.in: Regenerated.
4342
4343 2004-05-15  Michael Koch  <konqueror@gmx.de>
4344
4345         * javax/print/attribute/standard/DateTimeAtCompleted.java,
4346         javax/print/attribute/standard/DateTimeAtCreation.java,
4347         javax/print/attribute/standard/DateTimeAtProcessing.java,
4348         javax/print/attribute/standard/DocumentName.java,
4349         javax/print/attribute/standard/JobHoldUntil.java,
4350         javax/print/attribute/standard/JobImpressionsCompleted.java,
4351         javax/print/attribute/standard/JobMessageFromOperator.java,
4352         javax/print/attribute/standard/JobName.java,
4353         javax/print/attribute/standard/JobOriginatingUserName.java,
4354         javax/print/attribute/standard/JobPriority.java,
4355         javax/print/attribute/standard/JobPrioritySupported.java,
4356         javax/print/attribute/standard/NumberOfInterveningJobs.java,
4357         javax/print/attribute/standard/OutputDeviceAssigned.java,
4358         javax/print/attribute/standard/PrinterInfo.java,
4359         javax/print/attribute/standard/PrinterLocation.java,
4360         javax/print/attribute/standard/PrinterMakeAndModel.java,
4361         javax/print/attribute/standard/PrinterMessageFromOperator.java,
4362         javax/print/attribute/standard/PrinterName.java,
4363         javax/print/attribute/standard/QueuedJobCount.java,
4364         javax/print/attribute/standard/RequestingUserName.java:
4365         Fixed javadocs all over.
4366
4367 2004-05-15  Michael Koch  <konqueror@gmx.de>
4368
4369         * javax/print/DocFlavor.java,
4370         javax/print/attribute/standard/ColorSupported.java,
4371         javax/print/attribute/standard/Compression.java,
4372         javax/print/attribute/standard/CopiesSupported.java,
4373         javax/print/attribute/standard/Fidelity.java,
4374         javax/print/attribute/standard/Finishings.java,
4375         javax/print/attribute/standard/JobImpressionsSupported.java,
4376         javax/print/attribute/standard/JobKOctetsSupported.java,
4377         javax/print/attribute/standard/JobMediaSheetsSupported.java,
4378         javax/print/attribute/standard/JobSheets.java,
4379         javax/print/attribute/standard/JobState.java,
4380         javax/print/attribute/standard/JobStateReason.java,
4381         javax/print/attribute/standard/JobStateReasons.java,
4382         javax/print/attribute/standard/Media.java,
4383         javax/print/attribute/standard/MediaSizeName.java,
4384         javax/print/attribute/standard/MultipleDocumentHandling.java,
4385         javax/print/attribute/standard/NumberUpSupported.java,
4386         javax/print/attribute/standard/OrientationRequested.java,
4387         javax/print/attribute/standard/PDLOverrideSupported.java,
4388         javax/print/attribute/standard/PageRanges.java,
4389         javax/print/attribute/standard/PresentationDirection.java,
4390         javax/print/attribute/standard/PrintQuality.java,
4391         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
4392         javax/print/attribute/standard/PrinterMoreInfo.java,
4393         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
4394         javax/print/attribute/standard/PrinterResolution.java,
4395         javax/print/attribute/standard/PrinterState.java,
4396         javax/print/attribute/standard/PrinterStateReason.java,
4397         javax/print/attribute/standard/PrinterStateReasons.java,
4398         javax/print/attribute/standard/PrinterURI.java,
4399         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
4400         javax/print/attribute/standard/Severity.java,
4401         javax/print/attribute/standard/SheetCollate.java,
4402         javax/print/attribute/standard/Sides.java:
4403         Added serialVersionUID and removed final keyword where it doenst
4404         belong.
4405
4406 2004-05-15  Michael Koch  <konqueror@gmx.de>
4407
4408         * javax/print/PrintServiceLookup.java: New file.
4409
4410 2004-05-15  Michael Koch  <konqueror@gmx.de>
4411
4412         * javax/print/DocFlavor.java:
4413         Implemented all flavor classes.
4414
4415 2004-05-15  Michael Koch  <konqueror@gmx.de>
4416
4417         * javax/print/attribute/standard/ColorSupported.java,
4418         javax/print/attribute/standard/Compression.java,
4419         javax/print/attribute/standard/CopiesSupported.java,
4420         javax/print/attribute/standard/Fidelity.java,
4421         javax/print/attribute/standard/Finishings.java,
4422         javax/print/attribute/standard/JobImpressionsSupported.java,
4423         javax/print/attribute/standard/JobKOctetsSupported.java,
4424         javax/print/attribute/standard/JobMediaSheetsSupported.java,
4425         javax/print/attribute/standard/JobSheets.java,
4426         javax/print/attribute/standard/JobState.java,
4427         javax/print/attribute/standard/JobStateReason.java,
4428         javax/print/attribute/standard/JobStateReasons.java,
4429         javax/print/attribute/standard/Media.java,
4430         javax/print/attribute/standard/MediaSizeName.java,
4431         javax/print/attribute/standard/MultipleDocumentHandling.java,
4432         javax/print/attribute/standard/NumberUpSupported.java,
4433         javax/print/attribute/standard/OrientationRequested.java,
4434         javax/print/attribute/standard/PDLOverrideSupported.java,
4435         javax/print/attribute/standard/PageRanges.java,
4436         javax/print/attribute/standard/PresentationDirection.java,
4437         javax/print/attribute/standard/PrintQuality.java,
4438         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
4439         javax/print/attribute/standard/PrinterMoreInfo.java,
4440         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
4441         javax/print/attribute/standard/PrinterResolution.java,
4442         javax/print/attribute/standard/PrinterState.java,
4443         javax/print/attribute/standard/PrinterStateReason.java,
4444         javax/print/attribute/standard/PrinterStateReasons.java,
4445         javax/print/attribute/standard/PrinterURI.java,
4446         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
4447         javax/print/attribute/standard/Severity.java,
4448         javax/print/attribute/standard/SheetCollate.java,
4449         javax/print/attribute/standard/Sides.java: New files.
4450
4451 2004-05-15  Michael Koch  <konqueror@gmx.de>
4452
4453         * javax/print/Doc.java
4454         (getPrintData): Throws IOException.
4455         (getReaderForText): Likewise.
4456         (getStreamForBytes): Likewise.
4457         * javax/print/DocFlavor.java:
4458         Fixed filename in copyright.
4459         (serialVersionUID): New field.
4460         * javax/print/ServiceUIFactory.java:
4461         Made all constants final.
4462         * javax/print/AttributeException.java
4463         javax/print/MultiDoc.java
4464         javax/print/MultiDocPrintJob.java
4465         javax/print/MultiDocPrintService.java
4466         javax/print/StreamPrintService.java
4467         javax/print/URIException.java: New files.
4468         * javax/print/Makefile.am
4469         (EXTRA_DIST): Added all new files.
4470
4471 2004-05-15  Michael Koch  <konqueror@gmx.de>
4472
4473         * javax/print/attribute/standard/Copies.java,
4474         javax/print/attribute/standard/DateTimeAtCompleted.java,
4475         javax/print/attribute/standard/DateTimeAtCreation.java,
4476         javax/print/attribute/standard/DateTimeAtProcessing.java,
4477         javax/print/attribute/standard/DocumentName.java,
4478         javax/print/attribute/standard/JobHoldUntil.java,
4479         javax/print/attribute/standard/JobImpressions.java,
4480         javax/print/attribute/standard/JobImpressionsCompleted.java,
4481         javax/print/attribute/standard/JobKOctets.java,
4482         javax/print/attribute/standard/JobKOctetsProcessed.java,
4483         javax/print/attribute/standard/JobMediaSheets.java,
4484         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
4485         javax/print/attribute/standard/JobMessageFromOperator.java,
4486         javax/print/attribute/standard/JobName.java,
4487         javax/print/attribute/standard/JobOriginatingUserName.java,
4488         javax/print/attribute/standard/JobPriority.java,
4489         javax/print/attribute/standard/JobPrioritySupported.java,
4490         javax/print/attribute/standard/NumberOfDocuments.java,
4491         javax/print/attribute/standard/NumberOfInterveningJobs.java,
4492         javax/print/attribute/standard/NumberUp.java,
4493         javax/print/attribute/standard/OutputDeviceAssigned.java,
4494         javax/print/attribute/standard/PagesPerMinute.java,
4495         javax/print/attribute/standard/PagesPerMinuteColor.java:
4496         Fixed @return tag all over.
4497
4498 2004-05-15  Michael Koch  <konqueror@gmx.de>
4499
4500         * javax/print/attribute/AttributeSetUtilities.java
4501         (verifyCategoryForValue): Fixed typo in javadoc.
4502         * javax/print/attribute/HashAttributeSet.java
4503         (containsKey): Fixed @return tag.
4504         (comtainsValue): Likewise.
4505         (equals): Likewise.
4506         * javax/print/attribute/IntegerSyntax.java
4507         (equals): Likewise.
4508         * javax/print/attribute/ResolutionSyntax.java
4509         (equals): Likewise.
4510         (getCrossFeedResolution): Removed unused code.
4511         (getFeedResolution): Likewise.
4512         * javax/print/attribute/SetOfIntegerSyntax.java
4513         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
4514         (equals): Fixed @return tag.
4515         * javax/print/attribute/TextSyntax.java
4516         (TextSyntax): Take locale into account.
4517         (hashCode): Better implementation.
4518
4519 2004-05-15  Michael Koch  <konqueror@gmx.de>
4520
4521         * javax/print/CancelablePrintJob.java,
4522         javax/print/Doc.java,
4523         javax/print/DocFlavor.java,
4524         javax/print/DocPrintJob.java,
4525         javax/print/FlavorException.java,
4526         javax/print/PrintException.java,
4527         javax/print/PrintService.java,
4528         javax/print/ServiceUIFactory.java: New files.
4529
4530 2004-05-15  Mark Wielaard  <mark@klomp.org>
4531
4532         * gnu/regexp/CharIndexedReader.java: Removed.
4533         * gnu/regexp/REFilterReader.java: Likewise.
4534         * gnu/regexp/RETokenLookAhead.java: Likewise.
4535         * Makefile.am (ordinary_java_source_files): Remove above classes.
4536         * Makefile.in: Regenerated.
4537
4538 2004-05-14  Tom Tromey  <tromey@redhat.com>
4539
4540         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
4541         not `XGraphicsConfiguration.XOffScreenImage'.
4542
4543 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
4544
4545         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
4546
4547 2004-05-14  Steven Augart  <augart@watson.ibm.com>
4548
4549         * include/jni.h (_Jv_func): Removed.
4550         (struct JNINativeInterface): Use `void *' for reserved slots.
4551         (struct JNIInvokeInterface): Likewise.
4552
4553 2004-05-11  Michael Koch  <konqueror@gmx.de>
4554
4555         * gnu/java/net/natPlainSocketImplPosix.cc
4556         (read): Fixed typo in expression.
4557
4558 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
4559
4560         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
4561         ld_library_additions. Adjust all calls to libjava_invoke to match
4562         the new argument.
4563
4564         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
4565         path to cxxflagslist.
4566         Pass path of libstdc++ to libjava_invoke.
4567
4568         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
4569         libjava_invoke arguments.
4570
4571 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
4572
4573         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
4574         reality.
4575
4576 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
4577
4578         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
4579         main binary against the JNI shared library.
4580
4581 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
4582
4583         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
4584         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
4585         (SimpleTimeZone): Tweak docs.  Add new variation.
4586         (setStartRule,setEndRule): Add new variations.  Use
4587         startTimeMode and endTimeMode.
4588
4589 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
4590
4591         * java/util/Calendar.java (getActualMinimum,
4592         getActualMaximum):  Remove abstract.  Implement.
4593
4594 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
4595
4596         Run the jni tests using the interpreter.
4597         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
4598         options_cxx to shared lib compile command.
4599         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
4600         they are used to link the shared lib, not the main binary.
4601         Use libjava_invoke to run gij.
4602
4603 2004-05-06  Michael Koch  <konqueror@gmx.de>
4604
4605         * java/util/logging/Level.java
4606         (parse): Use == instead of String.equals().
4607
4608 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
4609
4610         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
4611         verify_field_signature and verify_method_signature, not 
4612         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
4613         (_Jv_ClassReader::handleField): Likewise.
4614         (_Jv_ClassReader::handleMethod): Likewise.
4615
4616 2004-05-06  Michael Koch  <konqueror@gmx.de>
4617
4618         * javax/swing/table/TableColumn.java:
4619         Reformated.
4620
4621 2004-05-06  Michael Koch  <konqueror@gmx.de>
4622
4623         * javax/imageio/spi/ImageReaderWriterSpi.java
4624         (ImageReaderWriterSpi): Made it public.
4625         * javax/imageio/stream/ImageInputStream.java:
4626         Clean up imports.
4627
4628 2004-05-06  Michael Koch  <konqueror@gmx.de>
4629
4630         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4631         Removed empty line.
4632
4633 2004-05-06  Michael Koch  <konqueror@gmx.de>
4634
4635         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
4636         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
4637         New files.
4638         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
4639         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
4640         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
4641         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
4642         their own source file.
4643         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4644         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
4645         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
4646         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
4647         (create): Define variable on top of function.
4648         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
4649         (menu_pos): Prototyped.
4650         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4651         (setTitle): Removed.
4652         * jni/gtk-peer/gthread-jni.c
4653         (gdk_threads_wake): Removed.
4654         * Makefile.am (gtk_c_source_files): Added new files
4655         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
4656         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
4657         * Makefile.in: Regenerated.
4658
4659 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
4660
4661         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
4662         call.
4663
4664 2004-05-05  Mark Wielaard  <mark@klomp.org>
4665
4666         * javax/swing/AbstractButton.java: Replace special HTML entities with
4667         ASCII equivalent.
4668         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
4669         * javax/swing/DefaultButtonModel.java: Likewise.
4670         * javax/swing/DefaultListModel.java: Likewise.
4671         * javax/swing/JList.java: Likewise.
4672         * javax/swing/JSlider.java: Likewise.
4673         * javax/swing/ListModel.java: Likewise.
4674         * javax/swing/Popup.java: Likewise.
4675         * javax/swing/SwingUtilities.java: Likewise.
4676
4677 2004-05-05  Michael Koch  <konqueror@gmx.de>
4678
4679         * javax/swing/AbstractButton.java,
4680         javax/swing/ActionMap.java,
4681         javax/swing/DefaultButtonModel.java,
4682         javax/swing/DefaultListModel.java,
4683         javax/swing/ImageIcon.java,
4684         javax/swing/JComboBox.java,
4685         javax/swing/JComponent.java,
4686         javax/swing/JFrame.java,
4687         javax/swing/JInternalFrame.java,
4688         javax/swing/JMenuBar.java,
4689         javax/swing/JMenuItem.java,
4690         javax/swing/JOptionPane.java,
4691         javax/swing/JProgressBar.java,
4692         javax/swing/JRootPane.java,
4693         javax/swing/JScrollBar.java,
4694         javax/swing/JScrollPane.java,
4695         javax/swing/JSeparator.java,
4696         javax/swing/JSlider.java,
4697         javax/swing/JTabbedPane.java,
4698         javax/swing/JTable.java,
4699         javax/swing/JTextField.java,
4700         javax/swing/JToolBar.java,
4701         javax/swing/JToolTip.java,
4702         javax/swing/JTree.java,
4703         javax/swing/JViewport.java,
4704         javax/swing/JWindow.java,
4705         javax/swing/KeyStroke.java,
4706         javax/swing/LookAndFeel.java,
4707         javax/swing/SwingUtilities.java,
4708         javax/swing/Timer.java,
4709         javax/swing/ToolTipManager.java,
4710         javax/swing/UIDefaults.java,
4711         javax/swing/border/TitledBorder.java,
4712         javax/swing/filechooser/FileSystemView.java,
4713         javax/swing/plaf/basic/BasicButtonListener.java,
4714         javax/swing/plaf/basic/BasicButtonUI.java,
4715         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4716         javax/swing/plaf/basic/BasicGraphicsUtils.java,
4717         javax/swing/plaf/basic/BasicLabelUI.java,
4718         javax/swing/plaf/basic/BasicMenuItemUI.java,
4719         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4720         javax/swing/plaf/basic/BasicRootPaneUI.java,
4721         javax/swing/plaf/basic/BasicScrollBarUI.java,
4722         javax/swing/plaf/basic/BasicScrollPaneUI.java,
4723         javax/swing/plaf/basic/BasicSliderUI.java,
4724         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4725         javax/swing/plaf/basic/BasicToggleButtonUI.java,
4726         javax/swing/table/JTableHeader.java,
4727         javax/swing/text/AbstractDocument.java,
4728         javax/swing/text/DefaultCaret.java,
4729         javax/swing/text/StyledEditorKit.java,
4730         javax/swing/tree/DefaultTreeCellEditor.java:
4731         Cleaned up imports.
4732
4733 2004-05-05  Michael Koch  <konqueror@gmx.de>
4734
4735         * java/util/prefs/AbstractPreferences.java
4736         (AbstractPreferences): Added parenthesis for clarity.
4737         Closes classpath bug #7940.
4738
4739 2004-05-05  Tom Tromey  <tromey@redhat.com>
4740
4741         * javax/naming/CompoundName.java (endsWith): Look at correct
4742         element of source name.
4743
4744 2004-05-05  Mark Wielaard  <mark@klomp.org>
4745
4746         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
4747         * java/util/HashMap.java (rehash): Add entry at start of bucket.
4748
4749 2004-05-05  Tom Tromey  <tromey@redhat.com>
4750
4751         * java/io/BufferedReader.java (skip): Removed unused
4752         variable.
4753
4754 2004-05-05  Michael Koch  <konqueror@gmx.de>
4755
4756         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
4757
4758 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
4759
4760         * java/text/AttributedString.java,
4761         java/text/AttributedStringIterator.java,
4762         java/text/Collator.java,
4763         java/text/DecimalFormatSymbols.java,
4764         java/text/NumberFormat.java,
4765         java/text/RuleBasedCollator.java:
4766         Cleaned up imports.
4767
4768 2004-05-05  Tom Tromey  <tromey@redhat.com>
4769
4770         * java/text/Format.java: Cleaned up imports.
4771         * java/text/DecimalFormat.java: Cleaned up imports.
4772         * java/security/SecureRandom.java: Cleaned up imports.
4773         (SecureRandom): Removed unused variable.
4774         * java/security/UnresolvedPermission.java: Cleaned up imports.
4775         * java/util/Date.java (parse): Removed unused variable.
4776         * java/util/ResourceBundle.java: Cleaned up imports.
4777         (getBundle): Removed unused variable.
4778         (tryBundle): Likewise.
4779         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
4780
4781 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
4782
4783         * java/text/SimpleDateFormat.java:
4784         (formatWithAttribute): New method. It implements
4785         the formatting process with attributes.
4786         (format): Use formatWithAttribute.
4787         (formatToCharacterIterator): New method. Use
4788         formatWithAttribute.
4789
4790 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
4791
4792         * java/text/MessageFormat.java:
4793         (class Field): New class.
4794         (formatToCharacterIterator): New method.
4795         (format): Use formatInternal now.
4796         (formatInternal): New method. String formatter should
4797         be done here (with attributes). Attributes merging supported.
4798         (parse): More documentation.
4799         (getFormatsByArgumentIndex): New method.
4800         (setFormatByArgumentIndex): New method.
4801         (setFormatsByArgumentIndex): New method.
4802
4803 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
4804
4805         * java/text/DecimalFormat.java
4806         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
4807         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
4808         (parse): Fixed handling of exponentiation notation and grouping.
4809
4810 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
4811
4812         * java/text/DecimalFormat.java
4813         (scanFix): Build attribute array. Fixed error reporting.
4814         (applyPatternWithSymbols): Store attributes for the prefix and
4815         suffix.
4816         (formatInternal): New method. Changed the way the string is
4817         computed. Implemented attributes. Cleant up rounding in
4818         exponential notation.
4819         (format): Use formatInternal.
4820         (formatToCharacterIterator): New method.
4821         (exponentRound, negativePrefixRanges, positivePrefixRanges,
4822         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
4823         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
4824         New fields.
4825
4826 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
4827
4828         * java/security/interfaces/DSAKeyPairGenerator.java,
4829         java/security/interfaces/DSAPrivateKey.java,
4830         java/security/interfaces/DSAPublicKey.java,
4831         java/security/interfaces/RSAPrivateKey.java,
4832         java/security/interfaces/RSAPublicKey.java:
4833         Cleaned up imports.
4834
4835 2004-05-04  Michael Koch  <konqueror@gmx.de>
4836
4837         * java/nio/ByteBuffer.java,
4838         java/nio/CharBuffer.java,
4839         java/nio/DoubleBuffer.java,
4840         java/nio/FloatBuffer.java,
4841         java/nio/IntBuffer.java,
4842         java/nio/LongBuffer.java,
4843         java/nio/ShortBuffer.java:
4844         (compareTo): Fixed bogus implementation in all buffer classes.
4845
4846 2004-05-04  Ingo Proetel  <proetel@aicas.com>
4847
4848         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
4849         32 bit pixels not 8 bit pixels.
4850         (isCompatibleRaster): Added javadoc comment.
4851
4852 2004-05-04  Ingo Proetel  <proetel@aicas.com>
4853
4854         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
4855         scanline stride.
4856
4857 2004-05-04  Ingo Proetel  <proetel@aicas.com>
4858
4859         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
4860         (getColorModel): Return the actual color model.
4861         (getRaster): Implemented.
4862         (ColorRaster): New inner class.
4863         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
4864         a PaintContext.
4865         * java/awt/Color.java (<init>): Make exception more verbose.
4866         (createContext): Use ColorModel when creating a PaintContext.
4867
4868 2004-05-04  Michael Koch  <konqueror@gmx.de>
4869
4870         * gnu/java/text/CharacterBreakIterator.java
4871         (previous): Removed unused variable.
4872
4873 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
4874
4875         * gnu/java/text/FormatBuffer.java,
4876         gnu/java/text/AttributedFormatBuffer.java,
4877         gnu/java/text/StringFormatBuffer.java: New classes to implement
4878         attributed iterators in java.text.
4879         * gnu/java/text/FormatCharacterIterator.java: Moved 
4880         from java/text as it is an internal class.
4881         * java/text/FormatCharacterIterator.java: Removed.
4882         * java/text/Format.java:
4883         Import gnu.java.text.FormatCharacterIterator.
4884         * Makefile.am (java_source_files): Added new files.
4885         * Makefile.in: Regenerated.
4886         
4887
4888 2004-05-04  Mark Wielaard  <mark@klomp.org>
4889
4890         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
4891
4892 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
4893
4894         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
4895         * Makefile.in: Rebuilt.
4896
4897 2004-05-03  Mark Wielaard  <mark@klomp.org>
4898
4899         * gnu/java/security/der/DERReader.java: Call static methods staticly.
4900         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
4901         * java/net/URL.java
4902         (set(String, String, int, String, String, String, String, String)):
4903         Assign this.file to path or path + "?" + query.
4904         * java/util/Arrays.java: Call static methods staticly.
4905         * java/util/zip/ZipEntry.java: Likewise.
4906         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
4907         dir to this.direction.
4908         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
4909         Assign static field only once.
4910         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
4911
4912 2004-05-03  Mark Wielaard  <mark@klomp.org>
4913
4914         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
4915         unused variables hScrollbarHeight and vScrollbarWidth.
4916         (preferredSize): Likewise.
4917         * gnu/java/security/provider/DSAParameters.java (engineToString):
4918         Removed unused call to System.getProperty("line.seperator");
4919         * java/security/Security.java (loadProviders): Return result.
4920
4921 2004-05-03  Tom Tromey  <tromey@redhat.com>
4922
4923         * java/net/URLStreamHandler.java (toExternalForm): Removed
4924         unused variables.
4925         unused constructor.
4926         * java/math/BigDecimal.java (divide): Removed unused variable.
4927         * java/lang/Throwable.java: Cleaned up imports.
4928         * java/lang/ClassLoader.java: Cleaned up imports.
4929         * java/io/FilePermission.java (implies): Removed unused
4930         variable.
4931         * java/awt/TextComponent.java: Removed unused import.
4932         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
4933         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
4934         * gnu/java/text/WordBreakIterator.java: Removed unused import.
4935         * gnu/java/text/SentenceBreakIterator.java: Removed unused
4936         import.
4937         * gnu/java/text/LineBreakIterator.java: Removed unused import.
4938         * gnu/java/text/CharacterBreakIterator.java: Removed
4939         unused import.
4940         * gnu/java/security/provider/DSAKeyPairGenerator.java:
4941         Cleaned up imports.
4942         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
4943         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
4944         unused method.
4945         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
4946         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
4947         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
4948         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
4949         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
4950         (lookupProviders): Removed unused variable.
4951         (loadNextServiceProvider): Likewise.
4952         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
4953
4954 2004-05-03  Michael Koch  <konqueror@gmx.de>
4955
4956         Fixes PR libgcj/14695:
4957         * java/net/NetworkInterface.java
4958         (getByName): Return null when no interface was found.
4959
4960 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
4961             Tom Tromey  <tromey@redhat.com>
4962
4963         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
4964         additional option "-Wmissing-prototypes" for compiling C sources.
4965         Print actual filename for pass/fail rather than $name.c.
4966         * testsuite/libjava.jni/PR15133.java: New testcase file.
4967         * testsuite/libjava.jni/PR15133.c: Likewise.
4968         * testsuite/libjava.jni/PR15133.out: Likewise.
4969
4970 2004-04-30  Roger Sayle  <roger@eyesopen.com>
4971
4972         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
4973         ceil and floor.
4974
4975 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
4976         
4977         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
4978         limit the maximum heap size to avoid unnecessary thrashing.
4979
4980 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
4981
4982         * java/text/CollationElementIterator.java (reset): Reset
4983         lookahead variables.
4984
4985 2004-04-23  Mark Wielaard  <mark@klomp.org>
4986
4987         * jni/classpath/jcl.c: Changed C++ comments into C comments.
4988
4989 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4990
4991         * java/sql/DriverManager.java:
4992         Cleaned up imports.
4993
4994 2004-04-23  Michael Koch  <konqueror@gmx.de>
4995
4996         * java/net/URL.java
4997         (hashcode): Don't initialize with default value explicitely.
4998         (getContent): Removed redundant "final" keyword.
4999         (openStream): Likewise.
5000         (getURLStreamHandler): Fixed coding style.
5001         * java/net/URLConnection.java
5002         (defaultAllowUserInteraction): Don't initialize with default value
5003         explicitely.
5004         (connected): Likewise.
5005         (doOutput): Likewise.
5006         (ifModifiedSince): Likewise.
5007         (dateformats_initialized): Likewise.
5008         (setURLStreamHander): Use StreamTokenizer where it belongs to.
5009
5010 2004-04-23  Michael Koch  <konqueror@gmx.de>
5011
5012         * gnu/java/nio/channels/FileChannelImpl.java
5013         (SET, CUR): Unused, removed.
5014         (read): Implement here directly.
5015         (implRead): Removed.
5016         (write): Implement here directly.
5017         (implWrite): Removed.
5018
5019 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
5020
5021         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
5022         javax/rmi/CORBA/Stub.java,
5023         javax/rmi/CORBA/Util.java,
5024         javax/rmi/CORBA/ValueHandler.java,
5025         javax/rmi/CORBA/ValueHandler.java,
5026         javax/rmi/PortableRemoteObject.java:
5027         Cleaned up imports.
5028
5029 2004-04-23 Dalibor Topic <robilad@kaffe.org>
5030
5031         * java/util/jar/JarFile.java,
5032         java/util/jar/JarInputStream.java,
5033         java/util/jar/JarOutputStream.java,
5034         java/util/jar/Manifest.java:
5035         Cleaned up imports.
5036
5037 2004-04-23 Dalibor Topic <robilad@kaffe.org>
5038
5039         * java/util/ArrayList.java,
5040         java/util/Calendar.java,
5041         java/util/Currency.java,
5042         java/util/HashMap.java,
5043         java/util/HashSet.java,
5044         java/util/Hashtable.java,
5045         java/util/LinkedList.java,
5046         java/util/Properties.java,
5047         java/util/PropertyPermission.java,
5048         java/util/TimeZone.java,
5049         java/util/TreeMap.java,
5050         java/util/TreeSet.java,
5051         java/util/Vector.java,
5052         java/util/WeakHashMap.java:
5053         Cleaned up imports.
5054
5055 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
5056
5057         * java/util/logging/FileHandler.java,
5058         java/util/logging/Formatter.java,
5059         java/util/logging/Handler.java,
5060         java/util/logging/Logger.java,
5061         java/util/logging/SimpleFormatter.java,
5062         java/util/logging/XMLFormatter.java:
5063         Cleaned up imports.
5064
5065 2004-04-22  Mark Wielaard  <mark@klomp.org>
5066
5067         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
5068         -Wno-long-long flags variable.
5069         (gtk_c_files): Use PEDANTIC_CFLAGS.
5070         * Makefile.in: Regenerated.
5071
5072 2004-04-22  Mark Wielaard  <mark@klomp.org>
5073
5074         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5075         Changed C++ comments into C comments.
5076         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
5077         Likewise.
5078
5079 2004-04-22  Michael Koch  <konqueror@gmx.de>
5080
5081         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
5082         Merged copyright year with GNU classpath.
5083
5084 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
5085
5086         * javax/security/auth/x500/X500Principal.java:
5087         Cleaned up imports.
5088
5089 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
5090
5091         * javax/swing/JSlider.java:
5092         Fixed HTML tags in comments.
5093
5094 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
5095
5096         * javax/accessibility/AccessibleText.java:
5097         Cleaned up imports.
5098
5099 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
5100
5101         * java/net/URLStreamHandler.java
5102         (parseURL): Convert the file path to using '/' instead of native
5103         file separator.
5104
5105 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
5106
5107         * java/net/URL.java
5108         (userInfo): New field.
5109         (URL): Set authority to the right value.
5110         (setURL): Fixed authority and file initialization.
5111         * java/net/URLStreamHandler.java
5112         (parseURL): Take care of the query tag. Build authority.
5113         (toExternalForm): Fixed URL building using authority.
5114
5115 2004-04-22  Michael Koch  <konqueror@gmx.de>
5116
5117         * java/net/Socket.java
5118         (impl): Made package-private.
5119         * java/net/ServerSocket.java
5120         (implAccept): Access Socket.impl field directly.
5121
5122 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
5123
5124         * java/util/prefs/Preferences.java,
5125         java/util/prefs/InvalidPreferencesFormatException.java,
5126         java/util/prefs/BackingStoreException.java,
5127         java/util/prefs/AbstractPreferences.java:
5128         Cleaned up imports.
5129
5130 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
5131
5132         * java/util/regex/Matcher.java,
5133         java/util/regex/Pattern.java:
5134         Cleaned up imports.
5135
5136 2004-04-22  Michael Koch  <konqueror@gmx.de>
5137
5138         * java/nio/charset/IllegalCharsetNameException.java
5139         (charsetName): Made private.
5140         (IllegalCharsetNameException): Added @param tag to javadoc.
5141         (getCharsetName): Added @return tag to javadoc.
5142         * java/nio/charset/MalformedInputException.java
5143         (MalformedInputException): Added @param tag to javadoc.
5144         (getInputLength): Revised method description, added @return tag.
5145         (getMessage): Added @return tag.
5146
5147 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
5148
5149         * java/awt/Font.java (deriveFont): Implement missing variants.
5150         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
5151         missing variants.
5152
5153 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
5154
5155         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
5156         Set method->index values for interface methods to their itable index.
5157         (initializeClass): Call _Jv_LayoutInterfaceMethods.
5158
5159 2004-04-21  Michael Koch  <konqueror@gmx.de>
5160
5161         * java/nio/DirectByteBufferImpl.java
5162         (shiftDown): Made static, give address as argument and
5163         provide a convenience method that overwrites shiftDown in
5164         ByteBufferImpl and calls the native shiftDown.
5165         * java/nio/MappedByteBufferImpl.java
5166         (): Use optimized method in DirectByteBufferImpl.
5167         * java/nio/natDirectByteBufferImpl.cc
5168         (shiftDown): Changed method signature. Removed usage of array_offset.
5169
5170 2004-04-21  Michael Koch  <konqueror@gmx.de>
5171
5172         * gnu/java/net/natPlainSocketImplPosix.cc
5173         (SocketInputStream::read): Make sure returned data is a byte value.
5174
5175 2004-04-21  Michael Koch  <konqueror@gmx.de>
5176
5177         * gnu/classpath/ServiceFactory.java,
5178         gnu/classpath/ServiceProviderLoadingAction.java,
5179         javax/imageio/ImageReader.java,
5180         javax/imageio/ImageTranscoder.java,
5181         javax/imageio/ImageWriter.java,
5182         javax/imageio/package.html,
5183         javax/imageio/spi/IIOServiceProvider.java,
5184         javax/imageio/spi/ImageInputStreamSpi.java,
5185         javax/imageio/spi/ImageOutputStreamSpi.java,
5186         javax/imageio/spi/ImageReaderWriterSpi.java,
5187         javax/imageio/spi/ImageTranscoderSpi.java,
5188         javax/imageio/spi/RegisterableService.java,
5189         javax/imageio/spi/ServiceRegistry.java,
5190         javax/imageio/spi/package.html,
5191         javax/imageio/stream/IIOByteBuffer.java,
5192         javax/imageio/stream/ImageInputStream.java,
5193         javax/imageio/stream/ImageOutputStream.java,
5194         javax/imageio/stream/package.html:
5195         New files.
5196         * Makefile.am
5197         (ordinary_java_source_files): Added
5198         gnu/classpath/ServiceFactory.java and
5199         gnu/classpath/ServiceProviderLoadingAction.java.
5200         (javax_source_files): Added
5201         javax/imageio/ImageReader.java,
5202         javax/imageio/ImageTranscoder.java,
5203         javax/imageio/ImageWriter.java,
5204         javax/imageio/spi/IIOServiceProvider.java,
5205         javax/imageio/spi/ImageInputStreamSpi.java,
5206         javax/imageio/spi/ImageOutputStreamSpi.java,
5207         javax/imageio/spi/ImageReaderWriterSpi.java,
5208         javax/imageio/spi/ImageTranscoderSpi.java,
5209         javax/imageio/spi/RegisterableService.java,
5210         javax/imageio/spi/ServiceRegistry.java,
5211         javax/imageio/stream/IIOByteBuffer.java,
5212         javax/imageio/stream/ImageInputStream.java and
5213         javax/imageio/stream/ImageOutputStream.java.
5214         * Makefile.in: Regenerated.
5215
5216 2004-04-21  Michael Koch  <konqueror@gmx.de>
5217
5218         * java/util/Properties.java
5219         (load): Fix wrongly merged fix.
5220
5221 2004-04-21  Mark Wielaard  <mark@klomp.org>
5222
5223         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
5224         malloc and free buf.
5225
5226 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
5227
5228         * javax/naming/AuthenticationException.java,
5229         javax/naming/AuthenticationNotSupportedException.java,
5230         javax/naming/CannotProceedException.java,
5231         javax/naming/CommunicationException.java,
5232         javax/naming/CompoundName.java,
5233         javax/naming/ConfigurationException.java,
5234         javax/naming/ContextNotEmptyException.java,
5235         javax/naming/InitialContext.java,
5236         javax/naming/InsufficientResourcesException.java,
5237         javax/naming/InterruptedNamingException.java,
5238         javax/naming/LimitExceededException.java,
5239         javax/naming/LinkException.java,
5240         javax/naming/LinkLoopException.java,
5241         javax/naming/LinkRef.java,
5242         javax/naming/MalformedLinkException.java,
5243         javax/naming/Name.java,
5244         javax/naming/NameAlreadyBoundException.java,
5245         javax/naming/NameNotFoundException.java,
5246         javax/naming/NamingSecurityException.java,
5247         javax/naming/NoInitialContextException.java,
5248         javax/naming/NoPermissionException.java,
5249         javax/naming/NotContextException.java,
5250         javax/naming/PartialResultException.java,
5251         javax/naming/ReferralException.java,
5252         javax/naming/ServiceUnavailableException.java,
5253         javax/naming/SizeLimitExceededException.java,
5254         javax/naming/TimeLimitExceededException.java,
5255         javax/naming/directory/Attribute.java,
5256         javax/naming/directory/Attributes.java,
5257         javax/naming/directory/SearchResult.java,
5258         javax/naming/event/NamingExceptionEvent.java,
5259         javax/naming/spi/ResolveResult.java:
5260         Cleaned up imports.
5261
5262 2004-04-21  Mark Wielaard  <mark@klomp.org>
5263
5264         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5265         Changed C++ comments into C comments. Removed commented out code.
5266         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5267         Likewise.
5268         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5269         Likewise.
5270         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5271         Likewise.
5272         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5273         Likewise.
5274         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5275         Likewise.
5276         * native/jni/gtk-peer/gthread-jni.c:
5277         Likewise.
5278
5279 2004-04-21  Mark Wielaard  <mark@klomp.org>
5280
5281         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
5282         static fields defined in interface.
5283         * javax/awt/JDialog.java: Likewise.
5284         (JDialog): Make constructors public.
5285         (getDefaultCloseOperation): Make public.
5286         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
5287         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
5288         * javax/swing/JViewport.java (JViewport): Make constructor public.
5289
5290 2004-04-21  Michael Koch  <konqueror@gmx.de>
5291
5292         * java/util/Map.java
5293         (Entry): Removed redundant "static" modifier.
5294         * java/text/AttributedCharacterIterator.java:
5295         Updated copyright year.
5296
5297 2004-04-20  Michael Koch  <konqueror@gmx.de>
5298
5299         * javax/naming/directory/SearchControls.java:
5300         Don't explicitely extend java.lang.Object.
5301         * javax/naming/spi/DirStateFactory.java:
5302         Merged copyright year with GNU classpath.
5303
5304 2004-04-20  Michael Koch  <konqueror@gmx.de>
5305
5306         * java/nio/channels/Channels.java:
5307         Merged coding style with GNU classpath.
5308
5309 2004-04-20  Michael Koch  <konqueror@gmx.de>
5310
5311         * java/net/ServerSocket.java
5312         Merged coding style from GNU classpath.
5313
5314 2004-04-20  Michael Koch  <konqueror@gmx.de>
5315
5316         * java/io/BufferedWriter.java:
5317         Reordered variables to be at top of the class.
5318         (localFlush): Removed redundant final keyword.
5319
5320 2004-04-20  Ingo Proetel  <proetel@aicas.com>
5321
5322         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
5323
5324 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
5325
5326         * java/text/DecimalFormat.java (scanFix): Removed suffix check
5327         for percent and permill check.
5328
5329 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
5330
5331         * java/text/FieldPosition.java
5332         (FieldPosition) Constructor now behaves as it should according
5333         to the java documentation.
5334
5335 2004-04-20  Mark Wielaard  <mark@klomp.org>
5336
5337         * java/util/Properties.java: Use the word umlaut, not &auml; in api
5338         documentation.
5339
5340 2004-04-20  Michael Koch  <konqueror@gmx.de>
5341
5342         * java/nio/Buffer.java,
5343         java/nio/channels/AlreadyConnectedException.java,
5344         java/nio/channels/AsynchronousCloseException.java,
5345         java/nio/channels/ByteChannel.java,
5346         java/nio/channels/CancelledKeyException.java,
5347         java/nio/channels/Channel.java,
5348         java/nio/channels/Channels.java,
5349         java/nio/channels/ClosedByInterruptException.java,
5350         java/nio/channels/ClosedChannelException.java,
5351         java/nio/channels/ClosedSelectorException.java,
5352         java/nio/channels/ConnectionPendingException.java,
5353         java/nio/channels/DatagramChannel.java,
5354         java/nio/channels/FileChannel.java,
5355         java/nio/channels/FileLock.java,
5356         java/nio/channels/FileLockInterruptionException.java,
5357         java/nio/channels/GatheringByteChannel.java,
5358         java/nio/channels/IllegalBlockingModeException.java,
5359         java/nio/channels/IllegalSelectorException.java,
5360         java/nio/channels/InterruptibleChannel.java,
5361         java/nio/channels/NoConnectionPendingException.java,
5362         java/nio/channels/NonReadableChannelException.java,
5363         java/nio/channels/NonWritableChannelException.java,
5364         java/nio/channels/NotYetBoundException.java,
5365         java/nio/channels/NotYetConnectedException.java,
5366         java/nio/channels/OverlappingFileLockException.java,
5367         java/nio/channels/Pipe.java,
5368         java/nio/channels/ReadableByteChannel.java,
5369         java/nio/channels/ScatteringByteChannel.java,
5370         java/nio/channels/SelectableChannel.java,
5371         java/nio/channels/SelectionKey.java,
5372         java/nio/channels/Selector.java,
5373         java/nio/channels/ServerSocketChannel.java,
5374         java/nio/channels/SocketChannel.java,
5375         java/nio/channels/UnresolvedAddressException.java,
5376         java/nio/channels/UnsupportedAddressTypeException.java,
5377         java/nio/channels/WritableByteChannel.java,
5378         java/nio/channels/spi/AbstractInterruptibleChannel.java,
5379         java/nio/channels/spi/AbstractSelectableChannel.java,
5380         java/nio/channels/spi/AbstractSelectionKey.java,
5381         java/nio/channels/spi/AbstractSelector.java,
5382         java/nio/channels/spi/SelectorProvider.java,
5383         java/nio/charset/spi/CharsetProvider.java:
5384         Fixed javadocs and jalopied all over java.nio.
5385
5386 2004-04-20  Michael Koch  <konqueror@gmx.de>
5387
5388         * java/nio/ByteBufferImpl.java,
5389         java/nio/CharBufferImpl.java,
5390         java/nio/DirectByteBufferImpl.java,
5391         java/nio/DoubleBufferImpl.java,
5392         java/nio/DoubleViewBufferImpl.java,
5393         java/nio/FloatBufferImpl.java,
5394         java/nio/FloatViewBufferImpl.java,
5395         java/nio/IntBufferImpl.java,
5396         java/nio/IntViewBufferImpl.java,
5397         java/nio/LongBufferImpl.java,
5398         java/nio/LongViewBufferImpl.java,
5399         java/nio/MappedByteBufferImpl.java,
5400         java/nio/ShortBufferImpl.java,
5401         java/nio/ShortViewBufferImpl.java:
5402         Made sure all classes are final and removed final keyword from all
5403         methods.
5404
5405 2004-04-20  Michael Koch  <konqueror@gmx.de>
5406
5407         * java/rmi/MarshalledObject.java,
5408         java/rmi/Naming.java,
5409         java/rmi/RemoteException.java,
5410         java/rmi/activation/ActivationException.java,
5411         java/rmi/server/ServerCloneException.java,
5412         java/security/AccessController.java,
5413         java/security/AlgorithmParameterGenerator.java,
5414         java/security/AlgorithmParameters.java,
5415         java/security/CodeSource.java,
5416         java/security/Identity.java,
5417         java/security/IdentityScope.java,
5418         java/security/KeyPairGenerator.java,
5419         java/security/KeyStore.java,
5420         java/security/Security.java,
5421         java/security/Signature.java,
5422         java/security/SignatureSpi.java,
5423         java/security/SignedObject.java,
5424         java/security/spec/DSAParameterSpec.java,
5425         java/security/spec/DSAPrivateKeySpec.java,
5426         java/security/spec/DSAPublicKeySpec.java,
5427         java/sql/Array.java,
5428         java/sql/DatabaseMetaData.java,
5429         java/sql/ResultSet.java,
5430         java/text/ChoiceFormat.java,
5431         java/text/CollationElementIterator.java,
5432         java/text/CollationKey.java,
5433         java/text/Collator.java,
5434         java/text/DateFormat.java,
5435         java/text/DateFormatSymbols.java,
5436         java/text/DecimalFormatSymbols.java,
5437         java/text/Format.java,
5438         java/text/ParsePosition.java,
5439         java/text/RuleBasedCollator.java,
5440         java/text/SimpleDateFormat.java,
5441         java/text/StringCharacterIterator.java,
5442         java/util/Collections.java,
5443         java/util/PropertyResourceBundle.java,
5444         java/util/ResourceBundle.java,
5445         java/util/StringTokenizer.java,
5446         java/util/jar/Attributes.java,
5447         java/util/logging/ConsoleHandler.java,
5448         java/util/logging/LogManager.java,
5449         java/util/logging/MemoryHandler.java,
5450         java/util/logging/SocketHandler.java,
5451         javax/naming/NamingException.java:
5452         Fixed javadoc, coding style and argument names all over.
5453
5454 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
5455
5456         * java/io/FileDescriptor.java: (FileDescriptor) Added public
5457         constructor. (valid) Added null check.
5458
5459 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
5460
5461         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
5462         * java/io/FileOutputStream.java
5463         (FileOutputStream) Reorganized constructors. Constructors now
5464         check whether the given path is directory.
5465
5466 2004-04-20  Michael Koch  <konqueror@gmx.de>
5467
5468         * java/net/Authenticator.java,
5469         java/net/BindException.java,
5470         java/net/ConnectException.java,
5471         java/net/ContentHandler.java,
5472         java/net/ContentHandlerFactory.java,
5473         java/net/DatagramPacket.java,
5474         java/net/DatagramSocket.java,
5475         java/net/DatagramSocketImpl.java,
5476         java/net/DatagramSocketImplFactory.java,
5477         java/net/FileNameMap.java,
5478         java/net/HttpURLConnection.java,
5479         java/net/Inet4Address.java,
5480         java/net/Inet6Address.java,
5481         java/net/InetAddress.java,
5482         java/net/InetSocketAddress.java,
5483         java/net/JarURLConnection.java,
5484         java/net/MalformedURLException.java,
5485         java/net/MulticastSocket.java,
5486         java/net/NetPermission.java,
5487         java/net/NetworkInterface.java,
5488         java/net/NoRouteToHostException.java,
5489         java/net/PasswordAuthentication.java,
5490         java/net/PortUnreachableException.java,
5491         java/net/ProtocolException.java,
5492         java/net/ServerSocket.java,
5493         java/net/Socket.java,
5494         java/net/SocketAddress.java,
5495         java/net/SocketException.java,
5496         java/net/SocketImpl.java,
5497         java/net/SocketImplFactory.java,
5498         java/net/SocketOptions.java,
5499         java/net/SocketPermission.java,
5500         java/net/SocketTimeoutException.java,
5501         java/net/URI.java,
5502         java/net/URISyntaxException.java,
5503         java/net/URL.java,
5504         java/net/URLClassLoader.java,
5505         java/net/URLConnection.java,
5506         java/net/URLDecoder.java,
5507         java/net/URLEncoder.java,
5508         java/net/URLStreamHandler.java,
5509         java/net/URLStreamHandlerFactory.java,
5510         java/net/UnknownHostException.java,
5511         java/net/UnknownServiceException.java:
5512         Fixed javadocs, coding style and argument names all over.
5513
5514 2004-04-20  Michael Koch  <konqueror@gmx.de>
5515
5516         * java/lang/Byte.java,
5517         java/lang/CharSequence.java,
5518         java/lang/ClassLoader.java,
5519         java/lang/Compiler.java,
5520         java/lang/Double.java,
5521         java/lang/Float.java,
5522         java/lang/Integer.java,
5523         java/lang/Long.java,
5524         java/lang/Math.java,
5525         java/lang/Number.java,
5526         java/lang/Package.java,
5527         java/lang/Runtime.java,
5528         java/lang/RuntimePermission.java,
5529         java/lang/SecurityManager.java,
5530         java/lang/Short.java,
5531         java/lang/StringBuffer.java,
5532         java/lang/System.java,
5533         java/lang/ThreadGroup.java,
5534         java/lang/Throwable.java,
5535         java/lang/reflect/InvocationHandler.java,
5536         java/lang/reflect/Proxy.java:
5537         Fixed javadocs, coding style and argument names all over.
5538
5539 2004-04-20  Michael Koch  <konqueror@gmx.de>
5540
5541         * java/io/BufferedWriter.java,
5542         java/io/ByteArrayInputStream.java,
5543         java/io/CharArrayWriter.java,
5544         java/io/DataInput.java,
5545         java/io/DataInputStream.java,
5546         java/io/File.java,
5547         java/io/FilterInputStream.java,
5548         java/io/InputStream.java,
5549         java/io/InputStreamReader.java,
5550         java/io/ObjectInputStream.java,
5551         java/io/ObjectStreamClass.java,
5552         java/io/PipedInputStream.java,
5553         java/io/PipedReader.java,
5554         java/io/PushbackInputStream.java,
5555         java/io/PushbackReader.java,
5556         java/io/RandomAccessFile.java,
5557         java/io/SerializablePermission.java,
5558         java/io/StreamTokenizer.java,
5559         java/io/StringWriter.java,
5560         java/io/WriteAbortedException.java,
5561         java/io/Writer.java:
5562         Fixed javadocs all over, rename arguments to match javadocs,
5563         fixed coding style.
5564
5565 2004-04-20  Ingo Proetel  <proetel@aicas.com>
5566
5567         * java/awt/FontMetrics.java:
5568         (charsWidth): fixed accumulation of total_width
5569         (getWidth): simple default implementation
5570         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
5571         in Rectangle constructor.
5572         * java/awt/image/Raster.java (toString): Added method. 
5573         * java/awt/image/SampleModel.java (<init>): Added error cause
5574         information to thrown exception.
5575         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
5576         New method.
5577         (setDataElements): New method.
5578         (setPixels): New method.
5579         (toString): New method.
5580
5581 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
5582
5583         * java/awt/image/ComponentColorModel.java
5584         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
5585         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
5586         Mauve tests on this method. Improved documentation.
5587
5588 2004-04-20  Michael Koch  <konqueror@gmx.de>
5589
5590         * javax/swing/JLayeredPane.java,
5591         javax/swing/plaf/BorderUIResource.java,
5592         javax/swing/plaf/ComponentUI.java,
5593         javax/swing/undo/CompoundEdit.java,
5594         javax/swing/undo/StateEdit.java:
5595         Fixed HTML tags in javadocs all over.
5596
5597 2004-04-20  Michael Koch  <konqueror@gmx.de>
5598
5599         * javax/print/attribute/EnumSyntax.java
5600         (getOffset): Made protected.
5601         * javax/print/attribute/HashAttributeSet.java
5602         (HashAttributeSet): Likewise.
5603         * javax/print/attribute/ResolutionSyntax.java
5604         (getFeedResolution): Fixed typo in exception name.
5605         (getCrossFeedResolution): Likewise.
5606         * javax/print/attribute/SetOfIntegerSyntax.java
5607         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
5608         * javax/print/attribute/TextSyntax.java
5609         (TextSyntax): Handle locale correctly.
5610         (hashCode): Calc better hashcode value.
5611         (equals): Fixed @return tag.
5612         (toString): New method.
5613
5614 2004-04-20  Michael Koch  <konqueror@gmx.de>
5615
5616         * gnu/java/nio/FileLockImpl.java
5617         (static): Removed, not needed anymore.
5618         * gnu/java/nio/channels/FileChannelImpl.java
5619         (FileChannelImpl): Made final.
5620         (mode): Made private.
5621         (READ, WRITE, APPEND): Made public.
5622         (EXCL, SYNC, DSYNC): Likewise.
5623         (static): Load native JNI library, when needed.
5624         (length): Unused, removed.
5625         (available): Made public.
5626         (implPosition): Throws IOException.
5627         (seek): Likewise.
5628         (implTruncate): Likewise.
5629         (unlock): Likewise.
5630         (lock): Likewise.
5631
5632 2004-04-20  Michael Koch  <konqueror@gmx.de>
5633
5634         * java/awt/AWTPermission.java,
5635         java/awt/Component.java,
5636         java/awt/ComponentOrientation.java,,
5637         java/awt/Dialog.java,
5638         java/awt/FontMetrics.java,
5639         java/awt/Graphics.java,
5640         java/awt/datatransfer/DataFlavor.java,
5641         java/beans/Introspector.java,
5642         java/beans/PropertyEditor.java,
5643         java/beans/PropertyEditorManager.java,
5644         java/beans/beancontext/BeanContextServiceProvider.java:
5645         Fixed HTML tags in javadocs all over.
5646
5647 2004-04-20  Mark Wielaard  <mark@klomp.org>
5648
5649         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
5650         MissingResourceException is thrown.
5651         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
5652         null when a MissingResourceException is thrown. Should never happen.
5653
5654 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
5655
5656         * java/awt/image/DataBufferShort.java,
5657         java/awt/image/DataBufferFloat.java,
5658         java/awt/image/DataBufferDouble.java,
5659         java/awt/image/PixelInterleavedSampleModel.java: New files.
5660         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
5661         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
5662
5663 2004-04-20  Michael Koch  <konqueror@gmx.de>
5664
5665         * Makefile.am (java_source_files): Added
5666         java/awt/image/DataBufferDouble.java,
5667         java/awt/image/DataBufferFloat.java,
5668         java/awt/image/DataBufferShort.java and
5669         java/awt/image/PixelInterleavedSampleModel.java.
5670         * Makefile.in: Regenerated.
5671
5672 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
5673  
5674         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
5675         undocumented CNI calls.
5676         * include/java-interp.h (_Jv_InterpClass): No longer
5677         extends java.lang.Class.
5678         * java/lang/Class.h (Class): Add new field `aux_info'.
5679         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
5680         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
5681         Use Class->aux_info instead.
5682         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
5683         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
5684         Use Class->aux_info instead.
5685         * java/io/natObjectInputStream.cc (allocateObject): Use
5686         _Jv_AllocObject.
5687         * java/lang/natClass.cc (newInstance): Likewise.
5688         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
5689         * java/lang/natObject.cc (clone): Likewise.
5690         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
5691         * java/lang/natVMClassLoader.cc (defineClass): Don't use
5692         JvAllocObject. Allocate klass->aux_info here for interpreted
5693         class.
5694         
5695 2004-04-17  Mark Wielaard  <mark@klomp.org>
5696
5697         * javax/swing/JToggleButton.java (ToggleButtonModel):
5698         Make public static inner class.
5699         * javax/swing/JTabbedPane.java (setComponentAt):
5700         Call Page.setComponent().
5701         (SCROLL_TAB_LAYOUT): Make public, value is 1.
5702         (WRAP_TAB_LAYOUT): Make public, value is 0.
5703         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
5704         Make private static inner class.
5705
5706 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
5707
5708         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
5709         arguments to match new signature. Remove FIXME comments.
5710
5711 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
5712
5713         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
5714         Remove method.
5715         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
5716         unused code.
5717
5718 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
5719
5720         * Makefile.am: Added new file.
5721         * Makefile.in: Regenerate.
5722         * javax/swing/ImageIcon.java: 
5723         (ImageIcon(file)): set description of the icon 
5724         to the file name
5725         * javax/swing/JCheckBoxMenuItem.java:
5726         Mostly Implemented. Work in progress.
5727         * javax/swing/JRadioButtonMenuItem.java:
5728         Reimplement constructors to use JToggleButtonModel.
5729         * javax/swing/plaf/basic/BasicIconFactory.java:
5730         (getCheckBoxMenuItemIcon): return check box
5731         icon.
5732         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5733         paint menu item selected only when it is armed and 
5734         pressed. 
5735  
5736 2004-04-02  David Jee  <djee@redhat.com>
5737
5738         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5739         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
5740         * java/awt/Component.java
5741         (add): Set the parent of the popup as this component.
5742         * java/awt/PopupMenu.java
5743         (addNotify): Create popup menu when peer is null.
5744         (show): Call addNotify() if peer is null.
5745         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5746         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
5747         argument for gtk_menu_popup() as zero. This causes the popup menu to
5748         respond to any mouse button.
5749
5750 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
5751
5752         * Makefile.am: Added new file.
5753         * Makefile.in: Regenerate.
5754         * javax/swing/JRadioButtonMenuItem.java:
5755         Implemented.
5756         * javax/swing/plaf/basic/BasicIconFactory.java:
5757         (getRadioButtonMenuItemIcon): Return
5758         radio button icon.
5759         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5760         (getPreferredSize): Add size of checkIcon if it
5761         exists.
5762         (installDefaults): Don't initialize checkIcon.
5763         It's value will be set in subclasses. 
5764         (uninstallDefaults): remove uninstallation of 
5765         checkIcon.
5766         (paint): Moved code to paintMenuItem().
5767         (paintMenuItem): Implemented.
5768         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
5769         UI delegate for JRadioButtonMenuItem.
5770         
5771 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
5772
5773         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5774         Corrected position of the accelerator.
5775
5776 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
5777
5778         * Makefile.am: Added new file. 
5779         * Makefile.in: Regenerate.
5780         * javax/swing/JMenuItem.java: Partly 
5781         implemented. Work in progress
5782         * javax/swing/plaf/basic/BasicLookAndFeel.java:
5783         Changed default value of acceleratorDelimiter.
5784         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5785         New class. Partly implemented.
5786                 
5787 2004-03-26  Mark Wielaard  <mark@klomp.org>
5788
5789         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5790         (item_activate): Declare label before use.
5791         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5792         (gtkSetFont): Removed unused variable label.
5793         (addExposeFilter): Declare variables before use.
5794         (removeExposeFilter): Likewise.
5795         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5796         (ok_clicked): Declare str_fileName before use.
5797
5798 2004-03-26  David Jee  <djee@redhat.com>
5799
5800         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
5801         (addSeparator): Remove.
5802         * java/awt/Menu.java
5803         (separator): Remove static final MenuItem field.
5804         (separatorLabel): New static final String field.
5805         (addSeparator): Do not use peer method; use add(MenuItem) instead.
5806         Use separatorLabel to denote that it is a separator.
5807         (insertSeparator): Create a new MenuItem with separatorLabel, instead
5808         of reusing the static separator instance, because a MenuItem instance
5809         can't be added more than once without being cloned.
5810         * java/awt/peer/MenuPeer.java
5811         (addSeparator): Remove from interface.
5812
5813 2004-03-26  David Jee  <djee@redhat.com>
5814
5815         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5816         (connectSignals): New native method declaration.
5817         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
5818         * java/awt/MenuItem.java
5819         (getActionCommand): Return the label if the action command is not set.
5820         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
5821         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
5822         gtk_menu_shell_append().
5823         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
5824         (item_activate): Fix argument type.
5825         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
5826         signal here.
5827         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
5828         method.
5829         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
5830         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
5831         given. Add the menu widget's top-level GtkWindow to the global window
5832         group, so it can grab the pointer.
5833         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
5834         gtk_menu_shell_append().
5835
5836 2004-03-23  Graydon Hoare  <graydon@redhat.com>
5837
5838         * java/text/AttributedString.java 
5839         (addAttribute): Fix off-by-one.
5840         (getIterator): Likewise.        
5841         * java/text/AttributedStringIterator.java 
5842         (getRunLimit): Correct logic.
5843         (getRunStart): Likewise.
5844         (getAttribute): Fix inequality.
5845         (getAttributes): Likewise.
5846         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
5847
5848 2004-03-23  Kim Ho  <kho@redhat.com>
5849
5850         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
5851         (calculateSizes): Return real width and height.
5852
5853 2004-03-23  Kim Ho  <kho@redhat.com>
5854
5855         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5856         (calculateTabRects): Set the selectedRun before
5857         trying to rotate tabs.
5858
5859 2004-03-23  Kim Ho  <kho@redhat.com>
5860
5861         * Makefile.am: New file
5862         * Makefile.in: Regenerate
5863         * java/awt/Graphics.java: (drawRect):
5864         Draw to the correct point.
5865         * javax/swing/DefaultSingleSelectionModel.java
5866         (isSelected): Return true if the selected index
5867         is not -1.
5868         * javax/swing/JLabel.java: Do not change mnemonic
5869         index if text is null.
5870         * javax/swing/JProgressBar.java: Use JComponent's
5871         EventListenerList.
5872         * javax/swing/JScrollBar.java: Ditto.
5873         * javax/swing/JSlider.java: Ditto.
5874         * javax/swing/JTabbedPane.java: Reimplement.
5875         * javax/swing/plaf/basic/BasicLookAndFeel.java:
5876         Add defaults for TabbedPane.
5877         * javax/swing/plaf/basic/BasicArrowButton.java:
5878         Implement
5879         * javax/swing/plaf/basic/BasicProgressBarUI.java:
5880         (paintDeterminate): Don't paint String if it's
5881         empty.
5882         (paintIndeterminate): ditto.
5883         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
5884         Reimplement.
5885
5886 2004-03-19  Michael Koch  <konqueror@gmx.de>
5887
5888         * java/awt/image/AffineTransformOp.java
5889         (AffineTransformOp): Made public.
5890         * javax/swing/JComponent.java
5891         (listenerList): Made protected.
5892         (accessibleContext): Likewise.
5893         * javax/swing/JList.java
5894         (valueChanged): Dont use internal fields of ListSelectionEvent.
5895         * javax/swing/JViewport.java
5896         (getView): Dont use internal fields of Component.
5897         (addImpl): Likewise.
5898         * javax/swing/Timer.java
5899         (isRunning): Made public.
5900         (start): Likewise.
5901         (stop): Likewise.
5902         * javax/swing/UIDefaults.java
5903         (getInt): Made public.
5904         * javax/swing/plaf/basic/BasicListUI.java
5905         (mousePressed): Dont use internal fields of MouseEvent.
5906         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
5907         * javax/swing/plaf/basic/BasicScrollBarUI.java
5908         (arrowIcon): Made static.
5909         * javax/swing/plaf/basic/BasicViewportUI.java
5910         (stateChanged): Dont use internal field on ChangeEvent.
5911         * javax/swing/text/JTextComponent.java
5912         (getUI): Call UIManager.getUI().
5913         (updateUI): Use getUI().
5914
5915 2004-03-19  Graydon Hoare  <graydon@redhat.com>
5916
5917         * javax/swing/JComponent.java: Turn off double buffer by default.
5918         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
5919         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5920         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
5921         Use cairo to copy areas.
5922         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
5923         Initialize and set clip region.
5924
5925 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
5926
5927         * java/applet/Applet.java (preferredSize): Override deprecated
5928         variant of getPreferredSize.
5929         (minimumSize): Override deprecated variant of getMinimumSize.
5930
5931 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
5932
5933         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5934         (drawImage(img,xform,bgcolor,obs)): New Method.
5935         Helper function that every drawImage method will
5936         use.
5937         (drawRaster): Added new parameter, bgcolor. All
5938         transparent pixels are changed to bgcolor before 
5939         image is drawn.
5940         (drawRenderedImage): Fixed to use changed drawRaster().
5941         (drawImage(image,xform,obs): Fixed to use new helper function 
5942         (drawImage(image,op,x,y)): Ditto.
5943         (drawImage (img,x,y,observer)): Ditto.
5944         ((PainterThread) bgcolor): New Field.
5945         ((PainterThread) (setPixels)): Changed all transparent pixels 
5946         to bgcolor.     
5947         (drawImage(img,x,y,width,height,bgcolor,observer)): 
5948         Fixed FIXME - all the transparent pixels are 
5949         changed to the specified bgcolor. 
5950         (drawImage(img, x, y, width, height, observer): Changed to 
5951         use function above.
5952         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
5953         Fixed FIXME- changed all transparent pixels to bgcolor.
5954         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
5955         Changed to use function above. 
5956
5957 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5958
5959         * java/applet/Applet.java (dimensions): New field.
5960         (getDimensions): New method.
5961         (getPreferredSize): Call getDimensions.
5962         (getMinimumSize): Likewise.
5963
5964 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
5965
5966         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
5967         * jni/classpath/jnilink.c: Likewise.
5968
5969         * java/applet/Applet.java (getPreferredSize): New method.
5970         (getMinimumSize): New method.
5971
5972 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
5973
5974         * prims.cc (_Jv_AllocObject): Remove `size' argument.
5975         (_Jv_AllocObjectNoFinalizer): Likewise.
5976         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
5977         (_Jv_AllocPtrFreeObject): Likewise.
5978         (_Jv_AllocString): Moved from natString.cc. Call collector interface
5979         directly even in the JVMPI case.        
5980         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
5981         _Jv_AllocObject calls.
5982         * gcj/javaprims.h: Update prototypes.
5983         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
5984         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
5985         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
5986
5987 2004-04-14  Andrew Haley  <aph@redhat.com>
5988             Bryce McKinlay  <mckinlay@redhat.com>
5989
5990         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
5991         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
5992         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
5993
5994         * testsuite/libjava.lang/InvokeInterface.java: New file.
5995         * testsuite/libjava.lang/InvokeInterface.out: New file.
5996
5997 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
5998         
5999         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
6000         modified lookup().
6001         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
6002         StackTraceElement directly.
6003         (newElement): New native helper method to create StackTraceElement
6004         bypassing Java access control.
6005         (createStackTraceElement): Use newElement() instead of directly
6006         calling StackTraceElement's constructor.
6007         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
6008
6009 2004-04-01  Michael Koch  <konqueror@gmx.de>
6010
6011         * java/lang/SecurityManager.java
6012         (checkAwtEventQueueAccess): Implemented.
6013
6014 2004-04-01  Gary Benson  <gbenson@redhat.com>
6015
6016         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
6017         (_Jv_SearchMethodInClass): Likewise.
6018
6019 2004-03-26  Peter Moon  <peterm@miraculum.com>
6020
6021         * java/text/NumberFormat.java: Fix spelling of setCurrency
6022         method.
6023
6024 2004-03-21  Anthony Green  <green@redhat.com>
6025
6026         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
6027         recursion when searching for the system ClassLoader.
6028
6029 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
6030
6031         * java/net/ServerSocket.java
6032         (accept): Close the socket when error occured.
6033
6034 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
6035
6036         * java/net/URI.java (parseURI): Added unquoting.
6037         (unquote): New method.
6038         (quoteAuthority): Implemented.
6039         (quote(String,String)): New method.
6040         (quotePath): Implemented.
6041         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
6042         (getSchemeSpecificPart): Removed FIXME comment.
6043         (getRawAuthority): Return new rawAuthority field.
6044         (getAuthority): Removed FIXME comment.
6045         (getRawUserInfo): Return new rawUserInfo field.
6046         (getUserInfo): Removed FIXME comment.
6047         (getRawPath): Return new rawPath field.
6048         (getPath): Removed FIXME comment.
6049         (getRawQuery): Return new rawQuery field.
6050         (getQuery): Removed FIXME comment.
6051         (getRawFragment): Return new rawFragment field.
6052         (getFragment): Removed FIXME comment.
6053
6054 2004-03-20  Michael Koch  <konqueror@gmx.de>
6055
6056         * java/net/URLConnection.java: Merged copyright year with classpath.
6057
6058 2004-03-20  Norbert Frese  <postfach@nfrese.net>
6059
6060         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
6061         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
6062         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
6063         rmi-message.
6064         (getObjectInputStream): Return object reference, throw IOException if null.
6065         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
6066         (getObjectOutputStream): Return object reference, throw IOException if null.
6067         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
6068         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
6069         (UnicastConnectionManager): Throw RemoteException if port is not available.
6070         (getInstance): Throw RemoteException.
6071         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
6072         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
6073         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
6074         Collect Exceptions which are returned by a rmi-call and fix void returns.
6075         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
6076         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
6077         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
6078         (dispatch): Answer ping messages which are sent by other java implementions.
6079         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
6080         for every rmi-message and fix void return problems.
6081         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
6082         (UnicastServerRef): Throw RemoteException.
6083         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
6084         In some situations it is necessary to export a subclass of the class which has the _Stub.
6085         For instance when the class with has the _Stub is abstract.
6086         (findStubSkelClass): New method which looks for the class which has the _Stub.
6087         (getClientHost): Implementated.
6088         * gcc/libjava/java/rmi/server/RemoteServer.java
6089         (getClientHost): Implementated.
6090         * gcc/libjava/Makefile.am (rmi_java_source_files):
6091         Added gnu/java/rmi/server/RMIIncomingThread.java.
6092         * Makefile.in: Regenerated.
6093
6094 2004-03-20  Michael Koch  <konqueror@gmx.de>
6095
6096         * java/net/InetAddress.java
6097         (getLocalHostname): Added javadoc.
6098
6099 2004-03-19  Per Bothner  <per@bothner.com>
6100
6101         * configure.in: FILE variable  overrides FLATFORM when linking
6102         natFileChannelXXX.cc.
6103
6104         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
6105         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
6106
6107 2004-03-19  Per Bothner  <per@bothner.com>
6108
6109         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
6110         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
6111         * Makefile.am:  Update accordingly.
6112         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
6113         as aliases for UnicodeLittle and UnicodeBig.
6114
6115 2004-03-20  Mark Wielaard  <mark@klomp.org>
6116
6117         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6118         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
6119         Don't access ws when it is null.
6120         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
6121         Likewise.
6122
6123 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
6124
6125         * java/lang/ThreadGroup.java (list): Changed print to println.
6126
6127 2004-03-19  Mark Wielaard  <mark@klomp.org>
6128
6129         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
6130         happy.
6131
6132 2004-02-10  Randolph Chung  <tausq@debian.org>
6133  
6134         * configure.in: Build java for hppa target.
6135         * configure: Regenerate.
6136         * libjava/configure.host (hppa-*): Add target.
6137         * libjava/sysdeps/pa/lock.h: New file.
6138
6139 2004-03-19  Mark Wielaard  <mark@klomp.org>
6140
6141         Reported by Stephen Crawley
6142         * java/io/FilePermission.java (implies): Use String.length() -1 to
6143         access last char of String.
6144
6145 2004-03-19  Michael Koch  <konqueror@gmx.de>
6146
6147         * java/awt/image/AffineTransformOp.java
6148         (AffineTransformOp): Made public.
6149         * javax/swing/JComponent.java
6150         (listenerList): Made protected.
6151         (accessibleContext): Likewise.
6152         * javax/swing/JList.java
6153         (valueChanged): Dont use internal fields of ListSelectionEvent.
6154         * javax/swing/JViewport.java
6155         (getView): Dont use internal fields of Component.
6156         (addImpl): Likewise.
6157         * javax/swing/Timer.java
6158         (isRunning): Made public.
6159         (start): Likewise.
6160         (stop): Likewise.
6161         * javax/swing/UIDefaults.java
6162         (getInt): Made public.
6163         * javax/swing/plaf/basic/BasicListUI.java
6164         (mousePressed): Dont use internal fields of MouseEvent.
6165         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
6166         * javax/swing/plaf/basic/BasicScrollBarUI.java
6167         (arrowIcon): Made static.
6168         * javax/swing/plaf/basic/BasicViewportUI.java
6169         (stateChanged): Dont use internal field on ChangeEvent.
6170         * javax/swing/text/JTextComponent.java
6171         (getUI): Call UIManager.getUI().
6172         (updateUI): Use getUI().
6173
6174 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6175
6176         * verify.cc: Undef PC.
6177
6178 2004-03-18  Michael Koch  <konqueror@gmx.de>
6179
6180         * java/nio/channels/spi/AbstractSelectableChannel.java
6181         (keys): Initialize at declaration.
6182         (locate): keys cant be null.
6183         (add): Removed.
6184         (addSelectionKey): New method.
6185         (removeSelectionKey): New method.
6186         * java/nio/channels/spi/AbstractSelectionKey.java
6187         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
6188         * java/nio/channels/spi/AbstractSelector.java
6189         (provider): Javadoc added.
6190         (cancelledKeys): Javadoc added.
6191         (cancelKey): Javadoc added, add key to cancelledKeys.
6192         (deregister): Implemented.
6193
6194 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6195
6196         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
6197         MAP_FAILED to void *.
6198
6199 2004-03-12  Graydon Hoare  <graydon@redhat.com>
6200
6201         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
6202         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
6203         * javax/swing/JList.java (ListListener): Revalidate on changes.
6204         * javax/swing/JScrollPane.java: Reimplement.
6205         * javax/swing/JViewport.java: Reimplement.
6206         * javax/swing/ScrollPaneLayout.java: Reimplement.
6207         * javax/swing/ViewportLayout.java: Tidy up.
6208         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
6209         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
6210         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
6211         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
6212         backing store only.
6213
6214 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
6215
6216         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6217         (window_wm_protocols_filter): New function.
6218         (window_focus_in_cb): Remove function.
6219         (window_focus_out_cb): Likewise.
6220         (window_focus_or_active_state_change_cb): New function.
6221         (create): Add filter that removes WM_TAKE_FOCUS client messages.
6222         (connectSignals): Don't attach handlers to focus-in-event or
6223         focus-out-event signals.  Handle notify signal.
6224
6225 2004-03-11  David Jee  <djee@redhat.com>
6226
6227         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
6228         (gtkSetLabel): New native method declaration.
6229         (setLabel): Use gtkSetLabel.
6230         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
6231         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
6232
6233 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
6234
6235         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
6236         black when color argument is null.
6237
6238 2004-03-10  Kim Ho  <kho@redhat.com>
6239
6240         * java/awt/Container.java: Remove check
6241         for drag events.
6242
6243 2004-03-10  Kim Ho  <kho@redhat.com>
6244
6245         * java/awt/Container.java: (visitChild):
6246         Remove candidate clip. Use the component
6247         clip to intersect.
6248         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6249         (handleEvent): Use the PaintEvent's clip.
6250
6251 2004-03-10  Kim Ho  <kho@redhat.com>
6252
6253         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6254         (handleEvent): Don't set the clip for the
6255         Graphics object.
6256
6257 2004-03-09  Graydon Hoare  <graydon@redhat.com>
6258
6259         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
6260         Fix double <-> fixed macros, reset font transform.
6261         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
6262         Likewise.
6263
6264 2004-03-09  Kim Ho  <kho@redhat.com>
6265
6266         * java/awt/Container.java: (visitChild): Move
6267         the x and y coordinate of the component rectangle
6268         to correct position.
6269         (handleEvent): Forward drag events to the pressed
6270         component.
6271         * javax/swing/plaf/basic/BasicScrollBarUI.java:
6272         Fix comments.
6273         (ArrowButtonListener::mousePressed): Stop the
6274         existing timer.
6275         (mouseDragged): Implement.
6276         (TrackListener::mousePressed): Only react if
6277         the press doesn't occur on the thumb, otherwise
6278         just set the offset.
6279         (TrackListener::mouseReleased): Unset the isAdjusting
6280         value.
6281         (createIncreaseIcon): Switch icon.
6282         (createDecreaseIcon): Switch icon.
6283         (calculatePreferredSize): Use width.
6284         (getThumbBounds): Use the top as the lower value.
6285         (layoutVScrollBar): Switch the button locations.
6286         (paintIncreaseHighlight): Paint correct side of thumb.
6287         (paintDecreaseHighlight): ditto.
6288         (valueForYPosition): Use top as the lower value.
6289         * javax/swing/plaf/basic/BasicSliderUI.java:
6290         Fix comments.
6291         (mouseDragged): Implement.
6292         (mousePressed): Only react when the thumb isn't
6293         pressed, otherwise just set offset.
6294         (mouseReleased): Handle a release of the thumb.
6295         (scrollDueToClickInTrack): Stop the timer first.
6296         * javax/swing/JProgressBar.java:
6297         (setString): Fix change condition.
6298         * javax/swing/JSeparator.java:
6299         Remove println's.
6300
6301 2004-03-08  David Jee  <djee@redhat.com>
6302
6303         * java/awt/image/AffineTransformOp.java:
6304         (filter): Use Graphics2D interface instead of directly using the
6305         GdkGraphics2D peer.
6306
6307 2004-03-05  David Jee  <djee@redhat.com>
6308
6309         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
6310         (handleEvent): Action events are generated upon MOUSE_RELEASED.
6311         * java/awt/Container.java
6312         (acquireComponentForMouseEvent): Fixed.
6313         (handleEvent): Fixed.
6314         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6315         (state_to_awt_mods_with_button_states): New method.
6316         (pre_event_handler): Fixed mouse event generation.
6317
6318 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
6319
6320         gnu/java/awt/peer/gtk/GdkGraphics2D.java
6321         (GdkGraphics2D (BufferedImage)): Initialize
6322         pixmap associated with specified BufferedImage.
6323         (setPaint): Changed implementation of Texture
6324         Paint to use AffineTransformOp.
6325         * java/awt/image/AffineTransformOp.java
6326         (createCompatibleDestRaster): Throw RasterFormatException 
6327         if resulting width or height of raster is 0.
6328
6329 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
6330
6331         * java/awt/image/AffineTransformOp.java:
6332         Removed unnecessary field interpolationType.
6333         Formatted some of the lines to be consistent with 
6334         the GNU style.
6335         (AffineTransformOp): Create new RenderingHints 
6336         containing specified interpolation type.
6337         (createCompatibleDestImage): Implemented.
6338         (createCompatibleDestRaster): Implemented.
6339         (filter): Implemented.
6340         (getBounds2D(BufferedImage)): Implemented.
6341         (getBounds2D(Raster)): Implemented.
6342         (getInterpolationType): Get interpolation value from 
6343         rendering hints.
6344
6345 2004-03-04  David Jee  <djee@redhat.com>
6346
6347         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6348         (setFont): Check if child peers are null.
6349
6350 2004-03-04  Graydon Hoare  <graydon@redhat.com>
6351
6352         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
6353         .libs in -L option.
6354         (libjava_arguments): Add new libraries to argument list.
6355
6356 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
6357
6358         * Makefile.am: Added java/awt/image/AffineTransformOp.java
6359         * Makefile.in: Re-generated.
6360         * java/awt/image/AffineTransformOp.java: New Class.
6361
6362 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
6363
6364         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6365         (setPaint): Interpret correctly TexturePaint's
6366         anchor rectangle.
6367         (drawImage): Fixed scale factors of the affine
6368         transform.
6369
6370 2004-02-27  David Jee  <djee@redhat.com>
6371
6372         * gnu/java/awt/peer/gtk/GdkGraphics.java
6373         (GdkGraphics(Component)): Inherit font from component.
6374         (drawString): Use font style.
6375         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
6376         (gtkSetFont): New native method declaration.
6377         (setFont): New method.
6378         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6379         (gtkSetFont): New native method declaration.
6380         (setFont): Call new native method gtkSetFont.
6381         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6382         (setFont): For all child components who do not their fonts set,
6383         set their peers' fonts with this container's font.
6384         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
6385         Move all native method declarations to the top for readability.
6386         (gtkSetFont): New native method declaration.
6387         (setFont): New method.
6388         * java/awt/Component.java
6389         (setFont): Invalidate after setting the font.
6390         * java/awt/Container.java
6391         (invalidateTree): New method.
6392         (setFont): Invalidate the container tree after setting the font.
6393         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6394         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
6395         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
6396         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
6397         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6398         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
6399         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6400         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
6401
6402 2004-02-27  Olga Rodimina <rodimina@redhat.com>
6403
6404         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6405         (updateBufferedImage): New helper function.
6406         Updates BufferedImage in memory if it was changed.
6407         (draw): changed to update BufferedImage in memory after
6408         this drawing operation
6409         (fill): Ditto.
6410         (draw3DRect): Ditto.
6411         (fill3DRect): Ditto.
6412         (clearRect): Ditto.
6413         (drawRaster): Ditto.
6414         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
6415         no affine transformation.
6416         (drawGlyphVector): Ditto.
6417
6418 2004-02-26  Olga Rodimina <rodimina@redhat.com>
6419
6420         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6421         (isBufferedImageGraphics): New Helper function. 
6422         Returns true if this graphics2d can be used to draw 
6423         into buffered image and false otherwise.
6424         (updateImagePixels): New Helper function. 
6425         Updates pixels in the BufferedImage.
6426         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6427         (getImagePixels): New function. Returns pixels
6428         of the buffered image associated with 
6429         this Graphics2D.
6430
6431 2004-02-26  David Jee  <djee@redhat.com>
6432
6433         * java/awt/BorderLayout.java
6434         (layoutContainer): Fix width and height calculations to ensure
6435         that they're non-negative.
6436         * java/awt/Component.java
6437         (setBackground): If c is null, inherit from closest ancestor whose
6438         background color is set.
6439
6440 2004-02-26  Kim Ho  <kho@redhat.com>
6441
6442         * Makefile.am: Add new files.
6443         * Makefile.in: Re-generate.
6444         * javax/swing/JProgressBar.java: 
6445         (JProgressBar(int, int int)): Throw
6446         IllegalArgumentException if orientation is
6447         invalid.
6448         (JProgressBar(BoundedRangeModel)): Create
6449         ChangeListener and register it. UpdateUI.
6450         (getChangeListeners): Implement.
6451         (setModel): Reset ChangeListener.
6452         * javax/swing/JScrollBar.java: Implement.
6453         * javax/swing/JSeparator.java: Implement.
6454         * javax/swing/JSlider.java:
6455         (JSlider(int, int, int, int)): Throw 
6456         IllegalArgumentException if orientation
6457         is invalid.
6458         (getChangeListeners): Fix method name.
6459         * javax/swing/SwingUtilities.java:
6460         (layoutCompoundLabel): If there is no text,
6461         set the text rectangle dimensions to 0.
6462         * javax/swing/plaf/basic/BasicButtonUI.java:
6463         (paint): If there is no text, don't paint it.
6464         * javax/swing/plaf/basic/BasicScrollBarUI.java:
6465         Implement.
6466         * javax/swing/plaf/basic/BasicSeparatorUI.java:
6467         Implement.
6468         * javax/swing/plaf/basic/BasicSliderUI.java: 
6469         (propertyChange): If the model changes, change
6470         the listeners accordingly.
6471
6472 2004-02-25  Graydon Hoare  <graydon@redhat.com>
6473
6474         * javax/swing/AbstractButton.java: Add "final" qualifiers.
6475         * javax/swing/JList.java: Reimplement.
6476         * javax/swing/DefaultListSelectionModel.java: Reimplement.
6477         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
6478         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
6479         * javax/swing/ListModel.java: Javadoc.
6480         * javax/swing/ListSelectionModel.java: Add missing methods.
6481         * javax/swing/AbstractListModel.java: Javadoc and corrections.
6482         * javax/swing/DefaultListModel.java: Javadoc and corrections.
6483         * javax/swing/ListModel.java: Javadoc and corrections.
6484         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
6485
6486 2004-02-25  David Jee  <djee@redhat.com>
6487
6488         * gnu/java/awt/peer/gtk/GtkFontPeer.java
6489         (GtkFontPeer): Change default size to 12.
6490         * gnu/java/awt/peer/gtk/GtkToolkit.java
6491         (getFontPeer): Change default size to 12.
6492         (getClasspathFontPeer): Likewise. Set default name to "Default".
6493         * java/awt/Font.java
6494         (Font(Map)): Call Font(String,Map).
6495         (Font(String,Map)): If attrs is null, initialize it as an empty
6496         HashMap, which will ensure that the Font will get default attributes.
6497
6498 2004-02-25  David Jee  <djee@redhat.com>
6499
6500         * gnu/java/awt/peer/gtk/GtkFontPeer.java
6501         (GtkFontPeer(String,int)): Call the new constructor with size 1.
6502         (GtkFontPeer(String,int,int)): New constructor with size attribute.
6503         * gnu/java/awt/peer/gtk/GtkToolkit.java
6504         (getFontPeer(String,int)): Call the new overload method with size 1.
6505         (getFontPeer(String,int,int)): New method. Overloaded with size
6506         attribute.
6507         (getClasspathFontPeer): Set the size of the font.
6508
6509 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
6510
6511         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6512         (bimage): New field.
6513         (GdkGraphics2D): New Constructor. Constructs Graphics
6514         object that can be used to draw into the Buffered Image.
6515         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
6516         (GdkGraphicsEnvironment): Fixed to include public 
6517         keyword.
6518         (createGraphics): Implemented.
6519         * gnu/java/awt/peer/gtk/GtkToolkit.java
6520         (getLocalGraphicsEnvironment): Implemented.
6521         * java/awt/GraphicsEnvironment.java:
6522         (getLocalGraphicsEnvironment): Implemented.
6523         * java/awt/image/BufferedImage.java:
6524         (createGraphics): Implemented.
6525                 
6526 2004-02-24  David Jee  <djee@redhat.com>
6527
6528         * java/awt/Component.java
6529         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
6530         * java/awt/Container.java
6531         (addNotifyContainerChildren): Fix event enabling.
6532
6533 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
6534
6535         * Makefile.am: Added 
6536         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6537         * Makefile.in: Re-generated.
6538         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
6539         New Class. 
6540         
6541 2004-02-19  Kim Ho  <kho@redhat.com>
6542
6543         * Makefile.am: Add BasicProgressBarUI
6544         * Makefile.in: Regenerate.
6545         * javax/swing/JProgressBar.java: 
6546         Re-implement.
6547         * javax/swing/plaf/basic/BasicLookAndFeel.java
6548         Add constants for JProgressBar.
6549         * javax/swing/plaf/basic/BasicProgressBarUI.java
6550         Implement.
6551         * javax/swing/plaf/basic/BasicSliderUI.java
6552         Change comments.
6553         (calculateGeometry): New method
6554         (paint): Remove unnecessary size calculations.
6555
6556 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
6557
6558         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6559         (drawRaster): Fixed small error that caused
6560         imageToUser transformation to be set incorrectly.
6561         (toString): Implemented.
6562
6563 2004-02-18  David Jee  <djee@redhat.com>
6564
6565         * java/awt/CardLayout.java
6566         (addLayoutComponent): Show the first component added as the default.
6567         (removeLayoutComponent): After removing, show the next component.
6568         (gotoComponent): If there is only one component, show it and return.
6569
6570 2004-02-18  Kim Ho  <kho@redhat.com>
6571
6572         * javax/swing/JSlider.java: Re-order
6573         modifiers.
6574         * javax/swing/JLabel.java: Re-order
6575         modifiers.
6576         * javax/swing/JComponent.java: 
6577         (addPropertyChangeListener):
6578         Implement.
6579         (removePropertyChangeListener):
6580         ditto.
6581         (firePropertyChangeEvent):
6582         ditto.
6583
6584 2004-02-17  David Jee  <djee@redhat.com>
6585
6586         * java/awt/Component.java
6587         (show): Dispatch ComponentEvent via system event queue.
6588         (hide): Likewise.
6589         (move): Likewise.
6590         (resize): Likewise.
6591         (reshape): Likewise.
6592         * java/awt/Window.java
6593         (setBoundsCallback): Likewise.
6594
6595 2004-02-17  David Jee  <djee@redhat.com>
6596
6597         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6598         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
6599         Use gtk_widget_set_size_request() instead of the deprecated
6600         gtk_widget_set_usize().
6601
6602 2004-02-17  Kim Ho  <kho@redhat.com>
6603
6604         * javax/swing/JSlider.java: Fix comments and
6605         make property strings constants.
6606         (createStandardLabels): Use the labels
6607         preferred size as bounds.
6608         * javax/swing/plaf/basic/BasicSliderUI.java
6609         Fix comments.
6610         (ScrollHandler::actionPerformed): Don't
6611         calculate the timer stop value. Let the
6612         MouseListeners find the stop location.
6613         (getPreferredHorizontalSize): Re-implement.
6614         (getPreferredVerticalSize): ditto.
6615         (getMinimumHorizontalSize): ditto.
6616         (getMinimumVerticalSize): ditto.
6617         (getPreferredSize): ditto.
6618         (getMinimumSize): ditto.
6619         (getMaximumSize): ditto.
6620         (paintTicks): Use doubles to find the
6621         tick location.
6622         (paintHorizontalLabel):  Use preferredSize
6623         as initial width and height.
6624         (paintVerticalLabel): ditto.
6625
6626 2004-02-17  Kim Ho  <kho@redhat.com>
6627
6628         * javax/swing/JLabel.java: Changed 
6629         property strings to constants.
6630         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
6631         New property.
6632         (setText): Change mnemonic index if
6633         text is too short.
6634         (setDisplayedMnemonicIndex): Fire property
6635         change event.
6636         (getDisplayedMnemonicIndex): Remove check
6637         against short text.
6638
6639 2004-02-17 Olga Rodimina <rodimina@redhat.com>
6640
6641         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6642         (drawImage(img,xform,obs)): Invert xform before
6643         passing the xform to cairo.
6644         (drawImage(img,x,y,bgcolor,obs)): Implemented.
6645         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
6646         implemented.
6647         (drawImage (img,x,y,w,h,obs)): Implemented.
6648         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
6649         bgcolor,obs)): Partly implemented.
6650         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
6651         Implemented.
6652         * java/awt/image/BufferedImage.java:
6653         (copyData): if dest is null, create raster with same
6654         dimensions as the current image.
6655
6656 2004-02-16  Graydon Hoare  <graydon@redhat.com>
6657
6658         * javax/swing/plaf/basic/BasicLabelUI.java 
6659         (getPreferredSize): Use layoutCL.
6660         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
6661         (getPreferredButtonSize): Start with empty view rect, layout using
6662         component's preferred alignment.
6663         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
6664         List defaults.
6665
6666 2004-02-16  David Jee  <djee@redhat.com>
6667
6668         * java/awt/Component.java
6669         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
6670         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
6671         (move): Erase old bounds and repaint new bounds. Dispatch
6672         COMPONENT_MOVED ComponentEvent.
6673         (resize): Erase old bounds and repaint new bounds. Dispatch
6674         COMPONENT_RESIZED ComponentEvent.
6675         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
6676         ComponentEvents.
6677         * java/awt/Window.java
6678         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
6679         ComponentEvents.
6680
6681 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
6682
6683         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6684         (setRenderingHint): Added implementation of 
6685         Interpolation rendering hints.
6686         (setRenderingHints): Ditto.
6687         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6688         (drawPixels): fixed to allow user to choose type 
6689         of filtering that should be used when displaying images.
6690         (cairoSurfaceSetFilter): New method. Sets filter type for 
6691         interpolation of pixel values.
6692
6693 2004-02-16  David Jee  <djee@redhat.com>
6694
6695         * java/awt/GridBagLayout.java
6696         (calcCellSizes): Rows or columns with zero sizes should still be
6697         considered for extra space distribution.
6698
6699 2004-02-16  Kim Ho  <kho@redhat.com>
6700
6701         * javax/swing/JLabel.java: Re-implement.
6702         * javax/swing/plaf/basic/BasicLabelUI.java
6703         Re-implement.
6704         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6705         Added constant.
6706
6707 2004-02-16  Kim Ho  <kho@redhat.com>
6708
6709         * javax/swing/JSlider.java: Fix indentation and comments.
6710         (setModel): Remove null check to conform with Sun's.
6711         (setOrientation): Throw exception if not
6712         HORIZONTAL or VERTICAL.
6713         (getInverted): Use private variable instead of 
6714         ComponentOrientation.
6715         (setInverted): ditto.
6716         * javax/swing/plaf/basic/BasicSliderUI.java:
6717         Fix indentation and comments.
6718         (propertyChange): Remove check for inverted slider, handle
6719         in main paint.
6720         (getMinimumSize): Return preferred size.
6721         (getMaximumSize): ditto.
6722         (calculateFocusRect): Don't relocate rectangle.
6723         (drawInverted): Return XOR of the slider's inversion and 
6724         the component's orientation.
6725         (paint): Update leftToRightCache
6726
6727 2004-02-13  David Jee  <djee@redhat.com>
6728
6729         * java/awt/GridBagLayout.java
6730         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
6731         code to helper methods.
6732         (sortBySpan): New helper method.
6733         (distributeSizeAndWeight): Likewise.
6734         (calcCellWeights): Likewise.
6735         (calcCellSizes): Add comments.
6736
6737 2004-02-13  David Jee  <djee@redhat.com>
6738
6739         * java/awt/Component.java
6740         (show): Only do something if component is invisible at the moment.
6741         (hide): Only do something if component is visible at the moment.
6742         (reshape): If lightweight, erase old bounds and repaint new bounds.
6743
6744 2004-02-13  Kim Ho  <kho@redhat.com>
6745
6746         * Makefile.am: Updated for new file.
6747         * Makefile.in: Regenerated.
6748         * javax/swing/JSlider.java: Reimplement.
6749         * javax/swing/SwingUtilities.java
6750         (layoutCompoundLabel): Use icon height
6751         instead of width.
6752         (paintComponent): Implement.
6753         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6754         Add JSlider defaults.
6755         * javax/swing/plaf/basic/BasicSliderUI.java:
6756         Implement. New file.
6757
6758 2004-03-17  Michael Koch  <konqueror@gmx.de>
6759
6760         * gnu/java/net/PlainDatagramSocketImpl.java
6761         (RECEIVE_LOCK): New member field.
6762         (SEND_LOCK): New member field.
6763         (send0): New method.
6764         (send): Synchronize on SEND_LOCK.
6765         (receive0): New method.
6766         (receive): Synchronize on RECEIVE_LOCK.
6767         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
6768         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
6769         gnu/java/net/natPlainDatagramSocketImplWin32.cc
6770         (send0): Renamed from send.
6771         (receive0): Renamed from receive.
6772 2004-03-17  Michael Koch  <konqueror@gmx.de>
6773
6774         * gnu/java/net/natPlainSocketImplPosix.cc
6775         (write): Just call write(jbyteArray, offset, len).
6776         (read): Just call read(jbyteArray, offset, len).
6777
6778 2004-03-16  Michael Koch  <konqueror@gmx.de>
6779
6780         * javax/swing/JTabbedPane.java
6781         (serialVersionUID): New field.
6782
6783 2004-03-16  Norbert Frese  <postfach@nfrese.net>
6784
6785         * java/net/InetAddress.java
6786         (getByName): Handle hostname == "" case.
6787
6788 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
6789
6790         Reported by: Adam Heath <doogie@debian.org>
6791         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
6792         class loader.
6793
6794 2004-03-15  Michael Koch  <konqueror@gmx.de>
6795
6796         * java/util/Locale.java: Reverting my last patch
6797         and add a comment why the original version was okay.
6798
6799 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
6800
6801         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
6802         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
6803         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
6804         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
6805
6806 2004-03-12  Michael Koch  <konqueror@gmx.de>
6807
6808         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
6809
6810 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
6811
6812         * java/net/URI.java (toURL): Implemented.
6813
6814 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
6815
6816         * java/net/URI.java
6817         (URI_REGEXP) updated to contain scheme specific part.
6818         (SCHEME_SPEC_PART_GROUP) new constant.
6819         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
6820         updated to make room for SCHEME_SPEC_PART_GROUP.
6821         (parseURI) parse scheme specific part.
6822         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
6823         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
6824         getQuery, getFragment) implemented.
6825
6826 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
6827
6828         * libraries/javalib/java/net/URI.java
6829         partially implemented using java.util.regex.
6830         (URI_REGEXP) new constant. Used to parse URIs.
6831         (SCHEME_GROUP) new constant representing index of scheme group
6832         in parsed URI.
6833         (AUTHORITY_GROUP) new constant representing index of authority
6834         group in parsed URI.
6835         (PATH_GROUP) new constant representing index of path group in
6836         parsed URI.
6837         (QUERY_GROUP) new constant representing index of query group in
6838         parsed URI.
6839         (FRAGMENT_GROUP) new constant representing index of fragment
6840         group in parsed URI.
6841         (getURIGroup) new static utility method.
6842         (parseURI) implemented.
6843         (quote) stub for new static utility method.
6844         (quoteAuthority) stub for new static utility method.
6845         (quoteHost) stub for new static utility method.
6846         (quotePath) stub for new static utility method.
6847         (quoteUserInfo) stub for new static utility method.
6848         (URI) implemented.
6849         (create) don't throw URISyntaxException. Implemented.
6850         (toString) implemented.
6851
6852 2004-03-12  Michael Koch  <konqueror@gmx.de>
6853
6854         * java/net/HttpURLConnection.java
6855         (getResponseCode): Fix another typo in javadoc.
6856
6857 2004-03-11  Michael Koch  <konqueror@gmx.de>
6858
6859         * java/util/logging/Level.java
6860         (parse): Use String.equals() instead of ==.
6861
6862 2004-03-11  Michael Koch  <konqueror@gmx.de>
6863
6864         * gnu/java/net/protocol/jar/Connection.java
6865         (getContentLength): New method.
6866
6867 2004-03-11  Michael Koch  <konqueror@gmx.de>
6868
6869         * gnu/java/net/PlainSocketImpl.java:
6870         Reformated to merge better with classpath's version.
6871
6872 2004-03-11  Michael Koch  <konqueror@gmx.de>
6873
6874         * java/util/Locale.java
6875         (getISO3Language): Use String.equals() instead of ==.
6876         (getISO3Country): Likewise.
6877
6878 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
6879
6880         * java/text/AttributedString.java
6881         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
6882         Use HashMap instead of Hashtable since value can be null, and
6883         you can not store a null value in a Hashtable.
6884
6885 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
6886
6887         * java/text/AttributedStringIterator.java
6888         (getAllAttributesKey): Return only keys concerned
6889         by the current iterator.
6890         (getAttributes): Use strict inequality for
6891         end_index. 
6892
6893 2004-03-11  Michael Koch  <konqueror@gmx.de>
6894
6895         * java/net/HttpURLConnection.java:
6896         Fixed typo in javadoc.
6897
6898 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
6899
6900         * java/io/BufferedInputStream.java (marktarget): New field for max
6901         mark limit.
6902         (CHUNKSIZE): New constant for incremental mark buffer allocation.
6903         (mark): Use new fields.
6904         (read): Likewise.
6905         (read(byte[],int,int)): Likewise.
6906         (skip): Likewise.
6907         (refill): Likewise.
6908
6909 2004-03-11  Mark Wielaard  <mark@klomp.org>
6910
6911         * java/beans/BeanDescriptor.java (BeanDescriptor):
6912         Set the FeatureDescriptor programmatic name.
6913
6914 2004-03-11  Michael Koch  <konqueror@gmx.de>
6915
6916         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
6917         This file was was just copied form java/io/natFileDescriptorEcos.cc
6918         and never changed to compile correctly.
6919
6920 2004-03-11  Michael Koch  <konqueror@gmx.de>
6921
6922         * gnu/java/nio/PipeImpl.java
6923         (SourceChannelImpl): Made final.
6924         (read): Implemented.
6925         (SinkChannelImpl): Made final.
6926         (write): Implemented.
6927
6928 2004-03-11  Michael Koch  <konqueror@gmx.de>
6929
6930         * gnu/java/net/PlainDatagramSocketImpl.java:
6931         Reformated to match classpath's version more.
6932
6933 2004-03-11  Michael Koch  <konqueror@gmx.de>
6934
6935         * gnu/java/awt/peer/ClasspathFontPeer.java:
6936         Fixed javadoc to be correct xhtml.
6937         * gnu/java/awt/peer/gtk/GtkArgList.java
6938         (add): Use Boolean.valueOf() instead of new Boolean().
6939
6940 2004-03-09  Michael Koch  <konqueror@gmx.de>
6941
6942         * java/lang/Thread.java
6943         (runnable): Moved around.
6944         (daemon): Renamed from daemon_flag.
6945         (contextClassLoader): Renamed from context_class_loader.
6946         (Thread): Reordered constructors.
6947         (activeCount): Use group directly.
6948         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
6949         (holdsLock): Reworked javadoc.
6950         (setDaemon): Reworked.
6951         * java/lang/natThread.cc
6952         (destroy): Removed.
6953
6954 2004-03-08  Anthony Green  <green@redhat.com>
6955
6956         * Makefile.am: Build property resource files into libgcj.
6957         * Makefile.in: Rebuilt.
6958         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
6959         java/util/regex/PatternSyntaxException.java,
6960         gnu/regexp/CharIndexed.java,
6961         gnu/regexp/CharIndexedCharArray.java,
6962         gnu/regexp/CharIndexedInputStream.java,
6963         gnu/regexp/CharIndexedReader.java,
6964         gnu/regexp/CharIndexedString.java,
6965         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
6966         gnu/regexp/REException.java,
6967         gnu/regexp/REFilterInputStream.java,
6968         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
6969         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
6970         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
6971         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
6972         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
6973         gnu/regexp/RETokenLookAhead.java,
6974         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
6975         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
6976         gnu/regexp/RETokenStart.java,
6977         gnu/regexp/RETokenWordBoundary.java,
6978         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
6979
6980 2004-03-03  Per Bothner  <per@bothner.com>
6981
6982         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
6983         Optimize when argument is a FileChannelImpl.
6984         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
6985         New native methods.
6986         * java/nio/channels/natChannels.cc:  New file for new native methods.
6987         * Makefile.am:  Update accordingly.
6988
6989 2004-03-02  Jan Hubicka  <jh@suse.cz>
6990
6991         * configure.host: Pass -fno-omit-frame-pointer for i386.
6992         * configure.in: Likewise.
6993         * configure: Regenerate.
6994
6995 2004-03-01  Per Bothner  <per@bothner.com>
6996
6997         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
6998
6999 2004-02-29  Per Bothner  <per@bothner.com>
7000
7001         * java/nio/channels/FileChannelImpl.java:  Moved to package
7002         gnu/java/nio/channels, since we need to refer to it from java.io.
7003         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
7004         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
7005         from java/nio/channels.  Don't depend on FileDescriptor.
7006         (in, out, err):  New static fields.
7007         (mode):  New field.
7008         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
7009         from FileDescriptor.
7010         (by):  Removed MappedByteBuffer field.
7011         (map):  New working implementation.
7012         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
7013         some code "ported" from natFileDescriptoPosix.cc.
7014         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
7015         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
7016         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
7017         Remove native methods.
7018         * Makefile.am, configure.in:  Updated accordingly.
7019
7020         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
7021         (ch):  New FileChannelImpl field.  Update constructor to match.
7022         (releaseImpl):  Remove native method.  Instead ...
7023         (release):  Call unlock on channel.
7024         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
7025
7026         * java/io/natFileDescriptorEcos.cc:  Remove file.
7027         * java/io/natFileDescriptorPosix.cc:  Remove file.
7028         * java/io/natFileDescriptorWin32.cc:  Remove file.
7029         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
7030         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
7031         (<init>(FileChannelImpl)):  New package-private constructor.
7032         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
7033         (available, close, read, skip):  Implement using FileChannelImpl.
7034         (getFD):  Allocate FileDescriptor if needed.
7035         (getChannel):  Is now trivial.
7036         * java/io/FileOutputStream.java:  Corresponding changes.
7037         * java/io/RandomAccessFile.java:  Corresponding changes.
7038
7039         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
7040         unmapImpl):  New dummy methods, to be overridden by subclass.
7041         (finalize, isLoaded, load, force):  New methods.
7042         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
7043         Now works, at least for read mapping.
7044
7045         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
7046         streams using FileChannelImpl, not FileDescriptor.
7047         * java/lang/natWin32Process.cc (startProcess):  Likewise.
7048
7049 2004-02-28  Michael Koch  <konqueror@gmx.de>
7050
7051         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
7052         wrong code.
7053
7054 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
7055
7056         * java/io/ObjectInputStream.java
7057         (readClassDescriptor): Keep elements of the mapping non null.
7058         (checkTypeConsistency): New method.
7059         (readFields): Fixed main loop and base logic. Small reindentation.
7060         * java/io/ObjectStreamField.java
7061         (lookupField): New method to update the field reference.
7062         (checkFieldType): New method.
7063         * java/io/ObjectStreamClass.java
7064         (setClass, setFields): Call lookupField when building the field
7065         database. Check the real field type.
7066
7067 2004-02-28  Michael Koch  <konqueror@gmx.de>
7068
7069         * java/nio/ByteOrder.java
7070         (nativeOrder): Use equals() to compare strings.
7071
7072 2004-02-26  Michael Koch  <konqueror@gmx.de>
7073
7074         * gnu/java/nio/FileLockImpl.java
7075         (finalize): Made protected.
7076         * java/nio/channels/FileChannel.java
7077         (MapMode.READ_ONLY): Made final.
7078         (MapMode.READ_WRITE): Made final.
7079         (MapMode.PRIVATE): Made final.
7080         * java/nio/channels/SocketChannel.java
7081         (open): Simplified code.
7082         * java/nio/channels/spi/AbstractSelectableChannel.java
7083         (registered): Unused, removed.
7084         (keyFor): Check channel is open, only locate key
7085         and not add a new one.
7086         (register): Don't delete attachments.
7087
7088 2004-02-26  Michael Koch  <konqueror@gmx.de>
7089
7090         * gnu/java/awt/ComponentDataBlitOp.java
7091         (INSTANCE): Made final.
7092         * gnu/java/awt/image/ImageDecoder.java:
7093         Reworked imports.
7094         (cm): Unused, removed.
7095
7096 2004-02-26  Michael Koch  <konqueror@gmx.de>
7097
7098         * gnu/java/nio/DatagramChannelImpl.java
7099         (send): Check if target address is resolved.
7100
7101 2004-02-26  Michael Koch  <konqueror@gmx.de>
7102
7103         * Makefile.am: Generate and install headers for inner classes in
7104         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
7105         * Makefile.in: Regenerated.
7106
7107 2004-02-24  Anthony Green  <green@redhat.com>
7108
7109         * java/lang/StringBuffer.java: No need to NULL out remainder of
7110         buffer since ensureCapacity_unsynchronized will have done this for
7111         us.
7112
7113 2004-02-20  Michael Koch  <konqueror@gmx.de>
7114
7115         * gnu/java/net/protocol/jar/Handler.java
7116         (): Removed unneeded check for file != null. java.net.URL.getFile()
7117         returns an empty string but never null.
7118
7119 2004-02-20  Michael Koch  <konqueror@gmx.de>
7120
7121         * gnu/gcj/convert/Convert.java
7122         (main): Use equals() to compare strings.
7123
7124 2004-02-20  Michael Koch  <konqueror@gmx.de>
7125
7126         * javax/swing/AbstractButton.java: Made several constants final.
7127         (getRolloverSelectedIcon): Made public.
7128         (getSelectedIcon): Made public.
7129
7130 2004-02-16  Per Bothner  <per@bothner.com>
7131
7132         * java/nio/CharBufferImpl.java:  Inline super constructor.
7133         * java/nio/DoubleBufferImpl.java:  Likewise.
7134         * java/nio/FloatBufferImpl.java:  Likewise.
7135         * java/nio/IntBufferImpl.java:  Likewise.
7136         * java/nio/LongBufferImpl.java:  Likewise.
7137         * java/nio/ShortBufferImpl.java:  Likewise.
7138         * java/nio/CharBuffer.java:  Remove unused constructor.
7139         * java/nio/DoubleBuffer.java:  Likewise.
7140         * java/nio/FloatBuffer.java:  Likewise.
7141         * java/nio/IntBuffer.java:  Likewise.
7142         * java/nio/LongBuffer.java:  Likewise.
7143         * java/nio/ShortBuffer.java:  Likewise.
7144         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
7145         Fix buggy call to super constructor.
7146         * java/nio/DoubleViewBufferImpl.java:  Likewise.
7147         * java/nio/FloatViewBufferImpl.java:  Likewise.
7148         * java/nio/IntViewBufferImpl.java:  Likewise.
7149         * java/nio/LongViewBufferImpl.java:  Likewise.
7150         * java/nio/ShortViewBufferImpl.java:  Likewise.
7151         
7152         * java/nio/ByteBuffer.java (endian):  Make non-private so other
7153         java.nio classes can inherit it.
7154         (<init>):  Don't bother clearing array_offset.
7155         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
7156         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
7157         Remove redundant test.
7158
7159         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
7160         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
7161         Use new XxxViewBufferImpl constructors.
7162         * java/nio/MappedByteBufferImpl.java:  Likewise.
7163         * java/nio/DirectByteBufferImpl.java:  Likewise.
7164
7165         * java/nio/ByteBufferImpl.java:  Remove one constructor.
7166         Inline super in remaining constructor.
7167         * java/nio/ByteBuffer.java:  Remove unused constructor.
7168
7169         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
7170
7171         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
7172         * java/nio/DirectByteBufferImpl.java (owner):  New field.
7173         (offset):  Remove unused field.
7174         (<init>):  Modify one and add another constructor.  Change callers.
7175         (allocateDirect):  Removed - not used.
7176         (getImpl, putImpl):  Make static and pass address explicitly,
7177         to make them useful for MappedByteBufferImpl.
7178         (get, put):  Check for underflow.  Modify for new getImpl.
7179         (getImpl):  New native method where target is array.
7180         (get(byte[],int,int)):  Use the above.
7181         (adjustAddress):  New static native method.
7182         (slice, duplicate, asReadOnly):  New implementations.
7183         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
7184         adjustAddress):  New or updated native methods.
7185
7186 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
7187
7188         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
7189         overflow of fieldmapping.
7190
7191 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
7192
7193         * javax/swing/undo/UndoManager.java: Re-written from scratch.
7194
7195 2004-02-14  Per Bothner  <per@bothner.com>
7196
7197         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
7198         Set closed before calling implCloseChannel, as in the spec.
7199
7200 2004-02-09  Graydon Hoare  <graydon@redhat.com>
7201
7202         * javax/swing/ToggleButtonModel.java: Remove dead class.
7203         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
7204         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
7205         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
7206         * Makefile.am: Update for new and removed files.
7207         * Makefile.in: Regenerate.
7208
7209         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
7210         * javax/swing/AbstractButton.java 
7211         (AbstractButton): Initialize fields correctly in ctor.
7212         * javax/swing/JCheckbox.java 
7213         (JCheckBox): Override painting flags.
7214         * javax/swing/DefaultButtonModel.java: Conform to sun.
7215         * javax/swing/JComponent.java (paint): Fill with background color
7216         if available.
7217         (processComponentKeyEvent)
7218         (processFocusEvent)
7219         (processKeyEvent)
7220         (processMouseMotionEvent): Remove event-consuming empty methods.
7221         (getUIClassID): Return "ComponentUI" not "JComponent"
7222         * javax/swing/JFrame.java: Remove some debugging chatter.
7223         (JFrame): Subscribe to window events.
7224         * javax/swing/JRadioButton.java 
7225         (JRadioButton): Override painting flags.
7226         * javax/swing/JRootPane.java 
7227         (JRootPane): Set background from UIDefaults.
7228         * javax/swing/JToggleButton.java 
7229         (ToggleButtonModel): New inner class.
7230         (JToggleButton): Override layout alighment.
7231         * javax/swing/SwingUtilities.java:
7232         (getLocalBounds): Return width and height, not x and y.
7233         (calculateInnerArea): Use local bounds, not bounds.
7234         (layoutCompoundLabel): Provide overridden form.
7235         (layoutCompoundLabel): Correct bugs.
7236         * javax/swing/UIDefaults.java: Correct comment.
7237         * javax/swing/plaf/basic/BasicButtonUI.java: 
7238         Move most logic into defaults, external listener.
7239         (paintIcon): Implement icon painting.
7240         (paint): Fix state painting to conform to changes in model.
7241         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
7242         Remove most dead/wrong methods.
7243         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
7244         * javax/swing/plaf/basic/BasicIconFactory.java:
7245         (DummyIcon): New class.
7246         (getMenuItemCheckIcon)
7247         (getMenuItemArrowIcon) 
7248         (getMenuArrowIcon)
7249         (getCheckBoxMenuItemIcon)
7250         (getRadioButtonMenuItemIcon)
7251         (createEmptyFrameIcon): Return DummyIcons, not null.
7252         (getCheckBoxIcon): Implement an icon that looks like sun's.
7253         (getRadioButtonIcon): Implement an icon that looks like sun's.
7254         * javax/swing/plaf/basic/BasicLookAndFeel.java 
7255         (initComponentDefaults): Fix impossible values, add some missing.
7256         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
7257         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
7258         Remove most dead/wrong methods.
7259         (icon): New field.
7260         (getDefaultIcon): New method.
7261         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
7262         Remove most dead/wrong methods.
7263         * javax/swing/plaf/metal/MetalLookAndFeel.java
7264         (getDefaults): Return super.getDefaults(), not BasicDefaults.
7265         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
7266         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
7267         Implement "clearing" as drawing, when on pixmap drawables.
7268
7269         * javax/swing/JButton.java (getUIClassID): 
7270         * javax/swing/JCheckBox.java (getUIClassID):
7271         * javax/swing/JEditorPane.java (getUIClassID):
7272         * javax/swing/JLabel.java (getUIClassID): 
7273         * javax/swing/JList.java (getUIClassID): 
7274         * javax/swing/JOptionPane.java (getUIClassID): 
7275         * javax/swing/JPanel.java (getUIClassID): 
7276         * javax/swing/JPasswordField.java (uiClassID): 
7277         * javax/swing/JRadioButton.java (getUIClassID): 
7278         * javax/swing/JRootPane.java (getUIClassID): 
7279         * javax/swing/JScrollPane.java (getUIClassID): 
7280         * javax/swing/JTabbedPane.java (getUIClassID): 
7281         * javax/swing/JToggleButton.java (getUIClassID): 
7282         * javax/swing/JTree.java (getUIClassID): 
7283         * javax/swing/JViewport.java (getUIClassID): 
7284         * javax/swing/text/JTextComponent.java (getUIClassID):
7285         Return "fooUI" not "Jfoo"
7286
7287 2004-02-11  Michael Koch  <konqueror@gmx.de>
7288
7289         * java/net/DatagramSocket.java
7290         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
7291         Boolean object.
7292         (setBroadcast): Likewise.
7293         * java/net/MulticastSocket.java
7294         (setLoopbackMode): Likewise.
7295         * java/net/ServerSocket.java
7296         (setReuseAddress): Likewise.
7297         * java/net/Socket.java
7298         (setTcpNoDelay): Likewise.
7299         (setSoLinger): Likewise.
7300         (setOOBInline): Likewise.
7301         (setKeepAlive): Likewise.
7302         (setReuseAddress): Likewise.
7303         * java/net/URLConnection.java
7304         (setContentHandler): Replace == with equals().
7305         * java/net/URLStreamHandler.java
7306         (hostSEquals): Fix checking host addresses.
7307         (toExternalForm): Dont check protocol for null. We know already its
7308         not null.
7309
7310 2004-02-10  David Jee  <djee@redhat.com>
7311
7312         * java/awt/BorderLayout.java
7313         (calcCompSize): Invisible components get zero dimensions.
7314         * java/awt/Button.java
7315         (setLabel): Set actionCommand.
7316         * java/awt/Component.java
7317         (show): Invalidate component and parent container.
7318         (hide): Likewise.
7319
7320 2004-02-10  David Jee  <djee@redhat.com>
7321
7322         * java/awt/GridBagLayout.java
7323         (GridBagLayout): New private field, internalcomptable.
7324         (lookupInternalConstraints): New method.
7325         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
7326         (GetLayoutInfo): Reimplement.
7327         (calcCellSizes): Ignore rows/columns with size 0.
7328
7329 2004-02-10  Michael Koch  <konqueror@gmx.de>
7330
7331         * gnu/java/awt/EmbeddedWindow.java
7332         (setHandle): Use java.awt.Component.getPeer() instead of
7333         java.awt.Component.peer directly.
7334
7335 2004-02-10  David Jee  <djee@redhat.com>
7336
7337         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
7338         (gtkSetLabel): New native method definition.
7339         (setLabel): Use gtkSetLabel.
7340         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7341         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
7342
7343 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
7344
7345         * include/powerpc-signal.h: Revert 2004-01-21 change.
7346         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
7347         from syscall for ppc32 versions.
7348
7349 2004-02-08  Per Bothner  <per@bothner.com>
7350
7351         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
7352         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
7353         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
7354         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
7355         Pass ByteOrder parameter to most methods, since the underlying
7356         ByteBuffer's order isn't always what we should use.
7357         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
7358         * java/nio/DirectByteBufferImpl.java:  Likewise.
7359         Use ByteBufferHelper methods.
7360         * java/nio/MappedByteBufferImpl.java:  Likewise.
7361         (compact):  Use shiftDown.
7362         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
7363         (get, put):  Use ByteBufferHelper.
7364         (compact):  Use new shiftDown method.
7365         (duplicate(boolean)):  New helper method.
7366         (duplicate, asReadOnlyBuffer):  Use it.
7367         (order):  Return endian field.
7368         * java/nio/DoubleViewBufferImpl.java:  Likewise.
7369         * java/nio/FloatViewBufferImpl.java:  Likewise.
7370         * java/nio/IntViewBufferImpl.java:  Likewise.
7371         * java/nio/LongViewBufferImpl.java:  Likewise.
7372         * java/nio/ShortViewBufferImpl.java:  Likewise.
7373         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
7374         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
7375         (compact):  Re-implement using shiftDown.
7376
7377 2004-02-08  Andreas Jaeger  <aj@suse.de>
7378
7379         * include/x86_64-signal.h: Fix typo.
7380
7381 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
7382
7383         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
7384         qualifier to _regs.
7385         (HANDLE_DIVIDE_OVERFLOW): Likewise.
7386
7387 2004-02-06  Michael Koch  <konqueror@gmx.de>
7388
7389         * java/io/ObjectInputStream.java
7390         (currentClassLoader): Reverted to old version of this method.
7391
7392 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
7393
7394         * java/io/ObjectInputStream.java: Made all calls
7395         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
7396         use cached info from ObjectStreamClass. (readClassDescriptor):
7397         Cache more information in ObjectStreamClass. (processResolution,
7398         readFields): Use cached info from ObjectStreamClass.
7399         (newObject): Throw exception instead of returning null for failure.
7400         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
7401         setCharField, setDoubleField, setFloatField, setIntField,
7402         setLongField, setShortField, setObjectField, readObjectParams):
7403         Removed. (dumpElement, dumpElementln): Removed dump flag condition
7404         check.
7405         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
7406         (setClass): Added call to cacheMethods() (findMethod): New method.
7407         (cacheMethods): New method. (ObjectStreamClass): Added call to
7408         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
7409         AccessController.doPrivileged to invoke setAccessible.
7410         (readObjectMethod, readResolveMethod, realClassIsSerializable,
7411         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
7412         New fields.
7413         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
7414         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
7415         isPrimitive): Made safe for cases where type == null.
7416         (setBooleanField, setByteField, setCharField, setShortField,
7417         setIntField, setLongField, setFloatField, setDoubleField,
7418         setObjectField): New methods.
7419
7420 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
7421
7422         * java/awt/Component.java (getFont): Return a default font
7423         instead of null.
7424
7425         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
7426         (Scrollbar (int, int, int, int, int)): Make default page
7427         increment 10.
7428         (setValues): Only call peer.setValues if one of the values has
7429         changed.
7430         (generateName): New method.
7431         (getUniqueLong): New method.
7432         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
7433         (range_scrollbar): Remove structure.
7434         (post_adjustment_event): Remove function.
7435         (post_change_event): Accept jobject argument.
7436         (create): Cast jints to gdoubles.  Round scrollbar values to the
7437         nearest integer.  Clamp min, max and value settings.
7438         (connectJObject): Connect hook to widget->window.
7439         (connectSignals): Remove range_scrollbar structure variables.
7440         Remove "move-slider" connection.  Pass global peer reference to
7441         "value-changed" callback.
7442         (setLineIncrement): Cast jint value to gdouble.
7443         (setPageIncrement): Likewise.
7444         (setValues): Likewise.  Clamp min, max and value settings.
7445
7446 2004-02-05  Michael Koch  <konqueror@gmx.de>
7447
7448         * javax/swing/AbstractCellEditor.java
7449         (getCellEditorValue): Removed.
7450         * javax/swing/Box.java: Reformated.
7451         (serialVersionUID): New field.
7452         * javax/swing/ButtonGroup.java:
7453         Removed some weird whitespace.
7454         * javax/swing/CellEditor.java: Reformated.
7455         * javax/swing/CellRendererPane.java
7456         (serialVersionUID): New field.
7457         (AccessibleCellRendererPaneserialVersionUID): New field.
7458         * javax/swing/DefaultListModel.java
7459         (serialVersionUID): New field.
7460         * javax/swing/JEditorPane.java
7461         (serialVersionUID): New field.
7462         (setPage): Throws IOException.
7463         (addHyperlinkListener): Implemented.
7464         (removeHyperlinkListener): Implemented.
7465         (getHyperlinkListener): New method.
7466         * javax/swing/JFileChooser.java
7467         (serialVersionUID): New field.
7468         (AccessibleJFileChooser.serialVersionUID): New field.
7469         (addActionListener): Implemented.
7470         (removeActionListener): Implemented.
7471         (getActionListeners): New method.
7472         * javax/swing/JFormattedTextField.java
7473         (serialVersionUID): New field.
7474         (AbstractFormatter.serialVersionUID): New field.
7475         (clone): Throws CloneNotSupportedException
7476         (setEditValid): Add missing argument.
7477         (stringToValue): Throws ParseExcpetion.
7478         (valueToString): Throws ParseException.
7479         (commitEdit): Throws ParseException.
7480         * javax/swing/JLabel.java
7481         (serialVersionUID): New field.
7482         * javax/swing/JList.java
7483         (serialVersionUID): New field.
7484         (addListSelectionListener): Reformated.
7485         (removeListSelectionListener): Reformated.
7486         (getListSelectionListeners): New method.
7487         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
7488         Reformated.
7489         (serialVersionUID): New field.
7490         * javax/swing/table/AbstractTableModel.java
7491         (getValueAt): Removed.
7492         (getColumnCount): Removed.
7493         (getRowCount): Removed.
7494
7495 2004-02-05  Michael Koch  <konqueror@gmx.de>
7496
7497         * java/awt/datatransfer/DataFlavor.java
7498         (imageFlavor): Javadoc added.
7499         (javaJVMLocalObjectType): Fixed.
7500
7501 2004-02-05  Michael Koch  <konqueror@gmx.de>
7502
7503         * java/lang/Thread.java
7504         (Thread): Reordered.
7505         (setContextClassLoader): Fixed javadoc comment.
7506         (setPriority): Reordered.
7507         (yield): Reordered.
7508         (initialize_native): Reordered.
7509         (gen_name): Reordered.
7510
7511 2004-02-05  Michael Koch  <konqueror@gmx.de>
7512
7513         * java/lang/Thread.java: Reordered fields, reformated much code,
7514         no functional changes, some variables renamed, javadoc comments
7515         merged.
7516
7517 2004-02-05  Michael Koch  <konqueror@gmx.de>
7518
7519         * java/util/zip/Deflater.java,
7520         java/util/zip/DeflaterOutputStream.java,
7521         java/util/zip/GZIPInputStream.java:
7522         Reformated and javadoc comments merged from classpath.
7523
7524 2004-02-05  Michael Koch  <konqueror@gmx.de>
7525
7526         * gnu/java/nio/NIOServerSocket.java
7527         (impl): Unused, removed.
7528         * gnu/java/nio/SocketChannelImpl.java
7529         (finnishConnect): Don't throw NoConnectionPendingException if not
7530         connected or no connection pending.
7531
7532 2004-02-02  Graydon Hoare  <graydon@redhat.com>
7533
7534         * javax/swing/SwingUtilities.java: Many new functions.
7535         * java/awt/Container.java (LightweightDispatcher): Reimplement.
7536         * javax/swing/basic/BasicGraphicsUtils.java 
7537         (getPreferredButtonSize): Start layout from top-left corner.
7538
7539 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
7540
7541         * java/awt/geom/AffineTransform.java: 
7542         Corrected comments on the field definitions for
7543         m11 and m10.
7544         (shear): Fixed few errors that caused shear
7545         transformation to be performed incorrectly.
7546         (createInverse): Fixed to return correct
7547         inverse of the given matrix.
7548
7549 2004-02-03  Tom Tromey  <tromey@redhat.com>
7550
7551         * java/lang/natPosixProcess.cc (startProcess): Handle case where
7552         PATH or LD_LIBRARY_PATH is not set in parent environment.
7553
7554 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
7555
7556         * gnu/java/awt/peer/gtk/GtkListPeer.java,
7557         java/awt/BorderLayout.java, java/awt/CardLayout.java,
7558         java/awt/CheckboxGroup.java, java/awt/Choice.java,
7559         java/awt/Component.java, java/awt/Container.java,
7560         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
7561         java/awt/LayoutManager2.java, java/awt/List.java,
7562         java/awt/Menu.java, java/awt/MenuBar.java,
7563         java/awt/MenuItem.java, java/awt/Polygon.java,
7564         java/awt/Rectangle.java, java/awt/ScrollPane.java,
7565         java/awt/Scrollbar.java, java/awt/TextArea.java,
7566         java/awt/TextField.java,
7567         java/awt/image/renderable/RenderContext.java,
7568         javax/swing/JApplet.java: Fix handling of alias methods, where a
7569         method has been deprecated in favour of a new one with the same
7570         funtion but a different name.  Put the method implementation in
7571         the deprecated method and have the new method call the
7572         deprecated one.  Make all other code call the new method.
7573
7574 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
7575
7576         * gnu/java/nio/DatagramChannelImpl.java
7577         (inChannelOperation): New field.
7578         (isInChannelOperation): New accessor.
7579         (setInChannelOperation): New modifier.
7580         (receive): Use capacity() - position() of destination
7581         buffer instead of remaining(). Set and reset our "in
7582         channel operation indicator" before and after delegating
7583         the receive to our datagram socket. Removed testing code.
7584         Update destination buffer's current position if it is
7585         backed by a byte array (hasArray() is true).
7586         (send): Set and reset our "in channel operation indicator"
7587         before and after delegating the send to our datagram socket.
7588         Removed testing code. Update source buffer's current position
7589         if it is backed by a byte array (hasArray() is true).
7590         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
7591         Use capacity() - position() of destination buffer instead
7592         of remaining().
7593         * java/net/DatagramSocket.java (receive): Don't throw an
7594         IllegalBlockingModeException if we have a non-blocking
7595         channel which initiated this operation.
7596         (send): Likewise.
7597
7598 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
7599
7600         * configure.in: Add pkgconfig check for glib and gthread.
7601         * configure: Regenerate.
7602
7603 2004-02-01  Michael Koch  <konqueror@gmx.de>
7604
7605         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
7606         arguments.
7607         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
7608         * verify.cc (debug_print): Mark 'fmt' unused.
7609
7610 2004-01-30  Michael Koch  <konqueror@gmx.de>
7611
7612         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
7613         * configure: Regenerated.
7614         * glib-2.0.m4: Removed.
7615         * gtk-2.0.m4: Removed.
7616         * libart.m4: Removed.
7617         * pkg.m4: New file.
7618
7619 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
7620
7621         * gnu/java/net/PlainSocketImpl.java 
7622         (inChannelOperation): New field.
7623         (isInChannelOperation): New accessor.
7624         (setInChannelOperation): New modifier.
7625         * gnu/java/nio/ServerSocketChannelImpl.java
7626         (accept): Set and reset our server socket's PlainSocketImpl's
7627         "in channel operation" indicator before and after delegating
7628         the accept to our server socket.
7629         * gnu/java/nio/SocketChannelImpl.java
7630         (connect): Set and reset our socket's PlainSocketImpl's "in channel
7631         operation" indicator before and after delegating the operation to
7632         our socket.
7633         (read): Likewise.
7634         (write): Likewise.
7635         * java/net/ServerSocket.java (implAccept): Don't throw an
7636         IllegalBlockingModeException if we have a non-blocking
7637         channel which initiated this accept operation.
7638         * java/net/Socket.java (connect): Don't throw an
7639         IllegalBlockingModeException if we have a non-blocking
7640         channel which initiated this connect operation.
7641         * java/nio/channels/spi/AbstractSelectableChannel.java
7642         (configureBlocking): Only call implConfigureBlocking() if
7643         the desired blocking mode is different from our current one.
7644
7645 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
7646
7647         * java/io/BufferedReader.java (sbuf): New field.
7648         (readLine): Use String.valueOf instead of new String() as per
7649         Per Bothner's suggestion. Use instance sbuf field instead of a
7650         local StringBuffer instance.
7651         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
7652         caller's buffer to refill().
7653         (read(void)): Pass our internal work buffer to refill if our
7654         input queue is empty.
7655         (refill): Changed return type to int. Use the specified buffer
7656         instead of our work buffer as per Bryce McKinlay's suggestion.
7657         Return the number of characters read or -1 for EOF.
7658
7659 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
7660
7661         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
7662
7663 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
7664
7665         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
7666         * Makefile.in: Re-generated.
7667         * gnu/awt/xlib/XFontPeer.java: New file.
7668         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
7669         (setClip): Commented out debug printout.
7670         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
7671         (getFontPeer): Return XFontPeer.
7672         (getLocalGraphicsEnvironment): New method.
7673         (getClasspathFontPeer): New method.
7674         (createFont): New method.
7675
7676 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
7677
7678         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
7679         return null. 
7680
7681 2004-01-29  Kim Ho  <kho@redhat.com>
7682
7683         * gnu/java/awt/peer/gtk/GtkFramePeer.java
7684         (gtkLayoutSetVisible): New method
7685         (setMenuBar): Hide layout before setting MenuBar
7686         and reshow it after.
7687         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7688         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
7689
7690 2004-01-28  Michael Koch  <konqueror@gmx.de>
7691
7692         * gnu/java/lang/ClassHelper.java
7693         (getPackagePortion): Removed.
7694
7695 2004-01-28  Michael Koch  <konqueror@gmx.de>
7696
7697         * javax/swing/JComponent.java
7698         (listenerList): Initalize globally.
7699         (ancestor_list): Removed.
7700         (veto_list): Removed.
7701         (change_list): Removed.
7702         (get_veto_list): Removed.
7703         (get_change_list): Removed.
7704         (get_ancestor_list): Removed.
7705         (removeAncestorListener): Reimplemented.
7706         (removePropertyChangeListener): Likewise.
7707         (removeVetoableChangeListener): Likewise.
7708         (addAncestorListener): Likewise.
7709         (addPropertyChangeListener): Likewise.
7710         (addVetoableChangeListener): Likewise.
7711         (getListeners): New method.
7712         (getAncestorListeners): Likewise.
7713         (getVetoableChangeListeners): Likewise.
7714         (fireVetoableChange): Throws PropertyVetoException.
7715         * javax/swing/JEditorPane.java
7716         (JEditorPane): Throws IOException.
7717
7718 2004-01-28  David Jee  <djee@redhat.com>
7719
7720         * gnu/java/awt/peer/gtk/GtkFramePeer.java
7721         (create): Set the default foreground color to
7722         java.awt.SystemColor.windowText.
7723
7724 2004-01-27  Michael Koch  <konqueror@gmx.de>
7725
7726         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
7727         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
7728         Reindented to merge with classpath.
7729
7730 2004-01-27  David Jee  <djee@redhat.com>
7731
7732         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7733         (addExposeFilter): Handle GtkFramePeer separately.
7734         (removeExposeFilter): Likewise.
7735
7736 2004-01-27  Michael Koch  <konqueror@gmx.de>
7737
7738         * gnu/java/net/protocol/http/Connection.java
7739         (getOutputStream): Fixed typo.
7740
7741 2004-01-27  Michael Koch  <konqueror@gmx.de>
7742
7743         * java/lang/Class.java
7744         (getConstructor): Removed SecurityException from throws clause.
7745         (_getConstructors): Likewise.
7746         (getConstructors): Likewise.
7747         (getDeclaredConstructor): Likewise.
7748         (getDeclaredClasses): Likewise.
7749         (getDeclaredConstructors): Likewise.
7750         (getDeclaredField): Likewise.
7751         (getDeclaredMethod): Likewise.
7752         (getDeclaredMethods): Likewise.
7753         (getField): Likewise.
7754         (getMethod): Likewise.
7755         (getMethods): Likewise.
7756
7757 2004-01-27  Kim Ho  <kho@redhat.com>
7758
7759         * gnu/java/awt/peer/gtk/GtkFramePeer.java
7760         (removeMenuBarPeer): Remove MenuBarPeer argument.
7761         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
7762         (dispose): Call native method.
7763         * java/awt/Frame.java (setMenuBar): Create and remove
7764         MenuBar peers only if the Frame has a peer.
7765         (addNotify): Create the MenuBar peer if one exists.
7766         (removeNotify): Remove MenuBar peer if one exists.
7767         * java/awt/Menu.java: Fix imports.
7768         (addNotify): Don't use full class name.
7769         (removeNotify): Call removeNotify on all children.
7770         * java/awt/MenuBar.java (removeNotify): Call
7771         removeNotify on all children.
7772         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7773         (removeMenuBarPeer): Remove MenuBarPeer argument.
7774         Iterate through children to find the Frame's MenuBar.
7775         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
7776         New file.
7777         (dispose): Remove references to the MenuComponent.
7778
7779 2004-01-27  Michael Koch  <konqueror@gmx.de>
7780
7781         * javax/swing/AbstractCellEditor.java: Reformated.
7782         * javax/swing/DefaultListSelectionModel.java
7783         (listenerList): Made protected.
7784         (addListSelectionListener): Javadoc added.
7785         (removeListSelectionListener): Likewise.
7786         (getListeners): Likewise.
7787         (getListSelectionListeners): Likewise.
7788         * javax/swing/JComboBox.java: Merged copyright year.
7789         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
7790
7791 2004-01-26  Andrew Haley  <aph@redhat.com>
7792
7793         * javax/swing/table/JTableHeader.java: Extend JComponent
7794
7795 2004-01-26  Kim Ho  <kho@redhat.com>
7796
7797         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
7798         Fix spacing.
7799
7800 2004-01-26  Kim Ho  <kho@redhat.com>
7801
7802         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
7803         method.
7804         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
7805         height and let the Layout Managers readjust anything that
7806         needs to move.
7807         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7808         (moveLayout): New method. Shift everything in the Gtk
7809         layout in the Y direction by an offset.
7810
7811 2004-01-26  David Jee  <djee@redhat.com>
7812
7813         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7814         (handleEvent): Implemented. Handles PaintEvents.
7815         (paint): Implemented. Use GTK native methods to queue updates
7816         for this heavyweight peer.
7817         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
7818         (handleEvent): Removed.
7819         * java/awt/Component.java
7820         (paint): Implemented. Explictly paint the heavyweight peer.
7821         (update): Clear the background for heavyweight components.
7822         (paintAll): No need to call peer.paint() anymore.
7823         (processEvent): Don't process PaintEvents here. It's now done in
7824         the peer's handleEvent().
7825         (processPaintEvent): Removed.
7826         * java/awt/Container.java
7827         (paint): No need to call super.paint(). Visit heavyweight
7828         children as well.
7829         (update): Don't clear the background here.  It's done in
7830         Component.update().
7831         (visitChildren): Added check to not recurse into Containers.
7832         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7833         (filter_expose_event_handler): New method.  Filter unwanted
7834         expose events while painting heavyweight peers.
7835         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
7836         New method. Connect filter and block pre_event_handler.
7837         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
7838         New method. Disconnect filter and unblock pre_event_handler.
7839         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
7840         New method. Invalidate and update given area.
7841         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7842         (pre_event_handler): Add checks for unwanted expose events.
7843
7844 2004-01-26  David Jee  <djee@redhat.com>
7845
7846         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7847         (find_bg_color_widget): For GtkButton, return its child.
7848
7849 2004-01-26  Kim Ho  <kho@redhat.com>
7850
7851         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
7852         private.
7853         (setMenuBar): Grab MenuBar height and change insets.
7854         (setBounds): Account for MenuBar height.
7855         (postInsetsChangedEvent): Ditto.
7856         (postSizeAllocateEvent): Remove.
7857         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7858         (menubar_resize_cb): Remove
7859         (setMenuBarPeer): Remove callback.
7860         (getMenuBarHeight): Use size requisition instead of
7861         allocation.
7862
7863 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
7864
7865         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
7866         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
7867         when peer is null.
7868         (setColumns): Remove FIXME -- peer will retrieve number of
7869         columns by calling getColumns.
7870         (setRows): Likewise for number of rows.
7871         (next_text_number): New field.
7872         (paramString): Fix param string.
7873         (generateName): New method.
7874         (getUniqueLong): New method.
7875
7876 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
7877
7878         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
7879         image observer of image loading status.
7880         (getImage (String)): Start image production.
7881         (getImage (URL)): Likewise.
7882
7883 2004-01-25  Michael Koch  <konqueror@gmx.de>
7884
7885         * java/lang/Class.java: Imports reworked, reformated.
7886         (Class): Javadoc added.
7887         (forName): Likewise.
7888         (getClasses): Likewise.
7889         (getClassLoader): Likewise.
7890         (getComponentType): Likewise.
7891         (getConstructor): Likewise.
7892         (getConstructors): Likewise.
7893         (getDeclaredConstructor): Likewise.
7894         (getDeclaredClasses): Likewise.
7895         (getDeclaredConstructors): Likewise.
7896         (getDeclaredField): Likewise.
7897         (getDeclaredMethod): Likewise.
7898         (getDeclaredMethods): Likewise.
7899         (getDeclaringClass): Likewise.
7900         (getField): Likewise.
7901         (getInterfaces): Likewise.
7902         (getMethod): Likewise.
7903         (getMethods): Likewise.
7904         (getModifiers): Likewise.
7905         (getName): Likewise.
7906         (getResource): Likewise.
7907         (getResourceAsStream): Likewise.
7908         (getSigners): Likewise.
7909         (setSigners): Likewise.
7910         (getSuperclass): Likewise.
7911         (isArray): Likewise.
7912         (isAssignableFrom): Likewise.
7913         (isInstance): Likewise.
7914         (isInterface): Likewise.
7915         (isPrimitive): Likewise.
7916         (newInstance): Likewise.
7917         (getProtectionDomain): Likewise.
7918         (toString): Likewise.
7919         (Class): Moved.
7920         (initializeClass): Likewise.
7921         (finalize): Likewise.
7922
7923 2004-01-24  Michael Koch  <konqueror@gmx.de>
7924
7925         * gnu/java/net/protocol/jar/Connection.java
7926         (hdrHash): Removed.
7927         (hdrVec): Removed.
7928         (gotHeaders): Removed.
7929         (getHeaderField): Removed.
7930         (getHeaderFields): Removed.
7931         (getHeaderFieldKey): Removed.
7932         (getKey): Removed.
7933         (getField): Removed.
7934         (getHeaders): Removed.
7935
7936 2004-01-24  Michael Koch  <konqueror@gmx.de>
7937
7938         * Makefile.am: Added library version to gtk peer lib.
7939         * Makefile.in: Regenerated.
7940
7941 2004-01-24  Michael Koch  <konqueror@gmx.de>
7942
7943         * java/util/zip/InflaterInputStream.java: Merged class documentation
7944         with classpath.
7945
7946 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
7947
7948         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
7949         header.  For __powerpc64__ provide the default-signal.h definitions
7950         for now.
7951         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
7952         instead of the dummy definitions.
7953         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
7954         (powerpc64*-*): Remove with_libffi_default.
7955         Only add -mminimal-toc for 64-bit compilations.
7956         * configure.in: Use powerpc-signal.h on powerpc64 as well.
7957         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
7958         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
7959         * configure: Rebuilt.
7960
7961 2004-01-23  Michael Koch  <konqueror@gmx.de>
7962
7963         * gnu/java/nio/FileLockImpl.java: Compile fixes.
7964
7965 2004-01-23  Michael Koch  <konqueror@gmx.de>
7966
7967         * java/lang/VMClassLoader.java: Reworked imports.
7968         
7969 2004-01-23  Michael Koch  <konqueror@gmx.de>
7970
7971         * javax/swing/AbstractAction.java: Reformated.
7972
7973 2004-01-23  Michael Koch  <konqueror@gmx.de>
7974
7975         * java/text/CollationElementIterator.java:
7976         (setText): New method.
7977
7978 2004-01-23  Michael Koch  <konqueror@gmx.de>
7979
7980         * gnu/java/nio/FileLockImpl.java:
7981         Fixed filename in copyright.
7982         (released): Removed.
7983         (finalize): New method.
7984         * gnu/java/nio/natFileLockImpl.cc
7985         (releaseImpl): Implemented.
7986         * java/nio/channels/FileChannelImpl.java:
7987         Reworked imports.
7988         (lock): Implemented.
7989         (lockImpl): New method.
7990         (tryLock): Implemented.
7991         (tryLockImpl): New method.
7992         * java/nio/channels/natFileChannelImpl.cc
7993         (lockImpl): New method.
7994         (tryLockImpl): New method.
7995
7996 2004-01-23  Michael Koch  <konqueror@gmx.de>
7997
7998         * java/io/FileDescriptor.java
7999         (lock): New method.
8000         (tryLock): New method.
8001         (unlock): New method.
8002         * java/io/natFileDescriptorEcos.cc
8003         (lock): New method.
8004         (tryLock): New method.
8005         (unlock): New method.
8006         * java/io/natFileDescriptorPosix.cc
8007         (lock): New method.
8008         (tryLock): New method.
8009         (unlock): New method.
8010         * java/io/natFileDescriptorWin32.cc
8011         (lock): New method.
8012         (tryLock): New method.
8013         (unlock): New method.
8014
8015 2004-01-23  Michael Koch  <konqueror@gmx.de>
8016
8017         * java/io/FileDescriptor.java
8018         (sync): Moved around, added javadoc.
8019         (valid): Likewise.
8020         (open): Likewise.
8021         (write): Likewise.
8022         (close): Likewise.
8023         (setLength): Likewise.
8024         (seek): Likewise.
8025         (getLength): Likewise.
8026         (getFilePointer): Likewise.
8027         (read): Likewise.
8028         (available): Likewise.
8029         (finalize): Likewise.
8030
8031 2004-01-23  Michael Koch  <konqueror@gmx.de>
8032
8033         * javax/swing/AbstractAction.java: Reformated.
8034         (getPropertyChangeListeners): New method.
8035         * javax/swing/AbstractCellEditor.java: Reformated.
8036         (getCellEditorListeners): New method.
8037         * javax/swing/DefaultListSelectionModel.java
8038         (listenerList): New field.
8039         (listeners): Removed.
8040         (get_listeners): Removed.
8041         (addListSelectionListener): Rewritten.
8042         (removeListSelectionListener): Rewritten.
8043         (getListSelectionListeners): New method.
8044         (getListeners): New method.
8045         * javax/swing/JComboBox.java: Imports reworked.
8046         (addActionListener): Implemented.
8047         (removeActionListener): Implemented.
8048         (addItemListener): Implemented.
8049         (removeItemListener): Implemented.
8050         (addPopupMenuListener): Implemented.
8051         (removePopupMenuListener): Implemented.
8052         (getActionListeners): New method.
8053         (getItemListeners): New method.
8054         (getPopupMenuListeners): New method.
8055
8056 2004-01-23  Michael Koch  <konqueror@gmx.de>
8057
8058         * gnu/java/net/protocol/http/Connection.java
8059         (connect): Don't initialize bufferedOutputStream if not needed.
8060         (sendRequest): Set property for content length if content is present.
8061         Write content only if present.
8062         (getOutputStream): Check if already connected, dont connect,
8063         initalize bufferedOutputStream if needed.
8064
8065 2004-01-23  Michael Koch  <konqueror@gmx.de>
8066
8067         * java/io/FileDescriptor.java
8068         (in, out, err): Added javadoc.
8069         (static): Merged loading code.
8070         (fd, position): Moved around.
8071
8072 2004-01-23  Michael Koch  <konqueror@gmx.de>
8073
8074         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
8075         New file.
8076
8077 2004-01-23  Michael Koch  <konqueror@gmx.de>
8078
8079         * java/lang/Class.java,
8080         java/lang/Object.java,
8081         java/lang/Thread.java: Merged copyright with classpath.
8082
8083 2004-01-23  Michael Koch  <konqueror@gmx.de>
8084
8085         * java/io/FileDescriptor.java: Merged copyright with classpath to
8086         start merging this class.
8087
8088 2004-01-22  Tom Tromey  <tromey@redhat.com>
8089
8090         PR libgcj/13107:
8091         * testsuite/libjava.lang/pr13107_2.xfail: New file.
8092         * testsuite/libjava.lang/pr13107_3.xfail: New file.
8093         * testsuite/libjava.lang/pr13107_3.java: New file.
8094         * testsuite/libjava.lang/pr13107_3.out: New file.
8095         * testsuite/libjava.lang/pr13107_2.java: New file.
8096         * testsuite/libjava.lang/pr13107_2.out: New file.
8097         * testsuite/libjava.lang/pr13107.java: New file.
8098         * testsuite/libjava.lang/pr13107.out: New file.
8099         * verify.cc (jsr_ptrs): Removed.
8100         (entry_points): Likewise.
8101         (struct subr_info): Likewise.
8102         (struct subr_entry_info): Likewise.
8103         (type_val::unused_by_subroutine_type): Likewise.
8104         (type::merge): Don't handle unused_by_subroutine_type.
8105         (type::print): Likewise.
8106         (state::flags): Removed.
8107         (state::subroutine): Likewise.
8108         (state::seen_subrs): Likewise.
8109         (state::NO_STACK): Likewise.
8110         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
8111         (state): Updated all methods.
8112         (state::clean_subrs): Removed.
8113         (state::state): Removed `ret_semantics' flag.
8114         (state::copy): Likewise.
8115         (state::add_subr): Removed.
8116         (state::enter_subroutine): Likewise.
8117         (type::set_return_address): New method.
8118         (handle_jsr_insn): Set return address on the type.  Always
8119         invalidate PC after call.
8120         (check_nonrecursive_call): Removed.
8121         (~_Jv_BytecodeVerifier): Updated.
8122         (branch_prepass): Removed special handling of jsr.
8123         (note_branch_target): Likewise.
8124         (get_subroutine): Removed.
8125         (state::merge): Don't merge subroutines and don't handle
8126         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
8127         (state::note_variable): Removed.
8128         (state::is_unmerged_ret_state): Likewise.
8129         (state::print): Updated.
8130         (set_variable): Likewise.
8131         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
8132         and jsr_semantics arguments.  Updated for new reverification
8133         list.
8134         (pop_jump): Rewrote.
8135         (construct_primitive_array_type): Updated.
8136         (state::next): Removed.
8137         (INVALID_STATE): New define.
8138         (state::INVALID): Removed.
8139         (state::NO_NEXT): New value.
8140         (state::pc, state::next): New fields.
8141         (state::get_pc): New method.
8142         (next_verify_pc): Removed.
8143         (next_verify_state): New field.
8144         (verify_instructions_0): Always check for falling off end.
8145         (linked): New type.
8146         (linked_utf8): Removed.
8147         (states): Changed type.
8148         (type::state_mergeable_p): New method.
8149         (state::state_mergeable_p): Likewise.
8150         (handle_ret_insn): Removed most code.
8151         (state::reverify): New method.
8152         (add_new_state): Likewise.
8153         (state::set_pc): Likewise.
8154
8155 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
8156
8157         PR java/13733
8158         * testsuite/libjava.compile/PR13733.java: New file.
8159         * testsuite/libjava.compile/PR13733.xfail: New file.
8160
8161 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
8162             Michael Koch  <konqueror@gmx.de>
8163
8164         * javax/swing/table/DefaultTableCellRenderer.java
8165         (DefaultTableCellRenderer): Added javadoc for the class and for
8166         the constructor, Border instance, create an EmptyBorder.
8167         (UIResource): Removed the comment at the end of the class
8168         (setForeground): New method.
8169         (setBackground): New method.
8170         (updateUI): New method.
8171         (getTableCellRendererComponent): Rewritten with the help of
8172         dvholten and Stephane Meslin-Weber.
8173         (validate): New method.
8174         (repaint): New method.
8175         (firePropertyChange): New method.
8176         (setValue): New method.
8177
8178 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
8179
8180         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8181         (connectJObject): Replace printf calls with g_assert statements.
8182         Move property-notify-event signal connection to ...
8183         (connectSignals): Connect property-notify-event signal.  Iterate
8184         through the vbox's children to find layout.
8185
8186 2004-01-22  Graydon Hoare  <graydon@redhat.com>
8187         
8188         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
8189         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
8190         Predicate static initialization on GtkToolkit.useGraphics2D().
8191         * java/awt/Component.java (processPaintEvent): Consume event.
8192         * javax/swing/AbstractButton.java: Reimplement, document.
8193         * javax/swing/DefaultButtonModel.java: Reimplement, document.
8194         * javax/swing/JComponent.java (paint): Use double buffer.
8195         (listenerList): Enable member.
8196         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
8197         * javax/swing/JToggleButton.java 
8198         (JToggleButton): Modify model constructor.
8199         * javax/swing/SwingUtilities.java 
8200         (layoutCompoundLabel): Adjust arithmetic.
8201         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
8202         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
8203         (getPreferredButtonSize): Include margins in calculation.
8204         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8205         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
8206         Receive up events from subordinate layout component.
8207
8208 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8209
8210         * java/awt/Component.java (show): Set visible to true before
8211         showing the peer.
8212
8213 2004-01-21  Kim Ho  <kho@redhat.com>
8214
8215         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
8216         Fix comments.
8217         (removeMenuBarPeer): Make package private.
8218         (setMenuBarPeer): Make package private.
8219         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8220         (menubar_resize_cb): Mark attributes unused.
8221         (getMenuBarHeight): ditto.
8222
8223 2004-01-21  David Jee  <djee@redhat.com>
8224
8225         * java/awt/Container.java
8226         (LightweightDispatcher.handleEvent): Add an extra check to avoid
8227         dispatching MOUSE_ENTERED event twice. Translate the point for
8228         the mouse event target before dispatching the event.
8229
8230 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
8231
8232         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
8233         lib_org_w3c_dom_la_LDFLAGS): New.
8234         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
8235         * Makefile.in: Rebuilt.
8236
8237 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
8238
8239         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
8240         Calculate proper offsets for heavyweight components packed in
8241         lightweight containers.
8242
8243         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
8244         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
8245         (native create): Add width parameter.
8246         (create): Calculate text entry width based on current font's
8247         metrics and number of columns.  Set TextField's font if not
8248         already set.  Call native create.
8249         (gtkEntryGetBorderWidth): New native method.
8250         (gtkEntryGetSize): Remove method.
8251         (getMinimumSize): Call minimumSize.
8252         (getPreferredSize): Call preferredSize.
8253         (minimumSize): Calculate minimum size based on backing
8254         GtkEntry's borders, font metrics and number of columns.
8255         (preferredSize): Likewise for preferred size.
8256         (get_border_width): New static function.
8257
8258         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
8259         Override GtkWindowPeer's setResizable method to account for menu
8260         bar height when setting the frame's size.
8261
8262 2004-01-19  Matthias Klose  <doko@debian.org>
8263
8264         * libtool-version: Increased `current' to 6.
8265
8266 2004-01-19  Kim Ho  <kho@redhat.com>
8267
8268         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8269         (connectJObject): Iterate through the vbox's children to find layout.
8270
8271 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
8272
8273         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
8274         isDispatchThread method to replace wrong test condition.
8275
8276 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
8277
8278         * java/awt/EventQueue.java (pop): Prevent racing condition to add
8279         events to the queue out of order by acquiring locks in the proper
8280         order and not by releasing one before acquiring the other.
8281
8282 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
8283
8284         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
8285         visible so that dialog can be reused.
8286
8287 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
8288
8289         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
8290         events may be handled by any queue in the stack.
8291
8292 2004-01-19  Kim Ho  <kho@redhat.com>
8293
8294         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
8295         MenuBarPeer parameter.
8296         (removeMenuBarPeer): New native method.
8297         (setMenuBar): Call remove if menu bar is null. Adjust insets
8298         appropriately.
8299         (postSizeAllocateEvent): New method. Called when menu bar size is
8300         allocated. Adjust insets and redo layout.
8301         (GtkFramePeer): Set menu bar during frame creation.
8302         (postConfigureEvent): Adjust position and size to accomodate
8303         menu bar.
8304         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
8305         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
8306         (addNotify): Create the peer if it doesn't exist and call addNotify
8307         for the menu's items.
8308         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
8309         * java/awt/MenuItem.java (addNotify): Create the peer if it
8310         doesn't exist.
8311         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8312         (removeMenuBarPeer): New method. Remove menu bar on the current
8313         frame.
8314         (setMenuBarPeer): Add the menu bar to the current frame and the
8315         callback for size-allocate events on the menu bar.
8316         (getMenuBarHeight): Add menu bar parameter.
8317         (menubar_resize_cb): New callback method for postSizeAllocate events.
8318
8319         Also: Fix indentation on last ChangeLog entry.
8320
8321 2004-01-16  Kim Ho  <kho@redhat.com>
8322
8323         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
8324         (gtkWidgetGetDimensions): Remove.
8325         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8326         (gtkWidgetGetDimensions): Remove.
8327
8328 2004-01-16  Tom Tromey  <tromey@redhat.com>
8329
8330         * java/awt/Container.java: Typo and indentation fixes.
8331
8332         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
8333         * java/lang/natVMClassLoader.cc: ...here.  New file.
8334         * Makefile.in: Rebuilt.
8335         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
8336
8337 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
8338
8339         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
8340         Discard GDK_ENTER_NOTIFY related to ungrabs.
8341
8342 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
8343
8344         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
8345         is called for an intermediate queue.
8346
8347 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
8348
8349         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8350         (window_property_changed_cb): Set id_set.
8351
8352 2004-01-16  Kim Ho  <kho@redhat.com>
8353
8354         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
8355         it is a FileDialog and has dimensions of 0 by 0, then the initial
8356         size is set to size request plus insets.
8357         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
8358         (gtkWidgetGetDimensions): Override method.
8359         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8360         (gtkWidgetGetDimensions): Override method. Returns size request plus
8361         insets.
8362
8363 2004-01-16  Andrew Haley  <aph@redhat.com>
8364
8365         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
8366         * sysdep/i386/locks.h: Likewise.
8367
8368 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
8369
8370         * java/awt/EventDispatchThread.java (run): Stop running when
8371         interrupted.
8372         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
8373         Reset the queue after transferring its contents.
8374         (push): Start a new dispatch thread if none is running.
8375
8376 2004-01-16  Olga Rodimina <rodimina@redhat.com>
8377
8378         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8379         (doPolygon): set fill rule of polygon to 
8380         WIND_EVEN_ODD by default.
8381
8382 2004-01-15  Olga Rodimina <rodimina@redhat.com>
8383
8384         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8385         Implemented rendering hints related methods.
8386         (getDefaultHints): New helper method. Returns
8387         default rendering hints.
8388         (walkPath): changed to normalize path if
8389         the KEY_STROKE_CONTROL key is in "normalize" mode.
8390         (draw3DRect): changed coordinates of rectangle by +0.5
8391         if in "normalize" mode.
8392
8393 2004-01-15  Tom Tromey  <tromey@redhat.com>
8394
8395         * Makefile.in: Rebuilt.
8396         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
8397         (%.lo: %.java) Filter out StackTrace.lo.
8398
8399 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
8400
8401         * configure.in: Add in AC_PREREQ(2.13)
8402         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
8403         FIXME comment.
8404
8405 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
8406             Tom Tromey  <tromey@redhat.com>
8407
8408         PR libgcj/12001:
8409         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
8410         array to superclass.
8411         (init): Changed interface; add URLs here.
8412         (initialize): New static method.
8413         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
8414         (_Jv_RunMain): ... not here.
8415
8416 2004-01-14  Michael Koch  <konqueror@gmx.de>
8417
8418         * java/text/MessageFormat.java:
8419         Added descriptions to exceptions.
8420         This fixes PR libgcj/2429.
8421
8422 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
8423
8424         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
8425         (push): Make sure push is performed at the top of the thread stack.
8426
8427 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
8428
8429         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8430         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8431         (native create): Add width and height parameters.  Set text
8432         view's size request according to new parameters.
8433         (create): Calculate text view size based on current font's
8434         metrics and number of rows and columns.  Set TextArea's font if
8435         not already set.  Call native create.
8436         (getMinimumSize): Call minimumSize.
8437         (getPreferredSize): Call preferredSize.
8438         (getHScrollbarHeight): New method.
8439         (getVScrollbarWidth): New method.
8440         (minimumSize): Calculate minimum size based on scrollbar
8441         visibility, scrollbar sizes, font metrics and number of rows and
8442         columns.
8443         (preferredSize): Likewise for preferred size.
8444         (gtkTextGetSize): Remove method.
8445
8446 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
8447
8448         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8449         (initializeInsets): Remove method.
8450         (GtkComponentPeer): Initialize insets field.  Remove call to
8451         initializeInsets.
8452         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
8453         Remove method.
8454         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
8455         Remove method.
8456         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
8457         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
8458         (latestInsets): Remove field.
8459         (native create): Add insets parameter.  Call
8460         window_get_frame_extents.  Set the window's default size and
8461         size request based on its frame extents.
8462         (create): Initialize insets.
8463         (postInsetsChangedEvent): New method.
8464         (postConfigureEvent): Remove parameters top, left, bottom,
8465         right.  Remove insets-related logic.
8466         (connectJObject): Handle property-notify-event.
8467         (window_get_frame_extents, request_frame_extents,
8468         property_notify_predicate, window_property_changed_cb): New
8469         static functions.
8470         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8471         (pre_event_handler): Remove insets-related logic for configure
8472         events.
8473         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
8474         Update postConfigureEvent signature.
8475
8476 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
8477  
8478         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
8479         to handle Window "Closing" events.
8480  
8481 2004-01-13  David Jee  <djee@redhat.com>
8482
8483         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8484         (setBackground): New method. Children with no explicitly-set
8485         background will be repainted with the parent container's new
8486         background color.
8487
8488 2004-01-13  David Jee  <djee@redhat.com>
8489
8490         * Makefile.am: Add BitwiseXORComposite.java.
8491         * Makefile.in: Regenerated.
8492         * gcj/Makefile.in: Regenerated.
8493         * include/Makefile.in: Regenerated.
8494         * testsuite/Makefile.in: Regenerated.
8495
8496 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
8497
8498         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
8499         not show modal dialogs twice and so that it allows showing a modal
8500         dialog from another modal dialog.
8501
8502 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
8503
8504         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
8505         and run secondary dispatch thread to process event queue while this
8506         thread is blocked.
8507
8508 2004-01-12  Graydon Hoare  <graydon@redhat.com>
8509
8510         * gnu/java/awt/gtk/GdkGraphics2D.java
8511         (static): Check GtkToolkit before initializing static state.
8512         (Graphics2D): Don't construct transform with 0.5 unit offset.
8513
8514 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
8515
8516         * gnu/java/awt/BitwiseXORComposite.java: Add.
8517         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8518         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
8519         (BitwiseXORComposite): Remove inner class.
8520
8521 2004-01-11  Michael Koch  <konqueror@gmx.de>
8522
8523         * gnu/java/lang/reflect/TypeSignature.java
8524         (getEncodingOfClass): Documentation fixed.
8525         (getClassForEncoding): Give class loader to Class.forName().
8526         Documentation fixed.
8527
8528 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
8529
8530         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
8531
8532 2004-01-11  Michael Koch  <konqueror@gmx.de>
8533
8534         * javax/swing/undo/StateEditable.java
8535         (RCSID): Removed redundant modifiers.
8536
8537 2004-01-10  Michael Koch  <konqueror@gmx.de>
8538
8539         * javax/print/attribute/EnumSyntax.java
8540         (getStringTable): Made protected.
8541         (getEnumValueTable): Likewise.
8542         * javax/print/attribute/standard/JobKOctetsProcessed.java
8543         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
8544         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
8545         (JobMediaSheetsCompleted): Made class final.
8546         * javax/print/attribute/standard/OutputDeviceAssigned.java
8547         (getName): Fixed typo.
8548         * javax/print/attribute/standard/RequestingUserName.java
8549         (serialVersionUID): Fixed value.
8550
8551 2004-01-10  Michael Koch  <konqueror@gmx.de>
8552
8553         * javax/swing/plaf/basic/BasicButtonUI.java,
8554         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8555         javax/swing/plaf/basic/BasicListUI.java,
8556         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8557         javax/swing/plaf/basic/BasicPanelUI.java,
8558         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8559         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8560         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8561         javax/swing/plaf/basic/BasicViewportUI.java:
8562         Fixed import statements.
8563
8564 2004-01-10  Michael Koch  <konqueror@gmx.de>
8565
8566         * gnu/java/awt/image/ImageDecoder.java
8567         (produce): Made public.
8568         * gnu/java/awt/peer/GLightweightPeer.java,
8569         gnu/java/awt/peer/gtk/GtkToolkit.java:
8570         Reformated.
8571
8572 2004-01-10  Michael Koch  <konqueror@gmx.de>
8573
8574         * javax/swing/JRadioButtonMenuItem.java,
8575         javax/swing/JSeparator.java,
8576         javax/swing/JSplitPane.java,
8577         javax/swing/JTextPane.java,
8578         javax/swing/JToolBar.java,
8579         javax/swing/ListCellRenderer.java,
8580         javax/swing/ListModel.java,
8581         javax/swing/MenuElement.java,
8582         javax/swing/OverlayLayout.java,
8583         javax/swing/ProgressMonitor.java,
8584         javax/swing/ProgressMonitorInputStream.java,
8585         javax/swing/Renderer.java,
8586         javax/swing/RootPaneContainer.java,
8587         javax/swing/Scrollable.java,
8588         javax/swing/SingleSelectionModel.java,
8589         javax/swing/ToolTipManager.java,
8590         javax/swing/ViewportLayout.java,
8591         javax/swing/event/DocumentEvent.java,
8592         javax/swing/event/SwingPropertyChangeSupport.java,
8593         javax/swing/event/TreeSelectionEvent.java,
8594         javax/swing/event/UndoableEditEvent.java,
8595         javax/swing/text/AbstractDocument.java,
8596         javax/swing/text/AttributeSet.java,
8597         javax/swing/text/Caret.java,
8598         javax/swing/text/ComponentView.java,
8599         javax/swing/text/DefaultCaret.java,
8600         javax/swing/text/DefaultEditorKit.java,
8601         javax/swing/text/Document.java,
8602         javax/swing/text/EditorKit.java,
8603         javax/swing/text/GapContent.java,
8604         javax/swing/text/Keymap.java,
8605         javax/swing/text/MutableAttributeSet.java,
8606         javax/swing/text/PlainEditorKit.java,
8607         javax/swing/text/Segment.java,
8608         javax/swing/text/Style.java,
8609         javax/swing/text/StyledDocument.java,
8610         javax/swing/text/StyledEditorKit.java,
8611         javax/swing/text/TextAction.java,
8612         javax/swing/text/View.java: Fixed import statements.
8613
8614 2004-01-08  Graydon Hoare  <graydon@redhat.com>
8615
8616         * javax/swing/JLayeredPane.java: Rewrite to accomodate
8617         djee@redhat.com's recent inverse ordering of Container elements.
8618
8619 2004-01-09  Michael Koch  <konqueror@gmx.de>
8620
8621         * gnu/java/lang/ArrayHelper.java
8622         (equalsArray): Removed.
8623
8624 2004-01-09  Andrew Haley  <aph@redhat.com>
8625
8626         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
8627         a Utf8Const field before looking at its class.
8628
8629 2004-01-09  Michael Koch  <konqueror@gmx.de>
8630
8631         * javax/print/attribute/standard/DocumentName.java,
8632         javax/print/attribute/standard/JobHoldUntil.java,
8633         javax/print/attribute/standard/JobMessageFromOperator.java,
8634         javax/print/attribute/standard/JobName.java,
8635         javax/print/attribute/standard/JobOriginatingUserName.java,
8636         javax/print/attribute/standard/OutputDeviceAssigned.java,
8637         javax/print/attribute/standard/PrinterInfo.java,
8638         javax/print/attribute/standard/PrinterLocation.java,
8639         javax/print/attribute/standard/PrinterMakeAndModel.java,
8640         javax/print/attribute/standard/PrinterMessageFromOperator.java,
8641         javax/print/attribute/standard/PrinterName.java,
8642         javax/print/attribute/standard/RequestingUserName.java: New files.
8643         * Makefile.am (javax_source_files): Added new files.
8644         * Makefile.in: Regenerated.
8645
8646 2004-01-09  Michael Koch  <konqueror@gmx.de>
8647
8648         * javax/swing/AbstractAction.java,
8649         javax/swing/AbstractSet.java,
8650         javax/swing/Action.java,
8651         javax/swing/ActionMap.java,
8652         javax/swing/BoundedRangeModel.java,
8653         javax/swing/ButtonModel.java,
8654         javax/swing/CellEditor.java,
8655         javax/swing/CellRendererPane.java,
8656         javax/swing/ComboBoxEditor.java,
8657         javax/swing/DebugGraphics.java,
8658         javax/swing/DefaultCellEditor.java,
8659         javax/swing/DefaultCellRenderer.java,
8660         javax/swing/DefaultComboBoxModel.java,
8661         javax/swing/DefaultDesktopManager.java,
8662         javax/swing/DefaultFocusManager.java,
8663         javax/swing/DefaultListCellRenderer.java,
8664         javax/swing/Icon.java,
8665         javax/swing/JButton.java,
8666         javax/swing/JCheckBoxMenuItem.java,
8667         javax/swing/JDesktopPane.java,
8668         javax/swing/JEditorPane.java,
8669         javax/swing/JMenu.java,
8670         javax/swing/JPanel.java,
8671         javax/swing/JPasswordField.java,
8672         javax/swing/JPopupMenu.java,
8673         javax/swing/JProgressBar.java: Reworked imports.
8674
8675 2004-01-09  Michael Koch  <konqueror@gmx.de>
8676
8677         * java/awt/geom/PathIterator.java
8678         (WIND_EVEN_ODD): Removed redundant modifiers.
8679         (WIND_NON_ZERO): Likewise.
8680         (SEG_MOVETO): Likewise.
8681         (SEG_LINETO): Likewise.
8682         (SEG_QUADTO): Likewise.
8683         (SEG_CUBICTO): Likewise.
8684         (SEG_CLOSE): Likewise.
8685         * java/awt/image/SinglePixelPackedSampleModel.java:
8686         Removed redundant semicolon.
8687         * java/io/ObjectInputStream.java
8688         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
8689         * java/util/logging/Filter.java
8690         (isLoggable): Removed redundant modifier.
8691         * java/util/logging/LogManager.java:
8692         Removed redundant semicolon.
8693         * java/util/logging/XMLFormatter.java
8694         (format): Removed unused variable "key".
8695
8696 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
8697
8698         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
8699         New name for the former setFile native method.
8700         (setFile): New method.
8701         (setDirectory): Implemented.
8702         (connectSignals): New native method.
8703         (setFilenameFilter): Improve comment.
8704         (getGraphics): Comment.
8705         (gtkHideFileDialog): New method.
8706         (gtkDisposeFileDialog): New method.
8707         (gtkSetFilename): New method.
8708         * java/awt/Dialog.java (show): Block on modal dialogs, but only
8709         for FileDialog for now.
8710         (hide): New method.
8711         (dispose): New method.
8712         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8713         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
8714         deprecated creation functions.  Make dialog modal.  Add it to the
8715         window group.
8716         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
8717         function.
8718         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
8719         Rename to...
8720         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
8721         name.
8722         (window_closed): New function.
8723         (ok_clicked): New function.
8724         (cancel_clicked): New function.
8725
8726 2004-01-08  Michael Koch  <konqueror@gmx.de>
8727
8728         * javax/swing/JLayeredPane.java: Revert changes to standard
8729         boilerplate, reworked imports.
8730
8731 2004-01-07  Tom Tromey  <tromey@redhat.com>
8732
8733         PR libgcj/13439:
8734         * verify.cc (state::merge): Copy changed locals out of subroutine
8735         in NO_STACK case.
8736         (state::FLAG_CHANGED): New const.
8737         (state::FLAG_UNUSED): Likewise.
8738         (state::local_changed): Removed.  Updated all users.
8739         (state::flags): New field.
8740         (state::merge): Added jsr_semantics argument, more logic.
8741         (push_jump_merge): Added jsr_semantics argument.
8742         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
8743         merging through the jsr instruction.
8744
8745 2004-01-07  Tom Tromey  <tromey@redhat.com>
8746
8747         * scripts/MakeDefaultMimeTypes.java: Use \n, not
8748         backslash-newline.
8749
8750 2004-01-07  Graydon Hoare  <graydon@redhat.com>
8751
8752         * java/awt/Container.java (LightweightDispatcher): Implement.
8753         (visitChild): Reuse graphics object.
8754         (dispatchEventImpl): Optionally dispatch to lightweight.
8755         (addNotifyContainerChildren): Build LightweightDispatcher.
8756
8757 2004-01-07  David Jee  <djee@redhat.com>
8758
8759         * java/awt/Container.java
8760         (update): Clear only the clipped region, instead of clearing the
8761         entire Container.
8762         (visitChildren): Visit children in descending order.
8763
8764 2004-01-07  Michael Koch  <konqueror@gmx.de>
8765
8766         * java/lang/reflect/Array.java: Merged documentation with classpath.
8767
8768 2004-01-07  Michael Koch  <konqueror@gmx.de>
8769
8770         * java/text/CollationElementIterator.java
8771         (textIndex): Renamed from index.
8772         * java/text/CollationKey.java
8773         (collator): New member.
8774         (CollationKey): New argument for parent collator.
8775         (equals): Check for same collator, source string and key array.
8776         * java/text/RuleBasedCollator.java:
8777         Reformated.
8778         (RuleBasedCollator): Don't re-initialize frenchAccents with default
8779         value.
8780         (getCollationElementIterator): Rewritten.
8781         (getCollationKey): Added new argument to CollationKey constructor.
8782
8783 2004-01-07  Michael Koch  <konqueror@gmx.de>
8784
8785         * gnu/java/nio/DatagramChannelImpl.java
8786         (blocking): Removed.
8787         (DatagramChannelImpl): Call configureBlocking().
8788         (implConfigureBlocking): Dont initialize blocking.
8789         * gnu/java/nio/ServerSocketChannelImpl.java
8790         (blocking): Removed.
8791         (ServerSocketChannelImpl): Call configureBlocking().
8792         (implConfigureBlocking): Dont initialize blocking.
8793         * gnu/java/nio/SocketChannelImpl.java
8794         (blocking): Removed.
8795         (SocketChannelImpl): Call configureBlocking().
8796         (implConfigureBlocking): Dont initialize blocking.
8797         (connect): Use isBlocking().
8798         * java/nio/channels/spi/AbstractSelectableChannel.java
8799         (configureBlocking): Use blockingLock() instead of LOCK.
8800         Set blocking after successfully called implConfigureBlocking().
8801         (register): Use blockingLock() instead of LOCK.
8802
8803 2004-01-07  Michael Koch  <konqueror@gmx.de>
8804
8805         * java/net/ServerSocket.java (isBound): Fixed documentation.
8806
8807 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
8808
8809         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
8810         (changeEvent): Create event object on demand.
8811         (DefaultBoundedRangeModel, toString, setValue, setExtent,
8812         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
8813         fireStateChanged): Re-written.
8814         * javax/swing/event/EventListenerList.java: Reformatted, document
8815         typical usage.
8816         (toString): Implemented.
8817         (getListeners): Re-written.
8818         (remove): Re-written.
8819         (add): Re-written.
8820         (NO_LISTENERS): New singleton field.
8821         (listenerList): Declare as transient; document.
8822         (serialVersionUID): Document.
8823         (getListenerCount(Class)): More efficient implementation,
8824         also accepts null argument.  Improve Javadoc.
8825         (getListenerCount()): Remove unnecessary cast; docfix.
8826         * javax/swing/undo/UndoableEditSupport.java:
8827         Re-format, document.
8828         (UndoableEditSupport): Set realSource field. Improve documentation.
8829         (_postEdit): Iterate over cloned listener vector.
8830         (toString): Don't emit realSource.
8831         (beginUpdate, endUpdate): Support nested updates.
8832         (postEdit): Use compound edit if present.
8833
8834 2004-01-06  Graydon Hoare  <graydon@redhat.com>
8835
8836         * java/awt/Container.java (swapComponents): Add forgotten
8837         function, required for JLayeredPane change.
8838
8839 2004-01-06  Michael Koch  <konqueror@gmx.de>
8840
8841         * java/text/CollationElementIterator.java: Reformated.
8842         (CollationElementIterator): Changed order of arguments.
8843         * java/text/RuleBasedCollator.java
8844         (RuleBasedCollator): Merged class documentation.
8845         (CollationElement): Added documentation.
8846         (compare): Reformated, renamed arguments.
8847         (equals): Likewise.
8848         (getCollationElementIterator): Likewise.
8849         (getCollationKey): Likewise.
8850
8851 2004-01-06  Graydon Hoare  <graydon@redhat.com>
8852
8853         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
8854
8855 2004-01-06  Michael Koch  <konqueror@gmx.de>
8856
8857         * gnu/java/net/protocol/file/Connection.java:
8858         Reformated copyright.
8859         (hdrHash): Removed.
8860         (hdrVec): Removed.
8861         (gotHeaders): Removed.
8862         (getHeaderField): Removed.
8863         (getHeaderField): Removed.
8864         (getHeaderFieldKey): Removed.
8865         (getKey): Removed.
8866         (getField): Removed.
8867         (getHeaders): Removed.
8868
8869 2004-01-06  Michael Koch  <konqueror@gmx.de>
8870
8871         * javax/print/attribute/standard/DateTimeAtCompleted.java,
8872         javax/print/attribute/standard/DateTimeAtCreation.java,
8873         javax/print/attribute/standard/DateTimeAtProcessing.java,
8874         javax/print/attribute/standard/JobImpressionsCompleted.java,
8875         javax/print/attribute/standard/JobKOctets.java,
8876         javax/print/attribute/standard/JobKOctetsProcessed.java,
8877         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
8878         javax/print/attribute/standard/JobPrioritySupported.java: New files.
8879         * Makefile.am (javax_source_files): Added new files.
8880         * Makefile.in: Regenerated.
8881
8882 2004-01-06  Michael Koch  <konqueror@gmx.de>
8883
8884         * java/net/URLConnection.java
8885         (contentHandler): Removed.
8886         (locale): Removed.
8887         (getHeaderFields): Return an empty map instead of null.
8888         (getContent): Connect if needed, renamed "cType" to "type" and
8889         "contentHandler" to "ch" and made it a local variable.
8890         (getPermission): Don't use package in class name.
8891         (setDefaultRequestProperty): Fixed typo in documentation.
8892         (initializeDateFormats): Made locale a local variable.
8893
8894 2004-01-06  Michael Koch  <konqueror@gmx.de>
8895
8896         * java/lang/Package.java
8897         (getPackage): Get the current class loader directly.
8898         * java/lang/SecurityManager.java
8899         (currentLoadedClass): Dont iterate over class contexts.
8900         (classLoaderDepth): Don't check class loaders if everything is allowed.
8901
8902 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
8903
8904         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8905         (pre_event_handler): Set all insets to 0 when a Configure event
8906         is received for a GtkPlug.
8907         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
8908         Make handle long, not int.
8909         (EmbeddedWindow()): New constructor.
8910         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
8911         long, not int.
8912         (setHandle): New method.
8913         (getHandle): Return long, not int.
8914         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
8915         declaration.
8916         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
8917         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
8918         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
8919         argument to GdkNativeWindow.
8920         (construct): New method.
8921         (embed): New method.
8922
8923         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
8924         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
8925         (create(int, int)): New method.
8926         (create): Call new create method.
8927         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
8928         methods.
8929         (childResized): Remove native implementation.  Implement in
8930         Java.
8931         (getHScrollbarHeight, getVScrollbarWidth): Call
8932         gtk_widget_size_request to get scrollbar dimensions.
8933         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
8934         call getVScrollbarWidth and getHScrollbarHeight when vertical
8935         and horizontal scrollbars respectively are needed.
8936         (doLayout): Enlarge child if it is smaller than the viewport.
8937
8938 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
8939
8940         * java/awt/Dialog.java (constructor): Accept null title as per spec.
8941         * java/awt/FileDialog.java (constructor): Throw exception on invalid
8942         argument as per spec.
8943
8944 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
8945
8946         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
8947         (insert): Ditto.
8948         (remove): Ditto.  Also, Check for valid argument.
8949         (removeAll): Use peer interface method.
8950         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
8951         native add function.
8952         (nativeRemove): New name for native remove function.
8953         (getHistory): New native function.
8954         (constructor): Generate ItemEvent.
8955         (add): Ditto, if selection is changed.
8956         (remove): Ditto, ditto.
8957         (removeAll): Add implementation.
8958         (handleEvent): Remove.  Dead code.
8959         (choicePostItemEvent): Add comment.
8960         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8961         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
8962         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
8963         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
8964         comments and fix condition to change selection.
8965         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
8966         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
8967         remove all capability.
8968         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
8969         (item_activate): Add cast to remove compiler warning.
8970
8971 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
8972
8973         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8974         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8975         (getPreferredSize): Call preferredSize.
8976         (preferredSize): Call gtkWidgetGetPreferredDimensions.
8977         (getMinimumSize): Call minimumSize.
8978         (minimumSize): Call gtkWidgetGetPreferredDimensions.
8979         (gtkWidgetGetDimensions): Return the peer widget's current size
8980         request.
8981         (gtkWidgetGetPreferredDimensions): Return the peer widget's
8982         natural size request.
8983
8984 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
8985
8986         Thanks to Brian Gough <bjg@network-theory.com>
8987         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
8988         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
8989
8990 2004-01-04  Matthias Klose  <doko@debian.org>
8991
8992         * aclocal.m4: Rebuilt using "aclocal -I .".
8993         * configure: Rebuilt.
8994
8995 2004-01-03  Per Bothner  <per@bothner.com>
8996
8997         * java/util/Date.java (parse):  Fix a number of problems.
8998         (skipParens):  Remove no-longer-needed method.
8999