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