OSDN Git Service

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