/[classpath]/classpath/ChangeLog
ViewVC logotype

Diff of /classpath/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2332 by mkoch, Thu Jul 22 09:00:25 2004 UTC revision 1.2333 by mark, Thu Jul 22 19:45:37 2004 UTC
# Line 1  Line 1 
1    2004-07-21  Mark Wielaard  <mark@klomp.org>
2    
3            * java/awt/image/Makefile.am (EXTRA_DIST): Add ByteLookupTable.java,
4            Kernel.java, LookupTable.java and ShortLookupTable.java.
5            * javax/swing/Makefile.am (EXTRA_DIST): Add Spring.java and
6            SpringLayout.java.
7            * javax/swing/plaf/basic/Makefile.am (EXTRA_DIST): Add
8            BasicTextFieldUI.java and BasicToolBarSeparatorUI.java.
9            * javax/swing/text/Makefile.am (EXTRA_DIST): Add
10            DefaultHighlighter.java, FieldView.java, Highlighter.java,
11            LayeredHighlighter.java, PlainView.java, TabExpander.java and
12            TabableView.java. Remove CharacterIterator.java and
13            PlainEditorKit.java
14    
15            * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
16            * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h: Likewise.
17    
18            * configure.ac: Test for PKG_CHECK_MODULES gtk+-2.0 >= 2.4.
19            * NEWS: Add overview of new GUI functionality.
20    
21    2004-07-21  Michael Koch  <konqueror@gmx.de>
22    
23            * javax/swing/JTextArea.java
24            (setLineWrap): Fire property change event after new value is set.
25            (setTabSize): Likewise.
26    
27    2004-07-21  Michael Koch  <konqueror@gmx.de>
28    
29            * javax/swing/JTable.java
30            (autoCreateColumnsFromModel): New field.
31            (autoResizeMode): Likewise.
32            (cellEditor): Likewise.
33            (cellSelectionEnabled): Likewise.
34            (columnModel): Likewise.
35            (dataModel): Likewise.
36            (defaultEditorsByColumnClass): Likewise.
37            (defaultRenderersByColumnClass): Likewise.
38            (editingColumn): Likewise.
39            (editingRow): Likewise.
40            (gridColor): Likewise.
41            (preferredViewportSize): Likewise.
42            (rowHeight): Likewise.
43            (rowMargin): Likewise.
44            (rowSelectionAllowed): Likewise.
45            (selectionBackground): Likewise.
46            (selectionForeground): Likewise.
47            (selectionModel): Likewise.
48            (showHorizontalLines): Likewise.
49            (showVerticalLines): Likewise.
50            (tableHeader): Likewise.
51            (JTable): Implemented.
52            (getColumnModel): Likewise.
53            (getSelectedRow): Likewise.
54            (getSelectionModel): Likewise.
55            (setModel): Likewise.
56            (setSelectionModel): Likewise.
57            (createScrollPaneForTable): New method.
58            (createDefaultDataModel): Likewise.
59            (createDefaultListSelectionModel): Likewise.
60            (getModel): Likewise.
61            (getTableHeader): Likewise.
62            (setTableHeader): Likewise.
63            (getColumnSelectionAllowed): Likewise.
64            (setColumnSelectionAllowed): Likewise.
65            (getRowSelectionAllowed): Likewise.
66            (setRowSelectionAllowed): Likewise.
67            (getAutoResizeMode): Likewise.
68            (setAutoResizeMode): Likewise.
69            (getColumnCount): Likewise.
70            (getRowCount): Likewise.
71            (getCellRenderer): Likewise.
72            * javax/swing/JTree.java
73            (cellRenderer): New field.
74            (editable): Likewise.
75            (rootVisible): Likewise.
76            (showsRootHandles): Likewise.
77            (getModel): New method.
78            (setModel): Likewise.
79            (isEditable): Likewise.
80            (setEditable): Likewise.
81            (isRootVisbile): Likewise.
82            (setRootVisible): Likewise.
83            (getShowsRootHandles): Likewise.
84            (setShowRootHandles): Likewise.
85            (getCellRenderer): Likewise.
86            (setCellRenderer): Likewise.
87    
88    2004-07-21  Michael Koch  <konqueror@gmx.de>
89    
90            * javax/swing/JFormattedTextField.java
91            (setDocument): Implemented.
92            * javax/swing/JRootPane.java:
93            Fixed javadocs.
94            * javax/swing/JTable.java
95            (getDefaultRenderer): New method.
96            * javax/swing/JTextField.java
97            (setFont): Likewise.
98            (getPreferredSize): Likewise.
99            * javax/swing/JToggleButton.java
100            (getAccessibleContext): Fix javadoc.
101            * javax/swing/JTree.java:
102            Add some javadocs.
103            * javax/swing/JViewport.java:
104            Likewise.
105    
106    2004-07-21  David Jee  <djee@redhat.com>
107    
108            * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
109            Collect all native method declaration at the top.
110            (create): Set the filename filter if necessary.
111            (setDirectory): Call nativeSetDirectory().
112            (setFilenameFilter): Implement.
113            (filenameFilterCallback): New method.
114            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
115            (create): Configure dialog to show hidden files.
116            (filenameFilterCallback): New function.
117            (nativeSetFilenameFilter): New function.
118            (nativeSetDirectory): New function.
119    
120    2004-07-21  Kim Ho  <kho@redhat.com>
121    
122            * javax/swing/plaf/basic/BasicSliderUI.java:
123            Ran Jalopy.
124            (paintTrack): Fill the track before painting
125            the borders.
126    
127    2004-07-21  Graydon Hoare  <graydon@redhat.com>
128    
129            patch from Roman Kennke <roman@ontographics.com>
130            * javax/swing/Spring.java: New file.
131            * javax/swing/SpringLayout.java: New file.
132            * Makefile.am: Add new files.
133            * Makefile.in: Regenerate.
134    
135    2004-07-21  Graydon Hoare  <graydon@redhat.com>
136    
137            * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
138            * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
139            * javax/swing/ScrollPaneLayout.java: Likewise.
140    
141    2004-07-21  Kim Ho  <kho@redhat.com>
142    
143            * javax/swing/DefaultDesktopManager.java:
144            (findMinimum): Removed.
145            (resizeFrame): Trust the UI to pass valid
146            bounds.
147            * javax/swing/JOptionPane.java:
148            Implemented showInternalXXXDialog methods.
149            (startModal): New method.
150            * javax/swing/plaf/basic/BasicInternalFrameUI.java:
151            (BorderListener::mouseDragged): Verify that the new
152            bounds are valid before passing them to the DesktopManager.
153            (preferredLayoutSize): Delegate
154            to getSize.
155            (minimumLayoutSize): Ditto.
156            (getSize): New method.
157            (GlassPaneDispatcher): Reimplemented by copying
158            a stripped down LightweightDispatcher from Container.
159            (getMinimumSize): Call minimumLayoutSize.
160            * javax/swing/plaf/basic/BasicOptionPaneUI.java:
161            Ran Jalopy.
162            (mousePressed): Add ability to properly close
163            JInternalFrames.
164            * javax/swing/plaf/basic/BasicToolBarUI.java:
165            (DragWindow): Set owner for DragWindow.
166    
167    2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
168    
169            * java/awt/image/ShortLookupTable.java: New file.
170            * java/awt/image/ByteLookupTable.java: New file.
171            * Makefile.am: Added new files.
172            * Makefile.in: Regenerated.
173    
174    2004-07-21  David Jee  <djee@redhat.com>
175    
176            * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
177            (create(GtkContainerPeer)): New native method.
178            (create()): Call native create(), passing in the parent frame
179            as the paramter. Natively set the current file and directory.
180            (setFile): Construct an absolute filename before passing it to
181            the native peer.
182            (nativeGetDirectory): New method.
183            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
184            (window_closed): Removed.
185            (ok_clicked): Likewise.
186            (cancel_clicked): Likewise.
187            (handle_response): New method.
188            (create): Use GtkFileChooserDialog.
189            (connectSignals): Connect to handle_response.
190            (nativeGetDirectory): New method.
191            (nativeSetFile): Use GtkFileChooserDialog.
192    
193    2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
194    
195            * java/awt/image/LookupTable.java: New file.
196            * Makefile.am: Added new file.
197            * Makefile.in: Regenerated.
198    
199    2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
200    
201            * java/awt/image/Kernel.java: New file.
202            * Makefile.am: Added new file.
203            * Makefile.in: Regenerated.
204    
205    2004-07-21  Olga Rodimina  <rodimina@redhat.com>
206    
207            * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
208            * javax/swing/JMenu.java: Likewise.
209            * javax/swing/JMenuBar.java: Likewise.
210            (MARGIN_CHANGED_PROPERTY): New property.
211            (setMargin): Implemented.
212            * javax/swing/JMenuItem.java: Fixed javadocs.
213            * javax/swing/JPopupMenuUI.java: Fixed javadocs.
214            (LABEL_CHANGED_PROPERTY): New property.
215            (add): changed to use createActionComponent.
216            (createActionComponent): Implemented.  
217            (setLabel): Fire PropertyChangeEvent if label property
218            changes.
219            * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
220            * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
221            (ContainerHandler): Repaint if margin property has changed.
222            * javax/swing/plaf/basic/BasicMenuItemUI.java:
223            (installUI): Call installComponents().
224            (uninstallUI): Call uinstallComponents().
225            * javax/swing/plaf/basic/BasicMenuUI.java:
226            Fixed javadocs.
227            * javax/swing/plaf/basic/BasicPopupMenuUI.java:
228            Likewise.
229    
230    2004-07-21  Kim Ho  <kho@redhat.com>
231    
232            * javax/swing/plaf/basic/BasicToolBarUI.java:
233            (DragWindow): Use the right constructor.
234    
235    2004-07-21  Kim Ho  <kho@redhat.com>
236    
237            * javax/swing/JToolBar.java:
238            (layoutContainer): Use getComponents.
239            * javax/swing/plaf/basic/BasicToolBarUI.java:
240            (DragWindow): Don't use SwingUtilities'
241            getOwnerFrame
242            (ToolBarDialog): ditto.
243    
244    2004-07-21  Kim Ho  <kho@redhat.com>
245    
246            * javax/swing/JRootPane.java:
247            Ran jalopy.
248            (layoutContainer): Set the glasspane's size to
249            be the same as the content pane.
250            (createGlassPane): Set opaque property to false.
251    
252    2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
253    
254            * java/awt/Component.java (requestFocus()): Don't handle Panels
255            specially.
256            (requestFocus(boolean)): Likewise.
257            (requestFocusInWindow(boolean)): Likewise.
258            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
259            Set GTK_CAN_FOCUS flag.
260    
261    2004-07-21  Kim Ho  <kho@redhat.com>
262    
263            * Makefile.am: Added new file.
264            * Makefile.in: Regenerated.
265            * gcj/Makefile.in: Regenerated.
266            * include/Makefile.in: Regenerated.
267            * javax/swing/AbstractButton.java:
268            Add rollOverEnabled property.
269            (setRolloverEnabled): Use new property.
270            (isRolloverEnabled): Use new property.
271            * javax/swing/JTabbedPane.java:
272            (setComponent): Remove useless JTabbedPane.this.
273            * javax/swing/JToolBar.java: Finish implementation.
274            * javax/swing/plaf/basic/BasicArrowButton.java:
275            (paint): Moved border painting to a border.
276            * javax/swing/plaf/basic/BasicLookAndFeel.java:
277            Change JToolBar look and feel defaults.
278            * javax/swing/plaf/basic/BasicOptionPaneUI.java
279            (actionPerformed): Return Integer index instead of name.
280            (addButtonComponents): Check to see if component is
281            JButton last.
282            (createMessageArea): Don't use components that are not
283            completed yet.
284            (getIconForType): Use temporary icons.
285            * javax/swing/plaf/basic/BasicSliderUI.java:
286            (mousePressed): Do not return if it's on thumb.
287            (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
288            (paintMinorTickForVertSlider): ditto.
289            (paintMajorTickForHorizSlider): ditto.
290            (paintMajorTickForVertSlider): ditto.
291            * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
292            Add a border around the SplitPaneDivider.
293            * javax/swing/plaf/basic/BasicSplitPaneUI.java:
294            Remove comments.
295            * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
296            New file. Implemented.
297            * javax/swing/plaf/basic/BasicToolBarUI.java:
298            Implemented.
299            * testsuite/Makefile.in: Regenerated.
300    
301    2004-07-21  Graydon Hoare  <graydon@redhat.com>
302    
303            * javax/swing/Timer.java (run): Queue events each time cycle.
304    
305    2004-07-21  David Jee  <djee@redhat.com>
306    
307            * gnu/java/awt/peer/gtk/GtkImagePainter.java
308            (imageComplete): Call image.imageComplete().
309            * java/awt/image/MemoryImageSource.java:
310            Reimplement consumers as a Vector instead of a Hashtable.  This is
311            because enumeration on a Hashtable is not thread-safe.
312            (addConsumer): Adapt to Vector consumers.
313            (isConsumer): Adapt to Vector consumers.
314            (removeConsumer): Adapt to Vector consumers.
315            (startProduction): Adapt to Vector consumers. Call imageComplete()
316            with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
317            (newPixels): Adapt to Vector consumers.
318            (sendPicture): Set the color model of the image consumer.
319            (newPixels(IIII)): Adapt to Vector consumers.
320            (newPixels(IIIIB)): Adapt to Vector consumers.
321    
322    2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
323    
324            * java/awt/Component.java (deliverEvent): Implement.
325            (postEvent): Implement.
326            (handleEvent): Implement.
327            (translateEvent): New method.
328            (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
329            * java/awt/Container.java (deliverEvent): Implement.
330            * java/awt/Event.java (paramString): Fix formatting.
331            * java/awt/Font.java (toString): Likewise.
332            * java/awt/Window.java (postEvent): Implement.
333    
334    2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
335    
336            * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
337            Set window's focus owner upon receiving a FOCUS_LOST event.
338            * java/awt/Window.java (Window()): Refocus the previously
339            focused component within the window when the window regains the
340            top-level focus.
341            (setFocusOwner): New method.
342            * java/awt/Component.java (requestFocus): Add FIXME.
343    
344            * libgcj.pc.in: Remove library flags.
345    
346    2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
347    
348            * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
349            MOUSE_PRESSED event.
350            * java/awt/Component.java (requestFocus()): Handle Panel
351            specially.  Post FOCUS_LOST event on opposite component.
352            (requestFocus(boolean)): Likewise.
353            (requestFocusInWindow(boolean)): Likewise.
354            (paramString): Reorder dimension fields.
355            * java/awt/Container.java (paramString): Fix string format.
356            * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
357            Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
358            process key events if the focus owner is non-null.
359            (dispatchKeyEvent): Likewise.
360            * java/awt/Frame.java (paramString): Fix formatting.
361            (generateName): New method.
362            (getUniqueLong): Likewise.
363            * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
364            the temporary focus owner is null.  If so, return the permanent
365            focus owner.
366            * java/awt/Panel.java (generateName): New method.
367            (getUniqueLong): Likewise.
368            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
369            signal handling to make callbacks more specific.
370    
371    2004-07-21  Michael Koch  <konqueror@gmx.de>
372    
373            * javax/swing/text/Position.java
374            (Bias): Implemented.
375    
376    2004-07-21  Michael Koch  <konqueror@gmx.de>
377    
378            * javax/swing/LookAndFeel.java
379            (provideErrorFeedback): New method.
380    
381    2004-07-21  Michael Koch  <konqueror@gmx.de>
382    
383            * javax/swing/JTextArea.java
384            (tabSize): New field.
385            (getTabSize): New method.
386            (setTabSize): Likewise.
387    
388    2004-07-21  Michael Koch  <konqueror@gmx.de>
389    
390            * javax/swing/ActionMap.java:
391            Fixed javadocs all over.
392            (serialVersionUID): Made private.
393            (parent): Don't explicitely initialize with default value.
394            (get): SImplified.
395            (keys): Reimplemented.
396            (allKeys): Likewise.
397            (convertSet): Removed.
398            * javax/swing/ComponentInputMap.java:
399            Fixed javadocs all over.
400            (ComponentInputMap): Implemented.
401            (put): Likewise.
402            (clear): Likewise.
403            (remove): Likewise.
404            (SetParent): Likewise.
405            (getComponent): Likewise.
406            * javax/swing/InputMap.java:
407            Fixed javadocs all over.
408            (serialVersionUID): Made private.
409            (parent): Don't explicitely initialize with default value.
410            (get): SImplified.
411            (keys): Reimplemented.
412            (allKeys): Likewise.
413            (convertSet): Removed.
414    
415    2004-07-21  Michael Koch  <konqueror@gmx.de>
416    
417            * javax/swing/ActionMap.java,
418            javax/swing/ComponentInputMap.java,
419            javax/swing/InputMap.java,
420            javax/swing/table/DefaultTableColumnModel.java,
421            javax/swing/table/TableColumn.java,
422            javax/swing/table/TableColumnModel.java,
423            javax/swing/table/TableModel.java,
424            javax/swing/text/AbstractDocument.java,
425            javax/swing/text/TextAction.java:
426            Reformated.
427    
428    2004-07-21  Graydon Hoare  <graydon@redhat.com>
429    
430            * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
431            Make method non-static.
432            * javax/swing/AbstractButton.java:
433            Rename fields to match property names where possible.
434            (iconTextGap): New property.
435            * javax/swing/JCheckBox.java: Match AbstractButton changes.
436            (init) New method, call from after various constructors.
437            * javax/swing/JComponent.java (revalidate):
438            Invalidate before queueing repair.
439            * javax/swing/JList.java (getPreferredScrollableViewportSize):
440            Reimplement in terms of visibleRowCount property.
441            * javax/swing/JMenuButton.java: Match AbstractButton changes.
442            * javax/swing/JScrollPane.java (createScrollListener):
443            Remove tracing chatter.
444            * javax/swing/JToggleButton.java: Match AbstractButton changes.
445            * javax/swing/RepaintManager.java (addInvalidComponent):
446            Don't invalidate.
447            * javax/swing/ScrollPaneLayout.java: Various corrections to layout
448            calculations.
449            * javax/swing/SwingUtilities.java (layoutCompoundLabel):
450            Mimic sun behavior on top left/right positioning.
451            * javax/swing/ViewportLayout.java (preferredLayoutSize):
452            Remove mistaken use of preferredScrollableViewportSize here.
453            (layoutContainer): Use view's preferred size as basis.
454            * javax/swing/plaf/basic/BasicButtonUI.java:
455            Set, get, and use textIconGap property.
456            (paint) Paint text returned from layout (with ellipsis).
457            * javax/swing/plaf/basic/BasicListUI.java:
458            Remove tracing chatter, correct various minor calculations.
459            (getCellBounds): Update layout state before calculating.
460            * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
461            Use margin default similar to sun's.    
462            * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
463            (createIncreaseIcon): Center icon, minimize margins.
464            (createDecreaseIcon): Likewise.
465            * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
466            Implement.
467            (installUI): Call it.
468            (uninstallDefaults): Implement.
469            (uninstallUI): Call it.
470            * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
471            Call existing Window constructor.
472            * javax/swing/plaf/basic/BasicViewportUI.java (paint):
473            Set clip before painting.
474    
475    2004-07-21  Olga Rodimina <rodimina@redhat.com>
476            
477            * javax/swing/JMenuItem.java:
478            (processMouseEvent): Reimplemented to deal with
479            mouse drag events.
480            (createMenuDragMouseEvent): New private helper method.
481            Creates MenuDragMouseEvent.
482            * javax/swing/MenuSelectionManager.java
483            (componentForPoint): Implemented.
484            (isComponentPartOfCurrentMenu): Made public.
485            (processMouseEvent): Reimplemented to deal with
486            mouse drag events.
487            (setSelectedPath): Corrected small mistake that caused
488            path to be set incorrectly.
489            (getPath): If given component is JMenu then also add this
490            menu's popup menu to the selected path.
491            * javax/swing/plaf/basic/BasicMenuItemUI.java:
492            (getPath): Ditto.
493            (getPreferredSize): Call getPreferredMenuItemSize().
494            (getPreferredItemSize): Moved code from getPreferredSize to here.
495            (installListeners): Install MouseMotionListeners.
496            (MouseInputHandler): Pass mouse release event to MenuSelectionManager
497            if mouse wasn't released in the bounds of this menu item.
498            (MenuDragMouseHandler): Implemented.
499            * javax/swing/plaf/basic/BasicMenuUI.java:
500            (installListeners): Install MouseMotionListener and
501            MenuDrageMouseListener.
502            (MenuDragMouseHandler): Implemented.
503            * javax/swing/plaf/basic/BasicPopupMenuUI.java:
504            (uninstallListeners): Implemented.
505            
506    2004-07-21  Michael Koch  <konqueror@gmx.de>
507    
508            * javax/swing/JCheckBox.java: Reformated.
509            (JCheckBox): Fixed all constructors.
510            (isBorderPaintedFlat): New method.
511            (setBorderPaintedFlat): New method.
512            * javax/swing/JEditorPane.java
513            (createEditorKitForContentType): Made public.
514            (scrollToReference): Likewise.
515            * javax/swing/JTextArea.java
516            (setLineWrap): Fire property change.
517            * javax/swing/JToggleButton.java
518            (JToggleButton): New constructor.
519            (JToggleButton): Simplified.
520            * javax/swing/text/AttributeSet.java
521            (FontAttribute): Renamed from FontCharacterAttribute.
522            * javax/swing/text/JTextComponent.java
523            (KeyBinBinding): Added javadoc.
524            (JTextComponent): Likewise.
525            (getAccessibleContext): Fixed javadoc.
526            * javax/swing/text/View.java
527            (View): Added javadoc.
528            * javax/swing/text/TabableView.java: New file.
529            * Makefile.am: Added javax/swing/text/TabableView.java.
530            * Makefile.in: Regenerated.
531    
532    2004-07-21  Graydon Hoare  <graydon@redhat.com>
533    
534            * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
535            * gnu/java/awt/peer/gtk/GtkToolkit.java
536            (GtkErrorImage): New helper class.
537            (bufferedImageOrError): New helper method.
538            (createImage): Use it.
539    
540    2004-07-21  David Jee  <djee@redhat.com>
541    
542            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
543            (setCaretPosition): Scroll the text view so the new caret position
544            is visible on screen.
545    
546    2004-07-21  David Jee  <djee@redhat.com>
547    
548            * gnu/java/awt/peer/gtk/GtkContainerPeer.java
549            (setBounds): Do not validate awtComponent here.
550            * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
551            (getPreferredSize): New method.
552            * java/awt/ScrollPane.java
553            (ScrollPane): Set default size to 100x100.
554            (addNotify): If child is not a Panel, wrap it with a new Panel.
555            (paramString): Implement.
556    
557    2004-07-21  Olga Rodimina  <rodimina@redhat.com>
558    
559            * javax/swing/JMenu.java:
560            (setSelected): Display popup menu only if this menu
561            is showing on the screen.
562            * javax/swing/JPopupMenu.java:
563            (processMouseEvent): Added comment.
564            (processKeyEvent): Likewise.
565            * javax/swing/MenuSelectionManager.java:
566            (clearSelectedPath): Only fireStateChanged() after
567            selected path was changed, not before.
568            (setSelectedPath): Likewise.
569            * javax/swing/plaf/basic/BasicMenuItemUI.java:
570            (paintMenuItem): Corrected position of menu item's
571            icon.
572            * javax/swing/plaf/basic/BasicPopupMenuUI.java:
573            (installUI): Correct setDefaultLightWeightPopupEnabled call.
574            (popupMenuCanceled): Reimplemented.
575            (popupMenuWillBecomeVisible): Select first menu item by default
576            when displaying free floating popup menus.
577            (TopWindowListener): Reimplemented.
578    
579    2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
580    
581            * java/awt/Panel.java (dispatchEventImpl): Override to prevent
582            Panel from being painted twice when it is first shown.
583    
584    2004-07-21  Olga Rodimina  <rodimina@redhat.com>
585    
586            * java/awt/Window.java: Reverted changes from my
587            previous patch for creating window without an owner.
588            * javax/swing/SwingUtilities.java:
589            (SwingUtilities.OwnerFrame): made static.
590            (OwnerFrame.setVisible): New method. Overridden with
591            empty implementation.
592            (OwnerFrame.isShowing): New method. Ovverridden
593            to return always true.
594    
595    2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
596    
597            * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
598            native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
599            (GtkComponentPeer): Remove temporary try/catch block.
600            (setVisible): Call show and hide.
601            (show): Make native.
602            (hide): Likewise.
603            (getArgs): Don't add "visible" argument.
604            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
605            (property_notify_predicate): Return Bool instead of int.
606            (find_layout): New function.
607            (connectJObject): Call find_layout.
608            (connectSignals): Likewise.
609            (moveLayout): Likewise.
610            (gtkLayoutSetVisible): Likewise.
611    
612    2004-07-21  Mark Wielaard  <mark@klomp.org>
613    
614            * java/awt/event/InvocationEvent.java (dispatch): Synchronize
615            on notifier object before calling notifyAll().
616    
617    2004-07-21  Olga Rodimina  <rodimina@redhat.com>
618    
619            * java/awt/Window.java: Changed constructors to use new
620            method that is described below. Constructors call this
621            methods only if newly created window should have an owner.
622            (setWindowOwner): New method. Implementation for
623            this method is moved from this(owner,configuration).
624            * javax/swing/JWindow.java:
625            (JWindow): Reimplement to use SwingUtilities.ownerFrame
626            instead of owner.
627            * javax/swing/SwingUtilities.java:
628            (ownerFrame): Change type of this field to OwnerFrame.
629            (getOwnerFrame): Changed to return object of type OwnerFrame.
630            (SwingUtilities.OwnerFrame): New class. Represents owner
631            of a Window that is not provided with one.
632    
633    2004-07-21  Olga Rodimina  <rodimina@redhat.com>
634    
635            *  javax/swing/AbstractButton.java:
636            (configurePropertiesFromAction): Set action command
637            to button's text by default if action command is not
638            explicitely specified.
639            * javax/swing/JMenu.java: Remove unnecessary listener
640            and methods relevant to it.
641            (setSelected): Reimplemented.
642            (menuSelectionChanged): Moved most part of implementation to
643            setSelected() and call it instead.
644            * javax/swing/JMenuItem.java:
645            (init): Comment out statement that sets paint_border to false.
646            (configurePropertiesFromAction): Do not set accelerator
647            for JMenu.
648            (menuSelectionChanged): Change selected index in the selection
649            model of menu item's parent.
650            * javax/swing/JPopupMenu.java:
651            (remove): Set constraints.fill field to GridBagConstraints.BOTH
652            instead of GridBagConstraints.HORIZONTAL.
653            (insert): Likewise.
654            (createActionChangeListener): Implemented.
655            (setVisible): Correct location of HeavyWeightMenu and
656            don't firePopupMenuCanceled().
657            (menuSelectionChanged): Implemented.
658            (ActionChangeListener): New Listener. Implemented.
659            * javax/swing/plaf/basic/BasicMenuBarUI.java:
660            (BasicMenuBarUI.ContainerHandler): Implemented.
661            * javax/swing/plaf/basic/BasicMenuItemUI.java:
662            (paintMenuItem): Uncommented out code that paints
663            icon, now that icons are working properly.
664            (PropertyChangeListener): Implemented.
665            * javax/swing/plaf/basic/BasicPopupMenuUI.java:
666            Added javadocs.
667            (topWindowListener): New field.
668            (Constructor): initialize topWindowListener.
669            (BasicPopupMenuUI.TopWindowListener): Implemented.      
670            (BasicPopupMenuUI.PopupMenuHandler): Implemented.
671            (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
672            Implemented.
673            
674    2004-07-21  Michael Koch  <konqueror@gmx.de>
675    
676            * javax/swing/plaf/basic/BasicButtonUI.java
677            (paintFocus): Fixed method signature.
678            (paintButtonPressed): Likewise.
679            (paintButtonNormal): Likewise.
680            (paintText): New method.
681            * javax/swing/plaf/basic/BasicLabelUI.java
682            (paint): Re-indented.
683            * javax/swing/plaf/basic/BasicTextUI.java
684            (installUI): Set parent textComponent to opaque.
685            * javax/swing/text/DefaultHighlighter.java
686            (checkPositions): New helper method.
687            (addHighlight): Throws BadLocationException, check positions.
688            (changeHighlight): Likewise.
689            * javax/swing/text/EditorKit.java
690            (EditorKit): Implements Serializable.
691            * javax/swing/text/JTextComponent.java
692            (getUI): Added javadoc.
693            (setUI): Likewise.
694            (upadteUI): Added javadoc, don't revalidate and repaint.
695    
696    2004-07-21  David Jee  <djee@redhat.com>
697    
698            * java/awt/GridBagLayout.java
699            (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
700            * javax/swing/AbstractButton.java
701            (setText): Reindent.
702            * javax/swing/RepaintManager.java
703            (addInvalidComponent): Find the first ancestor that isValidateRoot().
704    
705    2004-07-21  Michael Koch  <konqueror@gmx.de>
706    
707            * javax/swing/JFormattedTextField.java
708            (value): New field.
709            (JFormattedTextField): Implemented.
710            (getValue): Likewise.
711            (setValue): Likewise.
712            * javax/swing/LookAndFeel.java
713            (getSupportsWindowDecorations): New method.
714            * javax/swing/UIDefaults.java:
715            Use java.beans.PropertyChangeSupport instead of doing all ourself.
716            (addPropertyChangeListener): Made public.
717            (addResourceBundle): Likewise.
718            (removeResourceBundle): Likewise.
719            (setDefaultLocale): Likewise.
720            * javax/swing/plaf/basic/BasicRootPaneUI.java
721            (BasicRootPaneUI): Implements PropertyChangeListener.
722            (propertyChange): New method.
723            * javax/swing/plaf/basic/BasicTextUI.java
724            (BasicHighlighter): New inner class.
725            (createHighlighter): New method.
726            * javax/swing/plaf/basic/BasicToolBarUI.java
727            (DragWindow): Extends java.awt.Window.
728            * javax/swing/text/JTextComponent.java
729            (getDocument): Removed debug output.
730            * javax/swing/plaf/basic/BasicTextFieldUI.java,
731            javax/swing/text/DefaultHighlighter.java,
732            javax/swing/text/FieldView.java,
733            javax/swing/text/PlainView.java: New files.
734            * Makefile.am: Added new files.
735            * Makefile.in: Regenerated.
736    
737    2004-07-21  Michael Koch  <konqueror@gmx.de>
738    
739            * javax/swing/JEditorPane.java
740            (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
741            (createEditorKitForContentType): Likewise.
742            * javax/swing/text/DefaultEditorKit.java
743            (serialVersionUID): Added constant field.
744            (EndOfLineStringPropery): Fixed typo.
745            (DefaultEditorKit): New constructor.
746            * javax/swing/text/Segment.java:
747            Import java.text.CharacterIterator.
748            * javax/swing/text/CharacterIterator.java,
749            javax/swing/text/PlainEditorKit.java: Removed.
750            * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
751            javax/swing/text/PlainEditorKit.java.
752            * Makefile.in: Regenerated.
753    
754    2004-07-21  Michael Koch  <konqueror@gmx.de>
755    
756            * javax/swing/JButton.java,
757            javax/swing/text/DefaultEditorKit.java,
758            javax/swing/text/EditorKit.java,
759            javax/swing/text/Segment.java,
760            javax/swing/text/StyledEditorKit.java:
761            Reformatted.
762    
763    2004-07-21  Michael Koch  <konqueror@gmx.de>
764    
765            * javax/swing/ImageIcon.java
766            (file): Removed.
767            (description): Renamed from descr.
768            (ImageIcon): Added missing constructors.
769            (setParent): Removed.
770            (setImageObserver): New method.
771            (getImageObserver): New method.
772            (paintIcon): Handle observer = null.
773            * javax/swing/JButton.java
774            (removeNotify): Fixed javadoc.
775            (updateUI): Simplified.
776            * javax/swing/JRootPane.java
777            (serialVersionUID): New constant field.
778            * javax/swing/UIManager.java:
779            Fixed javadocs all over.
780            (setLookAndFeel): Throws UnsupportedLookAndFeelException.
781            * javax/swing/text/AbstractDocument.java
782            (createPosition): Throws BadLocationException.
783            (getText): Likewise.
784            (remove): Likewise.
785            * javax/swing/text/ComponentView.java
786            (modelToView): Likewise.
787            * javax/swing/text/DefaultEditorKit.java:
788            Made all public methods public.
789            (read): Throws BadLocationException and IOException.
790            (write): Likewise.
791            * javax/swing/text/EditorKit.java:
792            Made all public methods public.
793            (serialVersionUID): New constant field.
794            (clone): New method.
795            (read): Throws BadLocationException and IOException.
796            (write): Likewise.
797            * javax/swing/text/Segment.java
798            (array): Made public.
799            (count): Likewise.
800            (offset): Likewise.
801            (Segment): New constructors.
802            (clone): Reimplemented.
803            * javax/swing/text/StyledEditorKit.java
804            (serialVersionUID): New constant field.
805    
806    2004-07-21  Graydon Hoare  <graydon@redhat.com>
807    
808            * java/awt/image/BufferedImage.java
809            (getSource): Implement.
810            * javax/swing/ImageIcon.java
811            (ImageIcon): Implement ctor.
812            * javax/swing/ScrollPaneLayout.java
813            (preferredLayoutSize): Be more careful about nulls.
814    
815    2004-07-21  Michael Koch  <konqueror@gmx.de>
816    
817            * javax/swing/text/AttributeSet.java
818            (CharacterAttribute): New interface
819            (ColorAttribute): Likewise.
820            (FontCharacterAttribute): Likewise.
821            (ParagraphAttribute): Likewise.
822            * javax/swing/text/DefaultCaret.java
823            (moveCaret): New method.
824            (positionCaret): Likewise.
825            (repaint): Made protected.
826            * javax/swing/text/JTextComponent.java
827            (KeyBinding): Made it static.
828            * javax/swing/text/View.java
829            (getContainer): Honor parent == null.
830    
831    2004-07-21  Michael Koch  <konqueror@gmx.de>
832    
833            * javax/swing/text/AbstractDocument.java:
834            Reformatted.
835    
836    2004-07-21  Michael Koch  <konqueror@gmx.de>
837    
838            * javax/swing/plaf/basic/BasicRootPaneUI.java:
839            Import javax.swing.UIManager explicitely.
840            * javax/swing/plaf/basic/BasicTabbedPaneUI.java
841            (ScrollingButton): Made it static.
842    
843    2004-07-21  Michael Koch  <konqueror@gmx.de>
844    
845            * javax/swing/UIDefaults.java
846            (ActiveValue): Made public.
847            (LazyValue): Likewise.
848            * javax/swing/plaf/basic/BasicTextUI.java
849            (RootView): Reintroduced.
850            (view): Removed.
851            (rootView): New field.
852            (installUI): Create document if needed, initialize rootView.
853            (uninstallUI): Hanle rootView.
854            (paint): Likewise.
855            (getRootView): Likewise.
856            (setView): Likewise.
857            * javax/swing/text/DefaultCaret.java:
858            Renamed all "evt" variables to "event".
859    
860    2004-07-21  David Jee  <djee@redhat.com>
861    
862            * java/awt/Component.java
863            (move): Delegate to setBounds().
864            (resize): Likewise.
865            (reshape): Fix so it repaints parent and self only when necessary.
866    
867    2004-07-21  David Jee  <djee@redhat.com>
868    
869            * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
870            native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
871            (GtkComponentPeer): Revert previous patch from 2004-06-22.
872            (setVisible): Likewise.
873            (show): Likewise.
874            (hide): Likewise.
875            (getArgs): Likewise.
876            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
877            (property_notify_predicate): Likewise.
878            (find_layout): Likewise.
879            (connectJObject): Likewise.
880            (connectSignals): Likewise.
881            (moveLayout): Likewise.
882            (gtkLayoutSetVisible): Likewise.
883    
884    2004-07-21  Michael Koch  <konqueror@gmx.de>
885    
886            * javax/swing/text/AbstractDocument.java
887            (replace): Dont use protected method of java.util.Vector directly.
888    
889    2004-07-21  Michael Koch  <konqueror@gmx.de>
890    
891            * javax/swing/plaf/basic/BasicTextUI.java
892            (installUI): Call specialized install methods.
893            (installDefaults): New method.
894            (installListeners): Likewise.
895            (installKeyboardActions): Likewise.
896            (uninstallUI): Likewise.
897            (uninstallDefaults): New method.
898            (uninstallListeners): Likewise.
899            (uninstallKeyboardActions): Likewise.
900            (getPropertyPrefix): New abstract method.
901            (paint): Made final, just call paintSafely().
902            (paintSavely): New method.
903            (paintBackground): Likewise.
904            (getVisibleEditorRect): Likewise.
905            * javax/swing/text/LayeredHighlighter.java,
906            javax/swing/text/TabExpander.java: New files.
907            * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
908            and javax/swing/text/TabExpander.java.
909            * Makefile.in: Regenerated.
910    
911    2004-07-21  Michael Koch  <konqueror@gmx.de>
912    
913            * javax/swing/plaf/basic/BasicTextUI.java
914            (BasicTextUI): Made abstract.
915            (BasicCaret): New inner class.
916            (view): Don't explicitely initialize with "null".
917            (textComponent): New field.
918            (textColor): Removed.
919            (disabledTextColor): Removed.
920            (normalBackgroundColor): Removed.
921            (RootView): Removed commented out inner class.
922            (createUI): Removed.
923            (createCaret): New method.
924            (getComponent): Likewise.
925            (installUI): Initialize textComponent only.
926            (getPreferredSize): Use installed JTextComponent.
927            (setView): New method.
928            (create): Likewise.
929            * javax/swing/text/JTextComponent.java
930            (highlighter): New field.
931            (caretColor): Likewise.
932            (disabledTextColor): Likewise.
933            (seletedTextColor): Likewise.
934            (selectionColor): Likewise.
935            (setUI): New method.
936            (getCaretColor): Likewise.
937            (setCaretColor): Likewise.
938            (getDisabledColor): Likewise.
939            (setDisabledColor): Likewise.
940            (getSelectedTextColor): Likewise.
941            (setSelectedTextColor): Likewise.
942            (getSelectionColor): Likewise.
943            (setSelectionColor): Likewise.
944            (getHighlighter): Likewise.
945            (setHighlighter): Likewise.
946            (replaceSelection): Likewise.
947    
948    2004-07-21  Michael Koch  <konqueror@gmx.de>
949    
950            * javax/swing/plaf/basic/BasicScrollPaneUI.java
951            (BasicScrollPaneUI): Implements ScrollPaneConstants.
952            * javax/swing/plaf/basic/BasicToolBarUI.java
953            (BasicToolBarUI): Implements SwingConstants.
954    
955    2004-07-21  Michael Koch  <konqueror@gmx.de>
956    
957            * javax/swing/JPopupMenu.java: Removed CVS tags.
958            * javax/swing/UIDefaults.java: Reformatted.
959            * javax/swing/plaf/basic/BasicRootPaneUI.java:
960            Explicitely import used classes.
961    
962    2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
963    
964            * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
965            native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
966            (GtkComponentPeer): Remove temporary try/catch block.
967            (setVisible): Call show and hide.
968            (show): Make native.
969            (hide): Likewise.
970            (getArgs): Don't add "visible" argument.
971            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
972            (property_notify_predicate): Return Bool instead of int.
973            (find_layout): New function.
974            (connectJObject): Call find_layout.
975            (connectSignals): Likewise.
976            (moveLayout): Likewise.
977            (gtkLayoutSetVisible): Likewise.
978    
979    2004-07-21  Olga Rodimina  <rodimina@redhat.com>
980    
981            * javax/swing/AbstractButton.java:
982            (setDisplayedMnemonicIndex): Check if button
983            text is not null before checking its length.
984            * javax/swing/JMenuItem.java:
985            (processMouseEvent): Disarm menu item if mouse has
986            exited it.
987            * javax/swing/plaf/basic/BasicMenuUI.java:
988            (MouseInputHandler.mouseEntered): Do not raise
989            popup menu if this menu is already selected.
990            (MouseInputHandler.mousePressed): Do not fire
991            MenuEvents.
992            (MenuHandler): Implemented.    
993    
994    2004-07-21  Olga Rodimina  <rodimina@redhat.com>
995    
996            * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
997            (getSelectedObjects): Implemented.
998            * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
999            * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
1000            Added javadoc for few methods.
1001            (processMouseEvent): Made public.
1002            * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
1003            (processMouseEvent): Likewise.
1004    
1005    2004-07-21  Olga Rodimina  <rodimina@redhat.com>
1006    
1007            * javax/swing/AbstractButton.java:
1008            (init): Set display mnemonic index to -1.
1009            (setMnemonic(char)): Use setMnemonic(int).
1010            (setMnemonic(int)): Set display mnemonic index.
1011            (getDisplayedMnemonicIndex): Change method signature
1012            by removing 'index' parameter.
1013            * javax/swing/plaf/basic/BasicLookAndFeel.java:
1014            Added default for Menu.selectionBackground.    
1015            * javax/swing/plaf/basic/BasicMenuItemUI.java:
1016            (paintMenuItem): Change background color of the selected
1017            menu item.
1018            (paintText): Paint differently when menu item is disabled.
1019            Also paint mnemonic if it appears in the menu item's label.
1020            (paintAccelerator): Paint accelerator differently
1021            if menu item is disabled.
1022            * javax/swing/plaf/basic/BasicMenuUI.java:
1023            (installDefaults): Install defaults for
1024            selectionForeground and selectionBackground.
1025            (uninstallDefaults): Uninstall defauls for
1026            selectionForeground and selectionBackground.
1027    
1028    2004-07-21  Michael Koch  <konqueror@gmx.de>
1029    
1030            * javax/swing/text/AbstractDocument.java
1031            (BranchElement): Implemented.
1032            (LeafElement): Implemented.
1033            * javax/swing/text/DefaultCaret.java:
1034            Import used classes.
1035            (serialVersionUID): New constant.
1036            * javax/swing/text/JTextComponent.java
1037            (AccessibleJTextComponent): Removed dead declaration.
1038            (caretPos): Removed.
1039            (setCaret): New method.
1040            * javax/swing/text/PlainDocument.java
1041            (rootElement): New field.
1042            (PlainDocument): Initialize rootElement.
1043            (createDefaultRoot): New method.
1044            (getDefaultRootElement): Implemented.
1045            * javax/swing/text/View.java: Reformatted.
1046            * javax/swing/text/ViewFactory.java
1047            (create): Added javadoc.
1048    
1049    2004-07-21  Michael Koch  <konqueror@gmx.de>
1050    
1051            * javax/swing/ToolTipManager.java: Reformatted.
1052    
1053    2004-07-21  Rodimina Olga  <rodimina@redhat.com>
1054    
1055            * javax/swing/AbstractButton.java
1056            (changeEvent): New field.
1057            (fireItemStateChanged): Change source of the event
1058            to 'this' before firing it to button listeners.
1059            (fireActionPerformed): Likewise.
1060            (fireStateChanged): Likewise.
1061            (createActionListener): Do not set source
1062            of the event to AbstractButton.                                  
1063            * javax/swing/plaf/basic/BasicMenuBarUI.java:
1064            (ContainerHandler.componentAdded): Removed
1065            print out statement.
1066            (ContainerHandler.componentRemoved): Likewise.
1067    
1068    2004-07-21  Michael Koch  <konqueror@gmx.de>
1069    
1070            * javax/swing/text/Highlighter.java: New file.
1071            * Makefile.am: Added javax/swing/text/Highlighter.java.
1072            * Makefile.in: Regenerated.
1073    
1074    2004-07-21  Michael Koch  <konqueror@gmx.de>
1075    
1076            * javax/swing/ToolTipManager.java
1077            (stillInsideTimerAction): Fixed constructor arguments.
1078            (outsideTimerAction): Likewise.
1079            (insideTimerAction): Likewise.
1080    
1081    2004-07-21  Michael Koch  <konqueror@gmx.de>
1082    
1083            * javax/swing/JButton.java: Reformatted.
1084            * javax/swing/JFormattedTextField.java
1085            (getUIClassID): Implemented.
1086            * javax/swing/JRootPane.java
1087            (serialVersionUID): New constant.
1088            * javax/swing/JTextField.java
1089            (align): New field.
1090            (JTextField): Simplified.
1091            (getUIClassID): New method.
1092            (getActionListeners): Added @since tag.
1093            (setColumns): Invalidate layout and repaint.
1094            (getHorizontalAlignment): New method.
1095            (setHorizontalAlignment): New method.
1096            (selectAll): Removed.
1097            * javax/swing/SwingUtilities.java
1098            (getAncestorOfClass): Removed redundant @see tag.
1099            (isLeftMouseButton): Fixed implementation.
1100            (isMiddleMouseButton): Likewise.
1101            (isRightMouseButton): Likewise.
1102            * javax/swing/text/AbstractDocument.java
1103            (AttributeContext.addAttribute): New method.
1104            (AttributeContext.addAttributes): New method.
1105            (AttributeContext.getEmptySet): New method.
1106            (AttributeContext.reclaim): New method.
1107            (AttributeContext.removeAttribute): New method.
1108            (AttributeContext.removeAttributes): New method.
1109            * javax/swing/text/Document.java
1110            (createPosition): Throws BadLocationException.
1111            (getText): Likewise.
1112            (remove): Likewise.
1113            * javax/swing/text/JTextComponent.java
1114            (getText): Return null if no document is set. Catch
1115            BadLocationException.
1116            (getUI): Return ui.
1117            (updateUI): Simplified.
1118    
1119    2004-07-21  Michael Koch  <konqueror@gmx.de>
1120    
1121            * javax/swing/JButton.java
1122            (removeNotify): Fixed javadoc.
1123            (updateUI): Simplified.
1124    
1125    2004-07-21  David Jee  <djee@redhat.com>
1126    
1127            * gnu/java/awt/image/ImageDecoder.java
1128            (startProduction): Only add consumer if it's not added yet.
1129            * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1130            (GdkPixbufDecoder): Don't call initState() here.
1131            (produce): Call initState() here, to ensure area_prepared and
1132            area_updated signals are properly connected.
1133            * gnu/java/awt/peer/gtk/GtkImage.java
1134            (setColorModel): Use equals() to compare ColorModel objects.
1135            (setPixels): Likewise.
1136            * java/awt/image/ColorModel.java
1137            (equals): Fix typo. Use Arrays.equals() to compare int arrays.
1138            * java/awt/image/RGBImageFilter.java
1139            (setColorModel): Set consumer's color model.
1140            (setPixels): Use equals() to compare ColorModel objects.
1141    
1142  2004-07-22  Michael Koch  <konqueror@gmx.de>  2004-07-22  Michael Koch  <konqueror@gmx.de>
1143    
1144          * java/io/ObjectInputStream.java:          * java/io/ObjectInputStream.java:

Legend:
Removed from v.1.2332  
changed lines
  Added in v.1.2333

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26