Kim Ho
9543baba84
2004-01-16 Kim Ho <kho@redhat.com>
...
* gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
(gtkWidgetGetDimensions): Remove.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(gtkWidgetGetDimensions): Remove.
From-SVN: r76148
2004-01-19 14:08:19 +00:00
Tom Tromey
19833df131
ChangeLog rotation
...
From-SVN: r76030
2004-01-17 08:40:41 +00:00
Tom Tromey
d440f6424f
* java/awt/Container.java: Typo and indentation fixes.
...
From-SVN: r76004
2004-01-17 00:01:59 +00:00
Tom Tromey
b54a271561
natClassLoader.cc: Moved VMClassLoader methods...
...
* java/lang/natClassLoader.cc: Moved VMClassLoader methods...
* java/lang/natVMClassLoader.cc: ...here. New file.
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Added natVMClassLoader.cc.
From-SVN: r76003
2004-01-16 23:54:22 +00:00
Fernando Nasser
2f9c39f8fc
gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler): Discard GDK_ENTER_NOTIFY related to ungrabs.
...
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
Discard GDK_ENTER_NOTIFY related to ungrabs.
From-SVN: r75999
2004-01-16 22:30:11 +00:00
Fernando Nasser
da1c22e144
EventQueue.java (pop): Prevent breaking the chain if pop is called for an intermediate queue.
...
* java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
is called for an intermediate queue.
From-SVN: r75998
2004-01-16 22:26:49 +00:00
Thomas Fitzsimmons
eae433e995
2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
...
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(window_property_changed_cb): Set id_set.
Also: re-indent kho's latest ChangeLog entry.
From-SVN: r75997
2004-01-16 21:55:21 +00:00
Kim Ho
2b8deefadd
GtkComponentPeer.java (GtkComponentPeer): If it is a FileDialog and has dimensions of 0 by 0...
...
2004-01-16 Kim Ho <kho@redhat.com>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
it is a FileDialog and has dimensions of 0 by 0, then the initial
size is set to size request plus insets.
* gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
(gtkWidgetGetDimensions): Override method.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(gtkWidgetGetDimensions): Override method. Returns size request plus
insets.
From-SVN: r75993
2004-01-16 20:05:41 +00:00
Andrew Haley
a3fe7b56f3
locks.h: Don't use in/out memory constraints.
...
2004-01-16 Andrew Haley <aph@redhat.com>
* sysdep/x86-64/locks.h: Don't use in/out memory constraints.
* sysdep/i386/locks.h: Likewise.
From-SVN: r75982
2004-01-16 17:25:26 +00:00
Fernando Nasser
101900aa28
EventDispatchThread.java (run): Stop running when interrupted.
...
* java/awt/EventDispatchThread.java (run): Stop running when
interrupted.
* java/awt/EventQueue.java (pop): Stop dispatch thread when done.
Reset the queue after transferring its contents.
(push): Start a new dispatch thread if none is running.
From-SVN: r75977
2004-01-16 16:15:49 +00:00
Olga Rodimina
f30dbd2039
* gnu/java/awt/peer/gtk/GdkGraphics2D.java:
...
(doPolygon): set fill rule of polygon to
WIND_EVEN_ODD by default
From-SVN: r75971
2004-01-16 14:22:23 +00:00
Olga Rodimina
b123101753
GdkGraphics2D.java: Implemented rendering hints related methods.
...
* gnu/java/awt/peer/gtk/GdkGraphics2D.java:
Implemented rendering hints related methods.
(getDefaultHints): New helper method. Returns
default rendering hints.
(walkPath): changed to normalize path if
the KEY_STROKE_CONTROL key is in "normalize" mode.
(draw3DRect): changed coordinates of rectangle by +0.5
if in "normalize" mode.
From-SVN: r75943
2004-01-15 22:00:01 +00:00
Tom Tromey
e18243dd1d
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
(%.lo: %.java) Filter out StackTrace.lo.
From-SVN: r75934
2004-01-15 18:29:29 +00:00
Kelley Cook
d5b2f1be14
configure.in: Add in AC_PREREQ(2.13)
...
boehm-gc/
2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
* configure.in: Add in AC_PREREQ(2.13)
libf2c/
2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
* libF77/configure.in: Update to AC_PREREQ(2.13)
* libI77/configure.in: Update to AC_PREREQ(2.13)
* libU77/configure.in: Update to AC_PREREQ(2.13)
* libU77/configure: Regenerate.
libffi/
2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
* configure.in: Add in AC_PREREQ(2.13)
libjava/
2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
* configure.in: Add in AC_PREREQ(2.13)
libjava/libltdl
2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
* configure.in: Update to AC_PREREQ(2.57). Delete FIXME comment.
zlib/
2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
* configure.in: Add in AC_PREREQ(2.13)
From-SVN: r75901
2004-01-15 03:41:49 +00:00
Nathan Bryant
092b50e2d7
re PR libgcj/12001 (_Jv_FindClass dumps core when Oracle's classes12.zip in $CLASSPATH)
...
PR libgcj/12001:
* gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
array to superclass.
(init): Changed interface; add URLs here.
(initialize): New static method.
* prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
(_Jv_RunMain): ... not here.
Co-Authored-By: Tom Tromey <tromey@redhat.com>
From-SVN: r75889
2004-01-14 22:49:58 +00:00
Michael Koch
b3e5b4528d
re PR libgcj/2429 (java.text.MessageFormat should usefully set text on exceptions)
...
2004-01-14 Michael Koch <konqueror@gmx.de>
* java/text/MessageFormat.java:
Added descriptions to exceptions.
This fixes PR libgcj/2429.
From-SVN: r75877
2004-01-14 19:45:11 +00:00
Fernando Nasser
25c3f7c8b9
* java/awt/EventQueue.java (isDispatchThread): Do check on top of stack. (push): Make sure push is performed at the top of the thread stack.
...
From-SVN: r75820
2004-01-13 22:51:26 +00:00
Thomas Fitzsimmons
9e2c04c59a
GtkTextAreaPeer.java, [...] (native create): Add width and height parameters.
...
2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
(native create): Add width and height parameters. Set text
view's size request according to new parameters.
(create): Calculate text view size based on current font's
metrics and number of rows and columns. Set TextArea's font if
not already set. Call native create.
(getMinimumSize): Call minimumSize.
(getPreferredSize): Call preferredSize.
(getHScrollbarHeight): New method.
(getVScrollbarWidth): New method.
(minimumSize): Calculate minimum size based on scrollbar
visibility, scrollbar sizes, font metrics and number of rows and
columns.
(preferredSize): Likewise for preferred size.
(gtkTextGetSize): Remove method.
From-SVN: r75817
2004-01-13 20:58:33 +00:00
Thomas Fitzsimmons
db19e39b82
2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
...
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(initializeInsets): Remove method.
(GtkComponentPeer): Initialize insets field. Remove call to
initializeInsets.
* gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
Remove method.
* gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
Remove method.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
(latestInsets): Remove field.
(native create): Add insets parameter. Call
window_get_frame_extents. Set the window's default size and
size request based on its frame extents.
(create): Initialize insets.
(postInsetsChangedEvent): New method.
(postConfigureEvent): Remove parameters top, left, bottom,
right. Remove insets-related logic.
(connectJObject): Handle property-notify-event.
(window_get_frame_extents, request_frame_extents,
property_notify_predicate, window_property_changed_cb): New
static functions.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
(pre_event_handler): Remove insets-related logic for configure
events.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
Update postConfigureEvent signature.
From-SVN: r75816
2004-01-13 20:54:46 +00:00
Fernando Nasser
81c740ba1b
TestAWT.java (DialogWindow): Add WindowAdapter to handle Window "Closing" events.
...
* gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
to handle Window "Closing" events.
From-SVN: r75813
2004-01-13 20:00:00 +00:00
David Jee
e6cca48823
2004-01-13�� David Jee�� <djee@redhat.com>
...
* gnu/java/awt/peer/gtk/GtkContainerPeer.java
(setBackground): New method. Children with no explicitly-set
background will be repainted with the parent container's new
background color.
From-SVN: r75809
2004-01-13 17:55:20 +00:00
Fernando Nasser
e5baf3bd82
TestAWT.java: Fix test program so that it does not show modal dialogs twice and so that it...
...
* gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
not show modal dialogs twice and so that it allows showing a modal
dialog from another modal dialog.
From-SVN: r75803
2004-01-13 13:09:31 +00:00
Fernando Nasser
cc11dca961
Dialog.java (show): Enable blocking for all modal dialogs and run secondary dispatch thread to...
...
* java/awt/Dialog.java (show): Enable blocking for all modal dialogs
and run secondary dispatch thread to process event queue while this
thread is blocked.
From-SVN: r75788
2004-01-13 02:56:18 +00:00
Graydon Hoare
55db8fa9e7
JLayeredPane.java: Rewrite to accomodate djee@redhat.com's recent inverse ordering of Container...
...
2004-01-08 Graydon Hoare <graydon@redhat.com>
* javax/swing/JLayeredPane.java: Rewrite to accomodate
djee@redhat.com's recent inverse ordering of Container elements.
From-SVN: r75745
2004-01-12 19:11:00 +00:00
Michael Koch
df9bad8183
2004-01-11 Michael Koch <konqueror@gmx.de>
...
* gnu/java/lang/reflect/TypeSignature.java
(getEncodingOfClass): Documentation fixed.
(getClassForEncoding): Give class loader to Class.forName().
Documentation fixed.
From-SVN: r75675
2004-01-11 14:07:36 +00:00
Sascha Brawer
fc58328a06
CompoundEdit.java (serialVersionUID): Added.
...
2004-01-11 Sascha Brawer <brawer@dandelis.ch>
* javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
From-SVN: r75671
2004-01-11 12:40:49 +00:00
Michael Koch
6a425fbe8d
2004-01-11 Michael Koch <konqueror@gmx.de>
...
* javax/swing/undo/StateEditable.java
(RCSID): Removed redundant modifiers.
From-SVN: r75657
2004-01-10 23:11:56 +00:00
Michael Koch
162fd675e5
2004-01-10 Michael Koch <konqueror@gmx.de>
...
* javax/print/attribute/EnumSyntax.java
(getStringTable): Made protected.
(getEnumValueTable): Likewise.
* javax/print/attribute/standard/JobKOctetsProcessed.java
(JobKOctetsProcessed): Don't implement PrintRequestAttribute.
* javax/print/attribute/standard/JobMediaSheetsCompleted.java
(JobMediaSheetsCompleted): Made class final.
* javax/print/attribute/standard/OutputDeviceAssigned.java
(getName): Fixed typo.
* javax/print/attribute/standard/RequestingUserName.java
(serialVersionUID): Fixed value.
From-SVN: r75655
2004-01-10 22:16:01 +00:00
Michael Koch
12e978c568
BasicButtonUI.java, [...]: Fixed import statements.
...
2004-01-10 Michael Koch <konqueror@gmx.de>
* javax/swing/plaf/basic/BasicButtonUI.java,
javax/swing/plaf/basic/BasicCheckBoxUI.java,
javax/swing/plaf/basic/BasicListUI.java,
javax/swing/plaf/basic/BasicOptionPaneUI.java,
javax/swing/plaf/basic/BasicPanelUI.java,
javax/swing/plaf/basic/BasicRadioButtonUI.java,
javax/swing/plaf/basic/BasicScrollPaneUI.java,
javax/swing/plaf/basic/BasicToggleButtonUI.java,
javax/swing/plaf/basic/BasicViewportUI.java:
Fixed import statements.
From-SVN: r75654
2004-01-10 21:59:30 +00:00
Michael Koch
4a8e704126
2004-01-10 Michael Koch <konqueror@gmx.de>
...
* gnu/java/awt/image/ImageDecoder.java
(produce): Made public.
* gnu/java/awt/peer/GLightweightPeer.java,
gnu/java/awt/peer/gtk/GtkToolkit.java:
Reformated.
From-SVN: r75653
2004-01-10 21:32:23 +00:00
Michael Koch
5c9092a788
JRadioButtonMenuItem.java, [...]: Fixed import statements.
...
2004-01-10 Michael Koch <konqueror@gmx.de>
* javax/swing/JRadioButtonMenuItem.java,
javax/swing/JSeparator.java,
javax/swing/JSplitPane.java,
javax/swing/JTextPane.java,
javax/swing/JToolBar.java,
javax/swing/ListCellRenderer.java,
javax/swing/ListModel.java,
javax/swing/MenuElement.java,
javax/swing/OverlayLayout.java,
javax/swing/ProgressMonitor.java,
javax/swing/ProgressMonitorInputStream.java,
javax/swing/Renderer.java,
javax/swing/RootPaneContainer.java,
javax/swing/Scrollable.java,
javax/swing/SingleSelectionModel.java,
javax/swing/ToolTipManager.java,
javax/swing/ViewportLayout.java,
javax/swing/event/DocumentEvent.java,
javax/swing/event/SwingPropertyChangeSupport.java,
javax/swing/event/TreeSelectionEvent.java,
javax/swing/event/UndoableEditEvent.java,
javax/swing/text/AbstractDocument.java,
javax/swing/text/AttributeSet.java,
javax/swing/text/Caret.java,
javax/swing/text/ComponentView.java,
javax/swing/text/DefaultCaret.java,
javax/swing/text/DefaultEditorKit.java,
javax/swing/text/Document.java,
javax/swing/text/EditorKit.java,
javax/swing/text/GapContent.java,
javax/swing/text/Keymap.java,
javax/swing/text/MutableAttributeSet.java,
javax/swing/text/PlainEditorKit.java,
javax/swing/text/Segment.java,
javax/swing/text/Style.java,
javax/swing/text/StyledDocument.java,
javax/swing/text/StyledEditorKit.java,
javax/swing/text/TextAction.java,
javax/swing/text/View.java: Fixed import statements.
From-SVN: r75651
2004-01-10 21:07:44 +00:00
Graydon Hoare
27c99ffebc
JLayeredPane.java: Rewrite to accomodate djee@redhat.com's recent inverse ordering of Container...
...
2004-01-08 Graydon Hoare <graydon@redhat.com>
* javax/swing/JLayeredPane.java: Rewrite to accomodate
djee@redhat.com's recent inverse ordering of Container elements.
From-SVN: r75608
2004-01-09 22:52:18 +00:00
Michael Koch
e6f8299852
2004-01-09 Michael Koch <konqueror@gmx.de>
...
* gnu/java/lang/ArrayHelper.java
(equalsArray): Removed.
From-SVN: r75592
2004-01-09 17:18:29 +00:00
Andrew Haley
d55d97f163
natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve a Utf8Const field before looking at its class.
...
2004-01-09 Andrew Haley <aph@redhat.com>
* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
a Utf8Const field before looking at its class.
From-SVN: r75591
2004-01-09 17:10:43 +00:00
Michael Koch
41b19a2d9a
DocumentName.java, [...]: New files.
...
2004-01-09 Michael Koch <konqueror@gmx.de>
* javax/print/attribute/standard/DocumentName.java,
javax/print/attribute/standard/JobHoldUntil.java,
javax/print/attribute/standard/JobMessageFromOperator.java,
javax/print/attribute/standard/JobName.java,
javax/print/attribute/standard/JobOriginatingUserName.java,
javax/print/attribute/standard/OutputDeviceAssigned.java,
javax/print/attribute/standard/PrinterInfo.java,
javax/print/attribute/standard/PrinterLocation.java,
javax/print/attribute/standard/PrinterMakeAndModel.java,
javax/print/attribute/standard/PrinterMessageFromOperator.java,
javax/print/attribute/standard/PrinterName.java,
javax/print/attribute/standard/RequestingUserName.java: New files.
* Makefile.am (javax_source_files): Added new files.
* Makefile.in: Regenerated.
From-SVN: r75573
2004-01-09 11:26:42 +00:00
Michael Koch
af0088587f
AbstractAction.java, [...]: Reworked imports.
...
2004-01-09 Michael Koch <konqueror@gmx.de>
* javax/swing/AbstractAction.java,
javax/swing/AbstractSet.java,
javax/swing/Action.java,
javax/swing/ActionMap.java,
javax/swing/BoundedRangeModel.java,
javax/swing/ButtonModel.java,
javax/swing/CellEditor.java,
javax/swing/CellRendererPane.java,
javax/swing/ComboBoxEditor.java,
javax/swing/DebugGraphics.java,
javax/swing/DefaultCellEditor.java,
javax/swing/DefaultCellRenderer.java,
javax/swing/DefaultComboBoxModel.java,
javax/swing/DefaultDesktopManager.java,
javax/swing/DefaultFocusManager.java,
javax/swing/DefaultListCellRenderer.java,
javax/swing/Icon.java,
javax/swing/JButton.java,
javax/swing/JCheckBoxMenuItem.java,
javax/swing/JDesktopPane.java,
javax/swing/JEditorPane.java,
javax/swing/JMenu.java,
javax/swing/JPanel.java,
javax/swing/JPasswordField.java,
javax/swing/JPopupMenu.java,
javax/swing/JProgressBar.java: Reworked imports.
From-SVN: r75572
2004-01-09 10:18:47 +00:00
Michael Koch
bbe4ef8921
2004-01-09 Michael Koch <konqueror@gmx.de>
...
* java/awt/geom/PathIterator.java
(WIND_EVEN_ODD): Removed redundant modifiers.
(WIND_NON_ZERO): Likewise.
(SEG_MOVETO): Likewise.
(SEG_LINETO): Likewise.
(SEG_QUADTO): Likewise.
(SEG_CUBICTO): Likewise.
(SEG_CLOSE): Likewise.
* java/awt/image/SinglePixelPackedSampleModel.java:
Removed redundant semicolon.
* java/io/ObjectInputStream.java
(inputGetObjectStreamClasses): Removed unused variable "ret_val".
* java/util/logging/Filter.java
(isLoggable): Removed redundant modifier.
* java/util/logging/LogManager.java:
Removed redundant semicolon.
* java/util/logging/XMLFormatter.java
(format): Removed unused variable "key".
From-SVN: r75570
2004-01-09 08:58:59 +00:00
Fernando Nasser
06fe3d7df2
GtkFileDialogPeer.java (nativeSetFile): New name for the former setFile native method.
...
* gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
New name for the former setFile native method.
(setFile): New method.
(setDirectory): Implemented.
(connectSignals): New native method.
(setFilenameFilter): Improve comment.
(getGraphics): Comment.
(gtkHideFileDialog): New method.
(gtkDisposeFileDialog): New method.
(gtkSetFilename): New method.
* java/awt/Dialog.java (show): Block on modal dialogs, but only
for FileDialog for now.
(hide): New method.
(dispose): New method.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
(Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
deprecated creation functions. Make dialog modal. Add it to the
window group.
(Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
function.
(Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
Rename to...
(Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
name.
(window_closed): New function.
(ok_clicked): New function.
(cancel_clicked): New function.
From-SVN: r75557
2004-01-08 21:12:25 +00:00
Michael Koch
bafa7fed79
JLayeredPane.java: Revert changes to standard boilerplate, reworked imports.
...
2004-01-08 Michael Koch <konqueror@gmx.de>
* javax/swing/JLayeredPane.java: Revert changes to standard
boilerplate, reworked imports.
From-SVN: r75543
2004-01-08 09:46:52 +00:00
Tom Tromey
11e584edfe
re PR libgcj/13439 (gij VerifyError; works with JDK 1.4)
...
PR libgcj/13439:
* verify.cc (state::merge): Copy changed locals out of subroutine
in NO_STACK case.
(state::FLAG_CHANGED): New const.
(state::FLAG_UNUSED): Likewise.
(state::local_changed): Removed. Updated all users.
(state::flags): New field.
(state::merge): Added jsr_semantics argument, more logic.
(push_jump_merge): Added jsr_semantics argument.
(handle_jsr_insn): Set jsr_semantics on push_jump_merge when
merging through the jsr instruction.
From-SVN: r75533
2004-01-08 05:27:39 +00:00
Tom Tromey
ce972ee8f6
MakeDefaultMimeTypes.java: Use \n, not backslash-newline.
...
* scripts/MakeDefaultMimeTypes.java: Use \n, not
backslash-newline.
From-SVN: r75532
2004-01-08 05:20:31 +00:00
Graydon Hoare
fbea267fef
Container.java (LightweightDispatcher): Implement.
...
2004-01-07 Graydon Hoare <graydon@redhat.com>
* java/awt/Container.java (LightweightDispatcher): Implement.
(visitChild): Reuse graphics object.
(dispatchEventImpl): Optionally dispatch to lightweight.
(addNotifyContainerChildren): Build LightweightDispatcher.
From-SVN: r75531
2004-01-08 03:52:52 +00:00
David Jee
627e4e5fc2
2004-01-07 David Jee <djee@redhat.com>
...
* java/awt/Container.java
(update): Clear only the clipped region, instead of clearing the
entire Container.
(visitChildren): Visit children in descending order.
From-SVN: r75517
2004-01-07 21:20:01 +00:00
Michael Koch
40f8ee2d8d
Array.java: Merged documentation with classpath.
...
2004-01-07 Michael Koch <konqueror@gmx.de>
* java/lang/reflect/Array.java: Merged documentation with classpath.
From-SVN: r75512
2004-01-07 18:46:18 +00:00
Michael Koch
9b773289f8
2004-01-07 Michael Koch <konqueror@gmx.de>
...
* java/text/CollationElementIterator.java
(textIndex): Renamed from index.
* java/text/CollationKey.java
(collator): New member.
(CollationKey): New argument for parent collator.
(equals): Check for same collator, source string and key array.
* java/text/RuleBasedCollator.java:
Reformated.
(RuleBasedCollator): Don't re-initialize frenchAccents with default
value.
(getCollationElementIterator): Rewritten.
(getCollationKey): Added new argument to CollationKey constructor.
From-SVN: r75510
2004-01-07 18:40:08 +00:00
Michael Koch
26067b8be8
2004-01-07 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/DatagramChannelImpl.java
(blocking): Removed.
(DatagramChannelImpl): Call configureBlocking().
(implConfigureBlocking): Dont initialize blocking.
* gnu/java/nio/ServerSocketChannelImpl.java
(blocking): Removed.
(ServerSocketChannelImpl): Call configureBlocking().
(implConfigureBlocking): Dont initialize blocking.
* gnu/java/nio/SocketChannelImpl.java
(blocking): Removed.
(SocketChannelImpl): Call configureBlocking().
(implConfigureBlocking): Dont initialize blocking.
(connect): Use isBlocking().
* java/nio/channels/spi/AbstractSelectableChannel.java
(configureBlocking): Use blockingLock() instead of LOCK.
Set blocking after successfully called implConfigureBlocking().
(register): Use blockingLock() instead of LOCK.
From-SVN: r75507
2004-01-07 16:51:49 +00:00
Michael Koch
89e4eb2a34
ServerSocket.java (isBound): Fixed documentation.
...
2004-01-07 Michael Koch <konqueror@gmx.de>
* java/net/ServerSocket.java (isBound): Fixed documentation.
From-SVN: r75506
2004-01-07 16:37:45 +00:00
Sascha Brawer
b3db7ef158
DefaultBoundedRangeModel.java: Documented API.
...
2004-01-07 Sascha Brawer <brawer@dandelis.ch>
* javax/swing/DefaultBoundedRangeModel.java: Documented API.
(changeEvent): Create event object on demand.
(DefaultBoundedRangeModel, toString, setValue, setExtent,
setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
fireStateChanged): Re-written.
* javax/swing/event/EventListenerList.java: Reformatted, document
typical usage.
(toString): Implemented.
(getListeners): Re-written.
(remove): Re-written.
(add): Re-written.
(NO_LISTENERS): New singleton field.
(listenerList): Declare as transient; document.
(serialVersionUID): Document.
(getListenerCount(Class)): More efficient implementation,
also accepts null argument. Improve Javadoc.
(getListenerCount()): Remove unnecessary cast; docfix.
* javax/swing/undo/UndoableEditSupport.java:
Re-format, document.
(UndoableEditSupport): Set realSource field. Improve documentation.
(_postEdit): Iterate over cloned listener vector.
(toString): Don't emit realSource.
(beginUpdate, endUpdate): Support nested updates.
(postEdit): Use compound edit if present.
From-SVN: r75505
2004-01-07 14:42:04 +00:00
Graydon Hoare
257dd2808c
Container.java (swapComponents): Add forgotten function, required for JLayeredPane change.
...
2004-01-06 Graydon Hoare <graydon@redhat.com>
* java/awt/Container.java (swapComponents): Add forgotten
function, required for JLayeredPane change.
From-SVN: r75491
2004-01-07 00:11:51 +00:00
Michael Koch
5f383ba58b
CollationElementIterator.java: Reformated.
...
2004-01-06 Michael Koch <konqueror@gmx.de>
* java/text/CollationElementIterator.java: Reformated.
(CollationElementIterator): Changed order of arguments.
* java/text/RuleBasedCollator.java
(RuleBasedCollator): Merged class documentation.
(CollationElement): Added documentation.
(compare): Reformated, renamed arguments.
(equals): Likewise.
(getCollationElementIterator): Likewise.
(getCollationKey): Likewise.
From-SVN: r75484
2004-01-06 20:19:31 +00:00