1 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
3 * acinclude.m4: Include no-executables.m4.
5 * configure.in: Convert to the autoconf 2.59 version of
6 of the no-executables hack, and also of the nonstandard CXX
7 hack and the multilibbed CC and CXX hack. Change prerequisite
9 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
10 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
11 testsuite/Makefile.in: Regenerate.
13 2004-08-03 Tom Tromey <tromey@redhat.com>
17 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
19 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
21 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
23 * testsuite/libjava.compile/PR16701.java: New test.
25 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
27 * java/util/Collection.java, java/util/List.java,
28 java/util/Map.java, java/util/Set.java,
29 java/util/SortedMap.java, java/util/SortedSet.java:
30 Added additional exceptions to documentation.
32 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
35 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
36 * configure. Regenerate.
37 * include/win32.h: Explicitly include winsock2.h
38 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
41 2004-07-30 Michael Koch <konqueror@gmx.de>
43 * java/util/zip/GZIPInputStream.java
44 (GZIPInputStream): Increase buffer size to 4k.
45 * java/util/zip/GZIPOutputStream.java
46 (GZIPOutputStream): Likewise.
47 * java/util/zip/Inflater.java
48 (setInput): Merged formating with GNU classpath.
49 * java/util/zip/InflaterInputStream.java
50 (InflaterInputStream): Increase buffer size to 4k.
51 (fill): Throw exception if stream ends early.
52 (read): Merged endless-loop with GNU classpath.
53 (skip): Increase buffer size to 2k.
55 2004-07-30 Michael Koch <konqueror@gmx.de>
57 * gnu/java/awt/EmbeddedWindow.java
58 (addNotify): Use AccessController to allow execution of privileged
61 2004-07-29 Michael Koch <konqueror@gmx.de>
63 * gnu/java/lang/MainThread.java:
64 Explicitely import used classes.
65 (args): Make it type String[].
67 2004-07-29 Dalibor Topic <robilad@kaffe.org>
69 * gnu/java/awt/ComponentDataBlitOp.java,
70 gnu/java/beans/ExplicitBeanInfo.java,
71 gnu/java/beans/IntrospectionIncubator.java,
72 gnu/java/beans/editors/ColorEditor.java,
73 gnu/java/beans/editors/FontEditor.java,
74 gnu/java/beans/editors/NativeBooleanEditor.java,
75 gnu/java/beans/editors/NativeByteEditor.java,
76 gnu/java/beans/editors/NativeDoubleEditor.java,
77 gnu/java/beans/editors/NativeFloatEditor.java,
78 gnu/java/beans/editors/NativeIntEditor.java,
79 gnu/java/beans/editors/NativeLongEditor.java,
80 gnu/java/beans/editors/NativeShortEditor.java,
81 gnu/java/beans/editors/StringEditor.java,
82 gnu/java/io/ClassLoaderObjectInputStream.java,
83 gnu/java/io/decode/Decoder.java,
84 gnu/java/io/encode/Encoder.java,
85 gnu/java/lang/ClassHelper.java,
86 gnu/java/locale/Calendar.java,
87 gnu/java/locale/Calendar_de.java,
88 gnu/java/locale/Calendar_en.java,
89 gnu/java/locale/Calendar_nl.java,
90 gnu/java/locale/LocaleInformation_de.java,
91 gnu/java/locale/LocaleInformation_en.java,
92 gnu/java/locale/LocaleInformation_nl.java:
95 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
97 * README: Remove obsolete info. Update bug URL.
99 * NEWS: Updated with news up to GCC 3.4 release.
101 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
103 * gnu/java/security/action/GetPropertyAction.java (setParameters):
104 Renamed from 'setName'. New 2-argument form with default value.
105 (run): Pass default 'value' parameter to System.getProperty().
106 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
108 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
111 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
113 * configure.in: Check for minimum GTK version 2.4 requirement.
114 * configure: Rebuilt.
116 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
118 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
119 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
121 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
123 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
124 address. Reduce sleep times. Synchronize with target threads before
125 attempting to interrupt them. Don't try to calibrate yeild count,
126 instead, always loop for a fixed time.
127 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
128 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
129 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
130 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
131 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
132 * testsuite/libjava.lang/pr179.java: Likewise.
133 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
134 time. Remove upper bounds check on sleep time.
136 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
138 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
139 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
141 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
143 * java/io/File.java (toURI): Throw RuntimeException, not
145 * java/lang/Runtime.java (exit): Qualify static sleep() call with
146 class name, not instance.
148 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
150 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
151 and gnu/java/security/action/SetAccessibleAction.java.
152 * Makefile.in: Rebuilt.
154 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
156 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
157 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
159 (DECLARE_PRIM_TYPE): Don't declare array vtables.
160 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
161 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
163 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
165 * Makefile.am: Replace jar, rmic and rmiregistry references with
166 gjar, grmic and grmiregistry.
167 * configure.in: Likewise.
168 * Makefile.in: Regenerate.
169 * configure: Likewise.
170 * gcj/Makefile.in: Likewise.
171 * include/Makefile.in: Likewise.
172 * testsuite/Makefile.in: Likewise.
174 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
176 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
177 for privileged getProperty calls.
178 * java/io/ObjectOutputStream.java (getField): No longer static. Use
179 SetAccessibleAction instead of anonymous class for doPrivileged call.
180 (getMethod): Likewise.
181 (setAccessible): New field. PrivilegedAction object to use when
182 calling setAccessible.
183 * java/io/ObjectStreamClass.java (calculateOffsets): Use
184 SetAccessibleAction instead of anonymous class for diPrivileged call.
185 (setFields): Likewise.
186 (getClassUID): Likewise.
187 (findMethod): Likewise.
188 * gnu/java/security/action/GetPropertyAction.java: New class.
189 * gnu/java/security/action/SetAccessibleAction.java: New class.
191 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
193 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
195 * testsuite/libjava.lang/Serialization.java: New test.
196 * testsuite/libjava.lang/Serialization.out: New.
198 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
200 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
201 missed in last commit.
203 2004-07-23 Mark Wielaard <mark@klomp.org>
205 * java/lang/System.java (static): Set http.agent system property when
207 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
208 from system property inside AccessController.doPrivileged() call.
209 (proxyPort): Made package private.
210 (proxyInUse): Likewise.
211 (proxyHost): Likewise.
212 (userAgent): Likewise.
214 2004-07-23 Mark Wielaard <mark@klomp.org>
216 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
219 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
221 * Makefile.am (ordinary_java_source_files): Add
222 DefaultContentHandlerFactory.java.
223 * Makefile.in: Rebuilt.
224 * java/net/URLConnection.java (defaultFactory): New field.
226 (getContentHandler): Renamed from 'setContentHandler'. Try
227 defaultFactory after user-set factory, if any. Search for content
228 handler implementations in gnu.java.net.content, not gnu.gcj.content.
229 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
231 (getLastModified): Implemented.
232 (getPermission): Create file permission here, instead of in
234 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
236 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
238 (getLastModified): Implemented.
239 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
240 Default implementation.
241 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
242 Implement using GdkPixbufDecoder.
244 2004-07-21 Michael Koch <konqueror@gmx.de>
246 * javax/swing/JTextArea.java
247 (setLineWrap): Fire property change event after new value is set.
248 (setTabSize): Likewise.
250 2004-07-21 Michael Koch <konqueror@gmx.de>
252 * javax/swing/JTable.java
253 (autoCreateColumnsFromModel): New field.
254 (autoResizeMode): Likewise.
255 (cellEditor): Likewise.
256 (cellSelectionEnabled): Likewise.
257 (columnModel): Likewise.
258 (dataModel): Likewise.
259 (defaultEditorsByColumnClass): Likewise.
260 (defaultRenderersByColumnClass): Likewise.
261 (editingColumn): Likewise.
262 (editingRow): Likewise.
263 (gridColor): Likewise.
264 (preferredViewportSize): Likewise.
265 (rowHeight): Likewise.
266 (rowMargin): Likewise.
267 (rowSelectionAllowed): Likewise.
268 (selectionBackground): Likewise.
269 (selectionForeground): Likewise.
270 (selectionModel): Likewise.
271 (showHorizontalLines): Likewise.
272 (showVerticalLines): Likewise.
273 (tableHeader): Likewise.
274 (JTable): Implemented.
275 (getColumnModel): Likewise.
276 (getSelectedRow): Likewise.
277 (getSelectionModel): Likewise.
278 (setModel): Likewise.
279 (setSelectionModel): Likewise.
280 (createScrollPaneForTable): New method.
281 (createDefaultDataModel): Likewise.
282 (createDefaultListSelectionModel): Likewise.
283 (getModel): Likewise.
284 (getTableHeader): Likewise.
285 (setTableHeader): Likewise.
286 (getColumnSelectionAllowed): Likewise.
287 (setColumnSelectionAllowed): Likewise.
288 (getRowSelectionAllowed): Likewise.
289 (setRowSelectionAllowed): Likewise.
290 (getAutoResizeMode): Likewise.
291 (setAutoResizeMode): Likewise.
292 (getColumnCount): Likewise.
293 (getRowCount): Likewise.
294 (getCellRenderer): Likewise.
295 * javax/swing/JTree.java
296 (cellRenderer): New field.
297 (editable): Likewise.
298 (rootVisible): Likewise.
299 (showsRootHandles): Likewise.
300 (getModel): New method.
301 (setModel): Likewise.
302 (isEditable): Likewise.
303 (setEditable): Likewise.
304 (isRootVisbile): Likewise.
305 (setRootVisible): Likewise.
306 (getShowsRootHandles): Likewise.
307 (setShowRootHandles): Likewise.
308 (getCellRenderer): Likewise.
309 (setCellRenderer): Likewise.
311 2004-07-21 Michael Koch <konqueror@gmx.de>
313 * javax/swing/JFormattedTextField.java
314 (setDocument): Implemented.
315 * javax/swing/JRootPane.java:
317 * javax/swing/JTable.java
318 (getDefaultRenderer): New method.
319 * javax/swing/JTextField.java
321 (getPreferredSize): Likewise.
322 * javax/swing/JToggleButton.java
323 (getAccessibleContext): Fix javadoc.
324 * javax/swing/JTree.java:
326 * javax/swing/JViewport.java:
329 2004-07-21 David Jee <djee@redhat.com>
331 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
332 Collect all native method declaration at the top.
333 (create): Set the filename filter if necessary.
334 (setDirectory): Call nativeSetDirectory().
335 (setFilenameFilter): Implement.
336 (filenameFilterCallback): New method.
337 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
338 (create): Configure dialog to show hidden files.
339 (filenameFilterCallback): New function.
340 (nativeSetFilenameFilter): New function.
341 (nativeSetDirectory): New function.
343 2004-07-21 Kim Ho <kho@redhat.com>
345 * javax/swing/plaf/basic/BasicSliderUI.java:
347 (paintTrack): Fill the track before painting
350 2004-07-21 Graydon Hoare <graydon@redhat.com>
352 patch from Roman Kennke <roman@ontographics.com>
353 * javax/swing/Spring.java: New file.
354 * javax/swing/SpringLayout.java: New file.
355 * Makefile.am: Add new files.
356 * Makefile.in: Regenerate.
358 2004-07-21 Graydon Hoare <graydon@redhat.com>
360 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
361 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
362 * javax/swing/ScrollPaneLayout.java: Likewise.
364 2004-07-21 Kim Ho <kho@redhat.com>
366 * javax/swing/DefaultDesktopManager.java:
367 (findMinimum): Removed.
368 (resizeFrame): Trust the UI to pass valid
370 * javax/swing/JOptionPane.java:
371 Implemented showInternalXXXDialog methods.
372 (startModal): New method.
373 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
374 (BorderListener::mouseDragged): Verify that the new
375 bounds are valid before passing them to the DesktopManager.
376 (preferredLayoutSize): Delegate
378 (minimumLayoutSize): Ditto.
379 (getSize): New method.
380 (GlassPaneDispatcher): Reimplemented by copying
381 a stripped down LightweightDispatcher from Container.
382 (getMinimumSize): Call minimumLayoutSize.
383 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
385 (mousePressed): Add ability to properly close
387 * javax/swing/plaf/basic/BasicToolBarUI.java:
388 (DragWindow): Set owner for DragWindow.
390 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
392 * java/awt/image/ShortLookupTable.java: New file.
393 * java/awt/image/ByteLookupTable.java: New file.
394 * Makefile.am: Added new files.
395 * Makefile.in: Regenerated.
397 2004-07-21 David Jee <djee@redhat.com>
399 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
400 (create(GtkContainerPeer)): New native method.
401 (create()): Call native create(), passing in the parent frame
402 as the paramter. Natively set the current file and directory.
403 (setFile): Construct an absolute filename before passing it to
405 (nativeGetDirectory): New method.
406 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
407 (window_closed): Removed.
408 (ok_clicked): Likewise.
409 (cancel_clicked): Likewise.
410 (handle_response): New method.
411 (create): Use GtkFileChooserDialog.
412 (connectSignals): Connect to handle_response.
413 (nativeGetDirectory): New method.
414 (nativeSetFile): Use GtkFileChooserDialog.
416 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
418 * java/awt/image/LookupTable.java: New file.
419 * Makefile.am: Added new file.
420 * Makefile.in: Regenerated.
422 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
424 * java/awt/image/Kernel.java: New file.
425 * Makefile.am: Added new file.
426 * Makefile.in: Regenerated.
428 2004-07-21 Olga Rodimina <rodimina@redhat.com>
430 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
431 * javax/swing/JMenu.java: Likewise.
432 * javax/swing/JMenuBar.java: Likewise.
433 (MARGIN_CHANGED_PROPERTY): New property.
434 (setMargin): Implemented.
435 * javax/swing/JMenuItem.java: Fixed javadocs.
436 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
437 (LABEL_CHANGED_PROPERTY): New property.
438 (add): changed to use createActionComponent.
439 (createActionComponent): Implemented.
440 (setLabel): Fire PropertyChangeEvent if label property
442 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
443 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
444 (ContainerHandler): Repaint if margin property has changed.
445 * javax/swing/plaf/basic/BasicMenuItemUI.java:
446 (installUI): Call installComponents().
447 (uninstallUI): Call uinstallComponents().
448 * javax/swing/plaf/basic/BasicMenuUI.java:
450 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
453 2004-07-21 Kim Ho <kho@redhat.com>
455 * javax/swing/plaf/basic/BasicToolBarUI.java:
456 (DragWindow): Use the right constructor.
458 2004-07-21 Kim Ho <kho@redhat.com>
460 * javax/swing/JToolBar.java:
461 (layoutContainer): Use getComponents.
462 * javax/swing/plaf/basic/BasicToolBarUI.java:
463 (DragWindow): Don't use SwingUtilities'
465 (ToolBarDialog): ditto.
467 2004-07-21 Kim Ho <kho@redhat.com>
469 * javax/swing/JRootPane.java:
471 (layoutContainer): Set the glasspane's size to
472 be the same as the content pane.
473 (createGlassPane): Set opaque property to false.
475 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
477 * java/awt/Component.java (requestFocus()): Don't handle Panels
479 (requestFocus(boolean)): Likewise.
480 (requestFocusInWindow(boolean)): Likewise.
481 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
482 Set GTK_CAN_FOCUS flag.
484 2004-07-21 Kim Ho <kho@redhat.com>
486 * Makefile.am: Added new file.
487 * Makefile.in: Regenerated.
488 * gcj/Makefile.in: Regenerated.
489 * include/Makefile.in: Regenerated.
490 * javax/swing/AbstractButton.java:
491 Add rollOverEnabled property.
492 (setRolloverEnabled): Use new property.
493 (isRolloverEnabled): Use new property.
494 * javax/swing/JTabbedPane.java:
495 (setComponent): Remove useless JTabbedPane.this.
496 * javax/swing/JToolBar.java: Finish implementation.
497 * javax/swing/plaf/basic/BasicArrowButton.java:
498 (paint): Moved border painting to a border.
499 * javax/swing/plaf/basic/BasicLookAndFeel.java:
500 Change JToolBar look and feel defaults.
501 * javax/swing/plaf/basic/BasicOptionPaneUI.java
502 (actionPerformed): Return Integer index instead of name.
503 (addButtonComponents): Check to see if component is
505 (createMessageArea): Don't use components that are not
507 (getIconForType): Use temporary icons.
508 * javax/swing/plaf/basic/BasicSliderUI.java:
509 (mousePressed): Do not return if it's on thumb.
510 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
511 (paintMinorTickForVertSlider): ditto.
512 (paintMajorTickForHorizSlider): ditto.
513 (paintMajorTickForVertSlider): ditto.
514 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
515 Add a border around the SplitPaneDivider.
516 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
518 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
519 New file. Implemented.
520 * javax/swing/plaf/basic/BasicToolBarUI.java:
522 * testsuite/Makefile.in: Regenerated.
524 2004-07-21 Graydon Hoare <graydon@redhat.com>
526 * javax/swing/Timer.java (run): Queue events each time cycle.
528 2004-07-21 David Jee <djee@redhat.com>
530 * gnu/java/awt/peer/gtk/GtkImagePainter.java
531 (imageComplete): Call image.imageComplete().
532 * java/awt/image/MemoryImageSource.java:
533 Reimplement consumers as a Vector instead of a Hashtable. This is
534 because enumeration on a Hashtable is not thread-safe.
535 (addConsumer): Adapt to Vector consumers.
536 (isConsumer): Adapt to Vector consumers.
537 (removeConsumer): Adapt to Vector consumers.
538 (startProduction): Adapt to Vector consumers. Call imageComplete()
539 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
540 (newPixels): Adapt to Vector consumers.
541 (sendPicture): Set the color model of the image consumer.
542 (newPixels(IIII)): Adapt to Vector consumers.
543 (newPixels(IIIIB)): Adapt to Vector consumers.
545 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
547 * java/awt/Component.java (deliverEvent): Implement.
548 (postEvent): Implement.
549 (handleEvent): Implement.
550 (translateEvent): New method.
551 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
552 * java/awt/Container.java (deliverEvent): Implement.
553 * java/awt/Event.java (paramString): Fix formatting.
554 * java/awt/Font.java (toString): Likewise.
555 * java/awt/Window.java (postEvent): Implement.
557 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
559 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
560 Set window's focus owner upon receiving a FOCUS_LOST event.
561 * java/awt/Window.java (Window()): Refocus the previously
562 focused component within the window when the window regains the
564 (setFocusOwner): New method.
565 * java/awt/Component.java (requestFocus): Add FIXME.
567 * libgcj.pc.in: Remove library flags.
569 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
571 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
573 * java/awt/Component.java (requestFocus()): Handle Panel
574 specially. Post FOCUS_LOST event on opposite component.
575 (requestFocus(boolean)): Likewise.
576 (requestFocusInWindow(boolean)): Likewise.
577 (paramString): Reorder dimension fields.
578 * java/awt/Container.java (paramString): Fix string format.
579 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
580 Handle FOCUS_LOST events. Don't handle Windows specially. Only
581 process key events if the focus owner is non-null.
582 (dispatchKeyEvent): Likewise.
583 * java/awt/Frame.java (paramString): Fix formatting.
584 (generateName): New method.
585 (getUniqueLong): Likewise.
586 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
587 the temporary focus owner is null. If so, return the permanent
589 * java/awt/Panel.java (generateName): New method.
590 (getUniqueLong): Likewise.
591 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
592 signal handling to make callbacks more specific.
594 2004-07-21 Michael Koch <konqueror@gmx.de>
596 * javax/swing/text/Position.java
599 2004-07-21 Michael Koch <konqueror@gmx.de>
601 * javax/swing/LookAndFeel.java
602 (provideErrorFeedback): New method.
604 2004-07-21 Michael Koch <konqueror@gmx.de>
606 * javax/swing/JTextArea.java
607 (tabSize): New field.
608 (getTabSize): New method.
609 (setTabSize): Likewise.
611 2004-07-21 Michael Koch <konqueror@gmx.de>
613 * javax/swing/ActionMap.java:
614 Fixed javadocs all over.
615 (serialVersionUID): Made private.
616 (parent): Don't explicitely initialize with default value.
618 (keys): Reimplemented.
620 (convertSet): Removed.
621 * javax/swing/ComponentInputMap.java:
622 Fixed javadocs all over.
623 (ComponentInputMap): Implemented.
627 (SetParent): Likewise.
628 (getComponent): Likewise.
629 * javax/swing/InputMap.java:
630 Fixed javadocs all over.
631 (serialVersionUID): Made private.
632 (parent): Don't explicitely initialize with default value.
634 (keys): Reimplemented.
636 (convertSet): Removed.
638 2004-07-21 Michael Koch <konqueror@gmx.de>
640 * javax/swing/ActionMap.java,
641 javax/swing/ComponentInputMap.java,
642 javax/swing/InputMap.java,
643 javax/swing/table/DefaultTableColumnModel.java,
644 javax/swing/table/TableColumn.java,
645 javax/swing/table/TableColumnModel.java,
646 javax/swing/table/TableModel.java,
647 javax/swing/text/AbstractDocument.java,
648 javax/swing/text/TextAction.java:
651 2004-07-21 Graydon Hoare <graydon@redhat.com>
653 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
654 Make method non-static.
655 * javax/swing/AbstractButton.java:
656 Rename fields to match property names where possible.
657 (iconTextGap): New property.
658 * javax/swing/JCheckBox.java: Match AbstractButton changes.
659 (init) New method, call from after various constructors.
660 * javax/swing/JComponent.java (revalidate):
661 Invalidate before queueing repair.
662 * javax/swing/JList.java (getPreferredScrollableViewportSize):
663 Reimplement in terms of visibleRowCount property.
664 * javax/swing/JMenuButton.java: Match AbstractButton changes.
665 * javax/swing/JScrollPane.java (createScrollListener):
666 Remove tracing chatter.
667 * javax/swing/JToggleButton.java: Match AbstractButton changes.
668 * javax/swing/RepaintManager.java (addInvalidComponent):
670 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
672 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
673 Mimic sun behavior on top left/right positioning.
674 * javax/swing/ViewportLayout.java (preferredLayoutSize):
675 Remove mistaken use of preferredScrollableViewportSize here.
676 (layoutContainer): Use view's preferred size as basis.
677 * javax/swing/plaf/basic/BasicButtonUI.java:
678 Set, get, and use textIconGap property.
679 (paint) Paint text returned from layout (with ellipsis).
680 * javax/swing/plaf/basic/BasicListUI.java:
681 Remove tracing chatter, correct various minor calculations.
682 (getCellBounds): Update layout state before calculating.
683 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
684 Use margin default similar to sun's.
685 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
686 (createIncreaseIcon): Center icon, minimize margins.
687 (createDecreaseIcon): Likewise.
688 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
690 (installUI): Call it.
691 (uninstallDefaults): Implement.
692 (uninstallUI): Call it.
693 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
694 Call existing Window constructor.
695 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
696 Set clip before painting.
698 2004-07-21 Olga Rodimina <rodimina@redhat.com>
700 * javax/swing/JMenuItem.java:
701 (processMouseEvent): Reimplemented to deal with
703 (createMenuDragMouseEvent): New private helper method.
704 Creates MenuDragMouseEvent.
705 * javax/swing/MenuSelectionManager.java
706 (componentForPoint): Implemented.
707 (isComponentPartOfCurrentMenu): Made public.
708 (processMouseEvent): Reimplemented to deal with
710 (setSelectedPath): Corrected small mistake that caused
711 path to be set incorrectly.
712 (getPath): If given component is JMenu then also add this
713 menu's popup menu to the selected path.
714 * javax/swing/plaf/basic/BasicMenuItemUI.java:
716 (getPreferredSize): Call getPreferredMenuItemSize().
717 (getPreferredItemSize): Moved code from getPreferredSize to here.
718 (installListeners): Install MouseMotionListeners.
719 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
720 if mouse wasn't released in the bounds of this menu item.
721 (MenuDragMouseHandler): Implemented.
722 * javax/swing/plaf/basic/BasicMenuUI.java:
723 (installListeners): Install MouseMotionListener and
724 MenuDrageMouseListener.
725 (MenuDragMouseHandler): Implemented.
726 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
727 (uninstallListeners): Implemented.
729 2004-07-21 Michael Koch <konqueror@gmx.de>
731 * javax/swing/JCheckBox.java: Reformated.
732 (JCheckBox): Fixed all constructors.
733 (isBorderPaintedFlat): New method.
734 (setBorderPaintedFlat): New method.
735 * javax/swing/JEditorPane.java
736 (createEditorKitForContentType): Made public.
737 (scrollToReference): Likewise.
738 * javax/swing/JTextArea.java
739 (setLineWrap): Fire property change.
740 * javax/swing/JToggleButton.java
741 (JToggleButton): New constructor.
742 (JToggleButton): Simplified.
743 * javax/swing/text/AttributeSet.java
744 (FontAttribute): Renamed from FontCharacterAttribute.
745 * javax/swing/text/JTextComponent.java
746 (KeyBinBinding): Added javadoc.
747 (JTextComponent): Likewise.
748 (getAccessibleContext): Fixed javadoc.
749 * javax/swing/text/View.java
750 (View): Added javadoc.
751 * javax/swing/text/TabableView.java: New file.
752 * Makefile.am: Added javax/swing/text/TabableView.java.
753 * Makefile.in: Regenerated.
755 2004-07-21 Graydon Hoare <graydon@redhat.com>
757 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
758 * gnu/java/awt/peer/gtk/GtkToolkit.java
759 (GtkErrorImage): New helper class.
760 (bufferedImageOrError): New helper method.
761 (createImage): Use it.
763 2004-07-21 David Jee <djee@redhat.com>
765 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
766 (setCaretPosition): Scroll the text view so the new caret position
767 is visible on screen.
769 2004-07-21 David Jee <djee@redhat.com>
771 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
772 (setBounds): Do not validate awtComponent here.
773 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
774 (getPreferredSize): New method.
775 * java/awt/ScrollPane.java
776 (ScrollPane): Set default size to 100x100.
777 (addNotify): If child is not a Panel, wrap it with a new Panel.
778 (paramString): Implement.
780 2004-07-21 Olga Rodimina <rodimina@redhat.com>
782 * javax/swing/JMenu.java:
783 (setSelected): Display popup menu only if this menu
784 is showing on the screen.
785 * javax/swing/JPopupMenu.java:
786 (processMouseEvent): Added comment.
787 (processKeyEvent): Likewise.
788 * javax/swing/MenuSelectionManager.java:
789 (clearSelectedPath): Only fireStateChanged() after
790 selected path was changed, not before.
791 (setSelectedPath): Likewise.
792 * javax/swing/plaf/basic/BasicMenuItemUI.java:
793 (paintMenuItem): Corrected position of menu item's
795 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
796 (installUI): Correct setDefaultLightWeightPopupEnabled call.
797 (popupMenuCanceled): Reimplemented.
798 (popupMenuWillBecomeVisible): Select first menu item by default
799 when displaying free floating popup menus.
800 (TopWindowListener): Reimplemented.
802 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
804 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
805 Panel from being painted twice when it is first shown.
807 2004-07-21 Olga Rodimina <rodimina@redhat.com>
809 * java/awt/Window.java: Reverted changes from my
810 previous patch for creating window without an owner.
811 * javax/swing/SwingUtilities.java:
812 (SwingUtilities.OwnerFrame): made static.
813 (OwnerFrame.setVisible): New method. Overridden with
814 empty implementation.
815 (OwnerFrame.isShowing): New method. Ovverridden
816 to return always true.
818 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
820 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
821 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
822 (GtkComponentPeer): Remove temporary try/catch block.
823 (setVisible): Call show and hide.
826 (getArgs): Don't add "visible" argument.
827 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
828 (property_notify_predicate): Return Bool instead of int.
829 (find_layout): New function.
830 (connectJObject): Call find_layout.
831 (connectSignals): Likewise.
832 (moveLayout): Likewise.
833 (gtkLayoutSetVisible): Likewise.
835 2004-07-21 Mark Wielaard <mark@klomp.org>
837 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
838 on notifier object before calling notifyAll().
840 2004-07-21 Olga Rodimina <rodimina@redhat.com>
842 * java/awt/Window.java: Changed constructors to use new
843 method that is described below. Constructors call this
844 methods only if newly created window should have an owner.
845 (setWindowOwner): New method. Implementation for
846 this method is moved from this(owner,configuration).
847 * javax/swing/JWindow.java:
848 (JWindow): Reimplement to use SwingUtilities.ownerFrame
850 * javax/swing/SwingUtilities.java:
851 (ownerFrame): Change type of this field to OwnerFrame.
852 (getOwnerFrame): Changed to return object of type OwnerFrame.
853 (SwingUtilities.OwnerFrame): New class. Represents owner
854 of a Window that is not provided with one.
856 2004-07-21 Olga Rodimina <rodimina@redhat.com>
858 * javax/swing/AbstractButton.java:
859 (configurePropertiesFromAction): Set action command
860 to button's text by default if action command is not
861 explicitely specified.
862 * javax/swing/JMenu.java: Remove unnecessary listener
863 and methods relevant to it.
864 (setSelected): Reimplemented.
865 (menuSelectionChanged): Moved most part of implementation to
866 setSelected() and call it instead.
867 * javax/swing/JMenuItem.java:
868 (init): Comment out statement that sets paint_border to false.
869 (configurePropertiesFromAction): Do not set accelerator
871 (menuSelectionChanged): Change selected index in the selection
872 model of menu item's parent.
873 * javax/swing/JPopupMenu.java:
874 (remove): Set constraints.fill field to GridBagConstraints.BOTH
875 instead of GridBagConstraints.HORIZONTAL.
877 (createActionChangeListener): Implemented.
878 (setVisible): Correct location of HeavyWeightMenu and
879 don't firePopupMenuCanceled().
880 (menuSelectionChanged): Implemented.
881 (ActionChangeListener): New Listener. Implemented.
882 * javax/swing/plaf/basic/BasicMenuBarUI.java:
883 (BasicMenuBarUI.ContainerHandler): Implemented.
884 * javax/swing/plaf/basic/BasicMenuItemUI.java:
885 (paintMenuItem): Uncommented out code that paints
886 icon, now that icons are working properly.
887 (PropertyChangeListener): Implemented.
888 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
890 (topWindowListener): New field.
891 (Constructor): initialize topWindowListener.
892 (BasicPopupMenuUI.TopWindowListener): Implemented.
893 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
894 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
897 2004-07-21 Michael Koch <konqueror@gmx.de>
899 * javax/swing/plaf/basic/BasicButtonUI.java
900 (paintFocus): Fixed method signature.
901 (paintButtonPressed): Likewise.
902 (paintButtonNormal): Likewise.
903 (paintText): New method.
904 * javax/swing/plaf/basic/BasicLabelUI.java
905 (paint): Re-indented.
906 * javax/swing/plaf/basic/BasicTextUI.java
907 (installUI): Set parent textComponent to opaque.
908 * javax/swing/text/DefaultHighlighter.java
909 (checkPositions): New helper method.
910 (addHighlight): Throws BadLocationException, check positions.
911 (changeHighlight): Likewise.
912 * javax/swing/text/EditorKit.java
913 (EditorKit): Implements Serializable.
914 * javax/swing/text/JTextComponent.java
915 (getUI): Added javadoc.
917 (upadteUI): Added javadoc, don't revalidate and repaint.
919 2004-07-21 David Jee <djee@redhat.com>
921 * java/awt/GridBagLayout.java
922 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
923 * javax/swing/AbstractButton.java
925 * javax/swing/RepaintManager.java
926 (addInvalidComponent): Find the first ancestor that isValidateRoot().
928 2004-07-21 Michael Koch <konqueror@gmx.de>
930 * javax/swing/JFormattedTextField.java
932 (JFormattedTextField): Implemented.
933 (getValue): Likewise.
934 (setValue): Likewise.
935 * javax/swing/LookAndFeel.java
936 (getSupportsWindowDecorations): New method.
937 * javax/swing/UIDefaults.java:
938 Use java.beans.PropertyChangeSupport instead of doing all ourself.
939 (addPropertyChangeListener): Made public.
940 (addResourceBundle): Likewise.
941 (removeResourceBundle): Likewise.
942 (setDefaultLocale): Likewise.
943 * javax/swing/plaf/basic/BasicRootPaneUI.java
944 (BasicRootPaneUI): Implements PropertyChangeListener.
945 (propertyChange): New method.
946 * javax/swing/plaf/basic/BasicTextUI.java
947 (BasicHighlighter): New inner class.
948 (createHighlighter): New method.
949 * javax/swing/plaf/basic/BasicToolBarUI.java
950 (DragWindow): Extends java.awt.Window.
951 * javax/swing/text/JTextComponent.java
952 (getDocument): Removed debug output.
953 * javax/swing/plaf/basic/BasicTextFieldUI.java,
954 javax/swing/text/DefaultHighlighter.java,
955 javax/swing/text/FieldView.java,
956 javax/swing/text/PlainView.java: New files.
957 * Makefile.am: Added new files.
958 * Makefile.in: Regenerated.
960 2004-07-21 Michael Koch <konqueror@gmx.de>
962 * javax/swing/JEditorPane.java
963 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
964 (createEditorKitForContentType): Likewise.
965 * javax/swing/text/DefaultEditorKit.java
966 (serialVersionUID): Added constant field.
967 (EndOfLineStringPropery): Fixed typo.
968 (DefaultEditorKit): New constructor.
969 * javax/swing/text/Segment.java:
970 Import java.text.CharacterIterator.
971 * javax/swing/text/CharacterIterator.java,
972 javax/swing/text/PlainEditorKit.java: Removed.
973 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
974 javax/swing/text/PlainEditorKit.java.
975 * Makefile.in: Regenerated.
977 2004-07-21 Michael Koch <konqueror@gmx.de>
979 * javax/swing/JButton.java,
980 javax/swing/text/DefaultEditorKit.java,
981 javax/swing/text/EditorKit.java,
982 javax/swing/text/Segment.java,
983 javax/swing/text/StyledEditorKit.java:
986 2004-07-21 Michael Koch <konqueror@gmx.de>
988 * javax/swing/ImageIcon.java
990 (description): Renamed from descr.
991 (ImageIcon): Added missing constructors.
992 (setParent): Removed.
993 (setImageObserver): New method.
994 (getImageObserver): New method.
995 (paintIcon): Handle observer = null.
996 * javax/swing/JButton.java
997 (removeNotify): Fixed javadoc.
998 (updateUI): Simplified.
999 * javax/swing/JRootPane.java
1000 (serialVersionUID): New constant field.
1001 * javax/swing/UIManager.java:
1002 Fixed javadocs all over.
1003 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
1004 * javax/swing/text/AbstractDocument.java
1005 (createPosition): Throws BadLocationException.
1006 (getText): Likewise.
1008 * javax/swing/text/ComponentView.java
1009 (modelToView): Likewise.
1010 * javax/swing/text/DefaultEditorKit.java:
1011 Made all public methods public.
1012 (read): Throws BadLocationException and IOException.
1014 * javax/swing/text/EditorKit.java:
1015 Made all public methods public.
1016 (serialVersionUID): New constant field.
1017 (clone): New method.
1018 (read): Throws BadLocationException and IOException.
1020 * javax/swing/text/Segment.java
1021 (array): Made public.
1024 (Segment): New constructors.
1025 (clone): Reimplemented.
1026 * javax/swing/text/StyledEditorKit.java
1027 (serialVersionUID): New constant field.
1029 2004-07-21 Graydon Hoare <graydon@redhat.com>
1031 * java/awt/image/BufferedImage.java
1032 (getSource): Implement.
1033 * javax/swing/ImageIcon.java
1034 (ImageIcon): Implement ctor.
1035 * javax/swing/ScrollPaneLayout.java
1036 (preferredLayoutSize): Be more careful about nulls.
1038 2004-07-21 Michael Koch <konqueror@gmx.de>
1040 * javax/swing/text/AttributeSet.java
1041 (CharacterAttribute): New interface
1042 (ColorAttribute): Likewise.
1043 (FontCharacterAttribute): Likewise.
1044 (ParagraphAttribute): Likewise.
1045 * javax/swing/text/DefaultCaret.java
1046 (moveCaret): New method.
1047 (positionCaret): Likewise.
1048 (repaint): Made protected.
1049 * javax/swing/text/JTextComponent.java
1050 (KeyBinding): Made it static.
1051 * javax/swing/text/View.java
1052 (getContainer): Honor parent == null.
1054 2004-07-21 Michael Koch <konqueror@gmx.de>
1056 * javax/swing/text/AbstractDocument.java:
1059 2004-07-21 Michael Koch <konqueror@gmx.de>
1061 * javax/swing/plaf/basic/BasicRootPaneUI.java:
1062 Import javax.swing.UIManager explicitely.
1063 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1064 (ScrollingButton): Made it static.
1066 2004-07-21 Michael Koch <konqueror@gmx.de>
1068 * javax/swing/UIDefaults.java
1069 (ActiveValue): Made public.
1070 (LazyValue): Likewise.
1071 * javax/swing/plaf/basic/BasicTextUI.java
1072 (RootView): Reintroduced.
1074 (rootView): New field.
1075 (installUI): Create document if needed, initialize rootView.
1076 (uninstallUI): Hanle rootView.
1078 (getRootView): Likewise.
1079 (setView): Likewise.
1080 * javax/swing/text/DefaultCaret.java:
1081 Renamed all "evt" variables to "event".
1083 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
1085 * libgcj.spec.in: Add -l-java-util-logging.
1087 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
1089 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1090 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
1091 gtk-xft-dpi can no calculate the right value.
1092 (dpi_changed_cb): Mark *pspec as unsused.
1094 2004-07-21 David Jee <djee@redhat.com>
1096 * java/awt/Component.java
1097 (move): Delegate to setBounds().
1099 (reshape): Fix so it repaints parent and self only when necessary.
1101 2004-07-21 David Jee <djee@redhat.com>
1103 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1104 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1105 (GtkComponentPeer): Revert previous patch from 2004-06-22.
1106 (setVisible): Likewise.
1109 (getArgs): Likewise.
1110 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1111 (property_notify_predicate): Likewise.
1112 (find_layout): Likewise.
1113 (connectJObject): Likewise.
1114 (connectSignals): Likewise.
1115 (moveLayout): Likewise.
1116 (gtkLayoutSetVisible): Likewise.
1118 2004-07-21 Graydon Hoare <graydon@redhat.com>
1124 (rmiregistry_LDADD): Add lib-java-util-logging.la
1125 * Makefile.in: Regenerate.
1127 2004-07-21 Michael Koch <konqueror@gmx.de>
1129 * javax/swing/text/AbstractDocument.java
1130 (replace): Dont use protected method of java.util.Vector directly.
1132 2004-07-21 Michael Koch <konqueror@gmx.de>
1134 * javax/swing/plaf/basic/BasicTextUI.java
1135 (installUI): Call specialized install methods.
1136 (installDefaults): New method.
1137 (installListeners): Likewise.
1138 (installKeyboardActions): Likewise.
1139 (uninstallUI): Likewise.
1140 (uninstallDefaults): New method.
1141 (uninstallListeners): Likewise.
1142 (uninstallKeyboardActions): Likewise.
1143 (getPropertyPrefix): New abstract method.
1144 (paint): Made final, just call paintSafely().
1145 (paintSavely): New method.
1146 (paintBackground): Likewise.
1147 (getVisibleEditorRect): Likewise.
1148 * javax/swing/text/LayeredHighlighter.java,
1149 javax/swing/text/TabExpander.java: New files.
1150 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
1151 and javax/swing/text/TabExpander.java.
1152 * Makefile.in: Regenerated.
1154 2004-07-21 Michael Koch <konqueror@gmx.de>
1156 * javax/swing/plaf/basic/BasicTextUI.java
1157 (BasicTextUI): Made abstract.
1158 (BasicCaret): New inner class.
1159 (view): Don't explicitely initialize with "null".
1160 (textComponent): New field.
1161 (textColor): Removed.
1162 (disabledTextColor): Removed.
1163 (normalBackgroundColor): Removed.
1164 (RootView): Removed commented out inner class.
1165 (createUI): Removed.
1166 (createCaret): New method.
1167 (getComponent): Likewise.
1168 (installUI): Initialize textComponent only.
1169 (getPreferredSize): Use installed JTextComponent.
1170 (setView): New method.
1172 * javax/swing/text/JTextComponent.java
1173 (highlighter): New field.
1174 (caretColor): Likewise.
1175 (disabledTextColor): Likewise.
1176 (seletedTextColor): Likewise.
1177 (selectionColor): Likewise.
1178 (setUI): New method.
1179 (getCaretColor): Likewise.
1180 (setCaretColor): Likewise.
1181 (getDisabledColor): Likewise.
1182 (setDisabledColor): Likewise.
1183 (getSelectedTextColor): Likewise.
1184 (setSelectedTextColor): Likewise.
1185 (getSelectionColor): Likewise.
1186 (setSelectionColor): Likewise.
1187 (getHighlighter): Likewise.
1188 (setHighlighter): Likewise.
1189 (replaceSelection): Likewise.
1191 2004-07-21 Michael Koch <konqueror@gmx.de>
1193 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1194 (BasicScrollPaneUI): Implements ScrollPaneConstants.
1195 * javax/swing/plaf/basic/BasicToolBarUI.java
1196 (BasicToolBarUI): Implements SwingConstants.
1198 2004-07-21 Michael Koch <konqueror@gmx.de>
1200 * javax/swing/JPopupMenu.java: Removed CVS tags.
1201 * javax/swing/UIDefaults.java: Reformatted.
1202 * javax/swing/plaf/basic/BasicRootPaneUI.java:
1203 Explicitely import used classes.
1205 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
1207 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1208 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1209 (GtkComponentPeer): Remove temporary try/catch block.
1210 (setVisible): Call show and hide.
1211 (show): Make native.
1213 (getArgs): Don't add "visible" argument.
1214 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1215 (property_notify_predicate): Return Bool instead of int.
1216 (find_layout): New function.
1217 (connectJObject): Call find_layout.
1218 (connectSignals): Likewise.
1219 (moveLayout): Likewise.
1220 (gtkLayoutSetVisible): Likewise.
1222 2004-07-21 Olga Rodimina <rodimina@redhat.com>
1224 * javax/swing/AbstractButton.java:
1225 (setDisplayedMnemonicIndex): Check if button
1226 text is not null before checking its length.
1227 * javax/swing/JMenuItem.java:
1228 (processMouseEvent): Disarm menu item if mouse has
1230 * javax/swing/plaf/basic/BasicMenuUI.java:
1231 (MouseInputHandler.mouseEntered): Do not raise
1232 popup menu if this menu is already selected.
1233 (MouseInputHandler.mousePressed): Do not fire
1235 (MenuHandler): Implemented.
1237 2004-07-21 Olga Rodimina <rodimina@redhat.com>
1239 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
1240 (getSelectedObjects): Implemented.
1241 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
1242 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
1243 Added javadoc for few methods.
1244 (processMouseEvent): Made public.
1245 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
1246 (processMouseEvent): Likewise.
1248 2004-07-21 Olga Rodimina <rodimina@redhat.com>
1250 * javax/swing/AbstractButton.java:
1251 (init): Set display mnemonic index to -1.
1252 (setMnemonic(char)): Use setMnemonic(int).
1253 (setMnemonic(int)): Set display mnemonic index.
1254 (getDisplayedMnemonicIndex): Change method signature
1255 by removing 'index' parameter.
1256 * javax/swing/plaf/basic/BasicLookAndFeel.java:
1257 Added default for Menu.selectionBackground.
1258 * javax/swing/plaf/basic/BasicMenuItemUI.java:
1259 (paintMenuItem): Change background color of the selected
1261 (paintText): Paint differently when menu item is disabled.
1262 Also paint mnemonic if it appears in the menu item's label.
1263 (paintAccelerator): Paint accelerator differently
1264 if menu item is disabled.
1265 * javax/swing/plaf/basic/BasicMenuUI.java:
1266 (installDefaults): Install defaults for
1267 selectionForeground and selectionBackground.
1268 (uninstallDefaults): Uninstall defauls for
1269 selectionForeground and selectionBackground.
1271 2004-07-21 Michael Koch <konqueror@gmx.de>
1273 * javax/swing/text/AbstractDocument.java
1274 (BranchElement): Implemented.
1275 (LeafElement): Implemented.
1276 * javax/swing/text/DefaultCaret.java:
1277 Import used classes.
1278 (serialVersionUID): New constant.
1279 * javax/swing/text/JTextComponent.java
1280 (AccessibleJTextComponent): Removed dead declaration.
1281 (caretPos): Removed.
1282 (setCaret): New method.
1283 * javax/swing/text/PlainDocument.java
1284 (rootElement): New field.
1285 (PlainDocument): Initialize rootElement.
1286 (createDefaultRoot): New method.
1287 (getDefaultRootElement): Implemented.
1288 * javax/swing/text/View.java: Reformatted.
1289 * javax/swing/text/ViewFactory.java
1290 (create): Added javadoc.
1292 2004-07-21 Michael Koch <konqueror@gmx.de>
1294 * javax/swing/ToolTipManager.java: Reformatted.
1296 2004-07-21 Rodimina Olga <rodimina@redhat.com>
1298 * javax/swing/AbstractButton.java
1299 (changeEvent): New field.
1300 (fireItemStateChanged): Change source of the event
1301 to 'this' before firing it to button listeners.
1302 (fireActionPerformed): Likewise.
1303 (fireStateChanged): Likewise.
1304 (createActionListener): Do not set source
1305 of the event to AbstractButton.
1306 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1307 (ContainerHandler.componentAdded): Removed
1308 print out statement.
1309 (ContainerHandler.componentRemoved): Likewise.
1311 2004-07-21 Michael Koch <konqueror@gmx.de>
1313 * javax/swing/text/Highlighter.java: New file.
1314 * Makefile.am: Added javax/swing/text/Highlighter.java.
1315 * Makefile.in: Regenerated.
1317 2004-07-21 Michael Koch <konqueror@gmx.de>
1319 * javax/swing/ToolTipManager.java
1320 (stillInsideTimerAction): Fixed constructor arguments.
1321 (outsideTimerAction): Likewise.
1322 (insideTimerAction): Likewise.
1324 2004-07-21 Michael Koch <konqueror@gmx.de>
1326 * javax/swing/JButton.java: Reformatted.
1327 * javax/swing/JFormattedTextField.java
1328 (getUIClassID): Implemented.
1329 * javax/swing/JRootPane.java
1330 (serialVersionUID): New constant.
1331 * javax/swing/JTextField.java
1333 (JTextField): Simplified.
1334 (getUIClassID): New method.
1335 (getActionListeners): Added @since tag.
1336 (setColumns): Invalidate layout and repaint.
1337 (getHorizontalAlignment): New method.
1338 (setHorizontalAlignment): New method.
1339 (selectAll): Removed.
1340 * javax/swing/SwingUtilities.java
1341 (getAncestorOfClass): Removed redundant @see tag.
1342 (isLeftMouseButton): Fixed implementation.
1343 (isMiddleMouseButton): Likewise.
1344 (isRightMouseButton): Likewise.
1345 * javax/swing/text/AbstractDocument.java
1346 (AttributeContext.addAttribute): New method.
1347 (AttributeContext.addAttributes): New method.
1348 (AttributeContext.getEmptySet): New method.
1349 (AttributeContext.reclaim): New method.
1350 (AttributeContext.removeAttribute): New method.
1351 (AttributeContext.removeAttributes): New method.
1352 * javax/swing/text/Document.java
1353 (createPosition): Throws BadLocationException.
1354 (getText): Likewise.
1356 * javax/swing/text/JTextComponent.java
1357 (getText): Return null if no document is set. Catch
1358 BadLocationException.
1360 (updateUI): Simplified.
1362 2004-07-21 Michael Koch <konqueror@gmx.de>
1364 * javax/swing/JButton.java
1365 (removeNotify): Fixed javadoc.
1366 (updateUI): Simplified.
1368 2004-07-21 David Jee <djee@redhat.com>
1370 * gnu/java/awt/image/ImageDecoder.java
1371 (startProduction): Only add consumer if it's not added yet.
1372 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1373 (GdkPixbufDecoder): Don't call initState() here.
1374 (produce): Call initState() here, to ensure area_prepared and
1375 area_updated signals are properly connected.
1376 * gnu/java/awt/peer/gtk/GtkImage.java
1377 (setColorModel): Use equals() to compare ColorModel objects.
1378 (setPixels): Likewise.
1379 * java/awt/image/ColorModel.java
1380 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
1381 * java/awt/image/RGBImageFilter.java
1382 (setColorModel): Set consumer's color model.
1383 (setPixels): Use equals() to compare ColorModel objects.
1385 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
1387 * java/net/URLConnection.java (position): New field.
1388 (dateFormat1, dateFormat2, dateFormat3): Removed.
1389 (dateFormats): New field.
1390 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
1391 each time instead of re-allocating.
1392 (initializeDateFormats): Initialize 'dateFormats'.
1394 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
1397 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
1400 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
1402 * java/net/Socket.java (getImpl): Now private. Remove comment.
1404 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
1406 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
1407 of chained Writer when calling super-constructor.
1408 * java/io/FilterWriter.java (FilterWriter): Likewise.
1409 * java/io/PrintWriter.java (PrintWriter): Likewise.
1411 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
1413 * prims.cc (process_gcj_properties): Don't increment i within LHS
1416 2004-07-19 Per Bothner <per@bothner.com>
1418 Print -verbose:message on "loading", not initialization.
1419 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
1420 * defineclass.cc (_Jv_ClassReader::parse): Print message if
1421 gcj::verbose_class_flag.
1422 * java/lang/natClass.cc (initializeClass): Don't print message here.
1423 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
1424 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
1425 (_Jv_PrepareCompiledClass): Likewise.
1427 2004-07-18 Matthias Klose <doko@debian.org>
1429 * configure.in: Substitute target_noncanonical.
1430 * configure: Regenerate
1432 2004-07-17 Michael Koch <konqueror@gmx.de>
1434 * java/lang/String.java: Fixed javadocs all over.
1436 2004-07-17 Mark Wielaard <mark@klomp.org>
1438 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
1439 when size is smaller.
1440 * java/io/RandomAccessFile.java (setLength): Use truncate for
1441 shrinking the file and seek plus write for expanding the file.
1443 2004-07-17 Michael Koch <konqueror@gmx.de>
1445 * gnu/java/nio/channels/natFileChannelPosix.cc
1446 (implTruncate): Always save current position. Only reposition file
1447 pointer to where we started if not beyond new lenght. Reposition file
1448 pointer to file length if it points beyond the end of file.
1450 2004-07-17 Mark Wielaard <mark@klomp.org>
1452 * javax/swing/Box.java: Put FIXME comment above class declaration.
1453 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1454 * javax/swing/JCheckBox.java: Likewise.
1455 * javax/swing/JDialog.java: Likewise.
1456 * javax/swing/JRadioButton.java: Likewise.
1457 * javax/swing/JToggleButton.java: Likewise.
1458 * javax/swing/UIManager.java: Likewise.
1459 * javax/swing/border/TitledBorder.java: Likewise.
1460 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1461 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1462 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1463 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1464 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1465 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1466 * javax/swing/text/JTextComponent.java: Likewise.
1468 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
1470 * java/net/DatagramPacket.java (setAddress): Removed check for
1473 2004-07-17 Michael Koch <konqueror@gmx.de>
1475 * java/net/DatagramSocket.java
1476 (getLocalAddress): Check if socket is bound or not.
1477 * java/net/Socket.java
1478 (getLocalAddrss): Check if socket is bound or not.
1479 (getPort): Return -1 when not connected. Dont check getImpl() for
1481 (setReuseAddress): Check if socket is closed.
1482 (isConnected): Check if getImpl() returns null.
1484 2004-07-17 Mark Wielaard <mark@klomp.org>
1486 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
1487 on notifier object before calling notifyAll().
1489 2004-07-17 Michael Koch <konqueror@gmx.de>
1491 * gnu/java/nio/channels/FileChannelImpl.java
1492 (finalize): Added javadoc.
1494 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
1496 * java/text/CollationElementIterator.java
1497 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
1498 (setText): Use ArrayList instead of Vector.
1500 2004-07-17 Michael Koch <konqueror@gmx.de>
1502 * java/nio/ByteOrder.java
1503 (static): Removed. Not needed.
1504 Thanks to Patrick Reali for noticing.
1505 * java/nio/charset/CharsetDecoder.java
1506 (decode): Fix for classpath bug #9177: Reset state before flipping.
1508 2004-07-17 Michael Koch <konqueror@gmx.de>
1510 * java/security/Security.java: Fixed javadocs all over.
1512 2004-07-17 Michael Koch <konqueror@gmx.de>
1514 * gnu/java/awt/EmbeddedWindow.java
1516 (addNotify): Set peer via reflection.
1517 (setWindowPeer): Removed.
1518 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1519 * Makefile.am (nat_source_files):
1520 Removed gnu/java/awt/natEmbeddedWindow.cc.
1521 * Makefile.in: Regenerated.
1523 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
1525 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
1527 * configure: Regenerated.
1529 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
1531 * configure.in: Use build_noncanonical rather than build_alias.
1532 * configure: Rebuild.
1534 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
1535 by logic refactoring. Move default definition of NATIVE closer
1536 to first alternate definition.
1537 * configure: Regenerate.
1539 * Makefile.am: Set ZIP and GCJH directly using autoconf.
1540 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
1541 gcj/Makefile.in: Regenerate.
1542 * configure.in: Set ZIP and GCJH. Remove redundant condition
1543 in AM_CONDITIONAL(NATIVE,...)
1544 * configure: Regenerate.
1546 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
1548 * configure.in: Use target_noncanonical rather than
1549 target_alias for forward-compatibility with autoconf 2.59.
1550 * configure: Regenerate.
1551 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
1552 testsuite/Makefile.am: Substitute target_noncanonical.
1553 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1554 testsuite/Makefile.in: Regenerate.
1556 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
1557 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
1558 * acinclude.m4: Include acx.m4.
1559 * aclocal.m4: Regenerate.
1560 * configure: Regenerate.
1562 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
1565 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
1566 (decimalFormat): New static variable.
1568 (getTime): New. Override Date.getTime().
1569 (toString): Synchronize. Use decimalFormat to format nanos value
1570 correctly. Truncate extra zeros.
1571 (before): Compare getNanos() only if getTime() is equal.
1574 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
1576 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
1577 * configure.in: ...here.
1578 * aclocal.m4: Regenerate.
1579 * configure: Regenerate.
1581 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
1582 * configure: Rebuilt with autoconf 2.13.
1583 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1584 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
1586 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
1589 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
1591 * Makefile.in: Rebuilt.
1592 * testsuite/libjava.lang/LargeFile.java: New test case.
1593 * testsuite/libjava.lang/LargeFile.out: New file.
1595 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
1597 * java/beans/EventHandler.java: Remove debugging statements.
1599 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
1601 * java/beans/EventHandler.java: New file.
1602 * Makefile.am (awt_java_source_files): Add EventHandler.java.
1603 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1604 testsuite/Makefile.in: Regenerate.
1606 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
1608 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
1609 flag to the gcj_setup.
1610 (gcj_jacks_run): Check tclsh version and launch jacks directly with
1612 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
1613 deprecation flag change. 58 XFAILS removed.
1615 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
1617 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
1618 -fno-use-divide-subroutine.
1619 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
1620 (HANDLE_FPE): Define.
1621 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
1622 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
1623 (HANDLE_DIVIDE_OVERFLOW): Define.
1625 2004-07-14 Michael Koch <konqueror@gmx.de>
1626 Matthias Klose <doko@debian.org>
1628 * java/awt/im/InputContext.java: Initialize in, line.
1630 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
1632 * interpret.cc (run): Correctly access libffi return values of
1633 integral smaller-than-int type; these are implicitly promoted.
1635 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
1638 * interpret.cc (compile_mutex): New.
1639 (_Jv_InitInterpreter): New. Initialize compile_mutex.
1640 (run): Lock compile_mutex before calling compile() if compilation is
1642 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
1643 * include/java-interp.h (_Jv_InitInterpreter): Declare.
1645 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
1648 * include/jvm.h (_Jv_value): New union type.
1649 * gcj/field.h (_Jv_Field): Add new _addr union field variants
1650 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
1653 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
1655 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
1656 * gnu/awt/xlib/XOffScreenImage.java
1657 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
1658 constructor argument. Add constructor using ImageProducer.
1659 (getSource): Implement.
1660 (imageComplete): New method.
1661 (setColorModel): New method.
1662 (setDimensions): New method.
1663 (setHints): New method.
1664 (setPixels): New method.
1665 (setProperties): New method.
1666 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
1667 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
1669 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
1672 * prims.cc (_Jv_CreateJavaVM): Fix comment.
1673 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
1674 (finalizerReady): Now native.
1676 (runFinalizers): Removed.
1677 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
1678 a primitive lock, and don't hold it while running the finalizers.
1679 (runFinalizers): Implement. Don't aquire any Java lock.
1680 (finalizerReady): Use lock primitives to signal finalizer thread.
1682 2004-07-11 Mark Wielaard <mark@klomp.org>
1684 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
1685 * java/net/URLStreamHandler.java (parseURL): When url file part
1686 doesn't contain a '/' just ignore context.
1688 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
1690 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
1691 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
1692 (MAKE_THROW_FRAME): Do not modify PSW address.
1693 (INIT_SEGV): Install SIGINFO-style signal handler.
1694 (INIT_FPE): Likewise.
1696 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
1698 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
1699 status. 21 xfail's removed, 1 added.
1701 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
1703 * gcj/javaprims.h: Regenerate CNI namespace definitions.
1705 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
1707 * java/text/MessageFormat.java
1708 (formatInternal): Append "{n}" if argument n is unavailable.
1709 (format(Object, StringBuffer, FieldPosition)): This
1710 should be equivalent to format(Object[],
1711 StringBuffer, FieldPosition).
1713 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
1715 * java.util.Calendar.java (cache): New private static field. Cached
1716 mappings of locales->calendar classes.
1717 (ctorArgTypes): New private static field. Singleton argument for
1718 calendar class constructor lookup.
1719 (getInstance): Cache Locale->Calendar class mappings using HashMap.
1720 Optimize by bypassing reflection instantiation for the
1721 GregorianCalendar case.
1723 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
1725 * java/util/Calendar.java: Use getSystemClassLoader as argument for
1726 ResourceBundle.getBundle() calls.
1727 * java/util/GregorianCalendar.java: Likewise.
1728 * java/util/Currency.java: Likewise.
1729 * java/text/BreakIterator.java: Likewise.
1730 * java/text/Collator.java: Likewise.
1731 * java/text/DateFormat.java: Likewise.
1732 * java/text/DateFormatSymbols.java: Likewise.
1733 * java/text/DecimalFormatSymbols.java: Likewise.
1734 * java/text/NumberFormat.java: Likewise.
1735 * java/awt/Window.java: Likewise.
1737 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
1739 * java/util/ResourceBundle.java (bundleCache): Renamed from
1740 resourceBundleCache. Update comments.
1741 (getObject): Don't catch MissingResourceException.
1742 (getBundle(String)): Remove 'final'. Use system classloader if
1743 getCallingClassLoader returned null.
1744 (getBundle(String, Locale)): Likewise.
1745 (BundleKey): New private class. HashMap key for bundle cache lookup.
1746 (lookupKey): New. Singleton instance of BundleKey.
1747 (nullEntry): New. Cache entry to represent failed lookups.
1748 (getBundle(String, Locale, ClassLoader)): Re-written to use new
1749 caching strategy, no-allocation lookup, and new tryBundle methods.
1750 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
1751 name using given classloader.
1752 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
1753 baseName for given Locale and attempt to load bundle.
1755 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
1757 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
1758 illegal protected method calls.
1760 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
1762 Fix or remove some bogus test cases.
1763 * testsuite/libjava.compile/pr10459_2.java: Removed.
1764 * testsuite/libjava.compile/pr10459.java: Test using its own method,
1766 * testsuite/libjava.compile/inner_data.java: Test against its own
1769 2004-07-09 Michael Koch <konqueror@gmx.de>
1771 * scripts/unicode-muncher.pl: Updated to version 2.1
1772 from GNU classpath. Added some clarifications on where to find the
1773 needed files from www.unicode.org.
1774 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
1775 gnu/gcj/convert/UnicodeData-3.0.0.txt:
1776 Removed, these can directly be downloaded from www.unicode.org if
1778 * gnu/java/lang/CharData.java: Regenerated.
1779 * include/java-chartables.h: Regenerated.
1780 * Makefile.am (ordinary_java_source_files):
1781 Removed gnu/java/lang/CharData.java.
1782 * Makefile.in: Regenerated.
1784 2004-07-09 Michael Koch <konqueror@gmx.de>
1786 * java/security/AccessControlContext.java,
1787 java/security/SecureClassLoader.java:
1790 2004-07-09 Michael Koch <konqueror@gmx.de>
1792 * java/io/ObjectInputStream.java (readFields): Use long datatype
1793 when shifting byte values more then 24 bits left.
1795 2004-07-09 Michael Koch <konqueror@gmx.de>
1797 * java/util/zip/DeflaterOutputStream.java,
1798 java/util/zip/GZIPInputStream.java,
1799 java/util/zip/GZIPOutputStream.java,
1800 java/util/zip/InflaterInputStream.java:
1801 Reformatted. Added javadocs. Reordered all stuff.
1802 Renamed variables to be more clear.
1804 2004-07-09 Michael Koch <konqueror@gmx.de>
1806 * javax/imageio/IIOException.java,
1807 javax/imageio/event/IIOReadProgressListener.java,
1808 javax/imageio/event/IIOReadUpdateListener.java,
1809 javax/imageio/event/IIOReadWarningListener.java,
1810 javax/imageio/event/IIOWriteProgressListener.java,
1811 javax/imageio/event/IIOWriteWarningListener.java:
1813 * Makefile.am: Added new files.
1814 * Makefile.in: Regenerated.
1816 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
1818 * java/text/RuleBasedCollator.java
1819 (mergeRules): Use ArrayList instead of Vector.
1820 (subParseString): likewise.
1821 (parseString): likewise.
1822 (buildCollationVector): likewise.
1823 (getCollationKey): likewise.
1825 2004-07-09 Dalibor Topic <robilad@kaffe.org>
1827 * java/text/DateFormat.java (parse):
1828 Improved javadoc. Improved exception message.
1830 2004-07-09 Mark Wielaard <mark@klomp.org>
1832 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
1833 interrupted() method to clear interupt flag of our Thread.
1835 2004-07-09 Dalibor Topic <robilad@kaffe.org>
1837 * java/nio/Buffer.java,
1838 java/nio/ByteBuffer.java,
1839 java/nio/ByteBufferHelper.java,
1840 java/nio/ByteBufferImpl.java,
1841 java/nio/CharBuffer.java,
1842 java/nio/CharBufferImpl.java,
1843 java/nio/CharViewBufferImpl.java,
1844 java/nio/DirectByteBufferImpl.java,
1845 java/nio/DoubleBuffer.java,
1846 java/nio/DoubleBufferImpl.java,
1847 java/nio/DoubleViewBufferImpl.java,
1848 java/nio/FloatBuffer.java,
1849 java/nio/FloatBufferImpl.java,
1850 java/nio/FloatViewBufferImpl.java,
1851 java/nio/IntBuffer.java,
1852 java/nio/IntBufferImpl.java,
1853 java/nio/IntViewBufferImpl.java,
1854 java/nio/LongBuffer.java,
1855 java/nio/LongBufferImpl.java,
1856 java/nio/LongViewBufferImpl.java,
1857 java/nio/MappedByteBufferImpl.java,
1858 java/nio/ShortBuffer.java,
1859 java/nio/ShortBufferImpl.java,
1860 java/nio/ShortViewBufferImpl.java:
1861 Fixed javadocs all over. Improved input error
1864 * java/nio/Buffer.java
1865 (checkForUnderflow, checkForOverflow, checkIndex,
1866 checkIfReadOnly, checkArraySize): New helper methods
1869 * java/nio/ByteBufferHelper.java
1870 (checkRemainingForRead, checkRemainingForWrite,
1871 checkAvailableForRead, checkAvailableForWrite): Removed
1872 no longer needed methods.
1874 2004-07-09 Michael Koch <konqueror@gmx.de>
1876 * gnu/regexp/CharIndexedInputStream.java:
1877 Reordered imports to match classpath.
1879 2004-07-09 Michael Koch <konqueror@gmx.de>
1881 * gnu/java/awt/EmbeddedWindow.java:
1882 Load native library for setWindowPeer method.
1884 2004-07-08 Randolph Chung <tausq@debian.org>
1886 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
1887 * configure: Regenerate.
1888 * configure.host: Set can_unwind_signal for hppa*-linux.
1889 * include/pa-signal.h: New file.
1891 2004-07-07 Per Bothner <per@bothner.com>
1893 * Makefile.am: Add rules to build libgij from just gij.cc.
1895 * include/jvm.h (namespace jcj): Declare verbose_class_flag
1896 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
1897 (initializeClass): If verbose_class_flag, print message.
1898 * gij.cc (main): Handle -verbose:class flag.
1900 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
1902 * configure.host: Enable hash synchronization on Darwin.
1903 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
1904 ';', since this is a comment on Darwin.
1905 (compare_and_swap_release): Likewise.
1907 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
1909 * java/net/URLStreamHandler.java (parseURL): Canonicalize
1910 file portion of URL in addition to spec for file: protocol.
1912 2004-07-05 Anthony Green <green@redhat.com>
1914 * java/io/File.java (toURI): Merge from Classpath.
1916 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
1918 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
1919 before passing to URL constructor. Rethrow any MalformedURLException
1920 as a RuntimeException. Catch MalformedURLException specifically, not
1923 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
1925 * java/util/Locale.java (readObject): Intern strings read from object
1928 2004-07-04 Michael Koch <konqueror@gmx.de>
1930 * gnu/gcj/runtime/FirstThread.java,
1931 gnu/gcj/runtime/natFirstThread.cc: Removed.
1932 * gnu/java/lang/MainThread.java,
1933 gnu/java/lang/natMainThread.cc: New files.
1934 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
1935 * Makefile.am: Added new files and removed deleted ones.
1936 * Makefile.in: Regenerated.
1938 2004-07-03 Mark Wielaard <mark@klomp.org>
1939 Anthony Green <green@redhat.com>
1941 * java/net/URL.java (getFile): Clarify return value doc.
1942 (getPath): Return null if file is empty - not empty String.
1943 (set): Convert protocol to lower case before doing anything.
1944 Only change the protocol handler if it's different.
1946 2004-07-03 Anthony Green <green@redhat.com>
1948 * java/net/URL.java (URL): Convert protocol to lower case before
1949 doing anything, so we getURLStreamHandler() with the proper value.
1951 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
1953 * java/util/Locale.java (hashcode): Made transient.
1954 (hashCode): No longer synchronized.
1955 (equals): Remove comment.
1956 (writeObject): No longer synchronized. Implement using writeObject
1957 calls instead of tweaking hashCode field. Update doc.
1958 (readObject): Implement using readObject calls.
1960 2004-06-26 Geoffrey Keating <geoffk@apple.com>
1961 Andreas Tobler <a.tobler@schweiz.ch>
1963 * configure.host (powerpc-*-darwin*): New case, define
1965 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
1966 * configure: Regenerate.
1967 * include/darwin-signal.h: New.
1969 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
1971 * java/beans/Statement.java (doExecute): Fix formatting.
1973 2004-06-29 Per Bothner <per@bothner.com>
1975 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
1976 etc etc): Remove needless parenthesis, which causes __stdcall__
1977 attribute on MinGW to get ignored.
1979 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
1981 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
1983 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
1985 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
1987 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
1989 * java/beans/Expression.java: New file.
1990 * java/beans/Statement.java: New file.
1991 * Makefile.am: Added new files.
1992 * Makefile.in: Re-generate.
1994 2004-06-27 Mark Wielaard <mark@klomp.org>
1996 * java/io/FilePermission.java (usingPerms): Removed.
1997 (actionsString): Made final.
1998 (cachePerms): Renamed to checkPerms.
1999 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
2001 (FilePermission): Check arguments, call checkPerms().
2002 (equals): Remove cachePerms() call.
2003 (implies): Likewise.
2005 2004-06-27 Mark Wielaard <mark@klomp.org>
2007 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
2009 (sendRequest): Use new field in user-agent http agent.
2011 2004-06-27 Mark Wielaard <mark@klomp.org>
2013 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2014 when argument is null.
2016 2004-06-26 Mark Wielaard <mark@klomp.org>
2018 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2019 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
2021 (cancel_clicked): Likewise.
2023 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
2025 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2026 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
2027 can not calculate the right value.
2028 (dpi_changed_cb): Likewise. Mark *pspec as unused.
2030 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
2032 * testsuite/libjava.jacks/jacks.xfail: Remove
2033 15.9.1-qualified-concrete-20.
2035 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
2037 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
2038 encoding name to iconv.
2039 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
2041 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
2044 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
2045 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
2046 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
2048 2004-06-21 Andrew Haley <aph@redhat.com>
2050 * java/io/ObjectOutputStream.java: Add DEBUG statements
2052 (dumpElementln): New method.
2054 * java/io/ObjectInputStream.java
2055 (currentClassLoader): Make native.
2056 (callersClassLoader): New field.
2058 (readObject): ENDBLOCKDATA is generated if the class has a write
2059 method, not if it has a read method.
2060 (readObject): Save and restore this.currentObject and
2061 this.currentObjectStreamClass around calls to callReadMethod().
2062 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
2065 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
2067 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
2070 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
2072 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
2073 if desired, before the default class loader is initialised.
2074 Call INIT_SEGV only if HANDLE_SEGV is defined.
2076 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
2078 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
2079 directory only if it actually exists.
2081 2004-06-18 Graydon Hoare <graydon@redhat.com>
2083 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2084 Fix up non-ansi comments.
2086 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
2088 * javax/swing/text/AbstractDocument.java: Adding missing import
2089 for javax.swing.event.EventListenerList.
2090 * javax/swing/text/DefaultCaret.java: Likewise.
2092 2004-06-17 Michael Koch <konqueror@gmx.de>
2094 * javax/swing/JToolBar.java
2096 (JToolBar): Use Component.setName(String) instead of doing it all
2098 * javax/swing/Timer.java
2099 (queueEvent): Added missing modifier.
2101 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
2103 * Makefile.am: Added new file.
2104 * Makefile.in: Re-generate.
2105 * javax/swing/JMenu.java:
2106 (insertSeparator): Implemented.
2107 * javax/swing/JPopupMenu.java:
2108 (JPopupMenu.Separator): Implemented.
2109 * javax/swing/MenuSelectionManager.java:
2110 (processMouseEvent): Use java.awt.Component
2111 for event source instead of javax.swing.JComponent.
2112 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
2113 New File. Implemented.
2115 2004-06-16 David Jee <djee@redhat.com>
2117 * java/awt/GridBagLayout.java
2118 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
2119 Make sure pos_x and pos_y are never negative.
2121 2004-04-16 Andrew Overholt <overholt@redhat.com>
2123 * Makefile.am: Add new file.
2124 * Makefile.in: Re-generate.
2125 * javax/swing/JToolBar.java
2126 Partially implemented.
2127 * javax/swing/plaf/basic/BasicToolBarUI.java
2128 New file. Partially implemented.
2130 2004-06-16 Graydon Hoare <graydon@redhat.com>
2132 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2133 (setComposite): Accept AlphaComposite arguments.
2134 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
2135 (createBufferedImage): Add new overloads.
2136 * gnu/java/awt/peer/gtk/GtkToolkit.java
2137 (createImage): Use GdkPixbufDecoder.createBufferedImage
2138 when useGraphics2D() is true.
2139 (getImage): Delegate to createImage.
2140 * javax/swing/JList.java
2142 (getFirstVisibleIndex):
2143 (getLastVisibleIndex):
2145 (ensureIndexIsVisible): New methods.
2146 * javax/swing/Timer.java: Reimplement.
2148 2004-06-16 Michael Koch <konqueror@gmx.de>
2150 * javax/swing/text/AbstractDocument.java
2151 (AbstracElement): Made public, implements java.io.Serializable.
2152 (AttributeContext): Made public.
2153 (BranchElement): Likewise.
2154 (Content): Likewise.
2155 (DefaultDocumentEvent): Made public, extends
2156 javax.swing.undo.CompoundEdit.
2157 (ElementEdit): Made public, extends
2158 javax.swing.undo.AbstractUndoableEdit.
2159 (LeafElement): Made public.
2160 (LeafElement.LeafElement): Made public.
2162 2004-06-16 Michael Koch <konqueror@gmx.de>
2164 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
2165 methods (that were obviously never be intended to get included hi this
2166 class. Added some methods too.
2168 2004-06-16 Michael Koch <konqueror@gmx.de>
2170 * javax/swing/text/PlainDocument.java
2171 (serialVersionUID): New constant.
2172 (lineLimitAttribute): Likewise.
2173 (tabSizeAttribute): Likewise.
2174 (tabSize): New field.
2175 (PlainDocument): Made public.
2176 (PlainDocument): New constructor.
2178 2004-06-16 Michael Koch <konqueror@gmx.de>
2180 * javax/swing/text/AbstractDocument.java
2181 (insertString): Throws BadLocationException.
2182 * javax/swing/text/Document.java
2183 (insertString): Likewise.
2184 * javax/swing/text/JTextComponent.java:
2185 Javadocs and comments cleaned up.
2187 2004-06-16 Michael Koch <konqueror@gmx.de>
2189 * javax/swing/event/UndoableEditListener.java: Reformatted.
2190 * javax/swing/text/AbstractDocument.java
2191 (AbstractDocument): Implements java.io.Serializable.
2192 (doc_list): Removed.
2193 (undo_list): Removed.
2194 (AbstractElement.serialVerionUID): New field.
2195 (BranchElement.serialVerionUID): Likewise.
2196 (DefaultDocumentEvent.serialVerionUID): Likewise.
2197 (ElementEdit.serialVerionUID): Likewise.
2198 (LeafElement.serialVerionUID): Likewise.
2199 (serialVerionUID): Likewise.
2200 (BAD_LOCATION): New constant.
2201 (BidiElementName): Likewise.
2202 (ContentElementName): Likewise.
2203 (ParagraphElementName): Likewise.
2204 (SectionElementName): Likewise.
2205 (ElementNameAttribute): Likewise.
2206 (AbstractDocument): Made protected.
2207 (AbstractDocument): New construtor.
2208 (listenerList): New field.
2209 (fireChangedUpdate): Implemented.
2210 (fireInsertUpdate): Likewise.
2211 (fireRemoveUpdate): Likewise.
2212 (fireUndoableEditUpdate): Likewise.
2213 (getListeners): Likewise.
2214 (addDocumentListener): Likewise.
2215 (removeDocumentListener): Likewise.
2216 (addUndoableEditListener): Likewise.
2217 (removeUndoableEditListener): Likewise.
2218 (getDocumentListeners): New method.
2219 (getUndoableEditListeners): Likewise.
2220 (getAsynchronousLoadPriority): Made public.
2221 (getBidiRootElement): Likewise.
2222 (setAsynchronousLoadPriority): Likewise.
2223 (setDocumentProperties): Likewise.
2224 * javax/swing/text/BadLocationException.java
2225 (serialVerionUID): New field.
2226 * javax/swing/text/DefaultCaret.java
2227 (changeEvent): New field.
2228 (listenerList): Likewise.
2230 (addChangeListener): Reimplemented.
2231 (removeChangeListener): Likewise.
2232 (getListeners): New method.
2233 (getChangeListeners): Likwise.
2234 (getComponent): Likewise.
2235 * javax/swing/text/GapContent.java
2236 (GapContent): Implements java.io.Serializable.
2237 (serialVerionUID): New field.
2239 2004-06-16 Michael Koch <konqueror@gmx.de>
2241 * javax/swing/JTree.java
2242 (treeModel): New field.
2243 (JTree): New constructors, one existing one made public.
2244 (createTreeModel): New method.
2245 (addTreeExpansionListener): Likewise.
2246 (removeTreeExpansionListener): Likewise.
2247 (getTreeExpansionListeners): Likewise.
2248 (fireTreeCollapsed): Likewise.
2249 (fireTreeExpanded): Likewise.
2250 (addTreeSelectionListener): Likewise.
2251 (removeTreeSelectionListener): Likewise.
2252 (getTreeSelectionListeners): Likewise.
2253 (fireValueChanged): Likewise.
2254 (addTreeWillExpandListener): Likewise.
2255 (removeTreeWillExpandListener): Likewise.
2256 (getTreeWillExpandListeners): Likewise.
2257 (fireTreeWillCollapse): Likewise.
2258 (fireTreeWillExpand): Likewise.
2260 2004-06-16 Michael Koch <konqueror@gmx.de>
2262 * javax/swing/JTree.java: Reformatted.
2264 2004-06-16 Michael Koch <konqueror@gmx.de>
2266 * javax/swing/JTextArea.java: New file.
2267 * javax/swing/JTextField.java
2269 (notifyAction): New constant.
2270 (columns): New field.
2271 (JTextField): New constructors.
2272 (createDefaultModel): New method.
2273 (addActionListener): Reimplmemented.
2274 (removeActionListener): Reimplemented.
2275 (getActionListeners): New method.
2276 (fireActionPerformed): New method.
2277 (getColumns): New method.
2278 (setColumne): New method.
2279 * javax/swing/text/JTextComponent.java
2280 (AccessibleJTextComponent.serialVersionUID): New field.
2281 (serialVersionUID): Likewise.
2282 (DEFAULT_KEYMAP): Likewise.
2283 (FOCUS_ACCELERATOR_KEY): Likewise.
2284 (doc): Made private.
2285 (icon_gap): Likewise.
2288 (JTextComponent): Some constructors removed.
2289 (getScrollableTracksViewportHeight): New method.
2290 (getScrollableTracksViewportWidth): Likewise.
2291 * Makefile.am: Added javax/swing/JTextArea.java.
2292 * Makefile.in: Regenerated.
2294 2004-06-15 Graydon Hoare <graydon@redhat.com>
2296 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
2297 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
2298 * javax/swing/JViewport.java
2299 (getExtentSize): Return size rather than preferred size.
2300 (toViewCoordinates): New methods.
2301 (getViewSize): Return size rather than preferred size.
2302 (setViewSize): Note view size as set.
2303 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
2304 * javax/swing/plaf/basic/BasicScrollBarUI.java
2305 (getPreferredSize): Don't redo layout.
2306 * javax/swing/plaf/basic/BasicViewportUI.java
2307 (paint): Translate image properly and eat exceptions.
2309 2004-06-15 Kim Ho <kho@redhat.com>
2311 * javax/swing/JTabbedPane.java
2312 (setComponent): Remove old component and
2314 (setSelectedIndex): Don't operate on the
2315 components if they're null. Don't set index
2316 on the model if the index is the same.
2317 (insertTab): Don't add or hide the component
2318 if it's null. Repaint the container.
2319 * javax/swing/plaf/basic/BasicLookAndFeel.java
2320 Change colors for TabbedPane.
2321 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2322 (mousePressed): Re-layout and paint the component.
2323 (layoutContainer): Don't set location on the view.
2324 (ScrollingViewport::paint): Remove.
2326 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2328 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2329 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
2331 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2332 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
2333 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
2335 (drawLine): Call gdk_flush before leaving GDK critical region.
2336 (fillRect): Likewise.
2337 (drawRect): Likewise.
2338 (copyArea): Likewise.
2339 (copyPixmap): Likewise.
2340 (clearRect): Likewise.
2341 (drawArc): Likewise.
2342 (drawPolyline): Likewise.
2343 (drawPolygon): Likewise.
2344 (fillPolygon): Likewise.
2345 (fillArc): Likewise.
2346 (drawOval): Likewise.
2347 (fillOval): Likewise.
2349 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
2351 (GdkFontMetrics): Add style argument to initState call.
2352 (stringWidth(String,int,int,String)): Add style parameter.
2353 (stringWidth(String)): Add style argument to stringWidth call.
2354 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
2355 (initState): Set pango font style and weight based on AWT style
2356 parameter. Pass default GTK language to
2357 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
2358 simply dividing by PANGO_SCALE.
2359 (stringWidth): Set pango font style and weight based on AWT style
2362 * java/awt/Button.java (next_button_number): New field.
2363 (paramString): Change output.
2364 (generateName): New method.
2365 (getUniqueLong): New method.
2367 2004-06-14 Kim Ho <kho@redhat.com>
2369 * javax/swing/JTabbedPane.java:
2370 (setComponentAt): Set the component, not
2372 * javax/swing/plaf/basic/BasicDesktopIconUI.java
2373 (actionPerformed): Let deiconize catch exception.
2375 2004-06-14 Olga Rodimina <rodimina@redhat.com>
2377 * javax/swing/JPopupMenu.java:
2378 (setVisible): Corrected location of a
2379 heavyweight popup menu.
2381 2004-06-14 Olga Rodimina <rodimina@redhat.com>
2383 * javax/swing/MenuSelectionManager.java:
2384 Ran through jalopy to fix formatting style.
2386 2004-06-14 Olga Rodimina <rodimina@redhat.com>
2388 * javax/swing/JLayeredPane.java:
2389 (remove): Revalidate and repaint layered pane after
2390 the component was removed.
2391 javax/swing/JMenu.java:
2392 (setVisible): Display popup menu at the user location,
2393 if one was set by the user.
2394 (setMenuLocation): Reimplemented. Fixed javadoc.
2395 * javax/swing/JMenuBar.java: Added javadoc.
2396 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
2397 (MODEL_CHANGED_PROPERTY): New Property.
2398 (isSelected): Implemented.
2399 (setBorderPainted): Fire PropertyChangeEvent
2400 if paintBorder property changes.
2401 (setSelected): Implemented.
2402 (setSelectionModel): Implemented.
2403 * javax/swing/JPopupMenu.java: Added Javadoc
2404 (pack): Implemented.
2405 (setVisible): Reimplemented.
2406 (show): Fixed location.
2407 (JPopupMenu.LigthWeightPopup): Reimplemented to use
2408 Container instead of JPanel.
2409 * javax/swing/MenuSelectionManager.java: Added Javadocs.
2410 (clearSelectedPath): Reimplemented to clear selectedPath
2412 (processMouseEvent): Reimplemented.
2413 (setSelectedPath): Fire stateChange event indicating that
2414 selected menu path has changed.
2415 (getPath): Change to use ArrayList instead of Vector.
2416 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2417 (installUI): call installKeyboardActions().
2418 (uninstallUI): call uninstallKeyboardActions().
2420 2004-06-13 Michael Koch <konqueror@gmx.de>
2422 * javax/swing/text/DefaultCaret.java,
2423 javax/swing/text/BadLocationException.java:
2426 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
2428 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
2429 DEFAULT_COLS): New variables.
2430 (create): Don't allow 0 rows or 0 columns. Instead, set the
2431 values to DEFAULT_ROWS or DEFAULT_COLS.
2432 (getMinimumSize): Likewise.
2433 (getPreferredSize): Likewise.
2434 (minimumSize): Likewise.
2435 (preferredSize): Likewise.
2436 (create): Set peer's editable state.
2437 * java/awt/TextArea.java (TextArea()): Set rows and columns to
2438 zero. Update javadocs.
2439 (TextArea(String)): Likewise.
2440 (TextArea(int,int)): Fix javadocs.
2441 (TextArea(String,int,int,int)): Only throw exception if one of
2442 rows or columns is zero. Fix javadocs.
2444 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
2446 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
2447 addition to Components.
2449 * java/awt/MenuItem.java (dispatchEventImpl): If the event
2450 wasn't consumed by normal processing, send it to the parent
2453 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2454 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
2457 2004-06-11 David Jee <djee@redhat.com>
2459 * java/awt/MediaTracker.java
2460 (addImage(Image,int)): Call imageUpdate() to udpate image status.
2461 (addImage(Image,int,int,int)): Likewise.
2463 2004-06-11 Michael Koch <konqueror@gmx.de>
2465 * javax/swing/text/AbstractDocument.java,
2466 javax/swing/text/Document.java,
2467 javax/swing/text/GapContent.java,
2468 javax/swing/text/JTextComponent.java,
2469 javax/swing/text/PlainDocument.java:
2472 2004-06-11 Michael Koch <konqueror@gmx.de>
2474 * javax/swing/JRootPane.java
2475 (AccessibleJRootPane.serialVersionUID): New field.
2476 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
2477 (AccessibleJRootPane.getAccessibleRole): New method.
2478 (RootLayout): Implements Serializable.
2479 (RootLayout.serialVersionUID): New field.
2480 (RootLayout.RootLayout): New constructor.
2481 (setJMenuBar): Made public.
2482 (getJMenuBar): Likewise.
2483 (JRootPane): Likewise.
2484 (createContentPane): Likewise.
2485 (createGlassPane): Likewise.
2486 (createLayeredPane): Likewise.
2488 2004-06-11 Michael Koch <konqueror@gmx.de>
2490 * javax/swing/SwingUtilities.java
2491 (isLeftMouseButton): Fixed javadoc.
2492 (isMiddleMouseButton): Likewise.
2493 (isRightMouseButton): Likewise.
2495 2004-06-11 Michael Koch <konqueror@gmx.de>
2497 * javax/swing/JScrollPane.java
2498 (serialVersionUID): New field.
2499 (columnHeader): Made protected.
2500 (rowHeader): Likewise.
2501 (lowerLeft): Likewise.
2502 (lowerRight): Likewise.
2503 (upperLeft): Likewise.
2504 (upperRight): Likewise.
2505 (horizontalScrollBar): Likewise.
2506 (horizontalScrollBarPolicy): Likewise.
2507 (verticalScrollBar): Likewise.
2508 (verticalScrollBarPolicy): Likewise.
2509 (viewport): Likewise.
2511 2004-06-11 Michael Koch <konqueror@gmx.de>
2513 * javax/swing/LookAndFeel.java: Fixed javadocs.
2515 2004-06-11 Michael Koch <konqueror@gmx.de>
2517 * javax/swing/JEditorPane.java: Fixed javadocs.
2518 (JEditorPane): Removed redundant call to to this().
2519 (fireHyperlinkUpdate): Implemented.
2521 2004-06-10 Olga Rodimina <rodimina@redhat.com>
2523 * javax/swing/JMenu.java: Fixed file name
2524 in the file comment.
2526 2004-06-10 Olga Rodimina <rodimina@redhat.com>
2528 * javax/swing/JMenu.java: Added javadoc.
2529 (JMenu): Added MenuChangeListener to listen to
2530 ChangeEvents occuring in menu's model.
2531 (insert): Throw IllegalArgumentException if
2532 index is less than 0
2533 (setSelected): Reimplement.
2534 (setPopupMenuVisible): Call menu's model isEnabled()
2535 (setDelay): Throw IllegalArgumentException if
2536 given amount of delay is less than 0.
2537 (createActionComponent): Implemented.
2538 (createActionChangeListener): Implemented.
2539 (addSeparator): Implemented.
2540 (getItem): Throw IllegalArgumentException if index is
2542 (getItemCount): Implemented.
2543 (fireMenuSelected): Changed to use menuEvent.
2544 (fireMenuDeselected): Likewise.
2545 (fireMenuCanceled): Likewise.
2546 (setAccelerator): Changed to throw an error if this
2548 (doClick): Implemented.
2549 (JMenu.ActionChangedListener): New inner class to handle
2550 PropertyChangeEvents occuring in the actions associated with menu.
2551 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
2552 (BasicMenuUI): Added PropertyChangeListener to the menu.
2553 (createChangeListener): Implemented.
2554 (createMenuDragMouseListener): Likewise.
2555 (createMenuKeyListener): Likewise.
2556 (createPropertyChangeListener): Likewise.
2557 (uninstallListeners): Likewise.
2558 (BasicMenuUI.MouseInputHandler): Reimplemented.
2559 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
2560 (BasicMenuUI.ChangeHandler): Likewise.
2561 (BasicMenuUI.MenuDragMouseHandler): Likewise.
2562 (BasicMenuUI.MenuKeyHandler): Likewise.
2564 2004-06-10 David Jee <djee@redhat.com>
2566 * java/awt/MediaTracker.java
2567 (imageUpdate): Only do notifyAll() if the image is complete.
2569 2004-06-10 Olga Rodimina <rodimina@redhat.com>
2571 * javax/swing/JApplet.java:
2572 (getJMenuBar): Made public.
2573 (setJMenuBar): Likewise.
2574 * javax/swing/JFrame.java:
2575 (getJMenuBar): Made public.
2576 (setJMenuBar): Likewise.
2577 * javax/swing/JWindow.java:
2578 (getJMenuBar): Removed.
2579 (setJMenuBar): Removed.
2581 2004-06-10 Michael Koch <konqueror@gmx.de>
2583 * javax/swing/JEditorPane.java
2584 (createEditorKitForContentType): Fixed visibility.
2585 (fireHyperlinkUpdate): Likewise.
2586 (getContentType): Likewise.
2587 (getEditorKit): Likewise.
2588 (getEditorKitForContentType): Likewise.
2589 (getPage): Likewise.
2591 (registerEditorKitForContentTyoe): Likewise.
2592 (replaceSelection): Likewise.
2593 (setContentType): Likewise.
2594 (setEditorKit): Likewise.
2595 (setPage): Likewise.
2597 2004-06-10 Michael Koch <konqueror@gmx.de>
2599 * javax/swing/Timer.java
2600 (Timer): New constructor.
2601 * javax/swing/plaf/basic/BasicProgressBarUI.java
2602 (animationTimer): Don't initialize at construction.
2603 (startAnimationTimer): Added since tag.
2604 (stopAnimationTimer): Likewise.
2605 (installUI): Use new Timer constructor.
2606 * javax/swing/plaf/basic/BasicScrollBarUI.java
2607 (installUI): Likewise.
2608 * javax/swing/plaf/basic/BasicSliderUI.java
2609 (installUI): Likewise.
2611 2004-06-10 Michael Koch <konqueror@gmx.de>
2613 * javax/swing/ButtonGroup.java
2614 (serialVersionUID): Made private.
2615 (buttons): Renamed from v, added javadoc.
2616 (sel): Added javadoc.
2617 (ButtonGroup): Likewise.
2620 (getElements): Likewise.
2621 (getSelection): Likewise.
2622 (setSelected): Likewise.
2623 (isSelected): Likewise.
2624 (getButtonCount): Likewise.
2626 2004-06-10 Michael Koch <konqueror@gmx.de>
2628 * javax/swing/ButtonGroup.java,
2629 javax/swing/ImageIcon.java,
2630 javax/swing/JEditorPane.java,
2631 javax/swing/JRootPane.java,
2632 javax/swing/JTextField.java,
2633 javax/swing/LookAndFeel.java,
2634 javax/swing/plaf/basic/BasicTextUI.java:
2637 2004-06-10 Michael Koch <konqueror@gmx.de>
2639 * javax/swing/text/Style.java: Added javadocs.
2641 2004-06-10 Michael Koch <konqueror@gmx.de>
2643 * javax/swing/JComponent.java
2644 (fireVetoableChange): Removed redundant cast.
2645 * javax/swing/JLabel.java
2646 (getDisabledIcon): Save icon for next call.
2648 2004-06-10 Michael Koch <konqueror@gmx.de>
2650 * javax/swing/KeyStroke.java
2651 (getKeyStroke(char,boolean)): Marked deprecated.
2653 2004-06-10 Michael Koch <konqueror@gmx.de>
2655 * javax/swing/DefaultCellEditor.java,
2656 javax/swing/GrayFilter.java,
2657 javax/swing/event/DocumentEvent.java,
2658 javax/swing/text/JTextComponent.java,
2659 javax/swing/text/MutableAttributeSet.java:
2662 2004-06-10 Michael Koch <konqueror@gmx.de>
2664 * javax/swing/plaf/BorderUIResource.java:
2665 Added serialVersionUID all over.
2667 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
2669 * javax/swing/undo/UndoManager.java: Re-written from scratch.
2671 2004-06-10 Michael Koch <konqueror@gmx.de>
2673 * javax/swing/table/DefaultTableCellRenderer.java
2674 (noFocusBorder): Initialize directly.
2676 2004-06-10 Michael Koch <konqueror@gmx.de>
2678 * javax/swing/plaf/basic/BasicArrowButton.java
2679 (setDirection): Use method argument.
2681 2004-06-10 Michael Koch <konqueror@gmx.de>
2683 * javax/swing/plaf/BorderUIResource.java,
2684 javax/swing/plaf/ComponentUI.java,
2685 javax/swing/undo/CompoundEdit.java,
2686 javax/swing/undo/StateEdit.java:
2687 Fixed javadocs all over.
2689 2004-06-10 Michael Koch <konqueror@gmx.de>
2691 * javax/swing/DefaultButtonModel.java
2692 (ARMED): Made public final, fixed value.
2693 (ENABLED): Likewise.
2694 (PRESSED): Likewise.
2695 (ROLLOVER): Likewise.
2696 (SELECTED): Likewise.
2697 (stateMask): Initialize directly.
2698 (listenerList): Likewise.
2699 (mnemonic): Likewise.
2700 (fireStateChanged): Removed argument, use changeEvent as event.
2701 All places where this method is called are fixed too.
2702 (getActionCommant): Fixed javadoc.
2703 (setGroup): Fixed javadoc.
2704 (getGroup): New method.
2706 2004-06-09 Olga Rodimina <rodimina@redhat.com>
2708 * javax/swing/AbstractButton.java
2709 (AbstractButton): Use init() to initialize the button.
2710 (init): New Method. Initializes AbstractButton.
2711 * javax/swing/JMenuItem.java: Documented.
2712 (JMenuItem): Reimplemented.
2713 (init): Implemented.
2714 (setEnabled): Changed to call super.setEnabled()
2715 (processMouseEvent): Reimplemented.
2716 (fireMenuKeyPressed): Implemented.
2717 (fireMenuKeyReleased): Implemented.
2718 (fireMenuKeyTyped): Implemented.
2719 (menuSelectionChanged): disarm the model if the menu item was
2721 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
2722 (getPath): Change to use ArrayList instead of Vector.
2723 (getPreferredSize): Renamed variable.
2724 (paintMenuItem): Paint margin area of menu item.
2725 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
2726 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
2727 menu item's bounds before clearing the selection.
2729 2004-06-09 David Jee <djee@redhat.com>
2731 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2732 (GtkTextComponentPeer): Set caret position to 0.
2733 * java/awt/TextComponent.java
2734 (setText): Set caret position to 0.
2735 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2736 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2737 Handle GtkScrolledWindow separately. Fix signal handler blocking.
2738 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2740 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2741 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
2744 2004-06-09 Kim Ho <kho@redhat.com>
2746 * Makefile.am: New files
2747 * Makefile.in: Regenerated
2748 * java/awt/Container.java
2749 (getComponentAt): Removed.
2750 * javax/swing/AbstractAction.java
2751 (ENABLED_PROPERTY): New property.
2752 (putValue): Fire PropertyChangeEvents.
2753 (setEnabled): ditto.
2754 (firePropertyChange): Javadoc and implement
2756 * javax/swing/AbstractButton.java
2757 (setAction): Don't create PropertyChangeListener
2758 if new Action is null.
2759 (setIcon): Don't set icon till after comparing
2761 (configurePropertiesFromAction): Check mnemonic
2762 key before calling intValue().
2763 (createActionPropertyChangeListener): Check
2764 properties rather than bulk change.
2765 * javax/swing/DefaultDesktopManager.java:
2767 * javax/swing/DesktopManager.java:
2769 * javax/swing/JComponent.java
2770 (fireVetoableChange): Implement.
2771 (paintImmediately): Use root component.
2772 * javax/swing/JDesktopPane.java: Implement
2773 * javax/swing/JInternalFrame.java: Implement
2774 * javax/swing/JLabel.java
2775 (getDisabledIcon): Return grayscaled icon if
2776 no disabled icon specified.
2777 * javax/swing/JMenuBar.java
2778 (getComponentAtIndex): Use getComponent
2779 * javax/swing/JOptionPane.java
2780 (getDesktopPaneForComponent): Use SwingUtilities'
2782 (getFrameForComponent): ditto.
2783 * javax/swing/JSplitPane.java
2784 (remove): Use getComponent.
2785 * javax/swing/SwingUtilities.java
2786 (convertPoint): Implement.
2787 * javax/swing/plaf/basic/BasicButtonUI.java
2788 (paintButtonNormal): Check opaqueness before
2790 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
2792 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
2794 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
2796 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2798 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2799 Change InternalFrame and Desktop colors.
2801 2004-06-09 David Jee <djee@redhat.com>
2803 * java/awt/Container.java
2804 (remove): Do not set component to invisible.
2806 2004-06-09 Michael Koch <konqueror@gmx.de>
2808 * javax/swing/tree/DefaultMutableTreeNode.java
2809 (getLeafCount): Renamed enum to e.
2811 2004-06-09 Michael Koch <konqueror@gmx.de>
2813 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
2814 (positionForMouseEvent): Removed redundant semicolon.
2815 (continueDrag): Use method arguments.
2817 2004-06-09 Michael Koch <konqueror@gmx.de>
2819 * javax/swing/border/TitledBorder.java,
2820 javax/swing/filechooser/FileSystemView.java,
2821 javax/swing/plaf/basic/BasicButtonListener.java,
2822 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2823 javax/swing/plaf/basic/BasicLabelUI.java,
2824 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
2825 javax/swing/plaf/basic/BasicScrollBarUI.java,
2826 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2827 javax/swing/plaf/basic/BasicSliderUI.java,
2828 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2829 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2830 javax/swing/table/JTableHeader.java,
2831 javax/swing/text/AbstractDocument.java,
2832 javax/swing/text/DefaultCaret.java,
2833 javax/swing/text/StyledEditorKit.java,
2834 javax/swing/tree/DefaultTreeCellEditor.java:
2835 Reworked import statements.
2837 2004-06-08 Graydon Hoare <graydon@redhat.com>
2839 * javax/swing/Box.java: Temporarily comment out code
2840 broken due to visibility bug.
2842 2004-06-09 Michael Koch <konqueror@gmx.de>
2844 * javax/swing/ImageIcon.java
2845 (ImageIcon): Added missing constructor.
2847 2004-06-08 Michael Koch <konqueror@gmx.de>
2849 * javax/swing/JToggleButton.java
2850 (JToggleButton): New constructor.
2851 (getAccessibleContext): Moved documentation into javadoc.
2852 (getUIClassID): Likewise.
2854 2004-06-08 Michael Koch <konqueror@gmx.de>
2856 * javax/swing/AbstractButton.java
2857 (getDisabledIcon): Create disabled icon if none exists yet.
2859 2004-06-08 Michael Koch <konqueror@gmx.de>
2861 * javax/swing/plaf/basic/BasicLookAndFeel.java
2862 (initClassDefaults): Added FormattedTextFieldUI.
2863 (loadResourceBundle): Renamed enum to e.
2865 2004-06-08 Michael Koch <konqueror@gmx.de>
2867 * javax/swing/plaf/basic/BasicButtonUI.java
2868 (paintIcon): Simplified.
2869 (paintText): Paint disabled button correctly.
2871 2004-06-08 Michael Koch <konqueror@gmx.de>
2873 * javax/swing/JComponent.java
2874 (createToolTip): Use official JToolTip API.
2876 2004-06-08 Michael Koch <konqueror@gmx.de>
2878 * javax/swing/JToolTip.java
2879 (JToolTip): No arguments in API.
2880 (setTipText): New method.
2882 2004-06-08 Michael Koch <konqueror@gmx.de>
2884 * javax/swing/SwingUtilities.java
2885 (isLeftMouseButton): New method.
2886 (isMiddleMouseButton): New method.
2887 (isRightMouseButton): New method.
2889 2004-06-08 Michael Koch <konqueror@gmx.de>
2891 * javax/swing/AbstractButton.java,
2892 javax/swing/CellRendererPane.java,
2893 javax/swing/JCheckBoxMenuItem.java,
2894 javax/swing/JColorChooser.java,
2895 javax/swing/JComboBox.java,
2896 javax/swing/JComponent.java,
2897 javax/swing/JDesktopPane.java,
2898 javax/swing/JFileChooser.java,
2899 javax/swing/JMenu.java,
2900 javax/swing/JMenuItem.java,
2901 javax/swing/JOptionPane.java,
2902 javax/swing/JPasswordField.java,
2903 javax/swing/JPopupMenu.java,
2904 javax/swing/JProgressBar.java,
2905 javax/swing/JRadioButtonMenuItem.java,
2906 javax/swing/JScrollBar.java,
2907 javax/swing/JSeparator.java,
2908 javax/swing/JSlider.java,
2909 javax/swing/JSplitPane.java,
2910 javax/swing/JTabbedPane.java,
2911 javax/swing/JTextField.java,
2912 javax/swing/JToolBar.java,
2913 javax/swing/text/JTextComponent.java:
2914 Fixed all constructors of accessibility classes.
2916 2004-06-08 Michael Koch <konqueror@gmx.de>
2918 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
2921 2004-06-08 Michael Koch <konqueror@gmx.de>
2923 * javax/swing/Box.java
2924 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
2925 (AccessibleBoxFiller.serialVersionUID): New member variable.
2926 * javax/swing/DefaultButtonModel.java
2927 (stateMask): Made protected.
2928 (listenerList): Likewise.
2929 (changeEvent): Likewise.
2931 (mnemonic): Likewise.
2932 (actionCommand): Likewise.
2933 (getListeners): New method.
2934 (getActionListeners): New method.
2935 (getItemListeners): New method.
2936 (getChangeListeners): New method.
2937 (fireItemStateChanged): Simplified.
2938 (fireActionPerformed): Simplified.
2939 (fireStateChanged): Simplified.
2940 * javax/swing/JFrame.java
2941 (JFrame): Implements WindowContants.
2942 (HIDE_ON_CLOSE): Removed.
2943 (EXIT_ON_CLOSE): Removed.
2944 (DISPOSE_ON_CLOSE): Removed.
2945 (DO_NOTHING_ON_CLOSE): Removed.
2946 (processWindowEvent): Exit with code 0.
2947 (setDefaultCloseOperation): Do security check before setting value.
2948 * javax/swing/JOptionPane.java
2949 (message): Initialize only in constructor.
2950 * javax/swing/JToolTip.java: Removed unused imports.
2951 * javax/swing/JViewport.java
2952 (serialVersionUID): New member variable.
2953 (SIMPLE_SCROLL_MODE): Made final, fixed value.
2954 (BLIT_SCROLL_MODE): Likewise.
2955 (BACKINGSTORE_SCROLL_MODE): Likewise.
2956 (scrollUnderway): Made protected.
2957 (isViewSizeSet): Likewise.
2958 * javax/swing/ListModel.java: Fixed javadoc.
2959 * javax/swing/Popup.java: Likewise.
2960 * javax/swing/RepaintManager.java
2961 (paintDirtyRegions): Don't use internal classes of
2962 java.util.AbstractMap.
2963 * javax/swing/ScrollPaneConstants.java: Reindented.
2964 * javax/swing/ScrollPaneLayout.java
2965 (viewport): Made protected.
2966 (verticalScrollBar): Made protected, renamed to vsb.
2967 (horizontalScrollBar): Made protected, renamed to hsb.
2968 (rowHeader): Made protected, renamed to rowHead.
2969 (columnHeader): Made protected, renamed to colHead.
2970 (lowerLeft): Made protected.
2971 (lowerRight): Made protected.
2972 (upperLeft): Made protected.
2973 (upperRight): Made protected.
2974 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
2975 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
2977 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
2979 * java/awt/MediaTracker.java (imageUpdate): Only set status to
2980 LOADING if flags has SOMEBITS set.
2982 2004-06-07 Michael Koch <konqueror@gmx.de>
2984 * javax/swing/AbstractButton.java: Reorganized imports.
2985 * javax/swing/ActionMap.java: Likewise.
2986 * javax/swing/DefaultButtonModel.java: Likewise.
2987 * javax/swing/DefaultListModel.java: Likewise.
2988 * javax/swing/ImageIcon.java: Likewise.
2989 (serialVersionUID): New member variable.
2990 * javax/swing/JComboBox.java: Reorganized imports.
2991 * javax/swing/JComponent.java: Likewise.
2992 (ui): Made protected.
2993 (listenerList): Made protected.
2994 (TOOL_TIP_TEXT_KEY): New constant.
2995 (scrollRectToVisible): Removed redundant null check.
2996 * javax/swing/JFrame.java: Reorganized imports.
2997 * javax/swing/JInternalFrame.java: Reorganized imports.
2998 * javax/swing/JProgressBar.java: Likewise.
2999 * javax/swing/JRootPane.java: Likewise.
3000 * javax/swing/JScrollBar.java: Likewise.
3001 * javax/swing/JSeparator.java: Likewise.
3002 * javax/swing/JSlider.java: Likewise.
3003 * javax/swing/JTabbedPane.java: Likewise.
3004 * javax/swing/JTextField.java: Likewise.
3005 * javax/swing/JToolBar.java: Likewise.
3006 * javax/swing/JTree.java: Likewise.
3007 * javax/swing/JViewport.java: Likewise.
3008 * javax/swing/JWindow.java: Likewise.
3009 * javax/swing/KeyStroke.java: Likewise.
3010 * javax/swing/LookAndFeel.java: Likewise.
3011 * javax/swing/MenuSelectionManager.java: Likewise.
3012 * javax/swing/SwingUtilities.java: Likewise.
3013 * javax/swing/Timer.java: Likewise.
3014 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
3015 * javax/swing/JList.java
3016 (HORIZONTAL_WRAP): Made final, fixed value.
3017 (VERTICAL): Likewise.
3018 (VERTICAL_WRAP): Likewise.
3020 2004-06-07 Michael Koch <konqueror@gmx.de>
3022 * javax/swing/AbstractButton.java
3023 (serialVersionUID): New member variable.
3024 (AccessibleAbstractButton.serialVersionUID): Likewise.
3025 (AbstractButton): Made public.
3026 * javax/swing/Box.java
3027 (AccessibleBox.serialVersionUID): New member variable.
3028 (Filler.serialVersionUID): Likewise.
3029 * javax/swing/DefaultListSelectionModel.java
3030 (serialVersionUID): Likewise.
3031 * javax/swing/JApplet.java
3032 (serialVersionUID): Likewise.
3033 * javax/swing/JCheckBox.java
3034 (serialVersionUID): Likewise.
3035 * javax/swing/JCheckBoxMenuItem.java
3036 (serialVersionUID): Likewise.
3037 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
3038 * javax/swing/JColorChooser.java
3039 (serialVersionUID): Likewise.
3040 (AccessibleJColorChooser.serialVersionUID): Likewise.
3041 * javax/swing/JComponent.java
3042 (serialVersionUID): Made private.
3043 (AccessibleJComponent.serialVersionUID): New member variable.
3044 * javax/swing/JDesktopPane.java
3045 (serialVersionUID): Likewise.
3046 * javax/swing/JDialog.java
3047 (serialVersionUID): Likewise.
3048 * javax/swing/JFormattedTextField.java
3049 (serialVersionUID): Fixed value.
3050 * javax/swing/JFrame.java
3051 (serialVersionUID): New member variable.
3052 (getDefaultCloseOpertation): Made public.
3053 * javax/swing/JLayeredPane.java
3054 (serialVersionUID): Likewise.
3055 (LAYER_PROPERTY): Made final, fixed value.
3056 (JLayeredPane): Made public.
3057 * javax/swing/JMenu.java
3058 (AccessibleJMenu.serialVersionUID): New member variable.
3059 (WinListener.serialVersionUID): Likewise.
3060 * javax/swing/JMenuBar.java
3061 (serialVersionUID): Likewise.
3062 (getComponentAtIndex): Added @deprecated tag.
3063 * javax/swing/JMenuItem.java
3064 (serialVersionUID): New member variable.
3065 (AccessibleJMenuItem.serialVersionUID): Likewise.
3066 * javax/swing/JOptionPane.java
3067 (serialVersionUID): Likewise.
3068 (AccessibleJOptionPane.serialVersionUID): Likewise.
3069 * javax/swing/JPopupMenu.java
3070 (serialVersionUID): Likewise.
3071 (AccessibleJPopupMenu.serialVersionUID): Likewise.
3072 (getPopupMenuListeners): New method.
3073 (getComponentAtIndex): Added @deprecated tag.
3074 * javax/swing/JProgressBar.java
3075 (serialVersionUID): New member variable.
3076 (AccessibleJProgressBar.serialVersionUID): Likewise.
3077 * javax/swing/JRadioButton.java
3078 (serialVersionUID): Likewise.
3079 * javax/swing/JRadioButtonMenuItem.java
3080 (serialVersionUID): Likewise.
3081 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
3082 * javax/swing/JScrollBar.java
3083 (serialVersionUID): Likewise.
3084 (AccessibleJScrollBar.serialVersionUID): Likewise.
3085 * javax/swing/JSeparator.java
3086 (serialVersionUID): Likewise.
3087 (AccessibleJSeparator.serialVersionUID): Likewise.
3088 * javax/swing/JSlider.java: Fixed javadocs.
3089 (AccessibleJSlider.serialVersionUID): New member variable.
3090 * javax/swing/JSplitPane.java: Added copyright statement.
3091 (serialVersionUID): New member variable.
3092 (AccessibleJSplitPane.serialVersionUID): Likewise.
3093 * javax/swing/JTabbedPane.java
3094 (serialVersionUID): Likewise.
3095 (AccessibleJTabbedPane.serialVersionUID): Likewise.
3096 (ModelListener.serialVersionUID): Likewise.
3097 (ModelListener.ModelListener): New constructor.
3098 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
3099 (WRAP_TAB_LAYOUT): Likewise.
3100 * javax/swing/JTable.java
3101 (serialVersionUID): New member variable.
3102 * javax/swing/JToggleButton.java
3103 (serialVersionUID): Likewise.
3104 (ToggleButtonModel): Made static.
3105 (ToggleButtonModel.serialVersionUID): New member variable.
3106 * javax/swing/JToolTip.java
3107 (serialVersionUID): Likewise.
3108 * javax/swing/JTree.java
3109 (serialVersionUID): Likewise.
3110 * javax/swing/JWindow.java
3111 (serialVersionUID): Likewise.
3112 * javax/swing/Timer.java
3113 (serialVersionUID): Likewise.
3115 2004-06-06 Michael Koch <konqueror@gmx.de>
3117 * javax/swing/SwingConstants.java
3118 (NEXT): New constant.
3119 (PREVIOUS): Likewise.
3120 * javax/swing/UIManager.java
3121 (LookAndFeel): Made public.
3122 (LookAndFeel.getClassName): Likewise.
3123 (LookAndFeel.getName): Likewise.
3125 2004-06-02 Olga Rodimina <rodimina@redhat.com>
3127 * javax/swing/JCheckBoxMenuItem.java:
3129 * javax/swing/JMenu.java: Likewise.
3130 * javax/swing/JMenuBar.java: Likewise.
3131 * javax/swing/JMenuItem.java: Likewise.
3132 * javax/swing/JPopupMenu.java: Likewise.
3133 * javax/swing/JRadioButtonMenuItem.java: Likewise.
3134 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
3135 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3136 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3137 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
3138 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
3139 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
3141 2004-05-31 Olga Rodimina <rodimina@redhat.com>
3143 * javax/swing/plaf/basic/BasicMenuUI.java:
3144 (MouseEntered): Do not call getPath() from MenuSelectionManager.
3145 Call getPath() from super class instead.
3147 2004-05-31 David Jee <djee@redhat.com>
3149 * java/awt/Container.java
3150 (remove): Set component visibility to false after removing it.
3152 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
3154 * java/awt/Component.java (getForeground): Return SystemColor if
3156 (getBackground): Likewise.
3158 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
3159 (item_highlighted): New function.
3160 (connectSignals): Set item_highlighted as list's select
3163 * java/applet/Applet.java: Revert changes from 2004-04-29,
3164 2004-03-15 and 2004-03-14.
3166 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3167 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
3170 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
3171 "Dialog" as the default font.
3172 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
3174 * java/awt/Component.java (getFont): Return "Dialog" font by
3176 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
3177 Multiply size argument to pango_font_description_set_size by the
3178 DPI conversion factor rather than by PANGO_SCALE.
3179 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
3180 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
3181 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
3182 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
3183 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
3184 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
3185 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
3186 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
3187 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3188 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3189 Divide baseline y coordinate by DPI conversion factor rather
3190 than by PANGO_SCALE.
3191 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
3192 (area_prepared): Fix typo.
3193 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
3194 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
3195 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3196 (dpi_conversion_factor): New global variable.
3197 (init_dpi_conversion_factor): New function to calculate and
3198 track DPI conversion factor.
3199 (dpi_changed_cb): New callback.
3200 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
3202 2004-05-27 David Jee <djee@redhat.com>
3204 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3205 (getGraphics): Return a new GdkGraphics instance.
3206 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3207 (getGraphics): Call super.getGraphics().
3209 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
3211 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3212 (setNativeBounds): Clamp width and height values to >= 0.
3214 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3215 (find_fg_color_widget): Handle GtkOptionMenu specially.
3217 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3218 (pre_event_handler): Only post configure events to visible
3221 2004-05-26 David Jee <djee@redhat.com>
3223 * java/awt/BorderLayout.java
3224 (layoutContainer): Fix size calculations.
3226 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
3228 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3229 (window_wm_protocols_filter): Remove function.
3230 (create): Remove filter that removes WM_TAKE_FOCUS client
3233 2004-06-17 Anthony Green <green@redhat.com>
3235 * java/util/zip/ZipFile.java (getInputStream): Return null if
3238 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
3239 directory contents to the class path.
3241 2004-06-15 Andrew Haley <aph@redhat.com>
3243 * java/lang/natSystem.cc (getenv0): Don't assume environment
3244 variable is Latin 1 coded.
3246 2004-06-14 Andreas Jaeger <aj@suse.de>
3248 * configure.in: Support --enable-version-specific-runtime-libs.
3249 * configure: Regenerated.
3251 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
3253 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
3254 to pass ClassLoader argument.
3255 * java/util/GregorianCalendar.java: Likewise.
3256 * java/util/Currency.java: Likewise.
3257 * java/text/BreakIterator.java: Likewise.
3258 * java/text/Collator.java: Likewise.
3259 * java/text/DateFormat.java: Likewise.
3260 * java/text/DateFormatSymbols.java: Likewise.
3261 * java/text/DecimalFormatSymbols.java: Likewise.
3262 * java/text/NumberFormat.java: Likewise.
3263 * java/awt/Window.java: Likewise.
3265 2004-06-14 Andrew Haley <aph@redhat.com>
3267 * java/lang/System.java: (getenv0): New method.
3268 (getenv): Add security check. Do the right thing.
3269 * java/lang/natSystem.cc (getenv0): New method.
3271 2004-06-12 Mark Wielaard <mark@klomp.org>
3273 * javax/swing/RepaintManager.java
3274 (paintDirtyRegions): Use entrySet(), not values().
3276 2004-06-10 Mark Wielaard <mark@klomp.org>
3278 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
3281 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
3283 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
3284 when we already know the answer.
3285 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
3286 (setStartRule,setEndRule): Don't take abs of day number.
3287 (getOffset): Clarify docs. Add argument checks.
3288 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
3289 (equals,hasSameRules,toString,readObject): Use startTimeMode and
3292 2004-06-10 Tom Tromey <tromey@redhat.com>
3294 * interpret.cc (run): Handle wide fload.
3296 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
3298 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
3300 2004-06-05 Michael Koch <konqueror@gmx.de>
3302 * javax/swing/SwingConstants.java
3303 (NEXT): New constant.
3304 (PREVIOUS): Likewise.
3306 2004-06-05 Michael Koch <konqueror@gmx.de>
3308 * javax/swing/UIManager.java
3309 (LookAndFeel): Made public.
3310 (LookAndFeel.getName): Likewise.
3311 (LookAndFeel.getClassName): Likewise.
3313 2004-06-03 Michael Koch <konqueror@gmx.de>
3315 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3316 (requestFocus): Revert last changes.
3317 (gtkRequestFocus): Removed.
3318 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3319 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
3321 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
3322 Reverted last patch.
3323 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3324 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
3325 Reverted comment change.
3327 2004-06-02 Olga Rodimina <rodimina@redhat.com>
3329 * javax/swing/JCheckBoxMenuItem.java:
3331 * javax/swing/JMenu.java: Likewise.
3332 * javax/swing/JMenuBar.java: Likewise.
3333 * javax/swing/JMenuItem.java: Likewise.
3334 * javax/swing/JPopupMenu.java: Likewise.
3335 * javax/swing/JRadioButtonMenuItem.java: Likewise.
3336 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
3337 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3338 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3339 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
3340 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
3341 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
3343 2004-06-01 Tom Tromey <tromey@redhat.com>
3345 * java/io/ObjectStreamField.java: Cleaned up imports.
3347 2004-06-01 Michael Koch <konqueror@gmx.de>
3349 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
3351 2004-06-01 Mark Wielaard <mark@klomp.org>
3353 * java/io/Writer.java (Writer(Object)): Fixed API doc.
3355 2004-06-01 Michael Koch <konqueror@gmx.de>
3357 * java/security/Security.java
3358 (insertProviderAt): Use equals() instead of ==.
3359 (removeProvicer): Likewise.
3360 (getProvider): Likewise.
3361 * java/security/Signature.java
3362 (sign): Don't set state to UNINITIALIZED.
3365 2004-06-01 Mark Wielaard <mark@klomp.org>
3367 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
3368 Implement by calling gtkRequestFocus.
3369 (gtkRequestFocus): New native method.
3370 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3371 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
3373 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
3375 (filter_expose_event_handler):
3377 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3378 (menu_pos): Mark static.
3380 2004-06-01 Michael Koch <konqueror@gmx.de>
3382 * java/text/CollationElementIterator.java,
3383 java/text/CollationKey.java,
3384 java/text/RuleBasedCollator.java: New versions from GNU classpath.
3385 * testsuite/libjava.mauve/xfails: Removed all
3386 java.text.CollationElementIterator tests.
3388 2004-06-01 Michael Koch <konqueror@gmx.de>
3390 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
3392 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
3393 Java 1.5 keyword usage.
3395 2004-05-31 Olga Rodimina <rodimina@redhat.com>
3397 * javax/swing/plaf/basic/BasicMenuUI.java:
3398 (MouseEntered): Do not call getPath() from MenuSelectionManager.
3399 Call getPath() from super class instead.
3401 2004-05-31 Michael Koch <konqueror@gmx.de>
3403 * java/io/SequenceInputStream.java:
3404 Rename enum to e because enum is a keyword in Java 1.5.
3406 2004-05-31 Michael Koch <konqueror@gmx.de>
3408 * gnu/java/rmi/rmic/CompilerProcess.java:
3409 Fixed javadoc to by XHTML compliant.
3411 2004-05-30 Mark Wielaard <mark@klomp.org>
3413 * java/awt/Toolkit.java (loadSystemColors): Implement.
3415 2004-05-30 Michael Koch <konqueror@gmx.de>
3417 * java/lang/System.java: Reordered imports.
3419 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
3421 * java/text/DecimalFormat.java
3422 (parse): Fixed parsing of decimal strings. Number of maximum
3423 digits to be read should now work.
3424 * java/text/SimpleDateFormat.java
3425 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
3426 formatter. This fixes DateFormatTest.
3428 2004-05-30 Michael Koch <konqueror@gmx.de>
3430 * java/nio/Buffer.java
3431 (limit): Fixed off by one error.
3432 * java/nio/CharBuffer.java
3433 (wrap): Fixed arguments, added javadocs.
3435 2004-05-30 Michael Koch <konqueror@gmx.de>
3437 * gnu/java/beans/BeanInfoEmbryo.java,
3438 java/awt/im/InputContext.java,
3439 javax/swing/tree/DefaultMutableTreeNode.java:
3440 Rename enum to e because enum is a keyword in Java 1.5.
3442 2004-05-30 Michael Koch <konqueror@gmx.de>
3444 * gnu/java/math/MPN.java,
3445 java/awt/geom/Arc2D.java:
3446 Fixed javadocs all over.
3448 2004-05-30 Michael Koch <konqueror@gmx.de>
3450 * java/awt/DefaultKeyboardFocusManager.java
3451 (dispatchEvent): Call method to get key event dispatchers.
3452 (dispatchKeyEvent): Call method to get key event post processors.
3453 * javax/swing/JComponent.java
3454 (listenerList): Made protected.
3455 * javax/swing/JOptionPane.java
3456 (message): Don't initialize.
3457 (JOptionPane): Set message text.
3458 * javax/swing/JPopupMenu.java
3459 (show): Fixed typo in argument name.
3460 * javax/swing/RepaintManager.java
3461 (paintDirtyRegions): Use public API of java.util.Map.
3462 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
3463 (positionForMouseEvent): Removed redundant ';'.
3464 (continueDrag): Use method arguments.
3466 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
3468 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
3471 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
3473 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
3475 * gnu/gcj/RawDataManaged.java: New file.
3476 * java/lang/Thread.java (data): Declare as RawDataManaged.
3477 * java/lang/natThread.cc (init_native): Cast natThread data to
3478 RawDataManaged, not jobject.
3479 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
3480 * Makefile.in: Rebuilt.
3482 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
3484 * java/util/SimpleTimeZone.java: Reverting my last change until I
3485 can fix it properly.
3487 2004-05-27 Michael Koch <konqueror@gmx.de>
3489 * javax/swing/JPopupMenu.java
3490 (isVisible): Do not use visible directly.
3491 (setVisible): Likewise.
3492 * javax/swing/JWindow.java
3493 (JWindow): call accessible constructor.
3494 * javax/swing/RepaintManager.java
3495 (paintDirtyRegions): Use public methods to obtain iterator.
3497 2004-05-25 David Jee <djee@redhat.com>
3499 * java/awt/Container.java
3500 (remove): Set component's parent to null only after we removed the
3501 component from its parent's layout manager.
3503 2004-05-25 David Jee <djee@redhat.com>
3505 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3506 (GtkComponentPeer): Set bounds regardless of whether awtComponent
3508 * gnu/java/awt/peer/gtk/GtkListPeer.java
3509 (getSize): Change native method declaration.
3510 (minimumSize): Pass visible row count into getSize().
3511 (preferredSize): Likewise.
3512 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
3513 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
3514 natural size. Use visible row count to determine the final height
3517 2004-05-21 Graydon Hoare <graydon@redhat.com>
3519 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
3520 (setClip): Minor correction to order of operations.
3522 * javax/swing/JScrollPane.java: Extend sketchy implementation.
3523 * javax/swing/ScrollPaneLayout.java: Likewise.
3524 * javax/swing/JViewPort.java: Likewise.
3525 * javax/swing/ViewportLayout.java: Likewise.
3527 * javax/swing/JComponent.java: Rewrite.
3528 * javax/swing/RepaintManager.java: Likewise.
3530 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
3531 * javax/swing/JList.java
3532 (setSelectedIndices):
3533 (getSelectedIndices):
3534 (getSelectedValues): New functions.
3535 (getPreferredScrollableViewportSize): Return preferred size.
3536 (getScrollableUnitIncrement):
3537 (getScrollableBlockIncrement): Initial implementations.
3538 * javax/swing/JRootPane.java: Clean up slightly.
3543 (isValidateRoot): Add overrides from JComponent.
3544 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
3545 * javax/swing/UIManager.java (getDimension): Return the dimension.
3547 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
3548 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3549 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3550 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3551 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3552 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
3553 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3554 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3555 Likewise, and set background.
3556 * javax/swing/plaf/basic/BasicListUI.java:
3557 Likewise, and improve a bit.
3558 * javax/swing/plaf/basic/BasicScrollBarUI.java:
3559 Likewise, and adjust calculations.
3560 * javax/swing/plaf/basic/BasicViewportUI.java:
3561 Likewise, and improve a bit.
3562 * javax/swing/plaf/basic/BasicLookAndFeel.java
3563 (Button.margin): Shrink.
3565 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
3566 Hack to set horizontal always, workaround pango.
3568 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
3569 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
3570 Synchronize more often, check cairo status after ops,
3571 handle changes to cairo pattern API, check for disposal.
3573 2004-05-21 Olga Rodimina <rodimina@redhat.com>
3575 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3576 (BasicMenuItemUI): Create propertyChangeListener.
3577 (getPath):Implemented.
3578 (installListeners): Add propertyChangeListener to menuItem.
3579 (uninstallListeners): Remove propertyChangeListener from menuItem.
3580 (update): Implemented.
3581 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
3582 (mouseEntered): Take insets of popup menu into account when
3583 calculating position of popup menu.
3585 2004-05-18 Olga Rodimina <rodimina@redhat.com>
3587 * Makefile.am: Added new file.
3588 * Makefile.in: Regenerate.
3589 * javax/swing/JMenuBar.java:
3590 Started implementation.
3591 * javax/swing/JPopupMenu.java:
3592 (setVisible): Fixed location of lightweight/mediumweight
3594 (show): Fixed location of PopupMenu.
3595 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3596 New file. UI Delegate for JMenuBar.
3597 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
3598 (mouseEntered): Corrected position of the submenu.
3600 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3602 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
3603 to _gtk_accel_group_attach.
3604 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
3607 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
3608 package access. Don't override setFont.
3609 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
3610 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
3611 gtkWidgetRequestFocus package access.
3612 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
3614 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
3615 Give gtkWidgetRequestFocus package access.
3616 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
3617 gtkWidgetRequestFocus package access. Don't override setFont.
3618 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
3620 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3621 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
3623 (gtkSetFont): Likewise.
3624 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
3626 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3627 (gtkSetFont): Whitespace fix.
3629 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3630 (gtkWidgetSetUsize): Remove method.
3632 2004-05-18 David Jee <djee@redhat.com>
3634 * java/awt/image/MemoryImageSource.java
3635 (newPixels(int,int,int,int,boolean)): Set only the specified
3636 rectangle of pixels.
3637 (newPixels(byte[],ColorModel,int,int)): Implement.
3638 (newPixels(int[],ColorModel,int,int)): Implement.
3640 2004-05-18 Olga Rodimina <rodimina@redhat.com>
3642 * Makefile.am: Added new file.
3643 * Makefile.in: Regenerate.
3644 * javax/swing/JMenu.java: Started
3646 * javax/swing/JPopupMenu.java:
3647 (insert): If specified index is -1, then
3648 add component at the end.
3649 (isPopupTrigger): Reimplemented.
3650 (JPopupMenu.LightWeightPopup): setBounds
3651 of the lightWeightPopup before adding it
3653 (javax/swing/plaf/basic/BasicIconFactory.java):
3654 (getMenuArrowIcon): Implemented.
3655 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3656 (getPreferredSize): Add size of the arrow icon
3657 if this menu item is instance of JMenu.
3658 (paintMenuItem): Paint arrow icon if this
3659 menu item is a submenu.
3660 * javax/swing/plaf/basic/BasicMenuUI.java:
3661 New File. UI Delegate for JMenu.
3663 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
3665 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
3666 Post KEY_TYPED events.
3667 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3668 (generates_key_typed_event): Remove function.
3670 2004-05-17 Olga Rodimina <rodimina@redhat.com>
3672 * javax/swing/JRootPane.java
3673 (JRootPane.RootLayout): Reimplemented to
3674 set bounds of contentPane and menuBar.
3675 (setJMenuBar): Add menu bar to the layered pane.
3676 (createLayeredPane): Set layout of layeredPane
3678 * javax/swing/JLayeredPane.java:
3679 (addImpl): Calculate index of the component in the
3680 layeredPane according to the specified position within
3683 2004-05-17 David Jee <djee@redhat.com>
3685 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3686 (setPixels): Change color model to the default model after
3688 * java/awt/image/MemoryImageSource.java
3689 (newPixels): Set only the specified rectangle of pixels.
3691 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
3693 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
3694 -l-java-beans -l-javax-accessibility -l-javax-swing.
3696 * java/awt/AWTEvent.java (toString): Print source's name rather
3697 than the source itself.
3699 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
3701 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
3703 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3704 (gdk_color_to_java_color): New function.
3705 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
3707 2004-05-12 David Jee <djee@redhat.com>
3709 * java/awt/image/RGBImageFilter.java:
3710 Initialize origmodel as null.
3711 (makeColor): Fix pixel component order.
3712 (filterRGBPixels): Fix pixel iteration.
3713 (setPixels): Add extra checks for index color model. Convert pixels
3714 to default color model if necessary.
3715 (convertColorModelToDefault): New override method for byte pixels.
3716 (convertColorModelToDefault): For int pixels, fix pixel iteration.
3717 (makeColorbyDefaultCM): New override method for byte pixels.
3718 (makeColorbyDefaultCM): For int pixel, add color model as argument.
3719 (makeColor): Fix pixel component order.
3721 2004-05-11 Kim Ho <kho@redhat.com>
3723 * javax/swing/Box.java:
3724 Comment out more parts of Box.Filler.
3726 2004-05-11 Kim Ho <kho@redhat.com>
3728 * javax/swing/Box.java:
3729 Remove reference to AccessibleAWTComponent so
3732 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
3734 * gnu/java/awt/peer/gtk/GtkListPeer.java,
3735 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
3736 implementation of list peer to use GtkTreeView instead of
3737 deprecated GtkCList.
3739 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
3741 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3742 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
3743 (handleEvent): Remove keyChar argument to
3744 gtkWidgetDispatchKeyEvent calls.
3745 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
3747 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
3748 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
3749 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
3752 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
3754 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3755 (gtkWidgetRequestFocus): Mark protected.
3756 (GtkComponentPeer): Only set the peer's bounds if its component
3758 * java/awt/Component.java (static): Set the default keyboard
3760 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
3761 requestFocusInWindow(temporary)): Don't request focus if the
3762 component is not showing. Get tree lock before traversing
3763 component hierarchy.
3764 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3765 Only set the global focus owner if it is not a Window.
3766 (processKeyEvent): Consume keystrokes associated with the focus
3767 traversal keystroke.
3768 (focusPreviousComponent, focusNextComponent, upFocusCycle,
3769 downFocusCycle): Call requestFocusInWindow instead of
3771 * java/awt/EventDispatchThread.java (run): Move setting of
3772 default keyboard focus manager to Component.java.
3773 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3774 (awt_keycode_to_keysym): New function.
3775 (gtkWidgetDispatchKeyEvent): Finish implementation.
3776 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3777 (pre_event_handler): Add FIXME comment.
3779 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3780 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3781 (gtkWidgetRequestFocus): New method.
3782 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
3783 disable Tab and Shift-Tab keystrokes.
3784 (addNotify, appendText, insertText, replaceText): Simplify peer
3786 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3787 (connectSignals): Remove connections to "commit" signals.
3788 Remove C++-style comments.
3790 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3791 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3792 (handleEvent): Activate GTK button when the space bar key is
3794 (gtkActivate): New method.
3796 2004-05-06 David Jee <djee@redhat.com>
3798 * java/awt/image/CropImageFilter.java
3799 (setPixels): Implement for byte array pixels.
3800 * java/awt/image/ReplicateScaleFilter.java
3801 (setPixels): Implement for byte array pixels.
3802 (replicatePixels): Overload for byte array pixels.
3804 2004-05-06 Kim Ho <kho@redhat.com>
3806 * javax/swing/Box.java:
3807 (getAccessibleContext): Return an instance of the
3810 2004-05-05 David Jee <djee@redhat.com>
3812 * gnu/java/awt/peer/gtk/GdkGraphics.java
3813 (drawImage): When component is null, use SystemColor.window as
3814 the default bgcolor.
3815 * gnu/java/awt/peer/gtk/GtkImage.java
3816 (setPixels): We can avoid iterating through the pixel rows only
3818 * java/awt/Image.java
3819 (getScaledInstance): Partially implement.
3820 * java/awt/image/CropImageFilter.java
3821 (setProperties): Fix "filter" property.
3822 (setPixels): Implement.
3823 * java/awt/image/ReplicateScaleFilter.java
3824 (setDimensions): Use scaled dimensions.
3825 (setPixels): Implement.
3826 (replicatePixels): New method.
3828 2004-05-05 David Jee <djee@redhat.com>
3830 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3831 (convertPixels): If either pixels or model is null, return null.
3832 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
3833 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
3834 is null, do nothing and return.
3836 2004-05-03 Kim Ho <kho@redhat.com>
3838 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
3839 (getGraphics): Like GtkFramePeer, the Graphics
3840 object needs to be translate to account for
3842 (postMouseEvent): New method. Account for
3844 (postExposeEvent): ditto.
3845 * javax/swing/Box.java: Stubbed.
3846 * javax/swing/JDialog.java: Ran through jalopy
3848 (JDialog): Call SwingUtilities' getOwnerFrame
3850 (setLayout): Check isRootPaneCheckingEnabled
3851 * javax/swing/JOptionPane.java: Re-implemented.
3852 * javax/swing/SwingUtilities.java:
3853 (getOwnerFrame): Static method to grab a default
3854 owner frame for Dialogs that don't specify owners.
3855 * javax/swing/event/SwingPropertyChangeSupport.java:
3856 (firePropertyChange): Fix early exit condition.
3857 * javax/swing/plaf/basic/BasicLabelUI.java:
3858 (paint): Avoid painting text if it is null
3860 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3863 2004-05-03 Olga Rodimina <rodimina@redhat.com>
3865 * Makefile.am: Added new file.
3866 * Makefile.in: Regenerate.
3867 * javax/swing/JPopupMenu.java:
3868 Started implementation.
3869 * javax/swing/JWindow.java
3870 (JWindow): call super() if parent for window
3872 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3873 New File. UI Delegate for JPopupMenu.
3875 2004-04-30 Olga Rodimina <rodimina@redhat.com>
3877 * javax/swing/JApplet.java: Indicated that JApplet
3878 implements RootPaneContainer and made method of this
3880 * javax/swing/JFrame.java: Ditto.
3881 * javax/swing/JWindow.java: Ditto.
3883 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
3885 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3886 (nativeSetBounds): Call gdk_window_move in addition to
3889 * java/applet/Applet.java (preferredSize): Call parent's
3890 preferredSize if the applet stub is null.
3891 (minimumSize): Likewise for parent's minimumSize.
3893 2004-04-27 Olga Rodimina <rodimina@redhat.com>
3895 * javax/swing/JMenuItem.java
3896 (createActionPropertyChangeListener): Implemented.
3897 (processMouseEvent): Ditto.
3898 (fireMenuDragMouseEntered): Ditto.
3899 (fireMenuDragMouseExited): Ditto.
3900 (fireMenuDragMouseDragged): Ditto.
3901 (fireMenuDragMouseReleased): Ditto.
3902 (menuSelectionChanged): Ditto.
3903 (getSubElements): Ditto.
3904 (getComponent): Ditto.
3905 (addMenuDragMouseListener): Ditto.
3906 (removeMenuDragMouseListener):Ditto.
3907 (addMenuKeyListener): Ditto.
3908 (removeMenuKeyListener): Ditto.
3909 * javax/swing/plaf/basic/BasicMenuItemUI.java
3910 (doClick): Imlemented.
3911 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
3912 Don't handle mouse events here. Pass them to
3913 MenuSelectionManager.
3915 2004-04-26 Olga Rodimina <rodimina@redhat.com>
3916 Used correct version of jalopy configuration
3917 file to fix style in the files below.
3919 2004-04-26 Olga Rodimina <rodimina@redhat.com>
3921 * javax/swing/JCheckBoxMenuItem.java:
3922 Fixed style and removed unnecessary comments.
3923 * javax/swing/JMenuItem.java: Ditto.
3924 * javax/swing/JRadioButtonMenuItem.java: Ditto.
3925 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
3926 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
3927 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
3929 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3931 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
3934 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
3936 * java/awt/ContainerOrderFocusTraversalPolicy.java
3937 (getComponentAfter): Start from current component and work up
3938 the component hierarchy until an acceptable component is found.
3939 Synchronize on tree lock.
3940 (getComponentBefore): Likewise.
3942 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3944 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
3945 focus-related debugging messages.
3946 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
3947 * java/awt/EventDispatchThread.java: Likewise.
3948 * java/awt/KeyboardFocusManager.java: Likewise.
3949 * java/awt/Window.java: Likewise.
3950 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
3951 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
3953 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
3954 new C++-style comments to C-style comments.
3955 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
3957 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3958 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3959 (handleEvent): Dispatch key press and key release events to
3961 (requestFocus): Post a FOCUS_GAINED event to the event queue.
3962 (gtkWidgetRequestFocus): New method.
3963 (gtkWidgetDispatchKeyEvent): Likewise.
3964 * java/awt/Component.java (requestFocus, requestFocus(boolean),
3965 requestFocusInWindow, requestFocusInWindow(boolean),
3966 getFocusCycleRootAncestor, nextFocus, transferFocus,
3967 transferFocusBackward, transferFocusUpCycle, hasFocus,
3968 isFocusOwner): Implement and document focus-handling methods.
3969 (setFocusTraversalKeys): Inherit focus traversal keys when
3970 keystrokes argument is null. Fix focus-handling documentation
3972 * java/awt/Container.java (setFocusTraversalKeys,
3973 getFocusTraversalKeys, areFocusTraversalKeysSet,
3974 isFocusCycleRoot, setFocusTraversalPolicy,
3975 getFocusTraversalPolicy, isFocusTraversalPolicySet,
3976 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
3977 Implement and document focus-handling methods.
3978 (transferFocusBackward): Remove method.
3979 (readObject, writeObject): Implement and document serialization
3981 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
3983 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
3985 * java/awt/DefaultKeyboardFocusManager.java: Implement and
3987 * java/awt/EventDispatchThread.java (run): Set default keyboard
3988 focus manager. Attempt to dispatch each event to the keyboard
3989 focus manager before normal dispatch.
3990 * java/awt/KeyboardFocusManager.java: Implement and partially
3992 * java/awt/Window.java (Window): Set focusCycleRoot to true.
3993 (show): Focus initial component when window is shown for the
3995 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3996 (pre_event_handler): Replace complex key press and key release
3997 logic with simple callbacks into GtkComponentPeer.
3998 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
4000 2004-04-21 Olga Rodimina <rodimina@redhat.com>
4002 * javax/swing/MenuSelectionManager.java
4003 (componentForPoint): Added new method.
4004 (defaultManager): New Method. Implemented.
4005 (getSelectedPath): Ditto.
4006 (isComponentPartOfCurrentMenu): Ditto.
4007 (processKeyEvent): Added new method.
4008 (processMouseEvent): New Method. Implemented.
4009 (setSelectedPath): Ditto.
4012 2004-04-19 Kim Ho <kho@redhat.com>
4014 * java/awt/Container.java:
4015 (remove): Set the component's parent to null.
4016 (getComponentAt): Implement.
4017 * javax/swing/JComponent.java:
4018 (JComponent): Initialize defaultLocale
4019 (getDefaultLocale): Implement.
4020 (setDefaultLocale): ditto.
4021 * javax/swing/JSlider.java:
4022 (JSlider): Fix calculation of value.
4023 * javax/swing/JSplitPane.java: Implement.
4024 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4025 Change SplitPane's default divider size.
4026 * javax/swing/plaf/basic/BasicScrollBarUI.java:
4027 (paint): Remove unused code.
4028 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
4029 Added comments and ran through jalopy.
4030 (setBasicSplitPaneUI): Get reference to hidden divider
4031 and set up one touch buttons if necessary.
4032 (setBorder): Fire propertyChangeEvent only if
4033 borders are different.
4034 (getPreferredSize): Defer to layout manager.
4035 (propertyChange): Implement.
4036 (oneTouchExpandableChanged): ditto.
4037 (createLeftOneTouchButton): Use BasicArrowButton.
4038 (createRightOneTouchButton): ditto.
4039 (moveDividerTo): New method. Moves the divider
4040 to a set location based on the last divider location.
4041 (BasicSplitPaneDivider::MouseHandler): Implement.
4042 (BasicSplitPaneDivider::OneTouchButton): Removed.
4043 (BasicSplitPaneDivider::DragController): Implement.
4044 (BasicSplitPaneDivider::VerticalDragController):
4046 (BasicSplitPaneDivider::DividerLayout): ditto.
4047 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
4048 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
4049 (calculateLayoutInfo): Don't show component if it's
4051 (paintTab): Fix title paint logic.
4053 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
4056 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
4057 (setStartRule,setEndRule): Don't take abs of day number.
4058 (getOffset): Clarify docs. Add argument checks.
4059 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
4060 (equals,hasSameRules,toString,readObject): Use startTimeMode and
4062 * testsuite/libjava.mauve/xfails
4063 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
4065 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
4067 Layout interfaces during preparation, not initialization.
4068 * java/lang/natClass.cc (initializeClass): Move
4069 _Jv_LayoutInterfaceMethods call...
4070 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
4072 2004-05-19 Anthony Green <green@localhost.localdomain>
4074 * Makefile.am (awt_java_source_files): Remove javax.rmi and
4076 * Makefile.in: Rebuilt.
4077 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
4078 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
4079 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
4080 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
4081 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
4082 gnu/javax/rmi/CORBA/DelegateFactory.java,
4083 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
4084 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
4085 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
4086 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
4087 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
4088 gnu/javax/rmi/PortableServer.java: Remove files.
4090 2004-05-19 Anthony Green <green@redhat.com>
4092 * Makefile.am: Define JAVA_EXT_DIRS.
4093 * Makefile.in: Rebuilt.
4094 * java/lang/natRuntime.cc (insertSystemProperties): Set
4095 java.ext.dirs property.
4097 2004-05-16 Mark Wielaard <mark@klomp.org>
4099 * java/io/Writer.java (Writer(Object)): Check for null lock object.
4101 2004-05-15 Mark Wielaard <mark@klomp.org>
4103 * doc/cni.sgml: Removed, merged into gcj.texi.
4105 2004-05-15 Mark Wielaard <mark@klomp.org>
4107 * Makefile.am (ordinary_java_source_files): Add new javax.print
4109 * Makefile.in: Regenerated.
4111 2004-05-15 Michael Koch <konqueror@gmx.de>
4113 * javax/print/attribute/standard/DateTimeAtCompleted.java,
4114 javax/print/attribute/standard/DateTimeAtCreation.java,
4115 javax/print/attribute/standard/DateTimeAtProcessing.java,
4116 javax/print/attribute/standard/DocumentName.java,
4117 javax/print/attribute/standard/JobHoldUntil.java,
4118 javax/print/attribute/standard/JobImpressionsCompleted.java,
4119 javax/print/attribute/standard/JobMessageFromOperator.java,
4120 javax/print/attribute/standard/JobName.java,
4121 javax/print/attribute/standard/JobOriginatingUserName.java,
4122 javax/print/attribute/standard/JobPriority.java,
4123 javax/print/attribute/standard/JobPrioritySupported.java,
4124 javax/print/attribute/standard/NumberOfInterveningJobs.java,
4125 javax/print/attribute/standard/OutputDeviceAssigned.java,
4126 javax/print/attribute/standard/PrinterInfo.java,
4127 javax/print/attribute/standard/PrinterLocation.java,
4128 javax/print/attribute/standard/PrinterMakeAndModel.java,
4129 javax/print/attribute/standard/PrinterMessageFromOperator.java,
4130 javax/print/attribute/standard/PrinterName.java,
4131 javax/print/attribute/standard/QueuedJobCount.java,
4132 javax/print/attribute/standard/RequestingUserName.java:
4133 Fixed javadocs all over.
4135 2004-05-15 Michael Koch <konqueror@gmx.de>
4137 * javax/print/DocFlavor.java,
4138 javax/print/attribute/standard/ColorSupported.java,
4139 javax/print/attribute/standard/Compression.java,
4140 javax/print/attribute/standard/CopiesSupported.java,
4141 javax/print/attribute/standard/Fidelity.java,
4142 javax/print/attribute/standard/Finishings.java,
4143 javax/print/attribute/standard/JobImpressionsSupported.java,
4144 javax/print/attribute/standard/JobKOctetsSupported.java,
4145 javax/print/attribute/standard/JobMediaSheetsSupported.java,
4146 javax/print/attribute/standard/JobSheets.java,
4147 javax/print/attribute/standard/JobState.java,
4148 javax/print/attribute/standard/JobStateReason.java,
4149 javax/print/attribute/standard/JobStateReasons.java,
4150 javax/print/attribute/standard/Media.java,
4151 javax/print/attribute/standard/MediaSizeName.java,
4152 javax/print/attribute/standard/MultipleDocumentHandling.java,
4153 javax/print/attribute/standard/NumberUpSupported.java,
4154 javax/print/attribute/standard/OrientationRequested.java,
4155 javax/print/attribute/standard/PDLOverrideSupported.java,
4156 javax/print/attribute/standard/PageRanges.java,
4157 javax/print/attribute/standard/PresentationDirection.java,
4158 javax/print/attribute/standard/PrintQuality.java,
4159 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
4160 javax/print/attribute/standard/PrinterMoreInfo.java,
4161 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
4162 javax/print/attribute/standard/PrinterResolution.java,
4163 javax/print/attribute/standard/PrinterState.java,
4164 javax/print/attribute/standard/PrinterStateReason.java,
4165 javax/print/attribute/standard/PrinterStateReasons.java,
4166 javax/print/attribute/standard/PrinterURI.java,
4167 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
4168 javax/print/attribute/standard/Severity.java,
4169 javax/print/attribute/standard/SheetCollate.java,
4170 javax/print/attribute/standard/Sides.java:
4171 Added serialVersionUID and removed final keyword where it doenst
4174 2004-05-15 Michael Koch <konqueror@gmx.de>
4176 * javax/print/PrintServiceLookup.java: New file.
4178 2004-05-15 Michael Koch <konqueror@gmx.de>
4180 * javax/print/DocFlavor.java:
4181 Implemented all flavor classes.
4183 2004-05-15 Michael Koch <konqueror@gmx.de>
4185 * javax/print/attribute/standard/ColorSupported.java,
4186 javax/print/attribute/standard/Compression.java,
4187 javax/print/attribute/standard/CopiesSupported.java,
4188 javax/print/attribute/standard/Fidelity.java,
4189 javax/print/attribute/standard/Finishings.java,
4190 javax/print/attribute/standard/JobImpressionsSupported.java,
4191 javax/print/attribute/standard/JobKOctetsSupported.java,
4192 javax/print/attribute/standard/JobMediaSheetsSupported.java,
4193 javax/print/attribute/standard/JobSheets.java,
4194 javax/print/attribute/standard/JobState.java,
4195 javax/print/attribute/standard/JobStateReason.java,
4196 javax/print/attribute/standard/JobStateReasons.java,
4197 javax/print/attribute/standard/Media.java,
4198 javax/print/attribute/standard/MediaSizeName.java,
4199 javax/print/attribute/standard/MultipleDocumentHandling.java,
4200 javax/print/attribute/standard/NumberUpSupported.java,
4201 javax/print/attribute/standard/OrientationRequested.java,
4202 javax/print/attribute/standard/PDLOverrideSupported.java,
4203 javax/print/attribute/standard/PageRanges.java,
4204 javax/print/attribute/standard/PresentationDirection.java,
4205 javax/print/attribute/standard/PrintQuality.java,
4206 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
4207 javax/print/attribute/standard/PrinterMoreInfo.java,
4208 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
4209 javax/print/attribute/standard/PrinterResolution.java,
4210 javax/print/attribute/standard/PrinterState.java,
4211 javax/print/attribute/standard/PrinterStateReason.java,
4212 javax/print/attribute/standard/PrinterStateReasons.java,
4213 javax/print/attribute/standard/PrinterURI.java,
4214 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
4215 javax/print/attribute/standard/Severity.java,
4216 javax/print/attribute/standard/SheetCollate.java,
4217 javax/print/attribute/standard/Sides.java: New files.
4219 2004-05-15 Michael Koch <konqueror@gmx.de>
4221 * javax/print/Doc.java
4222 (getPrintData): Throws IOException.
4223 (getReaderForText): Likewise.
4224 (getStreamForBytes): Likewise.
4225 * javax/print/DocFlavor.java:
4226 Fixed filename in copyright.
4227 (serialVersionUID): New field.
4228 * javax/print/ServiceUIFactory.java:
4229 Made all constants final.
4230 * javax/print/AttributeException.java
4231 javax/print/MultiDoc.java
4232 javax/print/MultiDocPrintJob.java
4233 javax/print/MultiDocPrintService.java
4234 javax/print/StreamPrintService.java
4235 javax/print/URIException.java: New files.
4236 * javax/print/Makefile.am
4237 (EXTRA_DIST): Added all new files.
4239 2004-05-15 Michael Koch <konqueror@gmx.de>
4241 * javax/print/attribute/standard/Copies.java,
4242 javax/print/attribute/standard/DateTimeAtCompleted.java,
4243 javax/print/attribute/standard/DateTimeAtCreation.java,
4244 javax/print/attribute/standard/DateTimeAtProcessing.java,
4245 javax/print/attribute/standard/DocumentName.java,
4246 javax/print/attribute/standard/JobHoldUntil.java,
4247 javax/print/attribute/standard/JobImpressions.java,
4248 javax/print/attribute/standard/JobImpressionsCompleted.java,
4249 javax/print/attribute/standard/JobKOctets.java,
4250 javax/print/attribute/standard/JobKOctetsProcessed.java,
4251 javax/print/attribute/standard/JobMediaSheets.java,
4252 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
4253 javax/print/attribute/standard/JobMessageFromOperator.java,
4254 javax/print/attribute/standard/JobName.java,
4255 javax/print/attribute/standard/JobOriginatingUserName.java,
4256 javax/print/attribute/standard/JobPriority.java,
4257 javax/print/attribute/standard/JobPrioritySupported.java,
4258 javax/print/attribute/standard/NumberOfDocuments.java,
4259 javax/print/attribute/standard/NumberOfInterveningJobs.java,
4260 javax/print/attribute/standard/NumberUp.java,
4261 javax/print/attribute/standard/OutputDeviceAssigned.java,
4262 javax/print/attribute/standard/PagesPerMinute.java,
4263 javax/print/attribute/standard/PagesPerMinuteColor.java:
4264 Fixed @return tag all over.
4266 2004-05-15 Michael Koch <konqueror@gmx.de>
4268 * javax/print/attribute/AttributeSetUtilities.java
4269 (verifyCategoryForValue): Fixed typo in javadoc.
4270 * javax/print/attribute/HashAttributeSet.java
4271 (containsKey): Fixed @return tag.
4272 (comtainsValue): Likewise.
4274 * javax/print/attribute/IntegerSyntax.java
4276 * javax/print/attribute/ResolutionSyntax.java
4278 (getCrossFeedResolution): Removed unused code.
4279 (getFeedResolution): Likewise.
4280 * javax/print/attribute/SetOfIntegerSyntax.java
4281 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
4282 (equals): Fixed @return tag.
4283 * javax/print/attribute/TextSyntax.java
4284 (TextSyntax): Take locale into account.
4285 (hashCode): Better implementation.
4287 2004-05-15 Michael Koch <konqueror@gmx.de>
4289 * javax/print/CancelablePrintJob.java,
4290 javax/print/Doc.java,
4291 javax/print/DocFlavor.java,
4292 javax/print/DocPrintJob.java,
4293 javax/print/FlavorException.java,
4294 javax/print/PrintException.java,
4295 javax/print/PrintService.java,
4296 javax/print/ServiceUIFactory.java: New files.
4298 2004-05-15 Mark Wielaard <mark@klomp.org>
4300 * gnu/regexp/CharIndexedReader.java: Removed.
4301 * gnu/regexp/REFilterReader.java: Likewise.
4302 * gnu/regexp/RETokenLookAhead.java: Likewise.
4303 * Makefile.am (ordinary_java_source_files): Remove above classes.
4304 * Makefile.in: Regenerated.
4306 2004-05-14 Tom Tromey <tromey@redhat.com>
4308 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
4309 not `XGraphicsConfiguration.XOffScreenImage'.
4311 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
4313 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
4315 2004-05-14 Steven Augart <augart@watson.ibm.com>
4317 * include/jni.h (_Jv_func): Removed.
4318 (struct JNINativeInterface): Use `void *' for reserved slots.
4319 (struct JNIInvokeInterface): Likewise.
4321 2004-05-11 Michael Koch <konqueror@gmx.de>
4323 * gnu/java/net/natPlainSocketImplPosix.cc
4324 (read): Fixed typo in expression.
4326 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
4328 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
4329 ld_library_additions. Adjust all calls to libjava_invoke to match
4332 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
4333 path to cxxflagslist.
4334 Pass path of libstdc++ to libjava_invoke.
4336 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
4337 libjava_invoke arguments.
4339 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
4341 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
4344 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
4346 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
4347 main binary against the JNI shared library.
4349 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
4351 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
4352 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
4353 (SimpleTimeZone): Tweak docs. Add new variation.
4354 (setStartRule,setEndRule): Add new variations. Use
4355 startTimeMode and endTimeMode.
4357 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
4359 * java/util/Calendar.java (getActualMinimum,
4360 getActualMaximum): Remove abstract. Implement.
4362 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
4364 Run the jni tests using the interpreter.
4365 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
4366 options_cxx to shared lib compile command.
4367 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
4368 they are used to link the shared lib, not the main binary.
4369 Use libjava_invoke to run gij.
4371 2004-05-06 Michael Koch <konqueror@gmx.de>
4373 * java/util/logging/Level.java
4374 (parse): Use == instead of String.equals().
4376 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
4378 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
4379 verify_field_signature and verify_method_signature, not
4380 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
4381 (_Jv_ClassReader::handleField): Likewise.
4382 (_Jv_ClassReader::handleMethod): Likewise.
4384 2004-05-06 Michael Koch <konqueror@gmx.de>
4386 * javax/swing/table/TableColumn.java:
4389 2004-05-06 Michael Koch <konqueror@gmx.de>
4391 * javax/imageio/spi/ImageReaderWriterSpi.java
4392 (ImageReaderWriterSpi): Made it public.
4393 * javax/imageio/stream/ImageInputStream.java:
4396 2004-05-06 Michael Koch <konqueror@gmx.de>
4398 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4401 2004-05-06 Michael Koch <konqueror@gmx.de>
4403 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
4404 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
4406 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
4407 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
4408 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
4409 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
4410 their own source file.
4411 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4412 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
4413 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
4414 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
4415 (create): Define variable on top of function.
4416 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
4417 (menu_pos): Prototyped.
4418 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4419 (setTitle): Removed.
4420 * jni/gtk-peer/gthread-jni.c
4421 (gdk_threads_wake): Removed.
4422 * Makefile.am (gtk_c_source_files): Added new files
4423 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
4424 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
4425 * Makefile.in: Regenerated.
4427 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
4429 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
4432 2004-05-05 Mark Wielaard <mark@klomp.org>
4434 * javax/swing/AbstractButton.java: Replace special HTML entities with
4436 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
4437 * javax/swing/DefaultButtonModel.java: Likewise.
4438 * javax/swing/DefaultListModel.java: Likewise.
4439 * javax/swing/JList.java: Likewise.
4440 * javax/swing/JSlider.java: Likewise.
4441 * javax/swing/ListModel.java: Likewise.
4442 * javax/swing/Popup.java: Likewise.
4443 * javax/swing/SwingUtilities.java: Likewise.
4445 2004-05-05 Michael Koch <konqueror@gmx.de>
4447 * javax/swing/AbstractButton.java,
4448 javax/swing/ActionMap.java,
4449 javax/swing/DefaultButtonModel.java,
4450 javax/swing/DefaultListModel.java,
4451 javax/swing/ImageIcon.java,
4452 javax/swing/JComboBox.java,
4453 javax/swing/JComponent.java,
4454 javax/swing/JFrame.java,
4455 javax/swing/JInternalFrame.java,
4456 javax/swing/JMenuBar.java,
4457 javax/swing/JMenuItem.java,
4458 javax/swing/JOptionPane.java,
4459 javax/swing/JProgressBar.java,
4460 javax/swing/JRootPane.java,
4461 javax/swing/JScrollBar.java,
4462 javax/swing/JScrollPane.java,
4463 javax/swing/JSeparator.java,
4464 javax/swing/JSlider.java,
4465 javax/swing/JTabbedPane.java,
4466 javax/swing/JTable.java,
4467 javax/swing/JTextField.java,
4468 javax/swing/JToolBar.java,
4469 javax/swing/JToolTip.java,
4470 javax/swing/JTree.java,
4471 javax/swing/JViewport.java,
4472 javax/swing/JWindow.java,
4473 javax/swing/KeyStroke.java,
4474 javax/swing/LookAndFeel.java,
4475 javax/swing/SwingUtilities.java,
4476 javax/swing/Timer.java,
4477 javax/swing/ToolTipManager.java,
4478 javax/swing/UIDefaults.java,
4479 javax/swing/border/TitledBorder.java,
4480 javax/swing/filechooser/FileSystemView.java,
4481 javax/swing/plaf/basic/BasicButtonListener.java,
4482 javax/swing/plaf/basic/BasicButtonUI.java,
4483 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4484 javax/swing/plaf/basic/BasicGraphicsUtils.java,
4485 javax/swing/plaf/basic/BasicLabelUI.java,
4486 javax/swing/plaf/basic/BasicMenuItemUI.java,
4487 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4488 javax/swing/plaf/basic/BasicRootPaneUI.java,
4489 javax/swing/plaf/basic/BasicScrollBarUI.java,
4490 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4491 javax/swing/plaf/basic/BasicSliderUI.java,
4492 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4493 javax/swing/plaf/basic/BasicToggleButtonUI.java,
4494 javax/swing/table/JTableHeader.java,
4495 javax/swing/text/AbstractDocument.java,
4496 javax/swing/text/DefaultCaret.java,
4497 javax/swing/text/StyledEditorKit.java,
4498 javax/swing/tree/DefaultTreeCellEditor.java:
4501 2004-05-05 Michael Koch <konqueror@gmx.de>
4503 * java/util/prefs/AbstractPreferences.java
4504 (AbstractPreferences): Added parenthesis for clarity.
4505 Closes classpath bug #7940.
4507 2004-05-05 Tom Tromey <tromey@redhat.com>
4509 * javax/naming/CompoundName.java (endsWith): Look at correct
4510 element of source name.
4512 2004-05-05 Mark Wielaard <mark@klomp.org>
4514 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
4515 * java/util/HashMap.java (rehash): Add entry at start of bucket.
4517 2004-05-05 Tom Tromey <tromey@redhat.com>
4519 * java/io/BufferedReader.java (skip): Removed unused
4522 2004-05-05 Michael Koch <konqueror@gmx.de>
4524 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
4526 2004-05-05 Dalibor Topic <robilad@kaffe.org>
4528 * java/text/AttributedString.java,
4529 java/text/AttributedStringIterator.java,
4530 java/text/Collator.java,
4531 java/text/DecimalFormatSymbols.java,
4532 java/text/NumberFormat.java,
4533 java/text/RuleBasedCollator.java:
4536 2004-05-05 Tom Tromey <tromey@redhat.com>
4538 * java/text/Format.java: Cleaned up imports.
4539 * java/text/DecimalFormat.java: Cleaned up imports.
4540 * java/security/SecureRandom.java: Cleaned up imports.
4541 (SecureRandom): Removed unused variable.
4542 * java/security/UnresolvedPermission.java: Cleaned up imports.
4543 * java/util/Date.java (parse): Removed unused variable.
4544 * java/util/ResourceBundle.java: Cleaned up imports.
4545 (getBundle): Removed unused variable.
4546 (tryBundle): Likewise.
4547 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
4549 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
4551 * java/text/SimpleDateFormat.java:
4552 (formatWithAttribute): New method. It implements
4553 the formatting process with attributes.
4554 (format): Use formatWithAttribute.
4555 (formatToCharacterIterator): New method. Use
4556 formatWithAttribute.
4558 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
4560 * java/text/MessageFormat.java:
4561 (class Field): New class.
4562 (formatToCharacterIterator): New method.
4563 (format): Use formatInternal now.
4564 (formatInternal): New method. String formatter should
4565 be done here (with attributes). Attributes merging supported.
4566 (parse): More documentation.
4567 (getFormatsByArgumentIndex): New method.
4568 (setFormatByArgumentIndex): New method.
4569 (setFormatsByArgumentIndex): New method.
4571 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
4573 * java/text/DecimalFormat.java
4574 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
4575 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
4576 (parse): Fixed handling of exponentiation notation and grouping.
4578 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
4580 * java/text/DecimalFormat.java
4581 (scanFix): Build attribute array. Fixed error reporting.
4582 (applyPatternWithSymbols): Store attributes for the prefix and
4584 (formatInternal): New method. Changed the way the string is
4585 computed. Implemented attributes. Cleant up rounding in
4586 exponential notation.
4587 (format): Use formatInternal.
4588 (formatToCharacterIterator): New method.
4589 (exponentRound, negativePrefixRanges, positivePrefixRanges,
4590 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
4591 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
4594 2004-05-04 Dalibor Topic <robilad@kaffe.org>
4596 * java/security/interfaces/DSAKeyPairGenerator.java,
4597 java/security/interfaces/DSAPrivateKey.java,
4598 java/security/interfaces/DSAPublicKey.java,
4599 java/security/interfaces/RSAPrivateKey.java,
4600 java/security/interfaces/RSAPublicKey.java:
4603 2004-05-04 Michael Koch <konqueror@gmx.de>
4605 * java/nio/ByteBuffer.java,
4606 java/nio/CharBuffer.java,
4607 java/nio/DoubleBuffer.java,
4608 java/nio/FloatBuffer.java,
4609 java/nio/IntBuffer.java,
4610 java/nio/LongBuffer.java,
4611 java/nio/ShortBuffer.java:
4612 (compareTo): Fixed bogus implementation in all buffer classes.
4614 2004-05-04 Ingo Proetel <proetel@aicas.com>
4616 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
4617 32 bit pixels not 8 bit pixels.
4618 (isCompatibleRaster): Added javadoc comment.
4620 2004-05-04 Ingo Proetel <proetel@aicas.com>
4622 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
4625 2004-05-04 Ingo Proetel <proetel@aicas.com>
4627 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
4628 (getColorModel): Return the actual color model.
4629 (getRaster): Implemented.
4630 (ColorRaster): New inner class.
4631 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
4633 * java/awt/Color.java (<init>): Make exception more verbose.
4634 (createContext): Use ColorModel when creating a PaintContext.
4636 2004-05-04 Michael Koch <konqueror@gmx.de>
4638 * gnu/java/text/CharacterBreakIterator.java
4639 (previous): Removed unused variable.
4641 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
4643 * gnu/java/text/FormatBuffer.java,
4644 gnu/java/text/AttributedFormatBuffer.java,
4645 gnu/java/text/StringFormatBuffer.java: New classes to implement
4646 attributed iterators in java.text.
4647 * gnu/java/text/FormatCharacterIterator.java: Moved
4648 from java/text as it is an internal class.
4649 * java/text/FormatCharacterIterator.java: Removed.
4650 * java/text/Format.java:
4651 Import gnu.java.text.FormatCharacterIterator.
4652 * Makefile.am (java_source_files): Added new files.
4653 * Makefile.in: Regenerated.
4656 2004-05-04 Mark Wielaard <mark@klomp.org>
4658 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
4660 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
4662 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
4663 * Makefile.in: Rebuilt.
4665 2004-05-03 Mark Wielaard <mark@klomp.org>
4667 * gnu/java/security/der/DERReader.java: Call static methods staticly.
4668 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
4670 (set(String, String, int, String, String, String, String, String)):
4671 Assign this.file to path or path + "?" + query.
4672 * java/util/Arrays.java: Call static methods staticly.
4673 * java/util/zip/ZipEntry.java: Likewise.
4674 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
4675 dir to this.direction.
4676 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
4677 Assign static field only once.
4678 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
4680 2004-05-03 Mark Wielaard <mark@klomp.org>
4682 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
4683 unused variables hScrollbarHeight and vScrollbarWidth.
4684 (preferredSize): Likewise.
4685 * gnu/java/security/provider/DSAParameters.java (engineToString):
4686 Removed unused call to System.getProperty("line.seperator");
4687 * java/security/Security.java (loadProviders): Return result.
4689 2004-05-03 Tom Tromey <tromey@redhat.com>
4691 * java/net/URLStreamHandler.java (toExternalForm): Removed
4694 * java/math/BigDecimal.java (divide): Removed unused variable.
4695 * java/lang/Throwable.java: Cleaned up imports.
4696 * java/lang/ClassLoader.java: Cleaned up imports.
4697 * java/io/FilePermission.java (implies): Removed unused
4699 * java/awt/TextComponent.java: Removed unused import.
4700 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
4701 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
4702 * gnu/java/text/WordBreakIterator.java: Removed unused import.
4703 * gnu/java/text/SentenceBreakIterator.java: Removed unused
4705 * gnu/java/text/LineBreakIterator.java: Removed unused import.
4706 * gnu/java/text/CharacterBreakIterator.java: Removed
4708 * gnu/java/security/provider/DSAKeyPairGenerator.java:
4710 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
4711 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
4713 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
4714 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
4715 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
4716 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
4717 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
4718 (lookupProviders): Removed unused variable.
4719 (loadNextServiceProvider): Likewise.
4720 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
4722 2004-05-03 Michael Koch <konqueror@gmx.de>
4724 Fixes PR libgcj/14695:
4725 * java/net/NetworkInterface.java
4726 (getByName): Return null when no interface was found.
4728 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
4729 Tom Tromey <tromey@redhat.com>
4731 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
4732 additional option "-Wmissing-prototypes" for compiling C sources.
4733 Print actual filename for pass/fail rather than $name.c.
4734 * testsuite/libjava.jni/PR15133.java: New testcase file.
4735 * testsuite/libjava.jni/PR15133.c: Likewise.
4736 * testsuite/libjava.jni/PR15133.out: Likewise.
4738 2004-04-30 Roger Sayle <roger@eyesopen.com>
4740 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
4743 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
4745 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
4746 limit the maximum heap size to avoid unnecessary thrashing.
4748 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
4750 * java/text/CollationElementIterator.java (reset): Reset
4751 lookahead variables.
4753 2004-04-23 Mark Wielaard <mark@klomp.org>
4755 * jni/classpath/jcl.c: Changed C++ comments into C comments.
4757 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4759 * java/sql/DriverManager.java:
4762 2004-04-23 Michael Koch <konqueror@gmx.de>
4765 (hashcode): Don't initialize with default value explicitely.
4766 (getContent): Removed redundant "final" keyword.
4767 (openStream): Likewise.
4768 (getURLStreamHandler): Fixed coding style.
4769 * java/net/URLConnection.java
4770 (defaultAllowUserInteraction): Don't initialize with default value
4772 (connected): Likewise.
4773 (doOutput): Likewise.
4774 (ifModifiedSince): Likewise.
4775 (dateformats_initialized): Likewise.
4776 (setURLStreamHander): Use StreamTokenizer where it belongs to.
4778 2004-04-23 Michael Koch <konqueror@gmx.de>
4780 * gnu/java/nio/channels/FileChannelImpl.java
4781 (SET, CUR): Unused, removed.
4782 (read): Implement here directly.
4783 (implRead): Removed.
4784 (write): Implement here directly.
4785 (implWrite): Removed.
4787 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4789 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
4790 javax/rmi/CORBA/Stub.java,
4791 javax/rmi/CORBA/Util.java,
4792 javax/rmi/CORBA/ValueHandler.java,
4793 javax/rmi/CORBA/ValueHandler.java,
4794 javax/rmi/PortableRemoteObject.java:
4797 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4799 * java/util/jar/JarFile.java,
4800 java/util/jar/JarInputStream.java,
4801 java/util/jar/JarOutputStream.java,
4802 java/util/jar/Manifest.java:
4805 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4807 * java/util/ArrayList.java,
4808 java/util/Calendar.java,
4809 java/util/Currency.java,
4810 java/util/HashMap.java,
4811 java/util/HashSet.java,
4812 java/util/Hashtable.java,
4813 java/util/LinkedList.java,
4814 java/util/Properties.java,
4815 java/util/PropertyPermission.java,
4816 java/util/TimeZone.java,
4817 java/util/TreeMap.java,
4818 java/util/TreeSet.java,
4819 java/util/Vector.java,
4820 java/util/WeakHashMap.java:
4823 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4825 * java/util/logging/FileHandler.java,
4826 java/util/logging/Formatter.java,
4827 java/util/logging/Handler.java,
4828 java/util/logging/Logger.java,
4829 java/util/logging/SimpleFormatter.java,
4830 java/util/logging/XMLFormatter.java:
4833 2004-04-22 Mark Wielaard <mark@klomp.org>
4835 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
4836 -Wno-long-long flags variable.
4837 (gtk_c_files): Use PEDANTIC_CFLAGS.
4838 * Makefile.in: Regenerated.
4840 2004-04-22 Mark Wielaard <mark@klomp.org>
4842 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4843 Changed C++ comments into C comments.
4844 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
4847 2004-04-22 Michael Koch <konqueror@gmx.de>
4849 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
4850 Merged copyright year with GNU classpath.
4852 2004-04-22 Dalibor Topic <robilad@kaffe.org>
4854 * javax/security/auth/x500/X500Principal.java:
4857 2004-04-22 Dalibor Topic <robilad@kaffe.org>
4859 * javax/swing/JSlider.java:
4860 Fixed HTML tags in comments.
4862 2004-04-22 Dalibor Topic <robilad@kaffe.org>
4864 * javax/accessibility/AccessibleText.java:
4867 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
4869 * java/net/URLStreamHandler.java
4870 (parseURL): Convert the file path to using '/' instead of native
4873 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
4876 (userInfo): New field.
4877 (URL): Set authority to the right value.
4878 (setURL): Fixed authority and file initialization.
4879 * java/net/URLStreamHandler.java
4880 (parseURL): Take care of the query tag. Build authority.
4881 (toExternalForm): Fixed URL building using authority.
4883 2004-04-22 Michael Koch <konqueror@gmx.de>
4885 * java/net/Socket.java
4886 (impl): Made package-private.
4887 * java/net/ServerSocket.java
4888 (implAccept): Access Socket.impl field directly.
4890 2004-04-22 Dalibor Topic <robilad@kaffe.org>
4892 * java/util/prefs/Preferences.java,
4893 java/util/prefs/InvalidPreferencesFormatException.java,
4894 java/util/prefs/BackingStoreException.java,
4895 java/util/prefs/AbstractPreferences.java:
4898 2004-04-22 Dalibor Topic <robilad@kaffe.org>
4900 * java/util/regex/Matcher.java,
4901 java/util/regex/Pattern.java:
4904 2004-04-22 Michael Koch <konqueror@gmx.de>
4906 * java/nio/charset/IllegalCharsetNameException.java
4907 (charsetName): Made private.
4908 (IllegalCharsetNameException): Added @param tag to javadoc.
4909 (getCharsetName): Added @return tag to javadoc.
4910 * java/nio/charset/MalformedInputException.java
4911 (MalformedInputException): Added @param tag to javadoc.
4912 (getInputLength): Revised method description, added @return tag.
4913 (getMessage): Added @return tag.
4915 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
4917 * java/awt/Font.java (deriveFont): Implement missing variants.
4918 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
4921 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
4923 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
4924 Set method->index values for interface methods to their itable index.
4925 (initializeClass): Call _Jv_LayoutInterfaceMethods.
4927 2004-04-21 Michael Koch <konqueror@gmx.de>
4929 * java/nio/DirectByteBufferImpl.java
4930 (shiftDown): Made static, give address as argument and
4931 provide a convenience method that overwrites shiftDown in
4932 ByteBufferImpl and calls the native shiftDown.
4933 * java/nio/MappedByteBufferImpl.java
4934 (): Use optimized method in DirectByteBufferImpl.
4935 * java/nio/natDirectByteBufferImpl.cc
4936 (shiftDown): Changed method signature. Removed usage of array_offset.
4938 2004-04-21 Michael Koch <konqueror@gmx.de>
4940 * gnu/java/net/natPlainSocketImplPosix.cc
4941 (SocketInputStream::read): Make sure returned data is a byte value.
4943 2004-04-21 Michael Koch <konqueror@gmx.de>
4945 * gnu/classpath/ServiceFactory.java,
4946 gnu/classpath/ServiceProviderLoadingAction.java,
4947 javax/imageio/ImageReader.java,
4948 javax/imageio/ImageTranscoder.java,
4949 javax/imageio/ImageWriter.java,
4950 javax/imageio/package.html,
4951 javax/imageio/spi/IIOServiceProvider.java,
4952 javax/imageio/spi/ImageInputStreamSpi.java,
4953 javax/imageio/spi/ImageOutputStreamSpi.java,
4954 javax/imageio/spi/ImageReaderWriterSpi.java,
4955 javax/imageio/spi/ImageTranscoderSpi.java,
4956 javax/imageio/spi/RegisterableService.java,
4957 javax/imageio/spi/ServiceRegistry.java,
4958 javax/imageio/spi/package.html,
4959 javax/imageio/stream/IIOByteBuffer.java,
4960 javax/imageio/stream/ImageInputStream.java,
4961 javax/imageio/stream/ImageOutputStream.java,
4962 javax/imageio/stream/package.html:
4965 (ordinary_java_source_files): Added
4966 gnu/classpath/ServiceFactory.java and
4967 gnu/classpath/ServiceProviderLoadingAction.java.
4968 (javax_source_files): Added
4969 javax/imageio/ImageReader.java,
4970 javax/imageio/ImageTranscoder.java,
4971 javax/imageio/ImageWriter.java,
4972 javax/imageio/spi/IIOServiceProvider.java,
4973 javax/imageio/spi/ImageInputStreamSpi.java,
4974 javax/imageio/spi/ImageOutputStreamSpi.java,
4975 javax/imageio/spi/ImageReaderWriterSpi.java,
4976 javax/imageio/spi/ImageTranscoderSpi.java,
4977 javax/imageio/spi/RegisterableService.java,
4978 javax/imageio/spi/ServiceRegistry.java,
4979 javax/imageio/stream/IIOByteBuffer.java,
4980 javax/imageio/stream/ImageInputStream.java and
4981 javax/imageio/stream/ImageOutputStream.java.
4982 * Makefile.in: Regenerated.
4984 2004-04-21 Michael Koch <konqueror@gmx.de>
4986 * java/util/Properties.java
4987 (load): Fix wrongly merged fix.
4989 2004-04-21 Mark Wielaard <mark@klomp.org>
4991 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
4992 malloc and free buf.
4994 2004-04-21 Dalibor Topic <robilad@kaffe.org>
4996 * javax/naming/AuthenticationException.java,
4997 javax/naming/AuthenticationNotSupportedException.java,
4998 javax/naming/CannotProceedException.java,
4999 javax/naming/CommunicationException.java,
5000 javax/naming/CompoundName.java,
5001 javax/naming/ConfigurationException.java,
5002 javax/naming/ContextNotEmptyException.java,
5003 javax/naming/InitialContext.java,
5004 javax/naming/InsufficientResourcesException.java,
5005 javax/naming/InterruptedNamingException.java,
5006 javax/naming/LimitExceededException.java,
5007 javax/naming/LinkException.java,
5008 javax/naming/LinkLoopException.java,
5009 javax/naming/LinkRef.java,
5010 javax/naming/MalformedLinkException.java,
5011 javax/naming/Name.java,
5012 javax/naming/NameAlreadyBoundException.java,
5013 javax/naming/NameNotFoundException.java,
5014 javax/naming/NamingSecurityException.java,
5015 javax/naming/NoInitialContextException.java,
5016 javax/naming/NoPermissionException.java,
5017 javax/naming/NotContextException.java,
5018 javax/naming/PartialResultException.java,
5019 javax/naming/ReferralException.java,
5020 javax/naming/ServiceUnavailableException.java,
5021 javax/naming/SizeLimitExceededException.java,
5022 javax/naming/TimeLimitExceededException.java,
5023 javax/naming/directory/Attribute.java,
5024 javax/naming/directory/Attributes.java,
5025 javax/naming/directory/SearchResult.java,
5026 javax/naming/event/NamingExceptionEvent.java,
5027 javax/naming/spi/ResolveResult.java:
5030 2004-04-21 Mark Wielaard <mark@klomp.org>
5032 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5033 Changed C++ comments into C comments. Removed commented out code.
5034 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5036 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5038 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5040 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5042 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5044 * native/jni/gtk-peer/gthread-jni.c:
5047 2004-04-21 Mark Wielaard <mark@klomp.org>
5049 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
5050 static fields defined in interface.
5051 * javax/awt/JDialog.java: Likewise.
5052 (JDialog): Make constructors public.
5053 (getDefaultCloseOperation): Make public.
5054 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
5055 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
5056 * javax/swing/JViewport.java (JViewport): Make constructor public.
5058 2004-04-21 Michael Koch <konqueror@gmx.de>
5060 * java/util/Map.java
5061 (Entry): Removed redundant "static" modifier.
5062 * java/text/AttributedCharacterIterator.java:
5063 Updated copyright year.
5065 2004-04-20 Michael Koch <konqueror@gmx.de>
5067 * javax/naming/directory/SearchControls.java:
5068 Don't explicitely extend java.lang.Object.
5069 * javax/naming/spi/DirStateFactory.java:
5070 Merged copyright year with GNU classpath.
5072 2004-04-20 Michael Koch <konqueror@gmx.de>
5074 * java/nio/channels/Channels.java:
5075 Merged coding style with GNU classpath.
5077 2004-04-20 Michael Koch <konqueror@gmx.de>
5079 * java/net/ServerSocket.java
5080 Merged coding style from GNU classpath.
5082 2004-04-20 Michael Koch <konqueror@gmx.de>
5084 * java/io/BufferedWriter.java:
5085 Reordered variables to be at top of the class.
5086 (localFlush): Removed redundant final keyword.
5088 2004-04-20 Ingo Proetel <proetel@aicas.com>
5090 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
5092 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
5094 * java/text/DecimalFormat.java (scanFix): Removed suffix check
5095 for percent and permill check.
5097 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
5099 * java/text/FieldPosition.java
5100 (FieldPosition) Constructor now behaves as it should according
5101 to the java documentation.
5103 2004-04-20 Mark Wielaard <mark@klomp.org>
5105 * java/util/Properties.java: Use the word umlaut, not ä in api
5108 2004-04-20 Michael Koch <konqueror@gmx.de>
5110 * java/nio/Buffer.java,
5111 java/nio/channels/AlreadyConnectedException.java,
5112 java/nio/channels/AsynchronousCloseException.java,
5113 java/nio/channels/ByteChannel.java,
5114 java/nio/channels/CancelledKeyException.java,
5115 java/nio/channels/Channel.java,
5116 java/nio/channels/Channels.java,
5117 java/nio/channels/ClosedByInterruptException.java,
5118 java/nio/channels/ClosedChannelException.java,
5119 java/nio/channels/ClosedSelectorException.java,
5120 java/nio/channels/ConnectionPendingException.java,
5121 java/nio/channels/DatagramChannel.java,
5122 java/nio/channels/FileChannel.java,
5123 java/nio/channels/FileLock.java,
5124 java/nio/channels/FileLockInterruptionException.java,
5125 java/nio/channels/GatheringByteChannel.java,
5126 java/nio/channels/IllegalBlockingModeException.java,
5127 java/nio/channels/IllegalSelectorException.java,
5128 java/nio/channels/InterruptibleChannel.java,
5129 java/nio/channels/NoConnectionPendingException.java,
5130 java/nio/channels/NonReadableChannelException.java,
5131 java/nio/channels/NonWritableChannelException.java,
5132 java/nio/channels/NotYetBoundException.java,
5133 java/nio/channels/NotYetConnectedException.java,
5134 java/nio/channels/OverlappingFileLockException.java,
5135 java/nio/channels/Pipe.java,
5136 java/nio/channels/ReadableByteChannel.java,
5137 java/nio/channels/ScatteringByteChannel.java,
5138 java/nio/channels/SelectableChannel.java,
5139 java/nio/channels/SelectionKey.java,
5140 java/nio/channels/Selector.java,
5141 java/nio/channels/ServerSocketChannel.java,
5142 java/nio/channels/SocketChannel.java,
5143 java/nio/channels/UnresolvedAddressException.java,
5144 java/nio/channels/UnsupportedAddressTypeException.java,
5145 java/nio/channels/WritableByteChannel.java,
5146 java/nio/channels/spi/AbstractInterruptibleChannel.java,
5147 java/nio/channels/spi/AbstractSelectableChannel.java,
5148 java/nio/channels/spi/AbstractSelectionKey.java,
5149 java/nio/channels/spi/AbstractSelector.java,
5150 java/nio/channels/spi/SelectorProvider.java,
5151 java/nio/charset/spi/CharsetProvider.java:
5152 Fixed javadocs and jalopied all over java.nio.
5154 2004-04-20 Michael Koch <konqueror@gmx.de>
5156 * java/nio/ByteBufferImpl.java,
5157 java/nio/CharBufferImpl.java,
5158 java/nio/DirectByteBufferImpl.java,
5159 java/nio/DoubleBufferImpl.java,
5160 java/nio/DoubleViewBufferImpl.java,
5161 java/nio/FloatBufferImpl.java,
5162 java/nio/FloatViewBufferImpl.java,
5163 java/nio/IntBufferImpl.java,
5164 java/nio/IntViewBufferImpl.java,
5165 java/nio/LongBufferImpl.java,
5166 java/nio/LongViewBufferImpl.java,
5167 java/nio/MappedByteBufferImpl.java,
5168 java/nio/ShortBufferImpl.java,
5169 java/nio/ShortViewBufferImpl.java:
5170 Made sure all classes are final and removed final keyword from all
5173 2004-04-20 Michael Koch <konqueror@gmx.de>
5175 * java/rmi/MarshalledObject.java,
5176 java/rmi/Naming.java,
5177 java/rmi/RemoteException.java,
5178 java/rmi/activation/ActivationException.java,
5179 java/rmi/server/ServerCloneException.java,
5180 java/security/AccessController.java,
5181 java/security/AlgorithmParameterGenerator.java,
5182 java/security/AlgorithmParameters.java,
5183 java/security/CodeSource.java,
5184 java/security/Identity.java,
5185 java/security/IdentityScope.java,
5186 java/security/KeyPairGenerator.java,
5187 java/security/KeyStore.java,
5188 java/security/Security.java,
5189 java/security/Signature.java,
5190 java/security/SignatureSpi.java,
5191 java/security/SignedObject.java,
5192 java/security/spec/DSAParameterSpec.java,
5193 java/security/spec/DSAPrivateKeySpec.java,
5194 java/security/spec/DSAPublicKeySpec.java,
5195 java/sql/Array.java,
5196 java/sql/DatabaseMetaData.java,
5197 java/sql/ResultSet.java,
5198 java/text/ChoiceFormat.java,
5199 java/text/CollationElementIterator.java,
5200 java/text/CollationKey.java,
5201 java/text/Collator.java,
5202 java/text/DateFormat.java,
5203 java/text/DateFormatSymbols.java,
5204 java/text/DecimalFormatSymbols.java,
5205 java/text/Format.java,
5206 java/text/ParsePosition.java,
5207 java/text/RuleBasedCollator.java,
5208 java/text/SimpleDateFormat.java,
5209 java/text/StringCharacterIterator.java,
5210 java/util/Collections.java,
5211 java/util/PropertyResourceBundle.java,
5212 java/util/ResourceBundle.java,
5213 java/util/StringTokenizer.java,
5214 java/util/jar/Attributes.java,
5215 java/util/logging/ConsoleHandler.java,
5216 java/util/logging/LogManager.java,
5217 java/util/logging/MemoryHandler.java,
5218 java/util/logging/SocketHandler.java,
5219 javax/naming/NamingException.java:
5220 Fixed javadoc, coding style and argument names all over.
5222 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
5224 * java/io/FileDescriptor.java: (FileDescriptor) Added public
5225 constructor. (valid) Added null check.
5227 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
5229 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
5230 * java/io/FileOutputStream.java
5231 (FileOutputStream) Reorganized constructors. Constructors now
5232 check whether the given path is directory.
5234 2004-04-20 Michael Koch <konqueror@gmx.de>
5236 * java/net/Authenticator.java,
5237 java/net/BindException.java,
5238 java/net/ConnectException.java,
5239 java/net/ContentHandler.java,
5240 java/net/ContentHandlerFactory.java,
5241 java/net/DatagramPacket.java,
5242 java/net/DatagramSocket.java,
5243 java/net/DatagramSocketImpl.java,
5244 java/net/DatagramSocketImplFactory.java,
5245 java/net/FileNameMap.java,
5246 java/net/HttpURLConnection.java,
5247 java/net/Inet4Address.java,
5248 java/net/Inet6Address.java,
5249 java/net/InetAddress.java,
5250 java/net/InetSocketAddress.java,
5251 java/net/JarURLConnection.java,
5252 java/net/MalformedURLException.java,
5253 java/net/MulticastSocket.java,
5254 java/net/NetPermission.java,
5255 java/net/NetworkInterface.java,
5256 java/net/NoRouteToHostException.java,
5257 java/net/PasswordAuthentication.java,
5258 java/net/PortUnreachableException.java,
5259 java/net/ProtocolException.java,
5260 java/net/ServerSocket.java,
5261 java/net/Socket.java,
5262 java/net/SocketAddress.java,
5263 java/net/SocketException.java,
5264 java/net/SocketImpl.java,
5265 java/net/SocketImplFactory.java,
5266 java/net/SocketOptions.java,
5267 java/net/SocketPermission.java,
5268 java/net/SocketTimeoutException.java,
5270 java/net/URISyntaxException.java,
5272 java/net/URLClassLoader.java,
5273 java/net/URLConnection.java,
5274 java/net/URLDecoder.java,
5275 java/net/URLEncoder.java,
5276 java/net/URLStreamHandler.java,
5277 java/net/URLStreamHandlerFactory.java,
5278 java/net/UnknownHostException.java,
5279 java/net/UnknownServiceException.java:
5280 Fixed javadocs, coding style and argument names all over.
5282 2004-04-20 Michael Koch <konqueror@gmx.de>
5284 * java/lang/Byte.java,
5285 java/lang/CharSequence.java,
5286 java/lang/ClassLoader.java,
5287 java/lang/Compiler.java,
5288 java/lang/Double.java,
5289 java/lang/Float.java,
5290 java/lang/Integer.java,
5291 java/lang/Long.java,
5292 java/lang/Math.java,
5293 java/lang/Number.java,
5294 java/lang/Package.java,
5295 java/lang/Runtime.java,
5296 java/lang/RuntimePermission.java,
5297 java/lang/SecurityManager.java,
5298 java/lang/Short.java,
5299 java/lang/StringBuffer.java,
5300 java/lang/System.java,
5301 java/lang/ThreadGroup.java,
5302 java/lang/Throwable.java,
5303 java/lang/reflect/InvocationHandler.java,
5304 java/lang/reflect/Proxy.java:
5305 Fixed javadocs, coding style and argument names all over.
5307 2004-04-20 Michael Koch <konqueror@gmx.de>
5309 * java/io/BufferedWriter.java,
5310 java/io/ByteArrayInputStream.java,
5311 java/io/CharArrayWriter.java,
5312 java/io/DataInput.java,
5313 java/io/DataInputStream.java,
5315 java/io/FilterInputStream.java,
5316 java/io/InputStream.java,
5317 java/io/InputStreamReader.java,
5318 java/io/ObjectInputStream.java,
5319 java/io/ObjectStreamClass.java,
5320 java/io/PipedInputStream.java,
5321 java/io/PipedReader.java,
5322 java/io/PushbackInputStream.java,
5323 java/io/PushbackReader.java,
5324 java/io/RandomAccessFile.java,
5325 java/io/SerializablePermission.java,
5326 java/io/StreamTokenizer.java,
5327 java/io/StringWriter.java,
5328 java/io/WriteAbortedException.java,
5329 java/io/Writer.java:
5330 Fixed javadocs all over, rename arguments to match javadocs,
5333 2004-04-20 Ingo Proetel <proetel@aicas.com>
5335 * java/awt/FontMetrics.java:
5336 (charsWidth): fixed accumulation of total_width
5337 (getWidth): simple default implementation
5338 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
5339 in Rectangle constructor.
5340 * java/awt/image/Raster.java (toString): Added method.
5341 * java/awt/image/SampleModel.java (<init>): Added error cause
5342 information to thrown exception.
5343 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
5345 (setDataElements): New method.
5346 (setPixels): New method.
5347 (toString): New method.
5349 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
5351 * java/awt/image/ComponentColorModel.java
5352 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
5353 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
5354 Mauve tests on this method. Improved documentation.
5356 2004-04-20 Michael Koch <konqueror@gmx.de>
5358 * javax/swing/JLayeredPane.java,
5359 javax/swing/plaf/BorderUIResource.java,
5360 javax/swing/plaf/ComponentUI.java,
5361 javax/swing/undo/CompoundEdit.java,
5362 javax/swing/undo/StateEdit.java:
5363 Fixed HTML tags in javadocs all over.
5365 2004-04-20 Michael Koch <konqueror@gmx.de>
5367 * javax/print/attribute/EnumSyntax.java
5368 (getOffset): Made protected.
5369 * javax/print/attribute/HashAttributeSet.java
5370 (HashAttributeSet): Likewise.
5371 * javax/print/attribute/ResolutionSyntax.java
5372 (getFeedResolution): Fixed typo in exception name.
5373 (getCrossFeedResolution): Likewise.
5374 * javax/print/attribute/SetOfIntegerSyntax.java
5375 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
5376 * javax/print/attribute/TextSyntax.java
5377 (TextSyntax): Handle locale correctly.
5378 (hashCode): Calc better hashcode value.
5379 (equals): Fixed @return tag.
5380 (toString): New method.
5382 2004-04-20 Michael Koch <konqueror@gmx.de>
5384 * gnu/java/nio/FileLockImpl.java
5385 (static): Removed, not needed anymore.
5386 * gnu/java/nio/channels/FileChannelImpl.java
5387 (FileChannelImpl): Made final.
5388 (mode): Made private.
5389 (READ, WRITE, APPEND): Made public.
5390 (EXCL, SYNC, DSYNC): Likewise.
5391 (static): Load native JNI library, when needed.
5392 (length): Unused, removed.
5393 (available): Made public.
5394 (implPosition): Throws IOException.
5396 (implTruncate): Likewise.
5400 2004-04-20 Michael Koch <konqueror@gmx.de>
5402 * java/awt/AWTPermission.java,
5403 java/awt/Component.java,
5404 java/awt/ComponentOrientation.java,,
5405 java/awt/Dialog.java,
5406 java/awt/FontMetrics.java,
5407 java/awt/Graphics.java,
5408 java/awt/datatransfer/DataFlavor.java,
5409 java/beans/Introspector.java,
5410 java/beans/PropertyEditor.java,
5411 java/beans/PropertyEditorManager.java,
5412 java/beans/beancontext/BeanContextServiceProvider.java:
5413 Fixed HTML tags in javadocs all over.
5415 2004-04-20 Mark Wielaard <mark@klomp.org>
5417 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
5418 MissingResourceException is thrown.
5419 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
5420 null when a MissingResourceException is thrown. Should never happen.
5422 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
5424 * java/awt/image/DataBufferShort.java,
5425 java/awt/image/DataBufferFloat.java,
5426 java/awt/image/DataBufferDouble.java,
5427 java/awt/image/PixelInterleavedSampleModel.java: New files.
5428 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
5429 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
5431 2004-04-20 Michael Koch <konqueror@gmx.de>
5433 * Makefile.am (java_source_files): Added
5434 java/awt/image/DataBufferDouble.java,
5435 java/awt/image/DataBufferFloat.java,
5436 java/awt/image/DataBufferShort.java and
5437 java/awt/image/PixelInterleavedSampleModel.java.
5438 * Makefile.in: Regenerated.
5440 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
5442 * gcj/cni.h (JvAllocObject): Remove these obsolete,
5443 undocumented CNI calls.
5444 * include/java-interp.h (_Jv_InterpClass): No longer
5445 extends java.lang.Class.
5446 * java/lang/Class.h (Class): Add new field `aux_info'.
5447 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
5448 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
5449 Use Class->aux_info instead.
5450 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
5451 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
5452 Use Class->aux_info instead.
5453 * java/io/natObjectInputStream.cc (allocateObject): Use
5455 * java/lang/natClass.cc (newInstance): Likewise.
5456 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
5457 * java/lang/natObject.cc (clone): Likewise.
5458 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
5459 * java/lang/natVMClassLoader.cc (defineClass): Don't use
5460 JvAllocObject. Allocate klass->aux_info here for interpreted
5463 2004-04-17 Mark Wielaard <mark@klomp.org>
5465 * javax/swing/JToggleButton.java (ToggleButtonModel):
5466 Make public static inner class.
5467 * javax/swing/JTabbedPane.java (setComponentAt):
5468 Call Page.setComponent().
5469 (SCROLL_TAB_LAYOUT): Make public, value is 1.
5470 (WRAP_TAB_LAYOUT): Make public, value is 0.
5471 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
5472 Make private static inner class.
5474 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
5476 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
5477 arguments to match new signature. Remove FIXME comments.
5479 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
5481 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
5483 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
5486 2004-04-02 Olga Rodimina <rodimina@redhat.com>
5488 * Makefile.am: Added new file.
5489 * Makefile.in: Regenerate.
5490 * javax/swing/ImageIcon.java:
5491 (ImageIcon(file)): set description of the icon
5493 * javax/swing/JCheckBoxMenuItem.java:
5494 Mostly Implemented. Work in progress.
5495 * javax/swing/JRadioButtonMenuItem.java:
5496 Reimplement constructors to use JToggleButtonModel.
5497 * javax/swing/plaf/basic/BasicIconFactory.java:
5498 (getCheckBoxMenuItemIcon): return check box
5500 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5501 paint menu item selected only when it is armed and
5504 2004-04-02 David Jee <djee@redhat.com>
5506 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5507 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
5508 * java/awt/Component.java
5509 (add): Set the parent of the popup as this component.
5510 * java/awt/PopupMenu.java
5511 (addNotify): Create popup menu when peer is null.
5512 (show): Call addNotify() if peer is null.
5513 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5514 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
5515 argument for gtk_menu_popup() as zero. This causes the popup menu to
5516 respond to any mouse button.
5518 2004-03-31 Olga Rodimina <rodimina@redhat.com>
5520 * Makefile.am: Added new file.
5521 * Makefile.in: Regenerate.
5522 * javax/swing/JRadioButtonMenuItem.java:
5524 * javax/swing/plaf/basic/BasicIconFactory.java:
5525 (getRadioButtonMenuItemIcon): Return
5527 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5528 (getPreferredSize): Add size of checkIcon if it
5530 (installDefaults): Don't initialize checkIcon.
5531 It's value will be set in subclasses.
5532 (uninstallDefaults): remove uninstallation of
5534 (paint): Moved code to paintMenuItem().
5535 (paintMenuItem): Implemented.
5536 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
5537 UI delegate for JRadioButtonMenuItem.
5539 2004-03-29 Olga Rodimina <rodimina@redhat.com>
5541 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5542 Corrected position of the accelerator.
5544 2004-03-29 Olga Rodimina <rodimina@redhat.com>
5546 * Makefile.am: Added new file.
5547 * Makefile.in: Regenerate.
5548 * javax/swing/JMenuItem.java: Partly
5549 implemented. Work in progress
5550 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5551 Changed default value of acceleratorDelimiter.
5552 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5553 New class. Partly implemented.
5555 2004-03-26 Mark Wielaard <mark@klomp.org>
5557 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5558 (item_activate): Declare label before use.
5559 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5560 (gtkSetFont): Removed unused variable label.
5561 (addExposeFilter): Declare variables before use.
5562 (removeExposeFilter): Likewise.
5563 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5564 (ok_clicked): Declare str_fileName before use.
5566 2004-03-26 David Jee <djee@redhat.com>
5568 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
5569 (addSeparator): Remove.
5570 * java/awt/Menu.java
5571 (separator): Remove static final MenuItem field.
5572 (separatorLabel): New static final String field.
5573 (addSeparator): Do not use peer method; use add(MenuItem) instead.
5574 Use separatorLabel to denote that it is a separator.
5575 (insertSeparator): Create a new MenuItem with separatorLabel, instead
5576 of reusing the static separator instance, because a MenuItem instance
5577 can't be added more than once without being cloned.
5578 * java/awt/peer/MenuPeer.java
5579 (addSeparator): Remove from interface.
5581 2004-03-26 David Jee <djee@redhat.com>
5583 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5584 (connectSignals): New native method declaration.
5585 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
5586 * java/awt/MenuItem.java
5587 (getActionCommand): Return the label if the action command is not set.
5588 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
5589 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
5590 gtk_menu_shell_append().
5591 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
5592 (item_activate): Fix argument type.
5593 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
5595 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
5597 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
5598 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
5599 given. Add the menu widget's top-level GtkWindow to the global window
5600 group, so it can grab the pointer.
5601 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
5602 gtk_menu_shell_append().
5604 2004-03-23 Graydon Hoare <graydon@redhat.com>
5606 * java/text/AttributedString.java
5607 (addAttribute): Fix off-by-one.
5608 (getIterator): Likewise.
5609 * java/text/AttributedStringIterator.java
5610 (getRunLimit): Correct logic.
5611 (getRunStart): Likewise.
5612 (getAttribute): Fix inequality.
5613 (getAttributes): Likewise.
5614 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
5616 2004-03-23 Kim Ho <kho@redhat.com>
5618 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
5619 (calculateSizes): Return real width and height.
5621 2004-03-23 Kim Ho <kho@redhat.com>
5623 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5624 (calculateTabRects): Set the selectedRun before
5625 trying to rotate tabs.
5627 2004-03-23 Kim Ho <kho@redhat.com>
5629 * Makefile.am: New file
5630 * Makefile.in: Regenerate
5631 * java/awt/Graphics.java: (drawRect):
5632 Draw to the correct point.
5633 * javax/swing/DefaultSingleSelectionModel.java
5634 (isSelected): Return true if the selected index
5636 * javax/swing/JLabel.java: Do not change mnemonic
5637 index if text is null.
5638 * javax/swing/JProgressBar.java: Use JComponent's
5640 * javax/swing/JScrollBar.java: Ditto.
5641 * javax/swing/JSlider.java: Ditto.
5642 * javax/swing/JTabbedPane.java: Reimplement.
5643 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5644 Add defaults for TabbedPane.
5645 * javax/swing/plaf/basic/BasicArrowButton.java:
5647 * javax/swing/plaf/basic/BasicProgressBarUI.java:
5648 (paintDeterminate): Don't paint String if it's
5650 (paintIndeterminate): ditto.
5651 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
5654 2004-03-19 Michael Koch <konqueror@gmx.de>
5656 * java/awt/image/AffineTransformOp.java
5657 (AffineTransformOp): Made public.
5658 * javax/swing/JComponent.java
5659 (listenerList): Made protected.
5660 (accessibleContext): Likewise.
5661 * javax/swing/JList.java
5662 (valueChanged): Dont use internal fields of ListSelectionEvent.
5663 * javax/swing/JViewport.java
5664 (getView): Dont use internal fields of Component.
5665 (addImpl): Likewise.
5666 * javax/swing/Timer.java
5667 (isRunning): Made public.
5670 * javax/swing/UIDefaults.java
5671 (getInt): Made public.
5672 * javax/swing/plaf/basic/BasicListUI.java
5673 (mousePressed): Dont use internal fields of MouseEvent.
5674 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
5675 * javax/swing/plaf/basic/BasicScrollBarUI.java
5676 (arrowIcon): Made static.
5677 * javax/swing/plaf/basic/BasicViewportUI.java
5678 (stateChanged): Dont use internal field on ChangeEvent.
5679 * javax/swing/text/JTextComponent.java
5680 (getUI): Call UIManager.getUI().
5681 (updateUI): Use getUI().
5683 2004-03-19 Graydon Hoare <graydon@redhat.com>
5685 * javax/swing/JComponent.java: Turn off double buffer by default.
5686 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
5687 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5688 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
5689 Use cairo to copy areas.
5690 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
5691 Initialize and set clip region.
5693 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5695 * java/applet/Applet.java (preferredSize): Override deprecated
5696 variant of getPreferredSize.
5697 (minimumSize): Override deprecated variant of getMinimumSize.
5699 2004-03-15 Olga Rodimina <rodimina@redhat.com>
5701 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5702 (drawImage(img,xform,bgcolor,obs)): New Method.
5703 Helper function that every drawImage method will
5705 (drawRaster): Added new parameter, bgcolor. All
5706 transparent pixels are changed to bgcolor before
5708 (drawRenderedImage): Fixed to use changed drawRaster().
5709 (drawImage(image,xform,obs): Fixed to use new helper function
5710 (drawImage(image,op,x,y)): Ditto.
5711 (drawImage (img,x,y,observer)): Ditto.
5712 ((PainterThread) bgcolor): New Field.
5713 ((PainterThread) (setPixels)): Changed all transparent pixels
5715 (drawImage(img,x,y,width,height,bgcolor,observer)):
5716 Fixed FIXME - all the transparent pixels are
5717 changed to the specified bgcolor.
5718 (drawImage(img, x, y, width, height, observer): Changed to
5720 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
5721 Fixed FIXME- changed all transparent pixels to bgcolor.
5722 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
5723 Changed to use function above.
5725 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5727 * java/applet/Applet.java (dimensions): New field.
5728 (getDimensions): New method.
5729 (getPreferredSize): Call getDimensions.
5730 (getMinimumSize): Likewise.
5732 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
5734 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
5735 * jni/classpath/jnilink.c: Likewise.
5737 * java/applet/Applet.java (getPreferredSize): New method.
5738 (getMinimumSize): New method.
5740 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
5742 * prims.cc (_Jv_AllocObject): Remove `size' argument.
5743 (_Jv_AllocObjectNoFinalizer): Likewise.
5744 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
5745 (_Jv_AllocPtrFreeObject): Likewise.
5746 (_Jv_AllocString): Moved from natString.cc. Call collector interface
5747 directly even in the JVMPI case.
5748 * gcj/cni.h (JvAllocObject): Remove `size' argument from
5749 _Jv_AllocObject calls.
5750 * gcj/javaprims.h: Update prototypes.
5751 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
5752 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
5753 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
5755 2004-04-14 Andrew Haley <aph@redhat.com>
5756 Bryce McKinlay <mckinlay@redhat.com>
5758 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
5759 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
5760 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
5762 * testsuite/libjava.lang/InvokeInterface.java: New file.
5763 * testsuite/libjava.lang/InvokeInterface.out: New file.
5765 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
5767 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
5769 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
5770 StackTraceElement directly.
5771 (newElement): New native helper method to create StackTraceElement
5772 bypassing Java access control.
5773 (createStackTraceElement): Use newElement() instead of directly
5774 calling StackTraceElement's constructor.
5775 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
5777 2004-04-01 Michael Koch <konqueror@gmx.de>
5779 * java/lang/SecurityManager.java
5780 (checkAwtEventQueueAccess): Implemented.
5782 2004-04-01 Gary Benson <gbenson@redhat.com>
5784 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
5785 (_Jv_SearchMethodInClass): Likewise.
5787 2004-03-26 Peter Moon <peterm@miraculum.com>
5789 * java/text/NumberFormat.java: Fix spelling of setCurrency
5792 2004-03-21 Anthony Green <green@redhat.com>
5794 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
5795 recursion when searching for the system ClassLoader.
5797 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
5799 * java/net/ServerSocket.java
5800 (accept): Close the socket when error occured.
5802 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
5804 * java/net/URI.java (parseURI): Added unquoting.
5805 (unquote): New method.
5806 (quoteAuthority): Implemented.
5807 (quote(String,String)): New method.
5808 (quotePath): Implemented.
5809 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
5810 (getSchemeSpecificPart): Removed FIXME comment.
5811 (getRawAuthority): Return new rawAuthority field.
5812 (getAuthority): Removed FIXME comment.
5813 (getRawUserInfo): Return new rawUserInfo field.
5814 (getUserInfo): Removed FIXME comment.
5815 (getRawPath): Return new rawPath field.
5816 (getPath): Removed FIXME comment.
5817 (getRawQuery): Return new rawQuery field.
5818 (getQuery): Removed FIXME comment.
5819 (getRawFragment): Return new rawFragment field.
5820 (getFragment): Removed FIXME comment.
5822 2004-03-20 Michael Koch <konqueror@gmx.de>
5824 * java/net/URLConnection.java: Merged copyright year with classpath.
5826 2004-03-20 Norbert Frese <postfach@nfrese.net>
5828 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
5829 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
5830 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
5832 (getObjectInputStream): Return object reference, throw IOException if null.
5833 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
5834 (getObjectOutputStream): Return object reference, throw IOException if null.
5835 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
5836 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
5837 (UnicastConnectionManager): Throw RemoteException if port is not available.
5838 (getInstance): Throw RemoteException.
5839 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
5840 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
5841 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
5842 Collect Exceptions which are returned by a rmi-call and fix void returns.
5843 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
5844 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
5845 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
5846 (dispatch): Answer ping messages which are sent by other java implementions.
5847 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
5848 for every rmi-message and fix void return problems.
5849 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
5850 (UnicastServerRef): Throw RemoteException.
5851 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
5852 In some situations it is necessary to export a subclass of the class which has the _Stub.
5853 For instance when the class with has the _Stub is abstract.
5854 (findStubSkelClass): New method which looks for the class which has the _Stub.
5855 (getClientHost): Implementated.
5856 * gcc/libjava/java/rmi/server/RemoteServer.java
5857 (getClientHost): Implementated.
5858 * gcc/libjava/Makefile.am (rmi_java_source_files):
5859 Added gnu/java/rmi/server/RMIIncomingThread.java.
5860 * Makefile.in: Regenerated.
5862 2004-03-20 Michael Koch <konqueror@gmx.de>
5864 * java/net/InetAddress.java
5865 (getLocalHostname): Added javadoc.
5867 2004-03-19 Per Bothner <per@bothner.com>
5869 * configure.in: FILE variable overrides FLATFORM when linking
5870 natFileChannelXXX.cc.
5872 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
5873 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
5875 2004-03-19 Per Bothner <per@bothner.com>
5877 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
5878 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
5879 * Makefile.am: Update accordingly.
5880 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
5881 as aliases for UnicodeLittle and UnicodeBig.
5883 2004-03-20 Mark Wielaard <mark@klomp.org>
5885 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5886 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
5887 Don't access ws when it is null.
5888 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
5891 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
5893 * java/lang/ThreadGroup.java (list): Changed print to println.
5895 2004-03-19 Mark Wielaard <mark@klomp.org>
5897 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
5900 2004-02-10 Randolph Chung <tausq@debian.org>
5902 * configure.in: Build java for hppa target.
5903 * configure: Regenerate.
5904 * libjava/configure.host (hppa-*): Add target.
5905 * libjava/sysdeps/pa/lock.h: New file.
5907 2004-03-19 Mark Wielaard <mark@klomp.org>
5909 Reported by Stephen Crawley
5910 * java/io/FilePermission.java (implies): Use String.length() -1 to
5911 access last char of String.
5913 2004-03-19 Michael Koch <konqueror@gmx.de>
5915 * java/awt/image/AffineTransformOp.java
5916 (AffineTransformOp): Made public.
5917 * javax/swing/JComponent.java
5918 (listenerList): Made protected.
5919 (accessibleContext): Likewise.
5920 * javax/swing/JList.java
5921 (valueChanged): Dont use internal fields of ListSelectionEvent.
5922 * javax/swing/JViewport.java
5923 (getView): Dont use internal fields of Component.
5924 (addImpl): Likewise.
5925 * javax/swing/Timer.java
5926 (isRunning): Made public.
5929 * javax/swing/UIDefaults.java
5930 (getInt): Made public.
5931 * javax/swing/plaf/basic/BasicListUI.java
5932 (mousePressed): Dont use internal fields of MouseEvent.
5933 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
5934 * javax/swing/plaf/basic/BasicScrollBarUI.java
5935 (arrowIcon): Made static.
5936 * javax/swing/plaf/basic/BasicViewportUI.java
5937 (stateChanged): Dont use internal field on ChangeEvent.
5938 * javax/swing/text/JTextComponent.java
5939 (getUI): Call UIManager.getUI().
5940 (updateUI): Use getUI().
5942 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5944 * verify.cc: Undef PC.
5946 2004-03-18 Michael Koch <konqueror@gmx.de>
5948 * java/nio/channels/spi/AbstractSelectableChannel.java
5949 (keys): Initialize at declaration.
5950 (locate): keys cant be null.
5952 (addSelectionKey): New method.
5953 (removeSelectionKey): New method.
5954 * java/nio/channels/spi/AbstractSelectionKey.java
5955 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
5956 * java/nio/channels/spi/AbstractSelector.java
5957 (provider): Javadoc added.
5958 (cancelledKeys): Javadoc added.
5959 (cancelKey): Javadoc added, add key to cancelledKeys.
5960 (deregister): Implemented.
5962 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5964 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
5965 MAP_FAILED to void *.
5967 2004-03-12 Graydon Hoare <graydon@redhat.com>
5969 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
5970 * javax/swing/JComponent.java (paint): Use persistent double buffer.
5971 * javax/swing/JList.java (ListListener): Revalidate on changes.
5972 * javax/swing/JScrollPane.java: Reimplement.
5973 * javax/swing/JViewport.java: Reimplement.
5974 * javax/swing/ScrollPaneLayout.java: Reimplement.
5975 * javax/swing/ViewportLayout.java: Tidy up.
5976 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
5977 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
5978 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
5979 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
5982 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
5984 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5985 (window_wm_protocols_filter): New function.
5986 (window_focus_in_cb): Remove function.
5987 (window_focus_out_cb): Likewise.
5988 (window_focus_or_active_state_change_cb): New function.
5989 (create): Add filter that removes WM_TAKE_FOCUS client messages.
5990 (connectSignals): Don't attach handlers to focus-in-event or
5991 focus-out-event signals. Handle notify signal.
5993 2004-03-11 David Jee <djee@redhat.com>
5995 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
5996 (gtkSetLabel): New native method declaration.
5997 (setLabel): Use gtkSetLabel.
5998 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
5999 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
6001 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6003 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
6004 black when color argument is null.
6006 2004-03-10 Kim Ho <kho@redhat.com>
6008 * java/awt/Container.java: Remove check
6011 2004-03-10 Kim Ho <kho@redhat.com>
6013 * java/awt/Container.java: (visitChild):
6014 Remove candidate clip. Use the component
6016 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6017 (handleEvent): Use the PaintEvent's clip.
6019 2004-03-10 Kim Ho <kho@redhat.com>
6021 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6022 (handleEvent): Don't set the clip for the
6025 2004-03-09 Graydon Hoare <graydon@redhat.com>
6027 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6028 Fix double <-> fixed macros, reset font transform.
6029 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
6032 2004-03-09Â Kim Ho <kho@redhat.com>
6034 * java/awt/Container.java: (visitChild): Move
6035 the x and y coordinate of the component rectangle
6036 to correct position.
6037 (handleEvent): Forward drag events to the pressed
6039 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6041 (ArrowButtonListener::mousePressed): Stop the
6043 (mouseDragged): Implement.
6044 (TrackListener::mousePressed): Only react if
6045 the press doesn't occur on the thumb, otherwise
6046 just set the offset.
6047 (TrackListener::mouseReleased): Unset the isAdjusting
6049 (createIncreaseIcon): Switch icon.
6050 (createDecreaseIcon): Switch icon.
6051 (calculatePreferredSize): Use width.
6052 (getThumbBounds): Use the top as the lower value.
6053 (layoutVScrollBar): Switch the button locations.
6054 (paintIncreaseHighlight): Paint correct side of thumb.
6055 (paintDecreaseHighlight): ditto.
6056 (valueForYPosition): Use top as the lower value.
6057 * javax/swing/plaf/basic/BasicSliderUI.java:
6059 (mouseDragged): Implement.
6060 (mousePressed): Only react when the thumb isn't
6061 pressed, otherwise just set offset.
6062 (mouseReleased): Handle a release of the thumb.
6063 (scrollDueToClickInTrack): Stop the timer first.
6064 * javax/swing/JProgressBar.java:
6065 (setString): Fix change condition.
6066 * javax/swing/JSeparator.java:
6069 2004-03-08 David Jee <djee@redhat.com>
6071 * java/awt/image/AffineTransformOp.java:
6072 (filter): Use Graphics2D interface instead of directly using the
6075 2004-03-05 David Jee <djee@redhat.com>
6077 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
6078 (handleEvent): Action events are generated upon MOUSE_RELEASED.
6079 * java/awt/Container.java
6080 (acquireComponentForMouseEvent): Fixed.
6081 (handleEvent): Fixed.
6082 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6083 (state_to_awt_mods_with_button_states): New method.
6084 (pre_event_handler): Fixed mouse event generation.
6086 2004-03-05 Olga Rodimina <rodimina@redhat.com>
6088 gnu/java/awt/peer/gtk/GdkGraphics2D.java
6089 (GdkGraphics2D (BufferedImage)): Initialize
6090 pixmap associated with specified BufferedImage.
6091 (setPaint): Changed implementation of Texture
6092 Paint to use AffineTransformOp.
6093 * java/awt/image/AffineTransformOp.java
6094 (createCompatibleDestRaster): Throw RasterFormatException
6095 if resulting width or height of raster is 0.
6097 2004-03-04 Olga Rodimina <rodimina@redhat.com>
6099 * java/awt/image/AffineTransformOp.java:
6100 Removed unnecessary field interpolationType.
6101 Formatted some of the lines to be consistent with
6103 (AffineTransformOp): Create new RenderingHints
6104 containing specified interpolation type.
6105 (createCompatibleDestImage): Implemented.
6106 (createCompatibleDestRaster): Implemented.
6107 (filter): Implemented.
6108 (getBounds2D(BufferedImage)): Implemented.
6109 (getBounds2D(Raster)): Implemented.
6110 (getInterpolationType): Get interpolation value from
6113 2004-03-04 David Jee <djee@redhat.com>
6115 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6116 (setFont): Check if child peers are null.
6118 2004-03-04 Graydon Hoare <graydon@redhat.com>
6120 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
6122 (libjava_arguments): Add new libraries to argument list.
6124 2004-03-02 Olga Rodimina <rodimina@redhat.com>
6126 * Makefile.am: Added java/awt/image/AffineTransformOp.java
6127 * Makefile.in: Re-generated.
6128 * java/awt/image/AffineTransformOp.java: New Class.
6130 2004-03-01 Olga Rodimina <rodimina@redhat.com>
6132 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6133 (setPaint): Interpret correctly TexturePaint's
6135 (drawImage): Fixed scale factors of the affine
6138 2004-02-27 David Jee <djee@redhat.com>
6140 * gnu/java/awt/peer/gtk/GdkGraphics.java
6141 (GdkGraphics(Component)): Inherit font from component.
6142 (drawString): Use font style.
6143 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
6144 (gtkSetFont): New native method declaration.
6145 (setFont): New method.
6146 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6147 (gtkSetFont): New native method declaration.
6148 (setFont): Call new native method gtkSetFont.
6149 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6150 (setFont): For all child components who do not their fonts set,
6151 set their peers' fonts with this container's font.
6152 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
6153 Move all native method declarations to the top for readability.
6154 (gtkSetFont): New native method declaration.
6155 (setFont): New method.
6156 * java/awt/Component.java
6157 (setFont): Invalidate after setting the font.
6158 * java/awt/Container.java
6159 (invalidateTree): New method.
6160 (setFont): Invalidate the container tree after setting the font.
6161 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6162 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
6163 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
6164 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
6165 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6166 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
6167 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6168 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
6170 2004-02-27 Olga Rodimina <rodimina@redhat.com>
6172 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6173 (updateBufferedImage): New helper function.
6174 Updates BufferedImage in memory if it was changed.
6175 (draw): changed to update BufferedImage in memory after
6176 this drawing operation
6178 (draw3DRect): Ditto.
6179 (fill3DRect): Ditto.
6181 (drawRaster): Ditto.
6182 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
6183 no affine transformation.
6184 (drawGlyphVector): Ditto.
6186 2004-02-26 Olga Rodimina <rodimina@redhat.com>
6188 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6189 (isBufferedImageGraphics): New Helper function.
6190 Returns true if this graphics2d can be used to draw
6191 into buffered image and false otherwise.
6192 (updateImagePixels): New Helper function.
6193 Updates pixels in the BufferedImage.
6194 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6195 (getImagePixels): New function. Returns pixels
6196 of the buffered image associated with
6199 2004-02-26 David Jee <djee@redhat.com>
6201 * java/awt/BorderLayout.java
6202 (layoutContainer): Fix width and height calculations to ensure
6203 that they're non-negative.
6204 * java/awt/Component.java
6205 (setBackground): If c is null, inherit from closest ancestor whose
6206 background color is set.
6208 2004-02-26 Kim Ho <kho@redhat.com>
6210 * Makefile.am: Add new files.
6211 * Makefile.in: Re-generate.
6212 * javax/swing/JProgressBar.java:
6213 (JProgressBar(int, int int)): Throw
6214 IllegalArgumentException if orientation is
6216 (JProgressBar(BoundedRangeModel)): Create
6217 ChangeListener and register it. UpdateUI.
6218 (getChangeListeners): Implement.
6219 (setModel): Reset ChangeListener.
6220 * javax/swing/JScrollBar.java: Implement.
6221 * javax/swing/JSeparator.java: Implement.
6222 * javax/swing/JSlider.java:
6223 (JSlider(int, int, int, int)): Throw
6224 IllegalArgumentException if orientation
6226 (getChangeListeners): Fix method name.
6227 * javax/swing/SwingUtilities.java:
6228 (layoutCompoundLabel): If there is no text,
6229 set the text rectangle dimensions to 0.
6230 * javax/swing/plaf/basic/BasicButtonUI.java:
6231 (paint): If there is no text, don't paint it.
6232 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6234 * javax/swing/plaf/basic/BasicSeparatorUI.java:
6236 * javax/swing/plaf/basic/BasicSliderUI.java:
6237 (propertyChange): If the model changes, change
6238 the listeners accordingly.
6240 2004-02-25 Graydon Hoare <graydon@redhat.com>
6242 * javax/swing/AbstractButton.java: Add "final" qualifiers.
6243 * javax/swing/JList.java: Reimplement.
6244 * javax/swing/DefaultListSelectionModel.java: Reimplement.
6245 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
6246 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
6247 * javax/swing/ListModel.java: Javadoc.
6248 * javax/swing/ListSelectionModel.java: Add missing methods.
6249 * javax/swing/AbstractListModel.java: Javadoc and corrections.
6250 * javax/swing/DefaultListModel.java: Javadoc and corrections.
6251 * javax/swing/ListModel.java: Javadoc and corrections.
6252 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
6254 2004-02-25 David Jee <djee@redhat.com>
6256 * gnu/java/awt/peer/gtk/GtkFontPeer.java
6257 (GtkFontPeer): Change default size to 12.
6258 * gnu/java/awt/peer/gtk/GtkToolkit.java
6259 (getFontPeer): Change default size to 12.
6260 (getClasspathFontPeer): Likewise. Set default name to "Default".
6261 * java/awt/Font.java
6262 (Font(Map)): Call Font(String,Map).
6263 (Font(String,Map)): If attrs is null, initialize it as an empty
6264 HashMap, which will ensure that the Font will get default attributes.
6266 2004-02-25 David Jee <djee@redhat.com>
6268 * gnu/java/awt/peer/gtk/GtkFontPeer.java
6269 (GtkFontPeer(String,int)): Call the new constructor with size 1.
6270 (GtkFontPeer(String,int,int)): New constructor with size attribute.
6271 * gnu/java/awt/peer/gtk/GtkToolkit.java
6272 (getFontPeer(String,int)): Call the new overload method with size 1.
6273 (getFontPeer(String,int,int)): New method. Overloaded with size
6275 (getClasspathFontPeer): Set the size of the font.
6277 2004-02-24 Olga Rodimina <rodimina@redhat.com>
6279 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6280 (bimage): New field.
6281 (GdkGraphics2D): New Constructor. Constructs Graphics
6282 object that can be used to draw into the Buffered Image.
6283 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
6284 (GdkGraphicsEnvironment): Fixed to include public
6286 (createGraphics): Implemented.
6287 * gnu/java/awt/peer/gtk/GtkToolkit.java
6288 (getLocalGraphicsEnvironment): Implemented.
6289 * java/awt/GraphicsEnvironment.java:
6290 (getLocalGraphicsEnvironment): Implemented.
6291 * java/awt/image/BufferedImage.java:
6292 (createGraphics): Implemented.
6294 2004-02-24 David Jee <djee@redhat.com>
6296 * java/awt/Component.java
6297 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
6298 * java/awt/Container.java
6299 (addNotifyContainerChildren): Fix event enabling.
6301 2004-02-23 Olga Rodimina <rodimina@redhat.com>
6303 * Makefile.am: Added
6304 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6305 * Makefile.in: Re-generated.
6306 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
6309 2004-02-19 Kim Ho <kho@redhat.com>
6311 * Makefile.am: Add BasicProgressBarUI
6312 * Makefile.in: Regenerate.
6313 * javax/swing/JProgressBar.java:
6315 * javax/swing/plaf/basic/BasicLookAndFeel.java
6316 Add constants for JProgressBar.
6317 * javax/swing/plaf/basic/BasicProgressBarUI.java
6319 * javax/swing/plaf/basic/BasicSliderUI.java
6321 (calculateGeometry): New method
6322 (paint): Remove unnecessary size calculations.
6324 2004-02-18 Olga Rodimina <rodimina@redhat.com>
6326 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6327 (drawRaster): Fixed small error that caused
6328 imageToUser transformation to be set incorrectly.
6329 (toString): Implemented.
6331 2004-02-18 David Jee <djee@redhat.com>
6333 * java/awt/CardLayout.java
6334 (addLayoutComponent): Show the first component added as the default.
6335 (removeLayoutComponent): After removing, show the next component.
6336 (gotoComponent): If there is only one component, show it and return.
6338 2004-02-18 Kim Ho <kho@redhat.com>
6340 * javax/swing/JSlider.java: Re-order
6342 * javax/swing/JLabel.java: Re-order
6344 * javax/swing/JComponent.java:
6345 (addPropertyChangeListener):
6347 (removePropertyChangeListener):
6349 (firePropertyChangeEvent):
6352 2004-02-17 David Jee <djee@redhat.com>
6354 * java/awt/Component.java
6355 (show): Dispatch ComponentEvent via system event queue.
6359 (reshape): Likewise.
6360 * java/awt/Window.java
6361 (setBoundsCallback): Likewise.
6363 2004-02-17 David Jee <djee@redhat.com>
6365 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6366 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
6367 Use gtk_widget_set_size_request() instead of the deprecated
6368 gtk_widget_set_usize().
6370 2004-02-17 Kim Ho <kho@redhat.com>
6372 * javax/swing/JSlider.java: Fix comments and
6373 make property strings constants.
6374 (createStandardLabels): Use the labels
6375 preferred size as bounds.
6376 * javax/swing/plaf/basic/BasicSliderUI.java
6378 (ScrollHandler::actionPerformed): Don't
6379 calculate the timer stop value. Let the
6380 MouseListeners find the stop location.
6381 (getPreferredHorizontalSize): Re-implement.
6382 (getPreferredVerticalSize): ditto.
6383 (getMinimumHorizontalSize): ditto.
6384 (getMinimumVerticalSize): ditto.
6385 (getPreferredSize): ditto.
6386 (getMinimumSize): ditto.
6387 (getMaximumSize): ditto.
6388 (paintTicks): Use doubles to find the
6390 (paintHorizontalLabel):Â Use preferredSize
6391 as initial width and height.
6392 (paintVerticalLabel): ditto.
6394 2004-02-17 Kim Ho <kho@redhat.com>
6396 * javax/swing/JLabel.java: Changed
6397 property strings to constants.
6398 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
6400 (setText): Change mnemonic index if
6402 (setDisplayedMnemonicIndex): Fire property
6404 (getDisplayedMnemonicIndex): Remove check
6407 2004-02-17 Olga Rodimina <rodimina@redhat.com>
6409 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6410 (drawImage(img,xform,obs)): Invert xform before
6411 passing the xform to cairo.
6412 (drawImage(img,x,y,bgcolor,obs)): Implemented.
6413 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
6415 (drawImage (img,x,y,w,h,obs)): Implemented.
6416 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
6417 bgcolor,obs)): Partly implemented.
6418 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
6420 * java/awt/image/BufferedImage.java:
6421 (copyData): if dest is null, create raster with same
6422 dimensions as the current image.
6424 2004-02-16 Graydon Hoare <graydon@redhat.com>
6426 * javax/swing/plaf/basic/BasicLabelUI.java
6427 (getPreferredSize): Use layoutCL.
6428 * javax/swing/plaf/basic/BasicGraphicsUtils.java
6429 (getPreferredButtonSize): Start with empty view rect, layout using
6430 component's preferred alignment.
6431 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
6434 2004-02-16 David Jee <djee@redhat.com>
6436 * java/awt/Component.java
6437 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
6438 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
6439 (move): Erase old bounds and repaint new bounds. Dispatch
6440 COMPONENT_MOVED ComponentEvent.
6441 (resize): Erase old bounds and repaint new bounds. Dispatch
6442 COMPONENT_RESIZED ComponentEvent.
6443 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
6445 * java/awt/Window.java
6446 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
6449 2004-02-16 Olga Rodimina <rodimina@redhat.com>
6451 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6452 (setRenderingHint): Added implementation of
6453 Interpolation rendering hints.
6454 (setRenderingHints): Ditto.
6455 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6456 (drawPixels): fixed to allow user to choose type
6457 of filtering that should be used when displaying images.
6458 (cairoSurfaceSetFilter): New method. Sets filter type for
6459 interpolation of pixel values.
6461 2004-02-16 David Jee <djee@redhat.com>
6463 * java/awt/GridBagLayout.java
6464 (calcCellSizes): Rows or columns with zero sizes should still be
6465 considered for extra space distribution.
6467 2004-02-16 Kim Ho <kho@redhat.com>
6469 * javax/swing/JLabel.java: Re-implement.
6470 * javax/swing/plaf/basic/BasicLabelUI.java
6472 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6475 2004-02-16 Kim Ho <kho@redhat.com>
6477 * javax/swing/JSlider.java: Fix indentation and comments.
6478 (setModel): Remove null check to conform with Sun's.
6479 (setOrientation): Throw exception if not
6480 HORIZONTAL or VERTICAL.
6481 (getInverted): Use private variable instead of
6482 ComponentOrientation.
6483 (setInverted): ditto.
6484 * javax/swing/plaf/basic/BasicSliderUI.java:
6485 Fix indentation and comments.
6486 (propertyChange): Remove check for inverted slider, handle
6488 (getMinimumSize): Return preferred size.
6489 (getMaximumSize): ditto.
6490 (calculateFocusRect): Don't relocate rectangle.
6491 (drawInverted): Return XOR of the slider's inversion and
6492 the component's orientation.
6493 (paint): Update leftToRightCache
6495 2004-02-13 David Jee <djee@redhat.com>
6497 * java/awt/GridBagLayout.java
6498 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
6499 code to helper methods.
6500 (sortBySpan): New helper method.
6501 (distributeSizeAndWeight): Likewise.
6502 (calcCellWeights): Likewise.
6503 (calcCellSizes): Add comments.
6505 2004-02-13 David Jee <djee@redhat.com>
6507 * java/awt/Component.java
6508 (show): Only do something if component is invisible at the moment.
6509 (hide): Only do something if component is visible at the moment.
6510 (reshape): If lightweight, erase old bounds and repaint new bounds.
6512 2004-02-13 Kim Ho <kho@redhat.com>
6514 * Makefile.am: Updated for new file.
6515 * Makefile.in: Regenerated.
6516 * javax/swing/JSlider.java: Reimplement.
6517 * javax/swing/SwingUtilities.java
6518 (layoutCompoundLabel): Use icon height
6520 (paintComponent): Implement.
6521 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6522 Add JSlider defaults.
6523 * javax/swing/plaf/basic/BasicSliderUI.java:
6524 Implement. New file.
6526 2004-03-17 Michael Koch <konqueror@gmx.de>
6528 * gnu/java/net/PlainDatagramSocketImpl.java
6529 (RECEIVE_LOCK): New member field.
6530 (SEND_LOCK): New member field.
6531 (send0): New method.
6532 (send): Synchronize on SEND_LOCK.
6533 (receive0): New method.
6534 (receive): Synchronize on RECEIVE_LOCK.
6535 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
6536 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
6537 gnu/java/net/natPlainDatagramSocketImplWin32.cc
6538 (send0): Renamed from send.
6539 (receive0): Renamed from receive.
6540 2004-03-17 Michael Koch <konqueror@gmx.de>
6542 * gnu/java/net/natPlainSocketImplPosix.cc
6543 (write): Just call write(jbyteArray, offset, len).
6544 (read): Just call read(jbyteArray, offset, len).
6546 2004-03-16 Michael Koch <konqueror@gmx.de>
6548 * javax/swing/JTabbedPane.java
6549 (serialVersionUID): New field.
6551 2004-03-16 Norbert Frese <postfach@nfrese.net>
6553 * java/net/InetAddress.java
6554 (getByName): Handle hostname == "" case.
6556 2004-03-16 Dalibor Topic <robilad@kaffe.org>
6558 Reported by: Adam Heath <doogie@debian.org>
6559 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
6562 2004-03-15 Michael Koch <konqueror@gmx.de>
6564 * java/util/Locale.java: Reverting my last patch
6565 and add a comment why the original version was okay.
6567 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
6569 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
6570 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
6571 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
6572 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
6574 2004-03-12 Michael Koch <konqueror@gmx.de>
6576 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
6578 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
6580 * java/net/URI.java (toURL): Implemented.
6582 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
6585 (URI_REGEXP) updated to contain scheme specific part.
6586 (SCHEME_SPEC_PART_GROUP) new constant.
6587 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
6588 updated to make room for SCHEME_SPEC_PART_GROUP.
6589 (parseURI) parse scheme specific part.
6590 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
6591 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
6592 getQuery, getFragment) implemented.
6594 2004-03-12 Dalibor Topic <robilad@kaffe.org>
6596 * libraries/javalib/java/net/URI.java
6597 partially implemented using java.util.regex.
6598 (URI_REGEXP) new constant. Used to parse URIs.
6599 (SCHEME_GROUP) new constant representing index of scheme group
6601 (AUTHORITY_GROUP) new constant representing index of authority
6602 group in parsed URI.
6603 (PATH_GROUP) new constant representing index of path group in
6605 (QUERY_GROUP) new constant representing index of query group in
6607 (FRAGMENT_GROUP) new constant representing index of fragment
6608 group in parsed URI.
6609 (getURIGroup) new static utility method.
6610 (parseURI) implemented.
6611 (quote) stub for new static utility method.
6612 (quoteAuthority) stub for new static utility method.
6613 (quoteHost) stub for new static utility method.
6614 (quotePath) stub for new static utility method.
6615 (quoteUserInfo) stub for new static utility method.
6617 (create) don't throw URISyntaxException. Implemented.
6618 (toString) implemented.
6620 2004-03-12 Michael Koch <konqueror@gmx.de>
6622 * java/net/HttpURLConnection.java
6623 (getResponseCode): Fix another typo in javadoc.
6625 2004-03-11 Michael Koch <konqueror@gmx.de>
6627 * java/util/logging/Level.java
6628 (parse): Use String.equals() instead of ==.
6630 2004-03-11 Michael Koch <konqueror@gmx.de>
6632 * gnu/java/net/protocol/jar/Connection.java
6633 (getContentLength): New method.
6635 2004-03-11 Michael Koch <konqueror@gmx.de>
6637 * gnu/java/net/PlainSocketImpl.java:
6638 Reformated to merge better with classpath's version.
6640 2004-03-11 Michael Koch <konqueror@gmx.de>
6642 * java/util/Locale.java
6643 (getISO3Language): Use String.equals() instead of ==.
6644 (getISO3Country): Likewise.
6646 2004-03-11 Dalibor Topic <robilad@kaffe.org>
6648 * java/text/AttributedString.java
6649 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
6650 Use HashMap instead of Hashtable since value can be null, and
6651 you can not store a null value in a Hashtable.
6653 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
6655 * java/text/AttributedStringIterator.java
6656 (getAllAttributesKey): Return only keys concerned
6657 by the current iterator.
6658 (getAttributes): Use strict inequality for
6661 2004-03-11 Michael Koch <konqueror@gmx.de>
6663 * java/net/HttpURLConnection.java:
6664 Fixed typo in javadoc.
6666 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
6668 * java/io/BufferedInputStream.java (marktarget): New field for max
6670 (CHUNKSIZE): New constant for incremental mark buffer allocation.
6671 (mark): Use new fields.
6673 (read(byte[],int,int)): Likewise.
6677 2004-03-11 Mark Wielaard <mark@klomp.org>
6679 * java/beans/BeanDescriptor.java (BeanDescriptor):
6680 Set the FeatureDescriptor programmatic name.
6682 2004-03-11 Michael Koch <konqueror@gmx.de>
6684 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
6685 This file was was just copied form java/io/natFileDescriptorEcos.cc
6686 and never changed to compile correctly.
6688 2004-03-11 Michael Koch <konqueror@gmx.de>
6690 * gnu/java/nio/PipeImpl.java
6691 (SourceChannelImpl): Made final.
6692 (read): Implemented.
6693 (SinkChannelImpl): Made final.
6694 (write): Implemented.
6696 2004-03-11 Michael Koch <konqueror@gmx.de>
6698 * gnu/java/net/PlainDatagramSocketImpl.java:
6699 Reformated to match classpath's version more.
6701 2004-03-11 Michael Koch <konqueror@gmx.de>
6703 * gnu/java/awt/peer/ClasspathFontPeer.java:
6704 Fixed javadoc to be correct xhtml.
6705 * gnu/java/awt/peer/gtk/GtkArgList.java
6706 (add): Use Boolean.valueOf() instead of new Boolean().
6708 2004-03-09 Michael Koch <konqueror@gmx.de>
6710 * java/lang/Thread.java
6711 (runnable): Moved around.
6712 (daemon): Renamed from daemon_flag.
6713 (contextClassLoader): Renamed from context_class_loader.
6714 (Thread): Reordered constructors.
6715 (activeCount): Use group directly.
6716 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
6717 (holdsLock): Reworked javadoc.
6718 (setDaemon): Reworked.
6719 * java/lang/natThread.cc
6722 2004-03-08 Anthony Green <green@redhat.com>
6724 * Makefile.am: Build property resource files into libgcj.
6725 * Makefile.in: Rebuilt.
6726 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
6727 java/util/regex/PatternSyntaxException.java,
6728 gnu/regexp/CharIndexed.java,
6729 gnu/regexp/CharIndexedCharArray.java,
6730 gnu/regexp/CharIndexedInputStream.java,
6731 gnu/regexp/CharIndexedReader.java,
6732 gnu/regexp/CharIndexedString.java,
6733 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
6734 gnu/regexp/REException.java,
6735 gnu/regexp/REFilterInputStream.java,
6736 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
6737 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
6738 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
6739 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
6740 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
6741 gnu/regexp/RETokenLookAhead.java,
6742 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
6743 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
6744 gnu/regexp/RETokenStart.java,
6745 gnu/regexp/RETokenWordBoundary.java,
6746 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
6748 2004-03-03 Per Bothner <per@bothner.com>
6750 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
6751 Optimize when argument is a FileChannelImpl.
6752 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
6754 * java/nio/channels/natChannels.cc: New file for new native methods.
6755 * Makefile.am: Update accordingly.
6757 2004-03-02 Jan Hubicka <jh@suse.cz>
6759 * configure.host: Pass -fno-omit-frame-pointer for i386.
6760 * configure.in: Likewise.
6761 * configure: Regenerate.
6763 2004-03-01 Per Bothner <per@bothner.com>
6765 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
6767 2004-02-29 Per Bothner <per@bothner.com>
6769 * java/nio/channels/FileChannelImpl.java: Moved to package
6770 gnu/java/nio/channels, since we need to refer to it from java.io.
6771 * java/nio/channels/natFileChannelImpl.cc: Removed file.
6772 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
6773 from java/nio/channels. Don't depend on FileDescriptor.
6774 (in, out, err): New static fields.
6776 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
6777 from FileDescriptor.
6778 (by): Removed MappedByteBuffer field.
6779 (map): New working implementation.
6780 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
6781 some code "ported" from natFileDescriptoPosix.cc.
6782 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
6783 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
6784 * java/io/FileDescriptor.java: Implement on top of FileChannel.
6785 Remove native methods.
6786 * Makefile.am, configure.in: Updated accordingly.
6788 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
6789 (ch): New FileChannelImpl field. Update constructor to match.
6790 (releaseImpl): Remove native method. Instead ...
6791 (release): Call unlock on channel.
6792 * gnu/java/nio/natFileLockImpl.cc: Removed file.
6794 * java/io/natFileDescriptorEcos.cc: Remove file.
6795 * java/io/natFileDescriptorPosix.cc: Remove file.
6796 * java/io/natFileDescriptorWin32.cc: Remove file.
6797 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
6798 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
6799 (<init>(FileChannelImpl)): New package-private constructor.
6800 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
6801 (available, close, read, skip): Implement using FileChannelImpl.
6802 (getFD): Allocate FileDescriptor if needed.
6803 (getChannel): Is now trivial.
6804 * java/io/FileOutputStream.java: Corresponding changes.
6805 * java/io/RandomAccessFile.java: Corresponding changes.
6807 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
6808 unmapImpl): New dummy methods, to be overridden by subclass.
6809 (finalize, isLoaded, load, force): New methods.
6810 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
6811 Now works, at least for read mapping.
6813 * java/lang/natPosixProcess.cc (startProcess): Implement standard
6814 streams using FileChannelImpl, not FileDescriptor.
6815 * java/lang/natWin32Process.cc (startProcess): Likewise.
6817 2004-02-28 Michael Koch <konqueror@gmx.de>
6819 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
6822 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
6824 * java/io/ObjectInputStream.java
6825 (readClassDescriptor): Keep elements of the mapping non null.
6826 (checkTypeConsistency): New method.
6827 (readFields): Fixed main loop and base logic. Small reindentation.
6828 * java/io/ObjectStreamField.java
6829 (lookupField): New method to update the field reference.
6830 (checkFieldType): New method.
6831 * java/io/ObjectStreamClass.java
6832 (setClass, setFields): Call lookupField when building the field
6833 database. Check the real field type.
6835 2004-02-28 Michael Koch <konqueror@gmx.de>
6837 * java/nio/ByteOrder.java
6838 (nativeOrder): Use equals() to compare strings.
6840 2004-02-26 Michael Koch <konqueror@gmx.de>
6842 * gnu/java/nio/FileLockImpl.java
6843 (finalize): Made protected.
6844 * java/nio/channels/FileChannel.java
6845 (MapMode.READ_ONLY): Made final.
6846 (MapMode.READ_WRITE): Made final.
6847 (MapMode.PRIVATE): Made final.
6848 * java/nio/channels/SocketChannel.java
6849 (open): Simplified code.
6850 * java/nio/channels/spi/AbstractSelectableChannel.java
6851 (registered): Unused, removed.
6852 (keyFor): Check channel is open, only locate key
6853 and not add a new one.
6854 (register): Don't delete attachments.
6856 2004-02-26 Michael Koch <konqueror@gmx.de>
6858 * gnu/java/awt/ComponentDataBlitOp.java
6859 (INSTANCE): Made final.
6860 * gnu/java/awt/image/ImageDecoder.java:
6862 (cm): Unused, removed.
6864 2004-02-26 Michael Koch <konqueror@gmx.de>
6866 * gnu/java/nio/DatagramChannelImpl.java
6867 (send): Check if target address is resolved.
6869 2004-02-26 Michael Koch <konqueror@gmx.de>
6871 * Makefile.am: Generate and install headers for inner classes in
6872 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
6873 * Makefile.in: Regenerated.
6875 2004-02-24 Anthony Green <green@redhat.com>
6877 * java/lang/StringBuffer.java: No need to NULL out remainder of
6878 buffer since ensureCapacity_unsynchronized will have done this for
6881 2004-02-20 Michael Koch <konqueror@gmx.de>
6883 * gnu/java/net/protocol/jar/Handler.java
6884 (): Removed unneeded check for file != null. java.net.URL.getFile()
6885 returns an empty string but never null.
6887 2004-02-20 Michael Koch <konqueror@gmx.de>
6889 * gnu/gcj/convert/Convert.java
6890 (main): Use equals() to compare strings.
6892 2004-02-20 Michael Koch <konqueror@gmx.de>
6894 * javax/swing/AbstractButton.java: Made several constants final.
6895 (getRolloverSelectedIcon): Made public.
6896 (getSelectedIcon): Made public.
6898 2004-02-16 Per Bothner <per@bothner.com>
6900 * java/nio/CharBufferImpl.java: Inline super constructor.
6901 * java/nio/DoubleBufferImpl.java: Likewise.
6902 * java/nio/FloatBufferImpl.java: Likewise.
6903 * java/nio/IntBufferImpl.java: Likewise.
6904 * java/nio/LongBufferImpl.java: Likewise.
6905 * java/nio/ShortBufferImpl.java: Likewise.
6906 * java/nio/CharBuffer.java: Remove unused constructor.
6907 * java/nio/DoubleBuffer.java: Likewise.
6908 * java/nio/FloatBuffer.java: Likewise.
6909 * java/nio/IntBuffer.java: Likewise.
6910 * java/nio/LongBuffer.java: Likewise.
6911 * java/nio/ShortBuffer.java: Likewise.
6912 * java/nio/CharViewBufferImpl.java: New convenience constructor.
6913 Fix buggy call to super constructor.
6914 * java/nio/DoubleViewBufferImpl.java: Likewise.
6915 * java/nio/FloatViewBufferImpl.java: Likewise.
6916 * java/nio/IntViewBufferImpl.java: Likewise.
6917 * java/nio/LongViewBufferImpl.java: Likewise.
6918 * java/nio/ShortViewBufferImpl.java: Likewise.
6920 * java/nio/ByteBuffer.java (endian): Make non-private so other
6921 java.nio classes can inherit it.
6922 (<init>): Don't bother clearing array_offset.
6923 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
6924 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
6925 Remove redundant test.
6927 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
6928 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
6929 Use new XxxViewBufferImpl constructors.
6930 * java/nio/MappedByteBufferImpl.java: Likewise.
6931 * java/nio/DirectByteBufferImpl.java: Likewise.
6933 * java/nio/ByteBufferImpl.java: Remove one constructor.
6934 Inline super in remaining constructor.
6935 * java/nio/ByteBuffer.java: Remove unused constructor.
6937 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
6939 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
6940 * java/nio/DirectByteBufferImpl.java (owner): New field.
6941 (offset): Remove unused field.
6942 (<init>): Modify one and add another constructor. Change callers.
6943 (allocateDirect): Removed - not used.
6944 (getImpl, putImpl): Make static and pass address explicitly,
6945 to make them useful for MappedByteBufferImpl.
6946 (get, put): Check for underflow. Modify for new getImpl.
6947 (getImpl): New native method where target is array.
6948 (get(byte[],int,int)): Use the above.
6949 (adjustAddress): New static native method.
6950 (slice, duplicate, asReadOnly): New implementations.
6951 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
6952 adjustAddress): New or updated native methods.
6954 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
6956 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
6957 overflow of fieldmapping.
6959 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
6961 * javax/swing/undo/UndoManager.java: Re-written from scratch.
6963 2004-02-14 Per Bothner <per@bothner.com>
6965 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
6966 Set closed before calling implCloseChannel, as in the spec.
6968 2004-02-09 Graydon Hoare <graydon@redhat.com>
6970 * javax/swing/ToggleButtonModel.java: Remove dead class.
6971 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
6972 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
6973 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
6974 * Makefile.am: Update for new and removed files.
6975 * Makefile.in: Regenerate.
6977 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
6978 * javax/swing/AbstractButton.java
6979 (AbstractButton): Initialize fields correctly in ctor.
6980 * javax/swing/JCheckbox.java
6981 (JCheckBox): Override painting flags.
6982 * javax/swing/DefaultButtonModel.java: Conform to sun.
6983 * javax/swing/JComponent.java (paint): Fill with background color
6985 (processComponentKeyEvent)
6988 (processMouseMotionEvent): Remove event-consuming empty methods.
6989 (getUIClassID): Return "ComponentUI" not "JComponent"
6990 * javax/swing/JFrame.java: Remove some debugging chatter.
6991 (JFrame): Subscribe to window events.
6992 * javax/swing/JRadioButton.java
6993 (JRadioButton): Override painting flags.
6994 * javax/swing/JRootPane.java
6995 (JRootPane): Set background from UIDefaults.
6996 * javax/swing/JToggleButton.java
6997 (ToggleButtonModel): New inner class.
6998 (JToggleButton): Override layout alighment.
6999 * javax/swing/SwingUtilities.java:
7000 (getLocalBounds): Return width and height, not x and y.
7001 (calculateInnerArea): Use local bounds, not bounds.
7002 (layoutCompoundLabel): Provide overridden form.
7003 (layoutCompoundLabel): Correct bugs.
7004 * javax/swing/UIDefaults.java: Correct comment.
7005 * javax/swing/plaf/basic/BasicButtonUI.java:
7006 Move most logic into defaults, external listener.
7007 (paintIcon): Implement icon painting.
7008 (paint): Fix state painting to conform to changes in model.
7009 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
7010 Remove most dead/wrong methods.
7011 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
7012 * javax/swing/plaf/basic/BasicIconFactory.java:
7013 (DummyIcon): New class.
7014 (getMenuItemCheckIcon)
7015 (getMenuItemArrowIcon)
7017 (getCheckBoxMenuItemIcon)
7018 (getRadioButtonMenuItemIcon)
7019 (createEmptyFrameIcon): Return DummyIcons, not null.
7020 (getCheckBoxIcon): Implement an icon that looks like sun's.
7021 (getRadioButtonIcon): Implement an icon that looks like sun's.
7022 * javax/swing/plaf/basic/BasicLookAndFeel.java
7023 (initComponentDefaults): Fix impossible values, add some missing.
7024 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
7025 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
7026 Remove most dead/wrong methods.
7028 (getDefaultIcon): New method.
7029 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
7030 Remove most dead/wrong methods.
7031 * javax/swing/plaf/metal/MetalLookAndFeel.java
7032 (getDefaults): Return super.getDefaults(), not BasicDefaults.
7033 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
7034 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
7035 Implement "clearing" as drawing, when on pixmap drawables.
7037 * javax/swing/JButton.java (getUIClassID):
7038 * javax/swing/JCheckBox.java (getUIClassID):
7039 * javax/swing/JEditorPane.java (getUIClassID):
7040 * javax/swing/JLabel.java (getUIClassID):
7041 * javax/swing/JList.java (getUIClassID):
7042 * javax/swing/JOptionPane.java (getUIClassID):
7043 * javax/swing/JPanel.java (getUIClassID):
7044 * javax/swing/JPasswordField.java (uiClassID):
7045 * javax/swing/JRadioButton.java (getUIClassID):
7046 * javax/swing/JRootPane.java (getUIClassID):
7047 * javax/swing/JScrollPane.java (getUIClassID):
7048 * javax/swing/JTabbedPane.java (getUIClassID):
7049 * javax/swing/JToggleButton.java (getUIClassID):
7050 * javax/swing/JTree.java (getUIClassID):
7051 * javax/swing/JViewport.java (getUIClassID):
7052 * javax/swing/text/JTextComponent.java (getUIClassID):
7053 Return "fooUI" not "Jfoo"
7055 2004-02-11 Michael Koch <konqueror@gmx.de>
7057 * java/net/DatagramSocket.java
7058 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
7060 (setBroadcast): Likewise.
7061 * java/net/MulticastSocket.java
7062 (setLoopbackMode): Likewise.
7063 * java/net/ServerSocket.java
7064 (setReuseAddress): Likewise.
7065 * java/net/Socket.java
7066 (setTcpNoDelay): Likewise.
7067 (setSoLinger): Likewise.
7068 (setOOBInline): Likewise.
7069 (setKeepAlive): Likewise.
7070 (setReuseAddress): Likewise.
7071 * java/net/URLConnection.java
7072 (setContentHandler): Replace == with equals().
7073 * java/net/URLStreamHandler.java
7074 (hostSEquals): Fix checking host addresses.
7075 (toExternalForm): Dont check protocol for null. We know already its
7078 2004-02-10 David Jee <djee@redhat.com>
7080 * java/awt/BorderLayout.java
7081 (calcCompSize): Invisible components get zero dimensions.
7082 * java/awt/Button.java
7083 (setLabel): Set actionCommand.
7084 * java/awt/Component.java
7085 (show): Invalidate component and parent container.
7088 2004-02-10 David Jee <djee@redhat.com>
7090 * java/awt/GridBagLayout.java
7091 (GridBagLayout): New private field, internalcomptable.
7092 (lookupInternalConstraints): New method.
7093 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
7094 (GetLayoutInfo): Reimplement.
7095 (calcCellSizes): Ignore rows/columns with size 0.
7097 2004-02-10 Michael Koch <konqueror@gmx.de>
7099 * gnu/java/awt/EmbeddedWindow.java
7100 (setHandle): Use java.awt.Component.getPeer() instead of
7101 java.awt.Component.peer directly.
7103 2004-02-10 David Jee <djee@redhat.com>
7105 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
7106 (gtkSetLabel): New native method definition.
7107 (setLabel): Use gtkSetLabel.
7108 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7109 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
7111 2004-02-10 Alan Modra <amodra@bigpond.net.au>
7113 * include/powerpc-signal.h: Revert 2004-01-21 change.
7114 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
7115 from syscall for ppc32 versions.
7117 2004-02-08 Per Bothner <per@bothner.com>
7119 * java/nio/ByteBuffer.java (shiftDown): New helper method.
7120 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
7121 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
7122 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
7123 Pass ByteOrder parameter to most methods, since the underlying
7124 ByteBuffer's order isn't always what we should use.
7125 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
7126 * java/nio/DirectByteBufferImpl.java: Likewise.
7127 Use ByteBufferHelper methods.
7128 * java/nio/MappedByteBufferImpl.java: Likewise.
7129 (compact): Use shiftDown.
7130 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
7131 (get, put): Use ByteBufferHelper.
7132 (compact): Use new shiftDown method.
7133 (duplicate(boolean)): New helper method.
7134 (duplicate, asReadOnlyBuffer): Use it.
7135 (order): Return endian field.
7136 * java/nio/DoubleViewBufferImpl.java: Likewise.
7137 * java/nio/FloatViewBufferImpl.java: Likewise.
7138 * java/nio/IntViewBufferImpl.java: Likewise.
7139 * java/nio/LongViewBufferImpl.java: Likewise.
7140 * java/nio/ShortViewBufferImpl.java: Likewise.
7141 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
7142 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
7143 (compact): Re-implement using shiftDown.
7145 2004-02-08 Andreas Jaeger <aj@suse.de>
7147 * include/x86_64-signal.h: Fix typo.
7149 2004-02-08 Diego Novillo <dnovillo@redhat.com>
7151 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
7153 (HANDLE_DIVIDE_OVERFLOW): Likewise.
7155 2004-02-06 Michael Koch <konqueror@gmx.de>
7157 * java/io/ObjectInputStream.java
7158 (currentClassLoader): Reverted to old version of this method.
7160 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
7162 * java/io/ObjectInputStream.java: Made all calls
7163 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
7164 use cached info from ObjectStreamClass. (readClassDescriptor):
7165 Cache more information in ObjectStreamClass. (processResolution,
7166 readFields): Use cached info from ObjectStreamClass.
7167 (newObject): Throw exception instead of returning null for failure.
7168 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
7169 setCharField, setDoubleField, setFloatField, setIntField,
7170 setLongField, setShortField, setObjectField, readObjectParams):
7171 Removed. (dumpElement, dumpElementln): Removed dump flag condition
7173 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
7174 (setClass): Added call to cacheMethods() (findMethod): New method.
7175 (cacheMethods): New method. (ObjectStreamClass): Added call to
7176 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
7177 AccessController.doPrivileged to invoke setAccessible.
7178 (readObjectMethod, readResolveMethod, realClassIsSerializable,
7179 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
7181 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
7182 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
7183 isPrimitive): Made safe for cases where type == null.
7184 (setBooleanField, setByteField, setCharField, setShortField,
7185 setIntField, setLongField, setFloatField, setDoubleField,
7186 setObjectField): New methods.
7188 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
7190 * java/awt/Component.java (getFont): Return a default font
7193 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
7194 (Scrollbar (int, int, int, int, int)): Make default page
7196 (setValues): Only call peer.setValues if one of the values has
7198 (generateName): New method.
7199 (getUniqueLong): New method.
7200 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
7201 (range_scrollbar): Remove structure.
7202 (post_adjustment_event): Remove function.
7203 (post_change_event): Accept jobject argument.
7204 (create): Cast jints to gdoubles. Round scrollbar values to the
7205 nearest integer. Clamp min, max and value settings.
7206 (connectJObject): Connect hook to widget->window.
7207 (connectSignals): Remove range_scrollbar structure variables.
7208 Remove "move-slider" connection. Pass global peer reference to
7209 "value-changed" callback.
7210 (setLineIncrement): Cast jint value to gdouble.
7211 (setPageIncrement): Likewise.
7212 (setValues): Likewise. Clamp min, max and value settings.
7214 2004-02-05 Michael Koch <konqueror@gmx.de>
7216 * javax/swing/AbstractCellEditor.java
7217 (getCellEditorValue): Removed.
7218 * javax/swing/Box.java: Reformated.
7219 (serialVersionUID): New field.
7220 * javax/swing/ButtonGroup.java:
7221 Removed some weird whitespace.
7222 * javax/swing/CellEditor.java: Reformated.
7223 * javax/swing/CellRendererPane.java
7224 (serialVersionUID): New field.
7225 (AccessibleCellRendererPaneserialVersionUID): New field.
7226 * javax/swing/DefaultListModel.java
7227 (serialVersionUID): New field.
7228 * javax/swing/JEditorPane.java
7229 (serialVersionUID): New field.
7230 (setPage): Throws IOException.
7231 (addHyperlinkListener): Implemented.
7232 (removeHyperlinkListener): Implemented.
7233 (getHyperlinkListener): New method.
7234 * javax/swing/JFileChooser.java
7235 (serialVersionUID): New field.
7236 (AccessibleJFileChooser.serialVersionUID): New field.
7237 (addActionListener): Implemented.
7238 (removeActionListener): Implemented.
7239 (getActionListeners): New method.
7240 * javax/swing/JFormattedTextField.java
7241 (serialVersionUID): New field.
7242 (AbstractFormatter.serialVersionUID): New field.
7243 (clone): Throws CloneNotSupportedException
7244 (setEditValid): Add missing argument.
7245 (stringToValue): Throws ParseExcpetion.
7246 (valueToString): Throws ParseException.
7247 (commitEdit): Throws ParseException.
7248 * javax/swing/JLabel.java
7249 (serialVersionUID): New field.
7250 * javax/swing/JList.java
7251 (serialVersionUID): New field.
7252 (addListSelectionListener): Reformated.
7253 (removeListSelectionListener): Reformated.
7254 (getListSelectionListeners): New method.
7255 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
7257 (serialVersionUID): New field.
7258 * javax/swing/table/AbstractTableModel.java
7259 (getValueAt): Removed.
7260 (getColumnCount): Removed.
7261 (getRowCount): Removed.
7263 2004-02-05 Michael Koch <konqueror@gmx.de>
7265 * java/awt/datatransfer/DataFlavor.java
7266 (imageFlavor): Javadoc added.
7267 (javaJVMLocalObjectType): Fixed.
7269 2004-02-05 Michael Koch <konqueror@gmx.de>
7271 * java/lang/Thread.java
7272 (Thread): Reordered.
7273 (setContextClassLoader): Fixed javadoc comment.
7274 (setPriority): Reordered.
7276 (initialize_native): Reordered.
7277 (gen_name): Reordered.
7279 2004-02-05 Michael Koch <konqueror@gmx.de>
7281 * java/lang/Thread.java: Reordered fields, reformated much code,
7282 no functional changes, some variables renamed, javadoc comments
7285 2004-02-05 Michael Koch <konqueror@gmx.de>
7287 * java/util/zip/Deflater.java,
7288 java/util/zip/DeflaterOutputStream.java,
7289 java/util/zip/GZIPInputStream.java:
7290 Reformated and javadoc comments merged from classpath.
7292 2004-02-05 Michael Koch <konqueror@gmx.de>
7294 * gnu/java/nio/NIOServerSocket.java
7295 (impl): Unused, removed.
7296 * gnu/java/nio/SocketChannelImpl.java
7297 (finnishConnect): Don't throw NoConnectionPendingException if not
7298 connected or no connection pending.
7300 2004-02-02 Graydon Hoare <graydon@redhat.com>
7302 * javax/swing/SwingUtilities.java: Many new functions.
7303 * java/awt/Container.java (LightweightDispatcher): Reimplement.
7304 * javax/swing/basic/BasicGraphicsUtils.java
7305 (getPreferredButtonSize): Start layout from top-left corner.
7307 2004-02-04 Olga Rodimina <rodimina@redhat.com>
7309 * java/awt/geom/AffineTransform.java:
7310 Corrected comments on the field definitions for
7312 (shear): Fixed few errors that caused shear
7313 transformation to be performed incorrectly.
7314 (createInverse): Fixed to return correct
7315 inverse of the given matrix.
7317 2004-02-03 Tom Tromey <tromey@redhat.com>
7319 * java/lang/natPosixProcess.cc (startProcess): Handle case where
7320 PATH or LD_LIBRARY_PATH is not set in parent environment.
7322 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
7324 * gnu/java/awt/peer/gtk/GtkListPeer.java,
7325 java/awt/BorderLayout.java, java/awt/CardLayout.java,
7326 java/awt/CheckboxGroup.java, java/awt/Choice.java,
7327 java/awt/Component.java, java/awt/Container.java,
7328 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
7329 java/awt/LayoutManager2.java, java/awt/List.java,
7330 java/awt/Menu.java, java/awt/MenuBar.java,
7331 java/awt/MenuItem.java, java/awt/Polygon.java,
7332 java/awt/Rectangle.java, java/awt/ScrollPane.java,
7333 java/awt/Scrollbar.java, java/awt/TextArea.java,
7334 java/awt/TextField.java,
7335 java/awt/image/renderable/RenderContext.java,
7336 javax/swing/JApplet.java: Fix handling of alias methods, where a
7337 method has been deprecated in favour of a new one with the same
7338 funtion but a different name. Put the method implementation in
7339 the deprecated method and have the new method call the
7340 deprecated one. Make all other code call the new method.
7342 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
7344 * gnu/java/nio/DatagramChannelImpl.java
7345 (inChannelOperation): New field.
7346 (isInChannelOperation): New accessor.
7347 (setInChannelOperation): New modifier.
7348 (receive): Use capacity() - position() of destination
7349 buffer instead of remaining(). Set and reset our "in
7350 channel operation indicator" before and after delegating
7351 the receive to our datagram socket. Removed testing code.
7352 Update destination buffer's current position if it is
7353 backed by a byte array (hasArray() is true).
7354 (send): Set and reset our "in channel operation indicator"
7355 before and after delegating the send to our datagram socket.
7356 Removed testing code. Update source buffer's current position
7357 if it is backed by a byte array (hasArray() is true).
7358 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
7359 Use capacity() - position() of destination buffer instead
7361 * java/net/DatagramSocket.java (receive): Don't throw an
7362 IllegalBlockingModeException if we have a non-blocking
7363 channel which initiated this operation.
7366 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
7368 * configure.in: Add pkgconfig check for glib and gthread.
7369 * configure: Regenerate.
7371 2004-02-01 Michael Koch <konqueror@gmx.de>
7373 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
7375 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
7376 * verify.cc (debug_print): Mark 'fmt' unused.
7378 2004-01-30 Michael Koch <konqueror@gmx.de>
7380 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
7381 * configure: Regenerated.
7382 * glib-2.0.m4: Removed.
7383 * gtk-2.0.m4: Removed.
7384 * libart.m4: Removed.
7387 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
7389 * gnu/java/net/PlainSocketImpl.java
7390 (inChannelOperation): New field.
7391 (isInChannelOperation): New accessor.
7392 (setInChannelOperation): New modifier.
7393 * gnu/java/nio/ServerSocketChannelImpl.java
7394 (accept): Set and reset our server socket's PlainSocketImpl's
7395 "in channel operation" indicator before and after delegating
7396 the accept to our server socket.
7397 * gnu/java/nio/SocketChannelImpl.java
7398 (connect): Set and reset our socket's PlainSocketImpl's "in channel
7399 operation" indicator before and after delegating the operation to
7403 * java/net/ServerSocket.java (implAccept): Don't throw an
7404 IllegalBlockingModeException if we have a non-blocking
7405 channel which initiated this accept operation.
7406 * java/net/Socket.java (connect): Don't throw an
7407 IllegalBlockingModeException if we have a non-blocking
7408 channel which initiated this connect operation.
7409 * java/nio/channels/spi/AbstractSelectableChannel.java
7410 (configureBlocking): Only call implConfigureBlocking() if
7411 the desired blocking mode is different from our current one.
7413 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
7415 * java/io/BufferedReader.java (sbuf): New field.
7416 (readLine): Use String.valueOf instead of new String() as per
7417 Per Bothner's suggestion. Use instance sbuf field instead of a
7418 local StringBuffer instance.
7419 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
7420 caller's buffer to refill().
7421 (read(void)): Pass our internal work buffer to refill if our
7422 input queue is empty.
7423 (refill): Changed return type to int. Use the specified buffer
7424 instead of our work buffer as per Bryce McKinlay's suggestion.
7425 Return the number of characters read or -1 for EOF.
7427 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
7429 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
7431 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
7433 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
7434 * Makefile.in: Re-generated.
7435 * gnu/awt/xlib/XFontPeer.java: New file.
7436 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
7437 (setClip): Commented out debug printout.
7438 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
7439 (getFontPeer): Return XFontPeer.
7440 (getLocalGraphicsEnvironment): New method.
7441 (getClasspathFontPeer): New method.
7442 (createFont): New method.
7444 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
7446 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
7449 2004-01-29 Kim Ho <kho@redhat.com>
7451 * gnu/java/awt/peer/gtk/GtkFramePeer.java
7452 (gtkLayoutSetVisible): New method
7453 (setMenuBar): Hide layout before setting MenuBar
7454 and reshow it after.
7455 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7456 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
7458 2004-01-28 Michael Koch <konqueror@gmx.de>
7460 * gnu/java/lang/ClassHelper.java
7461 (getPackagePortion): Removed.
7463 2004-01-28 Michael Koch <konqueror@gmx.de>
7465 * javax/swing/JComponent.java
7466 (listenerList): Initalize globally.
7467 (ancestor_list): Removed.
7468 (veto_list): Removed.
7469 (change_list): Removed.
7470 (get_veto_list): Removed.
7471 (get_change_list): Removed.
7472 (get_ancestor_list): Removed.
7473 (removeAncestorListener): Reimplemented.
7474 (removePropertyChangeListener): Likewise.
7475 (removeVetoableChangeListener): Likewise.
7476 (addAncestorListener): Likewise.
7477 (addPropertyChangeListener): Likewise.
7478 (addVetoableChangeListener): Likewise.
7479 (getListeners): New method.
7480 (getAncestorListeners): Likewise.
7481 (getVetoableChangeListeners): Likewise.
7482 (fireVetoableChange): Throws PropertyVetoException.
7483 * javax/swing/JEditorPane.java
7484 (JEditorPane): Throws IOException.
7486 2004-01-28 David Jee <djee@redhat.com>
7488 * gnu/java/awt/peer/gtk/GtkFramePeer.java
7489 (create): Set the default foreground color to
7490 java.awt.SystemColor.windowText.
7492 2004-01-27 Michael Koch <konqueror@gmx.de>
7494 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
7495 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
7496 Reindented to merge with classpath.
7498 2004-01-27 David Jee <djee@redhat.com>
7500 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7501 (addExposeFilter): Handle GtkFramePeer separately.
7502 (removeExposeFilter): Likewise.
7504 2004-01-27 Michael Koch <konqueror@gmx.de>
7506 * gnu/java/net/protocol/http/Connection.java
7507 (getOutputStream): Fixed typo.
7509 2004-01-27 Michael Koch <konqueror@gmx.de>
7511 * java/lang/Class.java
7512 (getConstructor): Removed SecurityException from throws clause.
7513 (_getConstructors): Likewise.
7514 (getConstructors): Likewise.
7515 (getDeclaredConstructor): Likewise.
7516 (getDeclaredClasses): Likewise.
7517 (getDeclaredConstructors): Likewise.
7518 (getDeclaredField): Likewise.
7519 (getDeclaredMethod): Likewise.
7520 (getDeclaredMethods): Likewise.
7521 (getField): Likewise.
7522 (getMethod): Likewise.
7523 (getMethods): Likewise.
7525 2004-01-27 Kim Ho <kho@redhat.com>
7527 * gnu/java/awt/peer/gtk/GtkFramePeer.java
7528 (removeMenuBarPeer): Remove MenuBarPeer argument.
7529 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
7530 (dispose): Call native method.
7531 * java/awt/Frame.java (setMenuBar): Create and remove
7532 MenuBar peers only if the Frame has a peer.
7533 (addNotify): Create the MenuBar peer if one exists.
7534 (removeNotify): Remove MenuBar peer if one exists.
7535 * java/awt/Menu.java: Fix imports.
7536 (addNotify): Don't use full class name.
7537 (removeNotify): Call removeNotify on all children.
7538 * java/awt/MenuBar.java (removeNotify): Call
7539 removeNotify on all children.
7540 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7541 (removeMenuBarPeer): Remove MenuBarPeer argument.
7542 Iterate through children to find the Frame's MenuBar.
7543 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
7545 (dispose): Remove references to the MenuComponent.
7547 2004-01-27 Michael Koch <konqueror@gmx.de>
7549 * javax/swing/AbstractCellEditor.java: Reformated.
7550 * javax/swing/DefaultListSelectionModel.java
7551 (listenerList): Made protected.
7552 (addListSelectionListener): Javadoc added.
7553 (removeListSelectionListener): Likewise.
7554 (getListeners): Likewise.
7555 (getListSelectionListeners): Likewise.
7556 * javax/swing/JComboBox.java: Merged copyright year.
7557 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
7559 2004-01-26 Andrew Haley <aph@redhat.com>
7561 * javax/swing/table/JTableHeader.java: Extend JComponent
7563 2004-01-26 Kim Ho <kho@redhat.com>
7565 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
7568 2004-01-26 Kim Ho <kho@redhat.com>
7570 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
7572 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
7573 height and let the Layout Managers readjust anything that
7575 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7576 (moveLayout): New method. Shift everything in the Gtk
7577 layout in the Y direction by an offset.
7579 2004-01-26 David Jee <djee@redhat.com>
7581 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7582 (handleEvent): Implemented. Handles PaintEvents.
7583 (paint): Implemented. Use GTK native methods to queue updates
7584 for this heavyweight peer.
7585 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
7586 (handleEvent): Removed.
7587 * java/awt/Component.java
7588 (paint): Implemented. Explictly paint the heavyweight peer.
7589 (update): Clear the background for heavyweight components.
7590 (paintAll): No need to call peer.paint() anymore.
7591 (processEvent): Don't process PaintEvents here. It's now done in
7592 the peer's handleEvent().
7593 (processPaintEvent): Removed.
7594 * java/awt/Container.java
7595 (paint): No need to call super.paint(). Visit heavyweight
7597 (update): Don't clear the background here. It's done in
7599 (visitChildren): Added check to not recurse into Containers.
7600 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7601 (filter_expose_event_handler): New method. Filter unwanted
7602 expose events while painting heavyweight peers.
7603 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
7604 New method. Connect filter and block pre_event_handler.
7605 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
7606 New method. Disconnect filter and unblock pre_event_handler.
7607 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
7608 New method. Invalidate and update given area.
7609 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7610 (pre_event_handler): Add checks for unwanted expose events.
7612 2004-01-26 David Jee <djee@redhat.com>
7614 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7615 (find_bg_color_widget): For GtkButton, return its child.
7617 2004-01-26 Kim Ho <kho@redhat.com>
7619 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
7621 (setMenuBar): Grab MenuBar height and change insets.
7622 (setBounds): Account for MenuBar height.
7623 (postInsetsChangedEvent): Ditto.
7624 (postSizeAllocateEvent): Remove.
7625 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7626 (menubar_resize_cb): Remove
7627 (setMenuBarPeer): Remove callback.
7628 (getMenuBarHeight): Use size requisition instead of
7631 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
7633 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
7634 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
7636 (setColumns): Remove FIXME -- peer will retrieve number of
7637 columns by calling getColumns.
7638 (setRows): Likewise for number of rows.
7639 (next_text_number): New field.
7640 (paramString): Fix param string.
7641 (generateName): New method.
7642 (getUniqueLong): New method.
7644 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
7646 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
7647 image observer of image loading status.
7648 (getImage (String)): Start image production.
7649 (getImage (URL)): Likewise.
7651 2004-01-25 Michael Koch <konqueror@gmx.de>
7653 * java/lang/Class.java: Imports reworked, reformated.
7654 (Class): Javadoc added.
7655 (forName): Likewise.
7656 (getClasses): Likewise.
7657 (getClassLoader): Likewise.
7658 (getComponentType): Likewise.
7659 (getConstructor): Likewise.
7660 (getConstructors): Likewise.
7661 (getDeclaredConstructor): Likewise.
7662 (getDeclaredClasses): Likewise.
7663 (getDeclaredConstructors): Likewise.
7664 (getDeclaredField): Likewise.
7665 (getDeclaredMethod): Likewise.
7666 (getDeclaredMethods): Likewise.
7667 (getDeclaringClass): Likewise.
7668 (getField): Likewise.
7669 (getInterfaces): Likewise.
7670 (getMethod): Likewise.
7671 (getMethods): Likewise.
7672 (getModifiers): Likewise.
7673 (getName): Likewise.
7674 (getResource): Likewise.
7675 (getResourceAsStream): Likewise.
7676 (getSigners): Likewise.
7677 (setSigners): Likewise.
7678 (getSuperclass): Likewise.
7679 (isArray): Likewise.
7680 (isAssignableFrom): Likewise.
7681 (isInstance): Likewise.
7682 (isInterface): Likewise.
7683 (isPrimitive): Likewise.
7684 (newInstance): Likewise.
7685 (getProtectionDomain): Likewise.
7686 (toString): Likewise.
7688 (initializeClass): Likewise.
7689 (finalize): Likewise.
7691 2004-01-24 Michael Koch <konqueror@gmx.de>
7693 * gnu/java/net/protocol/jar/Connection.java
7696 (gotHeaders): Removed.
7697 (getHeaderField): Removed.
7698 (getHeaderFields): Removed.
7699 (getHeaderFieldKey): Removed.
7701 (getField): Removed.
7702 (getHeaders): Removed.
7704 2004-01-24 Michael Koch <konqueror@gmx.de>
7706 * Makefile.am: Added library version to gtk peer lib.
7707 * Makefile.in: Regenerated.
7709 2004-01-24 Michael Koch <konqueror@gmx.de>
7711 * java/util/zip/InflaterInputStream.java: Merged class documentation
7714 2004-01-21 Jakub Jelinek <jakub@redhat.com>
7716 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
7717 header. For __powerpc64__ provide the default-signal.h definitions
7719 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
7720 instead of the dummy definitions.
7721 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
7722 (powerpc64*-*): Remove with_libffi_default.
7723 Only add -mminimal-toc for 64-bit compilations.
7724 * configure.in: Use powerpc-signal.h on powerpc64 as well.
7725 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
7726 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
7727 * configure: Rebuilt.
7729 2004-01-23 Michael Koch <konqueror@gmx.de>
7731 * gnu/java/nio/FileLockImpl.java: Compile fixes.
7733 2004-01-23 Michael Koch <konqueror@gmx.de>
7735 * java/lang/VMClassLoader.java: Reworked imports.
7737 2004-01-23 Michael Koch <konqueror@gmx.de>
7739 * javax/swing/AbstractAction.java: Reformated.
7741 2004-01-23 Michael Koch <konqueror@gmx.de>
7743 * java/text/CollationElementIterator.java:
7744 (setText): New method.
7746 2004-01-23 Michael Koch <konqueror@gmx.de>
7748 * gnu/java/nio/FileLockImpl.java:
7749 Fixed filename in copyright.
7750 (released): Removed.
7751 (finalize): New method.
7752 * gnu/java/nio/natFileLockImpl.cc
7753 (releaseImpl): Implemented.
7754 * java/nio/channels/FileChannelImpl.java:
7756 (lock): Implemented.
7757 (lockImpl): New method.
7758 (tryLock): Implemented.
7759 (tryLockImpl): New method.
7760 * java/nio/channels/natFileChannelImpl.cc
7761 (lockImpl): New method.
7762 (tryLockImpl): New method.
7764 2004-01-23 Michael Koch <konqueror@gmx.de>
7766 * java/io/FileDescriptor.java
7768 (tryLock): New method.
7769 (unlock): New method.
7770 * java/io/natFileDescriptorEcos.cc
7772 (tryLock): New method.
7773 (unlock): New method.
7774 * java/io/natFileDescriptorPosix.cc
7776 (tryLock): New method.
7777 (unlock): New method.
7778 * java/io/natFileDescriptorWin32.cc
7780 (tryLock): New method.
7781 (unlock): New method.
7783 2004-01-23 Michael Koch <konqueror@gmx.de>
7785 * java/io/FileDescriptor.java
7786 (sync): Moved around, added javadoc.
7791 (setLength): Likewise.
7793 (getLength): Likewise.
7794 (getFilePointer): Likewise.
7796 (available): Likewise.
7797 (finalize): Likewise.
7799 2004-01-23 Michael Koch <konqueror@gmx.de>
7801 * javax/swing/AbstractAction.java: Reformated.
7802 (getPropertyChangeListeners): New method.
7803 * javax/swing/AbstractCellEditor.java: Reformated.
7804 (getCellEditorListeners): New method.
7805 * javax/swing/DefaultListSelectionModel.java
7806 (listenerList): New field.
7807 (listeners): Removed.
7808 (get_listeners): Removed.
7809 (addListSelectionListener): Rewritten.
7810 (removeListSelectionListener): Rewritten.
7811 (getListSelectionListeners): New method.
7812 (getListeners): New method.
7813 * javax/swing/JComboBox.java: Imports reworked.
7814 (addActionListener): Implemented.
7815 (removeActionListener): Implemented.
7816 (addItemListener): Implemented.
7817 (removeItemListener): Implemented.
7818 (addPopupMenuListener): Implemented.
7819 (removePopupMenuListener): Implemented.
7820 (getActionListeners): New method.
7821 (getItemListeners): New method.
7822 (getPopupMenuListeners): New method.
7824 2004-01-23 Michael Koch <konqueror@gmx.de>
7826 * gnu/java/net/protocol/http/Connection.java
7827 (connect): Don't initialize bufferedOutputStream if not needed.
7828 (sendRequest): Set property for content length if content is present.
7829 Write content only if present.
7830 (getOutputStream): Check if already connected, dont connect,
7831 initalize bufferedOutputStream if needed.
7833 2004-01-23 Michael Koch <konqueror@gmx.de>
7835 * java/io/FileDescriptor.java
7836 (in, out, err): Added javadoc.
7837 (static): Merged loading code.
7838 (fd, position): Moved around.
7840 2004-01-23 Michael Koch <konqueror@gmx.de>
7842 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
7845 2004-01-23 Michael Koch <konqueror@gmx.de>
7847 * java/lang/Class.java,
7848 java/lang/Object.java,
7849 java/lang/Thread.java: Merged copyright with classpath.
7851 2004-01-23 Michael Koch <konqueror@gmx.de>
7853 * java/io/FileDescriptor.java: Merged copyright with classpath to
7854 start merging this class.
7856 2004-01-22 Tom Tromey <tromey@redhat.com>
7859 * testsuite/libjava.lang/pr13107_2.xfail: New file.
7860 * testsuite/libjava.lang/pr13107_3.xfail: New file.
7861 * testsuite/libjava.lang/pr13107_3.java: New file.
7862 * testsuite/libjava.lang/pr13107_3.out: New file.
7863 * testsuite/libjava.lang/pr13107_2.java: New file.
7864 * testsuite/libjava.lang/pr13107_2.out: New file.
7865 * testsuite/libjava.lang/pr13107.java: New file.
7866 * testsuite/libjava.lang/pr13107.out: New file.
7867 * verify.cc (jsr_ptrs): Removed.
7868 (entry_points): Likewise.
7869 (struct subr_info): Likewise.
7870 (struct subr_entry_info): Likewise.
7871 (type_val::unused_by_subroutine_type): Likewise.
7872 (type::merge): Don't handle unused_by_subroutine_type.
7873 (type::print): Likewise.
7874 (state::flags): Removed.
7875 (state::subroutine): Likewise.
7876 (state::seen_subrs): Likewise.
7877 (state::NO_STACK): Likewise.
7878 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
7879 (state): Updated all methods.
7880 (state::clean_subrs): Removed.
7881 (state::state): Removed `ret_semantics' flag.
7882 (state::copy): Likewise.
7883 (state::add_subr): Removed.
7884 (state::enter_subroutine): Likewise.
7885 (type::set_return_address): New method.
7886 (handle_jsr_insn): Set return address on the type. Always
7887 invalidate PC after call.
7888 (check_nonrecursive_call): Removed.
7889 (~_Jv_BytecodeVerifier): Updated.
7890 (branch_prepass): Removed special handling of jsr.
7891 (note_branch_target): Likewise.
7892 (get_subroutine): Removed.
7893 (state::merge): Don't merge subroutines and don't handle
7894 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
7895 (state::note_variable): Removed.
7896 (state::is_unmerged_ret_state): Likewise.
7897 (state::print): Updated.
7898 (set_variable): Likewise.
7899 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
7900 and jsr_semantics arguments. Updated for new reverification
7902 (pop_jump): Rewrote.
7903 (construct_primitive_array_type): Updated.
7904 (state::next): Removed.
7905 (INVALID_STATE): New define.
7906 (state::INVALID): Removed.
7907 (state::NO_NEXT): New value.
7908 (state::pc, state::next): New fields.
7909 (state::get_pc): New method.
7910 (next_verify_pc): Removed.
7911 (next_verify_state): New field.
7912 (verify_instructions_0): Always check for falling off end.
7914 (linked_utf8): Removed.
7915 (states): Changed type.
7916 (type::state_mergeable_p): New method.
7917 (state::state_mergeable_p): Likewise.
7918 (handle_ret_insn): Removed most code.
7919 (state::reverify): New method.
7920 (add_new_state): Likewise.
7921 (state::set_pc): Likewise.
7923 2004-01-22 Jeff Sturm <jsturm@one-point.com>
7926 * testsuite/libjava.compile/PR13733.java: New file.
7927 * testsuite/libjava.compile/PR13733.xfail: New file.
7929 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
7930 Michael Koch <konqueror@gmx.de>
7932 * javax/swing/table/DefaultTableCellRenderer.java
7933 (DefaultTableCellRenderer): Added javadoc for the class and for
7934 the constructor, Border instance, create an EmptyBorder.
7935 (UIResource): Removed the comment at the end of the class
7936 (setForeground): New method.
7937 (setBackground): New method.
7938 (updateUI): New method.
7939 (getTableCellRendererComponent): Rewritten with the help of
7940 dvholten and Stephane Meslin-Weber.
7941 (validate): New method.
7942 (repaint): New method.
7943 (firePropertyChange): New method.
7944 (setValue): New method.
7946 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7948 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7949 (connectJObject): Replace printf calls with g_assert statements.
7950 Move property-notify-event signal connection to ...
7951 (connectSignals): Connect property-notify-event signal. Iterate
7952 through the vbox's children to find layout.
7954 2004-01-22 Graydon Hoare <graydon@redhat.com>
7956 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
7957 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
7958 Predicate static initialization on GtkToolkit.useGraphics2D().
7959 * java/awt/Component.java (processPaintEvent): Consume event.
7960 * javax/swing/AbstractButton.java: Reimplement, document.
7961 * javax/swing/DefaultButtonModel.java: Reimplement, document.
7962 * javax/swing/JComponent.java (paint): Use double buffer.
7963 (listenerList): Enable member.
7964 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
7965 * javax/swing/JToggleButton.java
7966 (JToggleButton): Modify model constructor.
7967 * javax/swing/SwingUtilities.java
7968 (layoutCompoundLabel): Adjust arithmetic.
7969 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
7970 * javax/swing/plaf/basic/BasicGraphicsUtils.java
7971 (getPreferredButtonSize): Include margins in calculation.
7972 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7973 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
7974 Receive up events from subordinate layout component.
7976 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7978 * java/awt/Component.java (show): Set visible to true before
7981 2004-01-21 Kim Ho <kho@redhat.com>
7983 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
7985 (removeMenuBarPeer): Make package private.
7986 (setMenuBarPeer): Make package private.
7987 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7988 (menubar_resize_cb): Mark attributes unused.
7989 (getMenuBarHeight): ditto.
7991 2004-01-21 David Jee <djee@redhat.com>
7993 * java/awt/Container.java
7994 (LightweightDispatcher.handleEvent): Add an extra check to avoid
7995 dispatching MOUSE_ENTERED event twice. Translate the point for
7996 the mouse event target before dispatching the event.
7998 2004-01-20 Jakub Jelinek <jakub@redhat.com>
8000 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
8001 lib_org_w3c_dom_la_LDFLAGS): New.
8002 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
8003 * Makefile.in: Rebuilt.
8005 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
8007 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
8008 Calculate proper offsets for heavyweight components packed in
8009 lightweight containers.
8011 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
8012 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
8013 (native create): Add width parameter.
8014 (create): Calculate text entry width based on current font's
8015 metrics and number of columns. Set TextField's font if not
8016 already set. Call native create.
8017 (gtkEntryGetBorderWidth): New native method.
8018 (gtkEntryGetSize): Remove method.
8019 (getMinimumSize): Call minimumSize.
8020 (getPreferredSize): Call preferredSize.
8021 (minimumSize): Calculate minimum size based on backing
8022 GtkEntry's borders, font metrics and number of columns.
8023 (preferredSize): Likewise for preferred size.
8024 (get_border_width): New static function.
8026 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
8027 Override GtkWindowPeer's setResizable method to account for menu
8028 bar height when setting the frame's size.
8030 2004-01-19 Matthias Klose <doko@debian.org>
8032 * libtool-version: Increased `current' to 6.
8034 2004-01-19 Kim Ho <kho@redhat.com>
8036 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8037 (connectJObject): Iterate through the vbox's children to find layout.
8039 2004-01-19 Fernando Nasser <fnasser@redhat.com>
8041 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
8042 isDispatchThread method to replace wrong test condition.
8044 2004-01-19 Fernando Nasser <fnasser@redhat.com>
8046 * java/awt/EventQueue.java (pop): Prevent racing condition to add
8047 events to the queue out of order by acquiring locks in the proper
8048 order and not by releasing one before acquiring the other.
8050 2004-01-19 Fernando Nasser <fnasser@redhat.com>
8052 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
8053 visible so that dialog can be reused.
8055 2004-01-19 Fernando Nasser <fnasser@redhat.com>
8057 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
8058 events may be handled by any queue in the stack.
8060 2004-01-19 Kim Ho <kho@redhat.com>
8062 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
8063 MenuBarPeer parameter.
8064 (removeMenuBarPeer): New native method.
8065 (setMenuBar): Call remove if menu bar is null. Adjust insets
8067 (postSizeAllocateEvent): New method. Called when menu bar size is
8068 allocated. Adjust insets and redo layout.
8069 (GtkFramePeer): Set menu bar during frame creation.
8070 (postConfigureEvent): Adjust position and size to accomodate
8072 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
8073 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
8074 (addNotify): Create the peer if it doesn't exist and call addNotify
8075 for the menu's items.
8076 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
8077 * java/awt/MenuItem.java (addNotify): Create the peer if it
8079 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8080 (removeMenuBarPeer): New method. Remove menu bar on the current
8082 (setMenuBarPeer): Add the menu bar to the current frame and the
8083 callback for size-allocate events on the menu bar.
8084 (getMenuBarHeight): Add menu bar parameter.
8085 (menubar_resize_cb): New callback method for postSizeAllocate events.
8087 Also: Fix indentation on last ChangeLog entry.
8089 2004-01-16 Kim Ho <kho@redhat.com>
8091 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
8092 (gtkWidgetGetDimensions): Remove.
8093 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8094 (gtkWidgetGetDimensions): Remove.
8096 2004-01-16 Tom Tromey <tromey@redhat.com>
8098 * java/awt/Container.java: Typo and indentation fixes.
8100 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
8101 * java/lang/natVMClassLoader.cc: ...here. New file.
8102 * Makefile.in: Rebuilt.
8103 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
8105 2004-01-16 Fernando Nasser <fnasser@redhat.com>
8107 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
8108 Discard GDK_ENTER_NOTIFY related to ungrabs.
8110 2004-01-16 Fernando Nasser <fnasser@redhat.com>
8112 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
8113 is called for an intermediate queue.
8115 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
8117 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8118 (window_property_changed_cb): Set id_set.
8120 2004-01-16 Kim Ho <kho@redhat.com>
8122 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
8123 it is a FileDialog and has dimensions of 0 by 0, then the initial
8124 size is set to size request plus insets.
8125 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
8126 (gtkWidgetGetDimensions): Override method.
8127 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8128 (gtkWidgetGetDimensions): Override method. Returns size request plus
8131 2004-01-16 Andrew Haley <aph@redhat.com>
8133 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
8134 * sysdep/i386/locks.h: Likewise.
8136 2004-01-16 Fernando Nasser <fnasser@redhat.com>
8138 * java/awt/EventDispatchThread.java (run): Stop running when
8140 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
8141 Reset the queue after transferring its contents.
8142 (push): Start a new dispatch thread if none is running.
8144 2004-01-16Â Olga Rodimina <rodimina@redhat.com>
8146 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8147 (doPolygon): set fill rule of polygon to
8148 WIND_EVEN_ODD by default.
8150 2004-01-15 Olga Rodimina <rodimina@redhat.com>
8152 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8153 Implemented rendering hints related methods.
8154 (getDefaultHints): New helper method. Returns
8155 default rendering hints.
8156 (walkPath): changed to normalize path if
8157 the KEY_STROKE_CONTROL key is in "normalize" mode.
8158 (draw3DRect): changed coordinates of rectangle by +0.5
8159 if in "normalize" mode.
8161 2004-01-15 Tom Tromey <tromey@redhat.com>
8163 * Makefile.in: Rebuilt.
8164 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
8165 (%.lo: %.java) Filter out StackTrace.lo.
8167 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
8169 * configure.in: Add in AC_PREREQ(2.13)
8170 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
8173 2004-01-14 Nathan Bryant <nbryant@optonline.net>
8174 Tom Tromey <tromey@redhat.com>
8177 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
8178 array to superclass.
8179 (init): Changed interface; add URLs here.
8180 (initialize): New static method.
8181 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
8182 (_Jv_RunMain): ... not here.
8184 2004-01-14 Michael Koch <konqueror@gmx.de>
8186 * java/text/MessageFormat.java:
8187 Added descriptions to exceptions.
8188 This fixes PR libgcj/2429.
8190 2004-01-13 Fernando Nasser <fnasser@redhat.com>
8192 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
8193 (push): Make sure push is performed at the top of the thread stack.
8195 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8197 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8198 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8199 (native create): Add width and height parameters. Set text
8200 view's size request according to new parameters.
8201 (create): Calculate text view size based on current font's
8202 metrics and number of rows and columns. Set TextArea's font if
8203 not already set. Call native create.
8204 (getMinimumSize): Call minimumSize.
8205 (getPreferredSize): Call preferredSize.
8206 (getHScrollbarHeight): New method.
8207 (getVScrollbarWidth): New method.
8208 (minimumSize): Calculate minimum size based on scrollbar
8209 visibility, scrollbar sizes, font metrics and number of rows and
8211 (preferredSize): Likewise for preferred size.
8212 (gtkTextGetSize): Remove method.
8214 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8216 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8217 (initializeInsets): Remove method.
8218 (GtkComponentPeer): Initialize insets field. Remove call to
8220 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
8222 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
8224 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
8225 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
8226 (latestInsets): Remove field.
8227 (native create): Add insets parameter. Call
8228 window_get_frame_extents. Set the window's default size and
8229 size request based on its frame extents.
8230 (create): Initialize insets.
8231 (postInsetsChangedEvent): New method.
8232 (postConfigureEvent): Remove parameters top, left, bottom,
8233 right. Remove insets-related logic.
8234 (connectJObject): Handle property-notify-event.
8235 (window_get_frame_extents, request_frame_extents,
8236 property_notify_predicate, window_property_changed_cb): New
8238 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8239 (pre_event_handler): Remove insets-related logic for configure
8241 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
8242 Update postConfigureEvent signature.
8244 2004-01-13 Fernando Nasser <fnasser@redhat.com>
8246 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
8247 to handle Window "Closing" events.
8249 2004-01-13 David Jee <djee@redhat.com>
8251 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8252 (setBackground): New method. Children with no explicitly-set
8253 background will be repainted with the parent container's new
8256 2004-01-13 David Jee <djee@redhat.com>
8258 * Makefile.am: Add BitwiseXORComposite.java.
8259 * Makefile.in: Regenerated.
8260 * gcj/Makefile.in: Regenerated.
8261 * include/Makefile.in: Regenerated.
8262 * testsuite/Makefile.in: Regenerated.
8264 2004-01-12 Fernando Nasser <fnasser@redhat.com>
8266 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
8267 not show modal dialogs twice and so that it allows showing a modal
8268 dialog from another modal dialog.
8270 2004-01-12 Fernando Nasser <fnasser@redhat.com>
8272 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
8273 and run secondary dispatch thread to process event queue while this
8276 2004-01-12 Graydon Hoare <graydon@redhat.com>
8278 * gnu/java/awt/gtk/GdkGraphics2D.java
8279 (static): Check GtkToolkit before initializing static state.
8280 (Graphics2D): Don't construct transform with 0.5 unit offset.
8282 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
8284 * gnu/java/awt/BitwiseXORComposite.java: Add.
8285 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8286 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
8287 (BitwiseXORComposite): Remove inner class.
8289 2004-01-11 Michael Koch <konqueror@gmx.de>
8291 * gnu/java/lang/reflect/TypeSignature.java
8292 (getEncodingOfClass): Documentation fixed.
8293 (getClassForEncoding): Give class loader to Class.forName().
8294 Documentation fixed.
8296 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
8298 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
8300 2004-01-11 Michael Koch <konqueror@gmx.de>
8302 * javax/swing/undo/StateEditable.java
8303 (RCSID): Removed redundant modifiers.
8305 2004-01-10 Michael Koch <konqueror@gmx.de>
8307 * javax/print/attribute/EnumSyntax.java
8308 (getStringTable): Made protected.
8309 (getEnumValueTable): Likewise.
8310 * javax/print/attribute/standard/JobKOctetsProcessed.java
8311 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
8312 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
8313 (JobMediaSheetsCompleted): Made class final.
8314 * javax/print/attribute/standard/OutputDeviceAssigned.java
8315 (getName): Fixed typo.
8316 * javax/print/attribute/standard/RequestingUserName.java
8317 (serialVersionUID): Fixed value.
8319 2004-01-10 Michael Koch <konqueror@gmx.de>
8321 * javax/swing/plaf/basic/BasicButtonUI.java,
8322 javax/swing/plaf/basic/BasicCheckBoxUI.java,
8323 javax/swing/plaf/basic/BasicListUI.java,
8324 javax/swing/plaf/basic/BasicOptionPaneUI.java,
8325 javax/swing/plaf/basic/BasicPanelUI.java,
8326 javax/swing/plaf/basic/BasicRadioButtonUI.java,
8327 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8328 javax/swing/plaf/basic/BasicToggleButtonUI.java,
8329 javax/swing/plaf/basic/BasicViewportUI.java:
8330 Fixed import statements.
8332 2004-01-10 Michael Koch <konqueror@gmx.de>
8334 * gnu/java/awt/image/ImageDecoder.java
8335 (produce): Made public.
8336 * gnu/java/awt/peer/GLightweightPeer.java,
8337 gnu/java/awt/peer/gtk/GtkToolkit.java:
8340 2004-01-10 Michael Koch <konqueror@gmx.de>
8342 * javax/swing/JRadioButtonMenuItem.java,
8343 javax/swing/JSeparator.java,
8344 javax/swing/JSplitPane.java,
8345 javax/swing/JTextPane.java,
8346 javax/swing/JToolBar.java,
8347 javax/swing/ListCellRenderer.java,
8348 javax/swing/ListModel.java,
8349 javax/swing/MenuElement.java,
8350 javax/swing/OverlayLayout.java,
8351 javax/swing/ProgressMonitor.java,
8352 javax/swing/ProgressMonitorInputStream.java,
8353 javax/swing/Renderer.java,
8354 javax/swing/RootPaneContainer.java,
8355 javax/swing/Scrollable.java,
8356 javax/swing/SingleSelectionModel.java,
8357 javax/swing/ToolTipManager.java,
8358 javax/swing/ViewportLayout.java,
8359 javax/swing/event/DocumentEvent.java,
8360 javax/swing/event/SwingPropertyChangeSupport.java,
8361 javax/swing/event/TreeSelectionEvent.java,
8362 javax/swing/event/UndoableEditEvent.java,
8363 javax/swing/text/AbstractDocument.java,
8364 javax/swing/text/AttributeSet.java,
8365 javax/swing/text/Caret.java,
8366 javax/swing/text/ComponentView.java,
8367 javax/swing/text/DefaultCaret.java,
8368 javax/swing/text/DefaultEditorKit.java,
8369 javax/swing/text/Document.java,
8370 javax/swing/text/EditorKit.java,
8371 javax/swing/text/GapContent.java,
8372 javax/swing/text/Keymap.java,
8373 javax/swing/text/MutableAttributeSet.java,
8374 javax/swing/text/PlainEditorKit.java,
8375 javax/swing/text/Segment.java,
8376 javax/swing/text/Style.java,
8377 javax/swing/text/StyledDocument.java,
8378 javax/swing/text/StyledEditorKit.java,
8379 javax/swing/text/TextAction.java,
8380 javax/swing/text/View.java: Fixed import statements.
8382 2004-01-08 Graydon Hoare <graydon@redhat.com>
8384 * javax/swing/JLayeredPane.java: Rewrite to accomodate
8385 djee@redhat.com's recent inverse ordering of Container elements.
8387 2004-01-09 Michael Koch <konqueror@gmx.de>
8389 * gnu/java/lang/ArrayHelper.java
8390 (equalsArray): Removed.
8392 2004-01-09 Andrew Haley <aph@redhat.com>
8394 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
8395 a Utf8Const field before looking at its class.
8397 2004-01-09 Michael Koch <konqueror@gmx.de>
8399 * javax/print/attribute/standard/DocumentName.java,
8400 javax/print/attribute/standard/JobHoldUntil.java,
8401 javax/print/attribute/standard/JobMessageFromOperator.java,
8402 javax/print/attribute/standard/JobName.java,
8403 javax/print/attribute/standard/JobOriginatingUserName.java,
8404 javax/print/attribute/standard/OutputDeviceAssigned.java,
8405 javax/print/attribute/standard/PrinterInfo.java,
8406 javax/print/attribute/standard/PrinterLocation.java,
8407 javax/print/attribute/standard/PrinterMakeAndModel.java,
8408 javax/print/attribute/standard/PrinterMessageFromOperator.java,
8409 javax/print/attribute/standard/PrinterName.java,
8410 javax/print/attribute/standard/RequestingUserName.java: New files.
8411 * Makefile.am (javax_source_files): Added new files.
8412 * Makefile.in: Regenerated.
8414 2004-01-09 Michael Koch <konqueror@gmx.de>
8416 * javax/swing/AbstractAction.java,
8417 javax/swing/AbstractSet.java,
8418 javax/swing/Action.java,
8419 javax/swing/ActionMap.java,
8420 javax/swing/BoundedRangeModel.java,
8421 javax/swing/ButtonModel.java,
8422 javax/swing/CellEditor.java,
8423 javax/swing/CellRendererPane.java,
8424 javax/swing/ComboBoxEditor.java,
8425 javax/swing/DebugGraphics.java,
8426 javax/swing/DefaultCellEditor.java,
8427 javax/swing/DefaultCellRenderer.java,
8428 javax/swing/DefaultComboBoxModel.java,
8429 javax/swing/DefaultDesktopManager.java,
8430 javax/swing/DefaultFocusManager.java,
8431 javax/swing/DefaultListCellRenderer.java,
8432 javax/swing/Icon.java,
8433 javax/swing/JButton.java,
8434 javax/swing/JCheckBoxMenuItem.java,
8435 javax/swing/JDesktopPane.java,
8436 javax/swing/JEditorPane.java,
8437 javax/swing/JMenu.java,
8438 javax/swing/JPanel.java,
8439 javax/swing/JPasswordField.java,
8440 javax/swing/JPopupMenu.java,
8441 javax/swing/JProgressBar.java: Reworked imports.
8443 2004-01-09 Michael Koch <konqueror@gmx.de>
8445 * java/awt/geom/PathIterator.java
8446 (WIND_EVEN_ODD): Removed redundant modifiers.
8447 (WIND_NON_ZERO): Likewise.
8448 (SEG_MOVETO): Likewise.
8449 (SEG_LINETO): Likewise.
8450 (SEG_QUADTO): Likewise.
8451 (SEG_CUBICTO): Likewise.
8452 (SEG_CLOSE): Likewise.
8453 * java/awt/image/SinglePixelPackedSampleModel.java:
8454 Removed redundant semicolon.
8455 * java/io/ObjectInputStream.java
8456 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
8457 * java/util/logging/Filter.java
8458 (isLoggable): Removed redundant modifier.
8459 * java/util/logging/LogManager.java:
8460 Removed redundant semicolon.
8461 * java/util/logging/XMLFormatter.java
8462 (format): Removed unused variable "key".
8464 2004-01-08 Fernando Nasser <fnasser@redhat.com>
8466 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
8467 New name for the former setFile native method.
8468 (setFile): New method.
8469 (setDirectory): Implemented.
8470 (connectSignals): New native method.
8471 (setFilenameFilter): Improve comment.
8472 (getGraphics): Comment.
8473 (gtkHideFileDialog): New method.
8474 (gtkDisposeFileDialog): New method.
8475 (gtkSetFilename): New method.
8476 * java/awt/Dialog.java (show): Block on modal dialogs, but only
8477 for FileDialog for now.
8479 (dispose): New method.
8480 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8481 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
8482 deprecated creation functions. Make dialog modal. Add it to the
8484 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
8486 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
8488 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
8490 (window_closed): New function.
8491 (ok_clicked): New function.
8492 (cancel_clicked): New function.
8494 2004-01-08 Michael Koch <konqueror@gmx.de>
8496 * javax/swing/JLayeredPane.java: Revert changes to standard
8497 boilerplate, reworked imports.
8499 2004-01-07 Tom Tromey <tromey@redhat.com>
8502 * verify.cc (state::merge): Copy changed locals out of subroutine
8504 (state::FLAG_CHANGED): New const.
8505 (state::FLAG_UNUSED): Likewise.
8506 (state::local_changed): Removed. Updated all users.
8507 (state::flags): New field.
8508 (state::merge): Added jsr_semantics argument, more logic.
8509 (push_jump_merge): Added jsr_semantics argument.
8510 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
8511 merging through the jsr instruction.
8513 2004-01-07 Tom Tromey <tromey@redhat.com>
8515 * scripts/MakeDefaultMimeTypes.java: Use \n, not
8518 2004-01-07 Graydon Hoare <graydon@redhat.com>
8520 * java/awt/Container.java (LightweightDispatcher): Implement.
8521 (visitChild): Reuse graphics object.
8522 (dispatchEventImpl): Optionally dispatch to lightweight.
8523 (addNotifyContainerChildren): Build LightweightDispatcher.
8525 2004-01-07 David Jee <djee@redhat.com>
8527 * java/awt/Container.java
8528 (update): Clear only the clipped region, instead of clearing the
8530 (visitChildren): Visit children in descending order.
8532 2004-01-07 Michael Koch <konqueror@gmx.de>
8534 * java/lang/reflect/Array.java: Merged documentation with classpath.
8536 2004-01-07 Michael Koch <konqueror@gmx.de>
8538 * java/text/CollationElementIterator.java
8539 (textIndex): Renamed from index.
8540 * java/text/CollationKey.java
8541 (collator): New member.
8542 (CollationKey): New argument for parent collator.
8543 (equals): Check for same collator, source string and key array.
8544 * java/text/RuleBasedCollator.java:
8546 (RuleBasedCollator): Don't re-initialize frenchAccents with default
8548 (getCollationElementIterator): Rewritten.
8549 (getCollationKey): Added new argument to CollationKey constructor.
8551 2004-01-07 Michael Koch <konqueror@gmx.de>
8553 * gnu/java/nio/DatagramChannelImpl.java
8554 (blocking): Removed.
8555 (DatagramChannelImpl): Call configureBlocking().
8556 (implConfigureBlocking): Dont initialize blocking.
8557 * gnu/java/nio/ServerSocketChannelImpl.java
8558 (blocking): Removed.
8559 (ServerSocketChannelImpl): Call configureBlocking().
8560 (implConfigureBlocking): Dont initialize blocking.
8561 * gnu/java/nio/SocketChannelImpl.java
8562 (blocking): Removed.
8563 (SocketChannelImpl): Call configureBlocking().
8564 (implConfigureBlocking): Dont initialize blocking.
8565 (connect): Use isBlocking().
8566 * java/nio/channels/spi/AbstractSelectableChannel.java
8567 (configureBlocking): Use blockingLock() instead of LOCK.
8568 Set blocking after successfully called implConfigureBlocking().
8569 (register): Use blockingLock() instead of LOCK.
8571 2004-01-07 Michael Koch <konqueror@gmx.de>
8573 * java/net/ServerSocket.java (isBound): Fixed documentation.
8575 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
8577 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
8578 (changeEvent): Create event object on demand.
8579 (DefaultBoundedRangeModel, toString, setValue, setExtent,
8580 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
8581 fireStateChanged): Re-written.
8582 * javax/swing/event/EventListenerList.java: Reformatted, document
8584 (toString): Implemented.
8585 (getListeners): Re-written.
8586 (remove): Re-written.
8588 (NO_LISTENERS): New singleton field.
8589 (listenerList): Declare as transient; document.
8590 (serialVersionUID): Document.
8591 (getListenerCount(Class)): More efficient implementation,
8592 also accepts null argument. Improve Javadoc.
8593 (getListenerCount()): Remove unnecessary cast; docfix.
8594 * javax/swing/undo/UndoableEditSupport.java:
8595 Re-format, document.
8596 (UndoableEditSupport): Set realSource field. Improve documentation.
8597 (_postEdit): Iterate over cloned listener vector.
8598 (toString): Don't emit realSource.
8599 (beginUpdate, endUpdate): Support nested updates.
8600 (postEdit): Use compound edit if present.
8602 2004-01-06 Graydon Hoare <graydon@redhat.com>
8604 * java/awt/Container.java (swapComponents): Add forgotten
8605 function, required for JLayeredPane change.
8607 2004-01-06 Michael Koch <konqueror@gmx.de>
8609 * java/text/CollationElementIterator.java: Reformated.
8610 (CollationElementIterator): Changed order of arguments.
8611 * java/text/RuleBasedCollator.java
8612 (RuleBasedCollator): Merged class documentation.
8613 (CollationElement): Added documentation.
8614 (compare): Reformated, renamed arguments.
8616 (getCollationElementIterator): Likewise.
8617 (getCollationKey): Likewise.
8619 2004-01-06 Graydon Hoare <graydon@redhat.com>
8621 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
8623 2004-01-06 Michael Koch <konqueror@gmx.de>
8625 * gnu/java/net/protocol/file/Connection.java:
8626 Reformated copyright.
8629 (gotHeaders): Removed.
8630 (getHeaderField): Removed.
8631 (getHeaderField): Removed.
8632 (getHeaderFieldKey): Removed.
8634 (getField): Removed.
8635 (getHeaders): Removed.
8637 2004-01-06 Michael Koch <konqueror@gmx.de>
8639 * javax/print/attribute/standard/DateTimeAtCompleted.java,
8640 javax/print/attribute/standard/DateTimeAtCreation.java,
8641 javax/print/attribute/standard/DateTimeAtProcessing.java,
8642 javax/print/attribute/standard/JobImpressionsCompleted.java,
8643 javax/print/attribute/standard/JobKOctets.java,
8644 javax/print/attribute/standard/JobKOctetsProcessed.java,
8645 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
8646 javax/print/attribute/standard/JobPrioritySupported.java: New files.
8647 * Makefile.am (javax_source_files): Added new files.
8648 * Makefile.in: Regenerated.
8650 2004-01-06 Michael Koch <konqueror@gmx.de>
8652 * java/net/URLConnection.java
8653 (contentHandler): Removed.
8655 (getHeaderFields): Return an empty map instead of null.
8656 (getContent): Connect if needed, renamed "cType" to "type" and
8657 "contentHandler" to "ch" and made it a local variable.
8658 (getPermission): Don't use package in class name.
8659 (setDefaultRequestProperty): Fixed typo in documentation.
8660 (initializeDateFormats): Made locale a local variable.
8662 2004-01-06 Michael Koch <konqueror@gmx.de>
8664 * java/lang/Package.java
8665 (getPackage): Get the current class loader directly.
8666 * java/lang/SecurityManager.java
8667 (currentLoadedClass): Dont iterate over class contexts.
8668 (classLoaderDepth): Don't check class loaders if everything is allowed.
8670 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
8672 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8673 (pre_event_handler): Set all insets to 0 when a Configure event
8674 is received for a GtkPlug.
8675 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
8676 Make handle long, not int.
8677 (EmbeddedWindow()): New constructor.
8678 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
8680 (setHandle): New method.
8681 (getHandle): Return long, not int.
8682 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
8684 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
8685 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
8686 (create(long)): Take long parameter, not int. Cast gtk_plug_new
8687 argument to GdkNativeWindow.
8688 (construct): New method.
8689 (embed): New method.
8691 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
8692 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
8693 (create(int, int)): New method.
8694 (create): Call new create method.
8695 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
8697 (childResized): Remove native implementation. Implement in
8699 (getHScrollbarHeight, getVScrollbarWidth): Call
8700 gtk_widget_size_request to get scrollbar dimensions.
8701 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
8702 call getVScrollbarWidth and getHScrollbarHeight when vertical
8703 and horizontal scrollbars respectively are needed.
8704 (doLayout): Enlarge child if it is smaller than the viewport.
8706 2004-01-05 Fernando Nasser <fnasser@redhat.com>
8708 * java/awt/Dialog.java (constructor): Accept null title as per spec.
8709 * java/awt/FileDialog.java (constructor): Throw exception on invalid
8710 argument as per spec.
8712 2004-01-05 Fernando Nasser <fnasser@redhat.com>
8714 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
8716 (remove): Ditto. Also, Check for valid argument.
8717 (removeAll): Use peer interface method.
8718 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
8719 native add function.
8720 (nativeRemove): New name for native remove function.
8721 (getHistory): New native function.
8722 (constructor): Generate ItemEvent.
8723 (add): Ditto, if selection is changed.
8724 (remove): Ditto, ditto.
8725 (removeAll): Add implementation.
8726 (handleEvent): Remove. Dead code.
8727 (choicePostItemEvent): Add comment.
8728 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8729 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
8730 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
8731 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
8732 comments and fix condition to change selection.
8733 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
8734 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
8735 remove all capability.
8736 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
8737 (item_activate): Add cast to remove compiler warning.
8739 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
8741 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8742 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8743 (getPreferredSize): Call preferredSize.
8744 (preferredSize): Call gtkWidgetGetPreferredDimensions.
8745 (getMinimumSize): Call minimumSize.
8746 (minimumSize): Call gtkWidgetGetPreferredDimensions.
8747 (gtkWidgetGetDimensions): Return the peer widget's current size
8749 (gtkWidgetGetPreferredDimensions): Return the peer widget's
8750 natural size request.
8752 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
8754 Thanks to Brian Gough <bjg@network-theory.com>
8755 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
8756 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
8758 2004-01-04 Matthias Klose <doko@debian.org>
8760 * aclocal.m4: Rebuilt using "aclocal -I .".
8761 * configure: Rebuilt.
8763 2004-01-03 Per Bothner <per@bothner.com>
8765 * java/util/Date.java (parse): Fix a number of problems.
8766 (skipParens): Remove no-longer-needed method.