]>
Commit | Line | Data |
---|---|---|
5ad13654 MK |
1 | 2004-02-05 Michael Koch <konqueror@gmx.de> |
2 | ||
3 | * java/lang/Thread.java: Reordered fields, reformated much code, | |
4 | no functional changes, some variables renamed, javadoc comments | |
5 | merged. | |
6 | ||
6d0c7d7b MK |
7 | 2004-02-05 Michael Koch <konqueror@gmx.de> |
8 | ||
9 | * java/util/zip/Deflater.java, | |
10 | java/util/zip/DeflaterOutputStream.java, | |
11 | java/util/zip/GZIPInputStream.java: | |
12 | Reformated and javadoc comments merged from classpath. | |
13 | ||
99814868 MK |
14 | 2004-02-05 Michael Koch <konqueror@gmx.de> |
15 | ||
16 | * gnu/java/nio/NIOServerSocket.java | |
17 | (impl): Unused, removed. | |
18 | * gnu/java/nio/SocketChannelImpl.java | |
19 | (finnishConnect): Don't throw NoConnectionPendingException if not | |
20 | connected or no connection pending. | |
21 | ||
cbc848da GH |
22 | 2004-02-02 Graydon Hoare <graydon@redhat.com> |
23 | ||
24 | * javax/swing/SwingUtilities.java: Many new functions. | |
25 | * java/awt/Container.java (LightweightDispatcher): Reimplement. | |
26 | * javax/swing/basic/BasicGraphicsUtils.java | |
27 | (getPreferredButtonSize): Start layout from top-left corner. | |
28 | ||
e530f370 OR |
29 | 2004-02-04 Olga Rodimina <rodimina@redhat.com> |
30 | ||
31 | * java/awt/geom/AffineTransform.java: | |
32 | Corrected comments on the field definitions for | |
33 | m11 and m10. | |
34 | (shear): Fixed few errors that caused shear | |
35 | transformation to be performed incorrectly. | |
36 | (createInverse): Fixed to return correct | |
37 | inverse of the given matrix. | |
38 | ||
2565abce TT |
39 | 2004-02-03 Tom Tromey <tromey@redhat.com> |
40 | ||
41 | * java/lang/natPosixProcess.cc (startProcess): Handle case where | |
42 | PATH or LD_LIBRARY_PATH is not set in parent environment. | |
43 | ||
b6d3cb37 TF |
44 | 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com> |
45 | ||
46 | * gnu/java/awt/peer/gtk/GtkListPeer.java, | |
47 | java/awt/BorderLayout.java, java/awt/CardLayout.java, | |
48 | java/awt/CheckboxGroup.java, java/awt/Choice.java, | |
49 | java/awt/Component.java, java/awt/Container.java, | |
50 | java/awt/FontMetrics.java, java/awt/GridBagLayout.java, | |
51 | java/awt/LayoutManager2.java, java/awt/List.java, | |
52 | java/awt/Menu.java, java/awt/MenuBar.java, | |
53 | java/awt/MenuItem.java, java/awt/Polygon.java, | |
54 | java/awt/Rectangle.java, java/awt/ScrollPane.java, | |
55 | java/awt/Scrollbar.java, java/awt/TextArea.java, | |
56 | java/awt/TextField.java, | |
57 | java/awt/image/renderable/RenderContext.java, | |
58 | javax/swing/JApplet.java: Fix handling of alias methods, where a | |
59 | method has been deprecated in favour of a new one with the same | |
60 | funtion but a different name. Put the method implementation in | |
61 | the deprecated method and have the new method call the | |
62 | deprecated one. Make all other code call the new method. | |
63 | ||
8696d927 ME |
64 | 2004-02-03 Mohan Embar <gnustuff@thisiscool.com> |
65 | ||
66 | * gnu/java/nio/DatagramChannelImpl.java | |
67 | (inChannelOperation): New field. | |
68 | (isInChannelOperation): New accessor. | |
69 | (setInChannelOperation): New modifier. | |
70 | (receive): Use capacity() - position() of destination | |
71 | buffer instead of remaining(). Set and reset our "in | |
72 | channel operation indicator" before and after delegating | |
73 | the receive to our datagram socket. Removed testing code. | |
74 | Update destination buffer's current position if it is | |
75 | backed by a byte array (hasArray() is true). | |
76 | (send): Set and reset our "in channel operation indicator" | |
77 | before and after delegating the send to our datagram socket. | |
78 | Removed testing code. Update source buffer's current position | |
79 | if it is backed by a byte array (hasArray() is true). | |
80 | * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)): | |
81 | Use capacity() - position() of destination buffer instead | |
82 | of remaining(). | |
83 | * java/net/DatagramSocket.java (receive): Don't throw an | |
84 | IllegalBlockingModeException if we have a non-blocking | |
85 | channel which initiated this operation. | |
86 | (send): Likewise. | |
87 | ||
1e567c43 TF |
88 | 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com> |
89 | ||
90 | * configure.in: Add pkgconfig check for glib and gthread. | |
91 | * configure: Regenerate. | |
92 | ||
3953c057 MK |
93 | 2004-02-01 Michael Koch <konqueror@gmx.de> |
94 | ||
95 | * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused | |
96 | arguments. | |
97 | * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused. | |
98 | * verify.cc (debug_print): Mark 'fmt' unused. | |
99 | ||
a1ddb355 MK |
100 | 2004-01-30 Michael Koch <konqueror@gmx.de> |
101 | ||
102 | * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1. | |
103 | * configure: Regenerated. | |
104 | * glib-2.0.m4: Removed. | |
105 | * gtk-2.0.m4: Removed. | |
106 | * libart.m4: Removed. | |
107 | * pkg.m4: New file. | |
108 | ||
7dcc98e2 ME |
109 | 2004-01-30 Mohan Embar <gnustuff@thisiscool.com> |
110 | ||
111 | * gnu/java/net/PlainSocketImpl.java | |
112 | (inChannelOperation): New field. | |
113 | (isInChannelOperation): New accessor. | |
114 | (setInChannelOperation): New modifier. | |
115 | * gnu/java/nio/ServerSocketChannelImpl.java | |
116 | (accept): Set and reset our server socket's PlainSocketImpl's | |
117 | "in channel operation" indicator before and after delegating | |
118 | the accept to our server socket. | |
119 | * gnu/java/nio/SocketChannelImpl.java | |
120 | (connect): Set and reset our socket's PlainSocketImpl's "in channel | |
121 | operation" indicator before and after delegating the operation to | |
122 | our socket. | |
123 | (read): Likewise. | |
124 | (write): Likewise. | |
125 | * java/net/ServerSocket.java (implAccept): Don't throw an | |
126 | IllegalBlockingModeException if we have a non-blocking | |
127 | channel which initiated this accept operation. | |
128 | * java/net/Socket.java (connect): Don't throw an | |
129 | IllegalBlockingModeException if we have a non-blocking | |
130 | channel which initiated this connect operation. | |
131 | * java/nio/channels/spi/AbstractSelectableChannel.java | |
132 | (configureBlocking): Only call implConfigureBlocking() if | |
133 | the desired blocking mode is different from our current one. | |
134 | ||
ae30b3b2 ME |
135 | 2004-01-29 Mohan Embar <gnustuff@thisiscool.com> |
136 | ||
137 | * java/io/BufferedReader.java (sbuf): New field. | |
138 | (readLine): Use String.valueOf instead of new String() as per | |
139 | Per Bothner's suggestion. Use instance sbuf field instead of a | |
140 | local StringBuffer instance. | |
141 | * java/io/InputStreamReader.java (read(char[],int,int)): Pass the | |
142 | caller's buffer to refill(). | |
143 | (read(void)): Pass our internal work buffer to refill if our | |
144 | input queue is empty. | |
145 | (refill): Changed return type to int. Use the specified buffer | |
146 | instead of our work buffer as per Bryce McKinlay's suggestion. | |
147 | Return the number of characters read or -1 for EOF. | |
148 | ||
bc6fd088 SG |
149 | 2004-01-29 Scott Gilbertson <scottg@mantatest.com> |
150 | ||
151 | * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented. | |
152 | ||
bffff257 SG |
153 | 2004-01-29 Scott Gilbertson <scottg@mantatest.com> |
154 | ||
155 | * Makefile.am: Added gnu/awt/xlib/XFontPeer.java. | |
156 | * Makefile.in: Re-generated. | |
157 | * gnu/awt/xlib/XFontPeer.java: New file. | |
158 | * gnu/awt/xlib/XGraphics.java (setFont): Test for null font. | |
159 | (setClip): Commented out debug printout. | |
160 | * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit. | |
161 | (getFontPeer): Return XFontPeer. | |
162 | (getLocalGraphicsEnvironment): New method. | |
163 | (getClasspathFontPeer): New method. | |
164 | (createFont): New method. | |
165 | ||
ef989927 SG |
166 | 2004-01-29 Scott Gilbertson <scottg@mantatest.com> |
167 | ||
168 | * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never | |
169 | return null. | |
170 | ||
5efa7640 KH |
171 | 2004-01-29 Kim Ho <kho@redhat.com> |
172 | ||
173 | * gnu/java/awt/peer/gtk/GtkFramePeer.java | |
174 | (gtkLayoutSetVisible): New method | |
175 | (setMenuBar): Hide layout before setting MenuBar | |
176 | and reshow it after. | |
177 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
178 | (gtkLayoutSetVisible): Hide or show the Gtk Layout. | |
179 | ||
a54ca8cf MK |
180 | 2004-01-28 Michael Koch <konqueror@gmx.de> |
181 | ||
182 | * gnu/java/lang/ClassHelper.java | |
183 | (getPackagePortion): Removed. | |
184 | ||
4f90e1c5 MK |
185 | 2004-01-28 Michael Koch <konqueror@gmx.de> |
186 | ||
187 | * javax/swing/JComponent.java | |
188 | (listenerList): Initalize globally. | |
189 | (ancestor_list): Removed. | |
190 | (veto_list): Removed. | |
191 | (change_list): Removed. | |
192 | (get_veto_list): Removed. | |
193 | (get_change_list): Removed. | |
194 | (get_ancestor_list): Removed. | |
195 | (removeAncestorListener): Reimplemented. | |
196 | (removePropertyChangeListener): Likewise. | |
197 | (removeVetoableChangeListener): Likewise. | |
198 | (addAncestorListener): Likewise. | |
199 | (addPropertyChangeListener): Likewise. | |
200 | (addVetoableChangeListener): Likewise. | |
201 | (getListeners): New method. | |
202 | (getAncestorListeners): Likewise. | |
203 | (getVetoableChangeListeners): Likewise. | |
204 | (fireVetoableChange): Throws PropertyVetoException. | |
205 | * javax/swing/JEditorPane.java | |
206 | (JEditorPane): Throws IOException. | |
207 | ||
796e87a2 DJ |
208 | 2004-01-28 David Jee <djee@redhat.com> |
209 | ||
210 | * gnu/java/awt/peer/gtk/GtkFramePeer.java | |
211 | (create): Set the default foreground color to | |
212 | java.awt.SystemColor.windowText. | |
213 | ||
272c310d MK |
214 | 2004-01-27 Michael Koch <konqueror@gmx.de> |
215 | ||
216 | * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java, | |
217 | * gnu/java/awt/peer/gtk/GdkGlyphVector.java: | |
218 | Reindented to merge with classpath. | |
219 | ||
f2919ef3 DJ |
220 | 2004-01-27 David Jee <djee@redhat.com> |
221 | ||
222 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
223 | (addExposeFilter): Handle GtkFramePeer separately. | |
224 | (removeExposeFilter): Likewise. | |
225 | ||
128d8364 MK |
226 | 2004-01-27 Michael Koch <konqueror@gmx.de> |
227 | ||
228 | * gnu/java/net/protocol/http/Connection.java | |
229 | (getOutputStream): Fixed typo. | |
230 | ||
f79b7708 MK |
231 | 2004-01-27 Michael Koch <konqueror@gmx.de> |
232 | ||
233 | * java/lang/Class.java | |
234 | (getConstructor): Removed SecurityException from throws clause. | |
235 | (_getConstructors): Likewise. | |
236 | (getConstructors): Likewise. | |
237 | (getDeclaredConstructor): Likewise. | |
238 | (getDeclaredClasses): Likewise. | |
239 | (getDeclaredConstructors): Likewise. | |
240 | (getDeclaredField): Likewise. | |
241 | (getDeclaredMethod): Likewise. | |
242 | (getDeclaredMethods): Likewise. | |
243 | (getField): Likewise. | |
244 | (getMethod): Likewise. | |
245 | (getMethods): Likewise. | |
246 | ||
e300e74f KH |
247 | 2004-01-27 Kim Ho <kho@redhat.com> |
248 | ||
249 | * gnu/java/awt/peer/gtk/GtkFramePeer.java | |
250 | (removeMenuBarPeer): Remove MenuBarPeer argument. | |
251 | * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java | |
252 | (dispose): Call native method. | |
253 | * java/awt/Frame.java (setMenuBar): Create and remove | |
254 | MenuBar peers only if the Frame has a peer. | |
255 | (addNotify): Create the MenuBar peer if one exists. | |
256 | (removeNotify): Remove MenuBar peer if one exists. | |
257 | * java/awt/Menu.java: Fix imports. | |
258 | (addNotify): Don't use full class name. | |
259 | (removeNotify): Call removeNotify on all children. | |
260 | * java/awt/MenuBar.java (removeNotify): Call | |
261 | removeNotify on all children. | |
262 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
263 | (removeMenuBarPeer): Remove MenuBarPeer argument. | |
264 | Iterate through children to find the Frame's MenuBar. | |
265 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c | |
266 | New file. | |
267 | (dispose): Remove references to the MenuComponent. | |
268 | ||
d6c7ebd5 MK |
269 | 2004-01-27 Michael Koch <konqueror@gmx.de> |
270 | ||
271 | * javax/swing/AbstractCellEditor.java: Reformated. | |
272 | * javax/swing/DefaultListSelectionModel.java | |
273 | (listenerList): Made protected. | |
274 | (addListSelectionListener): Javadoc added. | |
275 | (removeListSelectionListener): Likewise. | |
276 | (getListeners): Likewise. | |
277 | (getListSelectionListeners): Likewise. | |
278 | * javax/swing/JComboBox.java: Merged copyright year. | |
279 | * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line. | |
80d4281f | 280 | |
dbc2d642 AH |
281 | 2004-01-26 Andrew Haley <aph@redhat.com> |
282 | ||
283 | * javax/swing/table/JTableHeader.java: Extend JComponent | |
284 | ||
f2565037 KH |
285 | 2004-01-26 Kim Ho <kho@redhat.com> |
286 | ||
287 | * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): | |
288 | Fix spacing. | |
289 | ||
57e13917 KH |
290 | 2004-01-26 Kim Ho <kho@redhat.com> |
291 | ||
292 | * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New | |
293 | method. | |
294 | (setMenuBar): Shift the Gtk layout up/down by the MenuBar | |
295 | height and let the Layout Managers readjust anything that | |
296 | needs to move. | |
297 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
298 | (moveLayout): New method. Shift everything in the Gtk | |
299 | layout in the Y direction by an offset. | |
300 | ||
7edbd87e DJ |
301 | 2004-01-26 David Jee <djee@redhat.com> |
302 | ||
303 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
304 | (handleEvent): Implemented. Handles PaintEvents. | |
305 | (paint): Implemented. Use GTK native methods to queue updates | |
306 | for this heavyweight peer. | |
307 | * gnu/java/awt/peer/gtk/GtkContainerPeer.java | |
308 | (handleEvent): Removed. | |
309 | * java/awt/Component.java | |
310 | (paint): Implemented. Explictly paint the heavyweight peer. | |
311 | (update): Clear the background for heavyweight components. | |
312 | (paintAll): No need to call peer.paint() anymore. | |
313 | (processEvent): Don't process PaintEvents here. It's now done in | |
314 | the peer's handleEvent(). | |
315 | (processPaintEvent): Removed. | |
316 | * java/awt/Container.java | |
317 | (paint): No need to call super.paint(). Visit heavyweight | |
318 | children as well. | |
319 | (update): Don't clear the background here. It's done in | |
320 | Component.update(). | |
321 | (visitChildren): Added check to not recurse into Containers. | |
322 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
323 | (filter_expose_event_handler): New method. Filter unwanted | |
324 | expose events while painting heavyweight peers. | |
325 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter): | |
326 | New method. Connect filter and block pre_event_handler. | |
327 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter): | |
328 | New method. Disconnect filter and unblock pre_event_handler. | |
329 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea): | |
330 | New method. Invalidate and update given area. | |
331 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
332 | (pre_event_handler): Add checks for unwanted expose events. | |
333 | ||
81a88a61 DJ |
334 | 2004-01-26 David Jee <djee@redhat.com> |
335 | ||
336 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
337 | (find_bg_color_widget): For GtkButton, return its child. | |
338 | ||
ecf67f46 KH |
339 | 2004-01-26 Kim Ho <kho@redhat.com> |
340 | ||
341 | * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark | |
342 | private. | |
343 | (setMenuBar): Grab MenuBar height and change insets. | |
344 | (setBounds): Account for MenuBar height. | |
345 | (postInsetsChangedEvent): Ditto. | |
346 | (postSizeAllocateEvent): Remove. | |
347 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
348 | (menubar_resize_cb): Remove | |
349 | (setMenuBarPeer): Remove callback. | |
350 | (getMenuBarHeight): Use size requisition instead of | |
351 | allocation. | |
352 | ||
062732fd TF |
353 | 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com> |
354 | ||
355 | * java/awt/TextArea.java: Fix indentation. Flesh out javadocs. | |
356 | (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0) | |
357 | when peer is null. | |
358 | (setColumns): Remove FIXME -- peer will retrieve number of | |
359 | columns by calling getColumns. | |
360 | (setRows): Likewise for number of rows. | |
361 | (next_text_number): New field. | |
362 | (paramString): Fix param string. | |
363 | (generateName): New method. | |
364 | (getUniqueLong): New method. | |
365 | ||
0058a7d8 TF |
366 | 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com> |
367 | ||
368 | * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform | |
369 | image observer of image loading status. | |
370 | (getImage (String)): Start image production. | |
371 | (getImage (URL)): Likewise. | |
372 | ||
135f54eb MK |
373 | 2004-01-25 Michael Koch <konqueror@gmx.de> |
374 | ||
375 | * java/lang/Class.java: Imports reworked, reformated. | |
376 | (Class): Javadoc added. | |
377 | (forName): Likewise. | |
378 | (getClasses): Likewise. | |
379 | (getClassLoader): Likewise. | |
380 | (getComponentType): Likewise. | |
381 | (getConstructor): Likewise. | |
382 | (getConstructors): Likewise. | |
383 | (getDeclaredConstructor): Likewise. | |
384 | (getDeclaredClasses): Likewise. | |
385 | (getDeclaredConstructors): Likewise. | |
386 | (getDeclaredField): Likewise. | |
387 | (getDeclaredMethod): Likewise. | |
388 | (getDeclaredMethods): Likewise. | |
389 | (getDeclaringClass): Likewise. | |
390 | (getField): Likewise. | |
391 | (getInterfaces): Likewise. | |
392 | (getMethod): Likewise. | |
393 | (getMethods): Likewise. | |
394 | (getModifiers): Likewise. | |
395 | (getName): Likewise. | |
396 | (getResource): Likewise. | |
397 | (getResourceAsStream): Likewise. | |
398 | (getSigners): Likewise. | |
399 | (setSigners): Likewise. | |
400 | (getSuperclass): Likewise. | |
401 | (isArray): Likewise. | |
402 | (isAssignableFrom): Likewise. | |
403 | (isInstance): Likewise. | |
404 | (isInterface): Likewise. | |
405 | (isPrimitive): Likewise. | |
406 | (newInstance): Likewise. | |
407 | (getProtectionDomain): Likewise. | |
408 | (toString): Likewise. | |
409 | (Class): Moved. | |
410 | (initializeClass): Likewise. | |
411 | (finalize): Likewise. | |
412 | ||
8cd2bdca MK |
413 | 2004-01-24 Michael Koch <konqueror@gmx.de> |
414 | ||
415 | * gnu/java/net/protocol/jar/Connection.java | |
416 | (hdrHash): Removed. | |
417 | (hdrVec): Removed. | |
418 | (gotHeaders): Removed. | |
419 | (getHeaderField): Removed. | |
420 | (getHeaderFields): Removed. | |
421 | (getHeaderFieldKey): Removed. | |
422 | (getKey): Removed. | |
423 | (getField): Removed. | |
424 | (getHeaders): Removed. | |
425 | ||
b5142d8a MK |
426 | 2004-01-24 Michael Koch <konqueror@gmx.de> |
427 | ||
428 | * Makefile.am: Added library version to gtk peer lib. | |
429 | * Makefile.in: Regenerated. | |
430 | ||
030c1e23 MK |
431 | 2004-01-24 Michael Koch <konqueror@gmx.de> |
432 | ||
433 | * java/util/zip/InflaterInputStream.java: Merged class documentation | |
434 | with classpath. | |
435 | ||
02731d29 JJ |
436 | 2004-01-21 Jakub Jelinek <jakub@redhat.com> |
437 | ||
438 | * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the | |
439 | header. For __powerpc64__ provide the default-signal.h definitions | |
440 | for now. | |
441 | * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h | |
442 | instead of the dummy definitions. | |
443 | * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC. | |
444 | (powerpc64*-*): Remove with_libffi_default. | |
445 | Only add -mminimal-toc for 64-bit compilations. | |
446 | * configure.in: Use powerpc-signal.h on powerpc64 as well. | |
447 | (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX. | |
448 | Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h. | |
449 | * configure: Rebuilt. | |
450 | ||
69f2de23 MK |
451 | 2004-01-23 Michael Koch <konqueror@gmx.de> |
452 | ||
453 | * gnu/java/nio/FileLockImpl.java: Compile fixes. | |
454 | ||
f1184d57 MK |
455 | 2004-01-23 Michael Koch <konqueror@gmx.de> |
456 | ||
0791cb20 | 457 | * java/lang/VMClassLoader.java: Reworked imports. |
135f54eb | 458 | |
0791cb20 MK |
459 | 2004-01-23 Michael Koch <konqueror@gmx.de> |
460 | ||
f1184d57 MK |
461 | * javax/swing/AbstractAction.java: Reformated. |
462 | ||
f0bf056e MK |
463 | 2004-01-23 Michael Koch <konqueror@gmx.de> |
464 | ||
465 | * java/text/CollationElementIterator.java: | |
466 | (setText): New method. | |
467 | ||
9719e37c MK |
468 | 2004-01-23 Michael Koch <konqueror@gmx.de> |
469 | ||
470 | * gnu/java/nio/FileLockImpl.java: | |
471 | Fixed filename in copyright. | |
472 | (released): Removed. | |
473 | (finalize): New method. | |
474 | * gnu/java/nio/natFileLockImpl.cc | |
475 | (releaseImpl): Implemented. | |
476 | * java/nio/channels/FileChannelImpl.java: | |
477 | Reworked imports. | |
478 | (lock): Implemented. | |
479 | (lockImpl): New method. | |
480 | (tryLock): Implemented. | |
481 | (tryLockImpl): New method. | |
482 | * java/nio/channels/natFileChannelImpl.cc | |
483 | (lockImpl): New method. | |
484 | (tryLockImpl): New method. | |
485 | ||
ca1d829f MK |
486 | 2004-01-23 Michael Koch <konqueror@gmx.de> |
487 | ||
488 | * java/io/FileDescriptor.java | |
489 | (lock): New method. | |
490 | (tryLock): New method. | |
491 | (unlock): New method. | |
492 | * java/io/natFileDescriptorEcos.cc | |
493 | (lock): New method. | |
494 | (tryLock): New method. | |
495 | (unlock): New method. | |
496 | * java/io/natFileDescriptorPosix.cc | |
497 | (lock): New method. | |
498 | (tryLock): New method. | |
499 | (unlock): New method. | |
500 | * java/io/natFileDescriptorWin32.cc | |
501 | (lock): New method. | |
502 | (tryLock): New method. | |
503 | (unlock): New method. | |
504 | ||
55777f44 MK |
505 | 2004-01-23 Michael Koch <konqueror@gmx.de> |
506 | ||
507 | * java/io/FileDescriptor.java | |
508 | (sync): Moved around, added javadoc. | |
509 | (valid): Likewise. | |
510 | (open): Likewise. | |
511 | (write): Likewise. | |
512 | (close): Likewise. | |
513 | (setLength): Likewise. | |
514 | (seek): Likewise. | |
515 | (getLength): Likewise. | |
516 | (getFilePointer): Likewise. | |
517 | (read): Likewise. | |
518 | (available): Likewise. | |
519 | (finalize): Likewise. | |
520 | ||
3ac55a5a MK |
521 | 2004-01-23 Michael Koch <konqueror@gmx.de> |
522 | ||
523 | * javax/swing/AbstractAction.java: Reformated. | |
524 | (getPropertyChangeListeners): New method. | |
525 | * javax/swing/AbstractCellEditor.java: Reformated. | |
526 | (getCellEditorListeners): New method. | |
527 | * javax/swing/DefaultListSelectionModel.java | |
528 | (listenerList): New field. | |
529 | (listeners): Removed. | |
530 | (get_listeners): Removed. | |
531 | (addListSelectionListener): Rewritten. | |
532 | (removeListSelectionListener): Rewritten. | |
533 | (getListSelectionListeners): New method. | |
534 | (getListeners): New method. | |
535 | * javax/swing/JComboBox.java: Imports reworked. | |
536 | (addActionListener): Implemented. | |
537 | (removeActionListener): Implemented. | |
538 | (addItemListener): Implemented. | |
539 | (removeItemListener): Implemented. | |
540 | (addPopupMenuListener): Implemented. | |
541 | (removePopupMenuListener): Implemented. | |
542 | (getActionListeners): New method. | |
543 | (getItemListeners): New method. | |
544 | (getPopupMenuListeners): New method. | |
545 | ||
5d7b2198 MK |
546 | 2004-01-23 Michael Koch <konqueror@gmx.de> |
547 | ||
548 | * gnu/java/net/protocol/http/Connection.java | |
549 | (connect): Don't initialize bufferedOutputStream if not needed. | |
550 | (sendRequest): Set property for content length if content is present. | |
551 | Write content only if present. | |
552 | (getOutputStream): Check if already connected, dont connect, | |
553 | initalize bufferedOutputStream if needed. | |
554 | ||
8fac50e0 MK |
555 | 2004-01-23 Michael Koch <konqueror@gmx.de> |
556 | ||
557 | * java/io/FileDescriptor.java | |
558 | (in, out, err): Added javadoc. | |
559 | (static): Merged loading code. | |
560 | (fd, position): Moved around. | |
561 | ||
58cc4789 MK |
562 | 2004-01-23 Michael Koch <konqueror@gmx.de> |
563 | ||
564 | * gnu/java/awt/doc-files/BitwiseXORComposite-1.png: | |
565 | New file. | |
566 | ||
834d51fe MK |
567 | 2004-01-23 Michael Koch <konqueror@gmx.de> |
568 | ||
569 | * java/lang/Class.java, | |
570 | java/lang/Object.java, | |
571 | java/lang/Thread.java: Merged copyright with classpath. | |
572 | ||
a36d3fe4 MK |
573 | 2004-01-23 Michael Koch <konqueror@gmx.de> |
574 | ||
575 | * java/io/FileDescriptor.java: Merged copyright with classpath to | |
576 | start merging this class. | |
577 | ||
fe1081b0 TT |
578 | 2004-01-22 Tom Tromey <tromey@redhat.com> |
579 | ||
580 | PR libgcj/13107: | |
581 | * testsuite/libjava.lang/pr13107_2.xfail: New file. | |
582 | * testsuite/libjava.lang/pr13107_3.xfail: New file. | |
583 | * testsuite/libjava.lang/pr13107_3.java: New file. | |
584 | * testsuite/libjava.lang/pr13107_3.out: New file. | |
585 | * testsuite/libjava.lang/pr13107_2.java: New file. | |
586 | * testsuite/libjava.lang/pr13107_2.out: New file. | |
587 | * testsuite/libjava.lang/pr13107.java: New file. | |
588 | * testsuite/libjava.lang/pr13107.out: New file. | |
589 | * verify.cc (jsr_ptrs): Removed. | |
590 | (entry_points): Likewise. | |
591 | (struct subr_info): Likewise. | |
592 | (struct subr_entry_info): Likewise. | |
593 | (type_val::unused_by_subroutine_type): Likewise. | |
594 | (type::merge): Don't handle unused_by_subroutine_type. | |
595 | (type::print): Likewise. | |
596 | (state::flags): Removed. | |
597 | (state::subroutine): Likewise. | |
598 | (state::seen_subrs): Likewise. | |
599 | (state::NO_STACK): Likewise. | |
600 | (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise. | |
601 | (state): Updated all methods. | |
602 | (state::clean_subrs): Removed. | |
603 | (state::state): Removed `ret_semantics' flag. | |
604 | (state::copy): Likewise. | |
605 | (state::add_subr): Removed. | |
606 | (state::enter_subroutine): Likewise. | |
607 | (type::set_return_address): New method. | |
608 | (handle_jsr_insn): Set return address on the type. Always | |
609 | invalidate PC after call. | |
610 | (check_nonrecursive_call): Removed. | |
611 | (~_Jv_BytecodeVerifier): Updated. | |
612 | (branch_prepass): Removed special handling of jsr. | |
613 | (note_branch_target): Likewise. | |
614 | (get_subroutine): Removed. | |
615 | (state::merge): Don't merge subroutines and don't handle | |
616 | NO_STACK. Removed ret_semantics and jsr_semantics arguments. | |
617 | (state::note_variable): Removed. | |
618 | (state::is_unmerged_ret_state): Likewise. | |
619 | (state::print): Updated. | |
620 | (set_variable): Likewise. | |
621 | (merge_into): Renamed from push_jump_merge. Removed ret_semantics | |
622 | and jsr_semantics arguments. Updated for new reverification | |
623 | list. | |
624 | (pop_jump): Rewrote. | |
625 | (construct_primitive_array_type): Updated. | |
626 | (state::next): Removed. | |
627 | (INVALID_STATE): New define. | |
628 | (state::INVALID): Removed. | |
629 | (state::NO_NEXT): New value. | |
630 | (state::pc, state::next): New fields. | |
631 | (state::get_pc): New method. | |
632 | (next_verify_pc): Removed. | |
633 | (next_verify_state): New field. | |
634 | (verify_instructions_0): Always check for falling off end. | |
635 | (linked): New type. | |
636 | (linked_utf8): Removed. | |
637 | (states): Changed type. | |
638 | (type::state_mergeable_p): New method. | |
639 | (state::state_mergeable_p): Likewise. | |
640 | (handle_ret_insn): Removed most code. | |
641 | (state::reverify): New method. | |
642 | (add_new_state): Likewise. | |
643 | (state::set_pc): Likewise. | |
644 | ||
f8f689a5 JS |
645 | 2004-01-22 Jeff Sturm <jsturm@one-point.com> |
646 | ||
647 | PR java/13733 | |
648 | * testsuite/libjava.compile/PR13733.java: New file. | |
649 | * testsuite/libjava.compile/PR13733.xfail: New file. | |
650 | ||
0dce1c0f AV |
651 | 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be> |
652 | Michael Koch <konqueror@gmx.de> | |
653 | ||
654 | * javax/swing/table/DefaultTableCellRenderer.java | |
655 | (DefaultTableCellRenderer): Added javadoc for the class and for | |
656 | the constructor, Border instance, create an EmptyBorder. | |
657 | (UIResource): Removed the comment at the end of the class | |
658 | (setForeground): New method. | |
659 | (setBackground): New method. | |
660 | (updateUI): New method. | |
661 | (getTableCellRendererComponent): Rewritten with the help of | |
662 | dvholten and Stephane Meslin-Weber. | |
663 | (validate): New method. | |
664 | (repaint): New method. | |
665 | (firePropertyChange): New method. | |
666 | (setValue): New method. | |
667 | ||
9deab0b7 TF |
668 | 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com> |
669 | ||
670 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
671 | (connectJObject): Replace printf calls with g_assert statements. | |
672 | Move property-notify-event signal connection to ... | |
673 | (connectSignals): Connect property-notify-event signal. Iterate | |
674 | through the vbox's children to find layout. | |
675 | ||
ca3bb0c2 GH |
676 | 2004-01-22 Graydon Hoare <graydon@redhat.com> |
677 | ||
678 | * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: | |
679 | * gnu/java/awt/peer/gtk/GdkGlyphVector.java: | |
680 | Predicate static initialization on GtkToolkit.useGraphics2D(). | |
681 | * java/awt/Component.java (processPaintEvent): Consume event. | |
682 | * javax/swing/AbstractButton.java: Reimplement, document. | |
683 | * javax/swing/DefaultButtonModel.java: Reimplement, document. | |
684 | * javax/swing/JComponent.java (paint): Use double buffer. | |
685 | (listenerList): Enable member. | |
686 | * javax/swing/ToggleButtonModel.java: Remove incorrect constructor. | |
687 | * javax/swing/JToggleButton.java | |
688 | (JToggleButton): Modify model constructor. | |
689 | * javax/swing/SwingUtilities.java | |
690 | (layoutCompoundLabel): Adjust arithmetic. | |
691 | * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document. | |
692 | * javax/swing/plaf/basic/BasicGraphicsUtils.java | |
693 | (getPreferredButtonSize): Include margins in calculation. | |
694 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
695 | (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): | |
696 | Receive up events from subordinate layout component. | |
697 | ||
75ef0594 TF |
698 | 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com> |
699 | ||
700 | * java/awt/Component.java (show): Set visible to true before | |
701 | showing the peer. | |
702 | ||
2bd408db KH |
703 | 2004-01-21 Kim Ho <kho@redhat.com> |
704 | ||
705 | * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent): | |
706 | Fix comments. | |
707 | (removeMenuBarPeer): Make package private. | |
708 | (setMenuBarPeer): Make package private. | |
709 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
710 | (menubar_resize_cb): Mark attributes unused. | |
711 | (getMenuBarHeight): ditto. | |
712 | ||
3f07b288 DJ |
713 | 2004-01-21 David Jee <djee@redhat.com> |
714 | ||
715 | * java/awt/Container.java | |
716 | (LightweightDispatcher.handleEvent): Add an extra check to avoid | |
717 | dispatching MOUSE_ENTERED event twice. Translate the point for | |
718 | the mouse event target before dispatching the event. | |
719 | ||
d5d2603f JJ |
720 | 2004-01-20 Jakub Jelinek <jakub@redhat.com> |
721 | ||
722 | * Makefile.am (lib_org_w3c_dom_la_LIBADD, | |
723 | lib_org_w3c_dom_la_LDFLAGS): New. | |
724 | (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New. | |
725 | * Makefile.in: Rebuilt. | |
726 | ||
cbc63517 TF |
727 | 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com> |
728 | ||
c01c1437 TF |
729 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds): |
730 | Calculate proper offsets for heavyweight components packed in | |
731 | lightweight containers. | |
732 | ||
90115017 TF |
733 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java, |
734 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c | |
735 | (native create): Add width parameter. | |
736 | (create): Calculate text entry width based on current font's | |
737 | metrics and number of columns. Set TextField's font if not | |
738 | already set. Call native create. | |
739 | (gtkEntryGetBorderWidth): New native method. | |
740 | (gtkEntryGetSize): Remove method. | |
741 | (getMinimumSize): Call minimumSize. | |
742 | (getPreferredSize): Call preferredSize. | |
743 | (minimumSize): Calculate minimum size based on backing | |
744 | GtkEntry's borders, font metrics and number of columns. | |
745 | (preferredSize): Likewise for preferred size. | |
746 | (get_border_width): New static function. | |
747 | ||
cbc63517 TF |
748 | * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable): |
749 | Override GtkWindowPeer's setResizable method to account for menu | |
750 | bar height when setting the frame's size. | |
751 | ||
ee6d1619 MK |
752 | 2004-01-19 Matthias Klose <doko@debian.org> |
753 | ||
754 | * libtool-version: Increased `current' to 6. | |
755 | ||
a2708c12 KH |
756 | 2004-01-19 Kim Ho <kho@redhat.com> |
757 | ||
758 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
759 | (connectJObject): Iterate through the vbox's children to find layout. | |
760 | ||
6fdab8cc FN |
761 | 2004-01-19 Fernando Nasser <fnasser@redhat.com> |
762 | ||
763 | * java/awt/EventQueue.java (invokeAndWait): Use list-aware | |
764 | isDispatchThread method to replace wrong test condition. | |
765 | ||
605d10f7 FN |
766 | 2004-01-19 Fernando Nasser <fnasser@redhat.com> |
767 | ||
768 | * java/awt/EventQueue.java (pop): Prevent racing condition to add | |
769 | events to the queue out of order by acquiring locks in the proper | |
770 | order and not by releasing one before acquiring the other. | |
771 | ||
8f9f8d71 FN |
772 | 2004-01-19 Fernando Nasser <fnasser@redhat.com> |
773 | ||
774 | * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not | |
775 | visible so that dialog can be reused. | |
776 | ||
aadc6da0 FN |
777 | 2004-01-19 Fernando Nasser <fnasser@redhat.com> |
778 | ||
779 | * java/awt/EventQueue.java (getCurrentEvent): Consider that system | |
780 | events may be handled by any queue in the stack. | |
781 | ||
2c20a171 KH |
782 | 2004-01-19 Kim Ho <kho@redhat.com> |
783 | ||
784 | * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added | |
785 | MenuBarPeer parameter. | |
786 | (removeMenuBarPeer): New native method. | |
787 | (setMenuBar): Call remove if menu bar is null. Adjust insets | |
788 | appropriately. | |
789 | (postSizeAllocateEvent): New method. Called when menu bar size is | |
790 | allocated. Adjust insets and redo layout. | |
791 | (GtkFramePeer): Set menu bar during frame creation. | |
792 | (postConfigureEvent): Adjust position and size to accomodate | |
793 | menu bar. | |
794 | * java/awt/Frame.java (setMenuBar): addNotify to create menu bar. | |
795 | * java/awt/Menu.java (addSeparator): Use peer's addSeparator. | |
796 | (addNotify): Create the peer if it doesn't exist and call addNotify | |
797 | for the menu's items. | |
798 | * java/awt/MenuBar.java (addNotify): Create this menu bar's menus. | |
799 | * java/awt/MenuItem.java (addNotify): Create the peer if it | |
800 | doesn't exist. | |
801 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
802 | (removeMenuBarPeer): New method. Remove menu bar on the current | |
803 | frame. | |
804 | (setMenuBarPeer): Add the menu bar to the current frame and the | |
805 | callback for size-allocate events on the menu bar. | |
806 | (getMenuBarHeight): Add menu bar parameter. | |
807 | (menubar_resize_cb): New callback method for postSizeAllocate events. | |
808 | ||
809 | Also: Fix indentation on last ChangeLog entry. | |
810 | ||
9543baba KH |
811 | 2004-01-16 Kim Ho <kho@redhat.com> |
812 | ||
2c20a171 KH |
813 | * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java |
814 | (gtkWidgetGetDimensions): Remove. | |
815 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
816 | (gtkWidgetGetDimensions): Remove. | |
9543baba | 817 | |
b54a2715 TT |
818 | 2004-01-16 Tom Tromey <tromey@redhat.com> |
819 | ||
d440f642 TT |
820 | * java/awt/Container.java: Typo and indentation fixes. |
821 | ||
b54a2715 TT |
822 | * java/lang/natClassLoader.cc: Moved VMClassLoader methods... |
823 | * java/lang/natVMClassLoader.cc: ...here. New file. | |
824 | * Makefile.in: Rebuilt. | |
825 | * Makefile.am (nat_source_files): Added natVMClassLoader.cc. | |
826 | ||
2f9c39f8 FN |
827 | 2004-01-16 Fernando Nasser <fnasser@redhat.com> |
828 | ||
829 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler): | |
830 | Discard GDK_ENTER_NOTIFY related to ungrabs. | |
831 | ||
da1c22e1 FN |
832 | 2004-01-16 Fernando Nasser <fnasser@redhat.com> |
833 | ||
834 | * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop | |
835 | is called for an intermediate queue. | |
836 | ||
eae433e9 TF |
837 | 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com> |
838 | ||
839 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
840 | (window_property_changed_cb): Set id_set. | |
841 | ||
2b8deefa | 842 | 2004-01-16 Kim Ho <kho@redhat.com> |
eae433e9 | 843 | |
2b8deefa | 844 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If |
eae433e9 TF |
845 | it is a FileDialog and has dimensions of 0 by 0, then the initial |
846 | size is set to size request plus insets. | |
847 | * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java | |
848 | (gtkWidgetGetDimensions): Override method. | |
849 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
850 | (gtkWidgetGetDimensions): Override method. Returns size request plus | |
851 | insets. | |
2b8deefa | 852 | |
a3fe7b56 AH |
853 | 2004-01-16 Andrew Haley <aph@redhat.com> |
854 | ||
855 | * sysdep/x86-64/locks.h: Don't use in/out memory constraints. | |
856 | * sysdep/i386/locks.h: Likewise. | |
857 | ||
101900aa FN |
858 | 2004-01-16 Fernando Nasser <fnasser@redhat.com> |
859 | ||
860 | * java/awt/EventDispatchThread.java (run): Stop running when | |
861 | interrupted. | |
862 | * java/awt/EventQueue.java (pop): Stop dispatch thread when done. | |
863 | Reset the queue after transferring its contents. | |
864 | (push): Start a new dispatch thread if none is running. | |
865 | ||
f30dbd20 OR |
866 | 2004-01-16Â Olga Rodimina <rodimina@redhat.com> |
867 | ||
868 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java: | |
869 | (doPolygon): set fill rule of polygon to | |
870 | WIND_EVEN_ODD by default. | |
871 | ||
b1231017 OR |
872 | 2004-01-15 Olga Rodimina <rodimina@redhat.com> |
873 | ||
874 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java: | |
875 | Implemented rendering hints related methods. | |
876 | (getDefaultHints): New helper method. Returns | |
877 | default rendering hints. | |
878 | (walkPath): changed to normalize path if | |
879 | the KEY_STROKE_CONTROL key is in "normalize" mode. | |
880 | (draw3DRect): changed coordinates of rectangle by +0.5 | |
881 | if in "normalize" mode. | |
882 | ||
e18243dd TT |
883 | 2004-01-15 Tom Tromey <tromey@redhat.com> |
884 | ||
885 | * Makefile.in: Rebuilt. | |
886 | * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule. | |
887 | (%.lo: %.java) Filter out StackTrace.lo. | |
888 | ||
d5b2f1be KC |
889 | 2004-01-14 Kelley Cook <kcook@gcc.gnu.org> |
890 | ||
891 | * configure.in: Add in AC_PREREQ(2.13) | |
892 | * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete | |
893 | FIXME comment. | |
894 | ||
092b50e2 NB |
895 | 2004-01-14 Nathan Bryant <nbryant@optonline.net> |
896 | Tom Tromey <tromey@redhat.com> | |
897 | ||
898 | PR libgcj/12001: | |
899 | * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty | |
900 | array to superclass. | |
901 | (init): Changed interface; add URLs here. | |
902 | (initialize): New static method. | |
903 | * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here... | |
904 | (_Jv_RunMain): ... not here. | |
905 | ||
b3e5b452 MK |
906 | 2004-01-14 Michael Koch <konqueror@gmx.de> |
907 | ||
908 | * java/text/MessageFormat.java: | |
909 | Added descriptions to exceptions. | |
910 | This fixes PR libgcj/2429. | |
911 | ||
25c3f7c8 FN |
912 | 2004-01-13 Fernando Nasser <fnasser@redhat.com> |
913 | ||
914 | * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack. | |
915 | (push): Make sure push is performed at the top of the thread stack. | |
092b50e2 | 916 | |
9e2c04c5 TF |
917 | 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com> |
918 | ||
919 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, | |
920 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
921 | (native create): Add width and height parameters. Set text | |
922 | view's size request according to new parameters. | |
923 | (create): Calculate text view size based on current font's | |
924 | metrics and number of rows and columns. Set TextArea's font if | |
925 | not already set. Call native create. | |
926 | (getMinimumSize): Call minimumSize. | |
927 | (getPreferredSize): Call preferredSize. | |
928 | (getHScrollbarHeight): New method. | |
929 | (getVScrollbarWidth): New method. | |
930 | (minimumSize): Calculate minimum size based on scrollbar | |
931 | visibility, scrollbar sizes, font metrics and number of rows and | |
932 | columns. | |
933 | (preferredSize): Likewise for preferred size. | |
934 | (gtkTextGetSize): Remove method. | |
935 | ||
db19e39b TF |
936 | 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com> |
937 | ||
938 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
939 | (initializeInsets): Remove method. | |
940 | (GtkComponentPeer): Initialize insets field. Remove call to | |
941 | initializeInsets. | |
942 | * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets): | |
943 | Remove method. | |
944 | * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets): | |
945 | Remove method. | |
946 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java, | |
947 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: | |
948 | (latestInsets): Remove field. | |
949 | (native create): Add insets parameter. Call | |
950 | window_get_frame_extents. Set the window's default size and | |
951 | size request based on its frame extents. | |
952 | (create): Initialize insets. | |
953 | (postInsetsChangedEvent): New method. | |
954 | (postConfigureEvent): Remove parameters top, left, bottom, | |
955 | right. Remove insets-related logic. | |
956 | (connectJObject): Handle property-notify-event. | |
957 | (window_get_frame_extents, request_frame_extents, | |
958 | property_notify_predicate, window_property_changed_cb): New | |
959 | static functions. | |
960 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
961 | (pre_event_handler): Remove insets-related logic for configure | |
962 | events. | |
963 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit): | |
964 | Update postConfigureEvent signature. | |
965 | ||
25c3f7c8 | 966 | 2004-01-13 Fernando Nasser <fnasser@redhat.com> |
81c740ba FN |
967 | |
968 | * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter | |
969 | to handle Window "Closing" events. | |
970 | ||
e6cca488 DJ |
971 | 2004-01-13 David Jee <djee@redhat.com> |
972 | ||
973 | * gnu/java/awt/peer/gtk/GtkContainerPeer.java | |
974 | (setBackground): New method. Children with no explicitly-set | |
975 | background will be repainted with the parent container's new | |
976 | background color. | |
977 | ||
978 | 2004-01-13 David Jee <djee@redhat.com> | |
979 | ||
980 | * Makefile.am: Add BitwiseXORComposite.java. | |
981 | * Makefile.in: Regenerated. | |
982 | * gcj/Makefile.in: Regenerated. | |
983 | * include/Makefile.in: Regenerated. | |
984 | * testsuite/Makefile.in: Regenerated. | |
985 | ||
e5baf3bd FN |
986 | 2004-01-12 Fernando Nasser <fnasser@redhat.com> |
987 | ||
988 | * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does | |
989 | not show modal dialogs twice and so that it allows showing a modal | |
990 | dialog from another modal dialog. | |
991 | ||
cc11dca9 FN |
992 | 2004-01-12 Fernando Nasser <fnasser@redhat.com> |
993 | ||
994 | * java/awt/Dialog.java (show): Enable blocking for all modal dialogs | |
995 | and run secondary dispatch thread to process event queue while this | |
996 | thread is blocked. | |
997 | ||
55db8fa9 GH |
998 | 2004-01-12 Graydon Hoare <graydon@redhat.com> |
999 | ||
1000 | * gnu/java/awt/gtk/GdkGraphics2D.java | |
1001 | (static): Check GtkToolkit before initializing static state. | |
1002 | (Graphics2D): Don't construct transform with 0.5 unit offset. | |
1003 | ||
1004 | 2003-11-06 Sascha Brawer <brawer@dandelis.ch> | |
1005 | ||
1006 | * gnu/java/awt/BitwiseXORComposite.java: Add. | |
1007 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java | |
1008 | (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite. | |
1009 | (BitwiseXORComposite): Remove inner class. | |
1010 | ||
df9bad81 MK |
1011 | 2004-01-11 Michael Koch <konqueror@gmx.de> |
1012 | ||
1013 | * gnu/java/lang/reflect/TypeSignature.java | |
1014 | (getEncodingOfClass): Documentation fixed. | |
1015 | (getClassForEncoding): Give class loader to Class.forName(). | |
1016 | Documentation fixed. | |
1017 | ||
fc58328a SB |
1018 | 2004-01-11 Sascha Brawer <brawer@dandelis.ch> |
1019 | ||
1020 | * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added. | |
1021 | ||
6a425fbe MK |
1022 | 2004-01-11 Michael Koch <konqueror@gmx.de> |
1023 | ||
1024 | * javax/swing/undo/StateEditable.java | |
1025 | (RCSID): Removed redundant modifiers. | |
1026 | ||
162fd675 MK |
1027 | 2004-01-10 Michael Koch <konqueror@gmx.de> |
1028 | ||
1029 | * javax/print/attribute/EnumSyntax.java | |
1030 | (getStringTable): Made protected. | |
1031 | (getEnumValueTable): Likewise. | |
1032 | * javax/print/attribute/standard/JobKOctetsProcessed.java | |
1033 | (JobKOctetsProcessed): Don't implement PrintRequestAttribute. | |
1034 | * javax/print/attribute/standard/JobMediaSheetsCompleted.java | |
1035 | (JobMediaSheetsCompleted): Made class final. | |
1036 | * javax/print/attribute/standard/OutputDeviceAssigned.java | |
1037 | (getName): Fixed typo. | |
1038 | * javax/print/attribute/standard/RequestingUserName.java | |
1039 | (serialVersionUID): Fixed value. | |
1040 | ||
12e978c5 MK |
1041 | 2004-01-10 Michael Koch <konqueror@gmx.de> |
1042 | ||
1043 | * javax/swing/plaf/basic/BasicButtonUI.java, | |
1044 | javax/swing/plaf/basic/BasicCheckBoxUI.java, | |
1045 | javax/swing/plaf/basic/BasicListUI.java, | |
1046 | javax/swing/plaf/basic/BasicOptionPaneUI.java, | |
1047 | javax/swing/plaf/basic/BasicPanelUI.java, | |
1048 | javax/swing/plaf/basic/BasicRadioButtonUI.java, | |
1049 | javax/swing/plaf/basic/BasicScrollPaneUI.java, | |
1050 | javax/swing/plaf/basic/BasicToggleButtonUI.java, | |
1051 | javax/swing/plaf/basic/BasicViewportUI.java: | |
1052 | Fixed import statements. | |
1053 | ||
4a8e7041 MK |
1054 | 2004-01-10 Michael Koch <konqueror@gmx.de> |
1055 | ||
1056 | * gnu/java/awt/image/ImageDecoder.java | |
1057 | (produce): Made public. | |
1058 | * gnu/java/awt/peer/GLightweightPeer.java, | |
1059 | gnu/java/awt/peer/gtk/GtkToolkit.java: | |
1060 | Reformated. | |
1061 | ||
5c9092a7 MK |
1062 | 2004-01-10 Michael Koch <konqueror@gmx.de> |
1063 | ||
1064 | * javax/swing/JRadioButtonMenuItem.java, | |
1065 | javax/swing/JSeparator.java, | |
1066 | javax/swing/JSplitPane.java, | |
1067 | javax/swing/JTextPane.java, | |
1068 | javax/swing/JToolBar.java, | |
1069 | javax/swing/ListCellRenderer.java, | |
1070 | javax/swing/ListModel.java, | |
1071 | javax/swing/MenuElement.java, | |
1072 | javax/swing/OverlayLayout.java, | |
1073 | javax/swing/ProgressMonitor.java, | |
1074 | javax/swing/ProgressMonitorInputStream.java, | |
1075 | javax/swing/Renderer.java, | |
1076 | javax/swing/RootPaneContainer.java, | |
1077 | javax/swing/Scrollable.java, | |
1078 | javax/swing/SingleSelectionModel.java, | |
1079 | javax/swing/ToolTipManager.java, | |
1080 | javax/swing/ViewportLayout.java, | |
1081 | javax/swing/event/DocumentEvent.java, | |
1082 | javax/swing/event/SwingPropertyChangeSupport.java, | |
1083 | javax/swing/event/TreeSelectionEvent.java, | |
1084 | javax/swing/event/UndoableEditEvent.java, | |
1085 | javax/swing/text/AbstractDocument.java, | |
1086 | javax/swing/text/AttributeSet.java, | |
1087 | javax/swing/text/Caret.java, | |
1088 | javax/swing/text/ComponentView.java, | |
1089 | javax/swing/text/DefaultCaret.java, | |
1090 | javax/swing/text/DefaultEditorKit.java, | |
1091 | javax/swing/text/Document.java, | |
1092 | javax/swing/text/EditorKit.java, | |
1093 | javax/swing/text/GapContent.java, | |
1094 | javax/swing/text/Keymap.java, | |
1095 | javax/swing/text/MutableAttributeSet.java, | |
1096 | javax/swing/text/PlainEditorKit.java, | |
1097 | javax/swing/text/Segment.java, | |
1098 | javax/swing/text/Style.java, | |
1099 | javax/swing/text/StyledDocument.java, | |
1100 | javax/swing/text/StyledEditorKit.java, | |
1101 | javax/swing/text/TextAction.java, | |
1102 | javax/swing/text/View.java: Fixed import statements. | |
1103 | ||
27c99ffe GH |
1104 | 2004-01-08 Graydon Hoare <graydon@redhat.com> |
1105 | ||
1106 | * javax/swing/JLayeredPane.java: Rewrite to accomodate | |
1107 | djee@redhat.com's recent inverse ordering of Container elements. | |
1108 | ||
e6f82998 MK |
1109 | 2004-01-09 Michael Koch <konqueror@gmx.de> |
1110 | ||
1111 | * gnu/java/lang/ArrayHelper.java | |
1112 | (equalsArray): Removed. | |
1113 | ||
d55d97f1 AH |
1114 | 2004-01-09 Andrew Haley <aph@redhat.com> |
1115 | ||
1116 | * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve | |
1117 | a Utf8Const field before looking at its class. | |
1118 | ||
41b19a2d MK |
1119 | 2004-01-09 Michael Koch <konqueror@gmx.de> |
1120 | ||
1121 | * javax/print/attribute/standard/DocumentName.java, | |
1122 | javax/print/attribute/standard/JobHoldUntil.java, | |
1123 | javax/print/attribute/standard/JobMessageFromOperator.java, | |
1124 | javax/print/attribute/standard/JobName.java, | |
1125 | javax/print/attribute/standard/JobOriginatingUserName.java, | |
1126 | javax/print/attribute/standard/OutputDeviceAssigned.java, | |
1127 | javax/print/attribute/standard/PrinterInfo.java, | |
1128 | javax/print/attribute/standard/PrinterLocation.java, | |
1129 | javax/print/attribute/standard/PrinterMakeAndModel.java, | |
1130 | javax/print/attribute/standard/PrinterMessageFromOperator.java, | |
1131 | javax/print/attribute/standard/PrinterName.java, | |
1132 | javax/print/attribute/standard/RequestingUserName.java: New files. | |
1133 | * Makefile.am (javax_source_files): Added new files. | |
1134 | * Makefile.in: Regenerated. | |
1135 | ||
af008858 MK |
1136 | 2004-01-09 Michael Koch <konqueror@gmx.de> |
1137 | ||
1138 | * javax/swing/AbstractAction.java, | |
1139 | javax/swing/AbstractSet.java, | |
1140 | javax/swing/Action.java, | |
1141 | javax/swing/ActionMap.java, | |
1142 | javax/swing/BoundedRangeModel.java, | |
1143 | javax/swing/ButtonModel.java, | |
1144 | javax/swing/CellEditor.java, | |
1145 | javax/swing/CellRendererPane.java, | |
1146 | javax/swing/ComboBoxEditor.java, | |
1147 | javax/swing/DebugGraphics.java, | |
1148 | javax/swing/DefaultCellEditor.java, | |
1149 | javax/swing/DefaultCellRenderer.java, | |
1150 | javax/swing/DefaultComboBoxModel.java, | |
1151 | javax/swing/DefaultDesktopManager.java, | |
1152 | javax/swing/DefaultFocusManager.java, | |
1153 | javax/swing/DefaultListCellRenderer.java, | |
1154 | javax/swing/Icon.java, | |
1155 | javax/swing/JButton.java, | |
1156 | javax/swing/JCheckBoxMenuItem.java, | |
1157 | javax/swing/JDesktopPane.java, | |
1158 | javax/swing/JEditorPane.java, | |
1159 | javax/swing/JMenu.java, | |
1160 | javax/swing/JPanel.java, | |
1161 | javax/swing/JPasswordField.java, | |
1162 | javax/swing/JPopupMenu.java, | |
1163 | javax/swing/JProgressBar.java: Reworked imports. | |
1164 | ||
bbe4ef89 MK |
1165 | 2004-01-09 Michael Koch <konqueror@gmx.de> |
1166 | ||
1167 | * java/awt/geom/PathIterator.java | |
1168 | (WIND_EVEN_ODD): Removed redundant modifiers. | |
1169 | (WIND_NON_ZERO): Likewise. | |
1170 | (SEG_MOVETO): Likewise. | |
1171 | (SEG_LINETO): Likewise. | |
1172 | (SEG_QUADTO): Likewise. | |
1173 | (SEG_CUBICTO): Likewise. | |
1174 | (SEG_CLOSE): Likewise. | |
1175 | * java/awt/image/SinglePixelPackedSampleModel.java: | |
1176 | Removed redundant semicolon. | |
1177 | * java/io/ObjectInputStream.java | |
1178 | (inputGetObjectStreamClasses): Removed unused variable "ret_val". | |
1179 | * java/util/logging/Filter.java | |
1180 | (isLoggable): Removed redundant modifier. | |
1181 | * java/util/logging/LogManager.java: | |
1182 | Removed redundant semicolon. | |
1183 | * java/util/logging/XMLFormatter.java | |
1184 | (format): Removed unused variable "key". | |
1185 | ||
06fe3d7d FN |
1186 | 2004-01-08 Fernando Nasser <fnasser@redhat.com> |
1187 | ||
1188 | * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile): | |
1189 | New name for the former setFile native method. | |
1190 | (setFile): New method. | |
1191 | (setDirectory): Implemented. | |
1192 | (connectSignals): New native method. | |
1193 | (setFilenameFilter): Improve comment. | |
1194 | (getGraphics): Comment. | |
1195 | (gtkHideFileDialog): New method. | |
1196 | (gtkDisposeFileDialog): New method. | |
1197 | (gtkSetFilename): New method. | |
1198 | * java/awt/Dialog.java (show): Block on modal dialogs, but only | |
1199 | for FileDialog for now. | |
1200 | (hide): New method. | |
1201 | (dispose): New method. | |
1202 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
1203 | (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace | |
1204 | deprecated creation functions. Make dialog modal. Add it to the | |
1205 | window group. | |
1206 | (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New | |
1207 | function. | |
1208 | (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename): | |
1209 | Rename to... | |
1210 | (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New | |
1211 | name. | |
1212 | (window_closed): New function. | |
1213 | (ok_clicked): New function. | |
1214 | (cancel_clicked): New function. | |
1215 | ||
bafa7fed MK |
1216 | 2004-01-08 Michael Koch <konqueror@gmx.de> |
1217 | ||
1218 | * javax/swing/JLayeredPane.java: Revert changes to standard | |
1219 | boilerplate, reworked imports. | |
1220 | ||
11e584ed TT |
1221 | 2004-01-07 Tom Tromey <tromey@redhat.com> |
1222 | ||
1223 | PR libgcj/13439: | |
1224 | * verify.cc (state::merge): Copy changed locals out of subroutine | |
1225 | in NO_STACK case. | |
1226 | (state::FLAG_CHANGED): New const. | |
1227 | (state::FLAG_UNUSED): Likewise. | |
1228 | (state::local_changed): Removed. Updated all users. | |
1229 | (state::flags): New field. | |
1230 | (state::merge): Added jsr_semantics argument, more logic. | |
1231 | (push_jump_merge): Added jsr_semantics argument. | |
1232 | (handle_jsr_insn): Set jsr_semantics on push_jump_merge when | |
1233 | merging through the jsr instruction. | |
1234 | ||
ce972ee8 TT |
1235 | 2004-01-07 Tom Tromey <tromey@redhat.com> |
1236 | ||
1237 | * scripts/MakeDefaultMimeTypes.java: Use \n, not | |
1238 | backslash-newline. | |
1239 | ||
fbea267f GH |
1240 | 2004-01-07 Graydon Hoare <graydon@redhat.com> |
1241 | ||
1242 | * java/awt/Container.java (LightweightDispatcher): Implement. | |
1243 | (visitChild): Reuse graphics object. | |
1244 | (dispatchEventImpl): Optionally dispatch to lightweight. | |
1245 | (addNotifyContainerChildren): Build LightweightDispatcher. | |
1246 | ||
627e4e5f DJ |
1247 | 2004-01-07 David Jee <djee@redhat.com> |
1248 | ||
1249 | * java/awt/Container.java | |
1250 | (update): Clear only the clipped region, instead of clearing the | |
1251 | entire Container. | |
1252 | (visitChildren): Visit children in descending order. | |
1253 | ||
40f8ee2d MK |
1254 | 2004-01-07 Michael Koch <konqueror@gmx.de> |
1255 | ||
1256 | * java/lang/reflect/Array.java: Merged documentation with classpath. | |
1257 | ||
9b773289 MK |
1258 | 2004-01-07 Michael Koch <konqueror@gmx.de> |
1259 | ||
1260 | * java/text/CollationElementIterator.java | |
1261 | (textIndex): Renamed from index. | |
1262 | * java/text/CollationKey.java | |
1263 | (collator): New member. | |
1264 | (CollationKey): New argument for parent collator. | |
1265 | (equals): Check for same collator, source string and key array. | |
1266 | * java/text/RuleBasedCollator.java: | |
1267 | Reformated. | |
1268 | (RuleBasedCollator): Don't re-initialize frenchAccents with default | |
1269 | value. | |
1270 | (getCollationElementIterator): Rewritten. | |
1271 | (getCollationKey): Added new argument to CollationKey constructor. | |
1272 | ||
26067b8b MK |
1273 | 2004-01-07 Michael Koch <konqueror@gmx.de> |
1274 | ||
1275 | * gnu/java/nio/DatagramChannelImpl.java | |
1276 | (blocking): Removed. | |
1277 | (DatagramChannelImpl): Call configureBlocking(). | |
1278 | (implConfigureBlocking): Dont initialize blocking. | |
1279 | * gnu/java/nio/ServerSocketChannelImpl.java | |
1280 | (blocking): Removed. | |
1281 | (ServerSocketChannelImpl): Call configureBlocking(). | |
1282 | (implConfigureBlocking): Dont initialize blocking. | |
1283 | * gnu/java/nio/SocketChannelImpl.java | |
1284 | (blocking): Removed. | |
1285 | (SocketChannelImpl): Call configureBlocking(). | |
1286 | (implConfigureBlocking): Dont initialize blocking. | |
1287 | (connect): Use isBlocking(). | |
1288 | * java/nio/channels/spi/AbstractSelectableChannel.java | |
1289 | (configureBlocking): Use blockingLock() instead of LOCK. | |
1290 | Set blocking after successfully called implConfigureBlocking(). | |
1291 | (register): Use blockingLock() instead of LOCK. | |
1292 | ||
89e4eb2a MK |
1293 | 2004-01-07 Michael Koch <konqueror@gmx.de> |
1294 | ||
1295 | * java/net/ServerSocket.java (isBound): Fixed documentation. | |
1296 | ||
b3db7ef1 SB |
1297 | 2004-01-07 Sascha Brawer <brawer@dandelis.ch> |
1298 | ||
1299 | * javax/swing/DefaultBoundedRangeModel.java: Documented API. | |
1300 | (changeEvent): Create event object on demand. | |
1301 | (DefaultBoundedRangeModel, toString, setValue, setExtent, | |
1302 | setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties, | |
1303 | fireStateChanged): Re-written. | |
1304 | * javax/swing/event/EventListenerList.java: Reformatted, document | |
1305 | typical usage. | |
1306 | (toString): Implemented. | |
1307 | (getListeners): Re-written. | |
1308 | (remove): Re-written. | |
1309 | (add): Re-written. | |
1310 | (NO_LISTENERS): New singleton field. | |
1311 | (listenerList): Declare as transient; document. | |
1312 | (serialVersionUID): Document. | |
1313 | (getListenerCount(Class)): More efficient implementation, | |
1314 | also accepts null argument. Improve Javadoc. | |
1315 | (getListenerCount()): Remove unnecessary cast; docfix. | |
1316 | * javax/swing/undo/UndoableEditSupport.java: | |
1317 | Re-format, document. | |
1318 | (UndoableEditSupport): Set realSource field. Improve documentation. | |
1319 | (_postEdit): Iterate over cloned listener vector. | |
1320 | (toString): Don't emit realSource. | |
1321 | (beginUpdate, endUpdate): Support nested updates. | |
1322 | (postEdit): Use compound edit if present. | |
1323 | ||
257dd280 GH |
1324 | 2004-01-06 Graydon Hoare <graydon@redhat.com> |
1325 | ||
1326 | * java/awt/Container.java (swapComponents): Add forgotten | |
1327 | function, required for JLayeredPane change. | |
1328 | ||
5f383ba5 MK |
1329 | 2004-01-06 Michael Koch <konqueror@gmx.de> |
1330 | ||
1331 | * java/text/CollationElementIterator.java: Reformated. | |
1332 | (CollationElementIterator): Changed order of arguments. | |
1333 | * java/text/RuleBasedCollator.java | |
1334 | (RuleBasedCollator): Merged class documentation. | |
1335 | (CollationElement): Added documentation. | |
1336 | (compare): Reformated, renamed arguments. | |
1337 | (equals): Likewise. | |
1338 | (getCollationElementIterator): Likewise. | |
1339 | (getCollationKey): Likewise. | |
1340 | ||
68f14fb0 GH |
1341 | 2004-01-06 Graydon Hoare <graydon@redhat.com> |
1342 | ||
1343 | * javax/swing/JLayeredPane.java: Fix semantics, add javadocs. | |
1344 | ||
a023ec34 MK |
1345 | 2004-01-06 Michael Koch <konqueror@gmx.de> |
1346 | ||
1347 | * gnu/java/net/protocol/file/Connection.java: | |
1348 | Reformated copyright. | |
1349 | (hdrHash): Removed. | |
1350 | (hdrVec): Removed. | |
1351 | (gotHeaders): Removed. | |
1352 | (getHeaderField): Removed. | |
1353 | (getHeaderField): Removed. | |
1354 | (getHeaderFieldKey): Removed. | |
1355 | (getKey): Removed. | |
1356 | (getField): Removed. | |
1357 | (getHeaders): Removed. | |
1358 | ||
a67e295f MK |
1359 | 2004-01-06 Michael Koch <konqueror@gmx.de> |
1360 | ||
9ba6f952 MK |
1361 | * javax/print/attribute/standard/DateTimeAtCompleted.java, |
1362 | javax/print/attribute/standard/DateTimeAtCreation.java, | |
1363 | javax/print/attribute/standard/DateTimeAtProcessing.java, | |
1364 | javax/print/attribute/standard/JobImpressionsCompleted.java, | |
1365 | javax/print/attribute/standard/JobKOctets.java, | |
1366 | javax/print/attribute/standard/JobKOctetsProcessed.java, | |
1367 | javax/print/attribute/standard/JobMediaSheetsCompleted.java, | |
1368 | javax/print/attribute/standard/JobPrioritySupported.java: New files. | |
1369 | * Makefile.am (javax_source_files): Added new files. | |
1370 | * Makefile.in: Regenerated. | |
68dad687 | 1371 | |
9ba6f952 MK |
1372 | 2004-01-06 Michael Koch <konqueror@gmx.de> |
1373 | ||
a67e295f MK |
1374 | * java/net/URLConnection.java |
1375 | (contentHandler): Removed. | |
1376 | (locale): Removed. | |
1377 | (getHeaderFields): Return an empty map instead of null. | |
1378 | (getContent): Connect if needed, renamed "cType" to "type" and | |
1379 | "contentHandler" to "ch" and made it a local variable. | |
1380 | (getPermission): Don't use package in class name. | |
1381 | (setDefaultRequestProperty): Fixed typo in documentation. | |
1382 | (initializeDateFormats): Made locale a local variable. | |
1383 | ||
907cdc7f MK |
1384 | 2004-01-06 Michael Koch <konqueror@gmx.de> |
1385 | ||
1386 | * java/lang/Package.java | |
1387 | (getPackage): Get the current class loader directly. | |
1388 | * java/lang/SecurityManager.java | |
1389 | (currentLoadedClass): Dont iterate over class contexts. | |
1390 | (classLoaderDepth): Don't check class loaders if everything is allowed. | |
1391 | ||
6037221c TF |
1392 | 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com> |
1393 | ||
a8c2775c TF |
1394 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c |
1395 | (pre_event_handler): Set all insets to 0 when a Configure event | |
1396 | is received for a GtkPlug. | |
1397 | * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle. | |
1398 | Make handle long, not int. | |
1399 | (EmbeddedWindow()): New constructor. | |
1400 | (EmbeddedWindow(int)): Rename window_id to handle. Make handle | |
1401 | long, not int. | |
1402 | (setHandle): New method. | |
1403 | (getHandle): Return long, not int. | |
1404 | * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method | |
1405 | declaration. | |
1406 | * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java, | |
1407 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c: | |
1408 | (create(long)): Take long parameter, not int. Cast gtk_plug_new | |
1409 | argument to GdkNativeWindow. | |
1410 | (construct): New method. | |
1411 | (embed): New method. | |
1412 | ||
6037221c TF |
1413 | * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java, |
1414 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c | |
1415 | (create(int, int)): New method. | |
1416 | (create): Call new create method. | |
1417 | (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove | |
1418 | methods. | |
1419 | (childResized): Remove native implementation. Implement in | |
1420 | Java. | |
1421 | (getHScrollbarHeight, getVScrollbarWidth): Call | |
1422 | gtk_widget_size_request to get scrollbar dimensions. | |
1423 | * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only | |
1424 | call getVScrollbarWidth and getHScrollbarHeight when vertical | |
1425 | and horizontal scrollbars respectively are needed. | |
1426 | (doLayout): Enlarge child if it is smaller than the viewport. | |
1427 | ||
975fde59 FN |
1428 | 2004-01-05 Fernando Nasser <fnasser@redhat.com> |
1429 | ||
1430 | * java/awt/Dialog.java (constructor): Accept null title as per spec. | |
1431 | * java/awt/FileDialog.java (constructor): Throw exception on invalid | |
1432 | argument as per spec. | |
1433 | ||
b7a9b4af FN |
1434 | 2004-01-05 Fernando Nasser <fnasser@redhat.com> |
1435 | ||
1436 | * java/awt/Choice.java (add): Leave posting of ItemEvents to peer. | |
1437 | (insert): Ditto. | |
1438 | (remove): Ditto. Also, Check for valid argument. | |
1439 | (removeAll): Use peer interface method. | |
1440 | * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for | |
1441 | native add function. | |
1442 | (nativeRemove): New name for native remove function. | |
1443 | (getHistory): New native function. | |
1444 | (constructor): Generate ItemEvent. | |
1445 | (add): Ditto, if selection is changed. | |
1446 | (remove): Ditto, ditto. | |
1447 | (removeAll): Add implementation. | |
1448 | (handleEvent): Remove. Dead code. | |
1449 | (choicePostItemEvent): Add comment. | |
1450 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c | |
1451 | (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments. | |
1452 | (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to... | |
1453 | (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add | |
1454 | comments and fix condition to change selection. | |
1455 | (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to... | |
1456 | (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add | |
1457 | remove all capability. | |
1458 | (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function. | |
1459 | (item_activate): Add cast to remove compiler warning. | |
1460 | ||
b17fc9eb TF |
1461 | 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com> |
1462 | ||
1463 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
1464 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
1465 | (getPreferredSize): Call preferredSize. | |
1466 | (preferredSize): Call gtkWidgetGetPreferredDimensions. | |
1467 | (getMinimumSize): Call minimumSize. | |
1468 | (minimumSize): Call gtkWidgetGetPreferredDimensions. | |
1469 | (gtkWidgetGetDimensions): Return the peer widget's current size | |
1470 | request. | |
1471 | (gtkWidgetGetPreferredDimensions): Return the peer widget's | |
1472 | natural size request. | |
1473 | ||
ab22bc91 SB |
1474 | 2004-01-05 Sascha Brawer <brawer@dandelis.ch> |
1475 | ||
1476 | Thanks to Brian Gough <bjg@network-theory.com> | |
1477 | * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented. | |
1478 | * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written. | |
1479 | ||
e44b879c MK |
1480 | 2004-01-04 Matthias Klose <doko@debian.org> |
1481 | ||
1482 | * aclocal.m4: Rebuilt using "aclocal -I .". | |
1483 | * configure: Rebuilt. | |
1484 | ||
5814ecc2 PB |
1485 | 2004-01-03 Per Bothner <per@bothner.com> |
1486 | ||
1487 | * java/util/Date.java (parse): Fix a number of problems. | |
1488 | (skipParens): Remove no-longer-needed method. | |
1489 |