1 2004-08-12 David Daney <ddaney@avtrex.com>
3 * testsuite/libjava.lang/Process_1.java: New test.
4 * testsuite/libjava.lang/Process_2.java: New test.
5 * testsuite/libjava.lang/Process_3.java: New test.
6 * testsuite/libjava.lang/Process_4.java: New test.
7 * testsuite/libjava.lang/Process_5.java: New test.
8 * testsuite/libjava.lang/Process_6.java: New test.
9 * testsuite/libjava.lang/Process_1.out: Expected result.
10 * testsuite/libjava.lang/Process_2.out: Expected result.
11 * testsuite/libjava.lang/Process_3.out: Expected result.
12 * testsuite/libjava.lang/Process_4.out: Expected result.
13 * testsuite/libjava.lang/Process_5.out: Expected result.
14 * testsuite/libjava.lang/Process_6.out: Expected result.
16 2004-08-12 David Daney <ddaney@avtrex.com>
19 * java/lang/PosixProcess.java: Rewrote.
20 * java/lang/natPosixProcess.cc: Rewrote.
21 * java/lang/Runtime.java (execInternal): Declare throws IOException.
22 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
23 * posix-threads.cc (block_sigchld) New function.
24 (_Jv_ThreadRegister) Use it.
25 (_Jv_ThreadStart) Use it.
26 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
27 * Makefile.am: ... to specify extra native headers.
28 * configure: Regenerated.
29 * include/config.h: Regenerated.
30 * Makefile.in: Regenerated.
31 * gcj/Makefile.in: Regenerated.
32 * include/Makefile.in: Regenerated.
33 * testsuite/Makefile.in: Regenerated.
35 2004-08-12 Diego Novillo <dnovillo@redhat.com>
37 PR tree-optimization/16867
38 * testsuite/libjava.lang/PR16867.java: New test.
40 2004-08-09 Per Bothner <per@bothner.com>
42 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
43 with private fields and access methods.
44 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
45 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
46 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
47 ( _Jv_makeUtf8Const): Rewrite using new constructors.
48 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
49 * defineclass.cc: Use new _Utf8Const access/convenience methods.
51 * resolve.cc: Likewise.
52 * gcj/field.h: Likewise.
53 * include/jvm.h: Likewise.
54 * java/lang/Class.h: Likewise.
55 * java/lang/natClass.cc: Likwise.
56 * java/lang/natClassLoader.cc: Likewise
57 * java/lang/reflect/natMethod.cc: Likewise
58 * verify.cc: Likewise.
59 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
60 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
62 2004-08-10 Andrew Haley <aph@redhat.com>
64 * testsuite/libjava.lang/err14.java: New file.
65 * testsuite/libjava.lang/err14.out: New file.
67 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
69 * Makefile.am: Fix missing rename from x_nat_headers to
71 * Makefile.in: Regenerated.
73 2004-08-04 Andrew Haley <aph@redhat.com>
75 * java/security/BasicPermission.java: Don't check wildcards.
77 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
78 Michael Koch <konqueror@gmx.de>
80 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
81 * configure.in: Replaced all usages of AC_LINK_FILES by
84 configure: Regenerated.
86 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
87 Michael Koch <konqueror@gmx.de>
89 * acconfig.h: Removed.
90 * Makefile.am: Rename variables for xlib peer to include xlib and
91 gtk_c_headers to gtk_jni_headers.
92 * Makefile.in: Regenerated.
94 2004-08-04 Andrew Haley <aph@redhat.com>
96 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
99 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
101 * configure.in: Eliminate uses of changequote (mostly by quoting []).
102 Replace most top level 'dnl' comments with '#' comments, conforming
103 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
105 * configure: Rebuilt.
107 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
109 * acinclude.m4: Include no-executables.m4.
110 * aclocal.m4: Rebuild.
111 * configure.in: Convert to the autoconf 2.59 version of
112 of the no-executables hack, and also of the nonstandard CXX
113 hack and the multilibbed CC and CXX hack. Change prerequisite
115 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
116 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
117 testsuite/Makefile.in: Regenerate.
119 2004-08-03 Tom Tromey <tromey@redhat.com>
121 * jni.cc: Reindented.
123 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
125 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
127 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
129 * testsuite/libjava.compile/PR16701.java: New test.
131 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
133 * java/util/Collection.java, java/util/List.java,
134 java/util/Map.java, java/util/Set.java,
135 java/util/SortedMap.java, java/util/SortedSet.java:
136 Added additional exceptions to documentation.
138 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
141 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
142 * configure. Regenerate.
143 * include/win32.h: Explicitly include winsock2.h
144 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
147 2004-07-30 Michael Koch <konqueror@gmx.de>
149 * java/util/zip/GZIPInputStream.java
150 (GZIPInputStream): Increase buffer size to 4k.
151 * java/util/zip/GZIPOutputStream.java
152 (GZIPOutputStream): Likewise.
153 * java/util/zip/Inflater.java
154 (setInput): Merged formating with GNU classpath.
155 * java/util/zip/InflaterInputStream.java
156 (InflaterInputStream): Increase buffer size to 4k.
157 (fill): Throw exception if stream ends early.
158 (read): Merged endless-loop with GNU classpath.
159 (skip): Increase buffer size to 2k.
161 2004-07-30 Michael Koch <konqueror@gmx.de>
163 * gnu/java/awt/EmbeddedWindow.java
164 (addNotify): Use AccessController to allow execution of privileged
167 2004-07-29 Michael Koch <konqueror@gmx.de>
169 * gnu/java/lang/MainThread.java:
170 Explicitely import used classes.
171 (args): Make it type String[].
173 2004-07-29 Dalibor Topic <robilad@kaffe.org>
175 * gnu/java/awt/ComponentDataBlitOp.java,
176 gnu/java/beans/ExplicitBeanInfo.java,
177 gnu/java/beans/IntrospectionIncubator.java,
178 gnu/java/beans/editors/ColorEditor.java,
179 gnu/java/beans/editors/FontEditor.java,
180 gnu/java/beans/editors/NativeBooleanEditor.java,
181 gnu/java/beans/editors/NativeByteEditor.java,
182 gnu/java/beans/editors/NativeDoubleEditor.java,
183 gnu/java/beans/editors/NativeFloatEditor.java,
184 gnu/java/beans/editors/NativeIntEditor.java,
185 gnu/java/beans/editors/NativeLongEditor.java,
186 gnu/java/beans/editors/NativeShortEditor.java,
187 gnu/java/beans/editors/StringEditor.java,
188 gnu/java/io/ClassLoaderObjectInputStream.java,
189 gnu/java/io/decode/Decoder.java,
190 gnu/java/io/encode/Encoder.java,
191 gnu/java/lang/ClassHelper.java,
192 gnu/java/locale/Calendar.java,
193 gnu/java/locale/Calendar_de.java,
194 gnu/java/locale/Calendar_en.java,
195 gnu/java/locale/Calendar_nl.java,
196 gnu/java/locale/LocaleInformation_de.java,
197 gnu/java/locale/LocaleInformation_en.java,
198 gnu/java/locale/LocaleInformation_nl.java:
201 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
203 * README: Remove obsolete info. Update bug URL.
205 * NEWS: Updated with news up to GCC 3.4 release.
207 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
209 * gnu/java/security/action/GetPropertyAction.java (setParameters):
210 Renamed from 'setName'. New 2-argument form with default value.
211 (run): Pass default 'value' parameter to System.getProperty().
212 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
214 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
217 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
219 * configure.in: Check for minimum GTK version 2.4 requirement.
220 * configure: Rebuilt.
222 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
224 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
225 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
227 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
229 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
230 address. Reduce sleep times. Synchronize with target threads before
231 attempting to interrupt them. Don't try to calibrate yeild count,
232 instead, always loop for a fixed time.
233 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
234 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
235 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
236 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
237 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
238 * testsuite/libjava.lang/pr179.java: Likewise.
239 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
240 time. Remove upper bounds check on sleep time.
242 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
244 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
245 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
247 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
249 * java/io/File.java (toURI): Throw RuntimeException, not
251 * java/lang/Runtime.java (exit): Qualify static sleep() call with
252 class name, not instance.
254 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
256 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
257 and gnu/java/security/action/SetAccessibleAction.java.
258 * Makefile.in: Rebuilt.
260 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
262 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
263 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
265 (DECLARE_PRIM_TYPE): Don't declare array vtables.
266 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
267 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
269 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
271 * Makefile.am: Replace jar, rmic and rmiregistry references with
272 gjar, grmic and grmiregistry.
273 * configure.in: Likewise.
274 * Makefile.in: Regenerate.
275 * configure: Likewise.
276 * gcj/Makefile.in: Likewise.
277 * include/Makefile.in: Likewise.
278 * testsuite/Makefile.in: Likewise.
280 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
282 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
283 for privileged getProperty calls.
284 * java/io/ObjectOutputStream.java (getField): No longer static. Use
285 SetAccessibleAction instead of anonymous class for doPrivileged call.
286 (getMethod): Likewise.
287 (setAccessible): New field. PrivilegedAction object to use when
288 calling setAccessible.
289 * java/io/ObjectStreamClass.java (calculateOffsets): Use
290 SetAccessibleAction instead of anonymous class for diPrivileged call.
291 (setFields): Likewise.
292 (getClassUID): Likewise.
293 (findMethod): Likewise.
294 * gnu/java/security/action/GetPropertyAction.java: New class.
295 * gnu/java/security/action/SetAccessibleAction.java: New class.
297 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
299 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
301 * testsuite/libjava.lang/Serialization.java: New test.
302 * testsuite/libjava.lang/Serialization.out: New.
304 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
306 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
307 missed in last commit.
309 2004-07-23 Mark Wielaard <mark@klomp.org>
311 * java/lang/System.java (static): Set http.agent system property when
313 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
314 from system property inside AccessController.doPrivileged() call.
315 (proxyPort): Made package private.
316 (proxyInUse): Likewise.
317 (proxyHost): Likewise.
318 (userAgent): Likewise.
320 2004-07-23 Mark Wielaard <mark@klomp.org>
322 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
325 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
327 * Makefile.am (ordinary_java_source_files): Add
328 DefaultContentHandlerFactory.java.
329 * Makefile.in: Rebuilt.
330 * java/net/URLConnection.java (defaultFactory): New field.
332 (getContentHandler): Renamed from 'setContentHandler'. Try
333 defaultFactory after user-set factory, if any. Search for content
334 handler implementations in gnu.java.net.content, not gnu.gcj.content.
335 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
337 (getLastModified): Implemented.
338 (getPermission): Create file permission here, instead of in
340 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
342 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
344 (getLastModified): Implemented.
345 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
346 Default implementation.
347 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
348 Implement using GdkPixbufDecoder.
350 2004-07-21 Michael Koch <konqueror@gmx.de>
352 * javax/swing/JTextArea.java
353 (setLineWrap): Fire property change event after new value is set.
354 (setTabSize): Likewise.
356 2004-07-21 Michael Koch <konqueror@gmx.de>
358 * javax/swing/JTable.java
359 (autoCreateColumnsFromModel): New field.
360 (autoResizeMode): Likewise.
361 (cellEditor): Likewise.
362 (cellSelectionEnabled): Likewise.
363 (columnModel): Likewise.
364 (dataModel): Likewise.
365 (defaultEditorsByColumnClass): Likewise.
366 (defaultRenderersByColumnClass): Likewise.
367 (editingColumn): Likewise.
368 (editingRow): Likewise.
369 (gridColor): Likewise.
370 (preferredViewportSize): Likewise.
371 (rowHeight): Likewise.
372 (rowMargin): Likewise.
373 (rowSelectionAllowed): Likewise.
374 (selectionBackground): Likewise.
375 (selectionForeground): Likewise.
376 (selectionModel): Likewise.
377 (showHorizontalLines): Likewise.
378 (showVerticalLines): Likewise.
379 (tableHeader): Likewise.
380 (JTable): Implemented.
381 (getColumnModel): Likewise.
382 (getSelectedRow): Likewise.
383 (getSelectionModel): Likewise.
384 (setModel): Likewise.
385 (setSelectionModel): Likewise.
386 (createScrollPaneForTable): New method.
387 (createDefaultDataModel): Likewise.
388 (createDefaultListSelectionModel): Likewise.
389 (getModel): Likewise.
390 (getTableHeader): Likewise.
391 (setTableHeader): Likewise.
392 (getColumnSelectionAllowed): Likewise.
393 (setColumnSelectionAllowed): Likewise.
394 (getRowSelectionAllowed): Likewise.
395 (setRowSelectionAllowed): Likewise.
396 (getAutoResizeMode): Likewise.
397 (setAutoResizeMode): Likewise.
398 (getColumnCount): Likewise.
399 (getRowCount): Likewise.
400 (getCellRenderer): Likewise.
401 * javax/swing/JTree.java
402 (cellRenderer): New field.
403 (editable): Likewise.
404 (rootVisible): Likewise.
405 (showsRootHandles): Likewise.
406 (getModel): New method.
407 (setModel): Likewise.
408 (isEditable): Likewise.
409 (setEditable): Likewise.
410 (isRootVisbile): Likewise.
411 (setRootVisible): Likewise.
412 (getShowsRootHandles): Likewise.
413 (setShowRootHandles): Likewise.
414 (getCellRenderer): Likewise.
415 (setCellRenderer): Likewise.
417 2004-07-21 Michael Koch <konqueror@gmx.de>
419 * javax/swing/JFormattedTextField.java
420 (setDocument): Implemented.
421 * javax/swing/JRootPane.java:
423 * javax/swing/JTable.java
424 (getDefaultRenderer): New method.
425 * javax/swing/JTextField.java
427 (getPreferredSize): Likewise.
428 * javax/swing/JToggleButton.java
429 (getAccessibleContext): Fix javadoc.
430 * javax/swing/JTree.java:
432 * javax/swing/JViewport.java:
435 2004-07-21 David Jee <djee@redhat.com>
437 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
438 Collect all native method declaration at the top.
439 (create): Set the filename filter if necessary.
440 (setDirectory): Call nativeSetDirectory().
441 (setFilenameFilter): Implement.
442 (filenameFilterCallback): New method.
443 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
444 (create): Configure dialog to show hidden files.
445 (filenameFilterCallback): New function.
446 (nativeSetFilenameFilter): New function.
447 (nativeSetDirectory): New function.
449 2004-07-21 Kim Ho <kho@redhat.com>
451 * javax/swing/plaf/basic/BasicSliderUI.java:
453 (paintTrack): Fill the track before painting
456 2004-07-21 Graydon Hoare <graydon@redhat.com>
458 patch from Roman Kennke <roman@ontographics.com>
459 * javax/swing/Spring.java: New file.
460 * javax/swing/SpringLayout.java: New file.
461 * Makefile.am: Add new files.
462 * Makefile.in: Regenerate.
464 2004-07-21 Graydon Hoare <graydon@redhat.com>
466 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
467 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
468 * javax/swing/ScrollPaneLayout.java: Likewise.
470 2004-07-21 Kim Ho <kho@redhat.com>
472 * javax/swing/DefaultDesktopManager.java:
473 (findMinimum): Removed.
474 (resizeFrame): Trust the UI to pass valid
476 * javax/swing/JOptionPane.java:
477 Implemented showInternalXXXDialog methods.
478 (startModal): New method.
479 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
480 (BorderListener::mouseDragged): Verify that the new
481 bounds are valid before passing them to the DesktopManager.
482 (preferredLayoutSize): Delegate
484 (minimumLayoutSize): Ditto.
485 (getSize): New method.
486 (GlassPaneDispatcher): Reimplemented by copying
487 a stripped down LightweightDispatcher from Container.
488 (getMinimumSize): Call minimumLayoutSize.
489 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
491 (mousePressed): Add ability to properly close
493 * javax/swing/plaf/basic/BasicToolBarUI.java:
494 (DragWindow): Set owner for DragWindow.
496 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
498 * java/awt/image/ShortLookupTable.java: New file.
499 * java/awt/image/ByteLookupTable.java: New file.
500 * Makefile.am: Added new files.
501 * Makefile.in: Regenerated.
503 2004-07-21 David Jee <djee@redhat.com>
505 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
506 (create(GtkContainerPeer)): New native method.
507 (create()): Call native create(), passing in the parent frame
508 as the paramter. Natively set the current file and directory.
509 (setFile): Construct an absolute filename before passing it to
511 (nativeGetDirectory): New method.
512 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
513 (window_closed): Removed.
514 (ok_clicked): Likewise.
515 (cancel_clicked): Likewise.
516 (handle_response): New method.
517 (create): Use GtkFileChooserDialog.
518 (connectSignals): Connect to handle_response.
519 (nativeGetDirectory): New method.
520 (nativeSetFile): Use GtkFileChooserDialog.
522 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
524 * java/awt/image/LookupTable.java: New file.
525 * Makefile.am: Added new file.
526 * Makefile.in: Regenerated.
528 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
530 * java/awt/image/Kernel.java: New file.
531 * Makefile.am: Added new file.
532 * Makefile.in: Regenerated.
534 2004-07-21 Olga Rodimina <rodimina@redhat.com>
536 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
537 * javax/swing/JMenu.java: Likewise.
538 * javax/swing/JMenuBar.java: Likewise.
539 (MARGIN_CHANGED_PROPERTY): New property.
540 (setMargin): Implemented.
541 * javax/swing/JMenuItem.java: Fixed javadocs.
542 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
543 (LABEL_CHANGED_PROPERTY): New property.
544 (add): changed to use createActionComponent.
545 (createActionComponent): Implemented.
546 (setLabel): Fire PropertyChangeEvent if label property
548 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
549 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
550 (ContainerHandler): Repaint if margin property has changed.
551 * javax/swing/plaf/basic/BasicMenuItemUI.java:
552 (installUI): Call installComponents().
553 (uninstallUI): Call uinstallComponents().
554 * javax/swing/plaf/basic/BasicMenuUI.java:
556 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
559 2004-07-21 Kim Ho <kho@redhat.com>
561 * javax/swing/plaf/basic/BasicToolBarUI.java:
562 (DragWindow): Use the right constructor.
564 2004-07-21 Kim Ho <kho@redhat.com>
566 * javax/swing/JToolBar.java:
567 (layoutContainer): Use getComponents.
568 * javax/swing/plaf/basic/BasicToolBarUI.java:
569 (DragWindow): Don't use SwingUtilities'
571 (ToolBarDialog): ditto.
573 2004-07-21 Kim Ho <kho@redhat.com>
575 * javax/swing/JRootPane.java:
577 (layoutContainer): Set the glasspane's size to
578 be the same as the content pane.
579 (createGlassPane): Set opaque property to false.
581 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
583 * java/awt/Component.java (requestFocus()): Don't handle Panels
585 (requestFocus(boolean)): Likewise.
586 (requestFocusInWindow(boolean)): Likewise.
587 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
588 Set GTK_CAN_FOCUS flag.
590 2004-07-21 Kim Ho <kho@redhat.com>
592 * Makefile.am: Added new file.
593 * Makefile.in: Regenerated.
594 * gcj/Makefile.in: Regenerated.
595 * include/Makefile.in: Regenerated.
596 * javax/swing/AbstractButton.java:
597 Add rollOverEnabled property.
598 (setRolloverEnabled): Use new property.
599 (isRolloverEnabled): Use new property.
600 * javax/swing/JTabbedPane.java:
601 (setComponent): Remove useless JTabbedPane.this.
602 * javax/swing/JToolBar.java: Finish implementation.
603 * javax/swing/plaf/basic/BasicArrowButton.java:
604 (paint): Moved border painting to a border.
605 * javax/swing/plaf/basic/BasicLookAndFeel.java:
606 Change JToolBar look and feel defaults.
607 * javax/swing/plaf/basic/BasicOptionPaneUI.java
608 (actionPerformed): Return Integer index instead of name.
609 (addButtonComponents): Check to see if component is
611 (createMessageArea): Don't use components that are not
613 (getIconForType): Use temporary icons.
614 * javax/swing/plaf/basic/BasicSliderUI.java:
615 (mousePressed): Do not return if it's on thumb.
616 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
617 (paintMinorTickForVertSlider): ditto.
618 (paintMajorTickForHorizSlider): ditto.
619 (paintMajorTickForVertSlider): ditto.
620 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
621 Add a border around the SplitPaneDivider.
622 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
624 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
625 New file. Implemented.
626 * javax/swing/plaf/basic/BasicToolBarUI.java:
628 * testsuite/Makefile.in: Regenerated.
630 2004-07-21 Graydon Hoare <graydon@redhat.com>
632 * javax/swing/Timer.java (run): Queue events each time cycle.
634 2004-07-21 David Jee <djee@redhat.com>
636 * gnu/java/awt/peer/gtk/GtkImagePainter.java
637 (imageComplete): Call image.imageComplete().
638 * java/awt/image/MemoryImageSource.java:
639 Reimplement consumers as a Vector instead of a Hashtable. This is
640 because enumeration on a Hashtable is not thread-safe.
641 (addConsumer): Adapt to Vector consumers.
642 (isConsumer): Adapt to Vector consumers.
643 (removeConsumer): Adapt to Vector consumers.
644 (startProduction): Adapt to Vector consumers. Call imageComplete()
645 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
646 (newPixels): Adapt to Vector consumers.
647 (sendPicture): Set the color model of the image consumer.
648 (newPixels(IIII)): Adapt to Vector consumers.
649 (newPixels(IIIIB)): Adapt to Vector consumers.
651 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
653 * java/awt/Component.java (deliverEvent): Implement.
654 (postEvent): Implement.
655 (handleEvent): Implement.
656 (translateEvent): New method.
657 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
658 * java/awt/Container.java (deliverEvent): Implement.
659 * java/awt/Event.java (paramString): Fix formatting.
660 * java/awt/Font.java (toString): Likewise.
661 * java/awt/Window.java (postEvent): Implement.
663 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
665 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
666 Set window's focus owner upon receiving a FOCUS_LOST event.
667 * java/awt/Window.java (Window()): Refocus the previously
668 focused component within the window when the window regains the
670 (setFocusOwner): New method.
671 * java/awt/Component.java (requestFocus): Add FIXME.
673 * libgcj.pc.in: Remove library flags.
675 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
677 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
679 * java/awt/Component.java (requestFocus()): Handle Panel
680 specially. Post FOCUS_LOST event on opposite component.
681 (requestFocus(boolean)): Likewise.
682 (requestFocusInWindow(boolean)): Likewise.
683 (paramString): Reorder dimension fields.
684 * java/awt/Container.java (paramString): Fix string format.
685 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
686 Handle FOCUS_LOST events. Don't handle Windows specially. Only
687 process key events if the focus owner is non-null.
688 (dispatchKeyEvent): Likewise.
689 * java/awt/Frame.java (paramString): Fix formatting.
690 (generateName): New method.
691 (getUniqueLong): Likewise.
692 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
693 the temporary focus owner is null. If so, return the permanent
695 * java/awt/Panel.java (generateName): New method.
696 (getUniqueLong): Likewise.
697 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
698 signal handling to make callbacks more specific.
700 2004-07-21 Michael Koch <konqueror@gmx.de>
702 * javax/swing/text/Position.java
705 2004-07-21 Michael Koch <konqueror@gmx.de>
707 * javax/swing/LookAndFeel.java
708 (provideErrorFeedback): New method.
710 2004-07-21 Michael Koch <konqueror@gmx.de>
712 * javax/swing/JTextArea.java
713 (tabSize): New field.
714 (getTabSize): New method.
715 (setTabSize): Likewise.
717 2004-07-21 Michael Koch <konqueror@gmx.de>
719 * javax/swing/ActionMap.java:
720 Fixed javadocs all over.
721 (serialVersionUID): Made private.
722 (parent): Don't explicitely initialize with default value.
724 (keys): Reimplemented.
726 (convertSet): Removed.
727 * javax/swing/ComponentInputMap.java:
728 Fixed javadocs all over.
729 (ComponentInputMap): Implemented.
733 (SetParent): Likewise.
734 (getComponent): Likewise.
735 * javax/swing/InputMap.java:
736 Fixed javadocs all over.
737 (serialVersionUID): Made private.
738 (parent): Don't explicitely initialize with default value.
740 (keys): Reimplemented.
742 (convertSet): Removed.
744 2004-07-21 Michael Koch <konqueror@gmx.de>
746 * javax/swing/ActionMap.java,
747 javax/swing/ComponentInputMap.java,
748 javax/swing/InputMap.java,
749 javax/swing/table/DefaultTableColumnModel.java,
750 javax/swing/table/TableColumn.java,
751 javax/swing/table/TableColumnModel.java,
752 javax/swing/table/TableModel.java,
753 javax/swing/text/AbstractDocument.java,
754 javax/swing/text/TextAction.java:
757 2004-07-21 Graydon Hoare <graydon@redhat.com>
759 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
760 Make method non-static.
761 * javax/swing/AbstractButton.java:
762 Rename fields to match property names where possible.
763 (iconTextGap): New property.
764 * javax/swing/JCheckBox.java: Match AbstractButton changes.
765 (init) New method, call from after various constructors.
766 * javax/swing/JComponent.java (revalidate):
767 Invalidate before queueing repair.
768 * javax/swing/JList.java (getPreferredScrollableViewportSize):
769 Reimplement in terms of visibleRowCount property.
770 * javax/swing/JMenuButton.java: Match AbstractButton changes.
771 * javax/swing/JScrollPane.java (createScrollListener):
772 Remove tracing chatter.
773 * javax/swing/JToggleButton.java: Match AbstractButton changes.
774 * javax/swing/RepaintManager.java (addInvalidComponent):
776 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
778 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
779 Mimic sun behavior on top left/right positioning.
780 * javax/swing/ViewportLayout.java (preferredLayoutSize):
781 Remove mistaken use of preferredScrollableViewportSize here.
782 (layoutContainer): Use view's preferred size as basis.
783 * javax/swing/plaf/basic/BasicButtonUI.java:
784 Set, get, and use textIconGap property.
785 (paint) Paint text returned from layout (with ellipsis).
786 * javax/swing/plaf/basic/BasicListUI.java:
787 Remove tracing chatter, correct various minor calculations.
788 (getCellBounds): Update layout state before calculating.
789 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
790 Use margin default similar to sun's.
791 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
792 (createIncreaseIcon): Center icon, minimize margins.
793 (createDecreaseIcon): Likewise.
794 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
796 (installUI): Call it.
797 (uninstallDefaults): Implement.
798 (uninstallUI): Call it.
799 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
800 Call existing Window constructor.
801 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
802 Set clip before painting.
804 2004-07-21 Olga Rodimina <rodimina@redhat.com>
806 * javax/swing/JMenuItem.java:
807 (processMouseEvent): Reimplemented to deal with
809 (createMenuDragMouseEvent): New private helper method.
810 Creates MenuDragMouseEvent.
811 * javax/swing/MenuSelectionManager.java
812 (componentForPoint): Implemented.
813 (isComponentPartOfCurrentMenu): Made public.
814 (processMouseEvent): Reimplemented to deal with
816 (setSelectedPath): Corrected small mistake that caused
817 path to be set incorrectly.
818 (getPath): If given component is JMenu then also add this
819 menu's popup menu to the selected path.
820 * javax/swing/plaf/basic/BasicMenuItemUI.java:
822 (getPreferredSize): Call getPreferredMenuItemSize().
823 (getPreferredItemSize): Moved code from getPreferredSize to here.
824 (installListeners): Install MouseMotionListeners.
825 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
826 if mouse wasn't released in the bounds of this menu item.
827 (MenuDragMouseHandler): Implemented.
828 * javax/swing/plaf/basic/BasicMenuUI.java:
829 (installListeners): Install MouseMotionListener and
830 MenuDrageMouseListener.
831 (MenuDragMouseHandler): Implemented.
832 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
833 (uninstallListeners): Implemented.
835 2004-07-21 Michael Koch <konqueror@gmx.de>
837 * javax/swing/JCheckBox.java: Reformated.
838 (JCheckBox): Fixed all constructors.
839 (isBorderPaintedFlat): New method.
840 (setBorderPaintedFlat): New method.
841 * javax/swing/JEditorPane.java
842 (createEditorKitForContentType): Made public.
843 (scrollToReference): Likewise.
844 * javax/swing/JTextArea.java
845 (setLineWrap): Fire property change.
846 * javax/swing/JToggleButton.java
847 (JToggleButton): New constructor.
848 (JToggleButton): Simplified.
849 * javax/swing/text/AttributeSet.java
850 (FontAttribute): Renamed from FontCharacterAttribute.
851 * javax/swing/text/JTextComponent.java
852 (KeyBinBinding): Added javadoc.
853 (JTextComponent): Likewise.
854 (getAccessibleContext): Fixed javadoc.
855 * javax/swing/text/View.java
856 (View): Added javadoc.
857 * javax/swing/text/TabableView.java: New file.
858 * Makefile.am: Added javax/swing/text/TabableView.java.
859 * Makefile.in: Regenerated.
861 2004-07-21 Graydon Hoare <graydon@redhat.com>
863 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
864 * gnu/java/awt/peer/gtk/GtkToolkit.java
865 (GtkErrorImage): New helper class.
866 (bufferedImageOrError): New helper method.
867 (createImage): Use it.
869 2004-07-21 David Jee <djee@redhat.com>
871 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
872 (setCaretPosition): Scroll the text view so the new caret position
873 is visible on screen.
875 2004-07-21 David Jee <djee@redhat.com>
877 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
878 (setBounds): Do not validate awtComponent here.
879 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
880 (getPreferredSize): New method.
881 * java/awt/ScrollPane.java
882 (ScrollPane): Set default size to 100x100.
883 (addNotify): If child is not a Panel, wrap it with a new Panel.
884 (paramString): Implement.
886 2004-07-21 Olga Rodimina <rodimina@redhat.com>
888 * javax/swing/JMenu.java:
889 (setSelected): Display popup menu only if this menu
890 is showing on the screen.
891 * javax/swing/JPopupMenu.java:
892 (processMouseEvent): Added comment.
893 (processKeyEvent): Likewise.
894 * javax/swing/MenuSelectionManager.java:
895 (clearSelectedPath): Only fireStateChanged() after
896 selected path was changed, not before.
897 (setSelectedPath): Likewise.
898 * javax/swing/plaf/basic/BasicMenuItemUI.java:
899 (paintMenuItem): Corrected position of menu item's
901 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
902 (installUI): Correct setDefaultLightWeightPopupEnabled call.
903 (popupMenuCanceled): Reimplemented.
904 (popupMenuWillBecomeVisible): Select first menu item by default
905 when displaying free floating popup menus.
906 (TopWindowListener): Reimplemented.
908 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
910 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
911 Panel from being painted twice when it is first shown.
913 2004-07-21 Olga Rodimina <rodimina@redhat.com>
915 * java/awt/Window.java: Reverted changes from my
916 previous patch for creating window without an owner.
917 * javax/swing/SwingUtilities.java:
918 (SwingUtilities.OwnerFrame): made static.
919 (OwnerFrame.setVisible): New method. Overridden with
920 empty implementation.
921 (OwnerFrame.isShowing): New method. Ovverridden
922 to return always true.
924 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
926 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
927 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
928 (GtkComponentPeer): Remove temporary try/catch block.
929 (setVisible): Call show and hide.
932 (getArgs): Don't add "visible" argument.
933 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
934 (property_notify_predicate): Return Bool instead of int.
935 (find_layout): New function.
936 (connectJObject): Call find_layout.
937 (connectSignals): Likewise.
938 (moveLayout): Likewise.
939 (gtkLayoutSetVisible): Likewise.
941 2004-07-21 Mark Wielaard <mark@klomp.org>
943 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
944 on notifier object before calling notifyAll().
946 2004-07-21 Olga Rodimina <rodimina@redhat.com>
948 * java/awt/Window.java: Changed constructors to use new
949 method that is described below. Constructors call this
950 methods only if newly created window should have an owner.
951 (setWindowOwner): New method. Implementation for
952 this method is moved from this(owner,configuration).
953 * javax/swing/JWindow.java:
954 (JWindow): Reimplement to use SwingUtilities.ownerFrame
956 * javax/swing/SwingUtilities.java:
957 (ownerFrame): Change type of this field to OwnerFrame.
958 (getOwnerFrame): Changed to return object of type OwnerFrame.
959 (SwingUtilities.OwnerFrame): New class. Represents owner
960 of a Window that is not provided with one.
962 2004-07-21 Olga Rodimina <rodimina@redhat.com>
964 * javax/swing/AbstractButton.java:
965 (configurePropertiesFromAction): Set action command
966 to button's text by default if action command is not
967 explicitely specified.
968 * javax/swing/JMenu.java: Remove unnecessary listener
969 and methods relevant to it.
970 (setSelected): Reimplemented.
971 (menuSelectionChanged): Moved most part of implementation to
972 setSelected() and call it instead.
973 * javax/swing/JMenuItem.java:
974 (init): Comment out statement that sets paint_border to false.
975 (configurePropertiesFromAction): Do not set accelerator
977 (menuSelectionChanged): Change selected index in the selection
978 model of menu item's parent.
979 * javax/swing/JPopupMenu.java:
980 (remove): Set constraints.fill field to GridBagConstraints.BOTH
981 instead of GridBagConstraints.HORIZONTAL.
983 (createActionChangeListener): Implemented.
984 (setVisible): Correct location of HeavyWeightMenu and
985 don't firePopupMenuCanceled().
986 (menuSelectionChanged): Implemented.
987 (ActionChangeListener): New Listener. Implemented.
988 * javax/swing/plaf/basic/BasicMenuBarUI.java:
989 (BasicMenuBarUI.ContainerHandler): Implemented.
990 * javax/swing/plaf/basic/BasicMenuItemUI.java:
991 (paintMenuItem): Uncommented out code that paints
992 icon, now that icons are working properly.
993 (PropertyChangeListener): Implemented.
994 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
996 (topWindowListener): New field.
997 (Constructor): initialize topWindowListener.
998 (BasicPopupMenuUI.TopWindowListener): Implemented.
999 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
1000 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
1003 2004-07-21 Michael Koch <konqueror@gmx.de>
1005 * javax/swing/plaf/basic/BasicButtonUI.java
1006 (paintFocus): Fixed method signature.
1007 (paintButtonPressed): Likewise.
1008 (paintButtonNormal): Likewise.
1009 (paintText): New method.
1010 * javax/swing/plaf/basic/BasicLabelUI.java
1011 (paint): Re-indented.
1012 * javax/swing/plaf/basic/BasicTextUI.java
1013 (installUI): Set parent textComponent to opaque.
1014 * javax/swing/text/DefaultHighlighter.java
1015 (checkPositions): New helper method.
1016 (addHighlight): Throws BadLocationException, check positions.
1017 (changeHighlight): Likewise.
1018 * javax/swing/text/EditorKit.java
1019 (EditorKit): Implements Serializable.
1020 * javax/swing/text/JTextComponent.java
1021 (getUI): Added javadoc.
1023 (upadteUI): Added javadoc, don't revalidate and repaint.
1025 2004-07-21 David Jee <djee@redhat.com>
1027 * java/awt/GridBagLayout.java
1028 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
1029 * javax/swing/AbstractButton.java
1030 (setText): Reindent.
1031 * javax/swing/RepaintManager.java
1032 (addInvalidComponent): Find the first ancestor that isValidateRoot().
1034 2004-07-21 Michael Koch <konqueror@gmx.de>
1036 * javax/swing/JFormattedTextField.java
1038 (JFormattedTextField): Implemented.
1039 (getValue): Likewise.
1040 (setValue): Likewise.
1041 * javax/swing/LookAndFeel.java
1042 (getSupportsWindowDecorations): New method.
1043 * javax/swing/UIDefaults.java:
1044 Use java.beans.PropertyChangeSupport instead of doing all ourself.
1045 (addPropertyChangeListener): Made public.
1046 (addResourceBundle): Likewise.
1047 (removeResourceBundle): Likewise.
1048 (setDefaultLocale): Likewise.
1049 * javax/swing/plaf/basic/BasicRootPaneUI.java
1050 (BasicRootPaneUI): Implements PropertyChangeListener.
1051 (propertyChange): New method.
1052 * javax/swing/plaf/basic/BasicTextUI.java
1053 (BasicHighlighter): New inner class.
1054 (createHighlighter): New method.
1055 * javax/swing/plaf/basic/BasicToolBarUI.java
1056 (DragWindow): Extends java.awt.Window.
1057 * javax/swing/text/JTextComponent.java
1058 (getDocument): Removed debug output.
1059 * javax/swing/plaf/basic/BasicTextFieldUI.java,
1060 javax/swing/text/DefaultHighlighter.java,
1061 javax/swing/text/FieldView.java,
1062 javax/swing/text/PlainView.java: New files.
1063 * Makefile.am: Added new files.
1064 * Makefile.in: Regenerated.
1066 2004-07-21 Michael Koch <konqueror@gmx.de>
1068 * javax/swing/JEditorPane.java
1069 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
1070 (createEditorKitForContentType): Likewise.
1071 * javax/swing/text/DefaultEditorKit.java
1072 (serialVersionUID): Added constant field.
1073 (EndOfLineStringPropery): Fixed typo.
1074 (DefaultEditorKit): New constructor.
1075 * javax/swing/text/Segment.java:
1076 Import java.text.CharacterIterator.
1077 * javax/swing/text/CharacterIterator.java,
1078 javax/swing/text/PlainEditorKit.java: Removed.
1079 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
1080 javax/swing/text/PlainEditorKit.java.
1081 * Makefile.in: Regenerated.
1083 2004-07-21 Michael Koch <konqueror@gmx.de>
1085 * javax/swing/JButton.java,
1086 javax/swing/text/DefaultEditorKit.java,
1087 javax/swing/text/EditorKit.java,
1088 javax/swing/text/Segment.java,
1089 javax/swing/text/StyledEditorKit.java:
1092 2004-07-21 Michael Koch <konqueror@gmx.de>
1094 * javax/swing/ImageIcon.java
1096 (description): Renamed from descr.
1097 (ImageIcon): Added missing constructors.
1098 (setParent): Removed.
1099 (setImageObserver): New method.
1100 (getImageObserver): New method.
1101 (paintIcon): Handle observer = null.
1102 * javax/swing/JButton.java
1103 (removeNotify): Fixed javadoc.
1104 (updateUI): Simplified.
1105 * javax/swing/JRootPane.java
1106 (serialVersionUID): New constant field.
1107 * javax/swing/UIManager.java:
1108 Fixed javadocs all over.
1109 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
1110 * javax/swing/text/AbstractDocument.java
1111 (createPosition): Throws BadLocationException.
1112 (getText): Likewise.
1114 * javax/swing/text/ComponentView.java
1115 (modelToView): Likewise.
1116 * javax/swing/text/DefaultEditorKit.java:
1117 Made all public methods public.
1118 (read): Throws BadLocationException and IOException.
1120 * javax/swing/text/EditorKit.java:
1121 Made all public methods public.
1122 (serialVersionUID): New constant field.
1123 (clone): New method.
1124 (read): Throws BadLocationException and IOException.
1126 * javax/swing/text/Segment.java
1127 (array): Made public.
1130 (Segment): New constructors.
1131 (clone): Reimplemented.
1132 * javax/swing/text/StyledEditorKit.java
1133 (serialVersionUID): New constant field.
1135 2004-07-21 Graydon Hoare <graydon@redhat.com>
1137 * java/awt/image/BufferedImage.java
1138 (getSource): Implement.
1139 * javax/swing/ImageIcon.java
1140 (ImageIcon): Implement ctor.
1141 * javax/swing/ScrollPaneLayout.java
1142 (preferredLayoutSize): Be more careful about nulls.
1144 2004-07-21 Michael Koch <konqueror@gmx.de>
1146 * javax/swing/text/AttributeSet.java
1147 (CharacterAttribute): New interface
1148 (ColorAttribute): Likewise.
1149 (FontCharacterAttribute): Likewise.
1150 (ParagraphAttribute): Likewise.
1151 * javax/swing/text/DefaultCaret.java
1152 (moveCaret): New method.
1153 (positionCaret): Likewise.
1154 (repaint): Made protected.
1155 * javax/swing/text/JTextComponent.java
1156 (KeyBinding): Made it static.
1157 * javax/swing/text/View.java
1158 (getContainer): Honor parent == null.
1160 2004-07-21 Michael Koch <konqueror@gmx.de>
1162 * javax/swing/text/AbstractDocument.java:
1165 2004-07-21 Michael Koch <konqueror@gmx.de>
1167 * javax/swing/plaf/basic/BasicRootPaneUI.java:
1168 Import javax.swing.UIManager explicitely.
1169 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1170 (ScrollingButton): Made it static.
1172 2004-07-21 Michael Koch <konqueror@gmx.de>
1174 * javax/swing/UIDefaults.java
1175 (ActiveValue): Made public.
1176 (LazyValue): Likewise.
1177 * javax/swing/plaf/basic/BasicTextUI.java
1178 (RootView): Reintroduced.
1180 (rootView): New field.
1181 (installUI): Create document if needed, initialize rootView.
1182 (uninstallUI): Hanle rootView.
1184 (getRootView): Likewise.
1185 (setView): Likewise.
1186 * javax/swing/text/DefaultCaret.java:
1187 Renamed all "evt" variables to "event".
1189 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
1191 * libgcj.spec.in: Add -l-java-util-logging.
1193 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
1195 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1196 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
1197 gtk-xft-dpi can no calculate the right value.
1198 (dpi_changed_cb): Mark *pspec as unsused.
1200 2004-07-21 David Jee <djee@redhat.com>
1202 * java/awt/Component.java
1203 (move): Delegate to setBounds().
1205 (reshape): Fix so it repaints parent and self only when necessary.
1207 2004-07-21 David Jee <djee@redhat.com>
1209 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1210 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1211 (GtkComponentPeer): Revert previous patch from 2004-06-22.
1212 (setVisible): Likewise.
1215 (getArgs): Likewise.
1216 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1217 (property_notify_predicate): Likewise.
1218 (find_layout): Likewise.
1219 (connectJObject): Likewise.
1220 (connectSignals): Likewise.
1221 (moveLayout): Likewise.
1222 (gtkLayoutSetVisible): Likewise.
1224 2004-07-21 Graydon Hoare <graydon@redhat.com>
1230 (rmiregistry_LDADD): Add lib-java-util-logging.la
1231 * Makefile.in: Regenerate.
1233 2004-07-21 Michael Koch <konqueror@gmx.de>
1235 * javax/swing/text/AbstractDocument.java
1236 (replace): Dont use protected method of java.util.Vector directly.
1238 2004-07-21 Michael Koch <konqueror@gmx.de>
1240 * javax/swing/plaf/basic/BasicTextUI.java
1241 (installUI): Call specialized install methods.
1242 (installDefaults): New method.
1243 (installListeners): Likewise.
1244 (installKeyboardActions): Likewise.
1245 (uninstallUI): Likewise.
1246 (uninstallDefaults): New method.
1247 (uninstallListeners): Likewise.
1248 (uninstallKeyboardActions): Likewise.
1249 (getPropertyPrefix): New abstract method.
1250 (paint): Made final, just call paintSafely().
1251 (paintSavely): New method.
1252 (paintBackground): Likewise.
1253 (getVisibleEditorRect): Likewise.
1254 * javax/swing/text/LayeredHighlighter.java,
1255 javax/swing/text/TabExpander.java: New files.
1256 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
1257 and javax/swing/text/TabExpander.java.
1258 * Makefile.in: Regenerated.
1260 2004-07-21 Michael Koch <konqueror@gmx.de>
1262 * javax/swing/plaf/basic/BasicTextUI.java
1263 (BasicTextUI): Made abstract.
1264 (BasicCaret): New inner class.
1265 (view): Don't explicitely initialize with "null".
1266 (textComponent): New field.
1267 (textColor): Removed.
1268 (disabledTextColor): Removed.
1269 (normalBackgroundColor): Removed.
1270 (RootView): Removed commented out inner class.
1271 (createUI): Removed.
1272 (createCaret): New method.
1273 (getComponent): Likewise.
1274 (installUI): Initialize textComponent only.
1275 (getPreferredSize): Use installed JTextComponent.
1276 (setView): New method.
1278 * javax/swing/text/JTextComponent.java
1279 (highlighter): New field.
1280 (caretColor): Likewise.
1281 (disabledTextColor): Likewise.
1282 (seletedTextColor): Likewise.
1283 (selectionColor): Likewise.
1284 (setUI): New method.
1285 (getCaretColor): Likewise.
1286 (setCaretColor): Likewise.
1287 (getDisabledColor): Likewise.
1288 (setDisabledColor): Likewise.
1289 (getSelectedTextColor): Likewise.
1290 (setSelectedTextColor): Likewise.
1291 (getSelectionColor): Likewise.
1292 (setSelectionColor): Likewise.
1293 (getHighlighter): Likewise.
1294 (setHighlighter): Likewise.
1295 (replaceSelection): Likewise.
1297 2004-07-21 Michael Koch <konqueror@gmx.de>
1299 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1300 (BasicScrollPaneUI): Implements ScrollPaneConstants.
1301 * javax/swing/plaf/basic/BasicToolBarUI.java
1302 (BasicToolBarUI): Implements SwingConstants.
1304 2004-07-21 Michael Koch <konqueror@gmx.de>
1306 * javax/swing/JPopupMenu.java: Removed CVS tags.
1307 * javax/swing/UIDefaults.java: Reformatted.
1308 * javax/swing/plaf/basic/BasicRootPaneUI.java:
1309 Explicitely import used classes.
1311 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
1313 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1314 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1315 (GtkComponentPeer): Remove temporary try/catch block.
1316 (setVisible): Call show and hide.
1317 (show): Make native.
1319 (getArgs): Don't add "visible" argument.
1320 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1321 (property_notify_predicate): Return Bool instead of int.
1322 (find_layout): New function.
1323 (connectJObject): Call find_layout.
1324 (connectSignals): Likewise.
1325 (moveLayout): Likewise.
1326 (gtkLayoutSetVisible): Likewise.
1328 2004-07-21 Olga Rodimina <rodimina@redhat.com>
1330 * javax/swing/AbstractButton.java:
1331 (setDisplayedMnemonicIndex): Check if button
1332 text is not null before checking its length.
1333 * javax/swing/JMenuItem.java:
1334 (processMouseEvent): Disarm menu item if mouse has
1336 * javax/swing/plaf/basic/BasicMenuUI.java:
1337 (MouseInputHandler.mouseEntered): Do not raise
1338 popup menu if this menu is already selected.
1339 (MouseInputHandler.mousePressed): Do not fire
1341 (MenuHandler): Implemented.
1343 2004-07-21 Olga Rodimina <rodimina@redhat.com>
1345 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
1346 (getSelectedObjects): Implemented.
1347 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
1348 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
1349 Added javadoc for few methods.
1350 (processMouseEvent): Made public.
1351 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
1352 (processMouseEvent): Likewise.
1354 2004-07-21 Olga Rodimina <rodimina@redhat.com>
1356 * javax/swing/AbstractButton.java:
1357 (init): Set display mnemonic index to -1.
1358 (setMnemonic(char)): Use setMnemonic(int).
1359 (setMnemonic(int)): Set display mnemonic index.
1360 (getDisplayedMnemonicIndex): Change method signature
1361 by removing 'index' parameter.
1362 * javax/swing/plaf/basic/BasicLookAndFeel.java:
1363 Added default for Menu.selectionBackground.
1364 * javax/swing/plaf/basic/BasicMenuItemUI.java:
1365 (paintMenuItem): Change background color of the selected
1367 (paintText): Paint differently when menu item is disabled.
1368 Also paint mnemonic if it appears in the menu item's label.
1369 (paintAccelerator): Paint accelerator differently
1370 if menu item is disabled.
1371 * javax/swing/plaf/basic/BasicMenuUI.java:
1372 (installDefaults): Install defaults for
1373 selectionForeground and selectionBackground.
1374 (uninstallDefaults): Uninstall defauls for
1375 selectionForeground and selectionBackground.
1377 2004-07-21 Michael Koch <konqueror@gmx.de>
1379 * javax/swing/text/AbstractDocument.java
1380 (BranchElement): Implemented.
1381 (LeafElement): Implemented.
1382 * javax/swing/text/DefaultCaret.java:
1383 Import used classes.
1384 (serialVersionUID): New constant.
1385 * javax/swing/text/JTextComponent.java
1386 (AccessibleJTextComponent): Removed dead declaration.
1387 (caretPos): Removed.
1388 (setCaret): New method.
1389 * javax/swing/text/PlainDocument.java
1390 (rootElement): New field.
1391 (PlainDocument): Initialize rootElement.
1392 (createDefaultRoot): New method.
1393 (getDefaultRootElement): Implemented.
1394 * javax/swing/text/View.java: Reformatted.
1395 * javax/swing/text/ViewFactory.java
1396 (create): Added javadoc.
1398 2004-07-21 Michael Koch <konqueror@gmx.de>
1400 * javax/swing/ToolTipManager.java: Reformatted.
1402 2004-07-21 Rodimina Olga <rodimina@redhat.com>
1404 * javax/swing/AbstractButton.java
1405 (changeEvent): New field.
1406 (fireItemStateChanged): Change source of the event
1407 to 'this' before firing it to button listeners.
1408 (fireActionPerformed): Likewise.
1409 (fireStateChanged): Likewise.
1410 (createActionListener): Do not set source
1411 of the event to AbstractButton.
1412 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1413 (ContainerHandler.componentAdded): Removed
1414 print out statement.
1415 (ContainerHandler.componentRemoved): Likewise.
1417 2004-07-21 Michael Koch <konqueror@gmx.de>
1419 * javax/swing/text/Highlighter.java: New file.
1420 * Makefile.am: Added javax/swing/text/Highlighter.java.
1421 * Makefile.in: Regenerated.
1423 2004-07-21 Michael Koch <konqueror@gmx.de>
1425 * javax/swing/ToolTipManager.java
1426 (stillInsideTimerAction): Fixed constructor arguments.
1427 (outsideTimerAction): Likewise.
1428 (insideTimerAction): Likewise.
1430 2004-07-21 Michael Koch <konqueror@gmx.de>
1432 * javax/swing/JButton.java: Reformatted.
1433 * javax/swing/JFormattedTextField.java
1434 (getUIClassID): Implemented.
1435 * javax/swing/JRootPane.java
1436 (serialVersionUID): New constant.
1437 * javax/swing/JTextField.java
1439 (JTextField): Simplified.
1440 (getUIClassID): New method.
1441 (getActionListeners): Added @since tag.
1442 (setColumns): Invalidate layout and repaint.
1443 (getHorizontalAlignment): New method.
1444 (setHorizontalAlignment): New method.
1445 (selectAll): Removed.
1446 * javax/swing/SwingUtilities.java
1447 (getAncestorOfClass): Removed redundant @see tag.
1448 (isLeftMouseButton): Fixed implementation.
1449 (isMiddleMouseButton): Likewise.
1450 (isRightMouseButton): Likewise.
1451 * javax/swing/text/AbstractDocument.java
1452 (AttributeContext.addAttribute): New method.
1453 (AttributeContext.addAttributes): New method.
1454 (AttributeContext.getEmptySet): New method.
1455 (AttributeContext.reclaim): New method.
1456 (AttributeContext.removeAttribute): New method.
1457 (AttributeContext.removeAttributes): New method.
1458 * javax/swing/text/Document.java
1459 (createPosition): Throws BadLocationException.
1460 (getText): Likewise.
1462 * javax/swing/text/JTextComponent.java
1463 (getText): Return null if no document is set. Catch
1464 BadLocationException.
1466 (updateUI): Simplified.
1468 2004-07-21 Michael Koch <konqueror@gmx.de>
1470 * javax/swing/JButton.java
1471 (removeNotify): Fixed javadoc.
1472 (updateUI): Simplified.
1474 2004-07-21 David Jee <djee@redhat.com>
1476 * gnu/java/awt/image/ImageDecoder.java
1477 (startProduction): Only add consumer if it's not added yet.
1478 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1479 (GdkPixbufDecoder): Don't call initState() here.
1480 (produce): Call initState() here, to ensure area_prepared and
1481 area_updated signals are properly connected.
1482 * gnu/java/awt/peer/gtk/GtkImage.java
1483 (setColorModel): Use equals() to compare ColorModel objects.
1484 (setPixels): Likewise.
1485 * java/awt/image/ColorModel.java
1486 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
1487 * java/awt/image/RGBImageFilter.java
1488 (setColorModel): Set consumer's color model.
1489 (setPixels): Use equals() to compare ColorModel objects.
1491 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
1493 * java/net/URLConnection.java (position): New field.
1494 (dateFormat1, dateFormat2, dateFormat3): Removed.
1495 (dateFormats): New field.
1496 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
1497 each time instead of re-allocating.
1498 (initializeDateFormats): Initialize 'dateFormats'.
1500 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
1503 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
1506 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
1508 * java/net/Socket.java (getImpl): Now private. Remove comment.
1510 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
1512 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
1513 of chained Writer when calling super-constructor.
1514 * java/io/FilterWriter.java (FilterWriter): Likewise.
1515 * java/io/PrintWriter.java (PrintWriter): Likewise.
1517 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
1519 * prims.cc (process_gcj_properties): Don't increment i within LHS
1522 2004-07-19 Per Bothner <per@bothner.com>
1524 Print -verbose:message on "loading", not initialization.
1525 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
1526 * defineclass.cc (_Jv_ClassReader::parse): Print message if
1527 gcj::verbose_class_flag.
1528 * java/lang/natClass.cc (initializeClass): Don't print message here.
1529 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
1530 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
1531 (_Jv_PrepareCompiledClass): Likewise.
1533 2004-07-18 Matthias Klose <doko@debian.org>
1535 * configure.in: Substitute target_noncanonical.
1536 * configure: Regenerate
1538 2004-07-17 Michael Koch <konqueror@gmx.de>
1540 * java/lang/String.java: Fixed javadocs all over.
1542 2004-07-17 Mark Wielaard <mark@klomp.org>
1544 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
1545 when size is smaller.
1546 * java/io/RandomAccessFile.java (setLength): Use truncate for
1547 shrinking the file and seek plus write for expanding the file.
1549 2004-07-17 Michael Koch <konqueror@gmx.de>
1551 * gnu/java/nio/channels/natFileChannelPosix.cc
1552 (implTruncate): Always save current position. Only reposition file
1553 pointer to where we started if not beyond new lenght. Reposition file
1554 pointer to file length if it points beyond the end of file.
1556 2004-07-17 Mark Wielaard <mark@klomp.org>
1558 * javax/swing/Box.java: Put FIXME comment above class declaration.
1559 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1560 * javax/swing/JCheckBox.java: Likewise.
1561 * javax/swing/JDialog.java: Likewise.
1562 * javax/swing/JRadioButton.java: Likewise.
1563 * javax/swing/JToggleButton.java: Likewise.
1564 * javax/swing/UIManager.java: Likewise.
1565 * javax/swing/border/TitledBorder.java: Likewise.
1566 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1567 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1568 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1569 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1570 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1571 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1572 * javax/swing/text/JTextComponent.java: Likewise.
1574 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
1576 * java/net/DatagramPacket.java (setAddress): Removed check for
1579 2004-07-17 Michael Koch <konqueror@gmx.de>
1581 * java/net/DatagramSocket.java
1582 (getLocalAddress): Check if socket is bound or not.
1583 * java/net/Socket.java
1584 (getLocalAddrss): Check if socket is bound or not.
1585 (getPort): Return -1 when not connected. Dont check getImpl() for
1587 (setReuseAddress): Check if socket is closed.
1588 (isConnected): Check if getImpl() returns null.
1590 2004-07-17 Mark Wielaard <mark@klomp.org>
1592 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
1593 on notifier object before calling notifyAll().
1595 2004-07-17 Michael Koch <konqueror@gmx.de>
1597 * gnu/java/nio/channels/FileChannelImpl.java
1598 (finalize): Added javadoc.
1600 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
1602 * java/text/CollationElementIterator.java
1603 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
1604 (setText): Use ArrayList instead of Vector.
1606 2004-07-17 Michael Koch <konqueror@gmx.de>
1608 * java/nio/ByteOrder.java
1609 (static): Removed. Not needed.
1610 Thanks to Patrick Reali for noticing.
1611 * java/nio/charset/CharsetDecoder.java
1612 (decode): Fix for classpath bug #9177: Reset state before flipping.
1614 2004-07-17 Michael Koch <konqueror@gmx.de>
1616 * java/security/Security.java: Fixed javadocs all over.
1618 2004-07-17 Michael Koch <konqueror@gmx.de>
1620 * gnu/java/awt/EmbeddedWindow.java
1622 (addNotify): Set peer via reflection.
1623 (setWindowPeer): Removed.
1624 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1625 * Makefile.am (nat_source_files):
1626 Removed gnu/java/awt/natEmbeddedWindow.cc.
1627 * Makefile.in: Regenerated.
1629 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
1631 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
1633 * configure: Regenerated.
1635 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
1637 * configure.in: Use build_noncanonical rather than build_alias.
1638 * configure: Rebuild.
1640 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
1641 by logic refactoring. Move default definition of NATIVE closer
1642 to first alternate definition.
1643 * configure: Regenerate.
1645 * Makefile.am: Set ZIP and GCJH directly using autoconf.
1646 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
1647 gcj/Makefile.in: Regenerate.
1648 * configure.in: Set ZIP and GCJH. Remove redundant condition
1649 in AM_CONDITIONAL(NATIVE,...)
1650 * configure: Regenerate.
1652 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
1654 * configure.in: Use target_noncanonical rather than
1655 target_alias for forward-compatibility with autoconf 2.59.
1656 * configure: Regenerate.
1657 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
1658 testsuite/Makefile.am: Substitute target_noncanonical.
1659 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1660 testsuite/Makefile.in: Regenerate.
1662 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
1663 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
1664 * acinclude.m4: Include acx.m4.
1665 * aclocal.m4: Regenerate.
1666 * configure: Regenerate.
1668 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
1671 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
1672 (decimalFormat): New static variable.
1674 (getTime): New. Override Date.getTime().
1675 (toString): Synchronize. Use decimalFormat to format nanos value
1676 correctly. Truncate extra zeros.
1677 (before): Compare getNanos() only if getTime() is equal.
1680 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
1682 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
1683 * configure.in: ...here.
1684 * aclocal.m4: Regenerate.
1685 * configure: Regenerate.
1687 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
1688 * configure: Rebuilt with autoconf 2.13.
1689 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1690 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
1692 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
1695 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
1697 * Makefile.in: Rebuilt.
1698 * testsuite/libjava.lang/LargeFile.java: New test case.
1699 * testsuite/libjava.lang/LargeFile.out: New file.
1701 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
1703 * java/beans/EventHandler.java: Remove debugging statements.
1705 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
1707 * java/beans/EventHandler.java: New file.
1708 * Makefile.am (awt_java_source_files): Add EventHandler.java.
1709 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1710 testsuite/Makefile.in: Regenerate.
1712 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
1714 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
1715 flag to the gcj_setup.
1716 (gcj_jacks_run): Check tclsh version and launch jacks directly with
1718 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
1719 deprecation flag change. 58 XFAILS removed.
1721 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
1723 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
1724 -fno-use-divide-subroutine.
1725 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
1726 (HANDLE_FPE): Define.
1727 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
1728 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
1729 (HANDLE_DIVIDE_OVERFLOW): Define.
1731 2004-07-14 Michael Koch <konqueror@gmx.de>
1732 Matthias Klose <doko@debian.org>
1734 * java/awt/im/InputContext.java: Initialize in, line.
1736 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
1738 * interpret.cc (run): Correctly access libffi return values of
1739 integral smaller-than-int type; these are implicitly promoted.
1741 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
1744 * interpret.cc (compile_mutex): New.
1745 (_Jv_InitInterpreter): New. Initialize compile_mutex.
1746 (run): Lock compile_mutex before calling compile() if compilation is
1748 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
1749 * include/java-interp.h (_Jv_InitInterpreter): Declare.
1751 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
1754 * include/jvm.h (_Jv_value): New union type.
1755 * gcj/field.h (_Jv_Field): Add new _addr union field variants
1756 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
1759 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
1761 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
1762 * gnu/awt/xlib/XOffScreenImage.java
1763 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
1764 constructor argument. Add constructor using ImageProducer.
1765 (getSource): Implement.
1766 (imageComplete): New method.
1767 (setColorModel): New method.
1768 (setDimensions): New method.
1769 (setHints): New method.
1770 (setPixels): New method.
1771 (setProperties): New method.
1772 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
1773 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
1775 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
1778 * prims.cc (_Jv_CreateJavaVM): Fix comment.
1779 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
1780 (finalizerReady): Now native.
1782 (runFinalizers): Removed.
1783 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
1784 a primitive lock, and don't hold it while running the finalizers.
1785 (runFinalizers): Implement. Don't aquire any Java lock.
1786 (finalizerReady): Use lock primitives to signal finalizer thread.
1788 2004-07-11 Mark Wielaard <mark@klomp.org>
1790 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
1791 * java/net/URLStreamHandler.java (parseURL): When url file part
1792 doesn't contain a '/' just ignore context.
1794 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
1796 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
1797 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
1798 (MAKE_THROW_FRAME): Do not modify PSW address.
1799 (INIT_SEGV): Install SIGINFO-style signal handler.
1800 (INIT_FPE): Likewise.
1802 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
1804 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
1805 status. 21 xfail's removed, 1 added.
1807 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
1809 * gcj/javaprims.h: Regenerate CNI namespace definitions.
1811 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
1813 * java/text/MessageFormat.java
1814 (formatInternal): Append "{n}" if argument n is unavailable.
1815 (format(Object, StringBuffer, FieldPosition)): This
1816 should be equivalent to format(Object[],
1817 StringBuffer, FieldPosition).
1819 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
1821 * java.util.Calendar.java (cache): New private static field. Cached
1822 mappings of locales->calendar classes.
1823 (ctorArgTypes): New private static field. Singleton argument for
1824 calendar class constructor lookup.
1825 (getInstance): Cache Locale->Calendar class mappings using HashMap.
1826 Optimize by bypassing reflection instantiation for the
1827 GregorianCalendar case.
1829 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
1831 * java/util/Calendar.java: Use getSystemClassLoader as argument for
1832 ResourceBundle.getBundle() calls.
1833 * java/util/GregorianCalendar.java: Likewise.
1834 * java/util/Currency.java: Likewise.
1835 * java/text/BreakIterator.java: Likewise.
1836 * java/text/Collator.java: Likewise.
1837 * java/text/DateFormat.java: Likewise.
1838 * java/text/DateFormatSymbols.java: Likewise.
1839 * java/text/DecimalFormatSymbols.java: Likewise.
1840 * java/text/NumberFormat.java: Likewise.
1841 * java/awt/Window.java: Likewise.
1843 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
1845 * java/util/ResourceBundle.java (bundleCache): Renamed from
1846 resourceBundleCache. Update comments.
1847 (getObject): Don't catch MissingResourceException.
1848 (getBundle(String)): Remove 'final'. Use system classloader if
1849 getCallingClassLoader returned null.
1850 (getBundle(String, Locale)): Likewise.
1851 (BundleKey): New private class. HashMap key for bundle cache lookup.
1852 (lookupKey): New. Singleton instance of BundleKey.
1853 (nullEntry): New. Cache entry to represent failed lookups.
1854 (getBundle(String, Locale, ClassLoader)): Re-written to use new
1855 caching strategy, no-allocation lookup, and new tryBundle methods.
1856 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
1857 name using given classloader.
1858 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
1859 baseName for given Locale and attempt to load bundle.
1861 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
1863 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
1864 illegal protected method calls.
1866 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
1868 Fix or remove some bogus test cases.
1869 * testsuite/libjava.compile/pr10459_2.java: Removed.
1870 * testsuite/libjava.compile/pr10459.java: Test using its own method,
1872 * testsuite/libjava.compile/inner_data.java: Test against its own
1875 2004-07-09 Michael Koch <konqueror@gmx.de>
1877 * scripts/unicode-muncher.pl: Updated to version 2.1
1878 from GNU classpath. Added some clarifications on where to find the
1879 needed files from www.unicode.org.
1880 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
1881 gnu/gcj/convert/UnicodeData-3.0.0.txt:
1882 Removed, these can directly be downloaded from www.unicode.org if
1884 * gnu/java/lang/CharData.java: Regenerated.
1885 * include/java-chartables.h: Regenerated.
1886 * Makefile.am (ordinary_java_source_files):
1887 Removed gnu/java/lang/CharData.java.
1888 * Makefile.in: Regenerated.
1890 2004-07-09 Michael Koch <konqueror@gmx.de>
1892 * java/security/AccessControlContext.java,
1893 java/security/SecureClassLoader.java:
1896 2004-07-09 Michael Koch <konqueror@gmx.de>
1898 * java/io/ObjectInputStream.java (readFields): Use long datatype
1899 when shifting byte values more then 24 bits left.
1901 2004-07-09 Michael Koch <konqueror@gmx.de>
1903 * java/util/zip/DeflaterOutputStream.java,
1904 java/util/zip/GZIPInputStream.java,
1905 java/util/zip/GZIPOutputStream.java,
1906 java/util/zip/InflaterInputStream.java:
1907 Reformatted. Added javadocs. Reordered all stuff.
1908 Renamed variables to be more clear.
1910 2004-07-09 Michael Koch <konqueror@gmx.de>
1912 * javax/imageio/IIOException.java,
1913 javax/imageio/event/IIOReadProgressListener.java,
1914 javax/imageio/event/IIOReadUpdateListener.java,
1915 javax/imageio/event/IIOReadWarningListener.java,
1916 javax/imageio/event/IIOWriteProgressListener.java,
1917 javax/imageio/event/IIOWriteWarningListener.java:
1919 * Makefile.am: Added new files.
1920 * Makefile.in: Regenerated.
1922 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
1924 * java/text/RuleBasedCollator.java
1925 (mergeRules): Use ArrayList instead of Vector.
1926 (subParseString): likewise.
1927 (parseString): likewise.
1928 (buildCollationVector): likewise.
1929 (getCollationKey): likewise.
1931 2004-07-09 Dalibor Topic <robilad@kaffe.org>
1933 * java/text/DateFormat.java (parse):
1934 Improved javadoc. Improved exception message.
1936 2004-07-09 Mark Wielaard <mark@klomp.org>
1938 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
1939 interrupted() method to clear interupt flag of our Thread.
1941 2004-07-09 Dalibor Topic <robilad@kaffe.org>
1943 * java/nio/Buffer.java,
1944 java/nio/ByteBuffer.java,
1945 java/nio/ByteBufferHelper.java,
1946 java/nio/ByteBufferImpl.java,
1947 java/nio/CharBuffer.java,
1948 java/nio/CharBufferImpl.java,
1949 java/nio/CharViewBufferImpl.java,
1950 java/nio/DirectByteBufferImpl.java,
1951 java/nio/DoubleBuffer.java,
1952 java/nio/DoubleBufferImpl.java,
1953 java/nio/DoubleViewBufferImpl.java,
1954 java/nio/FloatBuffer.java,
1955 java/nio/FloatBufferImpl.java,
1956 java/nio/FloatViewBufferImpl.java,
1957 java/nio/IntBuffer.java,
1958 java/nio/IntBufferImpl.java,
1959 java/nio/IntViewBufferImpl.java,
1960 java/nio/LongBuffer.java,
1961 java/nio/LongBufferImpl.java,
1962 java/nio/LongViewBufferImpl.java,
1963 java/nio/MappedByteBufferImpl.java,
1964 java/nio/ShortBuffer.java,
1965 java/nio/ShortBufferImpl.java,
1966 java/nio/ShortViewBufferImpl.java:
1967 Fixed javadocs all over. Improved input error
1970 * java/nio/Buffer.java
1971 (checkForUnderflow, checkForOverflow, checkIndex,
1972 checkIfReadOnly, checkArraySize): New helper methods
1975 * java/nio/ByteBufferHelper.java
1976 (checkRemainingForRead, checkRemainingForWrite,
1977 checkAvailableForRead, checkAvailableForWrite): Removed
1978 no longer needed methods.
1980 2004-07-09 Michael Koch <konqueror@gmx.de>
1982 * gnu/regexp/CharIndexedInputStream.java:
1983 Reordered imports to match classpath.
1985 2004-07-09 Michael Koch <konqueror@gmx.de>
1987 * gnu/java/awt/EmbeddedWindow.java:
1988 Load native library for setWindowPeer method.
1990 2004-07-08 Randolph Chung <tausq@debian.org>
1992 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
1993 * configure: Regenerate.
1994 * configure.host: Set can_unwind_signal for hppa*-linux.
1995 * include/pa-signal.h: New file.
1997 2004-07-07 Per Bothner <per@bothner.com>
1999 * Makefile.am: Add rules to build libgij from just gij.cc.
2001 * include/jvm.h (namespace jcj): Declare verbose_class_flag
2002 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
2003 (initializeClass): If verbose_class_flag, print message.
2004 * gij.cc (main): Handle -verbose:class flag.
2006 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
2008 * configure.host: Enable hash synchronization on Darwin.
2009 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
2010 ';', since this is a comment on Darwin.
2011 (compare_and_swap_release): Likewise.
2013 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
2015 * java/net/URLStreamHandler.java (parseURL): Canonicalize
2016 file portion of URL in addition to spec for file: protocol.
2018 2004-07-05 Anthony Green <green@redhat.com>
2020 * java/io/File.java (toURI): Merge from Classpath.
2022 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
2024 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
2025 before passing to URL constructor. Rethrow any MalformedURLException
2026 as a RuntimeException. Catch MalformedURLException specifically, not
2029 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
2031 * java/util/Locale.java (readObject): Intern strings read from object
2034 2004-07-04 Michael Koch <konqueror@gmx.de>
2036 * gnu/gcj/runtime/FirstThread.java,
2037 gnu/gcj/runtime/natFirstThread.cc: Removed.
2038 * gnu/java/lang/MainThread.java,
2039 gnu/java/lang/natMainThread.cc: New files.
2040 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
2041 * Makefile.am: Added new files and removed deleted ones.
2042 * Makefile.in: Regenerated.
2044 2004-07-03 Mark Wielaard <mark@klomp.org>
2045 Anthony Green <green@redhat.com>
2047 * java/net/URL.java (getFile): Clarify return value doc.
2048 (getPath): Return null if file is empty - not empty String.
2049 (set): Convert protocol to lower case before doing anything.
2050 Only change the protocol handler if it's different.
2052 2004-07-03 Anthony Green <green@redhat.com>
2054 * java/net/URL.java (URL): Convert protocol to lower case before
2055 doing anything, so we getURLStreamHandler() with the proper value.
2057 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
2059 * java/util/Locale.java (hashcode): Made transient.
2060 (hashCode): No longer synchronized.
2061 (equals): Remove comment.
2062 (writeObject): No longer synchronized. Implement using writeObject
2063 calls instead of tweaking hashCode field. Update doc.
2064 (readObject): Implement using readObject calls.
2066 2004-06-26 Geoffrey Keating <geoffk@apple.com>
2067 Andreas Tobler <a.tobler@schweiz.ch>
2069 * configure.host (powerpc-*-darwin*): New case, define
2071 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
2072 * configure: Regenerate.
2073 * include/darwin-signal.h: New.
2075 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
2077 * java/beans/Statement.java (doExecute): Fix formatting.
2079 2004-06-29 Per Bothner <per@bothner.com>
2081 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
2082 etc etc): Remove needless parenthesis, which causes __stdcall__
2083 attribute on MinGW to get ignored.
2085 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
2087 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
2089 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
2091 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
2093 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
2095 * java/beans/Expression.java: New file.
2096 * java/beans/Statement.java: New file.
2097 * Makefile.am: Added new files.
2098 * Makefile.in: Re-generate.
2100 2004-06-27 Mark Wielaard <mark@klomp.org>
2102 * java/io/FilePermission.java (usingPerms): Removed.
2103 (actionsString): Made final.
2104 (cachePerms): Renamed to checkPerms.
2105 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
2107 (FilePermission): Check arguments, call checkPerms().
2108 (equals): Remove cachePerms() call.
2109 (implies): Likewise.
2111 2004-06-27 Mark Wielaard <mark@klomp.org>
2113 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
2115 (sendRequest): Use new field in user-agent http agent.
2117 2004-06-27 Mark Wielaard <mark@klomp.org>
2119 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2120 when argument is null.
2122 2004-06-26 Mark Wielaard <mark@klomp.org>
2124 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2125 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
2127 (cancel_clicked): Likewise.
2129 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
2131 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2132 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
2133 can not calculate the right value.
2134 (dpi_changed_cb): Likewise. Mark *pspec as unused.
2136 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
2138 * testsuite/libjava.jacks/jacks.xfail: Remove
2139 15.9.1-qualified-concrete-20.
2141 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
2143 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
2144 encoding name to iconv.
2145 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
2147 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
2150 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
2151 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
2152 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
2154 2004-06-21 Andrew Haley <aph@redhat.com>
2156 * java/io/ObjectOutputStream.java: Add DEBUG statements
2158 (dumpElementln): New method.
2160 * java/io/ObjectInputStream.java
2161 (currentClassLoader): Make native.
2162 (callersClassLoader): New field.
2164 (readObject): ENDBLOCKDATA is generated if the class has a write
2165 method, not if it has a read method.
2166 (readObject): Save and restore this.currentObject and
2167 this.currentObjectStreamClass around calls to callReadMethod().
2168 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
2171 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
2173 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
2176 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
2178 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
2179 if desired, before the default class loader is initialised.
2180 Call INIT_SEGV only if HANDLE_SEGV is defined.
2182 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
2184 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
2185 directory only if it actually exists.
2187 2004-06-18 Graydon Hoare <graydon@redhat.com>
2189 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2190 Fix up non-ansi comments.
2192 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
2194 * javax/swing/text/AbstractDocument.java: Adding missing import
2195 for javax.swing.event.EventListenerList.
2196 * javax/swing/text/DefaultCaret.java: Likewise.
2198 2004-06-17 Michael Koch <konqueror@gmx.de>
2200 * javax/swing/JToolBar.java
2202 (JToolBar): Use Component.setName(String) instead of doing it all
2204 * javax/swing/Timer.java
2205 (queueEvent): Added missing modifier.
2207 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
2209 * Makefile.am: Added new file.
2210 * Makefile.in: Re-generate.
2211 * javax/swing/JMenu.java:
2212 (insertSeparator): Implemented.
2213 * javax/swing/JPopupMenu.java:
2214 (JPopupMenu.Separator): Implemented.
2215 * javax/swing/MenuSelectionManager.java:
2216 (processMouseEvent): Use java.awt.Component
2217 for event source instead of javax.swing.JComponent.
2218 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
2219 New File. Implemented.
2221 2004-06-16 David Jee <djee@redhat.com>
2223 * java/awt/GridBagLayout.java
2224 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
2225 Make sure pos_x and pos_y are never negative.
2227 2004-04-16 Andrew Overholt <overholt@redhat.com>
2229 * Makefile.am: Add new file.
2230 * Makefile.in: Re-generate.
2231 * javax/swing/JToolBar.java
2232 Partially implemented.
2233 * javax/swing/plaf/basic/BasicToolBarUI.java
2234 New file. Partially implemented.
2236 2004-06-16 Graydon Hoare <graydon@redhat.com>
2238 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2239 (setComposite): Accept AlphaComposite arguments.
2240 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
2241 (createBufferedImage): Add new overloads.
2242 * gnu/java/awt/peer/gtk/GtkToolkit.java
2243 (createImage): Use GdkPixbufDecoder.createBufferedImage
2244 when useGraphics2D() is true.
2245 (getImage): Delegate to createImage.
2246 * javax/swing/JList.java
2248 (getFirstVisibleIndex):
2249 (getLastVisibleIndex):
2251 (ensureIndexIsVisible): New methods.
2252 * javax/swing/Timer.java: Reimplement.
2254 2004-06-16 Michael Koch <konqueror@gmx.de>
2256 * javax/swing/text/AbstractDocument.java
2257 (AbstracElement): Made public, implements java.io.Serializable.
2258 (AttributeContext): Made public.
2259 (BranchElement): Likewise.
2260 (Content): Likewise.
2261 (DefaultDocumentEvent): Made public, extends
2262 javax.swing.undo.CompoundEdit.
2263 (ElementEdit): Made public, extends
2264 javax.swing.undo.AbstractUndoableEdit.
2265 (LeafElement): Made public.
2266 (LeafElement.LeafElement): Made public.
2268 2004-06-16 Michael Koch <konqueror@gmx.de>
2270 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
2271 methods (that were obviously never be intended to get included hi this
2272 class. Added some methods too.
2274 2004-06-16 Michael Koch <konqueror@gmx.de>
2276 * javax/swing/text/PlainDocument.java
2277 (serialVersionUID): New constant.
2278 (lineLimitAttribute): Likewise.
2279 (tabSizeAttribute): Likewise.
2280 (tabSize): New field.
2281 (PlainDocument): Made public.
2282 (PlainDocument): New constructor.
2284 2004-06-16 Michael Koch <konqueror@gmx.de>
2286 * javax/swing/text/AbstractDocument.java
2287 (insertString): Throws BadLocationException.
2288 * javax/swing/text/Document.java
2289 (insertString): Likewise.
2290 * javax/swing/text/JTextComponent.java:
2291 Javadocs and comments cleaned up.
2293 2004-06-16 Michael Koch <konqueror@gmx.de>
2295 * javax/swing/event/UndoableEditListener.java: Reformatted.
2296 * javax/swing/text/AbstractDocument.java
2297 (AbstractDocument): Implements java.io.Serializable.
2298 (doc_list): Removed.
2299 (undo_list): Removed.
2300 (AbstractElement.serialVerionUID): New field.
2301 (BranchElement.serialVerionUID): Likewise.
2302 (DefaultDocumentEvent.serialVerionUID): Likewise.
2303 (ElementEdit.serialVerionUID): Likewise.
2304 (LeafElement.serialVerionUID): Likewise.
2305 (serialVerionUID): Likewise.
2306 (BAD_LOCATION): New constant.
2307 (BidiElementName): Likewise.
2308 (ContentElementName): Likewise.
2309 (ParagraphElementName): Likewise.
2310 (SectionElementName): Likewise.
2311 (ElementNameAttribute): Likewise.
2312 (AbstractDocument): Made protected.
2313 (AbstractDocument): New construtor.
2314 (listenerList): New field.
2315 (fireChangedUpdate): Implemented.
2316 (fireInsertUpdate): Likewise.
2317 (fireRemoveUpdate): Likewise.
2318 (fireUndoableEditUpdate): Likewise.
2319 (getListeners): Likewise.
2320 (addDocumentListener): Likewise.
2321 (removeDocumentListener): Likewise.
2322 (addUndoableEditListener): Likewise.
2323 (removeUndoableEditListener): Likewise.
2324 (getDocumentListeners): New method.
2325 (getUndoableEditListeners): Likewise.
2326 (getAsynchronousLoadPriority): Made public.
2327 (getBidiRootElement): Likewise.
2328 (setAsynchronousLoadPriority): Likewise.
2329 (setDocumentProperties): Likewise.
2330 * javax/swing/text/BadLocationException.java
2331 (serialVerionUID): New field.
2332 * javax/swing/text/DefaultCaret.java
2333 (changeEvent): New field.
2334 (listenerList): Likewise.
2336 (addChangeListener): Reimplemented.
2337 (removeChangeListener): Likewise.
2338 (getListeners): New method.
2339 (getChangeListeners): Likwise.
2340 (getComponent): Likewise.
2341 * javax/swing/text/GapContent.java
2342 (GapContent): Implements java.io.Serializable.
2343 (serialVerionUID): New field.
2345 2004-06-16 Michael Koch <konqueror@gmx.de>
2347 * javax/swing/JTree.java
2348 (treeModel): New field.
2349 (JTree): New constructors, one existing one made public.
2350 (createTreeModel): New method.
2351 (addTreeExpansionListener): Likewise.
2352 (removeTreeExpansionListener): Likewise.
2353 (getTreeExpansionListeners): Likewise.
2354 (fireTreeCollapsed): Likewise.
2355 (fireTreeExpanded): Likewise.
2356 (addTreeSelectionListener): Likewise.
2357 (removeTreeSelectionListener): Likewise.
2358 (getTreeSelectionListeners): Likewise.
2359 (fireValueChanged): Likewise.
2360 (addTreeWillExpandListener): Likewise.
2361 (removeTreeWillExpandListener): Likewise.
2362 (getTreeWillExpandListeners): Likewise.
2363 (fireTreeWillCollapse): Likewise.
2364 (fireTreeWillExpand): Likewise.
2366 2004-06-16 Michael Koch <konqueror@gmx.de>
2368 * javax/swing/JTree.java: Reformatted.
2370 2004-06-16 Michael Koch <konqueror@gmx.de>
2372 * javax/swing/JTextArea.java: New file.
2373 * javax/swing/JTextField.java
2375 (notifyAction): New constant.
2376 (columns): New field.
2377 (JTextField): New constructors.
2378 (createDefaultModel): New method.
2379 (addActionListener): Reimplmemented.
2380 (removeActionListener): Reimplemented.
2381 (getActionListeners): New method.
2382 (fireActionPerformed): New method.
2383 (getColumns): New method.
2384 (setColumne): New method.
2385 * javax/swing/text/JTextComponent.java
2386 (AccessibleJTextComponent.serialVersionUID): New field.
2387 (serialVersionUID): Likewise.
2388 (DEFAULT_KEYMAP): Likewise.
2389 (FOCUS_ACCELERATOR_KEY): Likewise.
2390 (doc): Made private.
2391 (icon_gap): Likewise.
2394 (JTextComponent): Some constructors removed.
2395 (getScrollableTracksViewportHeight): New method.
2396 (getScrollableTracksViewportWidth): Likewise.
2397 * Makefile.am: Added javax/swing/JTextArea.java.
2398 * Makefile.in: Regenerated.
2400 2004-06-15 Graydon Hoare <graydon@redhat.com>
2402 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
2403 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
2404 * javax/swing/JViewport.java
2405 (getExtentSize): Return size rather than preferred size.
2406 (toViewCoordinates): New methods.
2407 (getViewSize): Return size rather than preferred size.
2408 (setViewSize): Note view size as set.
2409 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
2410 * javax/swing/plaf/basic/BasicScrollBarUI.java
2411 (getPreferredSize): Don't redo layout.
2412 * javax/swing/plaf/basic/BasicViewportUI.java
2413 (paint): Translate image properly and eat exceptions.
2415 2004-06-15 Kim Ho <kho@redhat.com>
2417 * javax/swing/JTabbedPane.java
2418 (setComponent): Remove old component and
2420 (setSelectedIndex): Don't operate on the
2421 components if they're null. Don't set index
2422 on the model if the index is the same.
2423 (insertTab): Don't add or hide the component
2424 if it's null. Repaint the container.
2425 * javax/swing/plaf/basic/BasicLookAndFeel.java
2426 Change colors for TabbedPane.
2427 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2428 (mousePressed): Re-layout and paint the component.
2429 (layoutContainer): Don't set location on the view.
2430 (ScrollingViewport::paint): Remove.
2432 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2434 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2435 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
2437 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2438 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
2439 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
2441 (drawLine): Call gdk_flush before leaving GDK critical region.
2442 (fillRect): Likewise.
2443 (drawRect): Likewise.
2444 (copyArea): Likewise.
2445 (copyPixmap): Likewise.
2446 (clearRect): Likewise.
2447 (drawArc): Likewise.
2448 (drawPolyline): Likewise.
2449 (drawPolygon): Likewise.
2450 (fillPolygon): Likewise.
2451 (fillArc): Likewise.
2452 (drawOval): Likewise.
2453 (fillOval): Likewise.
2455 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
2457 (GdkFontMetrics): Add style argument to initState call.
2458 (stringWidth(String,int,int,String)): Add style parameter.
2459 (stringWidth(String)): Add style argument to stringWidth call.
2460 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
2461 (initState): Set pango font style and weight based on AWT style
2462 parameter. Pass default GTK language to
2463 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
2464 simply dividing by PANGO_SCALE.
2465 (stringWidth): Set pango font style and weight based on AWT style
2468 * java/awt/Button.java (next_button_number): New field.
2469 (paramString): Change output.
2470 (generateName): New method.
2471 (getUniqueLong): New method.
2473 2004-06-14 Kim Ho <kho@redhat.com>
2475 * javax/swing/JTabbedPane.java:
2476 (setComponentAt): Set the component, not
2478 * javax/swing/plaf/basic/BasicDesktopIconUI.java
2479 (actionPerformed): Let deiconize catch exception.
2481 2004-06-14 Olga Rodimina <rodimina@redhat.com>
2483 * javax/swing/JPopupMenu.java:
2484 (setVisible): Corrected location of a
2485 heavyweight popup menu.
2487 2004-06-14 Olga Rodimina <rodimina@redhat.com>
2489 * javax/swing/MenuSelectionManager.java:
2490 Ran through jalopy to fix formatting style.
2492 2004-06-14 Olga Rodimina <rodimina@redhat.com>
2494 * javax/swing/JLayeredPane.java:
2495 (remove): Revalidate and repaint layered pane after
2496 the component was removed.
2497 javax/swing/JMenu.java:
2498 (setVisible): Display popup menu at the user location,
2499 if one was set by the user.
2500 (setMenuLocation): Reimplemented. Fixed javadoc.
2501 * javax/swing/JMenuBar.java: Added javadoc.
2502 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
2503 (MODEL_CHANGED_PROPERTY): New Property.
2504 (isSelected): Implemented.
2505 (setBorderPainted): Fire PropertyChangeEvent
2506 if paintBorder property changes.
2507 (setSelected): Implemented.
2508 (setSelectionModel): Implemented.
2509 * javax/swing/JPopupMenu.java: Added Javadoc
2510 (pack): Implemented.
2511 (setVisible): Reimplemented.
2512 (show): Fixed location.
2513 (JPopupMenu.LigthWeightPopup): Reimplemented to use
2514 Container instead of JPanel.
2515 * javax/swing/MenuSelectionManager.java: Added Javadocs.
2516 (clearSelectedPath): Reimplemented to clear selectedPath
2518 (processMouseEvent): Reimplemented.
2519 (setSelectedPath): Fire stateChange event indicating that
2520 selected menu path has changed.
2521 (getPath): Change to use ArrayList instead of Vector.
2522 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2523 (installUI): call installKeyboardActions().
2524 (uninstallUI): call uninstallKeyboardActions().
2526 2004-06-13 Michael Koch <konqueror@gmx.de>
2528 * javax/swing/text/DefaultCaret.java,
2529 javax/swing/text/BadLocationException.java:
2532 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
2534 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
2535 DEFAULT_COLS): New variables.
2536 (create): Don't allow 0 rows or 0 columns. Instead, set the
2537 values to DEFAULT_ROWS or DEFAULT_COLS.
2538 (getMinimumSize): Likewise.
2539 (getPreferredSize): Likewise.
2540 (minimumSize): Likewise.
2541 (preferredSize): Likewise.
2542 (create): Set peer's editable state.
2543 * java/awt/TextArea.java (TextArea()): Set rows and columns to
2544 zero. Update javadocs.
2545 (TextArea(String)): Likewise.
2546 (TextArea(int,int)): Fix javadocs.
2547 (TextArea(String,int,int,int)): Only throw exception if one of
2548 rows or columns is zero. Fix javadocs.
2550 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
2552 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
2553 addition to Components.
2555 * java/awt/MenuItem.java (dispatchEventImpl): If the event
2556 wasn't consumed by normal processing, send it to the parent
2559 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2560 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
2563 2004-06-11 David Jee <djee@redhat.com>
2565 * java/awt/MediaTracker.java
2566 (addImage(Image,int)): Call imageUpdate() to udpate image status.
2567 (addImage(Image,int,int,int)): Likewise.
2569 2004-06-11 Michael Koch <konqueror@gmx.de>
2571 * javax/swing/text/AbstractDocument.java,
2572 javax/swing/text/Document.java,
2573 javax/swing/text/GapContent.java,
2574 javax/swing/text/JTextComponent.java,
2575 javax/swing/text/PlainDocument.java:
2578 2004-06-11 Michael Koch <konqueror@gmx.de>
2580 * javax/swing/JRootPane.java
2581 (AccessibleJRootPane.serialVersionUID): New field.
2582 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
2583 (AccessibleJRootPane.getAccessibleRole): New method.
2584 (RootLayout): Implements Serializable.
2585 (RootLayout.serialVersionUID): New field.
2586 (RootLayout.RootLayout): New constructor.
2587 (setJMenuBar): Made public.
2588 (getJMenuBar): Likewise.
2589 (JRootPane): Likewise.
2590 (createContentPane): Likewise.
2591 (createGlassPane): Likewise.
2592 (createLayeredPane): Likewise.
2594 2004-06-11 Michael Koch <konqueror@gmx.de>
2596 * javax/swing/SwingUtilities.java
2597 (isLeftMouseButton): Fixed javadoc.
2598 (isMiddleMouseButton): Likewise.
2599 (isRightMouseButton): Likewise.
2601 2004-06-11 Michael Koch <konqueror@gmx.de>
2603 * javax/swing/JScrollPane.java
2604 (serialVersionUID): New field.
2605 (columnHeader): Made protected.
2606 (rowHeader): Likewise.
2607 (lowerLeft): Likewise.
2608 (lowerRight): Likewise.
2609 (upperLeft): Likewise.
2610 (upperRight): Likewise.
2611 (horizontalScrollBar): Likewise.
2612 (horizontalScrollBarPolicy): Likewise.
2613 (verticalScrollBar): Likewise.
2614 (verticalScrollBarPolicy): Likewise.
2615 (viewport): Likewise.
2617 2004-06-11 Michael Koch <konqueror@gmx.de>
2619 * javax/swing/LookAndFeel.java: Fixed javadocs.
2621 2004-06-11 Michael Koch <konqueror@gmx.de>
2623 * javax/swing/JEditorPane.java: Fixed javadocs.
2624 (JEditorPane): Removed redundant call to to this().
2625 (fireHyperlinkUpdate): Implemented.
2627 2004-06-10 Olga Rodimina <rodimina@redhat.com>
2629 * javax/swing/JMenu.java: Fixed file name
2630 in the file comment.
2632 2004-06-10 Olga Rodimina <rodimina@redhat.com>
2634 * javax/swing/JMenu.java: Added javadoc.
2635 (JMenu): Added MenuChangeListener to listen to
2636 ChangeEvents occuring in menu's model.
2637 (insert): Throw IllegalArgumentException if
2638 index is less than 0
2639 (setSelected): Reimplement.
2640 (setPopupMenuVisible): Call menu's model isEnabled()
2641 (setDelay): Throw IllegalArgumentException if
2642 given amount of delay is less than 0.
2643 (createActionComponent): Implemented.
2644 (createActionChangeListener): Implemented.
2645 (addSeparator): Implemented.
2646 (getItem): Throw IllegalArgumentException if index is
2648 (getItemCount): Implemented.
2649 (fireMenuSelected): Changed to use menuEvent.
2650 (fireMenuDeselected): Likewise.
2651 (fireMenuCanceled): Likewise.
2652 (setAccelerator): Changed to throw an error if this
2654 (doClick): Implemented.
2655 (JMenu.ActionChangedListener): New inner class to handle
2656 PropertyChangeEvents occuring in the actions associated with menu.
2657 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
2658 (BasicMenuUI): Added PropertyChangeListener to the menu.
2659 (createChangeListener): Implemented.
2660 (createMenuDragMouseListener): Likewise.
2661 (createMenuKeyListener): Likewise.
2662 (createPropertyChangeListener): Likewise.
2663 (uninstallListeners): Likewise.
2664 (BasicMenuUI.MouseInputHandler): Reimplemented.
2665 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
2666 (BasicMenuUI.ChangeHandler): Likewise.
2667 (BasicMenuUI.MenuDragMouseHandler): Likewise.
2668 (BasicMenuUI.MenuKeyHandler): Likewise.
2670 2004-06-10 David Jee <djee@redhat.com>
2672 * java/awt/MediaTracker.java
2673 (imageUpdate): Only do notifyAll() if the image is complete.
2675 2004-06-10 Olga Rodimina <rodimina@redhat.com>
2677 * javax/swing/JApplet.java:
2678 (getJMenuBar): Made public.
2679 (setJMenuBar): Likewise.
2680 * javax/swing/JFrame.java:
2681 (getJMenuBar): Made public.
2682 (setJMenuBar): Likewise.
2683 * javax/swing/JWindow.java:
2684 (getJMenuBar): Removed.
2685 (setJMenuBar): Removed.
2687 2004-06-10 Michael Koch <konqueror@gmx.de>
2689 * javax/swing/JEditorPane.java
2690 (createEditorKitForContentType): Fixed visibility.
2691 (fireHyperlinkUpdate): Likewise.
2692 (getContentType): Likewise.
2693 (getEditorKit): Likewise.
2694 (getEditorKitForContentType): Likewise.
2695 (getPage): Likewise.
2697 (registerEditorKitForContentTyoe): Likewise.
2698 (replaceSelection): Likewise.
2699 (setContentType): Likewise.
2700 (setEditorKit): Likewise.
2701 (setPage): Likewise.
2703 2004-06-10 Michael Koch <konqueror@gmx.de>
2705 * javax/swing/Timer.java
2706 (Timer): New constructor.
2707 * javax/swing/plaf/basic/BasicProgressBarUI.java
2708 (animationTimer): Don't initialize at construction.
2709 (startAnimationTimer): Added since tag.
2710 (stopAnimationTimer): Likewise.
2711 (installUI): Use new Timer constructor.
2712 * javax/swing/plaf/basic/BasicScrollBarUI.java
2713 (installUI): Likewise.
2714 * javax/swing/plaf/basic/BasicSliderUI.java
2715 (installUI): Likewise.
2717 2004-06-10 Michael Koch <konqueror@gmx.de>
2719 * javax/swing/ButtonGroup.java
2720 (serialVersionUID): Made private.
2721 (buttons): Renamed from v, added javadoc.
2722 (sel): Added javadoc.
2723 (ButtonGroup): Likewise.
2726 (getElements): Likewise.
2727 (getSelection): Likewise.
2728 (setSelected): Likewise.
2729 (isSelected): Likewise.
2730 (getButtonCount): Likewise.
2732 2004-06-10 Michael Koch <konqueror@gmx.de>
2734 * javax/swing/ButtonGroup.java,
2735 javax/swing/ImageIcon.java,
2736 javax/swing/JEditorPane.java,
2737 javax/swing/JRootPane.java,
2738 javax/swing/JTextField.java,
2739 javax/swing/LookAndFeel.java,
2740 javax/swing/plaf/basic/BasicTextUI.java:
2743 2004-06-10 Michael Koch <konqueror@gmx.de>
2745 * javax/swing/text/Style.java: Added javadocs.
2747 2004-06-10 Michael Koch <konqueror@gmx.de>
2749 * javax/swing/JComponent.java
2750 (fireVetoableChange): Removed redundant cast.
2751 * javax/swing/JLabel.java
2752 (getDisabledIcon): Save icon for next call.
2754 2004-06-10 Michael Koch <konqueror@gmx.de>
2756 * javax/swing/KeyStroke.java
2757 (getKeyStroke(char,boolean)): Marked deprecated.
2759 2004-06-10 Michael Koch <konqueror@gmx.de>
2761 * javax/swing/DefaultCellEditor.java,
2762 javax/swing/GrayFilter.java,
2763 javax/swing/event/DocumentEvent.java,
2764 javax/swing/text/JTextComponent.java,
2765 javax/swing/text/MutableAttributeSet.java:
2768 2004-06-10 Michael Koch <konqueror@gmx.de>
2770 * javax/swing/plaf/BorderUIResource.java:
2771 Added serialVersionUID all over.
2773 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
2775 * javax/swing/undo/UndoManager.java: Re-written from scratch.
2777 2004-06-10 Michael Koch <konqueror@gmx.de>
2779 * javax/swing/table/DefaultTableCellRenderer.java
2780 (noFocusBorder): Initialize directly.
2782 2004-06-10 Michael Koch <konqueror@gmx.de>
2784 * javax/swing/plaf/basic/BasicArrowButton.java
2785 (setDirection): Use method argument.
2787 2004-06-10 Michael Koch <konqueror@gmx.de>
2789 * javax/swing/plaf/BorderUIResource.java,
2790 javax/swing/plaf/ComponentUI.java,
2791 javax/swing/undo/CompoundEdit.java,
2792 javax/swing/undo/StateEdit.java:
2793 Fixed javadocs all over.
2795 2004-06-10 Michael Koch <konqueror@gmx.de>
2797 * javax/swing/DefaultButtonModel.java
2798 (ARMED): Made public final, fixed value.
2799 (ENABLED): Likewise.
2800 (PRESSED): Likewise.
2801 (ROLLOVER): Likewise.
2802 (SELECTED): Likewise.
2803 (stateMask): Initialize directly.
2804 (listenerList): Likewise.
2805 (mnemonic): Likewise.
2806 (fireStateChanged): Removed argument, use changeEvent as event.
2807 All places where this method is called are fixed too.
2808 (getActionCommant): Fixed javadoc.
2809 (setGroup): Fixed javadoc.
2810 (getGroup): New method.
2812 2004-06-09 Olga Rodimina <rodimina@redhat.com>
2814 * javax/swing/AbstractButton.java
2815 (AbstractButton): Use init() to initialize the button.
2816 (init): New Method. Initializes AbstractButton.
2817 * javax/swing/JMenuItem.java: Documented.
2818 (JMenuItem): Reimplemented.
2819 (init): Implemented.
2820 (setEnabled): Changed to call super.setEnabled()
2821 (processMouseEvent): Reimplemented.
2822 (fireMenuKeyPressed): Implemented.
2823 (fireMenuKeyReleased): Implemented.
2824 (fireMenuKeyTyped): Implemented.
2825 (menuSelectionChanged): disarm the model if the menu item was
2827 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
2828 (getPath): Change to use ArrayList instead of Vector.
2829 (getPreferredSize): Renamed variable.
2830 (paintMenuItem): Paint margin area of menu item.
2831 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
2832 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
2833 menu item's bounds before clearing the selection.
2835 2004-06-09 David Jee <djee@redhat.com>
2837 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2838 (GtkTextComponentPeer): Set caret position to 0.
2839 * java/awt/TextComponent.java
2840 (setText): Set caret position to 0.
2841 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2842 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2843 Handle GtkScrolledWindow separately. Fix signal handler blocking.
2844 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2846 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2847 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
2850 2004-06-09 Kim Ho <kho@redhat.com>
2852 * Makefile.am: New files
2853 * Makefile.in: Regenerated
2854 * java/awt/Container.java
2855 (getComponentAt): Removed.
2856 * javax/swing/AbstractAction.java
2857 (ENABLED_PROPERTY): New property.
2858 (putValue): Fire PropertyChangeEvents.
2859 (setEnabled): ditto.
2860 (firePropertyChange): Javadoc and implement
2862 * javax/swing/AbstractButton.java
2863 (setAction): Don't create PropertyChangeListener
2864 if new Action is null.
2865 (setIcon): Don't set icon till after comparing
2867 (configurePropertiesFromAction): Check mnemonic
2868 key before calling intValue().
2869 (createActionPropertyChangeListener): Check
2870 properties rather than bulk change.
2871 * javax/swing/DefaultDesktopManager.java:
2873 * javax/swing/DesktopManager.java:
2875 * javax/swing/JComponent.java
2876 (fireVetoableChange): Implement.
2877 (paintImmediately): Use root component.
2878 * javax/swing/JDesktopPane.java: Implement
2879 * javax/swing/JInternalFrame.java: Implement
2880 * javax/swing/JLabel.java
2881 (getDisabledIcon): Return grayscaled icon if
2882 no disabled icon specified.
2883 * javax/swing/JMenuBar.java
2884 (getComponentAtIndex): Use getComponent
2885 * javax/swing/JOptionPane.java
2886 (getDesktopPaneForComponent): Use SwingUtilities'
2888 (getFrameForComponent): ditto.
2889 * javax/swing/JSplitPane.java
2890 (remove): Use getComponent.
2891 * javax/swing/SwingUtilities.java
2892 (convertPoint): Implement.
2893 * javax/swing/plaf/basic/BasicButtonUI.java
2894 (paintButtonNormal): Check opaqueness before
2896 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
2898 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
2900 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
2902 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2904 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2905 Change InternalFrame and Desktop colors.
2907 2004-06-09 David Jee <djee@redhat.com>
2909 * java/awt/Container.java
2910 (remove): Do not set component to invisible.
2912 2004-06-09 Michael Koch <konqueror@gmx.de>
2914 * javax/swing/tree/DefaultMutableTreeNode.java
2915 (getLeafCount): Renamed enum to e.
2917 2004-06-09 Michael Koch <konqueror@gmx.de>
2919 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
2920 (positionForMouseEvent): Removed redundant semicolon.
2921 (continueDrag): Use method arguments.
2923 2004-06-09 Michael Koch <konqueror@gmx.de>
2925 * javax/swing/border/TitledBorder.java,
2926 javax/swing/filechooser/FileSystemView.java,
2927 javax/swing/plaf/basic/BasicButtonListener.java,
2928 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2929 javax/swing/plaf/basic/BasicLabelUI.java,
2930 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
2931 javax/swing/plaf/basic/BasicScrollBarUI.java,
2932 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2933 javax/swing/plaf/basic/BasicSliderUI.java,
2934 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2935 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2936 javax/swing/table/JTableHeader.java,
2937 javax/swing/text/AbstractDocument.java,
2938 javax/swing/text/DefaultCaret.java,
2939 javax/swing/text/StyledEditorKit.java,
2940 javax/swing/tree/DefaultTreeCellEditor.java:
2941 Reworked import statements.
2943 2004-06-08 Graydon Hoare <graydon@redhat.com>
2945 * javax/swing/Box.java: Temporarily comment out code
2946 broken due to visibility bug.
2948 2004-06-09 Michael Koch <konqueror@gmx.de>
2950 * javax/swing/ImageIcon.java
2951 (ImageIcon): Added missing constructor.
2953 2004-06-08 Michael Koch <konqueror@gmx.de>
2955 * javax/swing/JToggleButton.java
2956 (JToggleButton): New constructor.
2957 (getAccessibleContext): Moved documentation into javadoc.
2958 (getUIClassID): Likewise.
2960 2004-06-08 Michael Koch <konqueror@gmx.de>
2962 * javax/swing/AbstractButton.java
2963 (getDisabledIcon): Create disabled icon if none exists yet.
2965 2004-06-08 Michael Koch <konqueror@gmx.de>
2967 * javax/swing/plaf/basic/BasicLookAndFeel.java
2968 (initClassDefaults): Added FormattedTextFieldUI.
2969 (loadResourceBundle): Renamed enum to e.
2971 2004-06-08 Michael Koch <konqueror@gmx.de>
2973 * javax/swing/plaf/basic/BasicButtonUI.java
2974 (paintIcon): Simplified.
2975 (paintText): Paint disabled button correctly.
2977 2004-06-08 Michael Koch <konqueror@gmx.de>
2979 * javax/swing/JComponent.java
2980 (createToolTip): Use official JToolTip API.
2982 2004-06-08 Michael Koch <konqueror@gmx.de>
2984 * javax/swing/JToolTip.java
2985 (JToolTip): No arguments in API.
2986 (setTipText): New method.
2988 2004-06-08 Michael Koch <konqueror@gmx.de>
2990 * javax/swing/SwingUtilities.java
2991 (isLeftMouseButton): New method.
2992 (isMiddleMouseButton): New method.
2993 (isRightMouseButton): New method.
2995 2004-06-08 Michael Koch <konqueror@gmx.de>
2997 * javax/swing/AbstractButton.java,
2998 javax/swing/CellRendererPane.java,
2999 javax/swing/JCheckBoxMenuItem.java,
3000 javax/swing/JColorChooser.java,
3001 javax/swing/JComboBox.java,
3002 javax/swing/JComponent.java,
3003 javax/swing/JDesktopPane.java,
3004 javax/swing/JFileChooser.java,
3005 javax/swing/JMenu.java,
3006 javax/swing/JMenuItem.java,
3007 javax/swing/JOptionPane.java,
3008 javax/swing/JPasswordField.java,
3009 javax/swing/JPopupMenu.java,
3010 javax/swing/JProgressBar.java,
3011 javax/swing/JRadioButtonMenuItem.java,
3012 javax/swing/JScrollBar.java,
3013 javax/swing/JSeparator.java,
3014 javax/swing/JSlider.java,
3015 javax/swing/JSplitPane.java,
3016 javax/swing/JTabbedPane.java,
3017 javax/swing/JTextField.java,
3018 javax/swing/JToolBar.java,
3019 javax/swing/text/JTextComponent.java:
3020 Fixed all constructors of accessibility classes.
3022 2004-06-08 Michael Koch <konqueror@gmx.de>
3024 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
3027 2004-06-08 Michael Koch <konqueror@gmx.de>
3029 * javax/swing/Box.java
3030 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
3031 (AccessibleBoxFiller.serialVersionUID): New member variable.
3032 * javax/swing/DefaultButtonModel.java
3033 (stateMask): Made protected.
3034 (listenerList): Likewise.
3035 (changeEvent): Likewise.
3037 (mnemonic): Likewise.
3038 (actionCommand): Likewise.
3039 (getListeners): New method.
3040 (getActionListeners): New method.
3041 (getItemListeners): New method.
3042 (getChangeListeners): New method.
3043 (fireItemStateChanged): Simplified.
3044 (fireActionPerformed): Simplified.
3045 (fireStateChanged): Simplified.
3046 * javax/swing/JFrame.java
3047 (JFrame): Implements WindowContants.
3048 (HIDE_ON_CLOSE): Removed.
3049 (EXIT_ON_CLOSE): Removed.
3050 (DISPOSE_ON_CLOSE): Removed.
3051 (DO_NOTHING_ON_CLOSE): Removed.
3052 (processWindowEvent): Exit with code 0.
3053 (setDefaultCloseOperation): Do security check before setting value.
3054 * javax/swing/JOptionPane.java
3055 (message): Initialize only in constructor.
3056 * javax/swing/JToolTip.java: Removed unused imports.
3057 * javax/swing/JViewport.java
3058 (serialVersionUID): New member variable.
3059 (SIMPLE_SCROLL_MODE): Made final, fixed value.
3060 (BLIT_SCROLL_MODE): Likewise.
3061 (BACKINGSTORE_SCROLL_MODE): Likewise.
3062 (scrollUnderway): Made protected.
3063 (isViewSizeSet): Likewise.
3064 * javax/swing/ListModel.java: Fixed javadoc.
3065 * javax/swing/Popup.java: Likewise.
3066 * javax/swing/RepaintManager.java
3067 (paintDirtyRegions): Don't use internal classes of
3068 java.util.AbstractMap.
3069 * javax/swing/ScrollPaneConstants.java: Reindented.
3070 * javax/swing/ScrollPaneLayout.java
3071 (viewport): Made protected.
3072 (verticalScrollBar): Made protected, renamed to vsb.
3073 (horizontalScrollBar): Made protected, renamed to hsb.
3074 (rowHeader): Made protected, renamed to rowHead.
3075 (columnHeader): Made protected, renamed to colHead.
3076 (lowerLeft): Made protected.
3077 (lowerRight): Made protected.
3078 (upperLeft): Made protected.
3079 (upperRight): Made protected.
3080 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
3081 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
3083 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
3085 * java/awt/MediaTracker.java (imageUpdate): Only set status to
3086 LOADING if flags has SOMEBITS set.
3088 2004-06-07 Michael Koch <konqueror@gmx.de>
3090 * javax/swing/AbstractButton.java: Reorganized imports.
3091 * javax/swing/ActionMap.java: Likewise.
3092 * javax/swing/DefaultButtonModel.java: Likewise.
3093 * javax/swing/DefaultListModel.java: Likewise.
3094 * javax/swing/ImageIcon.java: Likewise.
3095 (serialVersionUID): New member variable.
3096 * javax/swing/JComboBox.java: Reorganized imports.
3097 * javax/swing/JComponent.java: Likewise.
3098 (ui): Made protected.
3099 (listenerList): Made protected.
3100 (TOOL_TIP_TEXT_KEY): New constant.
3101 (scrollRectToVisible): Removed redundant null check.
3102 * javax/swing/JFrame.java: Reorganized imports.
3103 * javax/swing/JInternalFrame.java: Reorganized imports.
3104 * javax/swing/JProgressBar.java: Likewise.
3105 * javax/swing/JRootPane.java: Likewise.
3106 * javax/swing/JScrollBar.java: Likewise.
3107 * javax/swing/JSeparator.java: Likewise.
3108 * javax/swing/JSlider.java: Likewise.
3109 * javax/swing/JTabbedPane.java: Likewise.
3110 * javax/swing/JTextField.java: Likewise.
3111 * javax/swing/JToolBar.java: Likewise.
3112 * javax/swing/JTree.java: Likewise.
3113 * javax/swing/JViewport.java: Likewise.
3114 * javax/swing/JWindow.java: Likewise.
3115 * javax/swing/KeyStroke.java: Likewise.
3116 * javax/swing/LookAndFeel.java: Likewise.
3117 * javax/swing/MenuSelectionManager.java: Likewise.
3118 * javax/swing/SwingUtilities.java: Likewise.
3119 * javax/swing/Timer.java: Likewise.
3120 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
3121 * javax/swing/JList.java
3122 (HORIZONTAL_WRAP): Made final, fixed value.
3123 (VERTICAL): Likewise.
3124 (VERTICAL_WRAP): Likewise.
3126 2004-06-07 Michael Koch <konqueror@gmx.de>
3128 * javax/swing/AbstractButton.java
3129 (serialVersionUID): New member variable.
3130 (AccessibleAbstractButton.serialVersionUID): Likewise.
3131 (AbstractButton): Made public.
3132 * javax/swing/Box.java
3133 (AccessibleBox.serialVersionUID): New member variable.
3134 (Filler.serialVersionUID): Likewise.
3135 * javax/swing/DefaultListSelectionModel.java
3136 (serialVersionUID): Likewise.
3137 * javax/swing/JApplet.java
3138 (serialVersionUID): Likewise.
3139 * javax/swing/JCheckBox.java
3140 (serialVersionUID): Likewise.
3141 * javax/swing/JCheckBoxMenuItem.java
3142 (serialVersionUID): Likewise.
3143 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
3144 * javax/swing/JColorChooser.java
3145 (serialVersionUID): Likewise.
3146 (AccessibleJColorChooser.serialVersionUID): Likewise.
3147 * javax/swing/JComponent.java
3148 (serialVersionUID): Made private.
3149 (AccessibleJComponent.serialVersionUID): New member variable.
3150 * javax/swing/JDesktopPane.java
3151 (serialVersionUID): Likewise.
3152 * javax/swing/JDialog.java
3153 (serialVersionUID): Likewise.
3154 * javax/swing/JFormattedTextField.java
3155 (serialVersionUID): Fixed value.
3156 * javax/swing/JFrame.java
3157 (serialVersionUID): New member variable.
3158 (getDefaultCloseOpertation): Made public.
3159 * javax/swing/JLayeredPane.java
3160 (serialVersionUID): Likewise.
3161 (LAYER_PROPERTY): Made final, fixed value.
3162 (JLayeredPane): Made public.
3163 * javax/swing/JMenu.java
3164 (AccessibleJMenu.serialVersionUID): New member variable.
3165 (WinListener.serialVersionUID): Likewise.
3166 * javax/swing/JMenuBar.java
3167 (serialVersionUID): Likewise.
3168 (getComponentAtIndex): Added @deprecated tag.
3169 * javax/swing/JMenuItem.java
3170 (serialVersionUID): New member variable.
3171 (AccessibleJMenuItem.serialVersionUID): Likewise.
3172 * javax/swing/JOptionPane.java
3173 (serialVersionUID): Likewise.
3174 (AccessibleJOptionPane.serialVersionUID): Likewise.
3175 * javax/swing/JPopupMenu.java
3176 (serialVersionUID): Likewise.
3177 (AccessibleJPopupMenu.serialVersionUID): Likewise.
3178 (getPopupMenuListeners): New method.
3179 (getComponentAtIndex): Added @deprecated tag.
3180 * javax/swing/JProgressBar.java
3181 (serialVersionUID): New member variable.
3182 (AccessibleJProgressBar.serialVersionUID): Likewise.
3183 * javax/swing/JRadioButton.java
3184 (serialVersionUID): Likewise.
3185 * javax/swing/JRadioButtonMenuItem.java
3186 (serialVersionUID): Likewise.
3187 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
3188 * javax/swing/JScrollBar.java
3189 (serialVersionUID): Likewise.
3190 (AccessibleJScrollBar.serialVersionUID): Likewise.
3191 * javax/swing/JSeparator.java
3192 (serialVersionUID): Likewise.
3193 (AccessibleJSeparator.serialVersionUID): Likewise.
3194 * javax/swing/JSlider.java: Fixed javadocs.
3195 (AccessibleJSlider.serialVersionUID): New member variable.
3196 * javax/swing/JSplitPane.java: Added copyright statement.
3197 (serialVersionUID): New member variable.
3198 (AccessibleJSplitPane.serialVersionUID): Likewise.
3199 * javax/swing/JTabbedPane.java
3200 (serialVersionUID): Likewise.
3201 (AccessibleJTabbedPane.serialVersionUID): Likewise.
3202 (ModelListener.serialVersionUID): Likewise.
3203 (ModelListener.ModelListener): New constructor.
3204 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
3205 (WRAP_TAB_LAYOUT): Likewise.
3206 * javax/swing/JTable.java
3207 (serialVersionUID): New member variable.
3208 * javax/swing/JToggleButton.java
3209 (serialVersionUID): Likewise.
3210 (ToggleButtonModel): Made static.
3211 (ToggleButtonModel.serialVersionUID): New member variable.
3212 * javax/swing/JToolTip.java
3213 (serialVersionUID): Likewise.
3214 * javax/swing/JTree.java
3215 (serialVersionUID): Likewise.
3216 * javax/swing/JWindow.java
3217 (serialVersionUID): Likewise.
3218 * javax/swing/Timer.java
3219 (serialVersionUID): Likewise.
3221 2004-06-06 Michael Koch <konqueror@gmx.de>
3223 * javax/swing/SwingConstants.java
3224 (NEXT): New constant.
3225 (PREVIOUS): Likewise.
3226 * javax/swing/UIManager.java
3227 (LookAndFeel): Made public.
3228 (LookAndFeel.getClassName): Likewise.
3229 (LookAndFeel.getName): Likewise.
3231 2004-06-02 Olga Rodimina <rodimina@redhat.com>
3233 * javax/swing/JCheckBoxMenuItem.java:
3235 * javax/swing/JMenu.java: Likewise.
3236 * javax/swing/JMenuBar.java: Likewise.
3237 * javax/swing/JMenuItem.java: Likewise.
3238 * javax/swing/JPopupMenu.java: Likewise.
3239 * javax/swing/JRadioButtonMenuItem.java: Likewise.
3240 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
3241 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3242 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3243 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
3244 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
3245 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
3247 2004-05-31 Olga Rodimina <rodimina@redhat.com>
3249 * javax/swing/plaf/basic/BasicMenuUI.java:
3250 (MouseEntered): Do not call getPath() from MenuSelectionManager.
3251 Call getPath() from super class instead.
3253 2004-05-31 David Jee <djee@redhat.com>
3255 * java/awt/Container.java
3256 (remove): Set component visibility to false after removing it.
3258 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
3260 * java/awt/Component.java (getForeground): Return SystemColor if
3262 (getBackground): Likewise.
3264 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
3265 (item_highlighted): New function.
3266 (connectSignals): Set item_highlighted as list's select
3269 * java/applet/Applet.java: Revert changes from 2004-04-29,
3270 2004-03-15 and 2004-03-14.
3272 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3273 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
3276 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
3277 "Dialog" as the default font.
3278 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
3280 * java/awt/Component.java (getFont): Return "Dialog" font by
3282 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
3283 Multiply size argument to pango_font_description_set_size by the
3284 DPI conversion factor rather than by PANGO_SCALE.
3285 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
3286 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
3287 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
3288 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
3289 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
3290 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
3291 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
3292 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
3293 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3294 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3295 Divide baseline y coordinate by DPI conversion factor rather
3296 than by PANGO_SCALE.
3297 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
3298 (area_prepared): Fix typo.
3299 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
3300 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
3301 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3302 (dpi_conversion_factor): New global variable.
3303 (init_dpi_conversion_factor): New function to calculate and
3304 track DPI conversion factor.
3305 (dpi_changed_cb): New callback.
3306 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
3308 2004-05-27 David Jee <djee@redhat.com>
3310 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3311 (getGraphics): Return a new GdkGraphics instance.
3312 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3313 (getGraphics): Call super.getGraphics().
3315 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
3317 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3318 (setNativeBounds): Clamp width and height values to >= 0.
3320 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3321 (find_fg_color_widget): Handle GtkOptionMenu specially.
3323 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3324 (pre_event_handler): Only post configure events to visible
3327 2004-05-26 David Jee <djee@redhat.com>
3329 * java/awt/BorderLayout.java
3330 (layoutContainer): Fix size calculations.
3332 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
3334 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3335 (window_wm_protocols_filter): Remove function.
3336 (create): Remove filter that removes WM_TAKE_FOCUS client
3339 2004-06-17 Anthony Green <green@redhat.com>
3341 * java/util/zip/ZipFile.java (getInputStream): Return null if
3344 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
3345 directory contents to the class path.
3347 2004-06-15 Andrew Haley <aph@redhat.com>
3349 * java/lang/natSystem.cc (getenv0): Don't assume environment
3350 variable is Latin 1 coded.
3352 2004-06-14 Andreas Jaeger <aj@suse.de>
3354 * configure.in: Support --enable-version-specific-runtime-libs.
3355 * configure: Regenerated.
3357 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
3359 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
3360 to pass ClassLoader argument.
3361 * java/util/GregorianCalendar.java: Likewise.
3362 * java/util/Currency.java: Likewise.
3363 * java/text/BreakIterator.java: Likewise.
3364 * java/text/Collator.java: Likewise.
3365 * java/text/DateFormat.java: Likewise.
3366 * java/text/DateFormatSymbols.java: Likewise.
3367 * java/text/DecimalFormatSymbols.java: Likewise.
3368 * java/text/NumberFormat.java: Likewise.
3369 * java/awt/Window.java: Likewise.
3371 2004-06-14 Andrew Haley <aph@redhat.com>
3373 * java/lang/System.java: (getenv0): New method.
3374 (getenv): Add security check. Do the right thing.
3375 * java/lang/natSystem.cc (getenv0): New method.
3377 2004-06-12 Mark Wielaard <mark@klomp.org>
3379 * javax/swing/RepaintManager.java
3380 (paintDirtyRegions): Use entrySet(), not values().
3382 2004-06-10 Mark Wielaard <mark@klomp.org>
3384 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
3387 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
3389 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
3390 when we already know the answer.
3391 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
3392 (setStartRule,setEndRule): Don't take abs of day number.
3393 (getOffset): Clarify docs. Add argument checks.
3394 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
3395 (equals,hasSameRules,toString,readObject): Use startTimeMode and
3398 2004-06-10 Tom Tromey <tromey@redhat.com>
3400 * interpret.cc (run): Handle wide fload.
3402 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
3404 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
3406 2004-06-05 Michael Koch <konqueror@gmx.de>
3408 * javax/swing/SwingConstants.java
3409 (NEXT): New constant.
3410 (PREVIOUS): Likewise.
3412 2004-06-05 Michael Koch <konqueror@gmx.de>
3414 * javax/swing/UIManager.java
3415 (LookAndFeel): Made public.
3416 (LookAndFeel.getName): Likewise.
3417 (LookAndFeel.getClassName): Likewise.
3419 2004-06-03 Michael Koch <konqueror@gmx.de>
3421 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3422 (requestFocus): Revert last changes.
3423 (gtkRequestFocus): Removed.
3424 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3425 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
3427 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
3428 Reverted last patch.
3429 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3430 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
3431 Reverted comment change.
3433 2004-06-02 Olga Rodimina <rodimina@redhat.com>
3435 * javax/swing/JCheckBoxMenuItem.java:
3437 * javax/swing/JMenu.java: Likewise.
3438 * javax/swing/JMenuBar.java: Likewise.
3439 * javax/swing/JMenuItem.java: Likewise.
3440 * javax/swing/JPopupMenu.java: Likewise.
3441 * javax/swing/JRadioButtonMenuItem.java: Likewise.
3442 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
3443 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3444 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3445 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
3446 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
3447 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
3449 2004-06-01 Tom Tromey <tromey@redhat.com>
3451 * java/io/ObjectStreamField.java: Cleaned up imports.
3453 2004-06-01 Michael Koch <konqueror@gmx.de>
3455 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
3457 2004-06-01 Mark Wielaard <mark@klomp.org>
3459 * java/io/Writer.java (Writer(Object)): Fixed API doc.
3461 2004-06-01 Michael Koch <konqueror@gmx.de>
3463 * java/security/Security.java
3464 (insertProviderAt): Use equals() instead of ==.
3465 (removeProvicer): Likewise.
3466 (getProvider): Likewise.
3467 * java/security/Signature.java
3468 (sign): Don't set state to UNINITIALIZED.
3471 2004-06-01 Mark Wielaard <mark@klomp.org>
3473 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
3474 Implement by calling gtkRequestFocus.
3475 (gtkRequestFocus): New native method.
3476 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3477 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
3479 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
3481 (filter_expose_event_handler):
3483 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3484 (menu_pos): Mark static.
3486 2004-06-01 Michael Koch <konqueror@gmx.de>
3488 * java/text/CollationElementIterator.java,
3489 java/text/CollationKey.java,
3490 java/text/RuleBasedCollator.java: New versions from GNU classpath.
3491 * testsuite/libjava.mauve/xfails: Removed all
3492 java.text.CollationElementIterator tests.
3494 2004-06-01 Michael Koch <konqueror@gmx.de>
3496 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
3498 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
3499 Java 1.5 keyword usage.
3501 2004-05-31 Olga Rodimina <rodimina@redhat.com>
3503 * javax/swing/plaf/basic/BasicMenuUI.java:
3504 (MouseEntered): Do not call getPath() from MenuSelectionManager.
3505 Call getPath() from super class instead.
3507 2004-05-31 Michael Koch <konqueror@gmx.de>
3509 * java/io/SequenceInputStream.java:
3510 Rename enum to e because enum is a keyword in Java 1.5.
3512 2004-05-31 Michael Koch <konqueror@gmx.de>
3514 * gnu/java/rmi/rmic/CompilerProcess.java:
3515 Fixed javadoc to by XHTML compliant.
3517 2004-05-30 Mark Wielaard <mark@klomp.org>
3519 * java/awt/Toolkit.java (loadSystemColors): Implement.
3521 2004-05-30 Michael Koch <konqueror@gmx.de>
3523 * java/lang/System.java: Reordered imports.
3525 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
3527 * java/text/DecimalFormat.java
3528 (parse): Fixed parsing of decimal strings. Number of maximum
3529 digits to be read should now work.
3530 * java/text/SimpleDateFormat.java
3531 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
3532 formatter. This fixes DateFormatTest.
3534 2004-05-30 Michael Koch <konqueror@gmx.de>
3536 * java/nio/Buffer.java
3537 (limit): Fixed off by one error.
3538 * java/nio/CharBuffer.java
3539 (wrap): Fixed arguments, added javadocs.
3541 2004-05-30 Michael Koch <konqueror@gmx.de>
3543 * gnu/java/beans/BeanInfoEmbryo.java,
3544 java/awt/im/InputContext.java,
3545 javax/swing/tree/DefaultMutableTreeNode.java:
3546 Rename enum to e because enum is a keyword in Java 1.5.
3548 2004-05-30 Michael Koch <konqueror@gmx.de>
3550 * gnu/java/math/MPN.java,
3551 java/awt/geom/Arc2D.java:
3552 Fixed javadocs all over.
3554 2004-05-30 Michael Koch <konqueror@gmx.de>
3556 * java/awt/DefaultKeyboardFocusManager.java
3557 (dispatchEvent): Call method to get key event dispatchers.
3558 (dispatchKeyEvent): Call method to get key event post processors.
3559 * javax/swing/JComponent.java
3560 (listenerList): Made protected.
3561 * javax/swing/JOptionPane.java
3562 (message): Don't initialize.
3563 (JOptionPane): Set message text.
3564 * javax/swing/JPopupMenu.java
3565 (show): Fixed typo in argument name.
3566 * javax/swing/RepaintManager.java
3567 (paintDirtyRegions): Use public API of java.util.Map.
3568 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
3569 (positionForMouseEvent): Removed redundant ';'.
3570 (continueDrag): Use method arguments.
3572 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
3574 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
3577 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
3579 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
3581 * gnu/gcj/RawDataManaged.java: New file.
3582 * java/lang/Thread.java (data): Declare as RawDataManaged.
3583 * java/lang/natThread.cc (init_native): Cast natThread data to
3584 RawDataManaged, not jobject.
3585 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
3586 * Makefile.in: Rebuilt.
3588 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
3590 * java/util/SimpleTimeZone.java: Reverting my last change until I
3591 can fix it properly.
3593 2004-05-27 Michael Koch <konqueror@gmx.de>
3595 * javax/swing/JPopupMenu.java
3596 (isVisible): Do not use visible directly.
3597 (setVisible): Likewise.
3598 * javax/swing/JWindow.java
3599 (JWindow): call accessible constructor.
3600 * javax/swing/RepaintManager.java
3601 (paintDirtyRegions): Use public methods to obtain iterator.
3603 2004-05-25 David Jee <djee@redhat.com>
3605 * java/awt/Container.java
3606 (remove): Set component's parent to null only after we removed the
3607 component from its parent's layout manager.
3609 2004-05-25 David Jee <djee@redhat.com>
3611 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3612 (GtkComponentPeer): Set bounds regardless of whether awtComponent
3614 * gnu/java/awt/peer/gtk/GtkListPeer.java
3615 (getSize): Change native method declaration.
3616 (minimumSize): Pass visible row count into getSize().
3617 (preferredSize): Likewise.
3618 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
3619 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
3620 natural size. Use visible row count to determine the final height
3623 2004-05-21 Graydon Hoare <graydon@redhat.com>
3625 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
3626 (setClip): Minor correction to order of operations.
3628 * javax/swing/JScrollPane.java: Extend sketchy implementation.
3629 * javax/swing/ScrollPaneLayout.java: Likewise.
3630 * javax/swing/JViewPort.java: Likewise.
3631 * javax/swing/ViewportLayout.java: Likewise.
3633 * javax/swing/JComponent.java: Rewrite.
3634 * javax/swing/RepaintManager.java: Likewise.
3636 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
3637 * javax/swing/JList.java
3638 (setSelectedIndices):
3639 (getSelectedIndices):
3640 (getSelectedValues): New functions.
3641 (getPreferredScrollableViewportSize): Return preferred size.
3642 (getScrollableUnitIncrement):
3643 (getScrollableBlockIncrement): Initial implementations.
3644 * javax/swing/JRootPane.java: Clean up slightly.
3649 (isValidateRoot): Add overrides from JComponent.
3650 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
3651 * javax/swing/UIManager.java (getDimension): Return the dimension.
3653 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
3654 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3655 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3656 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3657 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3658 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
3659 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3660 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3661 Likewise, and set background.
3662 * javax/swing/plaf/basic/BasicListUI.java:
3663 Likewise, and improve a bit.
3664 * javax/swing/plaf/basic/BasicScrollBarUI.java:
3665 Likewise, and adjust calculations.
3666 * javax/swing/plaf/basic/BasicViewportUI.java:
3667 Likewise, and improve a bit.
3668 * javax/swing/plaf/basic/BasicLookAndFeel.java
3669 (Button.margin): Shrink.
3671 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
3672 Hack to set horizontal always, workaround pango.
3674 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
3675 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
3676 Synchronize more often, check cairo status after ops,
3677 handle changes to cairo pattern API, check for disposal.
3679 2004-05-21 Olga Rodimina <rodimina@redhat.com>
3681 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3682 (BasicMenuItemUI): Create propertyChangeListener.
3683 (getPath):Implemented.
3684 (installListeners): Add propertyChangeListener to menuItem.
3685 (uninstallListeners): Remove propertyChangeListener from menuItem.
3686 (update): Implemented.
3687 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
3688 (mouseEntered): Take insets of popup menu into account when
3689 calculating position of popup menu.
3691 2004-05-18 Olga Rodimina <rodimina@redhat.com>
3693 * Makefile.am: Added new file.
3694 * Makefile.in: Regenerate.
3695 * javax/swing/JMenuBar.java:
3696 Started implementation.
3697 * javax/swing/JPopupMenu.java:
3698 (setVisible): Fixed location of lightweight/mediumweight
3700 (show): Fixed location of PopupMenu.
3701 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3702 New file. UI Delegate for JMenuBar.
3703 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
3704 (mouseEntered): Corrected position of the submenu.
3706 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3708 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
3709 to _gtk_accel_group_attach.
3710 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
3713 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
3714 package access. Don't override setFont.
3715 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
3716 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
3717 gtkWidgetRequestFocus package access.
3718 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
3720 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
3721 Give gtkWidgetRequestFocus package access.
3722 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
3723 gtkWidgetRequestFocus package access. Don't override setFont.
3724 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
3726 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3727 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
3729 (gtkSetFont): Likewise.
3730 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
3732 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3733 (gtkSetFont): Whitespace fix.
3735 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3736 (gtkWidgetSetUsize): Remove method.
3738 2004-05-18 David Jee <djee@redhat.com>
3740 * java/awt/image/MemoryImageSource.java
3741 (newPixels(int,int,int,int,boolean)): Set only the specified
3742 rectangle of pixels.
3743 (newPixels(byte[],ColorModel,int,int)): Implement.
3744 (newPixels(int[],ColorModel,int,int)): Implement.
3746 2004-05-18 Olga Rodimina <rodimina@redhat.com>
3748 * Makefile.am: Added new file.
3749 * Makefile.in: Regenerate.
3750 * javax/swing/JMenu.java: Started
3752 * javax/swing/JPopupMenu.java:
3753 (insert): If specified index is -1, then
3754 add component at the end.
3755 (isPopupTrigger): Reimplemented.
3756 (JPopupMenu.LightWeightPopup): setBounds
3757 of the lightWeightPopup before adding it
3759 (javax/swing/plaf/basic/BasicIconFactory.java):
3760 (getMenuArrowIcon): Implemented.
3761 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3762 (getPreferredSize): Add size of the arrow icon
3763 if this menu item is instance of JMenu.
3764 (paintMenuItem): Paint arrow icon if this
3765 menu item is a submenu.
3766 * javax/swing/plaf/basic/BasicMenuUI.java:
3767 New File. UI Delegate for JMenu.
3769 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
3771 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
3772 Post KEY_TYPED events.
3773 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3774 (generates_key_typed_event): Remove function.
3776 2004-05-17 Olga Rodimina <rodimina@redhat.com>
3778 * javax/swing/JRootPane.java
3779 (JRootPane.RootLayout): Reimplemented to
3780 set bounds of contentPane and menuBar.
3781 (setJMenuBar): Add menu bar to the layered pane.
3782 (createLayeredPane): Set layout of layeredPane
3784 * javax/swing/JLayeredPane.java:
3785 (addImpl): Calculate index of the component in the
3786 layeredPane according to the specified position within
3789 2004-05-17 David Jee <djee@redhat.com>
3791 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3792 (setPixels): Change color model to the default model after
3794 * java/awt/image/MemoryImageSource.java
3795 (newPixels): Set only the specified rectangle of pixels.
3797 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
3799 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
3800 -l-java-beans -l-javax-accessibility -l-javax-swing.
3802 * java/awt/AWTEvent.java (toString): Print source's name rather
3803 than the source itself.
3805 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
3807 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
3809 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3810 (gdk_color_to_java_color): New function.
3811 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
3813 2004-05-12 David Jee <djee@redhat.com>
3815 * java/awt/image/RGBImageFilter.java:
3816 Initialize origmodel as null.
3817 (makeColor): Fix pixel component order.
3818 (filterRGBPixels): Fix pixel iteration.
3819 (setPixels): Add extra checks for index color model. Convert pixels
3820 to default color model if necessary.
3821 (convertColorModelToDefault): New override method for byte pixels.
3822 (convertColorModelToDefault): For int pixels, fix pixel iteration.
3823 (makeColorbyDefaultCM): New override method for byte pixels.
3824 (makeColorbyDefaultCM): For int pixel, add color model as argument.
3825 (makeColor): Fix pixel component order.
3827 2004-05-11 Kim Ho <kho@redhat.com>
3829 * javax/swing/Box.java:
3830 Comment out more parts of Box.Filler.
3832 2004-05-11 Kim Ho <kho@redhat.com>
3834 * javax/swing/Box.java:
3835 Remove reference to AccessibleAWTComponent so
3838 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
3840 * gnu/java/awt/peer/gtk/GtkListPeer.java,
3841 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
3842 implementation of list peer to use GtkTreeView instead of
3843 deprecated GtkCList.
3845 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
3847 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3848 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
3849 (handleEvent): Remove keyChar argument to
3850 gtkWidgetDispatchKeyEvent calls.
3851 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
3853 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
3854 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
3855 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
3858 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
3860 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3861 (gtkWidgetRequestFocus): Mark protected.
3862 (GtkComponentPeer): Only set the peer's bounds if its component
3864 * java/awt/Component.java (static): Set the default keyboard
3866 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
3867 requestFocusInWindow(temporary)): Don't request focus if the
3868 component is not showing. Get tree lock before traversing
3869 component hierarchy.
3870 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3871 Only set the global focus owner if it is not a Window.
3872 (processKeyEvent): Consume keystrokes associated with the focus
3873 traversal keystroke.
3874 (focusPreviousComponent, focusNextComponent, upFocusCycle,
3875 downFocusCycle): Call requestFocusInWindow instead of
3877 * java/awt/EventDispatchThread.java (run): Move setting of
3878 default keyboard focus manager to Component.java.
3879 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3880 (awt_keycode_to_keysym): New function.
3881 (gtkWidgetDispatchKeyEvent): Finish implementation.
3882 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3883 (pre_event_handler): Add FIXME comment.
3885 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3886 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3887 (gtkWidgetRequestFocus): New method.
3888 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
3889 disable Tab and Shift-Tab keystrokes.
3890 (addNotify, appendText, insertText, replaceText): Simplify peer
3892 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3893 (connectSignals): Remove connections to "commit" signals.
3894 Remove C++-style comments.
3896 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3897 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3898 (handleEvent): Activate GTK button when the space bar key is
3900 (gtkActivate): New method.
3902 2004-05-06 David Jee <djee@redhat.com>
3904 * java/awt/image/CropImageFilter.java
3905 (setPixels): Implement for byte array pixels.
3906 * java/awt/image/ReplicateScaleFilter.java
3907 (setPixels): Implement for byte array pixels.
3908 (replicatePixels): Overload for byte array pixels.
3910 2004-05-06 Kim Ho <kho@redhat.com>
3912 * javax/swing/Box.java:
3913 (getAccessibleContext): Return an instance of the
3916 2004-05-05 David Jee <djee@redhat.com>
3918 * gnu/java/awt/peer/gtk/GdkGraphics.java
3919 (drawImage): When component is null, use SystemColor.window as
3920 the default bgcolor.
3921 * gnu/java/awt/peer/gtk/GtkImage.java
3922 (setPixels): We can avoid iterating through the pixel rows only
3924 * java/awt/Image.java
3925 (getScaledInstance): Partially implement.
3926 * java/awt/image/CropImageFilter.java
3927 (setProperties): Fix "filter" property.
3928 (setPixels): Implement.
3929 * java/awt/image/ReplicateScaleFilter.java
3930 (setDimensions): Use scaled dimensions.
3931 (setPixels): Implement.
3932 (replicatePixels): New method.
3934 2004-05-05 David Jee <djee@redhat.com>
3936 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3937 (convertPixels): If either pixels or model is null, return null.
3938 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
3939 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
3940 is null, do nothing and return.
3942 2004-05-03 Kim Ho <kho@redhat.com>
3944 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
3945 (getGraphics): Like GtkFramePeer, the Graphics
3946 object needs to be translate to account for
3948 (postMouseEvent): New method. Account for
3950 (postExposeEvent): ditto.
3951 * javax/swing/Box.java: Stubbed.
3952 * javax/swing/JDialog.java: Ran through jalopy
3954 (JDialog): Call SwingUtilities' getOwnerFrame
3956 (setLayout): Check isRootPaneCheckingEnabled
3957 * javax/swing/JOptionPane.java: Re-implemented.
3958 * javax/swing/SwingUtilities.java:
3959 (getOwnerFrame): Static method to grab a default
3960 owner frame for Dialogs that don't specify owners.
3961 * javax/swing/event/SwingPropertyChangeSupport.java:
3962 (firePropertyChange): Fix early exit condition.
3963 * javax/swing/plaf/basic/BasicLabelUI.java:
3964 (paint): Avoid painting text if it is null
3966 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3969 2004-05-03 Olga Rodimina <rodimina@redhat.com>
3971 * Makefile.am: Added new file.
3972 * Makefile.in: Regenerate.
3973 * javax/swing/JPopupMenu.java:
3974 Started implementation.
3975 * javax/swing/JWindow.java
3976 (JWindow): call super() if parent for window
3978 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3979 New File. UI Delegate for JPopupMenu.
3981 2004-04-30 Olga Rodimina <rodimina@redhat.com>
3983 * javax/swing/JApplet.java: Indicated that JApplet
3984 implements RootPaneContainer and made method of this
3986 * javax/swing/JFrame.java: Ditto.
3987 * javax/swing/JWindow.java: Ditto.
3989 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
3991 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3992 (nativeSetBounds): Call gdk_window_move in addition to
3995 * java/applet/Applet.java (preferredSize): Call parent's
3996 preferredSize if the applet stub is null.
3997 (minimumSize): Likewise for parent's minimumSize.
3999 2004-04-27 Olga Rodimina <rodimina@redhat.com>
4001 * javax/swing/JMenuItem.java
4002 (createActionPropertyChangeListener): Implemented.
4003 (processMouseEvent): Ditto.
4004 (fireMenuDragMouseEntered): Ditto.
4005 (fireMenuDragMouseExited): Ditto.
4006 (fireMenuDragMouseDragged): Ditto.
4007 (fireMenuDragMouseReleased): Ditto.
4008 (menuSelectionChanged): Ditto.
4009 (getSubElements): Ditto.
4010 (getComponent): Ditto.
4011 (addMenuDragMouseListener): Ditto.
4012 (removeMenuDragMouseListener):Ditto.
4013 (addMenuKeyListener): Ditto.
4014 (removeMenuKeyListener): Ditto.
4015 * javax/swing/plaf/basic/BasicMenuItemUI.java
4016 (doClick): Imlemented.
4017 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
4018 Don't handle mouse events here. Pass them to
4019 MenuSelectionManager.
4021 2004-04-26 Olga Rodimina <rodimina@redhat.com>
4022 Used correct version of jalopy configuration
4023 file to fix style in the files below.
4025 2004-04-26 Olga Rodimina <rodimina@redhat.com>
4027 * javax/swing/JCheckBoxMenuItem.java:
4028 Fixed style and removed unnecessary comments.
4029 * javax/swing/JMenuItem.java: Ditto.
4030 * javax/swing/JRadioButtonMenuItem.java: Ditto.
4031 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
4032 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
4033 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
4035 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
4037 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
4040 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
4042 * java/awt/ContainerOrderFocusTraversalPolicy.java
4043 (getComponentAfter): Start from current component and work up
4044 the component hierarchy until an acceptable component is found.
4045 Synchronize on tree lock.
4046 (getComponentBefore): Likewise.
4048 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4050 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
4051 focus-related debugging messages.
4052 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
4053 * java/awt/EventDispatchThread.java: Likewise.
4054 * java/awt/KeyboardFocusManager.java: Likewise.
4055 * java/awt/Window.java: Likewise.
4056 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
4057 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
4059 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
4060 new C++-style comments to C-style comments.
4061 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
4063 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4064 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4065 (handleEvent): Dispatch key press and key release events to
4067 (requestFocus): Post a FOCUS_GAINED event to the event queue.
4068 (gtkWidgetRequestFocus): New method.
4069 (gtkWidgetDispatchKeyEvent): Likewise.
4070 * java/awt/Component.java (requestFocus, requestFocus(boolean),
4071 requestFocusInWindow, requestFocusInWindow(boolean),
4072 getFocusCycleRootAncestor, nextFocus, transferFocus,
4073 transferFocusBackward, transferFocusUpCycle, hasFocus,
4074 isFocusOwner): Implement and document focus-handling methods.
4075 (setFocusTraversalKeys): Inherit focus traversal keys when
4076 keystrokes argument is null. Fix focus-handling documentation
4078 * java/awt/Container.java (setFocusTraversalKeys,
4079 getFocusTraversalKeys, areFocusTraversalKeysSet,
4080 isFocusCycleRoot, setFocusTraversalPolicy,
4081 getFocusTraversalPolicy, isFocusTraversalPolicySet,
4082 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
4083 Implement and document focus-handling methods.
4084 (transferFocusBackward): Remove method.
4085 (readObject, writeObject): Implement and document serialization
4087 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
4089 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
4091 * java/awt/DefaultKeyboardFocusManager.java: Implement and
4093 * java/awt/EventDispatchThread.java (run): Set default keyboard
4094 focus manager. Attempt to dispatch each event to the keyboard
4095 focus manager before normal dispatch.
4096 * java/awt/KeyboardFocusManager.java: Implement and partially
4098 * java/awt/Window.java (Window): Set focusCycleRoot to true.
4099 (show): Focus initial component when window is shown for the
4101 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4102 (pre_event_handler): Replace complex key press and key release
4103 logic with simple callbacks into GtkComponentPeer.
4104 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
4106 2004-04-21 Olga Rodimina <rodimina@redhat.com>
4108 * javax/swing/MenuSelectionManager.java
4109 (componentForPoint): Added new method.
4110 (defaultManager): New Method. Implemented.
4111 (getSelectedPath): Ditto.
4112 (isComponentPartOfCurrentMenu): Ditto.
4113 (processKeyEvent): Added new method.
4114 (processMouseEvent): New Method. Implemented.
4115 (setSelectedPath): Ditto.
4118 2004-04-19 Kim Ho <kho@redhat.com>
4120 * java/awt/Container.java:
4121 (remove): Set the component's parent to null.
4122 (getComponentAt): Implement.
4123 * javax/swing/JComponent.java:
4124 (JComponent): Initialize defaultLocale
4125 (getDefaultLocale): Implement.
4126 (setDefaultLocale): ditto.
4127 * javax/swing/JSlider.java:
4128 (JSlider): Fix calculation of value.
4129 * javax/swing/JSplitPane.java: Implement.
4130 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4131 Change SplitPane's default divider size.
4132 * javax/swing/plaf/basic/BasicScrollBarUI.java:
4133 (paint): Remove unused code.
4134 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
4135 Added comments and ran through jalopy.
4136 (setBasicSplitPaneUI): Get reference to hidden divider
4137 and set up one touch buttons if necessary.
4138 (setBorder): Fire propertyChangeEvent only if
4139 borders are different.
4140 (getPreferredSize): Defer to layout manager.
4141 (propertyChange): Implement.
4142 (oneTouchExpandableChanged): ditto.
4143 (createLeftOneTouchButton): Use BasicArrowButton.
4144 (createRightOneTouchButton): ditto.
4145 (moveDividerTo): New method. Moves the divider
4146 to a set location based on the last divider location.
4147 (BasicSplitPaneDivider::MouseHandler): Implement.
4148 (BasicSplitPaneDivider::OneTouchButton): Removed.
4149 (BasicSplitPaneDivider::DragController): Implement.
4150 (BasicSplitPaneDivider::VerticalDragController):
4152 (BasicSplitPaneDivider::DividerLayout): ditto.
4153 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
4154 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
4155 (calculateLayoutInfo): Don't show component if it's
4157 (paintTab): Fix title paint logic.
4159 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
4162 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
4163 (setStartRule,setEndRule): Don't take abs of day number.
4164 (getOffset): Clarify docs. Add argument checks.
4165 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
4166 (equals,hasSameRules,toString,readObject): Use startTimeMode and
4168 * testsuite/libjava.mauve/xfails
4169 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
4171 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
4173 Layout interfaces during preparation, not initialization.
4174 * java/lang/natClass.cc (initializeClass): Move
4175 _Jv_LayoutInterfaceMethods call...
4176 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
4178 2004-05-19 Anthony Green <green@localhost.localdomain>
4180 * Makefile.am (awt_java_source_files): Remove javax.rmi and
4182 * Makefile.in: Rebuilt.
4183 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
4184 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
4185 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
4186 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
4187 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
4188 gnu/javax/rmi/CORBA/DelegateFactory.java,
4189 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
4190 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
4191 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
4192 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
4193 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
4194 gnu/javax/rmi/PortableServer.java: Remove files.
4196 2004-05-19 Anthony Green <green@redhat.com>
4198 * Makefile.am: Define JAVA_EXT_DIRS.
4199 * Makefile.in: Rebuilt.
4200 * java/lang/natRuntime.cc (insertSystemProperties): Set
4201 java.ext.dirs property.
4203 2004-05-16 Mark Wielaard <mark@klomp.org>
4205 * java/io/Writer.java (Writer(Object)): Check for null lock object.
4207 2004-05-15 Mark Wielaard <mark@klomp.org>
4209 * doc/cni.sgml: Removed, merged into gcj.texi.
4211 2004-05-15 Mark Wielaard <mark@klomp.org>
4213 * Makefile.am (ordinary_java_source_files): Add new javax.print
4215 * Makefile.in: Regenerated.
4217 2004-05-15 Michael Koch <konqueror@gmx.de>
4219 * javax/print/attribute/standard/DateTimeAtCompleted.java,
4220 javax/print/attribute/standard/DateTimeAtCreation.java,
4221 javax/print/attribute/standard/DateTimeAtProcessing.java,
4222 javax/print/attribute/standard/DocumentName.java,
4223 javax/print/attribute/standard/JobHoldUntil.java,
4224 javax/print/attribute/standard/JobImpressionsCompleted.java,
4225 javax/print/attribute/standard/JobMessageFromOperator.java,
4226 javax/print/attribute/standard/JobName.java,
4227 javax/print/attribute/standard/JobOriginatingUserName.java,
4228 javax/print/attribute/standard/JobPriority.java,
4229 javax/print/attribute/standard/JobPrioritySupported.java,
4230 javax/print/attribute/standard/NumberOfInterveningJobs.java,
4231 javax/print/attribute/standard/OutputDeviceAssigned.java,
4232 javax/print/attribute/standard/PrinterInfo.java,
4233 javax/print/attribute/standard/PrinterLocation.java,
4234 javax/print/attribute/standard/PrinterMakeAndModel.java,
4235 javax/print/attribute/standard/PrinterMessageFromOperator.java,
4236 javax/print/attribute/standard/PrinterName.java,
4237 javax/print/attribute/standard/QueuedJobCount.java,
4238 javax/print/attribute/standard/RequestingUserName.java:
4239 Fixed javadocs all over.
4241 2004-05-15 Michael Koch <konqueror@gmx.de>
4243 * javax/print/DocFlavor.java,
4244 javax/print/attribute/standard/ColorSupported.java,
4245 javax/print/attribute/standard/Compression.java,
4246 javax/print/attribute/standard/CopiesSupported.java,
4247 javax/print/attribute/standard/Fidelity.java,
4248 javax/print/attribute/standard/Finishings.java,
4249 javax/print/attribute/standard/JobImpressionsSupported.java,
4250 javax/print/attribute/standard/JobKOctetsSupported.java,
4251 javax/print/attribute/standard/JobMediaSheetsSupported.java,
4252 javax/print/attribute/standard/JobSheets.java,
4253 javax/print/attribute/standard/JobState.java,
4254 javax/print/attribute/standard/JobStateReason.java,
4255 javax/print/attribute/standard/JobStateReasons.java,
4256 javax/print/attribute/standard/Media.java,
4257 javax/print/attribute/standard/MediaSizeName.java,
4258 javax/print/attribute/standard/MultipleDocumentHandling.java,
4259 javax/print/attribute/standard/NumberUpSupported.java,
4260 javax/print/attribute/standard/OrientationRequested.java,
4261 javax/print/attribute/standard/PDLOverrideSupported.java,
4262 javax/print/attribute/standard/PageRanges.java,
4263 javax/print/attribute/standard/PresentationDirection.java,
4264 javax/print/attribute/standard/PrintQuality.java,
4265 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
4266 javax/print/attribute/standard/PrinterMoreInfo.java,
4267 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
4268 javax/print/attribute/standard/PrinterResolution.java,
4269 javax/print/attribute/standard/PrinterState.java,
4270 javax/print/attribute/standard/PrinterStateReason.java,
4271 javax/print/attribute/standard/PrinterStateReasons.java,
4272 javax/print/attribute/standard/PrinterURI.java,
4273 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
4274 javax/print/attribute/standard/Severity.java,
4275 javax/print/attribute/standard/SheetCollate.java,
4276 javax/print/attribute/standard/Sides.java:
4277 Added serialVersionUID and removed final keyword where it doenst
4280 2004-05-15 Michael Koch <konqueror@gmx.de>
4282 * javax/print/PrintServiceLookup.java: New file.
4284 2004-05-15 Michael Koch <konqueror@gmx.de>
4286 * javax/print/DocFlavor.java:
4287 Implemented all flavor classes.
4289 2004-05-15 Michael Koch <konqueror@gmx.de>
4291 * javax/print/attribute/standard/ColorSupported.java,
4292 javax/print/attribute/standard/Compression.java,
4293 javax/print/attribute/standard/CopiesSupported.java,
4294 javax/print/attribute/standard/Fidelity.java,
4295 javax/print/attribute/standard/Finishings.java,
4296 javax/print/attribute/standard/JobImpressionsSupported.java,
4297 javax/print/attribute/standard/JobKOctetsSupported.java,
4298 javax/print/attribute/standard/JobMediaSheetsSupported.java,
4299 javax/print/attribute/standard/JobSheets.java,
4300 javax/print/attribute/standard/JobState.java,
4301 javax/print/attribute/standard/JobStateReason.java,
4302 javax/print/attribute/standard/JobStateReasons.java,
4303 javax/print/attribute/standard/Media.java,
4304 javax/print/attribute/standard/MediaSizeName.java,
4305 javax/print/attribute/standard/MultipleDocumentHandling.java,
4306 javax/print/attribute/standard/NumberUpSupported.java,
4307 javax/print/attribute/standard/OrientationRequested.java,
4308 javax/print/attribute/standard/PDLOverrideSupported.java,
4309 javax/print/attribute/standard/PageRanges.java,
4310 javax/print/attribute/standard/PresentationDirection.java,
4311 javax/print/attribute/standard/PrintQuality.java,
4312 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
4313 javax/print/attribute/standard/PrinterMoreInfo.java,
4314 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
4315 javax/print/attribute/standard/PrinterResolution.java,
4316 javax/print/attribute/standard/PrinterState.java,
4317 javax/print/attribute/standard/PrinterStateReason.java,
4318 javax/print/attribute/standard/PrinterStateReasons.java,
4319 javax/print/attribute/standard/PrinterURI.java,
4320 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
4321 javax/print/attribute/standard/Severity.java,
4322 javax/print/attribute/standard/SheetCollate.java,
4323 javax/print/attribute/standard/Sides.java: New files.
4325 2004-05-15 Michael Koch <konqueror@gmx.de>
4327 * javax/print/Doc.java
4328 (getPrintData): Throws IOException.
4329 (getReaderForText): Likewise.
4330 (getStreamForBytes): Likewise.
4331 * javax/print/DocFlavor.java:
4332 Fixed filename in copyright.
4333 (serialVersionUID): New field.
4334 * javax/print/ServiceUIFactory.java:
4335 Made all constants final.
4336 * javax/print/AttributeException.java
4337 javax/print/MultiDoc.java
4338 javax/print/MultiDocPrintJob.java
4339 javax/print/MultiDocPrintService.java
4340 javax/print/StreamPrintService.java
4341 javax/print/URIException.java: New files.
4342 * javax/print/Makefile.am
4343 (EXTRA_DIST): Added all new files.
4345 2004-05-15 Michael Koch <konqueror@gmx.de>
4347 * javax/print/attribute/standard/Copies.java,
4348 javax/print/attribute/standard/DateTimeAtCompleted.java,
4349 javax/print/attribute/standard/DateTimeAtCreation.java,
4350 javax/print/attribute/standard/DateTimeAtProcessing.java,
4351 javax/print/attribute/standard/DocumentName.java,
4352 javax/print/attribute/standard/JobHoldUntil.java,
4353 javax/print/attribute/standard/JobImpressions.java,
4354 javax/print/attribute/standard/JobImpressionsCompleted.java,
4355 javax/print/attribute/standard/JobKOctets.java,
4356 javax/print/attribute/standard/JobKOctetsProcessed.java,
4357 javax/print/attribute/standard/JobMediaSheets.java,
4358 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
4359 javax/print/attribute/standard/JobMessageFromOperator.java,
4360 javax/print/attribute/standard/JobName.java,
4361 javax/print/attribute/standard/JobOriginatingUserName.java,
4362 javax/print/attribute/standard/JobPriority.java,
4363 javax/print/attribute/standard/JobPrioritySupported.java,
4364 javax/print/attribute/standard/NumberOfDocuments.java,
4365 javax/print/attribute/standard/NumberOfInterveningJobs.java,
4366 javax/print/attribute/standard/NumberUp.java,
4367 javax/print/attribute/standard/OutputDeviceAssigned.java,
4368 javax/print/attribute/standard/PagesPerMinute.java,
4369 javax/print/attribute/standard/PagesPerMinuteColor.java:
4370 Fixed @return tag all over.
4372 2004-05-15 Michael Koch <konqueror@gmx.de>
4374 * javax/print/attribute/AttributeSetUtilities.java
4375 (verifyCategoryForValue): Fixed typo in javadoc.
4376 * javax/print/attribute/HashAttributeSet.java
4377 (containsKey): Fixed @return tag.
4378 (comtainsValue): Likewise.
4380 * javax/print/attribute/IntegerSyntax.java
4382 * javax/print/attribute/ResolutionSyntax.java
4384 (getCrossFeedResolution): Removed unused code.
4385 (getFeedResolution): Likewise.
4386 * javax/print/attribute/SetOfIntegerSyntax.java
4387 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
4388 (equals): Fixed @return tag.
4389 * javax/print/attribute/TextSyntax.java
4390 (TextSyntax): Take locale into account.
4391 (hashCode): Better implementation.
4393 2004-05-15 Michael Koch <konqueror@gmx.de>
4395 * javax/print/CancelablePrintJob.java,
4396 javax/print/Doc.java,
4397 javax/print/DocFlavor.java,
4398 javax/print/DocPrintJob.java,
4399 javax/print/FlavorException.java,
4400 javax/print/PrintException.java,
4401 javax/print/PrintService.java,
4402 javax/print/ServiceUIFactory.java: New files.
4404 2004-05-15 Mark Wielaard <mark@klomp.org>
4406 * gnu/regexp/CharIndexedReader.java: Removed.
4407 * gnu/regexp/REFilterReader.java: Likewise.
4408 * gnu/regexp/RETokenLookAhead.java: Likewise.
4409 * Makefile.am (ordinary_java_source_files): Remove above classes.
4410 * Makefile.in: Regenerated.
4412 2004-05-14 Tom Tromey <tromey@redhat.com>
4414 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
4415 not `XGraphicsConfiguration.XOffScreenImage'.
4417 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
4419 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
4421 2004-05-14 Steven Augart <augart@watson.ibm.com>
4423 * include/jni.h (_Jv_func): Removed.
4424 (struct JNINativeInterface): Use `void *' for reserved slots.
4425 (struct JNIInvokeInterface): Likewise.
4427 2004-05-11 Michael Koch <konqueror@gmx.de>
4429 * gnu/java/net/natPlainSocketImplPosix.cc
4430 (read): Fixed typo in expression.
4432 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
4434 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
4435 ld_library_additions. Adjust all calls to libjava_invoke to match
4438 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
4439 path to cxxflagslist.
4440 Pass path of libstdc++ to libjava_invoke.
4442 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
4443 libjava_invoke arguments.
4445 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
4447 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
4450 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
4452 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
4453 main binary against the JNI shared library.
4455 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
4457 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
4458 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
4459 (SimpleTimeZone): Tweak docs. Add new variation.
4460 (setStartRule,setEndRule): Add new variations. Use
4461 startTimeMode and endTimeMode.
4463 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
4465 * java/util/Calendar.java (getActualMinimum,
4466 getActualMaximum): Remove abstract. Implement.
4468 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
4470 Run the jni tests using the interpreter.
4471 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
4472 options_cxx to shared lib compile command.
4473 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
4474 they are used to link the shared lib, not the main binary.
4475 Use libjava_invoke to run gij.
4477 2004-05-06 Michael Koch <konqueror@gmx.de>
4479 * java/util/logging/Level.java
4480 (parse): Use == instead of String.equals().
4482 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
4484 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
4485 verify_field_signature and verify_method_signature, not
4486 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
4487 (_Jv_ClassReader::handleField): Likewise.
4488 (_Jv_ClassReader::handleMethod): Likewise.
4490 2004-05-06 Michael Koch <konqueror@gmx.de>
4492 * javax/swing/table/TableColumn.java:
4495 2004-05-06 Michael Koch <konqueror@gmx.de>
4497 * javax/imageio/spi/ImageReaderWriterSpi.java
4498 (ImageReaderWriterSpi): Made it public.
4499 * javax/imageio/stream/ImageInputStream.java:
4502 2004-05-06 Michael Koch <konqueror@gmx.de>
4504 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4507 2004-05-06 Michael Koch <konqueror@gmx.de>
4509 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
4510 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
4512 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
4513 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
4514 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
4515 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
4516 their own source file.
4517 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4518 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
4519 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
4520 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
4521 (create): Define variable on top of function.
4522 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
4523 (menu_pos): Prototyped.
4524 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4525 (setTitle): Removed.
4526 * jni/gtk-peer/gthread-jni.c
4527 (gdk_threads_wake): Removed.
4528 * Makefile.am (gtk_c_source_files): Added new files
4529 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
4530 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
4531 * Makefile.in: Regenerated.
4533 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
4535 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
4538 2004-05-05 Mark Wielaard <mark@klomp.org>
4540 * javax/swing/AbstractButton.java: Replace special HTML entities with
4542 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
4543 * javax/swing/DefaultButtonModel.java: Likewise.
4544 * javax/swing/DefaultListModel.java: Likewise.
4545 * javax/swing/JList.java: Likewise.
4546 * javax/swing/JSlider.java: Likewise.
4547 * javax/swing/ListModel.java: Likewise.
4548 * javax/swing/Popup.java: Likewise.
4549 * javax/swing/SwingUtilities.java: Likewise.
4551 2004-05-05 Michael Koch <konqueror@gmx.de>
4553 * javax/swing/AbstractButton.java,
4554 javax/swing/ActionMap.java,
4555 javax/swing/DefaultButtonModel.java,
4556 javax/swing/DefaultListModel.java,
4557 javax/swing/ImageIcon.java,
4558 javax/swing/JComboBox.java,
4559 javax/swing/JComponent.java,
4560 javax/swing/JFrame.java,
4561 javax/swing/JInternalFrame.java,
4562 javax/swing/JMenuBar.java,
4563 javax/swing/JMenuItem.java,
4564 javax/swing/JOptionPane.java,
4565 javax/swing/JProgressBar.java,
4566 javax/swing/JRootPane.java,
4567 javax/swing/JScrollBar.java,
4568 javax/swing/JScrollPane.java,
4569 javax/swing/JSeparator.java,
4570 javax/swing/JSlider.java,
4571 javax/swing/JTabbedPane.java,
4572 javax/swing/JTable.java,
4573 javax/swing/JTextField.java,
4574 javax/swing/JToolBar.java,
4575 javax/swing/JToolTip.java,
4576 javax/swing/JTree.java,
4577 javax/swing/JViewport.java,
4578 javax/swing/JWindow.java,
4579 javax/swing/KeyStroke.java,
4580 javax/swing/LookAndFeel.java,
4581 javax/swing/SwingUtilities.java,
4582 javax/swing/Timer.java,
4583 javax/swing/ToolTipManager.java,
4584 javax/swing/UIDefaults.java,
4585 javax/swing/border/TitledBorder.java,
4586 javax/swing/filechooser/FileSystemView.java,
4587 javax/swing/plaf/basic/BasicButtonListener.java,
4588 javax/swing/plaf/basic/BasicButtonUI.java,
4589 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4590 javax/swing/plaf/basic/BasicGraphicsUtils.java,
4591 javax/swing/plaf/basic/BasicLabelUI.java,
4592 javax/swing/plaf/basic/BasicMenuItemUI.java,
4593 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4594 javax/swing/plaf/basic/BasicRootPaneUI.java,
4595 javax/swing/plaf/basic/BasicScrollBarUI.java,
4596 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4597 javax/swing/plaf/basic/BasicSliderUI.java,
4598 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4599 javax/swing/plaf/basic/BasicToggleButtonUI.java,
4600 javax/swing/table/JTableHeader.java,
4601 javax/swing/text/AbstractDocument.java,
4602 javax/swing/text/DefaultCaret.java,
4603 javax/swing/text/StyledEditorKit.java,
4604 javax/swing/tree/DefaultTreeCellEditor.java:
4607 2004-05-05 Michael Koch <konqueror@gmx.de>
4609 * java/util/prefs/AbstractPreferences.java
4610 (AbstractPreferences): Added parenthesis for clarity.
4611 Closes classpath bug #7940.
4613 2004-05-05 Tom Tromey <tromey@redhat.com>
4615 * javax/naming/CompoundName.java (endsWith): Look at correct
4616 element of source name.
4618 2004-05-05 Mark Wielaard <mark@klomp.org>
4620 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
4621 * java/util/HashMap.java (rehash): Add entry at start of bucket.
4623 2004-05-05 Tom Tromey <tromey@redhat.com>
4625 * java/io/BufferedReader.java (skip): Removed unused
4628 2004-05-05 Michael Koch <konqueror@gmx.de>
4630 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
4632 2004-05-05 Dalibor Topic <robilad@kaffe.org>
4634 * java/text/AttributedString.java,
4635 java/text/AttributedStringIterator.java,
4636 java/text/Collator.java,
4637 java/text/DecimalFormatSymbols.java,
4638 java/text/NumberFormat.java,
4639 java/text/RuleBasedCollator.java:
4642 2004-05-05 Tom Tromey <tromey@redhat.com>
4644 * java/text/Format.java: Cleaned up imports.
4645 * java/text/DecimalFormat.java: Cleaned up imports.
4646 * java/security/SecureRandom.java: Cleaned up imports.
4647 (SecureRandom): Removed unused variable.
4648 * java/security/UnresolvedPermission.java: Cleaned up imports.
4649 * java/util/Date.java (parse): Removed unused variable.
4650 * java/util/ResourceBundle.java: Cleaned up imports.
4651 (getBundle): Removed unused variable.
4652 (tryBundle): Likewise.
4653 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
4655 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
4657 * java/text/SimpleDateFormat.java:
4658 (formatWithAttribute): New method. It implements
4659 the formatting process with attributes.
4660 (format): Use formatWithAttribute.
4661 (formatToCharacterIterator): New method. Use
4662 formatWithAttribute.
4664 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
4666 * java/text/MessageFormat.java:
4667 (class Field): New class.
4668 (formatToCharacterIterator): New method.
4669 (format): Use formatInternal now.
4670 (formatInternal): New method. String formatter should
4671 be done here (with attributes). Attributes merging supported.
4672 (parse): More documentation.
4673 (getFormatsByArgumentIndex): New method.
4674 (setFormatByArgumentIndex): New method.
4675 (setFormatsByArgumentIndex): New method.
4677 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
4679 * java/text/DecimalFormat.java
4680 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
4681 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
4682 (parse): Fixed handling of exponentiation notation and grouping.
4684 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
4686 * java/text/DecimalFormat.java
4687 (scanFix): Build attribute array. Fixed error reporting.
4688 (applyPatternWithSymbols): Store attributes for the prefix and
4690 (formatInternal): New method. Changed the way the string is
4691 computed. Implemented attributes. Cleant up rounding in
4692 exponential notation.
4693 (format): Use formatInternal.
4694 (formatToCharacterIterator): New method.
4695 (exponentRound, negativePrefixRanges, positivePrefixRanges,
4696 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
4697 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
4700 2004-05-04 Dalibor Topic <robilad@kaffe.org>
4702 * java/security/interfaces/DSAKeyPairGenerator.java,
4703 java/security/interfaces/DSAPrivateKey.java,
4704 java/security/interfaces/DSAPublicKey.java,
4705 java/security/interfaces/RSAPrivateKey.java,
4706 java/security/interfaces/RSAPublicKey.java:
4709 2004-05-04 Michael Koch <konqueror@gmx.de>
4711 * java/nio/ByteBuffer.java,
4712 java/nio/CharBuffer.java,
4713 java/nio/DoubleBuffer.java,
4714 java/nio/FloatBuffer.java,
4715 java/nio/IntBuffer.java,
4716 java/nio/LongBuffer.java,
4717 java/nio/ShortBuffer.java:
4718 (compareTo): Fixed bogus implementation in all buffer classes.
4720 2004-05-04 Ingo Proetel <proetel@aicas.com>
4722 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
4723 32 bit pixels not 8 bit pixels.
4724 (isCompatibleRaster): Added javadoc comment.
4726 2004-05-04 Ingo Proetel <proetel@aicas.com>
4728 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
4731 2004-05-04 Ingo Proetel <proetel@aicas.com>
4733 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
4734 (getColorModel): Return the actual color model.
4735 (getRaster): Implemented.
4736 (ColorRaster): New inner class.
4737 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
4739 * java/awt/Color.java (<init>): Make exception more verbose.
4740 (createContext): Use ColorModel when creating a PaintContext.
4742 2004-05-04 Michael Koch <konqueror@gmx.de>
4744 * gnu/java/text/CharacterBreakIterator.java
4745 (previous): Removed unused variable.
4747 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
4749 * gnu/java/text/FormatBuffer.java,
4750 gnu/java/text/AttributedFormatBuffer.java,
4751 gnu/java/text/StringFormatBuffer.java: New classes to implement
4752 attributed iterators in java.text.
4753 * gnu/java/text/FormatCharacterIterator.java: Moved
4754 from java/text as it is an internal class.
4755 * java/text/FormatCharacterIterator.java: Removed.
4756 * java/text/Format.java:
4757 Import gnu.java.text.FormatCharacterIterator.
4758 * Makefile.am (java_source_files): Added new files.
4759 * Makefile.in: Regenerated.
4762 2004-05-04 Mark Wielaard <mark@klomp.org>
4764 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
4766 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
4768 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
4769 * Makefile.in: Rebuilt.
4771 2004-05-03 Mark Wielaard <mark@klomp.org>
4773 * gnu/java/security/der/DERReader.java: Call static methods staticly.
4774 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
4776 (set(String, String, int, String, String, String, String, String)):
4777 Assign this.file to path or path + "?" + query.
4778 * java/util/Arrays.java: Call static methods staticly.
4779 * java/util/zip/ZipEntry.java: Likewise.
4780 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
4781 dir to this.direction.
4782 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
4783 Assign static field only once.
4784 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
4786 2004-05-03 Mark Wielaard <mark@klomp.org>
4788 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
4789 unused variables hScrollbarHeight and vScrollbarWidth.
4790 (preferredSize): Likewise.
4791 * gnu/java/security/provider/DSAParameters.java (engineToString):
4792 Removed unused call to System.getProperty("line.seperator");
4793 * java/security/Security.java (loadProviders): Return result.
4795 2004-05-03 Tom Tromey <tromey@redhat.com>
4797 * java/net/URLStreamHandler.java (toExternalForm): Removed
4800 * java/math/BigDecimal.java (divide): Removed unused variable.
4801 * java/lang/Throwable.java: Cleaned up imports.
4802 * java/lang/ClassLoader.java: Cleaned up imports.
4803 * java/io/FilePermission.java (implies): Removed unused
4805 * java/awt/TextComponent.java: Removed unused import.
4806 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
4807 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
4808 * gnu/java/text/WordBreakIterator.java: Removed unused import.
4809 * gnu/java/text/SentenceBreakIterator.java: Removed unused
4811 * gnu/java/text/LineBreakIterator.java: Removed unused import.
4812 * gnu/java/text/CharacterBreakIterator.java: Removed
4814 * gnu/java/security/provider/DSAKeyPairGenerator.java:
4816 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
4817 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
4819 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
4820 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
4821 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
4822 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
4823 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
4824 (lookupProviders): Removed unused variable.
4825 (loadNextServiceProvider): Likewise.
4826 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
4828 2004-05-03 Michael Koch <konqueror@gmx.de>
4830 Fixes PR libgcj/14695:
4831 * java/net/NetworkInterface.java
4832 (getByName): Return null when no interface was found.
4834 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
4835 Tom Tromey <tromey@redhat.com>
4837 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
4838 additional option "-Wmissing-prototypes" for compiling C sources.
4839 Print actual filename for pass/fail rather than $name.c.
4840 * testsuite/libjava.jni/PR15133.java: New testcase file.
4841 * testsuite/libjava.jni/PR15133.c: Likewise.
4842 * testsuite/libjava.jni/PR15133.out: Likewise.
4844 2004-04-30 Roger Sayle <roger@eyesopen.com>
4846 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
4849 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
4851 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
4852 limit the maximum heap size to avoid unnecessary thrashing.
4854 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
4856 * java/text/CollationElementIterator.java (reset): Reset
4857 lookahead variables.
4859 2004-04-23 Mark Wielaard <mark@klomp.org>
4861 * jni/classpath/jcl.c: Changed C++ comments into C comments.
4863 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4865 * java/sql/DriverManager.java:
4868 2004-04-23 Michael Koch <konqueror@gmx.de>
4871 (hashcode): Don't initialize with default value explicitely.
4872 (getContent): Removed redundant "final" keyword.
4873 (openStream): Likewise.
4874 (getURLStreamHandler): Fixed coding style.
4875 * java/net/URLConnection.java
4876 (defaultAllowUserInteraction): Don't initialize with default value
4878 (connected): Likewise.
4879 (doOutput): Likewise.
4880 (ifModifiedSince): Likewise.
4881 (dateformats_initialized): Likewise.
4882 (setURLStreamHander): Use StreamTokenizer where it belongs to.
4884 2004-04-23 Michael Koch <konqueror@gmx.de>
4886 * gnu/java/nio/channels/FileChannelImpl.java
4887 (SET, CUR): Unused, removed.
4888 (read): Implement here directly.
4889 (implRead): Removed.
4890 (write): Implement here directly.
4891 (implWrite): Removed.
4893 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4895 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
4896 javax/rmi/CORBA/Stub.java,
4897 javax/rmi/CORBA/Util.java,
4898 javax/rmi/CORBA/ValueHandler.java,
4899 javax/rmi/CORBA/ValueHandler.java,
4900 javax/rmi/PortableRemoteObject.java:
4903 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4905 * java/util/jar/JarFile.java,
4906 java/util/jar/JarInputStream.java,
4907 java/util/jar/JarOutputStream.java,
4908 java/util/jar/Manifest.java:
4911 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4913 * java/util/ArrayList.java,
4914 java/util/Calendar.java,
4915 java/util/Currency.java,
4916 java/util/HashMap.java,
4917 java/util/HashSet.java,
4918 java/util/Hashtable.java,
4919 java/util/LinkedList.java,
4920 java/util/Properties.java,
4921 java/util/PropertyPermission.java,
4922 java/util/TimeZone.java,
4923 java/util/TreeMap.java,
4924 java/util/TreeSet.java,
4925 java/util/Vector.java,
4926 java/util/WeakHashMap.java:
4929 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4931 * java/util/logging/FileHandler.java,
4932 java/util/logging/Formatter.java,
4933 java/util/logging/Handler.java,
4934 java/util/logging/Logger.java,
4935 java/util/logging/SimpleFormatter.java,
4936 java/util/logging/XMLFormatter.java:
4939 2004-04-22 Mark Wielaard <mark@klomp.org>
4941 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
4942 -Wno-long-long flags variable.
4943 (gtk_c_files): Use PEDANTIC_CFLAGS.
4944 * Makefile.in: Regenerated.
4946 2004-04-22 Mark Wielaard <mark@klomp.org>
4948 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4949 Changed C++ comments into C comments.
4950 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
4953 2004-04-22 Michael Koch <konqueror@gmx.de>
4955 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
4956 Merged copyright year with GNU classpath.
4958 2004-04-22 Dalibor Topic <robilad@kaffe.org>
4960 * javax/security/auth/x500/X500Principal.java:
4963 2004-04-22 Dalibor Topic <robilad@kaffe.org>
4965 * javax/swing/JSlider.java:
4966 Fixed HTML tags in comments.
4968 2004-04-22 Dalibor Topic <robilad@kaffe.org>
4970 * javax/accessibility/AccessibleText.java:
4973 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
4975 * java/net/URLStreamHandler.java
4976 (parseURL): Convert the file path to using '/' instead of native
4979 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
4982 (userInfo): New field.
4983 (URL): Set authority to the right value.
4984 (setURL): Fixed authority and file initialization.
4985 * java/net/URLStreamHandler.java
4986 (parseURL): Take care of the query tag. Build authority.
4987 (toExternalForm): Fixed URL building using authority.
4989 2004-04-22 Michael Koch <konqueror@gmx.de>
4991 * java/net/Socket.java
4992 (impl): Made package-private.
4993 * java/net/ServerSocket.java
4994 (implAccept): Access Socket.impl field directly.
4996 2004-04-22 Dalibor Topic <robilad@kaffe.org>
4998 * java/util/prefs/Preferences.java,
4999 java/util/prefs/InvalidPreferencesFormatException.java,
5000 java/util/prefs/BackingStoreException.java,
5001 java/util/prefs/AbstractPreferences.java:
5004 2004-04-22 Dalibor Topic <robilad@kaffe.org>
5006 * java/util/regex/Matcher.java,
5007 java/util/regex/Pattern.java:
5010 2004-04-22 Michael Koch <konqueror@gmx.de>
5012 * java/nio/charset/IllegalCharsetNameException.java
5013 (charsetName): Made private.
5014 (IllegalCharsetNameException): Added @param tag to javadoc.
5015 (getCharsetName): Added @return tag to javadoc.
5016 * java/nio/charset/MalformedInputException.java
5017 (MalformedInputException): Added @param tag to javadoc.
5018 (getInputLength): Revised method description, added @return tag.
5019 (getMessage): Added @return tag.
5021 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
5023 * java/awt/Font.java (deriveFont): Implement missing variants.
5024 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
5027 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
5029 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
5030 Set method->index values for interface methods to their itable index.
5031 (initializeClass): Call _Jv_LayoutInterfaceMethods.
5033 2004-04-21 Michael Koch <konqueror@gmx.de>
5035 * java/nio/DirectByteBufferImpl.java
5036 (shiftDown): Made static, give address as argument and
5037 provide a convenience method that overwrites shiftDown in
5038 ByteBufferImpl and calls the native shiftDown.
5039 * java/nio/MappedByteBufferImpl.java
5040 (): Use optimized method in DirectByteBufferImpl.
5041 * java/nio/natDirectByteBufferImpl.cc
5042 (shiftDown): Changed method signature. Removed usage of array_offset.
5044 2004-04-21 Michael Koch <konqueror@gmx.de>
5046 * gnu/java/net/natPlainSocketImplPosix.cc
5047 (SocketInputStream::read): Make sure returned data is a byte value.
5049 2004-04-21 Michael Koch <konqueror@gmx.de>
5051 * gnu/classpath/ServiceFactory.java,
5052 gnu/classpath/ServiceProviderLoadingAction.java,
5053 javax/imageio/ImageReader.java,
5054 javax/imageio/ImageTranscoder.java,
5055 javax/imageio/ImageWriter.java,
5056 javax/imageio/package.html,
5057 javax/imageio/spi/IIOServiceProvider.java,
5058 javax/imageio/spi/ImageInputStreamSpi.java,
5059 javax/imageio/spi/ImageOutputStreamSpi.java,
5060 javax/imageio/spi/ImageReaderWriterSpi.java,
5061 javax/imageio/spi/ImageTranscoderSpi.java,
5062 javax/imageio/spi/RegisterableService.java,
5063 javax/imageio/spi/ServiceRegistry.java,
5064 javax/imageio/spi/package.html,
5065 javax/imageio/stream/IIOByteBuffer.java,
5066 javax/imageio/stream/ImageInputStream.java,
5067 javax/imageio/stream/ImageOutputStream.java,
5068 javax/imageio/stream/package.html:
5071 (ordinary_java_source_files): Added
5072 gnu/classpath/ServiceFactory.java and
5073 gnu/classpath/ServiceProviderLoadingAction.java.
5074 (javax_source_files): Added
5075 javax/imageio/ImageReader.java,
5076 javax/imageio/ImageTranscoder.java,
5077 javax/imageio/ImageWriter.java,
5078 javax/imageio/spi/IIOServiceProvider.java,
5079 javax/imageio/spi/ImageInputStreamSpi.java,
5080 javax/imageio/spi/ImageOutputStreamSpi.java,
5081 javax/imageio/spi/ImageReaderWriterSpi.java,
5082 javax/imageio/spi/ImageTranscoderSpi.java,
5083 javax/imageio/spi/RegisterableService.java,
5084 javax/imageio/spi/ServiceRegistry.java,
5085 javax/imageio/stream/IIOByteBuffer.java,
5086 javax/imageio/stream/ImageInputStream.java and
5087 javax/imageio/stream/ImageOutputStream.java.
5088 * Makefile.in: Regenerated.
5090 2004-04-21 Michael Koch <konqueror@gmx.de>
5092 * java/util/Properties.java
5093 (load): Fix wrongly merged fix.
5095 2004-04-21 Mark Wielaard <mark@klomp.org>
5097 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
5098 malloc and free buf.
5100 2004-04-21 Dalibor Topic <robilad@kaffe.org>
5102 * javax/naming/AuthenticationException.java,
5103 javax/naming/AuthenticationNotSupportedException.java,
5104 javax/naming/CannotProceedException.java,
5105 javax/naming/CommunicationException.java,
5106 javax/naming/CompoundName.java,
5107 javax/naming/ConfigurationException.java,
5108 javax/naming/ContextNotEmptyException.java,
5109 javax/naming/InitialContext.java,
5110 javax/naming/InsufficientResourcesException.java,
5111 javax/naming/InterruptedNamingException.java,
5112 javax/naming/LimitExceededException.java,
5113 javax/naming/LinkException.java,
5114 javax/naming/LinkLoopException.java,
5115 javax/naming/LinkRef.java,
5116 javax/naming/MalformedLinkException.java,
5117 javax/naming/Name.java,
5118 javax/naming/NameAlreadyBoundException.java,
5119 javax/naming/NameNotFoundException.java,
5120 javax/naming/NamingSecurityException.java,
5121 javax/naming/NoInitialContextException.java,
5122 javax/naming/NoPermissionException.java,
5123 javax/naming/NotContextException.java,
5124 javax/naming/PartialResultException.java,
5125 javax/naming/ReferralException.java,
5126 javax/naming/ServiceUnavailableException.java,
5127 javax/naming/SizeLimitExceededException.java,
5128 javax/naming/TimeLimitExceededException.java,
5129 javax/naming/directory/Attribute.java,
5130 javax/naming/directory/Attributes.java,
5131 javax/naming/directory/SearchResult.java,
5132 javax/naming/event/NamingExceptionEvent.java,
5133 javax/naming/spi/ResolveResult.java:
5136 2004-04-21 Mark Wielaard <mark@klomp.org>
5138 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5139 Changed C++ comments into C comments. Removed commented out code.
5140 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5142 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5144 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5146 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5148 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5150 * native/jni/gtk-peer/gthread-jni.c:
5153 2004-04-21 Mark Wielaard <mark@klomp.org>
5155 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
5156 static fields defined in interface.
5157 * javax/awt/JDialog.java: Likewise.
5158 (JDialog): Make constructors public.
5159 (getDefaultCloseOperation): Make public.
5160 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
5161 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
5162 * javax/swing/JViewport.java (JViewport): Make constructor public.
5164 2004-04-21 Michael Koch <konqueror@gmx.de>
5166 * java/util/Map.java
5167 (Entry): Removed redundant "static" modifier.
5168 * java/text/AttributedCharacterIterator.java:
5169 Updated copyright year.
5171 2004-04-20 Michael Koch <konqueror@gmx.de>
5173 * javax/naming/directory/SearchControls.java:
5174 Don't explicitely extend java.lang.Object.
5175 * javax/naming/spi/DirStateFactory.java:
5176 Merged copyright year with GNU classpath.
5178 2004-04-20 Michael Koch <konqueror@gmx.de>
5180 * java/nio/channels/Channels.java:
5181 Merged coding style with GNU classpath.
5183 2004-04-20 Michael Koch <konqueror@gmx.de>
5185 * java/net/ServerSocket.java
5186 Merged coding style from GNU classpath.
5188 2004-04-20 Michael Koch <konqueror@gmx.de>
5190 * java/io/BufferedWriter.java:
5191 Reordered variables to be at top of the class.
5192 (localFlush): Removed redundant final keyword.
5194 2004-04-20 Ingo Proetel <proetel@aicas.com>
5196 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
5198 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
5200 * java/text/DecimalFormat.java (scanFix): Removed suffix check
5201 for percent and permill check.
5203 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
5205 * java/text/FieldPosition.java
5206 (FieldPosition) Constructor now behaves as it should according
5207 to the java documentation.
5209 2004-04-20 Mark Wielaard <mark@klomp.org>
5211 * java/util/Properties.java: Use the word umlaut, not ä in api
5214 2004-04-20 Michael Koch <konqueror@gmx.de>
5216 * java/nio/Buffer.java,
5217 java/nio/channels/AlreadyConnectedException.java,
5218 java/nio/channels/AsynchronousCloseException.java,
5219 java/nio/channels/ByteChannel.java,
5220 java/nio/channels/CancelledKeyException.java,
5221 java/nio/channels/Channel.java,
5222 java/nio/channels/Channels.java,
5223 java/nio/channels/ClosedByInterruptException.java,
5224 java/nio/channels/ClosedChannelException.java,
5225 java/nio/channels/ClosedSelectorException.java,
5226 java/nio/channels/ConnectionPendingException.java,
5227 java/nio/channels/DatagramChannel.java,
5228 java/nio/channels/FileChannel.java,
5229 java/nio/channels/FileLock.java,
5230 java/nio/channels/FileLockInterruptionException.java,
5231 java/nio/channels/GatheringByteChannel.java,
5232 java/nio/channels/IllegalBlockingModeException.java,
5233 java/nio/channels/IllegalSelectorException.java,
5234 java/nio/channels/InterruptibleChannel.java,
5235 java/nio/channels/NoConnectionPendingException.java,
5236 java/nio/channels/NonReadableChannelException.java,
5237 java/nio/channels/NonWritableChannelException.java,
5238 java/nio/channels/NotYetBoundException.java,
5239 java/nio/channels/NotYetConnectedException.java,
5240 java/nio/channels/OverlappingFileLockException.java,
5241 java/nio/channels/Pipe.java,
5242 java/nio/channels/ReadableByteChannel.java,
5243 java/nio/channels/ScatteringByteChannel.java,
5244 java/nio/channels/SelectableChannel.java,
5245 java/nio/channels/SelectionKey.java,
5246 java/nio/channels/Selector.java,
5247 java/nio/channels/ServerSocketChannel.java,
5248 java/nio/channels/SocketChannel.java,
5249 java/nio/channels/UnresolvedAddressException.java,
5250 java/nio/channels/UnsupportedAddressTypeException.java,
5251 java/nio/channels/WritableByteChannel.java,
5252 java/nio/channels/spi/AbstractInterruptibleChannel.java,
5253 java/nio/channels/spi/AbstractSelectableChannel.java,
5254 java/nio/channels/spi/AbstractSelectionKey.java,
5255 java/nio/channels/spi/AbstractSelector.java,
5256 java/nio/channels/spi/SelectorProvider.java,
5257 java/nio/charset/spi/CharsetProvider.java:
5258 Fixed javadocs and jalopied all over java.nio.
5260 2004-04-20 Michael Koch <konqueror@gmx.de>
5262 * java/nio/ByteBufferImpl.java,
5263 java/nio/CharBufferImpl.java,
5264 java/nio/DirectByteBufferImpl.java,
5265 java/nio/DoubleBufferImpl.java,
5266 java/nio/DoubleViewBufferImpl.java,
5267 java/nio/FloatBufferImpl.java,
5268 java/nio/FloatViewBufferImpl.java,
5269 java/nio/IntBufferImpl.java,
5270 java/nio/IntViewBufferImpl.java,
5271 java/nio/LongBufferImpl.java,
5272 java/nio/LongViewBufferImpl.java,
5273 java/nio/MappedByteBufferImpl.java,
5274 java/nio/ShortBufferImpl.java,
5275 java/nio/ShortViewBufferImpl.java:
5276 Made sure all classes are final and removed final keyword from all
5279 2004-04-20 Michael Koch <konqueror@gmx.de>
5281 * java/rmi/MarshalledObject.java,
5282 java/rmi/Naming.java,
5283 java/rmi/RemoteException.java,
5284 java/rmi/activation/ActivationException.java,
5285 java/rmi/server/ServerCloneException.java,
5286 java/security/AccessController.java,
5287 java/security/AlgorithmParameterGenerator.java,
5288 java/security/AlgorithmParameters.java,
5289 java/security/CodeSource.java,
5290 java/security/Identity.java,
5291 java/security/IdentityScope.java,
5292 java/security/KeyPairGenerator.java,
5293 java/security/KeyStore.java,
5294 java/security/Security.java,
5295 java/security/Signature.java,
5296 java/security/SignatureSpi.java,
5297 java/security/SignedObject.java,
5298 java/security/spec/DSAParameterSpec.java,
5299 java/security/spec/DSAPrivateKeySpec.java,
5300 java/security/spec/DSAPublicKeySpec.java,
5301 java/sql/Array.java,
5302 java/sql/DatabaseMetaData.java,
5303 java/sql/ResultSet.java,
5304 java/text/ChoiceFormat.java,
5305 java/text/CollationElementIterator.java,
5306 java/text/CollationKey.java,
5307 java/text/Collator.java,
5308 java/text/DateFormat.java,
5309 java/text/DateFormatSymbols.java,
5310 java/text/DecimalFormatSymbols.java,
5311 java/text/Format.java,
5312 java/text/ParsePosition.java,
5313 java/text/RuleBasedCollator.java,
5314 java/text/SimpleDateFormat.java,
5315 java/text/StringCharacterIterator.java,
5316 java/util/Collections.java,
5317 java/util/PropertyResourceBundle.java,
5318 java/util/ResourceBundle.java,
5319 java/util/StringTokenizer.java,
5320 java/util/jar/Attributes.java,
5321 java/util/logging/ConsoleHandler.java,
5322 java/util/logging/LogManager.java,
5323 java/util/logging/MemoryHandler.java,
5324 java/util/logging/SocketHandler.java,
5325 javax/naming/NamingException.java:
5326 Fixed javadoc, coding style and argument names all over.
5328 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
5330 * java/io/FileDescriptor.java: (FileDescriptor) Added public
5331 constructor. (valid) Added null check.
5333 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
5335 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
5336 * java/io/FileOutputStream.java
5337 (FileOutputStream) Reorganized constructors. Constructors now
5338 check whether the given path is directory.
5340 2004-04-20 Michael Koch <konqueror@gmx.de>
5342 * java/net/Authenticator.java,
5343 java/net/BindException.java,
5344 java/net/ConnectException.java,
5345 java/net/ContentHandler.java,
5346 java/net/ContentHandlerFactory.java,
5347 java/net/DatagramPacket.java,
5348 java/net/DatagramSocket.java,
5349 java/net/DatagramSocketImpl.java,
5350 java/net/DatagramSocketImplFactory.java,
5351 java/net/FileNameMap.java,
5352 java/net/HttpURLConnection.java,
5353 java/net/Inet4Address.java,
5354 java/net/Inet6Address.java,
5355 java/net/InetAddress.java,
5356 java/net/InetSocketAddress.java,
5357 java/net/JarURLConnection.java,
5358 java/net/MalformedURLException.java,
5359 java/net/MulticastSocket.java,
5360 java/net/NetPermission.java,
5361 java/net/NetworkInterface.java,
5362 java/net/NoRouteToHostException.java,
5363 java/net/PasswordAuthentication.java,
5364 java/net/PortUnreachableException.java,
5365 java/net/ProtocolException.java,
5366 java/net/ServerSocket.java,
5367 java/net/Socket.java,
5368 java/net/SocketAddress.java,
5369 java/net/SocketException.java,
5370 java/net/SocketImpl.java,
5371 java/net/SocketImplFactory.java,
5372 java/net/SocketOptions.java,
5373 java/net/SocketPermission.java,
5374 java/net/SocketTimeoutException.java,
5376 java/net/URISyntaxException.java,
5378 java/net/URLClassLoader.java,
5379 java/net/URLConnection.java,
5380 java/net/URLDecoder.java,
5381 java/net/URLEncoder.java,
5382 java/net/URLStreamHandler.java,
5383 java/net/URLStreamHandlerFactory.java,
5384 java/net/UnknownHostException.java,
5385 java/net/UnknownServiceException.java:
5386 Fixed javadocs, coding style and argument names all over.
5388 2004-04-20 Michael Koch <konqueror@gmx.de>
5390 * java/lang/Byte.java,
5391 java/lang/CharSequence.java,
5392 java/lang/ClassLoader.java,
5393 java/lang/Compiler.java,
5394 java/lang/Double.java,
5395 java/lang/Float.java,
5396 java/lang/Integer.java,
5397 java/lang/Long.java,
5398 java/lang/Math.java,
5399 java/lang/Number.java,
5400 java/lang/Package.java,
5401 java/lang/Runtime.java,
5402 java/lang/RuntimePermission.java,
5403 java/lang/SecurityManager.java,
5404 java/lang/Short.java,
5405 java/lang/StringBuffer.java,
5406 java/lang/System.java,
5407 java/lang/ThreadGroup.java,
5408 java/lang/Throwable.java,
5409 java/lang/reflect/InvocationHandler.java,
5410 java/lang/reflect/Proxy.java:
5411 Fixed javadocs, coding style and argument names all over.
5413 2004-04-20 Michael Koch <konqueror@gmx.de>
5415 * java/io/BufferedWriter.java,
5416 java/io/ByteArrayInputStream.java,
5417 java/io/CharArrayWriter.java,
5418 java/io/DataInput.java,
5419 java/io/DataInputStream.java,
5421 java/io/FilterInputStream.java,
5422 java/io/InputStream.java,
5423 java/io/InputStreamReader.java,
5424 java/io/ObjectInputStream.java,
5425 java/io/ObjectStreamClass.java,
5426 java/io/PipedInputStream.java,
5427 java/io/PipedReader.java,
5428 java/io/PushbackInputStream.java,
5429 java/io/PushbackReader.java,
5430 java/io/RandomAccessFile.java,
5431 java/io/SerializablePermission.java,
5432 java/io/StreamTokenizer.java,
5433 java/io/StringWriter.java,
5434 java/io/WriteAbortedException.java,
5435 java/io/Writer.java:
5436 Fixed javadocs all over, rename arguments to match javadocs,
5439 2004-04-20 Ingo Proetel <proetel@aicas.com>
5441 * java/awt/FontMetrics.java:
5442 (charsWidth): fixed accumulation of total_width
5443 (getWidth): simple default implementation
5444 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
5445 in Rectangle constructor.
5446 * java/awt/image/Raster.java (toString): Added method.
5447 * java/awt/image/SampleModel.java (<init>): Added error cause
5448 information to thrown exception.
5449 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
5451 (setDataElements): New method.
5452 (setPixels): New method.
5453 (toString): New method.
5455 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
5457 * java/awt/image/ComponentColorModel.java
5458 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
5459 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
5460 Mauve tests on this method. Improved documentation.
5462 2004-04-20 Michael Koch <konqueror@gmx.de>
5464 * javax/swing/JLayeredPane.java,
5465 javax/swing/plaf/BorderUIResource.java,
5466 javax/swing/plaf/ComponentUI.java,
5467 javax/swing/undo/CompoundEdit.java,
5468 javax/swing/undo/StateEdit.java:
5469 Fixed HTML tags in javadocs all over.
5471 2004-04-20 Michael Koch <konqueror@gmx.de>
5473 * javax/print/attribute/EnumSyntax.java
5474 (getOffset): Made protected.
5475 * javax/print/attribute/HashAttributeSet.java
5476 (HashAttributeSet): Likewise.
5477 * javax/print/attribute/ResolutionSyntax.java
5478 (getFeedResolution): Fixed typo in exception name.
5479 (getCrossFeedResolution): Likewise.
5480 * javax/print/attribute/SetOfIntegerSyntax.java
5481 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
5482 * javax/print/attribute/TextSyntax.java
5483 (TextSyntax): Handle locale correctly.
5484 (hashCode): Calc better hashcode value.
5485 (equals): Fixed @return tag.
5486 (toString): New method.
5488 2004-04-20 Michael Koch <konqueror@gmx.de>
5490 * gnu/java/nio/FileLockImpl.java
5491 (static): Removed, not needed anymore.
5492 * gnu/java/nio/channels/FileChannelImpl.java
5493 (FileChannelImpl): Made final.
5494 (mode): Made private.
5495 (READ, WRITE, APPEND): Made public.
5496 (EXCL, SYNC, DSYNC): Likewise.
5497 (static): Load native JNI library, when needed.
5498 (length): Unused, removed.
5499 (available): Made public.
5500 (implPosition): Throws IOException.
5502 (implTruncate): Likewise.
5506 2004-04-20 Michael Koch <konqueror@gmx.de>
5508 * java/awt/AWTPermission.java,
5509 java/awt/Component.java,
5510 java/awt/ComponentOrientation.java,,
5511 java/awt/Dialog.java,
5512 java/awt/FontMetrics.java,
5513 java/awt/Graphics.java,
5514 java/awt/datatransfer/DataFlavor.java,
5515 java/beans/Introspector.java,
5516 java/beans/PropertyEditor.java,
5517 java/beans/PropertyEditorManager.java,
5518 java/beans/beancontext/BeanContextServiceProvider.java:
5519 Fixed HTML tags in javadocs all over.
5521 2004-04-20 Mark Wielaard <mark@klomp.org>
5523 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
5524 MissingResourceException is thrown.
5525 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
5526 null when a MissingResourceException is thrown. Should never happen.
5528 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
5530 * java/awt/image/DataBufferShort.java,
5531 java/awt/image/DataBufferFloat.java,
5532 java/awt/image/DataBufferDouble.java,
5533 java/awt/image/PixelInterleavedSampleModel.java: New files.
5534 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
5535 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
5537 2004-04-20 Michael Koch <konqueror@gmx.de>
5539 * Makefile.am (java_source_files): Added
5540 java/awt/image/DataBufferDouble.java,
5541 java/awt/image/DataBufferFloat.java,
5542 java/awt/image/DataBufferShort.java and
5543 java/awt/image/PixelInterleavedSampleModel.java.
5544 * Makefile.in: Regenerated.
5546 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
5548 * gcj/cni.h (JvAllocObject): Remove these obsolete,
5549 undocumented CNI calls.
5550 * include/java-interp.h (_Jv_InterpClass): No longer
5551 extends java.lang.Class.
5552 * java/lang/Class.h (Class): Add new field `aux_info'.
5553 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
5554 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
5555 Use Class->aux_info instead.
5556 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
5557 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
5558 Use Class->aux_info instead.
5559 * java/io/natObjectInputStream.cc (allocateObject): Use
5561 * java/lang/natClass.cc (newInstance): Likewise.
5562 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
5563 * java/lang/natObject.cc (clone): Likewise.
5564 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
5565 * java/lang/natVMClassLoader.cc (defineClass): Don't use
5566 JvAllocObject. Allocate klass->aux_info here for interpreted
5569 2004-04-17 Mark Wielaard <mark@klomp.org>
5571 * javax/swing/JToggleButton.java (ToggleButtonModel):
5572 Make public static inner class.
5573 * javax/swing/JTabbedPane.java (setComponentAt):
5574 Call Page.setComponent().
5575 (SCROLL_TAB_LAYOUT): Make public, value is 1.
5576 (WRAP_TAB_LAYOUT): Make public, value is 0.
5577 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
5578 Make private static inner class.
5580 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
5582 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
5583 arguments to match new signature. Remove FIXME comments.
5585 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
5587 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
5589 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
5592 2004-04-02 Olga Rodimina <rodimina@redhat.com>
5594 * Makefile.am: Added new file.
5595 * Makefile.in: Regenerate.
5596 * javax/swing/ImageIcon.java:
5597 (ImageIcon(file)): set description of the icon
5599 * javax/swing/JCheckBoxMenuItem.java:
5600 Mostly Implemented. Work in progress.
5601 * javax/swing/JRadioButtonMenuItem.java:
5602 Reimplement constructors to use JToggleButtonModel.
5603 * javax/swing/plaf/basic/BasicIconFactory.java:
5604 (getCheckBoxMenuItemIcon): return check box
5606 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5607 paint menu item selected only when it is armed and
5610 2004-04-02 David Jee <djee@redhat.com>
5612 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5613 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
5614 * java/awt/Component.java
5615 (add): Set the parent of the popup as this component.
5616 * java/awt/PopupMenu.java
5617 (addNotify): Create popup menu when peer is null.
5618 (show): Call addNotify() if peer is null.
5619 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5620 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
5621 argument for gtk_menu_popup() as zero. This causes the popup menu to
5622 respond to any mouse button.
5624 2004-03-31 Olga Rodimina <rodimina@redhat.com>
5626 * Makefile.am: Added new file.
5627 * Makefile.in: Regenerate.
5628 * javax/swing/JRadioButtonMenuItem.java:
5630 * javax/swing/plaf/basic/BasicIconFactory.java:
5631 (getRadioButtonMenuItemIcon): Return
5633 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5634 (getPreferredSize): Add size of checkIcon if it
5636 (installDefaults): Don't initialize checkIcon.
5637 It's value will be set in subclasses.
5638 (uninstallDefaults): remove uninstallation of
5640 (paint): Moved code to paintMenuItem().
5641 (paintMenuItem): Implemented.
5642 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
5643 UI delegate for JRadioButtonMenuItem.
5645 2004-03-29 Olga Rodimina <rodimina@redhat.com>
5647 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5648 Corrected position of the accelerator.
5650 2004-03-29 Olga Rodimina <rodimina@redhat.com>
5652 * Makefile.am: Added new file.
5653 * Makefile.in: Regenerate.
5654 * javax/swing/JMenuItem.java: Partly
5655 implemented. Work in progress
5656 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5657 Changed default value of acceleratorDelimiter.
5658 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5659 New class. Partly implemented.
5661 2004-03-26 Mark Wielaard <mark@klomp.org>
5663 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5664 (item_activate): Declare label before use.
5665 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5666 (gtkSetFont): Removed unused variable label.
5667 (addExposeFilter): Declare variables before use.
5668 (removeExposeFilter): Likewise.
5669 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5670 (ok_clicked): Declare str_fileName before use.
5672 2004-03-26 David Jee <djee@redhat.com>
5674 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
5675 (addSeparator): Remove.
5676 * java/awt/Menu.java
5677 (separator): Remove static final MenuItem field.
5678 (separatorLabel): New static final String field.
5679 (addSeparator): Do not use peer method; use add(MenuItem) instead.
5680 Use separatorLabel to denote that it is a separator.
5681 (insertSeparator): Create a new MenuItem with separatorLabel, instead
5682 of reusing the static separator instance, because a MenuItem instance
5683 can't be added more than once without being cloned.
5684 * java/awt/peer/MenuPeer.java
5685 (addSeparator): Remove from interface.
5687 2004-03-26 David Jee <djee@redhat.com>
5689 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5690 (connectSignals): New native method declaration.
5691 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
5692 * java/awt/MenuItem.java
5693 (getActionCommand): Return the label if the action command is not set.
5694 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
5695 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
5696 gtk_menu_shell_append().
5697 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
5698 (item_activate): Fix argument type.
5699 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
5701 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
5703 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
5704 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
5705 given. Add the menu widget's top-level GtkWindow to the global window
5706 group, so it can grab the pointer.
5707 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
5708 gtk_menu_shell_append().
5710 2004-03-23 Graydon Hoare <graydon@redhat.com>
5712 * java/text/AttributedString.java
5713 (addAttribute): Fix off-by-one.
5714 (getIterator): Likewise.
5715 * java/text/AttributedStringIterator.java
5716 (getRunLimit): Correct logic.
5717 (getRunStart): Likewise.
5718 (getAttribute): Fix inequality.
5719 (getAttributes): Likewise.
5720 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
5722 2004-03-23 Kim Ho <kho@redhat.com>
5724 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
5725 (calculateSizes): Return real width and height.
5727 2004-03-23 Kim Ho <kho@redhat.com>
5729 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5730 (calculateTabRects): Set the selectedRun before
5731 trying to rotate tabs.
5733 2004-03-23 Kim Ho <kho@redhat.com>
5735 * Makefile.am: New file
5736 * Makefile.in: Regenerate
5737 * java/awt/Graphics.java: (drawRect):
5738 Draw to the correct point.
5739 * javax/swing/DefaultSingleSelectionModel.java
5740 (isSelected): Return true if the selected index
5742 * javax/swing/JLabel.java: Do not change mnemonic
5743 index if text is null.
5744 * javax/swing/JProgressBar.java: Use JComponent's
5746 * javax/swing/JScrollBar.java: Ditto.
5747 * javax/swing/JSlider.java: Ditto.
5748 * javax/swing/JTabbedPane.java: Reimplement.
5749 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5750 Add defaults for TabbedPane.
5751 * javax/swing/plaf/basic/BasicArrowButton.java:
5753 * javax/swing/plaf/basic/BasicProgressBarUI.java:
5754 (paintDeterminate): Don't paint String if it's
5756 (paintIndeterminate): ditto.
5757 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
5760 2004-03-19 Michael Koch <konqueror@gmx.de>
5762 * java/awt/image/AffineTransformOp.java
5763 (AffineTransformOp): Made public.
5764 * javax/swing/JComponent.java
5765 (listenerList): Made protected.
5766 (accessibleContext): Likewise.
5767 * javax/swing/JList.java
5768 (valueChanged): Dont use internal fields of ListSelectionEvent.
5769 * javax/swing/JViewport.java
5770 (getView): Dont use internal fields of Component.
5771 (addImpl): Likewise.
5772 * javax/swing/Timer.java
5773 (isRunning): Made public.
5776 * javax/swing/UIDefaults.java
5777 (getInt): Made public.
5778 * javax/swing/plaf/basic/BasicListUI.java
5779 (mousePressed): Dont use internal fields of MouseEvent.
5780 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
5781 * javax/swing/plaf/basic/BasicScrollBarUI.java
5782 (arrowIcon): Made static.
5783 * javax/swing/plaf/basic/BasicViewportUI.java
5784 (stateChanged): Dont use internal field on ChangeEvent.
5785 * javax/swing/text/JTextComponent.java
5786 (getUI): Call UIManager.getUI().
5787 (updateUI): Use getUI().
5789 2004-03-19 Graydon Hoare <graydon@redhat.com>
5791 * javax/swing/JComponent.java: Turn off double buffer by default.
5792 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
5793 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5794 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
5795 Use cairo to copy areas.
5796 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
5797 Initialize and set clip region.
5799 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5801 * java/applet/Applet.java (preferredSize): Override deprecated
5802 variant of getPreferredSize.
5803 (minimumSize): Override deprecated variant of getMinimumSize.
5805 2004-03-15 Olga Rodimina <rodimina@redhat.com>
5807 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5808 (drawImage(img,xform,bgcolor,obs)): New Method.
5809 Helper function that every drawImage method will
5811 (drawRaster): Added new parameter, bgcolor. All
5812 transparent pixels are changed to bgcolor before
5814 (drawRenderedImage): Fixed to use changed drawRaster().
5815 (drawImage(image,xform,obs): Fixed to use new helper function
5816 (drawImage(image,op,x,y)): Ditto.
5817 (drawImage (img,x,y,observer)): Ditto.
5818 ((PainterThread) bgcolor): New Field.
5819 ((PainterThread) (setPixels)): Changed all transparent pixels
5821 (drawImage(img,x,y,width,height,bgcolor,observer)):
5822 Fixed FIXME - all the transparent pixels are
5823 changed to the specified bgcolor.
5824 (drawImage(img, x, y, width, height, observer): Changed to
5826 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
5827 Fixed FIXME- changed all transparent pixels to bgcolor.
5828 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
5829 Changed to use function above.
5831 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5833 * java/applet/Applet.java (dimensions): New field.
5834 (getDimensions): New method.
5835 (getPreferredSize): Call getDimensions.
5836 (getMinimumSize): Likewise.
5838 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
5840 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
5841 * jni/classpath/jnilink.c: Likewise.
5843 * java/applet/Applet.java (getPreferredSize): New method.
5844 (getMinimumSize): New method.
5846 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
5848 * prims.cc (_Jv_AllocObject): Remove `size' argument.
5849 (_Jv_AllocObjectNoFinalizer): Likewise.
5850 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
5851 (_Jv_AllocPtrFreeObject): Likewise.
5852 (_Jv_AllocString): Moved from natString.cc. Call collector interface
5853 directly even in the JVMPI case.
5854 * gcj/cni.h (JvAllocObject): Remove `size' argument from
5855 _Jv_AllocObject calls.
5856 * gcj/javaprims.h: Update prototypes.
5857 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
5858 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
5859 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
5861 2004-04-14 Andrew Haley <aph@redhat.com>
5862 Bryce McKinlay <mckinlay@redhat.com>
5864 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
5865 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
5866 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
5868 * testsuite/libjava.lang/InvokeInterface.java: New file.
5869 * testsuite/libjava.lang/InvokeInterface.out: New file.
5871 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
5873 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
5875 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
5876 StackTraceElement directly.
5877 (newElement): New native helper method to create StackTraceElement
5878 bypassing Java access control.
5879 (createStackTraceElement): Use newElement() instead of directly
5880 calling StackTraceElement's constructor.
5881 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
5883 2004-04-01 Michael Koch <konqueror@gmx.de>
5885 * java/lang/SecurityManager.java
5886 (checkAwtEventQueueAccess): Implemented.
5888 2004-04-01 Gary Benson <gbenson@redhat.com>
5890 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
5891 (_Jv_SearchMethodInClass): Likewise.
5893 2004-03-26 Peter Moon <peterm@miraculum.com>
5895 * java/text/NumberFormat.java: Fix spelling of setCurrency
5898 2004-03-21 Anthony Green <green@redhat.com>
5900 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
5901 recursion when searching for the system ClassLoader.
5903 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
5905 * java/net/ServerSocket.java
5906 (accept): Close the socket when error occured.
5908 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
5910 * java/net/URI.java (parseURI): Added unquoting.
5911 (unquote): New method.
5912 (quoteAuthority): Implemented.
5913 (quote(String,String)): New method.
5914 (quotePath): Implemented.
5915 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
5916 (getSchemeSpecificPart): Removed FIXME comment.
5917 (getRawAuthority): Return new rawAuthority field.
5918 (getAuthority): Removed FIXME comment.
5919 (getRawUserInfo): Return new rawUserInfo field.
5920 (getUserInfo): Removed FIXME comment.
5921 (getRawPath): Return new rawPath field.
5922 (getPath): Removed FIXME comment.
5923 (getRawQuery): Return new rawQuery field.
5924 (getQuery): Removed FIXME comment.
5925 (getRawFragment): Return new rawFragment field.
5926 (getFragment): Removed FIXME comment.
5928 2004-03-20 Michael Koch <konqueror@gmx.de>
5930 * java/net/URLConnection.java: Merged copyright year with classpath.
5932 2004-03-20 Norbert Frese <postfach@nfrese.net>
5934 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
5935 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
5936 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
5938 (getObjectInputStream): Return object reference, throw IOException if null.
5939 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
5940 (getObjectOutputStream): Return object reference, throw IOException if null.
5941 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
5942 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
5943 (UnicastConnectionManager): Throw RemoteException if port is not available.
5944 (getInstance): Throw RemoteException.
5945 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
5946 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
5947 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
5948 Collect Exceptions which are returned by a rmi-call and fix void returns.
5949 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
5950 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
5951 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
5952 (dispatch): Answer ping messages which are sent by other java implementions.
5953 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
5954 for every rmi-message and fix void return problems.
5955 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
5956 (UnicastServerRef): Throw RemoteException.
5957 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
5958 In some situations it is necessary to export a subclass of the class which has the _Stub.
5959 For instance when the class with has the _Stub is abstract.
5960 (findStubSkelClass): New method which looks for the class which has the _Stub.
5961 (getClientHost): Implementated.
5962 * gcc/libjava/java/rmi/server/RemoteServer.java
5963 (getClientHost): Implementated.
5964 * gcc/libjava/Makefile.am (rmi_java_source_files):
5965 Added gnu/java/rmi/server/RMIIncomingThread.java.
5966 * Makefile.in: Regenerated.
5968 2004-03-20 Michael Koch <konqueror@gmx.de>
5970 * java/net/InetAddress.java
5971 (getLocalHostname): Added javadoc.
5973 2004-03-19 Per Bothner <per@bothner.com>
5975 * configure.in: FILE variable overrides FLATFORM when linking
5976 natFileChannelXXX.cc.
5978 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
5979 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
5981 2004-03-19 Per Bothner <per@bothner.com>
5983 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
5984 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
5985 * Makefile.am: Update accordingly.
5986 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
5987 as aliases for UnicodeLittle and UnicodeBig.
5989 2004-03-20 Mark Wielaard <mark@klomp.org>
5991 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5992 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
5993 Don't access ws when it is null.
5994 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
5997 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
5999 * java/lang/ThreadGroup.java (list): Changed print to println.
6001 2004-03-19 Mark Wielaard <mark@klomp.org>
6003 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
6006 2004-02-10 Randolph Chung <tausq@debian.org>
6008 * configure.in: Build java for hppa target.
6009 * configure: Regenerate.
6010 * libjava/configure.host (hppa-*): Add target.
6011 * libjava/sysdeps/pa/lock.h: New file.
6013 2004-03-19 Mark Wielaard <mark@klomp.org>
6015 Reported by Stephen Crawley
6016 * java/io/FilePermission.java (implies): Use String.length() -1 to
6017 access last char of String.
6019 2004-03-19 Michael Koch <konqueror@gmx.de>
6021 * java/awt/image/AffineTransformOp.java
6022 (AffineTransformOp): Made public.
6023 * javax/swing/JComponent.java
6024 (listenerList): Made protected.
6025 (accessibleContext): Likewise.
6026 * javax/swing/JList.java
6027 (valueChanged): Dont use internal fields of ListSelectionEvent.
6028 * javax/swing/JViewport.java
6029 (getView): Dont use internal fields of Component.
6030 (addImpl): Likewise.
6031 * javax/swing/Timer.java
6032 (isRunning): Made public.
6035 * javax/swing/UIDefaults.java
6036 (getInt): Made public.
6037 * javax/swing/plaf/basic/BasicListUI.java
6038 (mousePressed): Dont use internal fields of MouseEvent.
6039 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
6040 * javax/swing/plaf/basic/BasicScrollBarUI.java
6041 (arrowIcon): Made static.
6042 * javax/swing/plaf/basic/BasicViewportUI.java
6043 (stateChanged): Dont use internal field on ChangeEvent.
6044 * javax/swing/text/JTextComponent.java
6045 (getUI): Call UIManager.getUI().
6046 (updateUI): Use getUI().
6048 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6050 * verify.cc: Undef PC.
6052 2004-03-18 Michael Koch <konqueror@gmx.de>
6054 * java/nio/channels/spi/AbstractSelectableChannel.java
6055 (keys): Initialize at declaration.
6056 (locate): keys cant be null.
6058 (addSelectionKey): New method.
6059 (removeSelectionKey): New method.
6060 * java/nio/channels/spi/AbstractSelectionKey.java
6061 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
6062 * java/nio/channels/spi/AbstractSelector.java
6063 (provider): Javadoc added.
6064 (cancelledKeys): Javadoc added.
6065 (cancelKey): Javadoc added, add key to cancelledKeys.
6066 (deregister): Implemented.
6068 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6070 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
6071 MAP_FAILED to void *.
6073 2004-03-12 Graydon Hoare <graydon@redhat.com>
6075 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
6076 * javax/swing/JComponent.java (paint): Use persistent double buffer.
6077 * javax/swing/JList.java (ListListener): Revalidate on changes.
6078 * javax/swing/JScrollPane.java: Reimplement.
6079 * javax/swing/JViewport.java: Reimplement.
6080 * javax/swing/ScrollPaneLayout.java: Reimplement.
6081 * javax/swing/ViewportLayout.java: Tidy up.
6082 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
6083 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
6084 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
6085 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
6088 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
6090 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6091 (window_wm_protocols_filter): New function.
6092 (window_focus_in_cb): Remove function.
6093 (window_focus_out_cb): Likewise.
6094 (window_focus_or_active_state_change_cb): New function.
6095 (create): Add filter that removes WM_TAKE_FOCUS client messages.
6096 (connectSignals): Don't attach handlers to focus-in-event or
6097 focus-out-event signals. Handle notify signal.
6099 2004-03-11 David Jee <djee@redhat.com>
6101 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
6102 (gtkSetLabel): New native method declaration.
6103 (setLabel): Use gtkSetLabel.
6104 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
6105 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
6107 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6109 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
6110 black when color argument is null.
6112 2004-03-10 Kim Ho <kho@redhat.com>
6114 * java/awt/Container.java: Remove check
6117 2004-03-10 Kim Ho <kho@redhat.com>
6119 * java/awt/Container.java: (visitChild):
6120 Remove candidate clip. Use the component
6122 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6123 (handleEvent): Use the PaintEvent's clip.
6125 2004-03-10 Kim Ho <kho@redhat.com>
6127 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6128 (handleEvent): Don't set the clip for the
6131 2004-03-09 Graydon Hoare <graydon@redhat.com>
6133 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6134 Fix double <-> fixed macros, reset font transform.
6135 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
6138 2004-03-09Â Kim Ho <kho@redhat.com>
6140 * java/awt/Container.java: (visitChild): Move
6141 the x and y coordinate of the component rectangle
6142 to correct position.
6143 (handleEvent): Forward drag events to the pressed
6145 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6147 (ArrowButtonListener::mousePressed): Stop the
6149 (mouseDragged): Implement.
6150 (TrackListener::mousePressed): Only react if
6151 the press doesn't occur on the thumb, otherwise
6152 just set the offset.
6153 (TrackListener::mouseReleased): Unset the isAdjusting
6155 (createIncreaseIcon): Switch icon.
6156 (createDecreaseIcon): Switch icon.
6157 (calculatePreferredSize): Use width.
6158 (getThumbBounds): Use the top as the lower value.
6159 (layoutVScrollBar): Switch the button locations.
6160 (paintIncreaseHighlight): Paint correct side of thumb.
6161 (paintDecreaseHighlight): ditto.
6162 (valueForYPosition): Use top as the lower value.
6163 * javax/swing/plaf/basic/BasicSliderUI.java:
6165 (mouseDragged): Implement.
6166 (mousePressed): Only react when the thumb isn't
6167 pressed, otherwise just set offset.
6168 (mouseReleased): Handle a release of the thumb.
6169 (scrollDueToClickInTrack): Stop the timer first.
6170 * javax/swing/JProgressBar.java:
6171 (setString): Fix change condition.
6172 * javax/swing/JSeparator.java:
6175 2004-03-08 David Jee <djee@redhat.com>
6177 * java/awt/image/AffineTransformOp.java:
6178 (filter): Use Graphics2D interface instead of directly using the
6181 2004-03-05 David Jee <djee@redhat.com>
6183 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
6184 (handleEvent): Action events are generated upon MOUSE_RELEASED.
6185 * java/awt/Container.java
6186 (acquireComponentForMouseEvent): Fixed.
6187 (handleEvent): Fixed.
6188 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6189 (state_to_awt_mods_with_button_states): New method.
6190 (pre_event_handler): Fixed mouse event generation.
6192 2004-03-05 Olga Rodimina <rodimina@redhat.com>
6194 gnu/java/awt/peer/gtk/GdkGraphics2D.java
6195 (GdkGraphics2D (BufferedImage)): Initialize
6196 pixmap associated with specified BufferedImage.
6197 (setPaint): Changed implementation of Texture
6198 Paint to use AffineTransformOp.
6199 * java/awt/image/AffineTransformOp.java
6200 (createCompatibleDestRaster): Throw RasterFormatException
6201 if resulting width or height of raster is 0.
6203 2004-03-04 Olga Rodimina <rodimina@redhat.com>
6205 * java/awt/image/AffineTransformOp.java:
6206 Removed unnecessary field interpolationType.
6207 Formatted some of the lines to be consistent with
6209 (AffineTransformOp): Create new RenderingHints
6210 containing specified interpolation type.
6211 (createCompatibleDestImage): Implemented.
6212 (createCompatibleDestRaster): Implemented.
6213 (filter): Implemented.
6214 (getBounds2D(BufferedImage)): Implemented.
6215 (getBounds2D(Raster)): Implemented.
6216 (getInterpolationType): Get interpolation value from
6219 2004-03-04 David Jee <djee@redhat.com>
6221 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6222 (setFont): Check if child peers are null.
6224 2004-03-04 Graydon Hoare <graydon@redhat.com>
6226 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
6228 (libjava_arguments): Add new libraries to argument list.
6230 2004-03-02 Olga Rodimina <rodimina@redhat.com>
6232 * Makefile.am: Added java/awt/image/AffineTransformOp.java
6233 * Makefile.in: Re-generated.
6234 * java/awt/image/AffineTransformOp.java: New Class.
6236 2004-03-01 Olga Rodimina <rodimina@redhat.com>
6238 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6239 (setPaint): Interpret correctly TexturePaint's
6241 (drawImage): Fixed scale factors of the affine
6244 2004-02-27 David Jee <djee@redhat.com>
6246 * gnu/java/awt/peer/gtk/GdkGraphics.java
6247 (GdkGraphics(Component)): Inherit font from component.
6248 (drawString): Use font style.
6249 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
6250 (gtkSetFont): New native method declaration.
6251 (setFont): New method.
6252 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6253 (gtkSetFont): New native method declaration.
6254 (setFont): Call new native method gtkSetFont.
6255 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6256 (setFont): For all child components who do not their fonts set,
6257 set their peers' fonts with this container's font.
6258 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
6259 Move all native method declarations to the top for readability.
6260 (gtkSetFont): New native method declaration.
6261 (setFont): New method.
6262 * java/awt/Component.java
6263 (setFont): Invalidate after setting the font.
6264 * java/awt/Container.java
6265 (invalidateTree): New method.
6266 (setFont): Invalidate the container tree after setting the font.
6267 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6268 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
6269 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
6270 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
6271 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6272 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
6273 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6274 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
6276 2004-02-27 Olga Rodimina <rodimina@redhat.com>
6278 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6279 (updateBufferedImage): New helper function.
6280 Updates BufferedImage in memory if it was changed.
6281 (draw): changed to update BufferedImage in memory after
6282 this drawing operation
6284 (draw3DRect): Ditto.
6285 (fill3DRect): Ditto.
6287 (drawRaster): Ditto.
6288 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
6289 no affine transformation.
6290 (drawGlyphVector): Ditto.
6292 2004-02-26 Olga Rodimina <rodimina@redhat.com>
6294 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6295 (isBufferedImageGraphics): New Helper function.
6296 Returns true if this graphics2d can be used to draw
6297 into buffered image and false otherwise.
6298 (updateImagePixels): New Helper function.
6299 Updates pixels in the BufferedImage.
6300 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6301 (getImagePixels): New function. Returns pixels
6302 of the buffered image associated with
6305 2004-02-26 David Jee <djee@redhat.com>
6307 * java/awt/BorderLayout.java
6308 (layoutContainer): Fix width and height calculations to ensure
6309 that they're non-negative.
6310 * java/awt/Component.java
6311 (setBackground): If c is null, inherit from closest ancestor whose
6312 background color is set.
6314 2004-02-26 Kim Ho <kho@redhat.com>
6316 * Makefile.am: Add new files.
6317 * Makefile.in: Re-generate.
6318 * javax/swing/JProgressBar.java:
6319 (JProgressBar(int, int int)): Throw
6320 IllegalArgumentException if orientation is
6322 (JProgressBar(BoundedRangeModel)): Create
6323 ChangeListener and register it. UpdateUI.
6324 (getChangeListeners): Implement.
6325 (setModel): Reset ChangeListener.
6326 * javax/swing/JScrollBar.java: Implement.
6327 * javax/swing/JSeparator.java: Implement.
6328 * javax/swing/JSlider.java:
6329 (JSlider(int, int, int, int)): Throw
6330 IllegalArgumentException if orientation
6332 (getChangeListeners): Fix method name.
6333 * javax/swing/SwingUtilities.java:
6334 (layoutCompoundLabel): If there is no text,
6335 set the text rectangle dimensions to 0.
6336 * javax/swing/plaf/basic/BasicButtonUI.java:
6337 (paint): If there is no text, don't paint it.
6338 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6340 * javax/swing/plaf/basic/BasicSeparatorUI.java:
6342 * javax/swing/plaf/basic/BasicSliderUI.java:
6343 (propertyChange): If the model changes, change
6344 the listeners accordingly.
6346 2004-02-25 Graydon Hoare <graydon@redhat.com>
6348 * javax/swing/AbstractButton.java: Add "final" qualifiers.
6349 * javax/swing/JList.java: Reimplement.
6350 * javax/swing/DefaultListSelectionModel.java: Reimplement.
6351 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
6352 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
6353 * javax/swing/ListModel.java: Javadoc.
6354 * javax/swing/ListSelectionModel.java: Add missing methods.
6355 * javax/swing/AbstractListModel.java: Javadoc and corrections.
6356 * javax/swing/DefaultListModel.java: Javadoc and corrections.
6357 * javax/swing/ListModel.java: Javadoc and corrections.
6358 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
6360 2004-02-25 David Jee <djee@redhat.com>
6362 * gnu/java/awt/peer/gtk/GtkFontPeer.java
6363 (GtkFontPeer): Change default size to 12.
6364 * gnu/java/awt/peer/gtk/GtkToolkit.java
6365 (getFontPeer): Change default size to 12.
6366 (getClasspathFontPeer): Likewise. Set default name to "Default".
6367 * java/awt/Font.java
6368 (Font(Map)): Call Font(String,Map).
6369 (Font(String,Map)): If attrs is null, initialize it as an empty
6370 HashMap, which will ensure that the Font will get default attributes.
6372 2004-02-25 David Jee <djee@redhat.com>
6374 * gnu/java/awt/peer/gtk/GtkFontPeer.java
6375 (GtkFontPeer(String,int)): Call the new constructor with size 1.
6376 (GtkFontPeer(String,int,int)): New constructor with size attribute.
6377 * gnu/java/awt/peer/gtk/GtkToolkit.java
6378 (getFontPeer(String,int)): Call the new overload method with size 1.
6379 (getFontPeer(String,int,int)): New method. Overloaded with size
6381 (getClasspathFontPeer): Set the size of the font.
6383 2004-02-24 Olga Rodimina <rodimina@redhat.com>
6385 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6386 (bimage): New field.
6387 (GdkGraphics2D): New Constructor. Constructs Graphics
6388 object that can be used to draw into the Buffered Image.
6389 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
6390 (GdkGraphicsEnvironment): Fixed to include public
6392 (createGraphics): Implemented.
6393 * gnu/java/awt/peer/gtk/GtkToolkit.java
6394 (getLocalGraphicsEnvironment): Implemented.
6395 * java/awt/GraphicsEnvironment.java:
6396 (getLocalGraphicsEnvironment): Implemented.
6397 * java/awt/image/BufferedImage.java:
6398 (createGraphics): Implemented.
6400 2004-02-24 David Jee <djee@redhat.com>
6402 * java/awt/Component.java
6403 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
6404 * java/awt/Container.java
6405 (addNotifyContainerChildren): Fix event enabling.
6407 2004-02-23 Olga Rodimina <rodimina@redhat.com>
6409 * Makefile.am: Added
6410 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6411 * Makefile.in: Re-generated.
6412 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
6415 2004-02-19 Kim Ho <kho@redhat.com>
6417 * Makefile.am: Add BasicProgressBarUI
6418 * Makefile.in: Regenerate.
6419 * javax/swing/JProgressBar.java:
6421 * javax/swing/plaf/basic/BasicLookAndFeel.java
6422 Add constants for JProgressBar.
6423 * javax/swing/plaf/basic/BasicProgressBarUI.java
6425 * javax/swing/plaf/basic/BasicSliderUI.java
6427 (calculateGeometry): New method
6428 (paint): Remove unnecessary size calculations.
6430 2004-02-18 Olga Rodimina <rodimina@redhat.com>
6432 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6433 (drawRaster): Fixed small error that caused
6434 imageToUser transformation to be set incorrectly.
6435 (toString): Implemented.
6437 2004-02-18 David Jee <djee@redhat.com>
6439 * java/awt/CardLayout.java
6440 (addLayoutComponent): Show the first component added as the default.
6441 (removeLayoutComponent): After removing, show the next component.
6442 (gotoComponent): If there is only one component, show it and return.
6444 2004-02-18 Kim Ho <kho@redhat.com>
6446 * javax/swing/JSlider.java: Re-order
6448 * javax/swing/JLabel.java: Re-order
6450 * javax/swing/JComponent.java:
6451 (addPropertyChangeListener):
6453 (removePropertyChangeListener):
6455 (firePropertyChangeEvent):
6458 2004-02-17 David Jee <djee@redhat.com>
6460 * java/awt/Component.java
6461 (show): Dispatch ComponentEvent via system event queue.
6465 (reshape): Likewise.
6466 * java/awt/Window.java
6467 (setBoundsCallback): Likewise.
6469 2004-02-17 David Jee <djee@redhat.com>
6471 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6472 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
6473 Use gtk_widget_set_size_request() instead of the deprecated
6474 gtk_widget_set_usize().
6476 2004-02-17 Kim Ho <kho@redhat.com>
6478 * javax/swing/JSlider.java: Fix comments and
6479 make property strings constants.
6480 (createStandardLabels): Use the labels
6481 preferred size as bounds.
6482 * javax/swing/plaf/basic/BasicSliderUI.java
6484 (ScrollHandler::actionPerformed): Don't
6485 calculate the timer stop value. Let the
6486 MouseListeners find the stop location.
6487 (getPreferredHorizontalSize): Re-implement.
6488 (getPreferredVerticalSize): ditto.
6489 (getMinimumHorizontalSize): ditto.
6490 (getMinimumVerticalSize): ditto.
6491 (getPreferredSize): ditto.
6492 (getMinimumSize): ditto.
6493 (getMaximumSize): ditto.
6494 (paintTicks): Use doubles to find the
6496 (paintHorizontalLabel):Â Use preferredSize
6497 as initial width and height.
6498 (paintVerticalLabel): ditto.
6500 2004-02-17 Kim Ho <kho@redhat.com>
6502 * javax/swing/JLabel.java: Changed
6503 property strings to constants.
6504 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
6506 (setText): Change mnemonic index if
6508 (setDisplayedMnemonicIndex): Fire property
6510 (getDisplayedMnemonicIndex): Remove check
6513 2004-02-17 Olga Rodimina <rodimina@redhat.com>
6515 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6516 (drawImage(img,xform,obs)): Invert xform before
6517 passing the xform to cairo.
6518 (drawImage(img,x,y,bgcolor,obs)): Implemented.
6519 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
6521 (drawImage (img,x,y,w,h,obs)): Implemented.
6522 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
6523 bgcolor,obs)): Partly implemented.
6524 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
6526 * java/awt/image/BufferedImage.java:
6527 (copyData): if dest is null, create raster with same
6528 dimensions as the current image.
6530 2004-02-16 Graydon Hoare <graydon@redhat.com>
6532 * javax/swing/plaf/basic/BasicLabelUI.java
6533 (getPreferredSize): Use layoutCL.
6534 * javax/swing/plaf/basic/BasicGraphicsUtils.java
6535 (getPreferredButtonSize): Start with empty view rect, layout using
6536 component's preferred alignment.
6537 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
6540 2004-02-16 David Jee <djee@redhat.com>
6542 * java/awt/Component.java
6543 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
6544 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
6545 (move): Erase old bounds and repaint new bounds. Dispatch
6546 COMPONENT_MOVED ComponentEvent.
6547 (resize): Erase old bounds and repaint new bounds. Dispatch
6548 COMPONENT_RESIZED ComponentEvent.
6549 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
6551 * java/awt/Window.java
6552 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
6555 2004-02-16 Olga Rodimina <rodimina@redhat.com>
6557 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6558 (setRenderingHint): Added implementation of
6559 Interpolation rendering hints.
6560 (setRenderingHints): Ditto.
6561 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6562 (drawPixels): fixed to allow user to choose type
6563 of filtering that should be used when displaying images.
6564 (cairoSurfaceSetFilter): New method. Sets filter type for
6565 interpolation of pixel values.
6567 2004-02-16 David Jee <djee@redhat.com>
6569 * java/awt/GridBagLayout.java
6570 (calcCellSizes): Rows or columns with zero sizes should still be
6571 considered for extra space distribution.
6573 2004-02-16 Kim Ho <kho@redhat.com>
6575 * javax/swing/JLabel.java: Re-implement.
6576 * javax/swing/plaf/basic/BasicLabelUI.java
6578 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6581 2004-02-16 Kim Ho <kho@redhat.com>
6583 * javax/swing/JSlider.java: Fix indentation and comments.
6584 (setModel): Remove null check to conform with Sun's.
6585 (setOrientation): Throw exception if not
6586 HORIZONTAL or VERTICAL.
6587 (getInverted): Use private variable instead of
6588 ComponentOrientation.
6589 (setInverted): ditto.
6590 * javax/swing/plaf/basic/BasicSliderUI.java:
6591 Fix indentation and comments.
6592 (propertyChange): Remove check for inverted slider, handle
6594 (getMinimumSize): Return preferred size.
6595 (getMaximumSize): ditto.
6596 (calculateFocusRect): Don't relocate rectangle.
6597 (drawInverted): Return XOR of the slider's inversion and
6598 the component's orientation.
6599 (paint): Update leftToRightCache
6601 2004-02-13 David Jee <djee@redhat.com>
6603 * java/awt/GridBagLayout.java
6604 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
6605 code to helper methods.
6606 (sortBySpan): New helper method.
6607 (distributeSizeAndWeight): Likewise.
6608 (calcCellWeights): Likewise.
6609 (calcCellSizes): Add comments.
6611 2004-02-13 David Jee <djee@redhat.com>
6613 * java/awt/Component.java
6614 (show): Only do something if component is invisible at the moment.
6615 (hide): Only do something if component is visible at the moment.
6616 (reshape): If lightweight, erase old bounds and repaint new bounds.
6618 2004-02-13 Kim Ho <kho@redhat.com>
6620 * Makefile.am: Updated for new file.
6621 * Makefile.in: Regenerated.
6622 * javax/swing/JSlider.java: Reimplement.
6623 * javax/swing/SwingUtilities.java
6624 (layoutCompoundLabel): Use icon height
6626 (paintComponent): Implement.
6627 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6628 Add JSlider defaults.
6629 * javax/swing/plaf/basic/BasicSliderUI.java:
6630 Implement. New file.
6632 2004-03-17 Michael Koch <konqueror@gmx.de>
6634 * gnu/java/net/PlainDatagramSocketImpl.java
6635 (RECEIVE_LOCK): New member field.
6636 (SEND_LOCK): New member field.
6637 (send0): New method.
6638 (send): Synchronize on SEND_LOCK.
6639 (receive0): New method.
6640 (receive): Synchronize on RECEIVE_LOCK.
6641 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
6642 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
6643 gnu/java/net/natPlainDatagramSocketImplWin32.cc
6644 (send0): Renamed from send.
6645 (receive0): Renamed from receive.
6646 2004-03-17 Michael Koch <konqueror@gmx.de>
6648 * gnu/java/net/natPlainSocketImplPosix.cc
6649 (write): Just call write(jbyteArray, offset, len).
6650 (read): Just call read(jbyteArray, offset, len).
6652 2004-03-16 Michael Koch <konqueror@gmx.de>
6654 * javax/swing/JTabbedPane.java
6655 (serialVersionUID): New field.
6657 2004-03-16 Norbert Frese <postfach@nfrese.net>
6659 * java/net/InetAddress.java
6660 (getByName): Handle hostname == "" case.
6662 2004-03-16 Dalibor Topic <robilad@kaffe.org>
6664 Reported by: Adam Heath <doogie@debian.org>
6665 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
6668 2004-03-15 Michael Koch <konqueror@gmx.de>
6670 * java/util/Locale.java: Reverting my last patch
6671 and add a comment why the original version was okay.
6673 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
6675 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
6676 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
6677 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
6678 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
6680 2004-03-12 Michael Koch <konqueror@gmx.de>
6682 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
6684 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
6686 * java/net/URI.java (toURL): Implemented.
6688 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
6691 (URI_REGEXP) updated to contain scheme specific part.
6692 (SCHEME_SPEC_PART_GROUP) new constant.
6693 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
6694 updated to make room for SCHEME_SPEC_PART_GROUP.
6695 (parseURI) parse scheme specific part.
6696 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
6697 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
6698 getQuery, getFragment) implemented.
6700 2004-03-12 Dalibor Topic <robilad@kaffe.org>
6702 * libraries/javalib/java/net/URI.java
6703 partially implemented using java.util.regex.
6704 (URI_REGEXP) new constant. Used to parse URIs.
6705 (SCHEME_GROUP) new constant representing index of scheme group
6707 (AUTHORITY_GROUP) new constant representing index of authority
6708 group in parsed URI.
6709 (PATH_GROUP) new constant representing index of path group in
6711 (QUERY_GROUP) new constant representing index of query group in
6713 (FRAGMENT_GROUP) new constant representing index of fragment
6714 group in parsed URI.
6715 (getURIGroup) new static utility method.
6716 (parseURI) implemented.
6717 (quote) stub for new static utility method.
6718 (quoteAuthority) stub for new static utility method.
6719 (quoteHost) stub for new static utility method.
6720 (quotePath) stub for new static utility method.
6721 (quoteUserInfo) stub for new static utility method.
6723 (create) don't throw URISyntaxException. Implemented.
6724 (toString) implemented.
6726 2004-03-12 Michael Koch <konqueror@gmx.de>
6728 * java/net/HttpURLConnection.java
6729 (getResponseCode): Fix another typo in javadoc.
6731 2004-03-11 Michael Koch <konqueror@gmx.de>
6733 * java/util/logging/Level.java
6734 (parse): Use String.equals() instead of ==.
6736 2004-03-11 Michael Koch <konqueror@gmx.de>
6738 * gnu/java/net/protocol/jar/Connection.java
6739 (getContentLength): New method.
6741 2004-03-11 Michael Koch <konqueror@gmx.de>
6743 * gnu/java/net/PlainSocketImpl.java:
6744 Reformated to merge better with classpath's version.
6746 2004-03-11 Michael Koch <konqueror@gmx.de>
6748 * java/util/Locale.java
6749 (getISO3Language): Use String.equals() instead of ==.
6750 (getISO3Country): Likewise.
6752 2004-03-11 Dalibor Topic <robilad@kaffe.org>
6754 * java/text/AttributedString.java
6755 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
6756 Use HashMap instead of Hashtable since value can be null, and
6757 you can not store a null value in a Hashtable.
6759 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
6761 * java/text/AttributedStringIterator.java
6762 (getAllAttributesKey): Return only keys concerned
6763 by the current iterator.
6764 (getAttributes): Use strict inequality for
6767 2004-03-11 Michael Koch <konqueror@gmx.de>
6769 * java/net/HttpURLConnection.java:
6770 Fixed typo in javadoc.
6772 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
6774 * java/io/BufferedInputStream.java (marktarget): New field for max
6776 (CHUNKSIZE): New constant for incremental mark buffer allocation.
6777 (mark): Use new fields.
6779 (read(byte[],int,int)): Likewise.
6783 2004-03-11 Mark Wielaard <mark@klomp.org>
6785 * java/beans/BeanDescriptor.java (BeanDescriptor):
6786 Set the FeatureDescriptor programmatic name.
6788 2004-03-11 Michael Koch <konqueror@gmx.de>
6790 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
6791 This file was was just copied form java/io/natFileDescriptorEcos.cc
6792 and never changed to compile correctly.
6794 2004-03-11 Michael Koch <konqueror@gmx.de>
6796 * gnu/java/nio/PipeImpl.java
6797 (SourceChannelImpl): Made final.
6798 (read): Implemented.
6799 (SinkChannelImpl): Made final.
6800 (write): Implemented.
6802 2004-03-11 Michael Koch <konqueror@gmx.de>
6804 * gnu/java/net/PlainDatagramSocketImpl.java:
6805 Reformated to match classpath's version more.
6807 2004-03-11 Michael Koch <konqueror@gmx.de>
6809 * gnu/java/awt/peer/ClasspathFontPeer.java:
6810 Fixed javadoc to be correct xhtml.
6811 * gnu/java/awt/peer/gtk/GtkArgList.java
6812 (add): Use Boolean.valueOf() instead of new Boolean().
6814 2004-03-09 Michael Koch <konqueror@gmx.de>
6816 * java/lang/Thread.java
6817 (runnable): Moved around.
6818 (daemon): Renamed from daemon_flag.
6819 (contextClassLoader): Renamed from context_class_loader.
6820 (Thread): Reordered constructors.
6821 (activeCount): Use group directly.
6822 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
6823 (holdsLock): Reworked javadoc.
6824 (setDaemon): Reworked.
6825 * java/lang/natThread.cc
6828 2004-03-08 Anthony Green <green@redhat.com>
6830 * Makefile.am: Build property resource files into libgcj.
6831 * Makefile.in: Rebuilt.
6832 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
6833 java/util/regex/PatternSyntaxException.java,
6834 gnu/regexp/CharIndexed.java,
6835 gnu/regexp/CharIndexedCharArray.java,
6836 gnu/regexp/CharIndexedInputStream.java,
6837 gnu/regexp/CharIndexedReader.java,
6838 gnu/regexp/CharIndexedString.java,
6839 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
6840 gnu/regexp/REException.java,
6841 gnu/regexp/REFilterInputStream.java,
6842 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
6843 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
6844 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
6845 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
6846 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
6847 gnu/regexp/RETokenLookAhead.java,
6848 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
6849 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
6850 gnu/regexp/RETokenStart.java,
6851 gnu/regexp/RETokenWordBoundary.java,
6852 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
6854 2004-03-03 Per Bothner <per@bothner.com>
6856 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
6857 Optimize when argument is a FileChannelImpl.
6858 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
6860 * java/nio/channels/natChannels.cc: New file for new native methods.
6861 * Makefile.am: Update accordingly.
6863 2004-03-02 Jan Hubicka <jh@suse.cz>
6865 * configure.host: Pass -fno-omit-frame-pointer for i386.
6866 * configure.in: Likewise.
6867 * configure: Regenerate.
6869 2004-03-01 Per Bothner <per@bothner.com>
6871 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
6873 2004-02-29 Per Bothner <per@bothner.com>
6875 * java/nio/channels/FileChannelImpl.java: Moved to package
6876 gnu/java/nio/channels, since we need to refer to it from java.io.
6877 * java/nio/channels/natFileChannelImpl.cc: Removed file.
6878 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
6879 from java/nio/channels. Don't depend on FileDescriptor.
6880 (in, out, err): New static fields.
6882 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
6883 from FileDescriptor.
6884 (by): Removed MappedByteBuffer field.
6885 (map): New working implementation.
6886 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
6887 some code "ported" from natFileDescriptoPosix.cc.
6888 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
6889 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
6890 * java/io/FileDescriptor.java: Implement on top of FileChannel.
6891 Remove native methods.
6892 * Makefile.am, configure.in: Updated accordingly.
6894 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
6895 (ch): New FileChannelImpl field. Update constructor to match.
6896 (releaseImpl): Remove native method. Instead ...
6897 (release): Call unlock on channel.
6898 * gnu/java/nio/natFileLockImpl.cc: Removed file.
6900 * java/io/natFileDescriptorEcos.cc: Remove file.
6901 * java/io/natFileDescriptorPosix.cc: Remove file.
6902 * java/io/natFileDescriptorWin32.cc: Remove file.
6903 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
6904 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
6905 (<init>(FileChannelImpl)): New package-private constructor.
6906 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
6907 (available, close, read, skip): Implement using FileChannelImpl.
6908 (getFD): Allocate FileDescriptor if needed.
6909 (getChannel): Is now trivial.
6910 * java/io/FileOutputStream.java: Corresponding changes.
6911 * java/io/RandomAccessFile.java: Corresponding changes.
6913 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
6914 unmapImpl): New dummy methods, to be overridden by subclass.
6915 (finalize, isLoaded, load, force): New methods.
6916 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
6917 Now works, at least for read mapping.
6919 * java/lang/natPosixProcess.cc (startProcess): Implement standard
6920 streams using FileChannelImpl, not FileDescriptor.
6921 * java/lang/natWin32Process.cc (startProcess): Likewise.
6923 2004-02-28 Michael Koch <konqueror@gmx.de>
6925 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
6928 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
6930 * java/io/ObjectInputStream.java
6931 (readClassDescriptor): Keep elements of the mapping non null.
6932 (checkTypeConsistency): New method.
6933 (readFields): Fixed main loop and base logic. Small reindentation.
6934 * java/io/ObjectStreamField.java
6935 (lookupField): New method to update the field reference.
6936 (checkFieldType): New method.
6937 * java/io/ObjectStreamClass.java
6938 (setClass, setFields): Call lookupField when building the field
6939 database. Check the real field type.
6941 2004-02-28 Michael Koch <konqueror@gmx.de>
6943 * java/nio/ByteOrder.java
6944 (nativeOrder): Use equals() to compare strings.
6946 2004-02-26 Michael Koch <konqueror@gmx.de>
6948 * gnu/java/nio/FileLockImpl.java
6949 (finalize): Made protected.
6950 * java/nio/channels/FileChannel.java
6951 (MapMode.READ_ONLY): Made final.
6952 (MapMode.READ_WRITE): Made final.
6953 (MapMode.PRIVATE): Made final.
6954 * java/nio/channels/SocketChannel.java
6955 (open): Simplified code.
6956 * java/nio/channels/spi/AbstractSelectableChannel.java
6957 (registered): Unused, removed.
6958 (keyFor): Check channel is open, only locate key
6959 and not add a new one.
6960 (register): Don't delete attachments.
6962 2004-02-26 Michael Koch <konqueror@gmx.de>
6964 * gnu/java/awt/ComponentDataBlitOp.java
6965 (INSTANCE): Made final.
6966 * gnu/java/awt/image/ImageDecoder.java:
6968 (cm): Unused, removed.
6970 2004-02-26 Michael Koch <konqueror@gmx.de>
6972 * gnu/java/nio/DatagramChannelImpl.java
6973 (send): Check if target address is resolved.
6975 2004-02-26 Michael Koch <konqueror@gmx.de>
6977 * Makefile.am: Generate and install headers for inner classes in
6978 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
6979 * Makefile.in: Regenerated.
6981 2004-02-24 Anthony Green <green@redhat.com>
6983 * java/lang/StringBuffer.java: No need to NULL out remainder of
6984 buffer since ensureCapacity_unsynchronized will have done this for
6987 2004-02-20 Michael Koch <konqueror@gmx.de>
6989 * gnu/java/net/protocol/jar/Handler.java
6990 (): Removed unneeded check for file != null. java.net.URL.getFile()
6991 returns an empty string but never null.
6993 2004-02-20 Michael Koch <konqueror@gmx.de>
6995 * gnu/gcj/convert/Convert.java
6996 (main): Use equals() to compare strings.
6998 2004-02-20 Michael Koch <konqueror@gmx.de>
7000 * javax/swing/AbstractButton.java: Made several constants final.
7001 (getRolloverSelectedIcon): Made public.
7002 (getSelectedIcon): Made public.
7004 2004-02-16 Per Bothner <per@bothner.com>
7006 * java/nio/CharBufferImpl.java: Inline super constructor.
7007 * java/nio/DoubleBufferImpl.java: Likewise.
7008 * java/nio/FloatBufferImpl.java: Likewise.
7009 * java/nio/IntBufferImpl.java: Likewise.
7010 * java/nio/LongBufferImpl.java: Likewise.
7011 * java/nio/ShortBufferImpl.java: Likewise.
7012 * java/nio/CharBuffer.java: Remove unused constructor.
7013 * java/nio/DoubleBuffer.java: Likewise.
7014 * java/nio/FloatBuffer.java: Likewise.
7015 * java/nio/IntBuffer.java: Likewise.
7016 * java/nio/LongBuffer.java: Likewise.
7017 * java/nio/ShortBuffer.java: Likewise.
7018 * java/nio/CharViewBufferImpl.java: New convenience constructor.
7019 Fix buggy call to super constructor.
7020 * java/nio/DoubleViewBufferImpl.java: Likewise.
7021 * java/nio/FloatViewBufferImpl.java: Likewise.
7022 * java/nio/IntViewBufferImpl.java: Likewise.
7023 * java/nio/LongViewBufferImpl.java: Likewise.
7024 * java/nio/ShortViewBufferImpl.java: Likewise.
7026 * java/nio/ByteBuffer.java (endian): Make non-private so other
7027 java.nio classes can inherit it.
7028 (<init>): Don't bother clearing array_offset.
7029 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
7030 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
7031 Remove redundant test.
7033 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
7034 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
7035 Use new XxxViewBufferImpl constructors.
7036 * java/nio/MappedByteBufferImpl.java: Likewise.
7037 * java/nio/DirectByteBufferImpl.java: Likewise.
7039 * java/nio/ByteBufferImpl.java: Remove one constructor.
7040 Inline super in remaining constructor.
7041 * java/nio/ByteBuffer.java: Remove unused constructor.
7043 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
7045 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
7046 * java/nio/DirectByteBufferImpl.java (owner): New field.
7047 (offset): Remove unused field.
7048 (<init>): Modify one and add another constructor. Change callers.
7049 (allocateDirect): Removed - not used.
7050 (getImpl, putImpl): Make static and pass address explicitly,
7051 to make them useful for MappedByteBufferImpl.
7052 (get, put): Check for underflow. Modify for new getImpl.
7053 (getImpl): New native method where target is array.
7054 (get(byte[],int,int)): Use the above.
7055 (adjustAddress): New static native method.
7056 (slice, duplicate, asReadOnly): New implementations.
7057 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
7058 adjustAddress): New or updated native methods.
7060 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
7062 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
7063 overflow of fieldmapping.
7065 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
7067 * javax/swing/undo/UndoManager.java: Re-written from scratch.
7069 2004-02-14 Per Bothner <per@bothner.com>
7071 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
7072 Set closed before calling implCloseChannel, as in the spec.
7074 2004-02-09 Graydon Hoare <graydon@redhat.com>
7076 * javax/swing/ToggleButtonModel.java: Remove dead class.
7077 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
7078 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
7079 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
7080 * Makefile.am: Update for new and removed files.
7081 * Makefile.in: Regenerate.
7083 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
7084 * javax/swing/AbstractButton.java
7085 (AbstractButton): Initialize fields correctly in ctor.
7086 * javax/swing/JCheckbox.java
7087 (JCheckBox): Override painting flags.
7088 * javax/swing/DefaultButtonModel.java: Conform to sun.
7089 * javax/swing/JComponent.java (paint): Fill with background color
7091 (processComponentKeyEvent)
7094 (processMouseMotionEvent): Remove event-consuming empty methods.
7095 (getUIClassID): Return "ComponentUI" not "JComponent"
7096 * javax/swing/JFrame.java: Remove some debugging chatter.
7097 (JFrame): Subscribe to window events.
7098 * javax/swing/JRadioButton.java
7099 (JRadioButton): Override painting flags.
7100 * javax/swing/JRootPane.java
7101 (JRootPane): Set background from UIDefaults.
7102 * javax/swing/JToggleButton.java
7103 (ToggleButtonModel): New inner class.
7104 (JToggleButton): Override layout alighment.
7105 * javax/swing/SwingUtilities.java:
7106 (getLocalBounds): Return width and height, not x and y.
7107 (calculateInnerArea): Use local bounds, not bounds.
7108 (layoutCompoundLabel): Provide overridden form.
7109 (layoutCompoundLabel): Correct bugs.
7110 * javax/swing/UIDefaults.java: Correct comment.
7111 * javax/swing/plaf/basic/BasicButtonUI.java:
7112 Move most logic into defaults, external listener.
7113 (paintIcon): Implement icon painting.
7114 (paint): Fix state painting to conform to changes in model.
7115 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
7116 Remove most dead/wrong methods.
7117 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
7118 * javax/swing/plaf/basic/BasicIconFactory.java:
7119 (DummyIcon): New class.
7120 (getMenuItemCheckIcon)
7121 (getMenuItemArrowIcon)
7123 (getCheckBoxMenuItemIcon)
7124 (getRadioButtonMenuItemIcon)
7125 (createEmptyFrameIcon): Return DummyIcons, not null.
7126 (getCheckBoxIcon): Implement an icon that looks like sun's.
7127 (getRadioButtonIcon): Implement an icon that looks like sun's.
7128 * javax/swing/plaf/basic/BasicLookAndFeel.java
7129 (initComponentDefaults): Fix impossible values, add some missing.
7130 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
7131 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
7132 Remove most dead/wrong methods.
7134 (getDefaultIcon): New method.
7135 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
7136 Remove most dead/wrong methods.
7137 * javax/swing/plaf/metal/MetalLookAndFeel.java
7138 (getDefaults): Return super.getDefaults(), not BasicDefaults.
7139 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
7140 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
7141 Implement "clearing" as drawing, when on pixmap drawables.
7143 * javax/swing/JButton.java (getUIClassID):
7144 * javax/swing/JCheckBox.java (getUIClassID):
7145 * javax/swing/JEditorPane.java (getUIClassID):
7146 * javax/swing/JLabel.java (getUIClassID):
7147 * javax/swing/JList.java (getUIClassID):
7148 * javax/swing/JOptionPane.java (getUIClassID):
7149 * javax/swing/JPanel.java (getUIClassID):
7150 * javax/swing/JPasswordField.java (uiClassID):
7151 * javax/swing/JRadioButton.java (getUIClassID):
7152 * javax/swing/JRootPane.java (getUIClassID):
7153 * javax/swing/JScrollPane.java (getUIClassID):
7154 * javax/swing/JTabbedPane.java (getUIClassID):
7155 * javax/swing/JToggleButton.java (getUIClassID):
7156 * javax/swing/JTree.java (getUIClassID):
7157 * javax/swing/JViewport.java (getUIClassID):
7158 * javax/swing/text/JTextComponent.java (getUIClassID):
7159 Return "fooUI" not "Jfoo"
7161 2004-02-11 Michael Koch <konqueror@gmx.de>
7163 * java/net/DatagramSocket.java
7164 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
7166 (setBroadcast): Likewise.
7167 * java/net/MulticastSocket.java
7168 (setLoopbackMode): Likewise.
7169 * java/net/ServerSocket.java
7170 (setReuseAddress): Likewise.
7171 * java/net/Socket.java
7172 (setTcpNoDelay): Likewise.
7173 (setSoLinger): Likewise.
7174 (setOOBInline): Likewise.
7175 (setKeepAlive): Likewise.
7176 (setReuseAddress): Likewise.
7177 * java/net/URLConnection.java
7178 (setContentHandler): Replace == with equals().
7179 * java/net/URLStreamHandler.java
7180 (hostSEquals): Fix checking host addresses.
7181 (toExternalForm): Dont check protocol for null. We know already its
7184 2004-02-10 David Jee <djee@redhat.com>
7186 * java/awt/BorderLayout.java
7187 (calcCompSize): Invisible components get zero dimensions.
7188 * java/awt/Button.java
7189 (setLabel): Set actionCommand.
7190 * java/awt/Component.java
7191 (show): Invalidate component and parent container.
7194 2004-02-10 David Jee <djee@redhat.com>
7196 * java/awt/GridBagLayout.java
7197 (GridBagLayout): New private field, internalcomptable.
7198 (lookupInternalConstraints): New method.
7199 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
7200 (GetLayoutInfo): Reimplement.
7201 (calcCellSizes): Ignore rows/columns with size 0.
7203 2004-02-10 Michael Koch <konqueror@gmx.de>
7205 * gnu/java/awt/EmbeddedWindow.java
7206 (setHandle): Use java.awt.Component.getPeer() instead of
7207 java.awt.Component.peer directly.
7209 2004-02-10 David Jee <djee@redhat.com>
7211 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
7212 (gtkSetLabel): New native method definition.
7213 (setLabel): Use gtkSetLabel.
7214 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7215 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
7217 2004-02-10 Alan Modra <amodra@bigpond.net.au>
7219 * include/powerpc-signal.h: Revert 2004-01-21 change.
7220 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
7221 from syscall for ppc32 versions.
7223 2004-02-08 Per Bothner <per@bothner.com>
7225 * java/nio/ByteBuffer.java (shiftDown): New helper method.
7226 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
7227 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
7228 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
7229 Pass ByteOrder parameter to most methods, since the underlying
7230 ByteBuffer's order isn't always what we should use.
7231 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
7232 * java/nio/DirectByteBufferImpl.java: Likewise.
7233 Use ByteBufferHelper methods.
7234 * java/nio/MappedByteBufferImpl.java: Likewise.
7235 (compact): Use shiftDown.
7236 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
7237 (get, put): Use ByteBufferHelper.
7238 (compact): Use new shiftDown method.
7239 (duplicate(boolean)): New helper method.
7240 (duplicate, asReadOnlyBuffer): Use it.
7241 (order): Return endian field.
7242 * java/nio/DoubleViewBufferImpl.java: Likewise.
7243 * java/nio/FloatViewBufferImpl.java: Likewise.
7244 * java/nio/IntViewBufferImpl.java: Likewise.
7245 * java/nio/LongViewBufferImpl.java: Likewise.
7246 * java/nio/ShortViewBufferImpl.java: Likewise.
7247 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
7248 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
7249 (compact): Re-implement using shiftDown.
7251 2004-02-08 Andreas Jaeger <aj@suse.de>
7253 * include/x86_64-signal.h: Fix typo.
7255 2004-02-08 Diego Novillo <dnovillo@redhat.com>
7257 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
7259 (HANDLE_DIVIDE_OVERFLOW): Likewise.
7261 2004-02-06 Michael Koch <konqueror@gmx.de>
7263 * java/io/ObjectInputStream.java
7264 (currentClassLoader): Reverted to old version of this method.
7266 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
7268 * java/io/ObjectInputStream.java: Made all calls
7269 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
7270 use cached info from ObjectStreamClass. (readClassDescriptor):
7271 Cache more information in ObjectStreamClass. (processResolution,
7272 readFields): Use cached info from ObjectStreamClass.
7273 (newObject): Throw exception instead of returning null for failure.
7274 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
7275 setCharField, setDoubleField, setFloatField, setIntField,
7276 setLongField, setShortField, setObjectField, readObjectParams):
7277 Removed. (dumpElement, dumpElementln): Removed dump flag condition
7279 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
7280 (setClass): Added call to cacheMethods() (findMethod): New method.
7281 (cacheMethods): New method. (ObjectStreamClass): Added call to
7282 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
7283 AccessController.doPrivileged to invoke setAccessible.
7284 (readObjectMethod, readResolveMethod, realClassIsSerializable,
7285 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
7287 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
7288 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
7289 isPrimitive): Made safe for cases where type == null.
7290 (setBooleanField, setByteField, setCharField, setShortField,
7291 setIntField, setLongField, setFloatField, setDoubleField,
7292 setObjectField): New methods.
7294 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
7296 * java/awt/Component.java (getFont): Return a default font
7299 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
7300 (Scrollbar (int, int, int, int, int)): Make default page
7302 (setValues): Only call peer.setValues if one of the values has
7304 (generateName): New method.
7305 (getUniqueLong): New method.
7306 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
7307 (range_scrollbar): Remove structure.
7308 (post_adjustment_event): Remove function.
7309 (post_change_event): Accept jobject argument.
7310 (create): Cast jints to gdoubles. Round scrollbar values to the
7311 nearest integer. Clamp min, max and value settings.
7312 (connectJObject): Connect hook to widget->window.
7313 (connectSignals): Remove range_scrollbar structure variables.
7314 Remove "move-slider" connection. Pass global peer reference to
7315 "value-changed" callback.
7316 (setLineIncrement): Cast jint value to gdouble.
7317 (setPageIncrement): Likewise.
7318 (setValues): Likewise. Clamp min, max and value settings.
7320 2004-02-05 Michael Koch <konqueror@gmx.de>
7322 * javax/swing/AbstractCellEditor.java
7323 (getCellEditorValue): Removed.
7324 * javax/swing/Box.java: Reformated.
7325 (serialVersionUID): New field.
7326 * javax/swing/ButtonGroup.java:
7327 Removed some weird whitespace.
7328 * javax/swing/CellEditor.java: Reformated.
7329 * javax/swing/CellRendererPane.java
7330 (serialVersionUID): New field.
7331 (AccessibleCellRendererPaneserialVersionUID): New field.
7332 * javax/swing/DefaultListModel.java
7333 (serialVersionUID): New field.
7334 * javax/swing/JEditorPane.java
7335 (serialVersionUID): New field.
7336 (setPage): Throws IOException.
7337 (addHyperlinkListener): Implemented.
7338 (removeHyperlinkListener): Implemented.
7339 (getHyperlinkListener): New method.
7340 * javax/swing/JFileChooser.java
7341 (serialVersionUID): New field.
7342 (AccessibleJFileChooser.serialVersionUID): New field.
7343 (addActionListener): Implemented.
7344 (removeActionListener): Implemented.
7345 (getActionListeners): New method.
7346 * javax/swing/JFormattedTextField.java
7347 (serialVersionUID): New field.
7348 (AbstractFormatter.serialVersionUID): New field.
7349 (clone): Throws CloneNotSupportedException
7350 (setEditValid): Add missing argument.
7351 (stringToValue): Throws ParseExcpetion.
7352 (valueToString): Throws ParseException.
7353 (commitEdit): Throws ParseException.
7354 * javax/swing/JLabel.java
7355 (serialVersionUID): New field.
7356 * javax/swing/JList.java
7357 (serialVersionUID): New field.
7358 (addListSelectionListener): Reformated.
7359 (removeListSelectionListener): Reformated.
7360 (getListSelectionListeners): New method.
7361 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
7363 (serialVersionUID): New field.
7364 * javax/swing/table/AbstractTableModel.java
7365 (getValueAt): Removed.
7366 (getColumnCount): Removed.
7367 (getRowCount): Removed.
7369 2004-02-05 Michael Koch <konqueror@gmx.de>
7371 * java/awt/datatransfer/DataFlavor.java
7372 (imageFlavor): Javadoc added.
7373 (javaJVMLocalObjectType): Fixed.
7375 2004-02-05 Michael Koch <konqueror@gmx.de>
7377 * java/lang/Thread.java
7378 (Thread): Reordered.
7379 (setContextClassLoader): Fixed javadoc comment.
7380 (setPriority): Reordered.
7382 (initialize_native): Reordered.
7383 (gen_name): Reordered.
7385 2004-02-05 Michael Koch <konqueror@gmx.de>
7387 * java/lang/Thread.java: Reordered fields, reformated much code,
7388 no functional changes, some variables renamed, javadoc comments
7391 2004-02-05 Michael Koch <konqueror@gmx.de>
7393 * java/util/zip/Deflater.java,
7394 java/util/zip/DeflaterOutputStream.java,
7395 java/util/zip/GZIPInputStream.java:
7396 Reformated and javadoc comments merged from classpath.
7398 2004-02-05 Michael Koch <konqueror@gmx.de>
7400 * gnu/java/nio/NIOServerSocket.java
7401 (impl): Unused, removed.
7402 * gnu/java/nio/SocketChannelImpl.java
7403 (finnishConnect): Don't throw NoConnectionPendingException if not
7404 connected or no connection pending.
7406 2004-02-02 Graydon Hoare <graydon@redhat.com>
7408 * javax/swing/SwingUtilities.java: Many new functions.
7409 * java/awt/Container.java (LightweightDispatcher): Reimplement.
7410 * javax/swing/basic/BasicGraphicsUtils.java
7411 (getPreferredButtonSize): Start layout from top-left corner.
7413 2004-02-04 Olga Rodimina <rodimina@redhat.com>
7415 * java/awt/geom/AffineTransform.java:
7416 Corrected comments on the field definitions for
7418 (shear): Fixed few errors that caused shear
7419 transformation to be performed incorrectly.
7420 (createInverse): Fixed to return correct
7421 inverse of the given matrix.
7423 2004-02-03 Tom Tromey <tromey@redhat.com>
7425 * java/lang/natPosixProcess.cc (startProcess): Handle case where
7426 PATH or LD_LIBRARY_PATH is not set in parent environment.
7428 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
7430 * gnu/java/awt/peer/gtk/GtkListPeer.java,
7431 java/awt/BorderLayout.java, java/awt/CardLayout.java,
7432 java/awt/CheckboxGroup.java, java/awt/Choice.java,
7433 java/awt/Component.java, java/awt/Container.java,
7434 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
7435 java/awt/LayoutManager2.java, java/awt/List.java,
7436 java/awt/Menu.java, java/awt/MenuBar.java,
7437 java/awt/MenuItem.java, java/awt/Polygon.java,
7438 java/awt/Rectangle.java, java/awt/ScrollPane.java,
7439 java/awt/Scrollbar.java, java/awt/TextArea.java,
7440 java/awt/TextField.java,
7441 java/awt/image/renderable/RenderContext.java,
7442 javax/swing/JApplet.java: Fix handling of alias methods, where a
7443 method has been deprecated in favour of a new one with the same
7444 funtion but a different name. Put the method implementation in
7445 the deprecated method and have the new method call the
7446 deprecated one. Make all other code call the new method.
7448 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
7450 * gnu/java/nio/DatagramChannelImpl.java
7451 (inChannelOperation): New field.
7452 (isInChannelOperation): New accessor.
7453 (setInChannelOperation): New modifier.
7454 (receive): Use capacity() - position() of destination
7455 buffer instead of remaining(). Set and reset our "in
7456 channel operation indicator" before and after delegating
7457 the receive to our datagram socket. Removed testing code.
7458 Update destination buffer's current position if it is
7459 backed by a byte array (hasArray() is true).
7460 (send): Set and reset our "in channel operation indicator"
7461 before and after delegating the send to our datagram socket.
7462 Removed testing code. Update source buffer's current position
7463 if it is backed by a byte array (hasArray() is true).
7464 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
7465 Use capacity() - position() of destination buffer instead
7467 * java/net/DatagramSocket.java (receive): Don't throw an
7468 IllegalBlockingModeException if we have a non-blocking
7469 channel which initiated this operation.
7472 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
7474 * configure.in: Add pkgconfig check for glib and gthread.
7475 * configure: Regenerate.
7477 2004-02-01 Michael Koch <konqueror@gmx.de>
7479 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
7481 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
7482 * verify.cc (debug_print): Mark 'fmt' unused.
7484 2004-01-30 Michael Koch <konqueror@gmx.de>
7486 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
7487 * configure: Regenerated.
7488 * glib-2.0.m4: Removed.
7489 * gtk-2.0.m4: Removed.
7490 * libart.m4: Removed.
7493 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
7495 * gnu/java/net/PlainSocketImpl.java
7496 (inChannelOperation): New field.
7497 (isInChannelOperation): New accessor.
7498 (setInChannelOperation): New modifier.
7499 * gnu/java/nio/ServerSocketChannelImpl.java
7500 (accept): Set and reset our server socket's PlainSocketImpl's
7501 "in channel operation" indicator before and after delegating
7502 the accept to our server socket.
7503 * gnu/java/nio/SocketChannelImpl.java
7504 (connect): Set and reset our socket's PlainSocketImpl's "in channel
7505 operation" indicator before and after delegating the operation to
7509 * java/net/ServerSocket.java (implAccept): Don't throw an
7510 IllegalBlockingModeException if we have a non-blocking
7511 channel which initiated this accept operation.
7512 * java/net/Socket.java (connect): Don't throw an
7513 IllegalBlockingModeException if we have a non-blocking
7514 channel which initiated this connect operation.
7515 * java/nio/channels/spi/AbstractSelectableChannel.java
7516 (configureBlocking): Only call implConfigureBlocking() if
7517 the desired blocking mode is different from our current one.
7519 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
7521 * java/io/BufferedReader.java (sbuf): New field.
7522 (readLine): Use String.valueOf instead of new String() as per
7523 Per Bothner's suggestion. Use instance sbuf field instead of a
7524 local StringBuffer instance.
7525 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
7526 caller's buffer to refill().
7527 (read(void)): Pass our internal work buffer to refill if our
7528 input queue is empty.
7529 (refill): Changed return type to int. Use the specified buffer
7530 instead of our work buffer as per Bryce McKinlay's suggestion.
7531 Return the number of characters read or -1 for EOF.
7533 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
7535 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
7537 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
7539 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
7540 * Makefile.in: Re-generated.
7541 * gnu/awt/xlib/XFontPeer.java: New file.
7542 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
7543 (setClip): Commented out debug printout.
7544 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
7545 (getFontPeer): Return XFontPeer.
7546 (getLocalGraphicsEnvironment): New method.
7547 (getClasspathFontPeer): New method.
7548 (createFont): New method.
7550 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
7552 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
7555 2004-01-29 Kim Ho <kho@redhat.com>
7557 * gnu/java/awt/peer/gtk/GtkFramePeer.java
7558 (gtkLayoutSetVisible): New method
7559 (setMenuBar): Hide layout before setting MenuBar
7560 and reshow it after.
7561 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7562 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
7564 2004-01-28 Michael Koch <konqueror@gmx.de>
7566 * gnu/java/lang/ClassHelper.java
7567 (getPackagePortion): Removed.
7569 2004-01-28 Michael Koch <konqueror@gmx.de>
7571 * javax/swing/JComponent.java
7572 (listenerList): Initalize globally.
7573 (ancestor_list): Removed.
7574 (veto_list): Removed.
7575 (change_list): Removed.
7576 (get_veto_list): Removed.
7577 (get_change_list): Removed.
7578 (get_ancestor_list): Removed.
7579 (removeAncestorListener): Reimplemented.
7580 (removePropertyChangeListener): Likewise.
7581 (removeVetoableChangeListener): Likewise.
7582 (addAncestorListener): Likewise.
7583 (addPropertyChangeListener): Likewise.
7584 (addVetoableChangeListener): Likewise.
7585 (getListeners): New method.
7586 (getAncestorListeners): Likewise.
7587 (getVetoableChangeListeners): Likewise.
7588 (fireVetoableChange): Throws PropertyVetoException.
7589 * javax/swing/JEditorPane.java
7590 (JEditorPane): Throws IOException.
7592 2004-01-28 David Jee <djee@redhat.com>
7594 * gnu/java/awt/peer/gtk/GtkFramePeer.java
7595 (create): Set the default foreground color to
7596 java.awt.SystemColor.windowText.
7598 2004-01-27 Michael Koch <konqueror@gmx.de>
7600 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
7601 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
7602 Reindented to merge with classpath.
7604 2004-01-27 David Jee <djee@redhat.com>
7606 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7607 (addExposeFilter): Handle GtkFramePeer separately.
7608 (removeExposeFilter): Likewise.
7610 2004-01-27 Michael Koch <konqueror@gmx.de>
7612 * gnu/java/net/protocol/http/Connection.java
7613 (getOutputStream): Fixed typo.
7615 2004-01-27 Michael Koch <konqueror@gmx.de>
7617 * java/lang/Class.java
7618 (getConstructor): Removed SecurityException from throws clause.
7619 (_getConstructors): Likewise.
7620 (getConstructors): Likewise.
7621 (getDeclaredConstructor): Likewise.
7622 (getDeclaredClasses): Likewise.
7623 (getDeclaredConstructors): Likewise.
7624 (getDeclaredField): Likewise.
7625 (getDeclaredMethod): Likewise.
7626 (getDeclaredMethods): Likewise.
7627 (getField): Likewise.
7628 (getMethod): Likewise.
7629 (getMethods): Likewise.
7631 2004-01-27 Kim Ho <kho@redhat.com>
7633 * gnu/java/awt/peer/gtk/GtkFramePeer.java
7634 (removeMenuBarPeer): Remove MenuBarPeer argument.
7635 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
7636 (dispose): Call native method.
7637 * java/awt/Frame.java (setMenuBar): Create and remove
7638 MenuBar peers only if the Frame has a peer.
7639 (addNotify): Create the MenuBar peer if one exists.
7640 (removeNotify): Remove MenuBar peer if one exists.
7641 * java/awt/Menu.java: Fix imports.
7642 (addNotify): Don't use full class name.
7643 (removeNotify): Call removeNotify on all children.
7644 * java/awt/MenuBar.java (removeNotify): Call
7645 removeNotify on all children.
7646 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7647 (removeMenuBarPeer): Remove MenuBarPeer argument.
7648 Iterate through children to find the Frame's MenuBar.
7649 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
7651 (dispose): Remove references to the MenuComponent.
7653 2004-01-27 Michael Koch <konqueror@gmx.de>
7655 * javax/swing/AbstractCellEditor.java: Reformated.
7656 * javax/swing/DefaultListSelectionModel.java
7657 (listenerList): Made protected.
7658 (addListSelectionListener): Javadoc added.
7659 (removeListSelectionListener): Likewise.
7660 (getListeners): Likewise.
7661 (getListSelectionListeners): Likewise.
7662 * javax/swing/JComboBox.java: Merged copyright year.
7663 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
7665 2004-01-26 Andrew Haley <aph@redhat.com>
7667 * javax/swing/table/JTableHeader.java: Extend JComponent
7669 2004-01-26 Kim Ho <kho@redhat.com>
7671 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
7674 2004-01-26 Kim Ho <kho@redhat.com>
7676 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
7678 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
7679 height and let the Layout Managers readjust anything that
7681 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7682 (moveLayout): New method. Shift everything in the Gtk
7683 layout in the Y direction by an offset.
7685 2004-01-26 David Jee <djee@redhat.com>
7687 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7688 (handleEvent): Implemented. Handles PaintEvents.
7689 (paint): Implemented. Use GTK native methods to queue updates
7690 for this heavyweight peer.
7691 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
7692 (handleEvent): Removed.
7693 * java/awt/Component.java
7694 (paint): Implemented. Explictly paint the heavyweight peer.
7695 (update): Clear the background for heavyweight components.
7696 (paintAll): No need to call peer.paint() anymore.
7697 (processEvent): Don't process PaintEvents here. It's now done in
7698 the peer's handleEvent().
7699 (processPaintEvent): Removed.
7700 * java/awt/Container.java
7701 (paint): No need to call super.paint(). Visit heavyweight
7703 (update): Don't clear the background here. It's done in
7705 (visitChildren): Added check to not recurse into Containers.
7706 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7707 (filter_expose_event_handler): New method. Filter unwanted
7708 expose events while painting heavyweight peers.
7709 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
7710 New method. Connect filter and block pre_event_handler.
7711 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
7712 New method. Disconnect filter and unblock pre_event_handler.
7713 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
7714 New method. Invalidate and update given area.
7715 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7716 (pre_event_handler): Add checks for unwanted expose events.
7718 2004-01-26 David Jee <djee@redhat.com>
7720 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7721 (find_bg_color_widget): For GtkButton, return its child.
7723 2004-01-26 Kim Ho <kho@redhat.com>
7725 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
7727 (setMenuBar): Grab MenuBar height and change insets.
7728 (setBounds): Account for MenuBar height.
7729 (postInsetsChangedEvent): Ditto.
7730 (postSizeAllocateEvent): Remove.
7731 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7732 (menubar_resize_cb): Remove
7733 (setMenuBarPeer): Remove callback.
7734 (getMenuBarHeight): Use size requisition instead of
7737 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
7739 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
7740 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
7742 (setColumns): Remove FIXME -- peer will retrieve number of
7743 columns by calling getColumns.
7744 (setRows): Likewise for number of rows.
7745 (next_text_number): New field.
7746 (paramString): Fix param string.
7747 (generateName): New method.
7748 (getUniqueLong): New method.
7750 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
7752 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
7753 image observer of image loading status.
7754 (getImage (String)): Start image production.
7755 (getImage (URL)): Likewise.
7757 2004-01-25 Michael Koch <konqueror@gmx.de>
7759 * java/lang/Class.java: Imports reworked, reformated.
7760 (Class): Javadoc added.
7761 (forName): Likewise.
7762 (getClasses): Likewise.
7763 (getClassLoader): Likewise.
7764 (getComponentType): Likewise.
7765 (getConstructor): Likewise.
7766 (getConstructors): Likewise.
7767 (getDeclaredConstructor): Likewise.
7768 (getDeclaredClasses): Likewise.
7769 (getDeclaredConstructors): Likewise.
7770 (getDeclaredField): Likewise.
7771 (getDeclaredMethod): Likewise.
7772 (getDeclaredMethods): Likewise.
7773 (getDeclaringClass): Likewise.
7774 (getField): Likewise.
7775 (getInterfaces): Likewise.
7776 (getMethod): Likewise.
7777 (getMethods): Likewise.
7778 (getModifiers): Likewise.
7779 (getName): Likewise.
7780 (getResource): Likewise.
7781 (getResourceAsStream): Likewise.
7782 (getSigners): Likewise.
7783 (setSigners): Likewise.
7784 (getSuperclass): Likewise.
7785 (isArray): Likewise.
7786 (isAssignableFrom): Likewise.
7787 (isInstance): Likewise.
7788 (isInterface): Likewise.
7789 (isPrimitive): Likewise.
7790 (newInstance): Likewise.
7791 (getProtectionDomain): Likewise.
7792 (toString): Likewise.
7794 (initializeClass): Likewise.
7795 (finalize): Likewise.
7797 2004-01-24 Michael Koch <konqueror@gmx.de>
7799 * gnu/java/net/protocol/jar/Connection.java
7802 (gotHeaders): Removed.
7803 (getHeaderField): Removed.
7804 (getHeaderFields): Removed.
7805 (getHeaderFieldKey): Removed.
7807 (getField): Removed.
7808 (getHeaders): Removed.
7810 2004-01-24 Michael Koch <konqueror@gmx.de>
7812 * Makefile.am: Added library version to gtk peer lib.
7813 * Makefile.in: Regenerated.
7815 2004-01-24 Michael Koch <konqueror@gmx.de>
7817 * java/util/zip/InflaterInputStream.java: Merged class documentation
7820 2004-01-21 Jakub Jelinek <jakub@redhat.com>
7822 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
7823 header. For __powerpc64__ provide the default-signal.h definitions
7825 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
7826 instead of the dummy definitions.
7827 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
7828 (powerpc64*-*): Remove with_libffi_default.
7829 Only add -mminimal-toc for 64-bit compilations.
7830 * configure.in: Use powerpc-signal.h on powerpc64 as well.
7831 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
7832 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
7833 * configure: Rebuilt.
7835 2004-01-23 Michael Koch <konqueror@gmx.de>
7837 * gnu/java/nio/FileLockImpl.java: Compile fixes.
7839 2004-01-23 Michael Koch <konqueror@gmx.de>
7841 * java/lang/VMClassLoader.java: Reworked imports.
7843 2004-01-23 Michael Koch <konqueror@gmx.de>
7845 * javax/swing/AbstractAction.java: Reformated.
7847 2004-01-23 Michael Koch <konqueror@gmx.de>
7849 * java/text/CollationElementIterator.java:
7850 (setText): New method.
7852 2004-01-23 Michael Koch <konqueror@gmx.de>
7854 * gnu/java/nio/FileLockImpl.java:
7855 Fixed filename in copyright.
7856 (released): Removed.
7857 (finalize): New method.
7858 * gnu/java/nio/natFileLockImpl.cc
7859 (releaseImpl): Implemented.
7860 * java/nio/channels/FileChannelImpl.java:
7862 (lock): Implemented.
7863 (lockImpl): New method.
7864 (tryLock): Implemented.
7865 (tryLockImpl): New method.
7866 * java/nio/channels/natFileChannelImpl.cc
7867 (lockImpl): New method.
7868 (tryLockImpl): New method.
7870 2004-01-23 Michael Koch <konqueror@gmx.de>
7872 * java/io/FileDescriptor.java
7874 (tryLock): New method.
7875 (unlock): New method.
7876 * java/io/natFileDescriptorEcos.cc
7878 (tryLock): New method.
7879 (unlock): New method.
7880 * java/io/natFileDescriptorPosix.cc
7882 (tryLock): New method.
7883 (unlock): New method.
7884 * java/io/natFileDescriptorWin32.cc
7886 (tryLock): New method.
7887 (unlock): New method.
7889 2004-01-23 Michael Koch <konqueror@gmx.de>
7891 * java/io/FileDescriptor.java
7892 (sync): Moved around, added javadoc.
7897 (setLength): Likewise.
7899 (getLength): Likewise.
7900 (getFilePointer): Likewise.
7902 (available): Likewise.
7903 (finalize): Likewise.
7905 2004-01-23 Michael Koch <konqueror@gmx.de>
7907 * javax/swing/AbstractAction.java: Reformated.
7908 (getPropertyChangeListeners): New method.
7909 * javax/swing/AbstractCellEditor.java: Reformated.
7910 (getCellEditorListeners): New method.
7911 * javax/swing/DefaultListSelectionModel.java
7912 (listenerList): New field.
7913 (listeners): Removed.
7914 (get_listeners): Removed.
7915 (addListSelectionListener): Rewritten.
7916 (removeListSelectionListener): Rewritten.
7917 (getListSelectionListeners): New method.
7918 (getListeners): New method.
7919 * javax/swing/JComboBox.java: Imports reworked.
7920 (addActionListener): Implemented.
7921 (removeActionListener): Implemented.
7922 (addItemListener): Implemented.
7923 (removeItemListener): Implemented.
7924 (addPopupMenuListener): Implemented.
7925 (removePopupMenuListener): Implemented.
7926 (getActionListeners): New method.
7927 (getItemListeners): New method.
7928 (getPopupMenuListeners): New method.
7930 2004-01-23 Michael Koch <konqueror@gmx.de>
7932 * gnu/java/net/protocol/http/Connection.java
7933 (connect): Don't initialize bufferedOutputStream if not needed.
7934 (sendRequest): Set property for content length if content is present.
7935 Write content only if present.
7936 (getOutputStream): Check if already connected, dont connect,
7937 initalize bufferedOutputStream if needed.
7939 2004-01-23 Michael Koch <konqueror@gmx.de>
7941 * java/io/FileDescriptor.java
7942 (in, out, err): Added javadoc.
7943 (static): Merged loading code.
7944 (fd, position): Moved around.
7946 2004-01-23 Michael Koch <konqueror@gmx.de>
7948 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
7951 2004-01-23 Michael Koch <konqueror@gmx.de>
7953 * java/lang/Class.java,
7954 java/lang/Object.java,
7955 java/lang/Thread.java: Merged copyright with classpath.
7957 2004-01-23 Michael Koch <konqueror@gmx.de>
7959 * java/io/FileDescriptor.java: Merged copyright with classpath to
7960 start merging this class.
7962 2004-01-22 Tom Tromey <tromey@redhat.com>
7965 * testsuite/libjava.lang/pr13107_2.xfail: New file.
7966 * testsuite/libjava.lang/pr13107_3.xfail: New file.
7967 * testsuite/libjava.lang/pr13107_3.java: New file.
7968 * testsuite/libjava.lang/pr13107_3.out: New file.
7969 * testsuite/libjava.lang/pr13107_2.java: New file.
7970 * testsuite/libjava.lang/pr13107_2.out: New file.
7971 * testsuite/libjava.lang/pr13107.java: New file.
7972 * testsuite/libjava.lang/pr13107.out: New file.
7973 * verify.cc (jsr_ptrs): Removed.
7974 (entry_points): Likewise.
7975 (struct subr_info): Likewise.
7976 (struct subr_entry_info): Likewise.
7977 (type_val::unused_by_subroutine_type): Likewise.
7978 (type::merge): Don't handle unused_by_subroutine_type.
7979 (type::print): Likewise.
7980 (state::flags): Removed.
7981 (state::subroutine): Likewise.
7982 (state::seen_subrs): Likewise.
7983 (state::NO_STACK): Likewise.
7984 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
7985 (state): Updated all methods.
7986 (state::clean_subrs): Removed.
7987 (state::state): Removed `ret_semantics' flag.
7988 (state::copy): Likewise.
7989 (state::add_subr): Removed.
7990 (state::enter_subroutine): Likewise.
7991 (type::set_return_address): New method.
7992 (handle_jsr_insn): Set return address on the type. Always
7993 invalidate PC after call.
7994 (check_nonrecursive_call): Removed.
7995 (~_Jv_BytecodeVerifier): Updated.
7996 (branch_prepass): Removed special handling of jsr.
7997 (note_branch_target): Likewise.
7998 (get_subroutine): Removed.
7999 (state::merge): Don't merge subroutines and don't handle
8000 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
8001 (state::note_variable): Removed.
8002 (state::is_unmerged_ret_state): Likewise.
8003 (state::print): Updated.
8004 (set_variable): Likewise.
8005 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
8006 and jsr_semantics arguments. Updated for new reverification
8008 (pop_jump): Rewrote.
8009 (construct_primitive_array_type): Updated.
8010 (state::next): Removed.
8011 (INVALID_STATE): New define.
8012 (state::INVALID): Removed.
8013 (state::NO_NEXT): New value.
8014 (state::pc, state::next): New fields.
8015 (state::get_pc): New method.
8016 (next_verify_pc): Removed.
8017 (next_verify_state): New field.
8018 (verify_instructions_0): Always check for falling off end.
8020 (linked_utf8): Removed.
8021 (states): Changed type.
8022 (type::state_mergeable_p): New method.
8023 (state::state_mergeable_p): Likewise.
8024 (handle_ret_insn): Removed most code.
8025 (state::reverify): New method.
8026 (add_new_state): Likewise.
8027 (state::set_pc): Likewise.
8029 2004-01-22 Jeff Sturm <jsturm@one-point.com>
8032 * testsuite/libjava.compile/PR13733.java: New file.
8033 * testsuite/libjava.compile/PR13733.xfail: New file.
8035 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
8036 Michael Koch <konqueror@gmx.de>
8038 * javax/swing/table/DefaultTableCellRenderer.java
8039 (DefaultTableCellRenderer): Added javadoc for the class and for
8040 the constructor, Border instance, create an EmptyBorder.
8041 (UIResource): Removed the comment at the end of the class
8042 (setForeground): New method.
8043 (setBackground): New method.
8044 (updateUI): New method.
8045 (getTableCellRendererComponent): Rewritten with the help of
8046 dvholten and Stephane Meslin-Weber.
8047 (validate): New method.
8048 (repaint): New method.
8049 (firePropertyChange): New method.
8050 (setValue): New method.
8052 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8054 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8055 (connectJObject): Replace printf calls with g_assert statements.
8056 Move property-notify-event signal connection to ...
8057 (connectSignals): Connect property-notify-event signal. Iterate
8058 through the vbox's children to find layout.
8060 2004-01-22 Graydon Hoare <graydon@redhat.com>
8062 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
8063 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
8064 Predicate static initialization on GtkToolkit.useGraphics2D().
8065 * java/awt/Component.java (processPaintEvent): Consume event.
8066 * javax/swing/AbstractButton.java: Reimplement, document.
8067 * javax/swing/DefaultButtonModel.java: Reimplement, document.
8068 * javax/swing/JComponent.java (paint): Use double buffer.
8069 (listenerList): Enable member.
8070 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
8071 * javax/swing/JToggleButton.java
8072 (JToggleButton): Modify model constructor.
8073 * javax/swing/SwingUtilities.java
8074 (layoutCompoundLabel): Adjust arithmetic.
8075 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
8076 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8077 (getPreferredButtonSize): Include margins in calculation.
8078 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8079 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
8080 Receive up events from subordinate layout component.
8082 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8084 * java/awt/Component.java (show): Set visible to true before
8087 2004-01-21 Kim Ho <kho@redhat.com>
8089 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
8091 (removeMenuBarPeer): Make package private.
8092 (setMenuBarPeer): Make package private.
8093 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8094 (menubar_resize_cb): Mark attributes unused.
8095 (getMenuBarHeight): ditto.
8097 2004-01-21 David Jee <djee@redhat.com>
8099 * java/awt/Container.java
8100 (LightweightDispatcher.handleEvent): Add an extra check to avoid
8101 dispatching MOUSE_ENTERED event twice. Translate the point for
8102 the mouse event target before dispatching the event.
8104 2004-01-20 Jakub Jelinek <jakub@redhat.com>
8106 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
8107 lib_org_w3c_dom_la_LDFLAGS): New.
8108 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
8109 * Makefile.in: Rebuilt.
8111 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
8113 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
8114 Calculate proper offsets for heavyweight components packed in
8115 lightweight containers.
8117 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
8118 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
8119 (native create): Add width parameter.
8120 (create): Calculate text entry width based on current font's
8121 metrics and number of columns. Set TextField's font if not
8122 already set. Call native create.
8123 (gtkEntryGetBorderWidth): New native method.
8124 (gtkEntryGetSize): Remove method.
8125 (getMinimumSize): Call minimumSize.
8126 (getPreferredSize): Call preferredSize.
8127 (minimumSize): Calculate minimum size based on backing
8128 GtkEntry's borders, font metrics and number of columns.
8129 (preferredSize): Likewise for preferred size.
8130 (get_border_width): New static function.
8132 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
8133 Override GtkWindowPeer's setResizable method to account for menu
8134 bar height when setting the frame's size.
8136 2004-01-19 Matthias Klose <doko@debian.org>
8138 * libtool-version: Increased `current' to 6.
8140 2004-01-19 Kim Ho <kho@redhat.com>
8142 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8143 (connectJObject): Iterate through the vbox's children to find layout.
8145 2004-01-19 Fernando Nasser <fnasser@redhat.com>
8147 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
8148 isDispatchThread method to replace wrong test condition.
8150 2004-01-19 Fernando Nasser <fnasser@redhat.com>
8152 * java/awt/EventQueue.java (pop): Prevent racing condition to add
8153 events to the queue out of order by acquiring locks in the proper
8154 order and not by releasing one before acquiring the other.
8156 2004-01-19 Fernando Nasser <fnasser@redhat.com>
8158 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
8159 visible so that dialog can be reused.
8161 2004-01-19 Fernando Nasser <fnasser@redhat.com>
8163 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
8164 events may be handled by any queue in the stack.
8166 2004-01-19 Kim Ho <kho@redhat.com>
8168 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
8169 MenuBarPeer parameter.
8170 (removeMenuBarPeer): New native method.
8171 (setMenuBar): Call remove if menu bar is null. Adjust insets
8173 (postSizeAllocateEvent): New method. Called when menu bar size is
8174 allocated. Adjust insets and redo layout.
8175 (GtkFramePeer): Set menu bar during frame creation.
8176 (postConfigureEvent): Adjust position and size to accomodate
8178 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
8179 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
8180 (addNotify): Create the peer if it doesn't exist and call addNotify
8181 for the menu's items.
8182 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
8183 * java/awt/MenuItem.java (addNotify): Create the peer if it
8185 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8186 (removeMenuBarPeer): New method. Remove menu bar on the current
8188 (setMenuBarPeer): Add the menu bar to the current frame and the
8189 callback for size-allocate events on the menu bar.
8190 (getMenuBarHeight): Add menu bar parameter.
8191 (menubar_resize_cb): New callback method for postSizeAllocate events.
8193 Also: Fix indentation on last ChangeLog entry.
8195 2004-01-16 Kim Ho <kho@redhat.com>
8197 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
8198 (gtkWidgetGetDimensions): Remove.
8199 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8200 (gtkWidgetGetDimensions): Remove.
8202 2004-01-16 Tom Tromey <tromey@redhat.com>
8204 * java/awt/Container.java: Typo and indentation fixes.
8206 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
8207 * java/lang/natVMClassLoader.cc: ...here. New file.
8208 * Makefile.in: Rebuilt.
8209 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
8211 2004-01-16 Fernando Nasser <fnasser@redhat.com>
8213 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
8214 Discard GDK_ENTER_NOTIFY related to ungrabs.
8216 2004-01-16 Fernando Nasser <fnasser@redhat.com>
8218 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
8219 is called for an intermediate queue.
8221 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
8223 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8224 (window_property_changed_cb): Set id_set.
8226 2004-01-16 Kim Ho <kho@redhat.com>
8228 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
8229 it is a FileDialog and has dimensions of 0 by 0, then the initial
8230 size is set to size request plus insets.
8231 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
8232 (gtkWidgetGetDimensions): Override method.
8233 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8234 (gtkWidgetGetDimensions): Override method. Returns size request plus
8237 2004-01-16 Andrew Haley <aph@redhat.com>
8239 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
8240 * sysdep/i386/locks.h: Likewise.
8242 2004-01-16 Fernando Nasser <fnasser@redhat.com>
8244 * java/awt/EventDispatchThread.java (run): Stop running when
8246 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
8247 Reset the queue after transferring its contents.
8248 (push): Start a new dispatch thread if none is running.
8250 2004-01-16Â Olga Rodimina <rodimina@redhat.com>
8252 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8253 (doPolygon): set fill rule of polygon to
8254 WIND_EVEN_ODD by default.
8256 2004-01-15 Olga Rodimina <rodimina@redhat.com>
8258 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8259 Implemented rendering hints related methods.
8260 (getDefaultHints): New helper method. Returns
8261 default rendering hints.
8262 (walkPath): changed to normalize path if
8263 the KEY_STROKE_CONTROL key is in "normalize" mode.
8264 (draw3DRect): changed coordinates of rectangle by +0.5
8265 if in "normalize" mode.
8267 2004-01-15 Tom Tromey <tromey@redhat.com>
8269 * Makefile.in: Rebuilt.
8270 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
8271 (%.lo: %.java) Filter out StackTrace.lo.
8273 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
8275 * configure.in: Add in AC_PREREQ(2.13)
8276 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
8279 2004-01-14 Nathan Bryant <nbryant@optonline.net>
8280 Tom Tromey <tromey@redhat.com>
8283 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
8284 array to superclass.
8285 (init): Changed interface; add URLs here.
8286 (initialize): New static method.
8287 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
8288 (_Jv_RunMain): ... not here.
8290 2004-01-14 Michael Koch <konqueror@gmx.de>
8292 * java/text/MessageFormat.java:
8293 Added descriptions to exceptions.
8294 This fixes PR libgcj/2429.
8296 2004-01-13 Fernando Nasser <fnasser@redhat.com>
8298 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
8299 (push): Make sure push is performed at the top of the thread stack.
8301 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8303 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8304 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8305 (native create): Add width and height parameters. Set text
8306 view's size request according to new parameters.
8307 (create): Calculate text view size based on current font's
8308 metrics and number of rows and columns. Set TextArea's font if
8309 not already set. Call native create.
8310 (getMinimumSize): Call minimumSize.
8311 (getPreferredSize): Call preferredSize.
8312 (getHScrollbarHeight): New method.
8313 (getVScrollbarWidth): New method.
8314 (minimumSize): Calculate minimum size based on scrollbar
8315 visibility, scrollbar sizes, font metrics and number of rows and
8317 (preferredSize): Likewise for preferred size.
8318 (gtkTextGetSize): Remove method.
8320 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8322 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8323 (initializeInsets): Remove method.
8324 (GtkComponentPeer): Initialize insets field. Remove call to
8326 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
8328 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
8330 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
8331 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
8332 (latestInsets): Remove field.
8333 (native create): Add insets parameter. Call
8334 window_get_frame_extents. Set the window's default size and
8335 size request based on its frame extents.
8336 (create): Initialize insets.
8337 (postInsetsChangedEvent): New method.
8338 (postConfigureEvent): Remove parameters top, left, bottom,
8339 right. Remove insets-related logic.
8340 (connectJObject): Handle property-notify-event.
8341 (window_get_frame_extents, request_frame_extents,
8342 property_notify_predicate, window_property_changed_cb): New
8344 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8345 (pre_event_handler): Remove insets-related logic for configure
8347 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
8348 Update postConfigureEvent signature.
8350 2004-01-13 Fernando Nasser <fnasser@redhat.com>
8352 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
8353 to handle Window "Closing" events.
8355 2004-01-13 David Jee <djee@redhat.com>
8357 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8358 (setBackground): New method. Children with no explicitly-set
8359 background will be repainted with the parent container's new
8362 2004-01-13 David Jee <djee@redhat.com>
8364 * Makefile.am: Add BitwiseXORComposite.java.
8365 * Makefile.in: Regenerated.
8366 * gcj/Makefile.in: Regenerated.
8367 * include/Makefile.in: Regenerated.
8368 * testsuite/Makefile.in: Regenerated.
8370 2004-01-12 Fernando Nasser <fnasser@redhat.com>
8372 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
8373 not show modal dialogs twice and so that it allows showing a modal
8374 dialog from another modal dialog.
8376 2004-01-12 Fernando Nasser <fnasser@redhat.com>
8378 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
8379 and run secondary dispatch thread to process event queue while this
8382 2004-01-12 Graydon Hoare <graydon@redhat.com>
8384 * gnu/java/awt/gtk/GdkGraphics2D.java
8385 (static): Check GtkToolkit before initializing static state.
8386 (Graphics2D): Don't construct transform with 0.5 unit offset.
8388 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
8390 * gnu/java/awt/BitwiseXORComposite.java: Add.
8391 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8392 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
8393 (BitwiseXORComposite): Remove inner class.
8395 2004-01-11 Michael Koch <konqueror@gmx.de>
8397 * gnu/java/lang/reflect/TypeSignature.java
8398 (getEncodingOfClass): Documentation fixed.
8399 (getClassForEncoding): Give class loader to Class.forName().
8400 Documentation fixed.
8402 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
8404 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
8406 2004-01-11 Michael Koch <konqueror@gmx.de>
8408 * javax/swing/undo/StateEditable.java
8409 (RCSID): Removed redundant modifiers.
8411 2004-01-10 Michael Koch <konqueror@gmx.de>
8413 * javax/print/attribute/EnumSyntax.java
8414 (getStringTable): Made protected.
8415 (getEnumValueTable): Likewise.
8416 * javax/print/attribute/standard/JobKOctetsProcessed.java
8417 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
8418 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
8419 (JobMediaSheetsCompleted): Made class final.
8420 * javax/print/attribute/standard/OutputDeviceAssigned.java
8421 (getName): Fixed typo.
8422 * javax/print/attribute/standard/RequestingUserName.java
8423 (serialVersionUID): Fixed value.
8425 2004-01-10 Michael Koch <konqueror@gmx.de>
8427 * javax/swing/plaf/basic/BasicButtonUI.java,
8428 javax/swing/plaf/basic/BasicCheckBoxUI.java,
8429 javax/swing/plaf/basic/BasicListUI.java,
8430 javax/swing/plaf/basic/BasicOptionPaneUI.java,
8431 javax/swing/plaf/basic/BasicPanelUI.java,
8432 javax/swing/plaf/basic/BasicRadioButtonUI.java,
8433 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8434 javax/swing/plaf/basic/BasicToggleButtonUI.java,
8435 javax/swing/plaf/basic/BasicViewportUI.java:
8436 Fixed import statements.
8438 2004-01-10 Michael Koch <konqueror@gmx.de>
8440 * gnu/java/awt/image/ImageDecoder.java
8441 (produce): Made public.
8442 * gnu/java/awt/peer/GLightweightPeer.java,
8443 gnu/java/awt/peer/gtk/GtkToolkit.java:
8446 2004-01-10 Michael Koch <konqueror@gmx.de>
8448 * javax/swing/JRadioButtonMenuItem.java,
8449 javax/swing/JSeparator.java,
8450 javax/swing/JSplitPane.java,
8451 javax/swing/JTextPane.java,
8452 javax/swing/JToolBar.java,
8453 javax/swing/ListCellRenderer.java,
8454 javax/swing/ListModel.java,
8455 javax/swing/MenuElement.java,
8456 javax/swing/OverlayLayout.java,
8457 javax/swing/ProgressMonitor.java,
8458 javax/swing/ProgressMonitorInputStream.java,
8459 javax/swing/Renderer.java,
8460 javax/swing/RootPaneContainer.java,
8461 javax/swing/Scrollable.java,
8462 javax/swing/SingleSelectionModel.java,
8463 javax/swing/ToolTipManager.java,
8464 javax/swing/ViewportLayout.java,
8465 javax/swing/event/DocumentEvent.java,
8466 javax/swing/event/SwingPropertyChangeSupport.java,
8467 javax/swing/event/TreeSelectionEvent.java,
8468 javax/swing/event/UndoableEditEvent.java,
8469 javax/swing/text/AbstractDocument.java,
8470 javax/swing/text/AttributeSet.java,
8471 javax/swing/text/Caret.java,
8472 javax/swing/text/ComponentView.java,
8473 javax/swing/text/DefaultCaret.java,
8474 javax/swing/text/DefaultEditorKit.java,
8475 javax/swing/text/Document.java,
8476 javax/swing/text/EditorKit.java,
8477 javax/swing/text/GapContent.java,
8478 javax/swing/text/Keymap.java,
8479 javax/swing/text/MutableAttributeSet.java,
8480 javax/swing/text/PlainEditorKit.java,
8481 javax/swing/text/Segment.java,
8482 javax/swing/text/Style.java,
8483 javax/swing/text/StyledDocument.java,
8484 javax/swing/text/StyledEditorKit.java,
8485 javax/swing/text/TextAction.java,
8486 javax/swing/text/View.java: Fixed import statements.
8488 2004-01-08 Graydon Hoare <graydon@redhat.com>
8490 * javax/swing/JLayeredPane.java: Rewrite to accomodate
8491 djee@redhat.com's recent inverse ordering of Container elements.
8493 2004-01-09 Michael Koch <konqueror@gmx.de>
8495 * gnu/java/lang/ArrayHelper.java
8496 (equalsArray): Removed.
8498 2004-01-09 Andrew Haley <aph@redhat.com>
8500 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
8501 a Utf8Const field before looking at its class.
8503 2004-01-09 Michael Koch <konqueror@gmx.de>
8505 * javax/print/attribute/standard/DocumentName.java,
8506 javax/print/attribute/standard/JobHoldUntil.java,
8507 javax/print/attribute/standard/JobMessageFromOperator.java,
8508 javax/print/attribute/standard/JobName.java,
8509 javax/print/attribute/standard/JobOriginatingUserName.java,
8510 javax/print/attribute/standard/OutputDeviceAssigned.java,
8511 javax/print/attribute/standard/PrinterInfo.java,
8512 javax/print/attribute/standard/PrinterLocation.java,
8513 javax/print/attribute/standard/PrinterMakeAndModel.java,
8514 javax/print/attribute/standard/PrinterMessageFromOperator.java,
8515 javax/print/attribute/standard/PrinterName.java,
8516 javax/print/attribute/standard/RequestingUserName.java: New files.
8517 * Makefile.am (javax_source_files): Added new files.
8518 * Makefile.in: Regenerated.
8520 2004-01-09 Michael Koch <konqueror@gmx.de>
8522 * javax/swing/AbstractAction.java,
8523 javax/swing/AbstractSet.java,
8524 javax/swing/Action.java,
8525 javax/swing/ActionMap.java,
8526 javax/swing/BoundedRangeModel.java,
8527 javax/swing/ButtonModel.java,
8528 javax/swing/CellEditor.java,
8529 javax/swing/CellRendererPane.java,
8530 javax/swing/ComboBoxEditor.java,
8531 javax/swing/DebugGraphics.java,
8532 javax/swing/DefaultCellEditor.java,
8533 javax/swing/DefaultCellRenderer.java,
8534 javax/swing/DefaultComboBoxModel.java,
8535 javax/swing/DefaultDesktopManager.java,
8536 javax/swing/DefaultFocusManager.java,
8537 javax/swing/DefaultListCellRenderer.java,
8538 javax/swing/Icon.java,
8539 javax/swing/JButton.java,
8540 javax/swing/JCheckBoxMenuItem.java,
8541 javax/swing/JDesktopPane.java,
8542 javax/swing/JEditorPane.java,
8543 javax/swing/JMenu.java,
8544 javax/swing/JPanel.java,
8545 javax/swing/JPasswordField.java,
8546 javax/swing/JPopupMenu.java,
8547 javax/swing/JProgressBar.java: Reworked imports.
8549 2004-01-09 Michael Koch <konqueror@gmx.de>
8551 * java/awt/geom/PathIterator.java
8552 (WIND_EVEN_ODD): Removed redundant modifiers.
8553 (WIND_NON_ZERO): Likewise.
8554 (SEG_MOVETO): Likewise.
8555 (SEG_LINETO): Likewise.
8556 (SEG_QUADTO): Likewise.
8557 (SEG_CUBICTO): Likewise.
8558 (SEG_CLOSE): Likewise.
8559 * java/awt/image/SinglePixelPackedSampleModel.java:
8560 Removed redundant semicolon.
8561 * java/io/ObjectInputStream.java
8562 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
8563 * java/util/logging/Filter.java
8564 (isLoggable): Removed redundant modifier.
8565 * java/util/logging/LogManager.java:
8566 Removed redundant semicolon.
8567 * java/util/logging/XMLFormatter.java
8568 (format): Removed unused variable "key".
8570 2004-01-08 Fernando Nasser <fnasser@redhat.com>
8572 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
8573 New name for the former setFile native method.
8574 (setFile): New method.
8575 (setDirectory): Implemented.
8576 (connectSignals): New native method.
8577 (setFilenameFilter): Improve comment.
8578 (getGraphics): Comment.
8579 (gtkHideFileDialog): New method.
8580 (gtkDisposeFileDialog): New method.
8581 (gtkSetFilename): New method.
8582 * java/awt/Dialog.java (show): Block on modal dialogs, but only
8583 for FileDialog for now.
8585 (dispose): New method.
8586 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8587 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
8588 deprecated creation functions. Make dialog modal. Add it to the
8590 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
8592 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
8594 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
8596 (window_closed): New function.
8597 (ok_clicked): New function.
8598 (cancel_clicked): New function.
8600 2004-01-08 Michael Koch <konqueror@gmx.de>
8602 * javax/swing/JLayeredPane.java: Revert changes to standard
8603 boilerplate, reworked imports.
8605 2004-01-07 Tom Tromey <tromey@redhat.com>
8608 * verify.cc (state::merge): Copy changed locals out of subroutine
8610 (state::FLAG_CHANGED): New const.
8611 (state::FLAG_UNUSED): Likewise.
8612 (state::local_changed): Removed. Updated all users.
8613 (state::flags): New field.
8614 (state::merge): Added jsr_semantics argument, more logic.
8615 (push_jump_merge): Added jsr_semantics argument.
8616 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
8617 merging through the jsr instruction.
8619 2004-01-07 Tom Tromey <tromey@redhat.com>
8621 * scripts/MakeDefaultMimeTypes.java: Use \n, not
8624 2004-01-07 Graydon Hoare <graydon@redhat.com>
8626 * java/awt/Container.java (LightweightDispatcher): Implement.
8627 (visitChild): Reuse graphics object.
8628 (dispatchEventImpl): Optionally dispatch to lightweight.
8629 (addNotifyContainerChildren): Build LightweightDispatcher.
8631 2004-01-07 David Jee <djee@redhat.com>
8633 * java/awt/Container.java
8634 (update): Clear only the clipped region, instead of clearing the
8636 (visitChildren): Visit children in descending order.
8638 2004-01-07 Michael Koch <konqueror@gmx.de>
8640 * java/lang/reflect/Array.java: Merged documentation with classpath.
8642 2004-01-07 Michael Koch <konqueror@gmx.de>
8644 * java/text/CollationElementIterator.java
8645 (textIndex): Renamed from index.
8646 * java/text/CollationKey.java
8647 (collator): New member.
8648 (CollationKey): New argument for parent collator.
8649 (equals): Check for same collator, source string and key array.
8650 * java/text/RuleBasedCollator.java:
8652 (RuleBasedCollator): Don't re-initialize frenchAccents with default
8654 (getCollationElementIterator): Rewritten.
8655 (getCollationKey): Added new argument to CollationKey constructor.
8657 2004-01-07 Michael Koch <konqueror@gmx.de>
8659 * gnu/java/nio/DatagramChannelImpl.java
8660 (blocking): Removed.
8661 (DatagramChannelImpl): Call configureBlocking().
8662 (implConfigureBlocking): Dont initialize blocking.
8663 * gnu/java/nio/ServerSocketChannelImpl.java
8664 (blocking): Removed.
8665 (ServerSocketChannelImpl): Call configureBlocking().
8666 (implConfigureBlocking): Dont initialize blocking.
8667 * gnu/java/nio/SocketChannelImpl.java
8668 (blocking): Removed.
8669 (SocketChannelImpl): Call configureBlocking().
8670 (implConfigureBlocking): Dont initialize blocking.
8671 (connect): Use isBlocking().
8672 * java/nio/channels/spi/AbstractSelectableChannel.java
8673 (configureBlocking): Use blockingLock() instead of LOCK.
8674 Set blocking after successfully called implConfigureBlocking().
8675 (register): Use blockingLock() instead of LOCK.
8677 2004-01-07 Michael Koch <konqueror@gmx.de>
8679 * java/net/ServerSocket.java (isBound): Fixed documentation.
8681 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
8683 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
8684 (changeEvent): Create event object on demand.
8685 (DefaultBoundedRangeModel, toString, setValue, setExtent,
8686 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
8687 fireStateChanged): Re-written.
8688 * javax/swing/event/EventListenerList.java: Reformatted, document
8690 (toString): Implemented.
8691 (getListeners): Re-written.
8692 (remove): Re-written.
8694 (NO_LISTENERS): New singleton field.
8695 (listenerList): Declare as transient; document.
8696 (serialVersionUID): Document.
8697 (getListenerCount(Class)): More efficient implementation,
8698 also accepts null argument. Improve Javadoc.
8699 (getListenerCount()): Remove unnecessary cast; docfix.
8700 * javax/swing/undo/UndoableEditSupport.java:
8701 Re-format, document.
8702 (UndoableEditSupport): Set realSource field. Improve documentation.
8703 (_postEdit): Iterate over cloned listener vector.
8704 (toString): Don't emit realSource.
8705 (beginUpdate, endUpdate): Support nested updates.
8706 (postEdit): Use compound edit if present.
8708 2004-01-06 Graydon Hoare <graydon@redhat.com>
8710 * java/awt/Container.java (swapComponents): Add forgotten
8711 function, required for JLayeredPane change.
8713 2004-01-06 Michael Koch <konqueror@gmx.de>
8715 * java/text/CollationElementIterator.java: Reformated.
8716 (CollationElementIterator): Changed order of arguments.
8717 * java/text/RuleBasedCollator.java
8718 (RuleBasedCollator): Merged class documentation.
8719 (CollationElement): Added documentation.
8720 (compare): Reformated, renamed arguments.
8722 (getCollationElementIterator): Likewise.
8723 (getCollationKey): Likewise.
8725 2004-01-06 Graydon Hoare <graydon@redhat.com>
8727 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
8729 2004-01-06 Michael Koch <konqueror@gmx.de>
8731 * gnu/java/net/protocol/file/Connection.java:
8732 Reformated copyright.
8735 (gotHeaders): Removed.
8736 (getHeaderField): Removed.
8737 (getHeaderField): Removed.
8738 (getHeaderFieldKey): Removed.
8740 (getField): Removed.
8741 (getHeaders): Removed.
8743 2004-01-06 Michael Koch <konqueror@gmx.de>
8745 * javax/print/attribute/standard/DateTimeAtCompleted.java,
8746 javax/print/attribute/standard/DateTimeAtCreation.java,
8747 javax/print/attribute/standard/DateTimeAtProcessing.java,
8748 javax/print/attribute/standard/JobImpressionsCompleted.java,
8749 javax/print/attribute/standard/JobKOctets.java,
8750 javax/print/attribute/standard/JobKOctetsProcessed.java,
8751 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
8752 javax/print/attribute/standard/JobPrioritySupported.java: New files.
8753 * Makefile.am (javax_source_files): Added new files.
8754 * Makefile.in: Regenerated.
8756 2004-01-06 Michael Koch <konqueror@gmx.de>
8758 * java/net/URLConnection.java
8759 (contentHandler): Removed.
8761 (getHeaderFields): Return an empty map instead of null.
8762 (getContent): Connect if needed, renamed "cType" to "type" and
8763 "contentHandler" to "ch" and made it a local variable.
8764 (getPermission): Don't use package in class name.
8765 (setDefaultRequestProperty): Fixed typo in documentation.
8766 (initializeDateFormats): Made locale a local variable.
8768 2004-01-06 Michael Koch <konqueror@gmx.de>
8770 * java/lang/Package.java
8771 (getPackage): Get the current class loader directly.
8772 * java/lang/SecurityManager.java
8773 (currentLoadedClass): Dont iterate over class contexts.
8774 (classLoaderDepth): Don't check class loaders if everything is allowed.
8776 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
8778 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8779 (pre_event_handler): Set all insets to 0 when a Configure event
8780 is received for a GtkPlug.
8781 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
8782 Make handle long, not int.
8783 (EmbeddedWindow()): New constructor.
8784 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
8786 (setHandle): New method.
8787 (getHandle): Return long, not int.
8788 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
8790 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
8791 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
8792 (create(long)): Take long parameter, not int. Cast gtk_plug_new
8793 argument to GdkNativeWindow.
8794 (construct): New method.
8795 (embed): New method.
8797 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
8798 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
8799 (create(int, int)): New method.
8800 (create): Call new create method.
8801 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
8803 (childResized): Remove native implementation. Implement in
8805 (getHScrollbarHeight, getVScrollbarWidth): Call
8806 gtk_widget_size_request to get scrollbar dimensions.
8807 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
8808 call getVScrollbarWidth and getHScrollbarHeight when vertical
8809 and horizontal scrollbars respectively are needed.
8810 (doLayout): Enlarge child if it is smaller than the viewport.
8812 2004-01-05 Fernando Nasser <fnasser@redhat.com>
8814 * java/awt/Dialog.java (constructor): Accept null title as per spec.
8815 * java/awt/FileDialog.java (constructor): Throw exception on invalid
8816 argument as per spec.
8818 2004-01-05 Fernando Nasser <fnasser@redhat.com>
8820 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
8822 (remove): Ditto. Also, Check for valid argument.
8823 (removeAll): Use peer interface method.
8824 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
8825 native add function.
8826 (nativeRemove): New name for native remove function.
8827 (getHistory): New native function.
8828 (constructor): Generate ItemEvent.
8829 (add): Ditto, if selection is changed.
8830 (remove): Ditto, ditto.
8831 (removeAll): Add implementation.
8832 (handleEvent): Remove. Dead code.
8833 (choicePostItemEvent): Add comment.
8834 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8835 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
8836 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
8837 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
8838 comments and fix condition to change selection.
8839 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
8840 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
8841 remove all capability.
8842 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
8843 (item_activate): Add cast to remove compiler warning.
8845 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
8847 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8848 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8849 (getPreferredSize): Call preferredSize.
8850 (preferredSize): Call gtkWidgetGetPreferredDimensions.
8851 (getMinimumSize): Call minimumSize.
8852 (minimumSize): Call gtkWidgetGetPreferredDimensions.
8853 (gtkWidgetGetDimensions): Return the peer widget's current size
8855 (gtkWidgetGetPreferredDimensions): Return the peer widget's
8856 natural size request.
8858 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
8860 Thanks to Brian Gough <bjg@network-theory.com>
8861 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
8862 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
8864 2004-01-04 Matthias Klose <doko@debian.org>
8866 * aclocal.m4: Rebuilt using "aclocal -I .".
8867 * configure: Rebuilt.
8869 2004-01-03 Per Bothner <per@bothner.com>
8871 * java/util/Date.java (parse): Fix a number of problems.
8872 (skipParens): Remove no-longer-needed method.