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