OSDN Git Service

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