OSDN Git Service

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