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