| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* javax/swing/plaf/basic/BasicTreeUI.java
(mouseClicked): Implemented clicking on control icons.
|
| |
|
| |
|
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicTreeUI.java
(mouseClicked): changed to use getPathBounds.
(getPathBounds): Implemented
|
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicTreeUI.java
(mouseClicked): check if user is clicking within the bounds of the cell.
(getCellLocation): Implemented to return the location of the cell.
|
|
|
|
| |
* javax/swing/plaf/metal/MetalComboBoxIcon.java: new file.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/tree/TreePath.java: added API docs all over,
(TreePath(Object[])): throw IllegalArgumentException for null argument,
(TreePath(TreePath, Object)): throw NullPointerException for null Object,
(equals): test elements using equals(),
(writeObject): removed,
(readObject): removed,
(getPath): return a clone of the path,
(getPathComponent): throw IllegalArgumentException for invalid position,
(isDescendant): reimplemented.
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicOptionPaneUI.java
(ButtonAreaLayout): Made class static.
(ButtonAreaLayout.setSyncAllWidths): Removed revalidate(). Never
ever revalidate something within a LayoutManager!
(ButtonAreaLayout.setPadding): Likewise.
(ButtonAreaLayout.setCentersChildren): Likewise.
(ButtonAreaLayout.layoutContainer): Don't refer to enclosing
class's instance, this is not allowed in static inner classes.
|
|
|
|
|
|
|
| |
* javax/swing/plaf/metal/MetalCheckBoxIcon.java:
New class. An icon implementation for use in JCheckBoxes.
* javax/swing/plaf/metal/MetalBorders.java
Renamed MetalButtonBorder to ButtonBorder.
|
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicTextUI.java:
(RootView.removeUpdate): Properly update the caret position after text
has been removed.
|
|
|
|
| |
* configure.ac: Set version to 0.17.
|
|
|
|
|
|
|
| |
2005-07-15 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/AbstractButton.java:
(init): Do not change field text if argument text is null.
|
|
|
|
|
|
| |
* java/util/logging/Logger.java (getCallerStackFrame):
Make sure index < stackTrace.length and return null otherwise.
(log): Check for caller == null.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/AbstractButton.java
(AbstractButton): Directly call init() and updateUI().
(AbstractButton(String, Icon)): Removed. This is not necessary
since we have init(String, Icon) for that purpose.
(getActionCommand): Reverted to previous behaviour: If
actionCommand is set, return this, otherwise return text, even
if text is null.
* javax/swing/JButton.java
(JButton(String, Icon)): Call super() and init(String, Icon)
instead of super(String, Icon).
* javax/swing/JMenuItem.java
(JMenuItem): Call super() instead of super(String, Icon).
(JMenuItem(Icon)): Call this(String, Icon) instead of
super(String, Icon).
(JMenuItem(String)): Call this(String, Icon) instead of
super(String, Icon).
(JMenuItem(Action)): Call super() instead of
super(String, Icon).
(JMenuItem(String, Icon)): Call super() and init(String, Icon)
instead of super(String, Icon).
(JMenuItem(String, int)): Call this(String, Icon) instead of
super(String, Icon).
* javax/swing/JToggleButton.java
(ToggleButtonModel.setPressed): Fire an ActionEvent if button
is released. According to my Mauve tests, it seems that this
is what the JDK does, so do we.
(ToggleButtonModel.setSelected): Removed.
(JToggleButton): Call super() and init(String, Icon) instead
of super(String, Icon).
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-15 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/tree/DefaultMutableTreeNode.java:
(removeFromParent): Remove child node from parent now.
(preorderEnumeration): Implemented.
(postorderEnumeration): Implemented.
(depthFirstEnumeration): Implemented.
(breadthFirstEnumeration): Implemented.
(nextLeaf): Added TODO doc.
(previousLeaf): Added TODO doc.
|
|
|
|
|
|
| |
README explicitly, not the icons.
* examples/gnu/classpath/examples/swing/GNULookAndFeel.java
(getDefaults): Add Tree closed, leaf and open icons.
|
|
|
|
|
| |
* doc/vmintegration.texinfo:
Updated 'Classpath Hooks' section.
|
|
|
|
|
| |
* vmintegration.texinfo: Likewise.
* www.gnu.org/docs/Makefile: texi2info --ifinfo --ifhtml.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/GtkChoicePeer.java (choicePostItemEvent):
Rename to postChoiceItemEvent.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (realize): New method.
(setNativeEventMask): Likewise.
* gnu/java/awt/peer/gtk/GtkGenericPeer.java (printCurrentThread): New method.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java (realize): New method.
* include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerate.
* include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Likewise.
* native/jni/gtk-peer/gtkpeer.h: Move widget-specific macro,
variable and function declarations into the widget-specific file.
Add cp_gtk_ namespace prefix to external symbols.
(cp_gtk_graphics2d_init_jni): New function.
(cp_gtk_graphics_init_jni): Likewise.
(cp_gtk_button_init_jni): Likewise.
(cp_gtk_checkbox_init_jni): Likewise.
(cp_gtk_choice_init_jni): Likewise.
(cp_gtk_component_init_jni): Likewise.
(cp_gtk_list_init_jni): Likewise.
(cp_gtk_menuitem_init_jni): Likewise.
(cp_gtk_scrollbar_init_jni): Likewise.
(cp_gtk_textcomponent_init_jni): Likewise.
(cp_gtk_window_init_jni): Likewise.
(cp_gtk_component_connect_expose_signals): Likewise.
(cp_gtk_component_connect_focus_signals): Likewise.
(cp_gtk_component_connect_mouse_signals): Likewise.
(cp_gtk_component_connect_signals): Likewise.
(cp_gtk_textcomponent_connect_signals): Likewise.
(cp_gtk_print_current_thread): Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Remove
file. Move widget-specific functions into the widget-specific
files. Break main event handler into multiple widget-specific
callbacks.
* native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
gnu_java_awt_peer_gtk_GtkEvents.c.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Add
cp_gtk_ namespace prefix to external symbols. Add widget-specific
macros, variables and function declarations from
gnu_java_awt_peer_gtk_GtkEvents.c. Add widget-specific callbacks
to replace main event handling loop.
* native/jni/classpath/native_state.c: Likewise.
* native/jni/classpath/native_state.h: Likewise.
* native/jni/gtk-peer/gdkfont.h: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Likewise.
* native/jni/gtk-peer/gthread-jni.c: Likewise.
* native/jni/gtk-peer/gthread-jni.h: Likewise.
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicTreeUI.java
(paintControlIcons): Changed so root does not have control icon.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicTreeUI.java
(installUI): Expanded root initially
(paint): call function to paint controls
(paintRecursive): added to indentation when painting to
increase space
(paintControlIcons): Implemented to recursively paint the
control icons.
* javax/swing/tree/DefaultTreeCellRenderer.java
(getTreeCellRendererComponent): reset the font properly
|
|
|
|
| |
Implemented VirtualMachine Command Set.
|
|
|
|
|
|
| |
* javax/swing/AbstractButton.java
(getActionCommand): If both the actionCommand and text fields
are null, then return "".
|
|
|
|
|
|
|
|
|
| |
* java/util/logging/Logger.java
(resetLogger): Remove all handlers from the handler list.
* java/util/logging/LogManager.java
(reset): Call resetLogger() too.
(readConfiguration): Call reset().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/awt/Demo.java
(TestWindow.parent): Make package private.
* gnu/java/net/protocol/http/HTTPURLConnection.java
(proxyHostname, proxyPort, agent, keepAlive, maxConnections):
Likewise.
* java/text/SimpleDateFormat.java (field, size): Likewise.
* java/util/jar/JarFile.java (readSignatures): Likewise.
* java/util/logging/FileHandler.java (written): Likewise.
* javax/swing/plaf/basic/BasicFileChooserUI.java: Make shared
fields package private.
(closeDialog): Make package private.
(filterEntries): Likewise.
* javax/swing/plaf/basic/BasicPopupMenuUI.java
(mouseInputListener): Likewise.
* javax/swing/plaf/basic/BasicTreeUI.java
(getNextVisibleNode, getPreviousVisibleNode, selectPath): Likewise.
* javax/swing/text/JTextComponent.java (caret, editable): Likewise.
|
|
|
|
|
|
|
|
| |
* javax/swing/AbstractButton.java: Minor doc fixes.
(getActionCommand): Access field directly.
(setActionCommand): Dito.
(fireActionPerformed): Copy ActionEvent instance instead
of reusing it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/BoundedRangeModel.java:
Added/Fixed interface API documentation.
* javax/swing/ButtonModel.java:
Added/Fixed interface API documentation.
* javax/swing/CellEditor.java:
Added/Fixed interface API documentation.
* javax/swing/ComboBoxEditor.java:
Added/Fixed interface API documentation.
* javax/swing/ComboBoxModel.java:
Added/Fixed interface API documentation.
* javax/swing/Icon.java:
Added/Fixed interface API documentation.
* javax/swing/JComboBox.java
(KeySelectionManager): Added/Fixed interface API documentation.
* javax/swing/ListCellRenderer.java:
Added/Fixed interface API documentation.
* javax/swing/ListModel.java:
Added/Fixed interface API documentation.
* javax/swing/ListSelectionModel.java:
Added/Fixed interface API documentation.
* javax/swing/MenuElement.java:
Added/Fixed interface API documentation.
* javax/swing/MutableComboBoxModel.java:
Added/Fixed interface API documentation.
* javax/swing/Renderer.java:
Added/Fixed interface API documentation.
* javax/swing/RootPaneContainer.java:
Added/Fixed interface API documentation.
* javax/swing/ScrollPaneConstants.java:
Added/Fixed interface API documentation.
* javax/swing/Scrollable.java:
Added/Fixed interface API documentation.
* javax/swing/SingleSelectionModel.java:
Added/Fixed interface API documentation.
* javax/swing/SpinnerModel.java:
Added/Fixed interface API documentation.
* javax/swing/SwingConstants.java:
Added/Fixed interface API documentation.
* javax/swing/UIDefaults.java
(ActiveValue): interface API documentation.
(LazyValue): interface API documentation.
* javax/swing/WindowConstants.java:
Added/Fixed interface API documentation.
* javax/swing/package.html: Fixed package description to be more
a little bit more concise.
|
|
|
|
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicLookAndFeel.java: Changed font to
match jdk.
* javax/swing/plaf/basic/BasicTreeUI.java: took out unneeded
import statement
* javax/swing/plaf/metal/MetalLookAndFeel.java: Changed
defaults to match jdk.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicLookAndFeel.java: Changed rowHeight
to the right height. This should be fixed later to something more
reasonable, as opposed to a 'magic' number.
* javax/swing/plaf/basic/BasicTreeUI.java
(paintLeaf): added in code to paint icons properly
(paintNonLeaf): same as above
* javax/swing/plaf/metal/MetalLookAndFeel.java: Changed default
icons to MetalIconFactory icons
* javax/swing/tree/DefaultTreeCellRenderer.java
(getTreeCellRendererComponent): Changed to paint icons separately from
Cell.
|
|
|
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicListUI.java:
(KeyHandler.keyPressed): Implemented actions for the following key
presses: "ctrl \\", "END", "shift END", "HOME, "shift HOME", "ctrl /",
"ctrl A", "ctrl SPACE", "KP_UP", "KP_DOWN", "shift KP_UP",
"shift KP_DOWN".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/DefaultButtonModel.java:
(changeState): Removed this helper method.
(setArmed): Replaced call to changeState by code specific to setArmed.
(setEnabled): Likewise, for setEnabled.
(setPressed): Likewise, for setPressed.
(setRollover): Likewise, for setRollover.
(setSelected): Likewise, for setSelected.
* javax/swing/JToggleButton.java:
(ToggleButtonModel.setPressed): Replaced call to super.setPressed with
Toggle-specific code.
(ToggleButtonModel.setSelected): New method. Fire an ActionEvent in
addition to calling super.setSelected.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/accessibility/AccessibleComponent.java: minor API
doc fixes,
* javax/accessibility/AccessibleRelation.java: likewise,
* javax/accessibility/AccessibleRelationSet.java: likewise,
* javax/accessibility/AccessibleResourceBundle.java:
likewise,
* javax/accessibility/AccessibleRole.java: likewise,
* javax/accessibility/AccessibleState.java: likewise,
* javax/accessibility/AccessibleStateSet.java: likewise,
* javax/accessibility/AccessibleText.java: likewise.
----------------------------------------------------------------------
|
|
|
|
|
|
|
| |
2005-07-13 Robert Schuster <robertschuster@fsfe.org>
* java/awt/AWTEvent.java:
(toString): Generalized string generation.
|
|
|
|
|
|
|
| |
* javax/swing/LookAndFeel.java: added API docs all over,
* javax/swing/plaf/metal/DefaultMetalTheme.java: likewise,
* javax/swing/plaf/metal/MetalLookAndFeel.java: likewise,
* javax/swing/plaf/metal/MetalTheme.java: likewise.
|
|
|
|
|
|
| |
* javax/swing/table/TableColumn.java: updated API docs,
* javax/swing/table/TableColumnModel.java: likewise.
----------------------------------------------------------------------
|
|
|
|
| |
* java/util/zip/Inflater.java: minor API doc fixes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/tree/DefaultMutableTreeNode.java: minor API
doc fixes,
* javax/swing/tree/DefaultTreeSelectionModel.java
(addSelectionPath): modified parameter name to match doc
comment,
(addSelectionPaths): likewise,
(removeSelectionPath): likewise,
(removeSelectionPaths): likewise,
(isPathSelected): likewise,
plus other minor API doc fixes all over.
* javax/swing/tree/MutableTreeNode.java: minor API doc
fixes.
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-13 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/AbstractButton.java: Minimal documentation fixes.
(getActionCommand): Returns button's label when
actionCommand is null.
* javax/swing/JButton.java,
javax/swing/JToggleButton.java: Removed explicit call to
setActionCommand in constructors.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(https://savannah.gnu.org/bugs/?func=detailitem&item_id=13695)
which complains about the paramString() method.
Although the complained about a wrong implementation (read !spec conform) is invalid, I think it is useful to provide properdebugging information here.
2005-07-13 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/JToggleButton.java:
(paramString): Returns value of same method in superclass now.
* javax/swing/JRadioButton.java:
(paramString): Dito.
* javax/swing/JButton.java:
(paramString): Returns value of same method in superclass now,
more verbose information added.
* javax/swing/JCheckBox.java:
(paramString): Dito.
|
|
|
|
|
|
| |
Implemented the Field CommandSet.
* gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
Implemented the InterfaceType CommandSet.
|
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicMenuItemUI.java:
(paintMenuItem): Replaced incorrect hilighting criteria.
(paintText): Likewise.
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/Demo.java
(mkTree): no need to make root visible, it is by default
(mkTreeWorld): no need to make root visible, it is by default
|
|
|
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicTreeUI.java
(paintLeaf): fixed size of selection background to depend on
if icon exists
(paintNonLeaf): fixed size of selection background to depend on
if icon exists
|
|
|
|
|
|
|
|
| |
* javax/swing/DefaultButtonModel.java:
(changeState): If the button is a JToggleButton fire action events
when it changes between (selected/unselected) not when it changes
from pressed to unpressed. Fire action events after firing
ItemStateChanged events.
|
|
|
|
| |
shutdown to jdwp instead of connection.
|
|
|
|
|
|
|
|
|
| |
* javax/swing/JTree.java:
Formatting copyright
* javax/swing/tree/DefaultTreeCellRenderer.java:
Formatting copyright
* javax/swing/tree/DefaultTreeSelectionModel.java:
Formatting copyright
|
|
|
|
|
|
|
| |
* javax/swing/plaf/metal/MetalTreeUI.java
(createUI): Return a different instance of MetalTreeUI for each
JTree. The TreeUI is stateful, so a shared instance would not
work.
|
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicTreeUI.java
I accidentally introduced revalidate calls for repaint calls.
Reverted.
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicTreeUI.java
Fixed formatting of the copyright notice.
|
|
|
|
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicInternalFrameUI.java
(installDefaults): Create border based on defaults in current
LookAndFeel.
* javax/swing/plaf/basic/BasicLookAndFeel.java
(initComponentDefaults): Included border for InternalFrame as
LazyValue.
|