]>
Commit | Line | Data |
---|---|---|
64d696b6 BM |
1 | 2004-07-28 Bryce McKinlay <mckinlay@redhat.com> |
2 | ||
3 | * gnu/java/security/action/GetPropertyAction.java (setParameters): | |
4 | Renamed from 'setName'. New 2-argument form with default value. | |
5 | (run): Pass default 'value' parameter to System.getProperty(). | |
6 | * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc | |
7 | typos. | |
8 | * gnu/java/net/protocol/http/Connection.java: Use 'setParameters' | |
9 | not 'setName'. | |
10 | ||
f0faf24b BM |
11 | 2004-07-28 Bryce McKinlay <mckinlay@redhat.com> |
12 | ||
13 | * configure.in: Check for minimum GTK version 2.4 requirement. | |
14 | * configure: Rebuilt. | |
15 | ||
ce961468 BM |
16 | 2004-07-27 Bryce McKinlay <mckinlay@redhat.com> |
17 | ||
18 | * testsuite/libjava.lang/TLtest.java: Reduce sleep time. | |
19 | * testsuite/libjava.lang/Thread_Alive.java: Remove old email address. | |
20 | Reduce sleep time. | |
21 | * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around | |
22 | compiler bug. | |
23 | * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email | |
24 | address. Reduce sleep times. Synchronize with target threads before | |
25 | attempting to interrupt them. Don't try to calibrate yeild count, | |
26 | instead, always loop for a fixed time. | |
27 | * testsuite/libjava.lang/Thread_Join.java: Remove old email address. | |
28 | * testsuite/libjava.lang/Thread_Monitor.java: Likewise. | |
29 | * testsuite/libjava.lang/Thread_Wait.java: Likewise. | |
30 | * testsuite/libjava.lang/Thread_Wait_2.java: Likewise. | |
31 | * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise. | |
32 | * testsuite/libjava.lang/pr179.java: Likewise. | |
33 | * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep | |
34 | time. Remove upper bounds check on sleep time. | |
35 | ||
0954f3eb BM |
36 | 2004-07-27 Bryce McKinlay <mckinlay@redhat.com> |
37 | ||
38 | * testsuite/libjava.lang/Thread_HoldsLock.java: New test case. | |
39 | * testsuite/libjava.lang/Thread_HoldsLock.out: New. | |
40 | ||
d078f7c0 BM |
41 | 2004-07-27 Bryce McKinlay <mckinlay@redhat.com> |
42 | ||
43 | * java/io/File.java (toURI): Throw RuntimeException, not | |
44 | InternalError. | |
45 | * java/lang/Runtime.java (exit): Qualify static sleep() call with | |
46 | class name, not instance. | |
47 | ||
8b66a9e9 BM |
48 | 2004-07-24 Bryce McKinlay <mckinlay@redhat.com> |
49 | ||
50 | * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java | |
51 | and gnu/java/security/action/SetAccessibleAction.java. | |
52 | * Makefile.in: Rebuilt. | |
53 | ||
ffe4e037 BM |
54 | 2004-07-23 Bryce McKinlay <mckinlay@redhat.com> |
55 | ||
56 | * prims.cc (_Jv_InitPrimClass): Don't create an array class. | |
57 | (_Jv_CreateJavaVM): Don't pass array vtable parameter to | |
58 | _Jv_InitPrimClass. | |
59 | (DECLARE_PRIM_TYPE): Don't declare array vtables. | |
60 | * include/jvm.h (struct _Jv_ArrayVTable): Removed. | |
61 | * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration. | |
62 | ||
ef05818b TF |
63 | 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com> |
64 | ||
65 | * Makefile.am: Replace jar, rmic and rmiregistry references with | |
66 | gjar, grmic and grmiregistry. | |
67 | * configure.in: Likewise. | |
68 | * Makefile.in: Regenerate. | |
69 | * configure: Likewise. | |
70 | * gcj/Makefile.in: Likewise. | |
71 | * include/Makefile.in: Likewise. | |
72 | * testsuite/Makefile.in: Likewise. | |
73 | ||
ae066484 BM |
74 | 2004-07-23 Bryce McKinlay <mckinlay@redhat.com> |
75 | ||
ec5c28ec BM |
76 | * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction |
77 | for privileged getProperty calls. | |
78 | * java/io/ObjectOutputStream.java (getField): No longer static. Use | |
79 | SetAccessibleAction instead of anonymous class for doPrivileged call. | |
80 | (getMethod): Likewise. | |
81 | (setAccessible): New field. PrivilegedAction object to use when | |
82 | calling setAccessible. | |
83 | * java/io/ObjectStreamClass.java (calculateOffsets): Use | |
84 | SetAccessibleAction instead of anonymous class for diPrivileged call. | |
85 | (setFields): Likewise. | |
86 | (getClassUID): Likewise. | |
87 | (findMethod): Likewise. | |
88 | * gnu/java/security/action/GetPropertyAction.java: New class. | |
89 | * gnu/java/security/action/SetAccessibleAction.java: New class. | |
90 | ||
91 | 2004-07-23 Bryce McKinlay <mckinlay@redhat.com> | |
92 | ||
93 | * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset' | |
94 | for final fields. | |
ae066484 BM |
95 | * testsuite/libjava.lang/Serialization.java: New test. |
96 | * testsuite/libjava.lang/Serialization.out: New. | |
97 | ||
98 | 2004-07-23 Bryce McKinlay <mckinlay@redhat.com> | |
694e657a MW |
99 | |
100 | * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file | |
101 | missed in last commit. | |
102 | ||
392abf6b MW |
103 | 2004-07-23 Mark Wielaard <mark@klomp.org> |
104 | ||
105 | * java/lang/System.java (static): Set http.agent system property when | |
106 | not yet set. | |
107 | * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent | |
108 | from system property inside AccessController.doPrivileged() call. | |
109 | (proxyPort): Made package private. | |
110 | (proxyInUse): Likewise. | |
111 | (proxyHost): Likewise. | |
112 | (userAgent): Likewise. | |
113 | ||
6d97cb60 MW |
114 | 2004-07-23 Mark Wielaard <mark@klomp.org> |
115 | ||
116 | * gnu/java/net/DefaultContentHandlerFactory.java: New dummy | |
117 | implementation. | |
118 | ||
f1f90ae0 BM |
119 | 2004-07-22 Bryce McKinlay <mckinlay@redhat.com> |
120 | ||
121 | * Makefile.am (ordinary_java_source_files): Add | |
122 | DefaultContentHandlerFactory.java. | |
123 | * Makefile.in: Rebuilt. | |
124 | * java/net/URLConnection.java (defaultFactory): New field. | |
125 | (getContent): | |
126 | (getContentHandler): Renamed from 'setContentHandler'. Try | |
127 | defaultFactory after user-set factory, if any. Search for content | |
128 | handler implementations in gnu.java.net.content, not gnu.gcj.content. | |
129 | * gnu/java/net/protocol/file/Connection.java (getHeaderField): | |
130 | Implemented. | |
131 | (getLastModified): Implemented. | |
132 | (getPermission): Create file permission here, instead of in | |
133 | constructor. | |
134 | * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField): | |
135 | Implemented. | |
136 | * gnu/java/net/protocol/jar/Connection.java (getHeaderField): | |
137 | Implemented. | |
138 | (getLastModified): Implemented. | |
139 | * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New. | |
140 | Default implementation. | |
141 | * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New. | |
142 | Implement using GdkPixbufDecoder. | |
143 | ||
8e99fb4f GH |
144 | 2004-07-21 Michael Koch <konqueror@gmx.de> |
145 | ||
146 | * javax/swing/JTextArea.java | |
147 | (setLineWrap): Fire property change event after new value is set. | |
148 | (setTabSize): Likewise. | |
149 | ||
150 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
151 | ||
152 | * javax/swing/JTable.java | |
153 | (autoCreateColumnsFromModel): New field. | |
154 | (autoResizeMode): Likewise. | |
155 | (cellEditor): Likewise. | |
156 | (cellSelectionEnabled): Likewise. | |
157 | (columnModel): Likewise. | |
158 | (dataModel): Likewise. | |
159 | (defaultEditorsByColumnClass): Likewise. | |
160 | (defaultRenderersByColumnClass): Likewise. | |
161 | (editingColumn): Likewise. | |
162 | (editingRow): Likewise. | |
163 | (gridColor): Likewise. | |
164 | (preferredViewportSize): Likewise. | |
165 | (rowHeight): Likewise. | |
166 | (rowMargin): Likewise. | |
167 | (rowSelectionAllowed): Likewise. | |
168 | (selectionBackground): Likewise. | |
169 | (selectionForeground): Likewise. | |
170 | (selectionModel): Likewise. | |
171 | (showHorizontalLines): Likewise. | |
172 | (showVerticalLines): Likewise. | |
173 | (tableHeader): Likewise. | |
174 | (JTable): Implemented. | |
175 | (getColumnModel): Likewise. | |
176 | (getSelectedRow): Likewise. | |
177 | (getSelectionModel): Likewise. | |
178 | (setModel): Likewise. | |
179 | (setSelectionModel): Likewise. | |
180 | (createScrollPaneForTable): New method. | |
181 | (createDefaultDataModel): Likewise. | |
182 | (createDefaultListSelectionModel): Likewise. | |
183 | (getModel): Likewise. | |
184 | (getTableHeader): Likewise. | |
185 | (setTableHeader): Likewise. | |
186 | (getColumnSelectionAllowed): Likewise. | |
187 | (setColumnSelectionAllowed): Likewise. | |
188 | (getRowSelectionAllowed): Likewise. | |
189 | (setRowSelectionAllowed): Likewise. | |
190 | (getAutoResizeMode): Likewise. | |
191 | (setAutoResizeMode): Likewise. | |
192 | (getColumnCount): Likewise. | |
193 | (getRowCount): Likewise. | |
194 | (getCellRenderer): Likewise. | |
195 | * javax/swing/JTree.java | |
196 | (cellRenderer): New field. | |
197 | (editable): Likewise. | |
198 | (rootVisible): Likewise. | |
199 | (showsRootHandles): Likewise. | |
200 | (getModel): New method. | |
201 | (setModel): Likewise. | |
202 | (isEditable): Likewise. | |
203 | (setEditable): Likewise. | |
204 | (isRootVisbile): Likewise. | |
205 | (setRootVisible): Likewise. | |
206 | (getShowsRootHandles): Likewise. | |
207 | (setShowRootHandles): Likewise. | |
208 | (getCellRenderer): Likewise. | |
209 | (setCellRenderer): Likewise. | |
210 | ||
211 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
212 | ||
213 | * javax/swing/JFormattedTextField.java | |
214 | (setDocument): Implemented. | |
215 | * javax/swing/JRootPane.java: | |
216 | Fixed javadocs. | |
217 | * javax/swing/JTable.java | |
218 | (getDefaultRenderer): New method. | |
219 | * javax/swing/JTextField.java | |
220 | (setFont): Likewise. | |
221 | (getPreferredSize): Likewise. | |
222 | * javax/swing/JToggleButton.java | |
223 | (getAccessibleContext): Fix javadoc. | |
224 | * javax/swing/JTree.java: | |
225 | Add some javadocs. | |
226 | * javax/swing/JViewport.java: | |
227 | Likewise. | |
228 | ||
229 | 2004-07-21 David Jee <djee@redhat.com> | |
230 | ||
231 | * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: | |
232 | Collect all native method declaration at the top. | |
233 | (create): Set the filename filter if necessary. | |
234 | (setDirectory): Call nativeSetDirectory(). | |
235 | (setFilenameFilter): Implement. | |
236 | (filenameFilterCallback): New method. | |
237 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
238 | (create): Configure dialog to show hidden files. | |
239 | (filenameFilterCallback): New function. | |
240 | (nativeSetFilenameFilter): New function. | |
241 | (nativeSetDirectory): New function. | |
242 | ||
243 | 2004-07-21 Kim Ho <kho@redhat.com> | |
244 | ||
245 | * javax/swing/plaf/basic/BasicSliderUI.java: | |
246 | Ran Jalopy. | |
247 | (paintTrack): Fill the track before painting | |
248 | the borders. | |
249 | ||
250 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
251 | ||
252 | patch from Roman Kennke <roman@ontographics.com> | |
253 | * javax/swing/Spring.java: New file. | |
254 | * javax/swing/SpringLayout.java: New file. | |
255 | * Makefile.am: Add new files. | |
256 | * Makefile.in: Regenerate. | |
257 | ||
258 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
259 | ||
260 | * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes. | |
261 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise. | |
262 | * javax/swing/ScrollPaneLayout.java: Likewise. | |
263 | ||
264 | 2004-07-21 Kim Ho <kho@redhat.com> | |
265 | ||
266 | * javax/swing/DefaultDesktopManager.java: | |
267 | (findMinimum): Removed. | |
268 | (resizeFrame): Trust the UI to pass valid | |
269 | bounds. | |
270 | * javax/swing/JOptionPane.java: | |
271 | Implemented showInternalXXXDialog methods. | |
272 | (startModal): New method. | |
273 | * javax/swing/plaf/basic/BasicInternalFrameUI.java: | |
274 | (BorderListener::mouseDragged): Verify that the new | |
275 | bounds are valid before passing them to the DesktopManager. | |
276 | (preferredLayoutSize): Delegate | |
277 | to getSize. | |
278 | (minimumLayoutSize): Ditto. | |
279 | (getSize): New method. | |
280 | (GlassPaneDispatcher): Reimplemented by copying | |
281 | a stripped down LightweightDispatcher from Container. | |
282 | (getMinimumSize): Call minimumLayoutSize. | |
283 | * javax/swing/plaf/basic/BasicOptionPaneUI.java: | |
284 | Ran Jalopy. | |
285 | (mousePressed): Add ability to properly close | |
286 | JInternalFrames. | |
287 | * javax/swing/plaf/basic/BasicToolBarUI.java: | |
288 | (DragWindow): Set owner for DragWindow. | |
289 | ||
290 | 2004-07-21 Jerry Quinn <jlquinn@optonline.net> | |
291 | ||
292 | * java/awt/image/ShortLookupTable.java: New file. | |
293 | * java/awt/image/ByteLookupTable.java: New file. | |
294 | * Makefile.am: Added new files. | |
295 | * Makefile.in: Regenerated. | |
296 | ||
297 | 2004-07-21 David Jee <djee@redhat.com> | |
298 | ||
299 | * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java | |
300 | (create(GtkContainerPeer)): New native method. | |
301 | (create()): Call native create(), passing in the parent frame | |
302 | as the paramter. Natively set the current file and directory. | |
303 | (setFile): Construct an absolute filename before passing it to | |
304 | the native peer. | |
305 | (nativeGetDirectory): New method. | |
306 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
307 | (window_closed): Removed. | |
308 | (ok_clicked): Likewise. | |
309 | (cancel_clicked): Likewise. | |
310 | (handle_response): New method. | |
311 | (create): Use GtkFileChooserDialog. | |
312 | (connectSignals): Connect to handle_response. | |
313 | (nativeGetDirectory): New method. | |
314 | (nativeSetFile): Use GtkFileChooserDialog. | |
315 | ||
316 | 2004-07-21 Jerry Quinn <jlquinn@optonline.net> | |
317 | ||
318 | * java/awt/image/LookupTable.java: New file. | |
319 | * Makefile.am: Added new file. | |
320 | * Makefile.in: Regenerated. | |
321 | ||
322 | 2004-07-21 Jerry Quinn <jlquinn@optonline.net> | |
323 | ||
324 | * java/awt/image/Kernel.java: New file. | |
325 | * Makefile.am: Added new file. | |
326 | * Makefile.in: Regenerated. | |
327 | ||
328 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
329 | ||
330 | * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs. | |
331 | * javax/swing/JMenu.java: Likewise. | |
332 | * javax/swing/JMenuBar.java: Likewise. | |
333 | (MARGIN_CHANGED_PROPERTY): New property. | |
334 | (setMargin): Implemented. | |
335 | * javax/swing/JMenuItem.java: Fixed javadocs. | |
336 | * javax/swing/JPopupMenuUI.java: Fixed javadocs. | |
337 | (LABEL_CHANGED_PROPERTY): New property. | |
338 | (add): changed to use createActionComponent. | |
339 | (createActionComponent): Implemented. | |
340 | (setLabel): Fire PropertyChangeEvent if label property | |
341 | changes. | |
342 | * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs. | |
343 | * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise. | |
344 | (ContainerHandler): Repaint if margin property has changed. | |
345 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
346 | (installUI): Call installComponents(). | |
347 | (uninstallUI): Call uinstallComponents(). | |
348 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
349 | Fixed javadocs. | |
350 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
351 | Likewise. | |
352 | ||
353 | 2004-07-21 Kim Ho <kho@redhat.com> | |
354 | ||
355 | * javax/swing/plaf/basic/BasicToolBarUI.java: | |
356 | (DragWindow): Use the right constructor. | |
357 | ||
358 | 2004-07-21 Kim Ho <kho@redhat.com> | |
359 | ||
360 | * javax/swing/JToolBar.java: | |
361 | (layoutContainer): Use getComponents. | |
362 | * javax/swing/plaf/basic/BasicToolBarUI.java: | |
363 | (DragWindow): Don't use SwingUtilities' | |
364 | getOwnerFrame | |
365 | (ToolBarDialog): ditto. | |
366 | ||
367 | 2004-07-21 Kim Ho <kho@redhat.com> | |
368 | ||
369 | * javax/swing/JRootPane.java: | |
370 | Ran jalopy. | |
371 | (layoutContainer): Set the glasspane's size to | |
372 | be the same as the content pane. | |
373 | (createGlassPane): Set opaque property to false. | |
374 | ||
375 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
376 | ||
377 | * java/awt/Component.java (requestFocus()): Don't handle Panels | |
378 | specially. | |
379 | (requestFocus(boolean)): Likewise. | |
380 | (requestFocusInWindow(boolean)): Likewise. | |
381 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create): | |
382 | Set GTK_CAN_FOCUS flag. | |
383 | ||
384 | 2004-07-21 Kim Ho <kho@redhat.com> | |
385 | ||
386 | * Makefile.am: Added new file. | |
387 | * Makefile.in: Regenerated. | |
388 | * gcj/Makefile.in: Regenerated. | |
389 | * include/Makefile.in: Regenerated. | |
390 | * javax/swing/AbstractButton.java: | |
391 | Add rollOverEnabled property. | |
392 | (setRolloverEnabled): Use new property. | |
393 | (isRolloverEnabled): Use new property. | |
394 | * javax/swing/JTabbedPane.java: | |
395 | (setComponent): Remove useless JTabbedPane.this. | |
396 | * javax/swing/JToolBar.java: Finish implementation. | |
397 | * javax/swing/plaf/basic/BasicArrowButton.java: | |
398 | (paint): Moved border painting to a border. | |
399 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
400 | Change JToolBar look and feel defaults. | |
401 | * javax/swing/plaf/basic/BasicOptionPaneUI.java | |
402 | (actionPerformed): Return Integer index instead of name. | |
403 | (addButtonComponents): Check to see if component is | |
404 | JButton last. | |
405 | (createMessageArea): Don't use components that are not | |
406 | completed yet. | |
407 | (getIconForType): Use temporary icons. | |
408 | * javax/swing/plaf/basic/BasicSliderUI.java: | |
409 | (mousePressed): Do not return if it's on thumb. | |
410 | (paintMinorTickForHorizSlider): Use BLACK to paint ticks. | |
411 | (paintMinorTickForVertSlider): ditto. | |
412 | (paintMajorTickForHorizSlider): ditto. | |
413 | (paintMajorTickForVertSlider): ditto. | |
414 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java: | |
415 | Add a border around the SplitPaneDivider. | |
416 | * javax/swing/plaf/basic/BasicSplitPaneUI.java: | |
417 | Remove comments. | |
418 | * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java: | |
419 | New file. Implemented. | |
420 | * javax/swing/plaf/basic/BasicToolBarUI.java: | |
421 | Implemented. | |
422 | * testsuite/Makefile.in: Regenerated. | |
423 | ||
424 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
425 | ||
426 | * javax/swing/Timer.java (run): Queue events each time cycle. | |
427 | ||
428 | 2004-07-21 David Jee <djee@redhat.com> | |
429 | ||
430 | * gnu/java/awt/peer/gtk/GtkImagePainter.java | |
431 | (imageComplete): Call image.imageComplete(). | |
432 | * java/awt/image/MemoryImageSource.java: | |
433 | Reimplement consumers as a Vector instead of a Hashtable. This is | |
434 | because enumeration on a Hashtable is not thread-safe. | |
435 | (addConsumer): Adapt to Vector consumers. | |
436 | (isConsumer): Adapt to Vector consumers. | |
437 | (removeConsumer): Adapt to Vector consumers. | |
438 | (startProduction): Adapt to Vector consumers. Call imageComplete() | |
439 | with STATICIMAGEDONE flag instead of SINGLEFRAME flag. | |
440 | (newPixels): Adapt to Vector consumers. | |
441 | (sendPicture): Set the color model of the image consumer. | |
442 | (newPixels(IIII)): Adapt to Vector consumers. | |
443 | (newPixels(IIIIB)): Adapt to Vector consumers. | |
444 | ||
445 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
446 | ||
447 | * java/awt/Component.java (deliverEvent): Implement. | |
448 | (postEvent): Implement. | |
449 | (handleEvent): Implement. | |
450 | (translateEvent): New method. | |
451 | (dispatchEventImpl): Document. Add AWT 1.0 event handling. | |
452 | * java/awt/Container.java (deliverEvent): Implement. | |
453 | * java/awt/Event.java (paramString): Fix formatting. | |
454 | * java/awt/Font.java (toString): Likewise. | |
455 | * java/awt/Window.java (postEvent): Implement. | |
456 | ||
457 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
458 | ||
459 | * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent): | |
460 | Set window's focus owner upon receiving a FOCUS_LOST event. | |
461 | * java/awt/Window.java (Window()): Refocus the previously | |
462 | focused component within the window when the window regains the | |
463 | top-level focus. | |
464 | (setFocusOwner): New method. | |
465 | * java/awt/Component.java (requestFocus): Add FIXME. | |
466 | ||
467 | * libgcj.pc.in: Remove library flags. | |
468 | ||
469 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
470 | ||
471 | * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle | |
472 | MOUSE_PRESSED event. | |
473 | * java/awt/Component.java (requestFocus()): Handle Panel | |
474 | specially. Post FOCUS_LOST event on opposite component. | |
475 | (requestFocus(boolean)): Likewise. | |
476 | (requestFocusInWindow(boolean)): Likewise. | |
477 | (paramString): Reorder dimension fields. | |
478 | * java/awt/Container.java (paramString): Fix string format. | |
479 | * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent): | |
480 | Handle FOCUS_LOST events. Don't handle Windows specially. Only | |
481 | process key events if the focus owner is non-null. | |
482 | (dispatchKeyEvent): Likewise. | |
483 | * java/awt/Frame.java (paramString): Fix formatting. | |
484 | (generateName): New method. | |
485 | (getUniqueLong): Likewise. | |
486 | * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if | |
487 | the temporary focus owner is null. If so, return the permanent | |
488 | focus owner. | |
489 | * java/awt/Panel.java (generateName): New method. | |
490 | (getUniqueLong): Likewise. | |
491 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework | |
492 | signal handling to make callbacks more specific. | |
493 | ||
494 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
495 | ||
496 | * javax/swing/text/Position.java | |
497 | (Bias): Implemented. | |
498 | ||
499 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
500 | ||
501 | * javax/swing/LookAndFeel.java | |
502 | (provideErrorFeedback): New method. | |
503 | ||
504 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
505 | ||
506 | * javax/swing/JTextArea.java | |
507 | (tabSize): New field. | |
508 | (getTabSize): New method. | |
509 | (setTabSize): Likewise. | |
510 | ||
511 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
512 | ||
513 | * javax/swing/ActionMap.java: | |
514 | Fixed javadocs all over. | |
515 | (serialVersionUID): Made private. | |
516 | (parent): Don't explicitely initialize with default value. | |
517 | (get): SImplified. | |
518 | (keys): Reimplemented. | |
519 | (allKeys): Likewise. | |
520 | (convertSet): Removed. | |
521 | * javax/swing/ComponentInputMap.java: | |
522 | Fixed javadocs all over. | |
523 | (ComponentInputMap): Implemented. | |
524 | (put): Likewise. | |
525 | (clear): Likewise. | |
526 | (remove): Likewise. | |
527 | (SetParent): Likewise. | |
528 | (getComponent): Likewise. | |
529 | * javax/swing/InputMap.java: | |
530 | Fixed javadocs all over. | |
531 | (serialVersionUID): Made private. | |
532 | (parent): Don't explicitely initialize with default value. | |
533 | (get): SImplified. | |
534 | (keys): Reimplemented. | |
535 | (allKeys): Likewise. | |
536 | (convertSet): Removed. | |
537 | ||
538 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
539 | ||
540 | * javax/swing/ActionMap.java, | |
541 | javax/swing/ComponentInputMap.java, | |
542 | javax/swing/InputMap.java, | |
543 | javax/swing/table/DefaultTableColumnModel.java, | |
544 | javax/swing/table/TableColumn.java, | |
545 | javax/swing/table/TableColumnModel.java, | |
546 | javax/swing/table/TableModel.java, | |
547 | javax/swing/text/AbstractDocument.java, | |
548 | javax/swing/text/TextAction.java: | |
549 | Reformated. | |
550 | ||
551 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
552 | ||
553 | * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): | |
554 | Make method non-static. | |
555 | * javax/swing/AbstractButton.java: | |
556 | Rename fields to match property names where possible. | |
557 | (iconTextGap): New property. | |
558 | * javax/swing/JCheckBox.java: Match AbstractButton changes. | |
559 | (init) New method, call from after various constructors. | |
560 | * javax/swing/JComponent.java (revalidate): | |
561 | Invalidate before queueing repair. | |
562 | * javax/swing/JList.java (getPreferredScrollableViewportSize): | |
563 | Reimplement in terms of visibleRowCount property. | |
564 | * javax/swing/JMenuButton.java: Match AbstractButton changes. | |
565 | * javax/swing/JScrollPane.java (createScrollListener): | |
566 | Remove tracing chatter. | |
567 | * javax/swing/JToggleButton.java: Match AbstractButton changes. | |
568 | * javax/swing/RepaintManager.java (addInvalidComponent): | |
569 | Don't invalidate. | |
570 | * javax/swing/ScrollPaneLayout.java: Various corrections to layout | |
571 | calculations. | |
572 | * javax/swing/SwingUtilities.java (layoutCompoundLabel): | |
573 | Mimic sun behavior on top left/right positioning. | |
574 | * javax/swing/ViewportLayout.java (preferredLayoutSize): | |
575 | Remove mistaken use of preferredScrollableViewportSize here. | |
576 | (layoutContainer): Use view's preferred size as basis. | |
577 | * javax/swing/plaf/basic/BasicButtonUI.java: | |
578 | Set, get, and use textIconGap property. | |
579 | (paint) Paint text returned from layout (with ellipsis). | |
580 | * javax/swing/plaf/basic/BasicListUI.java: | |
581 | Remove tracing chatter, correct various minor calculations. | |
582 | (getCellBounds): Update layout state before calculating. | |
583 | * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin): | |
584 | Use margin default similar to sun's. | |
585 | * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon): | |
586 | (createIncreaseIcon): Center icon, minimize margins. | |
587 | (createDecreaseIcon): Likewise. | |
588 | * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults): | |
589 | Implement. | |
590 | (installUI): Call it. | |
591 | (uninstallDefaults): Implement. | |
592 | (uninstallUI): Call it. | |
593 | * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow): | |
594 | Call existing Window constructor. | |
595 | * javax/swing/plaf/basic/BasicViewportUI.java (paint): | |
596 | Set clip before painting. | |
597 | ||
598 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
599 | ||
600 | * javax/swing/JMenuItem.java: | |
601 | (processMouseEvent): Reimplemented to deal with | |
602 | mouse drag events. | |
603 | (createMenuDragMouseEvent): New private helper method. | |
604 | Creates MenuDragMouseEvent. | |
605 | * javax/swing/MenuSelectionManager.java | |
606 | (componentForPoint): Implemented. | |
607 | (isComponentPartOfCurrentMenu): Made public. | |
608 | (processMouseEvent): Reimplemented to deal with | |
609 | mouse drag events. | |
610 | (setSelectedPath): Corrected small mistake that caused | |
611 | path to be set incorrectly. | |
612 | (getPath): If given component is JMenu then also add this | |
613 | menu's popup menu to the selected path. | |
614 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
615 | (getPath): Ditto. | |
616 | (getPreferredSize): Call getPreferredMenuItemSize(). | |
617 | (getPreferredItemSize): Moved code from getPreferredSize to here. | |
618 | (installListeners): Install MouseMotionListeners. | |
619 | (MouseInputHandler): Pass mouse release event to MenuSelectionManager | |
620 | if mouse wasn't released in the bounds of this menu item. | |
621 | (MenuDragMouseHandler): Implemented. | |
622 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
623 | (installListeners): Install MouseMotionListener and | |
624 | MenuDrageMouseListener. | |
625 | (MenuDragMouseHandler): Implemented. | |
626 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
627 | (uninstallListeners): Implemented. | |
628 | ||
629 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
630 | ||
631 | * javax/swing/JCheckBox.java: Reformated. | |
632 | (JCheckBox): Fixed all constructors. | |
633 | (isBorderPaintedFlat): New method. | |
634 | (setBorderPaintedFlat): New method. | |
635 | * javax/swing/JEditorPane.java | |
636 | (createEditorKitForContentType): Made public. | |
637 | (scrollToReference): Likewise. | |
638 | * javax/swing/JTextArea.java | |
639 | (setLineWrap): Fire property change. | |
640 | * javax/swing/JToggleButton.java | |
641 | (JToggleButton): New constructor. | |
642 | (JToggleButton): Simplified. | |
643 | * javax/swing/text/AttributeSet.java | |
644 | (FontAttribute): Renamed from FontCharacterAttribute. | |
645 | * javax/swing/text/JTextComponent.java | |
646 | (KeyBinBinding): Added javadoc. | |
647 | (JTextComponent): Likewise. | |
648 | (getAccessibleContext): Fixed javadoc. | |
649 | * javax/swing/text/View.java | |
650 | (View): Added javadoc. | |
651 | * javax/swing/text/TabableView.java: New file. | |
652 | * Makefile.am: Added javax/swing/text/TabableView.java. | |
653 | * Makefile.in: Regenerated. | |
654 | ||
655 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
656 | ||
657 | * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter. | |
658 | * gnu/java/awt/peer/gtk/GtkToolkit.java | |
659 | (GtkErrorImage): New helper class. | |
660 | (bufferedImageOrError): New helper method. | |
661 | (createImage): Use it. | |
662 | ||
663 | 2004-07-21 David Jee <djee@redhat.com> | |
664 | ||
665 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c | |
666 | (setCaretPosition): Scroll the text view so the new caret position | |
667 | is visible on screen. | |
668 | ||
669 | 2004-07-21 David Jee <djee@redhat.com> | |
670 | ||
671 | * gnu/java/awt/peer/gtk/GtkContainerPeer.java | |
672 | (setBounds): Do not validate awtComponent here. | |
673 | * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java | |
674 | (getPreferredSize): New method. | |
675 | * java/awt/ScrollPane.java | |
676 | (ScrollPane): Set default size to 100x100. | |
677 | (addNotify): If child is not a Panel, wrap it with a new Panel. | |
678 | (paramString): Implement. | |
679 | ||
680 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
681 | ||
682 | * javax/swing/JMenu.java: | |
683 | (setSelected): Display popup menu only if this menu | |
684 | is showing on the screen. | |
685 | * javax/swing/JPopupMenu.java: | |
686 | (processMouseEvent): Added comment. | |
687 | (processKeyEvent): Likewise. | |
688 | * javax/swing/MenuSelectionManager.java: | |
689 | (clearSelectedPath): Only fireStateChanged() after | |
690 | selected path was changed, not before. | |
691 | (setSelectedPath): Likewise. | |
692 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
693 | (paintMenuItem): Corrected position of menu item's | |
694 | icon. | |
695 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
696 | (installUI): Correct setDefaultLightWeightPopupEnabled call. | |
697 | (popupMenuCanceled): Reimplemented. | |
698 | (popupMenuWillBecomeVisible): Select first menu item by default | |
699 | when displaying free floating popup menus. | |
700 | (TopWindowListener): Reimplemented. | |
701 | ||
702 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
703 | ||
704 | * java/awt/Panel.java (dispatchEventImpl): Override to prevent | |
705 | Panel from being painted twice when it is first shown. | |
706 | ||
707 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
708 | ||
709 | * java/awt/Window.java: Reverted changes from my | |
710 | previous patch for creating window without an owner. | |
711 | * javax/swing/SwingUtilities.java: | |
712 | (SwingUtilities.OwnerFrame): made static. | |
713 | (OwnerFrame.setVisible): New method. Overridden with | |
714 | empty implementation. | |
715 | (OwnerFrame.isShowing): New method. Ovverridden | |
716 | to return always true. | |
717 | ||
718 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
719 | ||
720 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
721 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
722 | (GtkComponentPeer): Remove temporary try/catch block. | |
723 | (setVisible): Call show and hide. | |
724 | (show): Make native. | |
725 | (hide): Likewise. | |
726 | (getArgs): Don't add "visible" argument. | |
727 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
728 | (property_notify_predicate): Return Bool instead of int. | |
729 | (find_layout): New function. | |
730 | (connectJObject): Call find_layout. | |
731 | (connectSignals): Likewise. | |
732 | (moveLayout): Likewise. | |
733 | (gtkLayoutSetVisible): Likewise. | |
734 | ||
735 | 2004-07-21 Mark Wielaard <mark@klomp.org> | |
736 | ||
737 | * java/awt/event/InvocationEvent.java (dispatch): Synchronize | |
738 | on notifier object before calling notifyAll(). | |
739 | ||
740 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
741 | ||
742 | * java/awt/Window.java: Changed constructors to use new | |
743 | method that is described below. Constructors call this | |
744 | methods only if newly created window should have an owner. | |
745 | (setWindowOwner): New method. Implementation for | |
746 | this method is moved from this(owner,configuration). | |
747 | * javax/swing/JWindow.java: | |
748 | (JWindow): Reimplement to use SwingUtilities.ownerFrame | |
749 | instead of owner. | |
750 | * javax/swing/SwingUtilities.java: | |
751 | (ownerFrame): Change type of this field to OwnerFrame. | |
752 | (getOwnerFrame): Changed to return object of type OwnerFrame. | |
753 | (SwingUtilities.OwnerFrame): New class. Represents owner | |
754 | of a Window that is not provided with one. | |
755 | ||
756 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
757 | ||
758 | * javax/swing/AbstractButton.java: | |
759 | (configurePropertiesFromAction): Set action command | |
760 | to button's text by default if action command is not | |
761 | explicitely specified. | |
762 | * javax/swing/JMenu.java: Remove unnecessary listener | |
763 | and methods relevant to it. | |
764 | (setSelected): Reimplemented. | |
765 | (menuSelectionChanged): Moved most part of implementation to | |
766 | setSelected() and call it instead. | |
767 | * javax/swing/JMenuItem.java: | |
768 | (init): Comment out statement that sets paint_border to false. | |
769 | (configurePropertiesFromAction): Do not set accelerator | |
770 | for JMenu. | |
771 | (menuSelectionChanged): Change selected index in the selection | |
772 | model of menu item's parent. | |
773 | * javax/swing/JPopupMenu.java: | |
774 | (remove): Set constraints.fill field to GridBagConstraints.BOTH | |
775 | instead of GridBagConstraints.HORIZONTAL. | |
776 | (insert): Likewise. | |
777 | (createActionChangeListener): Implemented. | |
778 | (setVisible): Correct location of HeavyWeightMenu and | |
779 | don't firePopupMenuCanceled(). | |
780 | (menuSelectionChanged): Implemented. | |
781 | (ActionChangeListener): New Listener. Implemented. | |
782 | * javax/swing/plaf/basic/BasicMenuBarUI.java: | |
783 | (BasicMenuBarUI.ContainerHandler): Implemented. | |
784 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
785 | (paintMenuItem): Uncommented out code that paints | |
786 | icon, now that icons are working properly. | |
787 | (PropertyChangeListener): Implemented. | |
788 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
789 | Added javadocs. | |
790 | (topWindowListener): New field. | |
791 | (Constructor): initialize topWindowListener. | |
792 | (BasicPopupMenuUI.TopWindowListener): Implemented. | |
793 | (BasicPopupMenuUI.PopupMenuHandler): Implemented. | |
794 | (BasicPopupMenuUI.TopWindowListener): New ComponentListener. | |
795 | Implemented. | |
8e99fb4f GH |
796 | |
797 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
798 | ||
799 | * javax/swing/plaf/basic/BasicButtonUI.java | |
800 | (paintFocus): Fixed method signature. | |
801 | (paintButtonPressed): Likewise. | |
802 | (paintButtonNormal): Likewise. | |
803 | (paintText): New method. | |
804 | * javax/swing/plaf/basic/BasicLabelUI.java | |
805 | (paint): Re-indented. | |
806 | * javax/swing/plaf/basic/BasicTextUI.java | |
807 | (installUI): Set parent textComponent to opaque. | |
808 | * javax/swing/text/DefaultHighlighter.java | |
809 | (checkPositions): New helper method. | |
810 | (addHighlight): Throws BadLocationException, check positions. | |
811 | (changeHighlight): Likewise. | |
812 | * javax/swing/text/EditorKit.java | |
813 | (EditorKit): Implements Serializable. | |
814 | * javax/swing/text/JTextComponent.java | |
815 | (getUI): Added javadoc. | |
816 | (setUI): Likewise. | |
817 | (upadteUI): Added javadoc, don't revalidate and repaint. | |
818 | ||
819 | 2004-07-21 David Jee <djee@redhat.com> | |
820 | ||
821 | * java/awt/GridBagLayout.java | |
822 | (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE. | |
823 | * javax/swing/AbstractButton.java | |
824 | (setText): Reindent. | |
825 | * javax/swing/RepaintManager.java | |
826 | (addInvalidComponent): Find the first ancestor that isValidateRoot(). | |
827 | ||
828 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
829 | ||
830 | * javax/swing/JFormattedTextField.java | |
831 | (value): New field. | |
832 | (JFormattedTextField): Implemented. | |
833 | (getValue): Likewise. | |
834 | (setValue): Likewise. | |
835 | * javax/swing/LookAndFeel.java | |
836 | (getSupportsWindowDecorations): New method. | |
837 | * javax/swing/UIDefaults.java: | |
838 | Use java.beans.PropertyChangeSupport instead of doing all ourself. | |
839 | (addPropertyChangeListener): Made public. | |
840 | (addResourceBundle): Likewise. | |
841 | (removeResourceBundle): Likewise. | |
842 | (setDefaultLocale): Likewise. | |
843 | * javax/swing/plaf/basic/BasicRootPaneUI.java | |
844 | (BasicRootPaneUI): Implements PropertyChangeListener. | |
845 | (propertyChange): New method. | |
846 | * javax/swing/plaf/basic/BasicTextUI.java | |
847 | (BasicHighlighter): New inner class. | |
848 | (createHighlighter): New method. | |
849 | * javax/swing/plaf/basic/BasicToolBarUI.java | |
850 | (DragWindow): Extends java.awt.Window. | |
851 | * javax/swing/text/JTextComponent.java | |
852 | (getDocument): Removed debug output. | |
853 | * javax/swing/plaf/basic/BasicTextFieldUI.java, | |
854 | javax/swing/text/DefaultHighlighter.java, | |
855 | javax/swing/text/FieldView.java, | |
856 | javax/swing/text/PlainView.java: New files. | |
857 | * Makefile.am: Added new files. | |
858 | * Makefile.in: Regenerated. | |
859 | ||
860 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
861 | ||
862 | * javax/swing/JEditorPane.java | |
863 | (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit. | |
864 | (createEditorKitForContentType): Likewise. | |
865 | * javax/swing/text/DefaultEditorKit.java | |
866 | (serialVersionUID): Added constant field. | |
867 | (EndOfLineStringPropery): Fixed typo. | |
868 | (DefaultEditorKit): New constructor. | |
869 | * javax/swing/text/Segment.java: | |
870 | Import java.text.CharacterIterator. | |
871 | * javax/swing/text/CharacterIterator.java, | |
872 | javax/swing/text/PlainEditorKit.java: Removed. | |
873 | * Makefile.am: Removed javax/swing/text/CharacterIterator.java and | |
874 | javax/swing/text/PlainEditorKit.java. | |
875 | * Makefile.in: Regenerated. | |
876 | ||
877 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
878 | ||
879 | * javax/swing/JButton.java, | |
880 | javax/swing/text/DefaultEditorKit.java, | |
881 | javax/swing/text/EditorKit.java, | |
882 | javax/swing/text/Segment.java, | |
883 | javax/swing/text/StyledEditorKit.java: | |
884 | Reformatted. | |
885 | ||
886 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
887 | ||
888 | * javax/swing/ImageIcon.java | |
889 | (file): Removed. | |
890 | (description): Renamed from descr. | |
891 | (ImageIcon): Added missing constructors. | |
892 | (setParent): Removed. | |
893 | (setImageObserver): New method. | |
894 | (getImageObserver): New method. | |
895 | (paintIcon): Handle observer = null. | |
896 | * javax/swing/JButton.java | |
897 | (removeNotify): Fixed javadoc. | |
898 | (updateUI): Simplified. | |
899 | * javax/swing/JRootPane.java | |
900 | (serialVersionUID): New constant field. | |
901 | * javax/swing/UIManager.java: | |
902 | Fixed javadocs all over. | |
903 | (setLookAndFeel): Throws UnsupportedLookAndFeelException. | |
904 | * javax/swing/text/AbstractDocument.java | |
905 | (createPosition): Throws BadLocationException. | |
906 | (getText): Likewise. | |
907 | (remove): Likewise. | |
908 | * javax/swing/text/ComponentView.java | |
909 | (modelToView): Likewise. | |
910 | * javax/swing/text/DefaultEditorKit.java: | |
911 | Made all public methods public. | |
912 | (read): Throws BadLocationException and IOException. | |
913 | (write): Likewise. | |
914 | * javax/swing/text/EditorKit.java: | |
915 | Made all public methods public. | |
916 | (serialVersionUID): New constant field. | |
917 | (clone): New method. | |
918 | (read): Throws BadLocationException and IOException. | |
919 | (write): Likewise. | |
920 | * javax/swing/text/Segment.java | |
921 | (array): Made public. | |
922 | (count): Likewise. | |
923 | (offset): Likewise. | |
924 | (Segment): New constructors. | |
925 | (clone): Reimplemented. | |
926 | * javax/swing/text/StyledEditorKit.java | |
927 | (serialVersionUID): New constant field. | |
928 | ||
929 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
930 | ||
931 | * java/awt/image/BufferedImage.java | |
932 | (getSource): Implement. | |
933 | * javax/swing/ImageIcon.java | |
934 | (ImageIcon): Implement ctor. | |
935 | * javax/swing/ScrollPaneLayout.java | |
936 | (preferredLayoutSize): Be more careful about nulls. | |
937 | ||
938 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
939 | ||
940 | * javax/swing/text/AttributeSet.java | |
941 | (CharacterAttribute): New interface | |
942 | (ColorAttribute): Likewise. | |
943 | (FontCharacterAttribute): Likewise. | |
944 | (ParagraphAttribute): Likewise. | |
945 | * javax/swing/text/DefaultCaret.java | |
946 | (moveCaret): New method. | |
947 | (positionCaret): Likewise. | |
948 | (repaint): Made protected. | |
949 | * javax/swing/text/JTextComponent.java | |
950 | (KeyBinding): Made it static. | |
951 | * javax/swing/text/View.java | |
952 | (getContainer): Honor parent == null. | |
953 | ||
954 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
955 | ||
956 | * javax/swing/text/AbstractDocument.java: | |
957 | Reformatted. | |
958 | ||
959 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
960 | ||
961 | * javax/swing/plaf/basic/BasicRootPaneUI.java: | |
962 | Import javax.swing.UIManager explicitely. | |
963 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
964 | (ScrollingButton): Made it static. | |
965 | ||
966 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
967 | ||
968 | * javax/swing/UIDefaults.java | |
969 | (ActiveValue): Made public. | |
970 | (LazyValue): Likewise. | |
971 | * javax/swing/plaf/basic/BasicTextUI.java | |
972 | (RootView): Reintroduced. | |
973 | (view): Removed. | |
974 | (rootView): New field. | |
975 | (installUI): Create document if needed, initialize rootView. | |
976 | (uninstallUI): Hanle rootView. | |
977 | (paint): Likewise. | |
978 | (getRootView): Likewise. | |
979 | (setView): Likewise. | |
980 | * javax/swing/text/DefaultCaret.java: | |
981 | Renamed all "evt" variables to "event". | |
982 | ||
983 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
984 | ||
985 | * libgcj.spec.in: Add -l-java-util-logging. | |
986 | ||
987 | 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch> | |
988 | ||
989 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
990 | (init_dpi_conversion_factor): Check for int_dpi < 0 in case | |
991 | gtk-xft-dpi can no calculate the right value. | |
992 | (dpi_changed_cb): Mark *pspec as unsused. | |
993 | ||
994 | 2004-07-21 David Jee <djee@redhat.com> | |
995 | ||
996 | * java/awt/Component.java | |
997 | (move): Delegate to setBounds(). | |
998 | (resize): Likewise. | |
999 | (reshape): Fix so it repaints parent and self only when necessary. | |
1000 | ||
1001 | 2004-07-21 David Jee <djee@redhat.com> | |
1002 | ||
1003 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
1004 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
1005 | (GtkComponentPeer): Revert previous patch from 2004-06-22. | |
1006 | (setVisible): Likewise. | |
1007 | (show): Likewise. | |
1008 | (hide): Likewise. | |
1009 | (getArgs): Likewise. | |
1010 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
1011 | (property_notify_predicate): Likewise. | |
1012 | (find_layout): Likewise. | |
1013 | (connectJObject): Likewise. | |
1014 | (connectSignals): Likewise. | |
1015 | (moveLayout): Likewise. | |
1016 | (gtkLayoutSetVisible): Likewise. | |
1017 | ||
1018 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
1019 | ||
1020 | * Makefile.am | |
1021 | (jv_convert_LDADD): | |
1022 | (gij_LDADD): | |
1023 | (rmic_LDADD): | |
1024 | (rmiregistry_LDADD): Add lib-java-util-logging.la | |
1025 | * Makefile.in: Regenerate. | |
1026 | ||
1027 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1028 | ||
1029 | * javax/swing/text/AbstractDocument.java | |
1030 | (replace): Dont use protected method of java.util.Vector directly. | |
1031 | ||
1032 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1033 | ||
1034 | * javax/swing/plaf/basic/BasicTextUI.java | |
1035 | (installUI): Call specialized install methods. | |
1036 | (installDefaults): New method. | |
1037 | (installListeners): Likewise. | |
1038 | (installKeyboardActions): Likewise. | |
1039 | (uninstallUI): Likewise. | |
1040 | (uninstallDefaults): New method. | |
1041 | (uninstallListeners): Likewise. | |
1042 | (uninstallKeyboardActions): Likewise. | |
1043 | (getPropertyPrefix): New abstract method. | |
1044 | (paint): Made final, just call paintSafely(). | |
1045 | (paintSavely): New method. | |
1046 | (paintBackground): Likewise. | |
1047 | (getVisibleEditorRect): Likewise. | |
1048 | * javax/swing/text/LayeredHighlighter.java, | |
1049 | javax/swing/text/TabExpander.java: New files. | |
1050 | * Makefile.am: Added javax/swing/text/LayeredHighlighter.java | |
1051 | and javax/swing/text/TabExpander.java. | |
1052 | * Makefile.in: Regenerated. | |
1053 | ||
1054 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1055 | ||
1056 | * javax/swing/plaf/basic/BasicTextUI.java | |
1057 | (BasicTextUI): Made abstract. | |
1058 | (BasicCaret): New inner class. | |
1059 | (view): Don't explicitely initialize with "null". | |
1060 | (textComponent): New field. | |
1061 | (textColor): Removed. | |
1062 | (disabledTextColor): Removed. | |
1063 | (normalBackgroundColor): Removed. | |
1064 | (RootView): Removed commented out inner class. | |
1065 | (createUI): Removed. | |
1066 | (createCaret): New method. | |
1067 | (getComponent): Likewise. | |
1068 | (installUI): Initialize textComponent only. | |
1069 | (getPreferredSize): Use installed JTextComponent. | |
1070 | (setView): New method. | |
1071 | (create): Likewise. | |
1072 | * javax/swing/text/JTextComponent.java | |
1073 | (highlighter): New field. | |
1074 | (caretColor): Likewise. | |
1075 | (disabledTextColor): Likewise. | |
1076 | (seletedTextColor): Likewise. | |
1077 | (selectionColor): Likewise. | |
1078 | (setUI): New method. | |
1079 | (getCaretColor): Likewise. | |
1080 | (setCaretColor): Likewise. | |
1081 | (getDisabledColor): Likewise. | |
1082 | (setDisabledColor): Likewise. | |
1083 | (getSelectedTextColor): Likewise. | |
1084 | (setSelectedTextColor): Likewise. | |
1085 | (getSelectionColor): Likewise. | |
1086 | (setSelectionColor): Likewise. | |
1087 | (getHighlighter): Likewise. | |
1088 | (setHighlighter): Likewise. | |
1089 | (replaceSelection): Likewise. | |
1090 | ||
1091 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1092 | ||
1093 | * javax/swing/plaf/basic/BasicScrollPaneUI.java | |
1094 | (BasicScrollPaneUI): Implements ScrollPaneConstants. | |
1095 | * javax/swing/plaf/basic/BasicToolBarUI.java | |
1096 | (BasicToolBarUI): Implements SwingConstants. | |
1097 | ||
1098 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1099 | ||
1100 | * javax/swing/JPopupMenu.java: Removed CVS tags. | |
1101 | * javax/swing/UIDefaults.java: Reformatted. | |
1102 | * javax/swing/plaf/basic/BasicRootPaneUI.java: | |
1103 | Explicitely import used classes. | |
1104 | ||
1105 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
1106 | ||
1107 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
1108 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
1109 | (GtkComponentPeer): Remove temporary try/catch block. | |
1110 | (setVisible): Call show and hide. | |
1111 | (show): Make native. | |
1112 | (hide): Likewise. | |
1113 | (getArgs): Don't add "visible" argument. | |
1114 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
1115 | (property_notify_predicate): Return Bool instead of int. | |
1116 | (find_layout): New function. | |
1117 | (connectJObject): Call find_layout. | |
1118 | (connectSignals): Likewise. | |
1119 | (moveLayout): Likewise. | |
1120 | (gtkLayoutSetVisible): Likewise. | |
1121 | ||
1122 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
1123 | ||
1124 | * javax/swing/AbstractButton.java: | |
1125 | (setDisplayedMnemonicIndex): Check if button | |
1126 | text is not null before checking its length. | |
1127 | * javax/swing/JMenuItem.java: | |
1128 | (processMouseEvent): Disarm menu item if mouse has | |
1129 | exited it. | |
1130 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
1131 | (MouseInputHandler.mouseEntered): Do not raise | |
1132 | popup menu if this menu is already selected. | |
1133 | (MouseInputHandler.mousePressed): Do not fire | |
1134 | MenuEvents. | |
1135 | (MenuHandler): Implemented. | |
1136 | ||
1137 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
1138 | ||
1139 | * javax/swing/JCheckBoxMenuItem.java: Added Javadoc. | |
1140 | (getSelectedObjects): Implemented. | |
1141 | * javax/swing/JRadioButtonMenuItem.java: Added Javadoc. | |
1142 | * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: | |
1143 | Added javadoc for few methods. | |
1144 | (processMouseEvent): Made public. | |
1145 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java | |
1146 | (processMouseEvent): Likewise. | |
1147 | ||
1148 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
1149 | ||
1150 | * javax/swing/AbstractButton.java: | |
1151 | (init): Set display mnemonic index to -1. | |
1152 | (setMnemonic(char)): Use setMnemonic(int). | |
1153 | (setMnemonic(int)): Set display mnemonic index. | |
1154 | (getDisplayedMnemonicIndex): Change method signature | |
1155 | by removing 'index' parameter. | |
1156 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
1157 | Added default for Menu.selectionBackground. | |
1158 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
1159 | (paintMenuItem): Change background color of the selected | |
1160 | menu item. | |
1161 | (paintText): Paint differently when menu item is disabled. | |
1162 | Also paint mnemonic if it appears in the menu item's label. | |
1163 | (paintAccelerator): Paint accelerator differently | |
1164 | if menu item is disabled. | |
1165 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
1166 | (installDefaults): Install defaults for | |
1167 | selectionForeground and selectionBackground. | |
1168 | (uninstallDefaults): Uninstall defauls for | |
1169 | selectionForeground and selectionBackground. | |
1170 | ||
1171 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1172 | ||
1173 | * javax/swing/text/AbstractDocument.java | |
1174 | (BranchElement): Implemented. | |
1175 | (LeafElement): Implemented. | |
1176 | * javax/swing/text/DefaultCaret.java: | |
1177 | Import used classes. | |
1178 | (serialVersionUID): New constant. | |
1179 | * javax/swing/text/JTextComponent.java | |
1180 | (AccessibleJTextComponent): Removed dead declaration. | |
1181 | (caretPos): Removed. | |
1182 | (setCaret): New method. | |
1183 | * javax/swing/text/PlainDocument.java | |
1184 | (rootElement): New field. | |
1185 | (PlainDocument): Initialize rootElement. | |
1186 | (createDefaultRoot): New method. | |
1187 | (getDefaultRootElement): Implemented. | |
1188 | * javax/swing/text/View.java: Reformatted. | |
1189 | * javax/swing/text/ViewFactory.java | |
1190 | (create): Added javadoc. | |
1191 | ||
1192 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1193 | ||
1194 | * javax/swing/ToolTipManager.java: Reformatted. | |
1195 | ||
1196 | 2004-07-21 Rodimina Olga <rodimina@redhat.com> | |
1197 | ||
1198 | * javax/swing/AbstractButton.java | |
1199 | (changeEvent): New field. | |
1200 | (fireItemStateChanged): Change source of the event | |
1201 | to 'this' before firing it to button listeners. | |
1202 | (fireActionPerformed): Likewise. | |
1203 | (fireStateChanged): Likewise. | |
1204 | (createActionListener): Do not set source | |
1205 | of the event to AbstractButton. | |
1206 | * javax/swing/plaf/basic/BasicMenuBarUI.java: | |
1207 | (ContainerHandler.componentAdded): Removed | |
1208 | print out statement. | |
1209 | (ContainerHandler.componentRemoved): Likewise. | |
1210 | ||
1211 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1212 | ||
1213 | * javax/swing/text/Highlighter.java: New file. | |
1214 | * Makefile.am: Added javax/swing/text/Highlighter.java. | |
1215 | * Makefile.in: Regenerated. | |
1216 | ||
1217 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1218 | ||
1219 | * javax/swing/ToolTipManager.java | |
1220 | (stillInsideTimerAction): Fixed constructor arguments. | |
1221 | (outsideTimerAction): Likewise. | |
1222 | (insideTimerAction): Likewise. | |
1223 | ||
1224 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1225 | ||
1226 | * javax/swing/JButton.java: Reformatted. | |
1227 | * javax/swing/JFormattedTextField.java | |
1228 | (getUIClassID): Implemented. | |
1229 | * javax/swing/JRootPane.java | |
1230 | (serialVersionUID): New constant. | |
1231 | * javax/swing/JTextField.java | |
1232 | (align): New field. | |
1233 | (JTextField): Simplified. | |
1234 | (getUIClassID): New method. | |
1235 | (getActionListeners): Added @since tag. | |
1236 | (setColumns): Invalidate layout and repaint. | |
1237 | (getHorizontalAlignment): New method. | |
1238 | (setHorizontalAlignment): New method. | |
1239 | (selectAll): Removed. | |
1240 | * javax/swing/SwingUtilities.java | |
1241 | (getAncestorOfClass): Removed redundant @see tag. | |
1242 | (isLeftMouseButton): Fixed implementation. | |
1243 | (isMiddleMouseButton): Likewise. | |
1244 | (isRightMouseButton): Likewise. | |
1245 | * javax/swing/text/AbstractDocument.java | |
1246 | (AttributeContext.addAttribute): New method. | |
1247 | (AttributeContext.addAttributes): New method. | |
1248 | (AttributeContext.getEmptySet): New method. | |
1249 | (AttributeContext.reclaim): New method. | |
1250 | (AttributeContext.removeAttribute): New method. | |
1251 | (AttributeContext.removeAttributes): New method. | |
1252 | * javax/swing/text/Document.java | |
1253 | (createPosition): Throws BadLocationException. | |
1254 | (getText): Likewise. | |
1255 | (remove): Likewise. | |
1256 | * javax/swing/text/JTextComponent.java | |
1257 | (getText): Return null if no document is set. Catch | |
1258 | BadLocationException. | |
1259 | (getUI): Return ui. | |
1260 | (updateUI): Simplified. | |
1261 | ||
1262 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1263 | ||
1264 | * javax/swing/JButton.java | |
1265 | (removeNotify): Fixed javadoc. | |
1266 | (updateUI): Simplified. | |
1267 | ||
1268 | 2004-07-21 David Jee <djee@redhat.com> | |
1269 | ||
1270 | * gnu/java/awt/image/ImageDecoder.java | |
1271 | (startProduction): Only add consumer if it's not added yet. | |
1272 | * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java | |
1273 | (GdkPixbufDecoder): Don't call initState() here. | |
1274 | (produce): Call initState() here, to ensure area_prepared and | |
1275 | area_updated signals are properly connected. | |
1276 | * gnu/java/awt/peer/gtk/GtkImage.java | |
1277 | (setColorModel): Use equals() to compare ColorModel objects. | |
1278 | (setPixels): Likewise. | |
1279 | * java/awt/image/ColorModel.java | |
1280 | (equals): Fix typo. Use Arrays.equals() to compare int arrays. | |
1281 | * java/awt/image/RGBImageFilter.java | |
1282 | (setColorModel): Set consumer's color model. | |
1283 | (setPixels): Use equals() to compare ColorModel objects. | |
1284 | ||
eecbcf54 BM |
1285 | 2004-07-21 Bryce McKinlay <mckinlay@redhat.com> |
1286 | ||
1287 | * java/net/URLConnection.java (position): New field. | |
1288 | (dateFormat1, dateFormat2, dateFormat3): Removed. | |
1289 | (dateFormats): New field. | |
1290 | (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition | |
1291 | each time instead of re-allocating. | |
1292 | (initializeDateFormats): Initialize 'dateFormats'. | |
1293 | ||
f82bb1be BM |
1294 | 2004-07-20 Bryce McKinlay <mckinlay@redhat.com> |
1295 | ||
1296 | PR libgcj/16591 | |
1297 | * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS | |
1298 | is defined. | |
1299 | ||
f6bbce40 BM |
1300 | 2004-07-20 Bryce McKinlay <mckinlay@redhat.com> |
1301 | ||
1302 | * java/net/Socket.java (getImpl): Now private. Remove comment. | |
1303 | ||
8246c778 BM |
1304 | 2004-07-20 Bryce McKinlay <mckinlay@redhat.com> |
1305 | ||
1306 | * java/io/BufferedWriter.java (BufferedWriter): Use existing lock | |
1307 | of chained Writer when calling super-constructor. | |
1308 | * java/io/FilterWriter.java (FilterWriter): Likewise. | |
1309 | * java/io/PrintWriter.java (PrintWriter): Likewise. | |
1310 | ||
b4ffdef7 BM |
1311 | 2004-07-19 Bryce McKinlay <mckinlay@redhat.com> |
1312 | ||
1313 | * prims.cc (process_gcj_properties): Don't increment i within LHS | |
1314 | of assignment. | |
1315 | ||
963ddbd5 PB |
1316 | 2004-07-19 Per Bothner <per@bothner.com> |
1317 | ||
1318 | Print -verbose:message on "loading", not initialization. | |
1319 | * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order. | |
1320 | * defineclass.cc (_Jv_ClassReader::parse): Print message if | |
1321 | gcj::verbose_class_flag. | |
1322 | * java/lang/natClass.cc (initializeClass): Don't print message here. | |
1323 | * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was | |
1324 | _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message. | |
1325 | (_Jv_PrepareCompiledClass): Likewise. | |
1326 | ||
60557047 MK |
1327 | 2004-07-18 Matthias Klose <doko@debian.org> |
1328 | ||
1329 | * configure.in: Substitute target_noncanonical. | |
1330 | * configure: Regenerate | |
1331 | ||
1792f52d MK |
1332 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
1333 | ||
1334 | * java/lang/String.java: Fixed javadocs all over. | |
1335 | ||
baa61e09 MK |
1336 | 2004-07-17 Mark Wielaard <mark@klomp.org> |
1337 | ||
1338 | * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate | |
1339 | when size is smaller. | |
1340 | * java/io/RandomAccessFile.java (setLength): Use truncate for | |
1341 | shrinking the file and seek plus write for expanding the file. | |
1342 | ||
1343 | 2004-07-17 Michael Koch <konqueror@gmx.de> | |
1344 | ||
1345 | * gnu/java/nio/channels/natFileChannelPosix.cc | |
1346 | (implTruncate): Always save current position. Only reposition file | |
1347 | pointer to where we started if not beyond new lenght. Reposition file | |
1348 | pointer to file length if it points beyond the end of file. | |
1349 | ||
6fd3cc05 MW |
1350 | 2004-07-17 Mark Wielaard <mark@klomp.org> |
1351 | ||
1352 | * javax/swing/Box.java: Put FIXME comment above class declaration. | |
1353 | * javax/swing/JButton.java: Remove illegal L&F HTML from comments. | |
1354 | * javax/swing/JCheckBox.java: Likewise. | |
1355 | * javax/swing/JDialog.java: Likewise. | |
1356 | * javax/swing/JRadioButton.java: Likewise. | |
1357 | * javax/swing/JToggleButton.java: Likewise. | |
1358 | * javax/swing/UIManager.java: Likewise. | |
1359 | * javax/swing/border/TitledBorder.java: Likewise. | |
1360 | * javax/swing/plaf/basic/BasicLabelUI.java: Likewise. | |
1361 | * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise. | |
1362 | * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise. | |
1363 | * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise. | |
1364 | * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise. | |
1365 | * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise. | |
1366 | * javax/swing/text/JTextComponent.java: Likewise. | |
1367 | ||
320e32f6 MK |
1368 | 2004-07-17 Jeroen Frijters <jeroen@frijters.net> |
1369 | ||
1370 | * java/net/DatagramPacket.java (setAddress): Removed check for | |
1371 | null address. | |
1372 | ||
1373 | 2004-07-17 Michael Koch <konqueror@gmx.de> | |
1374 | ||
1375 | * java/net/DatagramSocket.java | |
1376 | (getLocalAddress): Check if socket is bound or not. | |
1377 | * java/net/Socket.java | |
1378 | (getLocalAddrss): Check if socket is bound or not. | |
1379 | (getPort): Return -1 when not connected. Dont check getImpl() for | |
1380 | null. | |
1381 | (setReuseAddress): Check if socket is closed. | |
1382 | (isConnected): Check if getImpl() returns null. | |
1383 | ||
10c383a4 MW |
1384 | 2004-07-17 Mark Wielaard <mark@klomp.org> |
1385 | ||
1386 | * java/awt/event/InvocationEvent.java (dispatch): Synchronize | |
1387 | on notifier object before calling notifyAll(). | |
1388 | ||
2ccc5a95 MK |
1389 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
1390 | ||
1391 | * gnu/java/nio/channels/FileChannelImpl.java | |
1392 | (finalize): Added javadoc. | |
1393 | ||
61ce29b1 GL |
1394 | 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org> |
1395 | ||
1396 | * java/text/CollationElementIterator.java | |
1397 | (text_decomposition): Changed type to RuleBasedCollator.CollationElement[] | |
1398 | (setText): Use ArrayList instead of Vector. | |
1399 | ||
651ba822 MK |
1400 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
1401 | ||
1402 | * java/nio/ByteOrder.java | |
1403 | (static): Removed. Not needed. | |
1404 | Thanks to Patrick Reali for noticing. | |
1405 | * java/nio/charset/CharsetDecoder.java | |
1406 | (decode): Fix for classpath bug #9177: Reset state before flipping. | |
1407 | ||
e3fe5b9c MK |
1408 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
1409 | ||
1410 | * java/security/Security.java: Fixed javadocs all over. | |
1411 | ||
316a1df4 MK |
1412 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
1413 | ||
1414 | * gnu/java/awt/EmbeddedWindow.java | |
1415 | (static): Removed. | |
1416 | (addNotify): Set peer via reflection. | |
1417 | (setWindowPeer): Removed. | |
1418 | * gnu/java/awt/natEmbeddedWindow.cc: Removed. | |
1419 | * Makefile.am (nat_source_files): | |
1420 | Removed gnu/java/awt/natEmbeddedWindow.cc. | |
1421 | * Makefile.in: Regenerated. | |
1422 | ||
c0f43fa7 RE |
1423 | 2004-07-17 Richard Earnshaw <rearnsha@arm.com> |
1424 | ||
1425 | * configure.in(ZIP, GCJH): Remove white space around '=' in variable | |
1426 | assignment. | |
1427 | * configure: Regenerated. | |
1428 | ||
4c86f325 NN |
1429 | 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org> |
1430 | ||
b764adea NN |
1431 | * configure.in: Use build_noncanonical rather than build_alias. |
1432 | * configure: Rebuild. | |
1433 | ||
f11d297f NN |
1434 | * configure.in: Eliminate CANADIAN and NULL_TARGET variables |
1435 | by logic refactoring. Move default definition of NATIVE closer | |
1436 | to first alternate definition. | |
1437 | * configure: Regenerate. | |
1438 | ||
4c86f325 NN |
1439 | * Makefile.am: Set ZIP and GCJH directly using autoconf. |
1440 | * Makefile.in, include/Makefile.in, testsuite/Makefile.in, | |
1441 | gcj/Makefile.in: Regenerate. | |
1442 | * configure.in: Set ZIP and GCJH. Remove redundant condition | |
1443 | in AM_CONDITIONAL(NATIVE,...) | |
1444 | * configure: Regenerate. | |
1445 | ||
bc03b358 NN |
1446 | 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org> |
1447 | ||
ed2e3d33 NN |
1448 | * configure.in: Use target_noncanonical rather than |
1449 | target_alias for forward-compatibility with autoconf 2.59. | |
1450 | * configure: Regenerate. | |
1451 | * Makefile.am, gcj/Makefile.am, include/Makefile.am, | |
1452 | testsuite/Makefile.am: Substitute target_noncanonical. | |
1453 | * Makefile.in, gcj/Makefile.in, include/Makefile.in, | |
1454 | testsuite/Makefile.in: Regenerate. | |
1455 | ||
bc03b358 NN |
1456 | * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM. |
1457 | Introduce _GCC_TOPLEV_NONCANONICAL_TARGET. | |
1458 | * acinclude.m4: Include acx.m4. | |
1459 | * aclocal.m4: Regenerate. | |
1460 | * configure: Regenerate. | |
1461 | ||
cbd7a79b BM |
1462 | 2004-07-15 Bryce McKinlay <mckinlay@redhat.com> |
1463 | ||
1464 | PR libgcj/16574 | |
1465 | * java/sql/Timestamp.java (dateFormat): Renamed from sdf. | |
1466 | (decimalFormat): New static variable. | |
1467 | (sbuf): Likewise. | |
1468 | (getTime): New. Override Date.getTime(). | |
1469 | (toString): Synchronize. Use decimalFormat to format nanos value | |
1470 | correctly. Truncate extra zeros. | |
1471 | (before): Compare getNanos() only if getTime() is equal. | |
1472 | (after): Likewise. | |
1473 | ||
b2281cb3 NN |
1474 | 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org> |
1475 | ||
36609570 NN |
1476 | * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into... |
1477 | * configure.in: ...here. | |
1478 | * aclocal.m4: Regenerate. | |
1479 | * configure: Regenerate. | |
1480 | ||
b2281cb3 NN |
1481 | * aclocal.m4: Rebuilt with aclocal gcj-1.4. |
1482 | * configure: Rebuilt with autoconf 2.13. | |
1483 | * Makefile.in, gcj/Makefile.in, include/Makefile.in, | |
1484 | testsuite/Makefile.in: Rebuilt with automake gcj-1.4. | |
1485 | ||
b845ed9f BM |
1486 | 2004-07-14 Bryce McKinlay <mckinlay@redhat.com> |
1487 | ||
1488 | PR libgcj/16204 | |
1489 | * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable | |
1490 | large file support. | |
1491 | * Makefile.in: Rebuilt. | |
1492 | * testsuite/libjava.lang/LargeFile.java: New test case. | |
1493 | * testsuite/libjava.lang/LargeFile.out: New file. | |
1494 | ||
ade1907d JQ |
1495 | 2004-07-14 Jerry Quinn <jlquinn@optonline.net> |
1496 | ||
1497 | * java/beans/EventHandler.java: Remove debugging statements. | |
1498 | ||
12e8e7ea JQ |
1499 | 2004-07-14 Jerry Quinn <jlquinn@optonline.net> |
1500 | ||
1501 | * java/beans/EventHandler.java: New file. | |
1502 | * Makefile.am (awt_java_source_files): Add EventHandler.java. | |
1503 | * Makefile.in, gcj/Makefile.in, include/Makefile.in, | |
1504 | testsuite/Makefile.in: Regenerate. | |
1505 | ||
7cb73054 AT |
1506 | 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch> |
1507 | ||
1508 | * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation | |
1509 | flag to the gcj_setup. | |
1510 | (gcj_jacks_run): Check tclsh version and launch jacks directly with | |
1511 | the tclsh. | |
1512 | * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the | |
1513 | deprecation flag change. 58 XFAILS removed. | |
1514 | ||
220a826e UW |
1515 | 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com> |
1516 | ||
1517 | * configure.host (DIVIDESPEC) [s390*-*-*]: Set to | |
1518 | -fno-use-divide-subroutine. | |
1519 | * include/s390-signal.h: Include <ucontext.h> and <limits.h>. | |
1520 | (HANDLE_FPE): Define. | |
1521 | (SIGNAL_HANDLER): Change third argument to ucontext_t *. | |
1522 | (struct old_s390_kernel_sigaction): Likewise for k_sa_handler. | |
1523 | (HANDLE_DIVIDE_OVERFLOW): Define. | |
1524 | ||
c1b4f64d MK |
1525 | 2004-07-14 Michael Koch <konqueror@gmx.de> |
1526 | Matthias Klose <doko@debian.org> | |
1527 | ||
12e8e7ea | 1528 | * java/awt/im/InputContext.java: Initialize in, line. |
c1b4f64d | 1529 | |
5549179f UW |
1530 | 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com> |
1531 | ||
1532 | * interpret.cc (run): Correctly access libffi return values of | |
1533 | integral smaller-than-int type; these are implicitly promoted. | |
1534 | ||
6187fd28 BM |
1535 | 2004-07-13 Bryce McKinlay <mckinlay@redhat.com> |
1536 | ||
1537 | PR libgcj/7587 | |
1538 | * interpret.cc (compile_mutex): New. | |
1539 | (_Jv_InitInterpreter): New. Initialize compile_mutex. | |
1540 | (run): Lock compile_mutex before calling compile() if compilation is | |
1541 | required. | |
1542 | * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter(). | |
1543 | * include/java-interp.h (_Jv_InitInterpreter): Declare. | |
1544 | ||
7a1c3d48 BM |
1545 | 2004-07-12 Bryce McKinlay <mckinlay@redhat.com> |
1546 | ||
1547 | PR libgcj/15713 | |
1548 | * include/jvm.h (_Jv_value): New union type. | |
1549 | * gcj/field.h (_Jv_Field): Add new _addr union field variants | |
1550 | * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field | |
1551 | union members. | |
1552 | ||
717b2091 SG |
1553 | 2004-07-12 Scott Gilbertson <scottg@mantatest.com> |
1554 | ||
1555 | * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement. | |
1556 | * gnu/awt/xlib/XOffScreenImage.java | |
1557 | (XOffScreenImage): Add ImageConsumer interface. Add ColorModel | |
1558 | constructor argument. Add constructor using ImageProducer. | |
1559 | (getSource): Implement. | |
1560 | (imageComplete): New method. | |
1561 | (setColorModel): New method. | |
1562 | (setDimensions): New method. | |
1563 | (setHints): New method. | |
1564 | (setPixels): New method. | |
1565 | (setProperties): New method. | |
1566 | * gnu/gcj/xlib/GC.java (drawPoint): New native method. | |
1567 | * gnu/gcj/xlib/natGC.cc (drawPoint): New native method. | |
1568 | ||
31a7b755 BM |
1569 | 2004-07-11 Bryce McKinlay <mckinlay@redhat.com> |
1570 | ||
abd1b60d | 1571 | PR libgcj/16478 |
31a7b755 BM |
1572 | * prims.cc (_Jv_CreateJavaVM): Fix comment. |
1573 | * gnu/gcj/runtime/FinalizerThread.java (init): New. Native. | |
1574 | (finalizerReady): Now native. | |
1575 | (run): Likewise. | |
1576 | (runFinalizers): Removed. | |
1577 | * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use | |
1578 | a primitive lock, and don't hold it while running the finalizers. | |
1579 | (runFinalizers): Implement. Don't aquire any Java lock. | |
1580 | (finalizerReady): Use lock primitives to signal finalizer thread. | |
1581 | ||
eeb32988 MW |
1582 | 2004-07-11 Mark Wielaard <mark@klomp.org> |
1583 | ||
1584 | Reported by Roman Kennke <roman@ontographics.com> (bug #9331) | |
1585 | * java/net/URLStreamHandler.java (parseURL): When url file part | |
1586 | doesn't contain a '/' just ignore context. | |
1587 | ||
bbb362e6 UW |
1588 | 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com> |
1589 | ||
1590 | * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype. | |
1591 | (struct old_s390_kernel_sigaction): Likewise for k_sa_handler. | |
1592 | (MAKE_THROW_FRAME): Do not modify PSW address. | |
1593 | (INIT_SEGV): Install SIGINFO-style signal handler. | |
1594 | (INIT_FPE): Likewise. | |
1595 | ||
33dc5b0b BM |
1596 | 2004-07-10 Bryce McKinlay <mckinlay@redhat.com> |
1597 | ||
1598 | * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current | |
1599 | status. 21 xfail's removed, 1 added. | |
1600 | ||
a4548f27 BM |
1601 | 2004-07-10 Bryce McKinlay <mckinlay@redhat.com> |
1602 | ||
1603 | * gcj/javaprims.h: Regenerate CNI namespace definitions. | |
1604 | ||
8f0ce8da IK |
1605 | 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org> |
1606 | ||
1607 | * java/text/MessageFormat.java | |
1608 | (formatInternal): Append "{n}" if argument n is unavailable. | |
1609 | (format(Object, StringBuffer, FieldPosition)): This | |
1610 | should be equivalent to format(Object[], | |
1611 | StringBuffer, FieldPosition). | |
1612 | ||
3ee7acd1 BM |
1613 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
1614 | ||
1615 | * java.util.Calendar.java (cache): New private static field. Cached | |
1616 | mappings of locales->calendar classes. | |
1617 | (ctorArgTypes): New private static field. Singleton argument for | |
1618 | calendar class constructor lookup. | |
1619 | (getInstance): Cache Locale->Calendar class mappings using HashMap. | |
1620 | Optimize by bypassing reflection instantiation for the | |
1621 | GregorianCalendar case. | |
1622 | ||
284d6a1f BM |
1623 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
1624 | ||
1625 | * java/util/Calendar.java: Use getSystemClassLoader as argument for | |
1626 | ResourceBundle.getBundle() calls. | |
1627 | * java/util/GregorianCalendar.java: Likewise. | |
1628 | * java/util/Currency.java: Likewise. | |
1629 | * java/text/BreakIterator.java: Likewise. | |
1630 | * java/text/Collator.java: Likewise. | |
1631 | * java/text/DateFormat.java: Likewise. | |
1632 | * java/text/DateFormatSymbols.java: Likewise. | |
1633 | * java/text/DecimalFormatSymbols.java: Likewise. | |
1634 | * java/text/NumberFormat.java: Likewise. | |
1635 | * java/awt/Window.java: Likewise. | |
1636 | ||
21f56031 BM |
1637 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
1638 | ||
1639 | * java/util/ResourceBundle.java (bundleCache): Renamed from | |
1640 | resourceBundleCache. Update comments. | |
1641 | (getObject): Don't catch MissingResourceException. | |
1642 | (getBundle(String)): Remove 'final'. Use system classloader if | |
1643 | getCallingClassLoader returned null. | |
1644 | (getBundle(String, Locale)): Likewise. | |
1645 | (BundleKey): New private class. HashMap key for bundle cache lookup. | |
1646 | (lookupKey): New. Singleton instance of BundleKey. | |
1647 | (nullEntry): New. Cache entry to represent failed lookups. | |
1648 | (getBundle(String, Locale, ClassLoader)): Re-written to use new | |
1649 | caching strategy, no-allocation lookup, and new tryBundle methods. | |
1650 | (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle | |
1651 | name using given classloader. | |
1652 | (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify | |
1653 | baseName for given Locale and attempt to load bundle. | |
1654 | ||
42c00752 BM |
1655 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
1656 | ||
1657 | * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove | |
1658 | illegal protected method calls. | |
1659 | ||
6e342fc1 BM |
1660 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
1661 | ||
1662 | Fix or remove some bogus test cases. | |
1663 | * testsuite/libjava.compile/pr10459_2.java: Removed. | |
1664 | * testsuite/libjava.compile/pr10459.java: Test using its own method, | |
1665 | not Object.clone(). | |
1666 | * testsuite/libjava.compile/inner_data.java: Test against its own | |
1667 | protected field. | |
1668 | ||
1f33f6b4 MK |
1669 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
1670 | ||
1671 | * scripts/unicode-muncher.pl: Updated to version 2.1 | |
1672 | from GNU classpath. Added some clarifications on where to find the | |
1673 | needed files from www.unicode.org. | |
1674 | * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html, | |
1675 | gnu/gcj/convert/UnicodeData-3.0.0.txt: | |
1676 | Removed, these can directly be downloaded from www.unicode.org if | |
1677 | needed. | |
1678 | * gnu/java/lang/CharData.java: Regenerated. | |
1679 | * include/java-chartables.h: Regenerated. | |
1680 | * Makefile.am (ordinary_java_source_files): | |
1681 | Removed gnu/java/lang/CharData.java. | |
1682 | * Makefile.in: Regenerated. | |
1683 | ||
771aacd3 MK |
1684 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
1685 | ||
1686 | * java/security/AccessControlContext.java, | |
1687 | java/security/SecureClassLoader.java: | |
1688 | Fixed javadocs. | |
1689 | ||
3d5f053c MK |
1690 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
1691 | ||
1692 | * java/io/ObjectInputStream.java (readFields): Use long datatype | |
1693 | when shifting byte values more then 24 bits left. | |
1694 | ||
d642571f MK |
1695 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
1696 | ||
1697 | * java/util/zip/DeflaterOutputStream.java, | |
1698 | java/util/zip/GZIPInputStream.java, | |
1699 | java/util/zip/GZIPOutputStream.java, | |
1700 | java/util/zip/InflaterInputStream.java: | |
1701 | Reformatted. Added javadocs. Reordered all stuff. | |
1702 | Renamed variables to be more clear. | |
1703 | ||
3042e24b MK |
1704 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
1705 | ||
1706 | * javax/imageio/IIOException.java, | |
1707 | javax/imageio/event/IIOReadProgressListener.java, | |
1708 | javax/imageio/event/IIOReadUpdateListener.java, | |
1709 | javax/imageio/event/IIOReadWarningListener.java, | |
1710 | javax/imageio/event/IIOWriteProgressListener.java, | |
1711 | javax/imageio/event/IIOWriteWarningListener.java: | |
1712 | New files. | |
1713 | * Makefile.am: Added new files. | |
1714 | * Makefile.in: Regenerated. | |
1715 | ||
4a738a82 GL |
1716 | 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org> |
1717 | ||
1718 | * java/text/RuleBasedCollator.java | |
1719 | (mergeRules): Use ArrayList instead of Vector. | |
1720 | (subParseString): likewise. | |
1721 | (parseString): likewise. | |
1722 | (buildCollationVector): likewise. | |
1723 | (getCollationKey): likewise. | |
1724 | ||
28e0ee76 DT |
1725 | 2004-07-09 Dalibor Topic <robilad@kaffe.org> |
1726 | ||
1727 | * java/text/DateFormat.java (parse): | |
1728 | Improved javadoc. Improved exception message. | |
1729 | ||
2e54a860 MW |
1730 | 2004-07-09 Mark Wielaard <mark@klomp.org> |
1731 | ||
1732 | * gnu/java/nio/SelectorImpl.java (select): Call static Thread | |
1733 | interrupted() method to clear interupt flag of our Thread. | |
1734 | ||
23c41c08 DT |
1735 | 2004-07-09 Dalibor Topic <robilad@kaffe.org> |
1736 | ||
1737 | * java/nio/Buffer.java, | |
1738 | java/nio/ByteBuffer.java, | |
1739 | java/nio/ByteBufferHelper.java, | |
1740 | java/nio/ByteBufferImpl.java, | |
1741 | java/nio/CharBuffer.java, | |
1742 | java/nio/CharBufferImpl.java, | |
1743 | java/nio/CharViewBufferImpl.java, | |
1744 | java/nio/DirectByteBufferImpl.java, | |
1745 | java/nio/DoubleBuffer.java, | |
1746 | java/nio/DoubleBufferImpl.java, | |
1747 | java/nio/DoubleViewBufferImpl.java, | |
1748 | java/nio/FloatBuffer.java, | |
1749 | java/nio/FloatBufferImpl.java, | |
1750 | java/nio/FloatViewBufferImpl.java, | |
1751 | java/nio/IntBuffer.java, | |
1752 | java/nio/IntBufferImpl.java, | |
1753 | java/nio/IntViewBufferImpl.java, | |
1754 | java/nio/LongBuffer.java, | |
1755 | java/nio/LongBufferImpl.java, | |
1756 | java/nio/LongViewBufferImpl.java, | |
1757 | java/nio/MappedByteBufferImpl.java, | |
1758 | java/nio/ShortBuffer.java, | |
1759 | java/nio/ShortBufferImpl.java, | |
1760 | java/nio/ShortViewBufferImpl.java: | |
1761 | Fixed javadocs all over. Improved input error | |
1762 | checking. | |
1763 | ||
1764 | * java/nio/Buffer.java | |
1765 | (checkForUnderflow, checkForOverflow, checkIndex, | |
1766 | checkIfReadOnly, checkArraySize): New helper methods | |
1767 | for error checking. | |
1768 | ||
1769 | * java/nio/ByteBufferHelper.java | |
1770 | (checkRemainingForRead, checkRemainingForWrite, | |
1771 | checkAvailableForRead, checkAvailableForWrite): Removed | |
1772 | no longer needed methods. | |
1773 | ||
e484d7d5 MK |
1774 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
1775 | ||
1776 | * gnu/regexp/CharIndexedInputStream.java: | |
1777 | Reordered imports to match classpath. | |
1778 | ||
3e518ab0 MK |
1779 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
1780 | ||
1781 | * gnu/java/awt/EmbeddedWindow.java: | |
1782 | Load native library for setWindowPeer method. | |
1783 | ||
8c5ac2c4 RC |
1784 | 2004-07-08 Randolph Chung <tausq@debian.org> |
1785 | ||
1786 | * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa. | |
1787 | * configure: Regenerate. | |
1788 | * configure.host: Set can_unwind_signal for hppa*-linux. | |
1789 | * include/pa-signal.h: New file. | |
1790 | ||
0bd24153 PB |
1791 | 2004-07-07 Per Bothner <per@bothner.com> |
1792 | ||
fedf5454 PB |
1793 | * Makefile.am: Add rules to build libgij from just gij.cc. |
1794 | ||
0bd24153 PB |
1795 | * include/jvm.h (namespace jcj): Declare verbose_class_flag |
1796 | * java/lang/natClass.cc (gcj::verbose_class_flag): New variable. | |
1797 | (initializeClass): If verbose_class_flag, print message. | |
1798 | * gij.cc (main): Handle -verbose:class flag. | |
1799 | ||
0e497b6c AT |
1800 | 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch> |
1801 | ||
1802 | * configure.host: Enable hash synchronization on Darwin. | |
1803 | * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of | |
1804 | ';', since this is a comment on Darwin. | |
1805 | (compare_and_swap_release): Likewise. | |
1806 | ||
c09bade6 ME |
1807 | 2004-07-06 Mohan Embar <gnustuff@thisiscool.com> |
1808 | ||
1809 | * java/net/URLStreamHandler.java (parseURL): Canonicalize | |
1810 | file portion of URL in addition to spec for file: protocol. | |
1811 | ||
23f99379 | 1812 | 2004-07-05 Anthony Green <green@redhat.com> |
0e497b6c | 1813 | |
23f99379 AG |
1814 | * java/io/File.java (toURI): Merge from Classpath. |
1815 | ||
a1433c46 BM |
1816 | 2004-07-05 Bryce McKinlay <mckinlay@redhat.com> |
1817 | ||
1818 | * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry | |
1819 | before passing to URL constructor. Rethrow any MalformedURLException | |
1820 | as a RuntimeException. Catch MalformedURLException specifically, not | |
1821 | all exceptions. | |
0e497b6c | 1822 | |
a86f0372 BM |
1823 | 2004-07-05 Bryce McKinlay <mckinlay@redhat.com> |
1824 | ||
1825 | * java/util/Locale.java (readObject): Intern strings read from object | |
1826 | stream. | |
1827 | ||
74fa958e MK |
1828 | 2004-07-04 Michael Koch <konqueror@gmx.de> |
1829 | ||
1830 | * gnu/gcj/runtime/FirstThread.java, | |
1831 | gnu/gcj/runtime/natFirstThread.cc: Removed. | |
1832 | * gnu/java/lang/MainThread.java, | |
1833 | gnu/java/lang/natMainThread.cc: New files. | |
1834 | * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread. | |
1835 | * Makefile.am: Added new files and removed deleted ones. | |
1836 | * Makefile.in: Regenerated. | |
1837 | ||
94fbf267 | 1838 | 2004-07-03 Mark Wielaard <mark@klomp.org> |
0e497b6c | 1839 | Anthony Green <green@redhat.com> |
94fbf267 AG |
1840 | |
1841 | * java/net/URL.java (getFile): Clarify return value doc. | |
1842 | (getPath): Return null if file is empty - not empty String. | |
1843 | (set): Convert protocol to lower case before doing anything. | |
1844 | Only change the protocol handler if it's different. | |
1845 | ||
1846 | 2004-07-03 Anthony Green <green@redhat.com> | |
1847 | ||
1848 | * java/net/URL.java (URL): Convert protocol to lower case before | |
1849 | doing anything, so we getURLStreamHandler() with the proper value. | |
1850 | ||
b5349c07 BM |
1851 | 2004-07-02 Bryce McKinlay <mckinlay@redhat.com> |
1852 | ||
1853 | * java/util/Locale.java (hashcode): Made transient. | |
1854 | (hashCode): No longer synchronized. | |
1855 | (equals): Remove comment. | |
1856 | (writeObject): No longer synchronized. Implement using writeObject | |
1857 | calls instead of tweaking hashCode field. Update doc. | |
1858 | (readObject): Implement using readObject calls. | |
1859 | ||
f8a57be8 GK |
1860 | 2004-06-26 Geoffrey Keating <geoffk@apple.com> |
1861 | Andreas Tobler <a.tobler@schweiz.ch> | |
1862 | ||
1863 | * configure.host (powerpc-*-darwin*): New case, define | |
1864 | can_unwind_signal. | |
1865 | * configure.in (*-*-darwin*): New case, point to darwin-signal.h. | |
1866 | * configure: Regenerate. | |
1867 | * include/darwin-signal.h: New. | |
1868 | ||
dcfbe7c7 JQ |
1869 | 2004-06-30 Jerry Quinn <jlquinn@optonline.net> |
1870 | ||
1871 | * java/beans/Statement.java (doExecute): Fix formatting. | |
1872 | ||
8319dc87 PB |
1873 | 2004-06-29 Per Bothner <per@bothner.com> |
1874 | ||
1875 | * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef, | |
1876 | etc etc): Remove needless parenthesis, which causes __stdcall__ | |
1877 | attribute on MinGW to get ignored. | |
1878 | ||
b4bbd47e BM |
1879 | 2004-06-29 Bryce McKinlay <mckinlay@redhat.com> |
1880 | ||
1881 | * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249. | |
1882 | ||
b5493719 BM |
1883 | 2004-06-28 Bryce McKinlay <mckinlay@redhat.com> |
1884 | ||
b4bbd47e | 1885 | * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6. |
b5493719 | 1886 | |
7b63e340 JQ |
1887 | 2004-06-28 Jerry Quinn <jlquinn@optonline.net> |
1888 | ||
1889 | * java/beans/Expression.java: New file. | |
1890 | * java/beans/Statement.java: New file. | |
1891 | * Makefile.am: Added new files. | |
1892 | * Makefile.in: Re-generate. | |
1893 | ||
01036503 MW |
1894 | 2004-06-27 Mark Wielaard <mark@klomp.org> |
1895 | ||
1896 | * java/io/FilePermission.java (usingPerms): Removed. | |
1897 | (actionsString): Made final. | |
1898 | (cachePerms): Renamed to checkPerms. | |
1899 | (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase() | |
1900 | on action String. | |
1901 | (FilePermission): Check arguments, call checkPerms(). | |
1902 | (equals): Remove cachePerms() call. | |
1903 | (implies): Likewise. | |
1904 | ||
ce6230c4 MW |
1905 | 2004-06-27 Mark Wielaard <mark@klomp.org> |
1906 | ||
1907 | * gnu/java/net/protocol/http/Connection.java (userAgent): New static | |
1908 | final field. | |
1909 | (sendRequest): Use new field in user-agent http agent. | |
1910 | ||
66a74d2a MW |
1911 | 2004-06-27 Mark Wielaard <mark@klomp.org> |
1912 | ||
1913 | * java/awt/EventQueue.java (postEvent): Throw NullPointerException | |
1914 | when argument is null. | |
1915 | ||
1916 | 2004-06-26 Mark Wielaard <mark@klomp.org> | |
1917 | ||
1918 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
1919 | (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI | |
1920 | GetMethodID call. | |
1921 | (cancel_clicked): Likewise. | |
1922 | ||
d168da74 AT |
1923 | 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch> |
1924 | ||
1925 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
1926 | (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi | |
1927 | can not calculate the right value. | |
1928 | (dpi_changed_cb): Likewise. Mark *pspec as unused. | |
1929 | ||
cc21f43e BM |
1930 | 2004-06-24 Bryce McKinlay <mckinlay@redhat.com> |
1931 | ||
1932 | * testsuite/libjava.jacks/jacks.xfail: Remove | |
1933 | 15.9.1-qualified-concrete-20. | |
1934 | ||
eb8163ab BM |
1935 | 2004-06-22 Bryce McKinlay <mckinlay@redhat.com> |
1936 | ||
1937 | * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original | |
1938 | encoding name to iconv. | |
1939 | * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise. | |
1940 | ||
f50aa505 BM |
1941 | 2004-06-22 Bryce McKinlay <mckinlay@redhat.com> |
1942 | ||
1943 | PR libgcj/16134: | |
e9cb3dac BM |
1944 | * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize |
1945 | encoding name before cache lookup. Thanks to Hannes Wallnoefer. | |
1946 | * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise. | |
f50aa505 | 1947 | |
deb3d52f AH |
1948 | 2004-06-21 Andrew Haley <aph@redhat.com> |
1949 | ||
1950 | * java/io/ObjectOutputStream.java: Add DEBUG statements | |
1951 | everywhere. | |
1952 | (dumpElementln): New method. | |
1953 | (depth): New field. | |
1954 | * java/io/ObjectInputStream.java | |
1955 | (currentClassLoader): Make native. | |
1956 | (callersClassLoader): New field. | |
1957 | (depth): New field. | |
1958 | (readObject): ENDBLOCKDATA is generated if the class has a write | |
1959 | method, not if it has a read method. | |
1960 | (readObject): Save and restore this.currentObject and | |
1961 | this.currentObjectStreamClass around calls to callReadMethod(). | |
1962 | * java/io/natObjectInputStream.cc (getCallersClassLoader): New | |
1963 | method. | |
1964 | ||
cfc74dce AT |
1965 | 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch> |
1966 | ||
1967 | * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for | |
1968 | darwin. | |
1969 | ||
bd760894 RM |
1970 | 2004-06-18 Ranjit Mathew <rmathew@hotmail.com> |
1971 | ||
1972 | * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers, | |
1973 | if desired, before the default class loader is initialised. | |
1974 | Call INIT_SEGV only if HANDLE_SEGV is defined. | |
1975 | ||
6ca77e6f RM |
1976 | 2004-06-18 Ranjit Mathew <rmathew@hotmail.com> |
1977 | ||
1978 | * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions | |
1979 | directory only if it actually exists. | |
1980 | ||
67a69e82 GH |
1981 | 2004-06-18 Graydon Hoare <graydon@redhat.com> |
1982 | ||
1983 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
1984 | Fix up non-ansi comments. | |
1985 | ||
1986 | 2004-06-18 Ranjit Mathew <rmathew@hotmail.com> | |
1987 | ||
1988 | * javax/swing/text/AbstractDocument.java: Adding missing import | |
1989 | for javax.swing.event.EventListenerList. | |
1990 | * javax/swing/text/DefaultCaret.java: Likewise. | |
1991 | ||
4dfcdad1 GH |
1992 | 2004-06-17 Michael Koch <konqueror@gmx.de> |
1993 | ||
1994 | * javax/swing/JToolBar.java | |
1995 | (name): Removed. | |
1996 | (JToolBar): Use Component.setName(String) instead of doing it all | |
1997 | alone. | |
1998 | * javax/swing/Timer.java | |
1999 | (queueEvent): Added missing modifier. | |
2000 | ||
2001 | 2004-06-17 Olga Rodimina <rodimina@redhat.coom> | |
2002 | ||
2003 | * Makefile.am: Added new file. | |
2004 | * Makefile.in: Re-generate. | |
2005 | * javax/swing/JMenu.java: | |
2006 | (insertSeparator): Implemented. | |
2007 | * javax/swing/JPopupMenu.java: | |
2008 | (JPopupMenu.Separator): Implemented. | |
2009 | * javax/swing/MenuSelectionManager.java: | |
2010 | (processMouseEvent): Use java.awt.Component | |
2011 | for event source instead of javax.swing.JComponent. | |
2012 | * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: | |
2013 | New File. Implemented. | |
2014 | ||
2015 | 2004-06-16 David Jee <djee@redhat.com> | |
2016 | ||
2017 | * java/awt/GridBagLayout.java | |
2018 | (GetLayoutInfo): Adjust cell sizes iff parent size is not zero. | |
2019 | Make sure pos_x and pos_y are never negative. | |
2020 | ||
2021 | 2004-04-16 Andrew Overholt <overholt@redhat.com> | |
2022 | ||
2023 | * Makefile.am: Add new file. | |
2024 | * Makefile.in: Re-generate. | |
2025 | * javax/swing/JToolBar.java | |
2026 | Partially implemented. | |
2027 | * javax/swing/plaf/basic/BasicToolBarUI.java | |
2028 | New file. Partially implemented. | |
2029 | ||
2030 | 2004-06-16 Graydon Hoare <graydon@redhat.com> | |
2031 | ||
2032 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java | |
2033 | (setComposite): Accept AlphaComposite arguments. | |
2034 | * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java | |
2035 | (createBufferedImage): Add new overloads. | |
2036 | * gnu/java/awt/peer/gtk/GtkToolkit.java | |
2037 | (createImage): Use GdkPixbufDecoder.createBufferedImage | |
2038 | when useGraphics2D() is true. | |
2039 | (getImage): Delegate to createImage. | |
2040 | * javax/swing/JList.java | |
2041 | (isSelectionEmpty): | |
2042 | (getFirstVisibleIndex): | |
2043 | (getLastVisibleIndex): | |
2044 | (setSelectedValue): | |
2045 | (ensureIndexIsVisible): New methods. | |
2046 | * javax/swing/Timer.java: Reimplement. | |
2047 | ||
2048 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
2049 | ||
2050 | * javax/swing/text/AbstractDocument.java | |
2051 | (AbstracElement): Made public, implements java.io.Serializable. | |
2052 | (AttributeContext): Made public. | |
2053 | (BranchElement): Likewise. | |
2054 | (Content): Likewise. | |
2055 | (DefaultDocumentEvent): Made public, extends | |
2056 | javax.swing.undo.CompoundEdit. | |
2057 | (ElementEdit): Made public, extends | |
2058 | javax.swing.undo.AbstractUndoableEdit. | |
2059 | (LeafElement): Made public. | |
2060 | (LeafElement.LeafElement): Made public. | |
2061 | ||
2062 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
2063 | ||
2064 | * javax/swing/text/JTextComponent.java: Totally reworked. Removed many | |
2065 | methods (that were obviously never be intended to get included hi this | |
2066 | class. Added some methods too. | |
2067 | ||
2068 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
2069 | ||
2070 | * javax/swing/text/PlainDocument.java | |
2071 | (serialVersionUID): New constant. | |
2072 | (lineLimitAttribute): Likewise. | |
2073 | (tabSizeAttribute): Likewise. | |
2074 | (tabSize): New field. | |
2075 | (PlainDocument): Made public. | |
2076 | (PlainDocument): New constructor. | |
2077 | ||
2078 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
2079 | ||
2080 | * javax/swing/text/AbstractDocument.java | |
2081 | (insertString): Throws BadLocationException. | |
2082 | * javax/swing/text/Document.java | |
2083 | (insertString): Likewise. | |
2084 | * javax/swing/text/JTextComponent.java: | |
2085 | Javadocs and comments cleaned up. | |
2086 | ||
2087 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
2088 | ||
2089 | * javax/swing/event/UndoableEditListener.java: Reformatted. | |
2090 | * javax/swing/text/AbstractDocument.java | |
2091 | (AbstractDocument): Implements java.io.Serializable. | |
2092 | (doc_list): Removed. | |
2093 | (undo_list): Removed. | |
2094 | (AbstractElement.serialVerionUID): New field. | |
2095 | (BranchElement.serialVerionUID): Likewise. | |
2096 | (DefaultDocumentEvent.serialVerionUID): Likewise. | |
2097 | (ElementEdit.serialVerionUID): Likewise. | |
2098 | (LeafElement.serialVerionUID): Likewise. | |
2099 | (serialVerionUID): Likewise. | |
2100 | (BAD_LOCATION): New constant. | |
2101 | (BidiElementName): Likewise. | |
2102 | (ContentElementName): Likewise. | |
2103 | (ParagraphElementName): Likewise. | |
2104 | (SectionElementName): Likewise. | |
2105 | (ElementNameAttribute): Likewise. | |
2106 | (AbstractDocument): Made protected. | |
2107 | (AbstractDocument): New construtor. | |
2108 | (listenerList): New field. | |
2109 | (fireChangedUpdate): Implemented. | |
2110 | (fireInsertUpdate): Likewise. | |
2111 | (fireRemoveUpdate): Likewise. | |
2112 | (fireUndoableEditUpdate): Likewise. | |
2113 | (getListeners): Likewise. | |
2114 | (addDocumentListener): Likewise. | |
2115 | (removeDocumentListener): Likewise. | |
2116 | (addUndoableEditListener): Likewise. | |
2117 | (removeUndoableEditListener): Likewise. | |
2118 | (getDocumentListeners): New method. | |
2119 | (getUndoableEditListeners): Likewise. | |
2120 | (getAsynchronousLoadPriority): Made public. | |
2121 | (getBidiRootElement): Likewise. | |
2122 | (setAsynchronousLoadPriority): Likewise. | |
2123 | (setDocumentProperties): Likewise. | |
2124 | * javax/swing/text/BadLocationException.java | |
2125 | (serialVerionUID): New field. | |
2126 | * javax/swing/text/DefaultCaret.java | |
2127 | (changeEvent): New field. | |
2128 | (listenerList): Likewise. | |
2129 | (changes): Removed. | |
2130 | (addChangeListener): Reimplemented. | |
2131 | (removeChangeListener): Likewise. | |
2132 | (getListeners): New method. | |
2133 | (getChangeListeners): Likwise. | |
2134 | (getComponent): Likewise. | |
2135 | * javax/swing/text/GapContent.java | |
2136 | (GapContent): Implements java.io.Serializable. | |
2137 | (serialVerionUID): New field. | |
2138 | ||
2139 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
2140 | ||
2141 | * javax/swing/JTree.java | |
2142 | (treeModel): New field. | |
2143 | (JTree): New constructors, one existing one made public. | |
2144 | (createTreeModel): New method. | |
2145 | (addTreeExpansionListener): Likewise. | |
2146 | (removeTreeExpansionListener): Likewise. | |
2147 | (getTreeExpansionListeners): Likewise. | |
2148 | (fireTreeCollapsed): Likewise. | |
2149 | (fireTreeExpanded): Likewise. | |
2150 | (addTreeSelectionListener): Likewise. | |
2151 | (removeTreeSelectionListener): Likewise. | |
2152 | (getTreeSelectionListeners): Likewise. | |
2153 | (fireValueChanged): Likewise. | |
2154 | (addTreeWillExpandListener): Likewise. | |
2155 | (removeTreeWillExpandListener): Likewise. | |
2156 | (getTreeWillExpandListeners): Likewise. | |
2157 | (fireTreeWillCollapse): Likewise. | |
2158 | (fireTreeWillExpand): Likewise. | |
2159 | ||
2160 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
2161 | ||
2162 | * javax/swing/JTree.java: Reformatted. | |
2163 | ||
2164 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
2165 | ||
2166 | * javax/swing/JTextArea.java: New file. | |
2167 | * javax/swing/JTextField.java | |
2168 | (actions): Removed. | |
2169 | (notifyAction): New constant. | |
2170 | (columns): New field. | |
2171 | (JTextField): New constructors. | |
2172 | (createDefaultModel): New method. | |
2173 | (addActionListener): Reimplmemented. | |
2174 | (removeActionListener): Reimplemented. | |
2175 | (getActionListeners): New method. | |
2176 | (fireActionPerformed): New method. | |
2177 | (getColumns): New method. | |
2178 | (setColumne): New method. | |
2179 | * javax/swing/text/JTextComponent.java | |
2180 | (AccessibleJTextComponent.serialVersionUID): New field. | |
2181 | (serialVersionUID): Likewise. | |
2182 | (DEFAULT_KEYMAP): Likewise. | |
2183 | (FOCUS_ACCELERATOR_KEY): Likewise. | |
2184 | (doc): Made private. | |
2185 | (icon_gap): Likewise. | |
2186 | (icon): Likewise. | |
2187 | (align): Likewise. | |
2188 | (JTextComponent): Some constructors removed. | |
2189 | (getScrollableTracksViewportHeight): New method. | |
2190 | (getScrollableTracksViewportWidth): Likewise. | |
2191 | * Makefile.am: Added javax/swing/JTextArea.java. | |
2192 | * Makefile.in: Regenerated. | |
2193 | ||
2194 | 2004-06-15 Graydon Hoare <graydon@redhat.com> | |
2195 | ||
2196 | * javax/swing/ImageIcon.java (ImageIcon): New constructor. | |
2197 | * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property. | |
2198 | * javax/swing/JViewport.java | |
2199 | (getExtentSize): Return size rather than preferred size. | |
2200 | (toViewCoordinates): New methods. | |
2201 | (getViewSize): Return size rather than preferred size. | |
2202 | (setViewSize): Note view size as set. | |
2203 | * javax/swing/ViewportLayout.java (layoutContainer): Reimplement. | |
2204 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
2205 | (getPreferredSize): Don't redo layout. | |
2206 | * javax/swing/plaf/basic/BasicViewportUI.java | |
2207 | (paint): Translate image properly and eat exceptions. | |
2208 | ||
2209 | 2004-06-15 Kim Ho <kho@redhat.com> | |
2210 | ||
2211 | * javax/swing/JTabbedPane.java | |
2212 | (setComponent): Remove old component and | |
2213 | add new component. | |
2214 | (setSelectedIndex): Don't operate on the | |
2215 | components if they're null. Don't set index | |
2216 | on the model if the index is the same. | |
2217 | (insertTab): Don't add or hide the component | |
2218 | if it's null. Repaint the container. | |
2219 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
2220 | Change colors for TabbedPane. | |
2221 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
2222 | (mousePressed): Re-layout and paint the component. | |
2223 | (layoutContainer): Don't set location on the view. | |
2224 | (ScrollingViewport::paint): Remove. | |
2225 | ||
2226 | 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com> | |
2227 | ||
2228 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
2229 | (gtkWidgetDispatchKeyEvent): Change warning message to comment. | |
2230 | ||
2231 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString): | |
2232 | Wrap baseline y value in PANGO_PIXELS macro, rather than simply | |
2233 | dividing by PANGO_SCALE. Call gdk_flush before leaving GDK | |
2234 | critical region. | |
2235 | (drawLine): Call gdk_flush before leaving GDK critical region. | |
2236 | (fillRect): Likewise. | |
2237 | (drawRect): Likewise. | |
2238 | (copyArea): Likewise. | |
2239 | (copyPixmap): Likewise. | |
2240 | (clearRect): Likewise. | |
2241 | (drawArc): Likewise. | |
2242 | (drawPolyline): Likewise. | |
2243 | (drawPolygon): Likewise. | |
2244 | (fillPolygon): Likewise. | |
2245 | (fillArc): Likewise. | |
2246 | (drawOval): Likewise. | |
2247 | (fillOval): Likewise. | |
2248 | ||
2249 | * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add | |
2250 | style parameter. | |
2251 | (GdkFontMetrics): Add style argument to initState call. | |
2252 | (stringWidth(String,int,int,String)): Add style parameter. | |
2253 | (stringWidth(String)): Add style argument to stringWidth call. | |
2254 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c | |
2255 | (initState): Set pango font style and weight based on AWT style | |
2256 | parameter. Pass default GTK language to | |
2257 | pango_context_get_metrics. Use PANGO_PIXELS macro rather than | |
2258 | simply dividing by PANGO_SCALE. | |
2259 | (stringWidth): Set pango font style and weight based on AWT style | |
2260 | parameter. | |
2261 | ||
2262 | * java/awt/Button.java (next_button_number): New field. | |
2263 | (paramString): Change output. | |
2264 | (generateName): New method. | |
2265 | (getUniqueLong): New method. | |
2266 | ||
2267 | 2004-06-14 Kim Ho <kho@redhat.com> | |
2268 | ||
2269 | * javax/swing/JTabbedPane.java: | |
2270 | (setComponentAt): Set the component, not | |
2271 | the enabled status. | |
2272 | * javax/swing/plaf/basic/BasicDesktopIconUI.java | |
2273 | (actionPerformed): Let deiconize catch exception. | |
2274 | ||
2275 | 2004-06-14 Olga Rodimina <rodimina@redhat.com> | |
2276 | ||
2277 | * javax/swing/JPopupMenu.java: | |
2278 | (setVisible): Corrected location of a | |
2279 | heavyweight popup menu. | |
2280 | ||
2281 | 2004-06-14 Olga Rodimina <rodimina@redhat.com> | |
2282 | ||
2283 | * javax/swing/MenuSelectionManager.java: | |
2284 | Ran through jalopy to fix formatting style. | |
2285 | ||
2286 | 2004-06-14 Olga Rodimina <rodimina@redhat.com> | |
2287 | ||
2288 | * javax/swing/JLayeredPane.java: | |
2289 | (remove): Revalidate and repaint layered pane after | |
2290 | the component was removed. | |
2291 | javax/swing/JMenu.java: | |
2292 | (setVisible): Display popup menu at the user location, | |
2293 | if one was set by the user. | |
2294 | (setMenuLocation): Reimplemented. Fixed javadoc. | |
2295 | * javax/swing/JMenuBar.java: Added javadoc. | |
2296 | (BORDER_PAINTED_CHANGED_PROPERTY): New Property. | |
2297 | (MODEL_CHANGED_PROPERTY): New Property. | |
2298 | (isSelected): Implemented. | |
2299 | (setBorderPainted): Fire PropertyChangeEvent | |
2300 | if paintBorder property changes. | |
2301 | (setSelected): Implemented. | |
2302 | (setSelectionModel): Implemented. | |
2303 | * javax/swing/JPopupMenu.java: Added Javadoc | |
2304 | (pack): Implemented. | |
2305 | (setVisible): Reimplemented. | |
2306 | (show): Fixed location. | |
2307 | (JPopupMenu.LigthWeightPopup): Reimplemented to use | |
2308 | Container instead of JPanel. | |
2309 | * javax/swing/MenuSelectionManager.java: Added Javadocs. | |
2310 | (clearSelectedPath): Reimplemented to clear selectedPath | |
2311 | in reverse order. | |
2312 | (processMouseEvent): Reimplemented. | |
2313 | (setSelectedPath): Fire stateChange event indicating that | |
2314 | selected menu path has changed. | |
2315 | (getPath): Change to use ArrayList instead of Vector. | |
2316 | * javax/swing/plaf/basic/BasicMenuBarUI.java: | |
2317 | (installUI): call installKeyboardActions(). | |
2318 | (uninstallUI): call uninstallKeyboardActions(). | |
2319 | ||
2320 | 2004-06-13 Michael Koch <konqueror@gmx.de> | |
2321 | ||
2322 | * javax/swing/text/DefaultCaret.java, | |
2323 | javax/swing/text/BadLocationException.java: | |
2324 | Reformatted. | |
2325 | ||
2326 | 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com> | |
2327 | ||
2328 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS, | |
2329 | DEFAULT_COLS): New variables. | |
2330 | (create): Don't allow 0 rows or 0 columns. Instead, set the | |
2331 | values to DEFAULT_ROWS or DEFAULT_COLS. | |
2332 | (getMinimumSize): Likewise. | |
2333 | (getPreferredSize): Likewise. | |
2334 | (minimumSize): Likewise. | |
2335 | (preferredSize): Likewise. | |
2336 | (create): Set peer's editable state. | |
2337 | * java/awt/TextArea.java (TextArea()): Set rows and columns to | |
2338 | zero. Update javadocs. | |
2339 | (TextArea(String)): Likewise. | |
2340 | (TextArea(int,int)): Fix javadocs. | |
2341 | (TextArea(String,int,int,int)): Only throw exception if one of | |
2342 | rows or columns is zero. Fix javadocs. | |
2343 | ||
2344 | 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com> | |
2345 | ||
2346 | * java/awt/AWTEvent.java (toString): Handle MenuComponents in | |
2347 | addition to Components. | |
2348 | ||
2349 | * java/awt/MenuItem.java (dispatchEventImpl): If the event | |
2350 | wasn't consumed by normal processing, send it to the parent | |
2351 | menu. | |
2352 | ||
2353 | * gnu/java/awt/peer/gtk/GtkImagePainter.java | |
2354 | (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove | |
2355 | translation. | |
2356 | ||
2357 | 2004-06-11 David Jee <djee@redhat.com> | |
2358 | ||
2359 | * java/awt/MediaTracker.java | |
2360 | (addImage(Image,int)): Call imageUpdate() to udpate image status. | |
2361 | (addImage(Image,int,int,int)): Likewise. | |
2362 | ||
2363 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
2364 | ||
2365 | * javax/swing/text/AbstractDocument.java, | |
2366 | javax/swing/text/Document.java, | |
2367 | javax/swing/text/GapContent.java, | |
2368 | javax/swing/text/JTextComponent.java, | |
2369 | javax/swing/text/PlainDocument.java: | |
2370 | Reformatted. | |
2371 | ||
2372 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
2373 | ||
2374 | * javax/swing/JRootPane.java | |
2375 | (AccessibleJRootPane.serialVersionUID): New field. | |
2376 | (AccessibleJRootPane.AccessibleJRootPane): New constructor. | |
2377 | (AccessibleJRootPane.getAccessibleRole): New method. | |
2378 | (RootLayout): Implements Serializable. | |
2379 | (RootLayout.serialVersionUID): New field. | |
2380 | (RootLayout.RootLayout): New constructor. | |
2381 | (setJMenuBar): Made public. | |
2382 | (getJMenuBar): Likewise. | |
2383 | (JRootPane): Likewise. | |
2384 | (createContentPane): Likewise. | |
2385 | (createGlassPane): Likewise. | |
2386 | (createLayeredPane): Likewise. | |
2387 | ||
2388 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
2389 | ||
2390 | * javax/swing/SwingUtilities.java | |
2391 | (isLeftMouseButton): Fixed javadoc. | |
2392 | (isMiddleMouseButton): Likewise. | |
2393 | (isRightMouseButton): Likewise. | |
2394 | ||
2395 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
2396 | ||
2397 | * javax/swing/JScrollPane.java | |
2398 | (serialVersionUID): New field. | |
2399 | (columnHeader): Made protected. | |
2400 | (rowHeader): Likewise. | |
2401 | (lowerLeft): Likewise. | |
2402 | (lowerRight): Likewise. | |
2403 | (upperLeft): Likewise. | |
2404 | (upperRight): Likewise. | |
2405 | (horizontalScrollBar): Likewise. | |
2406 | (horizontalScrollBarPolicy): Likewise. | |
2407 | (verticalScrollBar): Likewise. | |
2408 | (verticalScrollBarPolicy): Likewise. | |
2409 | (viewport): Likewise. | |
2410 | ||
2411 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
2412 | ||
2413 | * javax/swing/LookAndFeel.java: Fixed javadocs. | |
2414 | ||
2415 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
2416 | ||
2417 | * javax/swing/JEditorPane.java: Fixed javadocs. | |
2418 | (JEditorPane): Removed redundant call to to this(). | |
2419 | (fireHyperlinkUpdate): Implemented. | |
2420 | ||
2421 | 2004-06-10 Olga Rodimina <rodimina@redhat.com> | |
2422 | ||
2423 | * javax/swing/JMenu.java: Fixed file name | |
2424 | in the file comment. | |
2425 | ||
2426 | 2004-06-10 Olga Rodimina <rodimina@redhat.com> | |
2427 | ||
2428 | * javax/swing/JMenu.java: Added javadoc. | |
2429 | (JMenu): Added MenuChangeListener to listen to | |
2430 | ChangeEvents occuring in menu's model. | |
2431 | (insert): Throw IllegalArgumentException if | |
2432 | index is less than 0 | |
2433 | (setSelected): Reimplement. | |
2434 | (setPopupMenuVisible): Call menu's model isEnabled() | |
2435 | (setDelay): Throw IllegalArgumentException if | |
2436 | given amount of delay is less than 0. | |
2437 | (createActionComponent): Implemented. | |
2438 | (createActionChangeListener): Implemented. | |
2439 | (addSeparator): Implemented. | |
2440 | (getItem): Throw IllegalArgumentException if index is | |
2441 | less than 0. | |
2442 | (getItemCount): Implemented. | |
2443 | (fireMenuSelected): Changed to use menuEvent. | |
2444 | (fireMenuDeselected): Likewise. | |
2445 | (fireMenuCanceled): Likewise. | |
2446 | (setAccelerator): Changed to throw an error if this | |
2447 | method is used. | |
2448 | (doClick): Implemented. | |
2449 | (JMenu.ActionChangedListener): New inner class to handle | |
2450 | PropertyChangeEvents occuring in the actions associated with menu. | |
2451 | * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc. | |
2452 | (BasicMenuUI): Added PropertyChangeListener to the menu. | |
2453 | (createChangeListener): Implemented. | |
2454 | (createMenuDragMouseListener): Likewise. | |
2455 | (createMenuKeyListener): Likewise. | |
2456 | (createPropertyChangeListener): Likewise. | |
2457 | (uninstallListeners): Likewise. | |
2458 | (BasicMenuUI.MouseInputHandler): Reimplemented. | |
2459 | (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet. | |
2460 | (BasicMenuUI.ChangeHandler): Likewise. | |
2461 | (BasicMenuUI.MenuDragMouseHandler): Likewise. | |
2462 | (BasicMenuUI.MenuKeyHandler): Likewise. | |
2463 | ||
2464 | 2004-06-10 David Jee <djee@redhat.com> | |
2465 | ||
2466 | * java/awt/MediaTracker.java | |
2467 | (imageUpdate): Only do notifyAll() if the image is complete. | |
2468 | ||
2469 | 2004-06-10 Olga Rodimina <rodimina@redhat.com> | |
2470 | ||
2471 | * javax/swing/JApplet.java: | |
2472 | (getJMenuBar): Made public. | |
2473 | (setJMenuBar): Likewise. | |
2474 | * javax/swing/JFrame.java: | |
2475 | (getJMenuBar): Made public. | |
2476 | (setJMenuBar): Likewise. | |
2477 | * javax/swing/JWindow.java: | |
2478 | (getJMenuBar): Removed. | |
2479 | (setJMenuBar): Removed. | |
2480 | ||
2481 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
2482 | ||
2483 | * javax/swing/JEditorPane.java | |
2484 | (createEditorKitForContentType): Fixed visibility. | |
2485 | (fireHyperlinkUpdate): Likewise. | |
2486 | (getContentType): Likewise. | |
2487 | (getEditorKit): Likewise. | |
2488 | (getEditorKitForContentType): Likewise. | |
2489 | (getPage): Likewise. | |
2490 | (read): Likewise. | |
2491 | (registerEditorKitForContentTyoe): Likewise. | |
2492 | (replaceSelection): Likewise. | |
2493 | (setContentType): Likewise. | |
2494 | (setEditorKit): Likewise. | |
2495 | (setPage): Likewise. | |
2496 | ||
2497 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
2498 | ||
2499 | * javax/swing/Timer.java | |
2500 | (Timer): New constructor. | |
2501 | * javax/swing/plaf/basic/BasicProgressBarUI.java | |
2502 | (animationTimer): Don't initialize at construction. | |
2503 | (startAnimationTimer): Added since tag. | |
2504 | (stopAnimationTimer): Likewise. | |
2505 | (installUI): Use new Timer constructor. | |
2506 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
2507 | (installUI): Likewise. | |
2508 | * javax/swing/plaf/basic/BasicSliderUI.java | |
2509 | (installUI): Likewise. | |
2510 | ||
2511 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
2512 | ||
2513 | * javax/swing/ButtonGroup.java | |
2514 | (serialVersionUID): Made private. | |
2515 | (buttons): Renamed from v, added javadoc. | |
2516 | (sel): Added javadoc. | |
2517 | (ButtonGroup): Likewise. | |
2518 | (add): Likewise. | |
2519 | (remove): Likewise. | |
2520 | (getElements): Likewise. | |
2521 | (getSelection): Likewise. | |
2522 | (setSelected): Likewise. | |
2523 | (isSelected): Likewise. | |
2524 | (getButtonCount): Likewise. | |
2525 | ||
2526 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
2527 | ||
2528 | * javax/swing/ButtonGroup.java, | |
2529 | javax/swing/ImageIcon.java, | |
2530 | javax/swing/JEditorPane.java, | |
2531 | javax/swing/JRootPane.java, | |
2532 | javax/swing/JTextField.java, | |
2533 | javax/swing/LookAndFeel.java, | |
2534 | javax/swing/plaf/basic/BasicTextUI.java: | |
2535 | Reindented. | |
2536 | ||
2537 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
2538 | ||
2539 | * javax/swing/text/Style.java: Added javadocs. | |
2540 | ||
2541 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
2542 | ||
2543 | * javax/swing/JComponent.java | |
2544 | (fireVetoableChange): Removed redundant cast. | |
2545 | * javax/swing/JLabel.java | |
2546 | (getDisabledIcon): Save icon for next call. | |
2547 | ||
2548 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
2549 | ||
2550 | * javax/swing/KeyStroke.java | |
2551 | (getKeyStroke(char,boolean)): Marked deprecated. | |
2552 | ||
2553 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
2554 | ||
2555 | * javax/swing/DefaultCellEditor.java, | |
2556 | javax/swing/GrayFilter.java, | |
2557 | javax/swing/event/DocumentEvent.java, | |
2558 | javax/swing/text/JTextComponent.java, | |
2559 | javax/swing/text/MutableAttributeSet.java: | |
2560 | Reindented. | |
2561 | ||
2562 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
2563 | ||
2564 | * javax/swing/plaf/BorderUIResource.java: | |
2565 | Added serialVersionUID all over. | |
2566 | ||
2567 | 2004-06-10 Sascha Brawer <brawer@dandelis.ch> | |
2568 | ||
2569 | * javax/swing/undo/UndoManager.java: Re-written from scratch. | |
2570 | ||
2571 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
2572 | ||
2573 | * javax/swing/table/DefaultTableCellRenderer.java | |
2574 | (noFocusBorder): Initialize directly. | |
2575 | ||
2576 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
2577 | ||
2578 | * javax/swing/plaf/basic/BasicArrowButton.java | |
2579 | (setDirection): Use method argument. | |
2580 | ||
2581 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
2582 | ||
2583 | * javax/swing/plaf/BorderUIResource.java, | |
2584 | javax/swing/plaf/ComponentUI.java, | |
2585 | javax/swing/undo/CompoundEdit.java, | |
2586 | javax/swing/undo/StateEdit.java: | |
2587 | Fixed javadocs all over. | |
2588 | ||
2589 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
2590 | ||
2591 | * javax/swing/DefaultButtonModel.java | |
2592 | (ARMED): Made public final, fixed value. | |
2593 | (ENABLED): Likewise. | |
2594 | (PRESSED): Likewise. | |
2595 | (ROLLOVER): Likewise. | |
2596 | (SELECTED): Likewise. | |
2597 | (stateMask): Initialize directly. | |
2598 | (listenerList): Likewise. | |
2599 | (mnemonic): Likewise. | |
2600 | (fireStateChanged): Removed argument, use changeEvent as event. | |
2601 | All places where this method is called are fixed too. | |
2602 | (getActionCommant): Fixed javadoc. | |
2603 | (setGroup): Fixed javadoc. | |
2604 | (getGroup): New method. | |
2605 | ||
2606 | 2004-06-09 Olga Rodimina <rodimina@redhat.com> | |
2607 | ||
2608 | * javax/swing/AbstractButton.java | |
2609 | (AbstractButton): Use init() to initialize the button. | |
2610 | (init): New Method. Initializes AbstractButton. | |
2611 | * javax/swing/JMenuItem.java: Documented. | |
2612 | (JMenuItem): Reimplemented. | |
2613 | (init): Implemented. | |
2614 | (setEnabled): Changed to call super.setEnabled() | |
2615 | (processMouseEvent): Reimplemented. | |
2616 | (fireMenuKeyPressed): Implemented. | |
2617 | (fireMenuKeyReleased): Implemented. | |
2618 | (fireMenuKeyTyped): Implemented. | |
2619 | (menuSelectionChanged): disarm the model if the menu item was | |
2620 | deselected. | |
2621 | * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented. | |
2622 | (getPath): Change to use ArrayList instead of Vector. | |
2623 | (getPreferredSize): Renamed variable. | |
2624 | (paintMenuItem): Paint margin area of menu item. | |
2625 | (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager. | |
2626 | (MouseInputHandler.mouseReleased): Check if mouse was pressed inside | |
2627 | menu item's bounds before clearing the selection. | |
2628 | ||
2629 | 2004-06-09 David Jee <djee@redhat.com> | |
2630 | ||
2631 | * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java | |
2632 | (GtkTextComponentPeer): Set caret position to 0. | |
2633 | * java/awt/TextComponent.java | |
2634 | (setText): Set caret position to 0. | |
2635 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
2636 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter): | |
2637 | Handle GtkScrolledWindow separately. Fix signal handler blocking. | |
2638 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter): | |
2639 | Likewise. | |
2640 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
2641 | (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor | |
2642 | visible. | |
2643 | ||
2644 | 2004-06-09 Kim Ho <kho@redhat.com> | |
2645 | ||
2646 | * Makefile.am: New files | |
2647 | * Makefile.in: Regenerated | |
2648 | * java/awt/Container.java | |
2649 | (getComponentAt): Removed. | |
2650 | * javax/swing/AbstractAction.java | |
2651 | (ENABLED_PROPERTY): New property. | |
2652 | (putValue): Fire PropertyChangeEvents. | |
2653 | (setEnabled): ditto. | |
2654 | (firePropertyChange): Javadoc and implement | |
2655 | convenience method. | |
2656 | * javax/swing/AbstractButton.java | |
2657 | (setAction): Don't create PropertyChangeListener | |
2658 | if new Action is null. | |
2659 | (setIcon): Don't set icon till after comparing | |
2660 | it. | |
2661 | (configurePropertiesFromAction): Check mnemonic | |
2662 | key before calling intValue(). | |
2663 | (createActionPropertyChangeListener): Check | |
2664 | properties rather than bulk change. | |
2665 | * javax/swing/DefaultDesktopManager.java: | |
2666 | Implement. | |
2667 | * javax/swing/DesktopManager.java: | |
2668 | Jalopy and javadoc. | |
2669 | * javax/swing/JComponent.java | |
2670 | (fireVetoableChange): Implement. | |
2671 | (paintImmediately): Use root component. | |
2672 | * javax/swing/JDesktopPane.java: Implement | |
2673 | * javax/swing/JInternalFrame.java: Implement | |
2674 | * javax/swing/JLabel.java | |
2675 | (getDisabledIcon): Return grayscaled icon if | |
2676 | no disabled icon specified. | |
2677 | * javax/swing/JMenuBar.java | |
2678 | (getComponentAtIndex): Use getComponent | |
2679 | * javax/swing/JOptionPane.java | |
2680 | (getDesktopPaneForComponent): Use SwingUtilities' | |
2681 | getAncestorOfClass | |
2682 | (getFrameForComponent): ditto. | |
2683 | * javax/swing/JSplitPane.java | |
2684 | (remove): Use getComponent. | |
2685 | * javax/swing/SwingUtilities.java | |
2686 | (convertPoint): Implement. | |
2687 | * javax/swing/plaf/basic/BasicButtonUI.java | |
2688 | (paintButtonNormal): Check opaqueness before | |
2689 | filling background. | |
2690 | * javax/swing/plaf/basic/BasicDesktopIconUI.java: | |
2691 | Implement | |
2692 | * javax/swing/plaf/basic/BasicDesktopPaneUI.java: | |
2693 | Implement. | |
2694 | * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java: | |
2695 | Implement. | |
2696 | * javax/swing/plaf/basic/BasicInternalFrameUI.java: | |
2697 | Implement. | |
2698 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
2699 | Change InternalFrame and Desktop colors. | |
2700 | ||
2701 | 2004-06-09 David Jee <djee@redhat.com> | |
2702 | ||
2703 | * java/awt/Container.java | |
2704 | (remove): Do not set component to invisible. | |
2705 | ||
2706 | 2004-06-09 Michael Koch <konqueror@gmx.de> | |
2707 | ||
2708 | * javax/swing/tree/DefaultMutableTreeNode.java | |
2709 | (getLeafCount): Renamed enum to e. | |
2710 | ||
2711 | 2004-06-09 Michael Koch <konqueror@gmx.de> | |
2712 | ||
2713 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java | |
2714 | (positionForMouseEvent): Removed redundant semicolon. | |
2715 | (continueDrag): Use method arguments. | |
2716 | ||
2717 | 2004-06-09 Michael Koch <konqueror@gmx.de> | |
2718 | ||
2719 | * javax/swing/border/TitledBorder.java, | |
2720 | javax/swing/filechooser/FileSystemView.java, | |
2721 | javax/swing/plaf/basic/BasicButtonListener.java, | |
2722 | javax/swing/plaf/basic/BasicGraphicsUtils.java, | |
2723 | javax/swing/plaf/basic/BasicLabelUI.java, | |
2724 | javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java, | |
2725 | javax/swing/plaf/basic/BasicScrollBarUI.java, | |
2726 | javax/swing/plaf/basic/BasicScrollPaneUI.java, | |
2727 | javax/swing/plaf/basic/BasicSliderUI.java, | |
2728 | javax/swing/plaf/basic/BasicTabbedPaneUI.java, | |
2729 | javax/swing/plaf/basic/BasicToggleButtonUI.java, | |
2730 | javax/swing/table/JTableHeader.java, | |
2731 | javax/swing/text/AbstractDocument.java, | |
2732 | javax/swing/text/DefaultCaret.java, | |
2733 | javax/swing/text/StyledEditorKit.java, | |
2734 | javax/swing/tree/DefaultTreeCellEditor.java: | |
2735 | Reworked import statements. | |
2736 | ||
2737 | 2004-06-08 Graydon Hoare <graydon@redhat.com> | |
2738 | ||
2739 | * javax/swing/Box.java: Temporarily comment out code | |
2740 | broken due to visibility bug. | |
2741 | ||
2742 | 2004-06-09 Michael Koch <konqueror@gmx.de> | |
2743 | ||
2744 | * javax/swing/ImageIcon.java | |
2745 | (ImageIcon): Added missing constructor. | |
2746 | ||
2747 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
2748 | ||
2749 | * javax/swing/JToggleButton.java | |
2750 | (JToggleButton): New constructor. | |
2751 | (getAccessibleContext): Moved documentation into javadoc. | |
2752 | (getUIClassID): Likewise. | |
2753 | ||
2754 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
2755 | ||
2756 | * javax/swing/AbstractButton.java | |
2757 | (getDisabledIcon): Create disabled icon if none exists yet. | |
2758 | ||
2759 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
2760 | ||
2761 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
2762 | (initClassDefaults): Added FormattedTextFieldUI. | |
2763 | (loadResourceBundle): Renamed enum to e. | |
2764 | ||
2765 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
2766 | ||
2767 | * javax/swing/plaf/basic/BasicButtonUI.java | |
2768 | (paintIcon): Simplified. | |
2769 | (paintText): Paint disabled button correctly. | |
2770 | ||
2771 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
2772 | ||
2773 | * javax/swing/JComponent.java | |
2774 | (createToolTip): Use official JToolTip API. | |
2775 | ||
2776 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
2777 | ||
2778 | * javax/swing/JToolTip.java | |
2779 | (JToolTip): No arguments in API. | |
2780 | (setTipText): New method. | |
2781 | ||
2782 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
2783 | ||
2784 | * javax/swing/SwingUtilities.java | |
2785 | (isLeftMouseButton): New method. | |
2786 | (isMiddleMouseButton): New method. | |
2787 | (isRightMouseButton): New method. | |
2788 | ||
2789 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
2790 | ||
2791 | * javax/swing/AbstractButton.java, | |
2792 | javax/swing/CellRendererPane.java, | |
2793 | javax/swing/JCheckBoxMenuItem.java, | |
2794 | javax/swing/JColorChooser.java, | |
2795 | javax/swing/JComboBox.java, | |
2796 | javax/swing/JComponent.java, | |
2797 | javax/swing/JDesktopPane.java, | |
2798 | javax/swing/JFileChooser.java, | |
2799 | javax/swing/JMenu.java, | |
2800 | javax/swing/JMenuItem.java, | |
2801 | javax/swing/JOptionPane.java, | |
2802 | javax/swing/JPasswordField.java, | |
2803 | javax/swing/JPopupMenu.java, | |
2804 | javax/swing/JProgressBar.java, | |
2805 | javax/swing/JRadioButtonMenuItem.java, | |
2806 | javax/swing/JScrollBar.java, | |
2807 | javax/swing/JSeparator.java, | |
2808 | javax/swing/JSlider.java, | |
2809 | javax/swing/JSplitPane.java, | |
2810 | javax/swing/JTabbedPane.java, | |
2811 | javax/swing/JTextField.java, | |
2812 | javax/swing/JToolBar.java, | |
2813 | javax/swing/text/JTextComponent.java: | |
2814 | Fixed all constructors of accessibility classes. | |
2815 | ||
2816 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
2817 | ||
2818 | * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all | |
2819 | over. | |
2820 | ||
2821 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
2822 | ||
2823 | * javax/swing/Box.java | |
2824 | (AccessibleBoxFiller): Extends AccessibleAWTComponent. | |
2825 | (AccessibleBoxFiller.serialVersionUID): New member variable. | |
2826 | * javax/swing/DefaultButtonModel.java | |
2827 | (stateMask): Made protected. | |
2828 | (listenerList): Likewise. | |
2829 | (changeEvent): Likewise. | |
2830 | (group): Likewise. | |
2831 | (mnemonic): Likewise. | |
2832 | (actionCommand): Likewise. | |
2833 | (getListeners): New method. | |
2834 | (getActionListeners): New method. | |
2835 | (getItemListeners): New method. | |
2836 | (getChangeListeners): New method. | |
2837 | (fireItemStateChanged): Simplified. | |
2838 | (fireActionPerformed): Simplified. | |
2839 | (fireStateChanged): Simplified. | |
2840 | * javax/swing/JFrame.java | |
2841 | (JFrame): Implements WindowContants. | |
2842 | (HIDE_ON_CLOSE): Removed. | |
2843 | (EXIT_ON_CLOSE): Removed. | |
2844 | (DISPOSE_ON_CLOSE): Removed. | |
2845 | (DO_NOTHING_ON_CLOSE): Removed. | |
2846 | (processWindowEvent): Exit with code 0. | |
2847 | (setDefaultCloseOperation): Do security check before setting value. | |
2848 | * javax/swing/JOptionPane.java | |
2849 | (message): Initialize only in constructor. | |
2850 | * javax/swing/JToolTip.java: Removed unused imports. | |
2851 | * javax/swing/JViewport.java | |
2852 | (serialVersionUID): New member variable. | |
2853 | (SIMPLE_SCROLL_MODE): Made final, fixed value. | |
2854 | (BLIT_SCROLL_MODE): Likewise. | |
2855 | (BACKINGSTORE_SCROLL_MODE): Likewise. | |
2856 | (scrollUnderway): Made protected. | |
2857 | (isViewSizeSet): Likewise. | |
2858 | * javax/swing/ListModel.java: Fixed javadoc. | |
2859 | * javax/swing/Popup.java: Likewise. | |
2860 | * javax/swing/RepaintManager.java | |
2861 | (paintDirtyRegions): Don't use internal classes of | |
2862 | java.util.AbstractMap. | |
2863 | * javax/swing/ScrollPaneConstants.java: Reindented. | |
2864 | * javax/swing/ScrollPaneLayout.java | |
2865 | (viewport): Made protected. | |
2866 | (verticalScrollBar): Made protected, renamed to vsb. | |
2867 | (horizontalScrollBar): Made protected, renamed to hsb. | |
2868 | (rowHeader): Made protected, renamed to rowHead. | |
2869 | (columnHeader): Made protected, renamed to colHead. | |
2870 | (lowerLeft): Made protected. | |
2871 | (lowerRight): Made protected. | |
2872 | (upperLeft): Made protected. | |
2873 | (upperRight): Made protected. | |
2874 | (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy. | |
2875 | (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy. | |
2876 | ||
2877 | 2004-06-07 Bernd Schmidt <bernds@btinternet.com> | |
2878 | ||
2879 | * java/awt/MediaTracker.java (imageUpdate): Only set status to | |
2880 | LOADING if flags has SOMEBITS set. | |
2881 | ||
2882 | 2004-06-07 Michael Koch <konqueror@gmx.de> | |
2883 | ||
2884 | * javax/swing/AbstractButton.java: Reorganized imports. | |
2885 | * javax/swing/ActionMap.java: Likewise. | |
2886 | * javax/swing/DefaultButtonModel.java: Likewise. | |
2887 | * javax/swing/DefaultListModel.java: Likewise. | |
2888 | * javax/swing/ImageIcon.java: Likewise. | |
2889 | (serialVersionUID): New member variable. | |
2890 | * javax/swing/JComboBox.java: Reorganized imports. | |
2891 | * javax/swing/JComponent.java: Likewise. | |
2892 | (ui): Made protected. | |
2893 | (listenerList): Made protected. | |
2894 | (TOOL_TIP_TEXT_KEY): New constant. | |
2895 | (scrollRectToVisible): Removed redundant null check. | |
2896 | * javax/swing/JFrame.java: Reorganized imports. | |
2897 | * javax/swing/JInternalFrame.java: Reorganized imports. | |
2898 | * javax/swing/JProgressBar.java: Likewise. | |
2899 | * javax/swing/JRootPane.java: Likewise. | |
2900 | * javax/swing/JScrollBar.java: Likewise. | |
2901 | * javax/swing/JSeparator.java: Likewise. | |
2902 | * javax/swing/JSlider.java: Likewise. | |
2903 | * javax/swing/JTabbedPane.java: Likewise. | |
2904 | * javax/swing/JTextField.java: Likewise. | |
2905 | * javax/swing/JToolBar.java: Likewise. | |
2906 | * javax/swing/JTree.java: Likewise. | |
2907 | * javax/swing/JViewport.java: Likewise. | |
2908 | * javax/swing/JWindow.java: Likewise. | |
2909 | * javax/swing/KeyStroke.java: Likewise. | |
2910 | * javax/swing/LookAndFeel.java: Likewise. | |
2911 | * javax/swing/MenuSelectionManager.java: Likewise. | |
2912 | * javax/swing/SwingUtilities.java: Likewise. | |
2913 | * javax/swing/Timer.java: Likewise. | |
2914 | * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc. | |
2915 | * javax/swing/JList.java | |
2916 | (HORIZONTAL_WRAP): Made final, fixed value. | |
2917 | (VERTICAL): Likewise. | |
2918 | (VERTICAL_WRAP): Likewise. | |
2919 | ||
2920 | 2004-06-07 Michael Koch <konqueror@gmx.de> | |
2921 | ||
2922 | * javax/swing/AbstractButton.java | |
2923 | (serialVersionUID): New member variable. | |
2924 | (AccessibleAbstractButton.serialVersionUID): Likewise. | |
2925 | (AbstractButton): Made public. | |
2926 | * javax/swing/Box.java | |
2927 | (AccessibleBox.serialVersionUID): New member variable. | |
2928 | (Filler.serialVersionUID): Likewise. | |
2929 | * javax/swing/DefaultListSelectionModel.java | |
2930 | (serialVersionUID): Likewise. | |
2931 | * javax/swing/JApplet.java | |
2932 | (serialVersionUID): Likewise. | |
2933 | * javax/swing/JCheckBox.java | |
2934 | (serialVersionUID): Likewise. | |
2935 | * javax/swing/JCheckBoxMenuItem.java | |
2936 | (serialVersionUID): Likewise. | |
2937 | (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise. | |
2938 | * javax/swing/JColorChooser.java | |
2939 | (serialVersionUID): Likewise. | |
2940 | (AccessibleJColorChooser.serialVersionUID): Likewise. | |
2941 | * javax/swing/JComponent.java | |
2942 | (serialVersionUID): Made private. | |
2943 | (AccessibleJComponent.serialVersionUID): New member variable. | |
2944 | * javax/swing/JDesktopPane.java | |
2945 | (serialVersionUID): Likewise. | |
2946 | * javax/swing/JDialog.java | |
2947 | (serialVersionUID): Likewise. | |
2948 | * javax/swing/JFormattedTextField.java | |
2949 | (serialVersionUID): Fixed value. | |
2950 | * javax/swing/JFrame.java | |
2951 | (serialVersionUID): New member variable. | |
2952 | (getDefaultCloseOpertation): Made public. | |
2953 | * javax/swing/JLayeredPane.java | |
2954 | (serialVersionUID): Likewise. | |
2955 | (LAYER_PROPERTY): Made final, fixed value. | |
2956 | (JLayeredPane): Made public. | |
2957 | * javax/swing/JMenu.java | |
2958 | (AccessibleJMenu.serialVersionUID): New member variable. | |
2959 | (WinListener.serialVersionUID): Likewise. | |
2960 | * javax/swing/JMenuBar.java | |
2961 | (serialVersionUID): Likewise. | |
2962 | (getComponentAtIndex): Added @deprecated tag. | |
2963 | * javax/swing/JMenuItem.java | |
2964 | (serialVersionUID): New member variable. | |
2965 | (AccessibleJMenuItem.serialVersionUID): Likewise. | |
2966 | * javax/swing/JOptionPane.java | |
2967 | (serialVersionUID): Likewise. | |
2968 | (AccessibleJOptionPane.serialVersionUID): Likewise. | |
2969 | * javax/swing/JPopupMenu.java | |
2970 | (serialVersionUID): Likewise. | |
2971 | (AccessibleJPopupMenu.serialVersionUID): Likewise. | |
2972 | (getPopupMenuListeners): New method. | |
2973 | (getComponentAtIndex): Added @deprecated tag. | |
2974 | * javax/swing/JProgressBar.java | |
2975 | (serialVersionUID): New member variable. | |
2976 | (AccessibleJProgressBar.serialVersionUID): Likewise. | |
2977 | * javax/swing/JRadioButton.java | |
2978 | (serialVersionUID): Likewise. | |
2979 | * javax/swing/JRadioButtonMenuItem.java | |
2980 | (serialVersionUID): Likewise. | |
2981 | (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise. | |
2982 | * javax/swing/JScrollBar.java | |
2983 | (serialVersionUID): Likewise. | |
2984 | (AccessibleJScrollBar.serialVersionUID): Likewise. | |
2985 | * javax/swing/JSeparator.java | |
2986 | (serialVersionUID): Likewise. | |
2987 | (AccessibleJSeparator.serialVersionUID): Likewise. | |
2988 | * javax/swing/JSlider.java: Fixed javadocs. | |
2989 | (AccessibleJSlider.serialVersionUID): New member variable. | |
2990 | * javax/swing/JSplitPane.java: Added copyright statement. | |
2991 | (serialVersionUID): New member variable. | |
2992 | (AccessibleJSplitPane.serialVersionUID): Likewise. | |
2993 | * javax/swing/JTabbedPane.java | |
2994 | (serialVersionUID): Likewise. | |
2995 | (AccessibleJTabbedPane.serialVersionUID): Likewise. | |
2996 | (ModelListener.serialVersionUID): Likewise. | |
2997 | (ModelListener.ModelListener): New constructor. | |
2998 | (SCROLL_TAB_LAYOUT): Made public final, fixed value. | |
2999 | (WRAP_TAB_LAYOUT): Likewise. | |
3000 | * javax/swing/JTable.java | |
3001 | (serialVersionUID): New member variable. | |
3002 | * javax/swing/JToggleButton.java | |
3003 | (serialVersionUID): Likewise. | |
3004 | (ToggleButtonModel): Made static. | |
3005 | (ToggleButtonModel.serialVersionUID): New member variable. | |
3006 | * javax/swing/JToolTip.java | |
3007 | (serialVersionUID): Likewise. | |
3008 | * javax/swing/JTree.java | |
3009 | (serialVersionUID): Likewise. | |
3010 | * javax/swing/JWindow.java | |
3011 | (serialVersionUID): Likewise. | |
3012 | * javax/swing/Timer.java | |
3013 | (serialVersionUID): Likewise. | |
3014 | ||
3015 | 2004-06-06 Michael Koch <konqueror@gmx.de> | |
3016 | ||
3017 | * javax/swing/SwingConstants.java | |
3018 | (NEXT): New constant. | |
3019 | (PREVIOUS): Likewise. | |
3020 | * javax/swing/UIManager.java | |
3021 | (LookAndFeel): Made public. | |
3022 | (LookAndFeel.getClassName): Likewise. | |
3023 | (LookAndFeel.getName): Likewise. | |
3024 | ||
3025 | 2004-06-02 Olga Rodimina <rodimina@redhat.com> | |
3026 | ||
3027 | * javax/swing/JCheckBoxMenuItem.java: | |
3028 | Removed CVS tags. | |
3029 | * javax/swing/JMenu.java: Likewise. | |
3030 | * javax/swing/JMenuBar.java: Likewise. | |
3031 | * javax/swing/JMenuItem.java: Likewise. | |
3032 | * javax/swing/JPopupMenu.java: Likewise. | |
3033 | * javax/swing/JRadioButtonMenuItem.java: Likewise. | |
3034 | * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise. | |
3035 | * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise. | |
3036 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise. | |
3037 | * javax/swing/plaf/basic/BasicMenuUI.java: Likewise. | |
3038 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise. | |
3039 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise. | |
3040 | ||
3041 | 2004-05-31 Olga Rodimina <rodimina@redhat.com> | |
3042 | ||
3043 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
3044 | (MouseEntered): Do not call getPath() from MenuSelectionManager. | |
3045 | Call getPath() from super class instead. | |
3046 | ||
3047 | 2004-05-31 David Jee <djee@redhat.com> | |
3048 | ||
3049 | * java/awt/Container.java | |
3050 | (remove): Set component visibility to false after removing it. | |
3051 | ||
3052 | 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3053 | ||
3054 | * java/awt/Component.java (getForeground): Return SystemColor if | |
3055 | parent is null. | |
3056 | (getBackground): Likewise. | |
3057 | ||
3058 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c | |
3059 | (item_highlighted): New function. | |
3060 | (connectSignals): Set item_highlighted as list's select | |
3061 | function. | |
3062 | ||
3063 | * java/applet/Applet.java: Revert changes from 2004-04-29, | |
3064 | 2004-03-15 and 2004-03-14. | |
3065 | ||
3066 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString): | |
3067 | Divide baseline y coordinate by PANGO_SCALE, not DPI conversion | |
3068 | factor. | |
3069 | ||
3070 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set | |
3071 | "Dialog" as the default font. | |
3072 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): | |
3073 | Likewise. | |
3074 | * java/awt/Component.java (getFont): Return "Dialog" font by | |
3075 | default. | |
3076 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: | |
3077 | Multiply size argument to pango_font_description_set_size by the | |
3078 | DPI conversion factor rather than by PANGO_SCALE. | |
3079 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise. | |
3080 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise. | |
3081 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise. | |
3082 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise. | |
3083 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise. | |
3084 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise. | |
3085 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise. | |
3086 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise. | |
3087 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise. | |
3088 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString): | |
3089 | Divide baseline y coordinate by DPI conversion factor rather | |
3090 | than by PANGO_SCALE. | |
3091 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c | |
3092 | (area_prepared): Fix typo. | |
3093 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c | |
3094 | (gtkSetFont): Move gtk_bin_get_child inside GDK critical region. | |
3095 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
3096 | (dpi_conversion_factor): New global variable. | |
3097 | (init_dpi_conversion_factor): New function to calculate and | |
3098 | track DPI conversion factor. | |
3099 | (dpi_changed_cb): New callback. | |
3100 | * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare. | |
3101 | ||
3102 | 2004-05-27 David Jee <djee@redhat.com> | |
3103 | ||
3104 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
3105 | (getGraphics): Return a new GdkGraphics instance. | |
3106 | * gnu/java/awt/peer/gtk/GtkContainerPeer.java | |
3107 | (getGraphics): Call super.getGraphics(). | |
3108 | ||
3109 | 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3110 | ||
3111 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
3112 | (setNativeBounds): Clamp width and height values to >= 0. | |
3113 | ||
3114 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
3115 | (find_fg_color_widget): Handle GtkOptionMenu specially. | |
3116 | ||
3117 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
3118 | (pre_event_handler): Only post configure events to visible | |
3119 | top-level windows. | |
3120 | ||
3121 | 2004-05-26 David Jee <djee@redhat.com> | |
3122 | ||
3123 | * java/awt/BorderLayout.java | |
3124 | (layoutContainer): Fix size calculations. | |
3125 | ||
3126 | 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3127 | ||
3128 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
3129 | (window_wm_protocols_filter): Remove function. | |
3130 | (create): Remove filter that removes WM_TAKE_FOCUS client | |
3131 | messages. | |
3132 | ||
794c3bee AG |
3133 | 2004-06-17 Anthony Green <green@redhat.com> |
3134 | ||
1616280e AG |
3135 | * java/util/zip/ZipFile.java (getInputStream): Return null if |
3136 | entry not found. | |
3137 | ||
794c3bee AG |
3138 | * gnu/gcj/runtime/VMClassLoader.java (init): Add extension |
3139 | directory contents to the class path. | |
3140 | ||
d1238423 AH |
3141 | 2004-06-15 Andrew Haley <aph@redhat.com> |
3142 | ||
3143 | * java/lang/natSystem.cc (getenv0): Don't assume environment | |
3144 | variable is Latin 1 coded. | |
3145 | ||
f1c3e0a6 AJ |
3146 | 2004-06-14 Andreas Jaeger <aj@suse.de> |
3147 | ||
3148 | * configure.in: Support --enable-version-specific-runtime-libs. | |
3149 | * configure: Regenerated. | |
3150 | ||
84b1d821 BM |
3151 | 2004-06-14 Bryce McKinlay <mckinlay@redhat.com> |
3152 | ||
3153 | * java/util/Calendar.java: Change ResourceBundle.getBundle() calls | |
3154 | to pass ClassLoader argument. | |
3155 | * java/util/GregorianCalendar.java: Likewise. | |
3156 | * java/util/Currency.java: Likewise. | |
3157 | * java/text/BreakIterator.java: Likewise. | |
3158 | * java/text/Collator.java: Likewise. | |
3159 | * java/text/DateFormat.java: Likewise. | |
3160 | * java/text/DateFormatSymbols.java: Likewise. | |
3161 | * java/text/DecimalFormatSymbols.java: Likewise. | |
3162 | * java/text/NumberFormat.java: Likewise. | |
3163 | * java/awt/Window.java: Likewise. | |
3164 | ||
df94fa14 AH |
3165 | 2004-06-14 Andrew Haley <aph@redhat.com> |
3166 | ||
3167 | * java/lang/System.java: (getenv0): New method. | |
3168 | (getenv): Add security check. Do the right thing. | |
3169 | * java/lang/natSystem.cc (getenv0): New method. | |
3170 | ||
ff6ea709 MW |
3171 | 2004-06-12 Mark Wielaard <mark@klomp.org> |
3172 | ||
3173 | * javax/swing/RepaintManager.java | |
3174 | (paintDirtyRegions): Use entrySet(), not values(). | |
3175 | ||
d1ee8381 MW |
3176 | 2004-06-10 Mark Wielaard <mark@klomp.org> |
3177 | ||
3178 | * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to | |
3179 | NoSuchMethodError. | |
3180 | ||
b092552d JQ |
3181 | 2004-06-11 Jerry Quinn <jlquinn@optonline.net> |
3182 | ||
3183 | * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae | |
3184 | when we already know the answer. | |
3185 | * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2. | |
3186 | (setStartRule,setEndRule): Don't take abs of day number. | |
3187 | (getOffset): Clarify docs. Add argument checks. | |
3188 | (isBefore): Take abs of day number in DOW_LE_DOM_MODE. | |
3189 | (equals,hasSameRules,toString,readObject): Use startTimeMode and | |
3190 | endTimeMode. | |
3191 | ||
618df745 TT |
3192 | 2004-06-10 Tom Tromey <tromey@redhat.com> |
3193 | ||
3194 | * interpret.cc (run): Handle wide fload. | |
3195 | ||
648b6075 JQ |
3196 | 2004-06-06 Jerry Quinn <jlquinn@optonline.net> |
3197 | ||
3198 | * java/util/zip/ZipEntry.java (setTime): Remove scaling. | |
3199 | ||
9fc3ed51 MK |
3200 | 2004-06-05 Michael Koch <konqueror@gmx.de> |
3201 | ||
3202 | * javax/swing/SwingConstants.java | |
3203 | (NEXT): New constant. | |
3204 | (PREVIOUS): Likewise. | |
3205 | ||
c6dd0441 MK |
3206 | 2004-06-05 Michael Koch <konqueror@gmx.de> |
3207 | ||
3208 | * javax/swing/UIManager.java | |
3209 | (LookAndFeel): Made public. | |
3210 | (LookAndFeel.getName): Likewise. | |
3211 | (LookAndFeel.getClassName): Likewise. | |
3212 | ||
53ef271f MK |
3213 | 2004-06-03 Michael Koch <konqueror@gmx.de> |
3214 | ||
3215 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
3216 | (requestFocus): Revert last changes. | |
3217 | (gtkRequestFocus): Removed. | |
3218 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
3219 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus): | |
3220 | Renamed to ... | |
3221 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus): | |
3222 | Reverted last patch. | |
3223 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | |
3224 | (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup): | |
3225 | Reverted comment change. | |
3226 | ||
26f4ba86 OR |
3227 | 2004-06-02 Olga Rodimina <rodimina@redhat.com> |
3228 | ||
3229 | * javax/swing/JCheckBoxMenuItem.java: | |
3230 | Removed CVS tags. | |
3231 | * javax/swing/JMenu.java: Likewise. | |
3232 | * javax/swing/JMenuBar.java: Likewise. | |
3233 | * javax/swing/JMenuItem.java: Likewise. | |
3234 | * javax/swing/JPopupMenu.java: Likewise. | |
3235 | * javax/swing/JRadioButtonMenuItem.java: Likewise. | |
3236 | * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise. | |
3237 | * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise. | |
3238 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise. | |
3239 | * javax/swing/plaf/basic/BasicMenuUI.java: Likewise. | |
3240 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise. | |
3241 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise. | |
3242 | ||
c05e85e2 MK |
3243 | 2004-06-01 Tom Tromey <tromey@redhat.com> |
3244 | ||
3245 | * java/io/ObjectStreamField.java: Cleaned up imports. | |
3246 | ||
3247 | 2004-06-01 Michael Koch <konqueror@gmx.de> | |
3248 | ||
3249 | * java/io/ObjectStreamField.java: Style and javadoc cleanup. | |
3250 | ||
3251 | 2004-06-01 Mark Wielaard <mark@klomp.org> | |
3252 | ||
3253 | * java/io/Writer.java (Writer(Object)): Fixed API doc. | |
3254 | ||
6ef44cfd MK |
3255 | 2004-06-01 Michael Koch <konqueror@gmx.de> |
3256 | ||
3257 | * java/security/Security.java | |
3258 | (insertProviderAt): Use equals() instead of ==. | |
3259 | (removeProvicer): Likewise. | |
3260 | (getProvider): Likewise. | |
3261 | * java/security/Signature.java | |
3262 | (sign): Don't set state to UNINITIALIZED. | |
3263 | (verify): Likewise. | |
3264 | ||
1900c4c6 MW |
3265 | 2004-06-01 Mark Wielaard <mark@klomp.org> |
3266 | ||
3267 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus): | |
3268 | Implement by calling gtkRequestFocus. | |
3269 | (gtkRequestFocus): New native method. | |
3270 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
3271 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__): | |
3272 | Renamed to ... | |
3273 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus): | |
3274 | New function name. | |
3275 | (filter_expose_event_handler): | |
3276 | Mark static. | |
3277 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | |
3278 | (menu_pos): Mark static. | |
3279 | ||
57807c31 MK |
3280 | 2004-06-01 Michael Koch <konqueror@gmx.de> |
3281 | ||
3282 | * java/text/CollationElementIterator.java, | |
3283 | java/text/CollationKey.java, | |
3284 | java/text/RuleBasedCollator.java: New versions from GNU classpath. | |
3285 | * testsuite/libjava.mauve/xfails: Removed all | |
3286 | java.text.CollationElementIterator tests. | |
3287 | ||
f7dbd56c MK |
3288 | 2004-06-01 Michael Koch <konqueror@gmx.de> |
3289 | ||
3290 | * java/util/zip/InflaterInputStream.java: Merged more with Classpath | |
3291 | version. | |
3292 | * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed | |
3293 | Java 1.5 keyword usage. | |
3294 | ||
44a4b8db OR |
3295 | 2004-05-31 Olga Rodimina <rodimina@redhat.com> |
3296 | ||
3297 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
3298 | (MouseEntered): Do not call getPath() from MenuSelectionManager. | |
3299 | Call getPath() from super class instead. | |
3300 | ||
58128b9d MK |
3301 | 2004-05-31 Michael Koch <konqueror@gmx.de> |
3302 | ||
3303 | * java/io/SequenceInputStream.java: | |
3304 | Rename enum to e because enum is a keyword in Java 1.5. | |
3305 | ||
771b9ca3 MK |
3306 | 2004-05-31 Michael Koch <konqueror@gmx.de> |
3307 | ||
3308 | * gnu/java/rmi/rmic/CompilerProcess.java: | |
3309 | Fixed javadoc to by XHTML compliant. | |
3310 | ||
7a70d70c MW |
3311 | 2004-05-30 Mark Wielaard <mark@klomp.org> |
3312 | ||
3313 | * java/awt/Toolkit.java (loadSystemColors): Implement. | |
3314 | ||
289f9db7 MK |
3315 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
3316 | ||
071917b0 MK |
3317 | * java/lang/System.java: Reordered imports. |
3318 | ||
3319 | 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org> | |
3320 | ||
289f9db7 MK |
3321 | * java/text/DecimalFormat.java |
3322 | (parse): Fixed parsing of decimal strings. Number of maximum | |
3323 | digits to be read should now work. | |
3324 | * java/text/SimpleDateFormat.java | |
3325 | (SimpleDateFormat): Set maximumFractionDigit to 0 for the number | |
3326 | formatter. This fixes DateFormatTest. | |
3327 | ||
1b2545bc MK |
3328 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
3329 | ||
3330 | * java/nio/Buffer.java | |
3331 | (limit): Fixed off by one error. | |
3332 | * java/nio/CharBuffer.java | |
3333 | (wrap): Fixed arguments, added javadocs. | |
3334 | ||
74c2dbf7 MK |
3335 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
3336 | ||
3337 | * gnu/java/beans/BeanInfoEmbryo.java, | |
3338 | java/awt/im/InputContext.java, | |
3339 | javax/swing/tree/DefaultMutableTreeNode.java: | |
3340 | Rename enum to e because enum is a keyword in Java 1.5. | |
3341 | ||
27d14326 MK |
3342 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
3343 | ||
3344 | * gnu/java/math/MPN.java, | |
3345 | java/awt/geom/Arc2D.java: | |
3346 | Fixed javadocs all over. | |
3347 | ||
933592af MK |
3348 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
3349 | ||
3350 | * java/awt/DefaultKeyboardFocusManager.java | |
3351 | (dispatchEvent): Call method to get key event dispatchers. | |
3352 | (dispatchKeyEvent): Call method to get key event post processors. | |
3353 | * javax/swing/JComponent.java | |
3354 | (listenerList): Made protected. | |
3355 | * javax/swing/JOptionPane.java | |
3356 | (message): Don't initialize. | |
3357 | (JOptionPane): Set message text. | |
3358 | * javax/swing/JPopupMenu.java | |
3359 | (show): Fixed typo in argument name. | |
3360 | * javax/swing/RepaintManager.java | |
3361 | (paintDirtyRegions): Use public API of java.util.Map. | |
3362 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java | |
3363 | (positionForMouseEvent): Removed redundant ';'. | |
3364 | (continueDrag): Use method arguments. | |
3365 | ||
5ba95354 RM |
3366 | 2004-05-29 Ranjit Mathew <rmathew@hotmail.com> |
3367 | ||
3368 | * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge | |
3369 | results. | |
3370 | ||
ca60dce2 BM |
3371 | 2004-05-28 Bryce McKinlay <mckinlay@redhat.com> |
3372 | ||
3373 | * gcj/cni.h (JvAllocBytes): New public CNI function. Calls | |
3374 | _Jv_AllocBytes. | |
3375 | * gnu/gcj/RawDataManaged.java: New file. | |
3376 | * java/lang/Thread.java (data): Declare as RawDataManaged. | |
3377 | * java/lang/natThread.cc (init_native): Cast natThread data to | |
3378 | RawDataManaged, not jobject. | |
3379 | * Makefile.am (ordinary_java_source_files): Add RawDataManaged. | |
3380 | * Makefile.in: Rebuilt. | |
3381 | ||
b9f065be JQ |
3382 | 2004-05-27 Jerry Quinn <jlquinn@optonline.net> |
3383 | ||
3384 | * java/util/SimpleTimeZone.java: Reverting my last change until I | |
3385 | can fix it properly. | |
3386 | ||
a4171ce1 MK |
3387 | 2004-05-27 Michael Koch <konqueror@gmx.de> |
3388 | ||
3389 | * javax/swing/JPopupMenu.java | |
3390 | (isVisible): Do not use visible directly. | |
3391 | (setVisible): Likewise. | |
3392 | * javax/swing/JWindow.java | |
3393 | (JWindow): call accessible constructor. | |
3394 | * javax/swing/RepaintManager.java | |
3395 | (paintDirtyRegions): Use public methods to obtain iterator. | |
3396 | ||
c5d2de6b GH |
3397 | 2004-05-25 David Jee <djee@redhat.com> |
3398 | ||
3399 | * java/awt/Container.java | |
3400 | (remove): Set component's parent to null only after we removed the | |
3401 | component from its parent's layout manager. | |
3402 | ||
3403 | 2004-05-25 David Jee <djee@redhat.com> | |
3404 | ||
3405 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
3406 | (GtkComponentPeer): Set bounds regardless of whether awtComponent | |
3407 | is valid. | |
3408 | * gnu/java/awt/peer/gtk/GtkListPeer.java | |
3409 | (getSize): Change native method declaration. | |
3410 | (minimumSize): Pass visible row count into getSize(). | |
3411 | (preferredSize): Likewise. | |
3412 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c | |
3413 | (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's | |
3414 | natural size. Use visible row count to determine the final height | |
3415 | value to return. | |
3416 | ||
3417 | 2004-05-21 Graydon Hoare <graydon@redhat.com> | |
3418 | ||
3419 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java | |
3420 | (setClip): Minor correction to order of operations. | |
3421 | ||
3422 | * javax/swing/JScrollPane.java: Extend sketchy implementation. | |
3423 | * javax/swing/ScrollPaneLayout.java: Likewise. | |
3424 | * javax/swing/JViewPort.java: Likewise. | |
3425 | * javax/swing/ViewportLayout.java: Likewise. | |
3426 | ||
3427 | * javax/swing/JComponent.java: Rewrite. | |
3428 | * javax/swing/RepaintManager.java: Likewise. | |
3429 | ||
3430 | * javax/swing/JLayeredPane.java: Change validate() to revalidate(). | |
3431 | * javax/swing/JList.java | |
3432 | (setSelectedIndices): | |
3433 | (getSelectedIndices): | |
3434 | (getSelectedValues): New functions. | |
3435 | (getPreferredScrollableViewportSize): Return preferred size. | |
3436 | (getScrollableUnitIncrement): | |
3437 | (getScrollableBlockIncrement): Initial implementations. | |
3438 | * javax/swing/JRootPane.java: Clean up slightly. | |
3439 | (getUI): | |
3440 | (setUI): | |
3441 | (updateUI): | |
3442 | (getUIClassID): | |
3443 | (isValidateRoot): Add overrides from JComponent. | |
3444 | * javax/swing/JScrollBar.java: Set default orientation to VERTICAL. | |
3445 | * javax/swing/UIManager.java (getDimension): Return the dimension. | |
3446 | ||
3447 | * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque. | |
3448 | * javax/swing/plaf/basic/BasicLabelUI.java: Likewise. | |
3449 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise. | |
3450 | * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise. | |
3451 | * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise. | |
3452 | * javax/swing/plaf/basic/BasicSliderUI.java: Likewise. | |
3453 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise. | |
3454 | * javax/swing/plaf/basic/BasicRootPaneUI.java: | |
3455 | Likewise, and set background. | |
3456 | * javax/swing/plaf/basic/BasicListUI.java: | |
3457 | Likewise, and improve a bit. | |
3458 | * javax/swing/plaf/basic/BasicScrollBarUI.java: | |
3459 | Likewise, and adjust calculations. | |
3460 | * javax/swing/plaf/basic/BasicViewportUI.java: | |
3461 | Likewise, and improve a bit. | |
3462 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
3463 | (Button.margin): Shrink. | |
3464 | ||
3465 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: | |
3466 | Hack to set horizontal always, workaround pango. | |
3467 | ||
3468 | * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API. | |
3469 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: | |
3470 | Synchronize more often, check cairo status after ops, | |
3471 | handle changes to cairo pattern API, check for disposal. | |
3472 | ||
3473 | 2004-05-21 Olga Rodimina <rodimina@redhat.com> | |
3474 | ||
3475 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
3476 | (BasicMenuItemUI): Create propertyChangeListener. | |
3477 | (getPath):Implemented. | |
3478 | (installListeners): Add propertyChangeListener to menuItem. | |
3479 | (uninstallListeners): Remove propertyChangeListener from menuItem. | |
3480 | (update): Implemented. | |
3481 | * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler: | |
3482 | (mouseEntered): Take insets of popup menu into account when | |
3483 | calculating position of popup menu. | |
3484 | ||
3485 | 2004-05-18 Olga Rodimina <rodimina@redhat.com> | |
3486 | ||
3487 | * Makefile.am: Added new file. | |
3488 | * Makefile.in: Regenerate. | |
3489 | * javax/swing/JMenuBar.java: | |
3490 | Started implementation. | |
3491 | * javax/swing/JPopupMenu.java: | |
3492 | (setVisible): Fixed location of lightweight/mediumweight | |
3493 | popup menu. | |
3494 | (show): Fixed location of PopupMenu. | |
3495 | * javax/swing/plaf/basic/BasicMenuBarUI.java: | |
3496 | New file. UI Delegate for JMenuBar. | |
3497 | * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler: | |
3498 | (mouseEntered): Corrected position of the submenu. | |
3499 | ||
3500 | 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3501 | ||
3502 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls | |
3503 | to _gtk_accel_group_attach. | |
3504 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c: | |
3505 | Likewise. | |
3506 | ||
3507 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont | |
3508 | package access. Don't override setFont. | |
3509 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise. | |
3510 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give | |
3511 | gtkWidgetRequestFocus package access. | |
3512 | * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override | |
3513 | setFont. | |
3514 | * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont. | |
3515 | Give gtkWidgetRequestFocus package access. | |
3516 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give | |
3517 | gtkWidgetRequestFocus package access. Don't override setFont. | |
3518 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override | |
3519 | setFont. | |
3520 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c | |
3521 | (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical | |
3522 | region. | |
3523 | (gtkSetFont): Likewise. | |
3524 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont): | |
3525 | Implement. | |
3526 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
3527 | (gtkSetFont): Whitespace fix. | |
3528 | ||
3529 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
3530 | (gtkWidgetSetUsize): Remove method. | |
3531 | ||
3532 | 2004-05-18 David Jee <djee@redhat.com> | |
3533 | ||
3534 | * java/awt/image/MemoryImageSource.java | |
3535 | (newPixels(int,int,int,int,boolean)): Set only the specified | |
3536 | rectangle of pixels. | |
3537 | (newPixels(byte[],ColorModel,int,int)): Implement. | |
3538 | (newPixels(int[],ColorModel,int,int)): Implement. | |
3539 | ||
3540 | 2004-05-18 Olga Rodimina <rodimina@redhat.com> | |
3541 | ||
3542 | * Makefile.am: Added new file. | |
3543 | * Makefile.in: Regenerate. | |
3544 | * javax/swing/JMenu.java: Started | |
3545 | implementation. | |
3546 | * javax/swing/JPopupMenu.java: | |
3547 | (insert): If specified index is -1, then | |
3548 | add component at the end. | |
3549 | (isPopupTrigger): Reimplemented. | |
3550 | (JPopupMenu.LightWeightPopup): setBounds | |
3551 | of the lightWeightPopup before adding it | |
3552 | to the layeredPane. | |
3553 | (javax/swing/plaf/basic/BasicIconFactory.java): | |
3554 | (getMenuArrowIcon): Implemented. | |
3555 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
3556 | (getPreferredSize): Add size of the arrow icon | |
3557 | if this menu item is instance of JMenu. | |
3558 | (paintMenuItem): Paint arrow icon if this | |
3559 | menu item is a submenu. | |
3560 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
3561 | New File. UI Delegate for JMenu. | |
3562 | ||
3563 | 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3564 | ||
3565 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): | |
3566 | Post KEY_TYPED events. | |
3567 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
3568 | (generates_key_typed_event): Remove function. | |
3569 | ||
3570 | 2004-05-17 Olga Rodimina <rodimina@redhat.com> | |
3571 | ||
3572 | * javax/swing/JRootPane.java | |
3573 | (JRootPane.RootLayout): Reimplemented to | |
3574 | set bounds of contentPane and menuBar. | |
3575 | (setJMenuBar): Add menu bar to the layered pane. | |
3576 | (createLayeredPane): Set layout of layeredPane | |
3577 | to null. | |
3578 | * javax/swing/JLayeredPane.java: | |
3579 | (addImpl): Calculate index of the component in the | |
3580 | layeredPane according to the specified position within | |
3581 | the layer. | |
3582 | ||
3583 | 2004-05-17 David Jee <djee@redhat.com> | |
3584 | ||
3585 | * gnu/java/awt/peer/gtk/GtkImagePainter.java | |
3586 | (setPixels): Change color model to the default model after | |
3587 | converting pixels. | |
3588 | * java/awt/image/MemoryImageSource.java | |
3589 | (newPixels): Set only the specified rectangle of pixels. | |
3590 | ||
3591 | 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3592 | ||
3593 | * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet | |
3594 | -l-java-beans -l-javax-accessibility -l-javax-swing. | |
3595 | ||
3596 | * java/awt/AWTEvent.java (toString): Print source's name rather | |
3597 | than the source itself. | |
3598 | ||
3599 | 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3600 | ||
3601 | * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make | |
3602 | native. | |
3603 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c | |
3604 | (gdk_color_to_java_color): New function. | |
3605 | * jni/gtk-peer/gtkpeer.h: Add SystemColor defines. | |
3606 | ||
3607 | 2004-05-12 David Jee <djee@redhat.com> | |
3608 | ||
3609 | * java/awt/image/RGBImageFilter.java: | |
3610 | Initialize origmodel as null. | |
3611 | (makeColor): Fix pixel component order. | |
3612 | (filterRGBPixels): Fix pixel iteration. | |
3613 | (setPixels): Add extra checks for index color model. Convert pixels | |
3614 | to default color model if necessary. | |
3615 | (convertColorModelToDefault): New override method for byte pixels. | |
3616 | (convertColorModelToDefault): For int pixels, fix pixel iteration. | |
3617 | (makeColorbyDefaultCM): New override method for byte pixels. | |
3618 | (makeColorbyDefaultCM): For int pixel, add color model as argument. | |
3619 | (makeColor): Fix pixel component order. | |
3620 | ||
3621 | 2004-05-11 Kim Ho <kho@redhat.com> | |
3622 | ||
3623 | * javax/swing/Box.java: | |
3624 | Comment out more parts of Box.Filler. | |
3625 | ||
3626 | 2004-05-11 Kim Ho <kho@redhat.com> | |
3627 | ||
3628 | * javax/swing/Box.java: | |
3629 | Remove reference to AccessibleAWTComponent so | |
3630 | it compiles again. | |
3631 | ||
3632 | 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3633 | ||
3634 | * gnu/java/awt/peer/gtk/GtkListPeer.java, | |
3635 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update | |
3636 | implementation of list peer to use GtkTreeView instead of | |
3637 | deprecated GtkCList. | |
3638 | ||
3639 | 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3640 | ||
3641 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
3642 | (gtkWidgetDispatchKeyEvent): Remove keyChar parameter. | |
3643 | (handleEvent): Remove keyChar argument to | |
3644 | gtkWidgetDispatchKeyEvent calls. | |
3645 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix | |
3646 | compiler warnings. | |
3647 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise. | |
3648 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise. | |
3649 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c: | |
3650 | Likewise. | |
3651 | ||
3652 | 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3653 | ||
3654 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
3655 | (gtkWidgetRequestFocus): Mark protected. | |
3656 | (GtkComponentPeer): Only set the peer's bounds if its component | |
3657 | is valid. | |
3658 | * java/awt/Component.java (static): Set the default keyboard | |
3659 | focus manager. | |
3660 | (requestFocus(), requestFocus(boolean), requestFocusInWindow(), | |
3661 | requestFocusInWindow(temporary)): Don't request focus if the | |
3662 | component is not showing. Get tree lock before traversing | |
3663 | component hierarchy. | |
3664 | * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent): | |
3665 | Only set the global focus owner if it is not a Window. | |
3666 | (processKeyEvent): Consume keystrokes associated with the focus | |
3667 | traversal keystroke. | |
3668 | (focusPreviousComponent, focusNextComponent, upFocusCycle, | |
3669 | downFocusCycle): Call requestFocusInWindow instead of | |
3670 | requestFocus. | |
3671 | * java/awt/EventDispatchThread.java (run): Move setting of | |
3672 | default keyboard focus manager to Component.java. | |
3673 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
3674 | (awt_keycode_to_keysym): New function. | |
3675 | (gtkWidgetDispatchKeyEvent): Finish implementation. | |
3676 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
3677 | (pre_event_handler): Add FIXME comment. | |
3678 | ||
3679 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, | |
3680 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
3681 | (gtkWidgetRequestFocus): New method. | |
3682 | * java/awt/TextArea.java (TextArea): Set focus traversal keys to | |
3683 | disable Tab and Shift-Tab keystrokes. | |
3684 | (addNotify, appendText, insertText, replaceText): Simplify peer | |
3685 | retrieval code. | |
3686 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c | |
3687 | (connectSignals): Remove connections to "commit" signals. | |
3688 | Remove C++-style comments. | |
3689 | ||
3690 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java, | |
3691 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c | |
3692 | (handleEvent): Activate GTK button when the space bar key is | |
3693 | pressed. | |
3694 | (gtkActivate): New method. | |
3695 | ||
3696 | 2004-05-06 David Jee <djee@redhat.com> | |
3697 | ||
3698 | * java/awt/image/CropImageFilter.java | |
3699 | (setPixels): Implement for byte array pixels. | |
3700 | * java/awt/image/ReplicateScaleFilter.java | |
3701 | (setPixels): Implement for byte array pixels. | |
3702 | (replicatePixels): Overload for byte array pixels. | |
3703 | ||
3704 | 2004-05-06 Kim Ho <kho@redhat.com> | |
3705 | ||
3706 | * javax/swing/Box.java: | |
3707 | (getAccessibleContext): Return an instance of the | |
3708 | correct class. | |
3709 | ||
3710 | 2004-05-05 David Jee <djee@redhat.com> | |
3711 | ||
3712 | * gnu/java/awt/peer/gtk/GdkGraphics.java | |
3713 | (drawImage): When component is null, use SystemColor.window as | |
3714 | the default bgcolor. | |
3715 | * gnu/java/awt/peer/gtk/GtkImage.java | |
3716 | (setPixels): We can avoid iterating through the pixel rows only | |
3717 | when height is 1. | |
3718 | * java/awt/Image.java | |
3719 | (getScaledInstance): Partially implement. | |
3720 | * java/awt/image/CropImageFilter.java | |
3721 | (setProperties): Fix "filter" property. | |
3722 | (setPixels): Implement. | |
3723 | * java/awt/image/ReplicateScaleFilter.java | |
3724 | (setDimensions): Use scaled dimensions. | |
3725 | (setPixels): Implement. | |
3726 | (replicatePixels): New method. | |
3727 | ||
3728 | 2004-05-05 David Jee <djee@redhat.com> | |
3729 | ||
3730 | * gnu/java/awt/peer/gtk/GtkImagePainter.java | |
3731 | (convertPixels): If either pixels or model is null, return null. | |
3732 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c | |
3733 | (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels | |
3734 | is null, do nothing and return. | |
3735 | ||
3736 | 2004-05-03 Kim Ho <kho@redhat.com> | |
3737 | ||
3738 | * gnu/java/awt/peer/gtk/GtkDialogPeer.java: | |
3739 | (getGraphics): Like GtkFramePeer, the Graphics | |
3740 | object needs to be translate to account for | |
3741 | window decorations. | |
3742 | (postMouseEvent): New method. Account for | |
3743 | translation. | |
3744 | (postExposeEvent): ditto. | |
3745 | * javax/swing/Box.java: Stubbed. | |
3746 | * javax/swing/JDialog.java: Ran through jalopy | |
3747 | to fix indentation. | |
3748 | (JDialog): Call SwingUtilities' getOwnerFrame | |
3749 | for null owners. | |
3750 | (setLayout): Check isRootPaneCheckingEnabled | |
3751 | * javax/swing/JOptionPane.java: Re-implemented. | |
3752 | * javax/swing/SwingUtilities.java: | |
3753 | (getOwnerFrame): Static method to grab a default | |
3754 | owner frame for Dialogs that don't specify owners. | |
3755 | * javax/swing/event/SwingPropertyChangeSupport.java: | |
3756 | (firePropertyChange): Fix early exit condition. | |
3757 | * javax/swing/plaf/basic/BasicLabelUI.java: | |
3758 | (paint): Avoid painting text if it is null | |
3759 | or empty. | |
3760 | * javax/swing/plaf/basic/BasicOptionPaneUI.java: | |
3761 | Implement. | |
3762 | ||
3763 | 2004-05-03 Olga Rodimina <rodimina@redhat.com> | |
3764 | ||
3765 | * Makefile.am: Added new file. | |
3766 | * Makefile.in: Regenerate. | |
3767 | * javax/swing/JPopupMenu.java: | |
3768 | Started implementation. | |
3769 | * javax/swing/JWindow.java | |
3770 | (JWindow): call super() if parent for window | |
3771 | is not specified. | |
3772 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
3773 | New File. UI Delegate for JPopupMenu. | |
3774 | ||
3775 | 2004-04-30 Olga Rodimina <rodimina@redhat.com> | |
3776 | ||
3777 | * javax/swing/JApplet.java: Indicated that JApplet | |
3778 | implements RootPaneContainer and made method of this | |
3779 | interface public. | |
3780 | * javax/swing/JFrame.java: Ditto. | |
3781 | * javax/swing/JWindow.java: Ditto. | |
3782 | ||
3783 | 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3784 | ||
3785 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
3786 | (nativeSetBounds): Call gdk_window_move in addition to | |
3787 | gtk_window_move. | |
3788 | ||
3789 | * java/applet/Applet.java (preferredSize): Call parent's | |
3790 | preferredSize if the applet stub is null. | |
3791 | (minimumSize): Likewise for parent's minimumSize. | |
3792 | ||
3793 | 2004-04-27 Olga Rodimina <rodimina@redhat.com> | |
3794 | ||
3795 | * javax/swing/JMenuItem.java | |
3796 | (createActionPropertyChangeListener): Implemented. | |
3797 | (processMouseEvent): Ditto. | |
3798 | (fireMenuDragMouseEntered): Ditto. | |
3799 | (fireMenuDragMouseExited): Ditto. | |
3800 | (fireMenuDragMouseDragged): Ditto. | |
3801 | (fireMenuDragMouseReleased): Ditto. | |
3802 | (menuSelectionChanged): Ditto. | |
3803 | (getSubElements): Ditto. | |
3804 | (getComponent): Ditto. | |
3805 | (addMenuDragMouseListener): Ditto. | |
3806 | (removeMenuDragMouseListener):Ditto. | |
3807 | (addMenuKeyListener): Ditto. | |
3808 | (removeMenuKeyListener): Ditto. | |
3809 | * javax/swing/plaf/basic/BasicMenuItemUI.java | |
3810 | (doClick): Imlemented. | |
3811 | * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler: | |
3812 | Don't handle mouse events here. Pass them to | |
3813 | MenuSelectionManager. | |
3814 | ||
3815 | 2004-04-26 Olga Rodimina <rodimina@redhat.com> | |
3816 | Used correct version of jalopy configuration | |
3817 | file to fix style in the files below. | |
3818 | ||
3819 | 2004-04-26 Olga Rodimina <rodimina@redhat.com> | |
3820 | ||
3821 | * javax/swing/JCheckBoxMenuItem.java: | |
3822 | Fixed style and removed unnecessary comments. | |
3823 | * javax/swing/JMenuItem.java: Ditto. | |
3824 | * javax/swing/JRadioButtonMenuItem.java: Ditto. | |
3825 | * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto. | |
3826 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto. | |
3827 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto. | |
3828 | ||
3829 | 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3830 | ||
3831 | * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to | |
3832 | C-style. | |
3833 | ||
3834 | * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment. | |
3835 | ||
3836 | * java/awt/ContainerOrderFocusTraversalPolicy.java | |
3837 | (getComponentAfter): Start from current component and work up | |
3838 | the component hierarchy until an acceptable component is found. | |
3839 | Synchronize on tree lock. | |
3840 | (getComponentBefore): Likewise. | |
3841 | ||
3842 | 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3843 | ||
3844 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove | |
3845 | focus-related debugging messages. | |
3846 | * java/awt/DefaultKeyboardFocusManager.java: Likewise. | |
3847 | * java/awt/EventDispatchThread.java: Likewise. | |
3848 | * java/awt/KeyboardFocusManager.java: Likewise. | |
3849 | * java/awt/Window.java: Likewise. | |
3850 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise. | |
3851 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise. | |
3852 | ||
3853 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change | |
3854 | new C++-style comments to C-style comments. | |
3855 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise. | |
3856 | ||
3857 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
3858 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
3859 | (handleEvent): Dispatch key press and key release events to | |
3860 | backing widget. | |
3861 | (requestFocus): Post a FOCUS_GAINED event to the event queue. | |
3862 | (gtkWidgetRequestFocus): New method. | |
3863 | (gtkWidgetDispatchKeyEvent): Likewise. | |
3864 | * java/awt/Component.java (requestFocus, requestFocus(boolean), | |
3865 | requestFocusInWindow, requestFocusInWindow(boolean), | |
3866 | getFocusCycleRootAncestor, nextFocus, transferFocus, | |
3867 | transferFocusBackward, transferFocusUpCycle, hasFocus, | |
3868 | isFocusOwner): Implement and document focus-handling methods. | |
3869 | (setFocusTraversalKeys): Inherit focus traversal keys when | |
3870 | keystrokes argument is null. Fix focus-handling documentation | |
3871 | throughout class. | |
3872 | * java/awt/Container.java (setFocusTraversalKeys, | |
3873 | getFocusTraversalKeys, areFocusTraversalKeysSet, | |
3874 | isFocusCycleRoot, setFocusTraversalPolicy, | |
3875 | getFocusTraversalPolicy, isFocusTraversalPolicySet, | |
3876 | setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle): | |
3877 | Implement and document focus-handling methods. | |
3878 | (transferFocusBackward): Remove method. | |
3879 | (readObject, writeObject): Implement and document serialization | |
3880 | methods. | |
3881 | * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement | |
3882 | and document. | |
3883 | * java/awt/DefaultFocusTraversalPolicy.java: Implement and | |
3884 | document. | |
3885 | * java/awt/DefaultKeyboardFocusManager.java: Implement and | |
3886 | partially document. | |
3887 | * java/awt/EventDispatchThread.java (run): Set default keyboard | |
3888 | focus manager. Attempt to dispatch each event to the keyboard | |
3889 | focus manager before normal dispatch. | |
3890 | * java/awt/KeyboardFocusManager.java: Implement and partially | |
3891 | document. | |
3892 | * java/awt/Window.java (Window): Set focusCycleRoot to true. | |
3893 | (show): Focus initial component when window is shown for the | |
3894 | first time. | |
3895 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
3896 | (pre_event_handler): Replace complex key press and key release | |
3897 | logic with simple callbacks into GtkComponentPeer. | |
3898 | * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal. | |
3899 | ||
3900 | 2004-04-21 Olga Rodimina <rodimina@redhat.com> | |
3901 | ||
3902 | * javax/swing/MenuSelectionManager.java | |
3903 | (componentForPoint): Added new method. | |
3904 | (defaultManager): New Method. Implemented. | |
3905 | (getSelectedPath): Ditto. | |
3906 | (isComponentPartOfCurrentMenu): Ditto. | |
3907 | (processKeyEvent): Added new method. | |
3908 | (processMouseEvent): New Method. Implemented. | |
3909 | (setSelectedPath): Ditto. | |
3910 | (getPath): Ditto. | |
3911 | ||
3912 | 2004-04-19 Kim Ho <kho@redhat.com> | |
3913 | ||
3914 | * java/awt/Container.java: | |
3915 | (remove): Set the component's parent to null. | |
3916 | (getComponentAt): Implement. | |
3917 | * javax/swing/JComponent.java: | |
3918 | (JComponent): Initialize defaultLocale | |
3919 | (getDefaultLocale): Implement. | |
3920 | (setDefaultLocale): ditto. | |
3921 | * javax/swing/JSlider.java: | |
3922 | (JSlider): Fix calculation of value. | |
3923 | * javax/swing/JSplitPane.java: Implement. | |
3924 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
3925 | Change SplitPane's default divider size. | |
3926 | * javax/swing/plaf/basic/BasicScrollBarUI.java: | |
3927 | (paint): Remove unused code. | |
3928 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java: | |
3929 | Added comments and ran through jalopy. | |
3930 | (setBasicSplitPaneUI): Get reference to hidden divider | |
3931 | and set up one touch buttons if necessary. | |
3932 | (setBorder): Fire propertyChangeEvent only if | |
3933 | borders are different. | |
3934 | (getPreferredSize): Defer to layout manager. | |
3935 | (propertyChange): Implement. | |
3936 | (oneTouchExpandableChanged): ditto. | |
3937 | (createLeftOneTouchButton): Use BasicArrowButton. | |
3938 | (createRightOneTouchButton): ditto. | |
3939 | (moveDividerTo): New method. Moves the divider | |
3940 | to a set location based on the last divider location. | |
3941 | (BasicSplitPaneDivider::MouseHandler): Implement. | |
3942 | (BasicSplitPaneDivider::OneTouchButton): Removed. | |
3943 | (BasicSplitPaneDivider::DragController): Implement. | |
3944 | (BasicSplitPaneDivider::VerticalDragController): | |
3945 | ditto. | |
3946 | (BasicSplitPaneDivider::DividerLayout): ditto. | |
3947 | * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement. | |
3948 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: | |
3949 | (calculateLayoutInfo): Don't show component if it's | |
3950 | null. | |
3951 | (paintTab): Fix title paint logic. | |
3952 | ||
2140214f JQ |
3953 | 2004-05-26 Jerry Quinn <jlquinn@optonline.net> |
3954 | ||
3955 | PR libgcj/8321 | |
3956 | * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2. | |
3957 | (setStartRule,setEndRule): Don't take abs of day number. | |
3958 | (getOffset): Clarify docs. Add argument checks. | |
3959 | (isBefore): Take abs of day number in DOW_LE_DOM_MODE. | |
3960 | (equals,hasSameRules,toString,readObject): Use startTimeMode and | |
3961 | endTimeMode. | |
3962 | * testsuite/libjava.mauve/xfails | |
3963 | (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22. | |
3964 | ||
17abdabc BM |
3965 | 2004-05-21 Bryce McKinlay <mckinlay@redhat.com> |
3966 | ||
3967 | Layout interfaces during preparation, not initialization. | |
3968 | * java/lang/natClass.cc (initializeClass): Move | |
3969 | _Jv_LayoutInterfaceMethods call... | |
3970 | * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here. | |
3971 | ||
0fa13661 AG |
3972 | 2004-05-19 Anthony Green <green@localhost.localdomain> |
3973 | ||
3974 | * Makefile.am (awt_java_source_files): Remove javax.rmi and | |
3975 | gnu.javax.rmi code. | |
3976 | * Makefile.in: Rebuilt. | |
3977 | * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java, | |
3978 | javax/rmi/UtilDelegate.java, javax/rmi/Stub.java, | |
3979 | javax/rmi/Util.java, javax/rmi/ObjectImpl.java, | |
3980 | javax/rmi/SystemException.java, javax/rmi/ValueHandler.java, | |
3981 | javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java, | |
3982 | gnu/javax/rmi/CORBA/DelegateFactory.java, | |
3983 | gnu/javax/rmi/CORBA/GetDelegateInstanceException.java, | |
3984 | gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, | |
3985 | gnu/javax/rmi/CORBA/StubDelegateImpl.java, | |
3986 | gnu/javax/rmi/CORBA/UtilDelegateImpl.java, | |
3987 | gnu/javax/rmi/CORBA/ValueHandlerImpl.java, | |
3988 | gnu/javax/rmi/PortableServer.java: Remove files. | |
3989 | ||
0f22079e AG |
3990 | 2004-05-19 Anthony Green <green@redhat.com> |
3991 | ||
3992 | * Makefile.am: Define JAVA_EXT_DIRS. | |
3993 | * Makefile.in: Rebuilt. | |
3994 | * java/lang/natRuntime.cc (insertSystemProperties): Set | |
3995 | java.ext.dirs property. | |
3996 | ||
9152dcf4 MW |
3997 | 2004-05-16 Mark Wielaard <mark@klomp.org> |
3998 | ||
3999 | * java/io/Writer.java (Writer(Object)): Check for null lock object. | |
4000 | ||
fb0e7ec0 MW |
4001 | 2004-05-15 Mark Wielaard <mark@klomp.org> |
4002 | ||
4003 | * doc/cni.sgml: Removed, merged into gcj.texi. | |
4004 | ||
85ff6f62 MW |
4005 | 2004-05-15 Mark Wielaard <mark@klomp.org> |
4006 | ||
4007 | * Makefile.am (ordinary_java_source_files): Add new javax.print | |
4008 | classes. | |
4009 | * Makefile.in: Regenerated. | |
4010 | ||
4011 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
4012 | ||
4013 | * javax/print/attribute/standard/DateTimeAtCompleted.java, | |
4014 | javax/print/attribute/standard/DateTimeAtCreation.java, | |
4015 | javax/print/attribute/standard/DateTimeAtProcessing.java, | |
4016 | javax/print/attribute/standard/DocumentName.java, | |
4017 | javax/print/attribute/standard/JobHoldUntil.java, | |
4018 | javax/print/attribute/standard/JobImpressionsCompleted.java, | |
4019 | javax/print/attribute/standard/JobMessageFromOperator.java, | |
4020 | javax/print/attribute/standard/JobName.java, | |
4021 | javax/print/attribute/standard/JobOriginatingUserName.java, | |
4022 | javax/print/attribute/standard/JobPriority.java, | |
4023 | javax/print/attribute/standard/JobPrioritySupported.java, | |
4024 | javax/print/attribute/standard/NumberOfInterveningJobs.java, | |
4025 | javax/print/attribute/standard/OutputDeviceAssigned.java, | |
4026 | javax/print/attribute/standard/PrinterInfo.java, | |
4027 | javax/print/attribute/standard/PrinterLocation.java, | |
4028 | javax/print/attribute/standard/PrinterMakeAndModel.java, | |
4029 | javax/print/attribute/standard/PrinterMessageFromOperator.java, | |
4030 | javax/print/attribute/standard/PrinterName.java, | |
4031 | javax/print/attribute/standard/QueuedJobCount.java, | |
4032 | javax/print/attribute/standard/RequestingUserName.java: | |
4033 | Fixed javadocs all over. | |
4034 | ||
4035 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
4036 | ||
4037 | * javax/print/DocFlavor.java, | |
4038 | javax/print/attribute/standard/ColorSupported.java, | |
4039 | javax/print/attribute/standard/Compression.java, | |
4040 | javax/print/attribute/standard/CopiesSupported.java, | |
4041 | javax/print/attribute/standard/Fidelity.java, | |
4042 | javax/print/attribute/standard/Finishings.java, | |
4043 | javax/print/attribute/standard/JobImpressionsSupported.java, | |
4044 | javax/print/attribute/standard/JobKOctetsSupported.java, | |
4045 | javax/print/attribute/standard/JobMediaSheetsSupported.java, | |
4046 | javax/print/attribute/standard/JobSheets.java, | |
4047 | javax/print/attribute/standard/JobState.java, | |
4048 | javax/print/attribute/standard/JobStateReason.java, | |
4049 | javax/print/attribute/standard/JobStateReasons.java, | |
4050 | javax/print/attribute/standard/Media.java, | |
4051 | javax/print/attribute/standard/MediaSizeName.java, | |
4052 | javax/print/attribute/standard/MultipleDocumentHandling.java, | |
4053 | javax/print/attribute/standard/NumberUpSupported.java, | |
4054 | javax/print/attribute/standard/OrientationRequested.java, | |
4055 | javax/print/attribute/standard/PDLOverrideSupported.java, | |
4056 | javax/print/attribute/standard/PageRanges.java, | |
4057 | javax/print/attribute/standard/PresentationDirection.java, | |
4058 | javax/print/attribute/standard/PrintQuality.java, | |
4059 | javax/print/attribute/standard/PrinterIsAcceptingJobs.java, | |
4060 | javax/print/attribute/standard/PrinterMoreInfo.java, | |
4061 | javax/print/attribute/standard/PrinterMoreInfoManufacturer.java, | |
4062 | javax/print/attribute/standard/PrinterResolution.java, | |
4063 | javax/print/attribute/standard/PrinterState.java, | |
4064 | javax/print/attribute/standard/PrinterStateReason.java, | |
4065 | javax/print/attribute/standard/PrinterStateReasons.java, | |
4066 | javax/print/attribute/standard/PrinterURI.java, | |
4067 | javax/print/attribute/standard/ReferenceUriSchemesSupported.java, | |
4068 | javax/print/attribute/standard/Severity.java, | |
4069 | javax/print/attribute/standard/SheetCollate.java, | |
4070 | javax/print/attribute/standard/Sides.java: | |
4071 | Added serialVersionUID and removed final keyword where it doenst | |
4072 | belong. | |
4073 | ||
4074 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
4075 | ||
4076 | * javax/print/PrintServiceLookup.java: New file. | |
4077 | ||
4078 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
4079 | ||
4080 | * javax/print/DocFlavor.java: | |
4081 | Implemented all flavor classes. | |
4082 | ||
4083 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
4084 | ||
4085 | * javax/print/attribute/standard/ColorSupported.java, | |
4086 | javax/print/attribute/standard/Compression.java, | |
4087 | javax/print/attribute/standard/CopiesSupported.java, | |
4088 | javax/print/attribute/standard/Fidelity.java, | |
4089 | javax/print/attribute/standard/Finishings.java, | |
4090 | javax/print/attribute/standard/JobImpressionsSupported.java, | |
4091 | javax/print/attribute/standard/JobKOctetsSupported.java, | |
4092 | javax/print/attribute/standard/JobMediaSheetsSupported.java, | |
4093 | javax/print/attribute/standard/JobSheets.java, | |
4094 | javax/print/attribute/standard/JobState.java, | |
4095 | javax/print/attribute/standard/JobStateReason.java, | |
4096 | javax/print/attribute/standard/JobStateReasons.java, | |
4097 | javax/print/attribute/standard/Media.java, | |
4098 | javax/print/attribute/standard/MediaSizeName.java, | |
4099 | javax/print/attribute/standard/MultipleDocumentHandling.java, | |
4100 | javax/print/attribute/standard/NumberUpSupported.java, | |
4101 | javax/print/attribute/standard/OrientationRequested.java, | |
4102 | javax/print/attribute/standard/PDLOverrideSupported.java, | |
4103 | javax/print/attribute/standard/PageRanges.java, | |
4104 | javax/print/attribute/standard/PresentationDirection.java, | |
4105 | javax/print/attribute/standard/PrintQuality.java, | |
4106 | javax/print/attribute/standard/PrinterIsAcceptingJobs.java, | |
4107 | javax/print/attribute/standard/PrinterMoreInfo.java, | |
4108 | javax/print/attribute/standard/PrinterMoreInfoManufacturer.java, | |
4109 | javax/print/attribute/standard/PrinterResolution.java, | |
4110 | javax/print/attribute/standard/PrinterState.java, | |
4111 | javax/print/attribute/standard/PrinterStateReason.java, | |
4112 | javax/print/attribute/standard/PrinterStateReasons.java, | |
4113 | javax/print/attribute/standard/PrinterURI.java, | |
4114 | javax/print/attribute/standard/ReferenceUriSchemesSupported.java, | |
4115 | javax/print/attribute/standard/Severity.java, | |
4116 | javax/print/attribute/standard/SheetCollate.java, | |
4117 | javax/print/attribute/standard/Sides.java: New files. | |
4118 | ||
4119 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
4120 | ||
4121 | * javax/print/Doc.java | |
4122 | (getPrintData): Throws IOException. | |
4123 | (getReaderForText): Likewise. | |
4124 | (getStreamForBytes): Likewise. | |
4125 | * javax/print/DocFlavor.java: | |
4126 | Fixed filename in copyright. | |
4127 | (serialVersionUID): New field. | |
4128 | * javax/print/ServiceUIFactory.java: | |
4129 | Made all constants final. | |
4130 | * javax/print/AttributeException.java | |
4131 | javax/print/MultiDoc.java | |
4132 | javax/print/MultiDocPrintJob.java | |
4133 | javax/print/MultiDocPrintService.java | |
4134 | javax/print/StreamPrintService.java | |
4135 | javax/print/URIException.java: New files. | |
4136 | * javax/print/Makefile.am | |
4137 | (EXTRA_DIST): Added all new files. | |
4138 | ||
4139 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
4140 | ||
4141 | * javax/print/attribute/standard/Copies.java, | |
4142 | javax/print/attribute/standard/DateTimeAtCompleted.java, | |
4143 | javax/print/attribute/standard/DateTimeAtCreation.java, | |
4144 | javax/print/attribute/standard/DateTimeAtProcessing.java, | |
4145 | javax/print/attribute/standard/DocumentName.java, | |
4146 | javax/print/attribute/standard/JobHoldUntil.java, | |
4147 | javax/print/attribute/standard/JobImpressions.java, | |
4148 | javax/print/attribute/standard/JobImpressionsCompleted.java, | |
4149 | javax/print/attribute/standard/JobKOctets.java, | |
4150 | javax/print/attribute/standard/JobKOctetsProcessed.java, | |
4151 | javax/print/attribute/standard/JobMediaSheets.java, | |
4152 | javax/print/attribute/standard/JobMediaSheetsCompleted.java, | |
4153 | javax/print/attribute/standard/JobMessageFromOperator.java, | |
4154 | javax/print/attribute/standard/JobName.java, | |
4155 | javax/print/attribute/standard/JobOriginatingUserName.java, | |
4156 | javax/print/attribute/standard/JobPriority.java, | |
4157 | javax/print/attribute/standard/JobPrioritySupported.java, | |
4158 | javax/print/attribute/standard/NumberOfDocuments.java, | |
4159 | javax/print/attribute/standard/NumberOfInterveningJobs.java, | |
4160 | javax/print/attribute/standard/NumberUp.java, | |
4161 | javax/print/attribute/standard/OutputDeviceAssigned.java, | |
4162 | javax/print/attribute/standard/PagesPerMinute.java, | |
4163 | javax/print/attribute/standard/PagesPerMinuteColor.java: | |
4164 | Fixed @return tag all over. | |
4165 | ||
4166 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
4167 | ||
4168 | * javax/print/attribute/AttributeSetUtilities.java | |
4169 | (verifyCategoryForValue): Fixed typo in javadoc. | |
4170 | * javax/print/attribute/HashAttributeSet.java | |
4171 | (containsKey): Fixed @return tag. | |
4172 | (comtainsValue): Likewise. | |
4173 | (equals): Likewise. | |
4174 | * javax/print/attribute/IntegerSyntax.java | |
4175 | (equals): Likewise. | |
4176 | * javax/print/attribute/ResolutionSyntax.java | |
4177 | (equals): Likewise. | |
4178 | (getCrossFeedResolution): Removed unused code. | |
4179 | (getFeedResolution): Likewise. | |
4180 | * javax/print/attribute/SetOfIntegerSyntax.java | |
4181 | (SetOfIntegerSyntax): Fixed HTML entities in javadoc. | |
4182 | (equals): Fixed @return tag. | |
4183 | * javax/print/attribute/TextSyntax.java | |
4184 | (TextSyntax): Take locale into account. | |
4185 | (hashCode): Better implementation. | |
4186 | ||
4187 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
4188 | ||
4189 | * javax/print/CancelablePrintJob.java, | |
4190 | javax/print/Doc.java, | |
4191 | javax/print/DocFlavor.java, | |
4192 | javax/print/DocPrintJob.java, | |
4193 | javax/print/FlavorException.java, | |
4194 | javax/print/PrintException.java, | |
4195 | javax/print/PrintService.java, | |
4196 | javax/print/ServiceUIFactory.java: New files. | |
4197 | ||
f437e359 MW |
4198 | 2004-05-15 Mark Wielaard <mark@klomp.org> |
4199 | ||
4200 | * gnu/regexp/CharIndexedReader.java: Removed. | |
4201 | * gnu/regexp/REFilterReader.java: Likewise. | |
4202 | * gnu/regexp/RETokenLookAhead.java: Likewise. | |
4203 | * Makefile.am (ordinary_java_source_files): Remove above classes. | |
4204 | * Makefile.in: Regenerated. | |
4205 | ||
ae0d0d59 TT |
4206 | 2004-05-14 Tom Tromey <tromey@redhat.com> |
4207 | ||
4208 | * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage', | |
4209 | not `XGraphicsConfiguration.XOffScreenImage'. | |
4210 | ||
1cd29ad2 SG |
4211 | 2004-05-14 Scott Gilbertson <scottg@mantatest.com> |
4212 | ||
4213 | * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap. | |
4214 | ||
a01a235c SA |
4215 | 2004-05-14 Steven Augart <augart@watson.ibm.com> |
4216 | ||
4217 | * include/jni.h (_Jv_func): Removed. | |
4218 | (struct JNINativeInterface): Use `void *' for reserved slots. | |
4219 | (struct JNIInvokeInterface): Likewise. | |
4220 | ||
8f0b9daa MK |
4221 | 2004-05-11 Michael Koch <konqueror@gmx.de> |
4222 | ||
4223 | * gnu/java/net/natPlainSocketImplPosix.cc | |
4224 | (read): Fixed typo in expression. | |
4225 | ||
3f68457e AT |
4226 | 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch> |
4227 | ||
4228 | * testsuite/lib/libjava.exp (libjava_invoke): Add new argument | |
4229 | ld_library_additions. Adjust all calls to libjava_invoke to match | |
4230 | the new argument. | |
4231 | ||
4232 | * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++ | |
4233 | path to cxxflagslist. | |
4234 | Pass path of libstdc++ to libjava_invoke. | |
4235 | ||
4236 | * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust | |
4237 | libjava_invoke arguments. | |
4238 | ||
731d47a6 RM |
4239 | 2004-05-10 Ranjit Mathew <rmathew@hotmail.com> |
4240 | ||
4241 | * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current | |
4242 | reality. | |
4243 | ||
8e31e128 RM |
4244 | 2004-05-07 Ranjit Mathew <rmathew@gmail.com> |
4245 | ||
4246 | * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the | |
4247 | main binary against the JNI shared library. | |
4248 | ||
61af3d86 JQ |
4249 | 2004-05-07 Jerry Quinn <jlquinn@optonline.net> |
4250 | ||
4251 | * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode, | |
4252 | WALL_TIME, STANDARD_TIME, UTC_TIME): New members. | |
4253 | (SimpleTimeZone): Tweak docs. Add new variation. | |
4254 | (setStartRule,setEndRule): Add new variations. Use | |
4255 | startTimeMode and endTimeMode. | |
4256 | ||
4257 | 2004-05-07 Jerry Quinn <jlquinn@optonline.net> | |
4258 | ||
4259 | * java/util/Calendar.java (getActualMinimum, | |
4260 | getActualMaximum): Remove abstract. Implement. | |
4261 | ||
579f9640 BM |
4262 | 2004-05-06 Bryce McKinlay <mckinlay@redhat.com> |
4263 | ||
4264 | Run the jni tests using the interpreter. | |
4265 | * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append | |
4266 | options_cxx to shared lib compile command. | |
4267 | (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so | |
4268 | they are used to link the shared lib, not the main binary. | |
4269 | Use libjava_invoke to run gij. | |
4270 | ||
0a215a11 MK |
4271 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
4272 | ||
4273 | * java/util/logging/Level.java | |
4274 | (parse): Use == instead of String.equals(). | |
4275 | ||
e51f7aeb BM |
4276 | 2004-05-06 Bryce McKinlay <mckinlay@redhat.com> |
4277 | ||
4278 | * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use | |
4279 | verify_field_signature and verify_method_signature, not | |
4280 | _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature. | |
4281 | (_Jv_ClassReader::handleField): Likewise. | |
4282 | (_Jv_ClassReader::handleMethod): Likewise. | |
4283 | ||
c8395524 MK |
4284 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
4285 | ||
4286 | * javax/swing/table/TableColumn.java: | |
4287 | Reformated. | |
4288 | ||
c8b86f1a MK |
4289 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
4290 | ||
4291 | * javax/imageio/spi/ImageReaderWriterSpi.java | |
4292 | (ImageReaderWriterSpi): Made it public. | |
4293 | * javax/imageio/stream/ImageInputStream.java: | |
4294 | Clean up imports. | |
4295 | ||
9f2eefb7 MK |
4296 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
4297 | ||
4298 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
4299 | Removed empty line. | |
4300 | ||
45505d4d MK |
4301 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
4302 | ||
4303 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c, | |
4304 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c: | |
4305 | New files. | |
4306 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c: | |
4307 | Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h. | |
4308 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: | |
4309 | Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to | |
4310 | their own source file. | |
4311 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
4312 | Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to | |
4313 | their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize. | |
4314 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c | |
4315 | (create): Define variable on top of function. | |
4316 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | |
4317 | (menu_pos): Prototyped. | |
4318 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
4319 | (setTitle): Removed. | |
4320 | * jni/gtk-peer/gthread-jni.c | |
4321 | (gdk_threads_wake): Removed. | |
4322 | * Makefile.am (gtk_c_source_files): Added new files | |
4323 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and | |
4324 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c. | |
4325 | * Makefile.in: Regenerated. | |
4326 | ||
74e94435 BM |
4327 | 2004-05-05 Bryce McKinlay <mckinlay@redhat.com> |
4328 | ||
4329 | * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary() | |
4330 | call. | |
4331 | ||
68ea5833 MW |
4332 | 2004-05-05 Mark Wielaard <mark@klomp.org> |
4333 | ||
4334 | * javax/swing/AbstractButton.java: Replace special HTML entities with | |
4335 | ASCII equivalent. | |
4336 | * javax/swing/DefaultBoundedRangeModel.java: Likewise. | |
4337 | * javax/swing/DefaultButtonModel.java: Likewise. | |
4338 | * javax/swing/DefaultListModel.java: Likewise. | |
4339 | * javax/swing/JList.java: Likewise. | |
4340 | * javax/swing/JSlider.java: Likewise. | |
4341 | * javax/swing/ListModel.java: Likewise. | |
4342 | * javax/swing/Popup.java: Likewise. | |
4343 | * javax/swing/SwingUtilities.java: Likewise. | |
4344 | ||
880fa238 MK |
4345 | 2004-05-05 Michael Koch <konqueror@gmx.de> |
4346 | ||
4347 | * javax/swing/AbstractButton.java, | |
4348 | javax/swing/ActionMap.java, | |
4349 | javax/swing/DefaultButtonModel.java, | |
4350 | javax/swing/DefaultListModel.java, | |
4351 | javax/swing/ImageIcon.java, | |
4352 | javax/swing/JComboBox.java, | |
4353 | javax/swing/JComponent.java, | |
4354 | javax/swing/JFrame.java, | |
4355 | javax/swing/JInternalFrame.java, | |
4356 | javax/swing/JMenuBar.java, | |
4357 | javax/swing/JMenuItem.java, | |
4358 | javax/swing/JOptionPane.java, | |
4359 | javax/swing/JProgressBar.java, | |
4360 | javax/swing/JRootPane.java, | |
4361 | javax/swing/JScrollBar.java, | |
4362 | javax/swing/JScrollPane.java, | |
4363 | javax/swing/JSeparator.java, | |
4364 | javax/swing/JSlider.java, | |
4365 | javax/swing/JTabbedPane.java, | |
4366 | javax/swing/JTable.java, | |
4367 | javax/swing/JTextField.java, | |
4368 | javax/swing/JToolBar.java, | |
4369 | javax/swing/JToolTip.java, | |
4370 | javax/swing/JTree.java, | |
4371 | javax/swing/JViewport.java, | |
4372 | javax/swing/JWindow.java, | |
4373 | javax/swing/KeyStroke.java, | |
4374 | javax/swing/LookAndFeel.java, | |
4375 | javax/swing/SwingUtilities.java, | |
4376 | javax/swing/Timer.java, | |
4377 | javax/swing/ToolTipManager.java, | |
4378 | javax/swing/UIDefaults.java, | |
4379 | javax/swing/border/TitledBorder.java, | |
4380 | javax/swing/filechooser/FileSystemView.java, | |
4381 | javax/swing/plaf/basic/BasicButtonListener.java, | |
4382 | javax/swing/plaf/basic/BasicButtonUI.java, | |
4383 | javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java, | |
4384 | javax/swing/plaf/basic/BasicGraphicsUtils.java, | |
4385 | javax/swing/plaf/basic/BasicLabelUI.java, | |
4386 | javax/swing/plaf/basic/BasicMenuItemUI.java, | |
4387 | javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java, | |
4388 | javax/swing/plaf/basic/BasicRootPaneUI.java, | |
4389 | javax/swing/plaf/basic/BasicScrollBarUI.java, | |
4390 | javax/swing/plaf/basic/BasicScrollPaneUI.java, | |
4391 | javax/swing/plaf/basic/BasicSliderUI.java, | |
4392 | javax/swing/plaf/basic/BasicTabbedPaneUI.java, | |
4393 | javax/swing/plaf/basic/BasicToggleButtonUI.java, | |
4394 | javax/swing/table/JTableHeader.java, | |
4395 | javax/swing/text/AbstractDocument.java, | |
4396 | javax/swing/text/DefaultCaret.java, | |
4397 | javax/swing/text/StyledEditorKit.java, | |
4398 | javax/swing/tree/DefaultTreeCellEditor.java: | |
4399 | Cleaned up imports. | |
4400 | ||
4a93a226 MK |
4401 | 2004-05-05 Michael Koch <konqueror@gmx.de> |
4402 | ||
4403 | * java/util/prefs/AbstractPreferences.java | |
4404 | (AbstractPreferences): Added parenthesis for clarity. | |
4405 | Closes classpath bug #7940. | |
4406 | ||
aaec686e TT |
4407 | 2004-05-05 Tom Tromey <tromey@redhat.com> |
4408 | ||
4409 | * javax/naming/CompoundName.java (endsWith): Look at correct | |
4410 | element of source name. | |
4411 | ||
b1210ca2 MW |
4412 | 2004-05-05 Mark Wielaard <mark@klomp.org> |
4413 | ||
4414 | Reported by f.haeglsperger@gmx.de [classpath patch #2485] | |
4415 | * java/util/HashMap.java (rehash): Add entry at start of bucket. | |
4416 | ||
a54f498a TT |
4417 | 2004-05-05 Tom Tromey <tromey@redhat.com> |
4418 | ||
4419 | * java/io/BufferedReader.java (skip): Removed unused | |
4420 | variable. | |
4421 | ||
e8430418 MK |
4422 | 2004-05-05 Michael Koch <konqueror@gmx.de> |
4423 | ||
4424 | * java/awt/FileDialog.java: Import java.io.Serializable explicitly. | |
4425 | ||
f32c742c DT |
4426 | 2004-05-05 Dalibor Topic <robilad@kaffe.org> |
4427 | ||
4428 | * java/text/AttributedString.java, | |
4429 | java/text/AttributedStringIterator.java, | |
4430 | java/text/Collator.java, | |
4431 | java/text/DecimalFormatSymbols.java, | |
4432 | java/text/NumberFormat.java, | |
4433 | java/text/RuleBasedCollator.java: | |
4434 | Cleaned up imports. | |
4435 | ||
d70bd7ff TT |
4436 | 2004-05-05 Tom Tromey <tromey@redhat.com> |
4437 | ||
4438 | * java/text/Format.java: Cleaned up imports. | |
4439 | * java/text/DecimalFormat.java: Cleaned up imports. | |
4440 | * java/security/SecureRandom.java: Cleaned up imports. | |
4441 | (SecureRandom): Removed unused variable. | |
4442 | * java/security/UnresolvedPermission.java: Cleaned up imports. | |
4443 | * java/util/Date.java (parse): Removed unused variable. | |
4444 | * java/util/ResourceBundle.java: Cleaned up imports. | |
4445 | (getBundle): Removed unused variable. | |
4446 | (tryBundle): Likewise. | |
4447 | * java/util/regex/Pattern.java (Pattern): Removed unused constructor. | |
4448 | ||
2225a42a GL |
4449 | 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org> |
4450 | ||
4451 | * java/text/SimpleDateFormat.java: | |
4452 | (formatWithAttribute): New method. It implements | |
4453 | the formatting process with attributes. | |
4454 | (format): Use formatWithAttribute. | |
4455 | (formatToCharacterIterator): New method. Use | |
4456 | formatWithAttribute. | |
4457 | ||
1f646142 GL |
4458 | 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org> |
4459 | ||
4460 | * java/text/MessageFormat.java: | |
4461 | (class Field): New class. | |
4462 | (formatToCharacterIterator): New method. | |
4463 | (format): Use formatInternal now. | |
4464 | (formatInternal): New method. String formatter should | |
4465 | be done here (with attributes). Attributes merging supported. | |
4466 | (parse): More documentation. | |
4467 | (getFormatsByArgumentIndex): New method. | |
4468 | (setFormatByArgumentIndex): New method. | |
4469 | (setFormatsByArgumentIndex): New method. | |
4470 | ||
8cf1edb3 GL |
4471 | 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org> |
4472 | ||
4473 | * java/text/DecimalFormat.java | |
4474 | (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309. | |
4475 | (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS. | |
4476 | (parse): Fixed handling of exponentiation notation and grouping. | |
4477 | ||
4478 | 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org> | |
4479 | ||
4480 | * java/text/DecimalFormat.java | |
4481 | (scanFix): Build attribute array. Fixed error reporting. | |
4482 | (applyPatternWithSymbols): Store attributes for the prefix and | |
4483 | suffix. | |
4484 | (formatInternal): New method. Changed the way the string is | |
4485 | computed. Implemented attributes. Cleant up rounding in | |
4486 | exponential notation. | |
4487 | (format): Use formatInternal. | |
4488 | (formatToCharacterIterator): New method. | |
4489 | (exponentRound, negativePrefixRanges, positivePrefixRanges, | |
4490 | negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges, | |
4491 | positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs): | |
4492 | New fields. | |
4493 | ||
aff9d141 DT |
4494 | 2004-05-04 Dalibor Topic <robilad@kaffe.org> |
4495 | ||
4496 | * java/security/interfaces/DSAKeyPairGenerator.java, | |
4497 | java/security/interfaces/DSAPrivateKey.java, | |
4498 | java/security/interfaces/DSAPublicKey.java, | |
4499 | java/security/interfaces/RSAPrivateKey.java, | |
4500 | java/security/interfaces/RSAPublicKey.java: | |
4501 | Cleaned up imports. | |
4502 | ||
933522fb MK |
4503 | 2004-05-04 Michael Koch <konqueror@gmx.de> |
4504 | ||
4505 | * java/nio/ByteBuffer.java, | |
4506 | java/nio/CharBuffer.java, | |
4507 | java/nio/DoubleBuffer.java, | |
4508 | java/nio/FloatBuffer.java, | |
4509 | java/nio/IntBuffer.java, | |
4510 | java/nio/LongBuffer.java, | |
4511 | java/nio/ShortBuffer.java: | |
4512 | (compareTo): Fixed bogus implementation in all buffer classes. | |
4513 | ||
27c2c3ec IP |
4514 | 2004-05-04 Ingo Proetel <proetel@aicas.com> |
4515 | ||
4516 | * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has | |
4517 | 32 bit pixels not 8 bit pixels. | |
4518 | (isCompatibleRaster): Added javadoc comment. | |
4519 | ||
4520 | 2004-05-04 Ingo Proetel <proetel@aicas.com> | |
4521 | ||
4522 | * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset | |
4523 | scanline stride. | |
4524 | ||
4525 | 2004-05-04 Ingo Proetel <proetel@aicas.com> | |
4526 | ||
4527 | * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature. | |
4528 | (getColorModel): Return the actual color model. | |
4529 | (getRaster): Implemented. | |
4530 | (ColorRaster): New inner class. | |
4531 | * java/awt/SystemColor.java (createContext): Use ColorModel when creating | |
4532 | a PaintContext. | |
4533 | * java/awt/Color.java (<init>): Make exception more verbose. | |
4534 | (createContext): Use ColorModel when creating a PaintContext. | |
4535 | ||
a31d9d6c MK |
4536 | 2004-05-04 Michael Koch <konqueror@gmx.de> |
4537 | ||
4538 | * gnu/java/text/CharacterBreakIterator.java | |
4539 | (previous): Removed unused variable. | |
4540 | ||
065afdfa GL |
4541 | 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org> |
4542 | ||
4543 | * gnu/java/text/FormatBuffer.java, | |
4544 | gnu/java/text/AttributedFormatBuffer.java, | |
4545 | gnu/java/text/StringFormatBuffer.java: New classes to implement | |
4546 | attributed iterators in java.text. | |
4547 | * gnu/java/text/FormatCharacterIterator.java: Moved | |
4548 | from java/text as it is an internal class. | |
4549 | * java/text/FormatCharacterIterator.java: Removed. | |
4550 | * java/text/Format.java: | |
4551 | Import gnu.java.text.FormatCharacterIterator. | |
4552 | * Makefile.am (java_source_files): Added new files. | |
4553 | * Makefile.in: Regenerated. | |
4554 | ||
4555 | ||
af62fd12 MW |
4556 | 2004-05-04 Mark Wielaard <mark@klomp.org> |
4557 | ||
53c87e49 | 4558 | * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method. |
af62fd12 | 4559 | |
a3c44036 AT |
4560 | 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch> |
4561 | ||
4562 | * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra. | |
4563 | * Makefile.in: Rebuilt. | |
4564 | ||
007265b8 MW |
4565 | 2004-05-03 Mark Wielaard <mark@klomp.org> |
4566 | ||
4567 | * gnu/java/security/der/DERReader.java: Call static methods staticly. | |
4568 | * java/awt/TextComponent.java (select): Use selectionEnd parameter. | |
4569 | * java/net/URL.java | |
4570 | (set(String, String, int, String, String, String, String, String)): | |
4571 | Assign this.file to path or path + "?" + query. | |
4572 | * java/util/Arrays.java: Call static methods staticly. | |
4573 | * java/util/zip/ZipEntry.java: Likewise. | |
4574 | * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign | |
4575 | dir to this.direction. | |
4576 | * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder): | |
4577 | Assign static field only once. | |
4578 | (DefaultTableCellRenderer): Don't reassign noFocusBorder each time. | |
4579 | ||
a00d3b3c MW |
4580 | 2004-05-03 Mark Wielaard <mark@klomp.org> |
4581 | ||
4582 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed | |
4583 | unused variables hScrollbarHeight and vScrollbarWidth. | |
4584 | (preferredSize): Likewise. | |
4585 | * gnu/java/security/provider/DSAParameters.java (engineToString): | |
4586 | Removed unused call to System.getProperty("line.seperator"); | |
4587 | * java/security/Security.java (loadProviders): Return result. | |
4588 | ||
7b68f0bf TT |
4589 | 2004-05-03 Tom Tromey <tromey@redhat.com> |
4590 | ||
4591 | * java/net/URLStreamHandler.java (toExternalForm): Removed | |
4592 | unused variables. | |
4593 | unused constructor. | |
4594 | * java/math/BigDecimal.java (divide): Removed unused variable. | |
4595 | * java/lang/Throwable.java: Cleaned up imports. | |
4596 | * java/lang/ClassLoader.java: Cleaned up imports. | |
4597 | * java/io/FilePermission.java (implies): Removed unused | |
4598 | variable. | |
4599 | * java/awt/TextComponent.java: Removed unused import. | |
4600 | * gnu/java/util/prefs/NodeReader.java: Cleaned up imports. | |
4601 | * gnu/java/util/DoubleEnumeration.java: Removed unused import. | |
4602 | * gnu/java/text/WordBreakIterator.java: Removed unused import. | |
4603 | * gnu/java/text/SentenceBreakIterator.java: Removed unused | |
4604 | import. | |
4605 | * gnu/java/text/LineBreakIterator.java: Removed unused import. | |
4606 | * gnu/java/text/CharacterBreakIterator.java: Removed | |
4607 | unused import. | |
4608 | * gnu/java/security/provider/DSAKeyPairGenerator.java: | |
4609 | Cleaned up imports. | |
4610 | * gnu/java/security/der/DERWriter.java: Cleaned up imports. | |
4611 | * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed | |
4612 | unused method. | |
4613 | * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports. | |
4614 | * gnu/java/nio/FileLockImpl.java: Cleaned up imports. | |
4615 | * gnu/java/io/Base64InputStream.java: Cleaned up imports. | |
4616 | * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports. | |
4617 | * gnu/classpath/ServiceFactory.java: Cleaned up imports. | |
4618 | (lookupProviders): Removed unused variable. | |
4619 | (loadNextServiceProvider): Likewise. | |
4620 | * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports. | |
4621 | ||
493b3c9c MK |
4622 | 2004-05-03 Michael Koch <konqueror@gmx.de> |
4623 | ||
4624 | Fixes PR libgcj/14695: | |
4625 | * java/net/NetworkInterface.java | |
4626 | (getByName): Return null when no interface was found. | |
4627 | ||
55ce9c52 RM |
4628 | 2004-04-30 Ranjit Mathew <rmathew@hotmail.com> |
4629 | Tom Tromey <tromey@redhat.com> | |
4630 | ||
4631 | * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use | |
4632 | additional option "-Wmissing-prototypes" for compiling C sources. | |
4633 | Print actual filename for pass/fail rather than $name.c. | |
4634 | * testsuite/libjava.jni/PR15133.java: New testcase file. | |
4635 | * testsuite/libjava.jni/PR15133.c: Likewise. | |
4636 | * testsuite/libjava.jni/PR15133.out: Likewise. | |
4637 | ||
2d99c042 RS |
4638 | 2004-04-30 Roger Sayle <roger@eyesopen.com> |
4639 | ||
4640 | * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin, | |
4641 | ceil and floor. | |
4642 | ||
c1fcbbc3 RM |
4643 | 2004-04-25 Ranjit Mathew <rmathew@hotmail.com> |
4644 | ||
4645 | * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly | |
4646 | limit the maximum heap size to avoid unnecessary thrashing. | |
4647 | ||
6f0b1fa5 JQ |
4648 | 2004-04-24 Jerry Quinn <jlquinn@optonline.net> |
4649 | ||
4650 | * java/text/CollationElementIterator.java (reset): Reset | |
4651 | lookahead variables. | |
4652 | ||
99a88816 MW |
4653 | 2004-04-23 Mark Wielaard <mark@klomp.org> |
4654 | ||
4655 | * jni/classpath/jcl.c: Changed C++ comments into C comments. | |
4656 | ||
b4e7ef8d DT |
4657 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> |
4658 | ||
4659 | * java/sql/DriverManager.java: | |
4660 | Cleaned up imports. | |
4661 | ||
e9d34968 MK |
4662 | 2004-04-23 Michael Koch <konqueror@gmx.de> |
4663 | ||
4664 | * java/net/URL.java | |
4665 | (hashcode): Don't initialize with default value explicitely. | |
4666 | (getContent): Removed redundant "final" keyword. | |
4667 | (openStream): Likewise. | |
4668 | (getURLStreamHandler): Fixed coding style. | |
4669 | * java/net/URLConnection.java | |
4670 | (defaultAllowUserInteraction): Don't initialize with default value | |
4671 | explicitely. | |
4672 | (connected): Likewise. | |
4673 | (doOutput): Likewise. | |
4674 | (ifModifiedSince): Likewise. | |
4675 | (dateformats_initialized): Likewise. | |
4676 | (setURLStreamHander): Use StreamTokenizer where it belongs to. | |
4677 | ||
87939d70 MK |
4678 | 2004-04-23 Michael Koch <konqueror@gmx.de> |
4679 | ||
4680 | * gnu/java/nio/channels/FileChannelImpl.java | |
4681 | (SET, CUR): Unused, removed. | |
4682 | (read): Implement here directly. | |
4683 | (implRead): Removed. | |
4684 | (write): Implement here directly. | |
4685 | (implWrite): Removed. | |
4686 | ||
5d837a58 DT |
4687 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> |
4688 | ||
4689 | * javax/rmi/CORBA/PortableRemoteObjectDelegate.java, | |
4690 | javax/rmi/CORBA/Stub.java, | |
4691 | javax/rmi/CORBA/Util.java, | |
4692 | javax/rmi/CORBA/ValueHandler.java, | |
4693 | javax/rmi/CORBA/ValueHandler.java, | |
4694 | javax/rmi/PortableRemoteObject.java: | |
4695 | Cleaned up imports. | |
4696 | ||
ace7ed7c DT |
4697 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> |
4698 | ||
4699 | * java/util/jar/JarFile.java, | |
4700 | java/util/jar/JarInputStream.java, | |
4701 | java/util/jar/JarOutputStream.java, | |
4702 | java/util/jar/Manifest.java: | |
4703 | Cleaned up imports. | |
4704 | ||
4705 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> | |
4706 | ||
4707 | * java/util/ArrayList.java, | |
4708 | java/util/Calendar.java, | |
4709 | java/util/Currency.java, | |
4710 | java/util/HashMap.java, | |
4711 | java/util/HashSet.java, | |
4712 | java/util/Hashtable.java, | |
4713 | java/util/LinkedList.java, | |
4714 | java/util/Properties.java, | |
4715 | java/util/PropertyPermission.java, | |
4716 | java/util/TimeZone.java, | |
4717 | java/util/TreeMap.java, | |
4718 | java/util/TreeSet.java, | |
4719 | java/util/Vector.java, | |
4720 | java/util/WeakHashMap.java: | |
4721 | Cleaned up imports. | |
4722 | ||
4723 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> | |
4724 | ||
4725 | * java/util/logging/FileHandler.java, | |
4726 | java/util/logging/Formatter.java, | |
4727 | java/util/logging/Handler.java, | |
4728 | java/util/logging/Logger.java, | |
4729 | java/util/logging/SimpleFormatter.java, | |
4730 | java/util/logging/XMLFormatter.java: | |
4731 | Cleaned up imports. | |
4732 | ||
ae522139 MW |
4733 | 2004-04-22 Mark Wielaard <mark@klomp.org> |
4734 | ||
4735 | * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall | |
4736 | -Wno-long-long flags variable. | |
4737 | (gtk_c_files): Use PEDANTIC_CFLAGS. | |
4738 | * Makefile.in: Regenerated. | |
4739 | ||
838a4849 MK |
4740 | 2004-04-22 Mark Wielaard <mark@klomp.org> |
4741 | ||
4742 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
4743 | Changed C++ comments into C comments. | |
4744 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: | |
4745 | Likewise. | |
4746 | ||
4747 | 2004-04-22 Michael Koch <konqueror@gmx.de> | |
4748 | ||
4749 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c: | |
4750 | Merged copyright year with GNU classpath. | |
4751 | ||
fe2235d1 DT |
4752 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
4753 | ||
4754 | * javax/security/auth/x500/X500Principal.java: | |
4755 | Cleaned up imports. | |
4756 | ||
b7db3d0a DT |
4757 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
4758 | ||
4759 | * javax/swing/JSlider.java: | |
4760 | Fixed HTML tags in comments. | |
4761 | ||
32bfc773 DT |
4762 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
4763 | ||
4764 | * javax/accessibility/AccessibleText.java: | |
4765 | Cleaned up imports. | |
4766 | ||
e930d01a MK |
4767 | 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl> |
4768 | ||
4769 | * java/net/URLStreamHandler.java | |
4770 | (parseURL): Convert the file path to using '/' instead of native | |
4771 | file separator. | |
4772 | ||
4773 | 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org> | |
4774 | ||
4775 | * java/net/URL.java | |
4776 | (userInfo): New field. | |
4777 | (URL): Set authority to the right value. | |
4778 | (setURL): Fixed authority and file initialization. | |
4779 | * java/net/URLStreamHandler.java | |
4780 | (parseURL): Take care of the query tag. Build authority. | |
4781 | (toExternalForm): Fixed URL building using authority. | |
4782 | ||
5d79367d MK |
4783 | 2004-04-22 Michael Koch <konqueror@gmx.de> |
4784 | ||
4785 | * java/net/Socket.java | |
4786 | (impl): Made package-private. | |
4787 | * java/net/ServerSocket.java | |
4788 | (implAccept): Access Socket.impl field directly. | |
4789 | ||
c0dce235 DT |
4790 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
4791 | ||
4792 | * java/util/prefs/Preferences.java, | |
4793 | java/util/prefs/InvalidPreferencesFormatException.java, | |
4794 | java/util/prefs/BackingStoreException.java, | |
4795 | java/util/prefs/AbstractPreferences.java: | |
4796 | Cleaned up imports. | |
4797 | ||
4798 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> | |
4799 | ||
4800 | * java/util/regex/Matcher.java, | |
4801 | java/util/regex/Pattern.java: | |
4802 | Cleaned up imports. | |
4803 | ||
5c09d725 MK |
4804 | 2004-04-22 Michael Koch <konqueror@gmx.de> |
4805 | ||
4806 | * java/nio/charset/IllegalCharsetNameException.java | |
4807 | (charsetName): Made private. | |
4808 | (IllegalCharsetNameException): Added @param tag to javadoc. | |
4809 | (getCharsetName): Added @return tag to javadoc. | |
4810 | * java/nio/charset/MalformedInputException.java | |
4811 | (MalformedInputException): Added @param tag to javadoc. | |
4812 | (getInputLength): Revised method description, added @return tag. | |
4813 | (getMessage): Added @return tag. | |
4814 | ||
83ef3f2b JQ |
4815 | 2004-04-22 Jerry Quinn <jlquinn@optonline.net> |
4816 | ||
4817 | * java/awt/Font.java (deriveFont): Implement missing variants. | |
4818 | * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement | |
4819 | missing variants. | |
4820 | ||
746ecc78 BM |
4821 | 2004-04-21 Bryce McKinlay <mckinlay@redhat.com> |
4822 | ||
4823 | * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method. | |
4824 | Set method->index values for interface methods to their itable index. | |
4825 | (initializeClass): Call _Jv_LayoutInterfaceMethods. | |
4826 | ||
86a80fc3 MK |
4827 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
4828 | ||
4829 | * java/nio/DirectByteBufferImpl.java | |
4830 | (shiftDown): Made static, give address as argument and | |
4831 | provide a convenience method that overwrites shiftDown in | |
4832 | ByteBufferImpl and calls the native shiftDown. | |
4833 | * java/nio/MappedByteBufferImpl.java | |
4834 | (): Use optimized method in DirectByteBufferImpl. | |
4835 | * java/nio/natDirectByteBufferImpl.cc | |
4836 | (shiftDown): Changed method signature. Removed usage of array_offset. | |
4837 | ||
6e90ed19 MK |
4838 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
4839 | ||
4840 | * gnu/java/net/natPlainSocketImplPosix.cc | |
4841 | (SocketInputStream::read): Make sure returned data is a byte value. | |
4842 | ||
96d22b12 MK |
4843 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
4844 | ||
4845 | * gnu/classpath/ServiceFactory.java, | |
4846 | gnu/classpath/ServiceProviderLoadingAction.java, | |
4847 | javax/imageio/ImageReader.java, | |
4848 | javax/imageio/ImageTranscoder.java, | |
4849 | javax/imageio/ImageWriter.java, | |
4850 | javax/imageio/package.html, | |
4851 | javax/imageio/spi/IIOServiceProvider.java, | |
4852 | javax/imageio/spi/ImageInputStreamSpi.java, | |
4853 | javax/imageio/spi/ImageOutputStreamSpi.java, | |
4854 | javax/imageio/spi/ImageReaderWriterSpi.java, | |
4855 | javax/imageio/spi/ImageTranscoderSpi.java, | |
4856 | javax/imageio/spi/RegisterableService.java, | |
4857 | javax/imageio/spi/ServiceRegistry.java, | |
4858 | javax/imageio/spi/package.html, | |
4859 | javax/imageio/stream/IIOByteBuffer.java, | |
4860 | javax/imageio/stream/ImageInputStream.java, | |
4861 | javax/imageio/stream/ImageOutputStream.java, | |
4862 | javax/imageio/stream/package.html: | |
4863 | New files. | |
4864 | * Makefile.am | |
4865 | (ordinary_java_source_files): Added | |
4866 | gnu/classpath/ServiceFactory.java and | |
4867 | gnu/classpath/ServiceProviderLoadingAction.java. | |
4868 | (javax_source_files): Added | |
4869 | javax/imageio/ImageReader.java, | |
4870 | javax/imageio/ImageTranscoder.java, | |
4871 | javax/imageio/ImageWriter.java, | |
4872 | javax/imageio/spi/IIOServiceProvider.java, | |
4873 | javax/imageio/spi/ImageInputStreamSpi.java, | |
4874 | javax/imageio/spi/ImageOutputStreamSpi.java, | |
4875 | javax/imageio/spi/ImageReaderWriterSpi.java, | |
4876 | javax/imageio/spi/ImageTranscoderSpi.java, | |
4877 | javax/imageio/spi/RegisterableService.java, | |
4878 | javax/imageio/spi/ServiceRegistry.java, | |
4879 | javax/imageio/stream/IIOByteBuffer.java, | |
4880 | javax/imageio/stream/ImageInputStream.java and | |
4881 | javax/imageio/stream/ImageOutputStream.java. | |
4882 | * Makefile.in: Regenerated. | |
4883 | ||
ca17d211 MK |
4884 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
4885 | ||
4886 | * java/util/Properties.java | |
4887 | (load): Fix wrongly merged fix. | |
4888 | ||
60e957d0 MW |
4889 | 2004-04-21 Mark Wielaard <mark@klomp.org> |
4890 | ||
4891 | * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly | |
4892 | malloc and free buf. | |
4893 | ||
27dd18cf DT |
4894 | 2004-04-21 Dalibor Topic <robilad@kaffe.org> |
4895 | ||
4896 | * javax/naming/AuthenticationException.java, | |
4897 | javax/naming/AuthenticationNotSupportedException.java, | |
4898 | javax/naming/CannotProceedException.java, | |
4899 | javax/naming/CommunicationException.java, | |
4900 | javax/naming/CompoundName.java, | |
4901 | javax/naming/ConfigurationException.java, | |
4902 | javax/naming/ContextNotEmptyException.java, | |
4903 | javax/naming/InitialContext.java, | |
4904 | javax/naming/InsufficientResourcesException.java, | |
4905 | javax/naming/InterruptedNamingException.java, | |
4906 | javax/naming/LimitExceededException.java, | |
4907 | javax/naming/LinkException.java, | |
4908 | javax/naming/LinkLoopException.java, | |
4909 | javax/naming/LinkRef.java, | |
4910 | javax/naming/MalformedLinkException.java, | |
4911 | javax/naming/Name.java, | |
4912 | javax/naming/NameAlreadyBoundException.java, | |
4913 | javax/naming/NameNotFoundException.java, | |
4914 | javax/naming/NamingSecurityException.java, | |
4915 | javax/naming/NoInitialContextException.java, | |
4916 | javax/naming/NoPermissionException.java, | |
4917 | javax/naming/NotContextException.java, | |
4918 | javax/naming/PartialResultException.java, | |
4919 | javax/naming/ReferralException.java, | |
4920 | javax/naming/ServiceUnavailableException.java, | |
4921 | javax/naming/SizeLimitExceededException.java, | |
4922 | javax/naming/TimeLimitExceededException.java, | |
4923 | javax/naming/directory/Attribute.java, | |
4924 | javax/naming/directory/Attributes.java, | |
4925 | javax/naming/directory/SearchResult.java, | |
4926 | javax/naming/event/NamingExceptionEvent.java, | |
4927 | javax/naming/spi/ResolveResult.java: | |
4928 | Cleaned up imports. | |
4929 | ||
2635995a MW |
4930 | 2004-04-21 Mark Wielaard <mark@klomp.org> |
4931 | ||
4932 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: | |
4933 | Changed C++ comments into C comments. Removed commented out code. | |
4934 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
4935 | Likewise. | |
4936 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: | |
4937 | Likewise. | |
4938 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c: | |
4939 | Likewise. | |
4940 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: | |
4941 | Likewise. | |
4942 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c: | |
4943 | Likewise. | |
4944 | * native/jni/gtk-peer/gthread-jni.c: | |
4945 | Likewise. | |
4946 | ||
1c3d6bb2 MW |
4947 | 2004-04-21 Mark Wielaard <mark@klomp.org> |
4948 | ||
4949 | * javax/awt/JFrame.java: Implement WindowConstants. Remove final | |
4950 | static fields defined in interface. | |
4951 | * javax/awt/JDialog.java: Likewise. | |
4952 | (JDialog): Make constructors public. | |
4953 | (getDefaultCloseOperation): Make public. | |
4954 | (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set. | |
4955 | (setDefaultCloseOperation): Make public. Check argument. Add API doc. | |
4956 | * javax/swing/JViewport.java (JViewport): Make constructor public. | |
4957 | ||
387fa012 MK |
4958 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
4959 | ||
4960 | * java/util/Map.java | |
4961 | (Entry): Removed redundant "static" modifier. | |
4962 | * java/text/AttributedCharacterIterator.java: | |
4963 | Updated copyright year. | |
4964 | ||
bf9f06ae MK |
4965 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
4966 | ||
4967 | * javax/naming/directory/SearchControls.java: | |
4968 | Don't explicitely extend java.lang.Object. | |
4969 | * javax/naming/spi/DirStateFactory.java: | |
4970 | Merged copyright year with GNU classpath. | |
4971 | ||
8a6c1d29 MK |
4972 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
4973 | ||
4974 | * java/nio/channels/Channels.java: | |
4975 | Merged coding style with GNU classpath. | |
4976 | ||
f5874634 MK |
4977 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
4978 | ||
4979 | * java/net/ServerSocket.java | |
4980 | Merged coding style from GNU classpath. | |
4981 | ||
90cb5151 MK |
4982 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
4983 | ||
4984 | * java/io/BufferedWriter.java: | |
4985 | Reordered variables to be at top of the class. | |
4986 | (localFlush): Removed redundant final keyword. | |
4987 | ||
5ede96a4 IP |
4988 | 2004-04-20 Ingo Proetel <proetel@aicas.com> |
4989 | ||
4990 | * java/awt/event/MouseEvent.java (<init>): fixed field assignment | |
4991 | ||
391d8ef5 MK |
4992 | 2004-04-20 Jeroen Frijters <jeroen@frijters.net> |
4993 | ||
4994 | * java/text/DecimalFormat.java (scanFix): Removed suffix check | |
4995 | for percent and permill check. | |
4996 | ||
4997 | 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org> | |
4998 | ||
4999 | * java/text/FieldPosition.java | |
5000 | (FieldPosition) Constructor now behaves as it should according | |
5001 | to the java documentation. | |
5002 | ||
5003 | 2004-04-20 Mark Wielaard <mark@klomp.org> | |
5004 | ||
5005 | * java/util/Properties.java: Use the word umlaut, not ä in api | |
5006 | documentation. | |
5007 | ||
92e1fe67 MK |
5008 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5009 | ||
5010 | * java/nio/Buffer.java, | |
5011 | java/nio/channels/AlreadyConnectedException.java, | |
5012 | java/nio/channels/AsynchronousCloseException.java, | |
5013 | java/nio/channels/ByteChannel.java, | |
5014 | java/nio/channels/CancelledKeyException.java, | |
5015 | java/nio/channels/Channel.java, | |
5016 | java/nio/channels/Channels.java, | |
5017 | java/nio/channels/ClosedByInterruptException.java, | |
5018 | java/nio/channels/ClosedChannelException.java, | |
5019 | java/nio/channels/ClosedSelectorException.java, | |
5020 | java/nio/channels/ConnectionPendingException.java, | |
5021 | java/nio/channels/DatagramChannel.java, | |
5022 | java/nio/channels/FileChannel.java, | |
5023 | java/nio/channels/FileLock.java, | |
5024 | java/nio/channels/FileLockInterruptionException.java, | |
5025 | java/nio/channels/GatheringByteChannel.java, | |
5026 | java/nio/channels/IllegalBlockingModeException.java, | |
5027 | java/nio/channels/IllegalSelectorException.java, | |
5028 | java/nio/channels/InterruptibleChannel.java, | |
5029 | java/nio/channels/NoConnectionPendingException.java, | |
5030 | java/nio/channels/NonReadableChannelException.java, | |
5031 | java/nio/channels/NonWritableChannelException.java, | |
5032 | java/nio/channels/NotYetBoundException.java, | |
5033 | java/nio/channels/NotYetConnectedException.java, | |
5034 | java/nio/channels/OverlappingFileLockException.java, | |
5035 | java/nio/channels/Pipe.java, | |
5036 | java/nio/channels/ReadableByteChannel.java, | |
5037 | java/nio/channels/ScatteringByteChannel.java, | |
5038 | java/nio/channels/SelectableChannel.java, | |
5039 | java/nio/channels/SelectionKey.java, | |
5040 | java/nio/channels/Selector.java, | |
5041 | java/nio/channels/ServerSocketChannel.java, | |
5042 | java/nio/channels/SocketChannel.java, | |
5043 | java/nio/channels/UnresolvedAddressException.java, | |
5044 | java/nio/channels/UnsupportedAddressTypeException.java, | |
5045 | java/nio/channels/WritableByteChannel.java, | |
5046 | java/nio/channels/spi/AbstractInterruptibleChannel.java, | |
5047 | java/nio/channels/spi/AbstractSelectableChannel.java, | |
5048 | java/nio/channels/spi/AbstractSelectionKey.java, | |
5049 | java/nio/channels/spi/AbstractSelector.java, | |
5050 | java/nio/channels/spi/SelectorProvider.java, | |
5051 | java/nio/charset/spi/CharsetProvider.java: | |
5052 | Fixed javadocs and jalopied all over java.nio. | |
5053 | ||
08c5d757 MK |
5054 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5055 | ||
5056 | * java/nio/ByteBufferImpl.java, | |
5057 | java/nio/CharBufferImpl.java, | |
5058 | java/nio/DirectByteBufferImpl.java, | |
5059 | java/nio/DoubleBufferImpl.java, | |
5060 | java/nio/DoubleViewBufferImpl.java, | |
5061 | java/nio/FloatBufferImpl.java, | |
5062 | java/nio/FloatViewBufferImpl.java, | |
5063 | java/nio/IntBufferImpl.java, | |
5064 | java/nio/IntViewBufferImpl.java, | |
5065 | java/nio/LongBufferImpl.java, | |
5066 | java/nio/LongViewBufferImpl.java, | |
5067 | java/nio/MappedByteBufferImpl.java, | |
5068 | java/nio/ShortBufferImpl.java, | |
5069 | java/nio/ShortViewBufferImpl.java: | |
5070 | Made sure all classes are final and removed final keyword from all | |
5071 | methods. | |
5072 | ||
a17c9f2e MK |
5073 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5074 | ||
5075 | * java/rmi/MarshalledObject.java, | |
5076 | java/rmi/Naming.java, | |
5077 | java/rmi/RemoteException.java, | |
5078 | java/rmi/activation/ActivationException.java, | |
5079 | java/rmi/server/ServerCloneException.java, | |
5080 | java/security/AccessController.java, | |
5081 | java/security/AlgorithmParameterGenerator.java, | |
5082 | java/security/AlgorithmParameters.java, | |
5083 | java/security/CodeSource.java, | |
5084 | java/security/Identity.java, | |
5085 | java/security/IdentityScope.java, | |
5086 | java/security/KeyPairGenerator.java, | |
5087 | java/security/KeyStore.java, | |
5088 | java/security/Security.java, | |
5089 | java/security/Signature.java, | |
5090 | java/security/SignatureSpi.java, | |
5091 | java/security/SignedObject.java, | |
5092 | java/security/spec/DSAParameterSpec.java, | |
5093 | java/security/spec/DSAPrivateKeySpec.java, | |
5094 | java/security/spec/DSAPublicKeySpec.java, | |
5095 | java/sql/Array.java, | |
5096 | java/sql/DatabaseMetaData.java, | |
5097 | java/sql/ResultSet.java, | |
5098 | java/text/ChoiceFormat.java, | |
5099 | java/text/CollationElementIterator.java, | |
5100 | java/text/CollationKey.java, | |
5101 | java/text/Collator.java, | |
5102 | java/text/DateFormat.java, | |
5103 | java/text/DateFormatSymbols.java, | |
5104 | java/text/DecimalFormatSymbols.java, | |
5105 | java/text/Format.java, | |
5106 | java/text/ParsePosition.java, | |
5107 | java/text/RuleBasedCollator.java, | |
5108 | java/text/SimpleDateFormat.java, | |
5109 | java/text/StringCharacterIterator.java, | |
5110 | java/util/Collections.java, | |
5111 | java/util/PropertyResourceBundle.java, | |
5112 | java/util/ResourceBundle.java, | |
5113 | java/util/StringTokenizer.java, | |
5114 | java/util/jar/Attributes.java, | |
5115 | java/util/logging/ConsoleHandler.java, | |
5116 | java/util/logging/LogManager.java, | |
5117 | java/util/logging/MemoryHandler.java, | |
5118 | java/util/logging/SocketHandler.java, | |
5119 | javax/naming/NamingException.java: | |
5120 | Fixed javadoc, coding style and argument names all over. | |
5121 | ||
0fc920c8 MK |
5122 | 2004-04-20 Jeroen Frijters <jeroen@frijters.net> |
5123 | ||
5124 | * java/io/FileDescriptor.java: (FileDescriptor) Added public | |
5125 | constructor. (valid) Added null check. | |
5126 | ||
5127 | 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org> | |
5128 | ||
5129 | Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com> | |
5130 | * java/io/FileOutputStream.java | |
5131 | (FileOutputStream) Reorganized constructors. Constructors now | |
5132 | check whether the given path is directory. | |
5133 | ||
f6d49f66 MK |
5134 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5135 | ||
5136 | * java/net/Authenticator.java, | |
5137 | java/net/BindException.java, | |
5138 | java/net/ConnectException.java, | |
5139 | java/net/ContentHandler.java, | |
5140 | java/net/ContentHandlerFactory.java, | |
5141 | java/net/DatagramPacket.java, | |
5142 | java/net/DatagramSocket.java, | |
5143 | java/net/DatagramSocketImpl.java, | |
5144 | java/net/DatagramSocketImplFactory.java, | |
5145 | java/net/FileNameMap.java, | |
5146 | java/net/HttpURLConnection.java, | |
5147 | java/net/Inet4Address.java, | |
5148 | java/net/Inet6Address.java, | |
5149 | java/net/InetAddress.java, | |
5150 | java/net/InetSocketAddress.java, | |
5151 | java/net/JarURLConnection.java, | |
5152 | java/net/MalformedURLException.java, | |
5153 | java/net/MulticastSocket.java, | |
5154 | java/net/NetPermission.java, | |
5155 | java/net/NetworkInterface.java, | |
5156 | java/net/NoRouteToHostException.java, | |
5157 | java/net/PasswordAuthentication.java, | |
5158 | java/net/PortUnreachableException.java, | |
5159 | java/net/ProtocolException.java, | |
5160 | java/net/ServerSocket.java, | |
5161 | java/net/Socket.java, | |
5162 | java/net/SocketAddress.java, | |
5163 | java/net/SocketException.java, | |
5164 | java/net/SocketImpl.java, | |
5165 | java/net/SocketImplFactory.java, | |
5166 | java/net/SocketOptions.java, | |
5167 | java/net/SocketPermission.java, | |
5168 | java/net/SocketTimeoutException.java, | |
5169 | java/net/URI.java, | |
5170 | java/net/URISyntaxException.java, | |
5171 | java/net/URL.java, | |
5172 | java/net/URLClassLoader.java, | |
5173 | java/net/URLConnection.java, | |
5174 | java/net/URLDecoder.java, | |
5175 | java/net/URLEncoder.java, | |
5176 | java/net/URLStreamHandler.java, | |
5177 | java/net/URLStreamHandlerFactory.java, | |
5178 | java/net/UnknownHostException.java, | |
5179 | java/net/UnknownServiceException.java: | |
5180 | Fixed javadocs, coding style and argument names all over. | |
5181 | ||
cf6f7d55 MK |
5182 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5183 | ||
5184 | * java/lang/Byte.java, | |
5185 | java/lang/CharSequence.java, | |
5186 | java/lang/ClassLoader.java, | |
5187 | java/lang/Compiler.java, | |
5188 | java/lang/Double.java, | |
5189 | java/lang/Float.java, | |
5190 | java/lang/Integer.java, | |
5191 | java/lang/Long.java, | |
5192 | java/lang/Math.java, | |
5193 | java/lang/Number.java, | |
5194 | java/lang/Package.java, | |
5195 | java/lang/Runtime.java, | |
5196 | java/lang/RuntimePermission.java, | |
5197 | java/lang/SecurityManager.java, | |
5198 | java/lang/Short.java, | |
5199 | java/lang/StringBuffer.java, | |
5200 | java/lang/System.java, | |
5201 | java/lang/ThreadGroup.java, | |
5202 | java/lang/Throwable.java, | |
5203 | java/lang/reflect/InvocationHandler.java, | |
5204 | java/lang/reflect/Proxy.java: | |
5205 | Fixed javadocs, coding style and argument names all over. | |
5206 | ||
9f714d5e MK |
5207 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5208 | ||
5209 | * java/io/BufferedWriter.java, | |
5210 | java/io/ByteArrayInputStream.java, | |
5211 | java/io/CharArrayWriter.java, | |
5212 | java/io/DataInput.java, | |
5213 | java/io/DataInputStream.java, | |
5214 | java/io/File.java, | |
5215 | java/io/FilterInputStream.java, | |
5216 | java/io/InputStream.java, | |
5217 | java/io/InputStreamReader.java, | |
5218 | java/io/ObjectInputStream.java, | |
5219 | java/io/ObjectStreamClass.java, | |
5220 | java/io/PipedInputStream.java, | |
5221 | java/io/PipedReader.java, | |
5222 | java/io/PushbackInputStream.java, | |
5223 | java/io/PushbackReader.java, | |
5224 | java/io/RandomAccessFile.java, | |
5225 | java/io/SerializablePermission.java, | |
5226 | java/io/StreamTokenizer.java, | |
5227 | java/io/StringWriter.java, | |
5228 | java/io/WriteAbortedException.java, | |
5229 | java/io/Writer.java: | |
5230 | Fixed javadocs all over, rename arguments to match javadocs, | |
5231 | fixed coding style. | |
5232 | ||
23f0ecff MK |
5233 | 2004-04-20 Ingo Proetel <proetel@aicas.com> |
5234 | ||
5235 | * java/awt/FontMetrics.java: | |
5236 | (charsWidth): fixed accumulation of total_width | |
5237 | (getWidth): simple default implementation | |
5238 | * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate | |
5239 | in Rectangle constructor. | |
5240 | * java/awt/image/Raster.java (toString): Added method. | |
5241 | * java/awt/image/SampleModel.java (<init>): Added error cause | |
5242 | information to thrown exception. | |
5243 | * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements): | |
5244 | New method. | |
5245 | (setDataElements): New method. | |
5246 | (setPixels): New method. | |
5247 | (toString): New method. | |
5248 | ||
5249 | 2004-04-20 Sascha Brawer <brawer@dandelis.ch> | |
5250 | ||
5251 | * java/awt/image/ComponentColorModel.java | |
5252 | (createCompatibleSampleModel): Return PixelInterleavedSampleModel | |
5253 | for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the | |
5254 | Mauve tests on this method. Improved documentation. | |
5255 | ||
2c4d54e6 MK |
5256 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5257 | ||
5258 | * javax/swing/JLayeredPane.java, | |
5259 | javax/swing/plaf/BorderUIResource.java, | |
5260 | javax/swing/plaf/ComponentUI.java, | |
5261 | javax/swing/undo/CompoundEdit.java, | |
5262 | javax/swing/undo/StateEdit.java: | |
5263 | Fixed HTML tags in javadocs all over. | |
5264 | ||
5589f3e5 MK |
5265 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5266 | ||
5267 | * javax/print/attribute/EnumSyntax.java | |
5268 | (getOffset): Made protected. | |
5269 | * javax/print/attribute/HashAttributeSet.java | |
5270 | (HashAttributeSet): Likewise. | |
5271 | * javax/print/attribute/ResolutionSyntax.java | |
5272 | (getFeedResolution): Fixed typo in exception name. | |
5273 | (getCrossFeedResolution): Likewise. | |
5274 | * javax/print/attribute/SetOfIntegerSyntax.java | |
5275 | (SetOfIntegerSyntax): Fixed HTML entities in javadoc. | |
5276 | * javax/print/attribute/TextSyntax.java | |
5277 | (TextSyntax): Handle locale correctly. | |
5278 | (hashCode): Calc better hashcode value. | |
5279 | (equals): Fixed @return tag. | |
5280 | (toString): New method. | |
5281 | ||
0150fc22 MK |
5282 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5283 | ||
5284 | * gnu/java/nio/FileLockImpl.java | |
5285 | (static): Removed, not needed anymore. | |
5286 | * gnu/java/nio/channels/FileChannelImpl.java | |
5287 | (FileChannelImpl): Made final. | |
5288 | (mode): Made private. | |
5289 | (READ, WRITE, APPEND): Made public. | |
5290 | (EXCL, SYNC, DSYNC): Likewise. | |
5291 | (static): Load native JNI library, when needed. | |
5292 | (length): Unused, removed. | |
5293 | (available): Made public. | |
5294 | (implPosition): Throws IOException. | |
5295 | (seek): Likewise. | |
5296 | (implTruncate): Likewise. | |
5297 | (unlock): Likewise. | |
5298 | (lock): Likewise. | |
5299 | ||
7431acbe MK |
5300 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5301 | ||
5302 | * java/awt/AWTPermission.java, | |
5303 | java/awt/Component.java, | |
5304 | java/awt/ComponentOrientation.java,, | |
5305 | java/awt/Dialog.java, | |
5306 | java/awt/FontMetrics.java, | |
5307 | java/awt/Graphics.java, | |
5308 | java/awt/datatransfer/DataFlavor.java, | |
5309 | java/beans/Introspector.java, | |
5310 | java/beans/PropertyEditor.java, | |
5311 | java/beans/PropertyEditorManager.java, | |
5312 | java/beans/beancontext/BeanContextServiceProvider.java: | |
5313 | Fixed HTML tags in javadocs all over. | |
5314 | ||
7f6f517f MW |
5315 | 2004-04-20 Mark Wielaard <mark@klomp.org> |
5316 | ||
5317 | * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when | |
5318 | MissingResourceException is thrown. | |
5319 | * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return | |
5320 | null when a MissingResourceException is thrown. Should never happen. | |
5321 | ||
8ecb0346 MK |
5322 | 2004-04-20 Sascha Brawer <brawer@dandelis.ch> |
5323 | ||
5324 | * java/awt/image/DataBufferShort.java, | |
5325 | java/awt/image/DataBufferFloat.java, | |
5326 | java/awt/image/DataBufferDouble.java, | |
5327 | java/awt/image/PixelInterleavedSampleModel.java: New files. | |
5328 | * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData, | |
5329 | getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE. | |
5330 | ||
5331 | 2004-04-20 Michael Koch <konqueror@gmx.de> | |
5332 | ||
5333 | * Makefile.am (java_source_files): Added | |
5334 | java/awt/image/DataBufferDouble.java, | |
5335 | java/awt/image/DataBufferFloat.java, | |
5336 | java/awt/image/DataBufferShort.java and | |
5337 | java/awt/image/PixelInterleavedSampleModel.java. | |
5338 | * Makefile.in: Regenerated. | |
5339 | ||
f5310108 BM |
5340 | 2004-04-19 Bryce McKinlay <mckinlay@redhat.com> |
5341 | ||
5342 | * gcj/cni.h (JvAllocObject): Remove these obsolete, | |
5343 | undocumented CNI calls. | |
5344 | * include/java-interp.h (_Jv_InterpClass): No longer | |
5345 | extends java.lang.Class. | |
5346 | * java/lang/Class.h (Class): Add new field `aux_info'. | |
5347 | * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking. | |
5348 | * defineclass.cc: Remove Class<->_Jv_InterpClass casts. | |
5349 | Use Class->aux_info instead. | |
5350 | * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject. | |
5351 | * resolve.cc: Remove Class<->_Jv_InterpClass casts. | |
5352 | Use Class->aux_info instead. | |
5353 | * java/io/natObjectInputStream.cc (allocateObject): Use | |
5354 | _Jv_AllocObject. | |
5355 | * java/lang/natClass.cc (newInstance): Likewise. | |
5356 | * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise. | |
5357 | * java/lang/natObject.cc (clone): Likewise. | |
5358 | * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise. | |
5359 | * java/lang/natVMClassLoader.cc (defineClass): Don't use | |
5360 | JvAllocObject. Allocate klass->aux_info here for interpreted | |
5361 | class. | |
5362 | ||
afd7c0dc MW |
5363 | 2004-04-17 Mark Wielaard <mark@klomp.org> |
5364 | ||
5365 | * javax/swing/JToggleButton.java (ToggleButtonModel): | |
5366 | Make public static inner class. | |
5367 | * javax/swing/JTabbedPane.java (setComponentAt): | |
5368 | Call Page.setComponent(). | |
5369 | (SCROLL_TAB_LAYOUT): Make public, value is 1. | |
5370 | (WRAP_TAB_LAYOUT): Make public, value is 0. | |
5371 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton): | |
5372 | Make private static inner class. | |
5373 | ||
bf7ad402 BM |
5374 | 2004-04-16 Bryce McKinlay <mckinlay@redhat.com> |
5375 | ||
5376 | * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject | |
5377 | arguments to match new signature. Remove FIXME comments. | |
5378 | ||
31e632d3 GH |
5379 | 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com> |
5380 | ||
5381 | * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals): | |
5382 | Remove method. | |
5383 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove | |
5384 | unused code. | |
5385 | ||
5386 | 2004-04-02 Olga Rodimina <rodimina@redhat.com> | |
5387 | ||
5388 | * Makefile.am: Added new file. | |
5389 | * Makefile.in: Regenerate. | |
5390 | * javax/swing/ImageIcon.java: | |
5391 | (ImageIcon(file)): set description of the icon | |
5392 | to the file name | |
5393 | * javax/swing/JCheckBoxMenuItem.java: | |
5394 | Mostly Implemented. Work in progress. | |
5395 | * javax/swing/JRadioButtonMenuItem.java: | |
5396 | Reimplement constructors to use JToggleButtonModel. | |
5397 | * javax/swing/plaf/basic/BasicIconFactory.java: | |
5398 | (getCheckBoxMenuItemIcon): return check box | |
5399 | icon. | |
5400 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
5401 | paint menu item selected only when it is armed and | |
5402 | pressed. | |
5403 | ||
5404 | 2004-04-02 David Jee <djee@redhat.com> | |
5405 | ||
5406 | * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java | |
5407 | (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer. | |
5408 | * java/awt/Component.java | |
5409 | (add): Set the parent of the popup as this component. | |
5410 | * java/awt/PopupMenu.java | |
5411 | (addNotify): Create popup menu when peer is null. | |
5412 | (show): Call addNotify() if peer is null. | |
5413 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | |
5414 | (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button | |
5415 | argument for gtk_menu_popup() as zero. This causes the popup menu to | |
5416 | respond to any mouse button. | |
5417 | ||
5418 | 2004-03-31 Olga Rodimina <rodimina@redhat.com> | |
5419 | ||
5420 | * Makefile.am: Added new file. | |
5421 | * Makefile.in: Regenerate. | |
5422 | * javax/swing/JRadioButtonMenuItem.java: | |
5423 | Implemented. | |
5424 | * javax/swing/plaf/basic/BasicIconFactory.java: | |
5425 | (getRadioButtonMenuItemIcon): Return | |
5426 | radio button icon. | |
5427 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
5428 | (getPreferredSize): Add size of checkIcon if it | |
5429 | exists. | |
5430 | (installDefaults): Don't initialize checkIcon. | |
5431 | It's value will be set in subclasses. | |
5432 | (uninstallDefaults): remove uninstallation of | |
5433 | checkIcon. | |
5434 | (paint): Moved code to paintMenuItem(). | |
5435 | (paintMenuItem): Implemented. | |
5436 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: | |
5437 | UI delegate for JRadioButtonMenuItem. | |
5438 | ||
5439 | 2004-03-29 Olga Rodimina <rodimina@redhat.com> | |
5440 | ||
5441 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
5442 | Corrected position of the accelerator. | |
5443 | ||
5444 | 2004-03-29 Olga Rodimina <rodimina@redhat.com> | |
5445 | ||
5446 | * Makefile.am: Added new file. | |
5447 | * Makefile.in: Regenerate. | |
5448 | * javax/swing/JMenuItem.java: Partly | |
5449 | implemented. Work in progress | |
5450 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
5451 | Changed default value of acceleratorDelimiter. | |
5452 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
5453 | New class. Partly implemented. | |
5454 | ||
5455 | 2004-03-26 Mark Wielaard <mark@klomp.org> | |
5456 | ||
5457 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c | |
5458 | (item_activate): Declare label before use. | |
5459 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
5460 | (gtkSetFont): Removed unused variable label. | |
5461 | (addExposeFilter): Declare variables before use. | |
5462 | (removeExposeFilter): Likewise. | |
5463 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
5464 | (ok_clicked): Declare str_fileName before use. | |
5465 | ||
5466 | 2004-03-26 David Jee <djee@redhat.com> | |
5467 | ||
5468 | * gnu/java/awt/peer/gtk/GtkMenuPeer.java | |
5469 | (addSeparator): Remove. | |
5470 | * java/awt/Menu.java | |
5471 | (separator): Remove static final MenuItem field. | |
5472 | (separatorLabel): New static final String field. | |
5473 | (addSeparator): Do not use peer method; use add(MenuItem) instead. | |
5474 | Use separatorLabel to denote that it is a separator. | |
5475 | (insertSeparator): Create a new MenuItem with separatorLabel, instead | |
5476 | of reusing the static separator instance, because a MenuItem instance | |
5477 | can't be added more than once without being cloned. | |
5478 | * java/awt/peer/MenuPeer.java | |
5479 | (addSeparator): Remove from interface. | |
5480 | ||
5481 | 2004-03-26 David Jee <djee@redhat.com> | |
5482 | ||
5483 | * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java | |
5484 | (connectSignals): New native method declaration. | |
5485 | (GtkMenuItemPeer): Connect signals if the parent is a Menu. | |
5486 | * java/awt/MenuItem.java | |
5487 | (getActionCommand): Return the label if the action command is not set. | |
5488 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c | |
5489 | (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use | |
5490 | gtk_menu_shell_append(). | |
5491 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c | |
5492 | (item_activate): Fix argument type. | |
5493 | (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect | |
5494 | signal here. | |
5495 | (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New | |
5496 | method. | |
5497 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c | |
5498 | (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is | |
5499 | given. Add the menu widget's top-level GtkWindow to the global window | |
5500 | group, so it can grab the pointer. | |
5501 | (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use | |
5502 | gtk_menu_shell_append(). | |
5503 | ||
5504 | 2004-03-23 Graydon Hoare <graydon@redhat.com> | |
5505 | ||
5506 | * java/text/AttributedString.java | |
5507 | (addAttribute): Fix off-by-one. | |
5508 | (getIterator): Likewise. | |
5509 | * java/text/AttributedStringIterator.java | |
5510 | (getRunLimit): Correct logic. | |
5511 | (getRunStart): Likewise. | |
5512 | (getAttribute): Fix inequality. | |
5513 | (getAttributes): Likewise. | |
5514 | * testsuite/libjava.mauve/xfails: Remove AttributedString xfail. | |
5515 | ||
5516 | 2004-03-23 Kim Ho <kho@redhat.com> | |
5517 | ||
5518 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: | |
5519 | (calculateSizes): Return real width and height. | |
5520 | ||
5521 | 2004-03-23 Kim Ho <kho@redhat.com> | |
5522 | ||
5523 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
5524 | (calculateTabRects): Set the selectedRun before | |
5525 | trying to rotate tabs. | |
5526 | ||
5527 | 2004-03-23 Kim Ho <kho@redhat.com> | |
5528 | ||
5529 | * Makefile.am: New file | |
5530 | * Makefile.in: Regenerate | |
5531 | * java/awt/Graphics.java: (drawRect): | |
5532 | Draw to the correct point. | |
5533 | * javax/swing/DefaultSingleSelectionModel.java | |
5534 | (isSelected): Return true if the selected index | |
5535 | is not -1. | |
5536 | * javax/swing/JLabel.java: Do not change mnemonic | |
5537 | index if text is null. | |
5538 | * javax/swing/JProgressBar.java: Use JComponent's | |
5539 | EventListenerList. | |
5540 | * javax/swing/JScrollBar.java: Ditto. | |
5541 | * javax/swing/JSlider.java: Ditto. | |
5542 | * javax/swing/JTabbedPane.java: Reimplement. | |
5543 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
5544 | Add defaults for TabbedPane. | |
5545 | * javax/swing/plaf/basic/BasicArrowButton.java: | |
5546 | Implement | |
5547 | * javax/swing/plaf/basic/BasicProgressBarUI.java: | |
5548 | (paintDeterminate): Don't paint String if it's | |
5549 | empty. | |
5550 | (paintIndeterminate): ditto. | |
5551 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: | |
5552 | Reimplement. | |
5553 | ||
5554 | 2004-03-19 Michael Koch <konqueror@gmx.de> | |
5555 | ||
5556 | * java/awt/image/AffineTransformOp.java | |
5557 | (AffineTransformOp): Made public. | |
5558 | * javax/swing/JComponent.java | |
5559 | (listenerList): Made protected. | |
5560 | (accessibleContext): Likewise. | |
5561 | * javax/swing/JList.java | |
5562 | (valueChanged): Dont use internal fields of ListSelectionEvent. | |
5563 | * javax/swing/JViewport.java | |
5564 | (getView): Dont use internal fields of Component. | |
5565 | (addImpl): Likewise. | |
5566 | * javax/swing/Timer.java | |
5567 | (isRunning): Made public. | |
5568 | (start): Likewise. | |
5569 | (stop): Likewise. | |
5570 | * javax/swing/UIDefaults.java | |
5571 | (getInt): Made public. | |
5572 | * javax/swing/plaf/basic/BasicListUI.java | |
5573 | (mousePressed): Dont use internal fields of MouseEvent. | |
5574 | (propertyChanged): Dont use internal fields of PropertyChangeEvent. | |
5575 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
5576 | (arrowIcon): Made static. | |
5577 | * javax/swing/plaf/basic/BasicViewportUI.java | |
5578 | (stateChanged): Dont use internal field on ChangeEvent. | |
5579 | * javax/swing/text/JTextComponent.java | |
5580 | (getUI): Call UIManager.getUI(). | |
5581 | (updateUI): Use getUI(). | |
5582 | ||
5583 | 2004-03-19 Graydon Hoare <graydon@redhat.com> | |
5584 | ||
5585 | * javax/swing/JComponent.java: Turn off double buffer by default. | |
5586 | * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting. | |
5587 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c | |
5588 | (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): | |
5589 | Use cairo to copy areas. | |
5590 | (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip): | |
5591 | Initialize and set clip region. | |
5592 | ||
5593 | 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com> | |
5594 | ||
5595 | * java/applet/Applet.java (preferredSize): Override deprecated | |
5596 | variant of getPreferredSize. | |
5597 | (minimumSize): Override deprecated variant of getMinimumSize. | |
5598 | ||
5599 | 2004-03-15 Olga Rodimina <rodimina@redhat.com> | |
5600 | ||
5601 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java | |
5602 | (drawImage(img,xform,bgcolor,obs)): New Method. | |
5603 | Helper function that every drawImage method will | |
5604 | use. | |
5605 | (drawRaster): Added new parameter, bgcolor. All | |
5606 | transparent pixels are changed to bgcolor before | |
5607 | image is drawn. | |
5608 | (drawRenderedImage): Fixed to use changed drawRaster(). | |
5609 | (drawImage(image,xform,obs): Fixed to use new helper function | |
5610 | (drawImage(image,op,x,y)): Ditto. | |
5611 | (drawImage (img,x,y,observer)): Ditto. | |
5612 | ((PainterThread) bgcolor): New Field. | |
5613 | ((PainterThread) (setPixels)): Changed all transparent pixels | |
5614 | to bgcolor. | |
5615 | (drawImage(img,x,y,width,height,bgcolor,observer)): | |
5616 | Fixed FIXME - all the transparent pixels are | |
5617 | changed to the specified bgcolor. | |
5618 | (drawImage(img, x, y, width, height, observer): Changed to | |
5619 | use function above. | |
5620 | (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): | |
5621 | Fixed FIXME- changed all transparent pixels to bgcolor. | |
5622 | (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)): | |
5623 | Changed to use function above. | |
5624 | ||
5625 | 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com> | |
5626 | ||
5627 | * java/applet/Applet.java (dimensions): New field. | |
5628 | (getDimensions): New method. | |
5629 | (getPreferredSize): Call getDimensions. | |
5630 | (getMinimumSize): Likewise. | |
5631 | ||
5632 | 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com> | |
5633 | ||
5634 | * jni/classpath/jcl.c: Include stdlib.h, not malloc.h. | |
5635 | * jni/classpath/jnilink.c: Likewise. | |
5636 | ||
5637 | * java/applet/Applet.java (getPreferredSize): New method. | |
5638 | (getMinimumSize): New method. | |
5639 | ||
245c3c04 BM |
5640 | 2004-04-15 Bryce McKinlay <mckinlay@redhat.com> |
5641 | ||
5642 | * prims.cc (_Jv_AllocObject): Remove `size' argument. | |
5643 | (_Jv_AllocObjectNoFinalizer): Likewise. | |
5644 | (_Jv_AllocObjectNoInitNoFinalizer): Likewise. | |
5645 | (_Jv_AllocPtrFreeObject): Likewise. | |
5646 | (_Jv_AllocString): Moved from natString.cc. Call collector interface | |
5647 | directly even in the JVMPI case. | |
5648 | * gcj/cni.h (JvAllocObject): Remove `size' argument from | |
5649 | _Jv_AllocObject calls. | |
5650 | * gcj/javaprims.h: Update prototypes. | |
5651 | * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject. | |
5652 | * java/lang/Class.h: Update _Jv_AllocObject friend prototype. | |
5653 | * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc. | |
5654 | ||
d7afe286 BM |
5655 | 2004-04-14 Andrew Haley <aph@redhat.com> |
5656 | Bryce McKinlay <mckinlay@redhat.com> | |
5657 | ||
5658 | * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use | |
5659 | _Jv_LookupInterfaceMethodIdx for calls to interfaces. | |
5660 | * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg. | |
5661 | ||
5662 | * testsuite/libjava.lang/InvokeInterface.java: New file. | |
5663 | * testsuite/libjava.lang/InvokeInterface.out: New file. | |
5664 | ||
84264cb6 RM |
5665 | 2004-04-09 Ranjit Mathew <rmathew@hotmail.com> |
5666 | ||
5667 | * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to | |
5668 | modified lookup(). | |
5669 | * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a | |
5670 | StackTraceElement directly. | |
5671 | (newElement): New native helper method to create StackTraceElement | |
5672 | bypassing Java access control. | |
5673 | (createStackTraceElement): Use newElement() instead of directly | |
5674 | calling StackTraceElement's constructor. | |
5675 | * gnu/gcj/runtime/natNameFinder.cc (newElement): New method. | |
5676 | ||
2b6b5c35 MK |
5677 | 2004-04-01 Michael Koch <konqueror@gmx.de> |
5678 | ||
5679 | * java/lang/SecurityManager.java | |
5680 | (checkAwtEventQueueAccess): Implemented. | |
5681 | ||
1c19eacc GB |
5682 | 2004-04-01 Gary Benson <gbenson@redhat.com> |
5683 | ||
5684 | * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception. | |
5685 | (_Jv_SearchMethodInClass): Likewise. | |
5686 | ||
99b43239 PM |
5687 | 2004-03-26 Peter Moon <peterm@miraculum.com> |
5688 | ||
5689 | * java/text/NumberFormat.java: Fix spelling of setCurrency | |
5690 | method. | |
5691 | ||
95e59f1a AG |
5692 | 2004-03-21 Anthony Green <green@redhat.com> |
5693 | ||
5694 | * java/lang/natClass.cc (getClassLoader): Circumvent infinite | |
5695 | recursion when searching for the system ClassLoader. | |
5696 | ||
de205e06 IK |
5697 | 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org> |
5698 | ||
5699 | * java/net/ServerSocket.java | |
5700 | (accept): Close the socket when error occured. | |
5701 | ||
bdf11d55 JF |
5702 | 2004-03-21 Jeroen Frijters <jeroen@frijters.net> |
5703 | ||
5704 | * java/net/URI.java (parseURI): Added unquoting. | |
5705 | (unquote): New method. | |
5706 | (quoteAuthority): Implemented. | |
5707 | (quote(String,String)): New method. | |
5708 | (quotePath): Implemented. | |
5709 | (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field. | |
5710 | (getSchemeSpecificPart): Removed FIXME comment. | |
5711 | (getRawAuthority): Return new rawAuthority field. | |
5712 | (getAuthority): Removed FIXME comment. | |
5713 | (getRawUserInfo): Return new rawUserInfo field. | |
5714 | (getUserInfo): Removed FIXME comment. | |
5715 | (getRawPath): Return new rawPath field. | |
5716 | (getPath): Removed FIXME comment. | |
5717 | (getRawQuery): Return new rawQuery field. | |
5718 | (getQuery): Removed FIXME comment. | |
5719 | (getRawFragment): Return new rawFragment field. | |
5720 | (getFragment): Removed FIXME comment. | |
5721 | ||
0d13be1e MK |
5722 | 2004-03-20 Michael Koch <konqueror@gmx.de> |
5723 | ||
5724 | * java/net/URLConnection.java: Merged copyright year with classpath. | |
5725 | ||
f903e73b NF |
5726 | 2004-03-20 Norbert Frese <postfach@nfrese.net> |
5727 | ||
5728 | * gnu/java/rmi/server/RMIIncomingThread.java: New file. | |
5729 | * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java: | |
5730 | Create a new RMIObjectOuputStream/RMIObjectInputStream for every | |
5731 | rmi-message. | |
5732 | (getObjectInputStream): Return object reference, throw IOException if null. | |
5733 | (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'. | |
5734 | (getObjectOutputStream): Return object reference, throw IOException if null. | |
5735 | (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'. | |
5736 | * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java: | |
5737 | (UnicastConnectionManager): Throw RemoteException if port is not available. | |
5738 | (getInstance): Throw RemoteException. | |
5739 | (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval. | |
5740 | * gcc/libjava/gnu/java/rmi/server/UnicastRef.java: | |
5741 | Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message. | |
5742 | Collect Exceptions which are returned by a rmi-call and fix void returns. | |
5743 | * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java: | |
5744 | Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message. | |
5745 | * gcc/libjava/gnu/java/rmi/server/UnicastServer.java: | |
5746 | (dispatch): Answer ping messages which are sent by other java implementions. | |
5747 | (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream | |
5748 | for every rmi-message and fix void return problems. | |
5749 | * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java | |
5750 | (UnicastServerRef): Throw RemoteException. | |
5751 | (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic. | |
5752 | In some situations it is necessary to export a subclass of the class which has the _Stub. | |
5753 | For instance when the class with has the _Stub is abstract. | |
5754 | (findStubSkelClass): New method which looks for the class which has the _Stub. | |
5755 | (getClientHost): Implementated. | |
5756 | * gcc/libjava/java/rmi/server/RemoteServer.java | |
5757 | (getClientHost): Implementated. | |
5758 | * gcc/libjava/Makefile.am (rmi_java_source_files): | |
5759 | Added gnu/java/rmi/server/RMIIncomingThread.java. | |
5760 | * Makefile.in: Regenerated. | |
5761 | ||
7f5773c6 MK |
5762 | 2004-03-20 Michael Koch <konqueror@gmx.de> |
5763 | ||
5764 | * java/net/InetAddress.java | |
5765 | (getLocalHostname): Added javadoc. | |
5766 | ||
ab16524d PB |
5767 | 2004-03-19 Per Bothner <per@bothner.com> |
5768 | ||
5769 | * configure.in: FILE variable overrides FLATFORM when linking | |
5770 | natFileChannelXXX.cc. | |
5771 | ||
5772 | * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored. | |
5773 | (write): Call diag_write, as in old natFileDescriptorEcos.cc. | |
5774 | ||
0fca95f5 PB |
5775 | 2004-03-19 Per Bothner <per@bothner.com> |
5776 | ||
5777 | * gnu/gcj/convert/Input_UnicodeBig.java: New class.. | |
5778 | * gnu/gcj/convert/Input_UnicodeLittle.java: New class. | |
5779 | * Makefile.am: Update accordingly. | |
5780 | * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be" | |
5781 | as aliases for UnicodeLittle and UnicodeBig. | |
5782 | ||
edb3d426 MW |
5783 | 2004-03-20 Mark Wielaard <mark@klomp.org> |
5784 | ||
5785 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
5786 | (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth): | |
5787 | Don't access ws when it is null. | |
5788 | (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight): | |
5789 | Likewise. | |
5790 | ||
b121dcb5 JF |
5791 | 2004-03-19 Jeroen Frijters <jeroen@frijters.net> |
5792 | ||
5793 | * java/lang/ThreadGroup.java (list): Changed print to println. | |
5794 | ||
44b20223 MW |
5795 | 2004-03-19 Mark Wielaard <mark@klomp.org> |
5796 | ||
5797 | * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc | |
5798 | happy. | |
5799 | ||
f94b0887 RC |
5800 | 2004-02-10 Randolph Chung <tausq@debian.org> |
5801 | ||
5802 | * configure.in: Build java for hppa target. | |
5803 | * configure: Regenerate. | |
5804 | * libjava/configure.host (hppa-*): Add target. | |
5805 | * libjava/sysdeps/pa/lock.h: New file. | |
5806 | ||
d511a273 MW |
5807 | 2004-03-19 Mark Wielaard <mark@klomp.org> |
5808 | ||
5809 | Reported by Stephen Crawley | |
5810 | * java/io/FilePermission.java (implies): Use String.length() -1 to | |
5811 | access last char of String. | |
5812 | ||
9c6637c8 MK |
5813 | 2004-03-19 Michael Koch <konqueror@gmx.de> |
5814 | ||
5815 | * java/awt/image/AffineTransformOp.java | |
5816 | (AffineTransformOp): Made public. | |
5817 | * javax/swing/JComponent.java | |
5818 | (listenerList): Made protected. | |
5819 | (accessibleContext): Likewise. | |
5820 | * javax/swing/JList.java | |
5821 | (valueChanged): Dont use internal fields of ListSelectionEvent. | |
5822 | * javax/swing/JViewport.java | |
5823 | (getView): Dont use internal fields of Component. | |
5824 | (addImpl): Likewise. | |
5825 | * javax/swing/Timer.java | |
5826 | (isRunning): Made public. | |
5827 | (start): Likewise. | |
5828 | (stop): Likewise. | |
5829 | * javax/swing/UIDefaults.java | |
5830 | (getInt): Made public. | |
5831 | * javax/swing/plaf/basic/BasicListUI.java | |
5832 | (mousePressed): Dont use internal fields of MouseEvent. | |
5833 | (propertyChanged): Dont use internal fields of PropertyChangeEvent. | |
5834 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
5835 | (arrowIcon): Made static. | |
5836 | * javax/swing/plaf/basic/BasicViewportUI.java | |
5837 | (stateChanged): Dont use internal field on ChangeEvent. | |
5838 | * javax/swing/text/JTextComponent.java | |
5839 | (getUI): Call UIManager.getUI(). | |
5840 | (updateUI): Use getUI(). | |
5841 | ||
165c9b04 RO |
5842 | 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
5843 | ||
5844 | * verify.cc: Undef PC. | |
5845 | ||
138f5109 MK |
5846 | 2004-03-18 Michael Koch <konqueror@gmx.de> |
5847 | ||
5848 | * java/nio/channels/spi/AbstractSelectableChannel.java | |
5849 | (keys): Initialize at declaration. | |
5850 | (locate): keys cant be null. | |
5851 | (add): Removed. | |
5852 | (addSelectionKey): New method. | |
5853 | (removeSelectionKey): New method. | |
5854 | * java/nio/channels/spi/AbstractSelectionKey.java | |
5855 | (cancel): Call AbstractSelector.cancelKey(SelectionKey key). | |
5856 | * java/nio/channels/spi/AbstractSelector.java | |
5857 | (provider): Javadoc added. | |
5858 | (cancelledKeys): Javadoc added. | |
5859 | (cancelKey): Javadoc added, add key to cancelledKeys. | |
5860 | (deregister): Implemented. | |
5861 | ||
acc63e4c RO |
5862 | 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
5863 | ||
5864 | * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast | |
5865 | MAP_FAILED to void *. | |
5866 | ||
86881a7b GH |
5867 | 2004-03-12 Graydon Hoare <graydon@redhat.com> |
5868 | ||
5869 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes. | |
5870 | * javax/swing/JComponent.java (paint): Use persistent double buffer. | |
5871 | * javax/swing/JList.java (ListListener): Revalidate on changes. | |
5872 | * javax/swing/JScrollPane.java: Reimplement. | |
5873 | * javax/swing/JViewport.java: Reimplement. | |
5874 | * javax/swing/ScrollPaneLayout.java: Reimplement. | |
5875 | * javax/swing/ViewportLayout.java: Tidy up. | |
5876 | * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns. | |
5877 | * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement. | |
5878 | * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels. | |
5879 | * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of | |
5880 | backing store only. | |
5881 | ||
5882 | 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com> | |
5883 | ||
5884 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
5885 | (window_wm_protocols_filter): New function. | |
5886 | (window_focus_in_cb): Remove function. | |
5887 | (window_focus_out_cb): Likewise. | |
5888 | (window_focus_or_active_state_change_cb): New function. | |
5889 | (create): Add filter that removes WM_TAKE_FOCUS client messages. | |
5890 | (connectSignals): Don't attach handlers to focus-in-event or | |
5891 | focus-out-event signals. Handle notify signal. | |
5892 | ||
5893 | 2004-03-11 David Jee <djee@redhat.com> | |
5894 | ||
5895 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java | |
5896 | (gtkSetLabel): New native method declaration. | |
5897 | (setLabel): Use gtkSetLabel. | |
5898 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c | |
5899 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method. | |
5900 | ||
5901 | 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com> | |
5902 | ||
5903 | * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to | |
5904 | black when color argument is null. | |
5905 | ||
5906 | 2004-03-10 Kim Ho <kho@redhat.com> | |
5907 | ||
5908 | * java/awt/Container.java: Remove check | |
5909 | for drag events. | |
5910 | ||
5911 | 2004-03-10 Kim Ho <kho@redhat.com> | |
5912 | ||
5913 | * java/awt/Container.java: (visitChild): | |
5914 | Remove candidate clip. Use the component | |
5915 | clip to intersect. | |
5916 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: | |
5917 | (handleEvent): Use the PaintEvent's clip. | |
5918 | ||
5919 | 2004-03-10 Kim Ho <kho@redhat.com> | |
5920 | ||
5921 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: | |
5922 | (handleEvent): Don't set the clip for the | |
5923 | Graphics object. | |
5924 | ||
5925 | 2004-03-09 Graydon Hoare <graydon@redhat.com> | |
5926 | ||
5927 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: | |
5928 | Fix double <-> fixed macros, reset font transform. | |
5929 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: | |
5930 | Likewise. | |
5931 | ||
5932 |