1 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
4 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
5 (Almost everywhere): add LOG calls, fix, add comments.
6 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
7 Add explicit check for LOCKED bit in slow case (PR 16662).
8 (_Jv_MonitorExit): Add casts in debug-only code.
9 Always release LOCKED bit before throwing exception.
10 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
11 isn't. Handle easy cases without lock acquisition.
12 (Object::wait): Use NotifyAll for lock inflation.
14 2004-08-12 David Daney <ddaney@avtrex.com>
16 * testsuite/libjava.lang/Process_1.java: New test.
17 * testsuite/libjava.lang/Process_2.java: New test.
18 * testsuite/libjava.lang/Process_3.java: New test.
19 * testsuite/libjava.lang/Process_4.java: New test.
20 * testsuite/libjava.lang/Process_5.java: New test.
21 * testsuite/libjava.lang/Process_6.java: New test.
22 * testsuite/libjava.lang/Process_1.out: Expected result.
23 * testsuite/libjava.lang/Process_2.out: Expected result.
24 * testsuite/libjava.lang/Process_3.out: Expected result.
25 * testsuite/libjava.lang/Process_4.out: Expected result.
26 * testsuite/libjava.lang/Process_5.out: Expected result.
27 * testsuite/libjava.lang/Process_6.out: Expected result.
29 2004-08-12 David Daney <ddaney@avtrex.com>
32 * java/lang/PosixProcess.java: Rewrote.
33 * java/lang/natPosixProcess.cc: Rewrote.
34 * java/lang/Runtime.java (execInternal): Declare throws IOException.
35 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
36 * posix-threads.cc (block_sigchld) New function.
37 (_Jv_ThreadRegister) Use it.
38 (_Jv_ThreadStart) Use it.
39 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
40 * Makefile.am: ... to specify extra native headers.
41 * configure: Regenerated.
42 * include/config.h: Regenerated.
43 * Makefile.in: Regenerated.
44 * gcj/Makefile.in: Regenerated.
45 * include/Makefile.in: Regenerated.
46 * testsuite/Makefile.in: Regenerated.
48 2004-08-12 Diego Novillo <dnovillo@redhat.com>
50 PR tree-optimization/16867
51 * testsuite/libjava.lang/PR16867.java: New test.
53 2004-08-09 Per Bothner <per@bothner.com>
55 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
56 with private fields and access methods.
57 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
58 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
59 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
60 ( _Jv_makeUtf8Const): Rewrite using new constructors.
61 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
62 * defineclass.cc: Use new _Utf8Const access/convenience methods.
64 * resolve.cc: Likewise.
65 * gcj/field.h: Likewise.
66 * include/jvm.h: Likewise.
67 * java/lang/Class.h: Likewise.
68 * java/lang/natClass.cc: Likwise.
69 * java/lang/natClassLoader.cc: Likewise
70 * java/lang/reflect/natMethod.cc: Likewise
71 * verify.cc: Likewise.
72 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
73 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
75 2004-08-10 Andrew Haley <aph@redhat.com>
77 * testsuite/libjava.lang/err14.java: New file.
78 * testsuite/libjava.lang/err14.out: New file.
80 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
82 * Makefile.am: Fix missing rename from x_nat_headers to
84 * Makefile.in: Regenerated.
86 2004-08-04 Andrew Haley <aph@redhat.com>
88 * java/security/BasicPermission.java: Don't check wildcards.
90 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
91 Michael Koch <konqueror@gmx.de>
93 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
94 * configure.in: Replaced all usages of AC_LINK_FILES by
97 configure: Regenerated.
99 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
100 Michael Koch <konqueror@gmx.de>
102 * acconfig.h: Removed.
103 * Makefile.am: Rename variables for xlib peer to include xlib and
104 gtk_c_headers to gtk_jni_headers.
105 * Makefile.in: Regenerated.
107 2004-08-04 Andrew Haley <aph@redhat.com>
109 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
112 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
114 * configure.in: Eliminate uses of changequote (mostly by quoting []).
115 Replace most top level 'dnl' comments with '#' comments, conforming
116 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
118 * configure: Rebuilt.
120 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
122 * acinclude.m4: Include no-executables.m4.
123 * aclocal.m4: Rebuild.
124 * configure.in: Convert to the autoconf 2.59 version of
125 of the no-executables hack, and also of the nonstandard CXX
126 hack and the multilibbed CC and CXX hack. Change prerequisite
128 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
129 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
130 testsuite/Makefile.in: Regenerate.
132 2004-08-03 Tom Tromey <tromey@redhat.com>
134 * jni.cc: Reindented.
136 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
138 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
140 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
142 * testsuite/libjava.compile/PR16701.java: New test.
144 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
146 * java/util/Collection.java, java/util/List.java,
147 java/util/Map.java, java/util/Set.java,
148 java/util/SortedMap.java, java/util/SortedSet.java:
149 Added additional exceptions to documentation.
151 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
154 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
155 * configure. Regenerate.
156 * include/win32.h: Explicitly include winsock2.h
157 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
160 2004-07-30 Michael Koch <konqueror@gmx.de>
162 * java/util/zip/GZIPInputStream.java
163 (GZIPInputStream): Increase buffer size to 4k.
164 * java/util/zip/GZIPOutputStream.java
165 (GZIPOutputStream): Likewise.
166 * java/util/zip/Inflater.java
167 (setInput): Merged formating with GNU classpath.
168 * java/util/zip/InflaterInputStream.java
169 (InflaterInputStream): Increase buffer size to 4k.
170 (fill): Throw exception if stream ends early.
171 (read): Merged endless-loop with GNU classpath.
172 (skip): Increase buffer size to 2k.
174 2004-07-30 Michael Koch <konqueror@gmx.de>
176 * gnu/java/awt/EmbeddedWindow.java
177 (addNotify): Use AccessController to allow execution of privileged
180 2004-07-29 Michael Koch <konqueror@gmx.de>
182 * gnu/java/lang/MainThread.java:
183 Explicitely import used classes.
184 (args): Make it type String[].
186 2004-07-29 Dalibor Topic <robilad@kaffe.org>
188 * gnu/java/awt/ComponentDataBlitOp.java,
189 gnu/java/beans/ExplicitBeanInfo.java,
190 gnu/java/beans/IntrospectionIncubator.java,
191 gnu/java/beans/editors/ColorEditor.java,
192 gnu/java/beans/editors/FontEditor.java,
193 gnu/java/beans/editors/NativeBooleanEditor.java,
194 gnu/java/beans/editors/NativeByteEditor.java,
195 gnu/java/beans/editors/NativeDoubleEditor.java,
196 gnu/java/beans/editors/NativeFloatEditor.java,
197 gnu/java/beans/editors/NativeIntEditor.java,
198 gnu/java/beans/editors/NativeLongEditor.java,
199 gnu/java/beans/editors/NativeShortEditor.java,
200 gnu/java/beans/editors/StringEditor.java,
201 gnu/java/io/ClassLoaderObjectInputStream.java,
202 gnu/java/io/decode/Decoder.java,
203 gnu/java/io/encode/Encoder.java,
204 gnu/java/lang/ClassHelper.java,
205 gnu/java/locale/Calendar.java,
206 gnu/java/locale/Calendar_de.java,
207 gnu/java/locale/Calendar_en.java,
208 gnu/java/locale/Calendar_nl.java,
209 gnu/java/locale/LocaleInformation_de.java,
210 gnu/java/locale/LocaleInformation_en.java,
211 gnu/java/locale/LocaleInformation_nl.java:
214 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
216 * README: Remove obsolete info. Update bug URL.
218 * NEWS: Updated with news up to GCC 3.4 release.
220 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
222 * gnu/java/security/action/GetPropertyAction.java (setParameters):
223 Renamed from 'setName'. New 2-argument form with default value.
224 (run): Pass default 'value' parameter to System.getProperty().
225 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
227 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
230 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
232 * configure.in: Check for minimum GTK version 2.4 requirement.
233 * configure: Rebuilt.
235 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
237 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
238 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
240 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
242 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
243 address. Reduce sleep times. Synchronize with target threads before
244 attempting to interrupt them. Don't try to calibrate yeild count,
245 instead, always loop for a fixed time.
246 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
247 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
248 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
249 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
250 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
251 * testsuite/libjava.lang/pr179.java: Likewise.
252 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
253 time. Remove upper bounds check on sleep time.
255 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
257 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
258 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
260 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
262 * java/io/File.java (toURI): Throw RuntimeException, not
264 * java/lang/Runtime.java (exit): Qualify static sleep() call with
265 class name, not instance.
267 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
269 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
270 and gnu/java/security/action/SetAccessibleAction.java.
271 * Makefile.in: Rebuilt.
273 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
275 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
276 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
278 (DECLARE_PRIM_TYPE): Don't declare array vtables.
279 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
280 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
282 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
284 * Makefile.am: Replace jar, rmic and rmiregistry references with
285 gjar, grmic and grmiregistry.
286 * configure.in: Likewise.
287 * Makefile.in: Regenerate.
288 * configure: Likewise.
289 * gcj/Makefile.in: Likewise.
290 * include/Makefile.in: Likewise.
291 * testsuite/Makefile.in: Likewise.
293 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
295 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
296 for privileged getProperty calls.
297 * java/io/ObjectOutputStream.java (getField): No longer static. Use
298 SetAccessibleAction instead of anonymous class for doPrivileged call.
299 (getMethod): Likewise.
300 (setAccessible): New field. PrivilegedAction object to use when
301 calling setAccessible.
302 * java/io/ObjectStreamClass.java (calculateOffsets): Use
303 SetAccessibleAction instead of anonymous class for diPrivileged call.
304 (setFields): Likewise.
305 (getClassUID): Likewise.
306 (findMethod): Likewise.
307 * gnu/java/security/action/GetPropertyAction.java: New class.
308 * gnu/java/security/action/SetAccessibleAction.java: New class.
310 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
312 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
314 * testsuite/libjava.lang/Serialization.java: New test.
315 * testsuite/libjava.lang/Serialization.out: New.
317 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
319 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
320 missed in last commit.
322 2004-07-23 Mark Wielaard <mark@klomp.org>
324 * java/lang/System.java (static): Set http.agent system property when
326 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
327 from system property inside AccessController.doPrivileged() call.
328 (proxyPort): Made package private.
329 (proxyInUse): Likewise.
330 (proxyHost): Likewise.
331 (userAgent): Likewise.
333 2004-07-23 Mark Wielaard <mark@klomp.org>
335 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
338 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
340 * Makefile.am (ordinary_java_source_files): Add
341 DefaultContentHandlerFactory.java.
342 * Makefile.in: Rebuilt.
343 * java/net/URLConnection.java (defaultFactory): New field.
345 (getContentHandler): Renamed from 'setContentHandler'. Try
346 defaultFactory after user-set factory, if any. Search for content
347 handler implementations in gnu.java.net.content, not gnu.gcj.content.
348 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
350 (getLastModified): Implemented.
351 (getPermission): Create file permission here, instead of in
353 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
355 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
357 (getLastModified): Implemented.
358 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
359 Default implementation.
360 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
361 Implement using GdkPixbufDecoder.
363 2004-07-21 Michael Koch <konqueror@gmx.de>
365 * javax/swing/JTextArea.java
366 (setLineWrap): Fire property change event after new value is set.
367 (setTabSize): Likewise.
369 2004-07-21 Michael Koch <konqueror@gmx.de>
371 * javax/swing/JTable.java
372 (autoCreateColumnsFromModel): New field.
373 (autoResizeMode): Likewise.
374 (cellEditor): Likewise.
375 (cellSelectionEnabled): Likewise.
376 (columnModel): Likewise.
377 (dataModel): Likewise.
378 (defaultEditorsByColumnClass): Likewise.
379 (defaultRenderersByColumnClass): Likewise.
380 (editingColumn): Likewise.
381 (editingRow): Likewise.
382 (gridColor): Likewise.
383 (preferredViewportSize): Likewise.
384 (rowHeight): Likewise.
385 (rowMargin): Likewise.
386 (rowSelectionAllowed): Likewise.
387 (selectionBackground): Likewise.
388 (selectionForeground): Likewise.
389 (selectionModel): Likewise.
390 (showHorizontalLines): Likewise.
391 (showVerticalLines): Likewise.
392 (tableHeader): Likewise.
393 (JTable): Implemented.
394 (getColumnModel): Likewise.
395 (getSelectedRow): Likewise.
396 (getSelectionModel): Likewise.
397 (setModel): Likewise.
398 (setSelectionModel): Likewise.
399 (createScrollPaneForTable): New method.
400 (createDefaultDataModel): Likewise.
401 (createDefaultListSelectionModel): Likewise.
402 (getModel): Likewise.
403 (getTableHeader): Likewise.
404 (setTableHeader): Likewise.
405 (getColumnSelectionAllowed): Likewise.
406 (setColumnSelectionAllowed): Likewise.
407 (getRowSelectionAllowed): Likewise.
408 (setRowSelectionAllowed): Likewise.
409 (getAutoResizeMode): Likewise.
410 (setAutoResizeMode): Likewise.
411 (getColumnCount): Likewise.
412 (getRowCount): Likewise.
413 (getCellRenderer): Likewise.
414 * javax/swing/JTree.java
415 (cellRenderer): New field.
416 (editable): Likewise.
417 (rootVisible): Likewise.
418 (showsRootHandles): Likewise.
419 (getModel): New method.
420 (setModel): Likewise.
421 (isEditable): Likewise.
422 (setEditable): Likewise.
423 (isRootVisbile): Likewise.
424 (setRootVisible): Likewise.
425 (getShowsRootHandles): Likewise.
426 (setShowRootHandles): Likewise.
427 (getCellRenderer): Likewise.
428 (setCellRenderer): Likewise.
430 2004-07-21 Michael Koch <konqueror@gmx.de>
432 * javax/swing/JFormattedTextField.java
433 (setDocument): Implemented.
434 * javax/swing/JRootPane.java:
436 * javax/swing/JTable.java
437 (getDefaultRenderer): New method.
438 * javax/swing/JTextField.java
440 (getPreferredSize): Likewise.
441 * javax/swing/JToggleButton.java
442 (getAccessibleContext): Fix javadoc.
443 * javax/swing/JTree.java:
445 * javax/swing/JViewport.java:
448 2004-07-21 David Jee <djee@redhat.com>
450 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
451 Collect all native method declaration at the top.
452 (create): Set the filename filter if necessary.
453 (setDirectory): Call nativeSetDirectory().
454 (setFilenameFilter): Implement.
455 (filenameFilterCallback): New method.
456 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
457 (create): Configure dialog to show hidden files.
458 (filenameFilterCallback): New function.
459 (nativeSetFilenameFilter): New function.
460 (nativeSetDirectory): New function.
462 2004-07-21 Kim Ho <kho@redhat.com>
464 * javax/swing/plaf/basic/BasicSliderUI.java:
466 (paintTrack): Fill the track before painting
469 2004-07-21 Graydon Hoare <graydon@redhat.com>
471 patch from Roman Kennke <roman@ontographics.com>
472 * javax/swing/Spring.java: New file.
473 * javax/swing/SpringLayout.java: New file.
474 * Makefile.am: Add new files.
475 * Makefile.in: Regenerate.
477 2004-07-21 Graydon Hoare <graydon@redhat.com>
479 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
480 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
481 * javax/swing/ScrollPaneLayout.java: Likewise.
483 2004-07-21 Kim Ho <kho@redhat.com>
485 * javax/swing/DefaultDesktopManager.java:
486 (findMinimum): Removed.
487 (resizeFrame): Trust the UI to pass valid
489 * javax/swing/JOptionPane.java:
490 Implemented showInternalXXXDialog methods.
491 (startModal): New method.
492 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
493 (BorderListener::mouseDragged): Verify that the new
494 bounds are valid before passing them to the DesktopManager.
495 (preferredLayoutSize): Delegate
497 (minimumLayoutSize): Ditto.
498 (getSize): New method.
499 (GlassPaneDispatcher): Reimplemented by copying
500 a stripped down LightweightDispatcher from Container.
501 (getMinimumSize): Call minimumLayoutSize.
502 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
504 (mousePressed): Add ability to properly close
506 * javax/swing/plaf/basic/BasicToolBarUI.java:
507 (DragWindow): Set owner for DragWindow.
509 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
511 * java/awt/image/ShortLookupTable.java: New file.
512 * java/awt/image/ByteLookupTable.java: New file.
513 * Makefile.am: Added new files.
514 * Makefile.in: Regenerated.
516 2004-07-21 David Jee <djee@redhat.com>
518 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
519 (create(GtkContainerPeer)): New native method.
520 (create()): Call native create(), passing in the parent frame
521 as the paramter. Natively set the current file and directory.
522 (setFile): Construct an absolute filename before passing it to
524 (nativeGetDirectory): New method.
525 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
526 (window_closed): Removed.
527 (ok_clicked): Likewise.
528 (cancel_clicked): Likewise.
529 (handle_response): New method.
530 (create): Use GtkFileChooserDialog.
531 (connectSignals): Connect to handle_response.
532 (nativeGetDirectory): New method.
533 (nativeSetFile): Use GtkFileChooserDialog.
535 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
537 * java/awt/image/LookupTable.java: New file.
538 * Makefile.am: Added new file.
539 * Makefile.in: Regenerated.
541 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
543 * java/awt/image/Kernel.java: New file.
544 * Makefile.am: Added new file.
545 * Makefile.in: Regenerated.
547 2004-07-21 Olga Rodimina <rodimina@redhat.com>
549 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
550 * javax/swing/JMenu.java: Likewise.
551 * javax/swing/JMenuBar.java: Likewise.
552 (MARGIN_CHANGED_PROPERTY): New property.
553 (setMargin): Implemented.
554 * javax/swing/JMenuItem.java: Fixed javadocs.
555 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
556 (LABEL_CHANGED_PROPERTY): New property.
557 (add): changed to use createActionComponent.
558 (createActionComponent): Implemented.
559 (setLabel): Fire PropertyChangeEvent if label property
561 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
562 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
563 (ContainerHandler): Repaint if margin property has changed.
564 * javax/swing/plaf/basic/BasicMenuItemUI.java:
565 (installUI): Call installComponents().
566 (uninstallUI): Call uinstallComponents().
567 * javax/swing/plaf/basic/BasicMenuUI.java:
569 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
572 2004-07-21 Kim Ho <kho@redhat.com>
574 * javax/swing/plaf/basic/BasicToolBarUI.java:
575 (DragWindow): Use the right constructor.
577 2004-07-21 Kim Ho <kho@redhat.com>
579 * javax/swing/JToolBar.java:
580 (layoutContainer): Use getComponents.
581 * javax/swing/plaf/basic/BasicToolBarUI.java:
582 (DragWindow): Don't use SwingUtilities'
584 (ToolBarDialog): ditto.
586 2004-07-21 Kim Ho <kho@redhat.com>
588 * javax/swing/JRootPane.java:
590 (layoutContainer): Set the glasspane's size to
591 be the same as the content pane.
592 (createGlassPane): Set opaque property to false.
594 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
596 * java/awt/Component.java (requestFocus()): Don't handle Panels
598 (requestFocus(boolean)): Likewise.
599 (requestFocusInWindow(boolean)): Likewise.
600 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
601 Set GTK_CAN_FOCUS flag.
603 2004-07-21 Kim Ho <kho@redhat.com>
605 * Makefile.am: Added new file.
606 * Makefile.in: Regenerated.
607 * gcj/Makefile.in: Regenerated.
608 * include/Makefile.in: Regenerated.
609 * javax/swing/AbstractButton.java:
610 Add rollOverEnabled property.
611 (setRolloverEnabled): Use new property.
612 (isRolloverEnabled): Use new property.
613 * javax/swing/JTabbedPane.java:
614 (setComponent): Remove useless JTabbedPane.this.
615 * javax/swing/JToolBar.java: Finish implementation.
616 * javax/swing/plaf/basic/BasicArrowButton.java:
617 (paint): Moved border painting to a border.
618 * javax/swing/plaf/basic/BasicLookAndFeel.java:
619 Change JToolBar look and feel defaults.
620 * javax/swing/plaf/basic/BasicOptionPaneUI.java
621 (actionPerformed): Return Integer index instead of name.
622 (addButtonComponents): Check to see if component is
624 (createMessageArea): Don't use components that are not
626 (getIconForType): Use temporary icons.
627 * javax/swing/plaf/basic/BasicSliderUI.java:
628 (mousePressed): Do not return if it's on thumb.
629 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
630 (paintMinorTickForVertSlider): ditto.
631 (paintMajorTickForHorizSlider): ditto.
632 (paintMajorTickForVertSlider): ditto.
633 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
634 Add a border around the SplitPaneDivider.
635 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
637 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
638 New file. Implemented.
639 * javax/swing/plaf/basic/BasicToolBarUI.java:
641 * testsuite/Makefile.in: Regenerated.
643 2004-07-21 Graydon Hoare <graydon@redhat.com>
645 * javax/swing/Timer.java (run): Queue events each time cycle.
647 2004-07-21 David Jee <djee@redhat.com>
649 * gnu/java/awt/peer/gtk/GtkImagePainter.java
650 (imageComplete): Call image.imageComplete().
651 * java/awt/image/MemoryImageSource.java:
652 Reimplement consumers as a Vector instead of a Hashtable. This is
653 because enumeration on a Hashtable is not thread-safe.
654 (addConsumer): Adapt to Vector consumers.
655 (isConsumer): Adapt to Vector consumers.
656 (removeConsumer): Adapt to Vector consumers.
657 (startProduction): Adapt to Vector consumers. Call imageComplete()
658 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
659 (newPixels): Adapt to Vector consumers.
660 (sendPicture): Set the color model of the image consumer.
661 (newPixels(IIII)): Adapt to Vector consumers.
662 (newPixels(IIIIB)): Adapt to Vector consumers.
664 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
666 * java/awt/Component.java (deliverEvent): Implement.
667 (postEvent): Implement.
668 (handleEvent): Implement.
669 (translateEvent): New method.
670 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
671 * java/awt/Container.java (deliverEvent): Implement.
672 * java/awt/Event.java (paramString): Fix formatting.
673 * java/awt/Font.java (toString): Likewise.
674 * java/awt/Window.java (postEvent): Implement.
676 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
678 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
679 Set window's focus owner upon receiving a FOCUS_LOST event.
680 * java/awt/Window.java (Window()): Refocus the previously
681 focused component within the window when the window regains the
683 (setFocusOwner): New method.
684 * java/awt/Component.java (requestFocus): Add FIXME.
686 * libgcj.pc.in: Remove library flags.
688 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
690 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
692 * java/awt/Component.java (requestFocus()): Handle Panel
693 specially. Post FOCUS_LOST event on opposite component.
694 (requestFocus(boolean)): Likewise.
695 (requestFocusInWindow(boolean)): Likewise.
696 (paramString): Reorder dimension fields.
697 * java/awt/Container.java (paramString): Fix string format.
698 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
699 Handle FOCUS_LOST events. Don't handle Windows specially. Only
700 process key events if the focus owner is non-null.
701 (dispatchKeyEvent): Likewise.
702 * java/awt/Frame.java (paramString): Fix formatting.
703 (generateName): New method.
704 (getUniqueLong): Likewise.
705 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
706 the temporary focus owner is null. If so, return the permanent
708 * java/awt/Panel.java (generateName): New method.
709 (getUniqueLong): Likewise.
710 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
711 signal handling to make callbacks more specific.
713 2004-07-21 Michael Koch <konqueror@gmx.de>
715 * javax/swing/text/Position.java
718 2004-07-21 Michael Koch <konqueror@gmx.de>
720 * javax/swing/LookAndFeel.java
721 (provideErrorFeedback): New method.
723 2004-07-21 Michael Koch <konqueror@gmx.de>
725 * javax/swing/JTextArea.java
726 (tabSize): New field.
727 (getTabSize): New method.
728 (setTabSize): Likewise.
730 2004-07-21 Michael Koch <konqueror@gmx.de>
732 * javax/swing/ActionMap.java:
733 Fixed javadocs all over.
734 (serialVersionUID): Made private.
735 (parent): Don't explicitely initialize with default value.
737 (keys): Reimplemented.
739 (convertSet): Removed.
740 * javax/swing/ComponentInputMap.java:
741 Fixed javadocs all over.
742 (ComponentInputMap): Implemented.
746 (SetParent): Likewise.
747 (getComponent): Likewise.
748 * javax/swing/InputMap.java:
749 Fixed javadocs all over.
750 (serialVersionUID): Made private.
751 (parent): Don't explicitely initialize with default value.
753 (keys): Reimplemented.
755 (convertSet): Removed.
757 2004-07-21 Michael Koch <konqueror@gmx.de>
759 * javax/swing/ActionMap.java,
760 javax/swing/ComponentInputMap.java,
761 javax/swing/InputMap.java,
762 javax/swing/table/DefaultTableColumnModel.java,
763 javax/swing/table/TableColumn.java,
764 javax/swing/table/TableColumnModel.java,
765 javax/swing/table/TableModel.java,
766 javax/swing/text/AbstractDocument.java,
767 javax/swing/text/TextAction.java:
770 2004-07-21 Graydon Hoare <graydon@redhat.com>
772 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
773 Make method non-static.
774 * javax/swing/AbstractButton.java:
775 Rename fields to match property names where possible.
776 (iconTextGap): New property.
777 * javax/swing/JCheckBox.java: Match AbstractButton changes.
778 (init) New method, call from after various constructors.
779 * javax/swing/JComponent.java (revalidate):
780 Invalidate before queueing repair.
781 * javax/swing/JList.java (getPreferredScrollableViewportSize):
782 Reimplement in terms of visibleRowCount property.
783 * javax/swing/JMenuButton.java: Match AbstractButton changes.
784 * javax/swing/JScrollPane.java (createScrollListener):
785 Remove tracing chatter.
786 * javax/swing/JToggleButton.java: Match AbstractButton changes.
787 * javax/swing/RepaintManager.java (addInvalidComponent):
789 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
791 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
792 Mimic sun behavior on top left/right positioning.
793 * javax/swing/ViewportLayout.java (preferredLayoutSize):
794 Remove mistaken use of preferredScrollableViewportSize here.
795 (layoutContainer): Use view's preferred size as basis.
796 * javax/swing/plaf/basic/BasicButtonUI.java:
797 Set, get, and use textIconGap property.
798 (paint) Paint text returned from layout (with ellipsis).
799 * javax/swing/plaf/basic/BasicListUI.java:
800 Remove tracing chatter, correct various minor calculations.
801 (getCellBounds): Update layout state before calculating.
802 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
803 Use margin default similar to sun's.
804 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
805 (createIncreaseIcon): Center icon, minimize margins.
806 (createDecreaseIcon): Likewise.
807 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
809 (installUI): Call it.
810 (uninstallDefaults): Implement.
811 (uninstallUI): Call it.
812 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
813 Call existing Window constructor.
814 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
815 Set clip before painting.
817 2004-07-21 Olga Rodimina <rodimina@redhat.com>
819 * javax/swing/JMenuItem.java:
820 (processMouseEvent): Reimplemented to deal with
822 (createMenuDragMouseEvent): New private helper method.
823 Creates MenuDragMouseEvent.
824 * javax/swing/MenuSelectionManager.java
825 (componentForPoint): Implemented.
826 (isComponentPartOfCurrentMenu): Made public.
827 (processMouseEvent): Reimplemented to deal with
829 (setSelectedPath): Corrected small mistake that caused
830 path to be set incorrectly.
831 (getPath): If given component is JMenu then also add this
832 menu's popup menu to the selected path.
833 * javax/swing/plaf/basic/BasicMenuItemUI.java:
835 (getPreferredSize): Call getPreferredMenuItemSize().
836 (getPreferredItemSize): Moved code from getPreferredSize to here.
837 (installListeners): Install MouseMotionListeners.
838 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
839 if mouse wasn't released in the bounds of this menu item.
840 (MenuDragMouseHandler): Implemented.
841 * javax/swing/plaf/basic/BasicMenuUI.java:
842 (installListeners): Install MouseMotionListener and
843 MenuDrageMouseListener.
844 (MenuDragMouseHandler): Implemented.
845 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
846 (uninstallListeners): Implemented.
848 2004-07-21 Michael Koch <konqueror@gmx.de>
850 * javax/swing/JCheckBox.java: Reformated.
851 (JCheckBox): Fixed all constructors.
852 (isBorderPaintedFlat): New method.
853 (setBorderPaintedFlat): New method.
854 * javax/swing/JEditorPane.java
855 (createEditorKitForContentType): Made public.
856 (scrollToReference): Likewise.
857 * javax/swing/JTextArea.java
858 (setLineWrap): Fire property change.
859 * javax/swing/JToggleButton.java
860 (JToggleButton): New constructor.
861 (JToggleButton): Simplified.
862 * javax/swing/text/AttributeSet.java
863 (FontAttribute): Renamed from FontCharacterAttribute.
864 * javax/swing/text/JTextComponent.java
865 (KeyBinBinding): Added javadoc.
866 (JTextComponent): Likewise.
867 (getAccessibleContext): Fixed javadoc.
868 * javax/swing/text/View.java
869 (View): Added javadoc.
870 * javax/swing/text/TabableView.java: New file.
871 * Makefile.am: Added javax/swing/text/TabableView.java.
872 * Makefile.in: Regenerated.
874 2004-07-21 Graydon Hoare <graydon@redhat.com>
876 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
877 * gnu/java/awt/peer/gtk/GtkToolkit.java
878 (GtkErrorImage): New helper class.
879 (bufferedImageOrError): New helper method.
880 (createImage): Use it.
882 2004-07-21 David Jee <djee@redhat.com>
884 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
885 (setCaretPosition): Scroll the text view so the new caret position
886 is visible on screen.
888 2004-07-21 David Jee <djee@redhat.com>
890 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
891 (setBounds): Do not validate awtComponent here.
892 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
893 (getPreferredSize): New method.
894 * java/awt/ScrollPane.java
895 (ScrollPane): Set default size to 100x100.
896 (addNotify): If child is not a Panel, wrap it with a new Panel.
897 (paramString): Implement.
899 2004-07-21 Olga Rodimina <rodimina@redhat.com>
901 * javax/swing/JMenu.java:
902 (setSelected): Display popup menu only if this menu
903 is showing on the screen.
904 * javax/swing/JPopupMenu.java:
905 (processMouseEvent): Added comment.
906 (processKeyEvent): Likewise.
907 * javax/swing/MenuSelectionManager.java:
908 (clearSelectedPath): Only fireStateChanged() after
909 selected path was changed, not before.
910 (setSelectedPath): Likewise.
911 * javax/swing/plaf/basic/BasicMenuItemUI.java:
912 (paintMenuItem): Corrected position of menu item's
914 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
915 (installUI): Correct setDefaultLightWeightPopupEnabled call.
916 (popupMenuCanceled): Reimplemented.
917 (popupMenuWillBecomeVisible): Select first menu item by default
918 when displaying free floating popup menus.
919 (TopWindowListener): Reimplemented.
921 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
923 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
924 Panel from being painted twice when it is first shown.
926 2004-07-21 Olga Rodimina <rodimina@redhat.com>
928 * java/awt/Window.java: Reverted changes from my
929 previous patch for creating window without an owner.
930 * javax/swing/SwingUtilities.java:
931 (SwingUtilities.OwnerFrame): made static.
932 (OwnerFrame.setVisible): New method. Overridden with
933 empty implementation.
934 (OwnerFrame.isShowing): New method. Ovverridden
935 to return always true.
937 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
939 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
940 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
941 (GtkComponentPeer): Remove temporary try/catch block.
942 (setVisible): Call show and hide.
945 (getArgs): Don't add "visible" argument.
946 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
947 (property_notify_predicate): Return Bool instead of int.
948 (find_layout): New function.
949 (connectJObject): Call find_layout.
950 (connectSignals): Likewise.
951 (moveLayout): Likewise.
952 (gtkLayoutSetVisible): Likewise.
954 2004-07-21 Mark Wielaard <mark@klomp.org>
956 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
957 on notifier object before calling notifyAll().
959 2004-07-21 Olga Rodimina <rodimina@redhat.com>
961 * java/awt/Window.java: Changed constructors to use new
962 method that is described below. Constructors call this
963 methods only if newly created window should have an owner.
964 (setWindowOwner): New method. Implementation for
965 this method is moved from this(owner,configuration).
966 * javax/swing/JWindow.java:
967 (JWindow): Reimplement to use SwingUtilities.ownerFrame
969 * javax/swing/SwingUtilities.java:
970 (ownerFrame): Change type of this field to OwnerFrame.
971 (getOwnerFrame): Changed to return object of type OwnerFrame.
972 (SwingUtilities.OwnerFrame): New class. Represents owner
973 of a Window that is not provided with one.
975 2004-07-21 Olga Rodimina <rodimina@redhat.com>
977 * javax/swing/AbstractButton.java:
978 (configurePropertiesFromAction): Set action command
979 to button's text by default if action command is not
980 explicitely specified.
981 * javax/swing/JMenu.java: Remove unnecessary listener
982 and methods relevant to it.
983 (setSelected): Reimplemented.
984 (menuSelectionChanged): Moved most part of implementation to
985 setSelected() and call it instead.
986 * javax/swing/JMenuItem.java:
987 (init): Comment out statement that sets paint_border to false.
988 (configurePropertiesFromAction): Do not set accelerator
990 (menuSelectionChanged): Change selected index in the selection
991 model of menu item's parent.
992 * javax/swing/JPopupMenu.java:
993 (remove): Set constraints.fill field to GridBagConstraints.BOTH
994 instead of GridBagConstraints.HORIZONTAL.
996 (createActionChangeListener): Implemented.
997 (setVisible): Correct location of HeavyWeightMenu and
998 don't firePopupMenuCanceled().
999 (menuSelectionChanged): Implemented.
1000 (ActionChangeListener): New Listener. Implemented.
1001 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1002 (BasicMenuBarUI.ContainerHandler): Implemented.
1003 * javax/swing/plaf/basic/BasicMenuItemUI.java:
1004 (paintMenuItem): Uncommented out code that paints
1005 icon, now that icons are working properly.
1006 (PropertyChangeListener): Implemented.
1007 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1009 (topWindowListener): New field.
1010 (Constructor): initialize topWindowListener.
1011 (BasicPopupMenuUI.TopWindowListener): Implemented.
1012 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
1013 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
1016 2004-07-21 Michael Koch <konqueror@gmx.de>
1018 * javax/swing/plaf/basic/BasicButtonUI.java
1019 (paintFocus): Fixed method signature.
1020 (paintButtonPressed): Likewise.
1021 (paintButtonNormal): Likewise.
1022 (paintText): New method.
1023 * javax/swing/plaf/basic/BasicLabelUI.java
1024 (paint): Re-indented.
1025 * javax/swing/plaf/basic/BasicTextUI.java
1026 (installUI): Set parent textComponent to opaque.
1027 * javax/swing/text/DefaultHighlighter.java
1028 (checkPositions): New helper method.
1029 (addHighlight): Throws BadLocationException, check positions.
1030 (changeHighlight): Likewise.
1031 * javax/swing/text/EditorKit.java
1032 (EditorKit): Implements Serializable.
1033 * javax/swing/text/JTextComponent.java
1034 (getUI): Added javadoc.
1036 (upadteUI): Added javadoc, don't revalidate and repaint.
1038 2004-07-21 David Jee <djee@redhat.com>
1040 * java/awt/GridBagLayout.java
1041 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
1042 * javax/swing/AbstractButton.java
1043 (setText): Reindent.
1044 * javax/swing/RepaintManager.java
1045 (addInvalidComponent): Find the first ancestor that isValidateRoot().
1047 2004-07-21 Michael Koch <konqueror@gmx.de>
1049 * javax/swing/JFormattedTextField.java
1051 (JFormattedTextField): Implemented.
1052 (getValue): Likewise.
1053 (setValue): Likewise.
1054 * javax/swing/LookAndFeel.java
1055 (getSupportsWindowDecorations): New method.
1056 * javax/swing/UIDefaults.java:
1057 Use java.beans.PropertyChangeSupport instead of doing all ourself.
1058 (addPropertyChangeListener): Made public.
1059 (addResourceBundle): Likewise.
1060 (removeResourceBundle): Likewise.
1061 (setDefaultLocale): Likewise.
1062 * javax/swing/plaf/basic/BasicRootPaneUI.java
1063 (BasicRootPaneUI): Implements PropertyChangeListener.
1064 (propertyChange): New method.
1065 * javax/swing/plaf/basic/BasicTextUI.java
1066 (BasicHighlighter): New inner class.
1067 (createHighlighter): New method.
1068 * javax/swing/plaf/basic/BasicToolBarUI.java
1069 (DragWindow): Extends java.awt.Window.
1070 * javax/swing/text/JTextComponent.java
1071 (getDocument): Removed debug output.
1072 * javax/swing/plaf/basic/BasicTextFieldUI.java,
1073 javax/swing/text/DefaultHighlighter.java,
1074 javax/swing/text/FieldView.java,
1075 javax/swing/text/PlainView.java: New files.
1076 * Makefile.am: Added new files.
1077 * Makefile.in: Regenerated.
1079 2004-07-21 Michael Koch <konqueror@gmx.de>
1081 * javax/swing/JEditorPane.java
1082 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
1083 (createEditorKitForContentType): Likewise.
1084 * javax/swing/text/DefaultEditorKit.java
1085 (serialVersionUID): Added constant field.
1086 (EndOfLineStringPropery): Fixed typo.
1087 (DefaultEditorKit): New constructor.
1088 * javax/swing/text/Segment.java:
1089 Import java.text.CharacterIterator.
1090 * javax/swing/text/CharacterIterator.java,
1091 javax/swing/text/PlainEditorKit.java: Removed.
1092 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
1093 javax/swing/text/PlainEditorKit.java.
1094 * Makefile.in: Regenerated.
1096 2004-07-21 Michael Koch <konqueror@gmx.de>
1098 * javax/swing/JButton.java,
1099 javax/swing/text/DefaultEditorKit.java,
1100 javax/swing/text/EditorKit.java,
1101 javax/swing/text/Segment.java,
1102 javax/swing/text/StyledEditorKit.java:
1105 2004-07-21 Michael Koch <konqueror@gmx.de>
1107 * javax/swing/ImageIcon.java
1109 (description): Renamed from descr.
1110 (ImageIcon): Added missing constructors.
1111 (setParent): Removed.
1112 (setImageObserver): New method.
1113 (getImageObserver): New method.
1114 (paintIcon): Handle observer = null.
1115 * javax/swing/JButton.java
1116 (removeNotify): Fixed javadoc.
1117 (updateUI): Simplified.
1118 * javax/swing/JRootPane.java
1119 (serialVersionUID): New constant field.
1120 * javax/swing/UIManager.java:
1121 Fixed javadocs all over.
1122 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
1123 * javax/swing/text/AbstractDocument.java
1124 (createPosition): Throws BadLocationException.
1125 (getText): Likewise.
1127 * javax/swing/text/ComponentView.java
1128 (modelToView): Likewise.
1129 * javax/swing/text/DefaultEditorKit.java:
1130 Made all public methods public.
1131 (read): Throws BadLocationException and IOException.
1133 * javax/swing/text/EditorKit.java:
1134 Made all public methods public.
1135 (serialVersionUID): New constant field.
1136 (clone): New method.
1137 (read): Throws BadLocationException and IOException.
1139 * javax/swing/text/Segment.java
1140 (array): Made public.
1143 (Segment): New constructors.
1144 (clone): Reimplemented.
1145 * javax/swing/text/StyledEditorKit.java
1146 (serialVersionUID): New constant field.
1148 2004-07-21 Graydon Hoare <graydon@redhat.com>
1150 * java/awt/image/BufferedImage.java
1151 (getSource): Implement.
1152 * javax/swing/ImageIcon.java
1153 (ImageIcon): Implement ctor.
1154 * javax/swing/ScrollPaneLayout.java
1155 (preferredLayoutSize): Be more careful about nulls.
1157 2004-07-21 Michael Koch <konqueror@gmx.de>
1159 * javax/swing/text/AttributeSet.java
1160 (CharacterAttribute): New interface
1161 (ColorAttribute): Likewise.
1162 (FontCharacterAttribute): Likewise.
1163 (ParagraphAttribute): Likewise.
1164 * javax/swing/text/DefaultCaret.java
1165 (moveCaret): New method.
1166 (positionCaret): Likewise.
1167 (repaint): Made protected.
1168 * javax/swing/text/JTextComponent.java
1169 (KeyBinding): Made it static.
1170 * javax/swing/text/View.java
1171 (getContainer): Honor parent == null.
1173 2004-07-21 Michael Koch <konqueror@gmx.de>
1175 * javax/swing/text/AbstractDocument.java:
1178 2004-07-21 Michael Koch <konqueror@gmx.de>
1180 * javax/swing/plaf/basic/BasicRootPaneUI.java:
1181 Import javax.swing.UIManager explicitely.
1182 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1183 (ScrollingButton): Made it static.
1185 2004-07-21 Michael Koch <konqueror@gmx.de>
1187 * javax/swing/UIDefaults.java
1188 (ActiveValue): Made public.
1189 (LazyValue): Likewise.
1190 * javax/swing/plaf/basic/BasicTextUI.java
1191 (RootView): Reintroduced.
1193 (rootView): New field.
1194 (installUI): Create document if needed, initialize rootView.
1195 (uninstallUI): Hanle rootView.
1197 (getRootView): Likewise.
1198 (setView): Likewise.
1199 * javax/swing/text/DefaultCaret.java:
1200 Renamed all "evt" variables to "event".
1202 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
1204 * libgcj.spec.in: Add -l-java-util-logging.
1206 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
1208 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1209 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
1210 gtk-xft-dpi can no calculate the right value.
1211 (dpi_changed_cb): Mark *pspec as unsused.
1213 2004-07-21 David Jee <djee@redhat.com>
1215 * java/awt/Component.java
1216 (move): Delegate to setBounds().
1218 (reshape): Fix so it repaints parent and self only when necessary.
1220 2004-07-21 David Jee <djee@redhat.com>
1222 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1223 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1224 (GtkComponentPeer): Revert previous patch from 2004-06-22.
1225 (setVisible): Likewise.
1228 (getArgs): Likewise.
1229 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1230 (property_notify_predicate): Likewise.
1231 (find_layout): Likewise.
1232 (connectJObject): Likewise.
1233 (connectSignals): Likewise.
1234 (moveLayout): Likewise.
1235 (gtkLayoutSetVisible): Likewise.
1237 2004-07-21 Graydon Hoare <graydon@redhat.com>
1243 (rmiregistry_LDADD): Add lib-java-util-logging.la
1244 * Makefile.in: Regenerate.
1246 2004-07-21 Michael Koch <konqueror@gmx.de>
1248 * javax/swing/text/AbstractDocument.java
1249 (replace): Dont use protected method of java.util.Vector directly.
1251 2004-07-21 Michael Koch <konqueror@gmx.de>
1253 * javax/swing/plaf/basic/BasicTextUI.java
1254 (installUI): Call specialized install methods.
1255 (installDefaults): New method.
1256 (installListeners): Likewise.
1257 (installKeyboardActions): Likewise.
1258 (uninstallUI): Likewise.
1259 (uninstallDefaults): New method.
1260 (uninstallListeners): Likewise.
1261 (uninstallKeyboardActions): Likewise.
1262 (getPropertyPrefix): New abstract method.
1263 (paint): Made final, just call paintSafely().
1264 (paintSavely): New method.
1265 (paintBackground): Likewise.
1266 (getVisibleEditorRect): Likewise.
1267 * javax/swing/text/LayeredHighlighter.java,
1268 javax/swing/text/TabExpander.java: New files.
1269 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
1270 and javax/swing/text/TabExpander.java.
1271 * Makefile.in: Regenerated.
1273 2004-07-21 Michael Koch <konqueror@gmx.de>
1275 * javax/swing/plaf/basic/BasicTextUI.java
1276 (BasicTextUI): Made abstract.
1277 (BasicCaret): New inner class.
1278 (view): Don't explicitely initialize with "null".
1279 (textComponent): New field.
1280 (textColor): Removed.
1281 (disabledTextColor): Removed.
1282 (normalBackgroundColor): Removed.
1283 (RootView): Removed commented out inner class.
1284 (createUI): Removed.
1285 (createCaret): New method.
1286 (getComponent): Likewise.
1287 (installUI): Initialize textComponent only.
1288 (getPreferredSize): Use installed JTextComponent.
1289 (setView): New method.
1291 * javax/swing/text/JTextComponent.java
1292 (highlighter): New field.
1293 (caretColor): Likewise.
1294 (disabledTextColor): Likewise.
1295 (seletedTextColor): Likewise.
1296 (selectionColor): Likewise.
1297 (setUI): New method.
1298 (getCaretColor): Likewise.
1299 (setCaretColor): Likewise.
1300 (getDisabledColor): Likewise.
1301 (setDisabledColor): Likewise.
1302 (getSelectedTextColor): Likewise.
1303 (setSelectedTextColor): Likewise.
1304 (getSelectionColor): Likewise.
1305 (setSelectionColor): Likewise.
1306 (getHighlighter): Likewise.
1307 (setHighlighter): Likewise.
1308 (replaceSelection): Likewise.
1310 2004-07-21 Michael Koch <konqueror@gmx.de>
1312 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1313 (BasicScrollPaneUI): Implements ScrollPaneConstants.
1314 * javax/swing/plaf/basic/BasicToolBarUI.java
1315 (BasicToolBarUI): Implements SwingConstants.
1317 2004-07-21 Michael Koch <konqueror@gmx.de>
1319 * javax/swing/JPopupMenu.java: Removed CVS tags.
1320 * javax/swing/UIDefaults.java: Reformatted.
1321 * javax/swing/plaf/basic/BasicRootPaneUI.java:
1322 Explicitely import used classes.
1324 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
1326 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1327 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1328 (GtkComponentPeer): Remove temporary try/catch block.
1329 (setVisible): Call show and hide.
1330 (show): Make native.
1332 (getArgs): Don't add "visible" argument.
1333 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1334 (property_notify_predicate): Return Bool instead of int.
1335 (find_layout): New function.
1336 (connectJObject): Call find_layout.
1337 (connectSignals): Likewise.
1338 (moveLayout): Likewise.
1339 (gtkLayoutSetVisible): Likewise.
1341 2004-07-21 Olga Rodimina <rodimina@redhat.com>
1343 * javax/swing/AbstractButton.java:
1344 (setDisplayedMnemonicIndex): Check if button
1345 text is not null before checking its length.
1346 * javax/swing/JMenuItem.java:
1347 (processMouseEvent): Disarm menu item if mouse has
1349 * javax/swing/plaf/basic/BasicMenuUI.java:
1350 (MouseInputHandler.mouseEntered): Do not raise
1351 popup menu if this menu is already selected.
1352 (MouseInputHandler.mousePressed): Do not fire
1354 (MenuHandler): Implemented.
1356 2004-07-21 Olga Rodimina <rodimina@redhat.com>
1358 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
1359 (getSelectedObjects): Implemented.
1360 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
1361 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
1362 Added javadoc for few methods.
1363 (processMouseEvent): Made public.
1364 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
1365 (processMouseEvent): Likewise.
1367 2004-07-21 Olga Rodimina <rodimina@redhat.com>
1369 * javax/swing/AbstractButton.java:
1370 (init): Set display mnemonic index to -1.
1371 (setMnemonic(char)): Use setMnemonic(int).
1372 (setMnemonic(int)): Set display mnemonic index.
1373 (getDisplayedMnemonicIndex): Change method signature
1374 by removing 'index' parameter.
1375 * javax/swing/plaf/basic/BasicLookAndFeel.java:
1376 Added default for Menu.selectionBackground.
1377 * javax/swing/plaf/basic/BasicMenuItemUI.java:
1378 (paintMenuItem): Change background color of the selected
1380 (paintText): Paint differently when menu item is disabled.
1381 Also paint mnemonic if it appears in the menu item's label.
1382 (paintAccelerator): Paint accelerator differently
1383 if menu item is disabled.
1384 * javax/swing/plaf/basic/BasicMenuUI.java:
1385 (installDefaults): Install defaults for
1386 selectionForeground and selectionBackground.
1387 (uninstallDefaults): Uninstall defauls for
1388 selectionForeground and selectionBackground.
1390 2004-07-21 Michael Koch <konqueror@gmx.de>
1392 * javax/swing/text/AbstractDocument.java
1393 (BranchElement): Implemented.
1394 (LeafElement): Implemented.
1395 * javax/swing/text/DefaultCaret.java:
1396 Import used classes.
1397 (serialVersionUID): New constant.
1398 * javax/swing/text/JTextComponent.java
1399 (AccessibleJTextComponent): Removed dead declaration.
1400 (caretPos): Removed.
1401 (setCaret): New method.
1402 * javax/swing/text/PlainDocument.java
1403 (rootElement): New field.
1404 (PlainDocument): Initialize rootElement.
1405 (createDefaultRoot): New method.
1406 (getDefaultRootElement): Implemented.
1407 * javax/swing/text/View.java: Reformatted.
1408 * javax/swing/text/ViewFactory.java
1409 (create): Added javadoc.
1411 2004-07-21 Michael Koch <konqueror@gmx.de>
1413 * javax/swing/ToolTipManager.java: Reformatted.
1415 2004-07-21 Rodimina Olga <rodimina@redhat.com>
1417 * javax/swing/AbstractButton.java
1418 (changeEvent): New field.
1419 (fireItemStateChanged): Change source of the event
1420 to 'this' before firing it to button listeners.
1421 (fireActionPerformed): Likewise.
1422 (fireStateChanged): Likewise.
1423 (createActionListener): Do not set source
1424 of the event to AbstractButton.
1425 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1426 (ContainerHandler.componentAdded): Removed
1427 print out statement.
1428 (ContainerHandler.componentRemoved): Likewise.
1430 2004-07-21 Michael Koch <konqueror@gmx.de>
1432 * javax/swing/text/Highlighter.java: New file.
1433 * Makefile.am: Added javax/swing/text/Highlighter.java.
1434 * Makefile.in: Regenerated.
1436 2004-07-21 Michael Koch <konqueror@gmx.de>
1438 * javax/swing/ToolTipManager.java
1439 (stillInsideTimerAction): Fixed constructor arguments.
1440 (outsideTimerAction): Likewise.
1441 (insideTimerAction): Likewise.
1443 2004-07-21 Michael Koch <konqueror@gmx.de>
1445 * javax/swing/JButton.java: Reformatted.
1446 * javax/swing/JFormattedTextField.java
1447 (getUIClassID): Implemented.
1448 * javax/swing/JRootPane.java
1449 (serialVersionUID): New constant.
1450 * javax/swing/JTextField.java
1452 (JTextField): Simplified.
1453 (getUIClassID): New method.
1454 (getActionListeners): Added @since tag.
1455 (setColumns): Invalidate layout and repaint.
1456 (getHorizontalAlignment): New method.
1457 (setHorizontalAlignment): New method.
1458 (selectAll): Removed.
1459 * javax/swing/SwingUtilities.java
1460 (getAncestorOfClass): Removed redundant @see tag.
1461 (isLeftMouseButton): Fixed implementation.
1462 (isMiddleMouseButton): Likewise.
1463 (isRightMouseButton): Likewise.
1464 * javax/swing/text/AbstractDocument.java
1465 (AttributeContext.addAttribute): New method.
1466 (AttributeContext.addAttributes): New method.
1467 (AttributeContext.getEmptySet): New method.
1468 (AttributeContext.reclaim): New method.
1469 (AttributeContext.removeAttribute): New method.
1470 (AttributeContext.removeAttributes): New method.
1471 * javax/swing/text/Document.java
1472 (createPosition): Throws BadLocationException.
1473 (getText): Likewise.
1475 * javax/swing/text/JTextComponent.java
1476 (getText): Return null if no document is set. Catch
1477 BadLocationException.
1479 (updateUI): Simplified.
1481 2004-07-21 Michael Koch <konqueror@gmx.de>
1483 * javax/swing/JButton.java
1484 (removeNotify): Fixed javadoc.
1485 (updateUI): Simplified.
1487 2004-07-21 David Jee <djee@redhat.com>
1489 * gnu/java/awt/image/ImageDecoder.java
1490 (startProduction): Only add consumer if it's not added yet.
1491 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1492 (GdkPixbufDecoder): Don't call initState() here.
1493 (produce): Call initState() here, to ensure area_prepared and
1494 area_updated signals are properly connected.
1495 * gnu/java/awt/peer/gtk/GtkImage.java
1496 (setColorModel): Use equals() to compare ColorModel objects.
1497 (setPixels): Likewise.
1498 * java/awt/image/ColorModel.java
1499 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
1500 * java/awt/image/RGBImageFilter.java
1501 (setColorModel): Set consumer's color model.
1502 (setPixels): Use equals() to compare ColorModel objects.
1504 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
1506 * java/net/URLConnection.java (position): New field.
1507 (dateFormat1, dateFormat2, dateFormat3): Removed.
1508 (dateFormats): New field.
1509 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
1510 each time instead of re-allocating.
1511 (initializeDateFormats): Initialize 'dateFormats'.
1513 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
1516 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
1519 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
1521 * java/net/Socket.java (getImpl): Now private. Remove comment.
1523 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
1525 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
1526 of chained Writer when calling super-constructor.
1527 * java/io/FilterWriter.java (FilterWriter): Likewise.
1528 * java/io/PrintWriter.java (PrintWriter): Likewise.
1530 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
1532 * prims.cc (process_gcj_properties): Don't increment i within LHS
1535 2004-07-19 Per Bothner <per@bothner.com>
1537 Print -verbose:message on "loading", not initialization.
1538 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
1539 * defineclass.cc (_Jv_ClassReader::parse): Print message if
1540 gcj::verbose_class_flag.
1541 * java/lang/natClass.cc (initializeClass): Don't print message here.
1542 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
1543 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
1544 (_Jv_PrepareCompiledClass): Likewise.
1546 2004-07-18 Matthias Klose <doko@debian.org>
1548 * configure.in: Substitute target_noncanonical.
1549 * configure: Regenerate
1551 2004-07-17 Michael Koch <konqueror@gmx.de>
1553 * java/lang/String.java: Fixed javadocs all over.
1555 2004-07-17 Mark Wielaard <mark@klomp.org>
1557 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
1558 when size is smaller.
1559 * java/io/RandomAccessFile.java (setLength): Use truncate for
1560 shrinking the file and seek plus write for expanding the file.
1562 2004-07-17 Michael Koch <konqueror@gmx.de>
1564 * gnu/java/nio/channels/natFileChannelPosix.cc
1565 (implTruncate): Always save current position. Only reposition file
1566 pointer to where we started if not beyond new lenght. Reposition file
1567 pointer to file length if it points beyond the end of file.
1569 2004-07-17 Mark Wielaard <mark@klomp.org>
1571 * javax/swing/Box.java: Put FIXME comment above class declaration.
1572 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1573 * javax/swing/JCheckBox.java: Likewise.
1574 * javax/swing/JDialog.java: Likewise.
1575 * javax/swing/JRadioButton.java: Likewise.
1576 * javax/swing/JToggleButton.java: Likewise.
1577 * javax/swing/UIManager.java: Likewise.
1578 * javax/swing/border/TitledBorder.java: Likewise.
1579 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1580 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1581 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1582 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1583 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1584 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1585 * javax/swing/text/JTextComponent.java: Likewise.
1587 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
1589 * java/net/DatagramPacket.java (setAddress): Removed check for
1592 2004-07-17 Michael Koch <konqueror@gmx.de>
1594 * java/net/DatagramSocket.java
1595 (getLocalAddress): Check if socket is bound or not.
1596 * java/net/Socket.java
1597 (getLocalAddrss): Check if socket is bound or not.
1598 (getPort): Return -1 when not connected. Dont check getImpl() for
1600 (setReuseAddress): Check if socket is closed.
1601 (isConnected): Check if getImpl() returns null.
1603 2004-07-17 Mark Wielaard <mark@klomp.org>
1605 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
1606 on notifier object before calling notifyAll().
1608 2004-07-17 Michael Koch <konqueror@gmx.de>
1610 * gnu/java/nio/channels/FileChannelImpl.java
1611 (finalize): Added javadoc.
1613 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
1615 * java/text/CollationElementIterator.java
1616 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
1617 (setText): Use ArrayList instead of Vector.
1619 2004-07-17 Michael Koch <konqueror@gmx.de>
1621 * java/nio/ByteOrder.java
1622 (static): Removed. Not needed.
1623 Thanks to Patrick Reali for noticing.
1624 * java/nio/charset/CharsetDecoder.java
1625 (decode): Fix for classpath bug #9177: Reset state before flipping.
1627 2004-07-17 Michael Koch <konqueror@gmx.de>
1629 * java/security/Security.java: Fixed javadocs all over.
1631 2004-07-17 Michael Koch <konqueror@gmx.de>
1633 * gnu/java/awt/EmbeddedWindow.java
1635 (addNotify): Set peer via reflection.
1636 (setWindowPeer): Removed.
1637 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1638 * Makefile.am (nat_source_files):
1639 Removed gnu/java/awt/natEmbeddedWindow.cc.
1640 * Makefile.in: Regenerated.
1642 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
1644 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
1646 * configure: Regenerated.
1648 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
1650 * configure.in: Use build_noncanonical rather than build_alias.
1651 * configure: Rebuild.
1653 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
1654 by logic refactoring. Move default definition of NATIVE closer
1655 to first alternate definition.
1656 * configure: Regenerate.
1658 * Makefile.am: Set ZIP and GCJH directly using autoconf.
1659 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
1660 gcj/Makefile.in: Regenerate.
1661 * configure.in: Set ZIP and GCJH. Remove redundant condition
1662 in AM_CONDITIONAL(NATIVE,...)
1663 * configure: Regenerate.
1665 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
1667 * configure.in: Use target_noncanonical rather than
1668 target_alias for forward-compatibility with autoconf 2.59.
1669 * configure: Regenerate.
1670 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
1671 testsuite/Makefile.am: Substitute target_noncanonical.
1672 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1673 testsuite/Makefile.in: Regenerate.
1675 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
1676 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
1677 * acinclude.m4: Include acx.m4.
1678 * aclocal.m4: Regenerate.
1679 * configure: Regenerate.
1681 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
1684 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
1685 (decimalFormat): New static variable.
1687 (getTime): New. Override Date.getTime().
1688 (toString): Synchronize. Use decimalFormat to format nanos value
1689 correctly. Truncate extra zeros.
1690 (before): Compare getNanos() only if getTime() is equal.
1693 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
1695 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
1696 * configure.in: ...here.
1697 * aclocal.m4: Regenerate.
1698 * configure: Regenerate.
1700 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
1701 * configure: Rebuilt with autoconf 2.13.
1702 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1703 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
1705 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
1708 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
1710 * Makefile.in: Rebuilt.
1711 * testsuite/libjava.lang/LargeFile.java: New test case.
1712 * testsuite/libjava.lang/LargeFile.out: New file.
1714 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
1716 * java/beans/EventHandler.java: Remove debugging statements.
1718 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
1720 * java/beans/EventHandler.java: New file.
1721 * Makefile.am (awt_java_source_files): Add EventHandler.java.
1722 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1723 testsuite/Makefile.in: Regenerate.
1725 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
1727 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
1728 flag to the gcj_setup.
1729 (gcj_jacks_run): Check tclsh version and launch jacks directly with
1731 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
1732 deprecation flag change. 58 XFAILS removed.
1734 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
1736 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
1737 -fno-use-divide-subroutine.
1738 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
1739 (HANDLE_FPE): Define.
1740 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
1741 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
1742 (HANDLE_DIVIDE_OVERFLOW): Define.
1744 2004-07-14 Michael Koch <konqueror@gmx.de>
1745 Matthias Klose <doko@debian.org>
1747 * java/awt/im/InputContext.java: Initialize in, line.
1749 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
1751 * interpret.cc (run): Correctly access libffi return values of
1752 integral smaller-than-int type; these are implicitly promoted.
1754 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
1757 * interpret.cc (compile_mutex): New.
1758 (_Jv_InitInterpreter): New. Initialize compile_mutex.
1759 (run): Lock compile_mutex before calling compile() if compilation is
1761 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
1762 * include/java-interp.h (_Jv_InitInterpreter): Declare.
1764 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
1767 * include/jvm.h (_Jv_value): New union type.
1768 * gcj/field.h (_Jv_Field): Add new _addr union field variants
1769 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
1772 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
1774 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
1775 * gnu/awt/xlib/XOffScreenImage.java
1776 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
1777 constructor argument. Add constructor using ImageProducer.
1778 (getSource): Implement.
1779 (imageComplete): New method.
1780 (setColorModel): New method.
1781 (setDimensions): New method.
1782 (setHints): New method.
1783 (setPixels): New method.
1784 (setProperties): New method.
1785 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
1786 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
1788 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
1791 * prims.cc (_Jv_CreateJavaVM): Fix comment.
1792 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
1793 (finalizerReady): Now native.
1795 (runFinalizers): Removed.
1796 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
1797 a primitive lock, and don't hold it while running the finalizers.
1798 (runFinalizers): Implement. Don't aquire any Java lock.
1799 (finalizerReady): Use lock primitives to signal finalizer thread.
1801 2004-07-11 Mark Wielaard <mark@klomp.org>
1803 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
1804 * java/net/URLStreamHandler.java (parseURL): When url file part
1805 doesn't contain a '/' just ignore context.
1807 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
1809 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
1810 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
1811 (MAKE_THROW_FRAME): Do not modify PSW address.
1812 (INIT_SEGV): Install SIGINFO-style signal handler.
1813 (INIT_FPE): Likewise.
1815 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
1817 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
1818 status. 21 xfail's removed, 1 added.
1820 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
1822 * gcj/javaprims.h: Regenerate CNI namespace definitions.
1824 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
1826 * java/text/MessageFormat.java
1827 (formatInternal): Append "{n}" if argument n is unavailable.
1828 (format(Object, StringBuffer, FieldPosition)): This
1829 should be equivalent to format(Object[],
1830 StringBuffer, FieldPosition).
1832 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
1834 * java.util.Calendar.java (cache): New private static field. Cached
1835 mappings of locales->calendar classes.
1836 (ctorArgTypes): New private static field. Singleton argument for
1837 calendar class constructor lookup.
1838 (getInstance): Cache Locale->Calendar class mappings using HashMap.
1839 Optimize by bypassing reflection instantiation for the
1840 GregorianCalendar case.
1842 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
1844 * java/util/Calendar.java: Use getSystemClassLoader as argument for
1845 ResourceBundle.getBundle() calls.
1846 * java/util/GregorianCalendar.java: Likewise.
1847 * java/util/Currency.java: Likewise.
1848 * java/text/BreakIterator.java: Likewise.
1849 * java/text/Collator.java: Likewise.
1850 * java/text/DateFormat.java: Likewise.
1851 * java/text/DateFormatSymbols.java: Likewise.
1852 * java/text/DecimalFormatSymbols.java: Likewise.
1853 * java/text/NumberFormat.java: Likewise.
1854 * java/awt/Window.java: Likewise.
1856 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
1858 * java/util/ResourceBundle.java (bundleCache): Renamed from
1859 resourceBundleCache. Update comments.
1860 (getObject): Don't catch MissingResourceException.
1861 (getBundle(String)): Remove 'final'. Use system classloader if
1862 getCallingClassLoader returned null.
1863 (getBundle(String, Locale)): Likewise.
1864 (BundleKey): New private class. HashMap key for bundle cache lookup.
1865 (lookupKey): New. Singleton instance of BundleKey.
1866 (nullEntry): New. Cache entry to represent failed lookups.
1867 (getBundle(String, Locale, ClassLoader)): Re-written to use new
1868 caching strategy, no-allocation lookup, and new tryBundle methods.
1869 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
1870 name using given classloader.
1871 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
1872 baseName for given Locale and attempt to load bundle.
1874 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
1876 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
1877 illegal protected method calls.
1879 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
1881 Fix or remove some bogus test cases.
1882 * testsuite/libjava.compile/pr10459_2.java: Removed.
1883 * testsuite/libjava.compile/pr10459.java: Test using its own method,
1885 * testsuite/libjava.compile/inner_data.java: Test against its own
1888 2004-07-09 Michael Koch <konqueror@gmx.de>
1890 * scripts/unicode-muncher.pl: Updated to version 2.1
1891 from GNU classpath. Added some clarifications on where to find the
1892 needed files from www.unicode.org.
1893 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
1894 gnu/gcj/convert/UnicodeData-3.0.0.txt:
1895 Removed, these can directly be downloaded from www.unicode.org if
1897 * gnu/java/lang/CharData.java: Regenerated.
1898 * include/java-chartables.h: Regenerated.
1899 * Makefile.am (ordinary_java_source_files):
1900 Removed gnu/java/lang/CharData.java.
1901 * Makefile.in: Regenerated.
1903 2004-07-09 Michael Koch <konqueror@gmx.de>
1905 * java/security/AccessControlContext.java,
1906 java/security/SecureClassLoader.java:
1909 2004-07-09 Michael Koch <konqueror@gmx.de>
1911 * java/io/ObjectInputStream.java (readFields): Use long datatype
1912 when shifting byte values more then 24 bits left.
1914 2004-07-09 Michael Koch <konqueror@gmx.de>
1916 * java/util/zip/DeflaterOutputStream.java,
1917 java/util/zip/GZIPInputStream.java,
1918 java/util/zip/GZIPOutputStream.java,
1919 java/util/zip/InflaterInputStream.java:
1920 Reformatted. Added javadocs. Reordered all stuff.
1921 Renamed variables to be more clear.
1923 2004-07-09 Michael Koch <konqueror@gmx.de>
1925 * javax/imageio/IIOException.java,
1926 javax/imageio/event/IIOReadProgressListener.java,
1927 javax/imageio/event/IIOReadUpdateListener.java,
1928 javax/imageio/event/IIOReadWarningListener.java,
1929 javax/imageio/event/IIOWriteProgressListener.java,
1930 javax/imageio/event/IIOWriteWarningListener.java:
1932 * Makefile.am: Added new files.
1933 * Makefile.in: Regenerated.
1935 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
1937 * java/text/RuleBasedCollator.java
1938 (mergeRules): Use ArrayList instead of Vector.
1939 (subParseString): likewise.
1940 (parseString): likewise.
1941 (buildCollationVector): likewise.
1942 (getCollationKey): likewise.
1944 2004-07-09 Dalibor Topic <robilad@kaffe.org>
1946 * java/text/DateFormat.java (parse):
1947 Improved javadoc. Improved exception message.
1949 2004-07-09 Mark Wielaard <mark@klomp.org>
1951 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
1952 interrupted() method to clear interupt flag of our Thread.
1954 2004-07-09 Dalibor Topic <robilad@kaffe.org>
1956 * java/nio/Buffer.java,
1957 java/nio/ByteBuffer.java,
1958 java/nio/ByteBufferHelper.java,
1959 java/nio/ByteBufferImpl.java,
1960 java/nio/CharBuffer.java,
1961 java/nio/CharBufferImpl.java,
1962 java/nio/CharViewBufferImpl.java,
1963 java/nio/DirectByteBufferImpl.java,
1964 java/nio/DoubleBuffer.java,
1965 java/nio/DoubleBufferImpl.java,
1966 java/nio/DoubleViewBufferImpl.java,
1967 java/nio/FloatBuffer.java,
1968 java/nio/FloatBufferImpl.java,
1969 java/nio/FloatViewBufferImpl.java,
1970 java/nio/IntBuffer.java,
1971 java/nio/IntBufferImpl.java,
1972 java/nio/IntViewBufferImpl.java,
1973 java/nio/LongBuffer.java,
1974 java/nio/LongBufferImpl.java,
1975 java/nio/LongViewBufferImpl.java,
1976 java/nio/MappedByteBufferImpl.java,
1977 java/nio/ShortBuffer.java,
1978 java/nio/ShortBufferImpl.java,
1979 java/nio/ShortViewBufferImpl.java:
1980 Fixed javadocs all over. Improved input error
1983 * java/nio/Buffer.java
1984 (checkForUnderflow, checkForOverflow, checkIndex,
1985 checkIfReadOnly, checkArraySize): New helper methods
1988 * java/nio/ByteBufferHelper.java
1989 (checkRemainingForRead, checkRemainingForWrite,
1990 checkAvailableForRead, checkAvailableForWrite): Removed
1991 no longer needed methods.
1993 2004-07-09 Michael Koch <konqueror@gmx.de>
1995 * gnu/regexp/CharIndexedInputStream.java:
1996 Reordered imports to match classpath.
1998 2004-07-09 Michael Koch <konqueror@gmx.de>
2000 * gnu/java/awt/EmbeddedWindow.java:
2001 Load native library for setWindowPeer method.
2003 2004-07-08 Randolph Chung <tausq@debian.org>
2005 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
2006 * configure: Regenerate.
2007 * configure.host: Set can_unwind_signal for hppa*-linux.
2008 * include/pa-signal.h: New file.
2010 2004-07-07 Per Bothner <per@bothner.com>
2012 * Makefile.am: Add rules to build libgij from just gij.cc.
2014 * include/jvm.h (namespace jcj): Declare verbose_class_flag
2015 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
2016 (initializeClass): If verbose_class_flag, print message.
2017 * gij.cc (main): Handle -verbose:class flag.
2019 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
2021 * configure.host: Enable hash synchronization on Darwin.
2022 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
2023 ';', since this is a comment on Darwin.
2024 (compare_and_swap_release): Likewise.
2026 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
2028 * java/net/URLStreamHandler.java (parseURL): Canonicalize
2029 file portion of URL in addition to spec for file: protocol.
2031 2004-07-05 Anthony Green <green@redhat.com>
2033 * java/io/File.java (toURI): Merge from Classpath.
2035 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
2037 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
2038 before passing to URL constructor. Rethrow any MalformedURLException
2039 as a RuntimeException. Catch MalformedURLException specifically, not
2042 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
2044 * java/util/Locale.java (readObject): Intern strings read from object
2047 2004-07-04 Michael Koch <konqueror@gmx.de>
2049 * gnu/gcj/runtime/FirstThread.java,
2050 gnu/gcj/runtime/natFirstThread.cc: Removed.
2051 * gnu/java/lang/MainThread.java,
2052 gnu/java/lang/natMainThread.cc: New files.
2053 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
2054 * Makefile.am: Added new files and removed deleted ones.
2055 * Makefile.in: Regenerated.
2057 2004-07-03 Mark Wielaard <mark@klomp.org>
2058 Anthony Green <green@redhat.com>
2060 * java/net/URL.java (getFile): Clarify return value doc.
2061 (getPath): Return null if file is empty - not empty String.
2062 (set): Convert protocol to lower case before doing anything.
2063 Only change the protocol handler if it's different.
2065 2004-07-03 Anthony Green <green@redhat.com>
2067 * java/net/URL.java (URL): Convert protocol to lower case before
2068 doing anything, so we getURLStreamHandler() with the proper value.
2070 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
2072 * java/util/Locale.java (hashcode): Made transient.
2073 (hashCode): No longer synchronized.
2074 (equals): Remove comment.
2075 (writeObject): No longer synchronized. Implement using writeObject
2076 calls instead of tweaking hashCode field. Update doc.
2077 (readObject): Implement using readObject calls.
2079 2004-06-26 Geoffrey Keating <geoffk@apple.com>
2080 Andreas Tobler <a.tobler@schweiz.ch>
2082 * configure.host (powerpc-*-darwin*): New case, define
2084 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
2085 * configure: Regenerate.
2086 * include/darwin-signal.h: New.
2088 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
2090 * java/beans/Statement.java (doExecute): Fix formatting.
2092 2004-06-29 Per Bothner <per@bothner.com>
2094 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
2095 etc etc): Remove needless parenthesis, which causes __stdcall__
2096 attribute on MinGW to get ignored.
2098 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
2100 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
2102 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
2104 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
2106 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
2108 * java/beans/Expression.java: New file.
2109 * java/beans/Statement.java: New file.
2110 * Makefile.am: Added new files.
2111 * Makefile.in: Re-generate.
2113 2004-06-27 Mark Wielaard <mark@klomp.org>
2115 * java/io/FilePermission.java (usingPerms): Removed.
2116 (actionsString): Made final.
2117 (cachePerms): Renamed to checkPerms.
2118 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
2120 (FilePermission): Check arguments, call checkPerms().
2121 (equals): Remove cachePerms() call.
2122 (implies): Likewise.
2124 2004-06-27 Mark Wielaard <mark@klomp.org>
2126 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
2128 (sendRequest): Use new field in user-agent http agent.
2130 2004-06-27 Mark Wielaard <mark@klomp.org>
2132 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2133 when argument is null.
2135 2004-06-26 Mark Wielaard <mark@klomp.org>
2137 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2138 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
2140 (cancel_clicked): Likewise.
2142 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
2144 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2145 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
2146 can not calculate the right value.
2147 (dpi_changed_cb): Likewise. Mark *pspec as unused.
2149 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
2151 * testsuite/libjava.jacks/jacks.xfail: Remove
2152 15.9.1-qualified-concrete-20.
2154 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
2156 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
2157 encoding name to iconv.
2158 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
2160 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
2163 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
2164 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
2165 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
2167 2004-06-21 Andrew Haley <aph@redhat.com>
2169 * java/io/ObjectOutputStream.java: Add DEBUG statements
2171 (dumpElementln): New method.
2173 * java/io/ObjectInputStream.java
2174 (currentClassLoader): Make native.
2175 (callersClassLoader): New field.
2177 (readObject): ENDBLOCKDATA is generated if the class has a write
2178 method, not if it has a read method.
2179 (readObject): Save and restore this.currentObject and
2180 this.currentObjectStreamClass around calls to callReadMethod().
2181 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
2184 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
2186 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
2189 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
2191 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
2192 if desired, before the default class loader is initialised.
2193 Call INIT_SEGV only if HANDLE_SEGV is defined.
2195 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
2197 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
2198 directory only if it actually exists.
2200 2004-06-18 Graydon Hoare <graydon@redhat.com>
2202 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2203 Fix up non-ansi comments.
2205 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
2207 * javax/swing/text/AbstractDocument.java: Adding missing import
2208 for javax.swing.event.EventListenerList.
2209 * javax/swing/text/DefaultCaret.java: Likewise.
2211 2004-06-17 Michael Koch <konqueror@gmx.de>
2213 * javax/swing/JToolBar.java
2215 (JToolBar): Use Component.setName(String) instead of doing it all
2217 * javax/swing/Timer.java
2218 (queueEvent): Added missing modifier.
2220 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
2222 * Makefile.am: Added new file.
2223 * Makefile.in: Re-generate.
2224 * javax/swing/JMenu.java:
2225 (insertSeparator): Implemented.
2226 * javax/swing/JPopupMenu.java:
2227 (JPopupMenu.Separator): Implemented.
2228 * javax/swing/MenuSelectionManager.java:
2229 (processMouseEvent): Use java.awt.Component
2230 for event source instead of javax.swing.JComponent.
2231 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
2232 New File. Implemented.
2234 2004-06-16 David Jee <djee@redhat.com>
2236 * java/awt/GridBagLayout.java
2237 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
2238 Make sure pos_x and pos_y are never negative.
2240 2004-04-16 Andrew Overholt <overholt@redhat.com>
2242 * Makefile.am: Add new file.
2243 * Makefile.in: Re-generate.
2244 * javax/swing/JToolBar.java
2245 Partially implemented.
2246 * javax/swing/plaf/basic/BasicToolBarUI.java
2247 New file. Partially implemented.
2249 2004-06-16 Graydon Hoare <graydon@redhat.com>
2251 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2252 (setComposite): Accept AlphaComposite arguments.
2253 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
2254 (createBufferedImage): Add new overloads.
2255 * gnu/java/awt/peer/gtk/GtkToolkit.java
2256 (createImage): Use GdkPixbufDecoder.createBufferedImage
2257 when useGraphics2D() is true.
2258 (getImage): Delegate to createImage.
2259 * javax/swing/JList.java
2261 (getFirstVisibleIndex):
2262 (getLastVisibleIndex):
2264 (ensureIndexIsVisible): New methods.
2265 * javax/swing/Timer.java: Reimplement.
2267 2004-06-16 Michael Koch <konqueror@gmx.de>
2269 * javax/swing/text/AbstractDocument.java
2270 (AbstracElement): Made public, implements java.io.Serializable.
2271 (AttributeContext): Made public.
2272 (BranchElement): Likewise.
2273 (Content): Likewise.
2274 (DefaultDocumentEvent): Made public, extends
2275 javax.swing.undo.CompoundEdit.
2276 (ElementEdit): Made public, extends
2277 javax.swing.undo.AbstractUndoableEdit.
2278 (LeafElement): Made public.
2279 (LeafElement.LeafElement): Made public.
2281 2004-06-16 Michael Koch <konqueror@gmx.de>
2283 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
2284 methods (that were obviously never be intended to get included hi this
2285 class. Added some methods too.
2287 2004-06-16 Michael Koch <konqueror@gmx.de>
2289 * javax/swing/text/PlainDocument.java
2290 (serialVersionUID): New constant.
2291 (lineLimitAttribute): Likewise.
2292 (tabSizeAttribute): Likewise.
2293 (tabSize): New field.
2294 (PlainDocument): Made public.
2295 (PlainDocument): New constructor.
2297 2004-06-16 Michael Koch <konqueror@gmx.de>
2299 * javax/swing/text/AbstractDocument.java
2300 (insertString): Throws BadLocationException.
2301 * javax/swing/text/Document.java
2302 (insertString): Likewise.
2303 * javax/swing/text/JTextComponent.java:
2304 Javadocs and comments cleaned up.
2306 2004-06-16 Michael Koch <konqueror@gmx.de>
2308 * javax/swing/event/UndoableEditListener.java: Reformatted.
2309 * javax/swing/text/AbstractDocument.java
2310 (AbstractDocument): Implements java.io.Serializable.
2311 (doc_list): Removed.
2312 (undo_list): Removed.
2313 (AbstractElement.serialVerionUID): New field.
2314 (BranchElement.serialVerionUID): Likewise.
2315 (DefaultDocumentEvent.serialVerionUID): Likewise.
2316 (ElementEdit.serialVerionUID): Likewise.
2317 (LeafElement.serialVerionUID): Likewise.
2318 (serialVerionUID): Likewise.
2319 (BAD_LOCATION): New constant.
2320 (BidiElementName): Likewise.
2321 (ContentElementName): Likewise.
2322 (ParagraphElementName): Likewise.
2323 (SectionElementName): Likewise.
2324 (ElementNameAttribute): Likewise.
2325 (AbstractDocument): Made protected.
2326 (AbstractDocument): New construtor.
2327 (listenerList): New field.
2328 (fireChangedUpdate): Implemented.
2329 (fireInsertUpdate): Likewise.
2330 (fireRemoveUpdate): Likewise.
2331 (fireUndoableEditUpdate): Likewise.
2332 (getListeners): Likewise.
2333 (addDocumentListener): Likewise.
2334 (removeDocumentListener): Likewise.
2335 (addUndoableEditListener): Likewise.
2336 (removeUndoableEditListener): Likewise.
2337 (getDocumentListeners): New method.
2338 (getUndoableEditListeners): Likewise.
2339 (getAsynchronousLoadPriority): Made public.
2340 (getBidiRootElement): Likewise.
2341 (setAsynchronousLoadPriority): Likewise.
2342 (setDocumentProperties): Likewise.
2343 * javax/swing/text/BadLocationException.java
2344 (serialVerionUID): New field.
2345 * javax/swing/text/DefaultCaret.java
2346 (changeEvent): New field.
2347 (listenerList): Likewise.
2349 (addChangeListener): Reimplemented.
2350 (removeChangeListener): Likewise.
2351 (getListeners): New method.
2352 (getChangeListeners): Likwise.
2353 (getComponent): Likewise.
2354 * javax/swing/text/GapContent.java
2355 (GapContent): Implements java.io.Serializable.
2356 (serialVerionUID): New field.
2358 2004-06-16 Michael Koch <konqueror@gmx.de>
2360 * javax/swing/JTree.java
2361 (treeModel): New field.
2362 (JTree): New constructors, one existing one made public.
2363 (createTreeModel): New method.
2364 (addTreeExpansionListener): Likewise.
2365 (removeTreeExpansionListener): Likewise.
2366 (getTreeExpansionListeners): Likewise.
2367 (fireTreeCollapsed): Likewise.
2368 (fireTreeExpanded): Likewise.
2369 (addTreeSelectionListener): Likewise.
2370 (removeTreeSelectionListener): Likewise.
2371 (getTreeSelectionListeners): Likewise.
2372 (fireValueChanged): Likewise.
2373 (addTreeWillExpandListener): Likewise.
2374 (removeTreeWillExpandListener): Likewise.
2375 (getTreeWillExpandListeners): Likewise.
2376 (fireTreeWillCollapse): Likewise.
2377 (fireTreeWillExpand): Likewise.
2379 2004-06-16 Michael Koch <konqueror@gmx.de>
2381 * javax/swing/JTree.java: Reformatted.
2383 2004-06-16 Michael Koch <konqueror@gmx.de>
2385 * javax/swing/JTextArea.java: New file.
2386 * javax/swing/JTextField.java
2388 (notifyAction): New constant.
2389 (columns): New field.
2390 (JTextField): New constructors.
2391 (createDefaultModel): New method.
2392 (addActionListener): Reimplmemented.
2393 (removeActionListener): Reimplemented.
2394 (getActionListeners): New method.
2395 (fireActionPerformed): New method.
2396 (getColumns): New method.
2397 (setColumne): New method.
2398 * javax/swing/text/JTextComponent.java
2399 (AccessibleJTextComponent.serialVersionUID): New field.
2400 (serialVersionUID): Likewise.
2401 (DEFAULT_KEYMAP): Likewise.
2402 (FOCUS_ACCELERATOR_KEY): Likewise.
2403 (doc): Made private.
2404 (icon_gap): Likewise.
2407 (JTextComponent): Some constructors removed.
2408 (getScrollableTracksViewportHeight): New method.
2409 (getScrollableTracksViewportWidth): Likewise.
2410 * Makefile.am: Added javax/swing/JTextArea.java.
2411 * Makefile.in: Regenerated.
2413 2004-06-15 Graydon Hoare <graydon@redhat.com>
2415 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
2416 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
2417 * javax/swing/JViewport.java
2418 (getExtentSize): Return size rather than preferred size.
2419 (toViewCoordinates): New methods.
2420 (getViewSize): Return size rather than preferred size.
2421 (setViewSize): Note view size as set.
2422 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
2423 * javax/swing/plaf/basic/BasicScrollBarUI.java
2424 (getPreferredSize): Don't redo layout.
2425 * javax/swing/plaf/basic/BasicViewportUI.java
2426 (paint): Translate image properly and eat exceptions.
2428 2004-06-15 Kim Ho <kho@redhat.com>
2430 * javax/swing/JTabbedPane.java
2431 (setComponent): Remove old component and
2433 (setSelectedIndex): Don't operate on the
2434 components if they're null. Don't set index
2435 on the model if the index is the same.
2436 (insertTab): Don't add or hide the component
2437 if it's null. Repaint the container.
2438 * javax/swing/plaf/basic/BasicLookAndFeel.java
2439 Change colors for TabbedPane.
2440 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2441 (mousePressed): Re-layout and paint the component.
2442 (layoutContainer): Don't set location on the view.
2443 (ScrollingViewport::paint): Remove.
2445 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2447 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2448 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
2450 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2451 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
2452 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
2454 (drawLine): Call gdk_flush before leaving GDK critical region.
2455 (fillRect): Likewise.
2456 (drawRect): Likewise.
2457 (copyArea): Likewise.
2458 (copyPixmap): Likewise.
2459 (clearRect): Likewise.
2460 (drawArc): Likewise.
2461 (drawPolyline): Likewise.
2462 (drawPolygon): Likewise.
2463 (fillPolygon): Likewise.
2464 (fillArc): Likewise.
2465 (drawOval): Likewise.
2466 (fillOval): Likewise.
2468 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
2470 (GdkFontMetrics): Add style argument to initState call.
2471 (stringWidth(String,int,int,String)): Add style parameter.
2472 (stringWidth(String)): Add style argument to stringWidth call.
2473 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
2474 (initState): Set pango font style and weight based on AWT style
2475 parameter. Pass default GTK language to
2476 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
2477 simply dividing by PANGO_SCALE.
2478 (stringWidth): Set pango font style and weight based on AWT style
2481 * java/awt/Button.java (next_button_number): New field.
2482 (paramString): Change output.
2483 (generateName): New method.
2484 (getUniqueLong): New method.
2486 2004-06-14 Kim Ho <kho@redhat.com>
2488 * javax/swing/JTabbedPane.java:
2489 (setComponentAt): Set the component, not
2491 * javax/swing/plaf/basic/BasicDesktopIconUI.java
2492 (actionPerformed): Let deiconize catch exception.
2494 2004-06-14 Olga Rodimina <rodimina@redhat.com>
2496 * javax/swing/JPopupMenu.java:
2497 (setVisible): Corrected location of a
2498 heavyweight popup menu.
2500 2004-06-14 Olga Rodimina <rodimina@redhat.com>
2502 * javax/swing/MenuSelectionManager.java:
2503 Ran through jalopy to fix formatting style.
2505 2004-06-14 Olga Rodimina <rodimina@redhat.com>
2507 * javax/swing/JLayeredPane.java:
2508 (remove): Revalidate and repaint layered pane after
2509 the component was removed.
2510 javax/swing/JMenu.java:
2511 (setVisible): Display popup menu at the user location,
2512 if one was set by the user.
2513 (setMenuLocation): Reimplemented. Fixed javadoc.
2514 * javax/swing/JMenuBar.java: Added javadoc.
2515 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
2516 (MODEL_CHANGED_PROPERTY): New Property.
2517 (isSelected): Implemented.
2518 (setBorderPainted): Fire PropertyChangeEvent
2519 if paintBorder property changes.
2520 (setSelected): Implemented.
2521 (setSelectionModel): Implemented.
2522 * javax/swing/JPopupMenu.java: Added Javadoc
2523 (pack): Implemented.
2524 (setVisible): Reimplemented.
2525 (show): Fixed location.
2526 (JPopupMenu.LigthWeightPopup): Reimplemented to use
2527 Container instead of JPanel.
2528 * javax/swing/MenuSelectionManager.java: Added Javadocs.
2529 (clearSelectedPath): Reimplemented to clear selectedPath
2531 (processMouseEvent): Reimplemented.
2532 (setSelectedPath): Fire stateChange event indicating that
2533 selected menu path has changed.
2534 (getPath): Change to use ArrayList instead of Vector.
2535 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2536 (installUI): call installKeyboardActions().
2537 (uninstallUI): call uninstallKeyboardActions().
2539 2004-06-13 Michael Koch <konqueror@gmx.de>
2541 * javax/swing/text/DefaultCaret.java,
2542 javax/swing/text/BadLocationException.java:
2545 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
2547 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
2548 DEFAULT_COLS): New variables.
2549 (create): Don't allow 0 rows or 0 columns. Instead, set the
2550 values to DEFAULT_ROWS or DEFAULT_COLS.
2551 (getMinimumSize): Likewise.
2552 (getPreferredSize): Likewise.
2553 (minimumSize): Likewise.
2554 (preferredSize): Likewise.
2555 (create): Set peer's editable state.
2556 * java/awt/TextArea.java (TextArea()): Set rows and columns to
2557 zero. Update javadocs.
2558 (TextArea(String)): Likewise.
2559 (TextArea(int,int)): Fix javadocs.
2560 (TextArea(String,int,int,int)): Only throw exception if one of
2561 rows or columns is zero. Fix javadocs.
2563 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
2565 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
2566 addition to Components.
2568 * java/awt/MenuItem.java (dispatchEventImpl): If the event
2569 wasn't consumed by normal processing, send it to the parent
2572 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2573 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
2576 2004-06-11 David Jee <djee@redhat.com>
2578 * java/awt/MediaTracker.java
2579 (addImage(Image,int)): Call imageUpdate() to udpate image status.
2580 (addImage(Image,int,int,int)): Likewise.
2582 2004-06-11 Michael Koch <konqueror@gmx.de>
2584 * javax/swing/text/AbstractDocument.java,
2585 javax/swing/text/Document.java,
2586 javax/swing/text/GapContent.java,
2587 javax/swing/text/JTextComponent.java,
2588 javax/swing/text/PlainDocument.java:
2591 2004-06-11 Michael Koch <konqueror@gmx.de>
2593 * javax/swing/JRootPane.java
2594 (AccessibleJRootPane.serialVersionUID): New field.
2595 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
2596 (AccessibleJRootPane.getAccessibleRole): New method.
2597 (RootLayout): Implements Serializable.
2598 (RootLayout.serialVersionUID): New field.
2599 (RootLayout.RootLayout): New constructor.
2600 (setJMenuBar): Made public.
2601 (getJMenuBar): Likewise.
2602 (JRootPane): Likewise.
2603 (createContentPane): Likewise.
2604 (createGlassPane): Likewise.
2605 (createLayeredPane): Likewise.
2607 2004-06-11 Michael Koch <konqueror@gmx.de>
2609 * javax/swing/SwingUtilities.java
2610 (isLeftMouseButton): Fixed javadoc.
2611 (isMiddleMouseButton): Likewise.
2612 (isRightMouseButton): Likewise.
2614 2004-06-11 Michael Koch <konqueror@gmx.de>
2616 * javax/swing/JScrollPane.java
2617 (serialVersionUID): New field.
2618 (columnHeader): Made protected.
2619 (rowHeader): Likewise.
2620 (lowerLeft): Likewise.
2621 (lowerRight): Likewise.
2622 (upperLeft): Likewise.
2623 (upperRight): Likewise.
2624 (horizontalScrollBar): Likewise.
2625 (horizontalScrollBarPolicy): Likewise.
2626 (verticalScrollBar): Likewise.
2627 (verticalScrollBarPolicy): Likewise.
2628 (viewport): Likewise.
2630 2004-06-11 Michael Koch <konqueror@gmx.de>
2632 * javax/swing/LookAndFeel.java: Fixed javadocs.
2634 2004-06-11 Michael Koch <konqueror@gmx.de>
2636 * javax/swing/JEditorPane.java: Fixed javadocs.
2637 (JEditorPane): Removed redundant call to to this().
2638 (fireHyperlinkUpdate): Implemented.
2640 2004-06-10 Olga Rodimina <rodimina@redhat.com>
2642 * javax/swing/JMenu.java: Fixed file name
2643 in the file comment.
2645 2004-06-10 Olga Rodimina <rodimina@redhat.com>
2647 * javax/swing/JMenu.java: Added javadoc.
2648 (JMenu): Added MenuChangeListener to listen to
2649 ChangeEvents occuring in menu's model.
2650 (insert): Throw IllegalArgumentException if
2651 index is less than 0
2652 (setSelected): Reimplement.
2653 (setPopupMenuVisible): Call menu's model isEnabled()
2654 (setDelay): Throw IllegalArgumentException if
2655 given amount of delay is less than 0.
2656 (createActionComponent): Implemented.
2657 (createActionChangeListener): Implemented.
2658 (addSeparator): Implemented.
2659 (getItem): Throw IllegalArgumentException if index is
2661 (getItemCount): Implemented.
2662 (fireMenuSelected): Changed to use menuEvent.
2663 (fireMenuDeselected): Likewise.
2664 (fireMenuCanceled): Likewise.
2665 (setAccelerator): Changed to throw an error if this
2667 (doClick): Implemented.
2668 (JMenu.ActionChangedListener): New inner class to handle
2669 PropertyChangeEvents occuring in the actions associated with menu.
2670 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
2671 (BasicMenuUI): Added PropertyChangeListener to the menu.
2672 (createChangeListener): Implemented.
2673 (createMenuDragMouseListener): Likewise.
2674 (createMenuKeyListener): Likewise.
2675 (createPropertyChangeListener): Likewise.
2676 (uninstallListeners): Likewise.
2677 (BasicMenuUI.MouseInputHandler): Reimplemented.
2678 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
2679 (BasicMenuUI.ChangeHandler): Likewise.
2680 (BasicMenuUI.MenuDragMouseHandler): Likewise.
2681 (BasicMenuUI.MenuKeyHandler): Likewise.
2683 2004-06-10 David Jee <djee@redhat.com>
2685 * java/awt/MediaTracker.java
2686 (imageUpdate): Only do notifyAll() if the image is complete.
2688 2004-06-10 Olga Rodimina <rodimina@redhat.com>
2690 * javax/swing/JApplet.java:
2691 (getJMenuBar): Made public.
2692 (setJMenuBar): Likewise.
2693 * javax/swing/JFrame.java:
2694 (getJMenuBar): Made public.
2695 (setJMenuBar): Likewise.
2696 * javax/swing/JWindow.java:
2697 (getJMenuBar): Removed.
2698 (setJMenuBar): Removed.
2700 2004-06-10 Michael Koch <konqueror@gmx.de>
2702 * javax/swing/JEditorPane.java
2703 (createEditorKitForContentType): Fixed visibility.
2704 (fireHyperlinkUpdate): Likewise.
2705 (getContentType): Likewise.
2706 (getEditorKit): Likewise.
2707 (getEditorKitForContentType): Likewise.
2708 (getPage): Likewise.
2710 (registerEditorKitForContentTyoe): Likewise.
2711 (replaceSelection): Likewise.
2712 (setContentType): Likewise.
2713 (setEditorKit): Likewise.
2714 (setPage): Likewise.
2716 2004-06-10 Michael Koch <konqueror@gmx.de>
2718 * javax/swing/Timer.java
2719 (Timer): New constructor.
2720 * javax/swing/plaf/basic/BasicProgressBarUI.java
2721 (animationTimer): Don't initialize at construction.
2722 (startAnimationTimer): Added since tag.
2723 (stopAnimationTimer): Likewise.
2724 (installUI): Use new Timer constructor.
2725 * javax/swing/plaf/basic/BasicScrollBarUI.java
2726 (installUI): Likewise.
2727 * javax/swing/plaf/basic/BasicSliderUI.java
2728 (installUI): Likewise.
2730 2004-06-10 Michael Koch <konqueror@gmx.de>
2732 * javax/swing/ButtonGroup.java
2733 (serialVersionUID): Made private.
2734 (buttons): Renamed from v, added javadoc.
2735 (sel): Added javadoc.
2736 (ButtonGroup): Likewise.
2739 (getElements): Likewise.
2740 (getSelection): Likewise.
2741 (setSelected): Likewise.
2742 (isSelected): Likewise.
2743 (getButtonCount): Likewise.
2745 2004-06-10 Michael Koch <konqueror@gmx.de>
2747 * javax/swing/ButtonGroup.java,
2748 javax/swing/ImageIcon.java,
2749 javax/swing/JEditorPane.java,
2750 javax/swing/JRootPane.java,
2751 javax/swing/JTextField.java,
2752 javax/swing/LookAndFeel.java,
2753 javax/swing/plaf/basic/BasicTextUI.java:
2756 2004-06-10 Michael Koch <konqueror@gmx.de>
2758 * javax/swing/text/Style.java: Added javadocs.
2760 2004-06-10 Michael Koch <konqueror@gmx.de>
2762 * javax/swing/JComponent.java
2763 (fireVetoableChange): Removed redundant cast.
2764 * javax/swing/JLabel.java
2765 (getDisabledIcon): Save icon for next call.
2767 2004-06-10 Michael Koch <konqueror@gmx.de>
2769 * javax/swing/KeyStroke.java
2770 (getKeyStroke(char,boolean)): Marked deprecated.
2772 2004-06-10 Michael Koch <konqueror@gmx.de>
2774 * javax/swing/DefaultCellEditor.java,
2775 javax/swing/GrayFilter.java,
2776 javax/swing/event/DocumentEvent.java,
2777 javax/swing/text/JTextComponent.java,
2778 javax/swing/text/MutableAttributeSet.java:
2781 2004-06-10 Michael Koch <konqueror@gmx.de>
2783 * javax/swing/plaf/BorderUIResource.java:
2784 Added serialVersionUID all over.
2786 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
2788 * javax/swing/undo/UndoManager.java: Re-written from scratch.
2790 2004-06-10 Michael Koch <konqueror@gmx.de>
2792 * javax/swing/table/DefaultTableCellRenderer.java
2793 (noFocusBorder): Initialize directly.
2795 2004-06-10 Michael Koch <konqueror@gmx.de>
2797 * javax/swing/plaf/basic/BasicArrowButton.java
2798 (setDirection): Use method argument.
2800 2004-06-10 Michael Koch <konqueror@gmx.de>
2802 * javax/swing/plaf/BorderUIResource.java,
2803 javax/swing/plaf/ComponentUI.java,
2804 javax/swing/undo/CompoundEdit.java,
2805 javax/swing/undo/StateEdit.java:
2806 Fixed javadocs all over.
2808 2004-06-10 Michael Koch <konqueror@gmx.de>
2810 * javax/swing/DefaultButtonModel.java
2811 (ARMED): Made public final, fixed value.
2812 (ENABLED): Likewise.
2813 (PRESSED): Likewise.
2814 (ROLLOVER): Likewise.
2815 (SELECTED): Likewise.
2816 (stateMask): Initialize directly.
2817 (listenerList): Likewise.
2818 (mnemonic): Likewise.
2819 (fireStateChanged): Removed argument, use changeEvent as event.
2820 All places where this method is called are fixed too.
2821 (getActionCommant): Fixed javadoc.
2822 (setGroup): Fixed javadoc.
2823 (getGroup): New method.
2825 2004-06-09 Olga Rodimina <rodimina@redhat.com>
2827 * javax/swing/AbstractButton.java
2828 (AbstractButton): Use init() to initialize the button.
2829 (init): New Method. Initializes AbstractButton.
2830 * javax/swing/JMenuItem.java: Documented.
2831 (JMenuItem): Reimplemented.
2832 (init): Implemented.
2833 (setEnabled): Changed to call super.setEnabled()
2834 (processMouseEvent): Reimplemented.
2835 (fireMenuKeyPressed): Implemented.
2836 (fireMenuKeyReleased): Implemented.
2837 (fireMenuKeyTyped): Implemented.
2838 (menuSelectionChanged): disarm the model if the menu item was
2840 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
2841 (getPath): Change to use ArrayList instead of Vector.
2842 (getPreferredSize): Renamed variable.
2843 (paintMenuItem): Paint margin area of menu item.
2844 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
2845 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
2846 menu item's bounds before clearing the selection.
2848 2004-06-09 David Jee <djee@redhat.com>
2850 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2851 (GtkTextComponentPeer): Set caret position to 0.
2852 * java/awt/TextComponent.java
2853 (setText): Set caret position to 0.
2854 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2855 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2856 Handle GtkScrolledWindow separately. Fix signal handler blocking.
2857 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2859 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2860 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
2863 2004-06-09 Kim Ho <kho@redhat.com>
2865 * Makefile.am: New files
2866 * Makefile.in: Regenerated
2867 * java/awt/Container.java
2868 (getComponentAt): Removed.
2869 * javax/swing/AbstractAction.java
2870 (ENABLED_PROPERTY): New property.
2871 (putValue): Fire PropertyChangeEvents.
2872 (setEnabled): ditto.
2873 (firePropertyChange): Javadoc and implement
2875 * javax/swing/AbstractButton.java
2876 (setAction): Don't create PropertyChangeListener
2877 if new Action is null.
2878 (setIcon): Don't set icon till after comparing
2880 (configurePropertiesFromAction): Check mnemonic
2881 key before calling intValue().
2882 (createActionPropertyChangeListener): Check
2883 properties rather than bulk change.
2884 * javax/swing/DefaultDesktopManager.java:
2886 * javax/swing/DesktopManager.java:
2888 * javax/swing/JComponent.java
2889 (fireVetoableChange): Implement.
2890 (paintImmediately): Use root component.
2891 * javax/swing/JDesktopPane.java: Implement
2892 * javax/swing/JInternalFrame.java: Implement
2893 * javax/swing/JLabel.java
2894 (getDisabledIcon): Return grayscaled icon if
2895 no disabled icon specified.
2896 * javax/swing/JMenuBar.java
2897 (getComponentAtIndex): Use getComponent
2898 * javax/swing/JOptionPane.java
2899 (getDesktopPaneForComponent): Use SwingUtilities'
2901 (getFrameForComponent): ditto.
2902 * javax/swing/JSplitPane.java
2903 (remove): Use getComponent.
2904 * javax/swing/SwingUtilities.java
2905 (convertPoint): Implement.
2906 * javax/swing/plaf/basic/BasicButtonUI.java
2907 (paintButtonNormal): Check opaqueness before
2909 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
2911 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
2913 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
2915 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2917 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2918 Change InternalFrame and Desktop colors.
2920 2004-06-09 David Jee <djee@redhat.com>
2922 * java/awt/Container.java
2923 (remove): Do not set component to invisible.
2925 2004-06-09 Michael Koch <konqueror@gmx.de>
2927 * javax/swing/tree/DefaultMutableTreeNode.java
2928 (getLeafCount): Renamed enum to e.
2930 2004-06-09 Michael Koch <konqueror@gmx.de>
2932 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
2933 (positionForMouseEvent): Removed redundant semicolon.
2934 (continueDrag): Use method arguments.
2936 2004-06-09 Michael Koch <konqueror@gmx.de>
2938 * javax/swing/border/TitledBorder.java,
2939 javax/swing/filechooser/FileSystemView.java,
2940 javax/swing/plaf/basic/BasicButtonListener.java,
2941 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2942 javax/swing/plaf/basic/BasicLabelUI.java,
2943 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
2944 javax/swing/plaf/basic/BasicScrollBarUI.java,
2945 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2946 javax/swing/plaf/basic/BasicSliderUI.java,
2947 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2948 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2949 javax/swing/table/JTableHeader.java,
2950 javax/swing/text/AbstractDocument.java,
2951 javax/swing/text/DefaultCaret.java,
2952 javax/swing/text/StyledEditorKit.java,
2953 javax/swing/tree/DefaultTreeCellEditor.java:
2954 Reworked import statements.
2956 2004-06-08 Graydon Hoare <graydon@redhat.com>
2958 * javax/swing/Box.java: Temporarily comment out code
2959 broken due to visibility bug.
2961 2004-06-09 Michael Koch <konqueror@gmx.de>
2963 * javax/swing/ImageIcon.java
2964 (ImageIcon): Added missing constructor.
2966 2004-06-08 Michael Koch <konqueror@gmx.de>
2968 * javax/swing/JToggleButton.java
2969 (JToggleButton): New constructor.
2970 (getAccessibleContext): Moved documentation into javadoc.
2971 (getUIClassID): Likewise.
2973 2004-06-08 Michael Koch <konqueror@gmx.de>
2975 * javax/swing/AbstractButton.java
2976 (getDisabledIcon): Create disabled icon if none exists yet.
2978 2004-06-08 Michael Koch <konqueror@gmx.de>
2980 * javax/swing/plaf/basic/BasicLookAndFeel.java
2981 (initClassDefaults): Added FormattedTextFieldUI.
2982 (loadResourceBundle): Renamed enum to e.
2984 2004-06-08 Michael Koch <konqueror@gmx.de>
2986 * javax/swing/plaf/basic/BasicButtonUI.java
2987 (paintIcon): Simplified.
2988 (paintText): Paint disabled button correctly.
2990 2004-06-08 Michael Koch <konqueror@gmx.de>
2992 * javax/swing/JComponent.java
2993 (createToolTip): Use official JToolTip API.
2995 2004-06-08 Michael Koch <konqueror@gmx.de>
2997 * javax/swing/JToolTip.java
2998 (JToolTip): No arguments in API.
2999 (setTipText): New method.
3001 2004-06-08 Michael Koch <konqueror@gmx.de>
3003 * javax/swing/SwingUtilities.java
3004 (isLeftMouseButton): New method.
3005 (isMiddleMouseButton): New method.
3006 (isRightMouseButton): New method.
3008 2004-06-08 Michael Koch <konqueror@gmx.de>
3010 * javax/swing/AbstractButton.java,
3011 javax/swing/CellRendererPane.java,
3012 javax/swing/JCheckBoxMenuItem.java,
3013 javax/swing/JColorChooser.java,
3014 javax/swing/JComboBox.java,
3015 javax/swing/JComponent.java,
3016 javax/swing/JDesktopPane.java,
3017 javax/swing/JFileChooser.java,
3018 javax/swing/JMenu.java,
3019 javax/swing/JMenuItem.java,
3020 javax/swing/JOptionPane.java,
3021 javax/swing/JPasswordField.java,
3022 javax/swing/JPopupMenu.java,
3023 javax/swing/JProgressBar.java,
3024 javax/swing/JRadioButtonMenuItem.java,
3025 javax/swing/JScrollBar.java,
3026 javax/swing/JSeparator.java,
3027 javax/swing/JSlider.java,
3028 javax/swing/JSplitPane.java,
3029 javax/swing/JTabbedPane.java,
3030 javax/swing/JTextField.java,
3031 javax/swing/JToolBar.java,
3032 javax/swing/text/JTextComponent.java:
3033 Fixed all constructors of accessibility classes.
3035 2004-06-08 Michael Koch <konqueror@gmx.de>
3037 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
3040 2004-06-08 Michael Koch <konqueror@gmx.de>
3042 * javax/swing/Box.java
3043 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
3044 (AccessibleBoxFiller.serialVersionUID): New member variable.
3045 * javax/swing/DefaultButtonModel.java
3046 (stateMask): Made protected.
3047 (listenerList): Likewise.
3048 (changeEvent): Likewise.
3050 (mnemonic): Likewise.
3051 (actionCommand): Likewise.
3052 (getListeners): New method.
3053 (getActionListeners): New method.
3054 (getItemListeners): New method.
3055 (getChangeListeners): New method.
3056 (fireItemStateChanged): Simplified.
3057 (fireActionPerformed): Simplified.
3058 (fireStateChanged): Simplified.
3059 * javax/swing/JFrame.java
3060 (JFrame): Implements WindowContants.
3061 (HIDE_ON_CLOSE): Removed.
3062 (EXIT_ON_CLOSE): Removed.
3063 (DISPOSE_ON_CLOSE): Removed.
3064 (DO_NOTHING_ON_CLOSE): Removed.
3065 (processWindowEvent): Exit with code 0.
3066 (setDefaultCloseOperation): Do security check before setting value.
3067 * javax/swing/JOptionPane.java
3068 (message): Initialize only in constructor.
3069 * javax/swing/JToolTip.java: Removed unused imports.
3070 * javax/swing/JViewport.java
3071 (serialVersionUID): New member variable.
3072 (SIMPLE_SCROLL_MODE): Made final, fixed value.
3073 (BLIT_SCROLL_MODE): Likewise.
3074 (BACKINGSTORE_SCROLL_MODE): Likewise.
3075 (scrollUnderway): Made protected.
3076 (isViewSizeSet): Likewise.
3077 * javax/swing/ListModel.java: Fixed javadoc.
3078 * javax/swing/Popup.java: Likewise.
3079 * javax/swing/RepaintManager.java
3080 (paintDirtyRegions): Don't use internal classes of
3081 java.util.AbstractMap.
3082 * javax/swing/ScrollPaneConstants.java: Reindented.
3083 * javax/swing/ScrollPaneLayout.java
3084 (viewport): Made protected.
3085 (verticalScrollBar): Made protected, renamed to vsb.
3086 (horizontalScrollBar): Made protected, renamed to hsb.
3087 (rowHeader): Made protected, renamed to rowHead.
3088 (columnHeader): Made protected, renamed to colHead.
3089 (lowerLeft): Made protected.
3090 (lowerRight): Made protected.
3091 (upperLeft): Made protected.
3092 (upperRight): Made protected.
3093 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
3094 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
3096 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
3098 * java/awt/MediaTracker.java (imageUpdate): Only set status to
3099 LOADING if flags has SOMEBITS set.
3101 2004-06-07 Michael Koch <konqueror@gmx.de>
3103 * javax/swing/AbstractButton.java: Reorganized imports.
3104 * javax/swing/ActionMap.java: Likewise.
3105 * javax/swing/DefaultButtonModel.java: Likewise.
3106 * javax/swing/DefaultListModel.java: Likewise.
3107 * javax/swing/ImageIcon.java: Likewise.
3108 (serialVersionUID): New member variable.
3109 * javax/swing/JComboBox.java: Reorganized imports.
3110 * javax/swing/JComponent.java: Likewise.
3111 (ui): Made protected.
3112 (listenerList): Made protected.
3113 (TOOL_TIP_TEXT_KEY): New constant.
3114 (scrollRectToVisible): Removed redundant null check.
3115 * javax/swing/JFrame.java: Reorganized imports.
3116 * javax/swing/JInternalFrame.java: Reorganized imports.
3117 * javax/swing/JProgressBar.java: Likewise.
3118 * javax/swing/JRootPane.java: Likewise.
3119 * javax/swing/JScrollBar.java: Likewise.
3120 * javax/swing/JSeparator.java: Likewise.
3121 * javax/swing/JSlider.java: Likewise.
3122 * javax/swing/JTabbedPane.java: Likewise.
3123 * javax/swing/JTextField.java: Likewise.
3124 * javax/swing/JToolBar.java: Likewise.
3125 * javax/swing/JTree.java: Likewise.
3126 * javax/swing/JViewport.java: Likewise.
3127 * javax/swing/JWindow.java: Likewise.
3128 * javax/swing/KeyStroke.java: Likewise.
3129 * javax/swing/LookAndFeel.java: Likewise.
3130 * javax/swing/MenuSelectionManager.java: Likewise.
3131 * javax/swing/SwingUtilities.java: Likewise.
3132 * javax/swing/Timer.java: Likewise.
3133 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
3134 * javax/swing/JList.java
3135 (HORIZONTAL_WRAP): Made final, fixed value.
3136 (VERTICAL): Likewise.
3137 (VERTICAL_WRAP): Likewise.
3139 2004-06-07 Michael Koch <konqueror@gmx.de>
3141 * javax/swing/AbstractButton.java
3142 (serialVersionUID): New member variable.
3143 (AccessibleAbstractButton.serialVersionUID): Likewise.
3144 (AbstractButton): Made public.
3145 * javax/swing/Box.java
3146 (AccessibleBox.serialVersionUID): New member variable.
3147 (Filler.serialVersionUID): Likewise.
3148 * javax/swing/DefaultListSelectionModel.java
3149 (serialVersionUID): Likewise.
3150 * javax/swing/JApplet.java
3151 (serialVersionUID): Likewise.
3152 * javax/swing/JCheckBox.java
3153 (serialVersionUID): Likewise.
3154 * javax/swing/JCheckBoxMenuItem.java
3155 (serialVersionUID): Likewise.
3156 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
3157 * javax/swing/JColorChooser.java
3158 (serialVersionUID): Likewise.
3159 (AccessibleJColorChooser.serialVersionUID): Likewise.
3160 * javax/swing/JComponent.java
3161 (serialVersionUID): Made private.
3162 (AccessibleJComponent.serialVersionUID): New member variable.
3163 * javax/swing/JDesktopPane.java
3164 (serialVersionUID): Likewise.
3165 * javax/swing/JDialog.java
3166 (serialVersionUID): Likewise.
3167 * javax/swing/JFormattedTextField.java
3168 (serialVersionUID): Fixed value.
3169 * javax/swing/JFrame.java
3170 (serialVersionUID): New member variable.
3171 (getDefaultCloseOpertation): Made public.
3172 * javax/swing/JLayeredPane.java
3173 (serialVersionUID): Likewise.
3174 (LAYER_PROPERTY): Made final, fixed value.
3175 (JLayeredPane): Made public.
3176 * javax/swing/JMenu.java
3177 (AccessibleJMenu.serialVersionUID): New member variable.
3178 (WinListener.serialVersionUID): Likewise.
3179 * javax/swing/JMenuBar.java
3180 (serialVersionUID): Likewise.
3181 (getComponentAtIndex): Added @deprecated tag.
3182 * javax/swing/JMenuItem.java
3183 (serialVersionUID): New member variable.
3184 (AccessibleJMenuItem.serialVersionUID): Likewise.
3185 * javax/swing/JOptionPane.java
3186 (serialVersionUID): Likewise.
3187 (AccessibleJOptionPane.serialVersionUID): Likewise.
3188 * javax/swing/JPopupMenu.java
3189 (serialVersionUID): Likewise.
3190 (AccessibleJPopupMenu.serialVersionUID): Likewise.
3191 (getPopupMenuListeners): New method.
3192 (getComponentAtIndex): Added @deprecated tag.
3193 * javax/swing/JProgressBar.java
3194 (serialVersionUID): New member variable.
3195 (AccessibleJProgressBar.serialVersionUID): Likewise.
3196 * javax/swing/JRadioButton.java
3197 (serialVersionUID): Likewise.
3198 * javax/swing/JRadioButtonMenuItem.java
3199 (serialVersionUID): Likewise.
3200 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
3201 * javax/swing/JScrollBar.java
3202 (serialVersionUID): Likewise.
3203 (AccessibleJScrollBar.serialVersionUID): Likewise.
3204 * javax/swing/JSeparator.java
3205 (serialVersionUID): Likewise.
3206 (AccessibleJSeparator.serialVersionUID): Likewise.
3207 * javax/swing/JSlider.java: Fixed javadocs.
3208 (AccessibleJSlider.serialVersionUID): New member variable.
3209 * javax/swing/JSplitPane.java: Added copyright statement.
3210 (serialVersionUID): New member variable.
3211 (AccessibleJSplitPane.serialVersionUID): Likewise.
3212 * javax/swing/JTabbedPane.java
3213 (serialVersionUID): Likewise.
3214 (AccessibleJTabbedPane.serialVersionUID): Likewise.
3215 (ModelListener.serialVersionUID): Likewise.
3216 (ModelListener.ModelListener): New constructor.
3217 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
3218 (WRAP_TAB_LAYOUT): Likewise.
3219 * javax/swing/JTable.java
3220 (serialVersionUID): New member variable.
3221 * javax/swing/JToggleButton.java
3222 (serialVersionUID): Likewise.
3223 (ToggleButtonModel): Made static.
3224 (ToggleButtonModel.serialVersionUID): New member variable.
3225 * javax/swing/JToolTip.java
3226 (serialVersionUID): Likewise.
3227 * javax/swing/JTree.java
3228 (serialVersionUID): Likewise.
3229 * javax/swing/JWindow.java
3230 (serialVersionUID): Likewise.
3231 * javax/swing/Timer.java
3232 (serialVersionUID): Likewise.
3234 2004-06-06 Michael Koch <konqueror@gmx.de>
3236 * javax/swing/SwingConstants.java
3237 (NEXT): New constant.
3238 (PREVIOUS): Likewise.
3239 * javax/swing/UIManager.java
3240 (LookAndFeel): Made public.
3241 (LookAndFeel.getClassName): Likewise.
3242 (LookAndFeel.getName): Likewise.
3244 2004-06-02 Olga Rodimina <rodimina@redhat.com>
3246 * javax/swing/JCheckBoxMenuItem.java:
3248 * javax/swing/JMenu.java: Likewise.
3249 * javax/swing/JMenuBar.java: Likewise.
3250 * javax/swing/JMenuItem.java: Likewise.
3251 * javax/swing/JPopupMenu.java: Likewise.
3252 * javax/swing/JRadioButtonMenuItem.java: Likewise.
3253 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
3254 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3255 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3256 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
3257 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
3258 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
3260 2004-05-31 Olga Rodimina <rodimina@redhat.com>
3262 * javax/swing/plaf/basic/BasicMenuUI.java:
3263 (MouseEntered): Do not call getPath() from MenuSelectionManager.
3264 Call getPath() from super class instead.
3266 2004-05-31 David Jee <djee@redhat.com>
3268 * java/awt/Container.java
3269 (remove): Set component visibility to false after removing it.
3271 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
3273 * java/awt/Component.java (getForeground): Return SystemColor if
3275 (getBackground): Likewise.
3277 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
3278 (item_highlighted): New function.
3279 (connectSignals): Set item_highlighted as list's select
3282 * java/applet/Applet.java: Revert changes from 2004-04-29,
3283 2004-03-15 and 2004-03-14.
3285 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3286 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
3289 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
3290 "Dialog" as the default font.
3291 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
3293 * java/awt/Component.java (getFont): Return "Dialog" font by
3295 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
3296 Multiply size argument to pango_font_description_set_size by the
3297 DPI conversion factor rather than by PANGO_SCALE.
3298 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
3299 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
3300 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
3301 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
3302 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
3303 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
3304 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
3305 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
3306 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3307 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3308 Divide baseline y coordinate by DPI conversion factor rather
3309 than by PANGO_SCALE.
3310 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
3311 (area_prepared): Fix typo.
3312 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
3313 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
3314 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3315 (dpi_conversion_factor): New global variable.
3316 (init_dpi_conversion_factor): New function to calculate and
3317 track DPI conversion factor.
3318 (dpi_changed_cb): New callback.
3319 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
3321 2004-05-27 David Jee <djee@redhat.com>
3323 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3324 (getGraphics): Return a new GdkGraphics instance.
3325 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3326 (getGraphics): Call super.getGraphics().
3328 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
3330 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3331 (setNativeBounds): Clamp width and height values to >= 0.
3333 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3334 (find_fg_color_widget): Handle GtkOptionMenu specially.
3336 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3337 (pre_event_handler): Only post configure events to visible
3340 2004-05-26 David Jee <djee@redhat.com>
3342 * java/awt/BorderLayout.java
3343 (layoutContainer): Fix size calculations.
3345 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
3347 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3348 (window_wm_protocols_filter): Remove function.
3349 (create): Remove filter that removes WM_TAKE_FOCUS client
3352 2004-06-17 Anthony Green <green@redhat.com>
3354 * java/util/zip/ZipFile.java (getInputStream): Return null if
3357 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
3358 directory contents to the class path.
3360 2004-06-15 Andrew Haley <aph@redhat.com>
3362 * java/lang/natSystem.cc (getenv0): Don't assume environment
3363 variable is Latin 1 coded.
3365 2004-06-14 Andreas Jaeger <aj@suse.de>
3367 * configure.in: Support --enable-version-specific-runtime-libs.
3368 * configure: Regenerated.
3370 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
3372 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
3373 to pass ClassLoader argument.
3374 * java/util/GregorianCalendar.java: Likewise.
3375 * java/util/Currency.java: Likewise.
3376 * java/text/BreakIterator.java: Likewise.
3377 * java/text/Collator.java: Likewise.
3378 * java/text/DateFormat.java: Likewise.
3379 * java/text/DateFormatSymbols.java: Likewise.
3380 * java/text/DecimalFormatSymbols.java: Likewise.
3381 * java/text/NumberFormat.java: Likewise.
3382 * java/awt/Window.java: Likewise.
3384 2004-06-14 Andrew Haley <aph@redhat.com>
3386 * java/lang/System.java: (getenv0): New method.
3387 (getenv): Add security check. Do the right thing.
3388 * java/lang/natSystem.cc (getenv0): New method.
3390 2004-06-12 Mark Wielaard <mark@klomp.org>
3392 * javax/swing/RepaintManager.java
3393 (paintDirtyRegions): Use entrySet(), not values().
3395 2004-06-10 Mark Wielaard <mark@klomp.org>
3397 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
3400 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
3402 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
3403 when we already know the answer.
3404 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
3405 (setStartRule,setEndRule): Don't take abs of day number.
3406 (getOffset): Clarify docs. Add argument checks.
3407 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
3408 (equals,hasSameRules,toString,readObject): Use startTimeMode and
3411 2004-06-10 Tom Tromey <tromey@redhat.com>
3413 * interpret.cc (run): Handle wide fload.
3415 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
3417 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
3419 2004-06-05 Michael Koch <konqueror@gmx.de>
3421 * javax/swing/SwingConstants.java
3422 (NEXT): New constant.
3423 (PREVIOUS): Likewise.
3425 2004-06-05 Michael Koch <konqueror@gmx.de>
3427 * javax/swing/UIManager.java
3428 (LookAndFeel): Made public.
3429 (LookAndFeel.getName): Likewise.
3430 (LookAndFeel.getClassName): Likewise.
3432 2004-06-03 Michael Koch <konqueror@gmx.de>
3434 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3435 (requestFocus): Revert last changes.
3436 (gtkRequestFocus): Removed.
3437 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3438 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
3440 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
3441 Reverted last patch.
3442 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3443 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
3444 Reverted comment change.
3446 2004-06-02 Olga Rodimina <rodimina@redhat.com>
3448 * javax/swing/JCheckBoxMenuItem.java:
3450 * javax/swing/JMenu.java: Likewise.
3451 * javax/swing/JMenuBar.java: Likewise.
3452 * javax/swing/JMenuItem.java: Likewise.
3453 * javax/swing/JPopupMenu.java: Likewise.
3454 * javax/swing/JRadioButtonMenuItem.java: Likewise.
3455 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
3456 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3457 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3458 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
3459 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
3460 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
3462 2004-06-01 Tom Tromey <tromey@redhat.com>
3464 * java/io/ObjectStreamField.java: Cleaned up imports.
3466 2004-06-01 Michael Koch <konqueror@gmx.de>
3468 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
3470 2004-06-01 Mark Wielaard <mark@klomp.org>
3472 * java/io/Writer.java (Writer(Object)): Fixed API doc.
3474 2004-06-01 Michael Koch <konqueror@gmx.de>
3476 * java/security/Security.java
3477 (insertProviderAt): Use equals() instead of ==.
3478 (removeProvicer): Likewise.
3479 (getProvider): Likewise.
3480 * java/security/Signature.java
3481 (sign): Don't set state to UNINITIALIZED.
3484 2004-06-01 Mark Wielaard <mark@klomp.org>
3486 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
3487 Implement by calling gtkRequestFocus.
3488 (gtkRequestFocus): New native method.
3489 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3490 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
3492 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
3494 (filter_expose_event_handler):
3496 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3497 (menu_pos): Mark static.
3499 2004-06-01 Michael Koch <konqueror@gmx.de>
3501 * java/text/CollationElementIterator.java,
3502 java/text/CollationKey.java,
3503 java/text/RuleBasedCollator.java: New versions from GNU classpath.
3504 * testsuite/libjava.mauve/xfails: Removed all
3505 java.text.CollationElementIterator tests.
3507 2004-06-01 Michael Koch <konqueror@gmx.de>
3509 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
3511 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
3512 Java 1.5 keyword usage.
3514 2004-05-31 Olga Rodimina <rodimina@redhat.com>
3516 * javax/swing/plaf/basic/BasicMenuUI.java:
3517 (MouseEntered): Do not call getPath() from MenuSelectionManager.
3518 Call getPath() from super class instead.
3520 2004-05-31 Michael Koch <konqueror@gmx.de>
3522 * java/io/SequenceInputStream.java:
3523 Rename enum to e because enum is a keyword in Java 1.5.
3525 2004-05-31 Michael Koch <konqueror@gmx.de>
3527 * gnu/java/rmi/rmic/CompilerProcess.java:
3528 Fixed javadoc to by XHTML compliant.
3530 2004-05-30 Mark Wielaard <mark@klomp.org>
3532 * java/awt/Toolkit.java (loadSystemColors): Implement.
3534 2004-05-30 Michael Koch <konqueror@gmx.de>
3536 * java/lang/System.java: Reordered imports.
3538 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
3540 * java/text/DecimalFormat.java
3541 (parse): Fixed parsing of decimal strings. Number of maximum
3542 digits to be read should now work.
3543 * java/text/SimpleDateFormat.java
3544 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
3545 formatter. This fixes DateFormatTest.
3547 2004-05-30 Michael Koch <konqueror@gmx.de>
3549 * java/nio/Buffer.java
3550 (limit): Fixed off by one error.
3551 * java/nio/CharBuffer.java
3552 (wrap): Fixed arguments, added javadocs.
3554 2004-05-30 Michael Koch <konqueror@gmx.de>
3556 * gnu/java/beans/BeanInfoEmbryo.java,
3557 java/awt/im/InputContext.java,
3558 javax/swing/tree/DefaultMutableTreeNode.java:
3559 Rename enum to e because enum is a keyword in Java 1.5.
3561 2004-05-30 Michael Koch <konqueror@gmx.de>
3563 * gnu/java/math/MPN.java,
3564 java/awt/geom/Arc2D.java:
3565 Fixed javadocs all over.
3567 2004-05-30 Michael Koch <konqueror@gmx.de>
3569 * java/awt/DefaultKeyboardFocusManager.java
3570 (dispatchEvent): Call method to get key event dispatchers.
3571 (dispatchKeyEvent): Call method to get key event post processors.
3572 * javax/swing/JComponent.java
3573 (listenerList): Made protected.
3574 * javax/swing/JOptionPane.java
3575 (message): Don't initialize.
3576 (JOptionPane): Set message text.
3577 * javax/swing/JPopupMenu.java
3578 (show): Fixed typo in argument name.
3579 * javax/swing/RepaintManager.java
3580 (paintDirtyRegions): Use public API of java.util.Map.
3581 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
3582 (positionForMouseEvent): Removed redundant ';'.
3583 (continueDrag): Use method arguments.
3585 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
3587 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
3590 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
3592 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
3594 * gnu/gcj/RawDataManaged.java: New file.
3595 * java/lang/Thread.java (data): Declare as RawDataManaged.
3596 * java/lang/natThread.cc (init_native): Cast natThread data to
3597 RawDataManaged, not jobject.
3598 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
3599 * Makefile.in: Rebuilt.
3601 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
3603 * java/util/SimpleTimeZone.java: Reverting my last change until I
3604 can fix it properly.
3606 2004-05-27 Michael Koch <konqueror@gmx.de>
3608 * javax/swing/JPopupMenu.java
3609 (isVisible): Do not use visible directly.
3610 (setVisible): Likewise.
3611 * javax/swing/JWindow.java
3612 (JWindow): call accessible constructor.
3613 * javax/swing/RepaintManager.java
3614 (paintDirtyRegions): Use public methods to obtain iterator.
3616 2004-05-25 David Jee <djee@redhat.com>
3618 * java/awt/Container.java
3619 (remove): Set component's parent to null only after we removed the
3620 component from its parent's layout manager.
3622 2004-05-25 David Jee <djee@redhat.com>
3624 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3625 (GtkComponentPeer): Set bounds regardless of whether awtComponent
3627 * gnu/java/awt/peer/gtk/GtkListPeer.java
3628 (getSize): Change native method declaration.
3629 (minimumSize): Pass visible row count into getSize().
3630 (preferredSize): Likewise.
3631 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
3632 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
3633 natural size. Use visible row count to determine the final height
3636 2004-05-21 Graydon Hoare <graydon@redhat.com>
3638 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
3639 (setClip): Minor correction to order of operations.
3641 * javax/swing/JScrollPane.java: Extend sketchy implementation.
3642 * javax/swing/ScrollPaneLayout.java: Likewise.
3643 * javax/swing/JViewPort.java: Likewise.
3644 * javax/swing/ViewportLayout.java: Likewise.
3646 * javax/swing/JComponent.java: Rewrite.
3647 * javax/swing/RepaintManager.java: Likewise.
3649 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
3650 * javax/swing/JList.java
3651 (setSelectedIndices):
3652 (getSelectedIndices):
3653 (getSelectedValues): New functions.
3654 (getPreferredScrollableViewportSize): Return preferred size.
3655 (getScrollableUnitIncrement):
3656 (getScrollableBlockIncrement): Initial implementations.
3657 * javax/swing/JRootPane.java: Clean up slightly.
3662 (isValidateRoot): Add overrides from JComponent.
3663 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
3664 * javax/swing/UIManager.java (getDimension): Return the dimension.
3666 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
3667 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3668 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3669 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3670 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3671 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
3672 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3673 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3674 Likewise, and set background.
3675 * javax/swing/plaf/basic/BasicListUI.java:
3676 Likewise, and improve a bit.
3677 * javax/swing/plaf/basic/BasicScrollBarUI.java:
3678 Likewise, and adjust calculations.
3679 * javax/swing/plaf/basic/BasicViewportUI.java:
3680 Likewise, and improve a bit.
3681 * javax/swing/plaf/basic/BasicLookAndFeel.java
3682 (Button.margin): Shrink.
3684 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
3685 Hack to set horizontal always, workaround pango.
3687 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
3688 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
3689 Synchronize more often, check cairo status after ops,
3690 handle changes to cairo pattern API, check for disposal.
3692 2004-05-21 Olga Rodimina <rodimina@redhat.com>
3694 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3695 (BasicMenuItemUI): Create propertyChangeListener.
3696 (getPath):Implemented.
3697 (installListeners): Add propertyChangeListener to menuItem.
3698 (uninstallListeners): Remove propertyChangeListener from menuItem.
3699 (update): Implemented.
3700 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
3701 (mouseEntered): Take insets of popup menu into account when
3702 calculating position of popup menu.
3704 2004-05-18 Olga Rodimina <rodimina@redhat.com>
3706 * Makefile.am: Added new file.
3707 * Makefile.in: Regenerate.
3708 * javax/swing/JMenuBar.java:
3709 Started implementation.
3710 * javax/swing/JPopupMenu.java:
3711 (setVisible): Fixed location of lightweight/mediumweight
3713 (show): Fixed location of PopupMenu.
3714 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3715 New file. UI Delegate for JMenuBar.
3716 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
3717 (mouseEntered): Corrected position of the submenu.
3719 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3721 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
3722 to _gtk_accel_group_attach.
3723 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
3726 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
3727 package access. Don't override setFont.
3728 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
3729 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
3730 gtkWidgetRequestFocus package access.
3731 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
3733 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
3734 Give gtkWidgetRequestFocus package access.
3735 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
3736 gtkWidgetRequestFocus package access. Don't override setFont.
3737 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
3739 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3740 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
3742 (gtkSetFont): Likewise.
3743 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
3745 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3746 (gtkSetFont): Whitespace fix.
3748 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3749 (gtkWidgetSetUsize): Remove method.
3751 2004-05-18 David Jee <djee@redhat.com>
3753 * java/awt/image/MemoryImageSource.java
3754 (newPixels(int,int,int,int,boolean)): Set only the specified
3755 rectangle of pixels.
3756 (newPixels(byte[],ColorModel,int,int)): Implement.
3757 (newPixels(int[],ColorModel,int,int)): Implement.
3759 2004-05-18 Olga Rodimina <rodimina@redhat.com>
3761 * Makefile.am: Added new file.
3762 * Makefile.in: Regenerate.
3763 * javax/swing/JMenu.java: Started
3765 * javax/swing/JPopupMenu.java:
3766 (insert): If specified index is -1, then
3767 add component at the end.
3768 (isPopupTrigger): Reimplemented.
3769 (JPopupMenu.LightWeightPopup): setBounds
3770 of the lightWeightPopup before adding it
3772 (javax/swing/plaf/basic/BasicIconFactory.java):
3773 (getMenuArrowIcon): Implemented.
3774 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3775 (getPreferredSize): Add size of the arrow icon
3776 if this menu item is instance of JMenu.
3777 (paintMenuItem): Paint arrow icon if this
3778 menu item is a submenu.
3779 * javax/swing/plaf/basic/BasicMenuUI.java:
3780 New File. UI Delegate for JMenu.
3782 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
3784 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
3785 Post KEY_TYPED events.
3786 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3787 (generates_key_typed_event): Remove function.
3789 2004-05-17 Olga Rodimina <rodimina@redhat.com>
3791 * javax/swing/JRootPane.java
3792 (JRootPane.RootLayout): Reimplemented to
3793 set bounds of contentPane and menuBar.
3794 (setJMenuBar): Add menu bar to the layered pane.
3795 (createLayeredPane): Set layout of layeredPane
3797 * javax/swing/JLayeredPane.java:
3798 (addImpl): Calculate index of the component in the
3799 layeredPane according to the specified position within
3802 2004-05-17 David Jee <djee@redhat.com>
3804 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3805 (setPixels): Change color model to the default model after
3807 * java/awt/image/MemoryImageSource.java
3808 (newPixels): Set only the specified rectangle of pixels.
3810 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
3812 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
3813 -l-java-beans -l-javax-accessibility -l-javax-swing.
3815 * java/awt/AWTEvent.java (toString): Print source's name rather
3816 than the source itself.
3818 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
3820 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
3822 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3823 (gdk_color_to_java_color): New function.
3824 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
3826 2004-05-12 David Jee <djee@redhat.com>
3828 * java/awt/image/RGBImageFilter.java:
3829 Initialize origmodel as null.
3830 (makeColor): Fix pixel component order.
3831 (filterRGBPixels): Fix pixel iteration.
3832 (setPixels): Add extra checks for index color model. Convert pixels
3833 to default color model if necessary.
3834 (convertColorModelToDefault): New override method for byte pixels.
3835 (convertColorModelToDefault): For int pixels, fix pixel iteration.
3836 (makeColorbyDefaultCM): New override method for byte pixels.
3837 (makeColorbyDefaultCM): For int pixel, add color model as argument.
3838 (makeColor): Fix pixel component order.
3840 2004-05-11 Kim Ho <kho@redhat.com>
3842 * javax/swing/Box.java:
3843 Comment out more parts of Box.Filler.
3845 2004-05-11 Kim Ho <kho@redhat.com>
3847 * javax/swing/Box.java:
3848 Remove reference to AccessibleAWTComponent so
3851 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
3853 * gnu/java/awt/peer/gtk/GtkListPeer.java,
3854 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
3855 implementation of list peer to use GtkTreeView instead of
3856 deprecated GtkCList.
3858 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
3860 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3861 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
3862 (handleEvent): Remove keyChar argument to
3863 gtkWidgetDispatchKeyEvent calls.
3864 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
3866 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
3867 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
3868 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
3871 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
3873 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3874 (gtkWidgetRequestFocus): Mark protected.
3875 (GtkComponentPeer): Only set the peer's bounds if its component
3877 * java/awt/Component.java (static): Set the default keyboard
3879 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
3880 requestFocusInWindow(temporary)): Don't request focus if the
3881 component is not showing. Get tree lock before traversing
3882 component hierarchy.
3883 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3884 Only set the global focus owner if it is not a Window.
3885 (processKeyEvent): Consume keystrokes associated with the focus
3886 traversal keystroke.
3887 (focusPreviousComponent, focusNextComponent, upFocusCycle,
3888 downFocusCycle): Call requestFocusInWindow instead of
3890 * java/awt/EventDispatchThread.java (run): Move setting of
3891 default keyboard focus manager to Component.java.
3892 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3893 (awt_keycode_to_keysym): New function.
3894 (gtkWidgetDispatchKeyEvent): Finish implementation.
3895 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3896 (pre_event_handler): Add FIXME comment.
3898 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3899 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3900 (gtkWidgetRequestFocus): New method.
3901 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
3902 disable Tab and Shift-Tab keystrokes.
3903 (addNotify, appendText, insertText, replaceText): Simplify peer
3905 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3906 (connectSignals): Remove connections to "commit" signals.
3907 Remove C++-style comments.
3909 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3910 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3911 (handleEvent): Activate GTK button when the space bar key is
3913 (gtkActivate): New method.
3915 2004-05-06 David Jee <djee@redhat.com>
3917 * java/awt/image/CropImageFilter.java
3918 (setPixels): Implement for byte array pixels.
3919 * java/awt/image/ReplicateScaleFilter.java
3920 (setPixels): Implement for byte array pixels.
3921 (replicatePixels): Overload for byte array pixels.
3923 2004-05-06 Kim Ho <kho@redhat.com>
3925 * javax/swing/Box.java:
3926 (getAccessibleContext): Return an instance of the
3929 2004-05-05 David Jee <djee@redhat.com>
3931 * gnu/java/awt/peer/gtk/GdkGraphics.java
3932 (drawImage): When component is null, use SystemColor.window as
3933 the default bgcolor.
3934 * gnu/java/awt/peer/gtk/GtkImage.java
3935 (setPixels): We can avoid iterating through the pixel rows only
3937 * java/awt/Image.java
3938 (getScaledInstance): Partially implement.
3939 * java/awt/image/CropImageFilter.java
3940 (setProperties): Fix "filter" property.
3941 (setPixels): Implement.
3942 * java/awt/image/ReplicateScaleFilter.java
3943 (setDimensions): Use scaled dimensions.
3944 (setPixels): Implement.
3945 (replicatePixels): New method.
3947 2004-05-05 David Jee <djee@redhat.com>
3949 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3950 (convertPixels): If either pixels or model is null, return null.
3951 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
3952 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
3953 is null, do nothing and return.
3955 2004-05-03 Kim Ho <kho@redhat.com>
3957 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
3958 (getGraphics): Like GtkFramePeer, the Graphics
3959 object needs to be translate to account for
3961 (postMouseEvent): New method. Account for
3963 (postExposeEvent): ditto.
3964 * javax/swing/Box.java: Stubbed.
3965 * javax/swing/JDialog.java: Ran through jalopy
3967 (JDialog): Call SwingUtilities' getOwnerFrame
3969 (setLayout): Check isRootPaneCheckingEnabled
3970 * javax/swing/JOptionPane.java: Re-implemented.
3971 * javax/swing/SwingUtilities.java:
3972 (getOwnerFrame): Static method to grab a default
3973 owner frame for Dialogs that don't specify owners.
3974 * javax/swing/event/SwingPropertyChangeSupport.java:
3975 (firePropertyChange): Fix early exit condition.
3976 * javax/swing/plaf/basic/BasicLabelUI.java:
3977 (paint): Avoid painting text if it is null
3979 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3982 2004-05-03 Olga Rodimina <rodimina@redhat.com>
3984 * Makefile.am: Added new file.
3985 * Makefile.in: Regenerate.
3986 * javax/swing/JPopupMenu.java:
3987 Started implementation.
3988 * javax/swing/JWindow.java
3989 (JWindow): call super() if parent for window
3991 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3992 New File. UI Delegate for JPopupMenu.
3994 2004-04-30 Olga Rodimina <rodimina@redhat.com>
3996 * javax/swing/JApplet.java: Indicated that JApplet
3997 implements RootPaneContainer and made method of this
3999 * javax/swing/JFrame.java: Ditto.
4000 * javax/swing/JWindow.java: Ditto.
4002 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
4004 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4005 (nativeSetBounds): Call gdk_window_move in addition to
4008 * java/applet/Applet.java (preferredSize): Call parent's
4009 preferredSize if the applet stub is null.
4010 (minimumSize): Likewise for parent's minimumSize.
4012 2004-04-27 Olga Rodimina <rodimina@redhat.com>
4014 * javax/swing/JMenuItem.java
4015 (createActionPropertyChangeListener): Implemented.
4016 (processMouseEvent): Ditto.
4017 (fireMenuDragMouseEntered): Ditto.
4018 (fireMenuDragMouseExited): Ditto.
4019 (fireMenuDragMouseDragged): Ditto.
4020 (fireMenuDragMouseReleased): Ditto.
4021 (menuSelectionChanged): Ditto.
4022 (getSubElements): Ditto.
4023 (getComponent): Ditto.
4024 (addMenuDragMouseListener): Ditto.
4025 (removeMenuDragMouseListener):Ditto.
4026 (addMenuKeyListener): Ditto.
4027 (removeMenuKeyListener): Ditto.
4028 * javax/swing/plaf/basic/BasicMenuItemUI.java
4029 (doClick): Imlemented.
4030 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
4031 Don't handle mouse events here. Pass them to
4032 MenuSelectionManager.
4034 2004-04-26 Olga Rodimina <rodimina@redhat.com>
4035 Used correct version of jalopy configuration
4036 file to fix style in the files below.
4038 2004-04-26 Olga Rodimina <rodimina@redhat.com>
4040 * javax/swing/JCheckBoxMenuItem.java:
4041 Fixed style and removed unnecessary comments.
4042 * javax/swing/JMenuItem.java: Ditto.
4043 * javax/swing/JRadioButtonMenuItem.java: Ditto.
4044 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
4045 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
4046 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
4048 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
4050 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
4053 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
4055 * java/awt/ContainerOrderFocusTraversalPolicy.java
4056 (getComponentAfter): Start from current component and work up
4057 the component hierarchy until an acceptable component is found.
4058 Synchronize on tree lock.
4059 (getComponentBefore): Likewise.
4061 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4063 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
4064 focus-related debugging messages.
4065 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
4066 * java/awt/EventDispatchThread.java: Likewise.
4067 * java/awt/KeyboardFocusManager.java: Likewise.
4068 * java/awt/Window.java: Likewise.
4069 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
4070 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
4072 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
4073 new C++-style comments to C-style comments.
4074 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
4076 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4077 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4078 (handleEvent): Dispatch key press and key release events to
4080 (requestFocus): Post a FOCUS_GAINED event to the event queue.
4081 (gtkWidgetRequestFocus): New method.
4082 (gtkWidgetDispatchKeyEvent): Likewise.
4083 * java/awt/Component.java (requestFocus, requestFocus(boolean),
4084 requestFocusInWindow, requestFocusInWindow(boolean),
4085 getFocusCycleRootAncestor, nextFocus, transferFocus,
4086 transferFocusBackward, transferFocusUpCycle, hasFocus,
4087 isFocusOwner): Implement and document focus-handling methods.
4088 (setFocusTraversalKeys): Inherit focus traversal keys when
4089 keystrokes argument is null. Fix focus-handling documentation
4091 * java/awt/Container.java (setFocusTraversalKeys,
4092 getFocusTraversalKeys, areFocusTraversalKeysSet,
4093 isFocusCycleRoot, setFocusTraversalPolicy,
4094 getFocusTraversalPolicy, isFocusTraversalPolicySet,
4095 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
4096 Implement and document focus-handling methods.
4097 (transferFocusBackward): Remove method.
4098 (readObject, writeObject): Implement and document serialization
4100 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
4102 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
4104 * java/awt/DefaultKeyboardFocusManager.java: Implement and
4106 * java/awt/EventDispatchThread.java (run): Set default keyboard
4107 focus manager. Attempt to dispatch each event to the keyboard
4108 focus manager before normal dispatch.
4109 * java/awt/KeyboardFocusManager.java: Implement and partially
4111 * java/awt/Window.java (Window): Set focusCycleRoot to true.
4112 (show): Focus initial component when window is shown for the
4114 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4115 (pre_event_handler): Replace complex key press and key release
4116 logic with simple callbacks into GtkComponentPeer.
4117 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
4119 2004-04-21 Olga Rodimina <rodimina@redhat.com>
4121 * javax/swing/MenuSelectionManager.java
4122 (componentForPoint): Added new method.
4123 (defaultManager): New Method. Implemented.
4124 (getSelectedPath): Ditto.
4125 (isComponentPartOfCurrentMenu): Ditto.
4126 (processKeyEvent): Added new method.
4127 (processMouseEvent): New Method. Implemented.
4128 (setSelectedPath): Ditto.
4131 2004-04-19 Kim Ho <kho@redhat.com>
4133 * java/awt/Container.java:
4134 (remove): Set the component's parent to null.
4135 (getComponentAt): Implement.
4136 * javax/swing/JComponent.java:
4137 (JComponent): Initialize defaultLocale
4138 (getDefaultLocale): Implement.
4139 (setDefaultLocale): ditto.
4140 * javax/swing/JSlider.java:
4141 (JSlider): Fix calculation of value.
4142 * javax/swing/JSplitPane.java: Implement.
4143 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4144 Change SplitPane's default divider size.
4145 * javax/swing/plaf/basic/BasicScrollBarUI.java:
4146 (paint): Remove unused code.
4147 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
4148 Added comments and ran through jalopy.
4149 (setBasicSplitPaneUI): Get reference to hidden divider
4150 and set up one touch buttons if necessary.
4151 (setBorder): Fire propertyChangeEvent only if
4152 borders are different.
4153 (getPreferredSize): Defer to layout manager.
4154 (propertyChange): Implement.
4155 (oneTouchExpandableChanged): ditto.
4156 (createLeftOneTouchButton): Use BasicArrowButton.
4157 (createRightOneTouchButton): ditto.
4158 (moveDividerTo): New method. Moves the divider
4159 to a set location based on the last divider location.
4160 (BasicSplitPaneDivider::MouseHandler): Implement.
4161 (BasicSplitPaneDivider::OneTouchButton): Removed.
4162 (BasicSplitPaneDivider::DragController): Implement.
4163 (BasicSplitPaneDivider::VerticalDragController):
4165 (BasicSplitPaneDivider::DividerLayout): ditto.
4166 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
4167 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
4168 (calculateLayoutInfo): Don't show component if it's
4170 (paintTab): Fix title paint logic.
4172 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
4175 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
4176 (setStartRule,setEndRule): Don't take abs of day number.
4177 (getOffset): Clarify docs. Add argument checks.
4178 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
4179 (equals,hasSameRules,toString,readObject): Use startTimeMode and
4181 * testsuite/libjava.mauve/xfails
4182 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
4184 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
4186 Layout interfaces during preparation, not initialization.
4187 * java/lang/natClass.cc (initializeClass): Move
4188 _Jv_LayoutInterfaceMethods call...
4189 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
4191 2004-05-19 Anthony Green <green@localhost.localdomain>
4193 * Makefile.am (awt_java_source_files): Remove javax.rmi and
4195 * Makefile.in: Rebuilt.
4196 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
4197 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
4198 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
4199 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
4200 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
4201 gnu/javax/rmi/CORBA/DelegateFactory.java,
4202 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
4203 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
4204 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
4205 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
4206 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
4207 gnu/javax/rmi/PortableServer.java: Remove files.
4209 2004-05-19 Anthony Green <green@redhat.com>
4211 * Makefile.am: Define JAVA_EXT_DIRS.
4212 * Makefile.in: Rebuilt.
4213 * java/lang/natRuntime.cc (insertSystemProperties): Set
4214 java.ext.dirs property.
4216 2004-05-16 Mark Wielaard <mark@klomp.org>
4218 * java/io/Writer.java (Writer(Object)): Check for null lock object.
4220 2004-05-15 Mark Wielaard <mark@klomp.org>
4222 * doc/cni.sgml: Removed, merged into gcj.texi.
4224 2004-05-15 Mark Wielaard <mark@klomp.org>
4226 * Makefile.am (ordinary_java_source_files): Add new javax.print
4228 * Makefile.in: Regenerated.
4230 2004-05-15 Michael Koch <konqueror@gmx.de>
4232 * javax/print/attribute/standard/DateTimeAtCompleted.java,
4233 javax/print/attribute/standard/DateTimeAtCreation.java,
4234 javax/print/attribute/standard/DateTimeAtProcessing.java,
4235 javax/print/attribute/standard/DocumentName.java,
4236 javax/print/attribute/standard/JobHoldUntil.java,
4237 javax/print/attribute/standard/JobImpressionsCompleted.java,
4238 javax/print/attribute/standard/JobMessageFromOperator.java,
4239 javax/print/attribute/standard/JobName.java,
4240 javax/print/attribute/standard/JobOriginatingUserName.java,
4241 javax/print/attribute/standard/JobPriority.java,
4242 javax/print/attribute/standard/JobPrioritySupported.java,
4243 javax/print/attribute/standard/NumberOfInterveningJobs.java,
4244 javax/print/attribute/standard/OutputDeviceAssigned.java,
4245 javax/print/attribute/standard/PrinterInfo.java,
4246 javax/print/attribute/standard/PrinterLocation.java,
4247 javax/print/attribute/standard/PrinterMakeAndModel.java,
4248 javax/print/attribute/standard/PrinterMessageFromOperator.java,
4249 javax/print/attribute/standard/PrinterName.java,
4250 javax/print/attribute/standard/QueuedJobCount.java,
4251 javax/print/attribute/standard/RequestingUserName.java:
4252 Fixed javadocs all over.
4254 2004-05-15 Michael Koch <konqueror@gmx.de>
4256 * javax/print/DocFlavor.java,
4257 javax/print/attribute/standard/ColorSupported.java,
4258 javax/print/attribute/standard/Compression.java,
4259 javax/print/attribute/standard/CopiesSupported.java,
4260 javax/print/attribute/standard/Fidelity.java,
4261 javax/print/attribute/standard/Finishings.java,
4262 javax/print/attribute/standard/JobImpressionsSupported.java,
4263 javax/print/attribute/standard/JobKOctetsSupported.java,
4264 javax/print/attribute/standard/JobMediaSheetsSupported.java,
4265 javax/print/attribute/standard/JobSheets.java,
4266 javax/print/attribute/standard/JobState.java,
4267 javax/print/attribute/standard/JobStateReason.java,
4268 javax/print/attribute/standard/JobStateReasons.java,
4269 javax/print/attribute/standard/Media.java,
4270 javax/print/attribute/standard/MediaSizeName.java,
4271 javax/print/attribute/standard/MultipleDocumentHandling.java,
4272 javax/print/attribute/standard/NumberUpSupported.java,
4273 javax/print/attribute/standard/OrientationRequested.java,
4274 javax/print/attribute/standard/PDLOverrideSupported.java,
4275 javax/print/attribute/standard/PageRanges.java,
4276 javax/print/attribute/standard/PresentationDirection.java,
4277 javax/print/attribute/standard/PrintQuality.java,
4278 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
4279 javax/print/attribute/standard/PrinterMoreInfo.java,
4280 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
4281 javax/print/attribute/standard/PrinterResolution.java,
4282 javax/print/attribute/standard/PrinterState.java,
4283 javax/print/attribute/standard/PrinterStateReason.java,
4284 javax/print/attribute/standard/PrinterStateReasons.java,
4285 javax/print/attribute/standard/PrinterURI.java,
4286 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
4287 javax/print/attribute/standard/Severity.java,
4288 javax/print/attribute/standard/SheetCollate.java,
4289 javax/print/attribute/standard/Sides.java:
4290 Added serialVersionUID and removed final keyword where it doenst
4293 2004-05-15 Michael Koch <konqueror@gmx.de>
4295 * javax/print/PrintServiceLookup.java: New file.
4297 2004-05-15 Michael Koch <konqueror@gmx.de>
4299 * javax/print/DocFlavor.java:
4300 Implemented all flavor classes.
4302 2004-05-15 Michael Koch <konqueror@gmx.de>
4304 * javax/print/attribute/standard/ColorSupported.java,
4305 javax/print/attribute/standard/Compression.java,
4306 javax/print/attribute/standard/CopiesSupported.java,
4307 javax/print/attribute/standard/Fidelity.java,
4308 javax/print/attribute/standard/Finishings.java,
4309 javax/print/attribute/standard/JobImpressionsSupported.java,
4310 javax/print/attribute/standard/JobKOctetsSupported.java,
4311 javax/print/attribute/standard/JobMediaSheetsSupported.java,
4312 javax/print/attribute/standard/JobSheets.java,
4313 javax/print/attribute/standard/JobState.java,
4314 javax/print/attribute/standard/JobStateReason.java,
4315 javax/print/attribute/standard/JobStateReasons.java,
4316 javax/print/attribute/standard/Media.java,
4317 javax/print/attribute/standard/MediaSizeName.java,
4318 javax/print/attribute/standard/MultipleDocumentHandling.java,
4319 javax/print/attribute/standard/NumberUpSupported.java,
4320 javax/print/attribute/standard/OrientationRequested.java,
4321 javax/print/attribute/standard/PDLOverrideSupported.java,
4322 javax/print/attribute/standard/PageRanges.java,
4323 javax/print/attribute/standard/PresentationDirection.java,
4324 javax/print/attribute/standard/PrintQuality.java,
4325 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
4326 javax/print/attribute/standard/PrinterMoreInfo.java,
4327 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
4328 javax/print/attribute/standard/PrinterResolution.java,
4329 javax/print/attribute/standard/PrinterState.java,
4330 javax/print/attribute/standard/PrinterStateReason.java,
4331 javax/print/attribute/standard/PrinterStateReasons.java,
4332 javax/print/attribute/standard/PrinterURI.java,
4333 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
4334 javax/print/attribute/standard/Severity.java,
4335 javax/print/attribute/standard/SheetCollate.java,
4336 javax/print/attribute/standard/Sides.java: New files.
4338 2004-05-15 Michael Koch <konqueror@gmx.de>
4340 * javax/print/Doc.java
4341 (getPrintData): Throws IOException.
4342 (getReaderForText): Likewise.
4343 (getStreamForBytes): Likewise.
4344 * javax/print/DocFlavor.java:
4345 Fixed filename in copyright.
4346 (serialVersionUID): New field.
4347 * javax/print/ServiceUIFactory.java:
4348 Made all constants final.
4349 * javax/print/AttributeException.java
4350 javax/print/MultiDoc.java
4351 javax/print/MultiDocPrintJob.java
4352 javax/print/MultiDocPrintService.java
4353 javax/print/StreamPrintService.java
4354 javax/print/URIException.java: New files.
4355 * javax/print/Makefile.am
4356 (EXTRA_DIST): Added all new files.
4358 2004-05-15 Michael Koch <konqueror@gmx.de>
4360 * javax/print/attribute/standard/Copies.java,
4361 javax/print/attribute/standard/DateTimeAtCompleted.java,
4362 javax/print/attribute/standard/DateTimeAtCreation.java,
4363 javax/print/attribute/standard/DateTimeAtProcessing.java,
4364 javax/print/attribute/standard/DocumentName.java,
4365 javax/print/attribute/standard/JobHoldUntil.java,
4366 javax/print/attribute/standard/JobImpressions.java,
4367 javax/print/attribute/standard/JobImpressionsCompleted.java,
4368 javax/print/attribute/standard/JobKOctets.java,
4369 javax/print/attribute/standard/JobKOctetsProcessed.java,
4370 javax/print/attribute/standard/JobMediaSheets.java,
4371 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
4372 javax/print/attribute/standard/JobMessageFromOperator.java,
4373 javax/print/attribute/standard/JobName.java,
4374 javax/print/attribute/standard/JobOriginatingUserName.java,
4375 javax/print/attribute/standard/JobPriority.java,
4376 javax/print/attribute/standard/JobPrioritySupported.java,
4377 javax/print/attribute/standard/NumberOfDocuments.java,
4378 javax/print/attribute/standard/NumberOfInterveningJobs.java,
4379 javax/print/attribute/standard/NumberUp.java,
4380 javax/print/attribute/standard/OutputDeviceAssigned.java,
4381 javax/print/attribute/standard/PagesPerMinute.java,
4382 javax/print/attribute/standard/PagesPerMinuteColor.java:
4383 Fixed @return tag all over.
4385 2004-05-15 Michael Koch <konqueror@gmx.de>
4387 * javax/print/attribute/AttributeSetUtilities.java
4388 (verifyCategoryForValue): Fixed typo in javadoc.
4389 * javax/print/attribute/HashAttributeSet.java
4390 (containsKey): Fixed @return tag.
4391 (comtainsValue): Likewise.
4393 * javax/print/attribute/IntegerSyntax.java
4395 * javax/print/attribute/ResolutionSyntax.java
4397 (getCrossFeedResolution): Removed unused code.
4398 (getFeedResolution): Likewise.
4399 * javax/print/attribute/SetOfIntegerSyntax.java
4400 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
4401 (equals): Fixed @return tag.
4402 * javax/print/attribute/TextSyntax.java
4403 (TextSyntax): Take locale into account.
4404 (hashCode): Better implementation.
4406 2004-05-15 Michael Koch <konqueror@gmx.de>
4408 * javax/print/CancelablePrintJob.java,
4409 javax/print/Doc.java,
4410 javax/print/DocFlavor.java,
4411 javax/print/DocPrintJob.java,
4412 javax/print/FlavorException.java,
4413 javax/print/PrintException.java,
4414 javax/print/PrintService.java,
4415 javax/print/ServiceUIFactory.java: New files.
4417 2004-05-15 Mark Wielaard <mark@klomp.org>
4419 * gnu/regexp/CharIndexedReader.java: Removed.
4420 * gnu/regexp/REFilterReader.java: Likewise.
4421 * gnu/regexp/RETokenLookAhead.java: Likewise.
4422 * Makefile.am (ordinary_java_source_files): Remove above classes.
4423 * Makefile.in: Regenerated.
4425 2004-05-14 Tom Tromey <tromey@redhat.com>
4427 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
4428 not `XGraphicsConfiguration.XOffScreenImage'.
4430 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
4432 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
4434 2004-05-14 Steven Augart <augart@watson.ibm.com>
4436 * include/jni.h (_Jv_func): Removed.
4437 (struct JNINativeInterface): Use `void *' for reserved slots.
4438 (struct JNIInvokeInterface): Likewise.
4440 2004-05-11 Michael Koch <konqueror@gmx.de>
4442 * gnu/java/net/natPlainSocketImplPosix.cc
4443 (read): Fixed typo in expression.
4445 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
4447 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
4448 ld_library_additions. Adjust all calls to libjava_invoke to match
4451 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
4452 path to cxxflagslist.
4453 Pass path of libstdc++ to libjava_invoke.
4455 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
4456 libjava_invoke arguments.
4458 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
4460 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
4463 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
4465 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
4466 main binary against the JNI shared library.
4468 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
4470 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
4471 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
4472 (SimpleTimeZone): Tweak docs. Add new variation.
4473 (setStartRule,setEndRule): Add new variations. Use
4474 startTimeMode and endTimeMode.
4476 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
4478 * java/util/Calendar.java (getActualMinimum,
4479 getActualMaximum): Remove abstract. Implement.
4481 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
4483 Run the jni tests using the interpreter.
4484 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
4485 options_cxx to shared lib compile command.
4486 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
4487 they are used to link the shared lib, not the main binary.
4488 Use libjava_invoke to run gij.
4490 2004-05-06 Michael Koch <konqueror@gmx.de>
4492 * java/util/logging/Level.java
4493 (parse): Use == instead of String.equals().
4495 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
4497 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
4498 verify_field_signature and verify_method_signature, not
4499 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
4500 (_Jv_ClassReader::handleField): Likewise.
4501 (_Jv_ClassReader::handleMethod): Likewise.
4503 2004-05-06 Michael Koch <konqueror@gmx.de>
4505 * javax/swing/table/TableColumn.java:
4508 2004-05-06 Michael Koch <konqueror@gmx.de>
4510 * javax/imageio/spi/ImageReaderWriterSpi.java
4511 (ImageReaderWriterSpi): Made it public.
4512 * javax/imageio/stream/ImageInputStream.java:
4515 2004-05-06 Michael Koch <konqueror@gmx.de>
4517 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4520 2004-05-06 Michael Koch <konqueror@gmx.de>
4522 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
4523 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
4525 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
4526 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
4527 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
4528 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
4529 their own source file.
4530 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4531 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
4532 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
4533 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
4534 (create): Define variable on top of function.
4535 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
4536 (menu_pos): Prototyped.
4537 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4538 (setTitle): Removed.
4539 * jni/gtk-peer/gthread-jni.c
4540 (gdk_threads_wake): Removed.
4541 * Makefile.am (gtk_c_source_files): Added new files
4542 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
4543 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
4544 * Makefile.in: Regenerated.
4546 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
4548 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
4551 2004-05-05 Mark Wielaard <mark@klomp.org>
4553 * javax/swing/AbstractButton.java: Replace special HTML entities with
4555 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
4556 * javax/swing/DefaultButtonModel.java: Likewise.
4557 * javax/swing/DefaultListModel.java: Likewise.
4558 * javax/swing/JList.java: Likewise.
4559 * javax/swing/JSlider.java: Likewise.
4560 * javax/swing/ListModel.java: Likewise.
4561 * javax/swing/Popup.java: Likewise.
4562 * javax/swing/SwingUtilities.java: Likewise.
4564 2004-05-05 Michael Koch <konqueror@gmx.de>
4566 * javax/swing/AbstractButton.java,
4567 javax/swing/ActionMap.java,
4568 javax/swing/DefaultButtonModel.java,
4569 javax/swing/DefaultListModel.java,
4570 javax/swing/ImageIcon.java,
4571 javax/swing/JComboBox.java,
4572 javax/swing/JComponent.java,
4573 javax/swing/JFrame.java,
4574 javax/swing/JInternalFrame.java,
4575 javax/swing/JMenuBar.java,
4576 javax/swing/JMenuItem.java,
4577 javax/swing/JOptionPane.java,
4578 javax/swing/JProgressBar.java,
4579 javax/swing/JRootPane.java,
4580 javax/swing/JScrollBar.java,
4581 javax/swing/JScrollPane.java,
4582 javax/swing/JSeparator.java,
4583 javax/swing/JSlider.java,
4584 javax/swing/JTabbedPane.java,
4585 javax/swing/JTable.java,
4586 javax/swing/JTextField.java,
4587 javax/swing/JToolBar.java,
4588 javax/swing/JToolTip.java,
4589 javax/swing/JTree.java,
4590 javax/swing/JViewport.java,
4591 javax/swing/JWindow.java,
4592 javax/swing/KeyStroke.java,
4593 javax/swing/LookAndFeel.java,
4594 javax/swing/SwingUtilities.java,
4595 javax/swing/Timer.java,
4596 javax/swing/ToolTipManager.java,
4597 javax/swing/UIDefaults.java,
4598 javax/swing/border/TitledBorder.java,
4599 javax/swing/filechooser/FileSystemView.java,
4600 javax/swing/plaf/basic/BasicButtonListener.java,
4601 javax/swing/plaf/basic/BasicButtonUI.java,
4602 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4603 javax/swing/plaf/basic/BasicGraphicsUtils.java,
4604 javax/swing/plaf/basic/BasicLabelUI.java,
4605 javax/swing/plaf/basic/BasicMenuItemUI.java,
4606 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4607 javax/swing/plaf/basic/BasicRootPaneUI.java,
4608 javax/swing/plaf/basic/BasicScrollBarUI.java,
4609 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4610 javax/swing/plaf/basic/BasicSliderUI.java,
4611 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4612 javax/swing/plaf/basic/BasicToggleButtonUI.java,
4613 javax/swing/table/JTableHeader.java,
4614 javax/swing/text/AbstractDocument.java,
4615 javax/swing/text/DefaultCaret.java,
4616 javax/swing/text/StyledEditorKit.java,
4617 javax/swing/tree/DefaultTreeCellEditor.java:
4620 2004-05-05 Michael Koch <konqueror@gmx.de>
4622 * java/util/prefs/AbstractPreferences.java
4623 (AbstractPreferences): Added parenthesis for clarity.
4624 Closes classpath bug #7940.
4626 2004-05-05 Tom Tromey <tromey@redhat.com>
4628 * javax/naming/CompoundName.java (endsWith): Look at correct
4629 element of source name.
4631 2004-05-05 Mark Wielaard <mark@klomp.org>
4633 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
4634 * java/util/HashMap.java (rehash): Add entry at start of bucket.
4636 2004-05-05 Tom Tromey <tromey@redhat.com>
4638 * java/io/BufferedReader.java (skip): Removed unused
4641 2004-05-05 Michael Koch <konqueror@gmx.de>
4643 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
4645 2004-05-05 Dalibor Topic <robilad@kaffe.org>
4647 * java/text/AttributedString.java,
4648 java/text/AttributedStringIterator.java,
4649 java/text/Collator.java,
4650 java/text/DecimalFormatSymbols.java,
4651 java/text/NumberFormat.java,
4652 java/text/RuleBasedCollator.java:
4655 2004-05-05 Tom Tromey <tromey@redhat.com>
4657 * java/text/Format.java: Cleaned up imports.
4658 * java/text/DecimalFormat.java: Cleaned up imports.
4659 * java/security/SecureRandom.java: Cleaned up imports.
4660 (SecureRandom): Removed unused variable.
4661 * java/security/UnresolvedPermission.java: Cleaned up imports.
4662 * java/util/Date.java (parse): Removed unused variable.
4663 * java/util/ResourceBundle.java: Cleaned up imports.
4664 (getBundle): Removed unused variable.
4665 (tryBundle): Likewise.
4666 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
4668 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
4670 * java/text/SimpleDateFormat.java:
4671 (formatWithAttribute): New method. It implements
4672 the formatting process with attributes.
4673 (format): Use formatWithAttribute.
4674 (formatToCharacterIterator): New method. Use
4675 formatWithAttribute.
4677 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
4679 * java/text/MessageFormat.java:
4680 (class Field): New class.
4681 (formatToCharacterIterator): New method.
4682 (format): Use formatInternal now.
4683 (formatInternal): New method. String formatter should
4684 be done here (with attributes). Attributes merging supported.
4685 (parse): More documentation.
4686 (getFormatsByArgumentIndex): New method.
4687 (setFormatByArgumentIndex): New method.
4688 (setFormatsByArgumentIndex): New method.
4690 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
4692 * java/text/DecimalFormat.java
4693 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
4694 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
4695 (parse): Fixed handling of exponentiation notation and grouping.
4697 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
4699 * java/text/DecimalFormat.java
4700 (scanFix): Build attribute array. Fixed error reporting.
4701 (applyPatternWithSymbols): Store attributes for the prefix and
4703 (formatInternal): New method. Changed the way the string is
4704 computed. Implemented attributes. Cleant up rounding in
4705 exponential notation.
4706 (format): Use formatInternal.
4707 (formatToCharacterIterator): New method.
4708 (exponentRound, negativePrefixRanges, positivePrefixRanges,
4709 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
4710 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
4713 2004-05-04 Dalibor Topic <robilad@kaffe.org>
4715 * java/security/interfaces/DSAKeyPairGenerator.java,
4716 java/security/interfaces/DSAPrivateKey.java,
4717 java/security/interfaces/DSAPublicKey.java,
4718 java/security/interfaces/RSAPrivateKey.java,
4719 java/security/interfaces/RSAPublicKey.java:
4722 2004-05-04 Michael Koch <konqueror@gmx.de>
4724 * java/nio/ByteBuffer.java,
4725 java/nio/CharBuffer.java,
4726 java/nio/DoubleBuffer.java,
4727 java/nio/FloatBuffer.java,
4728 java/nio/IntBuffer.java,
4729 java/nio/LongBuffer.java,
4730 java/nio/ShortBuffer.java:
4731 (compareTo): Fixed bogus implementation in all buffer classes.
4733 2004-05-04 Ingo Proetel <proetel@aicas.com>
4735 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
4736 32 bit pixels not 8 bit pixels.
4737 (isCompatibleRaster): Added javadoc comment.
4739 2004-05-04 Ingo Proetel <proetel@aicas.com>
4741 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
4744 2004-05-04 Ingo Proetel <proetel@aicas.com>
4746 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
4747 (getColorModel): Return the actual color model.
4748 (getRaster): Implemented.
4749 (ColorRaster): New inner class.
4750 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
4752 * java/awt/Color.java (<init>): Make exception more verbose.
4753 (createContext): Use ColorModel when creating a PaintContext.
4755 2004-05-04 Michael Koch <konqueror@gmx.de>
4757 * gnu/java/text/CharacterBreakIterator.java
4758 (previous): Removed unused variable.
4760 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
4762 * gnu/java/text/FormatBuffer.java,
4763 gnu/java/text/AttributedFormatBuffer.java,
4764 gnu/java/text/StringFormatBuffer.java: New classes to implement
4765 attributed iterators in java.text.
4766 * gnu/java/text/FormatCharacterIterator.java: Moved
4767 from java/text as it is an internal class.
4768 * java/text/FormatCharacterIterator.java: Removed.
4769 * java/text/Format.java:
4770 Import gnu.java.text.FormatCharacterIterator.
4771 * Makefile.am (java_source_files): Added new files.
4772 * Makefile.in: Regenerated.
4775 2004-05-04 Mark Wielaard <mark@klomp.org>
4777 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
4779 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
4781 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
4782 * Makefile.in: Rebuilt.
4784 2004-05-03 Mark Wielaard <mark@klomp.org>
4786 * gnu/java/security/der/DERReader.java: Call static methods staticly.
4787 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
4789 (set(String, String, int, String, String, String, String, String)):
4790 Assign this.file to path or path + "?" + query.
4791 * java/util/Arrays.java: Call static methods staticly.
4792 * java/util/zip/ZipEntry.java: Likewise.
4793 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
4794 dir to this.direction.
4795 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
4796 Assign static field only once.
4797 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
4799 2004-05-03 Mark Wielaard <mark@klomp.org>
4801 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
4802 unused variables hScrollbarHeight and vScrollbarWidth.
4803 (preferredSize): Likewise.
4804 * gnu/java/security/provider/DSAParameters.java (engineToString):
4805 Removed unused call to System.getProperty("line.seperator");
4806 * java/security/Security.java (loadProviders): Return result.
4808 2004-05-03 Tom Tromey <tromey@redhat.com>
4810 * java/net/URLStreamHandler.java (toExternalForm): Removed
4813 * java/math/BigDecimal.java (divide): Removed unused variable.
4814 * java/lang/Throwable.java: Cleaned up imports.
4815 * java/lang/ClassLoader.java: Cleaned up imports.
4816 * java/io/FilePermission.java (implies): Removed unused
4818 * java/awt/TextComponent.java: Removed unused import.
4819 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
4820 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
4821 * gnu/java/text/WordBreakIterator.java: Removed unused import.
4822 * gnu/java/text/SentenceBreakIterator.java: Removed unused
4824 * gnu/java/text/LineBreakIterator.java: Removed unused import.
4825 * gnu/java/text/CharacterBreakIterator.java: Removed
4827 * gnu/java/security/provider/DSAKeyPairGenerator.java:
4829 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
4830 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
4832 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
4833 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
4834 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
4835 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
4836 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
4837 (lookupProviders): Removed unused variable.
4838 (loadNextServiceProvider): Likewise.
4839 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
4841 2004-05-03 Michael Koch <konqueror@gmx.de>
4843 Fixes PR libgcj/14695:
4844 * java/net/NetworkInterface.java
4845 (getByName): Return null when no interface was found.
4847 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
4848 Tom Tromey <tromey@redhat.com>
4850 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
4851 additional option "-Wmissing-prototypes" for compiling C sources.
4852 Print actual filename for pass/fail rather than $name.c.
4853 * testsuite/libjava.jni/PR15133.java: New testcase file.
4854 * testsuite/libjava.jni/PR15133.c: Likewise.
4855 * testsuite/libjava.jni/PR15133.out: Likewise.
4857 2004-04-30 Roger Sayle <roger@eyesopen.com>
4859 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
4862 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
4864 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
4865 limit the maximum heap size to avoid unnecessary thrashing.
4867 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
4869 * java/text/CollationElementIterator.java (reset): Reset
4870 lookahead variables.
4872 2004-04-23 Mark Wielaard <mark@klomp.org>
4874 * jni/classpath/jcl.c: Changed C++ comments into C comments.
4876 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4878 * java/sql/DriverManager.java:
4881 2004-04-23 Michael Koch <konqueror@gmx.de>
4884 (hashcode): Don't initialize with default value explicitely.
4885 (getContent): Removed redundant "final" keyword.
4886 (openStream): Likewise.
4887 (getURLStreamHandler): Fixed coding style.
4888 * java/net/URLConnection.java
4889 (defaultAllowUserInteraction): Don't initialize with default value
4891 (connected): Likewise.
4892 (doOutput): Likewise.
4893 (ifModifiedSince): Likewise.
4894 (dateformats_initialized): Likewise.
4895 (setURLStreamHander): Use StreamTokenizer where it belongs to.
4897 2004-04-23 Michael Koch <konqueror@gmx.de>
4899 * gnu/java/nio/channels/FileChannelImpl.java
4900 (SET, CUR): Unused, removed.
4901 (read): Implement here directly.
4902 (implRead): Removed.
4903 (write): Implement here directly.
4904 (implWrite): Removed.
4906 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4908 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
4909 javax/rmi/CORBA/Stub.java,
4910 javax/rmi/CORBA/Util.java,
4911 javax/rmi/CORBA/ValueHandler.java,
4912 javax/rmi/CORBA/ValueHandler.java,
4913 javax/rmi/PortableRemoteObject.java:
4916 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4918 * java/util/jar/JarFile.java,
4919 java/util/jar/JarInputStream.java,
4920 java/util/jar/JarOutputStream.java,
4921 java/util/jar/Manifest.java:
4924 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4926 * java/util/ArrayList.java,
4927 java/util/Calendar.java,
4928 java/util/Currency.java,
4929 java/util/HashMap.java,
4930 java/util/HashSet.java,
4931 java/util/Hashtable.java,
4932 java/util/LinkedList.java,
4933 java/util/Properties.java,
4934 java/util/PropertyPermission.java,
4935 java/util/TimeZone.java,
4936 java/util/TreeMap.java,
4937 java/util/TreeSet.java,
4938 java/util/Vector.java,
4939 java/util/WeakHashMap.java:
4942 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4944 * java/util/logging/FileHandler.java,
4945 java/util/logging/Formatter.java,
4946 java/util/logging/Handler.java,
4947 java/util/logging/Logger.java,
4948 java/util/logging/SimpleFormatter.java,
4949 java/util/logging/XMLFormatter.java:
4952 2004-04-22 Mark Wielaard <mark@klomp.org>
4954 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
4955 -Wno-long-long flags variable.
4956 (gtk_c_files): Use PEDANTIC_CFLAGS.
4957 * Makefile.in: Regenerated.
4959 2004-04-22 Mark Wielaard <mark@klomp.org>
4961 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4962 Changed C++ comments into C comments.
4963 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
4966 2004-04-22 Michael Koch <konqueror@gmx.de>
4968 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
4969 Merged copyright year with GNU classpath.
4971 2004-04-22 Dalibor Topic <robilad@kaffe.org>
4973 * javax/security/auth/x500/X500Principal.java:
4976 2004-04-22 Dalibor Topic <robilad@kaffe.org>
4978 * javax/swing/JSlider.java:
4979 Fixed HTML tags in comments.
4981 2004-04-22 Dalibor Topic <robilad@kaffe.org>
4983 * javax/accessibility/AccessibleText.java:
4986 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
4988 * java/net/URLStreamHandler.java
4989 (parseURL): Convert the file path to using '/' instead of native
4992 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
4995 (userInfo): New field.
4996 (URL): Set authority to the right value.
4997 (setURL): Fixed authority and file initialization.
4998 * java/net/URLStreamHandler.java
4999 (parseURL): Take care of the query tag. Build authority.
5000 (toExternalForm): Fixed URL building using authority.
5002 2004-04-22 Michael Koch <konqueror@gmx.de>
5004 * java/net/Socket.java
5005 (impl): Made package-private.
5006 * java/net/ServerSocket.java
5007 (implAccept): Access Socket.impl field directly.
5009 2004-04-22 Dalibor Topic <robilad@kaffe.org>
5011 * java/util/prefs/Preferences.java,
5012 java/util/prefs/InvalidPreferencesFormatException.java,
5013 java/util/prefs/BackingStoreException.java,
5014 java/util/prefs/AbstractPreferences.java:
5017 2004-04-22 Dalibor Topic <robilad@kaffe.org>
5019 * java/util/regex/Matcher.java,
5020 java/util/regex/Pattern.java:
5023 2004-04-22 Michael Koch <konqueror@gmx.de>
5025 * java/nio/charset/IllegalCharsetNameException.java
5026 (charsetName): Made private.
5027 (IllegalCharsetNameException): Added @param tag to javadoc.
5028 (getCharsetName): Added @return tag to javadoc.
5029 * java/nio/charset/MalformedInputException.java
5030 (MalformedInputException): Added @param tag to javadoc.
5031 (getInputLength): Revised method description, added @return tag.
5032 (getMessage): Added @return tag.
5034 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
5036 * java/awt/Font.java (deriveFont): Implement missing variants.
5037 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
5040 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
5042 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
5043 Set method->index values for interface methods to their itable index.
5044 (initializeClass): Call _Jv_LayoutInterfaceMethods.
5046 2004-04-21 Michael Koch <konqueror@gmx.de>
5048 * java/nio/DirectByteBufferImpl.java
5049 (shiftDown): Made static, give address as argument and
5050 provide a convenience method that overwrites shiftDown in
5051 ByteBufferImpl and calls the native shiftDown.
5052 * java/nio/MappedByteBufferImpl.java
5053 (): Use optimized method in DirectByteBufferImpl.
5054 * java/nio/natDirectByteBufferImpl.cc
5055 (shiftDown): Changed method signature. Removed usage of array_offset.
5057 2004-04-21 Michael Koch <konqueror@gmx.de>
5059 * gnu/java/net/natPlainSocketImplPosix.cc
5060 (SocketInputStream::read): Make sure returned data is a byte value.
5062 2004-04-21 Michael Koch <konqueror@gmx.de>
5064 * gnu/classpath/ServiceFactory.java,
5065 gnu/classpath/ServiceProviderLoadingAction.java,
5066 javax/imageio/ImageReader.java,
5067 javax/imageio/ImageTranscoder.java,
5068 javax/imageio/ImageWriter.java,
5069 javax/imageio/package.html,
5070 javax/imageio/spi/IIOServiceProvider.java,
5071 javax/imageio/spi/ImageInputStreamSpi.java,
5072 javax/imageio/spi/ImageOutputStreamSpi.java,
5073 javax/imageio/spi/ImageReaderWriterSpi.java,
5074 javax/imageio/spi/ImageTranscoderSpi.java,
5075 javax/imageio/spi/RegisterableService.java,
5076 javax/imageio/spi/ServiceRegistry.java,
5077 javax/imageio/spi/package.html,
5078 javax/imageio/stream/IIOByteBuffer.java,
5079 javax/imageio/stream/ImageInputStream.java,
5080 javax/imageio/stream/ImageOutputStream.java,
5081 javax/imageio/stream/package.html:
5084 (ordinary_java_source_files): Added
5085 gnu/classpath/ServiceFactory.java and
5086 gnu/classpath/ServiceProviderLoadingAction.java.
5087 (javax_source_files): Added
5088 javax/imageio/ImageReader.java,
5089 javax/imageio/ImageTranscoder.java,
5090 javax/imageio/ImageWriter.java,
5091 javax/imageio/spi/IIOServiceProvider.java,
5092 javax/imageio/spi/ImageInputStreamSpi.java,
5093 javax/imageio/spi/ImageOutputStreamSpi.java,
5094 javax/imageio/spi/ImageReaderWriterSpi.java,
5095 javax/imageio/spi/ImageTranscoderSpi.java,
5096 javax/imageio/spi/RegisterableService.java,
5097 javax/imageio/spi/ServiceRegistry.java,
5098 javax/imageio/stream/IIOByteBuffer.java,
5099 javax/imageio/stream/ImageInputStream.java and
5100 javax/imageio/stream/ImageOutputStream.java.
5101 * Makefile.in: Regenerated.
5103 2004-04-21 Michael Koch <konqueror@gmx.de>
5105 * java/util/Properties.java
5106 (load): Fix wrongly merged fix.
5108 2004-04-21 Mark Wielaard <mark@klomp.org>
5110 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
5111 malloc and free buf.
5113 2004-04-21 Dalibor Topic <robilad@kaffe.org>
5115 * javax/naming/AuthenticationException.java,
5116 javax/naming/AuthenticationNotSupportedException.java,
5117 javax/naming/CannotProceedException.java,
5118 javax/naming/CommunicationException.java,
5119 javax/naming/CompoundName.java,
5120 javax/naming/ConfigurationException.java,
5121 javax/naming/ContextNotEmptyException.java,
5122 javax/naming/InitialContext.java,
5123 javax/naming/InsufficientResourcesException.java,
5124 javax/naming/InterruptedNamingException.java,
5125 javax/naming/LimitExceededException.java,
5126 javax/naming/LinkException.java,
5127 javax/naming/LinkLoopException.java,
5128 javax/naming/LinkRef.java,
5129 javax/naming/MalformedLinkException.java,
5130 javax/naming/Name.java,
5131 javax/naming/NameAlreadyBoundException.java,
5132 javax/naming/NameNotFoundException.java,
5133 javax/naming/NamingSecurityException.java,
5134 javax/naming/NoInitialContextException.java,
5135 javax/naming/NoPermissionException.java,
5136 javax/naming/NotContextException.java,
5137 javax/naming/PartialResultException.java,
5138 javax/naming/ReferralException.java,
5139 javax/naming/ServiceUnavailableException.java,
5140 javax/naming/SizeLimitExceededException.java,
5141 javax/naming/TimeLimitExceededException.java,
5142 javax/naming/directory/Attribute.java,
5143 javax/naming/directory/Attributes.java,
5144 javax/naming/directory/SearchResult.java,
5145 javax/naming/event/NamingExceptionEvent.java,
5146 javax/naming/spi/ResolveResult.java:
5149 2004-04-21 Mark Wielaard <mark@klomp.org>
5151 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5152 Changed C++ comments into C comments. Removed commented out code.
5153 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5155 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5157 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5159 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5161 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5163 * native/jni/gtk-peer/gthread-jni.c:
5166 2004-04-21 Mark Wielaard <mark@klomp.org>
5168 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
5169 static fields defined in interface.
5170 * javax/awt/JDialog.java: Likewise.
5171 (JDialog): Make constructors public.
5172 (getDefaultCloseOperation): Make public.
5173 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
5174 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
5175 * javax/swing/JViewport.java (JViewport): Make constructor public.
5177 2004-04-21 Michael Koch <konqueror@gmx.de>
5179 * java/util/Map.java
5180 (Entry): Removed redundant "static" modifier.
5181 * java/text/AttributedCharacterIterator.java:
5182 Updated copyright year.
5184 2004-04-20 Michael Koch <konqueror@gmx.de>
5186 * javax/naming/directory/SearchControls.java:
5187 Don't explicitely extend java.lang.Object.
5188 * javax/naming/spi/DirStateFactory.java:
5189 Merged copyright year with GNU classpath.
5191 2004-04-20 Michael Koch <konqueror@gmx.de>
5193 * java/nio/channels/Channels.java:
5194 Merged coding style with GNU classpath.
5196 2004-04-20 Michael Koch <konqueror@gmx.de>
5198 * java/net/ServerSocket.java
5199 Merged coding style from GNU classpath.
5201 2004-04-20 Michael Koch <konqueror@gmx.de>
5203 * java/io/BufferedWriter.java:
5204 Reordered variables to be at top of the class.
5205 (localFlush): Removed redundant final keyword.
5207 2004-04-20 Ingo Proetel <proetel@aicas.com>
5209 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
5211 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
5213 * java/text/DecimalFormat.java (scanFix): Removed suffix check
5214 for percent and permill check.
5216 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
5218 * java/text/FieldPosition.java
5219 (FieldPosition) Constructor now behaves as it should according
5220 to the java documentation.
5222 2004-04-20 Mark Wielaard <mark@klomp.org>
5224 * java/util/Properties.java: Use the word umlaut, not ä in api
5227 2004-04-20 Michael Koch <konqueror@gmx.de>
5229 * java/nio/Buffer.java,
5230 java/nio/channels/AlreadyConnectedException.java,
5231 java/nio/channels/AsynchronousCloseException.java,
5232 java/nio/channels/ByteChannel.java,
5233 java/nio/channels/CancelledKeyException.java,
5234 java/nio/channels/Channel.java,
5235 java/nio/channels/Channels.java,
5236 java/nio/channels/ClosedByInterruptException.java,
5237 java/nio/channels/ClosedChannelException.java,
5238 java/nio/channels/ClosedSelectorException.java,
5239 java/nio/channels/ConnectionPendingException.java,
5240 java/nio/channels/DatagramChannel.java,
5241 java/nio/channels/FileChannel.java,
5242 java/nio/channels/FileLock.java,
5243 java/nio/channels/FileLockInterruptionException.java,
5244 java/nio/channels/GatheringByteChannel.java,
5245 java/nio/channels/IllegalBlockingModeException.java,
5246 java/nio/channels/IllegalSelectorException.java,
5247 java/nio/channels/InterruptibleChannel.java,
5248 java/nio/channels/NoConnectionPendingException.java,
5249 java/nio/channels/NonReadableChannelException.java,
5250 java/nio/channels/NonWritableChannelException.java,
5251 java/nio/channels/NotYetBoundException.java,
5252 java/nio/channels/NotYetConnectedException.java,
5253 java/nio/channels/OverlappingFileLockException.java,
5254 java/nio/channels/Pipe.java,
5255 java/nio/channels/ReadableByteChannel.java,
5256 java/nio/channels/ScatteringByteChannel.java,
5257 java/nio/channels/SelectableChannel.java,
5258 java/nio/channels/SelectionKey.java,
5259 java/nio/channels/Selector.java,
5260 java/nio/channels/ServerSocketChannel.java,
5261 java/nio/channels/SocketChannel.java,
5262 java/nio/channels/UnresolvedAddressException.java,
5263 java/nio/channels/UnsupportedAddressTypeException.java,
5264 java/nio/channels/WritableByteChannel.java,
5265 java/nio/channels/spi/AbstractInterruptibleChannel.java,
5266 java/nio/channels/spi/AbstractSelectableChannel.java,
5267 java/nio/channels/spi/AbstractSelectionKey.java,
5268 java/nio/channels/spi/AbstractSelector.java,
5269 java/nio/channels/spi/SelectorProvider.java,
5270 java/nio/charset/spi/CharsetProvider.java:
5271 Fixed javadocs and jalopied all over java.nio.
5273 2004-04-20 Michael Koch <konqueror@gmx.de>
5275 * java/nio/ByteBufferImpl.java,
5276 java/nio/CharBufferImpl.java,
5277 java/nio/DirectByteBufferImpl.java,
5278 java/nio/DoubleBufferImpl.java,
5279 java/nio/DoubleViewBufferImpl.java,
5280 java/nio/FloatBufferImpl.java,
5281 java/nio/FloatViewBufferImpl.java,
5282 java/nio/IntBufferImpl.java,
5283 java/nio/IntViewBufferImpl.java,
5284 java/nio/LongBufferImpl.java,
5285 java/nio/LongViewBufferImpl.java,
5286 java/nio/MappedByteBufferImpl.java,
5287 java/nio/ShortBufferImpl.java,
5288 java/nio/ShortViewBufferImpl.java:
5289 Made sure all classes are final and removed final keyword from all
5292 2004-04-20 Michael Koch <konqueror@gmx.de>
5294 * java/rmi/MarshalledObject.java,
5295 java/rmi/Naming.java,
5296 java/rmi/RemoteException.java,
5297 java/rmi/activation/ActivationException.java,
5298 java/rmi/server/ServerCloneException.java,
5299 java/security/AccessController.java,
5300 java/security/AlgorithmParameterGenerator.java,
5301 java/security/AlgorithmParameters.java,
5302 java/security/CodeSource.java,
5303 java/security/Identity.java,
5304 java/security/IdentityScope.java,
5305 java/security/KeyPairGenerator.java,
5306 java/security/KeyStore.java,
5307 java/security/Security.java,
5308 java/security/Signature.java,
5309 java/security/SignatureSpi.java,
5310 java/security/SignedObject.java,
5311 java/security/spec/DSAParameterSpec.java,
5312 java/security/spec/DSAPrivateKeySpec.java,
5313 java/security/spec/DSAPublicKeySpec.java,
5314 java/sql/Array.java,
5315 java/sql/DatabaseMetaData.java,
5316 java/sql/ResultSet.java,
5317 java/text/ChoiceFormat.java,
5318 java/text/CollationElementIterator.java,
5319 java/text/CollationKey.java,
5320 java/text/Collator.java,
5321 java/text/DateFormat.java,
5322 java/text/DateFormatSymbols.java,
5323 java/text/DecimalFormatSymbols.java,
5324 java/text/Format.java,
5325 java/text/ParsePosition.java,
5326 java/text/RuleBasedCollator.java,
5327 java/text/SimpleDateFormat.java,
5328 java/text/StringCharacterIterator.java,
5329 java/util/Collections.java,
5330 java/util/PropertyResourceBundle.java,
5331 java/util/ResourceBundle.java,
5332 java/util/StringTokenizer.java,
5333 java/util/jar/Attributes.java,
5334 java/util/logging/ConsoleHandler.java,
5335 java/util/logging/LogManager.java,
5336 java/util/logging/MemoryHandler.java,
5337 java/util/logging/SocketHandler.java,
5338 javax/naming/NamingException.java:
5339 Fixed javadoc, coding style and argument names all over.
5341 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
5343 * java/io/FileDescriptor.java: (FileDescriptor) Added public
5344 constructor. (valid) Added null check.
5346 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
5348 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
5349 * java/io/FileOutputStream.java
5350 (FileOutputStream) Reorganized constructors. Constructors now
5351 check whether the given path is directory.
5353 2004-04-20 Michael Koch <konqueror@gmx.de>
5355 * java/net/Authenticator.java,
5356 java/net/BindException.java,
5357 java/net/ConnectException.java,
5358 java/net/ContentHandler.java,
5359 java/net/ContentHandlerFactory.java,
5360 java/net/DatagramPacket.java,
5361 java/net/DatagramSocket.java,
5362 java/net/DatagramSocketImpl.java,
5363 java/net/DatagramSocketImplFactory.java,
5364 java/net/FileNameMap.java,
5365 java/net/HttpURLConnection.java,
5366 java/net/Inet4Address.java,
5367 java/net/Inet6Address.java,
5368 java/net/InetAddress.java,
5369 java/net/InetSocketAddress.java,
5370 java/net/JarURLConnection.java,
5371 java/net/MalformedURLException.java,
5372 java/net/MulticastSocket.java,
5373 java/net/NetPermission.java,
5374 java/net/NetworkInterface.java,
5375 java/net/NoRouteToHostException.java,
5376 java/net/PasswordAuthentication.java,
5377 java/net/PortUnreachableException.java,
5378 java/net/ProtocolException.java,
5379 java/net/ServerSocket.java,
5380 java/net/Socket.java,
5381 java/net/SocketAddress.java,
5382 java/net/SocketException.java,
5383 java/net/SocketImpl.java,
5384 java/net/SocketImplFactory.java,
5385 java/net/SocketOptions.java,
5386 java/net/SocketPermission.java,
5387 java/net/SocketTimeoutException.java,
5389 java/net/URISyntaxException.java,
5391 java/net/URLClassLoader.java,
5392 java/net/URLConnection.java,
5393 java/net/URLDecoder.java,
5394 java/net/URLEncoder.java,
5395 java/net/URLStreamHandler.java,
5396 java/net/URLStreamHandlerFactory.java,
5397 java/net/UnknownHostException.java,
5398 java/net/UnknownServiceException.java:
5399 Fixed javadocs, coding style and argument names all over.
5401 2004-04-20 Michael Koch <konqueror@gmx.de>
5403 * java/lang/Byte.java,
5404 java/lang/CharSequence.java,
5405 java/lang/ClassLoader.java,
5406 java/lang/Compiler.java,
5407 java/lang/Double.java,
5408 java/lang/Float.java,
5409 java/lang/Integer.java,
5410 java/lang/Long.java,
5411 java/lang/Math.java,
5412 java/lang/Number.java,
5413 java/lang/Package.java,
5414 java/lang/Runtime.java,
5415 java/lang/RuntimePermission.java,
5416 java/lang/SecurityManager.java,
5417 java/lang/Short.java,
5418 java/lang/StringBuffer.java,
5419 java/lang/System.java,
5420 java/lang/ThreadGroup.java,
5421 java/lang/Throwable.java,
5422 java/lang/reflect/InvocationHandler.java,
5423 java/lang/reflect/Proxy.java:
5424 Fixed javadocs, coding style and argument names all over.
5426 2004-04-20 Michael Koch <konqueror@gmx.de>
5428 * java/io/BufferedWriter.java,
5429 java/io/ByteArrayInputStream.java,
5430 java/io/CharArrayWriter.java,
5431 java/io/DataInput.java,
5432 java/io/DataInputStream.java,
5434 java/io/FilterInputStream.java,
5435 java/io/InputStream.java,
5436 java/io/InputStreamReader.java,
5437 java/io/ObjectInputStream.java,
5438 java/io/ObjectStreamClass.java,
5439 java/io/PipedInputStream.java,
5440 java/io/PipedReader.java,
5441 java/io/PushbackInputStream.java,
5442 java/io/PushbackReader.java,
5443 java/io/RandomAccessFile.java,
5444 java/io/SerializablePermission.java,
5445 java/io/StreamTokenizer.java,
5446 java/io/StringWriter.java,
5447 java/io/WriteAbortedException.java,
5448 java/io/Writer.java:
5449 Fixed javadocs all over, rename arguments to match javadocs,
5452 2004-04-20 Ingo Proetel <proetel@aicas.com>
5454 * java/awt/FontMetrics.java:
5455 (charsWidth): fixed accumulation of total_width
5456 (getWidth): simple default implementation
5457 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
5458 in Rectangle constructor.
5459 * java/awt/image/Raster.java (toString): Added method.
5460 * java/awt/image/SampleModel.java (<init>): Added error cause
5461 information to thrown exception.
5462 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
5464 (setDataElements): New method.
5465 (setPixels): New method.
5466 (toString): New method.
5468 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
5470 * java/awt/image/ComponentColorModel.java
5471 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
5472 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
5473 Mauve tests on this method. Improved documentation.
5475 2004-04-20 Michael Koch <konqueror@gmx.de>
5477 * javax/swing/JLayeredPane.java,
5478 javax/swing/plaf/BorderUIResource.java,
5479 javax/swing/plaf/ComponentUI.java,
5480 javax/swing/undo/CompoundEdit.java,
5481 javax/swing/undo/StateEdit.java:
5482 Fixed HTML tags in javadocs all over.
5484 2004-04-20 Michael Koch <konqueror@gmx.de>
5486 * javax/print/attribute/EnumSyntax.java
5487 (getOffset): Made protected.
5488 * javax/print/attribute/HashAttributeSet.java
5489 (HashAttributeSet): Likewise.
5490 * javax/print/attribute/ResolutionSyntax.java
5491 (getFeedResolution): Fixed typo in exception name.
5492 (getCrossFeedResolution): Likewise.
5493 * javax/print/attribute/SetOfIntegerSyntax.java
5494 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
5495 * javax/print/attribute/TextSyntax.java
5496 (TextSyntax): Handle locale correctly.
5497 (hashCode): Calc better hashcode value.
5498 (equals): Fixed @return tag.
5499 (toString): New method.
5501 2004-04-20 Michael Koch <konqueror@gmx.de>
5503 * gnu/java/nio/FileLockImpl.java
5504 (static): Removed, not needed anymore.
5505 * gnu/java/nio/channels/FileChannelImpl.java
5506 (FileChannelImpl): Made final.
5507 (mode): Made private.
5508 (READ, WRITE, APPEND): Made public.
5509 (EXCL, SYNC, DSYNC): Likewise.
5510 (static): Load native JNI library, when needed.
5511 (length): Unused, removed.
5512 (available): Made public.
5513 (implPosition): Throws IOException.
5515 (implTruncate): Likewise.
5519 2004-04-20 Michael Koch <konqueror@gmx.de>
5521 * java/awt/AWTPermission.java,
5522 java/awt/Component.java,
5523 java/awt/ComponentOrientation.java,,
5524 java/awt/Dialog.java,
5525 java/awt/FontMetrics.java,
5526 java/awt/Graphics.java,
5527 java/awt/datatransfer/DataFlavor.java,
5528 java/beans/Introspector.java,
5529 java/beans/PropertyEditor.java,
5530 java/beans/PropertyEditorManager.java,
5531 java/beans/beancontext/BeanContextServiceProvider.java:
5532 Fixed HTML tags in javadocs all over.
5534 2004-04-20 Mark Wielaard <mark@klomp.org>
5536 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
5537 MissingResourceException is thrown.
5538 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
5539 null when a MissingResourceException is thrown. Should never happen.
5541 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
5543 * java/awt/image/DataBufferShort.java,
5544 java/awt/image/DataBufferFloat.java,
5545 java/awt/image/DataBufferDouble.java,
5546 java/awt/image/PixelInterleavedSampleModel.java: New files.
5547 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
5548 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
5550 2004-04-20 Michael Koch <konqueror@gmx.de>
5552 * Makefile.am (java_source_files): Added
5553 java/awt/image/DataBufferDouble.java,
5554 java/awt/image/DataBufferFloat.java,
5555 java/awt/image/DataBufferShort.java and
5556 java/awt/image/PixelInterleavedSampleModel.java.
5557 * Makefile.in: Regenerated.
5559 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
5561 * gcj/cni.h (JvAllocObject): Remove these obsolete,
5562 undocumented CNI calls.
5563 * include/java-interp.h (_Jv_InterpClass): No longer
5564 extends java.lang.Class.
5565 * java/lang/Class.h (Class): Add new field `aux_info'.
5566 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
5567 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
5568 Use Class->aux_info instead.
5569 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
5570 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
5571 Use Class->aux_info instead.
5572 * java/io/natObjectInputStream.cc (allocateObject): Use
5574 * java/lang/natClass.cc (newInstance): Likewise.
5575 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
5576 * java/lang/natObject.cc (clone): Likewise.
5577 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
5578 * java/lang/natVMClassLoader.cc (defineClass): Don't use
5579 JvAllocObject. Allocate klass->aux_info here for interpreted
5582 2004-04-17 Mark Wielaard <mark@klomp.org>
5584 * javax/swing/JToggleButton.java (ToggleButtonModel):
5585 Make public static inner class.
5586 * javax/swing/JTabbedPane.java (setComponentAt):
5587 Call Page.setComponent().
5588 (SCROLL_TAB_LAYOUT): Make public, value is 1.
5589 (WRAP_TAB_LAYOUT): Make public, value is 0.
5590 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
5591 Make private static inner class.
5593 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
5595 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
5596 arguments to match new signature. Remove FIXME comments.
5598 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
5600 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
5602 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
5605 2004-04-02 Olga Rodimina <rodimina@redhat.com>
5607 * Makefile.am: Added new file.
5608 * Makefile.in: Regenerate.
5609 * javax/swing/ImageIcon.java:
5610 (ImageIcon(file)): set description of the icon
5612 * javax/swing/JCheckBoxMenuItem.java:
5613 Mostly Implemented. Work in progress.
5614 * javax/swing/JRadioButtonMenuItem.java:
5615 Reimplement constructors to use JToggleButtonModel.
5616 * javax/swing/plaf/basic/BasicIconFactory.java:
5617 (getCheckBoxMenuItemIcon): return check box
5619 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5620 paint menu item selected only when it is armed and
5623 2004-04-02 David Jee <djee@redhat.com>
5625 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5626 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
5627 * java/awt/Component.java
5628 (add): Set the parent of the popup as this component.
5629 * java/awt/PopupMenu.java
5630 (addNotify): Create popup menu when peer is null.
5631 (show): Call addNotify() if peer is null.
5632 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5633 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
5634 argument for gtk_menu_popup() as zero. This causes the popup menu to
5635 respond to any mouse button.
5637 2004-03-31 Olga Rodimina <rodimina@redhat.com>
5639 * Makefile.am: Added new file.
5640 * Makefile.in: Regenerate.
5641 * javax/swing/JRadioButtonMenuItem.java:
5643 * javax/swing/plaf/basic/BasicIconFactory.java:
5644 (getRadioButtonMenuItemIcon): Return
5646 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5647 (getPreferredSize): Add size of checkIcon if it
5649 (installDefaults): Don't initialize checkIcon.
5650 It's value will be set in subclasses.
5651 (uninstallDefaults): remove uninstallation of
5653 (paint): Moved code to paintMenuItem().
5654 (paintMenuItem): Implemented.
5655 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
5656 UI delegate for JRadioButtonMenuItem.
5658 2004-03-29 Olga Rodimina <rodimina@redhat.com>
5660 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5661 Corrected position of the accelerator.
5663 2004-03-29 Olga Rodimina <rodimina@redhat.com>
5665 * Makefile.am: Added new file.
5666 * Makefile.in: Regenerate.
5667 * javax/swing/JMenuItem.java: Partly
5668 implemented. Work in progress
5669 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5670 Changed default value of acceleratorDelimiter.
5671 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5672 New class. Partly implemented.
5674 2004-03-26 Mark Wielaard <mark@klomp.org>
5676 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5677 (item_activate): Declare label before use.
5678 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5679 (gtkSetFont): Removed unused variable label.
5680 (addExposeFilter): Declare variables before use.
5681 (removeExposeFilter): Likewise.
5682 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5683 (ok_clicked): Declare str_fileName before use.
5685 2004-03-26 David Jee <djee@redhat.com>
5687 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
5688 (addSeparator): Remove.
5689 * java/awt/Menu.java
5690 (separator): Remove static final MenuItem field.
5691 (separatorLabel): New static final String field.
5692 (addSeparator): Do not use peer method; use add(MenuItem) instead.
5693 Use separatorLabel to denote that it is a separator.
5694 (insertSeparator): Create a new MenuItem with separatorLabel, instead
5695 of reusing the static separator instance, because a MenuItem instance
5696 can't be added more than once without being cloned.
5697 * java/awt/peer/MenuPeer.java
5698 (addSeparator): Remove from interface.
5700 2004-03-26 David Jee <djee@redhat.com>
5702 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5703 (connectSignals): New native method declaration.
5704 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
5705 * java/awt/MenuItem.java
5706 (getActionCommand): Return the label if the action command is not set.
5707 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
5708 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
5709 gtk_menu_shell_append().
5710 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
5711 (item_activate): Fix argument type.
5712 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
5714 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
5716 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
5717 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
5718 given. Add the menu widget's top-level GtkWindow to the global window
5719 group, so it can grab the pointer.
5720 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
5721 gtk_menu_shell_append().
5723 2004-03-23 Graydon Hoare <graydon@redhat.com>
5725 * java/text/AttributedString.java
5726 (addAttribute): Fix off-by-one.
5727 (getIterator): Likewise.
5728 * java/text/AttributedStringIterator.java
5729 (getRunLimit): Correct logic.
5730 (getRunStart): Likewise.
5731 (getAttribute): Fix inequality.
5732 (getAttributes): Likewise.
5733 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
5735 2004-03-23 Kim Ho <kho@redhat.com>
5737 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
5738 (calculateSizes): Return real width and height.
5740 2004-03-23 Kim Ho <kho@redhat.com>
5742 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5743 (calculateTabRects): Set the selectedRun before
5744 trying to rotate tabs.
5746 2004-03-23 Kim Ho <kho@redhat.com>
5748 * Makefile.am: New file
5749 * Makefile.in: Regenerate
5750 * java/awt/Graphics.java: (drawRect):
5751 Draw to the correct point.
5752 * javax/swing/DefaultSingleSelectionModel.java
5753 (isSelected): Return true if the selected index
5755 * javax/swing/JLabel.java: Do not change mnemonic
5756 index if text is null.
5757 * javax/swing/JProgressBar.java: Use JComponent's
5759 * javax/swing/JScrollBar.java: Ditto.
5760 * javax/swing/JSlider.java: Ditto.
5761 * javax/swing/JTabbedPane.java: Reimplement.
5762 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5763 Add defaults for TabbedPane.
5764 * javax/swing/plaf/basic/BasicArrowButton.java:
5766 * javax/swing/plaf/basic/BasicProgressBarUI.java:
5767 (paintDeterminate): Don't paint String if it's
5769 (paintIndeterminate): ditto.
5770 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
5773 2004-03-19 Michael Koch <konqueror@gmx.de>
5775 * java/awt/image/AffineTransformOp.java
5776 (AffineTransformOp): Made public.
5777 * javax/swing/JComponent.java
5778 (listenerList): Made protected.
5779 (accessibleContext): Likewise.
5780 * javax/swing/JList.java
5781 (valueChanged): Dont use internal fields of ListSelectionEvent.
5782 * javax/swing/JViewport.java
5783 (getView): Dont use internal fields of Component.
5784 (addImpl): Likewise.
5785 * javax/swing/Timer.java
5786 (isRunning): Made public.
5789 * javax/swing/UIDefaults.java
5790 (getInt): Made public.
5791 * javax/swing/plaf/basic/BasicListUI.java
5792 (mousePressed): Dont use internal fields of MouseEvent.
5793 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
5794 * javax/swing/plaf/basic/BasicScrollBarUI.java
5795 (arrowIcon): Made static.
5796 * javax/swing/plaf/basic/BasicViewportUI.java
5797 (stateChanged): Dont use internal field on ChangeEvent.
5798 * javax/swing/text/JTextComponent.java
5799 (getUI): Call UIManager.getUI().
5800 (updateUI): Use getUI().
5802 2004-03-19 Graydon Hoare <graydon@redhat.com>
5804 * javax/swing/JComponent.java: Turn off double buffer by default.
5805 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
5806 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5807 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
5808 Use cairo to copy areas.
5809 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
5810 Initialize and set clip region.
5812 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5814 * java/applet/Applet.java (preferredSize): Override deprecated
5815 variant of getPreferredSize.
5816 (minimumSize): Override deprecated variant of getMinimumSize.
5818 2004-03-15 Olga Rodimina <rodimina@redhat.com>
5820 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5821 (drawImage(img,xform,bgcolor,obs)): New Method.
5822 Helper function that every drawImage method will
5824 (drawRaster): Added new parameter, bgcolor. All
5825 transparent pixels are changed to bgcolor before
5827 (drawRenderedImage): Fixed to use changed drawRaster().
5828 (drawImage(image,xform,obs): Fixed to use new helper function
5829 (drawImage(image,op,x,y)): Ditto.
5830 (drawImage (img,x,y,observer)): Ditto.
5831 ((PainterThread) bgcolor): New Field.
5832 ((PainterThread) (setPixels)): Changed all transparent pixels
5834 (drawImage(img,x,y,width,height,bgcolor,observer)):
5835 Fixed FIXME - all the transparent pixels are
5836 changed to the specified bgcolor.
5837 (drawImage(img, x, y, width, height, observer): Changed to
5839 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
5840 Fixed FIXME- changed all transparent pixels to bgcolor.
5841 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
5842 Changed to use function above.
5844 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5846 * java/applet/Applet.java (dimensions): New field.
5847 (getDimensions): New method.
5848 (getPreferredSize): Call getDimensions.
5849 (getMinimumSize): Likewise.
5851 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
5853 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
5854 * jni/classpath/jnilink.c: Likewise.
5856 * java/applet/Applet.java (getPreferredSize): New method.
5857 (getMinimumSize): New method.
5859 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
5861 * prims.cc (_Jv_AllocObject): Remove `size' argument.
5862 (_Jv_AllocObjectNoFinalizer): Likewise.
5863 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
5864 (_Jv_AllocPtrFreeObject): Likewise.
5865 (_Jv_AllocString): Moved from natString.cc. Call collector interface
5866 directly even in the JVMPI case.
5867 * gcj/cni.h (JvAllocObject): Remove `size' argument from
5868 _Jv_AllocObject calls.
5869 * gcj/javaprims.h: Update prototypes.
5870 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
5871 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
5872 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
5874 2004-04-14 Andrew Haley <aph@redhat.com>
5875 Bryce McKinlay <mckinlay@redhat.com>
5877 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
5878 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
5879 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
5881 * testsuite/libjava.lang/InvokeInterface.java: New file.
5882 * testsuite/libjava.lang/InvokeInterface.out: New file.
5884 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
5886 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
5888 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
5889 StackTraceElement directly.
5890 (newElement): New native helper method to create StackTraceElement
5891 bypassing Java access control.
5892 (createStackTraceElement): Use newElement() instead of directly
5893 calling StackTraceElement's constructor.
5894 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
5896 2004-04-01 Michael Koch <konqueror@gmx.de>
5898 * java/lang/SecurityManager.java
5899 (checkAwtEventQueueAccess): Implemented.
5901 2004-04-01 Gary Benson <gbenson@redhat.com>
5903 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
5904 (_Jv_SearchMethodInClass): Likewise.
5906 2004-03-26 Peter Moon <peterm@miraculum.com>
5908 * java/text/NumberFormat.java: Fix spelling of setCurrency
5911 2004-03-21 Anthony Green <green@redhat.com>
5913 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
5914 recursion when searching for the system ClassLoader.
5916 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
5918 * java/net/ServerSocket.java
5919 (accept): Close the socket when error occured.
5921 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
5923 * java/net/URI.java (parseURI): Added unquoting.
5924 (unquote): New method.
5925 (quoteAuthority): Implemented.
5926 (quote(String,String)): New method.
5927 (quotePath): Implemented.
5928 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
5929 (getSchemeSpecificPart): Removed FIXME comment.
5930 (getRawAuthority): Return new rawAuthority field.
5931 (getAuthority): Removed FIXME comment.
5932 (getRawUserInfo): Return new rawUserInfo field.
5933 (getUserInfo): Removed FIXME comment.
5934 (getRawPath): Return new rawPath field.
5935 (getPath): Removed FIXME comment.
5936 (getRawQuery): Return new rawQuery field.
5937 (getQuery): Removed FIXME comment.
5938 (getRawFragment): Return new rawFragment field.
5939 (getFragment): Removed FIXME comment.
5941 2004-03-20 Michael Koch <konqueror@gmx.de>
5943 * java/net/URLConnection.java: Merged copyright year with classpath.
5945 2004-03-20 Norbert Frese <postfach@nfrese.net>
5947 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
5948 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
5949 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
5951 (getObjectInputStream): Return object reference, throw IOException if null.
5952 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
5953 (getObjectOutputStream): Return object reference, throw IOException if null.
5954 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
5955 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
5956 (UnicastConnectionManager): Throw RemoteException if port is not available.
5957 (getInstance): Throw RemoteException.
5958 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
5959 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
5960 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
5961 Collect Exceptions which are returned by a rmi-call and fix void returns.
5962 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
5963 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
5964 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
5965 (dispatch): Answer ping messages which are sent by other java implementions.
5966 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
5967 for every rmi-message and fix void return problems.
5968 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
5969 (UnicastServerRef): Throw RemoteException.
5970 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
5971 In some situations it is necessary to export a subclass of the class which has the _Stub.
5972 For instance when the class with has the _Stub is abstract.
5973 (findStubSkelClass): New method which looks for the class which has the _Stub.
5974 (getClientHost): Implementated.
5975 * gcc/libjava/java/rmi/server/RemoteServer.java
5976 (getClientHost): Implementated.
5977 * gcc/libjava/Makefile.am (rmi_java_source_files):
5978 Added gnu/java/rmi/server/RMIIncomingThread.java.
5979 * Makefile.in: Regenerated.
5981 2004-03-20 Michael Koch <konqueror@gmx.de>
5983 * java/net/InetAddress.java
5984 (getLocalHostname): Added javadoc.
5986 2004-03-19 Per Bothner <per@bothner.com>
5988 * configure.in: FILE variable overrides FLATFORM when linking
5989 natFileChannelXXX.cc.
5991 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
5992 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
5994 2004-03-19 Per Bothner <per@bothner.com>
5996 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
5997 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
5998 * Makefile.am: Update accordingly.
5999 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
6000 as aliases for UnicodeLittle and UnicodeBig.
6002 2004-03-20 Mark Wielaard <mark@klomp.org>
6004 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6005 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
6006 Don't access ws when it is null.
6007 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
6010 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
6012 * java/lang/ThreadGroup.java (list): Changed print to println.
6014 2004-03-19 Mark Wielaard <mark@klomp.org>
6016 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
6019 2004-02-10 Randolph Chung <tausq@debian.org>
6021 * configure.in: Build java for hppa target.
6022 * configure: Regenerate.
6023 * libjava/configure.host (hppa-*): Add target.
6024 * libjava/sysdeps/pa/lock.h: New file.
6026 2004-03-19 Mark Wielaard <mark@klomp.org>
6028 Reported by Stephen Crawley
6029 * java/io/FilePermission.java (implies): Use String.length() -1 to
6030 access last char of String.
6032 2004-03-19 Michael Koch <konqueror@gmx.de>
6034 * java/awt/image/AffineTransformOp.java
6035 (AffineTransformOp): Made public.
6036 * javax/swing/JComponent.java
6037 (listenerList): Made protected.
6038 (accessibleContext): Likewise.
6039 * javax/swing/JList.java
6040 (valueChanged): Dont use internal fields of ListSelectionEvent.
6041 * javax/swing/JViewport.java
6042 (getView): Dont use internal fields of Component.
6043 (addImpl): Likewise.
6044 * javax/swing/Timer.java
6045 (isRunning): Made public.
6048 * javax/swing/UIDefaults.java
6049 (getInt): Made public.
6050 * javax/swing/plaf/basic/BasicListUI.java
6051 (mousePressed): Dont use internal fields of MouseEvent.
6052 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
6053 * javax/swing/plaf/basic/BasicScrollBarUI.java
6054 (arrowIcon): Made static.
6055 * javax/swing/plaf/basic/BasicViewportUI.java
6056 (stateChanged): Dont use internal field on ChangeEvent.
6057 * javax/swing/text/JTextComponent.java
6058 (getUI): Call UIManager.getUI().
6059 (updateUI): Use getUI().
6061 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6063 * verify.cc: Undef PC.
6065 2004-03-18 Michael Koch <konqueror@gmx.de>
6067 * java/nio/channels/spi/AbstractSelectableChannel.java
6068 (keys): Initialize at declaration.
6069 (locate): keys cant be null.
6071 (addSelectionKey): New method.
6072 (removeSelectionKey): New method.
6073 * java/nio/channels/spi/AbstractSelectionKey.java
6074 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
6075 * java/nio/channels/spi/AbstractSelector.java
6076 (provider): Javadoc added.
6077 (cancelledKeys): Javadoc added.
6078 (cancelKey): Javadoc added, add key to cancelledKeys.
6079 (deregister): Implemented.
6081 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6083 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
6084 MAP_FAILED to void *.
6086 2004-03-12 Graydon Hoare <graydon@redhat.com>
6088 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
6089 * javax/swing/JComponent.java (paint): Use persistent double buffer.
6090 * javax/swing/JList.java (ListListener): Revalidate on changes.
6091 * javax/swing/JScrollPane.java: Reimplement.
6092 * javax/swing/JViewport.java: Reimplement.
6093 * javax/swing/ScrollPaneLayout.java: Reimplement.
6094 * javax/swing/ViewportLayout.java: Tidy up.
6095 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
6096 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
6097 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
6098 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
6101 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
6103 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6104 (window_wm_protocols_filter): New function.
6105 (window_focus_in_cb): Remove function.
6106 (window_focus_out_cb): Likewise.
6107 (window_focus_or_active_state_change_cb): New function.
6108 (create): Add filter that removes WM_TAKE_FOCUS client messages.
6109 (connectSignals): Don't attach handlers to focus-in-event or
6110 focus-out-event signals. Handle notify signal.
6112 2004-03-11 David Jee <djee@redhat.com>
6114 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
6115 (gtkSetLabel): New native method declaration.
6116 (setLabel): Use gtkSetLabel.
6117 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
6118 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
6120 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6122 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
6123 black when color argument is null.
6125 2004-03-10 Kim Ho <kho@redhat.com>
6127 * java/awt/Container.java: Remove check
6130 2004-03-10 Kim Ho <kho@redhat.com>
6132 * java/awt/Container.java: (visitChild):
6133 Remove candidate clip. Use the component
6135 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6136 (handleEvent): Use the PaintEvent's clip.
6138 2004-03-10 Kim Ho <kho@redhat.com>
6140 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6141 (handleEvent): Don't set the clip for the
6144 2004-03-09 Graydon Hoare <graydon@redhat.com>
6146 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6147 Fix double <-> fixed macros, reset font transform.
6148 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
6151 2004-03-09Â Kim Ho <kho@redhat.com>
6153 * java/awt/Container.java: (visitChild): Move
6154 the x and y coordinate of the component rectangle
6155 to correct position.
6156 (handleEvent): Forward drag events to the pressed
6158 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6160 (ArrowButtonListener::mousePressed): Stop the
6162 (mouseDragged): Implement.
6163 (TrackListener::mousePressed): Only react if
6164 the press doesn't occur on the thumb, otherwise
6165 just set the offset.
6166 (TrackListener::mouseReleased): Unset the isAdjusting
6168 (createIncreaseIcon): Switch icon.
6169 (createDecreaseIcon): Switch icon.
6170 (calculatePreferredSize): Use width.
6171 (getThumbBounds): Use the top as the lower value.
6172 (layoutVScrollBar): Switch the button locations.
6173 (paintIncreaseHighlight): Paint correct side of thumb.
6174 (paintDecreaseHighlight): ditto.
6175 (valueForYPosition): Use top as the lower value.
6176 * javax/swing/plaf/basic/BasicSliderUI.java:
6178 (mouseDragged): Implement.
6179 (mousePressed): Only react when the thumb isn't
6180 pressed, otherwise just set offset.
6181 (mouseReleased): Handle a release of the thumb.
6182 (scrollDueToClickInTrack): Stop the timer first.
6183 * javax/swing/JProgressBar.java:
6184 (setString): Fix change condition.
6185 * javax/swing/JSeparator.java:
6188 2004-03-08 David Jee <djee@redhat.com>
6190 * java/awt/image/AffineTransformOp.java:
6191 (filter): Use Graphics2D interface instead of directly using the
6194 2004-03-05 David Jee <djee@redhat.com>
6196 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
6197 (handleEvent): Action events are generated upon MOUSE_RELEASED.
6198 * java/awt/Container.java
6199 (acquireComponentForMouseEvent): Fixed.
6200 (handleEvent): Fixed.
6201 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6202 (state_to_awt_mods_with_button_states): New method.
6203 (pre_event_handler): Fixed mouse event generation.
6205 2004-03-05 Olga Rodimina <rodimina@redhat.com>
6207 gnu/java/awt/peer/gtk/GdkGraphics2D.java
6208 (GdkGraphics2D (BufferedImage)): Initialize
6209 pixmap associated with specified BufferedImage.
6210 (setPaint): Changed implementation of Texture
6211 Paint to use AffineTransformOp.
6212 * java/awt/image/AffineTransformOp.java
6213 (createCompatibleDestRaster): Throw RasterFormatException
6214 if resulting width or height of raster is 0.
6216 2004-03-04 Olga Rodimina <rodimina@redhat.com>
6218 * java/awt/image/AffineTransformOp.java:
6219 Removed unnecessary field interpolationType.
6220 Formatted some of the lines to be consistent with
6222 (AffineTransformOp): Create new RenderingHints
6223 containing specified interpolation type.
6224 (createCompatibleDestImage): Implemented.
6225 (createCompatibleDestRaster): Implemented.
6226 (filter): Implemented.
6227 (getBounds2D(BufferedImage)): Implemented.
6228 (getBounds2D(Raster)): Implemented.
6229 (getInterpolationType): Get interpolation value from
6232 2004-03-04 David Jee <djee@redhat.com>
6234 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6235 (setFont): Check if child peers are null.
6237 2004-03-04 Graydon Hoare <graydon@redhat.com>
6239 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
6241 (libjava_arguments): Add new libraries to argument list.
6243 2004-03-02 Olga Rodimina <rodimina@redhat.com>
6245 * Makefile.am: Added java/awt/image/AffineTransformOp.java
6246 * Makefile.in: Re-generated.
6247 * java/awt/image/AffineTransformOp.java: New Class.
6249 2004-03-01 Olga Rodimina <rodimina@redhat.com>
6251 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6252 (setPaint): Interpret correctly TexturePaint's
6254 (drawImage): Fixed scale factors of the affine
6257 2004-02-27 David Jee <djee@redhat.com>
6259 * gnu/java/awt/peer/gtk/GdkGraphics.java
6260 (GdkGraphics(Component)): Inherit font from component.
6261 (drawString): Use font style.
6262 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
6263 (gtkSetFont): New native method declaration.
6264 (setFont): New method.
6265 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6266 (gtkSetFont): New native method declaration.
6267 (setFont): Call new native method gtkSetFont.
6268 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6269 (setFont): For all child components who do not their fonts set,
6270 set their peers' fonts with this container's font.
6271 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
6272 Move all native method declarations to the top for readability.
6273 (gtkSetFont): New native method declaration.
6274 (setFont): New method.
6275 * java/awt/Component.java
6276 (setFont): Invalidate after setting the font.
6277 * java/awt/Container.java
6278 (invalidateTree): New method.
6279 (setFont): Invalidate the container tree after setting the font.
6280 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6281 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
6282 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
6283 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
6284 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6285 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
6286 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6287 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
6289 2004-02-27 Olga Rodimina <rodimina@redhat.com>
6291 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6292 (updateBufferedImage): New helper function.
6293 Updates BufferedImage in memory if it was changed.
6294 (draw): changed to update BufferedImage in memory after
6295 this drawing operation
6297 (draw3DRect): Ditto.
6298 (fill3DRect): Ditto.
6300 (drawRaster): Ditto.
6301 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
6302 no affine transformation.
6303 (drawGlyphVector): Ditto.
6305 2004-02-26 Olga Rodimina <rodimina@redhat.com>
6307 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6308 (isBufferedImageGraphics): New Helper function.
6309 Returns true if this graphics2d can be used to draw
6310 into buffered image and false otherwise.
6311 (updateImagePixels): New Helper function.
6312 Updates pixels in the BufferedImage.
6313 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6314 (getImagePixels): New function. Returns pixels
6315 of the buffered image associated with
6318 2004-02-26 David Jee <djee@redhat.com>
6320 * java/awt/BorderLayout.java
6321 (layoutContainer): Fix width and height calculations to ensure
6322 that they're non-negative.
6323 * java/awt/Component.java
6324 (setBackground): If c is null, inherit from closest ancestor whose
6325 background color is set.
6327 2004-02-26 Kim Ho <kho@redhat.com>
6329 * Makefile.am: Add new files.
6330 * Makefile.in: Re-generate.
6331 * javax/swing/JProgressBar.java:
6332 (JProgressBar(int, int int)): Throw
6333 IllegalArgumentException if orientation is
6335 (JProgressBar(BoundedRangeModel)): Create
6336 ChangeListener and register it. UpdateUI.
6337 (getChangeListeners): Implement.
6338 (setModel): Reset ChangeListener.
6339 * javax/swing/JScrollBar.java: Implement.
6340 * javax/swing/JSeparator.java: Implement.
6341 * javax/swing/JSlider.java:
6342 (JSlider(int, int, int, int)): Throw
6343 IllegalArgumentException if orientation
6345 (getChangeListeners): Fix method name.
6346 * javax/swing/SwingUtilities.java:
6347 (layoutCompoundLabel): If there is no text,
6348 set the text rectangle dimensions to 0.
6349 * javax/swing/plaf/basic/BasicButtonUI.java:
6350 (paint): If there is no text, don't paint it.
6351 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6353 * javax/swing/plaf/basic/BasicSeparatorUI.java:
6355 * javax/swing/plaf/basic/BasicSliderUI.java:
6356 (propertyChange): If the model changes, change
6357 the listeners accordingly.
6359 2004-02-25 Graydon Hoare <graydon@redhat.com>
6361 * javax/swing/AbstractButton.java: Add "final" qualifiers.
6362 * javax/swing/JList.java: Reimplement.
6363 * javax/swing/DefaultListSelectionModel.java: Reimplement.
6364 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
6365 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
6366 * javax/swing/ListModel.java: Javadoc.
6367 * javax/swing/ListSelectionModel.java: Add missing methods.
6368 * javax/swing/AbstractListModel.java: Javadoc and corrections.
6369 * javax/swing/DefaultListModel.java: Javadoc and corrections.
6370 * javax/swing/ListModel.java: Javadoc and corrections.
6371 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
6373 2004-02-25 David Jee <djee@redhat.com>
6375 * gnu/java/awt/peer/gtk/GtkFontPeer.java
6376 (GtkFontPeer): Change default size to 12.
6377 * gnu/java/awt/peer/gtk/GtkToolkit.java
6378 (getFontPeer): Change default size to 12.
6379 (getClasspathFontPeer): Likewise. Set default name to "Default".
6380 * java/awt/Font.java
6381 (Font(Map)): Call Font(String,Map).
6382 (Font(String,Map)): If attrs is null, initialize it as an empty
6383 HashMap, which will ensure that the Font will get default attributes.
6385 2004-02-25 David Jee <djee@redhat.com>
6387 * gnu/java/awt/peer/gtk/GtkFontPeer.java
6388 (GtkFontPeer(String,int)): Call the new constructor with size 1.
6389 (GtkFontPeer(String,int,int)): New constructor with size attribute.
6390 * gnu/java/awt/peer/gtk/GtkToolkit.java
6391 (getFontPeer(String,int)): Call the new overload method with size 1.
6392 (getFontPeer(String,int,int)): New method. Overloaded with size
6394 (getClasspathFontPeer): Set the size of the font.
6396 2004-02-24 Olga Rodimina <rodimina@redhat.com>
6398 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6399 (bimage): New field.
6400 (GdkGraphics2D): New Constructor. Constructs Graphics
6401 object that can be used to draw into the Buffered Image.
6402 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
6403 (GdkGraphicsEnvironment): Fixed to include public
6405 (createGraphics): Implemented.
6406 * gnu/java/awt/peer/gtk/GtkToolkit.java
6407 (getLocalGraphicsEnvironment): Implemented.
6408 * java/awt/GraphicsEnvironment.java:
6409 (getLocalGraphicsEnvironment): Implemented.
6410 * java/awt/image/BufferedImage.java:
6411 (createGraphics): Implemented.
6413 2004-02-24 David Jee <djee@redhat.com>
6415 * java/awt/Component.java
6416 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
6417 * java/awt/Container.java
6418 (addNotifyContainerChildren): Fix event enabling.
6420 2004-02-23 Olga Rodimina <rodimina@redhat.com>
6422 * Makefile.am: Added
6423 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6424 * Makefile.in: Re-generated.
6425 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
6428 2004-02-19 Kim Ho <kho@redhat.com>
6430 * Makefile.am: Add BasicProgressBarUI
6431 * Makefile.in: Regenerate.
6432 * javax/swing/JProgressBar.java:
6434 * javax/swing/plaf/basic/BasicLookAndFeel.java
6435 Add constants for JProgressBar.
6436 * javax/swing/plaf/basic/BasicProgressBarUI.java
6438 * javax/swing/plaf/basic/BasicSliderUI.java
6440 (calculateGeometry): New method
6441 (paint): Remove unnecessary size calculations.
6443 2004-02-18 Olga Rodimina <rodimina@redhat.com>
6445 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6446 (drawRaster): Fixed small error that caused
6447 imageToUser transformation to be set incorrectly.
6448 (toString): Implemented.
6450 2004-02-18 David Jee <djee@redhat.com>
6452 * java/awt/CardLayout.java
6453 (addLayoutComponent): Show the first component added as the default.
6454 (removeLayoutComponent): After removing, show the next component.
6455 (gotoComponent): If there is only one component, show it and return.
6457 2004-02-18 Kim Ho <kho@redhat.com>
6459 * javax/swing/JSlider.java: Re-order
6461 * javax/swing/JLabel.java: Re-order
6463 * javax/swing/JComponent.java:
6464 (addPropertyChangeListener):
6466 (removePropertyChangeListener):
6468 (firePropertyChangeEvent):
6471 2004-02-17 David Jee <djee@redhat.com>
6473 * java/awt/Component.java
6474 (show): Dispatch ComponentEvent via system event queue.
6478 (reshape): Likewise.
6479 * java/awt/Window.java
6480 (setBoundsCallback): Likewise.
6482 2004-02-17 David Jee <djee@redhat.com>
6484 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6485 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
6486 Use gtk_widget_set_size_request() instead of the deprecated
6487 gtk_widget_set_usize().
6489 2004-02-17 Kim Ho <kho@redhat.com>
6491 * javax/swing/JSlider.java: Fix comments and
6492 make property strings constants.
6493 (createStandardLabels): Use the labels
6494 preferred size as bounds.
6495 * javax/swing/plaf/basic/BasicSliderUI.java
6497 (ScrollHandler::actionPerformed): Don't
6498 calculate the timer stop value. Let the
6499 MouseListeners find the stop location.
6500 (getPreferredHorizontalSize): Re-implement.
6501 (getPreferredVerticalSize): ditto.
6502 (getMinimumHorizontalSize): ditto.
6503 (getMinimumVerticalSize): ditto.
6504 (getPreferredSize): ditto.
6505 (getMinimumSize): ditto.
6506 (getMaximumSize): ditto.
6507 (paintTicks): Use doubles to find the
6509 (paintHorizontalLabel):Â Use preferredSize
6510 as initial width and height.
6511 (paintVerticalLabel): ditto.
6513 2004-02-17 Kim Ho <kho@redhat.com>
6515 * javax/swing/JLabel.java: Changed
6516 property strings to constants.
6517 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
6519 (setText): Change mnemonic index if
6521 (setDisplayedMnemonicIndex): Fire property
6523 (getDisplayedMnemonicIndex): Remove check
6526 2004-02-17 Olga Rodimina <rodimina@redhat.com>
6528 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6529 (drawImage(img,xform,obs)): Invert xform before
6530 passing the xform to cairo.
6531 (drawImage(img,x,y,bgcolor,obs)): Implemented.
6532 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
6534 (drawImage (img,x,y,w,h,obs)): Implemented.
6535 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
6536 bgcolor,obs)): Partly implemented.
6537 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
6539 * java/awt/image/BufferedImage.java:
6540 (copyData): if dest is null, create raster with same
6541 dimensions as the current image.
6543 2004-02-16 Graydon Hoare <graydon@redhat.com>
6545 * javax/swing/plaf/basic/BasicLabelUI.java
6546 (getPreferredSize): Use layoutCL.
6547 * javax/swing/plaf/basic/BasicGraphicsUtils.java
6548 (getPreferredButtonSize): Start with empty view rect, layout using
6549 component's preferred alignment.
6550 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
6553 2004-02-16 David Jee <djee@redhat.com>
6555 * java/awt/Component.java
6556 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
6557 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
6558 (move): Erase old bounds and repaint new bounds. Dispatch
6559 COMPONENT_MOVED ComponentEvent.
6560 (resize): Erase old bounds and repaint new bounds. Dispatch
6561 COMPONENT_RESIZED ComponentEvent.
6562 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
6564 * java/awt/Window.java
6565 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
6568 2004-02-16 Olga Rodimina <rodimina@redhat.com>
6570 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6571 (setRenderingHint): Added implementation of
6572 Interpolation rendering hints.
6573 (setRenderingHints): Ditto.
6574 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6575 (drawPixels): fixed to allow user to choose type
6576 of filtering that should be used when displaying images.
6577 (cairoSurfaceSetFilter): New method. Sets filter type for
6578 interpolation of pixel values.
6580 2004-02-16 David Jee <djee@redhat.com>
6582 * java/awt/GridBagLayout.java
6583 (calcCellSizes): Rows or columns with zero sizes should still be
6584 considered for extra space distribution.
6586 2004-02-16 Kim Ho <kho@redhat.com>
6588 * javax/swing/JLabel.java: Re-implement.
6589 * javax/swing/plaf/basic/BasicLabelUI.java
6591 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6594 2004-02-16 Kim Ho <kho@redhat.com>
6596 * javax/swing/JSlider.java: Fix indentation and comments.
6597 (setModel): Remove null check to conform with Sun's.
6598 (setOrientation): Throw exception if not
6599 HORIZONTAL or VERTICAL.
6600 (getInverted): Use private variable instead of
6601 ComponentOrientation.
6602 (setInverted): ditto.
6603 * javax/swing/plaf/basic/BasicSliderUI.java:
6604 Fix indentation and comments.
6605 (propertyChange): Remove check for inverted slider, handle
6607 (getMinimumSize): Return preferred size.
6608 (getMaximumSize): ditto.
6609 (calculateFocusRect): Don't relocate rectangle.
6610 (drawInverted): Return XOR of the slider's inversion and
6611 the component's orientation.
6612 (paint): Update leftToRightCache
6614 2004-02-13 David Jee <djee@redhat.com>
6616 * java/awt/GridBagLayout.java
6617 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
6618 code to helper methods.
6619 (sortBySpan): New helper method.
6620 (distributeSizeAndWeight): Likewise.
6621 (calcCellWeights): Likewise.
6622 (calcCellSizes): Add comments.
6624 2004-02-13 David Jee <djee@redhat.com>
6626 * java/awt/Component.java
6627 (show): Only do something if component is invisible at the moment.
6628 (hide): Only do something if component is visible at the moment.
6629 (reshape): If lightweight, erase old bounds and repaint new bounds.
6631 2004-02-13 Kim Ho <kho@redhat.com>
6633 * Makefile.am: Updated for new file.
6634 * Makefile.in: Regenerated.
6635 * javax/swing/JSlider.java: Reimplement.
6636 * javax/swing/SwingUtilities.java
6637 (layoutCompoundLabel): Use icon height
6639 (paintComponent): Implement.
6640 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6641 Add JSlider defaults.
6642 * javax/swing/plaf/basic/BasicSliderUI.java:
6643 Implement. New file.
6645 2004-03-17 Michael Koch <konqueror@gmx.de>
6647 * gnu/java/net/PlainDatagramSocketImpl.java
6648 (RECEIVE_LOCK): New member field.
6649 (SEND_LOCK): New member field.
6650 (send0): New method.
6651 (send): Synchronize on SEND_LOCK.
6652 (receive0): New method.
6653 (receive): Synchronize on RECEIVE_LOCK.
6654 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
6655 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
6656 gnu/java/net/natPlainDatagramSocketImplWin32.cc
6657 (send0): Renamed from send.
6658 (receive0): Renamed from receive.
6659 2004-03-17 Michael Koch <konqueror@gmx.de>
6661 * gnu/java/net/natPlainSocketImplPosix.cc
6662 (write): Just call write(jbyteArray, offset, len).
6663 (read): Just call read(jbyteArray, offset, len).
6665 2004-03-16 Michael Koch <konqueror@gmx.de>
6667 * javax/swing/JTabbedPane.java
6668 (serialVersionUID): New field.
6670 2004-03-16 Norbert Frese <postfach@nfrese.net>
6672 * java/net/InetAddress.java
6673 (getByName): Handle hostname == "" case.
6675 2004-03-16 Dalibor Topic <robilad@kaffe.org>
6677 Reported by: Adam Heath <doogie@debian.org>
6678 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
6681 2004-03-15 Michael Koch <konqueror@gmx.de>
6683 * java/util/Locale.java: Reverting my last patch
6684 and add a comment why the original version was okay.
6686 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
6688 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
6689 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
6690 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
6691 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
6693 2004-03-12 Michael Koch <konqueror@gmx.de>
6695 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
6697 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
6699 * java/net/URI.java (toURL): Implemented.
6701 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
6704 (URI_REGEXP) updated to contain scheme specific part.
6705 (SCHEME_SPEC_PART_GROUP) new constant.
6706 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
6707 updated to make room for SCHEME_SPEC_PART_GROUP.
6708 (parseURI) parse scheme specific part.
6709 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
6710 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
6711 getQuery, getFragment) implemented.
6713 2004-03-12 Dalibor Topic <robilad@kaffe.org>
6715 * libraries/javalib/java/net/URI.java
6716 partially implemented using java.util.regex.
6717 (URI_REGEXP) new constant. Used to parse URIs.
6718 (SCHEME_GROUP) new constant representing index of scheme group
6720 (AUTHORITY_GROUP) new constant representing index of authority
6721 group in parsed URI.
6722 (PATH_GROUP) new constant representing index of path group in
6724 (QUERY_GROUP) new constant representing index of query group in
6726 (FRAGMENT_GROUP) new constant representing index of fragment
6727 group in parsed URI.
6728 (getURIGroup) new static utility method.
6729 (parseURI) implemented.
6730 (quote) stub for new static utility method.
6731 (quoteAuthority) stub for new static utility method.
6732 (quoteHost) stub for new static utility method.
6733 (quotePath) stub for new static utility method.
6734 (quoteUserInfo) stub for new static utility method.
6736 (create) don't throw URISyntaxException. Implemented.
6737 (toString) implemented.
6739 2004-03-12 Michael Koch <konqueror@gmx.de>
6741 * java/net/HttpURLConnection.java
6742 (getResponseCode): Fix another typo in javadoc.
6744 2004-03-11 Michael Koch <konqueror@gmx.de>
6746 * java/util/logging/Level.java
6747 (parse): Use String.equals() instead of ==.
6749 2004-03-11 Michael Koch <konqueror@gmx.de>
6751 * gnu/java/net/protocol/jar/Connection.java
6752 (getContentLength): New method.
6754 2004-03-11 Michael Koch <konqueror@gmx.de>
6756 * gnu/java/net/PlainSocketImpl.java:
6757 Reformated to merge better with classpath's version.
6759 2004-03-11 Michael Koch <konqueror@gmx.de>
6761 * java/util/Locale.java
6762 (getISO3Language): Use String.equals() instead of ==.
6763 (getISO3Country): Likewise.
6765 2004-03-11 Dalibor Topic <robilad@kaffe.org>
6767 * java/text/AttributedString.java
6768 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
6769 Use HashMap instead of Hashtable since value can be null, and
6770 you can not store a null value in a Hashtable.
6772 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
6774 * java/text/AttributedStringIterator.java
6775 (getAllAttributesKey): Return only keys concerned
6776 by the current iterator.
6777 (getAttributes): Use strict inequality for
6780 2004-03-11 Michael Koch <konqueror@gmx.de>
6782 * java/net/HttpURLConnection.java:
6783 Fixed typo in javadoc.
6785 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
6787 * java/io/BufferedInputStream.java (marktarget): New field for max
6789 (CHUNKSIZE): New constant for incremental mark buffer allocation.
6790 (mark): Use new fields.
6792 (read(byte[],int,int)): Likewise.
6796 2004-03-11 Mark Wielaard <mark@klomp.org>
6798 * java/beans/BeanDescriptor.java (BeanDescriptor):
6799 Set the FeatureDescriptor programmatic name.
6801 2004-03-11 Michael Koch <konqueror@gmx.de>
6803 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
6804 This file was was just copied form java/io/natFileDescriptorEcos.cc
6805 and never changed to compile correctly.
6807 2004-03-11 Michael Koch <konqueror@gmx.de>
6809 * gnu/java/nio/PipeImpl.java
6810 (SourceChannelImpl): Made final.
6811 (read): Implemented.
6812 (SinkChannelImpl): Made final.
6813 (write): Implemented.
6815 2004-03-11 Michael Koch <konqueror@gmx.de>
6817 * gnu/java/net/PlainDatagramSocketImpl.java:
6818 Reformated to match classpath's version more.
6820 2004-03-11 Michael Koch <konqueror@gmx.de>
6822 * gnu/java/awt/peer/ClasspathFontPeer.java:
6823 Fixed javadoc to be correct xhtml.
6824 * gnu/java/awt/peer/gtk/GtkArgList.java
6825 (add): Use Boolean.valueOf() instead of new Boolean().
6827 2004-03-09 Michael Koch <konqueror@gmx.de>
6829 * java/lang/Thread.java
6830 (runnable): Moved around.
6831 (daemon): Renamed from daemon_flag.
6832 (contextClassLoader): Renamed from context_class_loader.
6833 (Thread): Reordered constructors.
6834 (activeCount): Use group directly.
6835 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
6836 (holdsLock): Reworked javadoc.
6837 (setDaemon): Reworked.
6838 * java/lang/natThread.cc
6841 2004-03-08 Anthony Green <green@redhat.com>
6843 * Makefile.am: Build property resource files into libgcj.
6844 * Makefile.in: Rebuilt.
6845 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
6846 java/util/regex/PatternSyntaxException.java,
6847 gnu/regexp/CharIndexed.java,
6848 gnu/regexp/CharIndexedCharArray.java,
6849 gnu/regexp/CharIndexedInputStream.java,
6850 gnu/regexp/CharIndexedReader.java,
6851 gnu/regexp/CharIndexedString.java,
6852 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
6853 gnu/regexp/REException.java,
6854 gnu/regexp/REFilterInputStream.java,
6855 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
6856 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
6857 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
6858 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
6859 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
6860 gnu/regexp/RETokenLookAhead.java,
6861 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
6862 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
6863 gnu/regexp/RETokenStart.java,
6864 gnu/regexp/RETokenWordBoundary.java,
6865 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
6867 2004-03-03 Per Bothner <per@bothner.com>
6869 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
6870 Optimize when argument is a FileChannelImpl.
6871 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
6873 * java/nio/channels/natChannels.cc: New file for new native methods.
6874 * Makefile.am: Update accordingly.
6876 2004-03-02 Jan Hubicka <jh@suse.cz>
6878 * configure.host: Pass -fno-omit-frame-pointer for i386.
6879 * configure.in: Likewise.
6880 * configure: Regenerate.
6882 2004-03-01 Per Bothner <per@bothner.com>
6884 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
6886 2004-02-29 Per Bothner <per@bothner.com>
6888 * java/nio/channels/FileChannelImpl.java: Moved to package
6889 gnu/java/nio/channels, since we need to refer to it from java.io.
6890 * java/nio/channels/natFileChannelImpl.cc: Removed file.
6891 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
6892 from java/nio/channels. Don't depend on FileDescriptor.
6893 (in, out, err): New static fields.
6895 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
6896 from FileDescriptor.
6897 (by): Removed MappedByteBuffer field.
6898 (map): New working implementation.
6899 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
6900 some code "ported" from natFileDescriptoPosix.cc.
6901 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
6902 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
6903 * java/io/FileDescriptor.java: Implement on top of FileChannel.
6904 Remove native methods.
6905 * Makefile.am, configure.in: Updated accordingly.
6907 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
6908 (ch): New FileChannelImpl field. Update constructor to match.
6909 (releaseImpl): Remove native method. Instead ...
6910 (release): Call unlock on channel.
6911 * gnu/java/nio/natFileLockImpl.cc: Removed file.
6913 * java/io/natFileDescriptorEcos.cc: Remove file.
6914 * java/io/natFileDescriptorPosix.cc: Remove file.
6915 * java/io/natFileDescriptorWin32.cc: Remove file.
6916 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
6917 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
6918 (<init>(FileChannelImpl)): New package-private constructor.
6919 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
6920 (available, close, read, skip): Implement using FileChannelImpl.
6921 (getFD): Allocate FileDescriptor if needed.
6922 (getChannel): Is now trivial.
6923 * java/io/FileOutputStream.java: Corresponding changes.
6924 * java/io/RandomAccessFile.java: Corresponding changes.
6926 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
6927 unmapImpl): New dummy methods, to be overridden by subclass.
6928 (finalize, isLoaded, load, force): New methods.
6929 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
6930 Now works, at least for read mapping.
6932 * java/lang/natPosixProcess.cc (startProcess): Implement standard
6933 streams using FileChannelImpl, not FileDescriptor.
6934 * java/lang/natWin32Process.cc (startProcess): Likewise.
6936 2004-02-28 Michael Koch <konqueror@gmx.de>
6938 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
6941 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
6943 * java/io/ObjectInputStream.java
6944 (readClassDescriptor): Keep elements of the mapping non null.
6945 (checkTypeConsistency): New method.
6946 (readFields): Fixed main loop and base logic. Small reindentation.
6947 * java/io/ObjectStreamField.java
6948 (lookupField): New method to update the field reference.
6949 (checkFieldType): New method.
6950 * java/io/ObjectStreamClass.java
6951 (setClass, setFields): Call lookupField when building the field
6952 database. Check the real field type.
6954 2004-02-28 Michael Koch <konqueror@gmx.de>
6956 * java/nio/ByteOrder.java
6957 (nativeOrder): Use equals() to compare strings.
6959 2004-02-26 Michael Koch <konqueror@gmx.de>
6961 * gnu/java/nio/FileLockImpl.java
6962 (finalize): Made protected.
6963 * java/nio/channels/FileChannel.java
6964 (MapMode.READ_ONLY): Made final.
6965 (MapMode.READ_WRITE): Made final.
6966 (MapMode.PRIVATE): Made final.
6967 * java/nio/channels/SocketChannel.java
6968 (open): Simplified code.
6969 * java/nio/channels/spi/AbstractSelectableChannel.java
6970 (registered): Unused, removed.
6971 (keyFor): Check channel is open, only locate key
6972 and not add a new one.
6973 (register): Don't delete attachments.
6975 2004-02-26 Michael Koch <konqueror@gmx.de>
6977 * gnu/java/awt/ComponentDataBlitOp.java
6978 (INSTANCE): Made final.
6979 * gnu/java/awt/image/ImageDecoder.java:
6981 (cm): Unused, removed.
6983 2004-02-26 Michael Koch <konqueror@gmx.de>
6985 * gnu/java/nio/DatagramChannelImpl.java
6986 (send): Check if target address is resolved.
6988 2004-02-26 Michael Koch <konqueror@gmx.de>
6990 * Makefile.am: Generate and install headers for inner classes in
6991 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
6992 * Makefile.in: Regenerated.
6994 2004-02-24 Anthony Green <green@redhat.com>
6996 * java/lang/StringBuffer.java: No need to NULL out remainder of
6997 buffer since ensureCapacity_unsynchronized will have done this for
7000 2004-02-20 Michael Koch <konqueror@gmx.de>
7002 * gnu/java/net/protocol/jar/Handler.java
7003 (): Removed unneeded check for file != null. java.net.URL.getFile()
7004 returns an empty string but never null.
7006 2004-02-20 Michael Koch <konqueror@gmx.de>
7008 * gnu/gcj/convert/Convert.java
7009 (main): Use equals() to compare strings.
7011 2004-02-20 Michael Koch <konqueror@gmx.de>
7013 * javax/swing/AbstractButton.java: Made several constants final.
7014 (getRolloverSelectedIcon): Made public.
7015 (getSelectedIcon): Made public.
7017 2004-02-16 Per Bothner <per@bothner.com>
7019 * java/nio/CharBufferImpl.java: Inline super constructor.
7020 * java/nio/DoubleBufferImpl.java: Likewise.
7021 * java/nio/FloatBufferImpl.java: Likewise.
7022 * java/nio/IntBufferImpl.java: Likewise.
7023 * java/nio/LongBufferImpl.java: Likewise.
7024 * java/nio/ShortBufferImpl.java: Likewise.
7025 * java/nio/CharBuffer.java: Remove unused constructor.
7026 * java/nio/DoubleBuffer.java: Likewise.
7027 * java/nio/FloatBuffer.java: Likewise.
7028 * java/nio/IntBuffer.java: Likewise.
7029 * java/nio/LongBuffer.java: Likewise.
7030 * java/nio/ShortBuffer.java: Likewise.
7031 * java/nio/CharViewBufferImpl.java: New convenience constructor.
7032 Fix buggy call to super constructor.
7033 * java/nio/DoubleViewBufferImpl.java: Likewise.
7034 * java/nio/FloatViewBufferImpl.java: Likewise.
7035 * java/nio/IntViewBufferImpl.java: Likewise.
7036 * java/nio/LongViewBufferImpl.java: Likewise.
7037 * java/nio/ShortViewBufferImpl.java: Likewise.
7039 * java/nio/ByteBuffer.java (endian): Make non-private so other
7040 java.nio classes can inherit it.
7041 (<init>): Don't bother clearing array_offset.
7042 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
7043 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
7044 Remove redundant test.
7046 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
7047 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
7048 Use new XxxViewBufferImpl constructors.
7049 * java/nio/MappedByteBufferImpl.java: Likewise.
7050 * java/nio/DirectByteBufferImpl.java: Likewise.
7052 * java/nio/ByteBufferImpl.java: Remove one constructor.
7053 Inline super in remaining constructor.
7054 * java/nio/ByteBuffer.java: Remove unused constructor.
7056 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
7058 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
7059 * java/nio/DirectByteBufferImpl.java (owner): New field.
7060 (offset): Remove unused field.
7061 (<init>): Modify one and add another constructor. Change callers.
7062 (allocateDirect): Removed - not used.
7063 (getImpl, putImpl): Make static and pass address explicitly,
7064 to make them useful for MappedByteBufferImpl.
7065 (get, put): Check for underflow. Modify for new getImpl.
7066 (getImpl): New native method where target is array.
7067 (get(byte[],int,int)): Use the above.
7068 (adjustAddress): New static native method.
7069 (slice, duplicate, asReadOnly): New implementations.
7070 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
7071 adjustAddress): New or updated native methods.
7073 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
7075 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
7076 overflow of fieldmapping.
7078 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
7080 * javax/swing/undo/UndoManager.java: Re-written from scratch.
7082 2004-02-14 Per Bothner <per@bothner.com>
7084 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
7085 Set closed before calling implCloseChannel, as in the spec.
7087 2004-02-09 Graydon Hoare <graydon@redhat.com>
7089 * javax/swing/ToggleButtonModel.java: Remove dead class.
7090 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
7091 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
7092 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
7093 * Makefile.am: Update for new and removed files.
7094 * Makefile.in: Regenerate.
7096 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
7097 * javax/swing/AbstractButton.java
7098 (AbstractButton): Initialize fields correctly in ctor.
7099 * javax/swing/JCheckbox.java
7100 (JCheckBox): Override painting flags.
7101 * javax/swing/DefaultButtonModel.java: Conform to sun.
7102 * javax/swing/JComponent.java (paint): Fill with background color
7104 (processComponentKeyEvent)
7107 (processMouseMotionEvent): Remove event-consuming empty methods.
7108 (getUIClassID): Return "ComponentUI" not "JComponent"
7109 * javax/swing/JFrame.java: Remove some debugging chatter.
7110 (JFrame): Subscribe to window events.
7111 * javax/swing/JRadioButton.java
7112 (JRadioButton): Override painting flags.
7113 * javax/swing/JRootPane.java
7114 (JRootPane): Set background from UIDefaults.
7115 * javax/swing/JToggleButton.java
7116 (ToggleButtonModel): New inner class.
7117 (JToggleButton): Override layout alighment.
7118 * javax/swing/SwingUtilities.java:
7119 (getLocalBounds): Return width and height, not x and y.
7120 (calculateInnerArea): Use local bounds, not bounds.
7121 (layoutCompoundLabel): Provide overridden form.
7122 (layoutCompoundLabel): Correct bugs.
7123 * javax/swing/UIDefaults.java: Correct comment.
7124 * javax/swing/plaf/basic/BasicButtonUI.java:
7125 Move most logic into defaults, external listener.
7126 (paintIcon): Implement icon painting.
7127 (paint): Fix state painting to conform to changes in model.
7128 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
7129 Remove most dead/wrong methods.
7130 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
7131 * javax/swing/plaf/basic/BasicIconFactory.java:
7132 (DummyIcon): New class.
7133 (getMenuItemCheckIcon)
7134 (getMenuItemArrowIcon)
7136 (getCheckBoxMenuItemIcon)
7137 (getRadioButtonMenuItemIcon)
7138 (createEmptyFrameIcon): Return DummyIcons, not null.
7139 (getCheckBoxIcon): Implement an icon that looks like sun's.
7140 (getRadioButtonIcon): Implement an icon that looks like sun's.
7141 * javax/swing/plaf/basic/BasicLookAndFeel.java
7142 (initComponentDefaults): Fix impossible values, add some missing.
7143 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
7144 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
7145 Remove most dead/wrong methods.
7147 (getDefaultIcon): New method.
7148 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
7149 Remove most dead/wrong methods.
7150 * javax/swing/plaf/metal/MetalLookAndFeel.java
7151 (getDefaults): Return super.getDefaults(), not BasicDefaults.
7152 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
7153 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
7154 Implement "clearing" as drawing, when on pixmap drawables.
7156 * javax/swing/JButton.java (getUIClassID):
7157 * javax/swing/JCheckBox.java (getUIClassID):
7158 * javax/swing/JEditorPane.java (getUIClassID):
7159 * javax/swing/JLabel.java (getUIClassID):
7160 * javax/swing/JList.java (getUIClassID):
7161 * javax/swing/JOptionPane.java (getUIClassID):
7162 * javax/swing/JPanel.java (getUIClassID):
7163 * javax/swing/JPasswordField.java (uiClassID):
7164 * javax/swing/JRadioButton.java (getUIClassID):
7165 * javax/swing/JRootPane.java (getUIClassID):
7166 * javax/swing/JScrollPane.java (getUIClassID):
7167 * javax/swing/JTabbedPane.java (getUIClassID):
7168 * javax/swing/JToggleButton.java (getUIClassID):
7169 * javax/swing/JTree.java (getUIClassID):
7170 * javax/swing/JViewport.java (getUIClassID):
7171 * javax/swing/text/JTextComponent.java (getUIClassID):
7172 Return "fooUI" not "Jfoo"
7174 2004-02-11 Michael Koch <konqueror@gmx.de>
7176 * java/net/DatagramSocket.java
7177 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
7179 (setBroadcast): Likewise.
7180 * java/net/MulticastSocket.java
7181 (setLoopbackMode): Likewise.
7182 * java/net/ServerSocket.java
7183 (setReuseAddress): Likewise.
7184 * java/net/Socket.java
7185 (setTcpNoDelay): Likewise.
7186 (setSoLinger): Likewise.
7187 (setOOBInline): Likewise.
7188 (setKeepAlive): Likewise.
7189 (setReuseAddress): Likewise.
7190 * java/net/URLConnection.java
7191 (setContentHandler): Replace == with equals().
7192 * java/net/URLStreamHandler.java
7193 (hostSEquals): Fix checking host addresses.
7194 (toExternalForm): Dont check protocol for null. We know already its
7197 2004-02-10 David Jee <djee@redhat.com>
7199 * java/awt/BorderLayout.java
7200 (calcCompSize): Invisible components get zero dimensions.
7201 * java/awt/Button.java
7202 (setLabel): Set actionCommand.
7203 * java/awt/Component.java
7204 (show): Invalidate component and parent container.
7207 2004-02-10 David Jee <djee@redhat.com>
7209 * java/awt/GridBagLayout.java
7210 (GridBagLayout): New private field, internalcomptable.
7211 (lookupInternalConstraints): New method.
7212 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
7213 (GetLayoutInfo): Reimplement.
7214 (calcCellSizes): Ignore rows/columns with size 0.
7216 2004-02-10 Michael Koch <konqueror@gmx.de>
7218 * gnu/java/awt/EmbeddedWindow.java
7219 (setHandle): Use java.awt.Component.getPeer() instead of
7220 java.awt.Component.peer directly.
7222 2004-02-10 David Jee <djee@redhat.com>
7224 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
7225 (gtkSetLabel): New native method definition.
7226 (setLabel): Use gtkSetLabel.
7227 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7228 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
7230 2004-02-10 Alan Modra <amodra@bigpond.net.au>
7232 * include/powerpc-signal.h: Revert 2004-01-21 change.
7233 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
7234 from syscall for ppc32 versions.
7236 2004-02-08 Per Bothner <per@bothner.com>
7238 * java/nio/ByteBuffer.java (shiftDown): New helper method.
7239 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
7240 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
7241 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
7242 Pass ByteOrder parameter to most methods, since the underlying
7243 ByteBuffer's order isn't always what we should use.
7244 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
7245 * java/nio/DirectByteBufferImpl.java: Likewise.
7246 Use ByteBufferHelper methods.
7247 * java/nio/MappedByteBufferImpl.java: Likewise.
7248 (compact): Use shiftDown.
7249 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
7250 (get, put): Use ByteBufferHelper.
7251 (compact): Use new shiftDown method.
7252 (duplicate(boolean)): New helper method.
7253 (duplicate, asReadOnlyBuffer): Use it.
7254 (order): Return endian field.
7255 * java/nio/DoubleViewBufferImpl.java: Likewise.
7256 * java/nio/FloatViewBufferImpl.java: Likewise.
7257 * java/nio/IntViewBufferImpl.java: Likewise.
7258 * java/nio/LongViewBufferImpl.java: Likewise.
7259 * java/nio/ShortViewBufferImpl.java: Likewise.
7260 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
7261 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
7262 (compact): Re-implement using shiftDown.
7264 2004-02-08 Andreas Jaeger <aj@suse.de>
7266 * include/x86_64-signal.h: Fix typo.
7268 2004-02-08 Diego Novillo <dnovillo@redhat.com>
7270 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
7272 (HANDLE_DIVIDE_OVERFLOW): Likewise.
7274 2004-02-06 Michael Koch <konqueror@gmx.de>
7276 * java/io/ObjectInputStream.java
7277 (currentClassLoader): Reverted to old version of this method.
7279 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
7281 * java/io/ObjectInputStream.java: Made all calls
7282 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
7283 use cached info from ObjectStreamClass. (readClassDescriptor):
7284 Cache more information in ObjectStreamClass. (processResolution,
7285 readFields): Use cached info from ObjectStreamClass.
7286 (newObject): Throw exception instead of returning null for failure.
7287 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
7288 setCharField, setDoubleField, setFloatField, setIntField,
7289 setLongField, setShortField, setObjectField, readObjectParams):
7290 Removed. (dumpElement, dumpElementln): Removed dump flag condition
7292 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
7293 (setClass): Added call to cacheMethods() (findMethod): New method.
7294 (cacheMethods): New method. (ObjectStreamClass): Added call to
7295 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
7296 AccessController.doPrivileged to invoke setAccessible.
7297 (readObjectMethod, readResolveMethod, realClassIsSerializable,
7298 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
7300 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
7301 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
7302 isPrimitive): Made safe for cases where type == null.
7303 (setBooleanField, setByteField, setCharField, setShortField,
7304 setIntField, setLongField, setFloatField, setDoubleField,
7305 setObjectField): New methods.
7307 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
7309 * java/awt/Component.java (getFont): Return a default font
7312 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
7313 (Scrollbar (int, int, int, int, int)): Make default page
7315 (setValues): Only call peer.setValues if one of the values has
7317 (generateName): New method.
7318 (getUniqueLong): New method.
7319 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
7320 (range_scrollbar): Remove structure.
7321 (post_adjustment_event): Remove function.
7322 (post_change_event): Accept jobject argument.
7323 (create): Cast jints to gdoubles. Round scrollbar values to the
7324 nearest integer. Clamp min, max and value settings.
7325 (connectJObject): Connect hook to widget->window.
7326 (connectSignals): Remove range_scrollbar structure variables.
7327 Remove "move-slider" connection. Pass global peer reference to
7328 "value-changed" callback.
7329 (setLineIncrement): Cast jint value to gdouble.
7330 (setPageIncrement): Likewise.
7331 (setValues): Likewise. Clamp min, max and value settings.
7333 2004-02-05 Michael Koch <konqueror@gmx.de>
7335 * javax/swing/AbstractCellEditor.java
7336 (getCellEditorValue): Removed.
7337 * javax/swing/Box.java: Reformated.
7338 (serialVersionUID): New field.
7339 * javax/swing/ButtonGroup.java:
7340 Removed some weird whitespace.
7341 * javax/swing/CellEditor.java: Reformated.
7342 * javax/swing/CellRendererPane.java
7343 (serialVersionUID): New field.
7344 (AccessibleCellRendererPaneserialVersionUID): New field.
7345 * javax/swing/DefaultListModel.java
7346 (serialVersionUID): New field.
7347 * javax/swing/JEditorPane.java
7348 (serialVersionUID): New field.
7349 (setPage): Throws IOException.
7350 (addHyperlinkListener): Implemented.
7351 (removeHyperlinkListener): Implemented.
7352 (getHyperlinkListener): New method.
7353 * javax/swing/JFileChooser.java
7354 (serialVersionUID): New field.
7355 (AccessibleJFileChooser.serialVersionUID): New field.
7356 (addActionListener): Implemented.
7357 (removeActionListener): Implemented.
7358 (getActionListeners): New method.
7359 * javax/swing/JFormattedTextField.java
7360 (serialVersionUID): New field.
7361 (AbstractFormatter.serialVersionUID): New field.
7362 (clone): Throws CloneNotSupportedException
7363 (setEditValid): Add missing argument.
7364 (stringToValue): Throws ParseExcpetion.
7365 (valueToString): Throws ParseException.
7366 (commitEdit): Throws ParseException.
7367 * javax/swing/JLabel.java
7368 (serialVersionUID): New field.
7369 * javax/swing/JList.java
7370 (serialVersionUID): New field.
7371 (addListSelectionListener): Reformated.
7372 (removeListSelectionListener): Reformated.
7373 (getListSelectionListeners): New method.
7374 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
7376 (serialVersionUID): New field.
7377 * javax/swing/table/AbstractTableModel.java
7378 (getValueAt): Removed.
7379 (getColumnCount): Removed.
7380 (getRowCount): Removed.
7382 2004-02-05 Michael Koch <konqueror@gmx.de>
7384 * java/awt/datatransfer/DataFlavor.java
7385 (imageFlavor): Javadoc added.
7386 (javaJVMLocalObjectType): Fixed.
7388 2004-02-05 Michael Koch <konqueror@gmx.de>
7390 * java/lang/Thread.java
7391 (Thread): Reordered.
7392 (setContextClassLoader): Fixed javadoc comment.
7393 (setPriority): Reordered.
7395 (initialize_native): Reordered.
7396 (gen_name): Reordered.
7398 2004-02-05 Michael Koch <konqueror@gmx.de>
7400 * java/lang/Thread.java: Reordered fields, reformated much code,
7401 no functional changes, some variables renamed, javadoc comments
7404 2004-02-05 Michael Koch <konqueror@gmx.de>
7406 * java/util/zip/Deflater.java,
7407 java/util/zip/DeflaterOutputStream.java,
7408 java/util/zip/GZIPInputStream.java:
7409 Reformated and javadoc comments merged from classpath.
7411 2004-02-05 Michael Koch <konqueror@gmx.de>
7413 * gnu/java/nio/NIOServerSocket.java
7414 (impl): Unused, removed.
7415 * gnu/java/nio/SocketChannelImpl.java
7416 (finnishConnect): Don't throw NoConnectionPendingException if not
7417 connected or no connection pending.
7419 2004-02-02 Graydon Hoare <graydon@redhat.com>
7421 * javax/swing/SwingUtilities.java: Many new functions.
7422 * java/awt/Container.java (LightweightDispatcher): Reimplement.
7423 * javax/swing/basic/BasicGraphicsUtils.java
7424 (getPreferredButtonSize): Start layout from top-left corner.
7426 2004-02-04 Olga Rodimina <rodimina@redhat.com>
7428 * java/awt/geom/AffineTransform.java:
7429 Corrected comments on the field definitions for
7431 (shear): Fixed few errors that caused shear
7432 transformation to be performed incorrectly.
7433 (createInverse): Fixed to return correct
7434 inverse of the given matrix.
7436 2004-02-03 Tom Tromey <tromey@redhat.com>
7438 * java/lang/natPosixProcess.cc (startProcess): Handle case where
7439 PATH or LD_LIBRARY_PATH is not set in parent environment.
7441 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
7443 * gnu/java/awt/peer/gtk/GtkListPeer.java,
7444 java/awt/BorderLayout.java, java/awt/CardLayout.java,
7445 java/awt/CheckboxGroup.java, java/awt/Choice.java,
7446 java/awt/Component.java, java/awt/Container.java,
7447 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
7448 java/awt/LayoutManager2.java, java/awt/List.java,
7449 java/awt/Menu.java, java/awt/MenuBar.java,
7450 java/awt/MenuItem.java, java/awt/Polygon.java,
7451 java/awt/Rectangle.java, java/awt/ScrollPane.java,
7452 java/awt/Scrollbar.java, java/awt/TextArea.java,
7453 java/awt/TextField.java,
7454 java/awt/image/renderable/RenderContext.java,
7455 javax/swing/JApplet.java: Fix handling of alias methods, where a
7456 method has been deprecated in favour of a new one with the same
7457 funtion but a different name. Put the method implementation in
7458 the deprecated method and have the new method call the
7459 deprecated one. Make all other code call the new method.
7461 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
7463 * gnu/java/nio/DatagramChannelImpl.java
7464 (inChannelOperation): New field.
7465 (isInChannelOperation): New accessor.
7466 (setInChannelOperation): New modifier.
7467 (receive): Use capacity() - position() of destination
7468 buffer instead of remaining(). Set and reset our "in
7469 channel operation indicator" before and after delegating
7470 the receive to our datagram socket. Removed testing code.
7471 Update destination buffer's current position if it is
7472 backed by a byte array (hasArray() is true).
7473 (send): Set and reset our "in channel operation indicator"
7474 before and after delegating the send to our datagram socket.
7475 Removed testing code. Update source buffer's current position
7476 if it is backed by a byte array (hasArray() is true).
7477 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
7478 Use capacity() - position() of destination buffer instead
7480 * java/net/DatagramSocket.java (receive): Don't throw an
7481 IllegalBlockingModeException if we have a non-blocking
7482 channel which initiated this operation.
7485 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
7487 * configure.in: Add pkgconfig check for glib and gthread.
7488 * configure: Regenerate.
7490 2004-02-01 Michael Koch <konqueror@gmx.de>
7492 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
7494 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
7495 * verify.cc (debug_print): Mark 'fmt' unused.
7497 2004-01-30 Michael Koch <konqueror@gmx.de>
7499 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
7500 * configure: Regenerated.
7501 * glib-2.0.m4: Removed.
7502 * gtk-2.0.m4: Removed.
7503 * libart.m4: Removed.
7506 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
7508 * gnu/java/net/PlainSocketImpl.java
7509 (inChannelOperation): New field.
7510 (isInChannelOperation): New accessor.
7511 (setInChannelOperation): New modifier.
7512 * gnu/java/nio/ServerSocketChannelImpl.java
7513 (accept): Set and reset our server socket's PlainSocketImpl's
7514 "in channel operation" indicator before and after delegating
7515 the accept to our server socket.
7516 * gnu/java/nio/SocketChannelImpl.java
7517 (connect): Set and reset our socket's PlainSocketImpl's "in channel
7518 operation" indicator before and after delegating the operation to
7522 * java/net/ServerSocket.java (implAccept): Don't throw an
7523 IllegalBlockingModeException if we have a non-blocking
7524 channel which initiated this accept operation.
7525 * java/net/Socket.java (connect): Don't throw an
7526 IllegalBlockingModeException if we have a non-blocking
7527 channel which initiated this connect operation.
7528 * java/nio/channels/spi/AbstractSelectableChannel.java
7529 (configureBlocking): Only call implConfigureBlocking() if
7530 the desired blocking mode is different from our current one.
7532 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
7534 * java/io/BufferedReader.java (sbuf): New field.
7535 (readLine): Use String.valueOf instead of new String() as per
7536 Per Bothner's suggestion. Use instance sbuf field instead of a
7537 local StringBuffer instance.
7538 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
7539 caller's buffer to refill().
7540 (read(void)): Pass our internal work buffer to refill if our
7541 input queue is empty.
7542 (refill): Changed return type to int. Use the specified buffer
7543 instead of our work buffer as per Bryce McKinlay's suggestion.
7544 Return the number of characters read or -1 for EOF.
7546 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
7548 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
7550 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
7552 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
7553 * Makefile.in: Re-generated.
7554 * gnu/awt/xlib/XFontPeer.java: New file.
7555 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
7556 (setClip): Commented out debug printout.
7557 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
7558 (getFontPeer): Return XFontPeer.
7559 (getLocalGraphicsEnvironment): New method.
7560 (getClasspathFontPeer): New method.
7561 (createFont): New method.
7563 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
7565 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
7568 2004-01-29 Kim Ho <kho@redhat.com>
7570 * gnu/java/awt/peer/gtk/GtkFramePeer.java
7571 (gtkLayoutSetVisible): New method
7572 (setMenuBar): Hide layout before setting MenuBar
7573 and reshow it after.
7574 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7575 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
7577 2004-01-28 Michael Koch <konqueror@gmx.de>
7579 * gnu/java/lang/ClassHelper.java
7580 (getPackagePortion): Removed.
7582 2004-01-28 Michael Koch <konqueror@gmx.de>
7584 * javax/swing/JComponent.java
7585 (listenerList): Initalize globally.
7586 (ancestor_list): Removed.
7587 (veto_list): Removed.
7588 (change_list): Removed.
7589 (get_veto_list): Removed.
7590 (get_change_list): Removed.
7591 (get_ancestor_list): Removed.
7592 (removeAncestorListener): Reimplemented.
7593 (removePropertyChangeListener): Likewise.
7594 (removeVetoableChangeListener): Likewise.
7595 (addAncestorListener): Likewise.
7596 (addPropertyChangeListener): Likewise.
7597 (addVetoableChangeListener): Likewise.
7598 (getListeners): New method.
7599 (getAncestorListeners): Likewise.
7600 (getVetoableChangeListeners): Likewise.
7601 (fireVetoableChange): Throws PropertyVetoException.
7602 * javax/swing/JEditorPane.java
7603 (JEditorPane): Throws IOException.
7605 2004-01-28 David Jee <djee@redhat.com>
7607 * gnu/java/awt/peer/gtk/GtkFramePeer.java
7608 (create): Set the default foreground color to
7609 java.awt.SystemColor.windowText.
7611 2004-01-27 Michael Koch <konqueror@gmx.de>
7613 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
7614 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
7615 Reindented to merge with classpath.
7617 2004-01-27 David Jee <djee@redhat.com>
7619 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7620 (addExposeFilter): Handle GtkFramePeer separately.
7621 (removeExposeFilter): Likewise.
7623 2004-01-27 Michael Koch <konqueror@gmx.de>
7625 * gnu/java/net/protocol/http/Connection.java
7626 (getOutputStream): Fixed typo.
7628 2004-01-27 Michael Koch <konqueror@gmx.de>
7630 * java/lang/Class.java
7631 (getConstructor): Removed SecurityException from throws clause.
7632 (_getConstructors): Likewise.
7633 (getConstructors): Likewise.
7634 (getDeclaredConstructor): Likewise.
7635 (getDeclaredClasses): Likewise.
7636 (getDeclaredConstructors): Likewise.
7637 (getDeclaredField): Likewise.
7638 (getDeclaredMethod): Likewise.
7639 (getDeclaredMethods): Likewise.
7640 (getField): Likewise.
7641 (getMethod): Likewise.
7642 (getMethods): Likewise.
7644 2004-01-27 Kim Ho <kho@redhat.com>
7646 * gnu/java/awt/peer/gtk/GtkFramePeer.java
7647 (removeMenuBarPeer): Remove MenuBarPeer argument.
7648 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
7649 (dispose): Call native method.
7650 * java/awt/Frame.java (setMenuBar): Create and remove
7651 MenuBar peers only if the Frame has a peer.
7652 (addNotify): Create the MenuBar peer if one exists.
7653 (removeNotify): Remove MenuBar peer if one exists.
7654 * java/awt/Menu.java: Fix imports.
7655 (addNotify): Don't use full class name.
7656 (removeNotify): Call removeNotify on all children.
7657 * java/awt/MenuBar.java (removeNotify): Call
7658 removeNotify on all children.
7659 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7660 (removeMenuBarPeer): Remove MenuBarPeer argument.
7661 Iterate through children to find the Frame's MenuBar.
7662 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
7664 (dispose): Remove references to the MenuComponent.
7666 2004-01-27 Michael Koch <konqueror@gmx.de>
7668 * javax/swing/AbstractCellEditor.java: Reformated.
7669 * javax/swing/DefaultListSelectionModel.java
7670 (listenerList): Made protected.
7671 (addListSelectionListener): Javadoc added.
7672 (removeListSelectionListener): Likewise.
7673 (getListeners): Likewise.
7674 (getListSelectionListeners): Likewise.
7675 * javax/swing/JComboBox.java: Merged copyright year.
7676 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
7678 2004-01-26 Andrew Haley <aph@redhat.com>
7680 * javax/swing/table/JTableHeader.java: Extend JComponent
7682 2004-01-26 Kim Ho <kho@redhat.com>
7684 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
7687 2004-01-26 Kim Ho <kho@redhat.com>
7689 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
7691 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
7692 height and let the Layout Managers readjust anything that
7694 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7695 (moveLayout): New method. Shift everything in the Gtk
7696 layout in the Y direction by an offset.
7698 2004-01-26 David Jee <djee@redhat.com>
7700 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7701 (handleEvent): Implemented. Handles PaintEvents.
7702 (paint): Implemented. Use GTK native methods to queue updates
7703 for this heavyweight peer.
7704 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
7705 (handleEvent): Removed.
7706 * java/awt/Component.java
7707 (paint): Implemented. Explictly paint the heavyweight peer.
7708 (update): Clear the background for heavyweight components.
7709 (paintAll): No need to call peer.paint() anymore.
7710 (processEvent): Don't process PaintEvents here. It's now done in
7711 the peer's handleEvent().
7712 (processPaintEvent): Removed.
7713 * java/awt/Container.java
7714 (paint): No need to call super.paint(). Visit heavyweight
7716 (update): Don't clear the background here. It's done in
7718 (visitChildren): Added check to not recurse into Containers.
7719 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7720 (filter_expose_event_handler): New method. Filter unwanted
7721 expose events while painting heavyweight peers.
7722 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
7723 New method. Connect filter and block pre_event_handler.
7724 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
7725 New method. Disconnect filter and unblock pre_event_handler.
7726 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
7727 New method. Invalidate and update given area.
7728 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7729 (pre_event_handler): Add checks for unwanted expose events.
7731 2004-01-26 David Jee <djee@redhat.com>
7733 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7734 (find_bg_color_widget): For GtkButton, return its child.
7736 2004-01-26 Kim Ho <kho@redhat.com>
7738 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
7740 (setMenuBar): Grab MenuBar height and change insets.
7741 (setBounds): Account for MenuBar height.
7742 (postInsetsChangedEvent): Ditto.
7743 (postSizeAllocateEvent): Remove.
7744 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7745 (menubar_resize_cb): Remove
7746 (setMenuBarPeer): Remove callback.
7747 (getMenuBarHeight): Use size requisition instead of
7750 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
7752 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
7753 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
7755 (setColumns): Remove FIXME -- peer will retrieve number of
7756 columns by calling getColumns.
7757 (setRows): Likewise for number of rows.
7758 (next_text_number): New field.
7759 (paramString): Fix param string.
7760 (generateName): New method.
7761 (getUniqueLong): New method.
7763 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
7765 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
7766 image observer of image loading status.
7767 (getImage (String)): Start image production.
7768 (getImage (URL)): Likewise.
7770 2004-01-25 Michael Koch <konqueror@gmx.de>
7772 * java/lang/Class.java: Imports reworked, reformated.
7773 (Class): Javadoc added.
7774 (forName): Likewise.
7775 (getClasses): Likewise.
7776 (getClassLoader): Likewise.
7777 (getComponentType): Likewise.
7778 (getConstructor): Likewise.
7779 (getConstructors): Likewise.
7780 (getDeclaredConstructor): Likewise.
7781 (getDeclaredClasses): Likewise.
7782 (getDeclaredConstructors): Likewise.
7783 (getDeclaredField): Likewise.
7784 (getDeclaredMethod): Likewise.
7785 (getDeclaredMethods): Likewise.
7786 (getDeclaringClass): Likewise.
7787 (getField): Likewise.
7788 (getInterfaces): Likewise.
7789 (getMethod): Likewise.
7790 (getMethods): Likewise.
7791 (getModifiers): Likewise.
7792 (getName): Likewise.
7793 (getResource): Likewise.
7794 (getResourceAsStream): Likewise.
7795 (getSigners): Likewise.
7796 (setSigners): Likewise.
7797 (getSuperclass): Likewise.
7798 (isArray): Likewise.
7799 (isAssignableFrom): Likewise.
7800 (isInstance): Likewise.
7801 (isInterface): Likewise.
7802 (isPrimitive): Likewise.
7803 (newInstance): Likewise.
7804 (getProtectionDomain): Likewise.
7805 (toString): Likewise.
7807 (initializeClass): Likewise.
7808 (finalize): Likewise.
7810 2004-01-24 Michael Koch <konqueror@gmx.de>
7812 * gnu/java/net/protocol/jar/Connection.java
7815 (gotHeaders): Removed.
7816 (getHeaderField): Removed.
7817 (getHeaderFields): Removed.
7818 (getHeaderFieldKey): Removed.
7820 (getField): Removed.
7821 (getHeaders): Removed.
7823 2004-01-24 Michael Koch <konqueror@gmx.de>
7825 * Makefile.am: Added library version to gtk peer lib.
7826 * Makefile.in: Regenerated.
7828 2004-01-24 Michael Koch <konqueror@gmx.de>
7830 * java/util/zip/InflaterInputStream.java: Merged class documentation
7833 2004-01-21 Jakub Jelinek <jakub@redhat.com>
7835 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
7836 header. For __powerpc64__ provide the default-signal.h definitions
7838 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
7839 instead of the dummy definitions.
7840 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
7841 (powerpc64*-*): Remove with_libffi_default.
7842 Only add -mminimal-toc for 64-bit compilations.
7843 * configure.in: Use powerpc-signal.h on powerpc64 as well.
7844 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
7845 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
7846 * configure: Rebuilt.
7848 2004-01-23 Michael Koch <konqueror@gmx.de>
7850 * gnu/java/nio/FileLockImpl.java: Compile fixes.
7852 2004-01-23 Michael Koch <konqueror@gmx.de>
7854 * java/lang/VMClassLoader.java: Reworked imports.
7856 2004-01-23 Michael Koch <konqueror@gmx.de>
7858 * javax/swing/AbstractAction.java: Reformated.
7860 2004-01-23 Michael Koch <konqueror@gmx.de>
7862 * java/text/CollationElementIterator.java:
7863 (setText): New method.
7865 2004-01-23 Michael Koch <konqueror@gmx.de>
7867 * gnu/java/nio/FileLockImpl.java:
7868 Fixed filename in copyright.
7869 (released): Removed.
7870 (finalize): New method.
7871 * gnu/java/nio/natFileLockImpl.cc
7872 (releaseImpl): Implemented.
7873 * java/nio/channels/FileChannelImpl.java:
7875 (lock): Implemented.
7876 (lockImpl): New method.
7877 (tryLock): Implemented.
7878 (tryLockImpl): New method.
7879 * java/nio/channels/natFileChannelImpl.cc
7880 (lockImpl): New method.
7881 (tryLockImpl): New method.
7883 2004-01-23 Michael Koch <konqueror@gmx.de>
7885 * java/io/FileDescriptor.java
7887 (tryLock): New method.
7888 (unlock): New method.
7889 * java/io/natFileDescriptorEcos.cc
7891 (tryLock): New method.
7892 (unlock): New method.
7893 * java/io/natFileDescriptorPosix.cc
7895 (tryLock): New method.
7896 (unlock): New method.
7897 * java/io/natFileDescriptorWin32.cc
7899 (tryLock): New method.
7900 (unlock): New method.
7902 2004-01-23 Michael Koch <konqueror@gmx.de>
7904 * java/io/FileDescriptor.java
7905 (sync): Moved around, added javadoc.
7910 (setLength): Likewise.
7912 (getLength): Likewise.
7913 (getFilePointer): Likewise.
7915 (available): Likewise.
7916 (finalize): Likewise.
7918 2004-01-23 Michael Koch <konqueror@gmx.de>
7920 * javax/swing/AbstractAction.java: Reformated.
7921 (getPropertyChangeListeners): New method.
7922 * javax/swing/AbstractCellEditor.java: Reformated.
7923 (getCellEditorListeners): New method.
7924 * javax/swing/DefaultListSelectionModel.java
7925 (listenerList): New field.
7926 (listeners): Removed.
7927 (get_listeners): Removed.
7928 (addListSelectionListener): Rewritten.
7929 (removeListSelectionListener): Rewritten.
7930 (getListSelectionListeners): New method.
7931 (getListeners): New method.
7932 * javax/swing/JComboBox.java: Imports reworked.
7933 (addActionListener): Implemented.
7934 (removeActionListener): Implemented.
7935 (addItemListener): Implemented.
7936 (removeItemListener): Implemented.
7937 (addPopupMenuListener): Implemented.
7938 (removePopupMenuListener): Implemented.
7939 (getActionListeners): New method.
7940 (getItemListeners): New method.
7941 (getPopupMenuListeners): New method.
7943 2004-01-23 Michael Koch <konqueror@gmx.de>
7945 * gnu/java/net/protocol/http/Connection.java
7946 (connect): Don't initialize bufferedOutputStream if not needed.
7947 (sendRequest): Set property for content length if content is present.
7948 Write content only if present.
7949 (getOutputStream): Check if already connected, dont connect,
7950 initalize bufferedOutputStream if needed.
7952 2004-01-23 Michael Koch <konqueror@gmx.de>
7954 * java/io/FileDescriptor.java
7955 (in, out, err): Added javadoc.
7956 (static): Merged loading code.
7957 (fd, position): Moved around.
7959 2004-01-23 Michael Koch <konqueror@gmx.de>
7961 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
7964 2004-01-23 Michael Koch <konqueror@gmx.de>
7966 * java/lang/Class.java,
7967 java/lang/Object.java,
7968 java/lang/Thread.java: Merged copyright with classpath.
7970 2004-01-23 Michael Koch <konqueror@gmx.de>
7972 * java/io/FileDescriptor.java: Merged copyright with classpath to
7973 start merging this class.
7975 2004-01-22 Tom Tromey <tromey@redhat.com>
7978 * testsuite/libjava.lang/pr13107_2.xfail: New file.
7979 * testsuite/libjava.lang/pr13107_3.xfail: New file.
7980 * testsuite/libjava.lang/pr13107_3.java: New file.
7981 * testsuite/libjava.lang/pr13107_3.out: New file.
7982 * testsuite/libjava.lang/pr13107_2.java: New file.
7983 * testsuite/libjava.lang/pr13107_2.out: New file.
7984 * testsuite/libjava.lang/pr13107.java: New file.
7985 * testsuite/libjava.lang/pr13107.out: New file.
7986 * verify.cc (jsr_ptrs): Removed.
7987 (entry_points): Likewise.
7988 (struct subr_info): Likewise.
7989 (struct subr_entry_info): Likewise.
7990 (type_val::unused_by_subroutine_type): Likewise.
7991 (type::merge): Don't handle unused_by_subroutine_type.
7992 (type::print): Likewise.
7993 (state::flags): Removed.
7994 (state::subroutine): Likewise.
7995 (state::seen_subrs): Likewise.
7996 (state::NO_STACK): Likewise.
7997 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
7998 (state): Updated all methods.
7999 (state::clean_subrs): Removed.
8000 (state::state): Removed `ret_semantics' flag.
8001 (state::copy): Likewise.
8002 (state::add_subr): Removed.
8003 (state::enter_subroutine): Likewise.
8004 (type::set_return_address): New method.
8005 (handle_jsr_insn): Set return address on the type. Always
8006 invalidate PC after call.
8007 (check_nonrecursive_call): Removed.
8008 (~_Jv_BytecodeVerifier): Updated.
8009 (branch_prepass): Removed special handling of jsr.
8010 (note_branch_target): Likewise.
8011 (get_subroutine): Removed.
8012 (state::merge): Don't merge subroutines and don't handle
8013 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
8014 (state::note_variable): Removed.
8015 (state::is_unmerged_ret_state): Likewise.
8016 (state::print): Updated.
8017 (set_variable): Likewise.
8018 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
8019 and jsr_semantics arguments. Updated for new reverification
8021 (pop_jump): Rewrote.
8022 (construct_primitive_array_type): Updated.
8023 (state::next): Removed.
8024 (INVALID_STATE): New define.
8025 (state::INVALID): Removed.
8026 (state::NO_NEXT): New value.
8027 (state::pc, state::next): New fields.
8028 (state::get_pc): New method.
8029 (next_verify_pc): Removed.
8030 (next_verify_state): New field.
8031 (verify_instructions_0): Always check for falling off end.
8033 (linked_utf8): Removed.
8034 (states): Changed type.
8035 (type::state_mergeable_p): New method.
8036 (state::state_mergeable_p): Likewise.
8037 (handle_ret_insn): Removed most code.
8038 (state::reverify): New method.
8039 (add_new_state): Likewise.
8040 (state::set_pc): Likewise.
8042 2004-01-22 Jeff Sturm <jsturm@one-point.com>
8045 * testsuite/libjava.compile/PR13733.java: New file.
8046 * testsuite/libjava.compile/PR13733.xfail: New file.
8048 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
8049 Michael Koch <konqueror@gmx.de>
8051 * javax/swing/table/DefaultTableCellRenderer.java
8052 (DefaultTableCellRenderer): Added javadoc for the class and for
8053 the constructor, Border instance, create an EmptyBorder.
8054 (UIResource): Removed the comment at the end of the class
8055 (setForeground): New method.
8056 (setBackground): New method.
8057 (updateUI): New method.
8058 (getTableCellRendererComponent): Rewritten with the help of
8059 dvholten and Stephane Meslin-Weber.
8060 (validate): New method.
8061 (repaint): New method.
8062 (firePropertyChange): New method.
8063 (setValue): New method.
8065 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8067 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8068 (connectJObject): Replace printf calls with g_assert statements.
8069 Move property-notify-event signal connection to ...
8070 (connectSignals): Connect property-notify-event signal. Iterate
8071 through the vbox's children to find layout.
8073 2004-01-22 Graydon Hoare <graydon@redhat.com>
8075 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
8076 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
8077 Predicate static initialization on GtkToolkit.useGraphics2D().
8078 * java/awt/Component.java (processPaintEvent): Consume event.
8079 * javax/swing/AbstractButton.java: Reimplement, document.
8080 * javax/swing/DefaultButtonModel.java: Reimplement, document.
8081 * javax/swing/JComponent.java (paint): Use double buffer.
8082 (listenerList): Enable member.
8083 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
8084 * javax/swing/JToggleButton.java
8085 (JToggleButton): Modify model constructor.
8086 * javax/swing/SwingUtilities.java
8087 (layoutCompoundLabel): Adjust arithmetic.
8088 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
8089 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8090 (getPreferredButtonSize): Include margins in calculation.
8091 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8092 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
8093 Receive up events from subordinate layout component.
8095 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8097 * java/awt/Component.java (show): Set visible to true before
8100 2004-01-21 Kim Ho <kho@redhat.com>
8102 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
8104 (removeMenuBarPeer): Make package private.
8105 (setMenuBarPeer): Make package private.
8106 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8107 (menubar_resize_cb): Mark attributes unused.
8108 (getMenuBarHeight): ditto.
8110 2004-01-21 David Jee <djee@redhat.com>
8112 * java/awt/Container.java
8113 (LightweightDispatcher.handleEvent): Add an extra check to avoid
8114 dispatching MOUSE_ENTERED event twice. Translate the point for
8115 the mouse event target before dispatching the event.
8117 2004-01-20 Jakub Jelinek <jakub@redhat.com>
8119 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
8120 lib_org_w3c_dom_la_LDFLAGS): New.
8121 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
8122 * Makefile.in: Rebuilt.
8124 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
8126 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
8127 Calculate proper offsets for heavyweight components packed in
8128 lightweight containers.
8130 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
8131 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
8132 (native create): Add width parameter.
8133 (create): Calculate text entry width based on current font's
8134 metrics and number of columns. Set TextField's font if not
8135 already set. Call native create.
8136 (gtkEntryGetBorderWidth): New native method.
8137 (gtkEntryGetSize): Remove method.
8138 (getMinimumSize): Call minimumSize.
8139 (getPreferredSize): Call preferredSize.
8140 (minimumSize): Calculate minimum size based on backing
8141 GtkEntry's borders, font metrics and number of columns.
8142 (preferredSize): Likewise for preferred size.
8143 (get_border_width): New static function.
8145 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
8146 Override GtkWindowPeer's setResizable method to account for menu
8147 bar height when setting the frame's size.
8149 2004-01-19 Matthias Klose <doko@debian.org>
8151 * libtool-version: Increased `current' to 6.
8153 2004-01-19 Kim Ho <kho@redhat.com>
8155 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8156 (connectJObject): Iterate through the vbox's children to find layout.
8158 2004-01-19 Fernando Nasser <fnasser@redhat.com>
8160 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
8161 isDispatchThread method to replace wrong test condition.
8163 2004-01-19 Fernando Nasser <fnasser@redhat.com>
8165 * java/awt/EventQueue.java (pop): Prevent racing condition to add
8166 events to the queue out of order by acquiring locks in the proper
8167 order and not by releasing one before acquiring the other.
8169 2004-01-19 Fernando Nasser <fnasser@redhat.com>
8171 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
8172 visible so that dialog can be reused.
8174 2004-01-19 Fernando Nasser <fnasser@redhat.com>
8176 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
8177 events may be handled by any queue in the stack.
8179 2004-01-19 Kim Ho <kho@redhat.com>
8181 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
8182 MenuBarPeer parameter.
8183 (removeMenuBarPeer): New native method.
8184 (setMenuBar): Call remove if menu bar is null. Adjust insets
8186 (postSizeAllocateEvent): New method. Called when menu bar size is
8187 allocated. Adjust insets and redo layout.
8188 (GtkFramePeer): Set menu bar during frame creation.
8189 (postConfigureEvent): Adjust position and size to accomodate
8191 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
8192 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
8193 (addNotify): Create the peer if it doesn't exist and call addNotify
8194 for the menu's items.
8195 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
8196 * java/awt/MenuItem.java (addNotify): Create the peer if it
8198 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8199 (removeMenuBarPeer): New method. Remove menu bar on the current
8201 (setMenuBarPeer): Add the menu bar to the current frame and the
8202 callback for size-allocate events on the menu bar.
8203 (getMenuBarHeight): Add menu bar parameter.
8204 (menubar_resize_cb): New callback method for postSizeAllocate events.
8206 Also: Fix indentation on last ChangeLog entry.
8208 2004-01-16 Kim Ho <kho@redhat.com>
8210 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
8211 (gtkWidgetGetDimensions): Remove.
8212 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8213 (gtkWidgetGetDimensions): Remove.
8215 2004-01-16 Tom Tromey <tromey@redhat.com>
8217 * java/awt/Container.java: Typo and indentation fixes.
8219 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
8220 * java/lang/natVMClassLoader.cc: ...here. New file.
8221 * Makefile.in: Rebuilt.
8222 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
8224 2004-01-16 Fernando Nasser <fnasser@redhat.com>
8226 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
8227 Discard GDK_ENTER_NOTIFY related to ungrabs.
8229 2004-01-16 Fernando Nasser <fnasser@redhat.com>
8231 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
8232 is called for an intermediate queue.
8234 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
8236 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8237 (window_property_changed_cb): Set id_set.
8239 2004-01-16 Kim Ho <kho@redhat.com>
8241 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
8242 it is a FileDialog and has dimensions of 0 by 0, then the initial
8243 size is set to size request plus insets.
8244 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
8245 (gtkWidgetGetDimensions): Override method.
8246 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8247 (gtkWidgetGetDimensions): Override method. Returns size request plus
8250 2004-01-16 Andrew Haley <aph@redhat.com>
8252 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
8253 * sysdep/i386/locks.h: Likewise.
8255 2004-01-16 Fernando Nasser <fnasser@redhat.com>
8257 * java/awt/EventDispatchThread.java (run): Stop running when
8259 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
8260 Reset the queue after transferring its contents.
8261 (push): Start a new dispatch thread if none is running.
8263 2004-01-16Â Olga Rodimina <rodimina@redhat.com>
8265 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8266 (doPolygon): set fill rule of polygon to
8267 WIND_EVEN_ODD by default.
8269 2004-01-15 Olga Rodimina <rodimina@redhat.com>
8271 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8272 Implemented rendering hints related methods.
8273 (getDefaultHints): New helper method. Returns
8274 default rendering hints.
8275 (walkPath): changed to normalize path if
8276 the KEY_STROKE_CONTROL key is in "normalize" mode.
8277 (draw3DRect): changed coordinates of rectangle by +0.5
8278 if in "normalize" mode.
8280 2004-01-15 Tom Tromey <tromey@redhat.com>
8282 * Makefile.in: Rebuilt.
8283 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
8284 (%.lo: %.java) Filter out StackTrace.lo.
8286 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
8288 * configure.in: Add in AC_PREREQ(2.13)
8289 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
8292 2004-01-14 Nathan Bryant <nbryant@optonline.net>
8293 Tom Tromey <tromey@redhat.com>
8296 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
8297 array to superclass.
8298 (init): Changed interface; add URLs here.
8299 (initialize): New static method.
8300 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
8301 (_Jv_RunMain): ... not here.
8303 2004-01-14 Michael Koch <konqueror@gmx.de>
8305 * java/text/MessageFormat.java:
8306 Added descriptions to exceptions.
8307 This fixes PR libgcj/2429.
8309 2004-01-13 Fernando Nasser <fnasser@redhat.com>
8311 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
8312 (push): Make sure push is performed at the top of the thread stack.
8314 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8316 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8317 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8318 (native create): Add width and height parameters. Set text
8319 view's size request according to new parameters.
8320 (create): Calculate text view size based on current font's
8321 metrics and number of rows and columns. Set TextArea's font if
8322 not already set. Call native create.
8323 (getMinimumSize): Call minimumSize.
8324 (getPreferredSize): Call preferredSize.
8325 (getHScrollbarHeight): New method.
8326 (getVScrollbarWidth): New method.
8327 (minimumSize): Calculate minimum size based on scrollbar
8328 visibility, scrollbar sizes, font metrics and number of rows and
8330 (preferredSize): Likewise for preferred size.
8331 (gtkTextGetSize): Remove method.
8333 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8335 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8336 (initializeInsets): Remove method.
8337 (GtkComponentPeer): Initialize insets field. Remove call to
8339 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
8341 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
8343 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
8344 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
8345 (latestInsets): Remove field.
8346 (native create): Add insets parameter. Call
8347 window_get_frame_extents. Set the window's default size and
8348 size request based on its frame extents.
8349 (create): Initialize insets.
8350 (postInsetsChangedEvent): New method.
8351 (postConfigureEvent): Remove parameters top, left, bottom,
8352 right. Remove insets-related logic.
8353 (connectJObject): Handle property-notify-event.
8354 (window_get_frame_extents, request_frame_extents,
8355 property_notify_predicate, window_property_changed_cb): New
8357 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8358 (pre_event_handler): Remove insets-related logic for configure
8360 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
8361 Update postConfigureEvent signature.
8363 2004-01-13 Fernando Nasser <fnasser@redhat.com>
8365 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
8366 to handle Window "Closing" events.
8368 2004-01-13 David Jee <djee@redhat.com>
8370 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8371 (setBackground): New method. Children with no explicitly-set
8372 background will be repainted with the parent container's new
8375 2004-01-13 David Jee <djee@redhat.com>
8377 * Makefile.am: Add BitwiseXORComposite.java.
8378 * Makefile.in: Regenerated.
8379 * gcj/Makefile.in: Regenerated.
8380 * include/Makefile.in: Regenerated.
8381 * testsuite/Makefile.in: Regenerated.
8383 2004-01-12 Fernando Nasser <fnasser@redhat.com>
8385 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
8386 not show modal dialogs twice and so that it allows showing a modal
8387 dialog from another modal dialog.
8389 2004-01-12 Fernando Nasser <fnasser@redhat.com>
8391 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
8392 and run secondary dispatch thread to process event queue while this
8395 2004-01-12 Graydon Hoare <graydon@redhat.com>
8397 * gnu/java/awt/gtk/GdkGraphics2D.java
8398 (static): Check GtkToolkit before initializing static state.
8399 (Graphics2D): Don't construct transform with 0.5 unit offset.
8401 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
8403 * gnu/java/awt/BitwiseXORComposite.java: Add.
8404 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8405 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
8406 (BitwiseXORComposite): Remove inner class.
8408 2004-01-11 Michael Koch <konqueror@gmx.de>
8410 * gnu/java/lang/reflect/TypeSignature.java
8411 (getEncodingOfClass): Documentation fixed.
8412 (getClassForEncoding): Give class loader to Class.forName().
8413 Documentation fixed.
8415 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
8417 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
8419 2004-01-11 Michael Koch <konqueror@gmx.de>
8421 * javax/swing/undo/StateEditable.java
8422 (RCSID): Removed redundant modifiers.
8424 2004-01-10 Michael Koch <konqueror@gmx.de>
8426 * javax/print/attribute/EnumSyntax.java
8427 (getStringTable): Made protected.
8428 (getEnumValueTable): Likewise.
8429 * javax/print/attribute/standard/JobKOctetsProcessed.java
8430 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
8431 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
8432 (JobMediaSheetsCompleted): Made class final.
8433 * javax/print/attribute/standard/OutputDeviceAssigned.java
8434 (getName): Fixed typo.
8435 * javax/print/attribute/standard/RequestingUserName.java
8436 (serialVersionUID): Fixed value.
8438 2004-01-10 Michael Koch <konqueror@gmx.de>
8440 * javax/swing/plaf/basic/BasicButtonUI.java,
8441 javax/swing/plaf/basic/BasicCheckBoxUI.java,
8442 javax/swing/plaf/basic/BasicListUI.java,
8443 javax/swing/plaf/basic/BasicOptionPaneUI.java,
8444 javax/swing/plaf/basic/BasicPanelUI.java,
8445 javax/swing/plaf/basic/BasicRadioButtonUI.java,
8446 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8447 javax/swing/plaf/basic/BasicToggleButtonUI.java,
8448 javax/swing/plaf/basic/BasicViewportUI.java:
8449 Fixed import statements.
8451 2004-01-10 Michael Koch <konqueror@gmx.de>
8453 * gnu/java/awt/image/ImageDecoder.java
8454 (produce): Made public.
8455 * gnu/java/awt/peer/GLightweightPeer.java,
8456 gnu/java/awt/peer/gtk/GtkToolkit.java:
8459 2004-01-10 Michael Koch <konqueror@gmx.de>
8461 * javax/swing/JRadioButtonMenuItem.java,
8462 javax/swing/JSeparator.java,
8463 javax/swing/JSplitPane.java,
8464 javax/swing/JTextPane.java,
8465 javax/swing/JToolBar.java,
8466 javax/swing/ListCellRenderer.java,
8467 javax/swing/ListModel.java,
8468 javax/swing/MenuElement.java,
8469 javax/swing/OverlayLayout.java,
8470 javax/swing/ProgressMonitor.java,
8471 javax/swing/ProgressMonitorInputStream.java,
8472 javax/swing/Renderer.java,
8473 javax/swing/RootPaneContainer.java,
8474 javax/swing/Scrollable.java,
8475 javax/swing/SingleSelectionModel.java,
8476 javax/swing/ToolTipManager.java,
8477 javax/swing/ViewportLayout.java,
8478 javax/swing/event/DocumentEvent.java,
8479 javax/swing/event/SwingPropertyChangeSupport.java,
8480 javax/swing/event/TreeSelectionEvent.java,
8481 javax/swing/event/UndoableEditEvent.java,
8482 javax/swing/text/AbstractDocument.java,
8483 javax/swing/text/AttributeSet.java,
8484 javax/swing/text/Caret.java,
8485 javax/swing/text/ComponentView.java,
8486 javax/swing/text/DefaultCaret.java,
8487 javax/swing/text/DefaultEditorKit.java,
8488 javax/swing/text/Document.java,
8489 javax/swing/text/EditorKit.java,
8490 javax/swing/text/GapContent.java,
8491 javax/swing/text/Keymap.java,
8492 javax/swing/text/MutableAttributeSet.java,
8493 javax/swing/text/PlainEditorKit.java,
8494 javax/swing/text/Segment.java,
8495 javax/swing/text/Style.java,
8496 javax/swing/text/StyledDocument.java,
8497 javax/swing/text/StyledEditorKit.java,
8498 javax/swing/text/TextAction.java,
8499 javax/swing/text/View.java: Fixed import statements.
8501 2004-01-08 Graydon Hoare <graydon@redhat.com>
8503 * javax/swing/JLayeredPane.java: Rewrite to accomodate
8504 djee@redhat.com's recent inverse ordering of Container elements.
8506 2004-01-09 Michael Koch <konqueror@gmx.de>
8508 * gnu/java/lang/ArrayHelper.java
8509 (equalsArray): Removed.
8511 2004-01-09 Andrew Haley <aph@redhat.com>
8513 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
8514 a Utf8Const field before looking at its class.
8516 2004-01-09 Michael Koch <konqueror@gmx.de>
8518 * javax/print/attribute/standard/DocumentName.java,
8519 javax/print/attribute/standard/JobHoldUntil.java,
8520 javax/print/attribute/standard/JobMessageFromOperator.java,
8521 javax/print/attribute/standard/JobName.java,
8522 javax/print/attribute/standard/JobOriginatingUserName.java,
8523 javax/print/attribute/standard/OutputDeviceAssigned.java,
8524 javax/print/attribute/standard/PrinterInfo.java,
8525 javax/print/attribute/standard/PrinterLocation.java,
8526 javax/print/attribute/standard/PrinterMakeAndModel.java,
8527 javax/print/attribute/standard/PrinterMessageFromOperator.java,
8528 javax/print/attribute/standard/PrinterName.java,
8529 javax/print/attribute/standard/RequestingUserName.java: New files.
8530 * Makefile.am (javax_source_files): Added new files.
8531 * Makefile.in: Regenerated.
8533 2004-01-09 Michael Koch <konqueror@gmx.de>
8535 * javax/swing/AbstractAction.java,
8536 javax/swing/AbstractSet.java,
8537 javax/swing/Action.java,
8538 javax/swing/ActionMap.java,
8539 javax/swing/BoundedRangeModel.java,
8540 javax/swing/ButtonModel.java,
8541 javax/swing/CellEditor.java,
8542 javax/swing/CellRendererPane.java,
8543 javax/swing/ComboBoxEditor.java,
8544 javax/swing/DebugGraphics.java,
8545 javax/swing/DefaultCellEditor.java,
8546 javax/swing/DefaultCellRenderer.java,
8547 javax/swing/DefaultComboBoxModel.java,
8548 javax/swing/DefaultDesktopManager.java,
8549 javax/swing/DefaultFocusManager.java,
8550 javax/swing/DefaultListCellRenderer.java,
8551 javax/swing/Icon.java,
8552 javax/swing/JButton.java,
8553 javax/swing/JCheckBoxMenuItem.java,
8554 javax/swing/JDesktopPane.java,
8555 javax/swing/JEditorPane.java,
8556 javax/swing/JMenu.java,
8557 javax/swing/JPanel.java,
8558 javax/swing/JPasswordField.java,
8559 javax/swing/JPopupMenu.java,
8560 javax/swing/JProgressBar.java: Reworked imports.
8562 2004-01-09 Michael Koch <konqueror@gmx.de>
8564 * java/awt/geom/PathIterator.java
8565 (WIND_EVEN_ODD): Removed redundant modifiers.
8566 (WIND_NON_ZERO): Likewise.
8567 (SEG_MOVETO): Likewise.
8568 (SEG_LINETO): Likewise.
8569 (SEG_QUADTO): Likewise.
8570 (SEG_CUBICTO): Likewise.
8571 (SEG_CLOSE): Likewise.
8572 * java/awt/image/SinglePixelPackedSampleModel.java:
8573 Removed redundant semicolon.
8574 * java/io/ObjectInputStream.java
8575 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
8576 * java/util/logging/Filter.java
8577 (isLoggable): Removed redundant modifier.
8578 * java/util/logging/LogManager.java:
8579 Removed redundant semicolon.
8580 * java/util/logging/XMLFormatter.java
8581 (format): Removed unused variable "key".
8583 2004-01-08 Fernando Nasser <fnasser@redhat.com>
8585 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
8586 New name for the former setFile native method.
8587 (setFile): New method.
8588 (setDirectory): Implemented.
8589 (connectSignals): New native method.
8590 (setFilenameFilter): Improve comment.
8591 (getGraphics): Comment.
8592 (gtkHideFileDialog): New method.
8593 (gtkDisposeFileDialog): New method.
8594 (gtkSetFilename): New method.
8595 * java/awt/Dialog.java (show): Block on modal dialogs, but only
8596 for FileDialog for now.
8598 (dispose): New method.
8599 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8600 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
8601 deprecated creation functions. Make dialog modal. Add it to the
8603 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
8605 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
8607 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
8609 (window_closed): New function.
8610 (ok_clicked): New function.
8611 (cancel_clicked): New function.
8613 2004-01-08 Michael Koch <konqueror@gmx.de>
8615 * javax/swing/JLayeredPane.java: Revert changes to standard
8616 boilerplate, reworked imports.
8618 2004-01-07 Tom Tromey <tromey@redhat.com>
8621 * verify.cc (state::merge): Copy changed locals out of subroutine
8623 (state::FLAG_CHANGED): New const.
8624 (state::FLAG_UNUSED): Likewise.
8625 (state::local_changed): Removed. Updated all users.
8626 (state::flags): New field.
8627 (state::merge): Added jsr_semantics argument, more logic.
8628 (push_jump_merge): Added jsr_semantics argument.
8629 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
8630 merging through the jsr instruction.
8632 2004-01-07 Tom Tromey <tromey@redhat.com>
8634 * scripts/MakeDefaultMimeTypes.java: Use \n, not
8637 2004-01-07 Graydon Hoare <graydon@redhat.com>
8639 * java/awt/Container.java (LightweightDispatcher): Implement.
8640 (visitChild): Reuse graphics object.
8641 (dispatchEventImpl): Optionally dispatch to lightweight.
8642 (addNotifyContainerChildren): Build LightweightDispatcher.
8644 2004-01-07 David Jee <djee@redhat.com>
8646 * java/awt/Container.java
8647 (update): Clear only the clipped region, instead of clearing the
8649 (visitChildren): Visit children in descending order.
8651 2004-01-07 Michael Koch <konqueror@gmx.de>
8653 * java/lang/reflect/Array.java: Merged documentation with classpath.
8655 2004-01-07 Michael Koch <konqueror@gmx.de>
8657 * java/text/CollationElementIterator.java
8658 (textIndex): Renamed from index.
8659 * java/text/CollationKey.java
8660 (collator): New member.
8661 (CollationKey): New argument for parent collator.
8662 (equals): Check for same collator, source string and key array.
8663 * java/text/RuleBasedCollator.java:
8665 (RuleBasedCollator): Don't re-initialize frenchAccents with default
8667 (getCollationElementIterator): Rewritten.
8668 (getCollationKey): Added new argument to CollationKey constructor.
8670 2004-01-07 Michael Koch <konqueror@gmx.de>
8672 * gnu/java/nio/DatagramChannelImpl.java
8673 (blocking): Removed.
8674 (DatagramChannelImpl): Call configureBlocking().
8675 (implConfigureBlocking): Dont initialize blocking.
8676 * gnu/java/nio/ServerSocketChannelImpl.java
8677 (blocking): Removed.
8678 (ServerSocketChannelImpl): Call configureBlocking().
8679 (implConfigureBlocking): Dont initialize blocking.
8680 * gnu/java/nio/SocketChannelImpl.java
8681 (blocking): Removed.
8682 (SocketChannelImpl): Call configureBlocking().
8683 (implConfigureBlocking): Dont initialize blocking.
8684 (connect): Use isBlocking().
8685 * java/nio/channels/spi/AbstractSelectableChannel.java
8686 (configureBlocking): Use blockingLock() instead of LOCK.
8687 Set blocking after successfully called implConfigureBlocking().
8688 (register): Use blockingLock() instead of LOCK.
8690 2004-01-07 Michael Koch <konqueror@gmx.de>
8692 * java/net/ServerSocket.java (isBound): Fixed documentation.
8694 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
8696 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
8697 (changeEvent): Create event object on demand.
8698 (DefaultBoundedRangeModel, toString, setValue, setExtent,
8699 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
8700 fireStateChanged): Re-written.
8701 * javax/swing/event/EventListenerList.java: Reformatted, document
8703 (toString): Implemented.
8704 (getListeners): Re-written.
8705 (remove): Re-written.
8707 (NO_LISTENERS): New singleton field.
8708 (listenerList): Declare as transient; document.
8709 (serialVersionUID): Document.
8710 (getListenerCount(Class)): More efficient implementation,
8711 also accepts null argument. Improve Javadoc.
8712 (getListenerCount()): Remove unnecessary cast; docfix.
8713 * javax/swing/undo/UndoableEditSupport.java:
8714 Re-format, document.
8715 (UndoableEditSupport): Set realSource field. Improve documentation.
8716 (_postEdit): Iterate over cloned listener vector.
8717 (toString): Don't emit realSource.
8718 (beginUpdate, endUpdate): Support nested updates.
8719 (postEdit): Use compound edit if present.
8721 2004-01-06 Graydon Hoare <graydon@redhat.com>
8723 * java/awt/Container.java (swapComponents): Add forgotten
8724 function, required for JLayeredPane change.
8726 2004-01-06 Michael Koch <konqueror@gmx.de>
8728 * java/text/CollationElementIterator.java: Reformated.
8729 (CollationElementIterator): Changed order of arguments.
8730 * java/text/RuleBasedCollator.java
8731 (RuleBasedCollator): Merged class documentation.
8732 (CollationElement): Added documentation.
8733 (compare): Reformated, renamed arguments.
8735 (getCollationElementIterator): Likewise.
8736 (getCollationKey): Likewise.
8738 2004-01-06 Graydon Hoare <graydon@redhat.com>
8740 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
8742 2004-01-06 Michael Koch <konqueror@gmx.de>
8744 * gnu/java/net/protocol/file/Connection.java:
8745 Reformated copyright.
8748 (gotHeaders): Removed.
8749 (getHeaderField): Removed.
8750 (getHeaderField): Removed.
8751 (getHeaderFieldKey): Removed.
8753 (getField): Removed.
8754 (getHeaders): Removed.
8756 2004-01-06 Michael Koch <konqueror@gmx.de>
8758 * javax/print/attribute/standard/DateTimeAtCompleted.java,
8759 javax/print/attribute/standard/DateTimeAtCreation.java,
8760 javax/print/attribute/standard/DateTimeAtProcessing.java,
8761 javax/print/attribute/standard/JobImpressionsCompleted.java,
8762 javax/print/attribute/standard/JobKOctets.java,
8763 javax/print/attribute/standard/JobKOctetsProcessed.java,
8764 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
8765 javax/print/attribute/standard/JobPrioritySupported.java: New files.
8766 * Makefile.am (javax_source_files): Added new files.
8767 * Makefile.in: Regenerated.
8769 2004-01-06 Michael Koch <konqueror@gmx.de>
8771 * java/net/URLConnection.java
8772 (contentHandler): Removed.
8774 (getHeaderFields): Return an empty map instead of null.
8775 (getContent): Connect if needed, renamed "cType" to "type" and
8776 "contentHandler" to "ch" and made it a local variable.
8777 (getPermission): Don't use package in class name.
8778 (setDefaultRequestProperty): Fixed typo in documentation.
8779 (initializeDateFormats): Made locale a local variable.
8781 2004-01-06 Michael Koch <konqueror@gmx.de>
8783 * java/lang/Package.java
8784 (getPackage): Get the current class loader directly.
8785 * java/lang/SecurityManager.java
8786 (currentLoadedClass): Dont iterate over class contexts.
8787 (classLoaderDepth): Don't check class loaders if everything is allowed.
8789 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
8791 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8792 (pre_event_handler): Set all insets to 0 when a Configure event
8793 is received for a GtkPlug.
8794 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
8795 Make handle long, not int.
8796 (EmbeddedWindow()): New constructor.
8797 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
8799 (setHandle): New method.
8800 (getHandle): Return long, not int.
8801 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
8803 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
8804 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
8805 (create(long)): Take long parameter, not int. Cast gtk_plug_new
8806 argument to GdkNativeWindow.
8807 (construct): New method.
8808 (embed): New method.
8810 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
8811 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
8812 (create(int, int)): New method.
8813 (create): Call new create method.
8814 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
8816 (childResized): Remove native implementation. Implement in
8818 (getHScrollbarHeight, getVScrollbarWidth): Call
8819 gtk_widget_size_request to get scrollbar dimensions.
8820 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
8821 call getVScrollbarWidth and getHScrollbarHeight when vertical
8822 and horizontal scrollbars respectively are needed.
8823 (doLayout): Enlarge child if it is smaller than the viewport.
8825 2004-01-05 Fernando Nasser <fnasser@redhat.com>
8827 * java/awt/Dialog.java (constructor): Accept null title as per spec.
8828 * java/awt/FileDialog.java (constructor): Throw exception on invalid
8829 argument as per spec.
8831 2004-01-05 Fernando Nasser <fnasser@redhat.com>
8833 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
8835 (remove): Ditto. Also, Check for valid argument.
8836 (removeAll): Use peer interface method.
8837 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
8838 native add function.
8839 (nativeRemove): New name for native remove function.
8840 (getHistory): New native function.
8841 (constructor): Generate ItemEvent.
8842 (add): Ditto, if selection is changed.
8843 (remove): Ditto, ditto.
8844 (removeAll): Add implementation.
8845 (handleEvent): Remove. Dead code.
8846 (choicePostItemEvent): Add comment.
8847 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8848 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
8849 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
8850 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
8851 comments and fix condition to change selection.
8852 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
8853 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
8854 remove all capability.
8855 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
8856 (item_activate): Add cast to remove compiler warning.
8858 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
8860 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8861 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8862 (getPreferredSize): Call preferredSize.
8863 (preferredSize): Call gtkWidgetGetPreferredDimensions.
8864 (getMinimumSize): Call minimumSize.
8865 (minimumSize): Call gtkWidgetGetPreferredDimensions.
8866 (gtkWidgetGetDimensions): Return the peer widget's current size
8868 (gtkWidgetGetPreferredDimensions): Return the peer widget's
8869 natural size request.
8871 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
8873 Thanks to Brian Gough <bjg@network-theory.com>
8874 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
8875 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
8877 2004-01-04 Matthias Klose <doko@debian.org>
8879 * aclocal.m4: Rebuilt using "aclocal -I .".
8880 * configure: Rebuilt.
8882 2004-01-03 Per Bothner <per@bothner.com>
8884 * java/util/Date.java (parse): Fix a number of problems.
8885 (skipParens): Remove no-longer-needed method.