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