1 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
4 boehm-gc's include dirs.
6 * include/boehm-gc.h: Include gc_config.h.
8 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
10 * java/net/InetAddress.java (loopbackAddress): Renamed from
12 (getByName): Return loopback address for null hostname, without
13 security check. Use lookup(), not getAllByName.
14 (getAllByName): Return loopback address for null hostname, without
16 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
19 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
22 Reported by Robin Green.
23 * defineclass.cc (handleField): Don't throw exception on unrecognised
24 modifier. Add FIXME comments for spec compliance.
25 (handleMethod): Likewise.
27 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
30 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
31 (Almost everywhere): add LOG calls, fix, add comments.
32 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
33 Add explicit check for LOCKED bit in slow case (PR 16662).
34 (_Jv_MonitorExit): Add casts in debug-only code.
35 Always release LOCKED bit before throwing exception.
36 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
37 isn't. Handle easy cases without lock acquisition.
38 (Object::wait): Use NotifyAll for lock inflation.
40 2004-08-12 David Daney <ddaney@avtrex.com>
42 * testsuite/libjava.lang/Process_1.java: New test.
43 * testsuite/libjava.lang/Process_2.java: New test.
44 * testsuite/libjava.lang/Process_3.java: New test.
45 * testsuite/libjava.lang/Process_4.java: New test.
46 * testsuite/libjava.lang/Process_5.java: New test.
47 * testsuite/libjava.lang/Process_6.java: New test.
48 * testsuite/libjava.lang/Process_1.out: Expected result.
49 * testsuite/libjava.lang/Process_2.out: Expected result.
50 * testsuite/libjava.lang/Process_3.out: Expected result.
51 * testsuite/libjava.lang/Process_4.out: Expected result.
52 * testsuite/libjava.lang/Process_5.out: Expected result.
53 * testsuite/libjava.lang/Process_6.out: Expected result.
55 2004-08-12 David Daney <ddaney@avtrex.com>
58 * java/lang/PosixProcess.java: Rewrote.
59 * java/lang/natPosixProcess.cc: Rewrote.
60 * java/lang/Runtime.java (execInternal): Declare throws IOException.
61 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
62 * posix-threads.cc (block_sigchld) New function.
63 (_Jv_ThreadRegister) Use it.
64 (_Jv_ThreadStart) Use it.
65 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
66 * Makefile.am: ... to specify extra native headers.
67 * configure: Regenerated.
68 * include/config.h: Regenerated.
69 * Makefile.in: Regenerated.
70 * gcj/Makefile.in: Regenerated.
71 * include/Makefile.in: Regenerated.
72 * testsuite/Makefile.in: Regenerated.
74 2004-08-12 Diego Novillo <dnovillo@redhat.com>
76 PR tree-optimization/16867
77 * testsuite/libjava.lang/PR16867.java: New test.
79 2004-08-09 Per Bothner <per@bothner.com>
81 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
82 with private fields and access methods.
83 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
84 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
85 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
86 ( _Jv_makeUtf8Const): Rewrite using new constructors.
87 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
88 * defineclass.cc: Use new _Utf8Const access/convenience methods.
90 * resolve.cc: Likewise.
91 * gcj/field.h: Likewise.
92 * include/jvm.h: Likewise.
93 * java/lang/Class.h: Likewise.
94 * java/lang/natClass.cc: Likwise.
95 * java/lang/natClassLoader.cc: Likewise
96 * java/lang/reflect/natMethod.cc: Likewise
97 * verify.cc: Likewise.
98 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
99 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
101 2004-08-10 Andrew Haley <aph@redhat.com>
103 * testsuite/libjava.lang/err14.java: New file.
104 * testsuite/libjava.lang/err14.out: New file.
106 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
108 * Makefile.am: Fix missing rename from x_nat_headers to
110 * Makefile.in: Regenerated.
112 2004-08-04 Andrew Haley <aph@redhat.com>
114 * java/security/BasicPermission.java: Don't check wildcards.
116 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
117 Michael Koch <konqueror@gmx.de>
119 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
120 * configure.in: Replaced all usages of AC_LINK_FILES by
123 configure: Regenerated.
125 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
126 Michael Koch <konqueror@gmx.de>
128 * acconfig.h: Removed.
129 * Makefile.am: Rename variables for xlib peer to include xlib and
130 gtk_c_headers to gtk_jni_headers.
131 * Makefile.in: Regenerated.
133 2004-08-04 Andrew Haley <aph@redhat.com>
135 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
138 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
140 * configure.in: Eliminate uses of changequote (mostly by quoting []).
141 Replace most top level 'dnl' comments with '#' comments, conforming
142 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
144 * configure: Rebuilt.
146 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
148 * acinclude.m4: Include no-executables.m4.
149 * aclocal.m4: Rebuild.
150 * configure.in: Convert to the autoconf 2.59 version of
151 of the no-executables hack, and also of the nonstandard CXX
152 hack and the multilibbed CC and CXX hack. Change prerequisite
154 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
155 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
156 testsuite/Makefile.in: Regenerate.
158 2004-08-03 Tom Tromey <tromey@redhat.com>
160 * jni.cc: Reindented.
162 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
164 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
166 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
168 * testsuite/libjava.compile/PR16701.java: New test.
170 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
172 * java/util/Collection.java, java/util/List.java,
173 java/util/Map.java, java/util/Set.java,
174 java/util/SortedMap.java, java/util/SortedSet.java:
175 Added additional exceptions to documentation.
177 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
180 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
181 * configure. Regenerate.
182 * include/win32.h: Explicitly include winsock2.h
183 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
186 2004-07-30 Michael Koch <konqueror@gmx.de>
188 * java/util/zip/GZIPInputStream.java
189 (GZIPInputStream): Increase buffer size to 4k.
190 * java/util/zip/GZIPOutputStream.java
191 (GZIPOutputStream): Likewise.
192 * java/util/zip/Inflater.java
193 (setInput): Merged formating with GNU classpath.
194 * java/util/zip/InflaterInputStream.java
195 (InflaterInputStream): Increase buffer size to 4k.
196 (fill): Throw exception if stream ends early.
197 (read): Merged endless-loop with GNU classpath.
198 (skip): Increase buffer size to 2k.
200 2004-07-30 Michael Koch <konqueror@gmx.de>
202 * gnu/java/awt/EmbeddedWindow.java
203 (addNotify): Use AccessController to allow execution of privileged
206 2004-07-29 Michael Koch <konqueror@gmx.de>
208 * gnu/java/lang/MainThread.java:
209 Explicitely import used classes.
210 (args): Make it type String[].
212 2004-07-29 Dalibor Topic <robilad@kaffe.org>
214 * gnu/java/awt/ComponentDataBlitOp.java,
215 gnu/java/beans/ExplicitBeanInfo.java,
216 gnu/java/beans/IntrospectionIncubator.java,
217 gnu/java/beans/editors/ColorEditor.java,
218 gnu/java/beans/editors/FontEditor.java,
219 gnu/java/beans/editors/NativeBooleanEditor.java,
220 gnu/java/beans/editors/NativeByteEditor.java,
221 gnu/java/beans/editors/NativeDoubleEditor.java,
222 gnu/java/beans/editors/NativeFloatEditor.java,
223 gnu/java/beans/editors/NativeIntEditor.java,
224 gnu/java/beans/editors/NativeLongEditor.java,
225 gnu/java/beans/editors/NativeShortEditor.java,
226 gnu/java/beans/editors/StringEditor.java,
227 gnu/java/io/ClassLoaderObjectInputStream.java,
228 gnu/java/io/decode/Decoder.java,
229 gnu/java/io/encode/Encoder.java,
230 gnu/java/lang/ClassHelper.java,
231 gnu/java/locale/Calendar.java,
232 gnu/java/locale/Calendar_de.java,
233 gnu/java/locale/Calendar_en.java,
234 gnu/java/locale/Calendar_nl.java,
235 gnu/java/locale/LocaleInformation_de.java,
236 gnu/java/locale/LocaleInformation_en.java,
237 gnu/java/locale/LocaleInformation_nl.java:
240 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
242 * README: Remove obsolete info. Update bug URL.
244 * NEWS: Updated with news up to GCC 3.4 release.
246 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
248 * gnu/java/security/action/GetPropertyAction.java (setParameters):
249 Renamed from 'setName'. New 2-argument form with default value.
250 (run): Pass default 'value' parameter to System.getProperty().
251 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
253 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
256 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
258 * configure.in: Check for minimum GTK version 2.4 requirement.
259 * configure: Rebuilt.
261 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
263 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
264 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
266 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
268 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
269 address. Reduce sleep times. Synchronize with target threads before
270 attempting to interrupt them. Don't try to calibrate yeild count,
271 instead, always loop for a fixed time.
272 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
273 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
274 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
275 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
276 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
277 * testsuite/libjava.lang/pr179.java: Likewise.
278 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
279 time. Remove upper bounds check on sleep time.
281 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
283 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
284 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
286 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
288 * java/io/File.java (toURI): Throw RuntimeException, not
290 * java/lang/Runtime.java (exit): Qualify static sleep() call with
291 class name, not instance.
293 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
295 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
296 and gnu/java/security/action/SetAccessibleAction.java.
297 * Makefile.in: Rebuilt.
299 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
301 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
302 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
304 (DECLARE_PRIM_TYPE): Don't declare array vtables.
305 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
306 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
308 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
310 * Makefile.am: Replace jar, rmic and rmiregistry references with
311 gjar, grmic and grmiregistry.
312 * configure.in: Likewise.
313 * Makefile.in: Regenerate.
314 * configure: Likewise.
315 * gcj/Makefile.in: Likewise.
316 * include/Makefile.in: Likewise.
317 * testsuite/Makefile.in: Likewise.
319 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
321 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
322 for privileged getProperty calls.
323 * java/io/ObjectOutputStream.java (getField): No longer static. Use
324 SetAccessibleAction instead of anonymous class for doPrivileged call.
325 (getMethod): Likewise.
326 (setAccessible): New field. PrivilegedAction object to use when
327 calling setAccessible.
328 * java/io/ObjectStreamClass.java (calculateOffsets): Use
329 SetAccessibleAction instead of anonymous class for diPrivileged call.
330 (setFields): Likewise.
331 (getClassUID): Likewise.
332 (findMethod): Likewise.
333 * gnu/java/security/action/GetPropertyAction.java: New class.
334 * gnu/java/security/action/SetAccessibleAction.java: New class.
336 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
338 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
340 * testsuite/libjava.lang/Serialization.java: New test.
341 * testsuite/libjava.lang/Serialization.out: New.
343 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
345 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
346 missed in last commit.
348 2004-07-23 Mark Wielaard <mark@klomp.org>
350 * java/lang/System.java (static): Set http.agent system property when
352 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
353 from system property inside AccessController.doPrivileged() call.
354 (proxyPort): Made package private.
355 (proxyInUse): Likewise.
356 (proxyHost): Likewise.
357 (userAgent): Likewise.
359 2004-07-23 Mark Wielaard <mark@klomp.org>
361 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
364 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
366 * Makefile.am (ordinary_java_source_files): Add
367 DefaultContentHandlerFactory.java.
368 * Makefile.in: Rebuilt.
369 * java/net/URLConnection.java (defaultFactory): New field.
371 (getContentHandler): Renamed from 'setContentHandler'. Try
372 defaultFactory after user-set factory, if any. Search for content
373 handler implementations in gnu.java.net.content, not gnu.gcj.content.
374 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
376 (getLastModified): Implemented.
377 (getPermission): Create file permission here, instead of in
379 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
381 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
383 (getLastModified): Implemented.
384 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
385 Default implementation.
386 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
387 Implement using GdkPixbufDecoder.
389 2004-07-21 Michael Koch <konqueror@gmx.de>
391 * javax/swing/JTextArea.java
392 (setLineWrap): Fire property change event after new value is set.
393 (setTabSize): Likewise.
395 2004-07-21 Michael Koch <konqueror@gmx.de>
397 * javax/swing/JTable.java
398 (autoCreateColumnsFromModel): New field.
399 (autoResizeMode): Likewise.
400 (cellEditor): Likewise.
401 (cellSelectionEnabled): Likewise.
402 (columnModel): Likewise.
403 (dataModel): Likewise.
404 (defaultEditorsByColumnClass): Likewise.
405 (defaultRenderersByColumnClass): Likewise.
406 (editingColumn): Likewise.
407 (editingRow): Likewise.
408 (gridColor): Likewise.
409 (preferredViewportSize): Likewise.
410 (rowHeight): Likewise.
411 (rowMargin): Likewise.
412 (rowSelectionAllowed): Likewise.
413 (selectionBackground): Likewise.
414 (selectionForeground): Likewise.
415 (selectionModel): Likewise.
416 (showHorizontalLines): Likewise.
417 (showVerticalLines): Likewise.
418 (tableHeader): Likewise.
419 (JTable): Implemented.
420 (getColumnModel): Likewise.
421 (getSelectedRow): Likewise.
422 (getSelectionModel): Likewise.
423 (setModel): Likewise.
424 (setSelectionModel): Likewise.
425 (createScrollPaneForTable): New method.
426 (createDefaultDataModel): Likewise.
427 (createDefaultListSelectionModel): Likewise.
428 (getModel): Likewise.
429 (getTableHeader): Likewise.
430 (setTableHeader): Likewise.
431 (getColumnSelectionAllowed): Likewise.
432 (setColumnSelectionAllowed): Likewise.
433 (getRowSelectionAllowed): Likewise.
434 (setRowSelectionAllowed): Likewise.
435 (getAutoResizeMode): Likewise.
436 (setAutoResizeMode): Likewise.
437 (getColumnCount): Likewise.
438 (getRowCount): Likewise.
439 (getCellRenderer): Likewise.
440 * javax/swing/JTree.java
441 (cellRenderer): New field.
442 (editable): Likewise.
443 (rootVisible): Likewise.
444 (showsRootHandles): Likewise.
445 (getModel): New method.
446 (setModel): Likewise.
447 (isEditable): Likewise.
448 (setEditable): Likewise.
449 (isRootVisbile): Likewise.
450 (setRootVisible): Likewise.
451 (getShowsRootHandles): Likewise.
452 (setShowRootHandles): Likewise.
453 (getCellRenderer): Likewise.
454 (setCellRenderer): Likewise.
456 2004-07-21 Michael Koch <konqueror@gmx.de>
458 * javax/swing/JFormattedTextField.java
459 (setDocument): Implemented.
460 * javax/swing/JRootPane.java:
462 * javax/swing/JTable.java
463 (getDefaultRenderer): New method.
464 * javax/swing/JTextField.java
466 (getPreferredSize): Likewise.
467 * javax/swing/JToggleButton.java
468 (getAccessibleContext): Fix javadoc.
469 * javax/swing/JTree.java:
471 * javax/swing/JViewport.java:
474 2004-07-21 David Jee <djee@redhat.com>
476 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
477 Collect all native method declaration at the top.
478 (create): Set the filename filter if necessary.
479 (setDirectory): Call nativeSetDirectory().
480 (setFilenameFilter): Implement.
481 (filenameFilterCallback): New method.
482 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
483 (create): Configure dialog to show hidden files.
484 (filenameFilterCallback): New function.
485 (nativeSetFilenameFilter): New function.
486 (nativeSetDirectory): New function.
488 2004-07-21 Kim Ho <kho@redhat.com>
490 * javax/swing/plaf/basic/BasicSliderUI.java:
492 (paintTrack): Fill the track before painting
495 2004-07-21 Graydon Hoare <graydon@redhat.com>
497 patch from Roman Kennke <roman@ontographics.com>
498 * javax/swing/Spring.java: New file.
499 * javax/swing/SpringLayout.java: New file.
500 * Makefile.am: Add new files.
501 * Makefile.in: Regenerate.
503 2004-07-21 Graydon Hoare <graydon@redhat.com>
505 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
506 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
507 * javax/swing/ScrollPaneLayout.java: Likewise.
509 2004-07-21 Kim Ho <kho@redhat.com>
511 * javax/swing/DefaultDesktopManager.java:
512 (findMinimum): Removed.
513 (resizeFrame): Trust the UI to pass valid
515 * javax/swing/JOptionPane.java:
516 Implemented showInternalXXXDialog methods.
517 (startModal): New method.
518 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
519 (BorderListener::mouseDragged): Verify that the new
520 bounds are valid before passing them to the DesktopManager.
521 (preferredLayoutSize): Delegate
523 (minimumLayoutSize): Ditto.
524 (getSize): New method.
525 (GlassPaneDispatcher): Reimplemented by copying
526 a stripped down LightweightDispatcher from Container.
527 (getMinimumSize): Call minimumLayoutSize.
528 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
530 (mousePressed): Add ability to properly close
532 * javax/swing/plaf/basic/BasicToolBarUI.java:
533 (DragWindow): Set owner for DragWindow.
535 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
537 * java/awt/image/ShortLookupTable.java: New file.
538 * java/awt/image/ByteLookupTable.java: New file.
539 * Makefile.am: Added new files.
540 * Makefile.in: Regenerated.
542 2004-07-21 David Jee <djee@redhat.com>
544 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
545 (create(GtkContainerPeer)): New native method.
546 (create()): Call native create(), passing in the parent frame
547 as the paramter. Natively set the current file and directory.
548 (setFile): Construct an absolute filename before passing it to
550 (nativeGetDirectory): New method.
551 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
552 (window_closed): Removed.
553 (ok_clicked): Likewise.
554 (cancel_clicked): Likewise.
555 (handle_response): New method.
556 (create): Use GtkFileChooserDialog.
557 (connectSignals): Connect to handle_response.
558 (nativeGetDirectory): New method.
559 (nativeSetFile): Use GtkFileChooserDialog.
561 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
563 * java/awt/image/LookupTable.java: New file.
564 * Makefile.am: Added new file.
565 * Makefile.in: Regenerated.
567 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
569 * java/awt/image/Kernel.java: New file.
570 * Makefile.am: Added new file.
571 * Makefile.in: Regenerated.
573 2004-07-21 Olga Rodimina <rodimina@redhat.com>
575 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
576 * javax/swing/JMenu.java: Likewise.
577 * javax/swing/JMenuBar.java: Likewise.
578 (MARGIN_CHANGED_PROPERTY): New property.
579 (setMargin): Implemented.
580 * javax/swing/JMenuItem.java: Fixed javadocs.
581 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
582 (LABEL_CHANGED_PROPERTY): New property.
583 (add): changed to use createActionComponent.
584 (createActionComponent): Implemented.
585 (setLabel): Fire PropertyChangeEvent if label property
587 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
588 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
589 (ContainerHandler): Repaint if margin property has changed.
590 * javax/swing/plaf/basic/BasicMenuItemUI.java:
591 (installUI): Call installComponents().
592 (uninstallUI): Call uinstallComponents().
593 * javax/swing/plaf/basic/BasicMenuUI.java:
595 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
598 2004-07-21 Kim Ho <kho@redhat.com>
600 * javax/swing/plaf/basic/BasicToolBarUI.java:
601 (DragWindow): Use the right constructor.
603 2004-07-21 Kim Ho <kho@redhat.com>
605 * javax/swing/JToolBar.java:
606 (layoutContainer): Use getComponents.
607 * javax/swing/plaf/basic/BasicToolBarUI.java:
608 (DragWindow): Don't use SwingUtilities'
610 (ToolBarDialog): ditto.
612 2004-07-21 Kim Ho <kho@redhat.com>
614 * javax/swing/JRootPane.java:
616 (layoutContainer): Set the glasspane's size to
617 be the same as the content pane.
618 (createGlassPane): Set opaque property to false.
620 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
622 * java/awt/Component.java (requestFocus()): Don't handle Panels
624 (requestFocus(boolean)): Likewise.
625 (requestFocusInWindow(boolean)): Likewise.
626 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
627 Set GTK_CAN_FOCUS flag.
629 2004-07-21 Kim Ho <kho@redhat.com>
631 * Makefile.am: Added new file.
632 * Makefile.in: Regenerated.
633 * gcj/Makefile.in: Regenerated.
634 * include/Makefile.in: Regenerated.
635 * javax/swing/AbstractButton.java:
636 Add rollOverEnabled property.
637 (setRolloverEnabled): Use new property.
638 (isRolloverEnabled): Use new property.
639 * javax/swing/JTabbedPane.java:
640 (setComponent): Remove useless JTabbedPane.this.
641 * javax/swing/JToolBar.java: Finish implementation.
642 * javax/swing/plaf/basic/BasicArrowButton.java:
643 (paint): Moved border painting to a border.
644 * javax/swing/plaf/basic/BasicLookAndFeel.java:
645 Change JToolBar look and feel defaults.
646 * javax/swing/plaf/basic/BasicOptionPaneUI.java
647 (actionPerformed): Return Integer index instead of name.
648 (addButtonComponents): Check to see if component is
650 (createMessageArea): Don't use components that are not
652 (getIconForType): Use temporary icons.
653 * javax/swing/plaf/basic/BasicSliderUI.java:
654 (mousePressed): Do not return if it's on thumb.
655 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
656 (paintMinorTickForVertSlider): ditto.
657 (paintMajorTickForHorizSlider): ditto.
658 (paintMajorTickForVertSlider): ditto.
659 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
660 Add a border around the SplitPaneDivider.
661 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
663 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
664 New file. Implemented.
665 * javax/swing/plaf/basic/BasicToolBarUI.java:
667 * testsuite/Makefile.in: Regenerated.
669 2004-07-21 Graydon Hoare <graydon@redhat.com>
671 * javax/swing/Timer.java (run): Queue events each time cycle.
673 2004-07-21 David Jee <djee@redhat.com>
675 * gnu/java/awt/peer/gtk/GtkImagePainter.java
676 (imageComplete): Call image.imageComplete().
677 * java/awt/image/MemoryImageSource.java:
678 Reimplement consumers as a Vector instead of a Hashtable. This is
679 because enumeration on a Hashtable is not thread-safe.
680 (addConsumer): Adapt to Vector consumers.
681 (isConsumer): Adapt to Vector consumers.
682 (removeConsumer): Adapt to Vector consumers.
683 (startProduction): Adapt to Vector consumers. Call imageComplete()
684 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
685 (newPixels): Adapt to Vector consumers.
686 (sendPicture): Set the color model of the image consumer.
687 (newPixels(IIII)): Adapt to Vector consumers.
688 (newPixels(IIIIB)): Adapt to Vector consumers.
690 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
692 * java/awt/Component.java (deliverEvent): Implement.
693 (postEvent): Implement.
694 (handleEvent): Implement.
695 (translateEvent): New method.
696 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
697 * java/awt/Container.java (deliverEvent): Implement.
698 * java/awt/Event.java (paramString): Fix formatting.
699 * java/awt/Font.java (toString): Likewise.
700 * java/awt/Window.java (postEvent): Implement.
702 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
704 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
705 Set window's focus owner upon receiving a FOCUS_LOST event.
706 * java/awt/Window.java (Window()): Refocus the previously
707 focused component within the window when the window regains the
709 (setFocusOwner): New method.
710 * java/awt/Component.java (requestFocus): Add FIXME.
712 * libgcj.pc.in: Remove library flags.
714 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
716 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
718 * java/awt/Component.java (requestFocus()): Handle Panel
719 specially. Post FOCUS_LOST event on opposite component.
720 (requestFocus(boolean)): Likewise.
721 (requestFocusInWindow(boolean)): Likewise.
722 (paramString): Reorder dimension fields.
723 * java/awt/Container.java (paramString): Fix string format.
724 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
725 Handle FOCUS_LOST events. Don't handle Windows specially. Only
726 process key events if the focus owner is non-null.
727 (dispatchKeyEvent): Likewise.
728 * java/awt/Frame.java (paramString): Fix formatting.
729 (generateName): New method.
730 (getUniqueLong): Likewise.
731 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
732 the temporary focus owner is null. If so, return the permanent
734 * java/awt/Panel.java (generateName): New method.
735 (getUniqueLong): Likewise.
736 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
737 signal handling to make callbacks more specific.
739 2004-07-21 Michael Koch <konqueror@gmx.de>
741 * javax/swing/text/Position.java
744 2004-07-21 Michael Koch <konqueror@gmx.de>
746 * javax/swing/LookAndFeel.java
747 (provideErrorFeedback): New method.
749 2004-07-21 Michael Koch <konqueror@gmx.de>
751 * javax/swing/JTextArea.java
752 (tabSize): New field.
753 (getTabSize): New method.
754 (setTabSize): Likewise.
756 2004-07-21 Michael Koch <konqueror@gmx.de>
758 * javax/swing/ActionMap.java:
759 Fixed javadocs all over.
760 (serialVersionUID): Made private.
761 (parent): Don't explicitely initialize with default value.
763 (keys): Reimplemented.
765 (convertSet): Removed.
766 * javax/swing/ComponentInputMap.java:
767 Fixed javadocs all over.
768 (ComponentInputMap): Implemented.
772 (SetParent): Likewise.
773 (getComponent): Likewise.
774 * javax/swing/InputMap.java:
775 Fixed javadocs all over.
776 (serialVersionUID): Made private.
777 (parent): Don't explicitely initialize with default value.
779 (keys): Reimplemented.
781 (convertSet): Removed.
783 2004-07-21 Michael Koch <konqueror@gmx.de>
785 * javax/swing/ActionMap.java,
786 javax/swing/ComponentInputMap.java,
787 javax/swing/InputMap.java,
788 javax/swing/table/DefaultTableColumnModel.java,
789 javax/swing/table/TableColumn.java,
790 javax/swing/table/TableColumnModel.java,
791 javax/swing/table/TableModel.java,
792 javax/swing/text/AbstractDocument.java,
793 javax/swing/text/TextAction.java:
796 2004-07-21 Graydon Hoare <graydon@redhat.com>
798 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
799 Make method non-static.
800 * javax/swing/AbstractButton.java:
801 Rename fields to match property names where possible.
802 (iconTextGap): New property.
803 * javax/swing/JCheckBox.java: Match AbstractButton changes.
804 (init) New method, call from after various constructors.
805 * javax/swing/JComponent.java (revalidate):
806 Invalidate before queueing repair.
807 * javax/swing/JList.java (getPreferredScrollableViewportSize):
808 Reimplement in terms of visibleRowCount property.
809 * javax/swing/JMenuButton.java: Match AbstractButton changes.
810 * javax/swing/JScrollPane.java (createScrollListener):
811 Remove tracing chatter.
812 * javax/swing/JToggleButton.java: Match AbstractButton changes.
813 * javax/swing/RepaintManager.java (addInvalidComponent):
815 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
817 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
818 Mimic sun behavior on top left/right positioning.
819 * javax/swing/ViewportLayout.java (preferredLayoutSize):
820 Remove mistaken use of preferredScrollableViewportSize here.
821 (layoutContainer): Use view's preferred size as basis.
822 * javax/swing/plaf/basic/BasicButtonUI.java:
823 Set, get, and use textIconGap property.
824 (paint) Paint text returned from layout (with ellipsis).
825 * javax/swing/plaf/basic/BasicListUI.java:
826 Remove tracing chatter, correct various minor calculations.
827 (getCellBounds): Update layout state before calculating.
828 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
829 Use margin default similar to sun's.
830 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
831 (createIncreaseIcon): Center icon, minimize margins.
832 (createDecreaseIcon): Likewise.
833 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
835 (installUI): Call it.
836 (uninstallDefaults): Implement.
837 (uninstallUI): Call it.
838 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
839 Call existing Window constructor.
840 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
841 Set clip before painting.
843 2004-07-21 Olga Rodimina <rodimina@redhat.com>
845 * javax/swing/JMenuItem.java:
846 (processMouseEvent): Reimplemented to deal with
848 (createMenuDragMouseEvent): New private helper method.
849 Creates MenuDragMouseEvent.
850 * javax/swing/MenuSelectionManager.java
851 (componentForPoint): Implemented.
852 (isComponentPartOfCurrentMenu): Made public.
853 (processMouseEvent): Reimplemented to deal with
855 (setSelectedPath): Corrected small mistake that caused
856 path to be set incorrectly.
857 (getPath): If given component is JMenu then also add this
858 menu's popup menu to the selected path.
859 * javax/swing/plaf/basic/BasicMenuItemUI.java:
861 (getPreferredSize): Call getPreferredMenuItemSize().
862 (getPreferredItemSize): Moved code from getPreferredSize to here.
863 (installListeners): Install MouseMotionListeners.
864 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
865 if mouse wasn't released in the bounds of this menu item.
866 (MenuDragMouseHandler): Implemented.
867 * javax/swing/plaf/basic/BasicMenuUI.java:
868 (installListeners): Install MouseMotionListener and
869 MenuDrageMouseListener.
870 (MenuDragMouseHandler): Implemented.
871 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
872 (uninstallListeners): Implemented.
874 2004-07-21 Michael Koch <konqueror@gmx.de>
876 * javax/swing/JCheckBox.java: Reformated.
877 (JCheckBox): Fixed all constructors.
878 (isBorderPaintedFlat): New method.
879 (setBorderPaintedFlat): New method.
880 * javax/swing/JEditorPane.java
881 (createEditorKitForContentType): Made public.
882 (scrollToReference): Likewise.
883 * javax/swing/JTextArea.java
884 (setLineWrap): Fire property change.
885 * javax/swing/JToggleButton.java
886 (JToggleButton): New constructor.
887 (JToggleButton): Simplified.
888 * javax/swing/text/AttributeSet.java
889 (FontAttribute): Renamed from FontCharacterAttribute.
890 * javax/swing/text/JTextComponent.java
891 (KeyBinBinding): Added javadoc.
892 (JTextComponent): Likewise.
893 (getAccessibleContext): Fixed javadoc.
894 * javax/swing/text/View.java
895 (View): Added javadoc.
896 * javax/swing/text/TabableView.java: New file.
897 * Makefile.am: Added javax/swing/text/TabableView.java.
898 * Makefile.in: Regenerated.
900 2004-07-21 Graydon Hoare <graydon@redhat.com>
902 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
903 * gnu/java/awt/peer/gtk/GtkToolkit.java
904 (GtkErrorImage): New helper class.
905 (bufferedImageOrError): New helper method.
906 (createImage): Use it.
908 2004-07-21 David Jee <djee@redhat.com>
910 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
911 (setCaretPosition): Scroll the text view so the new caret position
912 is visible on screen.
914 2004-07-21 David Jee <djee@redhat.com>
916 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
917 (setBounds): Do not validate awtComponent here.
918 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
919 (getPreferredSize): New method.
920 * java/awt/ScrollPane.java
921 (ScrollPane): Set default size to 100x100.
922 (addNotify): If child is not a Panel, wrap it with a new Panel.
923 (paramString): Implement.
925 2004-07-21 Olga Rodimina <rodimina@redhat.com>
927 * javax/swing/JMenu.java:
928 (setSelected): Display popup menu only if this menu
929 is showing on the screen.
930 * javax/swing/JPopupMenu.java:
931 (processMouseEvent): Added comment.
932 (processKeyEvent): Likewise.
933 * javax/swing/MenuSelectionManager.java:
934 (clearSelectedPath): Only fireStateChanged() after
935 selected path was changed, not before.
936 (setSelectedPath): Likewise.
937 * javax/swing/plaf/basic/BasicMenuItemUI.java:
938 (paintMenuItem): Corrected position of menu item's
940 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
941 (installUI): Correct setDefaultLightWeightPopupEnabled call.
942 (popupMenuCanceled): Reimplemented.
943 (popupMenuWillBecomeVisible): Select first menu item by default
944 when displaying free floating popup menus.
945 (TopWindowListener): Reimplemented.
947 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
949 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
950 Panel from being painted twice when it is first shown.
952 2004-07-21 Olga Rodimina <rodimina@redhat.com>
954 * java/awt/Window.java: Reverted changes from my
955 previous patch for creating window without an owner.
956 * javax/swing/SwingUtilities.java:
957 (SwingUtilities.OwnerFrame): made static.
958 (OwnerFrame.setVisible): New method. Overridden with
959 empty implementation.
960 (OwnerFrame.isShowing): New method. Ovverridden
961 to return always true.
963 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
965 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
966 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
967 (GtkComponentPeer): Remove temporary try/catch block.
968 (setVisible): Call show and hide.
971 (getArgs): Don't add "visible" argument.
972 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
973 (property_notify_predicate): Return Bool instead of int.
974 (find_layout): New function.
975 (connectJObject): Call find_layout.
976 (connectSignals): Likewise.
977 (moveLayout): Likewise.
978 (gtkLayoutSetVisible): Likewise.
980 2004-07-21 Mark Wielaard <mark@klomp.org>
982 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
983 on notifier object before calling notifyAll().
985 2004-07-21 Olga Rodimina <rodimina@redhat.com>
987 * java/awt/Window.java: Changed constructors to use new
988 method that is described below. Constructors call this
989 methods only if newly created window should have an owner.
990 (setWindowOwner): New method. Implementation for
991 this method is moved from this(owner,configuration).
992 * javax/swing/JWindow.java:
993 (JWindow): Reimplement to use SwingUtilities.ownerFrame
995 * javax/swing/SwingUtilities.java:
996 (ownerFrame): Change type of this field to OwnerFrame.
997 (getOwnerFrame): Changed to return object of type OwnerFrame.
998 (SwingUtilities.OwnerFrame): New class. Represents owner
999 of a Window that is not provided with one.
1001 2004-07-21 Olga Rodimina <rodimina@redhat.com>
1003 * javax/swing/AbstractButton.java:
1004 (configurePropertiesFromAction): Set action command
1005 to button's text by default if action command is not
1006 explicitely specified.
1007 * javax/swing/JMenu.java: Remove unnecessary listener
1008 and methods relevant to it.
1009 (setSelected): Reimplemented.
1010 (menuSelectionChanged): Moved most part of implementation to
1011 setSelected() and call it instead.
1012 * javax/swing/JMenuItem.java:
1013 (init): Comment out statement that sets paint_border to false.
1014 (configurePropertiesFromAction): Do not set accelerator
1016 (menuSelectionChanged): Change selected index in the selection
1017 model of menu item's parent.
1018 * javax/swing/JPopupMenu.java:
1019 (remove): Set constraints.fill field to GridBagConstraints.BOTH
1020 instead of GridBagConstraints.HORIZONTAL.
1022 (createActionChangeListener): Implemented.
1023 (setVisible): Correct location of HeavyWeightMenu and
1024 don't firePopupMenuCanceled().
1025 (menuSelectionChanged): Implemented.
1026 (ActionChangeListener): New Listener. Implemented.
1027 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1028 (BasicMenuBarUI.ContainerHandler): Implemented.
1029 * javax/swing/plaf/basic/BasicMenuItemUI.java:
1030 (paintMenuItem): Uncommented out code that paints
1031 icon, now that icons are working properly.
1032 (PropertyChangeListener): Implemented.
1033 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1035 (topWindowListener): New field.
1036 (Constructor): initialize topWindowListener.
1037 (BasicPopupMenuUI.TopWindowListener): Implemented.
1038 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
1039 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
1042 2004-07-21 Michael Koch <konqueror@gmx.de>
1044 * javax/swing/plaf/basic/BasicButtonUI.java
1045 (paintFocus): Fixed method signature.
1046 (paintButtonPressed): Likewise.
1047 (paintButtonNormal): Likewise.
1048 (paintText): New method.
1049 * javax/swing/plaf/basic/BasicLabelUI.java
1050 (paint): Re-indented.
1051 * javax/swing/plaf/basic/BasicTextUI.java
1052 (installUI): Set parent textComponent to opaque.
1053 * javax/swing/text/DefaultHighlighter.java
1054 (checkPositions): New helper method.
1055 (addHighlight): Throws BadLocationException, check positions.
1056 (changeHighlight): Likewise.
1057 * javax/swing/text/EditorKit.java
1058 (EditorKit): Implements Serializable.
1059 * javax/swing/text/JTextComponent.java
1060 (getUI): Added javadoc.
1062 (upadteUI): Added javadoc, don't revalidate and repaint.
1064 2004-07-21 David Jee <djee@redhat.com>
1066 * java/awt/GridBagLayout.java
1067 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
1068 * javax/swing/AbstractButton.java
1069 (setText): Reindent.
1070 * javax/swing/RepaintManager.java
1071 (addInvalidComponent): Find the first ancestor that isValidateRoot().
1073 2004-07-21 Michael Koch <konqueror@gmx.de>
1075 * javax/swing/JFormattedTextField.java
1077 (JFormattedTextField): Implemented.
1078 (getValue): Likewise.
1079 (setValue): Likewise.
1080 * javax/swing/LookAndFeel.java
1081 (getSupportsWindowDecorations): New method.
1082 * javax/swing/UIDefaults.java:
1083 Use java.beans.PropertyChangeSupport instead of doing all ourself.
1084 (addPropertyChangeListener): Made public.
1085 (addResourceBundle): Likewise.
1086 (removeResourceBundle): Likewise.
1087 (setDefaultLocale): Likewise.
1088 * javax/swing/plaf/basic/BasicRootPaneUI.java
1089 (BasicRootPaneUI): Implements PropertyChangeListener.
1090 (propertyChange): New method.
1091 * javax/swing/plaf/basic/BasicTextUI.java
1092 (BasicHighlighter): New inner class.
1093 (createHighlighter): New method.
1094 * javax/swing/plaf/basic/BasicToolBarUI.java
1095 (DragWindow): Extends java.awt.Window.
1096 * javax/swing/text/JTextComponent.java
1097 (getDocument): Removed debug output.
1098 * javax/swing/plaf/basic/BasicTextFieldUI.java,
1099 javax/swing/text/DefaultHighlighter.java,
1100 javax/swing/text/FieldView.java,
1101 javax/swing/text/PlainView.java: New files.
1102 * Makefile.am: Added new files.
1103 * Makefile.in: Regenerated.
1105 2004-07-21 Michael Koch <konqueror@gmx.de>
1107 * javax/swing/JEditorPane.java
1108 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
1109 (createEditorKitForContentType): Likewise.
1110 * javax/swing/text/DefaultEditorKit.java
1111 (serialVersionUID): Added constant field.
1112 (EndOfLineStringPropery): Fixed typo.
1113 (DefaultEditorKit): New constructor.
1114 * javax/swing/text/Segment.java:
1115 Import java.text.CharacterIterator.
1116 * javax/swing/text/CharacterIterator.java,
1117 javax/swing/text/PlainEditorKit.java: Removed.
1118 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
1119 javax/swing/text/PlainEditorKit.java.
1120 * Makefile.in: Regenerated.
1122 2004-07-21 Michael Koch <konqueror@gmx.de>
1124 * javax/swing/JButton.java,
1125 javax/swing/text/DefaultEditorKit.java,
1126 javax/swing/text/EditorKit.java,
1127 javax/swing/text/Segment.java,
1128 javax/swing/text/StyledEditorKit.java:
1131 2004-07-21 Michael Koch <konqueror@gmx.de>
1133 * javax/swing/ImageIcon.java
1135 (description): Renamed from descr.
1136 (ImageIcon): Added missing constructors.
1137 (setParent): Removed.
1138 (setImageObserver): New method.
1139 (getImageObserver): New method.
1140 (paintIcon): Handle observer = null.
1141 * javax/swing/JButton.java
1142 (removeNotify): Fixed javadoc.
1143 (updateUI): Simplified.
1144 * javax/swing/JRootPane.java
1145 (serialVersionUID): New constant field.
1146 * javax/swing/UIManager.java:
1147 Fixed javadocs all over.
1148 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
1149 * javax/swing/text/AbstractDocument.java
1150 (createPosition): Throws BadLocationException.
1151 (getText): Likewise.
1153 * javax/swing/text/ComponentView.java
1154 (modelToView): Likewise.
1155 * javax/swing/text/DefaultEditorKit.java:
1156 Made all public methods public.
1157 (read): Throws BadLocationException and IOException.
1159 * javax/swing/text/EditorKit.java:
1160 Made all public methods public.
1161 (serialVersionUID): New constant field.
1162 (clone): New method.
1163 (read): Throws BadLocationException and IOException.
1165 * javax/swing/text/Segment.java
1166 (array): Made public.
1169 (Segment): New constructors.
1170 (clone): Reimplemented.
1171 * javax/swing/text/StyledEditorKit.java
1172 (serialVersionUID): New constant field.
1174 2004-07-21 Graydon Hoare <graydon@redhat.com>
1176 * java/awt/image/BufferedImage.java
1177 (getSource): Implement.
1178 * javax/swing/ImageIcon.java
1179 (ImageIcon): Implement ctor.
1180 * javax/swing/ScrollPaneLayout.java
1181 (preferredLayoutSize): Be more careful about nulls.
1183 2004-07-21 Michael Koch <konqueror@gmx.de>
1185 * javax/swing/text/AttributeSet.java
1186 (CharacterAttribute): New interface
1187 (ColorAttribute): Likewise.
1188 (FontCharacterAttribute): Likewise.
1189 (ParagraphAttribute): Likewise.
1190 * javax/swing/text/DefaultCaret.java
1191 (moveCaret): New method.
1192 (positionCaret): Likewise.
1193 (repaint): Made protected.
1194 * javax/swing/text/JTextComponent.java
1195 (KeyBinding): Made it static.
1196 * javax/swing/text/View.java
1197 (getContainer): Honor parent == null.
1199 2004-07-21 Michael Koch <konqueror@gmx.de>
1201 * javax/swing/text/AbstractDocument.java:
1204 2004-07-21 Michael Koch <konqueror@gmx.de>
1206 * javax/swing/plaf/basic/BasicRootPaneUI.java:
1207 Import javax.swing.UIManager explicitely.
1208 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1209 (ScrollingButton): Made it static.
1211 2004-07-21 Michael Koch <konqueror@gmx.de>
1213 * javax/swing/UIDefaults.java
1214 (ActiveValue): Made public.
1215 (LazyValue): Likewise.
1216 * javax/swing/plaf/basic/BasicTextUI.java
1217 (RootView): Reintroduced.
1219 (rootView): New field.
1220 (installUI): Create document if needed, initialize rootView.
1221 (uninstallUI): Hanle rootView.
1223 (getRootView): Likewise.
1224 (setView): Likewise.
1225 * javax/swing/text/DefaultCaret.java:
1226 Renamed all "evt" variables to "event".
1228 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
1230 * libgcj.spec.in: Add -l-java-util-logging.
1232 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
1234 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1235 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
1236 gtk-xft-dpi can no calculate the right value.
1237 (dpi_changed_cb): Mark *pspec as unsused.
1239 2004-07-21 David Jee <djee@redhat.com>
1241 * java/awt/Component.java
1242 (move): Delegate to setBounds().
1244 (reshape): Fix so it repaints parent and self only when necessary.
1246 2004-07-21 David Jee <djee@redhat.com>
1248 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1249 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1250 (GtkComponentPeer): Revert previous patch from 2004-06-22.
1251 (setVisible): Likewise.
1254 (getArgs): Likewise.
1255 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1256 (property_notify_predicate): Likewise.
1257 (find_layout): Likewise.
1258 (connectJObject): Likewise.
1259 (connectSignals): Likewise.
1260 (moveLayout): Likewise.
1261 (gtkLayoutSetVisible): Likewise.
1263 2004-07-21 Graydon Hoare <graydon@redhat.com>
1269 (rmiregistry_LDADD): Add lib-java-util-logging.la
1270 * Makefile.in: Regenerate.
1272 2004-07-21 Michael Koch <konqueror@gmx.de>
1274 * javax/swing/text/AbstractDocument.java
1275 (replace): Dont use protected method of java.util.Vector directly.
1277 2004-07-21 Michael Koch <konqueror@gmx.de>
1279 * javax/swing/plaf/basic/BasicTextUI.java
1280 (installUI): Call specialized install methods.
1281 (installDefaults): New method.
1282 (installListeners): Likewise.
1283 (installKeyboardActions): Likewise.
1284 (uninstallUI): Likewise.
1285 (uninstallDefaults): New method.
1286 (uninstallListeners): Likewise.
1287 (uninstallKeyboardActions): Likewise.
1288 (getPropertyPrefix): New abstract method.
1289 (paint): Made final, just call paintSafely().
1290 (paintSavely): New method.
1291 (paintBackground): Likewise.
1292 (getVisibleEditorRect): Likewise.
1293 * javax/swing/text/LayeredHighlighter.java,
1294 javax/swing/text/TabExpander.java: New files.
1295 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
1296 and javax/swing/text/TabExpander.java.
1297 * Makefile.in: Regenerated.
1299 2004-07-21 Michael Koch <konqueror@gmx.de>
1301 * javax/swing/plaf/basic/BasicTextUI.java
1302 (BasicTextUI): Made abstract.
1303 (BasicCaret): New inner class.
1304 (view): Don't explicitely initialize with "null".
1305 (textComponent): New field.
1306 (textColor): Removed.
1307 (disabledTextColor): Removed.
1308 (normalBackgroundColor): Removed.
1309 (RootView): Removed commented out inner class.
1310 (createUI): Removed.
1311 (createCaret): New method.
1312 (getComponent): Likewise.
1313 (installUI): Initialize textComponent only.
1314 (getPreferredSize): Use installed JTextComponent.
1315 (setView): New method.
1317 * javax/swing/text/JTextComponent.java
1318 (highlighter): New field.
1319 (caretColor): Likewise.
1320 (disabledTextColor): Likewise.
1321 (seletedTextColor): Likewise.
1322 (selectionColor): Likewise.
1323 (setUI): New method.
1324 (getCaretColor): Likewise.
1325 (setCaretColor): Likewise.
1326 (getDisabledColor): Likewise.
1327 (setDisabledColor): Likewise.
1328 (getSelectedTextColor): Likewise.
1329 (setSelectedTextColor): Likewise.
1330 (getSelectionColor): Likewise.
1331 (setSelectionColor): Likewise.
1332 (getHighlighter): Likewise.
1333 (setHighlighter): Likewise.
1334 (replaceSelection): Likewise.
1336 2004-07-21 Michael Koch <konqueror@gmx.de>
1338 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1339 (BasicScrollPaneUI): Implements ScrollPaneConstants.
1340 * javax/swing/plaf/basic/BasicToolBarUI.java
1341 (BasicToolBarUI): Implements SwingConstants.
1343 2004-07-21 Michael Koch <konqueror@gmx.de>
1345 * javax/swing/JPopupMenu.java: Removed CVS tags.
1346 * javax/swing/UIDefaults.java: Reformatted.
1347 * javax/swing/plaf/basic/BasicRootPaneUI.java:
1348 Explicitely import used classes.
1350 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
1352 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1353 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1354 (GtkComponentPeer): Remove temporary try/catch block.
1355 (setVisible): Call show and hide.
1356 (show): Make native.
1358 (getArgs): Don't add "visible" argument.
1359 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1360 (property_notify_predicate): Return Bool instead of int.
1361 (find_layout): New function.
1362 (connectJObject): Call find_layout.
1363 (connectSignals): Likewise.
1364 (moveLayout): Likewise.
1365 (gtkLayoutSetVisible): Likewise.
1367 2004-07-21 Olga Rodimina <rodimina@redhat.com>
1369 * javax/swing/AbstractButton.java:
1370 (setDisplayedMnemonicIndex): Check if button
1371 text is not null before checking its length.
1372 * javax/swing/JMenuItem.java:
1373 (processMouseEvent): Disarm menu item if mouse has
1375 * javax/swing/plaf/basic/BasicMenuUI.java:
1376 (MouseInputHandler.mouseEntered): Do not raise
1377 popup menu if this menu is already selected.
1378 (MouseInputHandler.mousePressed): Do not fire
1380 (MenuHandler): Implemented.
1382 2004-07-21 Olga Rodimina <rodimina@redhat.com>
1384 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
1385 (getSelectedObjects): Implemented.
1386 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
1387 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
1388 Added javadoc for few methods.
1389 (processMouseEvent): Made public.
1390 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
1391 (processMouseEvent): Likewise.
1393 2004-07-21 Olga Rodimina <rodimina@redhat.com>
1395 * javax/swing/AbstractButton.java:
1396 (init): Set display mnemonic index to -1.
1397 (setMnemonic(char)): Use setMnemonic(int).
1398 (setMnemonic(int)): Set display mnemonic index.
1399 (getDisplayedMnemonicIndex): Change method signature
1400 by removing 'index' parameter.
1401 * javax/swing/plaf/basic/BasicLookAndFeel.java:
1402 Added default for Menu.selectionBackground.
1403 * javax/swing/plaf/basic/BasicMenuItemUI.java:
1404 (paintMenuItem): Change background color of the selected
1406 (paintText): Paint differently when menu item is disabled.
1407 Also paint mnemonic if it appears in the menu item's label.
1408 (paintAccelerator): Paint accelerator differently
1409 if menu item is disabled.
1410 * javax/swing/plaf/basic/BasicMenuUI.java:
1411 (installDefaults): Install defaults for
1412 selectionForeground and selectionBackground.
1413 (uninstallDefaults): Uninstall defauls for
1414 selectionForeground and selectionBackground.
1416 2004-07-21 Michael Koch <konqueror@gmx.de>
1418 * javax/swing/text/AbstractDocument.java
1419 (BranchElement): Implemented.
1420 (LeafElement): Implemented.
1421 * javax/swing/text/DefaultCaret.java:
1422 Import used classes.
1423 (serialVersionUID): New constant.
1424 * javax/swing/text/JTextComponent.java
1425 (AccessibleJTextComponent): Removed dead declaration.
1426 (caretPos): Removed.
1427 (setCaret): New method.
1428 * javax/swing/text/PlainDocument.java
1429 (rootElement): New field.
1430 (PlainDocument): Initialize rootElement.
1431 (createDefaultRoot): New method.
1432 (getDefaultRootElement): Implemented.
1433 * javax/swing/text/View.java: Reformatted.
1434 * javax/swing/text/ViewFactory.java
1435 (create): Added javadoc.
1437 2004-07-21 Michael Koch <konqueror@gmx.de>
1439 * javax/swing/ToolTipManager.java: Reformatted.
1441 2004-07-21 Rodimina Olga <rodimina@redhat.com>
1443 * javax/swing/AbstractButton.java
1444 (changeEvent): New field.
1445 (fireItemStateChanged): Change source of the event
1446 to 'this' before firing it to button listeners.
1447 (fireActionPerformed): Likewise.
1448 (fireStateChanged): Likewise.
1449 (createActionListener): Do not set source
1450 of the event to AbstractButton.
1451 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1452 (ContainerHandler.componentAdded): Removed
1453 print out statement.
1454 (ContainerHandler.componentRemoved): Likewise.
1456 2004-07-21 Michael Koch <konqueror@gmx.de>
1458 * javax/swing/text/Highlighter.java: New file.
1459 * Makefile.am: Added javax/swing/text/Highlighter.java.
1460 * Makefile.in: Regenerated.
1462 2004-07-21 Michael Koch <konqueror@gmx.de>
1464 * javax/swing/ToolTipManager.java
1465 (stillInsideTimerAction): Fixed constructor arguments.
1466 (outsideTimerAction): Likewise.
1467 (insideTimerAction): Likewise.
1469 2004-07-21 Michael Koch <konqueror@gmx.de>
1471 * javax/swing/JButton.java: Reformatted.
1472 * javax/swing/JFormattedTextField.java
1473 (getUIClassID): Implemented.
1474 * javax/swing/JRootPane.java
1475 (serialVersionUID): New constant.
1476 * javax/swing/JTextField.java
1478 (JTextField): Simplified.
1479 (getUIClassID): New method.
1480 (getActionListeners): Added @since tag.
1481 (setColumns): Invalidate layout and repaint.
1482 (getHorizontalAlignment): New method.
1483 (setHorizontalAlignment): New method.
1484 (selectAll): Removed.
1485 * javax/swing/SwingUtilities.java
1486 (getAncestorOfClass): Removed redundant @see tag.
1487 (isLeftMouseButton): Fixed implementation.
1488 (isMiddleMouseButton): Likewise.
1489 (isRightMouseButton): Likewise.
1490 * javax/swing/text/AbstractDocument.java
1491 (AttributeContext.addAttribute): New method.
1492 (AttributeContext.addAttributes): New method.
1493 (AttributeContext.getEmptySet): New method.
1494 (AttributeContext.reclaim): New method.
1495 (AttributeContext.removeAttribute): New method.
1496 (AttributeContext.removeAttributes): New method.
1497 * javax/swing/text/Document.java
1498 (createPosition): Throws BadLocationException.
1499 (getText): Likewise.
1501 * javax/swing/text/JTextComponent.java
1502 (getText): Return null if no document is set. Catch
1503 BadLocationException.
1505 (updateUI): Simplified.
1507 2004-07-21 Michael Koch <konqueror@gmx.de>
1509 * javax/swing/JButton.java
1510 (removeNotify): Fixed javadoc.
1511 (updateUI): Simplified.
1513 2004-07-21 David Jee <djee@redhat.com>
1515 * gnu/java/awt/image/ImageDecoder.java
1516 (startProduction): Only add consumer if it's not added yet.
1517 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1518 (GdkPixbufDecoder): Don't call initState() here.
1519 (produce): Call initState() here, to ensure area_prepared and
1520 area_updated signals are properly connected.
1521 * gnu/java/awt/peer/gtk/GtkImage.java
1522 (setColorModel): Use equals() to compare ColorModel objects.
1523 (setPixels): Likewise.
1524 * java/awt/image/ColorModel.java
1525 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
1526 * java/awt/image/RGBImageFilter.java
1527 (setColorModel): Set consumer's color model.
1528 (setPixels): Use equals() to compare ColorModel objects.
1530 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
1532 * java/net/URLConnection.java (position): New field.
1533 (dateFormat1, dateFormat2, dateFormat3): Removed.
1534 (dateFormats): New field.
1535 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
1536 each time instead of re-allocating.
1537 (initializeDateFormats): Initialize 'dateFormats'.
1539 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
1542 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
1545 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
1547 * java/net/Socket.java (getImpl): Now private. Remove comment.
1549 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
1551 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
1552 of chained Writer when calling super-constructor.
1553 * java/io/FilterWriter.java (FilterWriter): Likewise.
1554 * java/io/PrintWriter.java (PrintWriter): Likewise.
1556 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
1558 * prims.cc (process_gcj_properties): Don't increment i within LHS
1561 2004-07-19 Per Bothner <per@bothner.com>
1563 Print -verbose:message on "loading", not initialization.
1564 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
1565 * defineclass.cc (_Jv_ClassReader::parse): Print message if
1566 gcj::verbose_class_flag.
1567 * java/lang/natClass.cc (initializeClass): Don't print message here.
1568 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
1569 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
1570 (_Jv_PrepareCompiledClass): Likewise.
1572 2004-07-18 Matthias Klose <doko@debian.org>
1574 * configure.in: Substitute target_noncanonical.
1575 * configure: Regenerate
1577 2004-07-17 Michael Koch <konqueror@gmx.de>
1579 * java/lang/String.java: Fixed javadocs all over.
1581 2004-07-17 Mark Wielaard <mark@klomp.org>
1583 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
1584 when size is smaller.
1585 * java/io/RandomAccessFile.java (setLength): Use truncate for
1586 shrinking the file and seek plus write for expanding the file.
1588 2004-07-17 Michael Koch <konqueror@gmx.de>
1590 * gnu/java/nio/channels/natFileChannelPosix.cc
1591 (implTruncate): Always save current position. Only reposition file
1592 pointer to where we started if not beyond new lenght. Reposition file
1593 pointer to file length if it points beyond the end of file.
1595 2004-07-17 Mark Wielaard <mark@klomp.org>
1597 * javax/swing/Box.java: Put FIXME comment above class declaration.
1598 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1599 * javax/swing/JCheckBox.java: Likewise.
1600 * javax/swing/JDialog.java: Likewise.
1601 * javax/swing/JRadioButton.java: Likewise.
1602 * javax/swing/JToggleButton.java: Likewise.
1603 * javax/swing/UIManager.java: Likewise.
1604 * javax/swing/border/TitledBorder.java: Likewise.
1605 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1606 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1607 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1608 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1609 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1610 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1611 * javax/swing/text/JTextComponent.java: Likewise.
1613 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
1615 * java/net/DatagramPacket.java (setAddress): Removed check for
1618 2004-07-17 Michael Koch <konqueror@gmx.de>
1620 * java/net/DatagramSocket.java
1621 (getLocalAddress): Check if socket is bound or not.
1622 * java/net/Socket.java
1623 (getLocalAddrss): Check if socket is bound or not.
1624 (getPort): Return -1 when not connected. Dont check getImpl() for
1626 (setReuseAddress): Check if socket is closed.
1627 (isConnected): Check if getImpl() returns null.
1629 2004-07-17 Mark Wielaard <mark@klomp.org>
1631 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
1632 on notifier object before calling notifyAll().
1634 2004-07-17 Michael Koch <konqueror@gmx.de>
1636 * gnu/java/nio/channels/FileChannelImpl.java
1637 (finalize): Added javadoc.
1639 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
1641 * java/text/CollationElementIterator.java
1642 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
1643 (setText): Use ArrayList instead of Vector.
1645 2004-07-17 Michael Koch <konqueror@gmx.de>
1647 * java/nio/ByteOrder.java
1648 (static): Removed. Not needed.
1649 Thanks to Patrick Reali for noticing.
1650 * java/nio/charset/CharsetDecoder.java
1651 (decode): Fix for classpath bug #9177: Reset state before flipping.
1653 2004-07-17 Michael Koch <konqueror@gmx.de>
1655 * java/security/Security.java: Fixed javadocs all over.
1657 2004-07-17 Michael Koch <konqueror@gmx.de>
1659 * gnu/java/awt/EmbeddedWindow.java
1661 (addNotify): Set peer via reflection.
1662 (setWindowPeer): Removed.
1663 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1664 * Makefile.am (nat_source_files):
1665 Removed gnu/java/awt/natEmbeddedWindow.cc.
1666 * Makefile.in: Regenerated.
1668 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
1670 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
1672 * configure: Regenerated.
1674 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
1676 * configure.in: Use build_noncanonical rather than build_alias.
1677 * configure: Rebuild.
1679 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
1680 by logic refactoring. Move default definition of NATIVE closer
1681 to first alternate definition.
1682 * configure: Regenerate.
1684 * Makefile.am: Set ZIP and GCJH directly using autoconf.
1685 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
1686 gcj/Makefile.in: Regenerate.
1687 * configure.in: Set ZIP and GCJH. Remove redundant condition
1688 in AM_CONDITIONAL(NATIVE,...)
1689 * configure: Regenerate.
1691 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
1693 * configure.in: Use target_noncanonical rather than
1694 target_alias for forward-compatibility with autoconf 2.59.
1695 * configure: Regenerate.
1696 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
1697 testsuite/Makefile.am: Substitute target_noncanonical.
1698 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1699 testsuite/Makefile.in: Regenerate.
1701 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
1702 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
1703 * acinclude.m4: Include acx.m4.
1704 * aclocal.m4: Regenerate.
1705 * configure: Regenerate.
1707 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
1710 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
1711 (decimalFormat): New static variable.
1713 (getTime): New. Override Date.getTime().
1714 (toString): Synchronize. Use decimalFormat to format nanos value
1715 correctly. Truncate extra zeros.
1716 (before): Compare getNanos() only if getTime() is equal.
1719 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
1721 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
1722 * configure.in: ...here.
1723 * aclocal.m4: Regenerate.
1724 * configure: Regenerate.
1726 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
1727 * configure: Rebuilt with autoconf 2.13.
1728 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1729 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
1731 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
1734 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
1736 * Makefile.in: Rebuilt.
1737 * testsuite/libjava.lang/LargeFile.java: New test case.
1738 * testsuite/libjava.lang/LargeFile.out: New file.
1740 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
1742 * java/beans/EventHandler.java: Remove debugging statements.
1744 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
1746 * java/beans/EventHandler.java: New file.
1747 * Makefile.am (awt_java_source_files): Add EventHandler.java.
1748 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1749 testsuite/Makefile.in: Regenerate.
1751 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
1753 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
1754 flag to the gcj_setup.
1755 (gcj_jacks_run): Check tclsh version and launch jacks directly with
1757 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
1758 deprecation flag change. 58 XFAILS removed.
1760 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
1762 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
1763 -fno-use-divide-subroutine.
1764 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
1765 (HANDLE_FPE): Define.
1766 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
1767 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
1768 (HANDLE_DIVIDE_OVERFLOW): Define.
1770 2004-07-14 Michael Koch <konqueror@gmx.de>
1771 Matthias Klose <doko@debian.org>
1773 * java/awt/im/InputContext.java: Initialize in, line.
1775 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
1777 * interpret.cc (run): Correctly access libffi return values of
1778 integral smaller-than-int type; these are implicitly promoted.
1780 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
1783 * interpret.cc (compile_mutex): New.
1784 (_Jv_InitInterpreter): New. Initialize compile_mutex.
1785 (run): Lock compile_mutex before calling compile() if compilation is
1787 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
1788 * include/java-interp.h (_Jv_InitInterpreter): Declare.
1790 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
1793 * include/jvm.h (_Jv_value): New union type.
1794 * gcj/field.h (_Jv_Field): Add new _addr union field variants
1795 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
1798 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
1800 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
1801 * gnu/awt/xlib/XOffScreenImage.java
1802 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
1803 constructor argument. Add constructor using ImageProducer.
1804 (getSource): Implement.
1805 (imageComplete): New method.
1806 (setColorModel): New method.
1807 (setDimensions): New method.
1808 (setHints): New method.
1809 (setPixels): New method.
1810 (setProperties): New method.
1811 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
1812 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
1814 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
1817 * prims.cc (_Jv_CreateJavaVM): Fix comment.
1818 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
1819 (finalizerReady): Now native.
1821 (runFinalizers): Removed.
1822 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
1823 a primitive lock, and don't hold it while running the finalizers.
1824 (runFinalizers): Implement. Don't aquire any Java lock.
1825 (finalizerReady): Use lock primitives to signal finalizer thread.
1827 2004-07-11 Mark Wielaard <mark@klomp.org>
1829 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
1830 * java/net/URLStreamHandler.java (parseURL): When url file part
1831 doesn't contain a '/' just ignore context.
1833 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
1835 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
1836 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
1837 (MAKE_THROW_FRAME): Do not modify PSW address.
1838 (INIT_SEGV): Install SIGINFO-style signal handler.
1839 (INIT_FPE): Likewise.
1841 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
1843 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
1844 status. 21 xfail's removed, 1 added.
1846 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
1848 * gcj/javaprims.h: Regenerate CNI namespace definitions.
1850 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
1852 * java/text/MessageFormat.java
1853 (formatInternal): Append "{n}" if argument n is unavailable.
1854 (format(Object, StringBuffer, FieldPosition)): This
1855 should be equivalent to format(Object[],
1856 StringBuffer, FieldPosition).
1858 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
1860 * java.util.Calendar.java (cache): New private static field. Cached
1861 mappings of locales->calendar classes.
1862 (ctorArgTypes): New private static field. Singleton argument for
1863 calendar class constructor lookup.
1864 (getInstance): Cache Locale->Calendar class mappings using HashMap.
1865 Optimize by bypassing reflection instantiation for the
1866 GregorianCalendar case.
1868 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
1870 * java/util/Calendar.java: Use getSystemClassLoader as argument for
1871 ResourceBundle.getBundle() calls.
1872 * java/util/GregorianCalendar.java: Likewise.
1873 * java/util/Currency.java: Likewise.
1874 * java/text/BreakIterator.java: Likewise.
1875 * java/text/Collator.java: Likewise.
1876 * java/text/DateFormat.java: Likewise.
1877 * java/text/DateFormatSymbols.java: Likewise.
1878 * java/text/DecimalFormatSymbols.java: Likewise.
1879 * java/text/NumberFormat.java: Likewise.
1880 * java/awt/Window.java: Likewise.
1882 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
1884 * java/util/ResourceBundle.java (bundleCache): Renamed from
1885 resourceBundleCache. Update comments.
1886 (getObject): Don't catch MissingResourceException.
1887 (getBundle(String)): Remove 'final'. Use system classloader if
1888 getCallingClassLoader returned null.
1889 (getBundle(String, Locale)): Likewise.
1890 (BundleKey): New private class. HashMap key for bundle cache lookup.
1891 (lookupKey): New. Singleton instance of BundleKey.
1892 (nullEntry): New. Cache entry to represent failed lookups.
1893 (getBundle(String, Locale, ClassLoader)): Re-written to use new
1894 caching strategy, no-allocation lookup, and new tryBundle methods.
1895 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
1896 name using given classloader.
1897 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
1898 baseName for given Locale and attempt to load bundle.
1900 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
1902 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
1903 illegal protected method calls.
1905 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
1907 Fix or remove some bogus test cases.
1908 * testsuite/libjava.compile/pr10459_2.java: Removed.
1909 * testsuite/libjava.compile/pr10459.java: Test using its own method,
1911 * testsuite/libjava.compile/inner_data.java: Test against its own
1914 2004-07-09 Michael Koch <konqueror@gmx.de>
1916 * scripts/unicode-muncher.pl: Updated to version 2.1
1917 from GNU classpath. Added some clarifications on where to find the
1918 needed files from www.unicode.org.
1919 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
1920 gnu/gcj/convert/UnicodeData-3.0.0.txt:
1921 Removed, these can directly be downloaded from www.unicode.org if
1923 * gnu/java/lang/CharData.java: Regenerated.
1924 * include/java-chartables.h: Regenerated.
1925 * Makefile.am (ordinary_java_source_files):
1926 Removed gnu/java/lang/CharData.java.
1927 * Makefile.in: Regenerated.
1929 2004-07-09 Michael Koch <konqueror@gmx.de>
1931 * java/security/AccessControlContext.java,
1932 java/security/SecureClassLoader.java:
1935 2004-07-09 Michael Koch <konqueror@gmx.de>
1937 * java/io/ObjectInputStream.java (readFields): Use long datatype
1938 when shifting byte values more then 24 bits left.
1940 2004-07-09 Michael Koch <konqueror@gmx.de>
1942 * java/util/zip/DeflaterOutputStream.java,
1943 java/util/zip/GZIPInputStream.java,
1944 java/util/zip/GZIPOutputStream.java,
1945 java/util/zip/InflaterInputStream.java:
1946 Reformatted. Added javadocs. Reordered all stuff.
1947 Renamed variables to be more clear.
1949 2004-07-09 Michael Koch <konqueror@gmx.de>
1951 * javax/imageio/IIOException.java,
1952 javax/imageio/event/IIOReadProgressListener.java,
1953 javax/imageio/event/IIOReadUpdateListener.java,
1954 javax/imageio/event/IIOReadWarningListener.java,
1955 javax/imageio/event/IIOWriteProgressListener.java,
1956 javax/imageio/event/IIOWriteWarningListener.java:
1958 * Makefile.am: Added new files.
1959 * Makefile.in: Regenerated.
1961 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
1963 * java/text/RuleBasedCollator.java
1964 (mergeRules): Use ArrayList instead of Vector.
1965 (subParseString): likewise.
1966 (parseString): likewise.
1967 (buildCollationVector): likewise.
1968 (getCollationKey): likewise.
1970 2004-07-09 Dalibor Topic <robilad@kaffe.org>
1972 * java/text/DateFormat.java (parse):
1973 Improved javadoc. Improved exception message.
1975 2004-07-09 Mark Wielaard <mark@klomp.org>
1977 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
1978 interrupted() method to clear interupt flag of our Thread.
1980 2004-07-09 Dalibor Topic <robilad@kaffe.org>
1982 * java/nio/Buffer.java,
1983 java/nio/ByteBuffer.java,
1984 java/nio/ByteBufferHelper.java,
1985 java/nio/ByteBufferImpl.java,
1986 java/nio/CharBuffer.java,
1987 java/nio/CharBufferImpl.java,
1988 java/nio/CharViewBufferImpl.java,
1989 java/nio/DirectByteBufferImpl.java,
1990 java/nio/DoubleBuffer.java,
1991 java/nio/DoubleBufferImpl.java,
1992 java/nio/DoubleViewBufferImpl.java,
1993 java/nio/FloatBuffer.java,
1994 java/nio/FloatBufferImpl.java,
1995 java/nio/FloatViewBufferImpl.java,
1996 java/nio/IntBuffer.java,
1997 java/nio/IntBufferImpl.java,
1998 java/nio/IntViewBufferImpl.java,
1999 java/nio/LongBuffer.java,
2000 java/nio/LongBufferImpl.java,
2001 java/nio/LongViewBufferImpl.java,
2002 java/nio/MappedByteBufferImpl.java,
2003 java/nio/ShortBuffer.java,
2004 java/nio/ShortBufferImpl.java,
2005 java/nio/ShortViewBufferImpl.java:
2006 Fixed javadocs all over. Improved input error
2009 * java/nio/Buffer.java
2010 (checkForUnderflow, checkForOverflow, checkIndex,
2011 checkIfReadOnly, checkArraySize): New helper methods
2014 * java/nio/ByteBufferHelper.java
2015 (checkRemainingForRead, checkRemainingForWrite,
2016 checkAvailableForRead, checkAvailableForWrite): Removed
2017 no longer needed methods.
2019 2004-07-09 Michael Koch <konqueror@gmx.de>
2021 * gnu/regexp/CharIndexedInputStream.java:
2022 Reordered imports to match classpath.
2024 2004-07-09 Michael Koch <konqueror@gmx.de>
2026 * gnu/java/awt/EmbeddedWindow.java:
2027 Load native library for setWindowPeer method.
2029 2004-07-08 Randolph Chung <tausq@debian.org>
2031 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
2032 * configure: Regenerate.
2033 * configure.host: Set can_unwind_signal for hppa*-linux.
2034 * include/pa-signal.h: New file.
2036 2004-07-07 Per Bothner <per@bothner.com>
2038 * Makefile.am: Add rules to build libgij from just gij.cc.
2040 * include/jvm.h (namespace jcj): Declare verbose_class_flag
2041 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
2042 (initializeClass): If verbose_class_flag, print message.
2043 * gij.cc (main): Handle -verbose:class flag.
2045 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
2047 * configure.host: Enable hash synchronization on Darwin.
2048 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
2049 ';', since this is a comment on Darwin.
2050 (compare_and_swap_release): Likewise.
2052 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
2054 * java/net/URLStreamHandler.java (parseURL): Canonicalize
2055 file portion of URL in addition to spec for file: protocol.
2057 2004-07-05 Anthony Green <green@redhat.com>
2059 * java/io/File.java (toURI): Merge from Classpath.
2061 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
2063 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
2064 before passing to URL constructor. Rethrow any MalformedURLException
2065 as a RuntimeException. Catch MalformedURLException specifically, not
2068 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
2070 * java/util/Locale.java (readObject): Intern strings read from object
2073 2004-07-04 Michael Koch <konqueror@gmx.de>
2075 * gnu/gcj/runtime/FirstThread.java,
2076 gnu/gcj/runtime/natFirstThread.cc: Removed.
2077 * gnu/java/lang/MainThread.java,
2078 gnu/java/lang/natMainThread.cc: New files.
2079 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
2080 * Makefile.am: Added new files and removed deleted ones.
2081 * Makefile.in: Regenerated.
2083 2004-07-03 Mark Wielaard <mark@klomp.org>
2084 Anthony Green <green@redhat.com>
2086 * java/net/URL.java (getFile): Clarify return value doc.
2087 (getPath): Return null if file is empty - not empty String.
2088 (set): Convert protocol to lower case before doing anything.
2089 Only change the protocol handler if it's different.
2091 2004-07-03 Anthony Green <green@redhat.com>
2093 * java/net/URL.java (URL): Convert protocol to lower case before
2094 doing anything, so we getURLStreamHandler() with the proper value.
2096 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
2098 * java/util/Locale.java (hashcode): Made transient.
2099 (hashCode): No longer synchronized.
2100 (equals): Remove comment.
2101 (writeObject): No longer synchronized. Implement using writeObject
2102 calls instead of tweaking hashCode field. Update doc.
2103 (readObject): Implement using readObject calls.
2105 2004-06-26 Geoffrey Keating <geoffk@apple.com>
2106 Andreas Tobler <a.tobler@schweiz.ch>
2108 * configure.host (powerpc-*-darwin*): New case, define
2110 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
2111 * configure: Regenerate.
2112 * include/darwin-signal.h: New.
2114 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
2116 * java/beans/Statement.java (doExecute): Fix formatting.
2118 2004-06-29 Per Bothner <per@bothner.com>
2120 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
2121 etc etc): Remove needless parenthesis, which causes __stdcall__
2122 attribute on MinGW to get ignored.
2124 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
2126 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
2128 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
2130 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
2132 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
2134 * java/beans/Expression.java: New file.
2135 * java/beans/Statement.java: New file.
2136 * Makefile.am: Added new files.
2137 * Makefile.in: Re-generate.
2139 2004-06-27 Mark Wielaard <mark@klomp.org>
2141 * java/io/FilePermission.java (usingPerms): Removed.
2142 (actionsString): Made final.
2143 (cachePerms): Renamed to checkPerms.
2144 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
2146 (FilePermission): Check arguments, call checkPerms().
2147 (equals): Remove cachePerms() call.
2148 (implies): Likewise.
2150 2004-06-27 Mark Wielaard <mark@klomp.org>
2152 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
2154 (sendRequest): Use new field in user-agent http agent.
2156 2004-06-27 Mark Wielaard <mark@klomp.org>
2158 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2159 when argument is null.
2161 2004-06-26 Mark Wielaard <mark@klomp.org>
2163 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2164 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
2166 (cancel_clicked): Likewise.
2168 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
2170 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2171 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
2172 can not calculate the right value.
2173 (dpi_changed_cb): Likewise. Mark *pspec as unused.
2175 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
2177 * testsuite/libjava.jacks/jacks.xfail: Remove
2178 15.9.1-qualified-concrete-20.
2180 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
2182 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
2183 encoding name to iconv.
2184 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
2186 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
2189 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
2190 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
2191 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
2193 2004-06-21 Andrew Haley <aph@redhat.com>
2195 * java/io/ObjectOutputStream.java: Add DEBUG statements
2197 (dumpElementln): New method.
2199 * java/io/ObjectInputStream.java
2200 (currentClassLoader): Make native.
2201 (callersClassLoader): New field.
2203 (readObject): ENDBLOCKDATA is generated if the class has a write
2204 method, not if it has a read method.
2205 (readObject): Save and restore this.currentObject and
2206 this.currentObjectStreamClass around calls to callReadMethod().
2207 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
2210 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
2212 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
2215 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
2217 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
2218 if desired, before the default class loader is initialised.
2219 Call INIT_SEGV only if HANDLE_SEGV is defined.
2221 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
2223 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
2224 directory only if it actually exists.
2226 2004-06-18 Graydon Hoare <graydon@redhat.com>
2228 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2229 Fix up non-ansi comments.
2231 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
2233 * javax/swing/text/AbstractDocument.java: Adding missing import
2234 for javax.swing.event.EventListenerList.
2235 * javax/swing/text/DefaultCaret.java: Likewise.
2237 2004-06-17 Michael Koch <konqueror@gmx.de>
2239 * javax/swing/JToolBar.java
2241 (JToolBar): Use Component.setName(String) instead of doing it all
2243 * javax/swing/Timer.java
2244 (queueEvent): Added missing modifier.
2246 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
2248 * Makefile.am: Added new file.
2249 * Makefile.in: Re-generate.
2250 * javax/swing/JMenu.java:
2251 (insertSeparator): Implemented.
2252 * javax/swing/JPopupMenu.java:
2253 (JPopupMenu.Separator): Implemented.
2254 * javax/swing/MenuSelectionManager.java:
2255 (processMouseEvent): Use java.awt.Component
2256 for event source instead of javax.swing.JComponent.
2257 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
2258 New File. Implemented.
2260 2004-06-16 David Jee <djee@redhat.com>
2262 * java/awt/GridBagLayout.java
2263 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
2264 Make sure pos_x and pos_y are never negative.
2266 2004-04-16 Andrew Overholt <overholt@redhat.com>
2268 * Makefile.am: Add new file.
2269 * Makefile.in: Re-generate.
2270 * javax/swing/JToolBar.java
2271 Partially implemented.
2272 * javax/swing/plaf/basic/BasicToolBarUI.java
2273 New file. Partially implemented.
2275 2004-06-16 Graydon Hoare <graydon@redhat.com>
2277 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2278 (setComposite): Accept AlphaComposite arguments.
2279 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
2280 (createBufferedImage): Add new overloads.
2281 * gnu/java/awt/peer/gtk/GtkToolkit.java
2282 (createImage): Use GdkPixbufDecoder.createBufferedImage
2283 when useGraphics2D() is true.
2284 (getImage): Delegate to createImage.
2285 * javax/swing/JList.java
2287 (getFirstVisibleIndex):
2288 (getLastVisibleIndex):
2290 (ensureIndexIsVisible): New methods.
2291 * javax/swing/Timer.java: Reimplement.
2293 2004-06-16 Michael Koch <konqueror@gmx.de>
2295 * javax/swing/text/AbstractDocument.java
2296 (AbstracElement): Made public, implements java.io.Serializable.
2297 (AttributeContext): Made public.
2298 (BranchElement): Likewise.
2299 (Content): Likewise.
2300 (DefaultDocumentEvent): Made public, extends
2301 javax.swing.undo.CompoundEdit.
2302 (ElementEdit): Made public, extends
2303 javax.swing.undo.AbstractUndoableEdit.
2304 (LeafElement): Made public.
2305 (LeafElement.LeafElement): Made public.
2307 2004-06-16 Michael Koch <konqueror@gmx.de>
2309 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
2310 methods (that were obviously never be intended to get included hi this
2311 class. Added some methods too.
2313 2004-06-16 Michael Koch <konqueror@gmx.de>
2315 * javax/swing/text/PlainDocument.java
2316 (serialVersionUID): New constant.
2317 (lineLimitAttribute): Likewise.
2318 (tabSizeAttribute): Likewise.
2319 (tabSize): New field.
2320 (PlainDocument): Made public.
2321 (PlainDocument): New constructor.
2323 2004-06-16 Michael Koch <konqueror@gmx.de>
2325 * javax/swing/text/AbstractDocument.java
2326 (insertString): Throws BadLocationException.
2327 * javax/swing/text/Document.java
2328 (insertString): Likewise.
2329 * javax/swing/text/JTextComponent.java:
2330 Javadocs and comments cleaned up.
2332 2004-06-16 Michael Koch <konqueror@gmx.de>
2334 * javax/swing/event/UndoableEditListener.java: Reformatted.
2335 * javax/swing/text/AbstractDocument.java
2336 (AbstractDocument): Implements java.io.Serializable.
2337 (doc_list): Removed.
2338 (undo_list): Removed.
2339 (AbstractElement.serialVerionUID): New field.
2340 (BranchElement.serialVerionUID): Likewise.
2341 (DefaultDocumentEvent.serialVerionUID): Likewise.
2342 (ElementEdit.serialVerionUID): Likewise.
2343 (LeafElement.serialVerionUID): Likewise.
2344 (serialVerionUID): Likewise.
2345 (BAD_LOCATION): New constant.
2346 (BidiElementName): Likewise.
2347 (ContentElementName): Likewise.
2348 (ParagraphElementName): Likewise.
2349 (SectionElementName): Likewise.
2350 (ElementNameAttribute): Likewise.
2351 (AbstractDocument): Made protected.
2352 (AbstractDocument): New construtor.
2353 (listenerList): New field.
2354 (fireChangedUpdate): Implemented.
2355 (fireInsertUpdate): Likewise.
2356 (fireRemoveUpdate): Likewise.
2357 (fireUndoableEditUpdate): Likewise.
2358 (getListeners): Likewise.
2359 (addDocumentListener): Likewise.
2360 (removeDocumentListener): Likewise.
2361 (addUndoableEditListener): Likewise.
2362 (removeUndoableEditListener): Likewise.
2363 (getDocumentListeners): New method.
2364 (getUndoableEditListeners): Likewise.
2365 (getAsynchronousLoadPriority): Made public.
2366 (getBidiRootElement): Likewise.
2367 (setAsynchronousLoadPriority): Likewise.
2368 (setDocumentProperties): Likewise.
2369 * javax/swing/text/BadLocationException.java
2370 (serialVerionUID): New field.
2371 * javax/swing/text/DefaultCaret.java
2372 (changeEvent): New field.
2373 (listenerList): Likewise.
2375 (addChangeListener): Reimplemented.
2376 (removeChangeListener): Likewise.
2377 (getListeners): New method.
2378 (getChangeListeners): Likwise.
2379 (getComponent): Likewise.
2380 * javax/swing/text/GapContent.java
2381 (GapContent): Implements java.io.Serializable.
2382 (serialVerionUID): New field.
2384 2004-06-16 Michael Koch <konqueror@gmx.de>
2386 * javax/swing/JTree.java
2387 (treeModel): New field.
2388 (JTree): New constructors, one existing one made public.
2389 (createTreeModel): New method.
2390 (addTreeExpansionListener): Likewise.
2391 (removeTreeExpansionListener): Likewise.
2392 (getTreeExpansionListeners): Likewise.
2393 (fireTreeCollapsed): Likewise.
2394 (fireTreeExpanded): Likewise.
2395 (addTreeSelectionListener): Likewise.
2396 (removeTreeSelectionListener): Likewise.
2397 (getTreeSelectionListeners): Likewise.
2398 (fireValueChanged): Likewise.
2399 (addTreeWillExpandListener): Likewise.
2400 (removeTreeWillExpandListener): Likewise.
2401 (getTreeWillExpandListeners): Likewise.
2402 (fireTreeWillCollapse): Likewise.
2403 (fireTreeWillExpand): Likewise.
2405 2004-06-16 Michael Koch <konqueror@gmx.de>
2407 * javax/swing/JTree.java: Reformatted.
2409 2004-06-16 Michael Koch <konqueror@gmx.de>
2411 * javax/swing/JTextArea.java: New file.
2412 * javax/swing/JTextField.java
2414 (notifyAction): New constant.
2415 (columns): New field.
2416 (JTextField): New constructors.
2417 (createDefaultModel): New method.
2418 (addActionListener): Reimplmemented.
2419 (removeActionListener): Reimplemented.
2420 (getActionListeners): New method.
2421 (fireActionPerformed): New method.
2422 (getColumns): New method.
2423 (setColumne): New method.
2424 * javax/swing/text/JTextComponent.java
2425 (AccessibleJTextComponent.serialVersionUID): New field.
2426 (serialVersionUID): Likewise.
2427 (DEFAULT_KEYMAP): Likewise.
2428 (FOCUS_ACCELERATOR_KEY): Likewise.
2429 (doc): Made private.
2430 (icon_gap): Likewise.
2433 (JTextComponent): Some constructors removed.
2434 (getScrollableTracksViewportHeight): New method.
2435 (getScrollableTracksViewportWidth): Likewise.
2436 * Makefile.am: Added javax/swing/JTextArea.java.
2437 * Makefile.in: Regenerated.
2439 2004-06-15 Graydon Hoare <graydon@redhat.com>
2441 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
2442 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
2443 * javax/swing/JViewport.java
2444 (getExtentSize): Return size rather than preferred size.
2445 (toViewCoordinates): New methods.
2446 (getViewSize): Return size rather than preferred size.
2447 (setViewSize): Note view size as set.
2448 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
2449 * javax/swing/plaf/basic/BasicScrollBarUI.java
2450 (getPreferredSize): Don't redo layout.
2451 * javax/swing/plaf/basic/BasicViewportUI.java
2452 (paint): Translate image properly and eat exceptions.
2454 2004-06-15 Kim Ho <kho@redhat.com>
2456 * javax/swing/JTabbedPane.java
2457 (setComponent): Remove old component and
2459 (setSelectedIndex): Don't operate on the
2460 components if they're null. Don't set index
2461 on the model if the index is the same.
2462 (insertTab): Don't add or hide the component
2463 if it's null. Repaint the container.
2464 * javax/swing/plaf/basic/BasicLookAndFeel.java
2465 Change colors for TabbedPane.
2466 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2467 (mousePressed): Re-layout and paint the component.
2468 (layoutContainer): Don't set location on the view.
2469 (ScrollingViewport::paint): Remove.
2471 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2473 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2474 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
2476 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2477 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
2478 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
2480 (drawLine): Call gdk_flush before leaving GDK critical region.
2481 (fillRect): Likewise.
2482 (drawRect): Likewise.
2483 (copyArea): Likewise.
2484 (copyPixmap): Likewise.
2485 (clearRect): Likewise.
2486 (drawArc): Likewise.
2487 (drawPolyline): Likewise.
2488 (drawPolygon): Likewise.
2489 (fillPolygon): Likewise.
2490 (fillArc): Likewise.
2491 (drawOval): Likewise.
2492 (fillOval): Likewise.
2494 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
2496 (GdkFontMetrics): Add style argument to initState call.
2497 (stringWidth(String,int,int,String)): Add style parameter.
2498 (stringWidth(String)): Add style argument to stringWidth call.
2499 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
2500 (initState): Set pango font style and weight based on AWT style
2501 parameter. Pass default GTK language to
2502 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
2503 simply dividing by PANGO_SCALE.
2504 (stringWidth): Set pango font style and weight based on AWT style
2507 * java/awt/Button.java (next_button_number): New field.
2508 (paramString): Change output.
2509 (generateName): New method.
2510 (getUniqueLong): New method.
2512 2004-06-14 Kim Ho <kho@redhat.com>
2514 * javax/swing/JTabbedPane.java:
2515 (setComponentAt): Set the component, not
2517 * javax/swing/plaf/basic/BasicDesktopIconUI.java
2518 (actionPerformed): Let deiconize catch exception.
2520 2004-06-14 Olga Rodimina <rodimina@redhat.com>
2522 * javax/swing/JPopupMenu.java:
2523 (setVisible): Corrected location of a
2524 heavyweight popup menu.
2526 2004-06-14 Olga Rodimina <rodimina@redhat.com>
2528 * javax/swing/MenuSelectionManager.java:
2529 Ran through jalopy to fix formatting style.
2531 2004-06-14 Olga Rodimina <rodimina@redhat.com>
2533 * javax/swing/JLayeredPane.java:
2534 (remove): Revalidate and repaint layered pane after
2535 the component was removed.
2536 javax/swing/JMenu.java:
2537 (setVisible): Display popup menu at the user location,
2538 if one was set by the user.
2539 (setMenuLocation): Reimplemented. Fixed javadoc.
2540 * javax/swing/JMenuBar.java: Added javadoc.
2541 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
2542 (MODEL_CHANGED_PROPERTY): New Property.
2543 (isSelected): Implemented.
2544 (setBorderPainted): Fire PropertyChangeEvent
2545 if paintBorder property changes.
2546 (setSelected): Implemented.
2547 (setSelectionModel): Implemented.
2548 * javax/swing/JPopupMenu.java: Added Javadoc
2549 (pack): Implemented.
2550 (setVisible): Reimplemented.
2551 (show): Fixed location.
2552 (JPopupMenu.LigthWeightPopup): Reimplemented to use
2553 Container instead of JPanel.
2554 * javax/swing/MenuSelectionManager.java: Added Javadocs.
2555 (clearSelectedPath): Reimplemented to clear selectedPath
2557 (processMouseEvent): Reimplemented.
2558 (setSelectedPath): Fire stateChange event indicating that
2559 selected menu path has changed.
2560 (getPath): Change to use ArrayList instead of Vector.
2561 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2562 (installUI): call installKeyboardActions().
2563 (uninstallUI): call uninstallKeyboardActions().
2565 2004-06-13 Michael Koch <konqueror@gmx.de>
2567 * javax/swing/text/DefaultCaret.java,
2568 javax/swing/text/BadLocationException.java:
2571 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
2573 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
2574 DEFAULT_COLS): New variables.
2575 (create): Don't allow 0 rows or 0 columns. Instead, set the
2576 values to DEFAULT_ROWS or DEFAULT_COLS.
2577 (getMinimumSize): Likewise.
2578 (getPreferredSize): Likewise.
2579 (minimumSize): Likewise.
2580 (preferredSize): Likewise.
2581 (create): Set peer's editable state.
2582 * java/awt/TextArea.java (TextArea()): Set rows and columns to
2583 zero. Update javadocs.
2584 (TextArea(String)): Likewise.
2585 (TextArea(int,int)): Fix javadocs.
2586 (TextArea(String,int,int,int)): Only throw exception if one of
2587 rows or columns is zero. Fix javadocs.
2589 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
2591 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
2592 addition to Components.
2594 * java/awt/MenuItem.java (dispatchEventImpl): If the event
2595 wasn't consumed by normal processing, send it to the parent
2598 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2599 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
2602 2004-06-11 David Jee <djee@redhat.com>
2604 * java/awt/MediaTracker.java
2605 (addImage(Image,int)): Call imageUpdate() to udpate image status.
2606 (addImage(Image,int,int,int)): Likewise.
2608 2004-06-11 Michael Koch <konqueror@gmx.de>
2610 * javax/swing/text/AbstractDocument.java,
2611 javax/swing/text/Document.java,
2612 javax/swing/text/GapContent.java,
2613 javax/swing/text/JTextComponent.java,
2614 javax/swing/text/PlainDocument.java:
2617 2004-06-11 Michael Koch <konqueror@gmx.de>
2619 * javax/swing/JRootPane.java
2620 (AccessibleJRootPane.serialVersionUID): New field.
2621 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
2622 (AccessibleJRootPane.getAccessibleRole): New method.
2623 (RootLayout): Implements Serializable.
2624 (RootLayout.serialVersionUID): New field.
2625 (RootLayout.RootLayout): New constructor.
2626 (setJMenuBar): Made public.
2627 (getJMenuBar): Likewise.
2628 (JRootPane): Likewise.
2629 (createContentPane): Likewise.
2630 (createGlassPane): Likewise.
2631 (createLayeredPane): Likewise.
2633 2004-06-11 Michael Koch <konqueror@gmx.de>
2635 * javax/swing/SwingUtilities.java
2636 (isLeftMouseButton): Fixed javadoc.
2637 (isMiddleMouseButton): Likewise.
2638 (isRightMouseButton): Likewise.
2640 2004-06-11 Michael Koch <konqueror@gmx.de>
2642 * javax/swing/JScrollPane.java
2643 (serialVersionUID): New field.
2644 (columnHeader): Made protected.
2645 (rowHeader): Likewise.
2646 (lowerLeft): Likewise.
2647 (lowerRight): Likewise.
2648 (upperLeft): Likewise.
2649 (upperRight): Likewise.
2650 (horizontalScrollBar): Likewise.
2651 (horizontalScrollBarPolicy): Likewise.
2652 (verticalScrollBar): Likewise.
2653 (verticalScrollBarPolicy): Likewise.
2654 (viewport): Likewise.
2656 2004-06-11 Michael Koch <konqueror@gmx.de>
2658 * javax/swing/LookAndFeel.java: Fixed javadocs.
2660 2004-06-11 Michael Koch <konqueror@gmx.de>
2662 * javax/swing/JEditorPane.java: Fixed javadocs.
2663 (JEditorPane): Removed redundant call to to this().
2664 (fireHyperlinkUpdate): Implemented.
2666 2004-06-10 Olga Rodimina <rodimina@redhat.com>
2668 * javax/swing/JMenu.java: Fixed file name
2669 in the file comment.
2671 2004-06-10 Olga Rodimina <rodimina@redhat.com>
2673 * javax/swing/JMenu.java: Added javadoc.
2674 (JMenu): Added MenuChangeListener to listen to
2675 ChangeEvents occuring in menu's model.
2676 (insert): Throw IllegalArgumentException if
2677 index is less than 0
2678 (setSelected): Reimplement.
2679 (setPopupMenuVisible): Call menu's model isEnabled()
2680 (setDelay): Throw IllegalArgumentException if
2681 given amount of delay is less than 0.
2682 (createActionComponent): Implemented.
2683 (createActionChangeListener): Implemented.
2684 (addSeparator): Implemented.
2685 (getItem): Throw IllegalArgumentException if index is
2687 (getItemCount): Implemented.
2688 (fireMenuSelected): Changed to use menuEvent.
2689 (fireMenuDeselected): Likewise.
2690 (fireMenuCanceled): Likewise.
2691 (setAccelerator): Changed to throw an error if this
2693 (doClick): Implemented.
2694 (JMenu.ActionChangedListener): New inner class to handle
2695 PropertyChangeEvents occuring in the actions associated with menu.
2696 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
2697 (BasicMenuUI): Added PropertyChangeListener to the menu.
2698 (createChangeListener): Implemented.
2699 (createMenuDragMouseListener): Likewise.
2700 (createMenuKeyListener): Likewise.
2701 (createPropertyChangeListener): Likewise.
2702 (uninstallListeners): Likewise.
2703 (BasicMenuUI.MouseInputHandler): Reimplemented.
2704 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
2705 (BasicMenuUI.ChangeHandler): Likewise.
2706 (BasicMenuUI.MenuDragMouseHandler): Likewise.
2707 (BasicMenuUI.MenuKeyHandler): Likewise.
2709 2004-06-10 David Jee <djee@redhat.com>
2711 * java/awt/MediaTracker.java
2712 (imageUpdate): Only do notifyAll() if the image is complete.
2714 2004-06-10 Olga Rodimina <rodimina@redhat.com>
2716 * javax/swing/JApplet.java:
2717 (getJMenuBar): Made public.
2718 (setJMenuBar): Likewise.
2719 * javax/swing/JFrame.java:
2720 (getJMenuBar): Made public.
2721 (setJMenuBar): Likewise.
2722 * javax/swing/JWindow.java:
2723 (getJMenuBar): Removed.
2724 (setJMenuBar): Removed.
2726 2004-06-10 Michael Koch <konqueror@gmx.de>
2728 * javax/swing/JEditorPane.java
2729 (createEditorKitForContentType): Fixed visibility.
2730 (fireHyperlinkUpdate): Likewise.
2731 (getContentType): Likewise.
2732 (getEditorKit): Likewise.
2733 (getEditorKitForContentType): Likewise.
2734 (getPage): Likewise.
2736 (registerEditorKitForContentTyoe): Likewise.
2737 (replaceSelection): Likewise.
2738 (setContentType): Likewise.
2739 (setEditorKit): Likewise.
2740 (setPage): Likewise.
2742 2004-06-10 Michael Koch <konqueror@gmx.de>
2744 * javax/swing/Timer.java
2745 (Timer): New constructor.
2746 * javax/swing/plaf/basic/BasicProgressBarUI.java
2747 (animationTimer): Don't initialize at construction.
2748 (startAnimationTimer): Added since tag.
2749 (stopAnimationTimer): Likewise.
2750 (installUI): Use new Timer constructor.
2751 * javax/swing/plaf/basic/BasicScrollBarUI.java
2752 (installUI): Likewise.
2753 * javax/swing/plaf/basic/BasicSliderUI.java
2754 (installUI): Likewise.
2756 2004-06-10 Michael Koch <konqueror@gmx.de>
2758 * javax/swing/ButtonGroup.java
2759 (serialVersionUID): Made private.
2760 (buttons): Renamed from v, added javadoc.
2761 (sel): Added javadoc.
2762 (ButtonGroup): Likewise.
2765 (getElements): Likewise.
2766 (getSelection): Likewise.
2767 (setSelected): Likewise.
2768 (isSelected): Likewise.
2769 (getButtonCount): Likewise.
2771 2004-06-10 Michael Koch <konqueror@gmx.de>
2773 * javax/swing/ButtonGroup.java,
2774 javax/swing/ImageIcon.java,
2775 javax/swing/JEditorPane.java,
2776 javax/swing/JRootPane.java,
2777 javax/swing/JTextField.java,
2778 javax/swing/LookAndFeel.java,
2779 javax/swing/plaf/basic/BasicTextUI.java:
2782 2004-06-10 Michael Koch <konqueror@gmx.de>
2784 * javax/swing/text/Style.java: Added javadocs.
2786 2004-06-10 Michael Koch <konqueror@gmx.de>
2788 * javax/swing/JComponent.java
2789 (fireVetoableChange): Removed redundant cast.
2790 * javax/swing/JLabel.java
2791 (getDisabledIcon): Save icon for next call.
2793 2004-06-10 Michael Koch <konqueror@gmx.de>
2795 * javax/swing/KeyStroke.java
2796 (getKeyStroke(char,boolean)): Marked deprecated.
2798 2004-06-10 Michael Koch <konqueror@gmx.de>
2800 * javax/swing/DefaultCellEditor.java,
2801 javax/swing/GrayFilter.java,
2802 javax/swing/event/DocumentEvent.java,
2803 javax/swing/text/JTextComponent.java,
2804 javax/swing/text/MutableAttributeSet.java:
2807 2004-06-10 Michael Koch <konqueror@gmx.de>
2809 * javax/swing/plaf/BorderUIResource.java:
2810 Added serialVersionUID all over.
2812 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
2814 * javax/swing/undo/UndoManager.java: Re-written from scratch.
2816 2004-06-10 Michael Koch <konqueror@gmx.de>
2818 * javax/swing/table/DefaultTableCellRenderer.java
2819 (noFocusBorder): Initialize directly.
2821 2004-06-10 Michael Koch <konqueror@gmx.de>
2823 * javax/swing/plaf/basic/BasicArrowButton.java
2824 (setDirection): Use method argument.
2826 2004-06-10 Michael Koch <konqueror@gmx.de>
2828 * javax/swing/plaf/BorderUIResource.java,
2829 javax/swing/plaf/ComponentUI.java,
2830 javax/swing/undo/CompoundEdit.java,
2831 javax/swing/undo/StateEdit.java:
2832 Fixed javadocs all over.
2834 2004-06-10 Michael Koch <konqueror@gmx.de>
2836 * javax/swing/DefaultButtonModel.java
2837 (ARMED): Made public final, fixed value.
2838 (ENABLED): Likewise.
2839 (PRESSED): Likewise.
2840 (ROLLOVER): Likewise.
2841 (SELECTED): Likewise.
2842 (stateMask): Initialize directly.
2843 (listenerList): Likewise.
2844 (mnemonic): Likewise.
2845 (fireStateChanged): Removed argument, use changeEvent as event.
2846 All places where this method is called are fixed too.
2847 (getActionCommant): Fixed javadoc.
2848 (setGroup): Fixed javadoc.
2849 (getGroup): New method.
2851 2004-06-09 Olga Rodimina <rodimina@redhat.com>
2853 * javax/swing/AbstractButton.java
2854 (AbstractButton): Use init() to initialize the button.
2855 (init): New Method. Initializes AbstractButton.
2856 * javax/swing/JMenuItem.java: Documented.
2857 (JMenuItem): Reimplemented.
2858 (init): Implemented.
2859 (setEnabled): Changed to call super.setEnabled()
2860 (processMouseEvent): Reimplemented.
2861 (fireMenuKeyPressed): Implemented.
2862 (fireMenuKeyReleased): Implemented.
2863 (fireMenuKeyTyped): Implemented.
2864 (menuSelectionChanged): disarm the model if the menu item was
2866 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
2867 (getPath): Change to use ArrayList instead of Vector.
2868 (getPreferredSize): Renamed variable.
2869 (paintMenuItem): Paint margin area of menu item.
2870 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
2871 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
2872 menu item's bounds before clearing the selection.
2874 2004-06-09 David Jee <djee@redhat.com>
2876 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2877 (GtkTextComponentPeer): Set caret position to 0.
2878 * java/awt/TextComponent.java
2879 (setText): Set caret position to 0.
2880 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2881 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2882 Handle GtkScrolledWindow separately. Fix signal handler blocking.
2883 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2885 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2886 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
2889 2004-06-09 Kim Ho <kho@redhat.com>
2891 * Makefile.am: New files
2892 * Makefile.in: Regenerated
2893 * java/awt/Container.java
2894 (getComponentAt): Removed.
2895 * javax/swing/AbstractAction.java
2896 (ENABLED_PROPERTY): New property.
2897 (putValue): Fire PropertyChangeEvents.
2898 (setEnabled): ditto.
2899 (firePropertyChange): Javadoc and implement
2901 * javax/swing/AbstractButton.java
2902 (setAction): Don't create PropertyChangeListener
2903 if new Action is null.
2904 (setIcon): Don't set icon till after comparing
2906 (configurePropertiesFromAction): Check mnemonic
2907 key before calling intValue().
2908 (createActionPropertyChangeListener): Check
2909 properties rather than bulk change.
2910 * javax/swing/DefaultDesktopManager.java:
2912 * javax/swing/DesktopManager.java:
2914 * javax/swing/JComponent.java
2915 (fireVetoableChange): Implement.
2916 (paintImmediately): Use root component.
2917 * javax/swing/JDesktopPane.java: Implement
2918 * javax/swing/JInternalFrame.java: Implement
2919 * javax/swing/JLabel.java
2920 (getDisabledIcon): Return grayscaled icon if
2921 no disabled icon specified.
2922 * javax/swing/JMenuBar.java
2923 (getComponentAtIndex): Use getComponent
2924 * javax/swing/JOptionPane.java
2925 (getDesktopPaneForComponent): Use SwingUtilities'
2927 (getFrameForComponent): ditto.
2928 * javax/swing/JSplitPane.java
2929 (remove): Use getComponent.
2930 * javax/swing/SwingUtilities.java
2931 (convertPoint): Implement.
2932 * javax/swing/plaf/basic/BasicButtonUI.java
2933 (paintButtonNormal): Check opaqueness before
2935 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
2937 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
2939 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
2941 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2943 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2944 Change InternalFrame and Desktop colors.
2946 2004-06-09 David Jee <djee@redhat.com>
2948 * java/awt/Container.java
2949 (remove): Do not set component to invisible.
2951 2004-06-09 Michael Koch <konqueror@gmx.de>
2953 * javax/swing/tree/DefaultMutableTreeNode.java
2954 (getLeafCount): Renamed enum to e.
2956 2004-06-09 Michael Koch <konqueror@gmx.de>
2958 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
2959 (positionForMouseEvent): Removed redundant semicolon.
2960 (continueDrag): Use method arguments.
2962 2004-06-09 Michael Koch <konqueror@gmx.de>
2964 * javax/swing/border/TitledBorder.java,
2965 javax/swing/filechooser/FileSystemView.java,
2966 javax/swing/plaf/basic/BasicButtonListener.java,
2967 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2968 javax/swing/plaf/basic/BasicLabelUI.java,
2969 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
2970 javax/swing/plaf/basic/BasicScrollBarUI.java,
2971 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2972 javax/swing/plaf/basic/BasicSliderUI.java,
2973 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2974 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2975 javax/swing/table/JTableHeader.java,
2976 javax/swing/text/AbstractDocument.java,
2977 javax/swing/text/DefaultCaret.java,
2978 javax/swing/text/StyledEditorKit.java,
2979 javax/swing/tree/DefaultTreeCellEditor.java:
2980 Reworked import statements.
2982 2004-06-08 Graydon Hoare <graydon@redhat.com>
2984 * javax/swing/Box.java: Temporarily comment out code
2985 broken due to visibility bug.
2987 2004-06-09 Michael Koch <konqueror@gmx.de>
2989 * javax/swing/ImageIcon.java
2990 (ImageIcon): Added missing constructor.
2992 2004-06-08 Michael Koch <konqueror@gmx.de>
2994 * javax/swing/JToggleButton.java
2995 (JToggleButton): New constructor.
2996 (getAccessibleContext): Moved documentation into javadoc.
2997 (getUIClassID): Likewise.
2999 2004-06-08 Michael Koch <konqueror@gmx.de>
3001 * javax/swing/AbstractButton.java
3002 (getDisabledIcon): Create disabled icon if none exists yet.
3004 2004-06-08 Michael Koch <konqueror@gmx.de>
3006 * javax/swing/plaf/basic/BasicLookAndFeel.java
3007 (initClassDefaults): Added FormattedTextFieldUI.
3008 (loadResourceBundle): Renamed enum to e.
3010 2004-06-08 Michael Koch <konqueror@gmx.de>
3012 * javax/swing/plaf/basic/BasicButtonUI.java
3013 (paintIcon): Simplified.
3014 (paintText): Paint disabled button correctly.
3016 2004-06-08 Michael Koch <konqueror@gmx.de>
3018 * javax/swing/JComponent.java
3019 (createToolTip): Use official JToolTip API.
3021 2004-06-08 Michael Koch <konqueror@gmx.de>
3023 * javax/swing/JToolTip.java
3024 (JToolTip): No arguments in API.
3025 (setTipText): New method.
3027 2004-06-08 Michael Koch <konqueror@gmx.de>
3029 * javax/swing/SwingUtilities.java
3030 (isLeftMouseButton): New method.
3031 (isMiddleMouseButton): New method.
3032 (isRightMouseButton): New method.
3034 2004-06-08 Michael Koch <konqueror@gmx.de>
3036 * javax/swing/AbstractButton.java,
3037 javax/swing/CellRendererPane.java,
3038 javax/swing/JCheckBoxMenuItem.java,
3039 javax/swing/JColorChooser.java,
3040 javax/swing/JComboBox.java,
3041 javax/swing/JComponent.java,
3042 javax/swing/JDesktopPane.java,
3043 javax/swing/JFileChooser.java,
3044 javax/swing/JMenu.java,
3045 javax/swing/JMenuItem.java,
3046 javax/swing/JOptionPane.java,
3047 javax/swing/JPasswordField.java,
3048 javax/swing/JPopupMenu.java,
3049 javax/swing/JProgressBar.java,
3050 javax/swing/JRadioButtonMenuItem.java,
3051 javax/swing/JScrollBar.java,
3052 javax/swing/JSeparator.java,
3053 javax/swing/JSlider.java,
3054 javax/swing/JSplitPane.java,
3055 javax/swing/JTabbedPane.java,
3056 javax/swing/JTextField.java,
3057 javax/swing/JToolBar.java,
3058 javax/swing/text/JTextComponent.java:
3059 Fixed all constructors of accessibility classes.
3061 2004-06-08 Michael Koch <konqueror@gmx.de>
3063 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
3066 2004-06-08 Michael Koch <konqueror@gmx.de>
3068 * javax/swing/Box.java
3069 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
3070 (AccessibleBoxFiller.serialVersionUID): New member variable.
3071 * javax/swing/DefaultButtonModel.java
3072 (stateMask): Made protected.
3073 (listenerList): Likewise.
3074 (changeEvent): Likewise.
3076 (mnemonic): Likewise.
3077 (actionCommand): Likewise.
3078 (getListeners): New method.
3079 (getActionListeners): New method.
3080 (getItemListeners): New method.
3081 (getChangeListeners): New method.
3082 (fireItemStateChanged): Simplified.
3083 (fireActionPerformed): Simplified.
3084 (fireStateChanged): Simplified.
3085 * javax/swing/JFrame.java
3086 (JFrame): Implements WindowContants.
3087 (HIDE_ON_CLOSE): Removed.
3088 (EXIT_ON_CLOSE): Removed.
3089 (DISPOSE_ON_CLOSE): Removed.
3090 (DO_NOTHING_ON_CLOSE): Removed.
3091 (processWindowEvent): Exit with code 0.
3092 (setDefaultCloseOperation): Do security check before setting value.
3093 * javax/swing/JOptionPane.java
3094 (message): Initialize only in constructor.
3095 * javax/swing/JToolTip.java: Removed unused imports.
3096 * javax/swing/JViewport.java
3097 (serialVersionUID): New member variable.
3098 (SIMPLE_SCROLL_MODE): Made final, fixed value.
3099 (BLIT_SCROLL_MODE): Likewise.
3100 (BACKINGSTORE_SCROLL_MODE): Likewise.
3101 (scrollUnderway): Made protected.
3102 (isViewSizeSet): Likewise.
3103 * javax/swing/ListModel.java: Fixed javadoc.
3104 * javax/swing/Popup.java: Likewise.
3105 * javax/swing/RepaintManager.java
3106 (paintDirtyRegions): Don't use internal classes of
3107 java.util.AbstractMap.
3108 * javax/swing/ScrollPaneConstants.java: Reindented.
3109 * javax/swing/ScrollPaneLayout.java
3110 (viewport): Made protected.
3111 (verticalScrollBar): Made protected, renamed to vsb.
3112 (horizontalScrollBar): Made protected, renamed to hsb.
3113 (rowHeader): Made protected, renamed to rowHead.
3114 (columnHeader): Made protected, renamed to colHead.
3115 (lowerLeft): Made protected.
3116 (lowerRight): Made protected.
3117 (upperLeft): Made protected.
3118 (upperRight): Made protected.
3119 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
3120 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
3122 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
3124 * java/awt/MediaTracker.java (imageUpdate): Only set status to
3125 LOADING if flags has SOMEBITS set.
3127 2004-06-07 Michael Koch <konqueror@gmx.de>
3129 * javax/swing/AbstractButton.java: Reorganized imports.
3130 * javax/swing/ActionMap.java: Likewise.
3131 * javax/swing/DefaultButtonModel.java: Likewise.
3132 * javax/swing/DefaultListModel.java: Likewise.
3133 * javax/swing/ImageIcon.java: Likewise.
3134 (serialVersionUID): New member variable.
3135 * javax/swing/JComboBox.java: Reorganized imports.
3136 * javax/swing/JComponent.java: Likewise.
3137 (ui): Made protected.
3138 (listenerList): Made protected.
3139 (TOOL_TIP_TEXT_KEY): New constant.
3140 (scrollRectToVisible): Removed redundant null check.
3141 * javax/swing/JFrame.java: Reorganized imports.
3142 * javax/swing/JInternalFrame.java: Reorganized imports.
3143 * javax/swing/JProgressBar.java: Likewise.
3144 * javax/swing/JRootPane.java: Likewise.
3145 * javax/swing/JScrollBar.java: Likewise.
3146 * javax/swing/JSeparator.java: Likewise.
3147 * javax/swing/JSlider.java: Likewise.
3148 * javax/swing/JTabbedPane.java: Likewise.
3149 * javax/swing/JTextField.java: Likewise.
3150 * javax/swing/JToolBar.java: Likewise.
3151 * javax/swing/JTree.java: Likewise.
3152 * javax/swing/JViewport.java: Likewise.
3153 * javax/swing/JWindow.java: Likewise.
3154 * javax/swing/KeyStroke.java: Likewise.
3155 * javax/swing/LookAndFeel.java: Likewise.
3156 * javax/swing/MenuSelectionManager.java: Likewise.
3157 * javax/swing/SwingUtilities.java: Likewise.
3158 * javax/swing/Timer.java: Likewise.
3159 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
3160 * javax/swing/JList.java
3161 (HORIZONTAL_WRAP): Made final, fixed value.
3162 (VERTICAL): Likewise.
3163 (VERTICAL_WRAP): Likewise.
3165 2004-06-07 Michael Koch <konqueror@gmx.de>
3167 * javax/swing/AbstractButton.java
3168 (serialVersionUID): New member variable.
3169 (AccessibleAbstractButton.serialVersionUID): Likewise.
3170 (AbstractButton): Made public.
3171 * javax/swing/Box.java
3172 (AccessibleBox.serialVersionUID): New member variable.
3173 (Filler.serialVersionUID): Likewise.
3174 * javax/swing/DefaultListSelectionModel.java
3175 (serialVersionUID): Likewise.
3176 * javax/swing/JApplet.java
3177 (serialVersionUID): Likewise.
3178 * javax/swing/JCheckBox.java
3179 (serialVersionUID): Likewise.
3180 * javax/swing/JCheckBoxMenuItem.java
3181 (serialVersionUID): Likewise.
3182 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
3183 * javax/swing/JColorChooser.java
3184 (serialVersionUID): Likewise.
3185 (AccessibleJColorChooser.serialVersionUID): Likewise.
3186 * javax/swing/JComponent.java
3187 (serialVersionUID): Made private.
3188 (AccessibleJComponent.serialVersionUID): New member variable.
3189 * javax/swing/JDesktopPane.java
3190 (serialVersionUID): Likewise.
3191 * javax/swing/JDialog.java
3192 (serialVersionUID): Likewise.
3193 * javax/swing/JFormattedTextField.java
3194 (serialVersionUID): Fixed value.
3195 * javax/swing/JFrame.java
3196 (serialVersionUID): New member variable.
3197 (getDefaultCloseOpertation): Made public.
3198 * javax/swing/JLayeredPane.java
3199 (serialVersionUID): Likewise.
3200 (LAYER_PROPERTY): Made final, fixed value.
3201 (JLayeredPane): Made public.
3202 * javax/swing/JMenu.java
3203 (AccessibleJMenu.serialVersionUID): New member variable.
3204 (WinListener.serialVersionUID): Likewise.
3205 * javax/swing/JMenuBar.java
3206 (serialVersionUID): Likewise.
3207 (getComponentAtIndex): Added @deprecated tag.
3208 * javax/swing/JMenuItem.java
3209 (serialVersionUID): New member variable.
3210 (AccessibleJMenuItem.serialVersionUID): Likewise.
3211 * javax/swing/JOptionPane.java
3212 (serialVersionUID): Likewise.
3213 (AccessibleJOptionPane.serialVersionUID): Likewise.
3214 * javax/swing/JPopupMenu.java
3215 (serialVersionUID): Likewise.
3216 (AccessibleJPopupMenu.serialVersionUID): Likewise.
3217 (getPopupMenuListeners): New method.
3218 (getComponentAtIndex): Added @deprecated tag.
3219 * javax/swing/JProgressBar.java
3220 (serialVersionUID): New member variable.
3221 (AccessibleJProgressBar.serialVersionUID): Likewise.
3222 * javax/swing/JRadioButton.java
3223 (serialVersionUID): Likewise.
3224 * javax/swing/JRadioButtonMenuItem.java
3225 (serialVersionUID): Likewise.
3226 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
3227 * javax/swing/JScrollBar.java
3228 (serialVersionUID): Likewise.
3229 (AccessibleJScrollBar.serialVersionUID): Likewise.
3230 * javax/swing/JSeparator.java
3231 (serialVersionUID): Likewise.
3232 (AccessibleJSeparator.serialVersionUID): Likewise.
3233 * javax/swing/JSlider.java: Fixed javadocs.
3234 (AccessibleJSlider.serialVersionUID): New member variable.
3235 * javax/swing/JSplitPane.java: Added copyright statement.
3236 (serialVersionUID): New member variable.
3237 (AccessibleJSplitPane.serialVersionUID): Likewise.
3238 * javax/swing/JTabbedPane.java
3239 (serialVersionUID): Likewise.
3240 (AccessibleJTabbedPane.serialVersionUID): Likewise.
3241 (ModelListener.serialVersionUID): Likewise.
3242 (ModelListener.ModelListener): New constructor.
3243 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
3244 (WRAP_TAB_LAYOUT): Likewise.
3245 * javax/swing/JTable.java
3246 (serialVersionUID): New member variable.
3247 * javax/swing/JToggleButton.java
3248 (serialVersionUID): Likewise.
3249 (ToggleButtonModel): Made static.
3250 (ToggleButtonModel.serialVersionUID): New member variable.
3251 * javax/swing/JToolTip.java
3252 (serialVersionUID): Likewise.
3253 * javax/swing/JTree.java
3254 (serialVersionUID): Likewise.
3255 * javax/swing/JWindow.java
3256 (serialVersionUID): Likewise.
3257 * javax/swing/Timer.java
3258 (serialVersionUID): Likewise.
3260 2004-06-06 Michael Koch <konqueror@gmx.de>
3262 * javax/swing/SwingConstants.java
3263 (NEXT): New constant.
3264 (PREVIOUS): Likewise.
3265 * javax/swing/UIManager.java
3266 (LookAndFeel): Made public.
3267 (LookAndFeel.getClassName): Likewise.
3268 (LookAndFeel.getName): Likewise.
3270 2004-06-02 Olga Rodimina <rodimina@redhat.com>
3272 * javax/swing/JCheckBoxMenuItem.java:
3274 * javax/swing/JMenu.java: Likewise.
3275 * javax/swing/JMenuBar.java: Likewise.
3276 * javax/swing/JMenuItem.java: Likewise.
3277 * javax/swing/JPopupMenu.java: Likewise.
3278 * javax/swing/JRadioButtonMenuItem.java: Likewise.
3279 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
3280 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3281 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3282 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
3283 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
3284 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
3286 2004-05-31 Olga Rodimina <rodimina@redhat.com>
3288 * javax/swing/plaf/basic/BasicMenuUI.java:
3289 (MouseEntered): Do not call getPath() from MenuSelectionManager.
3290 Call getPath() from super class instead.
3292 2004-05-31 David Jee <djee@redhat.com>
3294 * java/awt/Container.java
3295 (remove): Set component visibility to false after removing it.
3297 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
3299 * java/awt/Component.java (getForeground): Return SystemColor if
3301 (getBackground): Likewise.
3303 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
3304 (item_highlighted): New function.
3305 (connectSignals): Set item_highlighted as list's select
3308 * java/applet/Applet.java: Revert changes from 2004-04-29,
3309 2004-03-15 and 2004-03-14.
3311 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3312 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
3315 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
3316 "Dialog" as the default font.
3317 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
3319 * java/awt/Component.java (getFont): Return "Dialog" font by
3321 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
3322 Multiply size argument to pango_font_description_set_size by the
3323 DPI conversion factor rather than by PANGO_SCALE.
3324 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
3325 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
3326 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
3327 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
3328 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
3329 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
3330 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
3331 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
3332 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3333 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3334 Divide baseline y coordinate by DPI conversion factor rather
3335 than by PANGO_SCALE.
3336 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
3337 (area_prepared): Fix typo.
3338 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
3339 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
3340 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3341 (dpi_conversion_factor): New global variable.
3342 (init_dpi_conversion_factor): New function to calculate and
3343 track DPI conversion factor.
3344 (dpi_changed_cb): New callback.
3345 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
3347 2004-05-27 David Jee <djee@redhat.com>
3349 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3350 (getGraphics): Return a new GdkGraphics instance.
3351 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3352 (getGraphics): Call super.getGraphics().
3354 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
3356 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3357 (setNativeBounds): Clamp width and height values to >= 0.
3359 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3360 (find_fg_color_widget): Handle GtkOptionMenu specially.
3362 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3363 (pre_event_handler): Only post configure events to visible
3366 2004-05-26 David Jee <djee@redhat.com>
3368 * java/awt/BorderLayout.java
3369 (layoutContainer): Fix size calculations.
3371 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
3373 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3374 (window_wm_protocols_filter): Remove function.
3375 (create): Remove filter that removes WM_TAKE_FOCUS client
3378 2004-06-17 Anthony Green <green@redhat.com>
3380 * java/util/zip/ZipFile.java (getInputStream): Return null if
3383 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
3384 directory contents to the class path.
3386 2004-06-15 Andrew Haley <aph@redhat.com>
3388 * java/lang/natSystem.cc (getenv0): Don't assume environment
3389 variable is Latin 1 coded.
3391 2004-06-14 Andreas Jaeger <aj@suse.de>
3393 * configure.in: Support --enable-version-specific-runtime-libs.
3394 * configure: Regenerated.
3396 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
3398 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
3399 to pass ClassLoader argument.
3400 * java/util/GregorianCalendar.java: Likewise.
3401 * java/util/Currency.java: Likewise.
3402 * java/text/BreakIterator.java: Likewise.
3403 * java/text/Collator.java: Likewise.
3404 * java/text/DateFormat.java: Likewise.
3405 * java/text/DateFormatSymbols.java: Likewise.
3406 * java/text/DecimalFormatSymbols.java: Likewise.
3407 * java/text/NumberFormat.java: Likewise.
3408 * java/awt/Window.java: Likewise.
3410 2004-06-14 Andrew Haley <aph@redhat.com>
3412 * java/lang/System.java: (getenv0): New method.
3413 (getenv): Add security check. Do the right thing.
3414 * java/lang/natSystem.cc (getenv0): New method.
3416 2004-06-12 Mark Wielaard <mark@klomp.org>
3418 * javax/swing/RepaintManager.java
3419 (paintDirtyRegions): Use entrySet(), not values().
3421 2004-06-10 Mark Wielaard <mark@klomp.org>
3423 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
3426 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
3428 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
3429 when we already know the answer.
3430 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
3431 (setStartRule,setEndRule): Don't take abs of day number.
3432 (getOffset): Clarify docs. Add argument checks.
3433 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
3434 (equals,hasSameRules,toString,readObject): Use startTimeMode and
3437 2004-06-10 Tom Tromey <tromey@redhat.com>
3439 * interpret.cc (run): Handle wide fload.
3441 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
3443 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
3445 2004-06-05 Michael Koch <konqueror@gmx.de>
3447 * javax/swing/SwingConstants.java
3448 (NEXT): New constant.
3449 (PREVIOUS): Likewise.
3451 2004-06-05 Michael Koch <konqueror@gmx.de>
3453 * javax/swing/UIManager.java
3454 (LookAndFeel): Made public.
3455 (LookAndFeel.getName): Likewise.
3456 (LookAndFeel.getClassName): Likewise.
3458 2004-06-03 Michael Koch <konqueror@gmx.de>
3460 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3461 (requestFocus): Revert last changes.
3462 (gtkRequestFocus): Removed.
3463 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3464 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
3466 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
3467 Reverted last patch.
3468 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3469 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
3470 Reverted comment change.
3472 2004-06-02 Olga Rodimina <rodimina@redhat.com>
3474 * javax/swing/JCheckBoxMenuItem.java:
3476 * javax/swing/JMenu.java: Likewise.
3477 * javax/swing/JMenuBar.java: Likewise.
3478 * javax/swing/JMenuItem.java: Likewise.
3479 * javax/swing/JPopupMenu.java: Likewise.
3480 * javax/swing/JRadioButtonMenuItem.java: Likewise.
3481 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
3482 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3483 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3484 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
3485 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
3486 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
3488 2004-06-01 Tom Tromey <tromey@redhat.com>
3490 * java/io/ObjectStreamField.java: Cleaned up imports.
3492 2004-06-01 Michael Koch <konqueror@gmx.de>
3494 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
3496 2004-06-01 Mark Wielaard <mark@klomp.org>
3498 * java/io/Writer.java (Writer(Object)): Fixed API doc.
3500 2004-06-01 Michael Koch <konqueror@gmx.de>
3502 * java/security/Security.java
3503 (insertProviderAt): Use equals() instead of ==.
3504 (removeProvicer): Likewise.
3505 (getProvider): Likewise.
3506 * java/security/Signature.java
3507 (sign): Don't set state to UNINITIALIZED.
3510 2004-06-01 Mark Wielaard <mark@klomp.org>
3512 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
3513 Implement by calling gtkRequestFocus.
3514 (gtkRequestFocus): New native method.
3515 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3516 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
3518 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
3520 (filter_expose_event_handler):
3522 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3523 (menu_pos): Mark static.
3525 2004-06-01 Michael Koch <konqueror@gmx.de>
3527 * java/text/CollationElementIterator.java,
3528 java/text/CollationKey.java,
3529 java/text/RuleBasedCollator.java: New versions from GNU classpath.
3530 * testsuite/libjava.mauve/xfails: Removed all
3531 java.text.CollationElementIterator tests.
3533 2004-06-01 Michael Koch <konqueror@gmx.de>
3535 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
3537 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
3538 Java 1.5 keyword usage.
3540 2004-05-31 Olga Rodimina <rodimina@redhat.com>
3542 * javax/swing/plaf/basic/BasicMenuUI.java:
3543 (MouseEntered): Do not call getPath() from MenuSelectionManager.
3544 Call getPath() from super class instead.
3546 2004-05-31 Michael Koch <konqueror@gmx.de>
3548 * java/io/SequenceInputStream.java:
3549 Rename enum to e because enum is a keyword in Java 1.5.
3551 2004-05-31 Michael Koch <konqueror@gmx.de>
3553 * gnu/java/rmi/rmic/CompilerProcess.java:
3554 Fixed javadoc to by XHTML compliant.
3556 2004-05-30 Mark Wielaard <mark@klomp.org>
3558 * java/awt/Toolkit.java (loadSystemColors): Implement.
3560 2004-05-30 Michael Koch <konqueror@gmx.de>
3562 * java/lang/System.java: Reordered imports.
3564 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
3566 * java/text/DecimalFormat.java
3567 (parse): Fixed parsing of decimal strings. Number of maximum
3568 digits to be read should now work.
3569 * java/text/SimpleDateFormat.java
3570 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
3571 formatter. This fixes DateFormatTest.
3573 2004-05-30 Michael Koch <konqueror@gmx.de>
3575 * java/nio/Buffer.java
3576 (limit): Fixed off by one error.
3577 * java/nio/CharBuffer.java
3578 (wrap): Fixed arguments, added javadocs.
3580 2004-05-30 Michael Koch <konqueror@gmx.de>
3582 * gnu/java/beans/BeanInfoEmbryo.java,
3583 java/awt/im/InputContext.java,
3584 javax/swing/tree/DefaultMutableTreeNode.java:
3585 Rename enum to e because enum is a keyword in Java 1.5.
3587 2004-05-30 Michael Koch <konqueror@gmx.de>
3589 * gnu/java/math/MPN.java,
3590 java/awt/geom/Arc2D.java:
3591 Fixed javadocs all over.
3593 2004-05-30 Michael Koch <konqueror@gmx.de>
3595 * java/awt/DefaultKeyboardFocusManager.java
3596 (dispatchEvent): Call method to get key event dispatchers.
3597 (dispatchKeyEvent): Call method to get key event post processors.
3598 * javax/swing/JComponent.java
3599 (listenerList): Made protected.
3600 * javax/swing/JOptionPane.java
3601 (message): Don't initialize.
3602 (JOptionPane): Set message text.
3603 * javax/swing/JPopupMenu.java
3604 (show): Fixed typo in argument name.
3605 * javax/swing/RepaintManager.java
3606 (paintDirtyRegions): Use public API of java.util.Map.
3607 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
3608 (positionForMouseEvent): Removed redundant ';'.
3609 (continueDrag): Use method arguments.
3611 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
3613 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
3616 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
3618 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
3620 * gnu/gcj/RawDataManaged.java: New file.
3621 * java/lang/Thread.java (data): Declare as RawDataManaged.
3622 * java/lang/natThread.cc (init_native): Cast natThread data to
3623 RawDataManaged, not jobject.
3624 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
3625 * Makefile.in: Rebuilt.
3627 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
3629 * java/util/SimpleTimeZone.java: Reverting my last change until I
3630 can fix it properly.
3632 2004-05-27 Michael Koch <konqueror@gmx.de>
3634 * javax/swing/JPopupMenu.java
3635 (isVisible): Do not use visible directly.
3636 (setVisible): Likewise.
3637 * javax/swing/JWindow.java
3638 (JWindow): call accessible constructor.
3639 * javax/swing/RepaintManager.java
3640 (paintDirtyRegions): Use public methods to obtain iterator.
3642 2004-05-25 David Jee <djee@redhat.com>
3644 * java/awt/Container.java
3645 (remove): Set component's parent to null only after we removed the
3646 component from its parent's layout manager.
3648 2004-05-25 David Jee <djee@redhat.com>
3650 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3651 (GtkComponentPeer): Set bounds regardless of whether awtComponent
3653 * gnu/java/awt/peer/gtk/GtkListPeer.java
3654 (getSize): Change native method declaration.
3655 (minimumSize): Pass visible row count into getSize().
3656 (preferredSize): Likewise.
3657 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
3658 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
3659 natural size. Use visible row count to determine the final height
3662 2004-05-21 Graydon Hoare <graydon@redhat.com>
3664 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
3665 (setClip): Minor correction to order of operations.
3667 * javax/swing/JScrollPane.java: Extend sketchy implementation.
3668 * javax/swing/ScrollPaneLayout.java: Likewise.
3669 * javax/swing/JViewPort.java: Likewise.
3670 * javax/swing/ViewportLayout.java: Likewise.
3672 * javax/swing/JComponent.java: Rewrite.
3673 * javax/swing/RepaintManager.java: Likewise.
3675 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
3676 * javax/swing/JList.java
3677 (setSelectedIndices):
3678 (getSelectedIndices):
3679 (getSelectedValues): New functions.
3680 (getPreferredScrollableViewportSize): Return preferred size.
3681 (getScrollableUnitIncrement):
3682 (getScrollableBlockIncrement): Initial implementations.
3683 * javax/swing/JRootPane.java: Clean up slightly.
3688 (isValidateRoot): Add overrides from JComponent.
3689 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
3690 * javax/swing/UIManager.java (getDimension): Return the dimension.
3692 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
3693 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3694 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3695 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3696 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3697 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
3698 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3699 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3700 Likewise, and set background.
3701 * javax/swing/plaf/basic/BasicListUI.java:
3702 Likewise, and improve a bit.
3703 * javax/swing/plaf/basic/BasicScrollBarUI.java:
3704 Likewise, and adjust calculations.
3705 * javax/swing/plaf/basic/BasicViewportUI.java:
3706 Likewise, and improve a bit.
3707 * javax/swing/plaf/basic/BasicLookAndFeel.java
3708 (Button.margin): Shrink.
3710 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
3711 Hack to set horizontal always, workaround pango.
3713 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
3714 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
3715 Synchronize more often, check cairo status after ops,
3716 handle changes to cairo pattern API, check for disposal.
3718 2004-05-21 Olga Rodimina <rodimina@redhat.com>
3720 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3721 (BasicMenuItemUI): Create propertyChangeListener.
3722 (getPath):Implemented.
3723 (installListeners): Add propertyChangeListener to menuItem.
3724 (uninstallListeners): Remove propertyChangeListener from menuItem.
3725 (update): Implemented.
3726 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
3727 (mouseEntered): Take insets of popup menu into account when
3728 calculating position of popup menu.
3730 2004-05-18 Olga Rodimina <rodimina@redhat.com>
3732 * Makefile.am: Added new file.
3733 * Makefile.in: Regenerate.
3734 * javax/swing/JMenuBar.java:
3735 Started implementation.
3736 * javax/swing/JPopupMenu.java:
3737 (setVisible): Fixed location of lightweight/mediumweight
3739 (show): Fixed location of PopupMenu.
3740 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3741 New file. UI Delegate for JMenuBar.
3742 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
3743 (mouseEntered): Corrected position of the submenu.
3745 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3747 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
3748 to _gtk_accel_group_attach.
3749 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
3752 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
3753 package access. Don't override setFont.
3754 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
3755 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
3756 gtkWidgetRequestFocus package access.
3757 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
3759 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
3760 Give gtkWidgetRequestFocus package access.
3761 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
3762 gtkWidgetRequestFocus package access. Don't override setFont.
3763 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
3765 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3766 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
3768 (gtkSetFont): Likewise.
3769 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
3771 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3772 (gtkSetFont): Whitespace fix.
3774 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3775 (gtkWidgetSetUsize): Remove method.
3777 2004-05-18 David Jee <djee@redhat.com>
3779 * java/awt/image/MemoryImageSource.java
3780 (newPixels(int,int,int,int,boolean)): Set only the specified
3781 rectangle of pixels.
3782 (newPixels(byte[],ColorModel,int,int)): Implement.
3783 (newPixels(int[],ColorModel,int,int)): Implement.
3785 2004-05-18 Olga Rodimina <rodimina@redhat.com>
3787 * Makefile.am: Added new file.
3788 * Makefile.in: Regenerate.
3789 * javax/swing/JMenu.java: Started
3791 * javax/swing/JPopupMenu.java:
3792 (insert): If specified index is -1, then
3793 add component at the end.
3794 (isPopupTrigger): Reimplemented.
3795 (JPopupMenu.LightWeightPopup): setBounds
3796 of the lightWeightPopup before adding it
3798 (javax/swing/plaf/basic/BasicIconFactory.java):
3799 (getMenuArrowIcon): Implemented.
3800 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3801 (getPreferredSize): Add size of the arrow icon
3802 if this menu item is instance of JMenu.
3803 (paintMenuItem): Paint arrow icon if this
3804 menu item is a submenu.
3805 * javax/swing/plaf/basic/BasicMenuUI.java:
3806 New File. UI Delegate for JMenu.
3808 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
3810 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
3811 Post KEY_TYPED events.
3812 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3813 (generates_key_typed_event): Remove function.
3815 2004-05-17 Olga Rodimina <rodimina@redhat.com>
3817 * javax/swing/JRootPane.java
3818 (JRootPane.RootLayout): Reimplemented to
3819 set bounds of contentPane and menuBar.
3820 (setJMenuBar): Add menu bar to the layered pane.
3821 (createLayeredPane): Set layout of layeredPane
3823 * javax/swing/JLayeredPane.java:
3824 (addImpl): Calculate index of the component in the
3825 layeredPane according to the specified position within
3828 2004-05-17 David Jee <djee@redhat.com>
3830 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3831 (setPixels): Change color model to the default model after
3833 * java/awt/image/MemoryImageSource.java
3834 (newPixels): Set only the specified rectangle of pixels.
3836 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
3838 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
3839 -l-java-beans -l-javax-accessibility -l-javax-swing.
3841 * java/awt/AWTEvent.java (toString): Print source's name rather
3842 than the source itself.
3844 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
3846 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
3848 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3849 (gdk_color_to_java_color): New function.
3850 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
3852 2004-05-12 David Jee <djee@redhat.com>
3854 * java/awt/image/RGBImageFilter.java:
3855 Initialize origmodel as null.
3856 (makeColor): Fix pixel component order.
3857 (filterRGBPixels): Fix pixel iteration.
3858 (setPixels): Add extra checks for index color model. Convert pixels
3859 to default color model if necessary.
3860 (convertColorModelToDefault): New override method for byte pixels.
3861 (convertColorModelToDefault): For int pixels, fix pixel iteration.
3862 (makeColorbyDefaultCM): New override method for byte pixels.
3863 (makeColorbyDefaultCM): For int pixel, add color model as argument.
3864 (makeColor): Fix pixel component order.
3866 2004-05-11 Kim Ho <kho@redhat.com>
3868 * javax/swing/Box.java:
3869 Comment out more parts of Box.Filler.
3871 2004-05-11 Kim Ho <kho@redhat.com>
3873 * javax/swing/Box.java:
3874 Remove reference to AccessibleAWTComponent so
3877 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
3879 * gnu/java/awt/peer/gtk/GtkListPeer.java,
3880 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
3881 implementation of list peer to use GtkTreeView instead of
3882 deprecated GtkCList.
3884 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
3886 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3887 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
3888 (handleEvent): Remove keyChar argument to
3889 gtkWidgetDispatchKeyEvent calls.
3890 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
3892 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
3893 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
3894 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
3897 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
3899 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3900 (gtkWidgetRequestFocus): Mark protected.
3901 (GtkComponentPeer): Only set the peer's bounds if its component
3903 * java/awt/Component.java (static): Set the default keyboard
3905 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
3906 requestFocusInWindow(temporary)): Don't request focus if the
3907 component is not showing. Get tree lock before traversing
3908 component hierarchy.
3909 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3910 Only set the global focus owner if it is not a Window.
3911 (processKeyEvent): Consume keystrokes associated with the focus
3912 traversal keystroke.
3913 (focusPreviousComponent, focusNextComponent, upFocusCycle,
3914 downFocusCycle): Call requestFocusInWindow instead of
3916 * java/awt/EventDispatchThread.java (run): Move setting of
3917 default keyboard focus manager to Component.java.
3918 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3919 (awt_keycode_to_keysym): New function.
3920 (gtkWidgetDispatchKeyEvent): Finish implementation.
3921 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3922 (pre_event_handler): Add FIXME comment.
3924 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3925 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3926 (gtkWidgetRequestFocus): New method.
3927 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
3928 disable Tab and Shift-Tab keystrokes.
3929 (addNotify, appendText, insertText, replaceText): Simplify peer
3931 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3932 (connectSignals): Remove connections to "commit" signals.
3933 Remove C++-style comments.
3935 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3936 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3937 (handleEvent): Activate GTK button when the space bar key is
3939 (gtkActivate): New method.
3941 2004-05-06 David Jee <djee@redhat.com>
3943 * java/awt/image/CropImageFilter.java
3944 (setPixels): Implement for byte array pixels.
3945 * java/awt/image/ReplicateScaleFilter.java
3946 (setPixels): Implement for byte array pixels.
3947 (replicatePixels): Overload for byte array pixels.
3949 2004-05-06 Kim Ho <kho@redhat.com>
3951 * javax/swing/Box.java:
3952 (getAccessibleContext): Return an instance of the
3955 2004-05-05 David Jee <djee@redhat.com>
3957 * gnu/java/awt/peer/gtk/GdkGraphics.java
3958 (drawImage): When component is null, use SystemColor.window as
3959 the default bgcolor.
3960 * gnu/java/awt/peer/gtk/GtkImage.java
3961 (setPixels): We can avoid iterating through the pixel rows only
3963 * java/awt/Image.java
3964 (getScaledInstance): Partially implement.
3965 * java/awt/image/CropImageFilter.java
3966 (setProperties): Fix "filter" property.
3967 (setPixels): Implement.
3968 * java/awt/image/ReplicateScaleFilter.java
3969 (setDimensions): Use scaled dimensions.
3970 (setPixels): Implement.
3971 (replicatePixels): New method.
3973 2004-05-05 David Jee <djee@redhat.com>
3975 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3976 (convertPixels): If either pixels or model is null, return null.
3977 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
3978 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
3979 is null, do nothing and return.
3981 2004-05-03 Kim Ho <kho@redhat.com>
3983 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
3984 (getGraphics): Like GtkFramePeer, the Graphics
3985 object needs to be translate to account for
3987 (postMouseEvent): New method. Account for
3989 (postExposeEvent): ditto.
3990 * javax/swing/Box.java: Stubbed.
3991 * javax/swing/JDialog.java: Ran through jalopy
3993 (JDialog): Call SwingUtilities' getOwnerFrame
3995 (setLayout): Check isRootPaneCheckingEnabled
3996 * javax/swing/JOptionPane.java: Re-implemented.
3997 * javax/swing/SwingUtilities.java:
3998 (getOwnerFrame): Static method to grab a default
3999 owner frame for Dialogs that don't specify owners.
4000 * javax/swing/event/SwingPropertyChangeSupport.java:
4001 (firePropertyChange): Fix early exit condition.
4002 * javax/swing/plaf/basic/BasicLabelUI.java:
4003 (paint): Avoid painting text if it is null
4005 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
4008 2004-05-03 Olga Rodimina <rodimina@redhat.com>
4010 * Makefile.am: Added new file.
4011 * Makefile.in: Regenerate.
4012 * javax/swing/JPopupMenu.java:
4013 Started implementation.
4014 * javax/swing/JWindow.java
4015 (JWindow): call super() if parent for window
4017 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4018 New File. UI Delegate for JPopupMenu.
4020 2004-04-30 Olga Rodimina <rodimina@redhat.com>
4022 * javax/swing/JApplet.java: Indicated that JApplet
4023 implements RootPaneContainer and made method of this
4025 * javax/swing/JFrame.java: Ditto.
4026 * javax/swing/JWindow.java: Ditto.
4028 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
4030 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4031 (nativeSetBounds): Call gdk_window_move in addition to
4034 * java/applet/Applet.java (preferredSize): Call parent's
4035 preferredSize if the applet stub is null.
4036 (minimumSize): Likewise for parent's minimumSize.
4038 2004-04-27 Olga Rodimina <rodimina@redhat.com>
4040 * javax/swing/JMenuItem.java
4041 (createActionPropertyChangeListener): Implemented.
4042 (processMouseEvent): Ditto.
4043 (fireMenuDragMouseEntered): Ditto.
4044 (fireMenuDragMouseExited): Ditto.
4045 (fireMenuDragMouseDragged): Ditto.
4046 (fireMenuDragMouseReleased): Ditto.
4047 (menuSelectionChanged): Ditto.
4048 (getSubElements): Ditto.
4049 (getComponent): Ditto.
4050 (addMenuDragMouseListener): Ditto.
4051 (removeMenuDragMouseListener):Ditto.
4052 (addMenuKeyListener): Ditto.
4053 (removeMenuKeyListener): Ditto.
4054 * javax/swing/plaf/basic/BasicMenuItemUI.java
4055 (doClick): Imlemented.
4056 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
4057 Don't handle mouse events here. Pass them to
4058 MenuSelectionManager.
4060 2004-04-26 Olga Rodimina <rodimina@redhat.com>
4061 Used correct version of jalopy configuration
4062 file to fix style in the files below.
4064 2004-04-26 Olga Rodimina <rodimina@redhat.com>
4066 * javax/swing/JCheckBoxMenuItem.java:
4067 Fixed style and removed unnecessary comments.
4068 * javax/swing/JMenuItem.java: Ditto.
4069 * javax/swing/JRadioButtonMenuItem.java: Ditto.
4070 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
4071 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
4072 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
4074 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
4076 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
4079 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
4081 * java/awt/ContainerOrderFocusTraversalPolicy.java
4082 (getComponentAfter): Start from current component and work up
4083 the component hierarchy until an acceptable component is found.
4084 Synchronize on tree lock.
4085 (getComponentBefore): Likewise.
4087 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4089 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
4090 focus-related debugging messages.
4091 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
4092 * java/awt/EventDispatchThread.java: Likewise.
4093 * java/awt/KeyboardFocusManager.java: Likewise.
4094 * java/awt/Window.java: Likewise.
4095 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
4096 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
4098 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
4099 new C++-style comments to C-style comments.
4100 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
4102 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4103 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4104 (handleEvent): Dispatch key press and key release events to
4106 (requestFocus): Post a FOCUS_GAINED event to the event queue.
4107 (gtkWidgetRequestFocus): New method.
4108 (gtkWidgetDispatchKeyEvent): Likewise.
4109 * java/awt/Component.java (requestFocus, requestFocus(boolean),
4110 requestFocusInWindow, requestFocusInWindow(boolean),
4111 getFocusCycleRootAncestor, nextFocus, transferFocus,
4112 transferFocusBackward, transferFocusUpCycle, hasFocus,
4113 isFocusOwner): Implement and document focus-handling methods.
4114 (setFocusTraversalKeys): Inherit focus traversal keys when
4115 keystrokes argument is null. Fix focus-handling documentation
4117 * java/awt/Container.java (setFocusTraversalKeys,
4118 getFocusTraversalKeys, areFocusTraversalKeysSet,
4119 isFocusCycleRoot, setFocusTraversalPolicy,
4120 getFocusTraversalPolicy, isFocusTraversalPolicySet,
4121 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
4122 Implement and document focus-handling methods.
4123 (transferFocusBackward): Remove method.
4124 (readObject, writeObject): Implement and document serialization
4126 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
4128 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
4130 * java/awt/DefaultKeyboardFocusManager.java: Implement and
4132 * java/awt/EventDispatchThread.java (run): Set default keyboard
4133 focus manager. Attempt to dispatch each event to the keyboard
4134 focus manager before normal dispatch.
4135 * java/awt/KeyboardFocusManager.java: Implement and partially
4137 * java/awt/Window.java (Window): Set focusCycleRoot to true.
4138 (show): Focus initial component when window is shown for the
4140 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4141 (pre_event_handler): Replace complex key press and key release
4142 logic with simple callbacks into GtkComponentPeer.
4143 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
4145 2004-04-21 Olga Rodimina <rodimina@redhat.com>
4147 * javax/swing/MenuSelectionManager.java
4148 (componentForPoint): Added new method.
4149 (defaultManager): New Method. Implemented.
4150 (getSelectedPath): Ditto.
4151 (isComponentPartOfCurrentMenu): Ditto.
4152 (processKeyEvent): Added new method.
4153 (processMouseEvent): New Method. Implemented.
4154 (setSelectedPath): Ditto.
4157 2004-04-19 Kim Ho <kho@redhat.com>
4159 * java/awt/Container.java:
4160 (remove): Set the component's parent to null.
4161 (getComponentAt): Implement.
4162 * javax/swing/JComponent.java:
4163 (JComponent): Initialize defaultLocale
4164 (getDefaultLocale): Implement.
4165 (setDefaultLocale): ditto.
4166 * javax/swing/JSlider.java:
4167 (JSlider): Fix calculation of value.
4168 * javax/swing/JSplitPane.java: Implement.
4169 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4170 Change SplitPane's default divider size.
4171 * javax/swing/plaf/basic/BasicScrollBarUI.java:
4172 (paint): Remove unused code.
4173 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
4174 Added comments and ran through jalopy.
4175 (setBasicSplitPaneUI): Get reference to hidden divider
4176 and set up one touch buttons if necessary.
4177 (setBorder): Fire propertyChangeEvent only if
4178 borders are different.
4179 (getPreferredSize): Defer to layout manager.
4180 (propertyChange): Implement.
4181 (oneTouchExpandableChanged): ditto.
4182 (createLeftOneTouchButton): Use BasicArrowButton.
4183 (createRightOneTouchButton): ditto.
4184 (moveDividerTo): New method. Moves the divider
4185 to a set location based on the last divider location.
4186 (BasicSplitPaneDivider::MouseHandler): Implement.
4187 (BasicSplitPaneDivider::OneTouchButton): Removed.
4188 (BasicSplitPaneDivider::DragController): Implement.
4189 (BasicSplitPaneDivider::VerticalDragController):
4191 (BasicSplitPaneDivider::DividerLayout): ditto.
4192 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
4193 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
4194 (calculateLayoutInfo): Don't show component if it's
4196 (paintTab): Fix title paint logic.
4198 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
4201 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
4202 (setStartRule,setEndRule): Don't take abs of day number.
4203 (getOffset): Clarify docs. Add argument checks.
4204 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
4205 (equals,hasSameRules,toString,readObject): Use startTimeMode and
4207 * testsuite/libjava.mauve/xfails
4208 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
4210 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
4212 Layout interfaces during preparation, not initialization.
4213 * java/lang/natClass.cc (initializeClass): Move
4214 _Jv_LayoutInterfaceMethods call...
4215 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
4217 2004-05-19 Anthony Green <green@localhost.localdomain>
4219 * Makefile.am (awt_java_source_files): Remove javax.rmi and
4221 * Makefile.in: Rebuilt.
4222 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
4223 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
4224 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
4225 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
4226 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
4227 gnu/javax/rmi/CORBA/DelegateFactory.java,
4228 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
4229 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
4230 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
4231 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
4232 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
4233 gnu/javax/rmi/PortableServer.java: Remove files.
4235 2004-05-19 Anthony Green <green@redhat.com>
4237 * Makefile.am: Define JAVA_EXT_DIRS.
4238 * Makefile.in: Rebuilt.
4239 * java/lang/natRuntime.cc (insertSystemProperties): Set
4240 java.ext.dirs property.
4242 2004-05-16 Mark Wielaard <mark@klomp.org>
4244 * java/io/Writer.java (Writer(Object)): Check for null lock object.
4246 2004-05-15 Mark Wielaard <mark@klomp.org>
4248 * doc/cni.sgml: Removed, merged into gcj.texi.
4250 2004-05-15 Mark Wielaard <mark@klomp.org>
4252 * Makefile.am (ordinary_java_source_files): Add new javax.print
4254 * Makefile.in: Regenerated.
4256 2004-05-15 Michael Koch <konqueror@gmx.de>
4258 * javax/print/attribute/standard/DateTimeAtCompleted.java,
4259 javax/print/attribute/standard/DateTimeAtCreation.java,
4260 javax/print/attribute/standard/DateTimeAtProcessing.java,
4261 javax/print/attribute/standard/DocumentName.java,
4262 javax/print/attribute/standard/JobHoldUntil.java,
4263 javax/print/attribute/standard/JobImpressionsCompleted.java,
4264 javax/print/attribute/standard/JobMessageFromOperator.java,
4265 javax/print/attribute/standard/JobName.java,
4266 javax/print/attribute/standard/JobOriginatingUserName.java,
4267 javax/print/attribute/standard/JobPriority.java,
4268 javax/print/attribute/standard/JobPrioritySupported.java,
4269 javax/print/attribute/standard/NumberOfInterveningJobs.java,
4270 javax/print/attribute/standard/OutputDeviceAssigned.java,
4271 javax/print/attribute/standard/PrinterInfo.java,
4272 javax/print/attribute/standard/PrinterLocation.java,
4273 javax/print/attribute/standard/PrinterMakeAndModel.java,
4274 javax/print/attribute/standard/PrinterMessageFromOperator.java,
4275 javax/print/attribute/standard/PrinterName.java,
4276 javax/print/attribute/standard/QueuedJobCount.java,
4277 javax/print/attribute/standard/RequestingUserName.java:
4278 Fixed javadocs all over.
4280 2004-05-15 Michael Koch <konqueror@gmx.de>
4282 * javax/print/DocFlavor.java,
4283 javax/print/attribute/standard/ColorSupported.java,
4284 javax/print/attribute/standard/Compression.java,
4285 javax/print/attribute/standard/CopiesSupported.java,
4286 javax/print/attribute/standard/Fidelity.java,
4287 javax/print/attribute/standard/Finishings.java,
4288 javax/print/attribute/standard/JobImpressionsSupported.java,
4289 javax/print/attribute/standard/JobKOctetsSupported.java,
4290 javax/print/attribute/standard/JobMediaSheetsSupported.java,
4291 javax/print/attribute/standard/JobSheets.java,
4292 javax/print/attribute/standard/JobState.java,
4293 javax/print/attribute/standard/JobStateReason.java,
4294 javax/print/attribute/standard/JobStateReasons.java,
4295 javax/print/attribute/standard/Media.java,
4296 javax/print/attribute/standard/MediaSizeName.java,
4297 javax/print/attribute/standard/MultipleDocumentHandling.java,
4298 javax/print/attribute/standard/NumberUpSupported.java,
4299 javax/print/attribute/standard/OrientationRequested.java,
4300 javax/print/attribute/standard/PDLOverrideSupported.java,
4301 javax/print/attribute/standard/PageRanges.java,
4302 javax/print/attribute/standard/PresentationDirection.java,
4303 javax/print/attribute/standard/PrintQuality.java,
4304 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
4305 javax/print/attribute/standard/PrinterMoreInfo.java,
4306 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
4307 javax/print/attribute/standard/PrinterResolution.java,
4308 javax/print/attribute/standard/PrinterState.java,
4309 javax/print/attribute/standard/PrinterStateReason.java,
4310 javax/print/attribute/standard/PrinterStateReasons.java,
4311 javax/print/attribute/standard/PrinterURI.java,
4312 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
4313 javax/print/attribute/standard/Severity.java,
4314 javax/print/attribute/standard/SheetCollate.java,
4315 javax/print/attribute/standard/Sides.java:
4316 Added serialVersionUID and removed final keyword where it doenst
4319 2004-05-15 Michael Koch <konqueror@gmx.de>
4321 * javax/print/PrintServiceLookup.java: New file.
4323 2004-05-15 Michael Koch <konqueror@gmx.de>
4325 * javax/print/DocFlavor.java:
4326 Implemented all flavor classes.
4328 2004-05-15 Michael Koch <konqueror@gmx.de>
4330 * javax/print/attribute/standard/ColorSupported.java,
4331 javax/print/attribute/standard/Compression.java,
4332 javax/print/attribute/standard/CopiesSupported.java,
4333 javax/print/attribute/standard/Fidelity.java,
4334 javax/print/attribute/standard/Finishings.java,
4335 javax/print/attribute/standard/JobImpressionsSupported.java,
4336 javax/print/attribute/standard/JobKOctetsSupported.java,
4337 javax/print/attribute/standard/JobMediaSheetsSupported.java,
4338 javax/print/attribute/standard/JobSheets.java,
4339 javax/print/attribute/standard/JobState.java,
4340 javax/print/attribute/standard/JobStateReason.java,
4341 javax/print/attribute/standard/JobStateReasons.java,
4342 javax/print/attribute/standard/Media.java,
4343 javax/print/attribute/standard/MediaSizeName.java,
4344 javax/print/attribute/standard/MultipleDocumentHandling.java,
4345 javax/print/attribute/standard/NumberUpSupported.java,
4346 javax/print/attribute/standard/OrientationRequested.java,
4347 javax/print/attribute/standard/PDLOverrideSupported.java,
4348 javax/print/attribute/standard/PageRanges.java,
4349 javax/print/attribute/standard/PresentationDirection.java,
4350 javax/print/attribute/standard/PrintQuality.java,
4351 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
4352 javax/print/attribute/standard/PrinterMoreInfo.java,
4353 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
4354 javax/print/attribute/standard/PrinterResolution.java,
4355 javax/print/attribute/standard/PrinterState.java,
4356 javax/print/attribute/standard/PrinterStateReason.java,
4357 javax/print/attribute/standard/PrinterStateReasons.java,
4358 javax/print/attribute/standard/PrinterURI.java,
4359 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
4360 javax/print/attribute/standard/Severity.java,
4361 javax/print/attribute/standard/SheetCollate.java,
4362 javax/print/attribute/standard/Sides.java: New files.
4364 2004-05-15 Michael Koch <konqueror@gmx.de>
4366 * javax/print/Doc.java
4367 (getPrintData): Throws IOException.
4368 (getReaderForText): Likewise.
4369 (getStreamForBytes): Likewise.
4370 * javax/print/DocFlavor.java:
4371 Fixed filename in copyright.
4372 (serialVersionUID): New field.
4373 * javax/print/ServiceUIFactory.java:
4374 Made all constants final.
4375 * javax/print/AttributeException.java
4376 javax/print/MultiDoc.java
4377 javax/print/MultiDocPrintJob.java
4378 javax/print/MultiDocPrintService.java
4379 javax/print/StreamPrintService.java
4380 javax/print/URIException.java: New files.
4381 * javax/print/Makefile.am
4382 (EXTRA_DIST): Added all new files.
4384 2004-05-15 Michael Koch <konqueror@gmx.de>
4386 * javax/print/attribute/standard/Copies.java,
4387 javax/print/attribute/standard/DateTimeAtCompleted.java,
4388 javax/print/attribute/standard/DateTimeAtCreation.java,
4389 javax/print/attribute/standard/DateTimeAtProcessing.java,
4390 javax/print/attribute/standard/DocumentName.java,
4391 javax/print/attribute/standard/JobHoldUntil.java,
4392 javax/print/attribute/standard/JobImpressions.java,
4393 javax/print/attribute/standard/JobImpressionsCompleted.java,
4394 javax/print/attribute/standard/JobKOctets.java,
4395 javax/print/attribute/standard/JobKOctetsProcessed.java,
4396 javax/print/attribute/standard/JobMediaSheets.java,
4397 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
4398 javax/print/attribute/standard/JobMessageFromOperator.java,
4399 javax/print/attribute/standard/JobName.java,
4400 javax/print/attribute/standard/JobOriginatingUserName.java,
4401 javax/print/attribute/standard/JobPriority.java,
4402 javax/print/attribute/standard/JobPrioritySupported.java,
4403 javax/print/attribute/standard/NumberOfDocuments.java,
4404 javax/print/attribute/standard/NumberOfInterveningJobs.java,
4405 javax/print/attribute/standard/NumberUp.java,
4406 javax/print/attribute/standard/OutputDeviceAssigned.java,
4407 javax/print/attribute/standard/PagesPerMinute.java,
4408 javax/print/attribute/standard/PagesPerMinuteColor.java:
4409 Fixed @return tag all over.
4411 2004-05-15 Michael Koch <konqueror@gmx.de>
4413 * javax/print/attribute/AttributeSetUtilities.java
4414 (verifyCategoryForValue): Fixed typo in javadoc.
4415 * javax/print/attribute/HashAttributeSet.java
4416 (containsKey): Fixed @return tag.
4417 (comtainsValue): Likewise.
4419 * javax/print/attribute/IntegerSyntax.java
4421 * javax/print/attribute/ResolutionSyntax.java
4423 (getCrossFeedResolution): Removed unused code.
4424 (getFeedResolution): Likewise.
4425 * javax/print/attribute/SetOfIntegerSyntax.java
4426 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
4427 (equals): Fixed @return tag.
4428 * javax/print/attribute/TextSyntax.java
4429 (TextSyntax): Take locale into account.
4430 (hashCode): Better implementation.
4432 2004-05-15 Michael Koch <konqueror@gmx.de>
4434 * javax/print/CancelablePrintJob.java,
4435 javax/print/Doc.java,
4436 javax/print/DocFlavor.java,
4437 javax/print/DocPrintJob.java,
4438 javax/print/FlavorException.java,
4439 javax/print/PrintException.java,
4440 javax/print/PrintService.java,
4441 javax/print/ServiceUIFactory.java: New files.
4443 2004-05-15 Mark Wielaard <mark@klomp.org>
4445 * gnu/regexp/CharIndexedReader.java: Removed.
4446 * gnu/regexp/REFilterReader.java: Likewise.
4447 * gnu/regexp/RETokenLookAhead.java: Likewise.
4448 * Makefile.am (ordinary_java_source_files): Remove above classes.
4449 * Makefile.in: Regenerated.
4451 2004-05-14 Tom Tromey <tromey@redhat.com>
4453 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
4454 not `XGraphicsConfiguration.XOffScreenImage'.
4456 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
4458 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
4460 2004-05-14 Steven Augart <augart@watson.ibm.com>
4462 * include/jni.h (_Jv_func): Removed.
4463 (struct JNINativeInterface): Use `void *' for reserved slots.
4464 (struct JNIInvokeInterface): Likewise.
4466 2004-05-11 Michael Koch <konqueror@gmx.de>
4468 * gnu/java/net/natPlainSocketImplPosix.cc
4469 (read): Fixed typo in expression.
4471 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
4473 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
4474 ld_library_additions. Adjust all calls to libjava_invoke to match
4477 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
4478 path to cxxflagslist.
4479 Pass path of libstdc++ to libjava_invoke.
4481 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
4482 libjava_invoke arguments.
4484 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
4486 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
4489 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
4491 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
4492 main binary against the JNI shared library.
4494 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
4496 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
4497 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
4498 (SimpleTimeZone): Tweak docs. Add new variation.
4499 (setStartRule,setEndRule): Add new variations. Use
4500 startTimeMode and endTimeMode.
4502 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
4504 * java/util/Calendar.java (getActualMinimum,
4505 getActualMaximum): Remove abstract. Implement.
4507 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
4509 Run the jni tests using the interpreter.
4510 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
4511 options_cxx to shared lib compile command.
4512 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
4513 they are used to link the shared lib, not the main binary.
4514 Use libjava_invoke to run gij.
4516 2004-05-06 Michael Koch <konqueror@gmx.de>
4518 * java/util/logging/Level.java
4519 (parse): Use == instead of String.equals().
4521 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
4523 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
4524 verify_field_signature and verify_method_signature, not
4525 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
4526 (_Jv_ClassReader::handleField): Likewise.
4527 (_Jv_ClassReader::handleMethod): Likewise.
4529 2004-05-06 Michael Koch <konqueror@gmx.de>
4531 * javax/swing/table/TableColumn.java:
4534 2004-05-06 Michael Koch <konqueror@gmx.de>
4536 * javax/imageio/spi/ImageReaderWriterSpi.java
4537 (ImageReaderWriterSpi): Made it public.
4538 * javax/imageio/stream/ImageInputStream.java:
4541 2004-05-06 Michael Koch <konqueror@gmx.de>
4543 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4546 2004-05-06 Michael Koch <konqueror@gmx.de>
4548 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
4549 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
4551 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
4552 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
4553 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
4554 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
4555 their own source file.
4556 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4557 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
4558 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
4559 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
4560 (create): Define variable on top of function.
4561 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
4562 (menu_pos): Prototyped.
4563 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4564 (setTitle): Removed.
4565 * jni/gtk-peer/gthread-jni.c
4566 (gdk_threads_wake): Removed.
4567 * Makefile.am (gtk_c_source_files): Added new files
4568 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
4569 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
4570 * Makefile.in: Regenerated.
4572 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
4574 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
4577 2004-05-05 Mark Wielaard <mark@klomp.org>
4579 * javax/swing/AbstractButton.java: Replace special HTML entities with
4581 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
4582 * javax/swing/DefaultButtonModel.java: Likewise.
4583 * javax/swing/DefaultListModel.java: Likewise.
4584 * javax/swing/JList.java: Likewise.
4585 * javax/swing/JSlider.java: Likewise.
4586 * javax/swing/ListModel.java: Likewise.
4587 * javax/swing/Popup.java: Likewise.
4588 * javax/swing/SwingUtilities.java: Likewise.
4590 2004-05-05 Michael Koch <konqueror@gmx.de>
4592 * javax/swing/AbstractButton.java,
4593 javax/swing/ActionMap.java,
4594 javax/swing/DefaultButtonModel.java,
4595 javax/swing/DefaultListModel.java,
4596 javax/swing/ImageIcon.java,
4597 javax/swing/JComboBox.java,
4598 javax/swing/JComponent.java,
4599 javax/swing/JFrame.java,
4600 javax/swing/JInternalFrame.java,
4601 javax/swing/JMenuBar.java,
4602 javax/swing/JMenuItem.java,
4603 javax/swing/JOptionPane.java,
4604 javax/swing/JProgressBar.java,
4605 javax/swing/JRootPane.java,
4606 javax/swing/JScrollBar.java,
4607 javax/swing/JScrollPane.java,
4608 javax/swing/JSeparator.java,
4609 javax/swing/JSlider.java,
4610 javax/swing/JTabbedPane.java,
4611 javax/swing/JTable.java,
4612 javax/swing/JTextField.java,
4613 javax/swing/JToolBar.java,
4614 javax/swing/JToolTip.java,
4615 javax/swing/JTree.java,
4616 javax/swing/JViewport.java,
4617 javax/swing/JWindow.java,
4618 javax/swing/KeyStroke.java,
4619 javax/swing/LookAndFeel.java,
4620 javax/swing/SwingUtilities.java,
4621 javax/swing/Timer.java,
4622 javax/swing/ToolTipManager.java,
4623 javax/swing/UIDefaults.java,
4624 javax/swing/border/TitledBorder.java,
4625 javax/swing/filechooser/FileSystemView.java,
4626 javax/swing/plaf/basic/BasicButtonListener.java,
4627 javax/swing/plaf/basic/BasicButtonUI.java,
4628 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4629 javax/swing/plaf/basic/BasicGraphicsUtils.java,
4630 javax/swing/plaf/basic/BasicLabelUI.java,
4631 javax/swing/plaf/basic/BasicMenuItemUI.java,
4632 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4633 javax/swing/plaf/basic/BasicRootPaneUI.java,
4634 javax/swing/plaf/basic/BasicScrollBarUI.java,
4635 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4636 javax/swing/plaf/basic/BasicSliderUI.java,
4637 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4638 javax/swing/plaf/basic/BasicToggleButtonUI.java,
4639 javax/swing/table/JTableHeader.java,
4640 javax/swing/text/AbstractDocument.java,
4641 javax/swing/text/DefaultCaret.java,
4642 javax/swing/text/StyledEditorKit.java,
4643 javax/swing/tree/DefaultTreeCellEditor.java:
4646 2004-05-05 Michael Koch <konqueror@gmx.de>
4648 * java/util/prefs/AbstractPreferences.java
4649 (AbstractPreferences): Added parenthesis for clarity.
4650 Closes classpath bug #7940.
4652 2004-05-05 Tom Tromey <tromey@redhat.com>
4654 * javax/naming/CompoundName.java (endsWith): Look at correct
4655 element of source name.
4657 2004-05-05 Mark Wielaard <mark@klomp.org>
4659 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
4660 * java/util/HashMap.java (rehash): Add entry at start of bucket.
4662 2004-05-05 Tom Tromey <tromey@redhat.com>
4664 * java/io/BufferedReader.java (skip): Removed unused
4667 2004-05-05 Michael Koch <konqueror@gmx.de>
4669 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
4671 2004-05-05 Dalibor Topic <robilad@kaffe.org>
4673 * java/text/AttributedString.java,
4674 java/text/AttributedStringIterator.java,
4675 java/text/Collator.java,
4676 java/text/DecimalFormatSymbols.java,
4677 java/text/NumberFormat.java,
4678 java/text/RuleBasedCollator.java:
4681 2004-05-05 Tom Tromey <tromey@redhat.com>
4683 * java/text/Format.java: Cleaned up imports.
4684 * java/text/DecimalFormat.java: Cleaned up imports.
4685 * java/security/SecureRandom.java: Cleaned up imports.
4686 (SecureRandom): Removed unused variable.
4687 * java/security/UnresolvedPermission.java: Cleaned up imports.
4688 * java/util/Date.java (parse): Removed unused variable.
4689 * java/util/ResourceBundle.java: Cleaned up imports.
4690 (getBundle): Removed unused variable.
4691 (tryBundle): Likewise.
4692 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
4694 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
4696 * java/text/SimpleDateFormat.java:
4697 (formatWithAttribute): New method. It implements
4698 the formatting process with attributes.
4699 (format): Use formatWithAttribute.
4700 (formatToCharacterIterator): New method. Use
4701 formatWithAttribute.
4703 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
4705 * java/text/MessageFormat.java:
4706 (class Field): New class.
4707 (formatToCharacterIterator): New method.
4708 (format): Use formatInternal now.
4709 (formatInternal): New method. String formatter should
4710 be done here (with attributes). Attributes merging supported.
4711 (parse): More documentation.
4712 (getFormatsByArgumentIndex): New method.
4713 (setFormatByArgumentIndex): New method.
4714 (setFormatsByArgumentIndex): New method.
4716 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
4718 * java/text/DecimalFormat.java
4719 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
4720 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
4721 (parse): Fixed handling of exponentiation notation and grouping.
4723 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
4725 * java/text/DecimalFormat.java
4726 (scanFix): Build attribute array. Fixed error reporting.
4727 (applyPatternWithSymbols): Store attributes for the prefix and
4729 (formatInternal): New method. Changed the way the string is
4730 computed. Implemented attributes. Cleant up rounding in
4731 exponential notation.
4732 (format): Use formatInternal.
4733 (formatToCharacterIterator): New method.
4734 (exponentRound, negativePrefixRanges, positivePrefixRanges,
4735 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
4736 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
4739 2004-05-04 Dalibor Topic <robilad@kaffe.org>
4741 * java/security/interfaces/DSAKeyPairGenerator.java,
4742 java/security/interfaces/DSAPrivateKey.java,
4743 java/security/interfaces/DSAPublicKey.java,
4744 java/security/interfaces/RSAPrivateKey.java,
4745 java/security/interfaces/RSAPublicKey.java:
4748 2004-05-04 Michael Koch <konqueror@gmx.de>
4750 * java/nio/ByteBuffer.java,
4751 java/nio/CharBuffer.java,
4752 java/nio/DoubleBuffer.java,
4753 java/nio/FloatBuffer.java,
4754 java/nio/IntBuffer.java,
4755 java/nio/LongBuffer.java,
4756 java/nio/ShortBuffer.java:
4757 (compareTo): Fixed bogus implementation in all buffer classes.
4759 2004-05-04 Ingo Proetel <proetel@aicas.com>
4761 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
4762 32 bit pixels not 8 bit pixels.
4763 (isCompatibleRaster): Added javadoc comment.
4765 2004-05-04 Ingo Proetel <proetel@aicas.com>
4767 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
4770 2004-05-04 Ingo Proetel <proetel@aicas.com>
4772 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
4773 (getColorModel): Return the actual color model.
4774 (getRaster): Implemented.
4775 (ColorRaster): New inner class.
4776 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
4778 * java/awt/Color.java (<init>): Make exception more verbose.
4779 (createContext): Use ColorModel when creating a PaintContext.
4781 2004-05-04 Michael Koch <konqueror@gmx.de>
4783 * gnu/java/text/CharacterBreakIterator.java
4784 (previous): Removed unused variable.
4786 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
4788 * gnu/java/text/FormatBuffer.java,
4789 gnu/java/text/AttributedFormatBuffer.java,
4790 gnu/java/text/StringFormatBuffer.java: New classes to implement
4791 attributed iterators in java.text.
4792 * gnu/java/text/FormatCharacterIterator.java: Moved
4793 from java/text as it is an internal class.
4794 * java/text/FormatCharacterIterator.java: Removed.
4795 * java/text/Format.java:
4796 Import gnu.java.text.FormatCharacterIterator.
4797 * Makefile.am (java_source_files): Added new files.
4798 * Makefile.in: Regenerated.
4801 2004-05-04 Mark Wielaard <mark@klomp.org>
4803 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
4805 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
4807 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
4808 * Makefile.in: Rebuilt.
4810 2004-05-03 Mark Wielaard <mark@klomp.org>
4812 * gnu/java/security/der/DERReader.java: Call static methods staticly.
4813 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
4815 (set(String, String, int, String, String, String, String, String)):
4816 Assign this.file to path or path + "?" + query.
4817 * java/util/Arrays.java: Call static methods staticly.
4818 * java/util/zip/ZipEntry.java: Likewise.
4819 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
4820 dir to this.direction.
4821 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
4822 Assign static field only once.
4823 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
4825 2004-05-03 Mark Wielaard <mark@klomp.org>
4827 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
4828 unused variables hScrollbarHeight and vScrollbarWidth.
4829 (preferredSize): Likewise.
4830 * gnu/java/security/provider/DSAParameters.java (engineToString):
4831 Removed unused call to System.getProperty("line.seperator");
4832 * java/security/Security.java (loadProviders): Return result.
4834 2004-05-03 Tom Tromey <tromey@redhat.com>
4836 * java/net/URLStreamHandler.java (toExternalForm): Removed
4839 * java/math/BigDecimal.java (divide): Removed unused variable.
4840 * java/lang/Throwable.java: Cleaned up imports.
4841 * java/lang/ClassLoader.java: Cleaned up imports.
4842 * java/io/FilePermission.java (implies): Removed unused
4844 * java/awt/TextComponent.java: Removed unused import.
4845 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
4846 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
4847 * gnu/java/text/WordBreakIterator.java: Removed unused import.
4848 * gnu/java/text/SentenceBreakIterator.java: Removed unused
4850 * gnu/java/text/LineBreakIterator.java: Removed unused import.
4851 * gnu/java/text/CharacterBreakIterator.java: Removed
4853 * gnu/java/security/provider/DSAKeyPairGenerator.java:
4855 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
4856 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
4858 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
4859 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
4860 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
4861 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
4862 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
4863 (lookupProviders): Removed unused variable.
4864 (loadNextServiceProvider): Likewise.
4865 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
4867 2004-05-03 Michael Koch <konqueror@gmx.de>
4869 Fixes PR libgcj/14695:
4870 * java/net/NetworkInterface.java
4871 (getByName): Return null when no interface was found.
4873 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
4874 Tom Tromey <tromey@redhat.com>
4876 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
4877 additional option "-Wmissing-prototypes" for compiling C sources.
4878 Print actual filename for pass/fail rather than $name.c.
4879 * testsuite/libjava.jni/PR15133.java: New testcase file.
4880 * testsuite/libjava.jni/PR15133.c: Likewise.
4881 * testsuite/libjava.jni/PR15133.out: Likewise.
4883 2004-04-30 Roger Sayle <roger@eyesopen.com>
4885 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
4888 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
4890 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
4891 limit the maximum heap size to avoid unnecessary thrashing.
4893 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
4895 * java/text/CollationElementIterator.java (reset): Reset
4896 lookahead variables.
4898 2004-04-23 Mark Wielaard <mark@klomp.org>
4900 * jni/classpath/jcl.c: Changed C++ comments into C comments.
4902 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4904 * java/sql/DriverManager.java:
4907 2004-04-23 Michael Koch <konqueror@gmx.de>
4910 (hashcode): Don't initialize with default value explicitely.
4911 (getContent): Removed redundant "final" keyword.
4912 (openStream): Likewise.
4913 (getURLStreamHandler): Fixed coding style.
4914 * java/net/URLConnection.java
4915 (defaultAllowUserInteraction): Don't initialize with default value
4917 (connected): Likewise.
4918 (doOutput): Likewise.
4919 (ifModifiedSince): Likewise.
4920 (dateformats_initialized): Likewise.
4921 (setURLStreamHander): Use StreamTokenizer where it belongs to.
4923 2004-04-23 Michael Koch <konqueror@gmx.de>
4925 * gnu/java/nio/channels/FileChannelImpl.java
4926 (SET, CUR): Unused, removed.
4927 (read): Implement here directly.
4928 (implRead): Removed.
4929 (write): Implement here directly.
4930 (implWrite): Removed.
4932 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4934 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
4935 javax/rmi/CORBA/Stub.java,
4936 javax/rmi/CORBA/Util.java,
4937 javax/rmi/CORBA/ValueHandler.java,
4938 javax/rmi/CORBA/ValueHandler.java,
4939 javax/rmi/PortableRemoteObject.java:
4942 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4944 * java/util/jar/JarFile.java,
4945 java/util/jar/JarInputStream.java,
4946 java/util/jar/JarOutputStream.java,
4947 java/util/jar/Manifest.java:
4950 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4952 * java/util/ArrayList.java,
4953 java/util/Calendar.java,
4954 java/util/Currency.java,
4955 java/util/HashMap.java,
4956 java/util/HashSet.java,
4957 java/util/Hashtable.java,
4958 java/util/LinkedList.java,
4959 java/util/Properties.java,
4960 java/util/PropertyPermission.java,
4961 java/util/TimeZone.java,
4962 java/util/TreeMap.java,
4963 java/util/TreeSet.java,
4964 java/util/Vector.java,
4965 java/util/WeakHashMap.java:
4968 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4970 * java/util/logging/FileHandler.java,
4971 java/util/logging/Formatter.java,
4972 java/util/logging/Handler.java,
4973 java/util/logging/Logger.java,
4974 java/util/logging/SimpleFormatter.java,
4975 java/util/logging/XMLFormatter.java:
4978 2004-04-22 Mark Wielaard <mark@klomp.org>
4980 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
4981 -Wno-long-long flags variable.
4982 (gtk_c_files): Use PEDANTIC_CFLAGS.
4983 * Makefile.in: Regenerated.
4985 2004-04-22 Mark Wielaard <mark@klomp.org>
4987 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4988 Changed C++ comments into C comments.
4989 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
4992 2004-04-22 Michael Koch <konqueror@gmx.de>
4994 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
4995 Merged copyright year with GNU classpath.
4997 2004-04-22 Dalibor Topic <robilad@kaffe.org>
4999 * javax/security/auth/x500/X500Principal.java:
5002 2004-04-22 Dalibor Topic <robilad@kaffe.org>
5004 * javax/swing/JSlider.java:
5005 Fixed HTML tags in comments.
5007 2004-04-22 Dalibor Topic <robilad@kaffe.org>
5009 * javax/accessibility/AccessibleText.java:
5012 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
5014 * java/net/URLStreamHandler.java
5015 (parseURL): Convert the file path to using '/' instead of native
5018 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
5021 (userInfo): New field.
5022 (URL): Set authority to the right value.
5023 (setURL): Fixed authority and file initialization.
5024 * java/net/URLStreamHandler.java
5025 (parseURL): Take care of the query tag. Build authority.
5026 (toExternalForm): Fixed URL building using authority.
5028 2004-04-22 Michael Koch <konqueror@gmx.de>
5030 * java/net/Socket.java
5031 (impl): Made package-private.
5032 * java/net/ServerSocket.java
5033 (implAccept): Access Socket.impl field directly.
5035 2004-04-22 Dalibor Topic <robilad@kaffe.org>
5037 * java/util/prefs/Preferences.java,
5038 java/util/prefs/InvalidPreferencesFormatException.java,
5039 java/util/prefs/BackingStoreException.java,
5040 java/util/prefs/AbstractPreferences.java:
5043 2004-04-22 Dalibor Topic <robilad@kaffe.org>
5045 * java/util/regex/Matcher.java,
5046 java/util/regex/Pattern.java:
5049 2004-04-22 Michael Koch <konqueror@gmx.de>
5051 * java/nio/charset/IllegalCharsetNameException.java
5052 (charsetName): Made private.
5053 (IllegalCharsetNameException): Added @param tag to javadoc.
5054 (getCharsetName): Added @return tag to javadoc.
5055 * java/nio/charset/MalformedInputException.java
5056 (MalformedInputException): Added @param tag to javadoc.
5057 (getInputLength): Revised method description, added @return tag.
5058 (getMessage): Added @return tag.
5060 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
5062 * java/awt/Font.java (deriveFont): Implement missing variants.
5063 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
5066 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
5068 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
5069 Set method->index values for interface methods to their itable index.
5070 (initializeClass): Call _Jv_LayoutInterfaceMethods.
5072 2004-04-21 Michael Koch <konqueror@gmx.de>
5074 * java/nio/DirectByteBufferImpl.java
5075 (shiftDown): Made static, give address as argument and
5076 provide a convenience method that overwrites shiftDown in
5077 ByteBufferImpl and calls the native shiftDown.
5078 * java/nio/MappedByteBufferImpl.java
5079 (): Use optimized method in DirectByteBufferImpl.
5080 * java/nio/natDirectByteBufferImpl.cc
5081 (shiftDown): Changed method signature. Removed usage of array_offset.
5083 2004-04-21 Michael Koch <konqueror@gmx.de>
5085 * gnu/java/net/natPlainSocketImplPosix.cc
5086 (SocketInputStream::read): Make sure returned data is a byte value.
5088 2004-04-21 Michael Koch <konqueror@gmx.de>
5090 * gnu/classpath/ServiceFactory.java,
5091 gnu/classpath/ServiceProviderLoadingAction.java,
5092 javax/imageio/ImageReader.java,
5093 javax/imageio/ImageTranscoder.java,
5094 javax/imageio/ImageWriter.java,
5095 javax/imageio/package.html,
5096 javax/imageio/spi/IIOServiceProvider.java,
5097 javax/imageio/spi/ImageInputStreamSpi.java,
5098 javax/imageio/spi/ImageOutputStreamSpi.java,
5099 javax/imageio/spi/ImageReaderWriterSpi.java,
5100 javax/imageio/spi/ImageTranscoderSpi.java,
5101 javax/imageio/spi/RegisterableService.java,
5102 javax/imageio/spi/ServiceRegistry.java,
5103 javax/imageio/spi/package.html,
5104 javax/imageio/stream/IIOByteBuffer.java,
5105 javax/imageio/stream/ImageInputStream.java,
5106 javax/imageio/stream/ImageOutputStream.java,
5107 javax/imageio/stream/package.html:
5110 (ordinary_java_source_files): Added
5111 gnu/classpath/ServiceFactory.java and
5112 gnu/classpath/ServiceProviderLoadingAction.java.
5113 (javax_source_files): Added
5114 javax/imageio/ImageReader.java,
5115 javax/imageio/ImageTranscoder.java,
5116 javax/imageio/ImageWriter.java,
5117 javax/imageio/spi/IIOServiceProvider.java,
5118 javax/imageio/spi/ImageInputStreamSpi.java,
5119 javax/imageio/spi/ImageOutputStreamSpi.java,
5120 javax/imageio/spi/ImageReaderWriterSpi.java,
5121 javax/imageio/spi/ImageTranscoderSpi.java,
5122 javax/imageio/spi/RegisterableService.java,
5123 javax/imageio/spi/ServiceRegistry.java,
5124 javax/imageio/stream/IIOByteBuffer.java,
5125 javax/imageio/stream/ImageInputStream.java and
5126 javax/imageio/stream/ImageOutputStream.java.
5127 * Makefile.in: Regenerated.
5129 2004-04-21 Michael Koch <konqueror@gmx.de>
5131 * java/util/Properties.java
5132 (load): Fix wrongly merged fix.
5134 2004-04-21 Mark Wielaard <mark@klomp.org>
5136 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
5137 malloc and free buf.
5139 2004-04-21 Dalibor Topic <robilad@kaffe.org>
5141 * javax/naming/AuthenticationException.java,
5142 javax/naming/AuthenticationNotSupportedException.java,
5143 javax/naming/CannotProceedException.java,
5144 javax/naming/CommunicationException.java,
5145 javax/naming/CompoundName.java,
5146 javax/naming/ConfigurationException.java,
5147 javax/naming/ContextNotEmptyException.java,
5148 javax/naming/InitialContext.java,
5149 javax/naming/InsufficientResourcesException.java,
5150 javax/naming/InterruptedNamingException.java,
5151 javax/naming/LimitExceededException.java,
5152 javax/naming/LinkException.java,
5153 javax/naming/LinkLoopException.java,
5154 javax/naming/LinkRef.java,
5155 javax/naming/MalformedLinkException.java,
5156 javax/naming/Name.java,
5157 javax/naming/NameAlreadyBoundException.java,
5158 javax/naming/NameNotFoundException.java,
5159 javax/naming/NamingSecurityException.java,
5160 javax/naming/NoInitialContextException.java,
5161 javax/naming/NoPermissionException.java,
5162 javax/naming/NotContextException.java,
5163 javax/naming/PartialResultException.java,
5164 javax/naming/ReferralException.java,
5165 javax/naming/ServiceUnavailableException.java,
5166 javax/naming/SizeLimitExceededException.java,
5167 javax/naming/TimeLimitExceededException.java,
5168 javax/naming/directory/Attribute.java,
5169 javax/naming/directory/Attributes.java,
5170 javax/naming/directory/SearchResult.java,
5171 javax/naming/event/NamingExceptionEvent.java,
5172 javax/naming/spi/ResolveResult.java:
5175 2004-04-21 Mark Wielaard <mark@klomp.org>
5177 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5178 Changed C++ comments into C comments. Removed commented out code.
5179 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5181 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5183 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5185 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5187 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5189 * native/jni/gtk-peer/gthread-jni.c:
5192 2004-04-21 Mark Wielaard <mark@klomp.org>
5194 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
5195 static fields defined in interface.
5196 * javax/awt/JDialog.java: Likewise.
5197 (JDialog): Make constructors public.
5198 (getDefaultCloseOperation): Make public.
5199 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
5200 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
5201 * javax/swing/JViewport.java (JViewport): Make constructor public.
5203 2004-04-21 Michael Koch <konqueror@gmx.de>
5205 * java/util/Map.java
5206 (Entry): Removed redundant "static" modifier.
5207 * java/text/AttributedCharacterIterator.java:
5208 Updated copyright year.
5210 2004-04-20 Michael Koch <konqueror@gmx.de>
5212 * javax/naming/directory/SearchControls.java:
5213 Don't explicitely extend java.lang.Object.
5214 * javax/naming/spi/DirStateFactory.java:
5215 Merged copyright year with GNU classpath.
5217 2004-04-20 Michael Koch <konqueror@gmx.de>
5219 * java/nio/channels/Channels.java:
5220 Merged coding style with GNU classpath.
5222 2004-04-20 Michael Koch <konqueror@gmx.de>
5224 * java/net/ServerSocket.java
5225 Merged coding style from GNU classpath.
5227 2004-04-20 Michael Koch <konqueror@gmx.de>
5229 * java/io/BufferedWriter.java:
5230 Reordered variables to be at top of the class.
5231 (localFlush): Removed redundant final keyword.
5233 2004-04-20 Ingo Proetel <proetel@aicas.com>
5235 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
5237 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
5239 * java/text/DecimalFormat.java (scanFix): Removed suffix check
5240 for percent and permill check.
5242 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
5244 * java/text/FieldPosition.java
5245 (FieldPosition) Constructor now behaves as it should according
5246 to the java documentation.
5248 2004-04-20 Mark Wielaard <mark@klomp.org>
5250 * java/util/Properties.java: Use the word umlaut, not ä in api
5253 2004-04-20 Michael Koch <konqueror@gmx.de>
5255 * java/nio/Buffer.java,
5256 java/nio/channels/AlreadyConnectedException.java,
5257 java/nio/channels/AsynchronousCloseException.java,
5258 java/nio/channels/ByteChannel.java,
5259 java/nio/channels/CancelledKeyException.java,
5260 java/nio/channels/Channel.java,
5261 java/nio/channels/Channels.java,
5262 java/nio/channels/ClosedByInterruptException.java,
5263 java/nio/channels/ClosedChannelException.java,
5264 java/nio/channels/ClosedSelectorException.java,
5265 java/nio/channels/ConnectionPendingException.java,
5266 java/nio/channels/DatagramChannel.java,
5267 java/nio/channels/FileChannel.java,
5268 java/nio/channels/FileLock.java,
5269 java/nio/channels/FileLockInterruptionException.java,
5270 java/nio/channels/GatheringByteChannel.java,
5271 java/nio/channels/IllegalBlockingModeException.java,
5272 java/nio/channels/IllegalSelectorException.java,
5273 java/nio/channels/InterruptibleChannel.java,
5274 java/nio/channels/NoConnectionPendingException.java,
5275 java/nio/channels/NonReadableChannelException.java,
5276 java/nio/channels/NonWritableChannelException.java,
5277 java/nio/channels/NotYetBoundException.java,
5278 java/nio/channels/NotYetConnectedException.java,
5279 java/nio/channels/OverlappingFileLockException.java,
5280 java/nio/channels/Pipe.java,
5281 java/nio/channels/ReadableByteChannel.java,
5282 java/nio/channels/ScatteringByteChannel.java,
5283 java/nio/channels/SelectableChannel.java,
5284 java/nio/channels/SelectionKey.java,
5285 java/nio/channels/Selector.java,
5286 java/nio/channels/ServerSocketChannel.java,
5287 java/nio/channels/SocketChannel.java,
5288 java/nio/channels/UnresolvedAddressException.java,
5289 java/nio/channels/UnsupportedAddressTypeException.java,
5290 java/nio/channels/WritableByteChannel.java,
5291 java/nio/channels/spi/AbstractInterruptibleChannel.java,
5292 java/nio/channels/spi/AbstractSelectableChannel.java,
5293 java/nio/channels/spi/AbstractSelectionKey.java,
5294 java/nio/channels/spi/AbstractSelector.java,
5295 java/nio/channels/spi/SelectorProvider.java,
5296 java/nio/charset/spi/CharsetProvider.java:
5297 Fixed javadocs and jalopied all over java.nio.
5299 2004-04-20 Michael Koch <konqueror@gmx.de>
5301 * java/nio/ByteBufferImpl.java,
5302 java/nio/CharBufferImpl.java,
5303 java/nio/DirectByteBufferImpl.java,
5304 java/nio/DoubleBufferImpl.java,
5305 java/nio/DoubleViewBufferImpl.java,
5306 java/nio/FloatBufferImpl.java,
5307 java/nio/FloatViewBufferImpl.java,
5308 java/nio/IntBufferImpl.java,
5309 java/nio/IntViewBufferImpl.java,
5310 java/nio/LongBufferImpl.java,
5311 java/nio/LongViewBufferImpl.java,
5312 java/nio/MappedByteBufferImpl.java,
5313 java/nio/ShortBufferImpl.java,
5314 java/nio/ShortViewBufferImpl.java:
5315 Made sure all classes are final and removed final keyword from all
5318 2004-04-20 Michael Koch <konqueror@gmx.de>
5320 * java/rmi/MarshalledObject.java,
5321 java/rmi/Naming.java,
5322 java/rmi/RemoteException.java,
5323 java/rmi/activation/ActivationException.java,
5324 java/rmi/server/ServerCloneException.java,
5325 java/security/AccessController.java,
5326 java/security/AlgorithmParameterGenerator.java,
5327 java/security/AlgorithmParameters.java,
5328 java/security/CodeSource.java,
5329 java/security/Identity.java,
5330 java/security/IdentityScope.java,
5331 java/security/KeyPairGenerator.java,
5332 java/security/KeyStore.java,
5333 java/security/Security.java,
5334 java/security/Signature.java,
5335 java/security/SignatureSpi.java,
5336 java/security/SignedObject.java,
5337 java/security/spec/DSAParameterSpec.java,
5338 java/security/spec/DSAPrivateKeySpec.java,
5339 java/security/spec/DSAPublicKeySpec.java,
5340 java/sql/Array.java,
5341 java/sql/DatabaseMetaData.java,
5342 java/sql/ResultSet.java,
5343 java/text/ChoiceFormat.java,
5344 java/text/CollationElementIterator.java,
5345 java/text/CollationKey.java,
5346 java/text/Collator.java,
5347 java/text/DateFormat.java,
5348 java/text/DateFormatSymbols.java,
5349 java/text/DecimalFormatSymbols.java,
5350 java/text/Format.java,
5351 java/text/ParsePosition.java,
5352 java/text/RuleBasedCollator.java,
5353 java/text/SimpleDateFormat.java,
5354 java/text/StringCharacterIterator.java,
5355 java/util/Collections.java,
5356 java/util/PropertyResourceBundle.java,
5357 java/util/ResourceBundle.java,
5358 java/util/StringTokenizer.java,
5359 java/util/jar/Attributes.java,
5360 java/util/logging/ConsoleHandler.java,
5361 java/util/logging/LogManager.java,
5362 java/util/logging/MemoryHandler.java,
5363 java/util/logging/SocketHandler.java,
5364 javax/naming/NamingException.java:
5365 Fixed javadoc, coding style and argument names all over.
5367 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
5369 * java/io/FileDescriptor.java: (FileDescriptor) Added public
5370 constructor. (valid) Added null check.
5372 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
5374 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
5375 * java/io/FileOutputStream.java
5376 (FileOutputStream) Reorganized constructors. Constructors now
5377 check whether the given path is directory.
5379 2004-04-20 Michael Koch <konqueror@gmx.de>
5381 * java/net/Authenticator.java,
5382 java/net/BindException.java,
5383 java/net/ConnectException.java,
5384 java/net/ContentHandler.java,
5385 java/net/ContentHandlerFactory.java,
5386 java/net/DatagramPacket.java,
5387 java/net/DatagramSocket.java,
5388 java/net/DatagramSocketImpl.java,
5389 java/net/DatagramSocketImplFactory.java,
5390 java/net/FileNameMap.java,
5391 java/net/HttpURLConnection.java,
5392 java/net/Inet4Address.java,
5393 java/net/Inet6Address.java,
5394 java/net/InetAddress.java,
5395 java/net/InetSocketAddress.java,
5396 java/net/JarURLConnection.java,
5397 java/net/MalformedURLException.java,
5398 java/net/MulticastSocket.java,
5399 java/net/NetPermission.java,
5400 java/net/NetworkInterface.java,
5401 java/net/NoRouteToHostException.java,
5402 java/net/PasswordAuthentication.java,
5403 java/net/PortUnreachableException.java,
5404 java/net/ProtocolException.java,
5405 java/net/ServerSocket.java,
5406 java/net/Socket.java,
5407 java/net/SocketAddress.java,
5408 java/net/SocketException.java,
5409 java/net/SocketImpl.java,
5410 java/net/SocketImplFactory.java,
5411 java/net/SocketOptions.java,
5412 java/net/SocketPermission.java,
5413 java/net/SocketTimeoutException.java,
5415 java/net/URISyntaxException.java,
5417 java/net/URLClassLoader.java,
5418 java/net/URLConnection.java,
5419 java/net/URLDecoder.java,
5420 java/net/URLEncoder.java,
5421 java/net/URLStreamHandler.java,
5422 java/net/URLStreamHandlerFactory.java,
5423 java/net/UnknownHostException.java,
5424 java/net/UnknownServiceException.java:
5425 Fixed javadocs, coding style and argument names all over.
5427 2004-04-20 Michael Koch <konqueror@gmx.de>
5429 * java/lang/Byte.java,
5430 java/lang/CharSequence.java,
5431 java/lang/ClassLoader.java,
5432 java/lang/Compiler.java,
5433 java/lang/Double.java,
5434 java/lang/Float.java,
5435 java/lang/Integer.java,
5436 java/lang/Long.java,
5437 java/lang/Math.java,
5438 java/lang/Number.java,
5439 java/lang/Package.java,
5440 java/lang/Runtime.java,
5441 java/lang/RuntimePermission.java,
5442 java/lang/SecurityManager.java,
5443 java/lang/Short.java,
5444 java/lang/StringBuffer.java,
5445 java/lang/System.java,
5446 java/lang/ThreadGroup.java,
5447 java/lang/Throwable.java,
5448 java/lang/reflect/InvocationHandler.java,
5449 java/lang/reflect/Proxy.java:
5450 Fixed javadocs, coding style and argument names all over.
5452 2004-04-20 Michael Koch <konqueror@gmx.de>
5454 * java/io/BufferedWriter.java,
5455 java/io/ByteArrayInputStream.java,
5456 java/io/CharArrayWriter.java,
5457 java/io/DataInput.java,
5458 java/io/DataInputStream.java,
5460 java/io/FilterInputStream.java,
5461 java/io/InputStream.java,
5462 java/io/InputStreamReader.java,
5463 java/io/ObjectInputStream.java,
5464 java/io/ObjectStreamClass.java,
5465 java/io/PipedInputStream.java,
5466 java/io/PipedReader.java,
5467 java/io/PushbackInputStream.java,
5468 java/io/PushbackReader.java,
5469 java/io/RandomAccessFile.java,
5470 java/io/SerializablePermission.java,
5471 java/io/StreamTokenizer.java,
5472 java/io/StringWriter.java,
5473 java/io/WriteAbortedException.java,
5474 java/io/Writer.java:
5475 Fixed javadocs all over, rename arguments to match javadocs,
5478 2004-04-20 Ingo Proetel <proetel@aicas.com>
5480 * java/awt/FontMetrics.java:
5481 (charsWidth): fixed accumulation of total_width
5482 (getWidth): simple default implementation
5483 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
5484 in Rectangle constructor.
5485 * java/awt/image/Raster.java (toString): Added method.
5486 * java/awt/image/SampleModel.java (<init>): Added error cause
5487 information to thrown exception.
5488 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
5490 (setDataElements): New method.
5491 (setPixels): New method.
5492 (toString): New method.
5494 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
5496 * java/awt/image/ComponentColorModel.java
5497 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
5498 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
5499 Mauve tests on this method. Improved documentation.
5501 2004-04-20 Michael Koch <konqueror@gmx.de>
5503 * javax/swing/JLayeredPane.java,
5504 javax/swing/plaf/BorderUIResource.java,
5505 javax/swing/plaf/ComponentUI.java,
5506 javax/swing/undo/CompoundEdit.java,
5507 javax/swing/undo/StateEdit.java:
5508 Fixed HTML tags in javadocs all over.
5510 2004-04-20 Michael Koch <konqueror@gmx.de>
5512 * javax/print/attribute/EnumSyntax.java
5513 (getOffset): Made protected.
5514 * javax/print/attribute/HashAttributeSet.java
5515 (HashAttributeSet): Likewise.
5516 * javax/print/attribute/ResolutionSyntax.java
5517 (getFeedResolution): Fixed typo in exception name.
5518 (getCrossFeedResolution): Likewise.
5519 * javax/print/attribute/SetOfIntegerSyntax.java
5520 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
5521 * javax/print/attribute/TextSyntax.java
5522 (TextSyntax): Handle locale correctly.
5523 (hashCode): Calc better hashcode value.
5524 (equals): Fixed @return tag.
5525 (toString): New method.
5527 2004-04-20 Michael Koch <konqueror@gmx.de>
5529 * gnu/java/nio/FileLockImpl.java
5530 (static): Removed, not needed anymore.
5531 * gnu/java/nio/channels/FileChannelImpl.java
5532 (FileChannelImpl): Made final.
5533 (mode): Made private.
5534 (READ, WRITE, APPEND): Made public.
5535 (EXCL, SYNC, DSYNC): Likewise.
5536 (static): Load native JNI library, when needed.
5537 (length): Unused, removed.
5538 (available): Made public.
5539 (implPosition): Throws IOException.
5541 (implTruncate): Likewise.
5545 2004-04-20 Michael Koch <konqueror@gmx.de>
5547 * java/awt/AWTPermission.java,
5548 java/awt/Component.java,
5549 java/awt/ComponentOrientation.java,,
5550 java/awt/Dialog.java,
5551 java/awt/FontMetrics.java,
5552 java/awt/Graphics.java,
5553 java/awt/datatransfer/DataFlavor.java,
5554 java/beans/Introspector.java,
5555 java/beans/PropertyEditor.java,
5556 java/beans/PropertyEditorManager.java,
5557 java/beans/beancontext/BeanContextServiceProvider.java:
5558 Fixed HTML tags in javadocs all over.
5560 2004-04-20 Mark Wielaard <mark@klomp.org>
5562 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
5563 MissingResourceException is thrown.
5564 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
5565 null when a MissingResourceException is thrown. Should never happen.
5567 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
5569 * java/awt/image/DataBufferShort.java,
5570 java/awt/image/DataBufferFloat.java,
5571 java/awt/image/DataBufferDouble.java,
5572 java/awt/image/PixelInterleavedSampleModel.java: New files.
5573 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
5574 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
5576 2004-04-20 Michael Koch <konqueror@gmx.de>
5578 * Makefile.am (java_source_files): Added
5579 java/awt/image/DataBufferDouble.java,
5580 java/awt/image/DataBufferFloat.java,
5581 java/awt/image/DataBufferShort.java and
5582 java/awt/image/PixelInterleavedSampleModel.java.
5583 * Makefile.in: Regenerated.
5585 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
5587 * gcj/cni.h (JvAllocObject): Remove these obsolete,
5588 undocumented CNI calls.
5589 * include/java-interp.h (_Jv_InterpClass): No longer
5590 extends java.lang.Class.
5591 * java/lang/Class.h (Class): Add new field `aux_info'.
5592 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
5593 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
5594 Use Class->aux_info instead.
5595 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
5596 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
5597 Use Class->aux_info instead.
5598 * java/io/natObjectInputStream.cc (allocateObject): Use
5600 * java/lang/natClass.cc (newInstance): Likewise.
5601 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
5602 * java/lang/natObject.cc (clone): Likewise.
5603 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
5604 * java/lang/natVMClassLoader.cc (defineClass): Don't use
5605 JvAllocObject. Allocate klass->aux_info here for interpreted
5608 2004-04-17 Mark Wielaard <mark@klomp.org>
5610 * javax/swing/JToggleButton.java (ToggleButtonModel):
5611 Make public static inner class.
5612 * javax/swing/JTabbedPane.java (setComponentAt):
5613 Call Page.setComponent().
5614 (SCROLL_TAB_LAYOUT): Make public, value is 1.
5615 (WRAP_TAB_LAYOUT): Make public, value is 0.
5616 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
5617 Make private static inner class.
5619 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
5621 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
5622 arguments to match new signature. Remove FIXME comments.
5624 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
5626 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
5628 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
5631 2004-04-02 Olga Rodimina <rodimina@redhat.com>
5633 * Makefile.am: Added new file.
5634 * Makefile.in: Regenerate.
5635 * javax/swing/ImageIcon.java:
5636 (ImageIcon(file)): set description of the icon
5638 * javax/swing/JCheckBoxMenuItem.java:
5639 Mostly Implemented. Work in progress.
5640 * javax/swing/JRadioButtonMenuItem.java:
5641 Reimplement constructors to use JToggleButtonModel.
5642 * javax/swing/plaf/basic/BasicIconFactory.java:
5643 (getCheckBoxMenuItemIcon): return check box
5645 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5646 paint menu item selected only when it is armed and
5649 2004-04-02 David Jee <djee@redhat.com>
5651 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5652 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
5653 * java/awt/Component.java
5654 (add): Set the parent of the popup as this component.
5655 * java/awt/PopupMenu.java
5656 (addNotify): Create popup menu when peer is null.
5657 (show): Call addNotify() if peer is null.
5658 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5659 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
5660 argument for gtk_menu_popup() as zero. This causes the popup menu to
5661 respond to any mouse button.
5663 2004-03-31 Olga Rodimina <rodimina@redhat.com>
5665 * Makefile.am: Added new file.
5666 * Makefile.in: Regenerate.
5667 * javax/swing/JRadioButtonMenuItem.java:
5669 * javax/swing/plaf/basic/BasicIconFactory.java:
5670 (getRadioButtonMenuItemIcon): Return
5672 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5673 (getPreferredSize): Add size of checkIcon if it
5675 (installDefaults): Don't initialize checkIcon.
5676 It's value will be set in subclasses.
5677 (uninstallDefaults): remove uninstallation of
5679 (paint): Moved code to paintMenuItem().
5680 (paintMenuItem): Implemented.
5681 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
5682 UI delegate for JRadioButtonMenuItem.
5684 2004-03-29 Olga Rodimina <rodimina@redhat.com>
5686 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5687 Corrected position of the accelerator.
5689 2004-03-29 Olga Rodimina <rodimina@redhat.com>
5691 * Makefile.am: Added new file.
5692 * Makefile.in: Regenerate.
5693 * javax/swing/JMenuItem.java: Partly
5694 implemented. Work in progress
5695 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5696 Changed default value of acceleratorDelimiter.
5697 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5698 New class. Partly implemented.
5700 2004-03-26 Mark Wielaard <mark@klomp.org>
5702 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5703 (item_activate): Declare label before use.
5704 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5705 (gtkSetFont): Removed unused variable label.
5706 (addExposeFilter): Declare variables before use.
5707 (removeExposeFilter): Likewise.
5708 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5709 (ok_clicked): Declare str_fileName before use.
5711 2004-03-26 David Jee <djee@redhat.com>
5713 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
5714 (addSeparator): Remove.
5715 * java/awt/Menu.java
5716 (separator): Remove static final MenuItem field.
5717 (separatorLabel): New static final String field.
5718 (addSeparator): Do not use peer method; use add(MenuItem) instead.
5719 Use separatorLabel to denote that it is a separator.
5720 (insertSeparator): Create a new MenuItem with separatorLabel, instead
5721 of reusing the static separator instance, because a MenuItem instance
5722 can't be added more than once without being cloned.
5723 * java/awt/peer/MenuPeer.java
5724 (addSeparator): Remove from interface.
5726 2004-03-26 David Jee <djee@redhat.com>
5728 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5729 (connectSignals): New native method declaration.
5730 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
5731 * java/awt/MenuItem.java
5732 (getActionCommand): Return the label if the action command is not set.
5733 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
5734 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
5735 gtk_menu_shell_append().
5736 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
5737 (item_activate): Fix argument type.
5738 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
5740 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
5742 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
5743 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
5744 given. Add the menu widget's top-level GtkWindow to the global window
5745 group, so it can grab the pointer.
5746 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
5747 gtk_menu_shell_append().
5749 2004-03-23 Graydon Hoare <graydon@redhat.com>
5751 * java/text/AttributedString.java
5752 (addAttribute): Fix off-by-one.
5753 (getIterator): Likewise.
5754 * java/text/AttributedStringIterator.java
5755 (getRunLimit): Correct logic.
5756 (getRunStart): Likewise.
5757 (getAttribute): Fix inequality.
5758 (getAttributes): Likewise.
5759 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
5761 2004-03-23 Kim Ho <kho@redhat.com>
5763 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
5764 (calculateSizes): Return real width and height.
5766 2004-03-23 Kim Ho <kho@redhat.com>
5768 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5769 (calculateTabRects): Set the selectedRun before
5770 trying to rotate tabs.
5772 2004-03-23 Kim Ho <kho@redhat.com>
5774 * Makefile.am: New file
5775 * Makefile.in: Regenerate
5776 * java/awt/Graphics.java: (drawRect):
5777 Draw to the correct point.
5778 * javax/swing/DefaultSingleSelectionModel.java
5779 (isSelected): Return true if the selected index
5781 * javax/swing/JLabel.java: Do not change mnemonic
5782 index if text is null.
5783 * javax/swing/JProgressBar.java: Use JComponent's
5785 * javax/swing/JScrollBar.java: Ditto.
5786 * javax/swing/JSlider.java: Ditto.
5787 * javax/swing/JTabbedPane.java: Reimplement.
5788 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5789 Add defaults for TabbedPane.
5790 * javax/swing/plaf/basic/BasicArrowButton.java:
5792 * javax/swing/plaf/basic/BasicProgressBarUI.java:
5793 (paintDeterminate): Don't paint String if it's
5795 (paintIndeterminate): ditto.
5796 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
5799 2004-03-19 Michael Koch <konqueror@gmx.de>
5801 * java/awt/image/AffineTransformOp.java
5802 (AffineTransformOp): Made public.
5803 * javax/swing/JComponent.java
5804 (listenerList): Made protected.
5805 (accessibleContext): Likewise.
5806 * javax/swing/JList.java
5807 (valueChanged): Dont use internal fields of ListSelectionEvent.
5808 * javax/swing/JViewport.java
5809 (getView): Dont use internal fields of Component.
5810 (addImpl): Likewise.
5811 * javax/swing/Timer.java
5812 (isRunning): Made public.
5815 * javax/swing/UIDefaults.java
5816 (getInt): Made public.
5817 * javax/swing/plaf/basic/BasicListUI.java
5818 (mousePressed): Dont use internal fields of MouseEvent.
5819 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
5820 * javax/swing/plaf/basic/BasicScrollBarUI.java
5821 (arrowIcon): Made static.
5822 * javax/swing/plaf/basic/BasicViewportUI.java
5823 (stateChanged): Dont use internal field on ChangeEvent.
5824 * javax/swing/text/JTextComponent.java
5825 (getUI): Call UIManager.getUI().
5826 (updateUI): Use getUI().
5828 2004-03-19 Graydon Hoare <graydon@redhat.com>
5830 * javax/swing/JComponent.java: Turn off double buffer by default.
5831 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
5832 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5833 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
5834 Use cairo to copy areas.
5835 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
5836 Initialize and set clip region.
5838 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5840 * java/applet/Applet.java (preferredSize): Override deprecated
5841 variant of getPreferredSize.
5842 (minimumSize): Override deprecated variant of getMinimumSize.
5844 2004-03-15 Olga Rodimina <rodimina@redhat.com>
5846 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5847 (drawImage(img,xform,bgcolor,obs)): New Method.
5848 Helper function that every drawImage method will
5850 (drawRaster): Added new parameter, bgcolor. All
5851 transparent pixels are changed to bgcolor before
5853 (drawRenderedImage): Fixed to use changed drawRaster().
5854 (drawImage(image,xform,obs): Fixed to use new helper function
5855 (drawImage(image,op,x,y)): Ditto.
5856 (drawImage (img,x,y,observer)): Ditto.
5857 ((PainterThread) bgcolor): New Field.
5858 ((PainterThread) (setPixels)): Changed all transparent pixels
5860 (drawImage(img,x,y,width,height,bgcolor,observer)):
5861 Fixed FIXME - all the transparent pixels are
5862 changed to the specified bgcolor.
5863 (drawImage(img, x, y, width, height, observer): Changed to
5865 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
5866 Fixed FIXME- changed all transparent pixels to bgcolor.
5867 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
5868 Changed to use function above.
5870 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5872 * java/applet/Applet.java (dimensions): New field.
5873 (getDimensions): New method.
5874 (getPreferredSize): Call getDimensions.
5875 (getMinimumSize): Likewise.
5877 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
5879 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
5880 * jni/classpath/jnilink.c: Likewise.
5882 * java/applet/Applet.java (getPreferredSize): New method.
5883 (getMinimumSize): New method.
5885 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
5887 * prims.cc (_Jv_AllocObject): Remove `size' argument.
5888 (_Jv_AllocObjectNoFinalizer): Likewise.
5889 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
5890 (_Jv_AllocPtrFreeObject): Likewise.
5891 (_Jv_AllocString): Moved from natString.cc. Call collector interface
5892 directly even in the JVMPI case.
5893 * gcj/cni.h (JvAllocObject): Remove `size' argument from
5894 _Jv_AllocObject calls.
5895 * gcj/javaprims.h: Update prototypes.
5896 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
5897 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
5898 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
5900 2004-04-14 Andrew Haley <aph@redhat.com>
5901 Bryce McKinlay <mckinlay@redhat.com>
5903 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
5904 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
5905 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
5907 * testsuite/libjava.lang/InvokeInterface.java: New file.
5908 * testsuite/libjava.lang/InvokeInterface.out: New file.
5910 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
5912 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
5914 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
5915 StackTraceElement directly.
5916 (newElement): New native helper method to create StackTraceElement
5917 bypassing Java access control.
5918 (createStackTraceElement): Use newElement() instead of directly
5919 calling StackTraceElement's constructor.
5920 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
5922 2004-04-01 Michael Koch <konqueror@gmx.de>
5924 * java/lang/SecurityManager.java
5925 (checkAwtEventQueueAccess): Implemented.
5927 2004-04-01 Gary Benson <gbenson@redhat.com>
5929 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
5930 (_Jv_SearchMethodInClass): Likewise.
5932 2004-03-26 Peter Moon <peterm@miraculum.com>
5934 * java/text/NumberFormat.java: Fix spelling of setCurrency
5937 2004-03-21 Anthony Green <green@redhat.com>
5939 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
5940 recursion when searching for the system ClassLoader.
5942 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
5944 * java/net/ServerSocket.java
5945 (accept): Close the socket when error occured.
5947 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
5949 * java/net/URI.java (parseURI): Added unquoting.
5950 (unquote): New method.
5951 (quoteAuthority): Implemented.
5952 (quote(String,String)): New method.
5953 (quotePath): Implemented.
5954 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
5955 (getSchemeSpecificPart): Removed FIXME comment.
5956 (getRawAuthority): Return new rawAuthority field.
5957 (getAuthority): Removed FIXME comment.
5958 (getRawUserInfo): Return new rawUserInfo field.
5959 (getUserInfo): Removed FIXME comment.
5960 (getRawPath): Return new rawPath field.
5961 (getPath): Removed FIXME comment.
5962 (getRawQuery): Return new rawQuery field.
5963 (getQuery): Removed FIXME comment.
5964 (getRawFragment): Return new rawFragment field.
5965 (getFragment): Removed FIXME comment.
5967 2004-03-20 Michael Koch <konqueror@gmx.de>
5969 * java/net/URLConnection.java: Merged copyright year with classpath.
5971 2004-03-20 Norbert Frese <postfach@nfrese.net>
5973 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
5974 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
5975 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
5977 (getObjectInputStream): Return object reference, throw IOException if null.
5978 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
5979 (getObjectOutputStream): Return object reference, throw IOException if null.
5980 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
5981 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
5982 (UnicastConnectionManager): Throw RemoteException if port is not available.
5983 (getInstance): Throw RemoteException.
5984 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
5985 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
5986 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
5987 Collect Exceptions which are returned by a rmi-call and fix void returns.
5988 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
5989 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
5990 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
5991 (dispatch): Answer ping messages which are sent by other java implementions.
5992 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
5993 for every rmi-message and fix void return problems.
5994 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
5995 (UnicastServerRef): Throw RemoteException.
5996 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
5997 In some situations it is necessary to export a subclass of the class which has the _Stub.
5998 For instance when the class with has the _Stub is abstract.
5999 (findStubSkelClass): New method which looks for the class which has the _Stub.
6000 (getClientHost): Implementated.
6001 * gcc/libjava/java/rmi/server/RemoteServer.java
6002 (getClientHost): Implementated.
6003 * gcc/libjava/Makefile.am (rmi_java_source_files):
6004 Added gnu/java/rmi/server/RMIIncomingThread.java.
6005 * Makefile.in: Regenerated.
6007 2004-03-20 Michael Koch <konqueror@gmx.de>
6009 * java/net/InetAddress.java
6010 (getLocalHostname): Added javadoc.
6012 2004-03-19 Per Bothner <per@bothner.com>
6014 * configure.in: FILE variable overrides FLATFORM when linking
6015 natFileChannelXXX.cc.
6017 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
6018 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
6020 2004-03-19 Per Bothner <per@bothner.com>
6022 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
6023 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
6024 * Makefile.am: Update accordingly.
6025 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
6026 as aliases for UnicodeLittle and UnicodeBig.
6028 2004-03-20 Mark Wielaard <mark@klomp.org>
6030 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6031 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
6032 Don't access ws when it is null.
6033 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
6036 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
6038 * java/lang/ThreadGroup.java (list): Changed print to println.
6040 2004-03-19 Mark Wielaard <mark@klomp.org>
6042 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
6045 2004-02-10 Randolph Chung <tausq@debian.org>
6047 * configure.in: Build java for hppa target.
6048 * configure: Regenerate.
6049 * libjava/configure.host (hppa-*): Add target.
6050 * libjava/sysdeps/pa/lock.h: New file.
6052 2004-03-19 Mark Wielaard <mark@klomp.org>
6054 Reported by Stephen Crawley
6055 * java/io/FilePermission.java (implies): Use String.length() -1 to
6056 access last char of String.
6058 2004-03-19 Michael Koch <konqueror@gmx.de>
6060 * java/awt/image/AffineTransformOp.java
6061 (AffineTransformOp): Made public.
6062 * javax/swing/JComponent.java
6063 (listenerList): Made protected.
6064 (accessibleContext): Likewise.
6065 * javax/swing/JList.java
6066 (valueChanged): Dont use internal fields of ListSelectionEvent.
6067 * javax/swing/JViewport.java
6068 (getView): Dont use internal fields of Component.
6069 (addImpl): Likewise.
6070 * javax/swing/Timer.java
6071 (isRunning): Made public.
6074 * javax/swing/UIDefaults.java
6075 (getInt): Made public.
6076 * javax/swing/plaf/basic/BasicListUI.java
6077 (mousePressed): Dont use internal fields of MouseEvent.
6078 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
6079 * javax/swing/plaf/basic/BasicScrollBarUI.java
6080 (arrowIcon): Made static.
6081 * javax/swing/plaf/basic/BasicViewportUI.java
6082 (stateChanged): Dont use internal field on ChangeEvent.
6083 * javax/swing/text/JTextComponent.java
6084 (getUI): Call UIManager.getUI().
6085 (updateUI): Use getUI().
6087 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6089 * verify.cc: Undef PC.
6091 2004-03-18 Michael Koch <konqueror@gmx.de>
6093 * java/nio/channels/spi/AbstractSelectableChannel.java
6094 (keys): Initialize at declaration.
6095 (locate): keys cant be null.
6097 (addSelectionKey): New method.
6098 (removeSelectionKey): New method.
6099 * java/nio/channels/spi/AbstractSelectionKey.java
6100 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
6101 * java/nio/channels/spi/AbstractSelector.java
6102 (provider): Javadoc added.
6103 (cancelledKeys): Javadoc added.
6104 (cancelKey): Javadoc added, add key to cancelledKeys.
6105 (deregister): Implemented.
6107 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6109 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
6110 MAP_FAILED to void *.
6112 2004-03-12 Graydon Hoare <graydon@redhat.com>
6114 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
6115 * javax/swing/JComponent.java (paint): Use persistent double buffer.
6116 * javax/swing/JList.java (ListListener): Revalidate on changes.
6117 * javax/swing/JScrollPane.java: Reimplement.
6118 * javax/swing/JViewport.java: Reimplement.
6119 * javax/swing/ScrollPaneLayout.java: Reimplement.
6120 * javax/swing/ViewportLayout.java: Tidy up.
6121 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
6122 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
6123 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
6124 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
6127 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
6129 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6130 (window_wm_protocols_filter): New function.
6131 (window_focus_in_cb): Remove function.
6132 (window_focus_out_cb): Likewise.
6133 (window_focus_or_active_state_change_cb): New function.
6134 (create): Add filter that removes WM_TAKE_FOCUS client messages.
6135 (connectSignals): Don't attach handlers to focus-in-event or
6136 focus-out-event signals. Handle notify signal.
6138 2004-03-11 David Jee <djee@redhat.com>
6140 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
6141 (gtkSetLabel): New native method declaration.
6142 (setLabel): Use gtkSetLabel.
6143 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
6144 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
6146 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6148 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
6149 black when color argument is null.
6151 2004-03-10 Kim Ho <kho@redhat.com>
6153 * java/awt/Container.java: Remove check
6156 2004-03-10 Kim Ho <kho@redhat.com>
6158 * java/awt/Container.java: (visitChild):
6159 Remove candidate clip. Use the component
6161 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6162 (handleEvent): Use the PaintEvent's clip.
6164 2004-03-10 Kim Ho <kho@redhat.com>
6166 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6167 (handleEvent): Don't set the clip for the
6170 2004-03-09 Graydon Hoare <graydon@redhat.com>
6172 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6173 Fix double <-> fixed macros, reset font transform.
6174 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
6177 2004-03-09Â Kim Ho <kho@redhat.com>
6179 * java/awt/Container.java: (visitChild): Move
6180 the x and y coordinate of the component rectangle
6181 to correct position.
6182 (handleEvent): Forward drag events to the pressed
6184 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6186 (ArrowButtonListener::mousePressed): Stop the
6188 (mouseDragged): Implement.
6189 (TrackListener::mousePressed): Only react if
6190 the press doesn't occur on the thumb, otherwise
6191 just set the offset.
6192 (TrackListener::mouseReleased): Unset the isAdjusting
6194 (createIncreaseIcon): Switch icon.
6195 (createDecreaseIcon): Switch icon.
6196 (calculatePreferredSize): Use width.
6197 (getThumbBounds): Use the top as the lower value.
6198 (layoutVScrollBar): Switch the button locations.
6199 (paintIncreaseHighlight): Paint correct side of thumb.
6200 (paintDecreaseHighlight): ditto.
6201 (valueForYPosition): Use top as the lower value.
6202 * javax/swing/plaf/basic/BasicSliderUI.java:
6204 (mouseDragged): Implement.
6205 (mousePressed): Only react when the thumb isn't
6206 pressed, otherwise just set offset.
6207 (mouseReleased): Handle a release of the thumb.
6208 (scrollDueToClickInTrack): Stop the timer first.
6209 * javax/swing/JProgressBar.java:
6210 (setString): Fix change condition.
6211 * javax/swing/JSeparator.java:
6214 2004-03-08 David Jee <djee@redhat.com>
6216 * java/awt/image/AffineTransformOp.java:
6217 (filter): Use Graphics2D interface instead of directly using the
6220 2004-03-05 David Jee <djee@redhat.com>
6222 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
6223 (handleEvent): Action events are generated upon MOUSE_RELEASED.
6224 * java/awt/Container.java
6225 (acquireComponentForMouseEvent): Fixed.
6226 (handleEvent): Fixed.
6227 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6228 (state_to_awt_mods_with_button_states): New method.
6229 (pre_event_handler): Fixed mouse event generation.
6231 2004-03-05 Olga Rodimina <rodimina@redhat.com>
6233 gnu/java/awt/peer/gtk/GdkGraphics2D.java
6234 (GdkGraphics2D (BufferedImage)): Initialize
6235 pixmap associated with specified BufferedImage.
6236 (setPaint): Changed implementation of Texture
6237 Paint to use AffineTransformOp.
6238 * java/awt/image/AffineTransformOp.java
6239 (createCompatibleDestRaster): Throw RasterFormatException
6240 if resulting width or height of raster is 0.
6242 2004-03-04 Olga Rodimina <rodimina@redhat.com>
6244 * java/awt/image/AffineTransformOp.java:
6245 Removed unnecessary field interpolationType.
6246 Formatted some of the lines to be consistent with
6248 (AffineTransformOp): Create new RenderingHints
6249 containing specified interpolation type.
6250 (createCompatibleDestImage): Implemented.
6251 (createCompatibleDestRaster): Implemented.
6252 (filter): Implemented.
6253 (getBounds2D(BufferedImage)): Implemented.
6254 (getBounds2D(Raster)): Implemented.
6255 (getInterpolationType): Get interpolation value from
6258 2004-03-04 David Jee <djee@redhat.com>
6260 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6261 (setFont): Check if child peers are null.
6263 2004-03-04 Graydon Hoare <graydon@redhat.com>
6265 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
6267 (libjava_arguments): Add new libraries to argument list.
6269 2004-03-02 Olga Rodimina <rodimina@redhat.com>
6271 * Makefile.am: Added java/awt/image/AffineTransformOp.java
6272 * Makefile.in: Re-generated.
6273 * java/awt/image/AffineTransformOp.java: New Class.
6275 2004-03-01 Olga Rodimina <rodimina@redhat.com>
6277 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6278 (setPaint): Interpret correctly TexturePaint's
6280 (drawImage): Fixed scale factors of the affine
6283 2004-02-27 David Jee <djee@redhat.com>
6285 * gnu/java/awt/peer/gtk/GdkGraphics.java
6286 (GdkGraphics(Component)): Inherit font from component.
6287 (drawString): Use font style.
6288 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
6289 (gtkSetFont): New native method declaration.
6290 (setFont): New method.
6291 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6292 (gtkSetFont): New native method declaration.
6293 (setFont): Call new native method gtkSetFont.
6294 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6295 (setFont): For all child components who do not their fonts set,
6296 set their peers' fonts with this container's font.
6297 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
6298 Move all native method declarations to the top for readability.
6299 (gtkSetFont): New native method declaration.
6300 (setFont): New method.
6301 * java/awt/Component.java
6302 (setFont): Invalidate after setting the font.
6303 * java/awt/Container.java
6304 (invalidateTree): New method.
6305 (setFont): Invalidate the container tree after setting the font.
6306 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6307 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
6308 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
6309 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
6310 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6311 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
6312 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6313 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
6315 2004-02-27 Olga Rodimina <rodimina@redhat.com>
6317 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6318 (updateBufferedImage): New helper function.
6319 Updates BufferedImage in memory if it was changed.
6320 (draw): changed to update BufferedImage in memory after
6321 this drawing operation
6323 (draw3DRect): Ditto.
6324 (fill3DRect): Ditto.
6326 (drawRaster): Ditto.
6327 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
6328 no affine transformation.
6329 (drawGlyphVector): Ditto.
6331 2004-02-26 Olga Rodimina <rodimina@redhat.com>
6333 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6334 (isBufferedImageGraphics): New Helper function.
6335 Returns true if this graphics2d can be used to draw
6336 into buffered image and false otherwise.
6337 (updateImagePixels): New Helper function.
6338 Updates pixels in the BufferedImage.
6339 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6340 (getImagePixels): New function. Returns pixels
6341 of the buffered image associated with
6344 2004-02-26 David Jee <djee@redhat.com>
6346 * java/awt/BorderLayout.java
6347 (layoutContainer): Fix width and height calculations to ensure
6348 that they're non-negative.
6349 * java/awt/Component.java
6350 (setBackground): If c is null, inherit from closest ancestor whose
6351 background color is set.
6353 2004-02-26 Kim Ho <kho@redhat.com>
6355 * Makefile.am: Add new files.
6356 * Makefile.in: Re-generate.
6357 * javax/swing/JProgressBar.java:
6358 (JProgressBar(int, int int)): Throw
6359 IllegalArgumentException if orientation is
6361 (JProgressBar(BoundedRangeModel)): Create
6362 ChangeListener and register it. UpdateUI.
6363 (getChangeListeners): Implement.
6364 (setModel): Reset ChangeListener.
6365 * javax/swing/JScrollBar.java: Implement.
6366 * javax/swing/JSeparator.java: Implement.
6367 * javax/swing/JSlider.java:
6368 (JSlider(int, int, int, int)): Throw
6369 IllegalArgumentException if orientation
6371 (getChangeListeners): Fix method name.
6372 * javax/swing/SwingUtilities.java:
6373 (layoutCompoundLabel): If there is no text,
6374 set the text rectangle dimensions to 0.
6375 * javax/swing/plaf/basic/BasicButtonUI.java:
6376 (paint): If there is no text, don't paint it.
6377 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6379 * javax/swing/plaf/basic/BasicSeparatorUI.java:
6381 * javax/swing/plaf/basic/BasicSliderUI.java:
6382 (propertyChange): If the model changes, change
6383 the listeners accordingly.
6385 2004-02-25 Graydon Hoare <graydon@redhat.com>
6387 * javax/swing/AbstractButton.java: Add "final" qualifiers.
6388 * javax/swing/JList.java: Reimplement.
6389 * javax/swing/DefaultListSelectionModel.java: Reimplement.
6390 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
6391 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
6392 * javax/swing/ListModel.java: Javadoc.
6393 * javax/swing/ListSelectionModel.java: Add missing methods.
6394 * javax/swing/AbstractListModel.java: Javadoc and corrections.
6395 * javax/swing/DefaultListModel.java: Javadoc and corrections.
6396 * javax/swing/ListModel.java: Javadoc and corrections.
6397 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
6399 2004-02-25 David Jee <djee@redhat.com>
6401 * gnu/java/awt/peer/gtk/GtkFontPeer.java
6402 (GtkFontPeer): Change default size to 12.
6403 * gnu/java/awt/peer/gtk/GtkToolkit.java
6404 (getFontPeer): Change default size to 12.
6405 (getClasspathFontPeer): Likewise. Set default name to "Default".
6406 * java/awt/Font.java
6407 (Font(Map)): Call Font(String,Map).
6408 (Font(String,Map)): If attrs is null, initialize it as an empty
6409 HashMap, which will ensure that the Font will get default attributes.
6411 2004-02-25 David Jee <djee@redhat.com>
6413 * gnu/java/awt/peer/gtk/GtkFontPeer.java
6414 (GtkFontPeer(String,int)): Call the new constructor with size 1.
6415 (GtkFontPeer(String,int,int)): New constructor with size attribute.
6416 * gnu/java/awt/peer/gtk/GtkToolkit.java
6417 (getFontPeer(String,int)): Call the new overload method with size 1.
6418 (getFontPeer(String,int,int)): New method. Overloaded with size
6420 (getClasspathFontPeer): Set the size of the font.
6422 2004-02-24 Olga Rodimina <rodimina@redhat.com>
6424 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6425 (bimage): New field.
6426 (GdkGraphics2D): New Constructor. Constructs Graphics
6427 object that can be used to draw into the Buffered Image.
6428 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
6429 (GdkGraphicsEnvironment): Fixed to include public
6431 (createGraphics): Implemented.
6432 * gnu/java/awt/peer/gtk/GtkToolkit.java
6433 (getLocalGraphicsEnvironment): Implemented.
6434 * java/awt/GraphicsEnvironment.java:
6435 (getLocalGraphicsEnvironment): Implemented.
6436 * java/awt/image/BufferedImage.java:
6437 (createGraphics): Implemented.
6439 2004-02-24 David Jee <djee@redhat.com>
6441 * java/awt/Component.java
6442 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
6443 * java/awt/Container.java
6444 (addNotifyContainerChildren): Fix event enabling.
6446 2004-02-23 Olga Rodimina <rodimina@redhat.com>
6448 * Makefile.am: Added
6449 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6450 * Makefile.in: Re-generated.
6451 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
6454 2004-02-19 Kim Ho <kho@redhat.com>
6456 * Makefile.am: Add BasicProgressBarUI
6457 * Makefile.in: Regenerate.
6458 * javax/swing/JProgressBar.java:
6460 * javax/swing/plaf/basic/BasicLookAndFeel.java
6461 Add constants for JProgressBar.
6462 * javax/swing/plaf/basic/BasicProgressBarUI.java
6464 * javax/swing/plaf/basic/BasicSliderUI.java
6466 (calculateGeometry): New method
6467 (paint): Remove unnecessary size calculations.
6469 2004-02-18 Olga Rodimina <rodimina@redhat.com>
6471 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6472 (drawRaster): Fixed small error that caused
6473 imageToUser transformation to be set incorrectly.
6474 (toString): Implemented.
6476 2004-02-18 David Jee <djee@redhat.com>
6478 * java/awt/CardLayout.java
6479 (addLayoutComponent): Show the first component added as the default.
6480 (removeLayoutComponent): After removing, show the next component.
6481 (gotoComponent): If there is only one component, show it and return.
6483 2004-02-18 Kim Ho <kho@redhat.com>
6485 * javax/swing/JSlider.java: Re-order
6487 * javax/swing/JLabel.java: Re-order
6489 * javax/swing/JComponent.java:
6490 (addPropertyChangeListener):
6492 (removePropertyChangeListener):
6494 (firePropertyChangeEvent):
6497 2004-02-17 David Jee <djee@redhat.com>
6499 * java/awt/Component.java
6500 (show): Dispatch ComponentEvent via system event queue.
6504 (reshape): Likewise.
6505 * java/awt/Window.java
6506 (setBoundsCallback): Likewise.
6508 2004-02-17 David Jee <djee@redhat.com>
6510 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6511 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
6512 Use gtk_widget_set_size_request() instead of the deprecated
6513 gtk_widget_set_usize().
6515 2004-02-17 Kim Ho <kho@redhat.com>
6517 * javax/swing/JSlider.java: Fix comments and
6518 make property strings constants.
6519 (createStandardLabels): Use the labels
6520 preferred size as bounds.
6521 * javax/swing/plaf/basic/BasicSliderUI.java
6523 (ScrollHandler::actionPerformed): Don't
6524 calculate the timer stop value. Let the
6525 MouseListeners find the stop location.
6526 (getPreferredHorizontalSize): Re-implement.
6527 (getPreferredVerticalSize): ditto.
6528 (getMinimumHorizontalSize): ditto.
6529 (getMinimumVerticalSize): ditto.
6530 (getPreferredSize): ditto.
6531 (getMinimumSize): ditto.
6532 (getMaximumSize): ditto.
6533 (paintTicks): Use doubles to find the
6535 (paintHorizontalLabel):Â Use preferredSize
6536 as initial width and height.
6537 (paintVerticalLabel): ditto.
6539 2004-02-17 Kim Ho <kho@redhat.com>
6541 * javax/swing/JLabel.java: Changed
6542 property strings to constants.
6543 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
6545 (setText): Change mnemonic index if
6547 (setDisplayedMnemonicIndex): Fire property
6549 (getDisplayedMnemonicIndex): Remove check
6552 2004-02-17 Olga Rodimina <rodimina@redhat.com>
6554 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6555 (drawImage(img,xform,obs)): Invert xform before
6556 passing the xform to cairo.
6557 (drawImage(img,x,y,bgcolor,obs)): Implemented.
6558 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
6560 (drawImage (img,x,y,w,h,obs)): Implemented.
6561 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
6562 bgcolor,obs)): Partly implemented.
6563 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
6565 * java/awt/image/BufferedImage.java:
6566 (copyData): if dest is null, create raster with same
6567 dimensions as the current image.
6569 2004-02-16 Graydon Hoare <graydon@redhat.com>
6571 * javax/swing/plaf/basic/BasicLabelUI.java
6572 (getPreferredSize): Use layoutCL.
6573 * javax/swing/plaf/basic/BasicGraphicsUtils.java
6574 (getPreferredButtonSize): Start with empty view rect, layout using
6575 component's preferred alignment.
6576 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
6579 2004-02-16 David Jee <djee@redhat.com>
6581 * java/awt/Component.java
6582 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
6583 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
6584 (move): Erase old bounds and repaint new bounds. Dispatch
6585 COMPONENT_MOVED ComponentEvent.
6586 (resize): Erase old bounds and repaint new bounds. Dispatch
6587 COMPONENT_RESIZED ComponentEvent.
6588 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
6590 * java/awt/Window.java
6591 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
6594 2004-02-16 Olga Rodimina <rodimina@redhat.com>
6596 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6597 (setRenderingHint): Added implementation of
6598 Interpolation rendering hints.
6599 (setRenderingHints): Ditto.
6600 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6601 (drawPixels): fixed to allow user to choose type
6602 of filtering that should be used when displaying images.
6603 (cairoSurfaceSetFilter): New method. Sets filter type for
6604 interpolation of pixel values.
6606 2004-02-16 David Jee <djee@redhat.com>
6608 * java/awt/GridBagLayout.java
6609 (calcCellSizes): Rows or columns with zero sizes should still be
6610 considered for extra space distribution.
6612 2004-02-16 Kim Ho <kho@redhat.com>
6614 * javax/swing/JLabel.java: Re-implement.
6615 * javax/swing/plaf/basic/BasicLabelUI.java
6617 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6620 2004-02-16 Kim Ho <kho@redhat.com>
6622 * javax/swing/JSlider.java: Fix indentation and comments.
6623 (setModel): Remove null check to conform with Sun's.
6624 (setOrientation): Throw exception if not
6625 HORIZONTAL or VERTICAL.
6626 (getInverted): Use private variable instead of
6627 ComponentOrientation.
6628 (setInverted): ditto.
6629 * javax/swing/plaf/basic/BasicSliderUI.java:
6630 Fix indentation and comments.
6631 (propertyChange): Remove check for inverted slider, handle
6633 (getMinimumSize): Return preferred size.
6634 (getMaximumSize): ditto.
6635 (calculateFocusRect): Don't relocate rectangle.
6636 (drawInverted): Return XOR of the slider's inversion and
6637 the component's orientation.
6638 (paint): Update leftToRightCache
6640 2004-02-13 David Jee <djee@redhat.com>
6642 * java/awt/GridBagLayout.java
6643 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
6644 code to helper methods.
6645 (sortBySpan): New helper method.
6646 (distributeSizeAndWeight): Likewise.
6647 (calcCellWeights): Likewise.
6648 (calcCellSizes): Add comments.
6650 2004-02-13 David Jee <djee@redhat.com>
6652 * java/awt/Component.java
6653 (show): Only do something if component is invisible at the moment.
6654 (hide): Only do something if component is visible at the moment.
6655 (reshape): If lightweight, erase old bounds and repaint new bounds.
6657 2004-02-13 Kim Ho <kho@redhat.com>
6659 * Makefile.am: Updated for new file.
6660 * Makefile.in: Regenerated.
6661 * javax/swing/JSlider.java: Reimplement.
6662 * javax/swing/SwingUtilities.java
6663 (layoutCompoundLabel): Use icon height
6665 (paintComponent): Implement.
6666 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6667 Add JSlider defaults.
6668 * javax/swing/plaf/basic/BasicSliderUI.java:
6669 Implement. New file.
6671 2004-03-17 Michael Koch <konqueror@gmx.de>
6673 * gnu/java/net/PlainDatagramSocketImpl.java
6674 (RECEIVE_LOCK): New member field.
6675 (SEND_LOCK): New member field.
6676 (send0): New method.
6677 (send): Synchronize on SEND_LOCK.
6678 (receive0): New method.
6679 (receive): Synchronize on RECEIVE_LOCK.
6680 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
6681 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
6682 gnu/java/net/natPlainDatagramSocketImplWin32.cc
6683 (send0): Renamed from send.
6684 (receive0): Renamed from receive.
6685 2004-03-17 Michael Koch <konqueror@gmx.de>
6687 * gnu/java/net/natPlainSocketImplPosix.cc
6688 (write): Just call write(jbyteArray, offset, len).
6689 (read): Just call read(jbyteArray, offset, len).
6691 2004-03-16 Michael Koch <konqueror@gmx.de>
6693 * javax/swing/JTabbedPane.java
6694 (serialVersionUID): New field.
6696 2004-03-16 Norbert Frese <postfach@nfrese.net>
6698 * java/net/InetAddress.java
6699 (getByName): Handle hostname == "" case.
6701 2004-03-16 Dalibor Topic <robilad@kaffe.org>
6703 Reported by: Adam Heath <doogie@debian.org>
6704 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
6707 2004-03-15 Michael Koch <konqueror@gmx.de>
6709 * java/util/Locale.java: Reverting my last patch
6710 and add a comment why the original version was okay.
6712 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
6714 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
6715 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
6716 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
6717 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
6719 2004-03-12 Michael Koch <konqueror@gmx.de>
6721 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
6723 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
6725 * java/net/URI.java (toURL): Implemented.
6727 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
6730 (URI_REGEXP) updated to contain scheme specific part.
6731 (SCHEME_SPEC_PART_GROUP) new constant.
6732 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
6733 updated to make room for SCHEME_SPEC_PART_GROUP.
6734 (parseURI) parse scheme specific part.
6735 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
6736 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
6737 getQuery, getFragment) implemented.
6739 2004-03-12 Dalibor Topic <robilad@kaffe.org>
6741 * libraries/javalib/java/net/URI.java
6742 partially implemented using java.util.regex.
6743 (URI_REGEXP) new constant. Used to parse URIs.
6744 (SCHEME_GROUP) new constant representing index of scheme group
6746 (AUTHORITY_GROUP) new constant representing index of authority
6747 group in parsed URI.
6748 (PATH_GROUP) new constant representing index of path group in
6750 (QUERY_GROUP) new constant representing index of query group in
6752 (FRAGMENT_GROUP) new constant representing index of fragment
6753 group in parsed URI.
6754 (getURIGroup) new static utility method.
6755 (parseURI) implemented.
6756 (quote) stub for new static utility method.
6757 (quoteAuthority) stub for new static utility method.
6758 (quoteHost) stub for new static utility method.
6759 (quotePath) stub for new static utility method.
6760 (quoteUserInfo) stub for new static utility method.
6762 (create) don't throw URISyntaxException. Implemented.
6763 (toString) implemented.
6765 2004-03-12 Michael Koch <konqueror@gmx.de>
6767 * java/net/HttpURLConnection.java
6768 (getResponseCode): Fix another typo in javadoc.
6770 2004-03-11 Michael Koch <konqueror@gmx.de>
6772 * java/util/logging/Level.java
6773 (parse): Use String.equals() instead of ==.
6775 2004-03-11 Michael Koch <konqueror@gmx.de>
6777 * gnu/java/net/protocol/jar/Connection.java
6778 (getContentLength): New method.
6780 2004-03-11 Michael Koch <konqueror@gmx.de>
6782 * gnu/java/net/PlainSocketImpl.java:
6783 Reformated to merge better with classpath's version.
6785 2004-03-11 Michael Koch <konqueror@gmx.de>
6787 * java/util/Locale.java
6788 (getISO3Language): Use String.equals() instead of ==.
6789 (getISO3Country): Likewise.
6791 2004-03-11 Dalibor Topic <robilad@kaffe.org>
6793 * java/text/AttributedString.java
6794 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
6795 Use HashMap instead of Hashtable since value can be null, and
6796 you can not store a null value in a Hashtable.
6798 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
6800 * java/text/AttributedStringIterator.java
6801 (getAllAttributesKey): Return only keys concerned
6802 by the current iterator.
6803 (getAttributes): Use strict inequality for
6806 2004-03-11 Michael Koch <konqueror@gmx.de>
6808 * java/net/HttpURLConnection.java:
6809 Fixed typo in javadoc.
6811 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
6813 * java/io/BufferedInputStream.java (marktarget): New field for max
6815 (CHUNKSIZE): New constant for incremental mark buffer allocation.
6816 (mark): Use new fields.
6818 (read(byte[],int,int)): Likewise.
6822 2004-03-11 Mark Wielaard <mark@klomp.org>
6824 * java/beans/BeanDescriptor.java (BeanDescriptor):
6825 Set the FeatureDescriptor programmatic name.
6827 2004-03-11 Michael Koch <konqueror@gmx.de>
6829 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
6830 This file was was just copied form java/io/natFileDescriptorEcos.cc
6831 and never changed to compile correctly.
6833 2004-03-11 Michael Koch <konqueror@gmx.de>
6835 * gnu/java/nio/PipeImpl.java
6836 (SourceChannelImpl): Made final.
6837 (read): Implemented.
6838 (SinkChannelImpl): Made final.
6839 (write): Implemented.
6841 2004-03-11 Michael Koch <konqueror@gmx.de>
6843 * gnu/java/net/PlainDatagramSocketImpl.java:
6844 Reformated to match classpath's version more.
6846 2004-03-11 Michael Koch <konqueror@gmx.de>
6848 * gnu/java/awt/peer/ClasspathFontPeer.java:
6849 Fixed javadoc to be correct xhtml.
6850 * gnu/java/awt/peer/gtk/GtkArgList.java
6851 (add): Use Boolean.valueOf() instead of new Boolean().
6853 2004-03-09 Michael Koch <konqueror@gmx.de>
6855 * java/lang/Thread.java
6856 (runnable): Moved around.
6857 (daemon): Renamed from daemon_flag.
6858 (contextClassLoader): Renamed from context_class_loader.
6859 (Thread): Reordered constructors.
6860 (activeCount): Use group directly.
6861 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
6862 (holdsLock): Reworked javadoc.
6863 (setDaemon): Reworked.
6864 * java/lang/natThread.cc
6867 2004-03-08 Anthony Green <green@redhat.com>
6869 * Makefile.am: Build property resource files into libgcj.
6870 * Makefile.in: Rebuilt.
6871 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
6872 java/util/regex/PatternSyntaxException.java,
6873 gnu/regexp/CharIndexed.java,
6874 gnu/regexp/CharIndexedCharArray.java,
6875 gnu/regexp/CharIndexedInputStream.java,
6876 gnu/regexp/CharIndexedReader.java,
6877 gnu/regexp/CharIndexedString.java,
6878 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
6879 gnu/regexp/REException.java,
6880 gnu/regexp/REFilterInputStream.java,
6881 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
6882 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
6883 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
6884 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
6885 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
6886 gnu/regexp/RETokenLookAhead.java,
6887 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
6888 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
6889 gnu/regexp/RETokenStart.java,
6890 gnu/regexp/RETokenWordBoundary.java,
6891 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
6893 2004-03-03 Per Bothner <per@bothner.com>
6895 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
6896 Optimize when argument is a FileChannelImpl.
6897 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
6899 * java/nio/channels/natChannels.cc: New file for new native methods.
6900 * Makefile.am: Update accordingly.
6902 2004-03-02 Jan Hubicka <jh@suse.cz>
6904 * configure.host: Pass -fno-omit-frame-pointer for i386.
6905 * configure.in: Likewise.
6906 * configure: Regenerate.
6908 2004-03-01 Per Bothner <per@bothner.com>
6910 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
6912 2004-02-29 Per Bothner <per@bothner.com>
6914 * java/nio/channels/FileChannelImpl.java: Moved to package
6915 gnu/java/nio/channels, since we need to refer to it from java.io.
6916 * java/nio/channels/natFileChannelImpl.cc: Removed file.
6917 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
6918 from java/nio/channels. Don't depend on FileDescriptor.
6919 (in, out, err): New static fields.
6921 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
6922 from FileDescriptor.
6923 (by): Removed MappedByteBuffer field.
6924 (map): New working implementation.
6925 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
6926 some code "ported" from natFileDescriptoPosix.cc.
6927 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
6928 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
6929 * java/io/FileDescriptor.java: Implement on top of FileChannel.
6930 Remove native methods.
6931 * Makefile.am, configure.in: Updated accordingly.
6933 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
6934 (ch): New FileChannelImpl field. Update constructor to match.
6935 (releaseImpl): Remove native method. Instead ...
6936 (release): Call unlock on channel.
6937 * gnu/java/nio/natFileLockImpl.cc: Removed file.
6939 * java/io/natFileDescriptorEcos.cc: Remove file.
6940 * java/io/natFileDescriptorPosix.cc: Remove file.
6941 * java/io/natFileDescriptorWin32.cc: Remove file.
6942 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
6943 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
6944 (<init>(FileChannelImpl)): New package-private constructor.
6945 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
6946 (available, close, read, skip): Implement using FileChannelImpl.
6947 (getFD): Allocate FileDescriptor if needed.
6948 (getChannel): Is now trivial.
6949 * java/io/FileOutputStream.java: Corresponding changes.
6950 * java/io/RandomAccessFile.java: Corresponding changes.
6952 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
6953 unmapImpl): New dummy methods, to be overridden by subclass.
6954 (finalize, isLoaded, load, force): New methods.
6955 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
6956 Now works, at least for read mapping.
6958 * java/lang/natPosixProcess.cc (startProcess): Implement standard
6959 streams using FileChannelImpl, not FileDescriptor.
6960 * java/lang/natWin32Process.cc (startProcess): Likewise.
6962 2004-02-28 Michael Koch <konqueror@gmx.de>
6964 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
6967 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
6969 * java/io/ObjectInputStream.java
6970 (readClassDescriptor): Keep elements of the mapping non null.
6971 (checkTypeConsistency): New method.
6972 (readFields): Fixed main loop and base logic. Small reindentation.
6973 * java/io/ObjectStreamField.java
6974 (lookupField): New method to update the field reference.
6975 (checkFieldType): New method.
6976 * java/io/ObjectStreamClass.java
6977 (setClass, setFields): Call lookupField when building the field
6978 database. Check the real field type.
6980 2004-02-28 Michael Koch <konqueror@gmx.de>
6982 * java/nio/ByteOrder.java
6983 (nativeOrder): Use equals() to compare strings.
6985 2004-02-26 Michael Koch <konqueror@gmx.de>
6987 * gnu/java/nio/FileLockImpl.java
6988 (finalize): Made protected.
6989 * java/nio/channels/FileChannel.java
6990 (MapMode.READ_ONLY): Made final.
6991 (MapMode.READ_WRITE): Made final.
6992 (MapMode.PRIVATE): Made final.
6993 * java/nio/channels/SocketChannel.java
6994 (open): Simplified code.
6995 * java/nio/channels/spi/AbstractSelectableChannel.java
6996 (registered): Unused, removed.
6997 (keyFor): Check channel is open, only locate key
6998 and not add a new one.
6999 (register): Don't delete attachments.
7001 2004-02-26 Michael Koch <konqueror@gmx.de>
7003 * gnu/java/awt/ComponentDataBlitOp.java
7004 (INSTANCE): Made final.
7005 * gnu/java/awt/image/ImageDecoder.java:
7007 (cm): Unused, removed.
7009 2004-02-26 Michael Koch <konqueror@gmx.de>
7011 * gnu/java/nio/DatagramChannelImpl.java
7012 (send): Check if target address is resolved.
7014 2004-02-26 Michael Koch <konqueror@gmx.de>
7016 * Makefile.am: Generate and install headers for inner classes in
7017 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
7018 * Makefile.in: Regenerated.
7020 2004-02-24 Anthony Green <green@redhat.com>
7022 * java/lang/StringBuffer.java: No need to NULL out remainder of
7023 buffer since ensureCapacity_unsynchronized will have done this for
7026 2004-02-20 Michael Koch <konqueror@gmx.de>
7028 * gnu/java/net/protocol/jar/Handler.java
7029 (): Removed unneeded check for file != null. java.net.URL.getFile()
7030 returns an empty string but never null.
7032 2004-02-20 Michael Koch <konqueror@gmx.de>
7034 * gnu/gcj/convert/Convert.java
7035 (main): Use equals() to compare strings.
7037 2004-02-20 Michael Koch <konqueror@gmx.de>
7039 * javax/swing/AbstractButton.java: Made several constants final.
7040 (getRolloverSelectedIcon): Made public.
7041 (getSelectedIcon): Made public.
7043 2004-02-16 Per Bothner <per@bothner.com>
7045 * java/nio/CharBufferImpl.java: Inline super constructor.
7046 * java/nio/DoubleBufferImpl.java: Likewise.
7047 * java/nio/FloatBufferImpl.java: Likewise.
7048 * java/nio/IntBufferImpl.java: Likewise.
7049 * java/nio/LongBufferImpl.java: Likewise.
7050 * java/nio/ShortBufferImpl.java: Likewise.
7051 * java/nio/CharBuffer.java: Remove unused constructor.
7052 * java/nio/DoubleBuffer.java: Likewise.
7053 * java/nio/FloatBuffer.java: Likewise.
7054 * java/nio/IntBuffer.java: Likewise.
7055 * java/nio/LongBuffer.java: Likewise.
7056 * java/nio/ShortBuffer.java: Likewise.
7057 * java/nio/CharViewBufferImpl.java: New convenience constructor.
7058 Fix buggy call to super constructor.
7059 * java/nio/DoubleViewBufferImpl.java: Likewise.
7060 * java/nio/FloatViewBufferImpl.java: Likewise.
7061 * java/nio/IntViewBufferImpl.java: Likewise.
7062 * java/nio/LongViewBufferImpl.java: Likewise.
7063 * java/nio/ShortViewBufferImpl.java: Likewise.
7065 * java/nio/ByteBuffer.java (endian): Make non-private so other
7066 java.nio classes can inherit it.
7067 (<init>): Don't bother clearing array_offset.
7068 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
7069 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
7070 Remove redundant test.
7072 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
7073 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
7074 Use new XxxViewBufferImpl constructors.
7075 * java/nio/MappedByteBufferImpl.java: Likewise.
7076 * java/nio/DirectByteBufferImpl.java: Likewise.
7078 * java/nio/ByteBufferImpl.java: Remove one constructor.
7079 Inline super in remaining constructor.
7080 * java/nio/ByteBuffer.java: Remove unused constructor.
7082 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
7084 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
7085 * java/nio/DirectByteBufferImpl.java (owner): New field.
7086 (offset): Remove unused field.
7087 (<init>): Modify one and add another constructor. Change callers.
7088 (allocateDirect): Removed - not used.
7089 (getImpl, putImpl): Make static and pass address explicitly,
7090 to make them useful for MappedByteBufferImpl.
7091 (get, put): Check for underflow. Modify for new getImpl.
7092 (getImpl): New native method where target is array.
7093 (get(byte[],int,int)): Use the above.
7094 (adjustAddress): New static native method.
7095 (slice, duplicate, asReadOnly): New implementations.
7096 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
7097 adjustAddress): New or updated native methods.
7099 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
7101 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
7102 overflow of fieldmapping.
7104 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
7106 * javax/swing/undo/UndoManager.java: Re-written from scratch.
7108 2004-02-14 Per Bothner <per@bothner.com>
7110 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
7111 Set closed before calling implCloseChannel, as in the spec.
7113 2004-02-09 Graydon Hoare <graydon@redhat.com>
7115 * javax/swing/ToggleButtonModel.java: Remove dead class.
7116 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
7117 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
7118 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
7119 * Makefile.am: Update for new and removed files.
7120 * Makefile.in: Regenerate.
7122 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
7123 * javax/swing/AbstractButton.java
7124 (AbstractButton): Initialize fields correctly in ctor.
7125 * javax/swing/JCheckbox.java
7126 (JCheckBox): Override painting flags.
7127 * javax/swing/DefaultButtonModel.java: Conform to sun.
7128 * javax/swing/JComponent.java (paint): Fill with background color
7130 (processComponentKeyEvent)
7133 (processMouseMotionEvent): Remove event-consuming empty methods.
7134 (getUIClassID): Return "ComponentUI" not "JComponent"
7135 * javax/swing/JFrame.java: Remove some debugging chatter.
7136 (JFrame): Subscribe to window events.
7137 * javax/swing/JRadioButton.java
7138 (JRadioButton): Override painting flags.
7139 * javax/swing/JRootPane.java
7140 (JRootPane): Set background from UIDefaults.
7141 * javax/swing/JToggleButton.java
7142 (ToggleButtonModel): New inner class.
7143 (JToggleButton): Override layout alighment.
7144 * javax/swing/SwingUtilities.java:
7145 (getLocalBounds): Return width and height, not x and y.
7146 (calculateInnerArea): Use local bounds, not bounds.
7147 (layoutCompoundLabel): Provide overridden form.
7148 (layoutCompoundLabel): Correct bugs.
7149 * javax/swing/UIDefaults.java: Correct comment.
7150 * javax/swing/plaf/basic/BasicButtonUI.java:
7151 Move most logic into defaults, external listener.
7152 (paintIcon): Implement icon painting.
7153 (paint): Fix state painting to conform to changes in model.
7154 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
7155 Remove most dead/wrong methods.
7156 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
7157 * javax/swing/plaf/basic/BasicIconFactory.java:
7158 (DummyIcon): New class.
7159 (getMenuItemCheckIcon)
7160 (getMenuItemArrowIcon)
7162 (getCheckBoxMenuItemIcon)
7163 (getRadioButtonMenuItemIcon)
7164 (createEmptyFrameIcon): Return DummyIcons, not null.
7165 (getCheckBoxIcon): Implement an icon that looks like sun's.
7166 (getRadioButtonIcon): Implement an icon that looks like sun's.
7167 * javax/swing/plaf/basic/BasicLookAndFeel.java
7168 (initComponentDefaults): Fix impossible values, add some missing.
7169 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
7170 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
7171 Remove most dead/wrong methods.
7173 (getDefaultIcon): New method.
7174 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
7175 Remove most dead/wrong methods.
7176 * javax/swing/plaf/metal/MetalLookAndFeel.java
7177 (getDefaults): Return super.getDefaults(), not BasicDefaults.
7178 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
7179 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
7180 Implement "clearing" as drawing, when on pixmap drawables.
7182 * javax/swing/JButton.java (getUIClassID):
7183 * javax/swing/JCheckBox.java (getUIClassID):
7184 * javax/swing/JEditorPane.java (getUIClassID):
7185 * javax/swing/JLabel.java (getUIClassID):
7186 * javax/swing/JList.java (getUIClassID):
7187 * javax/swing/JOptionPane.java (getUIClassID):
7188 * javax/swing/JPanel.java (getUIClassID):
7189 * javax/swing/JPasswordField.java (uiClassID):
7190 * javax/swing/JRadioButton.java (getUIClassID):
7191 * javax/swing/JRootPane.java (getUIClassID):
7192 * javax/swing/JScrollPane.java (getUIClassID):
7193 * javax/swing/JTabbedPane.java (getUIClassID):
7194 * javax/swing/JToggleButton.java (getUIClassID):
7195 * javax/swing/JTree.java (getUIClassID):
7196 * javax/swing/JViewport.java (getUIClassID):
7197 * javax/swing/text/JTextComponent.java (getUIClassID):
7198 Return "fooUI" not "Jfoo"
7200 2004-02-11 Michael Koch <konqueror@gmx.de>
7202 * java/net/DatagramSocket.java
7203 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
7205 (setBroadcast): Likewise.
7206 * java/net/MulticastSocket.java
7207 (setLoopbackMode): Likewise.
7208 * java/net/ServerSocket.java
7209 (setReuseAddress): Likewise.
7210 * java/net/Socket.java
7211 (setTcpNoDelay): Likewise.
7212 (setSoLinger): Likewise.
7213 (setOOBInline): Likewise.
7214 (setKeepAlive): Likewise.
7215 (setReuseAddress): Likewise.
7216 * java/net/URLConnection.java
7217 (setContentHandler): Replace == with equals().
7218 * java/net/URLStreamHandler.java
7219 (hostSEquals): Fix checking host addresses.
7220 (toExternalForm): Dont check protocol for null. We know already its
7223 2004-02-10 David Jee <djee@redhat.com>
7225 * java/awt/BorderLayout.java
7226 (calcCompSize): Invisible components get zero dimensions.
7227 * java/awt/Button.java
7228 (setLabel): Set actionCommand.
7229 * java/awt/Component.java
7230 (show): Invalidate component and parent container.
7233 2004-02-10 David Jee <djee@redhat.com>
7235 * java/awt/GridBagLayout.java
7236 (GridBagLayout): New private field, internalcomptable.
7237 (lookupInternalConstraints): New method.
7238 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
7239 (GetLayoutInfo): Reimplement.
7240 (calcCellSizes): Ignore rows/columns with size 0.
7242 2004-02-10 Michael Koch <konqueror@gmx.de>
7244 * gnu/java/awt/EmbeddedWindow.java
7245 (setHandle): Use java.awt.Component.getPeer() instead of
7246 java.awt.Component.peer directly.
7248 2004-02-10 David Jee <djee@redhat.com>
7250 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
7251 (gtkSetLabel): New native method definition.
7252 (setLabel): Use gtkSetLabel.
7253 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7254 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
7256 2004-02-10 Alan Modra <amodra@bigpond.net.au>
7258 * include/powerpc-signal.h: Revert 2004-01-21 change.
7259 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
7260 from syscall for ppc32 versions.
7262 2004-02-08 Per Bothner <per@bothner.com>
7264 * java/nio/ByteBuffer.java (shiftDown): New helper method.
7265 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
7266 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
7267 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
7268 Pass ByteOrder parameter to most methods, since the underlying
7269 ByteBuffer's order isn't always what we should use.
7270 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
7271 * java/nio/DirectByteBufferImpl.java: Likewise.
7272 Use ByteBufferHelper methods.
7273 * java/nio/MappedByteBufferImpl.java: Likewise.
7274 (compact): Use shiftDown.
7275 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
7276 (get, put): Use ByteBufferHelper.
7277 (compact): Use new shiftDown method.
7278 (duplicate(boolean)): New helper method.
7279 (duplicate, asReadOnlyBuffer): Use it.
7280 (order): Return endian field.
7281 * java/nio/DoubleViewBufferImpl.java: Likewise.
7282 * java/nio/FloatViewBufferImpl.java: Likewise.
7283 * java/nio/IntViewBufferImpl.java: Likewise.
7284 * java/nio/LongViewBufferImpl.java: Likewise.
7285 * java/nio/ShortViewBufferImpl.java: Likewise.
7286 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
7287 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
7288 (compact): Re-implement using shiftDown.
7290 2004-02-08 Andreas Jaeger <aj@suse.de>
7292 * include/x86_64-signal.h: Fix typo.
7294 2004-02-08 Diego Novillo <dnovillo@redhat.com>
7296 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
7298 (HANDLE_DIVIDE_OVERFLOW): Likewise.
7300 2004-02-06 Michael Koch <konqueror@gmx.de>
7302 * java/io/ObjectInputStream.java
7303 (currentClassLoader): Reverted to old version of this method.
7305 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
7307 * java/io/ObjectInputStream.java: Made all calls
7308 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
7309 use cached info from ObjectStreamClass. (readClassDescriptor):
7310 Cache more information in ObjectStreamClass. (processResolution,
7311 readFields): Use cached info from ObjectStreamClass.
7312 (newObject): Throw exception instead of returning null for failure.
7313 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
7314 setCharField, setDoubleField, setFloatField, setIntField,
7315 setLongField, setShortField, setObjectField, readObjectParams):
7316 Removed. (dumpElement, dumpElementln): Removed dump flag condition
7318 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
7319 (setClass): Added call to cacheMethods() (findMethod): New method.
7320 (cacheMethods): New method. (ObjectStreamClass): Added call to
7321 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
7322 AccessController.doPrivileged to invoke setAccessible.
7323 (readObjectMethod, readResolveMethod, realClassIsSerializable,
7324 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
7326 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
7327 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
7328 isPrimitive): Made safe for cases where type == null.
7329 (setBooleanField, setByteField, setCharField, setShortField,
7330 setIntField, setLongField, setFloatField, setDoubleField,
7331 setObjectField): New methods.
7333 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
7335 * java/awt/Component.java (getFont): Return a default font
7338 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
7339 (Scrollbar (int, int, int, int, int)): Make default page
7341 (setValues): Only call peer.setValues if one of the values has
7343 (generateName): New method.
7344 (getUniqueLong): New method.
7345 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
7346 (range_scrollbar): Remove structure.
7347 (post_adjustment_event): Remove function.
7348 (post_change_event): Accept jobject argument.
7349 (create): Cast jints to gdoubles. Round scrollbar values to the
7350 nearest integer. Clamp min, max and value settings.
7351 (connectJObject): Connect hook to widget->window.
7352 (connectSignals): Remove range_scrollbar structure variables.
7353 Remove "move-slider" connection. Pass global peer reference to
7354 "value-changed" callback.
7355 (setLineIncrement): Cast jint value to gdouble.
7356 (setPageIncrement): Likewise.
7357 (setValues): Likewise. Clamp min, max and value settings.
7359 2004-02-05 Michael Koch <konqueror@gmx.de>
7361 * javax/swing/AbstractCellEditor.java
7362 (getCellEditorValue): Removed.
7363 * javax/swing/Box.java: Reformated.
7364 (serialVersionUID): New field.
7365 * javax/swing/ButtonGroup.java:
7366 Removed some weird whitespace.
7367 * javax/swing/CellEditor.java: Reformated.
7368 * javax/swing/CellRendererPane.java
7369 (serialVersionUID): New field.
7370 (AccessibleCellRendererPaneserialVersionUID): New field.
7371 * javax/swing/DefaultListModel.java
7372 (serialVersionUID): New field.
7373 * javax/swing/JEditorPane.java
7374 (serialVersionUID): New field.
7375 (setPage): Throws IOException.
7376 (addHyperlinkListener): Implemented.
7377 (removeHyperlinkListener): Implemented.
7378 (getHyperlinkListener): New method.
7379 * javax/swing/JFileChooser.java
7380 (serialVersionUID): New field.
7381 (AccessibleJFileChooser.serialVersionUID): New field.
7382 (addActionListener): Implemented.
7383 (removeActionListener): Implemented.
7384 (getActionListeners): New method.
7385 * javax/swing/JFormattedTextField.java
7386 (serialVersionUID): New field.
7387 (AbstractFormatter.serialVersionUID): New field.
7388 (clone): Throws CloneNotSupportedException
7389 (setEditValid): Add missing argument.
7390 (stringToValue): Throws ParseExcpetion.
7391 (valueToString): Throws ParseException.
7392 (commitEdit): Throws ParseException.
7393 * javax/swing/JLabel.java
7394 (serialVersionUID): New field.
7395 * javax/swing/JList.java
7396 (serialVersionUID): New field.
7397 (addListSelectionListener): Reformated.
7398 (removeListSelectionListener): Reformated.
7399 (getListSelectionListeners): New method.
7400 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
7402 (serialVersionUID): New field.
7403 * javax/swing/table/AbstractTableModel.java
7404 (getValueAt): Removed.
7405 (getColumnCount): Removed.
7406 (getRowCount): Removed.
7408 2004-02-05 Michael Koch <konqueror@gmx.de>
7410 * java/awt/datatransfer/DataFlavor.java
7411 (imageFlavor): Javadoc added.
7412 (javaJVMLocalObjectType): Fixed.
7414 2004-02-05 Michael Koch <konqueror@gmx.de>
7416 * java/lang/Thread.java
7417 (Thread): Reordered.
7418 (setContextClassLoader): Fixed javadoc comment.
7419 (setPriority): Reordered.
7421 (initialize_native): Reordered.
7422 (gen_name): Reordered.
7424 2004-02-05 Michael Koch <konqueror@gmx.de>
7426 * java/lang/Thread.java: Reordered fields, reformated much code,
7427 no functional changes, some variables renamed, javadoc comments
7430 2004-02-05 Michael Koch <konqueror@gmx.de>
7432 * java/util/zip/Deflater.java,
7433 java/util/zip/DeflaterOutputStream.java,
7434 java/util/zip/GZIPInputStream.java:
7435 Reformated and javadoc comments merged from classpath.
7437 2004-02-05 Michael Koch <konqueror@gmx.de>
7439 * gnu/java/nio/NIOServerSocket.java
7440 (impl): Unused, removed.
7441 * gnu/java/nio/SocketChannelImpl.java
7442 (finnishConnect): Don't throw NoConnectionPendingException if not
7443 connected or no connection pending.
7445 2004-02-02 Graydon Hoare <graydon@redhat.com>
7447 * javax/swing/SwingUtilities.java: Many new functions.
7448 * java/awt/Container.java (LightweightDispatcher): Reimplement.
7449 * javax/swing/basic/BasicGraphicsUtils.java
7450 (getPreferredButtonSize): Start layout from top-left corner.
7452 2004-02-04 Olga Rodimina <rodimina@redhat.com>
7454 * java/awt/geom/AffineTransform.java:
7455 Corrected comments on the field definitions for
7457 (shear): Fixed few errors that caused shear
7458 transformation to be performed incorrectly.
7459 (createInverse): Fixed to return correct
7460 inverse of the given matrix.
7462 2004-02-03 Tom Tromey <tromey@redhat.com>
7464 * java/lang/natPosixProcess.cc (startProcess): Handle case where
7465 PATH or LD_LIBRARY_PATH is not set in parent environment.
7467 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
7469 * gnu/java/awt/peer/gtk/GtkListPeer.java,
7470 java/awt/BorderLayout.java, java/awt/CardLayout.java,
7471 java/awt/CheckboxGroup.java, java/awt/Choice.java,
7472 java/awt/Component.java, java/awt/Container.java,
7473 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
7474 java/awt/LayoutManager2.java, java/awt/List.java,
7475 java/awt/Menu.java, java/awt/MenuBar.java,
7476 java/awt/MenuItem.java, java/awt/Polygon.java,
7477 java/awt/Rectangle.java, java/awt/ScrollPane.java,
7478 java/awt/Scrollbar.java, java/awt/TextArea.java,
7479 java/awt/TextField.java,
7480 java/awt/image/renderable/RenderContext.java,
7481 javax/swing/JApplet.java: Fix handling of alias methods, where a
7482 method has been deprecated in favour of a new one with the same
7483 funtion but a different name. Put the method implementation in
7484 the deprecated method and have the new method call the
7485 deprecated one. Make all other code call the new method.
7487 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
7489 * gnu/java/nio/DatagramChannelImpl.java
7490 (inChannelOperation): New field.
7491 (isInChannelOperation): New accessor.
7492 (setInChannelOperation): New modifier.
7493 (receive): Use capacity() - position() of destination
7494 buffer instead of remaining(). Set and reset our "in
7495 channel operation indicator" before and after delegating
7496 the receive to our datagram socket. Removed testing code.
7497 Update destination buffer's current position if it is
7498 backed by a byte array (hasArray() is true).
7499 (send): Set and reset our "in channel operation indicator"
7500 before and after delegating the send to our datagram socket.
7501 Removed testing code. Update source buffer's current position
7502 if it is backed by a byte array (hasArray() is true).
7503 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
7504 Use capacity() - position() of destination buffer instead
7506 * java/net/DatagramSocket.java (receive): Don't throw an
7507 IllegalBlockingModeException if we have a non-blocking
7508 channel which initiated this operation.
7511 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
7513 * configure.in: Add pkgconfig check for glib and gthread.
7514 * configure: Regenerate.
7516 2004-02-01 Michael Koch <konqueror@gmx.de>
7518 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
7520 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
7521 * verify.cc (debug_print): Mark 'fmt' unused.
7523 2004-01-30 Michael Koch <konqueror@gmx.de>
7525 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
7526 * configure: Regenerated.
7527 * glib-2.0.m4: Removed.
7528 * gtk-2.0.m4: Removed.
7529 * libart.m4: Removed.
7532 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
7534 * gnu/java/net/PlainSocketImpl.java
7535 (inChannelOperation): New field.
7536 (isInChannelOperation): New accessor.
7537 (setInChannelOperation): New modifier.
7538 * gnu/java/nio/ServerSocketChannelImpl.java
7539 (accept): Set and reset our server socket's PlainSocketImpl's
7540 "in channel operation" indicator before and after delegating
7541 the accept to our server socket.
7542 * gnu/java/nio/SocketChannelImpl.java
7543 (connect): Set and reset our socket's PlainSocketImpl's "in channel
7544 operation" indicator before and after delegating the operation to
7548 * java/net/ServerSocket.java (implAccept): Don't throw an
7549 IllegalBlockingModeException if we have a non-blocking
7550 channel which initiated this accept operation.
7551 * java/net/Socket.java (connect): Don't throw an
7552 IllegalBlockingModeException if we have a non-blocking
7553 channel which initiated this connect operation.
7554 * java/nio/channels/spi/AbstractSelectableChannel.java
7555 (configureBlocking): Only call implConfigureBlocking() if
7556 the desired blocking mode is different from our current one.
7558 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
7560 * java/io/BufferedReader.java (sbuf): New field.
7561 (readLine): Use String.valueOf instead of new String() as per
7562 Per Bothner's suggestion. Use instance sbuf field instead of a
7563 local StringBuffer instance.
7564 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
7565 caller's buffer to refill().
7566 (read(void)): Pass our internal work buffer to refill if our
7567 input queue is empty.
7568 (refill): Changed return type to int. Use the specified buffer
7569 instead of our work buffer as per Bryce McKinlay's suggestion.
7570 Return the number of characters read or -1 for EOF.
7572 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
7574 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
7576 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
7578 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
7579 * Makefile.in: Re-generated.
7580 * gnu/awt/xlib/XFontPeer.java: New file.
7581 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
7582 (setClip): Commented out debug printout.
7583 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
7584 (getFontPeer): Return XFontPeer.
7585 (getLocalGraphicsEnvironment): New method.
7586 (getClasspathFontPeer): New method.
7587 (createFont): New method.
7589 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
7591 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
7594 2004-01-29 Kim Ho <kho@redhat.com>
7596 * gnu/java/awt/peer/gtk/GtkFramePeer.java
7597 (gtkLayoutSetVisible): New method
7598 (setMenuBar): Hide layout before setting MenuBar
7599 and reshow it after.
7600 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7601 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
7603 2004-01-28 Michael Koch <konqueror@gmx.de>
7605 * gnu/java/lang/ClassHelper.java
7606 (getPackagePortion): Removed.
7608 2004-01-28 Michael Koch <konqueror@gmx.de>
7610 * javax/swing/JComponent.java
7611 (listenerList): Initalize globally.
7612 (ancestor_list): Removed.
7613 (veto_list): Removed.
7614 (change_list): Removed.
7615 (get_veto_list): Removed.
7616 (get_change_list): Removed.
7617 (get_ancestor_list): Removed.
7618 (removeAncestorListener): Reimplemented.
7619 (removePropertyChangeListener): Likewise.
7620 (removeVetoableChangeListener): Likewise.
7621 (addAncestorListener): Likewise.
7622 (addPropertyChangeListener): Likewise.
7623 (addVetoableChangeListener): Likewise.
7624 (getListeners): New method.
7625 (getAncestorListeners): Likewise.
7626 (getVetoableChangeListeners): Likewise.
7627 (fireVetoableChange): Throws PropertyVetoException.
7628 * javax/swing/JEditorPane.java
7629 (JEditorPane): Throws IOException.
7631 2004-01-28 David Jee <djee@redhat.com>
7633 * gnu/java/awt/peer/gtk/GtkFramePeer.java
7634 (create): Set the default foreground color to
7635 java.awt.SystemColor.windowText.
7637 2004-01-27 Michael Koch <konqueror@gmx.de>
7639 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
7640 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
7641 Reindented to merge with classpath.
7643 2004-01-27 David Jee <djee@redhat.com>
7645 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7646 (addExposeFilter): Handle GtkFramePeer separately.
7647 (removeExposeFilter): Likewise.
7649 2004-01-27 Michael Koch <konqueror@gmx.de>
7651 * gnu/java/net/protocol/http/Connection.java
7652 (getOutputStream): Fixed typo.
7654 2004-01-27 Michael Koch <konqueror@gmx.de>
7656 * java/lang/Class.java
7657 (getConstructor): Removed SecurityException from throws clause.
7658 (_getConstructors): Likewise.
7659 (getConstructors): Likewise.
7660 (getDeclaredConstructor): Likewise.
7661 (getDeclaredClasses): Likewise.
7662 (getDeclaredConstructors): Likewise.
7663 (getDeclaredField): Likewise.
7664 (getDeclaredMethod): Likewise.
7665 (getDeclaredMethods): Likewise.
7666 (getField): Likewise.
7667 (getMethod): Likewise.
7668 (getMethods): Likewise.
7670 2004-01-27 Kim Ho <kho@redhat.com>
7672 * gnu/java/awt/peer/gtk/GtkFramePeer.java
7673 (removeMenuBarPeer): Remove MenuBarPeer argument.
7674 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
7675 (dispose): Call native method.
7676 * java/awt/Frame.java (setMenuBar): Create and remove
7677 MenuBar peers only if the Frame has a peer.
7678 (addNotify): Create the MenuBar peer if one exists.
7679 (removeNotify): Remove MenuBar peer if one exists.
7680 * java/awt/Menu.java: Fix imports.
7681 (addNotify): Don't use full class name.
7682 (removeNotify): Call removeNotify on all children.
7683 * java/awt/MenuBar.java (removeNotify): Call
7684 removeNotify on all children.
7685 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7686 (removeMenuBarPeer): Remove MenuBarPeer argument.
7687 Iterate through children to find the Frame's MenuBar.
7688 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
7690 (dispose): Remove references to the MenuComponent.
7692 2004-01-27 Michael Koch <konqueror@gmx.de>
7694 * javax/swing/AbstractCellEditor.java: Reformated.
7695 * javax/swing/DefaultListSelectionModel.java
7696 (listenerList): Made protected.
7697 (addListSelectionListener): Javadoc added.
7698 (removeListSelectionListener): Likewise.
7699 (getListeners): Likewise.
7700 (getListSelectionListeners): Likewise.
7701 * javax/swing/JComboBox.java: Merged copyright year.
7702 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
7704 2004-01-26 Andrew Haley <aph@redhat.com>
7706 * javax/swing/table/JTableHeader.java: Extend JComponent
7708 2004-01-26 Kim Ho <kho@redhat.com>
7710 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
7713 2004-01-26 Kim Ho <kho@redhat.com>
7715 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
7717 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
7718 height and let the Layout Managers readjust anything that
7720 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7721 (moveLayout): New method. Shift everything in the Gtk
7722 layout in the Y direction by an offset.
7724 2004-01-26 David Jee <djee@redhat.com>
7726 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7727 (handleEvent): Implemented. Handles PaintEvents.
7728 (paint): Implemented. Use GTK native methods to queue updates
7729 for this heavyweight peer.
7730 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
7731 (handleEvent): Removed.
7732 * java/awt/Component.java
7733 (paint): Implemented. Explictly paint the heavyweight peer.
7734 (update): Clear the background for heavyweight components.
7735 (paintAll): No need to call peer.paint() anymore.
7736 (processEvent): Don't process PaintEvents here. It's now done in
7737 the peer's handleEvent().
7738 (processPaintEvent): Removed.
7739 * java/awt/Container.java
7740 (paint): No need to call super.paint(). Visit heavyweight
7742 (update): Don't clear the background here. It's done in
7744 (visitChildren): Added check to not recurse into Containers.
7745 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7746 (filter_expose_event_handler): New method. Filter unwanted
7747 expose events while painting heavyweight peers.
7748 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
7749 New method. Connect filter and block pre_event_handler.
7750 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
7751 New method. Disconnect filter and unblock pre_event_handler.
7752 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
7753 New method. Invalidate and update given area.
7754 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7755 (pre_event_handler): Add checks for unwanted expose events.
7757 2004-01-26 David Jee <djee@redhat.com>
7759 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7760 (find_bg_color_widget): For GtkButton, return its child.
7762 2004-01-26 Kim Ho <kho@redhat.com>
7764 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
7766 (setMenuBar): Grab MenuBar height and change insets.
7767 (setBounds): Account for MenuBar height.
7768 (postInsetsChangedEvent): Ditto.
7769 (postSizeAllocateEvent): Remove.
7770 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7771 (menubar_resize_cb): Remove
7772 (setMenuBarPeer): Remove callback.
7773 (getMenuBarHeight): Use size requisition instead of
7776 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
7778 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
7779 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
7781 (setColumns): Remove FIXME -- peer will retrieve number of
7782 columns by calling getColumns.
7783 (setRows): Likewise for number of rows.
7784 (next_text_number): New field.
7785 (paramString): Fix param string.
7786 (generateName): New method.
7787 (getUniqueLong): New method.
7789 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
7791 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
7792 image observer of image loading status.
7793 (getImage (String)): Start image production.
7794 (getImage (URL)): Likewise.
7796 2004-01-25 Michael Koch <konqueror@gmx.de>
7798 * java/lang/Class.java: Imports reworked, reformated.
7799 (Class): Javadoc added.
7800 (forName): Likewise.
7801 (getClasses): Likewise.
7802 (getClassLoader): Likewise.
7803 (getComponentType): Likewise.
7804 (getConstructor): Likewise.
7805 (getConstructors): Likewise.
7806 (getDeclaredConstructor): Likewise.
7807 (getDeclaredClasses): Likewise.
7808 (getDeclaredConstructors): Likewise.
7809 (getDeclaredField): Likewise.
7810 (getDeclaredMethod): Likewise.
7811 (getDeclaredMethods): Likewise.
7812 (getDeclaringClass): Likewise.
7813 (getField): Likewise.
7814 (getInterfaces): Likewise.
7815 (getMethod): Likewise.
7816 (getMethods): Likewise.
7817 (getModifiers): Likewise.
7818 (getName): Likewise.
7819 (getResource): Likewise.
7820 (getResourceAsStream): Likewise.
7821 (getSigners): Likewise.
7822 (setSigners): Likewise.
7823 (getSuperclass): Likewise.
7824 (isArray): Likewise.
7825 (isAssignableFrom): Likewise.
7826 (isInstance): Likewise.
7827 (isInterface): Likewise.
7828 (isPrimitive): Likewise.
7829 (newInstance): Likewise.
7830 (getProtectionDomain): Likewise.
7831 (toString): Likewise.
7833 (initializeClass): Likewise.
7834 (finalize): Likewise.
7836 2004-01-24 Michael Koch <konqueror@gmx.de>
7838 * gnu/java/net/protocol/jar/Connection.java
7841 (gotHeaders): Removed.
7842 (getHeaderField): Removed.
7843 (getHeaderFields): Removed.
7844 (getHeaderFieldKey): Removed.
7846 (getField): Removed.
7847 (getHeaders): Removed.
7849 2004-01-24 Michael Koch <konqueror@gmx.de>
7851 * Makefile.am: Added library version to gtk peer lib.
7852 * Makefile.in: Regenerated.
7854 2004-01-24 Michael Koch <konqueror@gmx.de>
7856 * java/util/zip/InflaterInputStream.java: Merged class documentation
7859 2004-01-21 Jakub Jelinek <jakub@redhat.com>
7861 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
7862 header. For __powerpc64__ provide the default-signal.h definitions
7864 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
7865 instead of the dummy definitions.
7866 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
7867 (powerpc64*-*): Remove with_libffi_default.
7868 Only add -mminimal-toc for 64-bit compilations.
7869 * configure.in: Use powerpc-signal.h on powerpc64 as well.
7870 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
7871 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
7872 * configure: Rebuilt.
7874 2004-01-23 Michael Koch <konqueror@gmx.de>
7876 * gnu/java/nio/FileLockImpl.java: Compile fixes.
7878 2004-01-23 Michael Koch <konqueror@gmx.de>
7880 * java/lang/VMClassLoader.java: Reworked imports.
7882 2004-01-23 Michael Koch <konqueror@gmx.de>
7884 * javax/swing/AbstractAction.java: Reformated.
7886 2004-01-23 Michael Koch <konqueror@gmx.de>
7888 * java/text/CollationElementIterator.java:
7889 (setText): New method.
7891 2004-01-23 Michael Koch <konqueror@gmx.de>
7893 * gnu/java/nio/FileLockImpl.java:
7894 Fixed filename in copyright.
7895 (released): Removed.
7896 (finalize): New method.
7897 * gnu/java/nio/natFileLockImpl.cc
7898 (releaseImpl): Implemented.
7899 * java/nio/channels/FileChannelImpl.java:
7901 (lock): Implemented.
7902 (lockImpl): New method.
7903 (tryLock): Implemented.
7904 (tryLockImpl): New method.
7905 * java/nio/channels/natFileChannelImpl.cc
7906 (lockImpl): New method.
7907 (tryLockImpl): New method.
7909 2004-01-23 Michael Koch <konqueror@gmx.de>
7911 * java/io/FileDescriptor.java
7913 (tryLock): New method.
7914 (unlock): New method.
7915 * java/io/natFileDescriptorEcos.cc
7917 (tryLock): New method.
7918 (unlock): New method.
7919 * java/io/natFileDescriptorPosix.cc
7921 (tryLock): New method.
7922 (unlock): New method.
7923 * java/io/natFileDescriptorWin32.cc
7925 (tryLock): New method.
7926 (unlock): New method.
7928 2004-01-23 Michael Koch <konqueror@gmx.de>
7930 * java/io/FileDescriptor.java
7931 (sync): Moved around, added javadoc.
7936 (setLength): Likewise.
7938 (getLength): Likewise.
7939 (getFilePointer): Likewise.
7941 (available): Likewise.
7942 (finalize): Likewise.
7944 2004-01-23 Michael Koch <konqueror@gmx.de>
7946 * javax/swing/AbstractAction.java: Reformated.
7947 (getPropertyChangeListeners): New method.
7948 * javax/swing/AbstractCellEditor.java: Reformated.
7949 (getCellEditorListeners): New method.
7950 * javax/swing/DefaultListSelectionModel.java
7951 (listenerList): New field.
7952 (listeners): Removed.
7953 (get_listeners): Removed.
7954 (addListSelectionListener): Rewritten.
7955 (removeListSelectionListener): Rewritten.
7956 (getListSelectionListeners): New method.
7957 (getListeners): New method.
7958 * javax/swing/JComboBox.java: Imports reworked.
7959 (addActionListener): Implemented.
7960 (removeActionListener): Implemented.
7961 (addItemListener): Implemented.
7962 (removeItemListener): Implemented.
7963 (addPopupMenuListener): Implemented.
7964 (removePopupMenuListener): Implemented.
7965 (getActionListeners): New method.
7966 (getItemListeners): New method.
7967 (getPopupMenuListeners): New method.
7969 2004-01-23 Michael Koch <konqueror@gmx.de>
7971 * gnu/java/net/protocol/http/Connection.java
7972 (connect): Don't initialize bufferedOutputStream if not needed.
7973 (sendRequest): Set property for content length if content is present.
7974 Write content only if present.
7975 (getOutputStream): Check if already connected, dont connect,
7976 initalize bufferedOutputStream if needed.
7978 2004-01-23 Michael Koch <konqueror@gmx.de>
7980 * java/io/FileDescriptor.java
7981 (in, out, err): Added javadoc.
7982 (static): Merged loading code.
7983 (fd, position): Moved around.
7985 2004-01-23 Michael Koch <konqueror@gmx.de>
7987 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
7990 2004-01-23 Michael Koch <konqueror@gmx.de>
7992 * java/lang/Class.java,
7993 java/lang/Object.java,
7994 java/lang/Thread.java: Merged copyright with classpath.
7996 2004-01-23 Michael Koch <konqueror@gmx.de>
7998 * java/io/FileDescriptor.java: Merged copyright with classpath to
7999 start merging this class.
8001 2004-01-22 Tom Tromey <tromey@redhat.com>
8004 * testsuite/libjava.lang/pr13107_2.xfail: New file.
8005 * testsuite/libjava.lang/pr13107_3.xfail: New file.
8006 * testsuite/libjava.lang/pr13107_3.java: New file.
8007 * testsuite/libjava.lang/pr13107_3.out: New file.
8008 * testsuite/libjava.lang/pr13107_2.java: New file.
8009 * testsuite/libjava.lang/pr13107_2.out: New file.
8010 * testsuite/libjava.lang/pr13107.java: New file.
8011 * testsuite/libjava.lang/pr13107.out: New file.
8012 * verify.cc (jsr_ptrs): Removed.
8013 (entry_points): Likewise.
8014 (struct subr_info): Likewise.
8015 (struct subr_entry_info): Likewise.
8016 (type_val::unused_by_subroutine_type): Likewise.
8017 (type::merge): Don't handle unused_by_subroutine_type.
8018 (type::print): Likewise.
8019 (state::flags): Removed.
8020 (state::subroutine): Likewise.
8021 (state::seen_subrs): Likewise.
8022 (state::NO_STACK): Likewise.
8023 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
8024 (state): Updated all methods.
8025 (state::clean_subrs): Removed.
8026 (state::state): Removed `ret_semantics' flag.
8027 (state::copy): Likewise.
8028 (state::add_subr): Removed.
8029 (state::enter_subroutine): Likewise.
8030 (type::set_return_address): New method.
8031 (handle_jsr_insn): Set return address on the type. Always
8032 invalidate PC after call.
8033 (check_nonrecursive_call): Removed.
8034 (~_Jv_BytecodeVerifier): Updated.
8035 (branch_prepass): Removed special handling of jsr.
8036 (note_branch_target): Likewise.
8037 (get_subroutine): Removed.
8038 (state::merge): Don't merge subroutines and don't handle
8039 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
8040 (state::note_variable): Removed.
8041 (state::is_unmerged_ret_state): Likewise.
8042 (state::print): Updated.
8043 (set_variable): Likewise.
8044 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
8045 and jsr_semantics arguments. Updated for new reverification
8047 (pop_jump): Rewrote.
8048 (construct_primitive_array_type): Updated.
8049 (state::next): Removed.
8050 (INVALID_STATE): New define.
8051 (state::INVALID): Removed.
8052 (state::NO_NEXT): New value.
8053 (state::pc, state::next): New fields.
8054 (state::get_pc): New method.
8055 (next_verify_pc): Removed.
8056 (next_verify_state): New field.
8057 (verify_instructions_0): Always check for falling off end.
8059 (linked_utf8): Removed.
8060 (states): Changed type.
8061 (type::state_mergeable_p): New method.
8062 (state::state_mergeable_p): Likewise.
8063 (handle_ret_insn): Removed most code.
8064 (state::reverify): New method.
8065 (add_new_state): Likewise.
8066 (state::set_pc): Likewise.
8068 2004-01-22 Jeff Sturm <jsturm@one-point.com>
8071 * testsuite/libjava.compile/PR13733.java: New file.
8072 * testsuite/libjava.compile/PR13733.xfail: New file.
8074 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
8075 Michael Koch <konqueror@gmx.de>
8077 * javax/swing/table/DefaultTableCellRenderer.java
8078 (DefaultTableCellRenderer): Added javadoc for the class and for
8079 the constructor, Border instance, create an EmptyBorder.
8080 (UIResource): Removed the comment at the end of the class
8081 (setForeground): New method.
8082 (setBackground): New method.
8083 (updateUI): New method.
8084 (getTableCellRendererComponent): Rewritten with the help of
8085 dvholten and Stephane Meslin-Weber.
8086 (validate): New method.
8087 (repaint): New method.
8088 (firePropertyChange): New method.
8089 (setValue): New method.
8091 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8093 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8094 (connectJObject): Replace printf calls with g_assert statements.
8095 Move property-notify-event signal connection to ...
8096 (connectSignals): Connect property-notify-event signal. Iterate
8097 through the vbox's children to find layout.
8099 2004-01-22 Graydon Hoare <graydon@redhat.com>
8101 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
8102 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
8103 Predicate static initialization on GtkToolkit.useGraphics2D().
8104 * java/awt/Component.java (processPaintEvent): Consume event.
8105 * javax/swing/AbstractButton.java: Reimplement, document.
8106 * javax/swing/DefaultButtonModel.java: Reimplement, document.
8107 * javax/swing/JComponent.java (paint): Use double buffer.
8108 (listenerList): Enable member.
8109 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
8110 * javax/swing/JToggleButton.java
8111 (JToggleButton): Modify model constructor.
8112 * javax/swing/SwingUtilities.java
8113 (layoutCompoundLabel): Adjust arithmetic.
8114 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
8115 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8116 (getPreferredButtonSize): Include margins in calculation.
8117 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8118 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
8119 Receive up events from subordinate layout component.
8121 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8123 * java/awt/Component.java (show): Set visible to true before
8126 2004-01-21 Kim Ho <kho@redhat.com>
8128 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
8130 (removeMenuBarPeer): Make package private.
8131 (setMenuBarPeer): Make package private.
8132 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8133 (menubar_resize_cb): Mark attributes unused.
8134 (getMenuBarHeight): ditto.
8136 2004-01-21 David Jee <djee@redhat.com>
8138 * java/awt/Container.java
8139 (LightweightDispatcher.handleEvent): Add an extra check to avoid
8140 dispatching MOUSE_ENTERED event twice. Translate the point for
8141 the mouse event target before dispatching the event.
8143 2004-01-20 Jakub Jelinek <jakub@redhat.com>
8145 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
8146 lib_org_w3c_dom_la_LDFLAGS): New.
8147 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
8148 * Makefile.in: Rebuilt.
8150 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
8152 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
8153 Calculate proper offsets for heavyweight components packed in
8154 lightweight containers.
8156 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
8157 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
8158 (native create): Add width parameter.
8159 (create): Calculate text entry width based on current font's
8160 metrics and number of columns. Set TextField's font if not
8161 already set. Call native create.
8162 (gtkEntryGetBorderWidth): New native method.
8163 (gtkEntryGetSize): Remove method.
8164 (getMinimumSize): Call minimumSize.
8165 (getPreferredSize): Call preferredSize.
8166 (minimumSize): Calculate minimum size based on backing
8167 GtkEntry's borders, font metrics and number of columns.
8168 (preferredSize): Likewise for preferred size.
8169 (get_border_width): New static function.
8171 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
8172 Override GtkWindowPeer's setResizable method to account for menu
8173 bar height when setting the frame's size.
8175 2004-01-19 Matthias Klose <doko@debian.org>
8177 * libtool-version: Increased `current' to 6.
8179 2004-01-19 Kim Ho <kho@redhat.com>
8181 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8182 (connectJObject): Iterate through the vbox's children to find layout.
8184 2004-01-19 Fernando Nasser <fnasser@redhat.com>
8186 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
8187 isDispatchThread method to replace wrong test condition.
8189 2004-01-19 Fernando Nasser <fnasser@redhat.com>
8191 * java/awt/EventQueue.java (pop): Prevent racing condition to add
8192 events to the queue out of order by acquiring locks in the proper
8193 order and not by releasing one before acquiring the other.
8195 2004-01-19 Fernando Nasser <fnasser@redhat.com>
8197 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
8198 visible so that dialog can be reused.
8200 2004-01-19 Fernando Nasser <fnasser@redhat.com>
8202 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
8203 events may be handled by any queue in the stack.
8205 2004-01-19 Kim Ho <kho@redhat.com>
8207 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
8208 MenuBarPeer parameter.
8209 (removeMenuBarPeer): New native method.
8210 (setMenuBar): Call remove if menu bar is null. Adjust insets
8212 (postSizeAllocateEvent): New method. Called when menu bar size is
8213 allocated. Adjust insets and redo layout.
8214 (GtkFramePeer): Set menu bar during frame creation.
8215 (postConfigureEvent): Adjust position and size to accomodate
8217 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
8218 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
8219 (addNotify): Create the peer if it doesn't exist and call addNotify
8220 for the menu's items.
8221 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
8222 * java/awt/MenuItem.java (addNotify): Create the peer if it
8224 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8225 (removeMenuBarPeer): New method. Remove menu bar on the current
8227 (setMenuBarPeer): Add the menu bar to the current frame and the
8228 callback for size-allocate events on the menu bar.
8229 (getMenuBarHeight): Add menu bar parameter.
8230 (menubar_resize_cb): New callback method for postSizeAllocate events.
8232 Also: Fix indentation on last ChangeLog entry.
8234 2004-01-16 Kim Ho <kho@redhat.com>
8236 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
8237 (gtkWidgetGetDimensions): Remove.
8238 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8239 (gtkWidgetGetDimensions): Remove.
8241 2004-01-16 Tom Tromey <tromey@redhat.com>
8243 * java/awt/Container.java: Typo and indentation fixes.
8245 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
8246 * java/lang/natVMClassLoader.cc: ...here. New file.
8247 * Makefile.in: Rebuilt.
8248 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
8250 2004-01-16 Fernando Nasser <fnasser@redhat.com>
8252 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
8253 Discard GDK_ENTER_NOTIFY related to ungrabs.
8255 2004-01-16 Fernando Nasser <fnasser@redhat.com>
8257 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
8258 is called for an intermediate queue.
8260 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
8262 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8263 (window_property_changed_cb): Set id_set.
8265 2004-01-16 Kim Ho <kho@redhat.com>
8267 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
8268 it is a FileDialog and has dimensions of 0 by 0, then the initial
8269 size is set to size request plus insets.
8270 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
8271 (gtkWidgetGetDimensions): Override method.
8272 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8273 (gtkWidgetGetDimensions): Override method. Returns size request plus
8276 2004-01-16 Andrew Haley <aph@redhat.com>
8278 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
8279 * sysdep/i386/locks.h: Likewise.
8281 2004-01-16 Fernando Nasser <fnasser@redhat.com>
8283 * java/awt/EventDispatchThread.java (run): Stop running when
8285 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
8286 Reset the queue after transferring its contents.
8287 (push): Start a new dispatch thread if none is running.
8289 2004-01-16Â Olga Rodimina <rodimina@redhat.com>
8291 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8292 (doPolygon): set fill rule of polygon to
8293 WIND_EVEN_ODD by default.
8295 2004-01-15 Olga Rodimina <rodimina@redhat.com>
8297 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8298 Implemented rendering hints related methods.
8299 (getDefaultHints): New helper method. Returns
8300 default rendering hints.
8301 (walkPath): changed to normalize path if
8302 the KEY_STROKE_CONTROL key is in "normalize" mode.
8303 (draw3DRect): changed coordinates of rectangle by +0.5
8304 if in "normalize" mode.
8306 2004-01-15 Tom Tromey <tromey@redhat.com>
8308 * Makefile.in: Rebuilt.
8309 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
8310 (%.lo: %.java) Filter out StackTrace.lo.
8312 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
8314 * configure.in: Add in AC_PREREQ(2.13)
8315 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
8318 2004-01-14 Nathan Bryant <nbryant@optonline.net>
8319 Tom Tromey <tromey@redhat.com>
8322 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
8323 array to superclass.
8324 (init): Changed interface; add URLs here.
8325 (initialize): New static method.
8326 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
8327 (_Jv_RunMain): ... not here.
8329 2004-01-14 Michael Koch <konqueror@gmx.de>
8331 * java/text/MessageFormat.java:
8332 Added descriptions to exceptions.
8333 This fixes PR libgcj/2429.
8335 2004-01-13 Fernando Nasser <fnasser@redhat.com>
8337 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
8338 (push): Make sure push is performed at the top of the thread stack.
8340 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8342 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8343 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8344 (native create): Add width and height parameters. Set text
8345 view's size request according to new parameters.
8346 (create): Calculate text view size based on current font's
8347 metrics and number of rows and columns. Set TextArea's font if
8348 not already set. Call native create.
8349 (getMinimumSize): Call minimumSize.
8350 (getPreferredSize): Call preferredSize.
8351 (getHScrollbarHeight): New method.
8352 (getVScrollbarWidth): New method.
8353 (minimumSize): Calculate minimum size based on scrollbar
8354 visibility, scrollbar sizes, font metrics and number of rows and
8356 (preferredSize): Likewise for preferred size.
8357 (gtkTextGetSize): Remove method.
8359 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8361 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8362 (initializeInsets): Remove method.
8363 (GtkComponentPeer): Initialize insets field. Remove call to
8365 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
8367 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
8369 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
8370 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
8371 (latestInsets): Remove field.
8372 (native create): Add insets parameter. Call
8373 window_get_frame_extents. Set the window's default size and
8374 size request based on its frame extents.
8375 (create): Initialize insets.
8376 (postInsetsChangedEvent): New method.
8377 (postConfigureEvent): Remove parameters top, left, bottom,
8378 right. Remove insets-related logic.
8379 (connectJObject): Handle property-notify-event.
8380 (window_get_frame_extents, request_frame_extents,
8381 property_notify_predicate, window_property_changed_cb): New
8383 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8384 (pre_event_handler): Remove insets-related logic for configure
8386 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
8387 Update postConfigureEvent signature.
8389 2004-01-13 Fernando Nasser <fnasser@redhat.com>
8391 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
8392 to handle Window "Closing" events.
8394 2004-01-13 David Jee <djee@redhat.com>
8396 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8397 (setBackground): New method. Children with no explicitly-set
8398 background will be repainted with the parent container's new
8401 2004-01-13 David Jee <djee@redhat.com>
8403 * Makefile.am: Add BitwiseXORComposite.java.
8404 * Makefile.in: Regenerated.
8405 * gcj/Makefile.in: Regenerated.
8406 * include/Makefile.in: Regenerated.
8407 * testsuite/Makefile.in: Regenerated.
8409 2004-01-12 Fernando Nasser <fnasser@redhat.com>
8411 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
8412 not show modal dialogs twice and so that it allows showing a modal
8413 dialog from another modal dialog.
8415 2004-01-12 Fernando Nasser <fnasser@redhat.com>
8417 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
8418 and run secondary dispatch thread to process event queue while this
8421 2004-01-12 Graydon Hoare <graydon@redhat.com>
8423 * gnu/java/awt/gtk/GdkGraphics2D.java
8424 (static): Check GtkToolkit before initializing static state.
8425 (Graphics2D): Don't construct transform with 0.5 unit offset.
8427 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
8429 * gnu/java/awt/BitwiseXORComposite.java: Add.
8430 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8431 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
8432 (BitwiseXORComposite): Remove inner class.
8434 2004-01-11 Michael Koch <konqueror@gmx.de>
8436 * gnu/java/lang/reflect/TypeSignature.java
8437 (getEncodingOfClass): Documentation fixed.
8438 (getClassForEncoding): Give class loader to Class.forName().
8439 Documentation fixed.
8441 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
8443 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
8445 2004-01-11 Michael Koch <konqueror@gmx.de>
8447 * javax/swing/undo/StateEditable.java
8448 (RCSID): Removed redundant modifiers.
8450 2004-01-10 Michael Koch <konqueror@gmx.de>
8452 * javax/print/attribute/EnumSyntax.java
8453 (getStringTable): Made protected.
8454 (getEnumValueTable): Likewise.
8455 * javax/print/attribute/standard/JobKOctetsProcessed.java
8456 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
8457 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
8458 (JobMediaSheetsCompleted): Made class final.
8459 * javax/print/attribute/standard/OutputDeviceAssigned.java
8460 (getName): Fixed typo.
8461 * javax/print/attribute/standard/RequestingUserName.java
8462 (serialVersionUID): Fixed value.
8464 2004-01-10 Michael Koch <konqueror@gmx.de>
8466 * javax/swing/plaf/basic/BasicButtonUI.java,
8467 javax/swing/plaf/basic/BasicCheckBoxUI.java,
8468 javax/swing/plaf/basic/BasicListUI.java,
8469 javax/swing/plaf/basic/BasicOptionPaneUI.java,
8470 javax/swing/plaf/basic/BasicPanelUI.java,
8471 javax/swing/plaf/basic/BasicRadioButtonUI.java,
8472 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8473 javax/swing/plaf/basic/BasicToggleButtonUI.java,
8474 javax/swing/plaf/basic/BasicViewportUI.java:
8475 Fixed import statements.
8477 2004-01-10 Michael Koch <konqueror@gmx.de>
8479 * gnu/java/awt/image/ImageDecoder.java
8480 (produce): Made public.
8481 * gnu/java/awt/peer/GLightweightPeer.java,
8482 gnu/java/awt/peer/gtk/GtkToolkit.java:
8485 2004-01-10 Michael Koch <konqueror@gmx.de>
8487 * javax/swing/JRadioButtonMenuItem.java,
8488 javax/swing/JSeparator.java,
8489 javax/swing/JSplitPane.java,
8490 javax/swing/JTextPane.java,
8491 javax/swing/JToolBar.java,
8492 javax/swing/ListCellRenderer.java,
8493 javax/swing/ListModel.java,
8494 javax/swing/MenuElement.java,
8495 javax/swing/OverlayLayout.java,
8496 javax/swing/ProgressMonitor.java,
8497 javax/swing/ProgressMonitorInputStream.java,
8498 javax/swing/Renderer.java,
8499 javax/swing/RootPaneContainer.java,
8500 javax/swing/Scrollable.java,
8501 javax/swing/SingleSelectionModel.java,
8502 javax/swing/ToolTipManager.java,
8503 javax/swing/ViewportLayout.java,
8504 javax/swing/event/DocumentEvent.java,
8505 javax/swing/event/SwingPropertyChangeSupport.java,
8506 javax/swing/event/TreeSelectionEvent.java,
8507 javax/swing/event/UndoableEditEvent.java,
8508 javax/swing/text/AbstractDocument.java,
8509 javax/swing/text/AttributeSet.java,
8510 javax/swing/text/Caret.java,
8511 javax/swing/text/ComponentView.java,
8512 javax/swing/text/DefaultCaret.java,
8513 javax/swing/text/DefaultEditorKit.java,
8514 javax/swing/text/Document.java,
8515 javax/swing/text/EditorKit.java,
8516 javax/swing/text/GapContent.java,
8517 javax/swing/text/Keymap.java,
8518 javax/swing/text/MutableAttributeSet.java,
8519 javax/swing/text/PlainEditorKit.java,
8520 javax/swing/text/Segment.java,
8521 javax/swing/text/Style.java,
8522 javax/swing/text/StyledDocument.java,
8523 javax/swing/text/StyledEditorKit.java,
8524 javax/swing/text/TextAction.java,
8525 javax/swing/text/View.java: Fixed import statements.
8527 2004-01-08 Graydon Hoare <graydon@redhat.com>
8529 * javax/swing/JLayeredPane.java: Rewrite to accomodate
8530 djee@redhat.com's recent inverse ordering of Container elements.
8532 2004-01-09 Michael Koch <konqueror@gmx.de>
8534 * gnu/java/lang/ArrayHelper.java
8535 (equalsArray): Removed.
8537 2004-01-09 Andrew Haley <aph@redhat.com>
8539 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
8540 a Utf8Const field before looking at its class.
8542 2004-01-09 Michael Koch <konqueror@gmx.de>
8544 * javax/print/attribute/standard/DocumentName.java,
8545 javax/print/attribute/standard/JobHoldUntil.java,
8546 javax/print/attribute/standard/JobMessageFromOperator.java,
8547 javax/print/attribute/standard/JobName.java,
8548 javax/print/attribute/standard/JobOriginatingUserName.java,
8549 javax/print/attribute/standard/OutputDeviceAssigned.java,
8550 javax/print/attribute/standard/PrinterInfo.java,
8551 javax/print/attribute/standard/PrinterLocation.java,
8552 javax/print/attribute/standard/PrinterMakeAndModel.java,
8553 javax/print/attribute/standard/PrinterMessageFromOperator.java,
8554 javax/print/attribute/standard/PrinterName.java,
8555 javax/print/attribute/standard/RequestingUserName.java: New files.
8556 * Makefile.am (javax_source_files): Added new files.
8557 * Makefile.in: Regenerated.
8559 2004-01-09 Michael Koch <konqueror@gmx.de>
8561 * javax/swing/AbstractAction.java,
8562 javax/swing/AbstractSet.java,
8563 javax/swing/Action.java,
8564 javax/swing/ActionMap.java,
8565 javax/swing/BoundedRangeModel.java,
8566 javax/swing/ButtonModel.java,
8567 javax/swing/CellEditor.java,
8568 javax/swing/CellRendererPane.java,
8569 javax/swing/ComboBoxEditor.java,
8570 javax/swing/DebugGraphics.java,
8571 javax/swing/DefaultCellEditor.java,
8572 javax/swing/DefaultCellRenderer.java,
8573 javax/swing/DefaultComboBoxModel.java,
8574 javax/swing/DefaultDesktopManager.java,
8575 javax/swing/DefaultFocusManager.java,
8576 javax/swing/DefaultListCellRenderer.java,
8577 javax/swing/Icon.java,
8578 javax/swing/JButton.java,
8579 javax/swing/JCheckBoxMenuItem.java,
8580 javax/swing/JDesktopPane.java,
8581 javax/swing/JEditorPane.java,
8582 javax/swing/JMenu.java,
8583 javax/swing/JPanel.java,
8584 javax/swing/JPasswordField.java,
8585 javax/swing/JPopupMenu.java,
8586 javax/swing/JProgressBar.java: Reworked imports.
8588 2004-01-09 Michael Koch <konqueror@gmx.de>
8590 * java/awt/geom/PathIterator.java
8591 (WIND_EVEN_ODD): Removed redundant modifiers.
8592 (WIND_NON_ZERO): Likewise.
8593 (SEG_MOVETO): Likewise.
8594 (SEG_LINETO): Likewise.
8595 (SEG_QUADTO): Likewise.
8596 (SEG_CUBICTO): Likewise.
8597 (SEG_CLOSE): Likewise.
8598 * java/awt/image/SinglePixelPackedSampleModel.java:
8599 Removed redundant semicolon.
8600 * java/io/ObjectInputStream.java
8601 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
8602 * java/util/logging/Filter.java
8603 (isLoggable): Removed redundant modifier.
8604 * java/util/logging/LogManager.java:
8605 Removed redundant semicolon.
8606 * java/util/logging/XMLFormatter.java
8607 (format): Removed unused variable "key".
8609 2004-01-08 Fernando Nasser <fnasser@redhat.com>
8611 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
8612 New name for the former setFile native method.
8613 (setFile): New method.
8614 (setDirectory): Implemented.
8615 (connectSignals): New native method.
8616 (setFilenameFilter): Improve comment.
8617 (getGraphics): Comment.
8618 (gtkHideFileDialog): New method.
8619 (gtkDisposeFileDialog): New method.
8620 (gtkSetFilename): New method.
8621 * java/awt/Dialog.java (show): Block on modal dialogs, but only
8622 for FileDialog for now.
8624 (dispose): New method.
8625 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8626 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
8627 deprecated creation functions. Make dialog modal. Add it to the
8629 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
8631 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
8633 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
8635 (window_closed): New function.
8636 (ok_clicked): New function.
8637 (cancel_clicked): New function.
8639 2004-01-08 Michael Koch <konqueror@gmx.de>
8641 * javax/swing/JLayeredPane.java: Revert changes to standard
8642 boilerplate, reworked imports.
8644 2004-01-07 Tom Tromey <tromey@redhat.com>
8647 * verify.cc (state::merge): Copy changed locals out of subroutine
8649 (state::FLAG_CHANGED): New const.
8650 (state::FLAG_UNUSED): Likewise.
8651 (state::local_changed): Removed. Updated all users.
8652 (state::flags): New field.
8653 (state::merge): Added jsr_semantics argument, more logic.
8654 (push_jump_merge): Added jsr_semantics argument.
8655 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
8656 merging through the jsr instruction.
8658 2004-01-07 Tom Tromey <tromey@redhat.com>
8660 * scripts/MakeDefaultMimeTypes.java: Use \n, not
8663 2004-01-07 Graydon Hoare <graydon@redhat.com>
8665 * java/awt/Container.java (LightweightDispatcher): Implement.
8666 (visitChild): Reuse graphics object.
8667 (dispatchEventImpl): Optionally dispatch to lightweight.
8668 (addNotifyContainerChildren): Build LightweightDispatcher.
8670 2004-01-07 David Jee <djee@redhat.com>
8672 * java/awt/Container.java
8673 (update): Clear only the clipped region, instead of clearing the
8675 (visitChildren): Visit children in descending order.
8677 2004-01-07 Michael Koch <konqueror@gmx.de>
8679 * java/lang/reflect/Array.java: Merged documentation with classpath.
8681 2004-01-07 Michael Koch <konqueror@gmx.de>
8683 * java/text/CollationElementIterator.java
8684 (textIndex): Renamed from index.
8685 * java/text/CollationKey.java
8686 (collator): New member.
8687 (CollationKey): New argument for parent collator.
8688 (equals): Check for same collator, source string and key array.
8689 * java/text/RuleBasedCollator.java:
8691 (RuleBasedCollator): Don't re-initialize frenchAccents with default
8693 (getCollationElementIterator): Rewritten.
8694 (getCollationKey): Added new argument to CollationKey constructor.
8696 2004-01-07 Michael Koch <konqueror@gmx.de>
8698 * gnu/java/nio/DatagramChannelImpl.java
8699 (blocking): Removed.
8700 (DatagramChannelImpl): Call configureBlocking().
8701 (implConfigureBlocking): Dont initialize blocking.
8702 * gnu/java/nio/ServerSocketChannelImpl.java
8703 (blocking): Removed.
8704 (ServerSocketChannelImpl): Call configureBlocking().
8705 (implConfigureBlocking): Dont initialize blocking.
8706 * gnu/java/nio/SocketChannelImpl.java
8707 (blocking): Removed.
8708 (SocketChannelImpl): Call configureBlocking().
8709 (implConfigureBlocking): Dont initialize blocking.
8710 (connect): Use isBlocking().
8711 * java/nio/channels/spi/AbstractSelectableChannel.java
8712 (configureBlocking): Use blockingLock() instead of LOCK.
8713 Set blocking after successfully called implConfigureBlocking().
8714 (register): Use blockingLock() instead of LOCK.
8716 2004-01-07 Michael Koch <konqueror@gmx.de>
8718 * java/net/ServerSocket.java (isBound): Fixed documentation.
8720 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
8722 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
8723 (changeEvent): Create event object on demand.
8724 (DefaultBoundedRangeModel, toString, setValue, setExtent,
8725 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
8726 fireStateChanged): Re-written.
8727 * javax/swing/event/EventListenerList.java: Reformatted, document
8729 (toString): Implemented.
8730 (getListeners): Re-written.
8731 (remove): Re-written.
8733 (NO_LISTENERS): New singleton field.
8734 (listenerList): Declare as transient; document.
8735 (serialVersionUID): Document.
8736 (getListenerCount(Class)): More efficient implementation,
8737 also accepts null argument. Improve Javadoc.
8738 (getListenerCount()): Remove unnecessary cast; docfix.
8739 * javax/swing/undo/UndoableEditSupport.java:
8740 Re-format, document.
8741 (UndoableEditSupport): Set realSource field. Improve documentation.
8742 (_postEdit): Iterate over cloned listener vector.
8743 (toString): Don't emit realSource.
8744 (beginUpdate, endUpdate): Support nested updates.
8745 (postEdit): Use compound edit if present.
8747 2004-01-06 Graydon Hoare <graydon@redhat.com>
8749 * java/awt/Container.java (swapComponents): Add forgotten
8750 function, required for JLayeredPane change.
8752 2004-01-06 Michael Koch <konqueror@gmx.de>
8754 * java/text/CollationElementIterator.java: Reformated.
8755 (CollationElementIterator): Changed order of arguments.
8756 * java/text/RuleBasedCollator.java
8757 (RuleBasedCollator): Merged class documentation.
8758 (CollationElement): Added documentation.
8759 (compare): Reformated, renamed arguments.
8761 (getCollationElementIterator): Likewise.
8762 (getCollationKey): Likewise.
8764 2004-01-06 Graydon Hoare <graydon@redhat.com>
8766 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
8768 2004-01-06 Michael Koch <konqueror@gmx.de>
8770 * gnu/java/net/protocol/file/Connection.java:
8771 Reformated copyright.
8774 (gotHeaders): Removed.
8775 (getHeaderField): Removed.
8776 (getHeaderField): Removed.
8777 (getHeaderFieldKey): Removed.
8779 (getField): Removed.
8780 (getHeaders): Removed.
8782 2004-01-06 Michael Koch <konqueror@gmx.de>
8784 * javax/print/attribute/standard/DateTimeAtCompleted.java,
8785 javax/print/attribute/standard/DateTimeAtCreation.java,
8786 javax/print/attribute/standard/DateTimeAtProcessing.java,
8787 javax/print/attribute/standard/JobImpressionsCompleted.java,
8788 javax/print/attribute/standard/JobKOctets.java,
8789 javax/print/attribute/standard/JobKOctetsProcessed.java,
8790 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
8791 javax/print/attribute/standard/JobPrioritySupported.java: New files.
8792 * Makefile.am (javax_source_files): Added new files.
8793 * Makefile.in: Regenerated.
8795 2004-01-06 Michael Koch <konqueror@gmx.de>
8797 * java/net/URLConnection.java
8798 (contentHandler): Removed.
8800 (getHeaderFields): Return an empty map instead of null.
8801 (getContent): Connect if needed, renamed "cType" to "type" and
8802 "contentHandler" to "ch" and made it a local variable.
8803 (getPermission): Don't use package in class name.
8804 (setDefaultRequestProperty): Fixed typo in documentation.
8805 (initializeDateFormats): Made locale a local variable.
8807 2004-01-06 Michael Koch <konqueror@gmx.de>
8809 * java/lang/Package.java
8810 (getPackage): Get the current class loader directly.
8811 * java/lang/SecurityManager.java
8812 (currentLoadedClass): Dont iterate over class contexts.
8813 (classLoaderDepth): Don't check class loaders if everything is allowed.
8815 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
8817 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8818 (pre_event_handler): Set all insets to 0 when a Configure event
8819 is received for a GtkPlug.
8820 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
8821 Make handle long, not int.
8822 (EmbeddedWindow()): New constructor.
8823 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
8825 (setHandle): New method.
8826 (getHandle): Return long, not int.
8827 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
8829 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
8830 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
8831 (create(long)): Take long parameter, not int. Cast gtk_plug_new
8832 argument to GdkNativeWindow.
8833 (construct): New method.
8834 (embed): New method.
8836 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
8837 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
8838 (create(int, int)): New method.
8839 (create): Call new create method.
8840 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
8842 (childResized): Remove native implementation. Implement in
8844 (getHScrollbarHeight, getVScrollbarWidth): Call
8845 gtk_widget_size_request to get scrollbar dimensions.
8846 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
8847 call getVScrollbarWidth and getHScrollbarHeight when vertical
8848 and horizontal scrollbars respectively are needed.
8849 (doLayout): Enlarge child if it is smaller than the viewport.
8851 2004-01-05 Fernando Nasser <fnasser@redhat.com>
8853 * java/awt/Dialog.java (constructor): Accept null title as per spec.
8854 * java/awt/FileDialog.java (constructor): Throw exception on invalid
8855 argument as per spec.
8857 2004-01-05 Fernando Nasser <fnasser@redhat.com>
8859 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
8861 (remove): Ditto. Also, Check for valid argument.
8862 (removeAll): Use peer interface method.
8863 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
8864 native add function.
8865 (nativeRemove): New name for native remove function.
8866 (getHistory): New native function.
8867 (constructor): Generate ItemEvent.
8868 (add): Ditto, if selection is changed.
8869 (remove): Ditto, ditto.
8870 (removeAll): Add implementation.
8871 (handleEvent): Remove. Dead code.
8872 (choicePostItemEvent): Add comment.
8873 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8874 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
8875 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
8876 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
8877 comments and fix condition to change selection.
8878 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
8879 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
8880 remove all capability.
8881 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
8882 (item_activate): Add cast to remove compiler warning.
8884 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
8886 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8887 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8888 (getPreferredSize): Call preferredSize.
8889 (preferredSize): Call gtkWidgetGetPreferredDimensions.
8890 (getMinimumSize): Call minimumSize.
8891 (minimumSize): Call gtkWidgetGetPreferredDimensions.
8892 (gtkWidgetGetDimensions): Return the peer widget's current size
8894 (gtkWidgetGetPreferredDimensions): Return the peer widget's
8895 natural size request.
8897 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
8899 Thanks to Brian Gough <bjg@network-theory.com>
8900 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
8901 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
8903 2004-01-04 Matthias Klose <doko@debian.org>
8905 * aclocal.m4: Rebuilt using "aclocal -I .".
8906 * configure: Rebuilt.
8908 2004-01-03 Per Bothner <per@bothner.com>
8910 * java/util/Date.java (parse): Fix a number of problems.
8911 (skipParens): Remove no-longer-needed method.