]> gcc.gnu.org Git - gcc.git/blame - libjava/ChangeLog
Makefile.am: Don't try to include deps.mk.
[gcc.git] / libjava / ChangeLog
CommitLineData
93177580
MK
12004-09-09 Michael Koch <konqueror@gmx.de>
2
3 * Makefile.am: Don't try to include deps.mk.
4 * Makefile.in: Regenerated.
5
2e8401ae
BM
62004-09-08 Bryce McKinlay <mckinlay@redhat.com>
7
8 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
9 .d files.
10 * configure: Rebuilt.
11
56fa138b
ME
122004-09-04 Mohan Embar <gnustuff@thisiscool.com>
13
14 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
15 Changed pfn from static local to local.
16
351cfd8b
BM
172004-09-03 Bryce McKinlay <mckinlay@redhat.com>
18 H.J. Lu <hongjiu.lu@intel.com>
19
20 PR libgcj/17290
21 * Makefile.am (GCJCOMPILE): Remove definition.
22 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
23 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
24 * Makefile.in: Rebuilt.
25
48d0dd75
KC
262004-09-03 Kelley Cook <kcook@gcc.gnu.org>
27
28 * configure.ac (enable-gc-debug): Update help for new syntax.
29 * configure: Regenerate.
30
321c496b
DD
312004-09-03 David Daney <ddaney@avtrex.com>
32
33 * include/mips-signal.h: Update copyright.
34
04efec81
DD
352004-09-03 David Daney <ddaney@avtrex.com>
36
37 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
38 * include/mips-signal.h: Added HANDLE_FPE support.
39
57579172
GH
402004-08-31 Michael Koch <konqueror@gmx.de>
41
42 * javax/swing/plaf/basic/BasicTextAreaUI.java
43 (create): New method.
44 * javax/swing/text/DefaultHighlighter.java
45 (DefaultHighlightPainter.debugRect): Removed.
46 * javax/swing/text/StyleContext.java
47 (DEFAULT_STYLE): New field.
48
492004-08-31 Michael Koch <konqueror@gmx.de>
50
51 * javax/swing/plaf/basic/BasicLookAndFeel.java
52 (initComponentDefaults): Add keybindings for selection.backward and
53 selection-forward for text components.
54 * javax/swing/plaf/basic/BasicTextUI.java
55 (paintSafely): Paint highlight only when something is actually
56 selected.
57 * javax/swing/text/DefaultCaret.java
58 (handleHighlight): New method.
59 (setSelectionVisible): Don't do anything when nothing changes.
60 Handle highlight.
61 (moveDot): Reimplemented. Handle highlight.
62 (setDot): Set mark too. Handle highlight.
63 (getSelectionPainter): New method.
64 * javax/swing/text/DefaultEditorKit.java
65 (defaultActions): Added new actions for text selection.
66 * javax/swing/text/DefaultHighlighter.java
67 (DefaultHighlightPainter): New inner class.
68 (DefaultPainter): New field.
69 (paint): Implemented.
70 * javax/swing/text/PlainView.java
71 (paint): Don't draw background here again.
72 * javax/swing/text/Utilities.java
73 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
74 (drawTabbedText): Likewise.
75
762004-08-31 Graydon Hoare <graydon@redhat.com>
77
78 * javax/swing/JComponent.java
79 (resetKeyboardActions): Add null checks.
80
812004-08-31 Graydon Hoare <graydon@redhat.com>
82
83 * javax/swing/DefaultButtonModel.java:
84 Skip group notification when no group is set.
85
862004-08-31 Graydon Hoare <graydon@redhat.com>
87
88 * javax/swing/JColorChooser.java:
89 Make a couple inner classes static, for jikes.
90
912004-08-31 Michael Koch <konqueror@gmx.de>
92
93 * javax/swing/plaf/basic/BasicTextUI.java
94 (RottView.modelToView): New method.
95 (UpdateHandler): Renamed from EventHandler.
96 (updateHandler): Renamed from eventHandler.
97 (modelToView): Implemented.
98 * javax/swing/text/AbstractDocument.java
99 (BranchElement.getElement): Return null for non-existing indeces.
100 (BranchElement.getElementIndex): Return 0 in some corner cases.
101 * javax/swing/text/FieldView.java
102 (modelToView): New method.
103 * javax/swing/text/PlainView.java
104 (modelToView): Made public.
105
1062004-08-31 Kim Ho <kho@redhat.com>
107
108 * Makefile.am: New files.
109 * Makefile.in: Regenerate.
110 * gcj/Makefile.in: Regenerate.
111 * include/Makefile.in: Regenerate.
112 * java/awt/Color.java: Fix documentation.
113 (RGBtoHSB): Use floats for conversions.
114 * javax/swing/ButtonGroup.java: Run Jalopy.
115 (setSelected): Reimplement.
116 * javax/swing/DefaultButtonModel.java: Run Jalopy.
117 (changeState): Let ButtonGroup know that the button
118 is changing state.
119 * javax/swing/JColorChooser.java: Implement.
120 * javax/swing/JLabel.java: Run Jalopy.
121 * javax/swing/JSpinner.java: Run Jalopy.
122 (setValue): New method.
123 * javax/swing/JTabbedPane.java: Run Jalopy.
124 (removeTabAt): Call correct remove method.
125 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
126 (getPreviousValue): Compare minimum value.
127 * javax/swing/Timer.java: Run Jalopy.
128 (run): Comment out println.
129 * javax/swing/ToolTipManager.java:
130 (mouseMoved): Get new tooltip text for location.
131 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
132 Jalopy and Javadoc.
133 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
134 Implement.
135 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
136 Run Jalopy.
137 (setSelectedColor): Fire ChangeEvent.
138 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
139 New file. Implement.
140 * javax/swing/colorchooser/DefaultPreviewPanel.java:
141 Ditto.
142 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
143 Ditto.
144 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
145 Ditto.
146 * javax/swing/plaf/basic/BasicArrowButton.java:
147 (getArrow): Fix size of upward pointing button.
148 * javax/swing/plaf/basic/BasicColorChooserUI.java:
149 Implement.
150 * javax/swing/plaf/basic/BasicSliderUI.java:
151 (getWidthOfWidestLabel): Use preferred dimensions.
152 (getHeightOfTallestLabel): Ditto.
153 * javax/swing/plaf/basic/BasicSpinnerUI.java:
154 Run Jalopy.
155 (mousePressed): Disable changes to spinner if it is not enabled.
156 * testsuite/Makefile.in: Regenerate.
157
158
1592004-08-31 Michael Koch <konqueror@gmx.de>
160
161 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
162 javax/swing/plaf/basic/BasicTableUI.java:
163 Added copyright notice.
164
1652004-08-31 Olga Rodimina <rodimina@redhat.com>
166
167 * Makefile.am: Added new files.
168 * Makefile.in: Regenerate.
169 * javax/swing/ComboBoxEditor.java: Added javadocs.
170 * javax/swing/ComboBoxModel.java: Likewise.
171 * javax/swing/DefaultComboBoxModel.java: Implemented.
172 * javax/swing/DefaultListCellRenderer.java: Added javadocs
173 and ran through jalopy to fix formatting style.
174 (getListCellRendererComponent): Use appropriate border
175 if renderer has focus and use noFocusBorder when it doesn't.
176 * javax/swing/JComboBox.java: Implemented.
177 * javax/swing/JList.java:
178 (locationToIndex): New Method. Implemented.
179 (indexToLocation): New Method.
180 * javax/swing/JPopupMenu.java:
181 (visible): New field.
182 (isVisible): Changed to use new field above.
183 (setVisible): Likewise.
184 * javax/swing/MutableComboBoxModel.java: Added javadocs.
185 * javax/swing/plaf/basic/BasicArrowButton.java:
186 (shadow): Changed default color to Color.gray.
187 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
188 UI delegate for JComboBox.
189 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
190 Popup menu containing list of JComboBox's items.
191 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
192 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
193 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
194 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
195 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
196 (popupMenuWillBecomeVisible): Set selected path to the first
197 element only if it is of type MenuElement. Also fix formatting
198 style.
199 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
200 methods signatures.
201
2022004-08-31 Michael Koch <konqueror@gmx.de>
203
204 * javax/swing/text/AbstractDocument.java
205 (createBranchElement): Use new constructor of BranchElement.
206 (createLeafElement): Renamed arguments.
207 (getRootElements): Implemented.
208 (BranchElement.start): Removed.
209 (BranchElement.end): Likewise.
210 (BranchElement.BranchElement): Fixed arguments.
211 (BranchElement.getEndOffset): Reimplemented.
212 (BranchElement.getStartOffset): Likewis.
213 * javax/swing/text/DefaultCaret.java
214 (paint): Draw simple vertical line as caret instead of a rectangle.
215 * javax/swing/text/JTextComponent.java
216 (setText): Use doc directly.
217 * javax/swing/text/PlainView.java
218 (nextTabStop): Implemented.
219 * javax/swing/text/Utilities.java
220 (drawTabbedText): nextTabStop() returns an absolute x position.
221 (getTabbedTextWidth): Likewise.
222
2232004-08-31 Graydon Hoare <graydon@redhat.com>
224
225 * java/awt/Component.java
226 (isFocusTraversable): Predicate on isLightweight()
227 (setFocusable): Set isFocusTraversableOverridden.
228 (requestFocus): Predicate peer dispatch on !isLightweight()
229 (requestFocusInWindow): Likewise.
230 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
231 * java/awt/Container.java
232 (dispatchEventImpl): Predicate on event mask.
233 (LightweightDispatcher): Remove focus machinery.
234 * java/awt/DefaultFocusTraversalPolicy.java
235 (accept): Expand predicate to include isFocusable().
236 * java/awt/DefaultKeyboardFocusManager.java:
237 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
238 * java/awt/KeyboardFocusManager.java
239 (redispatchEvent): Synchronize on event to prevent feedback.
240 * javax/swing/AbstractButton.java
241 (ButtonFocusListener): Remove class.
242 (init): Set focusPainted, focusable.
243 * javax/swing/ActionMap.java (get): Check parent for null.
244 * javax/swing/InputMap.java (get): Likewise.
245 * javax/swing/JComponent.java
246 (inputMap_whenFocused): New InputMap.
247 (inputMap_whenAncestorOfFocused): Likewise.
248 (inputMap_whenInFocusedWindow): Likewise.
249 (getActionForKeyStroke): Rewrite.
250 (getConditionForKeystroke): Likewise.
251 (ActionListenerProxy): New private class.
252 (setInputMap): Implement.
253 (getInputMap): Likewise.
254 (setActionMap): Likewise.
255 (getActionMap): Likewise.
256 (processComponentKeyEvent): New empty method.
257 (processKeyEvent): Implement.
258 (processKeyBinding): Likewise.
259 (resetKeyboardActions): Rewrite.
260 * javax/swing/KeyStroke.java: Rewrite.
261 * javax/swing/SwingUtilities.java
262 (notifyAction): Implement.
263 (replaceUIActionMap): Likewise.
264 (replaceUIInputMap): Likewise.
265 * javax/swing/plaf/basic/BasicButtonListener.java
266 (focusGained): Implement.
267 (focusLost): Repaint if focusPainted().
268 (installKeyboardActions): Install pressed / released actions.
269 (uninstallKeyboardActions): Implement.
270 * javax/swing/plaf/basic/BasicButtonUI.java
271 (focusColor): New field.
272 (installDefaults): Load focus color, install input map.
273 (installKeyboardActions): Implement.
274 (uninstallKeyboardActions): Likewise.
275 (paintFocus): Rewrite.
276 * javax/swing/plaf/basic/BasicLookAndFeel.java
277 (Button.focus): New default, midPurple.
278 * javax/swing/plaf/basic/BasicTextUI.java
279 (kit): Make static.
280 (installUI): Get doc from kit, load defaults.
281 (getKeymapName): Implement.
282 (createKeymap): Likewise.
283 (installKeyboardActions): Likewise.
284 (getInputMap): Likewise.
285 (getActionMap): Likewise.
286 (createActionMap): Likewise.
287 * javax/swing/text/AbstractDocument.java
288 (getStartPosition): Implement.
289 (getEndPosition): Likewise.
290 * javax/swing/text/DefaultEditorKit.java
291 (CopyAction): New class.
292 (CutAction): Likewise.
293 (DefaultKeyTypedAction): Likewise.
294 (InsertBreakAction): Likewise.
295 (InsertContentAction): Likewise.
296 (InsertTabAction): Likewise.
297 (PasteAction): Likewise.
298 (defaultActions): New static table.
299 (createCaret): Implement.
300 (getActions): Likewise.
301 * javax/swing/text/JTextComponent.java
302 (KeymapWrapper): New private class.
303 (KeymapActionMap): Likewise.
304 (DefaultKeymap): New class.
305 (keymaps): New static table.
306 (keymap): New field.
307 (getKeymap): Implement.
308 (removeKeymap): Likewise.
309 (addKeymap): Likewise.
310 (setKeymap): Likewise.
311 (loadKeymap): Likewise.
312 (getActions): Likewise.
313 (margin): New field.
314 (JTextComponent): Build and install default keymap.
315 * javax/swing/text/TextAction.java
316 (textAction): Call super properly.
317 (getTextComponent): Implement.
318 * javax/swing/text/Utilities.java
319 (drawTabbedText): Adjust position by ascent.
320
3212004-08-31 David Jee <djee@redhat.com>
322
323 PR AWT/17156
324
325 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
326 (setEnabled): Make it a native method.
327 * java/awt/DefaultKeyboardFocusManager.java
328 (postProcessKeyEvent): Only post event if the menu item
329 is active.
330 * java/awt/MenuItem.java:
331 Private field 'enabled' should be true by default.
332 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
333 (setEnabled): New function.
334
3352004-08-31 David Jee <djee@redhat.com>
336
337 PR AWT/17059
338
339 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
340 (nativeSetHelpMenu): New native method declaration.
341 (addHelpMenu): Call nativeSetHelpMenu().
342 (addMenu): Remove.
343 * java/awt/MenuBar.java
344 (setHelpMenu): Call addNotify() on the new help menu.
345 (add): Call addNotify() on the new menu.
346 (addNotify): Set the help menu if one exists.
347 * java/awt/peer/MenuBarPeer.java
348 (addMenu): Remove.
349 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
350 (nativeSetHelpMenu): New method.
351
3522004-08-31 Graydon Hoare <graydon@redhat.com>
353
354 * Makefile.am: Add new files.
355 * Makefile.in: Regenerate.
356 * javax/swing/Box.java: Fix setting of layout in ctor.
357 * javax/swing/JScrollPane.java: Scroll headers as well.
358 * javax/swing/JTable.java: Reimplement.
359 * javax/swing/JViewPort.java: Only add non-null children.
360 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
361 * javax/swing/Timer.java: Fix stopping null waker.
362 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
363 * javax/swing/plaf/basic/BasicTableUI.java: New file.
364 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
365 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
366 * javax/swing/table/DefaultTableModel.java: Clean up.
367 * javax/swing/table/JTableHeader.java: Implement.
368
3692004-08-31 Mark Wielaard <mark@klomp.org>
370
371 * javax/swing/JSpinner.java (getChangeListeners): Remove double
372 semi-colon.
373
3742004-08-31 Mark Wielaard <mark@klomp.org>
375
376 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
377 Declare variables at top of functions/block.
378 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
379
3802004-08-31 Mark Wielaard <mark@klomp.org>
381
382 * java/lang/Rectangle.java (intersects): Check r.width and r.height
383 first.
384
3852004-08-31 Michael Koch <konqueror@gmx.de>
386
387 * javax/swing/text/PlainView.java
388 (selectedColor): New field.
389 (unselectedColor): Likewise.
390 (font): Likewise.
391 (updateMetrics): New method.
392 (lineToRect): Likewise.
393 (modelToView): Likewise.
394 (drawSelectedText): Use color from JTextComponent ad draw with
395 Utilities class.
396 (drawUnselectedText): Likewise.
397 (paint): Initialize helper fields.
398 * javax/swing/text/View.java
399 (getChildAllocation): New method.
400 (getViewIndex): Likewise.
401 (getToolTipText): Likewise.
402
4032004-08-31 Michael Koch <konqueror@gmx.de>
404
405 * javax/swing/text/Utilities.java
406 (drawTabbedText): Reimplemented.
407 (getTabbedTextWidth): Likewise.
408
4092004-08-31 Michael Koch <konqueror@gmx.de>
410
411 * javax/swing/plaf/basic/BasicTextUI.java
412 (installDefaults): Install caret and highlighter.
413 (modelToView): Use Bias.Forward when calling sibling.
414 * javax/swing/text/AbstractDocument.java
415 (ElementEdit): Implements DocumentEvent.ElementChange.
416 (ElementEdit.ElementEdit): New method.
417 (ElementEdit.getChildrenAdded): Likewise.
418 (ElementEdit.getChildrenRemoved): Likewise.
419 (ElementEdit.getElement): Likewise.
420 (ElementEdit.getIndex): Likewise.
421 * javax/swing/text/DefaultCaret.java
422 (color): Removed.
423 (textComponent): Renamed from parent, made private.
424 (selectionVisible): Renamed from vis_sel, made private.
425 (blinkRate): Renamed from blink, made private.
426 (magicCaretPosition): Renamed from magic, made private.
427 (visible): Renamed from vis, made private.
428 (dot): Made private.
429 (mark): Likewise.
430 (deinstall): Remove as MouseMotionListener.
431 (install): Initialize textComponent first. Add as MouseMotionListener.
432 (paint): Reimplemented.
433 * javax/swing/text/JTextComponent.java
434 (setCaret): Deinstall old caret, install new one and fire property
435 change after setting property.
436 (setHighlighter): Deinstall old highlighter, install new one and fire
437 property change after setting property.
438 (setCaretColor): Fire property change after setting property.
439 (setDisabledTextColor): Likewise.
440 (setSelectedTextColor): Likewise.
441 (setSelectionColor): Likewise.
442 (modelToView): New method.
443
4442004-08-31 Michael Koch <konqueror@gmx.de>
445
446 * javax/swing/text/AbstractDocument.java
447 (getText): Simplified.
448 * javax/swing/text/Segment.java
449 (current): New field.
450 (current): Reimplemented.
451 (first): Likewise.
452 (getIndex): Likewise.
453 (last): Likewise.
454 (next): Likewise.
455 (previous): Likewise.
456 (setIndex): Likewise.
457
4582004-08-31 Michael Koch <konqueror@gmx.de>
459
460 * javax/swing/plaf/basic/BasicButtonUI.java
461 (defaultTextIconGap): Made protected.
462 (defaultTextShiftOffset): Likewise.
463 (textShiftOffset): New field.
464 (clearTextShiftOffset): New method.
465 (getTextShiftOffset): Likewise.
466 (setTextShiftOffset): Likewise.
467
4682004-08-31 Michael Koch <konqueror@gmx.de>
469
470 * javax/swing/plaf/basic/BasicTextUI.java
471 (installUI): Add eventHandler as property listener.
472 (uninstallUI): remove eventHandler as propert listener.
473 (installDefaults): Added comment.
474 (installListeners): Likewise.
475 (installKeyboardActions): Likewise.
476 (uninstallDefaults): Likewise.
477 (uninstallListeners): Likewise.
478 (uninstallKeyboardActions): Likewise.
479
4802004-08-31 Michael Koch <konqueror@gmx.de>
481
482 * javax/swing/text/AbstractDocument.java:
483 Fixed some typos in comments.
484 (insertString): Reimplemented.
485 (remove): Likewise.
486 (replace): New method.
487 (children): Dont use fully qualified class name.
488 (DefaultDocumentEvent.offset): Renamed from off.
489 (DefaultDocumentEvent.length): Renamed from len.
490 (DefaultDocumentEvent.type): New field.
491 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
492 (DefaultDocumentEvent.getType): Implemented.
493
4942004-08-31 Michael Koch <konqueror@gmx.de>
495
496 * javax/swing/plaf/basic/BasicTextUI.java
497 (RootView.textComponent): Removed.
498 (RootView.RootView): Don't initialize textComponent.
499 (RootView.getViewFactory): New method.
500 (EventHandler): New inner class.
501 (rootView): Initialize at instance creation.
502 (eventHandler): New field.
503 (installUI): Don't create view hierarchy directly,
504 call modelChanged() instead.
505 (modelChanged): New method.
506 * javax/swing/text/JTextComponent.java
507 (setDocument): Fire property change event.
508
5092004-08-31 Michael Koch <konqueror@gmx.de>
510
511 * javax/swing/plaf/basic/BasicTextUI.java
512 (RootView.paint): Removed debug output.
513 (paintSafely): Draw highlighter before text.
514 (paintBackground): Use background color of text component.
515 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
516 Reformatted.
517
5182004-08-31 Michael Koch <konqueror@gmx.de>
519
520 * javax/swing/plaf/basic/BasicToolBarUI.java
521 (BasicToolBarUI): Fixed arguments for constructor.
522 (createUI): Fixed creation of object.
523
5242004-08-31 Michael Koch <konqueror@gmx.de>
525
526 * javax/swing/DefaultListSelectionModel.java
527 (fireValueChanged): Renamed from fireSelectionValueChanged,
528 made protected.
529
5302004-08-31 Michael Koch <konqueror@gmx.de>
531
532 * javax/swing/text/TabSet.java
533 (TabSet): Implements java.io.Serializable.
534 * javax/swing/text/TabStop.java
535 (TabStop): Implements java.io.Serializable.
536 (TabStop): Made public.
537
5382004-08-31 Michael Koch <konqueror@gmx.de>
539
540 * javax/swing/JComponent.java
541 (setUI): Fire PropertyChange.
542 * javax/swing/JLabel.java
543 (text): Renamed from labelText.
544 (horizontalAlignment): New default vlaue.
545 (icon): Renamed from activeIcon.
546 (displayedMnemonic): Renamed from mnemonicKey, added default value.
547 (displayedMnemonicIndex): Renamed from underlineChar.
548 (setDisplayedMnemonic): Reimplemented.
549 * javax/swing/JRadioButton.java
550 (JRadioButton): New constructors.
551 * javax/swing/JTextField.java
552 (JTextField): Throw exception if colums < 0, initialitialz
553 this.columns directly and initialize document with text conditionally.
554
5552004-08-31 Michael Koch <konqueror@gmx.de>
556
557 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
558 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
559 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
560 * javax/swing/text/FieldView.java
561 (paint): Just call super method for now.
562 * Makefile.am: Added new files.
563 * Makefile.in: Regenerated.
564
5652004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
566
567 * javax/swing/AbstractSpinnerModel.java,
568 javax/swing/JSpinner.java,
569 javax/swing/SpinnerNumberModel.java,
570 javax/swing/plaf/basic/BasicSpinnerUI.java:
571 New files.
572 * javax/swing/plaf/basic/BasicLookAndFeel.java
573 (initClassDefaults): Added defaults for BasicSpinnerUI.
574
5752004-08-31 Michael Koch <konqueror@gmx.de>
576
577 * Makefile.am: Added new files.
578 * Makefile.in: Regenerated.
579
5802004-08-31 Michael Koch <konqueror@gmx.de>
581
582 * javax/swing/TransferHandler.java,
583 javax/swing/plaf/basic/ComboPopup.java: New files
584 * Makefile.am: Added javax/swing/TransferHandler.java and
585 javax/swing/plaf/basic/ComboPopup.java
586 * Makefile.in: Regenerated.
587
5882004-08-31 Roman Kennke <roman@ontographics.com>
589
590 * javax/swing/text/Utilities.java: New file.
591
5922004-08-31 Michael Koch <konqueror@gmx.de>
593
594 * Makefile.am: Added javax/swing/text/Utilities.java.
595 * Makefile.in: Regenerated.
596
5972004-08-31 Graydon Hoare <graydon@redhat.com>
598
599 * javax/swing/text/SimpleAttributeSet.java: New file.
600 * javax/swing/text/StyleConstants.java: New file.
601 * javax/swing/text/StyleContext.java: New file.
602 * javax/swing/text/TabSet.java: New file.
603 * javax/swing/text/TabStop.java: New file.
604 * javax/swing/text/AbstactDocument.java:
605 (AbstractElement): Implement attribute support.
606 * javax/swing/text/AttributeSet.java
607 (NameAttribute): New static field.
608 (ResolveAttribute): New static field.
609 * Makefile.am: Update for new files.
610 * Makefile.in: Regenerate.
611
6122004-08-31 Craig Black <craig.black@aonix.com>
613
614 * gnu/java/awt/peer/gtk/GdkGraphics.java
615 (drawImage): Add support for scaling pixmaps.
616 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
617 (copyAndScalePixmap): New native method.
618
6192004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
620
621 PR AWT/16121
622 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
623 type-punning compiler warnings using unions.
624 (throw): Replace bzero with memset.
625
6262004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
627 Thomas Fitzsimmons <fitzsim@redhat.com>
628
629 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
630 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
631 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
632 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
633 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
634
6352004-08-31 Mark Wielaard <mark@klomp.org>
636
637 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
638 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
639 and stdlib.h, not gtkpeer.h.
640 (*vm): New static variable.
641 (areaPreparedID): Make static.
642 (areaUpdatedID): Likewise.
643 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
644 (area_prepared): Likewise.
645 (area_updated): Likewise.
646 (closed): Likewise.
647 (initStaticState): Initialize *vm javaVM.
648 (pumpBytes): Use given env, not global gdk_env.
649
6502004-08-31 Mark Wielaard <mark@klomp.org>
651
652 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
653 comments.
654
6552004-08-31 Sven de Marothy <sven@physto.se>
656
657 * java/awt/geom/CubicCurve2D.java: Reindent.
658 (contains): Implemented.
659 (intersects): Implemented.
660 * java/awt/geom/QuadCurve2D.java: Likewise.
661 * java/awt/geom/GeneralPath.java: Reindent and document.
662 Fully (re)implemented using separate xpoints and ypoints
663 float[] coords.
664 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
665
6662004-08-31 Michael Koch <konqueror@gmx.de>
667
668 * javax/swing/JMenuItem.java
669 (getMenuDragMouseListeners): New method.
670 (getMenuKeyListeners): Likewise.
671
6722004-08-31 Michael Koch <konqueror@gmx.de>
673
674 * javax/swing/AbstractButton.java
675 (model): Made protected.
676 (actionListener): Likewise.
677 (changeListener): Likewise.
678 (itemListener): Likewise.
679 (multiClickThreshhold): New field.
680 (getActionListeners): New method.
681 (getChangeListeners): Likewise.
682 (getItemListeners): Likewise.
683 (fireItemStateChanged): Simplified implementation.
684 (fireActionPerformed): Likewise.
685 (fireStateChanged): Likewise.
686 (getMultiClickThreshhold): New method.
687 (setMultiClickThreshhold): Likewise.
688
6892004-08-31 Tom Tromey <tromey@redhat.com>
690
691 * java/awt/image/Kernel.java (clone): Use super.clone().
692
6932004-08-31 David Jee <djee@redhat.com>
694
695 PR AWT/16682
696 * gnu/java/awt/peer/gtk/GtkFramePeer.java
697 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
698 (nativeSetIconImageFromData): New native method declaration.
699 (setIconImage): Handle images not produced from GdkPixbufDecoder.
700 * gnu/java/awt/peer/gtk/GtkImage.java
701 (getPixelCache): New method.
702 (getColorModel): New method.
703 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
704 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
705 (free_pixbuf_data): New helper function.
706 (nativeSetIconImageFromData): New function.
707
7082004-08-31 Graydon Hoare <graydon@redhat.com>
709
710 PR SWING/16576
711 * javax/swing/JLayeredPane.java
712 (setLayer): Permit changing layer after addition.
713 (setPosition): Permit over-length positions.
714 (layerToRange): Compare intValue()s.
715 * javax/swing/Box.java (createHorizontalBox): Implement.
716 (createRigidArea): Likewise.
717 (createVerticalBox): Likewise.
718
7192004-08-31 Kim Ho <kho@redhat.com>
720
721 * java/awt/Component.java:
722 (processMouseEvent): Consume event after
723 listeners process it.
724 (processMouseMotionEvent): ditto.
725 (processMouseWheelEvent): ditto.
726 * java/awt/Container.java:
727 (acquireComponentForMouseEvent):
728 Do not dispatch to events that have been
729 removed from the Container.
730 (handleEvent): Consume the MouseEvents.
731 * javax/swing/RepaintManager.java:
732 (paintDirtyRegions): Do not add to list of
733 damaged areas if the component has no root.
734
7352004-08-31 Michael Koch <konqueror@gmx.de>
736
737 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
738
7392004-08-31 Mark Wielaard <mark@klomp.org>
740
741 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
742 null when a MissingResourceException is thrown. Should never happen.
743
7442004-08-31 Mark Wielaard <mark@klomp.org>
745
746 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
747 when argument is null.
748
7492004-08-31 Mark Wielaard <mark@klomp.org>
750
751 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
752 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
753 Define hid at start of function.
754 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
755 Likewise.
756
7572004-08-31 Mark Wielaard <mark@klomp.org>
758
759 * gnu/java/awt/EmbeddedWindow.java: Reindent.
760 * javax/swing/JButton.java: Reindent.
761 * javax/swing/JCheckBox.java: Reindent.
762
7632004-08-31 Mark Wielaard <mark@klomp.org>
764
765 * Makefile.am (gtk_c_source_files): Added
766 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
767 (gtk_awt_peer_sources): Added
768 gnu/java/awt/peer/gtk/GThreadMutex.java and
769 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
770 * Makefile.in: Regenerated.
771
7722004-08-31 Archie Cobbs <archie@dellroad.org>
773
774 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
775
7762004-08-31 Steven Augart <augart@watson.ibm.com>
777
778 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
779 Added jfieldID, jmethodID.
780
7812004-08-31 Mark Wielaard <mark@klomp.org>
782
783 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
784 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
785 gdk_env before calling any gdk or gtk function.
786
787 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
788 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
789 (run): Set gtkInitCalled.
790
7912004-08-31 Steven Augart <augart@watson.ibm.com>
792
793 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
794 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
795
796 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
797 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
798 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
799 init_glib_threads.
800 (init_glib_threads): New function.
801
8022004-08-31 Mark Wielaard <mark@klomp.org>
803
804 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
805 PRIORITY when not already defined in header file.
806
8072004-08-31 Mark Wielaard <mark@klomp.org>
808
809 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
810 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
811
8122004-08-31 Steven Augart <augart@watson.ibm.com>
813
814 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
815 Implemented missing functions for GTK2.
816 Added error handling.
817 Renamed static functions out of the g_ namespace.
818 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
819 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
820 Rewrote global-reference code.
821 Eliminated cascading errors.
822 (mutex_trylock_jni_impl) Fully implemented.
823 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
824 resolution.
825 (setup_cache) New function.
826 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
827 bug where they were not unlocking the GMutex associated with the
828 condition variable during the wait on that condition variable.
829
830 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
831 native/jni/gtk-peer/gthread-jni.c,
832 native/jni/gtk-peer/gthread-jni.h
833 (g_thread_jni_functions): Renamed to ...
834 (portable_native_sync_jni_functions): this name.
835 (gdk_vm): Renamed to...
836 (the_vm): this name.
837
838 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
839 (gdk_vm): Removed duplicate definition.
840 (gtkInit): Removed stray message to stdout.
841 (gtkInit): Use g_malloc and g_free instead of malloc and free.
842 (gtkInit): Fix a const assignment bug.
843 (gtkInit): Simplified code.
844
845 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
846 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
847 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
848 gnu/java/awt/peer/gtk/GThreadMutex.java:
849 New files.
850
8512004-08-31 Mark Wielaard <mark@klomp.org>
852
853 * javax/swing/Box.java: Put FIXME comment above class declaration.
854 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
855 * javax/swing/JCheckBox.java: Likewise.
856 * javax/swing/JDialog.java: Likewise.
857 * javax/swing/JRadioButton.java: Likewise.
858 * javax/swing/JToggleButton.java: Likewise.
859 * javax/swing/UIManager.java: Likewise.
860 * javax/swing/border/TitledBorder.java: Likewise.
861 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
862 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
863 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
864 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
865 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
866 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
867 * javax/swing/text/JTextComponent.java: Likewise.
868
8692004-08-31 David Jee <djee@redhat.com>
870
871 PR AWT/16682
872 * gnu/java/awt/peer/gtk/GtkFramePeer.java
873 (setIconImage): Add a FIXME for unhandled cases.
874
8752004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
876
877 PR AWT/16040
878 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
879 getModifiers. Replace old button masks with new ones.
880 * gnu/awt/xlib/XEventLoop.java: Likewise.
881 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
882 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
883 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
884 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
885 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
886 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
887 * java/awt/Component.java: Replace old modifier masks with new
888 ones.
889 * java/awt/Container.java: Call getModifiersEx, not
890 getModifiers.
891 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
892 old modifier masks.
893 * javax/swing/JMenuItem.java: Replace old button masks with new
894 ones.
895 * javax/swing/KeyStroke.java: Call getModifiersEx, not
896 getModifiers.
897 * javax/swing/SwingUtilities.java: Likewise.
898 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
899 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
900 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
901 mask macros with new ones.
902 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
903 macros with new ones representing new masks.
904
9052004-08-31 Craig Black <craig.black@aonix.com>
906
907 * gnu/java/awt/peer/gtk/GdkGraphics.java
908 (drawRoundRect): Implemented.
909 (fillRoundRect): Implemented.
910 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
911 (drawRoundRect): Reimplemented to match GdkGraphics.
912 (fillRoundRect): Reimplemented to match GdkGraphics.
913
9142004-08-31 Mark Wielaard <mark@klomp.org>
915
916 * Makefile.in: Regenerated.
917
9182004-08-31 Michael Koch <konqueror@gmx.de>
919
920 * gnu/java/awt/EmbeddedWindow.java
921 (addNotify): Use AccessController to allow execution of privileged
922 code.
923
9242004-08-31 Michael Koch <konqueror@gmx.de>
925
926 * gnu/java/awt/EmbeddedWindow.java
927 (static): Removed.
928 (addNotify): Set peer via reflection.
929 (setWindowPeer): Removed.
930 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
931 * Makefile.am (nat_source_files):
932 Removed gnu/java/awt/natEmbeddedWindow.cc.
933
9342004-08-31 Bryce McKinlay <mckinlay@redhat.com>
935
936 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
937 and gnu/java/security/action/SetAccessibleAction.java.
938
9392004-08-31 Bryce McKinlay <mckinlay@redhat.com>
940
941 * gnu/java/security/action/GetPropertyAction.java (setParameters):
942 Renamed from 'setName'. New 2-argument form with default value.
943 (run): Pass default 'value' parameter to System.getProperty().
944 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
945 typos.
946
9472004-08-31 Bryce McKinlay <mckinlay@redhat.com>
948
949 * gnu/java/security/action/GetPropertyAction.java: New class.
950 * gnu/java/security/action/SetAccessibleAction.java: New class.
951
9522004-08-31 David Jee <djee@redhat.com>
953
954 * gnu/java/awt/peer/gtk/GtkFramePeer.java
955 (setIconImage): Check if image is null.
956
9572004-08-31 David Jee <djee@redhat.com>
958
959 * gnu/java/awt/peer/gtk/GtkFramePeer.java
960 (create): Set the icon image.
961 (nativeSetIconImage): New native method declaration.
962 (setIconImage): Implement.
963 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
964 (nativeSetIconImage): New function.
965
9662004-08-31 Dalibor Topic <robilad@kaffe.org>
967
968 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
969 (filenameFilterCallback): Declare local variable accepted before use.
970
9712004-08-31 Dalibor Topic <robilad@kaffe.org>
972
973 * gnu/java/awt/ComponentDataBlitOp.java:
974 Cleaned up imports.
975
9762004-08-31 Tom Tromey <tromey@redhat.com>
977
978 * gnu/java/awt/peer/GLightweightPeer.java,
979 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
980 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
981 javax/swing/JScrollPane.java: Removed
982 redundant imports.
983
9842004-08-31 David Jee <djee@redhat.com>
985
986 * java/awt/DefaultKeyboardFocusManager.java
987 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
988 event. Fix shift modifier checking.
989 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
990 (accel_attach): Remove.
991 (setupAccelGroup): Remove calls to accel_attach.
992
9932004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
994
995 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
996 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
997
998 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
999 GtkArgList.java.
1000 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
1001 * Makefile.in: Regenerate.
1002 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1003 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1004 (create(String)): New method.
1005 (create): Call new create method.
1006 (getArgs): Remove method.
1007 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
1008 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1009 (nativeCreate): Rename to create.
1010 (gtkSetLabel): Rename to gtkButtonSetLabel.
1011 (gtkToggleButtonSetActive): New method.
1012 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
1013 (setState): Replace set call with gtkToggleButtonSetActive.
1014 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
1015 (getArgs): Remove method.
1016 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1017 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1018 (gtkWidgetSetSensitive): New method.
1019 (gtkWidgetSetParent): Likewise.
1020 (GtkComponentPeer): Call setParent, setComponentBounds and
1021 setVisibleAndEnabled.
1022 (setParent): New method.
1023 (setComponentBounds): New method.
1024 (setVisibleAndEnabled): New method.
1025 (setEnabled): Call gtkWidgetSetSensitive.
1026 (getArgs): Remove method.
1027 Remove all set methods.
1028 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
1029 gtkWindowSetModal, setTitle and setResizable.
1030 (getArgs): Remove method.
1031 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1032 (setComponentBounds): New method.
1033 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
1034 Replace set call with gtkWindowSetResizable.
1035 (getArgs): Remove method.
1036 (create): Call setTitle and setResizable.
1037 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1038 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1039 (gtkWindowSetTitle): New method.
1040 (gtkWindowSetResizable): New method.
1041 (gtkWindowSetModal): New method.
1042 (setParent): New method.
1043 (setVisibleAndEnabled): New method.
1044 (getArgs): Remove method.
1045 (setTitle): Call gtkWindowSetTitle.
1046 (setResizable): Call gtkWindowSetResizable.
1047 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
1048 and off locking instrumentation.
1049
10502004-08-31 Kim Ho <kho@redhat.com>
1051
1052 * Makefile.am: Add new file.
1053 * Makefile.in: Regenerate.
1054 * gcj/Makefile.in: Regenerate
1055 * include/Makefile.in:
1056 * java/awt/Container.java:
1057 (acquireComponentForMouseEvent): Respect
1058 the event mask when looking for candidate.
1059 * javax/swing/JComponent.java:
1060 Remove toolTip field.
1061 (createToolTip): Create a tooltip on demand.
1062 (setToolTipText): Register with the ToolTipManager.
1063 (getToolTipText(MouseEvent)): Return getToolTipText().
1064 * javax/swing/JToolTip.java: Implement.
1065 * javax/swing/Timer.java: Jalopy.
1066 (restart): Call stop, then start.
1067 (stop): Interrupt the timer rather than wait for
1068 the timer to come to a stop naturally.
1069 * javax/swing/ToolTipManager.java: Implement.
1070 * javax/swing/plaf/basic/BasicLookAndFeel.java:
1071 Change ToolTip.background color.
1072 * javax/swing/plaf/basic/BasicToolTipUI.java:
1073 Implement.
1074 * testsuite/Makefile.in: Regenerate
1075
10762004-08-31 Jerry Quinn <jlquinn@optonline.net>
1077
1078 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
1079 constructor param comments.
1080
10812004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1082
1083 * java/awt/Component.java: Document AWT 1.0 event handler
1084 methods.
1085
10862004-08-31 Roman Kennke <roman@ontographics.com>
1087
1088 * javax/swing/Box.java:
1089 (createGlue): Implemented
1090 (createHorizontalGlue): Implemented
1091 (createHorizontalStrut): Implemented
1092 (createVerticalGlue): Implemented
1093 (createVerticalStrut): Implemented
1094
10952004-08-31 David Jee <djee@redhat.com>
1096
1097 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
1098 (GtkChoicePeer): Do not automatically select first item.
1099 (getHistory): Remove.
1100 (nativeGetSelected): New method.
1101 (nativeRemoveAll): New method.
1102 (add): Use nativeGetSelected() instead of getHistory().
1103 (remove): Likewise.
1104 (removeAll): Call nativeRemoveAll().
1105 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1106 (create): Migrate to GtkComboBox.
1107 (append): Likewise.
1108 (nativeAdd): Likewise.
1109 (nativeRemove): Likewise.
1110 (select): Likewise.
1111 (nativeRemoveAll): New method.
1112 (nativeGetSelected): New method.
1113 (selection_changed): New method.
1114 (getHistory): Remove.
1115 (item_activate): Remove.
1116 (item_removed): Remove.
1117 (connect_choice_item_selectable_hook): Remove.
1118
11192004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1120
1121 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
1122 variable in setEditable call.
1123
1124 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1125 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1126 (gtkWidgetSetBackground): New method.
1127 (gtkWidgetSetForeground): Likewise.
1128 (create): Set peer's editable state based on awtComponent's.
1129
1130 * java/awt/Button.java (Button()): Use empty string rather than
1131 null in no-label constructor.
1132
11332004-08-31 Roman Kennke <roman@ontographics.com>
1134
1135 * javax/swing/BoxLayout.java: Reimplement.
1136
11372004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1138
1139 * gnu/java/awt/peer/gtk/GdkGraphics.java,
1140 gnu_java_awt_peer_gtk_GdkGraphics.c
1141 (initState(GtkComponentPeer)): Don't return array of colour
1142 values.
1143 (GdkGraphics(int,int)): Set default font to size 12.
1144 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
1145 component's foreground colour.
1146 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1147 gnu_java_awt_peer_gtk_GdkGraphics2D.c
1148 (initState(GtkComponentPeer)): Don't return array of colour
1149 values.
1150 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
1151 colours to component's colours.
1152 (current_colors_of_widget): Remove function.
1153 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
1154 Return a new graphics object.
1155 * java/awt/Font.java (toString): Fix format.
1156 * java/awt/Graphics.java (toString): Likewise.
1157
11582004-08-31 Craig Black <craig.black@aonix.com>
1159
1160 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1161 (addTearOff): New function.
1162 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
1163 New native method.
1164 (init): Call addTearOff() when menu.isTearOff().
1165
11662004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1167
1168 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
1169 Default implementation.
1170 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
1171 Implement using GdkPixbufDecoder.
1172
11732004-08-31 David Jee <djee@redhat.com>
1174
1175 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1176 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
1177 setting the size of GtkFileDialogPeers.
1178 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1179 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
1180 use their default sizes rather than their natural requisitions.
1181
11822004-08-31 Michael Koch <konqueror@gmx.de>
1183
1184 * javax/swing/JFormattedTextField.java
1185 (JFormattedTextField): Implemented.
1186 * javax/swing/text/DefaultEditorKit.java
1187 (BeepAction): New inner class.
1188 * javax/swing/text/Segment.java
1189 (partialReturn): New field.
1190 (setPartialReturn): New method.
1191 (isPartialReturn): Likewise.
1192 * javax/swing/text/View.java
1193 (createFragment): Fixed typo.
1194 (getStartOffset): New method.
1195 (getEndOffset): Likewise.
1196
11972004-08-31 Michael Koch <konqueror@gmx.de>
1198
1199 * javax/swing/table/DefaultTableColumnModel.java
1200 (serialVersionUID): Made private.
1201 (listenerList): Initialize.
1202 (changeEvent): Initialize.
1203 * javax/swing/table/JTableHeader.java
1204 (JTableHeader): New constructors.
1205 (createDefaultColumnModel): New method.
1206 * javax/swing/table/TableColumn.java
1207 (setHeaderRenderer): Simplified code.
1208 (setCellRenderer): Likewise.
1209 (setWidth): Likewise.
1210
e2ab6d12
TT
12112004-08-31 Tom Tromey <tromey@redhat.com>
1212
1213 * java/text/AttributedString.java (AttributedString): Use
1214 ArrayList to build array of attribute ranges. Don't use
1215 `attribs' before it is set.
1216
1c340cb6
AT
12172004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
1218
1219 * HACKING: Remove reference to special automake. No longer needed.
1220
b6e9851a
TT
12212004-08-30 Tom Tromey <tromey@redhat.com>
1222
1223 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
1224 return result from `add'.
1225
05502144
TT
12262004-08-30 Tom Tromey <tromey@redhat.com>
1227
1228 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
1229
e7023b0f
AT
12302004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
1231
1232 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
1233
2c64dead
JF
12342004-08-30 Jeroen Frijters <jeroen@frijters.net>
1235
1236 * java/io/File.java File(String,String): Fixed handling of empty
1237 path.
1238
bd8a2e96
CM
12392004-08-30 Casey Marshall <csm@gnu.org>
1240
1241 Author e-mail updated for all files.
1242 * gnu/java/security/OID.java (equals): Test if the aurgment is an
1243 instance of OID.
1244 (compareTo): Use `equals'.
1245 * gnu/java/security/der/BitString.java (equals): Test if the
1246 argument is an instance of BitString.
1247 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
1248 class final. Made fields private.
1249 (<init>): New constructor.
1250 (skip): New method.
1251 (makeString): Made static; don't use NIO.
1252 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
1253 * gnu/java/security/der/DERWriter.java: Fixed imports.
1254 (writeString): Don't use NIO.
1255 (toIso88591, toUtf16Be, toUtf8): New methods.
1256 * gnu/java/security/der/DERValue.java: Formatting changes only.
1257 * gnu/java/security/der/DER.java: Likewise.
1258
68760aee
AT
12592004-08-30 Tom Tromey <tromey@redhat.com>
1260
1261 * java/nio/CharBuffer.java (put): Fix typo.
1262 * java/nio/DoubleBuffer.java (put): Fix typo.
1263 * java/nio/FloatBuffer.java (put): Fix typo.
1264 * java/nio/IntBuffer.java (put): Fix typo.
1265 * java/nio/LongBuffer.java (put): Fix typo.
1266 * java/nio/ShortBuffer.java (put): Fix typo.
1267
12682004-08-30 Florian Weimer <fw@deneb.enyo.de>
1269
1270 * java/nio/ByteBuffer.java (put): Fix typo.
1271
28839b70
CM
12722004-08-30 Casey Marshall <csm@gnu.org>
1273
1274 * java/security/DummyKeyPairGenerator.java (clone): Removed
1275 useless instanceof check.
1276 * java/security/DummyMessageDigest.java (clone): Likewise.
1277 * java/security/DummySignature.java (clone): Likewise.
1278 * java/security/MessageDigest.java (clone): Remove useless
1279 instanceof check.
1280 * java/security/MessageDigestSpi.java (clone): Likewise.
1281 * java/security/Signature.java (clone): Provide meaningful
1282 implementation.
1283 * java/security/SignatureSpi.java (clone): Likewise.
1284
6cd655a3
MW
12852004-08-29 Mark Wielaard <mark@klomp.org>
1286
1287 * java/util/Arrays.java
1288 (sort(byte[], int, int)): Check fromIndex < 0.
1289 (sort(char[], int, int)): Likewise.
1290 (sort(short[], int, int)): Likewise.
1291 (sort(int[], int, int)): Likewise.
1292 (sort(long[], int, int)): Likewise.
1293 (sort(float[], int, int)): Likewise.
1294 (sort(double[], int, int)): Likewise.
1295 (sort(Object[], int, int, Comparator)): Likewise.
1296 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
1297 (qsort(char[], int, int)): Likewise.
1298 (qsort(short[], int, int)): Likewise.
1299 (qsort(int[], int, int)): Likewise.
1300 (qsort(long[], int, int)): Likewise.
1301 (qsort(float[], int, int)): Likewise.
1302 (qsort(double[], int, int)): Likewise.
1303
477a21f7
AJH
13042004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
1305
1306 * java/util/AbstractCollection.java, java/util/AbstractList.java,
1307 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
1308 java/util/ArrayList.java, java/util/Arrays.java,
1309 java/util/BitSet.java, java/util/Calendar.java,
1310 java/util/Collection.java, java/util/ListIterator.java,
1311 java/util/Map.java, java/util/SortedSet.java:
1312 Added additional exceptions to documentation, along
1313 with some additions and corrections.
1314
ed347998
HB
13152004-08-27 Hans Boehm <Hans.Boehm@hp.com>
1316
1317 * configure.ac: Handle --enable-gc-debug.
1318 * configure: Regenerate.
1319 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
1320 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
1321 Rearrange include file order.
1322 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
1323 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
1324 (disable_gc_mutex): Delete along with all references.
1325 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
1326 adjust for debug header size.
1327 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
1328 debug case.
1329 (_Jv_AllocArray): Declare min_heap_addr only if needed.
1330 (gcj_describe_type_fn): New.
1331 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
1332 Register gcj_describe_type_fn.
1333 * include/boehm-gc.h:
1334 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
1335 Don't define, but declare, for debug case.
1336 * java/lang/natObject.cc:
1337 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
1338
42348101
MW
13392004-08-26 Mark Wielaard <mark@klomp.org>
1340
1341 Fixes PR libgcj/17002:
1342 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
1343 a TimeZoneId string and then try to convert that to a TimeZone with
1344 getDefaultSystemTimeZone(String).
1345 (timezones0): Changed type from Hashtable to HashMap.
1346 (timezones): Create HashMap, not Hashtable.
1347 (getDefaultTimeZone): New method, rewritten from CNI version.
1348 (readTimeZoneFile): New method.
1349 (readtzFile): Likewise.
1350 (skipFully): Likewise.
1351 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
1352 getDefaultTimeZoneId and rewritten.
1353 (getDefaultTimeZoneId): Rewritten in java.
1354
ed89de94
DD
13552004-08-25 David Daney <daney@avtrex.com>
1356
1357 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
1358 * Makefile.in: Regenerated.
1359
8ba14152
BM
13602004-08-23 Bryce McKinlay <mckinlay@redhat.com>
1361
1362 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
1363 only if jvmpi is enabled.
1364 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
1365 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
1366 (_Jv_AllocString): Likewise.
1367 (_Jv_AllocPtrFreeObject): Likewise.
1368
0039c16d 13692004-08-23 Hans Boehm <Hans.Boehm@hp.com>
8ba14152 1370
0039c16d
HB
1371 * defineclass.cc: Include <stdio.h>.
1372 * java/lang/natClassLoader.cc: Include <stdio.h>.
1373
be2043db
AT
13742004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
1375 Michael Koch <konqueror@gmx.de>
1376
1377 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
1378 * Makefile.in: Regenerated.
1379
b7d9c3ae
MK
13802004-08-20 Michael Koch <konqueror@gmx.de>
1381
1382 * configure.ac: Replaced all AC_TRY_COMPILE macros with
1383 AC_COMPILE_IFELSE macros.
1384
80d8905c
MK
13852004-08-20 Michael Koch <konqueror@gmx.de>
1386
1387 * configure.in: Renamed to configure.ac.
1388 * configure.ac: New file.
1389 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
1390 include/config.h.in, testsuite/Makefile.in: Regenerated.
1391
cad90591
MK
13922004-08-20 Michael Koch <konqueror@gmx.de>
1393
1394 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
1395 * aclocal.m4, configure: Regenerated.
1396
e3f92d3b
MK
13972004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
1398 Michael Koch <konqueror@gmx.de>
1399
438c7f23
BM
1400 * configure.in, Makefile.am: Ported to automake 1.9.
1401 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
1402 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
e3f92d3b
MK
1403 Regenerated.
1404
476a918f
TT
14052004-08-19 Tom Tromey <tromey@redhat.com>
1406
1407 * java/net/DatagramSocket.java: Fixed typo.
1408
bb0452b1
BM
14092004-08-18 Bryce McKinlay <mckinlay@redhat.com>
1410
1411 PR libgcj/17081
1412 * java/net/URI.java (string): New field. Make all other fields
1413 transient.
1414 (readObject): Implemented.
1415 (writeObject): Implemented.
1416 (URI): Set 'string'.
1417
b4b3435e
BM
14182004-08-18 Bryce McKinlay <mckinlay@redhat.com>
1419
1420 PR libgcj/17079
1421 * java/util/logging/Handler.java (isLoggable): Accept record if its
1422 log level equals the threshold level. From Robin Green.
1423
720086cd
DD
14242004-08-18 David Daney <ddaney@avtrex.com>
1425
1426 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
1427 instead of sigwait.
1428
baeff970
MK
14292004-08-17 Michael Koch <konqueror@gmx.de>
1430
1431 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
1432 * Makefile.in: Regenerated.
1433
0e5b1376
TT
14342004-08-16 Tom Tromey <tromey@redhat.com>
1435
1436 PR java/8473:
1437 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
1438
be170ef2
MK
14392004-08-16 Michael Koch <konqueror@gmx.de>
1440
1441 * Makefile.am
1442 (math_c_files): Renamed from c_files.
1443 (math_c_source_files): Renamed from c_source_files.
1444 * Makefile.in,
1445 gcj/Makefile.in,
1446 include/Makefile.in,
1447 testsuite/Makefile.in: Regenerated.
1448
7614fd28
BM
14492004-08-16 Bryce McKinlay <mckinlay@redhat.com>
1450
1451 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
1452 to avoid autoconf warning.
1453 * configure: Rebuilt.
1454
1c5192e4
AT
14552004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
1456
1457 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
1458 localhostAddress to loopbackAddress.
1459 * java/net/natInetAddressWin32.cc (lookup): Likewise.
1460
4109fe85
BM
14612004-08-13 Bryce McKinlay <mckinlay@redhat.com>
1462
1463 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
1464 boehm-gc's include dirs.
1465 * configure: Rebuilt.
1466 * include/boehm-gc.h: Include gc_config.h.
1467
d7945faf
BM
14682004-08-13 Bryce McKinlay <mckinlay@redhat.com>
1469
1470 * java/net/InetAddress.java (loopbackAddress): Renamed from
1471 localhostAddress.
1472 (getByName): Return loopback address for null hostname, without
1473 security check. Use lookup(), not getAllByName.
1474 (getAllByName): Return loopback address for null hostname, without
1475 security check.
1476 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
1477 check here.
1478
73389fa4
BM
14792004-08-13 Bryce McKinlay <mckinlay@redhat.com>
1480
1481 PR libgcj/17020
1482 Reported by Robin Green.
1483 * defineclass.cc (handleField): Don't throw exception on unrecognised
1484 modifier. Add FIXME comments for spec compliance.
1485 (handleMethod): Likewise.
1486
28e99c62
HB
14872004-08-10 Hans Boehm <Hans.Boehm@hp.com>
1488
1489 PR libgcj/16662
1490 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
1491 (Almost everywhere): add LOG calls, fix, add comments.
1492 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
1493 Add explicit check for LOCKED bit in slow case (PR 16662).
1494 (_Jv_MonitorExit): Add casts in debug-only code.
1495 Always release LOCKED bit before throwing exception.
1496 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
1497 isn't. Handle easy cases without lock acquisition.
1498 (Object::wait): Use NotifyAll for lock inflation.
1499
faa03cf1
DD
15002004-08-12 David Daney <ddaney@avtrex.com>
1501
1502 * testsuite/libjava.lang/Process_1.java: New test.
1503 * testsuite/libjava.lang/Process_2.java: New test.
1504 * testsuite/libjava.lang/Process_3.java: New test.
1505 * testsuite/libjava.lang/Process_4.java: New test.
1506 * testsuite/libjava.lang/Process_5.java: New test.
1507 * testsuite/libjava.lang/Process_6.java: New test.
1508 * testsuite/libjava.lang/Process_1.out: Expected result.
1509 * testsuite/libjava.lang/Process_2.out: Expected result.
1510 * testsuite/libjava.lang/Process_3.out: Expected result.
1511 * testsuite/libjava.lang/Process_4.out: Expected result.
1512 * testsuite/libjava.lang/Process_5.out: Expected result.
1513 * testsuite/libjava.lang/Process_6.out: Expected result.
1514
15152004-08-12 David Daney <ddaney@avtrex.com>
1516
1517 PR libgcj/11801
1518 * java/lang/PosixProcess.java: Rewrote.
1519 * java/lang/natPosixProcess.cc: Rewrote.
1520 * java/lang/Runtime.java (execInternal): Declare throws IOException.
1521 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
1522 * posix-threads.cc (block_sigchld) New function.
1523 (_Jv_ThreadRegister) Use it.
1524 (_Jv_ThreadStart) Use it.
1525 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
1526 * Makefile.am: ... to specify extra native headers.
1527 * configure: Regenerated.
1528 * include/config.h: Regenerated.
1529 * Makefile.in: Regenerated.
1530 * gcj/Makefile.in: Regenerated.
1531 * include/Makefile.in: Regenerated.
1532 * testsuite/Makefile.in: Regenerated.
1533
c597ef4e
DN
15342004-08-12 Diego Novillo <dnovillo@redhat.com>
1535
1536 PR tree-optimization/16867
1537 * testsuite/libjava.lang/PR16867.java: New test.
1538
b4d49f49
PB
15392004-08-09 Per Bothner <per@bothner.com>
1540
1541 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
1542 with private fields and access methods.
1543 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
1544 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
1545 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
1546 ( _Jv_makeUtf8Const): Rewrite using new constructors.
1547 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
1548 * defineclass.cc: Use new _Utf8Const access/convenience methods.
1549 * jni.cc: Likewise.
1550 * resolve.cc: Likewise.
1551 * gcj/field.h: Likewise.
1552 * include/jvm.h: Likewise.
1553 * java/lang/Class.h: Likewise.
1554 * java/lang/natClass.cc: Likwise.
1555 * java/lang/natClassLoader.cc: Likewise
1556 * java/lang/reflect/natMethod.cc: Likewise
1557 * verify.cc: Likewise.
1558 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
1559 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
1560
7e04b67b
AH
15612004-08-10 Andrew Haley <aph@redhat.com>
1562
1563 * testsuite/libjava.lang/err14.java: New file.
1564 * testsuite/libjava.lang/err14.out: New file.
1565
48a8c565
AT
15662004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
1567
1568 * Makefile.am: Fix missing rename from x_nat_headers to
1569 xlib_nat_headers.
1570 * Makefile.in: Regenerated.
1571
26be638d
AH
15722004-08-04 Andrew Haley <aph@redhat.com>
1573
1574 * java/security/BasicPermission.java: Don't check wildcards.
1575
614c0fc2
TF
15762004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1577 Michael Koch <konqueror@gmx.de>
1578
1579 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
1580 * configure.in: Replaced all usages of AC_LINK_FILES by
1581 AC_CONFIG_LINKS.
1582 * aclocal.m4,
1583 configure: Regenerated.
1584
ff78c80b
TF
15852004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1586 Michael Koch <konqueror@gmx.de>
1587
1588 * acconfig.h: Removed.
1589 * Makefile.am: Rename variables for xlib peer to include xlib and
1590 gtk_c_headers to gtk_jni_headers.
1591 * Makefile.in: Regenerated.
1592
76207f7c
AH
15932004-08-04 Andrew Haley <aph@redhat.com>
1594
1595 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
1596 debugging.
1597
aed6152d
NN
15982004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
1599
1600 * configure.in: Eliminate uses of changequote (mostly by quoting []).
1601 Replace most top level 'dnl' comments with '#' comments, conforming
1602 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
1603 help strings.
1604 * configure: Rebuilt.
1605
ed698112
NN
16062004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
1607
1608 * acinclude.m4: Include no-executables.m4.
1609 * aclocal.m4: Rebuild.
1610 * configure.in: Convert to the autoconf 2.59 version of
1611 of the no-executables hack, and also of the nonstandard CXX
1612 hack and the multilibbed CC and CXX hack. Change prerequisite
1613 to autoconf 2.59.
1614 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
1615 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1616 testsuite/Makefile.in: Regenerate.
1617
8e9031ec
TT
16182004-08-03 Tom Tromey <tromey@redhat.com>
1619
1620 * jni.cc: Reindented.
1621
474f5417
BM
16222004-08-02 Bryce McKinlay <mckinlay@redhat.com>
1623
1624 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
1625
899deeca
BM
16262004-08-02 Bryce McKinlay <mckinlay@redhat.com>
1627
1628 * testsuite/libjava.compile/PR16701.java: New test.
1629
b828123e
AJH
16302004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
1631
1632 * java/util/Collection.java, java/util/List.java,
1633 java/util/Map.java, java/util/Set.java,
1634 java/util/SortedMap.java, java/util/SortedSet.java:
1635 Added additional exceptions to documentation.
1636
5b5662ee
DS
16372004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
1638
1639 PR libgcj/16814
1640 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
1641 * configure. Regenerate.
1642 * include/win32.h: Explicitly include winsock2.h
1643 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
1644 Winsock api.
1645
f370ef24
MK
16462004-07-30 Michael Koch <konqueror@gmx.de>
1647
1648 * java/util/zip/GZIPInputStream.java
1649 (GZIPInputStream): Increase buffer size to 4k.
1650 * java/util/zip/GZIPOutputStream.java
1651 (GZIPOutputStream): Likewise.
1652 * java/util/zip/Inflater.java
1653 (setInput): Merged formating with GNU classpath.
1654 * java/util/zip/InflaterInputStream.java
1655 (InflaterInputStream): Increase buffer size to 4k.
1656 (fill): Throw exception if stream ends early.
1657 (read): Merged endless-loop with GNU classpath.
1658 (skip): Increase buffer size to 2k.
1659
2afed683
MK
16602004-07-30 Michael Koch <konqueror@gmx.de>
1661
1662 * gnu/java/awt/EmbeddedWindow.java
1663 (addNotify): Use AccessController to allow execution of privileged
1664 code.
1665
a639e504
MK
16662004-07-29 Michael Koch <konqueror@gmx.de>
1667
1668 * gnu/java/lang/MainThread.java:
1669 Explicitely import used classes.
1670 (args): Make it type String[].
1671
1cc49b13
DT
16722004-07-29 Dalibor Topic <robilad@kaffe.org>
1673
1674 * gnu/java/awt/ComponentDataBlitOp.java,
1675 gnu/java/beans/ExplicitBeanInfo.java,
1676 gnu/java/beans/IntrospectionIncubator.java,
1677 gnu/java/beans/editors/ColorEditor.java,
1678 gnu/java/beans/editors/FontEditor.java,
1679 gnu/java/beans/editors/NativeBooleanEditor.java,
1680 gnu/java/beans/editors/NativeByteEditor.java,
1681 gnu/java/beans/editors/NativeDoubleEditor.java,
1682 gnu/java/beans/editors/NativeFloatEditor.java,
1683 gnu/java/beans/editors/NativeIntEditor.java,
1684 gnu/java/beans/editors/NativeLongEditor.java,
1685 gnu/java/beans/editors/NativeShortEditor.java,
1686 gnu/java/beans/editors/StringEditor.java,
1687 gnu/java/io/ClassLoaderObjectInputStream.java,
1688 gnu/java/io/decode/Decoder.java,
1689 gnu/java/io/encode/Encoder.java,
1690 gnu/java/lang/ClassHelper.java,
1691 gnu/java/locale/Calendar.java,
1692 gnu/java/locale/Calendar_de.java,
1693 gnu/java/locale/Calendar_en.java,
1694 gnu/java/locale/Calendar_nl.java,
1695 gnu/java/locale/LocaleInformation_de.java,
1696 gnu/java/locale/LocaleInformation_en.java,
1697 gnu/java/locale/LocaleInformation_nl.java:
1698 Cleaned up imports.
1699
4d4fed15
BM
17002004-07-28 Bryce McKinlay <mckinlay@redhat.com>
1701
1702 * README: Remove obsolete info. Update bug URL.
1703 * THANKS: Updated.
e90bcbf5 1704 * NEWS: Updated with news up to GCC 3.4 release.
4d4fed15 1705
64d696b6
BM
17062004-07-28 Bryce McKinlay <mckinlay@redhat.com>
1707
1708 * gnu/java/security/action/GetPropertyAction.java (setParameters):
1709 Renamed from 'setName'. New 2-argument form with default value.
1710 (run): Pass default 'value' parameter to System.getProperty().
1711 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
1712 typos.
1713 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
1714 not 'setName'.
1715
f0faf24b
BM
17162004-07-28 Bryce McKinlay <mckinlay@redhat.com>
1717
1718 * configure.in: Check for minimum GTK version 2.4 requirement.
1719 * configure: Rebuilt.
1720
ce961468
BM
17212004-07-27 Bryce McKinlay <mckinlay@redhat.com>
1722
1723 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
1724 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
1725 Reduce sleep time.
1726 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
1727 compiler bug.
1728 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
1729 address. Reduce sleep times. Synchronize with target threads before
1730 attempting to interrupt them. Don't try to calibrate yeild count,
1731 instead, always loop for a fixed time.
1732 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
1733 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
1734 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
1735 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
1736 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
1737 * testsuite/libjava.lang/pr179.java: Likewise.
1738 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
1739 time. Remove upper bounds check on sleep time.
1740
0954f3eb
BM
17412004-07-27 Bryce McKinlay <mckinlay@redhat.com>
1742
1743 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
1744 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
1745
d078f7c0
BM
17462004-07-27 Bryce McKinlay <mckinlay@redhat.com>
1747
1748 * java/io/File.java (toURI): Throw RuntimeException, not
1749 InternalError.
1750 * java/lang/Runtime.java (exit): Qualify static sleep() call with
1751 class name, not instance.
1752
8b66a9e9
BM
17532004-07-24 Bryce McKinlay <mckinlay@redhat.com>
1754
1755 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
1756 and gnu/java/security/action/SetAccessibleAction.java.
1757 * Makefile.in: Rebuilt.
1758
ffe4e037
BM
17592004-07-23 Bryce McKinlay <mckinlay@redhat.com>
1760
1761 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
1762 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
1763 _Jv_InitPrimClass.
1764 (DECLARE_PRIM_TYPE): Don't declare array vtables.
1765 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
1766 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
1767
ef05818b
TF
17682004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
1769
1770 * Makefile.am: Replace jar, rmic and rmiregistry references with
1771 gjar, grmic and grmiregistry.
1772 * configure.in: Likewise.
1773 * Makefile.in: Regenerate.
1774 * configure: Likewise.
1775 * gcj/Makefile.in: Likewise.
1776 * include/Makefile.in: Likewise.
1777 * testsuite/Makefile.in: Likewise.
1778
ae066484
BM
17792004-07-23 Bryce McKinlay <mckinlay@redhat.com>
1780
ec5c28ec
BM
1781 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
1782 for privileged getProperty calls.
1783 * java/io/ObjectOutputStream.java (getField): No longer static. Use
1784 SetAccessibleAction instead of anonymous class for doPrivileged call.
1785 (getMethod): Likewise.
1786 (setAccessible): New field. PrivilegedAction object to use when
1787 calling setAccessible.
1788 * java/io/ObjectStreamClass.java (calculateOffsets): Use
1789 SetAccessibleAction instead of anonymous class for diPrivileged call.
1790 (setFields): Likewise.
1791 (getClassUID): Likewise.
1792 (findMethod): Likewise.
1793 * gnu/java/security/action/GetPropertyAction.java: New class.
1794 * gnu/java/security/action/SetAccessibleAction.java: New class.
1795
17962004-07-23 Bryce McKinlay <mckinlay@redhat.com>
1797
1798 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
1799 for final fields.
ae066484
BM
1800 * testsuite/libjava.lang/Serialization.java: New test.
1801 * testsuite/libjava.lang/Serialization.out: New.
1802
18032004-07-23 Bryce McKinlay <mckinlay@redhat.com>
694e657a
MW
1804
1805 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
1806 missed in last commit.
1807
392abf6b
MW
18082004-07-23 Mark Wielaard <mark@klomp.org>
1809
1810 * java/lang/System.java (static): Set http.agent system property when
1811 not yet set.
1812 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
1813 from system property inside AccessController.doPrivileged() call.
1814 (proxyPort): Made package private.
1815 (proxyInUse): Likewise.
1816 (proxyHost): Likewise.
1817 (userAgent): Likewise.
1818
6d97cb60
MW
18192004-07-23 Mark Wielaard <mark@klomp.org>
1820
1821 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
1822 implementation.
1823
f1f90ae0
BM
18242004-07-22 Bryce McKinlay <mckinlay@redhat.com>
1825
1826 * Makefile.am (ordinary_java_source_files): Add
1827 DefaultContentHandlerFactory.java.
1828 * Makefile.in: Rebuilt.
1829 * java/net/URLConnection.java (defaultFactory): New field.
1830 (getContent):
1831 (getContentHandler): Renamed from 'setContentHandler'. Try
1832 defaultFactory after user-set factory, if any. Search for content
1833 handler implementations in gnu.java.net.content, not gnu.gcj.content.
1834 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
1835 Implemented.
1836 (getLastModified): Implemented.
1837 (getPermission): Create file permission here, instead of in
1838 constructor.
1839 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
1840 Implemented.
1841 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
1842 Implemented.
1843 (getLastModified): Implemented.
1844 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
1845 Default implementation.
1846 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
1847 Implement using GdkPixbufDecoder.
1848
8e99fb4f
GH
18492004-07-21 Michael Koch <konqueror@gmx.de>
1850
1851 * javax/swing/JTextArea.java
1852 (setLineWrap): Fire property change event after new value is set.
1853 (setTabSize): Likewise.
1854
18552004-07-21 Michael Koch <konqueror@gmx.de>
1856
1857 * javax/swing/JTable.java
1858 (autoCreateColumnsFromModel): New field.
1859 (autoResizeMode): Likewise.
1860 (cellEditor): Likewise.
1861 (cellSelectionEnabled): Likewise.
1862 (columnModel): Likewise.
1863 (dataModel): Likewise.
1864 (defaultEditorsByColumnClass): Likewise.
1865 (defaultRenderersByColumnClass): Likewise.
1866 (editingColumn): Likewise.
1867 (editingRow): Likewise.
1868 (gridColor): Likewise.
1869 (preferredViewportSize): Likewise.
1870 (rowHeight): Likewise.
1871 (rowMargin): Likewise.
1872 (rowSelectionAllowed): Likewise.
1873 (selectionBackground): Likewise.
1874 (selectionForeground): Likewise.
1875 (selectionModel): Likewise.
1876 (showHorizontalLines): Likewise.
1877 (showVerticalLines): Likewise.
1878 (tableHeader): Likewise.
1879 (JTable): Implemented.
1880 (getColumnModel): Likewise.
1881 (getSelectedRow): Likewise.
1882 (getSelectionModel): Likewise.
1883 (setModel): Likewise.
1884 (setSelectionModel): Likewise.
1885 (createScrollPaneForTable): New method.
1886 (createDefaultDataModel): Likewise.
1887 (createDefaultListSelectionModel): Likewise.
1888 (getModel): Likewise.
1889 (getTableHeader): Likewise.
1890 (setTableHeader): Likewise.
1891 (getColumnSelectionAllowed): Likewise.
1892 (setColumnSelectionAllowed): Likewise.
1893 (getRowSelectionAllowed): Likewise.
1894 (setRowSelectionAllowed): Likewise.
1895 (getAutoResizeMode): Likewise.
1896 (setAutoResizeMode): Likewise.
1897 (getColumnCount): Likewise.
1898 (getRowCount): Likewise.
1899 (getCellRenderer): Likewise.
1900 * javax/swing/JTree.java
1901 (cellRenderer): New field.
1902 (editable): Likewise.
1903 (rootVisible): Likewise.
1904 (showsRootHandles): Likewise.
1905 (getModel): New method.
1906 (setModel): Likewise.
1907 (isEditable): Likewise.
1908 (setEditable): Likewise.
1909 (isRootVisbile): Likewise.
1910 (setRootVisible): Likewise.
1911 (getShowsRootHandles): Likewise.
1912 (setShowRootHandles): Likewise.
1913 (getCellRenderer): Likewise.
1914 (setCellRenderer): Likewise.
1915
19162004-07-21 Michael Koch <konqueror@gmx.de>
1917
1918 * javax/swing/JFormattedTextField.java
1919 (setDocument): Implemented.
1920 * javax/swing/JRootPane.java:
1921 Fixed javadocs.
1922 * javax/swing/JTable.java
1923 (getDefaultRenderer): New method.
1924 * javax/swing/JTextField.java
1925 (setFont): Likewise.
1926 (getPreferredSize): Likewise.
1927 * javax/swing/JToggleButton.java
1928 (getAccessibleContext): Fix javadoc.
1929 * javax/swing/JTree.java:
1930 Add some javadocs.
1931 * javax/swing/JViewport.java:
1932 Likewise.
1933
19342004-07-21 David Jee <djee@redhat.com>
1935
1936 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
1937 Collect all native method declaration at the top.
1938 (create): Set the filename filter if necessary.
1939 (setDirectory): Call nativeSetDirectory().
1940 (setFilenameFilter): Implement.
1941 (filenameFilterCallback): New method.
1942 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1943 (create): Configure dialog to show hidden files.
1944 (filenameFilterCallback): New function.
1945 (nativeSetFilenameFilter): New function.
1946 (nativeSetDirectory): New function.
1947
19482004-07-21 Kim Ho <kho@redhat.com>
1949
1950 * javax/swing/plaf/basic/BasicSliderUI.java:
1951 Ran Jalopy.
1952 (paintTrack): Fill the track before painting
1953 the borders.
1954
19552004-07-21 Graydon Hoare <graydon@redhat.com>
1956
1957 patch from Roman Kennke <roman@ontographics.com>
1958 * javax/swing/Spring.java: New file.
1959 * javax/swing/SpringLayout.java: New file.
1960 * Makefile.am: Add new files.
1961 * Makefile.in: Regenerate.
1962
19632004-07-21 Graydon Hoare <graydon@redhat.com>
1964
1965 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
1966 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
1967 * javax/swing/ScrollPaneLayout.java: Likewise.
1968
19692004-07-21 Kim Ho <kho@redhat.com>
1970
1971 * javax/swing/DefaultDesktopManager.java:
1972 (findMinimum): Removed.
1973 (resizeFrame): Trust the UI to pass valid
1974 bounds.
1975 * javax/swing/JOptionPane.java:
1976 Implemented showInternalXXXDialog methods.
1977 (startModal): New method.
1978 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
1979 (BorderListener::mouseDragged): Verify that the new
1980 bounds are valid before passing them to the DesktopManager.
1981 (preferredLayoutSize): Delegate
1982 to getSize.
1983 (minimumLayoutSize): Ditto.
1984 (getSize): New method.
1985 (GlassPaneDispatcher): Reimplemented by copying
1986 a stripped down LightweightDispatcher from Container.
1987 (getMinimumSize): Call minimumLayoutSize.
1988 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1989 Ran Jalopy.
1990 (mousePressed): Add ability to properly close
1991 JInternalFrames.
1992 * javax/swing/plaf/basic/BasicToolBarUI.java:
1993 (DragWindow): Set owner for DragWindow.
1994
19952004-07-21 Jerry Quinn <jlquinn@optonline.net>
1996
1997 * java/awt/image/ShortLookupTable.java: New file.
1998 * java/awt/image/ByteLookupTable.java: New file.
1999 * Makefile.am: Added new files.
2000 * Makefile.in: Regenerated.
2001
20022004-07-21 David Jee <djee@redhat.com>
2003
2004 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2005 (create(GtkContainerPeer)): New native method.
2006 (create()): Call native create(), passing in the parent frame
2007 as the paramter. Natively set the current file and directory.
2008 (setFile): Construct an absolute filename before passing it to
2009 the native peer.
2010 (nativeGetDirectory): New method.
2011 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2012 (window_closed): Removed.
2013 (ok_clicked): Likewise.
2014 (cancel_clicked): Likewise.
2015 (handle_response): New method.
2016 (create): Use GtkFileChooserDialog.
2017 (connectSignals): Connect to handle_response.
2018 (nativeGetDirectory): New method.
2019 (nativeSetFile): Use GtkFileChooserDialog.
2020
20212004-07-21 Jerry Quinn <jlquinn@optonline.net>
2022
2023 * java/awt/image/LookupTable.java: New file.
2024 * Makefile.am: Added new file.
2025 * Makefile.in: Regenerated.
2026
20272004-07-21 Jerry Quinn <jlquinn@optonline.net>
2028
2029 * java/awt/image/Kernel.java: New file.
2030 * Makefile.am: Added new file.
2031 * Makefile.in: Regenerated.
2032
20332004-07-21 Olga Rodimina <rodimina@redhat.com>
2034
2035 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
2036 * javax/swing/JMenu.java: Likewise.
2037 * javax/swing/JMenuBar.java: Likewise.
2038 (MARGIN_CHANGED_PROPERTY): New property.
2039 (setMargin): Implemented.
2040 * javax/swing/JMenuItem.java: Fixed javadocs.
2041 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
2042 (LABEL_CHANGED_PROPERTY): New property.
2043 (add): changed to use createActionComponent.
2044 (createActionComponent): Implemented.
2045 (setLabel): Fire PropertyChangeEvent if label property
2046 changes.
2047 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
2048 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
2049 (ContainerHandler): Repaint if margin property has changed.
2050 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2051 (installUI): Call installComponents().
2052 (uninstallUI): Call uinstallComponents().
2053 * javax/swing/plaf/basic/BasicMenuUI.java:
2054 Fixed javadocs.
2055 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2056 Likewise.
2057
20582004-07-21 Kim Ho <kho@redhat.com>
2059
2060 * javax/swing/plaf/basic/BasicToolBarUI.java:
2061 (DragWindow): Use the right constructor.
2062
20632004-07-21 Kim Ho <kho@redhat.com>
2064
2065 * javax/swing/JToolBar.java:
2066 (layoutContainer): Use getComponents.
2067 * javax/swing/plaf/basic/BasicToolBarUI.java:
2068 (DragWindow): Don't use SwingUtilities'
2069 getOwnerFrame
2070 (ToolBarDialog): ditto.
2071
20722004-07-21 Kim Ho <kho@redhat.com>
2073
2074 * javax/swing/JRootPane.java:
2075 Ran jalopy.
2076 (layoutContainer): Set the glasspane's size to
2077 be the same as the content pane.
2078 (createGlassPane): Set opaque property to false.
2079
20802004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2081
2082 * java/awt/Component.java (requestFocus()): Don't handle Panels
2083 specially.
2084 (requestFocus(boolean)): Likewise.
2085 (requestFocusInWindow(boolean)): Likewise.
2086 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2087 Set GTK_CAN_FOCUS flag.
2088
20892004-07-21 Kim Ho <kho@redhat.com>
2090
2091 * Makefile.am: Added new file.
2092 * Makefile.in: Regenerated.
2093 * gcj/Makefile.in: Regenerated.
2094 * include/Makefile.in: Regenerated.
2095 * javax/swing/AbstractButton.java:
2096 Add rollOverEnabled property.
2097 (setRolloverEnabled): Use new property.
2098 (isRolloverEnabled): Use new property.
2099 * javax/swing/JTabbedPane.java:
2100 (setComponent): Remove useless JTabbedPane.this.
2101 * javax/swing/JToolBar.java: Finish implementation.
2102 * javax/swing/plaf/basic/BasicArrowButton.java:
2103 (paint): Moved border painting to a border.
2104 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2105 Change JToolBar look and feel defaults.
2106 * javax/swing/plaf/basic/BasicOptionPaneUI.java
2107 (actionPerformed): Return Integer index instead of name.
2108 (addButtonComponents): Check to see if component is
2109 JButton last.
2110 (createMessageArea): Don't use components that are not
2111 completed yet.
2112 (getIconForType): Use temporary icons.
2113 * javax/swing/plaf/basic/BasicSliderUI.java:
2114 (mousePressed): Do not return if it's on thumb.
2115 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
2116 (paintMinorTickForVertSlider): ditto.
2117 (paintMajorTickForHorizSlider): ditto.
2118 (paintMajorTickForVertSlider): ditto.
2119 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2120 Add a border around the SplitPaneDivider.
2121 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
2122 Remove comments.
2123 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
2124 New file. Implemented.
2125 * javax/swing/plaf/basic/BasicToolBarUI.java:
2126 Implemented.
2127 * testsuite/Makefile.in: Regenerated.
2128
21292004-07-21 Graydon Hoare <graydon@redhat.com>
2130
2131 * javax/swing/Timer.java (run): Queue events each time cycle.
2132
21332004-07-21 David Jee <djee@redhat.com>
2134
2135 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2136 (imageComplete): Call image.imageComplete().
2137 * java/awt/image/MemoryImageSource.java:
2138 Reimplement consumers as a Vector instead of a Hashtable. This is
2139 because enumeration on a Hashtable is not thread-safe.
2140 (addConsumer): Adapt to Vector consumers.
2141 (isConsumer): Adapt to Vector consumers.
2142 (removeConsumer): Adapt to Vector consumers.
2143 (startProduction): Adapt to Vector consumers. Call imageComplete()
2144 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
2145 (newPixels): Adapt to Vector consumers.
2146 (sendPicture): Set the color model of the image consumer.
2147 (newPixels(IIII)): Adapt to Vector consumers.
2148 (newPixels(IIIIB)): Adapt to Vector consumers.
2149
21502004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2151
2152 * java/awt/Component.java (deliverEvent): Implement.
2153 (postEvent): Implement.
2154 (handleEvent): Implement.
2155 (translateEvent): New method.
2156 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
2157 * java/awt/Container.java (deliverEvent): Implement.
2158 * java/awt/Event.java (paramString): Fix formatting.
2159 * java/awt/Font.java (toString): Likewise.
2160 * java/awt/Window.java (postEvent): Implement.
2161
21622004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2163
2164 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2165 Set window's focus owner upon receiving a FOCUS_LOST event.
2166 * java/awt/Window.java (Window()): Refocus the previously
2167 focused component within the window when the window regains the
2168 top-level focus.
2169 (setFocusOwner): New method.
2170 * java/awt/Component.java (requestFocus): Add FIXME.
2171
2172 * libgcj.pc.in: Remove library flags.
2173
21742004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2175
2176 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
2177 MOUSE_PRESSED event.
2178 * java/awt/Component.java (requestFocus()): Handle Panel
2179 specially. Post FOCUS_LOST event on opposite component.
2180 (requestFocus(boolean)): Likewise.
2181 (requestFocusInWindow(boolean)): Likewise.
2182 (paramString): Reorder dimension fields.
2183 * java/awt/Container.java (paramString): Fix string format.
2184 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2185 Handle FOCUS_LOST events. Don't handle Windows specially. Only
2186 process key events if the focus owner is non-null.
2187 (dispatchKeyEvent): Likewise.
2188 * java/awt/Frame.java (paramString): Fix formatting.
2189 (generateName): New method.
2190 (getUniqueLong): Likewise.
2191 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
2192 the temporary focus owner is null. If so, return the permanent
2193 focus owner.
2194 * java/awt/Panel.java (generateName): New method.
2195 (getUniqueLong): Likewise.
2196 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
2197 signal handling to make callbacks more specific.
2198
21992004-07-21 Michael Koch <konqueror@gmx.de>
2200
2201 * javax/swing/text/Position.java
2202 (Bias): Implemented.
2203
22042004-07-21 Michael Koch <konqueror@gmx.de>
2205
2206 * javax/swing/LookAndFeel.java
2207 (provideErrorFeedback): New method.
2208
22092004-07-21 Michael Koch <konqueror@gmx.de>
2210
2211 * javax/swing/JTextArea.java
2212 (tabSize): New field.
2213 (getTabSize): New method.
2214 (setTabSize): Likewise.
2215
22162004-07-21 Michael Koch <konqueror@gmx.de>
2217
2218 * javax/swing/ActionMap.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 * javax/swing/ComponentInputMap.java:
2227 Fixed javadocs all over.
2228 (ComponentInputMap): Implemented.
2229 (put): Likewise.
2230 (clear): Likewise.
2231 (remove): Likewise.
2232 (SetParent): Likewise.
2233 (getComponent): Likewise.
2234 * javax/swing/InputMap.java:
2235 Fixed javadocs all over.
2236 (serialVersionUID): Made private.
2237 (parent): Don't explicitely initialize with default value.
2238 (get): SImplified.
2239 (keys): Reimplemented.
2240 (allKeys): Likewise.
2241 (convertSet): Removed.
2242
22432004-07-21 Michael Koch <konqueror@gmx.de>
2244
2245 * javax/swing/ActionMap.java,
2246 javax/swing/ComponentInputMap.java,
2247 javax/swing/InputMap.java,
2248 javax/swing/table/DefaultTableColumnModel.java,
2249 javax/swing/table/TableColumn.java,
2250 javax/swing/table/TableColumnModel.java,
2251 javax/swing/table/TableModel.java,
2252 javax/swing/text/AbstractDocument.java,
2253 javax/swing/text/TextAction.java:
2254 Reformated.
2255
22562004-07-21 Graydon Hoare <graydon@redhat.com>
2257
2258 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
2259 Make method non-static.
2260 * javax/swing/AbstractButton.java:
2261 Rename fields to match property names where possible.
2262 (iconTextGap): New property.
2263 * javax/swing/JCheckBox.java: Match AbstractButton changes.
2264 (init) New method, call from after various constructors.
2265 * javax/swing/JComponent.java (revalidate):
2266 Invalidate before queueing repair.
2267 * javax/swing/JList.java (getPreferredScrollableViewportSize):
2268 Reimplement in terms of visibleRowCount property.
2269 * javax/swing/JMenuButton.java: Match AbstractButton changes.
2270 * javax/swing/JScrollPane.java (createScrollListener):
2271 Remove tracing chatter.
2272 * javax/swing/JToggleButton.java: Match AbstractButton changes.
2273 * javax/swing/RepaintManager.java (addInvalidComponent):
2274 Don't invalidate.
2275 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
2276 calculations.
2277 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
2278 Mimic sun behavior on top left/right positioning.
2279 * javax/swing/ViewportLayout.java (preferredLayoutSize):
2280 Remove mistaken use of preferredScrollableViewportSize here.
2281 (layoutContainer): Use view's preferred size as basis.
2282 * javax/swing/plaf/basic/BasicButtonUI.java:
2283 Set, get, and use textIconGap property.
2284 (paint) Paint text returned from layout (with ellipsis).
2285 * javax/swing/plaf/basic/BasicListUI.java:
2286 Remove tracing chatter, correct various minor calculations.
2287 (getCellBounds): Update layout state before calculating.
2288 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
2289 Use margin default similar to sun's.
2290 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
2291 (createIncreaseIcon): Center icon, minimize margins.
2292 (createDecreaseIcon): Likewise.
2293 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
2294 Implement.
2295 (installUI): Call it.
2296 (uninstallDefaults): Implement.
2297 (uninstallUI): Call it.
2298 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
2299 Call existing Window constructor.
2300 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
2301 Set clip before painting.
2302
23032004-07-21 Olga Rodimina <rodimina@redhat.com>
2304
2305 * javax/swing/JMenuItem.java:
2306 (processMouseEvent): Reimplemented to deal with
2307 mouse drag events.
2308 (createMenuDragMouseEvent): New private helper method.
2309 Creates MenuDragMouseEvent.
2310 * javax/swing/MenuSelectionManager.java
2311 (componentForPoint): Implemented.
2312 (isComponentPartOfCurrentMenu): Made public.
2313 (processMouseEvent): Reimplemented to deal with
2314 mouse drag events.
2315 (setSelectedPath): Corrected small mistake that caused
2316 path to be set incorrectly.
2317 (getPath): If given component is JMenu then also add this
2318 menu's popup menu to the selected path.
2319 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2320 (getPath): Ditto.
2321 (getPreferredSize): Call getPreferredMenuItemSize().
2322 (getPreferredItemSize): Moved code from getPreferredSize to here.
2323 (installListeners): Install MouseMotionListeners.
2324 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
2325 if mouse wasn't released in the bounds of this menu item.
2326 (MenuDragMouseHandler): Implemented.
2327 * javax/swing/plaf/basic/BasicMenuUI.java:
2328 (installListeners): Install MouseMotionListener and
2329 MenuDrageMouseListener.
2330 (MenuDragMouseHandler): Implemented.
2331 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2332 (uninstallListeners): Implemented.
2333
23342004-07-21 Michael Koch <konqueror@gmx.de>
2335
2336 * javax/swing/JCheckBox.java: Reformated.
2337 (JCheckBox): Fixed all constructors.
2338 (isBorderPaintedFlat): New method.
2339 (setBorderPaintedFlat): New method.
2340 * javax/swing/JEditorPane.java
2341 (createEditorKitForContentType): Made public.
2342 (scrollToReference): Likewise.
2343 * javax/swing/JTextArea.java
2344 (setLineWrap): Fire property change.
2345 * javax/swing/JToggleButton.java
2346 (JToggleButton): New constructor.
2347 (JToggleButton): Simplified.
2348 * javax/swing/text/AttributeSet.java
2349 (FontAttribute): Renamed from FontCharacterAttribute.
2350 * javax/swing/text/JTextComponent.java
2351 (KeyBinBinding): Added javadoc.
2352 (JTextComponent): Likewise.
2353 (getAccessibleContext): Fixed javadoc.
2354 * javax/swing/text/View.java
2355 (View): Added javadoc.
2356 * javax/swing/text/TabableView.java: New file.
2357 * Makefile.am: Added javax/swing/text/TabableView.java.
2358 * Makefile.in: Regenerated.
2359
23602004-07-21 Graydon Hoare <graydon@redhat.com>
2361
2362 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
2363 * gnu/java/awt/peer/gtk/GtkToolkit.java
2364 (GtkErrorImage): New helper class.
2365 (bufferedImageOrError): New helper method.
2366 (createImage): Use it.
2367
23682004-07-21 David Jee <djee@redhat.com>
2369
2370 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2371 (setCaretPosition): Scroll the text view so the new caret position
2372 is visible on screen.
2373
23742004-07-21 David Jee <djee@redhat.com>
2375
2376 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
2377 (setBounds): Do not validate awtComponent here.
2378 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
2379 (getPreferredSize): New method.
2380 * java/awt/ScrollPane.java
2381 (ScrollPane): Set default size to 100x100.
2382 (addNotify): If child is not a Panel, wrap it with a new Panel.
2383 (paramString): Implement.
2384
23852004-07-21 Olga Rodimina <rodimina@redhat.com>
2386
2387 * javax/swing/JMenu.java:
2388 (setSelected): Display popup menu only if this menu
2389 is showing on the screen.
2390 * javax/swing/JPopupMenu.java:
2391 (processMouseEvent): Added comment.
2392 (processKeyEvent): Likewise.
2393 * javax/swing/MenuSelectionManager.java:
2394 (clearSelectedPath): Only fireStateChanged() after
2395 selected path was changed, not before.
2396 (setSelectedPath): Likewise.
2397 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2398 (paintMenuItem): Corrected position of menu item's
2399 icon.
2400 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2401 (installUI): Correct setDefaultLightWeightPopupEnabled call.
2402 (popupMenuCanceled): Reimplemented.
2403 (popupMenuWillBecomeVisible): Select first menu item by default
2404 when displaying free floating popup menus.
2405 (TopWindowListener): Reimplemented.
2406
24072004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2408
2409 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
2410 Panel from being painted twice when it is first shown.
2411
24122004-07-21 Olga Rodimina <rodimina@redhat.com>
2413
2414 * java/awt/Window.java: Reverted changes from my
2415 previous patch for creating window without an owner.
2416 * javax/swing/SwingUtilities.java:
2417 (SwingUtilities.OwnerFrame): made static.
2418 (OwnerFrame.setVisible): New method. Overridden with
2419 empty implementation.
2420 (OwnerFrame.isShowing): New method. Ovverridden
2421 to return always true.
2422
24232004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2424
2425 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2426 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2427 (GtkComponentPeer): Remove temporary try/catch block.
2428 (setVisible): Call show and hide.
2429 (show): Make native.
2430 (hide): Likewise.
2431 (getArgs): Don't add "visible" argument.
2432 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2433 (property_notify_predicate): Return Bool instead of int.
2434 (find_layout): New function.
2435 (connectJObject): Call find_layout.
2436 (connectSignals): Likewise.
2437 (moveLayout): Likewise.
2438 (gtkLayoutSetVisible): Likewise.
2439
24402004-07-21 Mark Wielaard <mark@klomp.org>
2441
2442 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
2443 on notifier object before calling notifyAll().
2444
24452004-07-21 Olga Rodimina <rodimina@redhat.com>
2446
2447 * java/awt/Window.java: Changed constructors to use new
2448 method that is described below. Constructors call this
2449 methods only if newly created window should have an owner.
2450 (setWindowOwner): New method. Implementation for
2451 this method is moved from this(owner,configuration).
2452 * javax/swing/JWindow.java:
2453 (JWindow): Reimplement to use SwingUtilities.ownerFrame
2454 instead of owner.
2455 * javax/swing/SwingUtilities.java:
2456 (ownerFrame): Change type of this field to OwnerFrame.
2457 (getOwnerFrame): Changed to return object of type OwnerFrame.
2458 (SwingUtilities.OwnerFrame): New class. Represents owner
2459 of a Window that is not provided with one.
2460
24612004-07-21 Olga Rodimina <rodimina@redhat.com>
2462
2463 * javax/swing/AbstractButton.java:
2464 (configurePropertiesFromAction): Set action command
2465 to button's text by default if action command is not
2466 explicitely specified.
2467 * javax/swing/JMenu.java: Remove unnecessary listener
2468 and methods relevant to it.
2469 (setSelected): Reimplemented.
2470 (menuSelectionChanged): Moved most part of implementation to
2471 setSelected() and call it instead.
2472 * javax/swing/JMenuItem.java:
2473 (init): Comment out statement that sets paint_border to false.
2474 (configurePropertiesFromAction): Do not set accelerator
2475 for JMenu.
2476 (menuSelectionChanged): Change selected index in the selection
2477 model of menu item's parent.
2478 * javax/swing/JPopupMenu.java:
2479 (remove): Set constraints.fill field to GridBagConstraints.BOTH
2480 instead of GridBagConstraints.HORIZONTAL.
2481 (insert): Likewise.
2482 (createActionChangeListener): Implemented.
2483 (setVisible): Correct location of HeavyWeightMenu and
2484 don't firePopupMenuCanceled().
2485 (menuSelectionChanged): Implemented.
2486 (ActionChangeListener): New Listener. Implemented.
2487 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2488 (BasicMenuBarUI.ContainerHandler): Implemented.
2489 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2490 (paintMenuItem): Uncommented out code that paints
2491 icon, now that icons are working properly.
2492 (PropertyChangeListener): Implemented.
2493 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2494 Added javadocs.
2495 (topWindowListener): New field.
2496 (Constructor): initialize topWindowListener.
2497 (BasicPopupMenuUI.TopWindowListener): Implemented.
2498 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
2499 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
2500 Implemented.
8e99fb4f
GH
2501
25022004-07-21 Michael Koch <konqueror@gmx.de>
2503
2504 * javax/swing/plaf/basic/BasicButtonUI.java
2505 (paintFocus): Fixed method signature.
2506 (paintButtonPressed): Likewise.
2507 (paintButtonNormal): Likewise.
2508 (paintText): New method.
2509 * javax/swing/plaf/basic/BasicLabelUI.java
2510 (paint): Re-indented.
2511 * javax/swing/plaf/basic/BasicTextUI.java
2512 (installUI): Set parent textComponent to opaque.
2513 * javax/swing/text/DefaultHighlighter.java
2514 (checkPositions): New helper method.
2515 (addHighlight): Throws BadLocationException, check positions.
2516 (changeHighlight): Likewise.
2517 * javax/swing/text/EditorKit.java
2518 (EditorKit): Implements Serializable.
2519 * javax/swing/text/JTextComponent.java
2520 (getUI): Added javadoc.
2521 (setUI): Likewise.
2522 (upadteUI): Added javadoc, don't revalidate and repaint.
2523
25242004-07-21 David Jee <djee@redhat.com>
2525
2526 * java/awt/GridBagLayout.java
2527 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
2528 * javax/swing/AbstractButton.java
2529 (setText): Reindent.
2530 * javax/swing/RepaintManager.java
2531 (addInvalidComponent): Find the first ancestor that isValidateRoot().
2532
25332004-07-21 Michael Koch <konqueror@gmx.de>
2534
2535 * javax/swing/JFormattedTextField.java
2536 (value): New field.
2537 (JFormattedTextField): Implemented.
2538 (getValue): Likewise.
2539 (setValue): Likewise.
2540 * javax/swing/LookAndFeel.java
2541 (getSupportsWindowDecorations): New method.
2542 * javax/swing/UIDefaults.java:
2543 Use java.beans.PropertyChangeSupport instead of doing all ourself.
2544 (addPropertyChangeListener): Made public.
2545 (addResourceBundle): Likewise.
2546 (removeResourceBundle): Likewise.
2547 (setDefaultLocale): Likewise.
2548 * javax/swing/plaf/basic/BasicRootPaneUI.java
2549 (BasicRootPaneUI): Implements PropertyChangeListener.
2550 (propertyChange): New method.
2551 * javax/swing/plaf/basic/BasicTextUI.java
2552 (BasicHighlighter): New inner class.
2553 (createHighlighter): New method.
2554 * javax/swing/plaf/basic/BasicToolBarUI.java
2555 (DragWindow): Extends java.awt.Window.
2556 * javax/swing/text/JTextComponent.java
2557 (getDocument): Removed debug output.
2558 * javax/swing/plaf/basic/BasicTextFieldUI.java,
2559 javax/swing/text/DefaultHighlighter.java,
2560 javax/swing/text/FieldView.java,
2561 javax/swing/text/PlainView.java: New files.
2562 * Makefile.am: Added new files.
2563 * Makefile.in: Regenerated.
2564
25652004-07-21 Michael Koch <konqueror@gmx.de>
2566
2567 * javax/swing/JEditorPane.java
2568 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
2569 (createEditorKitForContentType): Likewise.
2570 * javax/swing/text/DefaultEditorKit.java
2571 (serialVersionUID): Added constant field.
2572 (EndOfLineStringPropery): Fixed typo.
2573 (DefaultEditorKit): New constructor.
2574 * javax/swing/text/Segment.java:
2575 Import java.text.CharacterIterator.
2576 * javax/swing/text/CharacterIterator.java,
2577 javax/swing/text/PlainEditorKit.java: Removed.
2578 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
2579 javax/swing/text/PlainEditorKit.java.
2580 * Makefile.in: Regenerated.
2581
25822004-07-21 Michael Koch <konqueror@gmx.de>
2583
2584 * javax/swing/JButton.java,
2585 javax/swing/text/DefaultEditorKit.java,
2586 javax/swing/text/EditorKit.java,
2587 javax/swing/text/Segment.java,
2588 javax/swing/text/StyledEditorKit.java:
2589 Reformatted.
2590
25912004-07-21 Michael Koch <konqueror@gmx.de>
2592
2593 * javax/swing/ImageIcon.java
2594 (file): Removed.
2595 (description): Renamed from descr.
2596 (ImageIcon): Added missing constructors.
2597 (setParent): Removed.
2598 (setImageObserver): New method.
2599 (getImageObserver): New method.
2600 (paintIcon): Handle observer = null.
2601 * javax/swing/JButton.java
2602 (removeNotify): Fixed javadoc.
2603 (updateUI): Simplified.
2604 * javax/swing/JRootPane.java
2605 (serialVersionUID): New constant field.
2606 * javax/swing/UIManager.java:
2607 Fixed javadocs all over.
2608 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
2609 * javax/swing/text/AbstractDocument.java
2610 (createPosition): Throws BadLocationException.
2611 (getText): Likewise.
2612 (remove): Likewise.
2613 * javax/swing/text/ComponentView.java
2614 (modelToView): Likewise.
2615 * javax/swing/text/DefaultEditorKit.java:
2616 Made all public methods public.
2617 (read): Throws BadLocationException and IOException.
2618 (write): Likewise.
2619 * javax/swing/text/EditorKit.java:
2620 Made all public methods public.
2621 (serialVersionUID): New constant field.
2622 (clone): New method.
2623 (read): Throws BadLocationException and IOException.
2624 (write): Likewise.
2625 * javax/swing/text/Segment.java
2626 (array): Made public.
2627 (count): Likewise.
2628 (offset): Likewise.
2629 (Segment): New constructors.
2630 (clone): Reimplemented.
2631 * javax/swing/text/StyledEditorKit.java
2632 (serialVersionUID): New constant field.
2633
26342004-07-21 Graydon Hoare <graydon@redhat.com>
2635
2636 * java/awt/image/BufferedImage.java
2637 (getSource): Implement.
2638 * javax/swing/ImageIcon.java
2639 (ImageIcon): Implement ctor.
2640 * javax/swing/ScrollPaneLayout.java
2641 (preferredLayoutSize): Be more careful about nulls.
2642
26432004-07-21 Michael Koch <konqueror@gmx.de>
2644
2645 * javax/swing/text/AttributeSet.java
2646 (CharacterAttribute): New interface
2647 (ColorAttribute): Likewise.
2648 (FontCharacterAttribute): Likewise.
2649 (ParagraphAttribute): Likewise.
2650 * javax/swing/text/DefaultCaret.java
2651 (moveCaret): New method.
2652 (positionCaret): Likewise.
2653 (repaint): Made protected.
2654 * javax/swing/text/JTextComponent.java
2655 (KeyBinding): Made it static.
2656 * javax/swing/text/View.java
2657 (getContainer): Honor parent == null.
2658
26592004-07-21 Michael Koch <konqueror@gmx.de>
2660
2661 * javax/swing/text/AbstractDocument.java:
2662 Reformatted.
2663
26642004-07-21 Michael Koch <konqueror@gmx.de>
2665
2666 * javax/swing/plaf/basic/BasicRootPaneUI.java:
2667 Import javax.swing.UIManager explicitely.
2668 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2669 (ScrollingButton): Made it static.
2670
26712004-07-21 Michael Koch <konqueror@gmx.de>
2672
2673 * javax/swing/UIDefaults.java
2674 (ActiveValue): Made public.
2675 (LazyValue): Likewise.
2676 * javax/swing/plaf/basic/BasicTextUI.java
2677 (RootView): Reintroduced.
2678 (view): Removed.
2679 (rootView): New field.
2680 (installUI): Create document if needed, initialize rootView.
2681 (uninstallUI): Hanle rootView.
2682 (paint): Likewise.
2683 (getRootView): Likewise.
2684 (setView): Likewise.
2685 * javax/swing/text/DefaultCaret.java:
2686 Renamed all "evt" variables to "event".
2687
26882004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2689
2690 * libgcj.spec.in: Add -l-java-util-logging.
2691
26922004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
2693
2694 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2695 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
2696 gtk-xft-dpi can no calculate the right value.
2697 (dpi_changed_cb): Mark *pspec as unsused.
2698
26992004-07-21 David Jee <djee@redhat.com>
2700
2701 * java/awt/Component.java
2702 (move): Delegate to setBounds().
2703 (resize): Likewise.
2704 (reshape): Fix so it repaints parent and self only when necessary.
2705
27062004-07-21 David Jee <djee@redhat.com>
2707
2708 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2709 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2710 (GtkComponentPeer): Revert previous patch from 2004-06-22.
2711 (setVisible): Likewise.
2712 (show): Likewise.
2713 (hide): Likewise.
2714 (getArgs): Likewise.
2715 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2716 (property_notify_predicate): Likewise.
2717 (find_layout): Likewise.
2718 (connectJObject): Likewise.
2719 (connectSignals): Likewise.
2720 (moveLayout): Likewise.
2721 (gtkLayoutSetVisible): Likewise.
2722
27232004-07-21 Graydon Hoare <graydon@redhat.com>
2724
2725 * Makefile.am
2726 (jv_convert_LDADD):
2727 (gij_LDADD):
2728 (rmic_LDADD):
2729 (rmiregistry_LDADD): Add lib-java-util-logging.la
2730 * Makefile.in: Regenerate.
2731
27322004-07-21 Michael Koch <konqueror@gmx.de>
2733
2734 * javax/swing/text/AbstractDocument.java
2735 (replace): Dont use protected method of java.util.Vector directly.
2736
27372004-07-21 Michael Koch <konqueror@gmx.de>
2738
2739 * javax/swing/plaf/basic/BasicTextUI.java
2740 (installUI): Call specialized install methods.
2741 (installDefaults): New method.
2742 (installListeners): Likewise.
2743 (installKeyboardActions): Likewise.
2744 (uninstallUI): Likewise.
2745 (uninstallDefaults): New method.
2746 (uninstallListeners): Likewise.
2747 (uninstallKeyboardActions): Likewise.
2748 (getPropertyPrefix): New abstract method.
2749 (paint): Made final, just call paintSafely().
2750 (paintSavely): New method.
2751 (paintBackground): Likewise.
2752 (getVisibleEditorRect): Likewise.
2753 * javax/swing/text/LayeredHighlighter.java,
2754 javax/swing/text/TabExpander.java: New files.
2755 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
2756 and javax/swing/text/TabExpander.java.
2757 * Makefile.in: Regenerated.
2758
27592004-07-21 Michael Koch <konqueror@gmx.de>
2760
2761 * javax/swing/plaf/basic/BasicTextUI.java
2762 (BasicTextUI): Made abstract.
2763 (BasicCaret): New inner class.
2764 (view): Don't explicitely initialize with "null".
2765 (textComponent): New field.
2766 (textColor): Removed.
2767 (disabledTextColor): Removed.
2768 (normalBackgroundColor): Removed.
2769 (RootView): Removed commented out inner class.
2770 (createUI): Removed.
2771 (createCaret): New method.
2772 (getComponent): Likewise.
2773 (installUI): Initialize textComponent only.
2774 (getPreferredSize): Use installed JTextComponent.
2775 (setView): New method.
2776 (create): Likewise.
2777 * javax/swing/text/JTextComponent.java
2778 (highlighter): New field.
2779 (caretColor): Likewise.
2780 (disabledTextColor): Likewise.
2781 (seletedTextColor): Likewise.
2782 (selectionColor): Likewise.
2783 (setUI): New method.
2784 (getCaretColor): Likewise.
2785 (setCaretColor): Likewise.
2786 (getDisabledColor): Likewise.
2787 (setDisabledColor): Likewise.
2788 (getSelectedTextColor): Likewise.
2789 (setSelectedTextColor): Likewise.
2790 (getSelectionColor): Likewise.
2791 (setSelectionColor): Likewise.
2792 (getHighlighter): Likewise.
2793 (setHighlighter): Likewise.
2794 (replaceSelection): Likewise.
2795
27962004-07-21 Michael Koch <konqueror@gmx.de>
2797
2798 * javax/swing/plaf/basic/BasicScrollPaneUI.java
2799 (BasicScrollPaneUI): Implements ScrollPaneConstants.
2800 * javax/swing/plaf/basic/BasicToolBarUI.java
2801 (BasicToolBarUI): Implements SwingConstants.
2802
28032004-07-21 Michael Koch <konqueror@gmx.de>
2804
2805 * javax/swing/JPopupMenu.java: Removed CVS tags.
2806 * javax/swing/UIDefaults.java: Reformatted.
2807 * javax/swing/plaf/basic/BasicRootPaneUI.java:
2808 Explicitely import used classes.
2809
28102004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2811
2812 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2813 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2814 (GtkComponentPeer): Remove temporary try/catch block.
2815 (setVisible): Call show and hide.
2816 (show): Make native.
2817 (hide): Likewise.
2818 (getArgs): Don't add "visible" argument.
2819 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2820 (property_notify_predicate): Return Bool instead of int.
2821 (find_layout): New function.
2822 (connectJObject): Call find_layout.
2823 (connectSignals): Likewise.
2824 (moveLayout): Likewise.
2825 (gtkLayoutSetVisible): Likewise.
2826
28272004-07-21 Olga Rodimina <rodimina@redhat.com>
2828
2829 * javax/swing/AbstractButton.java:
2830 (setDisplayedMnemonicIndex): Check if button
2831 text is not null before checking its length.
2832 * javax/swing/JMenuItem.java:
2833 (processMouseEvent): Disarm menu item if mouse has
2834 exited it.
2835 * javax/swing/plaf/basic/BasicMenuUI.java:
2836 (MouseInputHandler.mouseEntered): Do not raise
2837 popup menu if this menu is already selected.
2838 (MouseInputHandler.mousePressed): Do not fire
2839 MenuEvents.
2840 (MenuHandler): Implemented.
2841
28422004-07-21 Olga Rodimina <rodimina@redhat.com>
2843
2844 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
2845 (getSelectedObjects): Implemented.
2846 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
2847 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
2848 Added javadoc for few methods.
2849 (processMouseEvent): Made public.
2850 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
2851 (processMouseEvent): Likewise.
2852
28532004-07-21 Olga Rodimina <rodimina@redhat.com>
2854
2855 * javax/swing/AbstractButton.java:
2856 (init): Set display mnemonic index to -1.
2857 (setMnemonic(char)): Use setMnemonic(int).
2858 (setMnemonic(int)): Set display mnemonic index.
2859 (getDisplayedMnemonicIndex): Change method signature
2860 by removing 'index' parameter.
2861 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2862 Added default for Menu.selectionBackground.
2863 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2864 (paintMenuItem): Change background color of the selected
2865 menu item.
2866 (paintText): Paint differently when menu item is disabled.
2867 Also paint mnemonic if it appears in the menu item's label.
2868 (paintAccelerator): Paint accelerator differently
2869 if menu item is disabled.
2870 * javax/swing/plaf/basic/BasicMenuUI.java:
2871 (installDefaults): Install defaults for
2872 selectionForeground and selectionBackground.
2873 (uninstallDefaults): Uninstall defauls for
2874 selectionForeground and selectionBackground.
2875
28762004-07-21 Michael Koch <konqueror@gmx.de>
2877
2878 * javax/swing/text/AbstractDocument.java
2879 (BranchElement): Implemented.
2880 (LeafElement): Implemented.
2881 * javax/swing/text/DefaultCaret.java:
2882 Import used classes.
2883 (serialVersionUID): New constant.
2884 * javax/swing/text/JTextComponent.java
2885 (AccessibleJTextComponent): Removed dead declaration.
2886 (caretPos): Removed.
2887 (setCaret): New method.
2888 * javax/swing/text/PlainDocument.java
2889 (rootElement): New field.
2890 (PlainDocument): Initialize rootElement.
2891 (createDefaultRoot): New method.
2892 (getDefaultRootElement): Implemented.
2893 * javax/swing/text/View.java: Reformatted.
2894 * javax/swing/text/ViewFactory.java
2895 (create): Added javadoc.
2896
28972004-07-21 Michael Koch <konqueror@gmx.de>
2898
2899 * javax/swing/ToolTipManager.java: Reformatted.
2900
29012004-07-21 Rodimina Olga <rodimina@redhat.com>
2902
2903 * javax/swing/AbstractButton.java
2904 (changeEvent): New field.
2905 (fireItemStateChanged): Change source of the event
2906 to 'this' before firing it to button listeners.
2907 (fireActionPerformed): Likewise.
2908 (fireStateChanged): Likewise.
2909 (createActionListener): Do not set source
2910 of the event to AbstractButton.
2911 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2912 (ContainerHandler.componentAdded): Removed
2913 print out statement.
2914 (ContainerHandler.componentRemoved): Likewise.
2915
29162004-07-21 Michael Koch <konqueror@gmx.de>
2917
2918 * javax/swing/text/Highlighter.java: New file.
2919 * Makefile.am: Added javax/swing/text/Highlighter.java.
2920 * Makefile.in: Regenerated.
2921
29222004-07-21 Michael Koch <konqueror@gmx.de>
2923
2924 * javax/swing/ToolTipManager.java
2925 (stillInsideTimerAction): Fixed constructor arguments.
2926 (outsideTimerAction): Likewise.
2927 (insideTimerAction): Likewise.
2928
29292004-07-21 Michael Koch <konqueror@gmx.de>
2930
2931 * javax/swing/JButton.java: Reformatted.
2932 * javax/swing/JFormattedTextField.java
2933 (getUIClassID): Implemented.
2934 * javax/swing/JRootPane.java
2935 (serialVersionUID): New constant.
2936 * javax/swing/JTextField.java
2937 (align): New field.
2938 (JTextField): Simplified.
2939 (getUIClassID): New method.
2940 (getActionListeners): Added @since tag.
2941 (setColumns): Invalidate layout and repaint.
2942 (getHorizontalAlignment): New method.
2943 (setHorizontalAlignment): New method.
2944 (selectAll): Removed.
2945 * javax/swing/SwingUtilities.java
2946 (getAncestorOfClass): Removed redundant @see tag.
2947 (isLeftMouseButton): Fixed implementation.
2948 (isMiddleMouseButton): Likewise.
2949 (isRightMouseButton): Likewise.
2950 * javax/swing/text/AbstractDocument.java
2951 (AttributeContext.addAttribute): New method.
2952 (AttributeContext.addAttributes): New method.
2953 (AttributeContext.getEmptySet): New method.
2954 (AttributeContext.reclaim): New method.
2955 (AttributeContext.removeAttribute): New method.
2956 (AttributeContext.removeAttributes): New method.
2957 * javax/swing/text/Document.java
2958 (createPosition): Throws BadLocationException.
2959 (getText): Likewise.
2960 (remove): Likewise.
2961 * javax/swing/text/JTextComponent.java
2962 (getText): Return null if no document is set. Catch
2963 BadLocationException.
2964 (getUI): Return ui.
2965 (updateUI): Simplified.
2966
29672004-07-21 Michael Koch <konqueror@gmx.de>
2968
2969 * javax/swing/JButton.java
2970 (removeNotify): Fixed javadoc.
2971 (updateUI): Simplified.
2972
29732004-07-21 David Jee <djee@redhat.com>
2974
2975 * gnu/java/awt/image/ImageDecoder.java
2976 (startProduction): Only add consumer if it's not added yet.
2977 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
2978 (GdkPixbufDecoder): Don't call initState() here.
2979 (produce): Call initState() here, to ensure area_prepared and
2980 area_updated signals are properly connected.
2981 * gnu/java/awt/peer/gtk/GtkImage.java
2982 (setColorModel): Use equals() to compare ColorModel objects.
2983 (setPixels): Likewise.
2984 * java/awt/image/ColorModel.java
2985 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
2986 * java/awt/image/RGBImageFilter.java
2987 (setColorModel): Set consumer's color model.
2988 (setPixels): Use equals() to compare ColorModel objects.
2989
eecbcf54
BM
29902004-07-21 Bryce McKinlay <mckinlay@redhat.com>
2991
2992 * java/net/URLConnection.java (position): New field.
2993 (dateFormat1, dateFormat2, dateFormat3): Removed.
2994 (dateFormats): New field.
2995 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
2996 each time instead of re-allocating.
2997 (initializeDateFormats): Initialize 'dateFormats'.
2998
f82bb1be
BM
29992004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3000
3001 PR libgcj/16591
3002 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
3003 is defined.
3004
f6bbce40
BM
30052004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3006
3007 * java/net/Socket.java (getImpl): Now private. Remove comment.
3008
8246c778
BM
30092004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3010
3011 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
3012 of chained Writer when calling super-constructor.
3013 * java/io/FilterWriter.java (FilterWriter): Likewise.
3014 * java/io/PrintWriter.java (PrintWriter): Likewise.
3015
b4ffdef7
BM
30162004-07-19 Bryce McKinlay <mckinlay@redhat.com>
3017
3018 * prims.cc (process_gcj_properties): Don't increment i within LHS
3019 of assignment.
3020
963ddbd5
PB
30212004-07-19 Per Bothner <per@bothner.com>
3022
3023 Print -verbose:message on "loading", not initialization.
3024 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
3025 * defineclass.cc (_Jv_ClassReader::parse): Print message if
3026 gcj::verbose_class_flag.
3027 * java/lang/natClass.cc (initializeClass): Don't print message here.
3028 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
3029 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
3030 (_Jv_PrepareCompiledClass): Likewise.
3031
60557047
MK
30322004-07-18 Matthias Klose <doko@debian.org>
3033
3034 * configure.in: Substitute target_noncanonical.
3035 * configure: Regenerate
3036
1792f52d
MK
30372004-07-17 Michael Koch <konqueror@gmx.de>
3038
3039 * java/lang/String.java: Fixed javadocs all over.
3040
baa61e09
MK
30412004-07-17 Mark Wielaard <mark@klomp.org>
3042
3043 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
3044 when size is smaller.
3045 * java/io/RandomAccessFile.java (setLength): Use truncate for
3046 shrinking the file and seek plus write for expanding the file.
3047
30482004-07-17 Michael Koch <konqueror@gmx.de>
3049
3050 * gnu/java/nio/channels/natFileChannelPosix.cc
3051 (implTruncate): Always save current position. Only reposition file
3052 pointer to where we started if not beyond new lenght. Reposition file
3053 pointer to file length if it points beyond the end of file.
3054
6fd3cc05
MW
30552004-07-17 Mark Wielaard <mark@klomp.org>
3056
3057 * javax/swing/Box.java: Put FIXME comment above class declaration.
3058 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
3059 * javax/swing/JCheckBox.java: Likewise.
3060 * javax/swing/JDialog.java: Likewise.
3061 * javax/swing/JRadioButton.java: Likewise.
3062 * javax/swing/JToggleButton.java: Likewise.
3063 * javax/swing/UIManager.java: Likewise.
3064 * javax/swing/border/TitledBorder.java: Likewise.
3065 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3066 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3067 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
3068 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3069 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
3070 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3071 * javax/swing/text/JTextComponent.java: Likewise.
3072
320e32f6
MK
30732004-07-17 Jeroen Frijters <jeroen@frijters.net>
3074
3075 * java/net/DatagramPacket.java (setAddress): Removed check for
3076 null address.
3077
30782004-07-17 Michael Koch <konqueror@gmx.de>
3079
3080 * java/net/DatagramSocket.java
3081 (getLocalAddress): Check if socket is bound or not.
3082 * java/net/Socket.java
3083 (getLocalAddrss): Check if socket is bound or not.
3084 (getPort): Return -1 when not connected. Dont check getImpl() for
3085 null.
3086 (setReuseAddress): Check if socket is closed.
3087 (isConnected): Check if getImpl() returns null.
3088
10c383a4
MW
30892004-07-17 Mark Wielaard <mark@klomp.org>
3090
3091 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3092 on notifier object before calling notifyAll().
3093
2ccc5a95
MK
30942004-07-17 Michael Koch <konqueror@gmx.de>
3095
3096 * gnu/java/nio/channels/FileChannelImpl.java
3097 (finalize): Added javadoc.
3098
61ce29b1
GL
30992004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
3100
3101 * java/text/CollationElementIterator.java
3102 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
3103 (setText): Use ArrayList instead of Vector.
3104
651ba822
MK
31052004-07-17 Michael Koch <konqueror@gmx.de>
3106
3107 * java/nio/ByteOrder.java
3108 (static): Removed. Not needed.
3109 Thanks to Patrick Reali for noticing.
3110 * java/nio/charset/CharsetDecoder.java
3111 (decode): Fix for classpath bug #9177: Reset state before flipping.
3112
e3fe5b9c
MK
31132004-07-17 Michael Koch <konqueror@gmx.de>
3114
3115 * java/security/Security.java: Fixed javadocs all over.
3116
316a1df4
MK
31172004-07-17 Michael Koch <konqueror@gmx.de>
3118
3119 * gnu/java/awt/EmbeddedWindow.java
3120 (static): Removed.
3121 (addNotify): Set peer via reflection.
3122 (setWindowPeer): Removed.
3123 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
3124 * Makefile.am (nat_source_files):
3125 Removed gnu/java/awt/natEmbeddedWindow.cc.
3126 * Makefile.in: Regenerated.
3127
c0f43fa7
RE
31282004-07-17 Richard Earnshaw <rearnsha@arm.com>
3129
3130 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
3131 assignment.
3132 * configure: Regenerated.
3133
4c86f325
NN
31342004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
3135
b764adea
NN
3136 * configure.in: Use build_noncanonical rather than build_alias.
3137 * configure: Rebuild.
3138
f11d297f
NN
3139 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
3140 by logic refactoring. Move default definition of NATIVE closer
3141 to first alternate definition.
3142 * configure: Regenerate.
3143
4c86f325
NN
3144 * Makefile.am: Set ZIP and GCJH directly using autoconf.
3145 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3146 gcj/Makefile.in: Regenerate.
3147 * configure.in: Set ZIP and GCJH. Remove redundant condition
3148 in AM_CONDITIONAL(NATIVE,...)
3149 * configure: Regenerate.
3150
bc03b358
NN
31512004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
3152
ed2e3d33
NN
3153 * configure.in: Use target_noncanonical rather than
3154 target_alias for forward-compatibility with autoconf 2.59.
3155 * configure: Regenerate.
3156 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
3157 testsuite/Makefile.am: Substitute target_noncanonical.
3158 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3159 testsuite/Makefile.in: Regenerate.
3160
bc03b358
NN
3161 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
3162 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
3163 * acinclude.m4: Include acx.m4.
3164 * aclocal.m4: Regenerate.
3165 * configure: Regenerate.
3166
cbd7a79b
BM
31672004-07-15 Bryce McKinlay <mckinlay@redhat.com>
3168
3169 PR libgcj/16574
3170 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
3171 (decimalFormat): New static variable.
3172 (sbuf): Likewise.
3173 (getTime): New. Override Date.getTime().
3174 (toString): Synchronize. Use decimalFormat to format nanos value
3175 correctly. Truncate extra zeros.
3176 (before): Compare getNanos() only if getTime() is equal.
3177 (after): Likewise.
3178
b2281cb3
NN
31792004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
3180
36609570
NN
3181 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
3182 * configure.in: ...here.
3183 * aclocal.m4: Regenerate.
3184 * configure: Regenerate.
3185
b2281cb3
NN
3186 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
3187 * configure: Rebuilt with autoconf 2.13.
3188 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3189 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
3190
b845ed9f
BM
31912004-07-14 Bryce McKinlay <mckinlay@redhat.com>
3192
3193 PR libgcj/16204
3194 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
3195 large file support.
3196 * Makefile.in: Rebuilt.
3197 * testsuite/libjava.lang/LargeFile.java: New test case.
3198 * testsuite/libjava.lang/LargeFile.out: New file.
3199
ade1907d
JQ
32002004-07-14 Jerry Quinn <jlquinn@optonline.net>
3201
3202 * java/beans/EventHandler.java: Remove debugging statements.
3203
12e8e7ea
JQ
32042004-07-14 Jerry Quinn <jlquinn@optonline.net>
3205
3206 * java/beans/EventHandler.java: New file.
3207 * Makefile.am (awt_java_source_files): Add EventHandler.java.
3208 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3209 testsuite/Makefile.in: Regenerate.
3210
7cb73054
AT
32112004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
3212
3213 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
3214 flag to the gcj_setup.
3215 (gcj_jacks_run): Check tclsh version and launch jacks directly with
3216 the tclsh.
3217 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
3218 deprecation flag change. 58 XFAILS removed.
3219
220a826e
UW
32202004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
3221
3222 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
3223 -fno-use-divide-subroutine.
3224 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
3225 (HANDLE_FPE): Define.
3226 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
3227 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
3228 (HANDLE_DIVIDE_OVERFLOW): Define.
3229
c1b4f64d
MK
32302004-07-14 Michael Koch <konqueror@gmx.de>
3231 Matthias Klose <doko@debian.org>
3232
12e8e7ea 3233 * java/awt/im/InputContext.java: Initialize in, line.
c1b4f64d 3234
5549179f
UW
32352004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
3236
3237 * interpret.cc (run): Correctly access libffi return values of
3238 integral smaller-than-int type; these are implicitly promoted.
3239
6187fd28
BM
32402004-07-13 Bryce McKinlay <mckinlay@redhat.com>
3241
3242 PR libgcj/7587
3243 * interpret.cc (compile_mutex): New.
3244 (_Jv_InitInterpreter): New. Initialize compile_mutex.
3245 (run): Lock compile_mutex before calling compile() if compilation is
3246 required.
3247 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
3248 * include/java-interp.h (_Jv_InitInterpreter): Declare.
3249
7a1c3d48
BM
32502004-07-12 Bryce McKinlay <mckinlay@redhat.com>
3251
3252 PR libgcj/15713
3253 * include/jvm.h (_Jv_value): New union type.
3254 * gcj/field.h (_Jv_Field): Add new _addr union field variants
3255 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
3256 union members.
3257
717b2091
SG
32582004-07-12 Scott Gilbertson <scottg@mantatest.com>
3259
3260 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
3261 * gnu/awt/xlib/XOffScreenImage.java
3262 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
3263 constructor argument. Add constructor using ImageProducer.
3264 (getSource): Implement.
3265 (imageComplete): New method.
3266 (setColorModel): New method.
3267 (setDimensions): New method.
3268 (setHints): New method.
3269 (setPixels): New method.
3270 (setProperties): New method.
3271 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
3272 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
3273
31a7b755
BM
32742004-07-11 Bryce McKinlay <mckinlay@redhat.com>
3275
abd1b60d 3276 PR libgcj/16478
31a7b755
BM
3277 * prims.cc (_Jv_CreateJavaVM): Fix comment.
3278 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
3279 (finalizerReady): Now native.
3280 (run): Likewise.
3281 (runFinalizers): Removed.
3282 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
3283 a primitive lock, and don't hold it while running the finalizers.
3284 (runFinalizers): Implement. Don't aquire any Java lock.
3285 (finalizerReady): Use lock primitives to signal finalizer thread.
3286
eeb32988
MW
32872004-07-11 Mark Wielaard <mark@klomp.org>
3288
3289 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
3290 * java/net/URLStreamHandler.java (parseURL): When url file part
3291 doesn't contain a '/' just ignore context.
3292
bbb362e6
UW
32932004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
3294
3295 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
3296 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
3297 (MAKE_THROW_FRAME): Do not modify PSW address.
3298 (INIT_SEGV): Install SIGINFO-style signal handler.
3299 (INIT_FPE): Likewise.
3300
33dc5b0b
BM
33012004-07-10 Bryce McKinlay <mckinlay@redhat.com>
3302
3303 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
3304 status. 21 xfail's removed, 1 added.
3305
a4548f27
BM
33062004-07-10 Bryce McKinlay <mckinlay@redhat.com>
3307
3308 * gcj/javaprims.h: Regenerate CNI namespace definitions.
3309
8f0ce8da
IK
33102004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
3311
3312 * java/text/MessageFormat.java
3313 (formatInternal): Append "{n}" if argument n is unavailable.
3314 (format(Object, StringBuffer, FieldPosition)): This
3315 should be equivalent to format(Object[],
3316 StringBuffer, FieldPosition).
3317
3ee7acd1
BM
33182004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3319
3320 * java.util.Calendar.java (cache): New private static field. Cached
3321 mappings of locales->calendar classes.
3322 (ctorArgTypes): New private static field. Singleton argument for
3323 calendar class constructor lookup.
3324 (getInstance): Cache Locale->Calendar class mappings using HashMap.
3325 Optimize by bypassing reflection instantiation for the
3326 GregorianCalendar case.
3327
284d6a1f
BM
33282004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3329
3330 * java/util/Calendar.java: Use getSystemClassLoader as argument for
3331 ResourceBundle.getBundle() calls.
3332 * java/util/GregorianCalendar.java: Likewise.
3333 * java/util/Currency.java: Likewise.
3334 * java/text/BreakIterator.java: Likewise.
3335 * java/text/Collator.java: Likewise.
3336 * java/text/DateFormat.java: Likewise.
3337 * java/text/DateFormatSymbols.java: Likewise.
3338 * java/text/DecimalFormatSymbols.java: Likewise.
3339 * java/text/NumberFormat.java: Likewise.
3340 * java/awt/Window.java: Likewise.
3341
21f56031
BM
33422004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3343
3344 * java/util/ResourceBundle.java (bundleCache): Renamed from
3345 resourceBundleCache. Update comments.
3346 (getObject): Don't catch MissingResourceException.
3347 (getBundle(String)): Remove 'final'. Use system classloader if
3348 getCallingClassLoader returned null.
3349 (getBundle(String, Locale)): Likewise.
3350 (BundleKey): New private class. HashMap key for bundle cache lookup.
3351 (lookupKey): New. Singleton instance of BundleKey.
3352 (nullEntry): New. Cache entry to represent failed lookups.
3353 (getBundle(String, Locale, ClassLoader)): Re-written to use new
3354 caching strategy, no-allocation lookup, and new tryBundle methods.
3355 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
3356 name using given classloader.
3357 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
3358 baseName for given Locale and attempt to load bundle.
3359
42c00752
BM
33602004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3361
3362 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
3363 illegal protected method calls.
3364
6e342fc1
BM
33652004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3366
3367 Fix or remove some bogus test cases.
3368 * testsuite/libjava.compile/pr10459_2.java: Removed.
3369 * testsuite/libjava.compile/pr10459.java: Test using its own method,
3370 not Object.clone().
3371 * testsuite/libjava.compile/inner_data.java: Test against its own
3372 protected field.
3373
1f33f6b4
MK
33742004-07-09 Michael Koch <konqueror@gmx.de>
3375
3376 * scripts/unicode-muncher.pl: Updated to version 2.1
3377 from GNU classpath. Added some clarifications on where to find the
3378 needed files from www.unicode.org.
3379 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
3380 gnu/gcj/convert/UnicodeData-3.0.0.txt:
3381 Removed, these can directly be downloaded from www.unicode.org if
3382 needed.
3383 * gnu/java/lang/CharData.java: Regenerated.
3384 * include/java-chartables.h: Regenerated.
3385 * Makefile.am (ordinary_java_source_files):
3386 Removed gnu/java/lang/CharData.java.
3387 * Makefile.in: Regenerated.
3388
771aacd3
MK
33892004-07-09 Michael Koch <konqueror@gmx.de>
3390
3391 * java/security/AccessControlContext.java,
3392 java/security/SecureClassLoader.java:
3393 Fixed javadocs.
3394
3d5f053c
MK
33952004-07-09 Michael Koch <konqueror@gmx.de>
3396
3397 * java/io/ObjectInputStream.java (readFields): Use long datatype
3398 when shifting byte values more then 24 bits left.
3399
d642571f
MK
34002004-07-09 Michael Koch <konqueror@gmx.de>
3401
3402 * java/util/zip/DeflaterOutputStream.java,
3403 java/util/zip/GZIPInputStream.java,
3404 java/util/zip/GZIPOutputStream.java,
3405 java/util/zip/InflaterInputStream.java:
3406 Reformatted. Added javadocs. Reordered all stuff.
3407 Renamed variables to be more clear.
3408
3042e24b
MK
34092004-07-09 Michael Koch <konqueror@gmx.de>
3410
3411 * javax/imageio/IIOException.java,
3412 javax/imageio/event/IIOReadProgressListener.java,
3413 javax/imageio/event/IIOReadUpdateListener.java,
3414 javax/imageio/event/IIOReadWarningListener.java,
3415 javax/imageio/event/IIOWriteProgressListener.java,
3416 javax/imageio/event/IIOWriteWarningListener.java:
3417 New files.
3418 * Makefile.am: Added new files.
3419 * Makefile.in: Regenerated.
3420
4a738a82
GL
34212004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
3422
3423 * java/text/RuleBasedCollator.java
3424 (mergeRules): Use ArrayList instead of Vector.
3425 (subParseString): likewise.
3426 (parseString): likewise.
3427 (buildCollationVector): likewise.
3428 (getCollationKey): likewise.
3429
28e0ee76
DT
34302004-07-09 Dalibor Topic <robilad@kaffe.org>
3431
3432 * java/text/DateFormat.java (parse):
3433 Improved javadoc. Improved exception message.
3434
2e54a860
MW
34352004-07-09 Mark Wielaard <mark@klomp.org>
3436
3437 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
3438 interrupted() method to clear interupt flag of our Thread.
3439
23c41c08
DT
34402004-07-09 Dalibor Topic <robilad@kaffe.org>
3441
3442 * java/nio/Buffer.java,
3443 java/nio/ByteBuffer.java,
3444 java/nio/ByteBufferHelper.java,
3445 java/nio/ByteBufferImpl.java,
3446 java/nio/CharBuffer.java,
3447 java/nio/CharBufferImpl.java,
3448 java/nio/CharViewBufferImpl.java,
3449 java/nio/DirectByteBufferImpl.java,
3450 java/nio/DoubleBuffer.java,
3451 java/nio/DoubleBufferImpl.java,
3452 java/nio/DoubleViewBufferImpl.java,
3453 java/nio/FloatBuffer.java,
3454 java/nio/FloatBufferImpl.java,
3455 java/nio/FloatViewBufferImpl.java,
3456 java/nio/IntBuffer.java,
3457 java/nio/IntBufferImpl.java,
3458 java/nio/IntViewBufferImpl.java,
3459 java/nio/LongBuffer.java,
3460 java/nio/LongBufferImpl.java,
3461 java/nio/LongViewBufferImpl.java,
3462 java/nio/MappedByteBufferImpl.java,
3463 java/nio/ShortBuffer.java,
3464 java/nio/ShortBufferImpl.java,
3465 java/nio/ShortViewBufferImpl.java:
3466 Fixed javadocs all over. Improved input error
3467 checking.
3468
3469 * java/nio/Buffer.java
3470 (checkForUnderflow, checkForOverflow, checkIndex,
3471 checkIfReadOnly, checkArraySize): New helper methods
3472 for error checking.
3473
3474 * java/nio/ByteBufferHelper.java
3475 (checkRemainingForRead, checkRemainingForWrite,
3476 checkAvailableForRead, checkAvailableForWrite): Removed
3477 no longer needed methods.
3478
e484d7d5
MK
34792004-07-09 Michael Koch <konqueror@gmx.de>
3480
3481 * gnu/regexp/CharIndexedInputStream.java:
3482 Reordered imports to match classpath.
3483
3e518ab0
MK
34842004-07-09 Michael Koch <konqueror@gmx.de>
3485
3486 * gnu/java/awt/EmbeddedWindow.java:
3487 Load native library for setWindowPeer method.
3488
8c5ac2c4
RC
34892004-07-08 Randolph Chung <tausq@debian.org>
3490
3491 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
3492 * configure: Regenerate.
3493 * configure.host: Set can_unwind_signal for hppa*-linux.
3494 * include/pa-signal.h: New file.
3495
0bd24153
PB
34962004-07-07 Per Bothner <per@bothner.com>
3497
fedf5454
PB
3498 * Makefile.am: Add rules to build libgij from just gij.cc.
3499
0bd24153
PB
3500 * include/jvm.h (namespace jcj): Declare verbose_class_flag
3501 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
3502 (initializeClass): If verbose_class_flag, print message.
3503 * gij.cc (main): Handle -verbose:class flag.
3504
0e497b6c
AT
35052004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
3506
3507 * configure.host: Enable hash synchronization on Darwin.
3508 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
3509 ';', since this is a comment on Darwin.
3510 (compare_and_swap_release): Likewise.
3511
c09bade6
ME
35122004-07-06 Mohan Embar <gnustuff@thisiscool.com>
3513
3514 * java/net/URLStreamHandler.java (parseURL): Canonicalize
3515 file portion of URL in addition to spec for file: protocol.
3516
23f99379 35172004-07-05 Anthony Green <green@redhat.com>
0e497b6c 3518
23f99379
AG
3519 * java/io/File.java (toURI): Merge from Classpath.
3520
a1433c46
BM
35212004-07-05 Bryce McKinlay <mckinlay@redhat.com>
3522
3523 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
3524 before passing to URL constructor. Rethrow any MalformedURLException
3525 as a RuntimeException. Catch MalformedURLException specifically, not
3526 all exceptions.
0e497b6c 3527
a86f0372
BM
35282004-07-05 Bryce McKinlay <mckinlay@redhat.com>
3529
3530 * java/util/Locale.java (readObject): Intern strings read from object
3531 stream.
3532
74fa958e
MK
35332004-07-04 Michael Koch <konqueror@gmx.de>
3534
3535 * gnu/gcj/runtime/FirstThread.java,
3536 gnu/gcj/runtime/natFirstThread.cc: Removed.
3537 * gnu/java/lang/MainThread.java,
3538 gnu/java/lang/natMainThread.cc: New files.
3539 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
3540 * Makefile.am: Added new files and removed deleted ones.
3541 * Makefile.in: Regenerated.
3542
94fbf267 35432004-07-03 Mark Wielaard <mark@klomp.org>
0e497b6c 3544 Anthony Green <green@redhat.com>
94fbf267
AG
3545
3546 * java/net/URL.java (getFile): Clarify return value doc.
3547 (getPath): Return null if file is empty - not empty String.
3548 (set): Convert protocol to lower case before doing anything.
3549 Only change the protocol handler if it's different.
3550
35512004-07-03 Anthony Green <green@redhat.com>
3552
3553 * java/net/URL.java (URL): Convert protocol to lower case before
3554 doing anything, so we getURLStreamHandler() with the proper value.
3555
b5349c07
BM
35562004-07-02 Bryce McKinlay <mckinlay@redhat.com>
3557
3558 * java/util/Locale.java (hashcode): Made transient.
3559 (hashCode): No longer synchronized.
3560 (equals): Remove comment.
3561 (writeObject): No longer synchronized. Implement using writeObject
3562 calls instead of tweaking hashCode field. Update doc.
3563 (readObject): Implement using readObject calls.
3564
f8a57be8
GK
35652004-06-26 Geoffrey Keating <geoffk@apple.com>
3566 Andreas Tobler <a.tobler@schweiz.ch>
3567
3568 * configure.host (powerpc-*-darwin*): New case, define
3569 can_unwind_signal.
3570 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
3571 * configure: Regenerate.
3572 * include/darwin-signal.h: New.
3573
dcfbe7c7
JQ
35742004-06-30 Jerry Quinn <jlquinn@optonline.net>
3575
3576 * java/beans/Statement.java (doExecute): Fix formatting.
3577
8319dc87
PB
35782004-06-29 Per Bothner <per@bothner.com>
3579
3580 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
3581 etc etc): Remove needless parenthesis, which causes __stdcall__
3582 attribute on MinGW to get ignored.
3583
b4bbd47e
BM
35842004-06-29 Bryce McKinlay <mckinlay@redhat.com>
3585
3586 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
3587
b5493719
BM
35882004-06-28 Bryce McKinlay <mckinlay@redhat.com>
3589
b4bbd47e 3590 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
b5493719 3591
7b63e340
JQ
35922004-06-28 Jerry Quinn <jlquinn@optonline.net>
3593
3594 * java/beans/Expression.java: New file.
3595 * java/beans/Statement.java: New file.
3596 * Makefile.am: Added new files.
3597 * Makefile.in: Re-generate.
3598
01036503
MW
35992004-06-27 Mark Wielaard <mark@klomp.org>
3600
3601 * java/io/FilePermission.java (usingPerms): Removed.
3602 (actionsString): Made final.
3603 (cachePerms): Renamed to checkPerms.
3604 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
3605 on action String.
3606 (FilePermission): Check arguments, call checkPerms().
3607 (equals): Remove cachePerms() call.
3608 (implies): Likewise.
3609
ce6230c4
MW
36102004-06-27 Mark Wielaard <mark@klomp.org>
3611
3612 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
3613 final field.
3614 (sendRequest): Use new field in user-agent http agent.
3615
66a74d2a
MW
36162004-06-27 Mark Wielaard <mark@klomp.org>
3617
3618 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
3619 when argument is null.
3620
36212004-06-26 Mark Wielaard <mark@klomp.org>
3622
3623 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3624 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
3625 GetMethodID call.
3626 (cancel_clicked): Likewise.
3627
d168da74
AT
36282004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
3629
3630 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3631 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
3632 can not calculate the right value.
3633 (dpi_changed_cb): Likewise. Mark *pspec as unused.
3634
cc21f43e
BM
36352004-06-24 Bryce McKinlay <mckinlay@redhat.com>
3636
3637 * testsuite/libjava.jacks/jacks.xfail: Remove
3638 15.9.1-qualified-concrete-20.
3639
eb8163ab
BM
36402004-06-22 Bryce McKinlay <mckinlay@redhat.com>
3641
3642 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
3643 encoding name to iconv.
3644 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
3645
f50aa505
BM
36462004-06-22 Bryce McKinlay <mckinlay@redhat.com>
3647
3648 PR libgcj/16134:
e9cb3dac
BM
3649 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
3650 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
3651 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
f50aa505 3652
deb3d52f
AH
36532004-06-21 Andrew Haley <aph@redhat.com>
3654
3655 * java/io/ObjectOutputStream.java: Add DEBUG statements
3656 everywhere.
3657 (dumpElementln): New method.
3658 (depth): New field.
3659 * java/io/ObjectInputStream.java
3660 (currentClassLoader): Make native.
3661 (callersClassLoader): New field.
3662 (depth): New field.
3663 (readObject): ENDBLOCKDATA is generated if the class has a write
3664 method, not if it has a read method.
3665 (readObject): Save and restore this.currentObject and
3666 this.currentObjectStreamClass around calls to callReadMethod().
3667 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
3668 method.
3669
cfc74dce
AT
36702004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
3671
3672 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
3673 darwin.
3674
bd760894
RM
36752004-06-18 Ranjit Mathew <rmathew@hotmail.com>
3676
3677 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
3678 if desired, before the default class loader is initialised.
3679 Call INIT_SEGV only if HANDLE_SEGV is defined.
3680
6ca77e6f
RM
36812004-06-18 Ranjit Mathew <rmathew@hotmail.com>
3682
3683 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
3684 directory only if it actually exists.
3685
67a69e82
GH
36862004-06-18 Graydon Hoare <graydon@redhat.com>
3687
3688 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3689 Fix up non-ansi comments.
3690
36912004-06-18 Ranjit Mathew <rmathew@hotmail.com>
3692
3693 * javax/swing/text/AbstractDocument.java: Adding missing import
3694 for javax.swing.event.EventListenerList.
3695 * javax/swing/text/DefaultCaret.java: Likewise.
3696
4dfcdad1
GH
36972004-06-17 Michael Koch <konqueror@gmx.de>
3698
3699 * javax/swing/JToolBar.java
3700 (name): Removed.
3701 (JToolBar): Use Component.setName(String) instead of doing it all
3702 alone.
3703 * javax/swing/Timer.java
3704 (queueEvent): Added missing modifier.
3705
37062004-06-17 Olga Rodimina <rodimina@redhat.coom>
3707
3708 * Makefile.am: Added new file.
3709 * Makefile.in: Re-generate.
3710 * javax/swing/JMenu.java:
3711 (insertSeparator): Implemented.
3712 * javax/swing/JPopupMenu.java:
3713 (JPopupMenu.Separator): Implemented.
3714 * javax/swing/MenuSelectionManager.java:
3715 (processMouseEvent): Use java.awt.Component
3716 for event source instead of javax.swing.JComponent.
3717 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
3718 New File. Implemented.
3719
37202004-06-16 David Jee <djee@redhat.com>
3721
3722 * java/awt/GridBagLayout.java
3723 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
3724 Make sure pos_x and pos_y are never negative.
3725
37262004-04-16 Andrew Overholt <overholt@redhat.com>
3727
3728 * Makefile.am: Add new file.
3729 * Makefile.in: Re-generate.
3730 * javax/swing/JToolBar.java
3731 Partially implemented.
3732 * javax/swing/plaf/basic/BasicToolBarUI.java
3733 New file. Partially implemented.
3734
37352004-06-16 Graydon Hoare <graydon@redhat.com>
3736
3737 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
3738 (setComposite): Accept AlphaComposite arguments.
3739 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
3740 (createBufferedImage): Add new overloads.
3741 * gnu/java/awt/peer/gtk/GtkToolkit.java
3742 (createImage): Use GdkPixbufDecoder.createBufferedImage
3743 when useGraphics2D() is true.
3744 (getImage): Delegate to createImage.
3745 * javax/swing/JList.java
3746 (isSelectionEmpty):
3747 (getFirstVisibleIndex):
3748 (getLastVisibleIndex):
3749 (setSelectedValue):
3750 (ensureIndexIsVisible): New methods.
3751 * javax/swing/Timer.java: Reimplement.
3752
37532004-06-16 Michael Koch <konqueror@gmx.de>
3754
3755 * javax/swing/text/AbstractDocument.java
3756 (AbstracElement): Made public, implements java.io.Serializable.
3757 (AttributeContext): Made public.
3758 (BranchElement): Likewise.
3759 (Content): Likewise.
3760 (DefaultDocumentEvent): Made public, extends
3761 javax.swing.undo.CompoundEdit.
3762 (ElementEdit): Made public, extends
3763 javax.swing.undo.AbstractUndoableEdit.
3764 (LeafElement): Made public.
3765 (LeafElement.LeafElement): Made public.
3766
37672004-06-16 Michael Koch <konqueror@gmx.de>
3768
3769 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
3770 methods (that were obviously never be intended to get included hi this
3771 class. Added some methods too.
3772
37732004-06-16 Michael Koch <konqueror@gmx.de>
3774
3775 * javax/swing/text/PlainDocument.java
3776 (serialVersionUID): New constant.
3777 (lineLimitAttribute): Likewise.
3778 (tabSizeAttribute): Likewise.
3779 (tabSize): New field.
3780 (PlainDocument): Made public.
3781 (PlainDocument): New constructor.
3782
37832004-06-16 Michael Koch <konqueror@gmx.de>
3784
3785 * javax/swing/text/AbstractDocument.java
3786 (insertString): Throws BadLocationException.
3787 * javax/swing/text/Document.java
3788 (insertString): Likewise.
3789 * javax/swing/text/JTextComponent.java:
3790 Javadocs and comments cleaned up.
3791
37922004-06-16 Michael Koch <konqueror@gmx.de>
3793
3794 * javax/swing/event/UndoableEditListener.java: Reformatted.
3795 * javax/swing/text/AbstractDocument.java
3796 (AbstractDocument): Implements java.io.Serializable.
3797 (doc_list): Removed.
3798 (undo_list): Removed.
3799 (AbstractElement.serialVerionUID): New field.
3800 (BranchElement.serialVerionUID): Likewise.
3801 (DefaultDocumentEvent.serialVerionUID): Likewise.
3802 (ElementEdit.serialVerionUID): Likewise.
3803 (LeafElement.serialVerionUID): Likewise.
3804 (serialVerionUID): Likewise.
3805 (BAD_LOCATION): New constant.
3806 (BidiElementName): Likewise.
3807 (ContentElementName): Likewise.
3808 (ParagraphElementName): Likewise.
3809 (SectionElementName): Likewise.
3810 (ElementNameAttribute): Likewise.
3811 (AbstractDocument): Made protected.
3812 (AbstractDocument): New construtor.
3813 (listenerList): New field.
3814 (fireChangedUpdate): Implemented.
3815 (fireInsertUpdate): Likewise.
3816 (fireRemoveUpdate): Likewise.
3817 (fireUndoableEditUpdate): Likewise.
3818 (getListeners): Likewise.
3819 (addDocumentListener): Likewise.
3820 (removeDocumentListener): Likewise.
3821 (addUndoableEditListener): Likewise.
3822 (removeUndoableEditListener): Likewise.
3823 (getDocumentListeners): New method.
3824 (getUndoableEditListeners): Likewise.
3825 (getAsynchronousLoadPriority): Made public.
3826 (getBidiRootElement): Likewise.
3827 (setAsynchronousLoadPriority): Likewise.
3828 (setDocumentProperties): Likewise.
3829 * javax/swing/text/BadLocationException.java
3830 (serialVerionUID): New field.
3831 * javax/swing/text/DefaultCaret.java
3832 (changeEvent): New field.
3833 (listenerList): Likewise.
3834 (changes): Removed.
3835 (addChangeListener): Reimplemented.
3836 (removeChangeListener): Likewise.
3837 (getListeners): New method.
3838 (getChangeListeners): Likwise.
3839 (getComponent): Likewise.
3840 * javax/swing/text/GapContent.java
3841 (GapContent): Implements java.io.Serializable.
3842 (serialVerionUID): New field.
3843
38442004-06-16 Michael Koch <konqueror@gmx.de>
3845
3846 * javax/swing/JTree.java
3847 (treeModel): New field.
3848 (JTree): New constructors, one existing one made public.
3849 (createTreeModel): New method.
3850 (addTreeExpansionListener): Likewise.
3851 (removeTreeExpansionListener): Likewise.
3852 (getTreeExpansionListeners): Likewise.
3853 (fireTreeCollapsed): Likewise.
3854 (fireTreeExpanded): Likewise.
3855 (addTreeSelectionListener): Likewise.
3856 (removeTreeSelectionListener): Likewise.
3857 (getTreeSelectionListeners): Likewise.
3858 (fireValueChanged): Likewise.
3859 (addTreeWillExpandListener): Likewise.
3860 (removeTreeWillExpandListener): Likewise.
3861 (getTreeWillExpandListeners): Likewise.
3862 (fireTreeWillCollapse): Likewise.
3863 (fireTreeWillExpand): Likewise.
3864
38652004-06-16 Michael Koch <konqueror@gmx.de>
3866
3867 * javax/swing/JTree.java: Reformatted.
3868
38692004-06-16 Michael Koch <konqueror@gmx.de>
3870
3871 * javax/swing/JTextArea.java: New file.
3872 * javax/swing/JTextField.java
3873 (actions): Removed.
3874 (notifyAction): New constant.
3875 (columns): New field.
3876 (JTextField): New constructors.
3877 (createDefaultModel): New method.
3878 (addActionListener): Reimplmemented.
3879 (removeActionListener): Reimplemented.
3880 (getActionListeners): New method.
3881 (fireActionPerformed): New method.
3882 (getColumns): New method.
3883 (setColumne): New method.
3884 * javax/swing/text/JTextComponent.java
3885 (AccessibleJTextComponent.serialVersionUID): New field.
3886 (serialVersionUID): Likewise.
3887 (DEFAULT_KEYMAP): Likewise.
3888 (FOCUS_ACCELERATOR_KEY): Likewise.
3889 (doc): Made private.
3890 (icon_gap): Likewise.
3891 (icon): Likewise.
3892 (align): Likewise.
3893 (JTextComponent): Some constructors removed.
3894 (getScrollableTracksViewportHeight): New method.
3895 (getScrollableTracksViewportWidth): Likewise.
3896 * Makefile.am: Added javax/swing/JTextArea.java.
3897 * Makefile.in: Regenerated.
3898
38992004-06-15 Graydon Hoare <graydon@redhat.com>
3900
3901 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
3902 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
3903 * javax/swing/JViewport.java
3904 (getExtentSize): Return size rather than preferred size.
3905 (toViewCoordinates): New methods.
3906 (getViewSize): Return size rather than preferred size.
3907 (setViewSize): Note view size as set.
3908 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
3909 * javax/swing/plaf/basic/BasicScrollBarUI.java
3910 (getPreferredSize): Don't redo layout.
3911 * javax/swing/plaf/basic/BasicViewportUI.java
3912 (paint): Translate image properly and eat exceptions.
3913
39142004-06-15 Kim Ho <kho@redhat.com>
3915
3916 * javax/swing/JTabbedPane.java
3917 (setComponent): Remove old component and
3918 add new component.
3919 (setSelectedIndex): Don't operate on the
3920 components if they're null. Don't set index
3921 on the model if the index is the same.
3922 (insertTab): Don't add or hide the component
3923 if it's null. Repaint the container.
3924 * javax/swing/plaf/basic/BasicLookAndFeel.java
3925 Change colors for TabbedPane.
3926 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3927 (mousePressed): Re-layout and paint the component.
3928 (layoutContainer): Don't set location on the view.
3929 (ScrollingViewport::paint): Remove.
3930
39312004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
3932
3933 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3934 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
3935
3936 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3937 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
3938 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
3939 critical region.
3940 (drawLine): Call gdk_flush before leaving GDK critical region.
3941 (fillRect): Likewise.
3942 (drawRect): Likewise.
3943 (copyArea): Likewise.
3944 (copyPixmap): Likewise.
3945 (clearRect): Likewise.
3946 (drawArc): Likewise.
3947 (drawPolyline): Likewise.
3948 (drawPolygon): Likewise.
3949 (fillPolygon): Likewise.
3950 (fillArc): Likewise.
3951 (drawOval): Likewise.
3952 (fillOval): Likewise.
3953
3954 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
3955 style parameter.
3956 (GdkFontMetrics): Add style argument to initState call.
3957 (stringWidth(String,int,int,String)): Add style parameter.
3958 (stringWidth(String)): Add style argument to stringWidth call.
3959 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
3960 (initState): Set pango font style and weight based on AWT style
3961 parameter. Pass default GTK language to
3962 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
3963 simply dividing by PANGO_SCALE.
3964 (stringWidth): Set pango font style and weight based on AWT style
3965 parameter.
3966
3967 * java/awt/Button.java (next_button_number): New field.
3968 (paramString): Change output.
3969 (generateName): New method.
3970 (getUniqueLong): New method.
3971
39722004-06-14 Kim Ho <kho@redhat.com>
3973
3974 * javax/swing/JTabbedPane.java:
3975 (setComponentAt): Set the component, not
3976 the enabled status.
3977 * javax/swing/plaf/basic/BasicDesktopIconUI.java
3978 (actionPerformed): Let deiconize catch exception.
3979
39802004-06-14 Olga Rodimina <rodimina@redhat.com>
3981
3982 * javax/swing/JPopupMenu.java:
3983 (setVisible): Corrected location of a
3984 heavyweight popup menu.
3985
39862004-06-14 Olga Rodimina <rodimina@redhat.com>
3987
3988 * javax/swing/MenuSelectionManager.java:
3989 Ran through jalopy to fix formatting style.
3990
39912004-06-14 Olga Rodimina <rodimina@redhat.com>
3992
3993 * javax/swing/JLayeredPane.java:
3994 (remove): Revalidate and repaint layered pane after
3995 the component was removed.
3996 javax/swing/JMenu.java:
3997 (setVisible): Display popup menu at the user location,
3998 if one was set by the user.
3999 (setMenuLocation): Reimplemented. Fixed javadoc.
4000 * javax/swing/JMenuBar.java: Added javadoc.
4001 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
4002 (MODEL_CHANGED_PROPERTY): New Property.
4003 (isSelected): Implemented.
4004 (setBorderPainted): Fire PropertyChangeEvent
4005 if paintBorder property changes.
4006 (setSelected): Implemented.
4007 (setSelectionModel): Implemented.
4008 * javax/swing/JPopupMenu.java: Added Javadoc
4009 (pack): Implemented.
4010 (setVisible): Reimplemented.
4011 (show): Fixed location.
4012 (JPopupMenu.LigthWeightPopup): Reimplemented to use
4013 Container instead of JPanel.
4014 * javax/swing/MenuSelectionManager.java: Added Javadocs.
4015 (clearSelectedPath): Reimplemented to clear selectedPath
4016 in reverse order.
4017 (processMouseEvent): Reimplemented.
4018 (setSelectedPath): Fire stateChange event indicating that
4019 selected menu path has changed.
4020 (getPath): Change to use ArrayList instead of Vector.
4021 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4022 (installUI): call installKeyboardActions().
4023 (uninstallUI): call uninstallKeyboardActions().
4024
40252004-06-13 Michael Koch <konqueror@gmx.de>
4026
4027 * javax/swing/text/DefaultCaret.java,
4028 javax/swing/text/BadLocationException.java:
4029 Reformatted.
4030
40312004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
4032
4033 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
4034 DEFAULT_COLS): New variables.
4035 (create): Don't allow 0 rows or 0 columns. Instead, set the
4036 values to DEFAULT_ROWS or DEFAULT_COLS.
4037 (getMinimumSize): Likewise.
4038 (getPreferredSize): Likewise.
4039 (minimumSize): Likewise.
4040 (preferredSize): Likewise.
4041 (create): Set peer's editable state.
4042 * java/awt/TextArea.java (TextArea()): Set rows and columns to
4043 zero. Update javadocs.
4044 (TextArea(String)): Likewise.
4045 (TextArea(int,int)): Fix javadocs.
4046 (TextArea(String,int,int,int)): Only throw exception if one of
4047 rows or columns is zero. Fix javadocs.
4048
40492004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
4050
4051 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
4052 addition to Components.
4053
4054 * java/awt/MenuItem.java (dispatchEventImpl): If the event
4055 wasn't consumed by normal processing, send it to the parent
4056 menu.
4057
4058 * gnu/java/awt/peer/gtk/GtkImagePainter.java
4059 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
4060 translation.
4061
40622004-06-11 David Jee <djee@redhat.com>
4063
4064 * java/awt/MediaTracker.java
4065 (addImage(Image,int)): Call imageUpdate() to udpate image status.
4066 (addImage(Image,int,int,int)): Likewise.
4067
40682004-06-11 Michael Koch <konqueror@gmx.de>
4069
4070 * javax/swing/text/AbstractDocument.java,
4071 javax/swing/text/Document.java,
4072 javax/swing/text/GapContent.java,
4073 javax/swing/text/JTextComponent.java,
4074 javax/swing/text/PlainDocument.java:
4075 Reformatted.
4076
40772004-06-11 Michael Koch <konqueror@gmx.de>
4078
4079 * javax/swing/JRootPane.java
4080 (AccessibleJRootPane.serialVersionUID): New field.
4081 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
4082 (AccessibleJRootPane.getAccessibleRole): New method.
4083 (RootLayout): Implements Serializable.
4084 (RootLayout.serialVersionUID): New field.
4085 (RootLayout.RootLayout): New constructor.
4086 (setJMenuBar): Made public.
4087 (getJMenuBar): Likewise.
4088 (JRootPane): Likewise.
4089 (createContentPane): Likewise.
4090 (createGlassPane): Likewise.
4091 (createLayeredPane): Likewise.
4092
40932004-06-11 Michael Koch <konqueror@gmx.de>
4094
4095 * javax/swing/SwingUtilities.java
4096 (isLeftMouseButton): Fixed javadoc.
4097 (isMiddleMouseButton): Likewise.
4098 (isRightMouseButton): Likewise.
4099
41002004-06-11 Michael Koch <konqueror@gmx.de>
4101
4102 * javax/swing/JScrollPane.java
4103 (serialVersionUID): New field.
4104 (columnHeader): Made protected.
4105 (rowHeader): Likewise.
4106 (lowerLeft): Likewise.
4107 (lowerRight): Likewise.
4108 (upperLeft): Likewise.
4109 (upperRight): Likewise.
4110 (horizontalScrollBar): Likewise.
4111 (horizontalScrollBarPolicy): Likewise.
4112 (verticalScrollBar): Likewise.
4113 (verticalScrollBarPolicy): Likewise.
4114 (viewport): Likewise.
4115
41162004-06-11 Michael Koch <konqueror@gmx.de>
4117
4118 * javax/swing/LookAndFeel.java: Fixed javadocs.
4119
41202004-06-11 Michael Koch <konqueror@gmx.de>
4121
4122 * javax/swing/JEditorPane.java: Fixed javadocs.
4123 (JEditorPane): Removed redundant call to to this().
4124 (fireHyperlinkUpdate): Implemented.
4125
41262004-06-10 Olga Rodimina <rodimina@redhat.com>
4127
4128 * javax/swing/JMenu.java: Fixed file name
4129 in the file comment.
4130
41312004-06-10 Olga Rodimina <rodimina@redhat.com>
4132
4133 * javax/swing/JMenu.java: Added javadoc.
4134 (JMenu): Added MenuChangeListener to listen to
4135 ChangeEvents occuring in menu's model.
4136 (insert): Throw IllegalArgumentException if
4137 index is less than 0
4138 (setSelected): Reimplement.
4139 (setPopupMenuVisible): Call menu's model isEnabled()
4140 (setDelay): Throw IllegalArgumentException if
4141 given amount of delay is less than 0.
4142 (createActionComponent): Implemented.
4143 (createActionChangeListener): Implemented.
4144 (addSeparator): Implemented.
4145 (getItem): Throw IllegalArgumentException if index is
4146 less than 0.
4147 (getItemCount): Implemented.
4148 (fireMenuSelected): Changed to use menuEvent.
4149 (fireMenuDeselected): Likewise.
4150 (fireMenuCanceled): Likewise.
4151 (setAccelerator): Changed to throw an error if this
4152 method is used.
4153 (doClick): Implemented.
4154 (JMenu.ActionChangedListener): New inner class to handle
4155 PropertyChangeEvents occuring in the actions associated with menu.
4156 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
4157 (BasicMenuUI): Added PropertyChangeListener to the menu.
4158 (createChangeListener): Implemented.
4159 (createMenuDragMouseListener): Likewise.
4160 (createMenuKeyListener): Likewise.
4161 (createPropertyChangeListener): Likewise.
4162 (uninstallListeners): Likewise.
4163 (BasicMenuUI.MouseInputHandler): Reimplemented.
4164 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
4165 (BasicMenuUI.ChangeHandler): Likewise.
4166 (BasicMenuUI.MenuDragMouseHandler): Likewise.
4167 (BasicMenuUI.MenuKeyHandler): Likewise.
4168
41692004-06-10 David Jee <djee@redhat.com>
4170
4171 * java/awt/MediaTracker.java
4172 (imageUpdate): Only do notifyAll() if the image is complete.
4173
41742004-06-10 Olga Rodimina <rodimina@redhat.com>
4175
4176 * javax/swing/JApplet.java:
4177 (getJMenuBar): Made public.
4178 (setJMenuBar): Likewise.
4179 * javax/swing/JFrame.java:
4180 (getJMenuBar): Made public.
4181 (setJMenuBar): Likewise.
4182 * javax/swing/JWindow.java:
4183 (getJMenuBar): Removed.
4184 (setJMenuBar): Removed.
4185
41862004-06-10 Michael Koch <konqueror@gmx.de>
4187
4188 * javax/swing/JEditorPane.java
4189 (createEditorKitForContentType): Fixed visibility.
4190 (fireHyperlinkUpdate): Likewise.
4191 (getContentType): Likewise.
4192 (getEditorKit): Likewise.
4193 (getEditorKitForContentType): Likewise.
4194 (getPage): Likewise.
4195 (read): Likewise.
4196 (registerEditorKitForContentTyoe): Likewise.
4197 (replaceSelection): Likewise.
4198 (setContentType): Likewise.
4199 (setEditorKit): Likewise.
4200 (setPage): Likewise.
4201
42022004-06-10 Michael Koch <konqueror@gmx.de>
4203
4204 * javax/swing/Timer.java
4205 (Timer): New constructor.
4206 * javax/swing/plaf/basic/BasicProgressBarUI.java
4207 (animationTimer): Don't initialize at construction.
4208 (startAnimationTimer): Added since tag.
4209 (stopAnimationTimer): Likewise.
4210 (installUI): Use new Timer constructor.
4211 * javax/swing/plaf/basic/BasicScrollBarUI.java
4212 (installUI): Likewise.
4213 * javax/swing/plaf/basic/BasicSliderUI.java
4214 (installUI): Likewise.
4215
42162004-06-10 Michael Koch <konqueror@gmx.de>
4217
4218 * javax/swing/ButtonGroup.java
4219 (serialVersionUID): Made private.
4220 (buttons): Renamed from v, added javadoc.
4221 (sel): Added javadoc.
4222 (ButtonGroup): Likewise.
4223 (add): Likewise.
4224 (remove): Likewise.
4225 (getElements): Likewise.
4226 (getSelection): Likewise.
4227 (setSelected): Likewise.
4228 (isSelected): Likewise.
4229 (getButtonCount): Likewise.
4230
42312004-06-10 Michael Koch <konqueror@gmx.de>
4232
4233 * javax/swing/ButtonGroup.java,
4234 javax/swing/ImageIcon.java,
4235 javax/swing/JEditorPane.java,
4236 javax/swing/JRootPane.java,
4237 javax/swing/JTextField.java,
4238 javax/swing/LookAndFeel.java,
4239 javax/swing/plaf/basic/BasicTextUI.java:
4240 Reindented.
4241
42422004-06-10 Michael Koch <konqueror@gmx.de>
4243
4244 * javax/swing/text/Style.java: Added javadocs.
4245
42462004-06-10 Michael Koch <konqueror@gmx.de>
4247
4248 * javax/swing/JComponent.java
4249 (fireVetoableChange): Removed redundant cast.
4250 * javax/swing/JLabel.java
4251 (getDisabledIcon): Save icon for next call.
4252
42532004-06-10 Michael Koch <konqueror@gmx.de>
4254
4255 * javax/swing/KeyStroke.java
4256 (getKeyStroke(char,boolean)): Marked deprecated.
4257
42582004-06-10 Michael Koch <konqueror@gmx.de>
4259
4260 * javax/swing/DefaultCellEditor.java,
4261 javax/swing/GrayFilter.java,
4262 javax/swing/event/DocumentEvent.java,
4263 javax/swing/text/JTextComponent.java,
4264 javax/swing/text/MutableAttributeSet.java:
4265 Reindented.
4266
42672004-06-10 Michael Koch <konqueror@gmx.de>
4268
4269 * javax/swing/plaf/BorderUIResource.java:
4270 Added serialVersionUID all over.
4271
42722004-06-10 Sascha Brawer <brawer@dandelis.ch>
4273
4274 * javax/swing/undo/UndoManager.java: Re-written from scratch.
4275
42762004-06-10 Michael Koch <konqueror@gmx.de>
4277
4278 * javax/swing/table/DefaultTableCellRenderer.java
4279 (noFocusBorder): Initialize directly.
4280
42812004-06-10 Michael Koch <konqueror@gmx.de>
4282
4283 * javax/swing/plaf/basic/BasicArrowButton.java
4284 (setDirection): Use method argument.
4285
42862004-06-10 Michael Koch <konqueror@gmx.de>
4287
4288 * javax/swing/plaf/BorderUIResource.java,
4289 javax/swing/plaf/ComponentUI.java,
4290 javax/swing/undo/CompoundEdit.java,
4291 javax/swing/undo/StateEdit.java:
4292 Fixed javadocs all over.
4293
42942004-06-10 Michael Koch <konqueror@gmx.de>
4295
4296 * javax/swing/DefaultButtonModel.java
4297 (ARMED): Made public final, fixed value.
4298 (ENABLED): Likewise.
4299 (PRESSED): Likewise.
4300 (ROLLOVER): Likewise.
4301 (SELECTED): Likewise.
4302 (stateMask): Initialize directly.
4303 (listenerList): Likewise.
4304 (mnemonic): Likewise.
4305 (fireStateChanged): Removed argument, use changeEvent as event.
4306 All places where this method is called are fixed too.
4307 (getActionCommant): Fixed javadoc.
4308 (setGroup): Fixed javadoc.
4309 (getGroup): New method.
4310
43112004-06-09 Olga Rodimina <rodimina@redhat.com>
4312
4313 * javax/swing/AbstractButton.java
4314 (AbstractButton): Use init() to initialize the button.
4315 (init): New Method. Initializes AbstractButton.
4316 * javax/swing/JMenuItem.java: Documented.
4317 (JMenuItem): Reimplemented.
4318 (init): Implemented.
4319 (setEnabled): Changed to call super.setEnabled()
4320 (processMouseEvent): Reimplemented.
4321 (fireMenuKeyPressed): Implemented.
4322 (fireMenuKeyReleased): Implemented.
4323 (fireMenuKeyTyped): Implemented.
4324 (menuSelectionChanged): disarm the model if the menu item was
4325 deselected.
4326 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
4327 (getPath): Change to use ArrayList instead of Vector.
4328 (getPreferredSize): Renamed variable.
4329 (paintMenuItem): Paint margin area of menu item.
4330 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
4331 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
4332 menu item's bounds before clearing the selection.
4333
43342004-06-09 David Jee <djee@redhat.com>
4335
4336 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4337 (GtkTextComponentPeer): Set caret position to 0.
4338 * java/awt/TextComponent.java
4339 (setText): Set caret position to 0.
4340 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4341 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
4342 Handle GtkScrolledWindow separately. Fix signal handler blocking.
4343 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
4344 Likewise.
4345 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4346 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
4347 visible.
4348
43492004-06-09 Kim Ho <kho@redhat.com>
4350
4351 * Makefile.am: New files
4352 * Makefile.in: Regenerated
4353 * java/awt/Container.java
4354 (getComponentAt): Removed.
4355 * javax/swing/AbstractAction.java
4356 (ENABLED_PROPERTY): New property.
4357 (putValue): Fire PropertyChangeEvents.
4358 (setEnabled): ditto.
4359 (firePropertyChange): Javadoc and implement
4360 convenience method.
4361 * javax/swing/AbstractButton.java
4362 (setAction): Don't create PropertyChangeListener
4363 if new Action is null.
4364 (setIcon): Don't set icon till after comparing
4365 it.
4366 (configurePropertiesFromAction): Check mnemonic
4367 key before calling intValue().
4368 (createActionPropertyChangeListener): Check
4369 properties rather than bulk change.
4370 * javax/swing/DefaultDesktopManager.java:
4371 Implement.
4372 * javax/swing/DesktopManager.java:
4373 Jalopy and javadoc.
4374 * javax/swing/JComponent.java
4375 (fireVetoableChange): Implement.
4376 (paintImmediately): Use root component.
4377 * javax/swing/JDesktopPane.java: Implement
4378 * javax/swing/JInternalFrame.java: Implement
4379 * javax/swing/JLabel.java
4380 (getDisabledIcon): Return grayscaled icon if
4381 no disabled icon specified.
4382 * javax/swing/JMenuBar.java
4383 (getComponentAtIndex): Use getComponent
4384 * javax/swing/JOptionPane.java
4385 (getDesktopPaneForComponent): Use SwingUtilities'
4386 getAncestorOfClass
4387 (getFrameForComponent): ditto.
4388 * javax/swing/JSplitPane.java
4389 (remove): Use getComponent.
4390 * javax/swing/SwingUtilities.java
4391 (convertPoint): Implement.
4392 * javax/swing/plaf/basic/BasicButtonUI.java
4393 (paintButtonNormal): Check opaqueness before
4394 filling background.
4395 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
4396 Implement
4397 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
4398 Implement.
4399 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
4400 Implement.
4401 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
4402 Implement.
4403 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4404 Change InternalFrame and Desktop colors.
4405
44062004-06-09 David Jee <djee@redhat.com>
4407
4408 * java/awt/Container.java
4409 (remove): Do not set component to invisible.
4410
44112004-06-09 Michael Koch <konqueror@gmx.de>
4412
4413 * javax/swing/tree/DefaultMutableTreeNode.java
4414 (getLeafCount): Renamed enum to e.
4415
44162004-06-09 Michael Koch <konqueror@gmx.de>
4417
4418 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
4419 (positionForMouseEvent): Removed redundant semicolon.
4420 (continueDrag): Use method arguments.
4421
44222004-06-09 Michael Koch <konqueror@gmx.de>
4423
4424 * javax/swing/border/TitledBorder.java,
4425 javax/swing/filechooser/FileSystemView.java,
4426 javax/swing/plaf/basic/BasicButtonListener.java,
4427 javax/swing/plaf/basic/BasicGraphicsUtils.java,
4428 javax/swing/plaf/basic/BasicLabelUI.java,
4429 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4430 javax/swing/plaf/basic/BasicScrollBarUI.java,
4431 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4432 javax/swing/plaf/basic/BasicSliderUI.java,
4433 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4434 javax/swing/plaf/basic/BasicToggleButtonUI.java,
4435 javax/swing/table/JTableHeader.java,
4436 javax/swing/text/AbstractDocument.java,
4437 javax/swing/text/DefaultCaret.java,
4438 javax/swing/text/StyledEditorKit.java,
4439 javax/swing/tree/DefaultTreeCellEditor.java:
4440 Reworked import statements.
4441
44422004-06-08 Graydon Hoare <graydon@redhat.com>
4443
4444 * javax/swing/Box.java: Temporarily comment out code
4445 broken due to visibility bug.
4446
44472004-06-09 Michael Koch <konqueror@gmx.de>
4448
4449 * javax/swing/ImageIcon.java
4450 (ImageIcon): Added missing constructor.
4451
44522004-06-08 Michael Koch <konqueror@gmx.de>
4453
4454 * javax/swing/JToggleButton.java
4455 (JToggleButton): New constructor.
4456 (getAccessibleContext): Moved documentation into javadoc.
4457 (getUIClassID): Likewise.
4458
44592004-06-08 Michael Koch <konqueror@gmx.de>
4460
4461 * javax/swing/AbstractButton.java
4462 (getDisabledIcon): Create disabled icon if none exists yet.
4463
44642004-06-08 Michael Koch <konqueror@gmx.de>
4465
4466 * javax/swing/plaf/basic/BasicLookAndFeel.java
4467 (initClassDefaults): Added FormattedTextFieldUI.
4468 (loadResourceBundle): Renamed enum to e.
4469
44702004-06-08 Michael Koch <konqueror@gmx.de>
4471
4472 * javax/swing/plaf/basic/BasicButtonUI.java
4473 (paintIcon): Simplified.
4474 (paintText): Paint disabled button correctly.
4475
44762004-06-08 Michael Koch <konqueror@gmx.de>
4477
4478 * javax/swing/JComponent.java
4479 (createToolTip): Use official JToolTip API.
4480
44812004-06-08 Michael Koch <konqueror@gmx.de>
4482
4483 * javax/swing/JToolTip.java
4484 (JToolTip): No arguments in API.
4485 (setTipText): New method.
4486
44872004-06-08 Michael Koch <konqueror@gmx.de>
4488
4489 * javax/swing/SwingUtilities.java
4490 (isLeftMouseButton): New method.
4491 (isMiddleMouseButton): New method.
4492 (isRightMouseButton): New method.
4493
44942004-06-08 Michael Koch <konqueror@gmx.de>
4495
4496 * javax/swing/AbstractButton.java,
4497 javax/swing/CellRendererPane.java,
4498 javax/swing/JCheckBoxMenuItem.java,
4499 javax/swing/JColorChooser.java,
4500 javax/swing/JComboBox.java,
4501 javax/swing/JComponent.java,
4502 javax/swing/JDesktopPane.java,
4503 javax/swing/JFileChooser.java,
4504 javax/swing/JMenu.java,
4505 javax/swing/JMenuItem.java,
4506 javax/swing/JOptionPane.java,
4507 javax/swing/JPasswordField.java,
4508 javax/swing/JPopupMenu.java,
4509 javax/swing/JProgressBar.java,
4510 javax/swing/JRadioButtonMenuItem.java,
4511 javax/swing/JScrollBar.java,
4512 javax/swing/JSeparator.java,
4513 javax/swing/JSlider.java,
4514 javax/swing/JSplitPane.java,
4515 javax/swing/JTabbedPane.java,
4516 javax/swing/JTextField.java,
4517 javax/swing/JToolBar.java,
4518 javax/swing/text/JTextComponent.java:
4519 Fixed all constructors of accessibility classes.
4520
45212004-06-08 Michael Koch <konqueror@gmx.de>
4522
4523 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
4524 over.
4525
45262004-06-08 Michael Koch <konqueror@gmx.de>
4527
4528 * javax/swing/Box.java
4529 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
4530 (AccessibleBoxFiller.serialVersionUID): New member variable.
4531 * javax/swing/DefaultButtonModel.java
4532 (stateMask): Made protected.
4533 (listenerList): Likewise.
4534 (changeEvent): Likewise.
4535 (group): Likewise.
4536 (mnemonic): Likewise.
4537 (actionCommand): Likewise.
4538 (getListeners): New method.
4539 (getActionListeners): New method.
4540 (getItemListeners): New method.
4541 (getChangeListeners): New method.
4542 (fireItemStateChanged): Simplified.
4543 (fireActionPerformed): Simplified.
4544 (fireStateChanged): Simplified.
4545 * javax/swing/JFrame.java
4546 (JFrame): Implements WindowContants.
4547 (HIDE_ON_CLOSE): Removed.
4548 (EXIT_ON_CLOSE): Removed.
4549 (DISPOSE_ON_CLOSE): Removed.
4550 (DO_NOTHING_ON_CLOSE): Removed.
4551 (processWindowEvent): Exit with code 0.
4552 (setDefaultCloseOperation): Do security check before setting value.
4553 * javax/swing/JOptionPane.java
4554 (message): Initialize only in constructor.
4555 * javax/swing/JToolTip.java: Removed unused imports.
4556 * javax/swing/JViewport.java
4557 (serialVersionUID): New member variable.
4558 (SIMPLE_SCROLL_MODE): Made final, fixed value.
4559 (BLIT_SCROLL_MODE): Likewise.
4560 (BACKINGSTORE_SCROLL_MODE): Likewise.
4561 (scrollUnderway): Made protected.
4562 (isViewSizeSet): Likewise.
4563 * javax/swing/ListModel.java: Fixed javadoc.
4564 * javax/swing/Popup.java: Likewise.
4565 * javax/swing/RepaintManager.java
4566 (paintDirtyRegions): Don't use internal classes of
4567 java.util.AbstractMap.
4568 * javax/swing/ScrollPaneConstants.java: Reindented.
4569 * javax/swing/ScrollPaneLayout.java
4570 (viewport): Made protected.
4571 (verticalScrollBar): Made protected, renamed to vsb.
4572 (horizontalScrollBar): Made protected, renamed to hsb.
4573 (rowHeader): Made protected, renamed to rowHead.
4574 (columnHeader): Made protected, renamed to colHead.
4575 (lowerLeft): Made protected.
4576 (lowerRight): Made protected.
4577 (upperLeft): Made protected.
4578 (upperRight): Made protected.
4579 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
4580 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
4581
45822004-06-07 Bernd Schmidt <bernds@btinternet.com>
4583
4584 * java/awt/MediaTracker.java (imageUpdate): Only set status to
4585 LOADING if flags has SOMEBITS set.
4586
45872004-06-07 Michael Koch <konqueror@gmx.de>
4588
4589 * javax/swing/AbstractButton.java: Reorganized imports.
4590 * javax/swing/ActionMap.java: Likewise.
4591 * javax/swing/DefaultButtonModel.java: Likewise.
4592 * javax/swing/DefaultListModel.java: Likewise.
4593 * javax/swing/ImageIcon.java: Likewise.
4594 (serialVersionUID): New member variable.
4595 * javax/swing/JComboBox.java: Reorganized imports.
4596 * javax/swing/JComponent.java: Likewise.
4597 (ui): Made protected.
4598 (listenerList): Made protected.
4599 (TOOL_TIP_TEXT_KEY): New constant.
4600 (scrollRectToVisible): Removed redundant null check.
4601 * javax/swing/JFrame.java: Reorganized imports.
4602 * javax/swing/JInternalFrame.java: Reorganized imports.
4603 * javax/swing/JProgressBar.java: Likewise.
4604 * javax/swing/JRootPane.java: Likewise.
4605 * javax/swing/JScrollBar.java: Likewise.
4606 * javax/swing/JSeparator.java: Likewise.
4607 * javax/swing/JSlider.java: Likewise.
4608 * javax/swing/JTabbedPane.java: Likewise.
4609 * javax/swing/JTextField.java: Likewise.
4610 * javax/swing/JToolBar.java: Likewise.
4611 * javax/swing/JTree.java: Likewise.
4612 * javax/swing/JViewport.java: Likewise.
4613 * javax/swing/JWindow.java: Likewise.
4614 * javax/swing/KeyStroke.java: Likewise.
4615 * javax/swing/LookAndFeel.java: Likewise.
4616 * javax/swing/MenuSelectionManager.java: Likewise.
4617 * javax/swing/SwingUtilities.java: Likewise.
4618 * javax/swing/Timer.java: Likewise.
4619 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
4620 * javax/swing/JList.java
4621 (HORIZONTAL_WRAP): Made final, fixed value.
4622 (VERTICAL): Likewise.
4623 (VERTICAL_WRAP): Likewise.
4624
46252004-06-07 Michael Koch <konqueror@gmx.de>
4626
4627 * javax/swing/AbstractButton.java
4628 (serialVersionUID): New member variable.
4629 (AccessibleAbstractButton.serialVersionUID): Likewise.
4630 (AbstractButton): Made public.
4631 * javax/swing/Box.java
4632 (AccessibleBox.serialVersionUID): New member variable.
4633 (Filler.serialVersionUID): Likewise.
4634 * javax/swing/DefaultListSelectionModel.java
4635 (serialVersionUID): Likewise.
4636 * javax/swing/JApplet.java
4637 (serialVersionUID): Likewise.
4638 * javax/swing/JCheckBox.java
4639 (serialVersionUID): Likewise.
4640 * javax/swing/JCheckBoxMenuItem.java
4641 (serialVersionUID): Likewise.
4642 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
4643 * javax/swing/JColorChooser.java
4644 (serialVersionUID): Likewise.
4645 (AccessibleJColorChooser.serialVersionUID): Likewise.
4646 * javax/swing/JComponent.java
4647 (serialVersionUID): Made private.
4648 (AccessibleJComponent.serialVersionUID): New member variable.
4649 * javax/swing/JDesktopPane.java
4650 (serialVersionUID): Likewise.
4651 * javax/swing/JDialog.java
4652 (serialVersionUID): Likewise.
4653 * javax/swing/JFormattedTextField.java
4654 (serialVersionUID): Fixed value.
4655 * javax/swing/JFrame.java
4656 (serialVersionUID): New member variable.
4657 (getDefaultCloseOpertation): Made public.
4658 * javax/swing/JLayeredPane.java
4659 (serialVersionUID): Likewise.
4660 (LAYER_PROPERTY): Made final, fixed value.
4661 (JLayeredPane): Made public.
4662 * javax/swing/JMenu.java
4663 (AccessibleJMenu.serialVersionUID): New member variable.
4664 (WinListener.serialVersionUID): Likewise.
4665 * javax/swing/JMenuBar.java
4666 (serialVersionUID): Likewise.
4667 (getComponentAtIndex): Added @deprecated tag.
4668 * javax/swing/JMenuItem.java
4669 (serialVersionUID): New member variable.
4670 (AccessibleJMenuItem.serialVersionUID): Likewise.
4671 * javax/swing/JOptionPane.java
4672 (serialVersionUID): Likewise.
4673 (AccessibleJOptionPane.serialVersionUID): Likewise.
4674 * javax/swing/JPopupMenu.java
4675 (serialVersionUID): Likewise.
4676 (AccessibleJPopupMenu.serialVersionUID): Likewise.
4677 (getPopupMenuListeners): New method.
4678 (getComponentAtIndex): Added @deprecated tag.
4679 * javax/swing/JProgressBar.java
4680 (serialVersionUID): New member variable.
4681 (AccessibleJProgressBar.serialVersionUID): Likewise.
4682 * javax/swing/JRadioButton.java
4683 (serialVersionUID): Likewise.
4684 * javax/swing/JRadioButtonMenuItem.java
4685 (serialVersionUID): Likewise.
4686 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
4687 * javax/swing/JScrollBar.java
4688 (serialVersionUID): Likewise.
4689 (AccessibleJScrollBar.serialVersionUID): Likewise.
4690 * javax/swing/JSeparator.java
4691 (serialVersionUID): Likewise.
4692 (AccessibleJSeparator.serialVersionUID): Likewise.
4693 * javax/swing/JSlider.java: Fixed javadocs.
4694 (AccessibleJSlider.serialVersionUID): New member variable.
4695 * javax/swing/JSplitPane.java: Added copyright statement.
4696 (serialVersionUID): New member variable.
4697 (AccessibleJSplitPane.serialVersionUID): Likewise.
4698 * javax/swing/JTabbedPane.java
4699 (serialVersionUID): Likewise.
4700 (AccessibleJTabbedPane.serialVersionUID): Likewise.
4701 (ModelListener.serialVersionUID): Likewise.
4702 (ModelListener.ModelListener): New constructor.
4703 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
4704 (WRAP_TAB_LAYOUT): Likewise.
4705 * javax/swing/JTable.java
4706 (serialVersionUID): New member variable.
4707 * javax/swing/JToggleButton.java
4708 (serialVersionUID): Likewise.
4709 (ToggleButtonModel): Made static.
4710 (ToggleButtonModel.serialVersionUID): New member variable.
4711 * javax/swing/JToolTip.java
4712 (serialVersionUID): Likewise.
4713 * javax/swing/JTree.java
4714 (serialVersionUID): Likewise.
4715 * javax/swing/JWindow.java
4716 (serialVersionUID): Likewise.
4717 * javax/swing/Timer.java
4718 (serialVersionUID): Likewise.
4719
47202004-06-06 Michael Koch <konqueror@gmx.de>
4721
4722 * javax/swing/SwingConstants.java
4723 (NEXT): New constant.
4724 (PREVIOUS): Likewise.
4725 * javax/swing/UIManager.java
4726 (LookAndFeel): Made public.
4727 (LookAndFeel.getClassName): Likewise.
4728 (LookAndFeel.getName): Likewise.
4729
47302004-06-02 Olga Rodimina <rodimina@redhat.com>
4731
4732 * javax/swing/JCheckBoxMenuItem.java:
4733 Removed CVS tags.
4734 * javax/swing/JMenu.java: Likewise.
4735 * javax/swing/JMenuBar.java: Likewise.
4736 * javax/swing/JMenuItem.java: Likewise.
4737 * javax/swing/JPopupMenu.java: Likewise.
4738 * javax/swing/JRadioButtonMenuItem.java: Likewise.
4739 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
4740 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
4741 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
4742 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
4743 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
4744 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
4745
47462004-05-31 Olga Rodimina <rodimina@redhat.com>
4747
4748 * javax/swing/plaf/basic/BasicMenuUI.java:
4749 (MouseEntered): Do not call getPath() from MenuSelectionManager.
4750 Call getPath() from super class instead.
4751
47522004-05-31 David Jee <djee@redhat.com>
4753
4754 * java/awt/Container.java
4755 (remove): Set component visibility to false after removing it.
4756
47572004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
4758
4759 * java/awt/Component.java (getForeground): Return SystemColor if
4760 parent is null.
4761 (getBackground): Likewise.
4762
4763 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
4764 (item_highlighted): New function.
4765 (connectSignals): Set item_highlighted as list's select
4766 function.
4767
4768 * java/applet/Applet.java: Revert changes from 2004-04-29,
4769 2004-03-15 and 2004-03-14.
4770
4771 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4772 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
4773 factor.
4774
4775 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
4776 "Dialog" as the default font.
4777 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
4778 Likewise.
4779 * java/awt/Component.java (getFont): Return "Dialog" font by
4780 default.
4781 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
4782 Multiply size argument to pango_font_description_set_size by the
4783 DPI conversion factor rather than by PANGO_SCALE.
4784 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
4785 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
4786 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
4787 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
4788 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
4789 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
4790 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
4791 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
4792 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
4793 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4794 Divide baseline y coordinate by DPI conversion factor rather
4795 than by PANGO_SCALE.
4796 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
4797 (area_prepared): Fix typo.
4798 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
4799 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
4800 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4801 (dpi_conversion_factor): New global variable.
4802 (init_dpi_conversion_factor): New function to calculate and
4803 track DPI conversion factor.
4804 (dpi_changed_cb): New callback.
4805 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
4806
48072004-05-27 David Jee <djee@redhat.com>
4808
4809 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
4810 (getGraphics): Return a new GdkGraphics instance.
4811 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4812 (getGraphics): Call super.getGraphics().
4813
48142004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
4815
4816 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4817 (setNativeBounds): Clamp width and height values to >= 0.
4818
4819 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4820 (find_fg_color_widget): Handle GtkOptionMenu specially.
4821
4822 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4823 (pre_event_handler): Only post configure events to visible
4824 top-level windows.
4825
48262004-05-26 David Jee <djee@redhat.com>
4827
4828 * java/awt/BorderLayout.java
4829 (layoutContainer): Fix size calculations.
4830
48312004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
4832
4833 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4834 (window_wm_protocols_filter): Remove function.
4835 (create): Remove filter that removes WM_TAKE_FOCUS client
4836 messages.
4837
794c3bee
AG
48382004-06-17 Anthony Green <green@redhat.com>
4839
1616280e
AG
4840 * java/util/zip/ZipFile.java (getInputStream): Return null if
4841 entry not found.
4842
794c3bee
AG
4843 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
4844 directory contents to the class path.
4845
d1238423
AH
48462004-06-15 Andrew Haley <aph@redhat.com>
4847
4848 * java/lang/natSystem.cc (getenv0): Don't assume environment
4849 variable is Latin 1 coded.
4850
f1c3e0a6
AJ
48512004-06-14 Andreas Jaeger <aj@suse.de>
4852
4853 * configure.in: Support --enable-version-specific-runtime-libs.
4854 * configure: Regenerated.
4855
84b1d821
BM
48562004-06-14 Bryce McKinlay <mckinlay@redhat.com>
4857
4858 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
4859 to pass ClassLoader argument.
4860 * java/util/GregorianCalendar.java: Likewise.
4861 * java/util/Currency.java: Likewise.
4862 * java/text/BreakIterator.java: Likewise.
4863 * java/text/Collator.java: Likewise.
4864 * java/text/DateFormat.java: Likewise.
4865 * java/text/DateFormatSymbols.java: Likewise.
4866 * java/text/DecimalFormatSymbols.java: Likewise.
4867 * java/text/NumberFormat.java: Likewise.
4868 * java/awt/Window.java: Likewise.
4869
df94fa14
AH
48702004-06-14 Andrew Haley <aph@redhat.com>
4871
4872 * java/lang/System.java: (getenv0): New method.
4873 (getenv): Add security check. Do the right thing.
4874 * java/lang/natSystem.cc (getenv0): New method.
4875
ff6ea709
MW
48762004-06-12 Mark Wielaard <mark@klomp.org>
4877
4878 * javax/swing/RepaintManager.java
4879 (paintDirtyRegions): Use entrySet(), not values().
4880
d1ee8381
MW
48812004-06-10 Mark Wielaard <mark@klomp.org>
4882
4883 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
4884 NoSuchMethodError.
4885
b092552d
JQ
48862004-06-11 Jerry Quinn <jlquinn@optonline.net>
4887
4888 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
4889 when we already know the answer.
4890 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
4891 (setStartRule,setEndRule): Don't take abs of day number.
4892 (getOffset): Clarify docs. Add argument checks.
4893 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
4894 (equals,hasSameRules,toString,readObject): Use startTimeMode and
4895 endTimeMode.
4896
618df745
TT
48972004-06-10 Tom Tromey <tromey@redhat.com>
4898
4899 * interpret.cc (run): Handle wide fload.
4900
648b6075
JQ
49012004-06-06 Jerry Quinn <jlquinn@optonline.net>
4902
4903 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
4904
9fc3ed51
MK
49052004-06-05 Michael Koch <konqueror@gmx.de>
4906
4907 * javax/swing/SwingConstants.java
4908 (NEXT): New constant.
4909 (PREVIOUS): Likewise.
4910
c6dd0441
MK
49112004-06-05 Michael Koch <konqueror@gmx.de>
4912
4913 * javax/swing/UIManager.java
4914 (LookAndFeel): Made public.
4915 (LookAndFeel.getName): Likewise.
4916 (LookAndFeel.getClassName): Likewise.
4917
53ef271f
MK
49182004-06-03 Michael Koch <konqueror@gmx.de>
4919
4920 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
4921 (requestFocus): Revert last changes.
4922 (gtkRequestFocus): Removed.
4923 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4924 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
4925 Renamed to ...
4926 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
4927 Reverted last patch.
4928 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
4929 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
4930 Reverted comment change.
4931
26f4ba86
OR
49322004-06-02 Olga Rodimina <rodimina@redhat.com>
4933
4934 * javax/swing/JCheckBoxMenuItem.java:
4935 Removed CVS tags.
4936 * javax/swing/JMenu.java: Likewise.
4937 * javax/swing/JMenuBar.java: Likewise.
4938 * javax/swing/JMenuItem.java: Likewise.
4939 * javax/swing/JPopupMenu.java: Likewise.
4940 * javax/swing/JRadioButtonMenuItem.java: Likewise.
4941 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
4942 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
4943 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
4944 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
4945 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
4946 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
4947
c05e85e2
MK
49482004-06-01 Tom Tromey <tromey@redhat.com>
4949
4950 * java/io/ObjectStreamField.java: Cleaned up imports.
4951
49522004-06-01 Michael Koch <konqueror@gmx.de>
4953
4954 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
4955
49562004-06-01 Mark Wielaard <mark@klomp.org>
4957
4958 * java/io/Writer.java (Writer(Object)): Fixed API doc.
4959
6ef44cfd
MK
49602004-06-01 Michael Koch <konqueror@gmx.de>
4961
4962 * java/security/Security.java
4963 (insertProviderAt): Use equals() instead of ==.
4964 (removeProvicer): Likewise.
4965 (getProvider): Likewise.
4966 * java/security/Signature.java
4967 (sign): Don't set state to UNINITIALIZED.
4968 (verify): Likewise.
4969
1900c4c6
MW
49702004-06-01 Mark Wielaard <mark@klomp.org>
4971
4972 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
4973 Implement by calling gtkRequestFocus.
4974 (gtkRequestFocus): New native method.
4975 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4976 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
4977 Renamed to ...
4978 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
4979 New function name.
4980 (filter_expose_event_handler):
4981 Mark static.
4982 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
4983 (menu_pos): Mark static.
4984
57807c31
MK
49852004-06-01 Michael Koch <konqueror@gmx.de>
4986
4987 * java/text/CollationElementIterator.java,
4988 java/text/CollationKey.java,
4989 java/text/RuleBasedCollator.java: New versions from GNU classpath.
4990 * testsuite/libjava.mauve/xfails: Removed all
4991 java.text.CollationElementIterator tests.
4992
f7dbd56c
MK
49932004-06-01 Michael Koch <konqueror@gmx.de>
4994
4995 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
4996 version.
4997 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
4998 Java 1.5 keyword usage.
4999
44a4b8db
OR
50002004-05-31 Olga Rodimina <rodimina@redhat.com>
5001
5002 * javax/swing/plaf/basic/BasicMenuUI.java:
5003 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5004 Call getPath() from super class instead.
5005
58128b9d
MK
50062004-05-31 Michael Koch <konqueror@gmx.de>
5007
5008 * java/io/SequenceInputStream.java:
5009 Rename enum to e because enum is a keyword in Java 1.5.
5010
771b9ca3
MK
50112004-05-31 Michael Koch <konqueror@gmx.de>
5012
5013 * gnu/java/rmi/rmic/CompilerProcess.java:
5014 Fixed javadoc to by XHTML compliant.
5015
7a70d70c
MW
50162004-05-30 Mark Wielaard <mark@klomp.org>
5017
5018 * java/awt/Toolkit.java (loadSystemColors): Implement.
5019
289f9db7
MK
50202004-05-30 Michael Koch <konqueror@gmx.de>
5021
071917b0
MK
5022 * java/lang/System.java: Reordered imports.
5023
50242004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
5025
289f9db7
MK
5026 * java/text/DecimalFormat.java
5027 (parse): Fixed parsing of decimal strings. Number of maximum
5028 digits to be read should now work.
5029 * java/text/SimpleDateFormat.java
5030 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
5031 formatter. This fixes DateFormatTest.
5032
1b2545bc
MK
50332004-05-30 Michael Koch <konqueror@gmx.de>
5034
5035 * java/nio/Buffer.java
5036 (limit): Fixed off by one error.
5037 * java/nio/CharBuffer.java
5038 (wrap): Fixed arguments, added javadocs.
5039
74c2dbf7
MK
50402004-05-30 Michael Koch <konqueror@gmx.de>
5041
5042 * gnu/java/beans/BeanInfoEmbryo.java,
5043 java/awt/im/InputContext.java,
5044 javax/swing/tree/DefaultMutableTreeNode.java:
5045 Rename enum to e because enum is a keyword in Java 1.5.
5046
27d14326
MK
50472004-05-30 Michael Koch <konqueror@gmx.de>
5048
5049 * gnu/java/math/MPN.java,
5050 java/awt/geom/Arc2D.java:
5051 Fixed javadocs all over.
5052
933592af
MK
50532004-05-30 Michael Koch <konqueror@gmx.de>
5054
5055 * java/awt/DefaultKeyboardFocusManager.java
5056 (dispatchEvent): Call method to get key event dispatchers.
5057 (dispatchKeyEvent): Call method to get key event post processors.
5058 * javax/swing/JComponent.java
5059 (listenerList): Made protected.
5060 * javax/swing/JOptionPane.java
5061 (message): Don't initialize.
5062 (JOptionPane): Set message text.
5063 * javax/swing/JPopupMenu.java
5064 (show): Fixed typo in argument name.
5065 * javax/swing/RepaintManager.java
5066 (paintDirtyRegions): Use public API of java.util.Map.
5067 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5068 (positionForMouseEvent): Removed redundant ';'.
5069 (continueDrag): Use method arguments.
5070
5ba95354
RM
50712004-05-29 Ranjit Mathew <rmathew@hotmail.com>
5072
5073 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
5074 results.
5075
ca60dce2
BM
50762004-05-28 Bryce McKinlay <mckinlay@redhat.com>
5077
5078 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
5079 _Jv_AllocBytes.
5080 * gnu/gcj/RawDataManaged.java: New file.
5081 * java/lang/Thread.java (data): Declare as RawDataManaged.
5082 * java/lang/natThread.cc (init_native): Cast natThread data to
5083 RawDataManaged, not jobject.
5084 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
5085 * Makefile.in: Rebuilt.
5086
b9f065be
JQ
50872004-05-27 Jerry Quinn <jlquinn@optonline.net>
5088
5089 * java/util/SimpleTimeZone.java: Reverting my last change until I
5090 can fix it properly.
5091
a4171ce1
MK
50922004-05-27 Michael Koch <konqueror@gmx.de>
5093
5094 * javax/swing/JPopupMenu.java
5095 (isVisible): Do not use visible directly.
5096 (setVisible): Likewise.
5097 * javax/swing/JWindow.java
5098 (JWindow): call accessible constructor.
5099 * javax/swing/RepaintManager.java
5100 (paintDirtyRegions): Use public methods to obtain iterator.
5101
c5d2de6b
GH
51022004-05-25 David Jee <djee@redhat.com>
5103
5104 * java/awt/Container.java
5105 (remove): Set component's parent to null only after we removed the
5106 component from its parent's layout manager.
5107
51082004-05-25 David Jee <djee@redhat.com>
5109
5110 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5111 (GtkComponentPeer): Set bounds regardless of whether awtComponent
5112 is valid.
5113 * gnu/java/awt/peer/gtk/GtkListPeer.java
5114 (getSize): Change native method declaration.
5115 (minimumSize): Pass visible row count into getSize().
5116 (preferredSize): Likewise.
5117 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5118 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
5119 natural size. Use visible row count to determine the final height
5120 value to return.
5121
51222004-05-21 Graydon Hoare <graydon@redhat.com>
5123
5124 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5125 (setClip): Minor correction to order of operations.
5126
5127 * javax/swing/JScrollPane.java: Extend sketchy implementation.
5128 * javax/swing/ScrollPaneLayout.java: Likewise.
5129 * javax/swing/JViewPort.java: Likewise.
5130 * javax/swing/ViewportLayout.java: Likewise.
5131
5132 * javax/swing/JComponent.java: Rewrite.
5133 * javax/swing/RepaintManager.java: Likewise.
5134
5135 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
5136 * javax/swing/JList.java
5137 (setSelectedIndices):
5138 (getSelectedIndices):
5139 (getSelectedValues): New functions.
5140 (getPreferredScrollableViewportSize): Return preferred size.
5141 (getScrollableUnitIncrement):
5142 (getScrollableBlockIncrement): Initial implementations.
5143 * javax/swing/JRootPane.java: Clean up slightly.
5144 (getUI):
5145 (setUI):
5146 (updateUI):
5147 (getUIClassID):
5148 (isValidateRoot): Add overrides from JComponent.
5149 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
5150 * javax/swing/UIManager.java (getDimension): Return the dimension.
5151
5152 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
5153 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
5154 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5155 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
5156 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
5157 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
5158 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
5159 * javax/swing/plaf/basic/BasicRootPaneUI.java:
5160 Likewise, and set background.
5161 * javax/swing/plaf/basic/BasicListUI.java:
5162 Likewise, and improve a bit.
5163 * javax/swing/plaf/basic/BasicScrollBarUI.java:
5164 Likewise, and adjust calculations.
5165 * javax/swing/plaf/basic/BasicViewportUI.java:
5166 Likewise, and improve a bit.
5167 * javax/swing/plaf/basic/BasicLookAndFeel.java
5168 (Button.margin): Shrink.
5169
5170 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5171 Hack to set horizontal always, workaround pango.
5172
5173 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
5174 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5175 Synchronize more often, check cairo status after ops,
5176 handle changes to cairo pattern API, check for disposal.
5177
51782004-05-21 Olga Rodimina <rodimina@redhat.com>
5179
5180 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5181 (BasicMenuItemUI): Create propertyChangeListener.
5182 (getPath):Implemented.
5183 (installListeners): Add propertyChangeListener to menuItem.
5184 (uninstallListeners): Remove propertyChangeListener from menuItem.
5185 (update): Implemented.
5186 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5187 (mouseEntered): Take insets of popup menu into account when
5188 calculating position of popup menu.
5189
51902004-05-18 Olga Rodimina <rodimina@redhat.com>
5191
5192 * Makefile.am: Added new file.
5193 * Makefile.in: Regenerate.
5194 * javax/swing/JMenuBar.java:
5195 Started implementation.
5196 * javax/swing/JPopupMenu.java:
5197 (setVisible): Fixed location of lightweight/mediumweight
5198 popup menu.
5199 (show): Fixed location of PopupMenu.
5200 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5201 New file. UI Delegate for JMenuBar.
5202 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5203 (mouseEntered): Corrected position of the submenu.
5204
52052004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5206
5207 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
5208 to _gtk_accel_group_attach.
5209 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
5210 Likewise.
5211
5212 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
5213 package access. Don't override setFont.
5214 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
5215 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
5216 gtkWidgetRequestFocus package access.
5217 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
5218 setFont.
5219 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
5220 Give gtkWidgetRequestFocus package access.
5221 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
5222 gtkWidgetRequestFocus package access. Don't override setFont.
5223 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
5224 setFont.
5225 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5226 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
5227 region.
5228 (gtkSetFont): Likewise.
5229 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
5230 Implement.
5231 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5232 (gtkSetFont): Whitespace fix.
5233
5234 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5235 (gtkWidgetSetUsize): Remove method.
5236
52372004-05-18 David Jee <djee@redhat.com>
5238
5239 * java/awt/image/MemoryImageSource.java
5240 (newPixels(int,int,int,int,boolean)): Set only the specified
5241 rectangle of pixels.
5242 (newPixels(byte[],ColorModel,int,int)): Implement.
5243 (newPixels(int[],ColorModel,int,int)): Implement.
5244
52452004-05-18 Olga Rodimina <rodimina@redhat.com>
5246
5247 * Makefile.am: Added new file.
5248 * Makefile.in: Regenerate.
5249 * javax/swing/JMenu.java: Started
5250 implementation.
5251 * javax/swing/JPopupMenu.java:
5252 (insert): If specified index is -1, then
5253 add component at the end.
5254 (isPopupTrigger): Reimplemented.
5255 (JPopupMenu.LightWeightPopup): setBounds
5256 of the lightWeightPopup before adding it
5257 to the layeredPane.
5258 (javax/swing/plaf/basic/BasicIconFactory.java):
5259 (getMenuArrowIcon): Implemented.
5260 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5261 (getPreferredSize): Add size of the arrow icon
5262 if this menu item is instance of JMenu.
5263 (paintMenuItem): Paint arrow icon if this
5264 menu item is a submenu.
5265 * javax/swing/plaf/basic/BasicMenuUI.java:
5266 New File. UI Delegate for JMenu.
5267
52682004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
5269
5270 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
5271 Post KEY_TYPED events.
5272 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5273 (generates_key_typed_event): Remove function.
5274
52752004-05-17 Olga Rodimina <rodimina@redhat.com>
5276
5277 * javax/swing/JRootPane.java
5278 (JRootPane.RootLayout): Reimplemented to
5279 set bounds of contentPane and menuBar.
5280 (setJMenuBar): Add menu bar to the layered pane.
5281 (createLayeredPane): Set layout of layeredPane
5282 to null.
5283 * javax/swing/JLayeredPane.java:
5284 (addImpl): Calculate index of the component in the
5285 layeredPane according to the specified position within
5286 the layer.
5287
52882004-05-17 David Jee <djee@redhat.com>
5289
5290 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5291 (setPixels): Change color model to the default model after
5292 converting pixels.
5293 * java/awt/image/MemoryImageSource.java
5294 (newPixels): Set only the specified rectangle of pixels.
5295
52962004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
5297
5298 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
5299 -l-java-beans -l-javax-accessibility -l-javax-swing.
5300
5301 * java/awt/AWTEvent.java (toString): Print source's name rather
5302 than the source itself.
5303
53042004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5305
5306 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
5307 native.
5308 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5309 (gdk_color_to_java_color): New function.
5310 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
5311
53122004-05-12 David Jee <djee@redhat.com>
5313
5314 * java/awt/image/RGBImageFilter.java:
5315 Initialize origmodel as null.
5316 (makeColor): Fix pixel component order.
5317 (filterRGBPixels): Fix pixel iteration.
5318 (setPixels): Add extra checks for index color model. Convert pixels
5319 to default color model if necessary.
5320 (convertColorModelToDefault): New override method for byte pixels.
5321 (convertColorModelToDefault): For int pixels, fix pixel iteration.
5322 (makeColorbyDefaultCM): New override method for byte pixels.
5323 (makeColorbyDefaultCM): For int pixel, add color model as argument.
5324 (makeColor): Fix pixel component order.
5325
53262004-05-11 Kim Ho <kho@redhat.com>
5327
5328 * javax/swing/Box.java:
5329 Comment out more parts of Box.Filler.
5330
53312004-05-11 Kim Ho <kho@redhat.com>
5332
5333 * javax/swing/Box.java:
5334 Remove reference to AccessibleAWTComponent so
5335 it compiles again.
5336
53372004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
5338
5339 * gnu/java/awt/peer/gtk/GtkListPeer.java,
5340 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
5341 implementation of list peer to use GtkTreeView instead of
5342 deprecated GtkCList.
5343
53442004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
5345
5346 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5347 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
5348 (handleEvent): Remove keyChar argument to
5349 gtkWidgetDispatchKeyEvent calls.
5350 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
5351 compiler warnings.
5352 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
5353 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
5354 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5355 Likewise.
5356
53572004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
5358
5359 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5360 (gtkWidgetRequestFocus): Mark protected.
5361 (GtkComponentPeer): Only set the peer's bounds if its component
5362 is valid.
5363 * java/awt/Component.java (static): Set the default keyboard
5364 focus manager.
5365 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
5366 requestFocusInWindow(temporary)): Don't request focus if the
5367 component is not showing. Get tree lock before traversing
5368 component hierarchy.
5369 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
5370 Only set the global focus owner if it is not a Window.
5371 (processKeyEvent): Consume keystrokes associated with the focus
5372 traversal keystroke.
5373 (focusPreviousComponent, focusNextComponent, upFocusCycle,
5374 downFocusCycle): Call requestFocusInWindow instead of
5375 requestFocus.
5376 * java/awt/EventDispatchThread.java (run): Move setting of
5377 default keyboard focus manager to Component.java.
5378 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5379 (awt_keycode_to_keysym): New function.
5380 (gtkWidgetDispatchKeyEvent): Finish implementation.
5381 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5382 (pre_event_handler): Add FIXME comment.
5383
5384 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5385 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5386 (gtkWidgetRequestFocus): New method.
5387 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
5388 disable Tab and Shift-Tab keystrokes.
5389 (addNotify, appendText, insertText, replaceText): Simplify peer
5390 retrieval code.
5391 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5392 (connectSignals): Remove connections to "commit" signals.
5393 Remove C++-style comments.
5394
5395 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5396 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5397 (handleEvent): Activate GTK button when the space bar key is
5398 pressed.
5399 (gtkActivate): New method.
5400
54012004-05-06 David Jee <djee@redhat.com>
5402
5403 * java/awt/image/CropImageFilter.java
5404 (setPixels): Implement for byte array pixels.
5405 * java/awt/image/ReplicateScaleFilter.java
5406 (setPixels): Implement for byte array pixels.
5407 (replicatePixels): Overload for byte array pixels.
5408
54092004-05-06 Kim Ho <kho@redhat.com>
5410
5411 * javax/swing/Box.java:
5412 (getAccessibleContext): Return an instance of the
5413 correct class.
5414
54152004-05-05 David Jee <djee@redhat.com>
5416
5417 * gnu/java/awt/peer/gtk/GdkGraphics.java
5418 (drawImage): When component is null, use SystemColor.window as
5419 the default bgcolor.
5420 * gnu/java/awt/peer/gtk/GtkImage.java
5421 (setPixels): We can avoid iterating through the pixel rows only
5422 when height is 1.
5423 * java/awt/Image.java
5424 (getScaledInstance): Partially implement.
5425 * java/awt/image/CropImageFilter.java
5426 (setProperties): Fix "filter" property.
5427 (setPixels): Implement.
5428 * java/awt/image/ReplicateScaleFilter.java
5429 (setDimensions): Use scaled dimensions.
5430 (setPixels): Implement.
5431 (replicatePixels): New method.
5432
54332004-05-05 David Jee <djee@redhat.com>
5434
5435 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5436 (convertPixels): If either pixels or model is null, return null.
5437 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
5438 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
5439 is null, do nothing and return.
5440
54412004-05-03 Kim Ho <kho@redhat.com>
5442
5443 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
5444 (getGraphics): Like GtkFramePeer, the Graphics
5445 object needs to be translate to account for
5446 window decorations.
5447 (postMouseEvent): New method. Account for
5448 translation.
5449 (postExposeEvent): ditto.
5450 * javax/swing/Box.java: Stubbed.
5451 * javax/swing/JDialog.java: Ran through jalopy
5452 to fix indentation.
5453 (JDialog): Call SwingUtilities' getOwnerFrame
5454 for null owners.
5455 (setLayout): Check isRootPaneCheckingEnabled
5456 * javax/swing/JOptionPane.java: Re-implemented.
5457 * javax/swing/SwingUtilities.java:
5458 (getOwnerFrame): Static method to grab a default
5459 owner frame for Dialogs that don't specify owners.
5460 * javax/swing/event/SwingPropertyChangeSupport.java:
5461 (firePropertyChange): Fix early exit condition.
5462 * javax/swing/plaf/basic/BasicLabelUI.java:
5463 (paint): Avoid painting text if it is null
5464 or empty.
5465 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
5466 Implement.
5467
54682004-05-03 Olga Rodimina <rodimina@redhat.com>
5469
5470 * Makefile.am: Added new file.
5471 * Makefile.in: Regenerate.
5472 * javax/swing/JPopupMenu.java:
5473 Started implementation.
5474 * javax/swing/JWindow.java
5475 (JWindow): call super() if parent for window
5476 is not specified.
5477 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5478 New File. UI Delegate for JPopupMenu.
5479
54802004-04-30 Olga Rodimina <rodimina@redhat.com>
5481
5482 * javax/swing/JApplet.java: Indicated that JApplet
5483 implements RootPaneContainer and made method of this
5484 interface public.
5485 * javax/swing/JFrame.java: Ditto.
5486 * javax/swing/JWindow.java: Ditto.
5487
54882004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
5489
5490 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5491 (nativeSetBounds): Call gdk_window_move in addition to
5492 gtk_window_move.
5493
5494 * java/applet/Applet.java (preferredSize): Call parent's
5495 preferredSize if the applet stub is null.
5496 (minimumSize): Likewise for parent's minimumSize.
5497
54982004-04-27 Olga Rodimina <rodimina@redhat.com>
5499
5500 * javax/swing/JMenuItem.java
5501 (createActionPropertyChangeListener): Implemented.
5502 (processMouseEvent): Ditto.
5503 (fireMenuDragMouseEntered): Ditto.
5504 (fireMenuDragMouseExited): Ditto.
5505 (fireMenuDragMouseDragged): Ditto.
5506 (fireMenuDragMouseReleased): Ditto.
5507 (menuSelectionChanged): Ditto.
5508 (getSubElements): Ditto.
5509 (getComponent): Ditto.
5510 (addMenuDragMouseListener): Ditto.
5511 (removeMenuDragMouseListener):Ditto.
5512 (addMenuKeyListener): Ditto.
5513 (removeMenuKeyListener): Ditto.
5514 * javax/swing/plaf/basic/BasicMenuItemUI.java
5515 (doClick): Imlemented.
5516 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
5517 Don't handle mouse events here. Pass them to
5518 MenuSelectionManager.
5519
55202004-04-26 Olga Rodimina <rodimina@redhat.com>
5521 Used correct version of jalopy configuration
5522 file to fix style in the files below.
5523
55242004-04-26 Olga Rodimina <rodimina@redhat.com>
5525
5526 * javax/swing/JCheckBoxMenuItem.java:
5527 Fixed style and removed unnecessary comments.
5528 * javax/swing/JMenuItem.java: Ditto.
5529 * javax/swing/JRadioButtonMenuItem.java: Ditto.
5530 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
5531 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
5532 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
5533
55342004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
5535
5536 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
5537 C-style.
5538
5539 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
5540
5541 * java/awt/ContainerOrderFocusTraversalPolicy.java
5542 (getComponentAfter): Start from current component and work up
5543 the component hierarchy until an acceptable component is found.
5544 Synchronize on tree lock.
5545 (getComponentBefore): Likewise.
5546
55472004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5548
5549 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
5550 focus-related debugging messages.
5551 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
5552 * java/awt/EventDispatchThread.java: Likewise.
5553 * java/awt/KeyboardFocusManager.java: Likewise.
5554 * java/awt/Window.java: Likewise.
5555 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
5556 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
5557
5558 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
5559 new C++-style comments to C-style comments.
5560 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
5561
5562 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5563 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5564 (handleEvent): Dispatch key press and key release events to
5565 backing widget.
5566 (requestFocus): Post a FOCUS_GAINED event to the event queue.
5567 (gtkWidgetRequestFocus): New method.
5568 (gtkWidgetDispatchKeyEvent): Likewise.
5569 * java/awt/Component.java (requestFocus, requestFocus(boolean),
5570 requestFocusInWindow, requestFocusInWindow(boolean),
5571 getFocusCycleRootAncestor, nextFocus, transferFocus,
5572 transferFocusBackward, transferFocusUpCycle, hasFocus,
5573 isFocusOwner): Implement and document focus-handling methods.
5574 (setFocusTraversalKeys): Inherit focus traversal keys when
5575 keystrokes argument is null. Fix focus-handling documentation
5576 throughout class.
5577 * java/awt/Container.java (setFocusTraversalKeys,
5578 getFocusTraversalKeys, areFocusTraversalKeysSet,
5579 isFocusCycleRoot, setFocusTraversalPolicy,
5580 getFocusTraversalPolicy, isFocusTraversalPolicySet,
5581 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
5582 Implement and document focus-handling methods.
5583 (transferFocusBackward): Remove method.
5584 (readObject, writeObject): Implement and document serialization
5585 methods.
5586 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
5587 and document.
5588 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
5589 document.
5590 * java/awt/DefaultKeyboardFocusManager.java: Implement and
5591 partially document.
5592 * java/awt/EventDispatchThread.java (run): Set default keyboard
5593 focus manager. Attempt to dispatch each event to the keyboard
5594 focus manager before normal dispatch.
5595 * java/awt/KeyboardFocusManager.java: Implement and partially
5596 document.
5597 * java/awt/Window.java (Window): Set focusCycleRoot to true.
5598 (show): Focus initial component when window is shown for the
5599 first time.
5600 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5601 (pre_event_handler): Replace complex key press and key release
5602 logic with simple callbacks into GtkComponentPeer.
5603 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
5604
56052004-04-21 Olga Rodimina <rodimina@redhat.com>
5606
5607 * javax/swing/MenuSelectionManager.java
5608 (componentForPoint): Added new method.
5609 (defaultManager): New Method. Implemented.
5610 (getSelectedPath): Ditto.
5611 (isComponentPartOfCurrentMenu): Ditto.
5612 (processKeyEvent): Added new method.
5613 (processMouseEvent): New Method. Implemented.
5614 (setSelectedPath): Ditto.
5615 (getPath): Ditto.
5616
56172004-04-19 Kim Ho <kho@redhat.com>
5618
5619 * java/awt/Container.java:
5620 (remove): Set the component's parent to null.
5621 (getComponentAt): Implement.
5622 * javax/swing/JComponent.java:
5623 (JComponent): Initialize defaultLocale
5624 (getDefaultLocale): Implement.
5625 (setDefaultLocale): ditto.
5626 * javax/swing/JSlider.java:
5627 (JSlider): Fix calculation of value.
5628 * javax/swing/JSplitPane.java: Implement.
5629 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5630 Change SplitPane's default divider size.
5631 * javax/swing/plaf/basic/BasicScrollBarUI.java:
5632 (paint): Remove unused code.
5633 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
5634 Added comments and ran through jalopy.
5635 (setBasicSplitPaneUI): Get reference to hidden divider
5636 and set up one touch buttons if necessary.
5637 (setBorder): Fire propertyChangeEvent only if
5638 borders are different.
5639 (getPreferredSize): Defer to layout manager.
5640 (propertyChange): Implement.
5641 (oneTouchExpandableChanged): ditto.
5642 (createLeftOneTouchButton): Use BasicArrowButton.
5643 (createRightOneTouchButton): ditto.
5644 (moveDividerTo): New method. Moves the divider
5645 to a set location based on the last divider location.
5646 (BasicSplitPaneDivider::MouseHandler): Implement.
5647 (BasicSplitPaneDivider::OneTouchButton): Removed.
5648 (BasicSplitPaneDivider::DragController): Implement.
5649 (BasicSplitPaneDivider::VerticalDragController):
5650 ditto.
5651 (BasicSplitPaneDivider::DividerLayout): ditto.
5652 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
5653 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
5654 (calculateLayoutInfo): Don't show component if it's
5655 null.
5656 (paintTab): Fix title paint logic.
5657
2140214f
JQ
56582004-05-26 Jerry Quinn <jlquinn@optonline.net>
5659
5660 PR libgcj/8321
5661 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
5662 (setStartRule,setEndRule): Don't take abs of day number.
5663 (getOffset): Clarify docs. Add argument checks.
5664 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
5665 (equals,hasSameRules,toString,readObject): Use startTimeMode and
5666 endTimeMode.
5667 * testsuite/libjava.mauve/xfails
5668 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
5669
17abdabc
BM
56702004-05-21 Bryce McKinlay <mckinlay@redhat.com>
5671
5672 Layout interfaces during preparation, not initialization.
5673 * java/lang/natClass.cc (initializeClass): Move
5674 _Jv_LayoutInterfaceMethods call...
5675 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
5676
0fa13661
AG
56772004-05-19 Anthony Green <green@localhost.localdomain>
5678
5679 * Makefile.am (awt_java_source_files): Remove javax.rmi and
5680 gnu.javax.rmi code.
5681 * Makefile.in: Rebuilt.
5682 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
5683 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
5684 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
5685 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
5686 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
5687 gnu/javax/rmi/CORBA/DelegateFactory.java,
5688 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
5689 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
5690 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
5691 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
5692 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
5693 gnu/javax/rmi/PortableServer.java: Remove files.
5694
0f22079e
AG
56952004-05-19 Anthony Green <green@redhat.com>
5696
5697 * Makefile.am: Define JAVA_EXT_DIRS.
5698 * Makefile.in: Rebuilt.
5699 * java/lang/natRuntime.cc (insertSystemProperties): Set
5700 java.ext.dirs property.
5701
9152dcf4
MW
57022004-05-16 Mark Wielaard <mark@klomp.org>
5703
5704 * java/io/Writer.java (Writer(Object)): Check for null lock object.
5705
fb0e7ec0
MW
57062004-05-15 Mark Wielaard <mark@klomp.org>
5707
5708 * doc/cni.sgml: Removed, merged into gcj.texi.
5709
85ff6f62
MW
57102004-05-15 Mark Wielaard <mark@klomp.org>
5711
5712 * Makefile.am (ordinary_java_source_files): Add new javax.print
5713 classes.
5714 * Makefile.in: Regenerated.
5715
57162004-05-15 Michael Koch <konqueror@gmx.de>
5717
5718 * javax/print/attribute/standard/DateTimeAtCompleted.java,
5719 javax/print/attribute/standard/DateTimeAtCreation.java,
5720 javax/print/attribute/standard/DateTimeAtProcessing.java,
5721 javax/print/attribute/standard/DocumentName.java,
5722 javax/print/attribute/standard/JobHoldUntil.java,
5723 javax/print/attribute/standard/JobImpressionsCompleted.java,
5724 javax/print/attribute/standard/JobMessageFromOperator.java,
5725 javax/print/attribute/standard/JobName.java,
5726 javax/print/attribute/standard/JobOriginatingUserName.java,
5727 javax/print/attribute/standard/JobPriority.java,
5728 javax/print/attribute/standard/JobPrioritySupported.java,
5729 javax/print/attribute/standard/NumberOfInterveningJobs.java,
5730 javax/print/attribute/standard/OutputDeviceAssigned.java,
5731 javax/print/attribute/standard/PrinterInfo.java,
5732 javax/print/attribute/standard/PrinterLocation.java,
5733 javax/print/attribute/standard/PrinterMakeAndModel.java,
5734 javax/print/attribute/standard/PrinterMessageFromOperator.java,
5735 javax/print/attribute/standard/PrinterName.java,
5736 javax/print/attribute/standard/QueuedJobCount.java,
5737 javax/print/attribute/standard/RequestingUserName.java:
5738 Fixed javadocs all over.
5739
57402004-05-15 Michael Koch <konqueror@gmx.de>
5741
5742 * javax/print/DocFlavor.java,
5743 javax/print/attribute/standard/ColorSupported.java,
5744 javax/print/attribute/standard/Compression.java,
5745 javax/print/attribute/standard/CopiesSupported.java,
5746 javax/print/attribute/standard/Fidelity.java,
5747 javax/print/attribute/standard/Finishings.java,
5748 javax/print/attribute/standard/JobImpressionsSupported.java,
5749 javax/print/attribute/standard/JobKOctetsSupported.java,
5750 javax/print/attribute/standard/JobMediaSheetsSupported.java,
5751 javax/print/attribute/standard/JobSheets.java,
5752 javax/print/attribute/standard/JobState.java,
5753 javax/print/attribute/standard/JobStateReason.java,
5754 javax/print/attribute/standard/JobStateReasons.java,
5755 javax/print/attribute/standard/Media.java,
5756 javax/print/attribute/standard/MediaSizeName.java,
5757 javax/print/attribute/standard/MultipleDocumentHandling.java,
5758 javax/print/attribute/standard/NumberUpSupported.java,
5759 javax/print/attribute/standard/OrientationRequested.java,
5760 javax/print/attribute/standard/PDLOverrideSupported.java,
5761 javax/print/attribute/standard/PageRanges.java,
5762 javax/print/attribute/standard/PresentationDirection.java,
5763 javax/print/attribute/standard/PrintQuality.java,
5764 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
5765 javax/print/attribute/standard/PrinterMoreInfo.java,
5766 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
5767 javax/print/attribute/standard/PrinterResolution.java,
5768 javax/print/attribute/standard/PrinterState.java,
5769 javax/print/attribute/standard/PrinterStateReason.java,
5770 javax/print/attribute/standard/PrinterStateReasons.java,
5771 javax/print/attribute/standard/PrinterURI.java,
5772 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
5773 javax/print/attribute/standard/Severity.java,
5774 javax/print/attribute/standard/SheetCollate.java,
5775 javax/print/attribute/standard/Sides.java:
5776 Added serialVersionUID and removed final keyword where it doenst
5777 belong.
5778
57792004-05-15 Michael Koch <konqueror@gmx.de>
5780
5781 * javax/print/PrintServiceLookup.java: New file.
5782
57832004-05-15 Michael Koch <konqueror@gmx.de>
5784
5785 * javax/print/DocFlavor.java:
5786 Implemented all flavor classes.
5787
57882004-05-15 Michael Koch <konqueror@gmx.de>
5789
5790 * javax/print/attribute/standard/ColorSupported.java,
5791 javax/print/attribute/standard/Compression.java,
5792 javax/print/attribute/standard/CopiesSupported.java,
5793 javax/print/attribute/standard/Fidelity.java,
5794 javax/print/attribute/standard/Finishings.java,
5795 javax/print/attribute/standard/JobImpressionsSupported.java,
5796 javax/print/attribute/standard/JobKOctetsSupported.java,
5797 javax/print/attribute/standard/JobMediaSheetsSupported.java,
5798 javax/print/attribute/standard/JobSheets.java,
5799 javax/print/attribute/standard/JobState.java,
5800 javax/print/attribute/standard/JobStateReason.java,
5801 javax/print/attribute/standard/JobStateReasons.java,
5802 javax/print/attribute/standard/Media.java,
5803 javax/print/attribute/standard/MediaSizeName.java,
5804 javax/print/attribute/standard/MultipleDocumentHandling.java,
5805 javax/print/attribute/standard/NumberUpSupported.java,
5806 javax/print/attribute/standard/OrientationRequested.java,
5807 javax/print/attribute/standard/PDLOverrideSupported.java,
5808 javax/print/attribute/standard/PageRanges.java,
5809 javax/print/attribute/standard/PresentationDirection.java,
5810 javax/print/attribute/standard/PrintQuality.java,
5811 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
5812 javax/print/attribute/standard/PrinterMoreInfo.java,
5813 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
5814 javax/print/attribute/standard/PrinterResolution.java,
5815 javax/print/attribute/standard/PrinterState.java,
5816 javax/print/attribute/standard/PrinterStateReason.java,
5817 javax/print/attribute/standard/PrinterStateReasons.java,
5818 javax/print/attribute/standard/PrinterURI.java,
5819 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
5820 javax/print/attribute/standard/Severity.java,
5821 javax/print/attribute/standard/SheetCollate.java,
5822 javax/print/attribute/standard/Sides.java: New files.
5823
58242004-05-15 Michael Koch <konqueror@gmx.de>
5825
5826 * javax/print/Doc.java
5827 (getPrintData): Throws IOException.
5828 (getReaderForText): Likewise.
5829 (getStreamForBytes): Likewise.
5830 * javax/print/DocFlavor.java:
5831 Fixed filename in copyright.
5832 (serialVersionUID): New field.
5833 * javax/print/ServiceUIFactory.java:
5834 Made all constants final.
5835 * javax/print/AttributeException.java
5836 javax/print/MultiDoc.java
5837 javax/print/MultiDocPrintJob.java
5838 javax/print/MultiDocPrintService.java
5839 javax/print/StreamPrintService.java
5840 javax/print/URIException.java: New files.
5841 * javax/print/Makefile.am
5842 (EXTRA_DIST): Added all new files.
5843
58442004-05-15 Michael Koch <konqueror@gmx.de>
5845
5846 * javax/print/attribute/standard/Copies.java,
5847 javax/print/attribute/standard/DateTimeAtCompleted.java,
5848 javax/print/attribute/standard/DateTimeAtCreation.java,
5849 javax/print/attribute/standard/DateTimeAtProcessing.java,
5850 javax/print/attribute/standard/DocumentName.java,
5851 javax/print/attribute/standard/JobHoldUntil.java,
5852 javax/print/attribute/standard/JobImpressions.java,
5853 javax/print/attribute/standard/JobImpressionsCompleted.java,
5854 javax/print/attribute/standard/JobKOctets.java,
5855 javax/print/attribute/standard/JobKOctetsProcessed.java,
5856 javax/print/attribute/standard/JobMediaSheets.java,
5857 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
5858 javax/print/attribute/standard/JobMessageFromOperator.java,
5859 javax/print/attribute/standard/JobName.java,
5860 javax/print/attribute/standard/JobOriginatingUserName.java,
5861 javax/print/attribute/standard/JobPriority.java,
5862 javax/print/attribute/standard/JobPrioritySupported.java,
5863 javax/print/attribute/standard/NumberOfDocuments.java,
5864 javax/print/attribute/standard/NumberOfInterveningJobs.java,
5865 javax/print/attribute/standard/NumberUp.java,
5866 javax/print/attribute/standard/OutputDeviceAssigned.java,
5867 javax/print/attribute/standard/PagesPerMinute.java,
5868 javax/print/attribute/standard/PagesPerMinuteColor.java:
5869 Fixed @return tag all over.
5870
58712004-05-15 Michael Koch <konqueror@gmx.de>
5872
5873 * javax/print/attribute/AttributeSetUtilities.java
5874 (verifyCategoryForValue): Fixed typo in javadoc.
5875 * javax/print/attribute/HashAttributeSet.java
5876 (containsKey): Fixed @return tag.
5877 (comtainsValue): Likewise.
5878 (equals): Likewise.
5879 * javax/print/attribute/IntegerSyntax.java
5880 (equals): Likewise.
5881 * javax/print/attribute/ResolutionSyntax.java
5882 (equals): Likewise.
5883 (getCrossFeedResolution): Removed unused code.
5884 (getFeedResolution): Likewise.
5885 * javax/print/attribute/SetOfIntegerSyntax.java
5886 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
5887 (equals): Fixed @return tag.
5888 * javax/print/attribute/TextSyntax.java
5889 (TextSyntax): Take locale into account.
5890 (hashCode): Better implementation.
5891
58922004-05-15 Michael Koch <konqueror@gmx.de>
5893
5894 * javax/print/CancelablePrintJob.java,
5895 javax/print/Doc.java,
5896 javax/print/DocFlavor.java,
5897 javax/print/DocPrintJob.java,
5898 javax/print/FlavorException.java,
5899 javax/print/PrintException.java,
5900 javax/print/PrintService.java,
5901 javax/print/ServiceUIFactory.java: New files.
5902
f437e359
MW
59032004-05-15 Mark Wielaard <mark@klomp.org>
5904
5905 * gnu/regexp/CharIndexedReader.java: Removed.
5906 * gnu/regexp/REFilterReader.java: Likewise.
5907 * gnu/regexp/RETokenLookAhead.java: Likewise.
5908 * Makefile.am (ordinary_java_source_files): Remove above classes.
5909 * Makefile.in: Regenerated.
5910
ae0d0d59
TT
59112004-05-14 Tom Tromey <tromey@redhat.com>
5912
5913 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
5914 not `XGraphicsConfiguration.XOffScreenImage'.
5915
1cd29ad2
SG
59162004-05-14 Scott Gilbertson <scottg@mantatest.com>
5917
5918 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
5919
a01a235c
SA
59202004-05-14 Steven Augart <augart@watson.ibm.com>
5921
5922 * include/jni.h (_Jv_func): Removed.
5923 (struct JNINativeInterface): Use `void *' for reserved slots.
5924 (struct JNIInvokeInterface): Likewise.
5925
8f0b9daa
MK
59262004-05-11 Michael Koch <konqueror@gmx.de>
5927
5928 * gnu/java/net/natPlainSocketImplPosix.cc
5929 (read): Fixed typo in expression.
5930
3f68457e
AT
59312004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
5932
5933 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
5934 ld_library_additions. Adjust all calls to libjava_invoke to match
5935 the new argument.
5936
5937 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
5938 path to cxxflagslist.
5939 Pass path of libstdc++ to libjava_invoke.
5940
5941 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
5942 libjava_invoke arguments.
5943
731d47a6
RM
59442004-05-10 Ranjit Mathew <rmathew@hotmail.com>
5945
5946 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
5947 reality.
5948
8e31e128
RM
59492004-05-07 Ranjit Mathew <rmathew@gmail.com>
5950
5951 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
5952 main binary against the JNI shared library.
5953
61af3d86
JQ
59542004-05-07 Jerry Quinn <jlquinn@optonline.net>
5955
5956 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
5957 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
5958 (SimpleTimeZone): Tweak docs. Add new variation.
5959 (setStartRule,setEndRule): Add new variations. Use
5960 startTimeMode and endTimeMode.
5961
59622004-05-07 Jerry Quinn <jlquinn@optonline.net>
5963
5964 * java/util/Calendar.java (getActualMinimum,
5965 getActualMaximum): Remove abstract. Implement.
5966
579f9640
BM
59672004-05-06 Bryce McKinlay <mckinlay@redhat.com>
5968
5969 Run the jni tests using the interpreter.
5970 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
5971 options_cxx to shared lib compile command.
5972 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
5973 they are used to link the shared lib, not the main binary.
5974 Use libjava_invoke to run gij.
5975
0a215a11
MK
59762004-05-06 Michael Koch <konqueror@gmx.de>
5977
5978 * java/util/logging/Level.java
5979 (parse): Use == instead of String.equals().
5980
e51f7aeb
BM
59812004-05-06 Bryce McKinlay <mckinlay@redhat.com>
5982
5983 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
5984 verify_field_signature and verify_method_signature, not
5985 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
5986 (_Jv_ClassReader::handleField): Likewise.
5987 (_Jv_ClassReader::handleMethod): Likewise.
5988
c8395524
MK
59892004-05-06 Michael Koch <konqueror@gmx.de>
5990
5991 * javax/swing/table/TableColumn.java:
5992 Reformated.
5993
c8b86f1a
MK
59942004-05-06 Michael Koch <konqueror@gmx.de>
5995
5996 * javax/imageio/spi/ImageReaderWriterSpi.java
5997 (ImageReaderWriterSpi): Made it public.
5998 * javax/imageio/stream/ImageInputStream.java:
5999 Clean up imports.
6000
9f2eefb7
MK
60012004-05-06 Michael Koch <konqueror@gmx.de>
6002
6003 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6004 Removed empty line.
6005
45505d4d
MK
60062004-05-06 Michael Koch <konqueror@gmx.de>
6007
6008 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
6009 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
6010 New files.
6011 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
6012 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
6013 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
6014 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
6015 their own source file.
6016 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6017 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
6018 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
6019 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6020 (create): Define variable on top of function.
6021 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6022 (menu_pos): Prototyped.
6023 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6024 (setTitle): Removed.
6025 * jni/gtk-peer/gthread-jni.c
6026 (gdk_threads_wake): Removed.
6027 * Makefile.am (gtk_c_source_files): Added new files
6028 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
6029 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
6030 * Makefile.in: Regenerated.
6031
74e94435
BM
60322004-05-05 Bryce McKinlay <mckinlay@redhat.com>
6033
6034 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
6035 call.
6036
68ea5833
MW
60372004-05-05 Mark Wielaard <mark@klomp.org>
6038
6039 * javax/swing/AbstractButton.java: Replace special HTML entities with
6040 ASCII equivalent.
6041 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
6042 * javax/swing/DefaultButtonModel.java: Likewise.
6043 * javax/swing/DefaultListModel.java: Likewise.
6044 * javax/swing/JList.java: Likewise.
6045 * javax/swing/JSlider.java: Likewise.
6046 * javax/swing/ListModel.java: Likewise.
6047 * javax/swing/Popup.java: Likewise.
6048 * javax/swing/SwingUtilities.java: Likewise.
6049
880fa238
MK
60502004-05-05 Michael Koch <konqueror@gmx.de>
6051
6052 * javax/swing/AbstractButton.java,
6053 javax/swing/ActionMap.java,
6054 javax/swing/DefaultButtonModel.java,
6055 javax/swing/DefaultListModel.java,
6056 javax/swing/ImageIcon.java,
6057 javax/swing/JComboBox.java,
6058 javax/swing/JComponent.java,
6059 javax/swing/JFrame.java,
6060 javax/swing/JInternalFrame.java,
6061 javax/swing/JMenuBar.java,
6062 javax/swing/JMenuItem.java,
6063 javax/swing/JOptionPane.java,
6064 javax/swing/JProgressBar.java,
6065 javax/swing/JRootPane.java,
6066 javax/swing/JScrollBar.java,
6067 javax/swing/JScrollPane.java,
6068 javax/swing/JSeparator.java,
6069 javax/swing/JSlider.java,
6070 javax/swing/JTabbedPane.java,
6071 javax/swing/JTable.java,
6072 javax/swing/JTextField.java,
6073 javax/swing/JToolBar.java,
6074 javax/swing/JToolTip.java,
6075 javax/swing/JTree.java,
6076 javax/swing/JViewport.java,
6077 javax/swing/JWindow.java,
6078 javax/swing/KeyStroke.java,
6079 javax/swing/LookAndFeel.java,
6080 javax/swing/SwingUtilities.java,
6081 javax/swing/Timer.java,
6082 javax/swing/ToolTipManager.java,
6083 javax/swing/UIDefaults.java,
6084 javax/swing/border/TitledBorder.java,
6085 javax/swing/filechooser/FileSystemView.java,
6086 javax/swing/plaf/basic/BasicButtonListener.java,
6087 javax/swing/plaf/basic/BasicButtonUI.java,
6088 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
6089 javax/swing/plaf/basic/BasicGraphicsUtils.java,
6090 javax/swing/plaf/basic/BasicLabelUI.java,
6091 javax/swing/plaf/basic/BasicMenuItemUI.java,
6092 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6093 javax/swing/plaf/basic/BasicRootPaneUI.java,
6094 javax/swing/plaf/basic/BasicScrollBarUI.java,
6095 javax/swing/plaf/basic/BasicScrollPaneUI.java,
6096 javax/swing/plaf/basic/BasicSliderUI.java,
6097 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6098 javax/swing/plaf/basic/BasicToggleButtonUI.java,
6099 javax/swing/table/JTableHeader.java,
6100 javax/swing/text/AbstractDocument.java,
6101 javax/swing/text/DefaultCaret.java,
6102 javax/swing/text/StyledEditorKit.java,
6103 javax/swing/tree/DefaultTreeCellEditor.java:
6104 Cleaned up imports.
6105
4a93a226
MK
61062004-05-05 Michael Koch <konqueror@gmx.de>
6107
6108 * java/util/prefs/AbstractPreferences.java
6109 (AbstractPreferences): Added parenthesis for clarity.
6110 Closes classpath bug #7940.
6111
aaec686e
TT
61122004-05-05 Tom Tromey <tromey@redhat.com>
6113
6114 * javax/naming/CompoundName.java (endsWith): Look at correct
6115 element of source name.
6116
b1210ca2
MW
61172004-05-05 Mark Wielaard <mark@klomp.org>
6118
6119 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
6120 * java/util/HashMap.java (rehash): Add entry at start of bucket.
6121
a54f498a
TT
61222004-05-05 Tom Tromey <tromey@redhat.com>
6123
6124 * java/io/BufferedReader.java (skip): Removed unused
6125 variable.
6126
e8430418
MK
61272004-05-05 Michael Koch <konqueror@gmx.de>
6128
6129 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
6130
f32c742c
DT
61312004-05-05 Dalibor Topic <robilad@kaffe.org>
6132
6133 * java/text/AttributedString.java,
6134 java/text/AttributedStringIterator.java,
6135 java/text/Collator.java,
6136 java/text/DecimalFormatSymbols.java,
6137 java/text/NumberFormat.java,
6138 java/text/RuleBasedCollator.java:
6139 Cleaned up imports.
6140
d70bd7ff
TT
61412004-05-05 Tom Tromey <tromey@redhat.com>
6142
6143 * java/text/Format.java: Cleaned up imports.
6144 * java/text/DecimalFormat.java: Cleaned up imports.
6145 * java/security/SecureRandom.java: Cleaned up imports.
6146 (SecureRandom): Removed unused variable.
6147 * java/security/UnresolvedPermission.java: Cleaned up imports.
6148 * java/util/Date.java (parse): Removed unused variable.
6149 * java/util/ResourceBundle.java: Cleaned up imports.
6150 (getBundle): Removed unused variable.
6151 (tryBundle): Likewise.
6152 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
6153
2225a42a
GL
61542004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6155
6156 * java/text/SimpleDateFormat.java:
6157 (formatWithAttribute): New method. It implements
6158 the formatting process with attributes.
6159 (format): Use formatWithAttribute.
6160 (formatToCharacterIterator): New method. Use
6161 formatWithAttribute.
6162
1f646142
GL
61632004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6164
6165 * java/text/MessageFormat.java:
6166 (class Field): New class.
6167 (formatToCharacterIterator): New method.
6168 (format): Use formatInternal now.
6169 (formatInternal): New method. String formatter should
6170 be done here (with attributes). Attributes merging supported.
6171 (parse): More documentation.
6172 (getFormatsByArgumentIndex): New method.
6173 (setFormatByArgumentIndex): New method.
6174 (setFormatsByArgumentIndex): New method.
6175
8cf1edb3
GL
61762004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6177
6178 * java/text/DecimalFormat.java
6179 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
6180 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
6181 (parse): Fixed handling of exponentiation notation and grouping.
6182
61832004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6184
6185 * java/text/DecimalFormat.java
6186 (scanFix): Build attribute array. Fixed error reporting.
6187 (applyPatternWithSymbols): Store attributes for the prefix and
6188 suffix.
6189 (formatInternal): New method. Changed the way the string is
6190 computed. Implemented attributes. Cleant up rounding in
6191 exponential notation.
6192 (format): Use formatInternal.
6193 (formatToCharacterIterator): New method.
6194 (exponentRound, negativePrefixRanges, positivePrefixRanges,
6195 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
6196 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
6197 New fields.
6198
aff9d141
DT
61992004-05-04 Dalibor Topic <robilad@kaffe.org>
6200
6201 * java/security/interfaces/DSAKeyPairGenerator.java,
6202 java/security/interfaces/DSAPrivateKey.java,
6203 java/security/interfaces/DSAPublicKey.java,
6204 java/security/interfaces/RSAPrivateKey.java,
6205 java/security/interfaces/RSAPublicKey.java:
6206 Cleaned up imports.
6207
933522fb
MK
62082004-05-04 Michael Koch <konqueror@gmx.de>
6209
6210 * java/nio/ByteBuffer.java,
6211 java/nio/CharBuffer.java,
6212 java/nio/DoubleBuffer.java,
6213 java/nio/FloatBuffer.java,
6214 java/nio/IntBuffer.java,
6215 java/nio/LongBuffer.java,
6216 java/nio/ShortBuffer.java:
6217 (compareTo): Fixed bogus implementation in all buffer classes.
6218
27c2c3ec
IP
62192004-05-04 Ingo Proetel <proetel@aicas.com>
6220
6221 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
6222 32 bit pixels not 8 bit pixels.
6223 (isCompatibleRaster): Added javadoc comment.
6224
62252004-05-04 Ingo Proetel <proetel@aicas.com>
6226
6227 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
6228 scanline stride.
6229
62302004-05-04 Ingo Proetel <proetel@aicas.com>
6231
6232 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
6233 (getColorModel): Return the actual color model.
6234 (getRaster): Implemented.
6235 (ColorRaster): New inner class.
6236 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
6237 a PaintContext.
6238 * java/awt/Color.java (<init>): Make exception more verbose.
6239 (createContext): Use ColorModel when creating a PaintContext.
6240
a31d9d6c
MK
62412004-05-04 Michael Koch <konqueror@gmx.de>
6242
6243 * gnu/java/text/CharacterBreakIterator.java
6244 (previous): Removed unused variable.
6245
065afdfa
GL
62462004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
6247
6248 * gnu/java/text/FormatBuffer.java,
6249 gnu/java/text/AttributedFormatBuffer.java,
6250 gnu/java/text/StringFormatBuffer.java: New classes to implement
6251 attributed iterators in java.text.
6252 * gnu/java/text/FormatCharacterIterator.java: Moved
6253 from java/text as it is an internal class.
6254 * java/text/FormatCharacterIterator.java: Removed.
6255 * java/text/Format.java:
6256 Import gnu.java.text.FormatCharacterIterator.
6257 * Makefile.am (java_source_files): Added new files.
6258 * Makefile.in: Regenerated.
6259
6260
af62fd12
MW
62612004-05-04 Mark Wielaard <mark@klomp.org>
6262
53c87e49 6263 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
af62fd12 6264
a3c44036
AT
62652004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
6266
6267 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
6268 * Makefile.in: Rebuilt.
6269
007265b8
MW
62702004-05-03 Mark Wielaard <mark@klomp.org>
6271
6272 * gnu/java/security/der/DERReader.java: Call static methods staticly.
6273 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
6274 * java/net/URL.java
6275 (set(String, String, int, String, String, String, String, String)):
6276 Assign this.file to path or path + "?" + query.
6277 * java/util/Arrays.java: Call static methods staticly.
6278 * java/util/zip/ZipEntry.java: Likewise.
6279 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
6280 dir to this.direction.
6281 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
6282 Assign static field only once.
6283 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
6284
a00d3b3c
MW
62852004-05-03 Mark Wielaard <mark@klomp.org>
6286
6287 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
6288 unused variables hScrollbarHeight and vScrollbarWidth.
6289 (preferredSize): Likewise.
6290 * gnu/java/security/provider/DSAParameters.java (engineToString):
6291 Removed unused call to System.getProperty("line.seperator");
6292 * java/security/Security.java (loadProviders): Return result.
6293
7b68f0bf
TT
62942004-05-03 Tom Tromey <tromey@redhat.com>
6295
6296 * java/net/URLStreamHandler.java (toExternalForm): Removed
6297 unused variables.
6298 unused constructor.
6299 * java/math/BigDecimal.java (divide): Removed unused variable.
6300 * java/lang/Throwable.java: Cleaned up imports.
6301 * java/lang/ClassLoader.java: Cleaned up imports.
6302 * java/io/FilePermission.java (implies): Removed unused
6303 variable.
6304 * java/awt/TextComponent.java: Removed unused import.
6305 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
6306 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
6307 * gnu/java/text/WordBreakIterator.java: Removed unused import.
6308 * gnu/java/text/SentenceBreakIterator.java: Removed unused
6309 import.
6310 * gnu/java/text/LineBreakIterator.java: Removed unused import.
6311 * gnu/java/text/CharacterBreakIterator.java: Removed
6312 unused import.
6313 * gnu/java/security/provider/DSAKeyPairGenerator.java:
6314 Cleaned up imports.
6315 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
6316 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
6317 unused method.
6318 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
6319 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
6320 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
6321 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
6322 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
6323 (lookupProviders): Removed unused variable.
6324 (loadNextServiceProvider): Likewise.
6325 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
6326
493b3c9c
MK
63272004-05-03 Michael Koch <konqueror@gmx.de>
6328
6329 Fixes PR libgcj/14695:
6330 * java/net/NetworkInterface.java
6331 (getByName): Return null when no interface was found.
6332
55ce9c52
RM
63332004-04-30 Ranjit Mathew <rmathew@hotmail.com>
6334 Tom Tromey <tromey@redhat.com>
6335
6336 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
6337 additional option "-Wmissing-prototypes" for compiling C sources.
6338 Print actual filename for pass/fail rather than $name.c.
6339 * testsuite/libjava.jni/PR15133.java: New testcase file.
6340 * testsuite/libjava.jni/PR15133.c: Likewise.
6341 * testsuite/libjava.jni/PR15133.out: Likewise.
6342
2d99c042
RS
63432004-04-30 Roger Sayle <roger@eyesopen.com>
6344
6345 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
6346 ceil and floor.
6347
c1fcbbc3
RM
63482004-04-25 Ranjit Mathew <rmathew@hotmail.com>
6349
6350 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
6351 limit the maximum heap size to avoid unnecessary thrashing.
6352
6f0b1fa5
JQ
63532004-04-24 Jerry Quinn <jlquinn@optonline.net>
6354
6355 * java/text/CollationElementIterator.java (reset): Reset
6356 lookahead variables.
6357
99a88816
MW
63582004-04-23 Mark Wielaard <mark@klomp.org>
6359
6360 * jni/classpath/jcl.c: Changed C++ comments into C comments.
6361
b4e7ef8d
DT
63622004-04-23 Dalibor Topic <robilad@kaffe.org>
6363
6364 * java/sql/DriverManager.java:
6365 Cleaned up imports.
6366
e9d34968
MK
63672004-04-23 Michael Koch <konqueror@gmx.de>
6368
6369 * java/net/URL.java
6370 (hashcode): Don't initialize with default value explicitely.
6371 (getContent): Removed redundant "final" keyword.
6372 (openStream): Likewise.
6373 (getURLStreamHandler): Fixed coding style.
6374 * java/net/URLConnection.java
6375 (defaultAllowUserInteraction): Don't initialize with default value
6376 explicitely.
6377 (connected): Likewise.
6378 (doOutput): Likewise.
6379 (ifModifiedSince): Likewise.
6380 (dateformats_initialized): Likewise.
6381 (setURLStreamHander): Use StreamTokenizer where it belongs to.
6382
87939d70
MK
63832004-04-23 Michael Koch <konqueror@gmx.de>
6384
6385 * gnu/java/nio/channels/FileChannelImpl.java
6386 (SET, CUR): Unused, removed.
6387 (read): Implement here directly.
6388 (implRead): Removed.
6389 (write): Implement here directly.
6390 (implWrite): Removed.
6391
5d837a58
DT
63922004-04-23 Dalibor Topic <robilad@kaffe.org>
6393
6394 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
6395 javax/rmi/CORBA/Stub.java,
6396 javax/rmi/CORBA/Util.java,
6397 javax/rmi/CORBA/ValueHandler.java,
6398 javax/rmi/CORBA/ValueHandler.java,
6399 javax/rmi/PortableRemoteObject.java:
6400 Cleaned up imports.
6401
ace7ed7c
DT
64022004-04-23 Dalibor Topic <robilad@kaffe.org>
6403
6404 * java/util/jar/JarFile.java,
6405 java/util/jar/JarInputStream.java,
6406 java/util/jar/JarOutputStream.java,
6407 java/util/jar/Manifest.java:
6408 Cleaned up imports.
6409
64102004-04-23 Dalibor Topic <robilad@kaffe.org>
6411
6412 * java/util/ArrayList.java,
6413 java/util/Calendar.java,
6414 java/util/Currency.java,
6415 java/util/HashMap.java,
6416 java/util/HashSet.java,
6417 java/util/Hashtable.java,
6418 java/util/LinkedList.java,
6419 java/util/Properties.java,
6420 java/util/PropertyPermission.java,
6421 java/util/TimeZone.java,
6422 java/util/TreeMap.java,
6423 java/util/TreeSet.java,
6424 java/util/Vector.java,
6425 java/util/WeakHashMap.java:
6426 Cleaned up imports.
6427
64282004-04-23 Dalibor Topic <robilad@kaffe.org>
6429
6430 * java/util/logging/FileHandler.java,
6431 java/util/logging/Formatter.java,
6432 java/util/logging/Handler.java,
6433 java/util/logging/Logger.java,
6434 java/util/logging/SimpleFormatter.java,
6435 java/util/logging/XMLFormatter.java:
6436 Cleaned up imports.
6437
ae522139
MW
64382004-04-22 Mark Wielaard <mark@klomp.org>
6439
6440 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
6441 -Wno-long-long flags variable.
6442 (gtk_c_files): Use PEDANTIC_CFLAGS.
6443 * Makefile.in: Regenerated.
6444
838a4849
MK
64452004-04-22 Mark Wielaard <mark@klomp.org>
6446
6447 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6448 Changed C++ comments into C comments.
6449 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
6450 Likewise.
6451
64522004-04-22 Michael Koch <konqueror@gmx.de>
6453
6454 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6455 Merged copyright year with GNU classpath.
6456
fe2235d1
DT
64572004-04-22 Dalibor Topic <robilad@kaffe.org>
6458
6459 * javax/security/auth/x500/X500Principal.java:
6460 Cleaned up imports.
6461
b7db3d0a
DT
64622004-04-22 Dalibor Topic <robilad@kaffe.org>
6463
6464 * javax/swing/JSlider.java:
6465 Fixed HTML tags in comments.
6466
32bfc773
DT
64672004-04-22 Dalibor Topic <robilad@kaffe.org>
6468
6469 * javax/accessibility/AccessibleText.java:
6470 Cleaned up imports.
6471
e930d01a
MK
64722004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
6473
6474 * java/net/URLStreamHandler.java
6475 (parseURL): Convert the file path to using '/' instead of native
6476 file separator.
6477
64782004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
6479
6480 * java/net/URL.java
6481 (userInfo): New field.
6482 (URL): Set authority to the right value.
6483 (setURL): Fixed authority and file initialization.
6484 * java/net/URLStreamHandler.java
6485 (parseURL): Take care of the query tag. Build authority.
6486 (toExternalForm): Fixed URL building using authority.
6487
5d79367d
MK
64882004-04-22 Michael Koch <konqueror@gmx.de>
6489
6490 * java/net/Socket.java
6491 (impl): Made package-private.
6492 * java/net/ServerSocket.java
6493 (implAccept): Access Socket.impl field directly.
6494
c0dce235
DT
64952004-04-22 Dalibor Topic <robilad@kaffe.org>
6496
6497 * java/util/prefs/Preferences.java,
6498 java/util/prefs/InvalidPreferencesFormatException.java,
6499 java/util/prefs/BackingStoreException.java,
6500 java/util/prefs/AbstractPreferences.java:
6501 Cleaned up imports.
6502
65032004-04-22 Dalibor Topic <robilad@kaffe.org>
6504
6505 * java/util/regex/Matcher.java,
6506 java/util/regex/Pattern.java:
6507 Cleaned up imports.
6508
5c09d725
MK
65092004-04-22 Michael Koch <konqueror@gmx.de>
6510
6511 * java/nio/charset/IllegalCharsetNameException.java
6512 (charsetName): Made private.
6513 (IllegalCharsetNameException): Added @param tag to javadoc.
6514 (getCharsetName): Added @return tag to javadoc.
6515 * java/nio/charset/MalformedInputException.java
6516 (MalformedInputException): Added @param tag to javadoc.
6517 (getInputLength): Revised method description, added @return tag.
6518 (getMessage): Added @return tag.
6519
83ef3f2b
JQ
65202004-04-22 Jerry Quinn <jlquinn@optonline.net>
6521
6522 * java/awt/Font.java (deriveFont): Implement missing variants.
6523 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
6524 missing variants.
6525
746ecc78
BM
65262004-04-21 Bryce McKinlay <mckinlay@redhat.com>
6527
6528 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
6529 Set method->index values for interface methods to their itable index.
6530 (initializeClass): Call _Jv_LayoutInterfaceMethods.
6531
86a80fc3
MK
65322004-04-21 Michael Koch <konqueror@gmx.de>
6533
6534 * java/nio/DirectByteBufferImpl.java
6535 (shiftDown): Made static, give address as argument and
6536 provide a convenience method that overwrites shiftDown in
6537 ByteBufferImpl and calls the native shiftDown.
6538 * java/nio/MappedByteBufferImpl.java
6539 (): Use optimized method in DirectByteBufferImpl.
6540 * java/nio/natDirectByteBufferImpl.cc
6541 (shiftDown): Changed method signature. Removed usage of array_offset.
6542
6e90ed19
MK
65432004-04-21 Michael Koch <konqueror@gmx.de>
6544
6545 * gnu/java/net/natPlainSocketImplPosix.cc
6546 (SocketInputStream::read): Make sure returned data is a byte value.
6547
96d22b12
MK
65482004-04-21 Michael Koch <konqueror@gmx.de>
6549
6550 * gnu/classpath/ServiceFactory.java,
6551 gnu/classpath/ServiceProviderLoadingAction.java,
6552 javax/imageio/ImageReader.java,
6553 javax/imageio/ImageTranscoder.java,
6554 javax/imageio/ImageWriter.java,
6555 javax/imageio/package.html,
6556 javax/imageio/spi/IIOServiceProvider.java,
6557 javax/imageio/spi/ImageInputStreamSpi.java,
6558 javax/imageio/spi/ImageOutputStreamSpi.java,
6559 javax/imageio/spi/ImageReaderWriterSpi.java,
6560 javax/imageio/spi/ImageTranscoderSpi.java,
6561 javax/imageio/spi/RegisterableService.java,
6562 javax/imageio/spi/ServiceRegistry.java,
6563 javax/imageio/spi/package.html,
6564 javax/imageio/stream/IIOByteBuffer.java,
6565 javax/imageio/stream/ImageInputStream.java,
6566 javax/imageio/stream/ImageOutputStream.java,
6567 javax/imageio/stream/package.html:
6568 New files.
6569 * Makefile.am
6570 (ordinary_java_source_files): Added
6571 gnu/classpath/ServiceFactory.java and
6572 gnu/classpath/ServiceProviderLoadingAction.java.
6573 (javax_source_files): Added
6574 javax/imageio/ImageReader.java,
6575 javax/imageio/ImageTranscoder.java,
6576 javax/imageio/ImageWriter.java,
6577 javax/imageio/spi/IIOServiceProvider.java,
6578 javax/imageio/spi/ImageInputStreamSpi.java,
6579 javax/imageio/spi/ImageOutputStreamSpi.java,
6580 javax/imageio/spi/ImageReaderWriterSpi.java,
6581 javax/imageio/spi/ImageTranscoderSpi.java,
6582 javax/imageio/spi/RegisterableService.java,
6583 javax/imageio/spi/ServiceRegistry.java,
6584 javax/imageio/stream/IIOByteBuffer.java,
6585 javax/imageio/stream/ImageInputStream.java and
6586 javax/imageio/stream/ImageOutputStream.java.
6587 * Makefile.in: Regenerated.
6588
ca17d211
MK
65892004-04-21 Michael Koch <konqueror@gmx.de>
6590
6591 * java/util/Properties.java
6592 (load): Fix wrongly merged fix.
6593
60e957d0
MW
65942004-04-21 Mark Wielaard <mark@klomp.org>
6595
6596 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
6597 malloc and free buf.
6598
27dd18cf
DT
65992004-04-21 Dalibor Topic <robilad@kaffe.org>
6600
6601 * javax/naming/AuthenticationException.java,
6602 javax/naming/AuthenticationNotSupportedException.java,
6603 javax/naming/CannotProceedException.java,
6604 javax/naming/CommunicationException.java,
6605 javax/naming/CompoundName.java,
6606 javax/naming/ConfigurationException.java,
6607 javax/naming/ContextNotEmptyException.java,
6608 javax/naming/InitialContext.java,
6609 javax/naming/InsufficientResourcesException.java,
6610 javax/naming/InterruptedNamingException.java,
6611 javax/naming/LimitExceededException.java,
6612 javax/naming/LinkException.java,
6613 javax/naming/LinkLoopException.java,
6614 javax/naming/LinkRef.java,
6615 javax/naming/MalformedLinkException.java,
6616 javax/naming/Name.java,
6617 javax/naming/NameAlreadyBoundException.java,
6618 javax/naming/NameNotFoundException.java,
6619 javax/naming/NamingSecurityException.java,
6620 javax/naming/NoInitialContextException.java,
6621 javax/naming/NoPermissionException.java,
6622 javax/naming/NotContextException.java,
6623 javax/naming/PartialResultException.java,
6624 javax/naming/ReferralException.java,
6625 javax/naming/ServiceUnavailableException.java,
6626 javax/naming/SizeLimitExceededException.java,
6627 javax/naming/TimeLimitExceededException.java,
6628 javax/naming/directory/Attribute.java,
6629 javax/naming/directory/Attributes.java,
6630 javax/naming/directory/SearchResult.java,
6631 javax/naming/event/NamingExceptionEvent.java,
6632 javax/naming/spi/ResolveResult.java:
6633 Cleaned up imports.
6634
2635995a
MW
66352004-04-21 Mark Wielaard <mark@klomp.org>
6636
6637 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
6638 Changed C++ comments into C comments. Removed commented out code.
6639 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6640 Likewise.
6641 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
6642 Likewise.
6643 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
6644 Likewise.
6645 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
6646 Likewise.
6647 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6648 Likewise.
6649 * native/jni/gtk-peer/gthread-jni.c:
6650 Likewise.
6651
1c3d6bb2
MW
66522004-04-21 Mark Wielaard <mark@klomp.org>
6653
6654 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
6655 static fields defined in interface.
6656 * javax/awt/JDialog.java: Likewise.
6657 (JDialog): Make constructors public.
6658 (getDefaultCloseOperation): Make public.
6659 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
6660 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
6661 * javax/swing/JViewport.java (JViewport): Make constructor public.
6662
387fa012
MK
66632004-04-21 Michael Koch <konqueror@gmx.de>
6664
6665 * java/util/Map.java
6666 (Entry): Removed redundant "static" modifier.
6667 * java/text/AttributedCharacterIterator.java:
6668 Updated copyright year.
6669
bf9f06ae
MK
66702004-04-20 Michael Koch <konqueror@gmx.de>
6671
6672 * javax/naming/directory/SearchControls.java:
6673 Don't explicitely extend java.lang.Object.
6674 * javax/naming/spi/DirStateFactory.java:
6675 Merged copyright year with GNU classpath.
6676
8a6c1d29
MK
66772004-04-20 Michael Koch <konqueror@gmx.de>
6678
6679 * java/nio/channels/Channels.java:
6680 Merged coding style with GNU classpath.
6681
f5874634
MK
66822004-04-20 Michael Koch <konqueror@gmx.de>
6683
6684 * java/net/ServerSocket.java
6685 Merged coding style from GNU classpath.
6686
90cb5151
MK
66872004-04-20 Michael Koch <konqueror@gmx.de>
6688
6689 * java/io/BufferedWriter.java:
6690 Reordered variables to be at top of the class.
6691 (localFlush): Removed redundant final keyword.
6692
5ede96a4
IP
66932004-04-20 Ingo Proetel <proetel@aicas.com>
6694
6695 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
6696
391d8ef5
MK
66972004-04-20 Jeroen Frijters <jeroen@frijters.net>
6698
6699 * java/text/DecimalFormat.java (scanFix): Removed suffix check
6700 for percent and permill check.
6701
67022004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
6703
6704 * java/text/FieldPosition.java
6705 (FieldPosition) Constructor now behaves as it should according
6706 to the java documentation.
6707
67082004-04-20 Mark Wielaard <mark@klomp.org>
6709
6710 * java/util/Properties.java: Use the word umlaut, not &auml; in api
6711 documentation.
6712
92e1fe67
MK
67132004-04-20 Michael Koch <konqueror@gmx.de>
6714
6715 * java/nio/Buffer.java,
6716 java/nio/channels/AlreadyConnectedException.java,
6717 java/nio/channels/AsynchronousCloseException.java,
6718 java/nio/channels/ByteChannel.java,
6719 java/nio/channels/CancelledKeyException.java,
6720 java/nio/channels/Channel.java,
6721 java/nio/channels/Channels.java,
6722 java/nio/channels/ClosedByInterruptException.java,
6723 java/nio/channels/ClosedChannelException.java,
6724 java/nio/channels/ClosedSelectorException.java,
6725 java/nio/channels/ConnectionPendingException.java,
6726 java/nio/channels/DatagramChannel.java,
6727 java/nio/channels/FileChannel.java,
6728 java/nio/channels/FileLock.java,
6729 java/nio/channels/FileLockInterruptionException.java,
6730 java/nio/channels/GatheringByteChannel.java,
6731 java/nio/channels/IllegalBlockingModeException.java,
6732 java/nio/channels/IllegalSelectorException.java,
6733 java/nio/channels/InterruptibleChannel.java,
6734 java/nio/channels/NoConnectionPendingException.java,
6735 java/nio/channels/NonReadableChannelException.java,
6736 java/nio/channels/NonWritableChannelException.java,
6737 java/nio/channels/NotYetBoundException.java,
6738 java/nio/channels/NotYetConnectedException.java,
6739 java/nio/channels/OverlappingFileLockException.java,
6740 java/nio/channels/Pipe.java,
6741 java/nio/channels/ReadableByteChannel.java,
6742 java/nio/channels/ScatteringByteChannel.java,
6743 java/nio/channels/SelectableChannel.java,
6744 java/nio/channels/SelectionKey.java,
6745 java/nio/channels/Selector.java,
6746 java/nio/channels/ServerSocketChannel.java,
6747 java/nio/channels/SocketChannel.java,
6748 java/nio/channels/UnresolvedAddressException.java,
6749 java/nio/channels/UnsupportedAddressTypeException.java,
6750 java/nio/channels/WritableByteChannel.java,
6751 java/nio/channels/spi/AbstractInterruptibleChannel.java,
6752 java/nio/channels/spi/AbstractSelectableChannel.java,
6753 java/nio/channels/spi/AbstractSelectionKey.java,
6754 java/nio/channels/spi/AbstractSelector.java,
6755 java/nio/channels/spi/SelectorProvider.java,
6756 java/nio/charset/spi/CharsetProvider.java:
6757 Fixed javadocs and jalopied all over java.nio.
6758
08c5d757
MK
67592004-04-20 Michael Koch <konqueror@gmx.de>
6760
6761 * java/nio/ByteBufferImpl.java,
6762 java/nio/CharBufferImpl.java,
6763 java/nio/DirectByteBufferImpl.java,
6764 java/nio/DoubleBufferImpl.java,
6765 java/nio/DoubleViewBufferImpl.java,
6766 java/nio/FloatBufferImpl.java,
6767 java/nio/FloatViewBufferImpl.java,
6768 java/nio/IntBufferImpl.java,
6769 java/nio/IntViewBufferImpl.java,
6770 java/nio/LongBufferImpl.java,
6771 java/nio/LongViewBufferImpl.java,
6772 java/nio/MappedByteBufferImpl.java,
6773 java/nio/ShortBufferImpl.java,
6774 java/nio/ShortViewBufferImpl.java:
6775 Made sure all classes are final and removed final keyword from all
6776 methods.
6777
a17c9f2e
MK
67782004-04-20 Michael Koch <konqueror@gmx.de>
6779
6780 * java/rmi/MarshalledObject.java,
6781 java/rmi/Naming.java,
6782 java/rmi/RemoteException.java,
6783 java/rmi/activation/ActivationException.java,
6784 java/rmi/server/ServerCloneException.java,
6785 java/security/AccessController.java,
6786 java/security/AlgorithmParameterGenerator.java,
6787 java/security/AlgorithmParameters.java,
6788 java/security/CodeSource.java,
6789 java/security/Identity.java,
6790 java/security/IdentityScope.java,
6791 java/security/KeyPairGenerator.java,
6792 java/security/KeyStore.java,
6793 java/security/Security.java,
6794 java/security/Signature.java,
6795 java/security/SignatureSpi.java,
6796 java/security/SignedObject.java,
6797 java/security/spec/DSAParameterSpec.java,
6798 java/security/spec/DSAPrivateKeySpec.java,
6799 java/security/spec/DSAPublicKeySpec.java,
6800 java/sql/Array.java,
6801 java/sql/DatabaseMetaData.java,
6802 java/sql/ResultSet.java,
6803 java/text/ChoiceFormat.java,
6804 java/text/CollationElementIterator.java,
6805 java/text/CollationKey.java,
6806 java/text/Collator.java,
6807 java/text/DateFormat.java,
6808 java/text/DateFormatSymbols.java,
6809 java/text/DecimalFormatSymbols.java,
6810 java/text/Format.java,
6811 java/text/ParsePosition.java,
6812 java/text/RuleBasedCollator.java,
6813 java/text/SimpleDateFormat.java,
6814 java/text/StringCharacterIterator.java,
6815 java/util/Collections.java,
6816 java/util/PropertyResourceBundle.java,
6817 java/util/ResourceBundle.java,
6818 java/util/StringTokenizer.java,
6819 java/util/jar/Attributes.java,
6820 java/util/logging/ConsoleHandler.java,
6821 java/util/logging/LogManager.java,
6822 java/util/logging/MemoryHandler.java,
6823 java/util/logging/SocketHandler.java,
6824 javax/naming/NamingException.java:
6825 Fixed javadoc, coding style and argument names all over.
6826
0fc920c8
MK
68272004-04-20 Jeroen Frijters <jeroen@frijters.net>
6828
6829 * java/io/FileDescriptor.java: (FileDescriptor) Added public
6830 constructor. (valid) Added null check.
6831
68322004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
6833
6834 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
6835 * java/io/FileOutputStream.java
6836 (FileOutputStream) Reorganized constructors. Constructors now
6837 check whether the given path is directory.
6838
f6d49f66
MK
68392004-04-20 Michael Koch <konqueror@gmx.de>
6840
6841 * java/net/Authenticator.java,
6842 java/net/BindException.java,
6843 java/net/ConnectException.java,
6844 java/net/ContentHandler.java,
6845 java/net/ContentHandlerFactory.java,
6846 java/net/DatagramPacket.java,
6847 java/net/DatagramSocket.java,
6848 java/net/DatagramSocketImpl.java,
6849 java/net/DatagramSocketImplFactory.java,
6850 java/net/FileNameMap.java,
6851 java/net/HttpURLConnection.java,
6852 java/net/Inet4Address.java,
6853 java/net/Inet6Address.java,
6854 java/net/InetAddress.java,
6855 java/net/InetSocketAddress.java,
6856 java/net/JarURLConnection.java,
6857 java/net/MalformedURLException.java,
6858 java/net/MulticastSocket.java,
6859 java/net/NetPermission.java,
6860 java/net/NetworkInterface.java,
6861 java/net/NoRouteToHostException.java,
6862 java/net/PasswordAuthentication.java,
6863 java/net/PortUnreachableException.java,
6864 java/net/ProtocolException.java,
6865 java/net/ServerSocket.java,
6866 java/net/Socket.java,
6867 java/net/SocketAddress.java,
6868 java/net/SocketException.java,
6869 java/net/SocketImpl.java,
6870 java/net/SocketImplFactory.java,
6871 java/net/SocketOptions.java,
6872 java/net/SocketPermission.java,
6873 java/net/SocketTimeoutException.java,
6874 java/net/URI.java,
6875 java/net/URISyntaxException.java,
6876 java/net/URL.java,
6877 java/net/URLClassLoader.java,
6878 java/net/URLConnection.java,
6879 java/net/URLDecoder.java,
6880 java/net/URLEncoder.java,
6881 java/net/URLStreamHandler.java,
6882 java/net/URLStreamHandlerFactory.java,
6883 java/net/UnknownHostException.java,
6884 java/net/UnknownServiceException.java:
6885 Fixed javadocs, coding style and argument names all over.
6886
cf6f7d55
MK
68872004-04-20 Michael Koch <konqueror@gmx.de>
6888
6889 * java/lang/Byte.java,
6890 java/lang/CharSequence.java,
6891 java/lang/ClassLoader.java,
6892 java/lang/Compiler.java,
6893 java/lang/Double.java,
6894 java/lang/Float.java,
6895 java/lang/Integer.java,
6896 java/lang/Long.java,
6897 java/lang/Math.java,
6898 java/lang/Number.java,
6899 java/lang/Package.java,
6900 java/lang/Runtime.java,
6901 java/lang/RuntimePermission.java,
6902 java/lang/SecurityManager.java,
6903 java/lang/Short.java,
6904 java/lang/StringBuffer.java,
6905 java/lang/System.java,
6906 java/lang/ThreadGroup.java,
6907 java/lang/Throwable.java,
6908 java/lang/reflect/InvocationHandler.java,
6909 java/lang/reflect/Proxy.java:
6910 Fixed javadocs, coding style and argument names all over.
6911
9f714d5e
MK
69122004-04-20 Michael Koch <konqueror@gmx.de>
6913
6914 * java/io/BufferedWriter.java,
6915 java/io/ByteArrayInputStream.java,
6916 java/io/CharArrayWriter.java,
6917 java/io/DataInput.java,
6918 java/io/DataInputStream.java,
6919 java/io/File.java,
6920 java/io/FilterInputStream.java,
6921 java/io/InputStream.java,
6922 java/io/InputStreamReader.java,
6923 java/io/ObjectInputStream.java,
6924 java/io/ObjectStreamClass.java,
6925 java/io/PipedInputStream.java,
6926 java/io/PipedReader.java,
6927 java/io/PushbackInputStream.java,
6928 java/io/PushbackReader.java,
6929 java/io/RandomAccessFile.java,
6930 java/io/SerializablePermission.java,
6931 java/io/StreamTokenizer.java,
6932 java/io/StringWriter.java,
6933 java/io/WriteAbortedException.java,
6934 java/io/Writer.java:
6935 Fixed javadocs all over, rename arguments to match javadocs,
6936 fixed coding style.
6937
23f0ecff
MK
69382004-04-20 Ingo Proetel <proetel@aicas.com>
6939
6940 * java/awt/FontMetrics.java:
6941 (charsWidth): fixed accumulation of total_width
6942 (getWidth): simple default implementation
6943 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
6944 in Rectangle constructor.
6945 * java/awt/image/Raster.java (toString): Added method.
6946 * java/awt/image/SampleModel.java (<init>): Added error cause
6947 information to thrown exception.
6948 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
6949 New method.
6950 (setDataElements): New method.
6951 (setPixels): New method.
6952 (toString): New method.
6953
69542004-04-20 Sascha Brawer <brawer@dandelis.ch>
6955
6956 * java/awt/image/ComponentColorModel.java
6957 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
6958 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
6959 Mauve tests on this method. Improved documentation.
6960
2c4d54e6
MK
69612004-04-20 Michael Koch <konqueror@gmx.de>
6962
6963 * javax/swing/JLayeredPane.java,
6964 javax/swing/plaf/BorderUIResource.java,
6965 javax/swing/plaf/ComponentUI.java,
6966 javax/swing/undo/CompoundEdit.java,
6967 javax/swing/undo/StateEdit.java:
6968 Fixed HTML tags in javadocs all over.
6969
5589f3e5
MK
69702004-04-20 Michael Koch <konqueror@gmx.de>
6971
6972 * javax/print/attribute/EnumSyntax.java
6973 (getOffset): Made protected.
6974 * javax/print/attribute/HashAttributeSet.java
6975 (HashAttributeSet): Likewise.
6976 * javax/print/attribute/ResolutionSyntax.java
6977 (getFeedResolution): Fixed typo in exception name.
6978 (getCrossFeedResolution): Likewise.
6979 * javax/print/attribute/SetOfIntegerSyntax.java
6980 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
6981 * javax/print/attribute/TextSyntax.java
6982 (TextSyntax): Handle locale correctly.
6983 (hashCode): Calc better hashcode value.
6984 (equals): Fixed @return tag.
6985 (toString): New method.
6986
0150fc22
MK
69872004-04-20 Michael Koch <konqueror@gmx.de>
6988
6989 * gnu/java/nio/FileLockImpl.java
6990 (static): Removed, not needed anymore.
6991 * gnu/java/nio/channels/FileChannelImpl.java
6992 (FileChannelImpl): Made final.
6993 (mode): Made private.
6994 (READ, WRITE, APPEND): Made public.
6995 (EXCL, SYNC, DSYNC): Likewise.
6996 (static): Load native JNI library, when needed.
6997 (length): Unused, removed.
6998 (available): Made public.
6999 (implPosition): Throws IOException.
7000 (seek): Likewise.
7001 (implTruncate): Likewise.
7002 (unlock): Likewise.
7003 (lock): Likewise.
7004
7431acbe
MK
70052004-04-20 Michael Koch <konqueror@gmx.de>
7006
7007 * java/awt/AWTPermission.java,
7008 java/awt/Component.java,
7009 java/awt/ComponentOrientation.java,,
7010 java/awt/Dialog.java,
7011 java/awt/FontMetrics.java,
7012 java/awt/Graphics.java,
7013 java/awt/datatransfer/DataFlavor.java,
7014 java/beans/Introspector.java,
7015 java/beans/PropertyEditor.java,
7016 java/beans/PropertyEditorManager.java,
7017 java/beans/beancontext/BeanContextServiceProvider.java:
7018 Fixed HTML tags in javadocs all over.
7019
7f6f517f
MW
70202004-04-20 Mark Wielaard <mark@klomp.org>
7021
7022 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
7023 MissingResourceException is thrown.
7024 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
7025 null when a MissingResourceException is thrown. Should never happen.
7026
8ecb0346
MK
70272004-04-20 Sascha Brawer <brawer@dandelis.ch>
7028
7029 * java/awt/image/DataBufferShort.java,
7030 java/awt/image/DataBufferFloat.java,
7031 java/awt/image/DataBufferDouble.java,
7032 java/awt/image/PixelInterleavedSampleModel.java: New files.
7033 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
7034 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
7035
70362004-04-20 Michael Koch <konqueror@gmx.de>
7037
7038 * Makefile.am (java_source_files): Added
7039 java/awt/image/DataBufferDouble.java,
7040 java/awt/image/DataBufferFloat.java,
7041 java/awt/image/DataBufferShort.java and
7042 java/awt/image/PixelInterleavedSampleModel.java.
7043 * Makefile.in: Regenerated.
7044
f5310108
BM
70452004-04-19 Bryce McKinlay <mckinlay@redhat.com>
7046
7047 * gcj/cni.h (JvAllocObject): Remove these obsolete,
7048 undocumented CNI calls.
7049 * include/java-interp.h (_Jv_InterpClass): No longer
7050 extends java.lang.Class.
7051 * java/lang/Class.h (Class): Add new field `aux_info'.
7052 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
7053 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
7054 Use Class->aux_info instead.
7055 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
7056 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
7057 Use Class->aux_info instead.
7058 * java/io/natObjectInputStream.cc (allocateObject): Use
7059 _Jv_AllocObject.
7060 * java/lang/natClass.cc (newInstance): Likewise.
7061 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
7062 * java/lang/natObject.cc (clone): Likewise.
7063 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
7064 * java/lang/natVMClassLoader.cc (defineClass): Don't use
7065 JvAllocObject. Allocate klass->aux_info here for interpreted
7066 class.
7067
afd7c0dc
MW
70682004-04-17 Mark Wielaard <mark@klomp.org>
7069
7070 * javax/swing/JToggleButton.java (ToggleButtonModel):
7071 Make public static inner class.
7072 * javax/swing/JTabbedPane.java (setComponentAt):
7073 Call Page.setComponent().
7074 (SCROLL_TAB_LAYOUT): Make public, value is 1.
7075 (WRAP_TAB_LAYOUT): Make public, value is 0.
7076 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
7077 Make private static inner class.
7078
bf7ad402
BM
70792004-04-16 Bryce McKinlay <mckinlay@redhat.com>
7080
7081 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
7082 arguments to match new signature. Remove FIXME comments.
7083
31e632d3
GH
70842004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
7085
7086 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
7087 Remove method.
7088 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
7089 unused code.
7090
70912004-04-02 Olga Rodimina <rodimina@redhat.com>
7092
7093 * Makefile.am: Added new file.
7094 * Makefile.in: Regenerate.
7095 * javax/swing/ImageIcon.java:
7096 (ImageIcon(file)): set description of the icon
7097 to the file name
7098 * javax/swing/JCheckBoxMenuItem.java:
7099 Mostly Implemented. Work in progress.
7100 * javax/swing/JRadioButtonMenuItem.java:
7101 Reimplement constructors to use JToggleButtonModel.
7102 * javax/swing/plaf/basic/BasicIconFactory.java:
7103 (getCheckBoxMenuItemIcon): return check box
7104 icon.
7105 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7106 paint menu item selected only when it is armed and
7107 pressed.
7108
71092004-04-02 David Jee <djee@redhat.com>
7110
7111 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7112 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
7113 * java/awt/Component.java
7114 (add): Set the parent of the popup as this component.
7115 * java/awt/PopupMenu.java
7116 (addNotify): Create popup menu when peer is null.
7117 (show): Call addNotify() if peer is null.
7118 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7119 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
7120 argument for gtk_menu_popup() as zero. This causes the popup menu to
7121 respond to any mouse button.
7122
71232004-03-31 Olga Rodimina <rodimina@redhat.com>
7124
7125 * Makefile.am: Added new file.
7126 * Makefile.in: Regenerate.
7127 * javax/swing/JRadioButtonMenuItem.java:
7128 Implemented.
7129 * javax/swing/plaf/basic/BasicIconFactory.java:
7130 (getRadioButtonMenuItemIcon): Return
7131 radio button icon.
7132 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7133 (getPreferredSize): Add size of checkIcon if it
7134 exists.
7135 (installDefaults): Don't initialize checkIcon.
7136 It's value will be set in subclasses.
7137 (uninstallDefaults): remove uninstallation of
7138 checkIcon.
7139 (paint): Moved code to paintMenuItem().
7140 (paintMenuItem): Implemented.
7141 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
7142 UI delegate for JRadioButtonMenuItem.
7143
71442004-03-29 Olga Rodimina <rodimina@redhat.com>
7145
7146 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7147 Corrected position of the accelerator.
7148
71492004-03-29 Olga Rodimina <rodimina@redhat.com>
7150
7151 * Makefile.am: Added new file.
7152 * Makefile.in: Regenerate.
7153 * javax/swing/JMenuItem.java: Partly
7154 implemented. Work in progress
7155 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7156 Changed default value of acceleratorDelimiter.
7157 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7158 New class. Partly implemented.
7159
71602004-03-26 Mark Wielaard <mark@klomp.org>
7161
7162 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
7163 (item_activate): Declare label before use.
7164 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7165 (gtkSetFont): Removed unused variable label.
7166 (addExposeFilter): Declare variables before use.
7167 (removeExposeFilter): Likewise.
7168 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7169 (ok_clicked): Declare str_fileName before use.
7170
71712004-03-26 David Jee <djee@redhat.com>
7172
7173 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
7174 (addSeparator): Remove.
7175 * java/awt/Menu.java
7176 (separator): Remove static final MenuItem field.
7177 (separatorLabel): New static final String field.
7178 (addSeparator): Do not use peer method; use add(MenuItem) instead.
7179 Use separatorLabel to denote that it is a separator.
7180 (insertSeparator): Create a new MenuItem with separatorLabel, instead
7181 of reusing the static separator instance, because a MenuItem instance
7182 can't be added more than once without being cloned.
7183 * java/awt/peer/MenuPeer.java
7184 (addSeparator): Remove from interface.
7185
71862004-03-26 David Jee <djee@redhat.com>
7187
7188 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7189 (connectSignals): New native method declaration.
7190 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
7191 * java/awt/MenuItem.java
7192 (getActionCommand): Return the label if the action command is not set.
7193 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
7194 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
7195 gtk_menu_shell_append().
7196 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
7197 (item_activate): Fix argument type.
7198 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
7199 signal here.
7200 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
7201 method.
7202 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7203 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
7204 given. Add the menu widget's top-level GtkWindow to the global window
7205 group, so it can grab the pointer.
7206 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
7207 gtk_menu_shell_append().
7208
72092004-03-23 Graydon Hoare <graydon@redhat.com>
7210
7211 * java/text/AttributedString.java
7212 (addAttribute): Fix off-by-one.
7213 (getIterator): Likewise.
7214 * java/text/AttributedStringIterator.java
7215 (getRunLimit): Correct logic.
7216 (getRunStart): Likewise.
7217 (getAttribute): Fix inequality.
7218 (getAttributes): Likewise.
7219 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
7220
72212004-03-23 Kim Ho <kho@redhat.com>
7222
7223 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7224 (calculateSizes): Return real width and height.
7225
72262004-03-23 Kim Ho <kho@redhat.com>
7227
7228 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7229 (calculateTabRects): Set the selectedRun before
7230 trying to rotate tabs.
7231
72322004-03-23 Kim Ho <kho@redhat.com>
7233
7234 * Makefile.am: New file
7235 * Makefile.in: Regenerate
7236 * java/awt/Graphics.java: (drawRect):
7237 Draw to the correct point.
7238 * javax/swing/DefaultSingleSelectionModel.java
7239 (isSelected): Return true if the selected index
7240 is not -1.
7241 * javax/swing/JLabel.java: Do not change mnemonic
7242 index if text is null.
7243 * javax/swing/JProgressBar.java: Use JComponent's
7244 EventListenerList.
7245 * javax/swing/JScrollBar.java: Ditto.
7246 * javax/swing/JSlider.java: Ditto.
7247 * javax/swing/JTabbedPane.java: Reimplement.
7248 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7249 Add defaults for TabbedPane.
7250 * javax/swing/plaf/basic/BasicArrowButton.java:
7251 Implement
7252 * javax/swing/plaf/basic/BasicProgressBarUI.java:
7253 (paintDeterminate): Don't paint String if it's
7254 empty.
7255 (paintIndeterminate): ditto.
7256 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7257 Reimplement.
7258
72592004-03-19 Michael Koch <konqueror@gmx.de>
7260
7261 * java/awt/image/AffineTransformOp.java
7262 (AffineTransformOp): Made public.
7263 * javax/swing/JComponent.java
7264 (listenerList): Made protected.
7265 (accessibleContext): Likewise.
7266 * javax/swing/JList.java
7267 (valueChanged): Dont use internal fields of ListSelectionEvent.
7268 * javax/swing/JViewport.java
7269 (getView): Dont use internal fields of Component.
7270 (addImpl): Likewise.
7271 * javax/swing/Timer.java
7272 (isRunning): Made public.
7273 (start): Likewise.
7274 (stop): Likewise.
7275 * javax/swing/UIDefaults.java
7276 (getInt): Made public.
7277 * javax/swing/plaf/basic/BasicListUI.java
7278 (mousePressed): Dont use internal fields of MouseEvent.
7279 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
7280 * javax/swing/plaf/basic/BasicScrollBarUI.java
7281 (arrowIcon): Made static.
7282 * javax/swing/plaf/basic/BasicViewportUI.java
7283 (stateChanged): Dont use internal field on ChangeEvent.
7284 * javax/swing/text/JTextComponent.java
7285 (getUI): Call UIManager.getUI().
7286 (updateUI): Use getUI().
7287
72882004-03-19 Graydon Hoare <graydon@redhat.com>
7289
7290 * javax/swing/JComponent.java: Turn off double buffer by default.
7291 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
7292 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
7293 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
7294 Use cairo to copy areas.
7295 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
7296 Initialize and set clip region.
7297
72982004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
7299
7300 * java/applet/Applet.java (preferredSize): Override deprecated
7301 variant of getPreferredSize.
7302 (minimumSize): Override deprecated variant of getMinimumSize.
7303
73042004-03-15 Olga Rodimina <rodimina@redhat.com>
7305
7306 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7307 (drawImage(img,xform,bgcolor,obs)): New Method.
7308 Helper function that every drawImage method will
7309 use.
7310 (drawRaster): Added new parameter, bgcolor. All
7311 transparent pixels are changed to bgcolor before
7312 image is drawn.
7313 (drawRenderedImage): Fixed to use changed drawRaster().
7314 (drawImage(image,xform,obs): Fixed to use new helper function
7315 (drawImage(image,op,x,y)): Ditto.
7316 (drawImage (img,x,y,observer)): Ditto.
7317 ((PainterThread) bgcolor): New Field.
7318 ((PainterThread) (setPixels)): Changed all transparent pixels
7319 to bgcolor.
7320 (drawImage(img,x,y,width,height,bgcolor,observer)):
7321 Fixed FIXME - all the transparent pixels are
7322 changed to the specified bgcolor.
7323 (drawImage(img, x, y, width, height, observer): Changed to
7324 use function above.
7325 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
7326 Fixed FIXME- changed all transparent pixels to bgcolor.
7327 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
7328 Changed to use function above.
7329
73302004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7331
7332 * java/applet/Applet.java (dimensions): New field.
7333 (getDimensions): New method.
7334 (getPreferredSize): Call getDimensions.
7335 (getMinimumSize): Likewise.
7336
73372004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
7338
7339 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
7340 * jni/classpath/jnilink.c: Likewise.
7341
7342 * java/applet/Applet.java (getPreferredSize): New method.
7343 (getMinimumSize): New method.
7344
245c3c04
BM
73452004-04-15 Bryce McKinlay <mckinlay@redhat.com>
7346
7347 * prims.cc (_Jv_AllocObject): Remove `size' argument.
7348 (_Jv_AllocObjectNoFinalizer): Likewise.
7349 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
7350 (_Jv_AllocPtrFreeObject): Likewise.
7351 (_Jv_AllocString): Moved from natString.cc. Call collector interface
7352 directly even in the JVMPI case.
7353 * gcj/cni.h (JvAllocObject): Remove `size' argument from
7354 _Jv_AllocObject calls.
7355 * gcj/javaprims.h: Update prototypes.
7356 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
7357 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
7358 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
7359
d7afe286
BM
73602004-04-14 Andrew Haley <aph@redhat.com>
7361 Bryce McKinlay <mckinlay@redhat.com>
7362
7363 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
7364 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
7365 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
7366
7367 * testsuite/libjava.lang/InvokeInterface.java: New file.
7368 * testsuite/libjava.lang/InvokeInterface.out: New file.
7369
84264cb6
RM
73702004-04-09 Ranjit Mathew <rmathew@hotmail.com>
7371
7372 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
7373 modified lookup().
7374 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
7375 StackTraceElement directly.
7376 (newElement): New native helper method to create StackTraceElement
7377 bypassing Java access control.
7378 (createStackTraceElement): Use newElement() instead of directly
7379 calling StackTraceElement's constructor.
7380 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
7381
2b6b5c35
MK
73822004-04-01 Michael Koch <konqueror@gmx.de>
7383
7384 * java/lang/SecurityManager.java
7385 (checkAwtEventQueueAccess): Implemented.
7386
1c19eacc
GB
73872004-04-01 Gary Benson <gbenson@redhat.com>
7388
7389 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
7390 (_Jv_SearchMethodInClass): Likewise.
7391
99b43239
PM
73922004-03-26 Peter Moon <peterm@miraculum.com>
7393
7394 * java/text/NumberFormat.java: Fix spelling of setCurrency
7395 method.
7396
95e59f1a
AG
73972004-03-21 Anthony Green <green@redhat.com>
7398
7399 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
7400 recursion when searching for the system ClassLoader.
7401
de205e06
IK
74022004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
7403
7404 * java/net/ServerSocket.java
7405 (accept): Close the socket when error occured.
7406
bdf11d55
JF
74072004-03-21 Jeroen Frijters <jeroen@frijters.net>
7408
7409 * java/net/URI.java (parseURI): Added unquoting.
7410 (unquote): New method.
7411 (quoteAuthority): Implemented.
7412 (quote(String,String)): New method.
7413 (quotePath): Implemented.
7414 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
7415 (getSchemeSpecificPart): Removed FIXME comment.
7416 (getRawAuthority): Return new rawAuthority field.
7417 (getAuthority): Removed FIXME comment.
7418 (getRawUserInfo): Return new rawUserInfo field.
7419 (getUserInfo): Removed FIXME comment.
7420 (getRawPath): Return new rawPath field.
7421 (getPath): Removed FIXME comment.
7422 (getRawQuery): Return new rawQuery field.
7423 (getQuery): Removed FIXME comment.
7424 (getRawFragment): Return new rawFragment field.
7425 (getFragment): Removed FIXME comment.
7426
0d13be1e
MK
74272004-03-20 Michael Koch <konqueror@gmx.de>
7428
7429 * java/net/URLConnection.java: Merged copyright year with classpath.
7430
f903e73b
NF
74312004-03-20 Norbert Frese <postfach@nfrese.net>
7432
7433 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
7434 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
7435 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
7436 rmi-message.
7437 (getObjectInputStream): Return object reference, throw IOException if null.
7438 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
7439 (getObjectOutputStream): Return object reference, throw IOException if null.
7440 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
7441 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
7442 (UnicastConnectionManager): Throw RemoteException if port is not available.
7443 (getInstance): Throw RemoteException.
7444 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
7445 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
7446 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
7447 Collect Exceptions which are returned by a rmi-call and fix void returns.
7448 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
7449 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
7450 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
7451 (dispatch): Answer ping messages which are sent by other java implementions.
7452 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
7453 for every rmi-message and fix void return problems.
7454 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
7455 (UnicastServerRef): Throw RemoteException.
7456 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
7457 In some situations it is necessary to export a subclass of the class which has the _Stub.
7458 For instance when the class with has the _Stub is abstract.
7459 (findStubSkelClass): New method which looks for the class which has the _Stub.
7460 (getClientHost): Implementated.
7461 * gcc/libjava/java/rmi/server/RemoteServer.java
7462 (getClientHost): Implementated.
7463 * gcc/libjava/Makefile.am (rmi_java_source_files):
7464 Added gnu/java/rmi/server/RMIIncomingThread.java.
7465 * Makefile.in: Regenerated.
7466
7f5773c6
MK
74672004-03-20 Michael Koch <konqueror@gmx.de>
7468
7469 * java/net/InetAddress.java
7470 (getLocalHostname): Added javadoc.
7471
ab16524d
PB
74722004-03-19 Per Bothner <per@bothner.com>
7473
7474 * configure.in: FILE variable overrides FLATFORM when linking
7475 natFileChannelXXX.cc.
7476
7477 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
7478 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
7479
0fca95f5
PB
74802004-03-19 Per Bothner <per@bothner.com>
7481
7482 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
7483 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
7484 * Makefile.am: Update accordingly.
7485 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
7486 as aliases for UnicodeLittle and UnicodeBig.
7487
edb3d426
MW
74882004-03-20 Mark Wielaard <mark@klomp.org>
7489
7490 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7491 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
7492 Don't access ws when it is null.
7493 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
7494 Likewise.
7495
b121dcb5
JF
74962004-03-19 Jeroen Frijters <jeroen@frijters.net>
7497
7498 * java/lang/ThreadGroup.java (list): Changed print to println.
7499
44b20223
MW
75002004-03-19 Mark Wielaard <mark@klomp.org>
7501
7502 * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
7503 happy.
7504
f94b0887
RC
75052004-02-10 Randolph Chung <tausq@debian.org>
7506
7507 * configure.in: Build java for hppa target.
7508 * configure: Regenerate.
7509 * libjava/configure.host (hppa-*): Add target.
7510 * libjava/sysdeps/pa/lock.h: New file.
7511
d511a273
MW
75122004-03-19 Mark Wielaard <mark@klomp.org>
7513
7514 Reported by Stephen Crawley
7515 * java/io/FilePermission.java (implies): Use String.length() -1 to
7516 access last char of String.
7517
9c6637c8
MK
75182004-03-19 Michael Koch <konqueror@gmx.de>
7519
7520 * java/awt/image/AffineTransformOp.java
7521 (AffineTransformOp): Made public.
7522 * javax/swing/JComponent.java
7523 (listenerList): Made protected.
7524 (accessibleContext): Likewise.
7525 * javax/swing/JList.java
7526 (valueChanged): Dont use internal fields of ListSelectionEvent.
7527 * javax/swing/JViewport.java
7528 (getView): Dont use internal fields of Component.
7529 (addImpl): Likewise.
7530 * javax/swing/Timer.java
7531 (isRunning): Made public.
7532 (start): Likewise.
7533 (stop): Likewise.
7534 * javax/swing/UIDefaults.java
7535 (getInt): Made public.
7536 * javax/swing/plaf/basic/BasicListUI.java
7537 (mousePressed): Dont use internal fields of MouseEvent.
7538 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
7539 * javax/swing/plaf/basic/BasicScrollBarUI.java
7540 (arrowIcon): Made static.
7541 * javax/swing/plaf/basic/BasicViewportUI.java
7542 (stateChanged): Dont use internal field on ChangeEvent.
7543 * javax/swing/text/JTextComponent.java
7544 (getUI): Call UIManager.getUI().
7545 (updateUI): Use getUI().
7546
165c9b04
RO
75472004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7548
7549 * verify.cc: Undef PC.
7550
138f5109
MK
75512004-03-18 Michael Koch <konqueror@gmx.de>
7552
7553 * java/nio/channels/spi/AbstractSelectableChannel.java
7554 (keys): Initialize at declaration.
7555 (locate): keys cant be null.
7556 (add): Removed.
7557 (addSelectionKey): New method.
7558 (removeSelectionKey): New method.
7559 * java/nio/channels/spi/AbstractSelectionKey.java
7560 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
7561 * java/nio/channels/spi/AbstractSelector.java
7562 (provider): Javadoc added.
7563 (cancelledKeys): Javadoc added.
7564 (cancelKey): Javadoc added, add key to cancelledKeys.
7565 (deregister): Implemented.
7566
acc63e4c
RO
75672004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7568
7569 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
7570 MAP_FAILED to void *.
7571
86881a7b
GH
75722004-03-12 Graydon Hoare <graydon@redhat.com>
7573
7574 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
7575 * javax/swing/JComponent.java (paint): Use persistent double buffer.
7576 * javax/swing/JList.java (ListListener): Revalidate on changes.
7577 * javax/swing/JScrollPane.java: Reimplement.
7578 * javax/swing/JViewport.java: Reimplement.
7579 * javax/swing/ScrollPaneLayout.java: Reimplement.
7580 * javax/swing/ViewportLayout.java: Tidy up.
7581 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
7582 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
7583 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
7584 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
7585 backing store only.
7586
75872004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
7588
7589 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7590 (window_wm_protocols_filter): New function.
7591 (window_focus_in_cb): Remove function.
7592 (window_focus_out_cb): Likewise.
7593 (window_focus_or_active_state_change_cb): New function.
7594 (create): Add filter that removes WM_TAKE_FOCUS client messages.
7595 (connectSignals): Don't attach handlers to focus-in-event or
7596 focus-out-event signals. Handle notify signal.
7597
75982004-03-11 David Jee <djee@redhat.com>
7599
7600 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
7601 (gtkSetLabel): New native method declaration.
7602 (setLabel): Use gtkSetLabel.
7603 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
7604 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
7605
76062004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
7607
7608 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
7609 black when color argument is null.
7610
76112004-03-10 Kim Ho <kho@redhat.com>
7612
7613 * java/awt/Container.java: Remove check
7614 for drag events.
7615
76162004-03-10 Kim Ho <kho@redhat.com>
7617
7618 * java/awt/Container.java: (visitChild):
7619 Remove candidate clip. Use the component
7620 clip to intersect.
7621 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
7622 (handleEvent): Use the PaintEvent's clip.
7623
76242004-03-10 Kim Ho <kho@redhat.com>
7625
7626 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
7627 (handleEvent): Don't set the clip for the
7628 Graphics object.
7629
76302004-03-09 Graydon Hoare <graydon@redhat.com>
7631
7632 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
7633 Fix double <-> fixed macros, reset font transform.
7634 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
7635 Likewise.
7636
7637