| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/GtkListPeer.java,
java/awt/BorderLayout.java, java/awt/CardLayout.java,
java/awt/CheckboxGroup.java, java/awt/Choice.java,
java/awt/Component.java, java/awt/Container.java,
java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
java/awt/LayoutManager2.java, java/awt/List.java,
java/awt/Menu.java, java/awt/MenuBar.java,
java/awt/MenuItem.java, java/awt/Polygon.java,
java/awt/Rectangle.java, java/awt/ScrollPane.java,
java/awt/Scrollbar.java, java/awt/TextArea.java,
java/awt/TextField.java,
java/awt/image/renderable/RenderContext.java,
javax/swing/JApplet.java: Fix handling of alias methods, where a
method has been deprecated in favour of a new one with the same
funtion but a different name. Put the method implementation in
the deprecated method and have the new method call the
deprecated one. Make all other code call the new method.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/awt/Button.java,
java/awt/Checkbox.java,
java/awt/CheckboxMenuItem.java,
java/awt/Choice.java,
java/awt/Container.java,
java/awt/Dialog.java,
java/awt/EventQueue.java,
java/awt/FileDialog.java,
java/awt/Frame.java,
java/awt/Label.java,
java/awt/List.java,
java/awt/Menu.java,
java/awt/MenuItem.java,
java/awt/Panel.java,
java/awt/PopupMenu.java,
java/awt/Rectangle.java,
java/awt/ScrollPane.java,
java/awt/Scrollbar.java,
java/awt/TextArea.java,
java/awt/TextField.java,
java/awt/Window.java,
java/awt/datatransfer/DataFlavor.java,
java/awt/dnd/DragSource.java,
java/awt/dnd/DragSourceContext.java,
java/awt/event/HierarchyEvent.java,
java/awt/event/MouseWheelEvent.java,
java/awt/im/InputContext.java,
java/awt/image/BufferedImage.java,
java/awt/image/ComponentColorModel.java,
java/awt/image/Raster.java,
java/awt/image/WritableRaster.java,
java/awt/peer/ComponentPeer.java:
Reworked all imports, only import classes explicitly,
dont import unused classes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/GtkButtonPeer.java,
gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
(setFont, gtkSetFont): add.
gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
Propagate font to peer. (setFont): add FIXME comment.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
(gtkTextGetSize): fix height, width computation.
* gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
Make X font name a bit less bogus.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
(post_adjustment_event): Pass on GTK_SCROLL_NONE.
* java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
(processAdjustmentEvent): Adjust value.
* java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
logic errors.
* java/awt/Component.java (setVisible, show, hide): Call show and
hide methods in subclasses.
(getPreferredSize): don't set prefSize before we have peer.
* java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
Guess (0,0) if we don't have peer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/awt/CheckboxMenuItem.java
(CheckBoxMenuItem): Dont implement Serializable.
(getListeners): New method,
(getItemListeners): New method.
* java/awt/Choice.java
(getListeners): New method,
(getItemListeners): New method.
* java/awt/Container.java
(getListeners): Added exception documentation.
(setFocusTraversalKeys): Throw exceptions, added documentattion.
(getFocusTraversalKeys): Added documentation.
(areFocusTraversalKeysSet): Added documentation.
(applyComponentOrientation): Added documentation.
* java/awt/ContainerOrderFocusTraversalPolicy.java
(implicitDownCycleTraversal): Renamed from downCycle for
serialization.
(ContainerOrderFocusTraversalPolicy): Added documentation.
(accept): Reformated.
* java/awt/Dialog.java
(Dialog): Dont implement Serializable.
(Dialog): Added documentation.
* java/awt/Font.java
(Font): Dont use absolute class name.
* java/awt/Frame.java
(Frame): Font implement Serializable.
* java/awt/List.java
(getListeners): New method,
(getActionListeners): New method.
(getItemListeners): New method.
* java/awt/Menu.java
(countItems): New deprecated method.
* java/awt/Scrollbar.java
(getListeners): New method,
(getAdjustmentListeners): New method,
* java/awt/TextComponent.java
(getListeners): New method,
(getTextListeners): New method,
* java/awt/TextField.java
(getListeners): New method,
(getActionListeners): New method.
* java/awt/Window.java
(windowFocusListener): New member variable.
(windowStateListener): New member variable.
(getWindowFocusListeners): New method.
(getWindowStateListeners): New method.
(addWindowFocusListener): New method.
(addWindowStateListener): New method.
(removeWindowFocusListener): New method.
(removeWindowStateListener): New method.
* java/awt/datatransfer/DataFlavor.java
(isRepresentationClassByteBuffer): New method.
(isRepresentationClassCharBuffer): New method.
(isRepresentationClassReader): New method.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/awt/Label.java
(Label): Don't implement Serializable directly.
(addNotify): Fixed typo in documentation.
* java/awt/List.java
(List): Don't implement Serializable directly.
* java/awt/PopupMenu.java
(PopupMenu): Don't implement Serializable directly.
* java/awt/ScrollPane.java
(ScrollPane): Don't implement Serializable directly.
* java/awt/Scrollbar.java
(Scrollbar): Don't implement Serializable directly.
* java/awt/TextArea.java
(preferredSize): Fixed method arguments.
* java/awt/TextField.java
(TextField): Don't implement Serializable directly.
* java/awt/color/ICC_ColorSpace.java
(fromCIOXYZ): Documentation added.
(getMinValue): Documentation added.
(getMaxValue): Documentation added.
* java/awt/datatransfer/DataFlavor.java
(isMimeTypeEqual): May not be final.
(clone): Throws CloneNotSupportedException.
(getReaderForText): Don't throws UnsupportedEncodingException.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/awt/Adjustable.java
(HORIZONTAL): Made static final.
(VERTICAL): Made static final.
(NO_ORITENTATION): Made static final.
* java/awt/AlphaComposite.java
(getInstance): Documentation added.
* java/awt/BasicStroke.java
(BasicStroke): Documentation added, reformated code.
* java/awt/CheckboxMenuItem.java
(CheckboxMenuItem): Throw HeadlessException,
added exception documentation.
* java/awt/Choice.java
(Choice): Throw exception, added documentation.
(add): Throw NullPointerException instead of IllegalArgumentException,
added some documentation.
(addItem): Added some documentation.
(insert): Throw exception, added documentation.
* java/awt/Container.java:
Made some documentation looking better.
(getListeners): Added documentation.
(setFocusTraversalKeys): Throw exception.
(getFocusTraversalKeys): Throw exception.
(areFocusTraversalKeys): Throw exception.
* java/awt/Cursor.java
(Cursor): Added documentation.
(getSystemCustomCursor): Throw exception, added documentation.
* java/awt/EventQueue.java
(postEvent): Added documentation.
(invodeAndWait): Added documentation.
(push): Added documentation.
(pop): Added documentation.
(dispatchEvent): Added documentation.
* java/awt/FileDialog.java
(FileDialog): Call setMode() instead of code duplication,
added documentation.
(setMode): Added documentation.
* java/awt/Label.java
(Label): Throw exception, added documentation.
* java/awt/List.java
(List): Throw exception, added documentation.
* java/awt/Menu.java
(Menu): Throw exception, added documentation.
* java/awt/MenuBar.java
(MenuBar): Throw exception, added documentation.
* java/awt/MenuComponent.java
(MenuComponent): Throw exception, added documentation.
* java/awt/PopupMenu.java
(PopupMenu): Throw exception, added documentation.
* java/awt/ScrollPane.java
(ScrollPane): Throw exception, added documentation.
* java/awt/Scrollbar.java
(Scrollbar): Throw exception, added documentation.
* java/awt/TextArea.java
(TextArea): Throw exception, added documentation.
* java/awt/TextField.java
(TextField): Throw exception, added documentation.
* java/awt/Transparency.java
(OPAQUE): Made static final.
(BITMASK): Made static final.
(TRANSLUCENT): Made static final.
* java/awt/color/CMMException.java:
(CMMException): Extends RuntimeException not Exception.
* java/awt/color/ColorSpace.java
(ColorSpace): Implements Serializable.
* java/awt/color/ICC_Profile.java
(write): Throws IOException.
* java/awt/color/ProfileDataException.java
(ProfileDataException): Extends RuntimeException not Exception.
* java/awt/datatransfer/Clipboard.java
(getContents): Added documentation.
(setContents): Added documentation.
* java/awt/datatransfer/DataFlavor.java
(DataFlavor): Added documentation.
(isMimeTypeEqual): Added documentation.
(clone): Added documentation.
(readExternal): Added documentation.
(writeExternal): Added documentation.
* java/awt/datatransfer/SystemDataFlavor.java:
Reintented, Reformated.
(SystemDataFlavor): Added implements FlavorTable.
(getFalvorsForNative): New stubbed method.
(getNativesForFlavor): New stubbed method.
* java/awt/dnd/DragGestureEvent.java
(startDrag): Added documentation.
* java/awt/dnd/DragGestureRecognizer.java
(addDragGestureListener): Added documentation.
* java/awt/dnd/DragSource.java
(DragSource): Throw exception, documentation added.
(getDefaultDragSource): Added documentation.
(startDrag): Added documentation.
(createDragSourceContext): Added documentation.
* java/awt/dnd/DropTarget.java
(DropTarget): Implements DropTargetListener, EventListener,
Serializable.
(isActive): New member variable to save state.
(setActive): Implemented.
(isActive): Implemented.
* java/awt/geom/PathIterator.java:
Fixed two documentations to be HTML conform.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/awt/Button.java (dispatchEventImpl): Only dispatch to
superclass if we didn't handle event.
* java/awt/Checkbox.java (dispatchEventImpl): New method.
* java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
* java/awt/Choice.java (dispatchEventImpl): New method.
* java/awt/List.java (dispatchEventImpl): New method.
* java/awt/Scrollbar.java (dispatchEventImpl): New method.
* java/awt/TextComponent.java (dispatchEventImpl): New method.
* java/awt/TextField.java (dispatchEventImpl): New method.
|
| |
|
| |
|
|
|
|
| |
libraries.
|
| |
|
|
|