| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
Handle the forced break in the same way as exceeding the
available row space.
* javax/swing/text/html/HRuleView.java: Rewritten.
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.addSpecialElement):Reserve two characters for
the special elements.
* examples/gnu/classpath/examples/swing/HtmlDemo.java
(text): Extended the HTML example to parse.
|
|
|
|
|
|
| |
* javax/swing/AbstractButton.java
(setHorizontalAlignment): Check for illegal argument,
(setVerticalAlignment): Likewise.
|
|
|
|
|
|
| |
* javax/swing/text/html/TableView.java
(getStyleSheet): New method. (RowView.getStyleSheet):
New method.
|
|
|
|
|
|
| |
* javax/swing/AbstractButton.java
(setRolloverIcon): Call setRolloverEnabled(true),
(setRolloverSelectedIcon): Likewise.
|
|
|
|
|
|
| |
* javax/swing/border/TitledBorder.java
(setTitlePosition): Added message to exception,
(setTitleJustification): Likewise.
|
|
|
|
|
|
|
| |
* javax/swing/plaf/metal/MetalLookAndFeel.java
(createDefaultTheme): Corrected API docs,
(initComponentDefaults): Added entry for 'TitledBorder.border',
(getCurrentTheme): Initialise theme if it is null.
|
|
|
|
|
|
| |
* java/awt/Component.java
(isValid): Return false when component has no peer,
don't query the showing state.
|
|
|
|
|
| |
* javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
Advance the offset also in the case of the enforced break.
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicArrowButton.java
(MAXIMUM_SIZE): Removed field,
(MINIMUM_SIZE): Likewise,
(PREFERRED_SIZE): Likewise,
(getMaximumSize): Return new instance every time,
(getMinimumSize): Likewise,
(getPreferredSize): Likewise.
|
|
|
|
|
|
| |
* java/awt/LightweightDispatcher.java
(findTarget): Avoid array copying in
Container.getComponents().
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/JComponent.java
(paintChildrenWithOverlap): Avoid array copying in
Container.getComponents().
(paintChildrenOptimized): Avoid array copying in
Container.getComponents().
(fireAncestorEvent): Avoid array copying in
Container.getComponents().
(findOverlapFreeParent): Avoid array copying in
Container.getComponents().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
(passwordValid): New field.
(setPassword): New method.
(setSalt): Likewise.
(setIterationCount): Likewise.
(setKeyLength): Likewise.
(PBEKeySpec(char[])): Use new setter methods.
(PBEKeySpec(char[], byte[], int)): Likewise.
(PBEKeySpec(char[], byte[], int, int)): Likewise.
(clearPassword): Set passwordValid to false.
(getPassword): Check that clearPassword() was not called earlier.
Return a clone of the password.
(getSalt): Return a clone of the salt if it was not null.
|
|
|
|
|
|
|
|
| |
* java/awt/Component.java
(isValid): Always return false when component is
not showing.
(setFont): Always set font, even when setting
the same or equal font again.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/plaf/metal/MetalIconFactory.java
(CheckBoxMenuItemIcon): Implement UIResource,
(FileChooserDetailViewIcon): Likewise,
(FileChooserHomeFolderIcon): Likewise,
(FileChooserListViewIcon): Likewise,
(FileChooserNewFolderIcon): Likewise,
(FileChooserUpFolderIcon): Removed redundant 'implements',
(RadioButtonMenuItemIcon): Implement UIResource,
(HorizontalSliderThumbIcon): Likewise,
(InternalFrameCloseIcon): Likewise,
(InternalFrameDefaultMenuIcon): Likewise,
(InternalFrameAltMaximizeIcon): Likewise,
(InternalFrameMaximizeIcon): Likewise,
(InternalFrameMinimizeIcon): Likewise,
(VerticalSliderThumbIcon): Likewise,
(TreeHardDriveIcon): Likewise,
(TreeFloppyDriveIcon): Likewise,
(TreeComputerIcon): Likewise,
(horizontalSliderThumbIcon): New field,
(verticalSliderThumbIcon): New field,
(getHorizontalSliderThumbIcon): Cache icon,
(getVerticalSliderThumbIcon): Likewise.
|
|
|
|
|
| |
(DISTCLEANFILES): Add standard.omit.
(clean-local): Remove Makefile.deps, only remove dirs.
|
|
|
|
|
|
|
| |
* java/awt/Component.java
(setFont): Only invalidate when component is valid.
* java/awt/Container.java
(setLayout): Only invalidate when component is valid.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
New class not fully implemented.
* gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
New class not fully implemented.
* gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
New class not fully implemented.
* gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
New class not fully implemented.
* nu/java/awt/peer/gtk/GtkToolkit.java:
Fixed Imports.
(createDragSourceContextPeer): Implemented.
(createDragGestureRecognizer): New function to override
java.awt.Toolkit.createDragGestureRecognizer.
* java/awt/dnd/DragSource.java
(NoDragGestureRecognizer): Removed inner class.
(createDragGestureRecognizer): Re-Implemented to
call Toolkit's createDragGestureRecognizer.
(createDefaultDragGestureRecognizer): Re-Implemented to
call Toolkit's createDragGestureRecognizer.
* java/awt/dnd/DropTarget.java
(addNotify): Added check to determine type of peer and call
addDropTarget.
(removeNotify): Added call to removeDropTarget.
|
|
|
|
|
| |
'queue'.
(run): Wait on queue, not 'this'.
|
|
|
|
|
|
| |
* java/awt/dnd/DragSource.java
(startDrag): Implemented. Added comments describing
what the function should do. Removed FIXME.
|
|
|
|
|
|
|
| |
* gnu/java/awt/Canvas.java
Added new private variable 'next_canvas_number'.
(generateName): Added.
(getUniqueLong): Added.
|
|
|
|
|
|
|
| |
* gnu/javax/swing/text/html/CharacterAttributeTranslator.java
(getColor): Made public.
* javax/swing/text/html/StyleSheet.java (stringToColor):
Use CharacterAttributeTranslator.getColor(String)
|
|
|
|
|
|
|
| |
* javax/swing/text/html/HTMLEditorKit.java:
(HTMLFactory.createElement): Update reference to the html table view.
* javax/swing/text/html/HTMLTableView.java: Removed (renamed).
* javax/swing/text/html/TableView.java: New file.
|
|
|
|
|
|
|
|
| |
* javax/swing/text/html/HTMLEditorKit.java:
(HTMLFactory.createElement): Uncomment
code for BRView and HRuleView.
* javax/swing/text/html/BRView.java,
javax/swing/text/html/HRuleView.java: New files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* NEWS: Updated.
* doc/vmintegration.texinfo: Likewise.
* examples/gnu/classpath/examples/management/TestGarbageCollector.java,
* examples/gnu/classpath/examples/management/TestMemoryManager.java,
* gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
* gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
* java/lang/management/GarbageCollectorMXBean.java:
New files.
* java/lang/management/ManagementFactory.java:
(getGarbageCollectorMXBeans()): Implemented.
(getMemoryManagerMXBeans()): Likewise.
* vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
* vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
New files.
* vm/reference/java/lang/management/VMManagementFactory.java:
(getMemoryManagerNames()): Added.
(getGarbageCollectorNames()): Added.
|
|
|
|
|
|
| |
* native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
from lib_LTLIBRARIES.
(install-plugin): Depend on nativeexeclib_LTLIBRARIES.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/awt/dnd/DragGestureEvent.java:
Added new fields.
(DragGestureEvent): Initialized new fields, added to check and
added documentation.
(getSourceAsDragGestureRecognizer): Added documentation and
changed to use getSource.
(getComponent): Added documentation and fixed to return the proper
value.
(getDragSource): Likewise.
(getDragOrigin): Added documentation.
(iterator): Implemented and added documentation.
(toArray): Likewise.
(toArray): Likewise.
(getDragAction): Likewise.
(getTriggerEvent): Likewise.
(startDrag): Likewise.
* java/awt/dnd/DragGestureRecognizer.java
(resetRecognizer): Added FIXME.
* java/awt/dnd/DragSource.java:
Added new field.
(DragSource): Set ds to be null if headless.
(getDefaultDragSource): Added documentation and implemented.
(isDragImageSupported): Marked as unimplemented.
(startDrag): Likewise.
(createDragSourceContext): Implemented.
(NoDragGestureRecognizer): Formatted inner class.
* java/awt/dnd/DropTarget.java
(stop): Marked as unimplemented.
(actionPerformed): Likewise.
(addDropTargetListener): Added code to throw exception.
(removeDropTargetListener): Added check, removed FIXME.
(dragEnter): Implemented.
(dragOver): Implemented.
(dropActionChanged): Implemented.
(dragExit): Implemented.
(drop): Implemented.
(addNotify): Implemented.
(removeNotify): Implemented.
(createDropTargetContext): Implemented.
(createDropTargetAutoScroller): Implemented.
(initializeAutoscrolling): Implemented.
(updateAutoscroll): Implemented.
(clearAutoscroll): Implemented.
* java/awt/dnd/DropTargetContext.java
(dropComplete): Implemented.
(acceptDrag): Implemented.
(rejectDrag): Implemented.
(acceptDrop): Implemented.
(rejectDrop): Implemented.
(getCurrentDataFlavors): Implemented.
(getTransferable): Partially implemented.
* java/awt/dnd/DropTargetDragEvent.java
(getDropAction): Uncommented correct code.
* java/awt/dnd/DropTargetDropEvent.java
(dropComplete) :Implemented.
* java/awt/dnd/InvalidDnDOperationException.java
(InvalidDnDOperationException): Added call to super.
|
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicArrowButton.java:
(paint): Removed getBounds() call, changed center point
calculation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/InputMap.java
(inputMap): Don't initialize yet,
(InputMap): Removed TODO,
(get): Check for null inputMap,
(put): Return immediately for null keyStroke, check for null inputMap
and initialize if necessary,
(remove): Check for null inputMap,
(size): Likewise,
(clear): Likewise,
(keys): Likewise,
(allKeys): Likewise,
(writeObject): Removed,
(readObject): Removed.
|
|
|
|
|
| |
* gnu/classpath/examples/swing/TabbedPaneDemo.java
(createContent): Use different labels for buttons.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* NEWS: Updated.
* doc/vmintegration.texinfo: Likewise.
* examples/gnu/classpath/examples/management/TestMemoryPool.java,
* gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
New files.
* java/lang/management/ManagementFactory.java:
(getMemoryPoolMXBeans()): Implemented.
* vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
* vm/reference/java/lang/management/VMManagementFactory.java:
New files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/awt/dnd/DragSourceContext.java:
Removed FIXMEs from fields.
(DragSourceContext): Added code to initialize cursor and sourceActions.
(getDragSource): Added documentation.
(getComponent): Likewise.
(getTrigger): Likewise.
(getSourceActions): Added documentation and implemented.
(setCursor): Implemented. Added documentation.
(getCursor): Implemented. Added documentation.
(dragEnter): Added code to notify DragSource's listeners.
(dragOver): Likewise.
(dragExit): Likewise.
(dropActionChanged): Likewise.
(dragDropEnd): Likewise.
(dragMouseMoved): Implemented.
(getTransferable): Added API documentation.
(updateCurrentCursor): Added API documentation and partially implemented.
|
|
|
|
| |
* javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
|
|
|
|
|
|
|
|
|
|
|
| |
* java/awt/dnd/DragSourceContext.java
(DragSourceContext): Implemented fully. Fixed API docs.
(transferablesFlavorsChanged): Implemented.
(dragEnter): Implemented.
(dragOver): Implemented.
(dragExit): Implemented.
(dropActionChanged): Implemented.
(dragDropEnd): Implemented.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicOptionPaneUI.java:
Fixed name of constant.
(getIconWidth): Changed name of constant returned.
(getIconHeight): Likewise.
(paint): Likewise.
(createSeparator): Marked as unimplemented.
* javax/swing/plaf/basic/BasicTableUI.java
(focusGained): Marked as unimplemented.
(focusLost): Marked as unimplemented.
(mouseEntered): Likewise.
(mouseMoved): Likewise.
(uninstallDefaults): Likewise.
* javax/swing/plaf/basic/BasicToolBarUI.java
(mouseClicked): Changed comment.
(mouseEntered): Likewise.
(mouseExited): Likewise.
(mouseMoved): Likewise.
(setOrientation): Implemented.
(ToolBarFocusListener): Marked as unimplemented.
(focusGained): Marked as unimplemented.
(focusLost): Marked as unimplemented.
|
|
|
|
|
|
|
|
| |
PR 28061
* javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
Mind the effect of the root visibility on the position of the control.
Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the
vertical line over first level nodes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicMenuUI.java
(installKeyboardActions): Implemented to call super. Nothing else
needs to be done here.
(setupPostTimer): Marked as unimplemented.
(uninstallKeyboardActions): Implemented to call super. Nothing else
needs to be done here.
(mouseMoved): Removed TODO. Nothing to be done here.
(ChangeHandler): Implemented.
(menuDragMouseExited): Removed TODO. Nothing to be done here.
(menuDragMouseReleased): Removed TODO. Nothing to be done here.
(menuKeyReleased): Removed TODO. Nothing to be done here.
(menuKeyTyped): Marked as unimplemented.
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 28061
* gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
(getDefaults): Set hash color to black.
* javax/swing/plaf/basic/BasicLookAndFeel.java
(initComponentDefaults): Set hash color to grey blue.
* javax/swing/plaf/basic/BasicTreeUI.java
(instellDefaults): Set hash color.
* javax/swing/plaf/metal/MetalIconFactory.java
(TreeControlIcon.paint): Rewritten.
|
|
|
|
|
|
|
|
|
|
| |
PR 28061
* javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
Always cancel the current editing session before doing anything else,
return immediately if this fails.
(TreeHomeAction): Ensure that the lead selection path is visible after
the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
Likewise. TreeTraverseAction: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 28061
* javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
Returned back the code to handle the start of the click-pause-click
editing initiation, explained about this code.
(TreeStartEditingAction): New inner class.
(stopEditingInCompleteEditing): Explained about this field.
(completeEditing(boolean, boolean, boolean): Only return early
if there is no current editing session.
(createDefaultActions): Install TreeStartEditingAction and
TreeCancelEditingAction.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Added new option --enable-default-preferences-peer
to pass user specified default preference backend.
If the GConf peer is built, GConf become the default backend.
* resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
new file.
* lib/Makefile.am: excludes files terminating in 'in' from
the metafiles list.
* lib/copy-vmresources.sh.in: excludes files terminating in 'in'
from copy into META-INF.
* java/util/prefs/Preferences.java: added two new import
classes gnu.classpath.ServiceFactory and java.util.Iterator.
(getFactory): Now try to check for
a system defined default preference backend before to fall back on
FileBasedPreference.
|
|
|
|
|
|
|
|
|
|
| |
PR 28061
* javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
(EXPANDED): Initialise to Boolean.TRUE.
* javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
First configure layout cache and then set the assigned value
as row mapper. Set the root visibility property.
(toggleExpandState): Obtains expansion state from the layout cache.
|
|
|
|
|
| |
* java/lang/management/MemoryPoolMXBean.java:
New file.
|
|
|
|
| |
* gnu/javax/crypto/RSACipherImpl.java: Source formatting.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
* gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
* gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
* gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
* gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
* gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
* gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
* gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
* gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
* gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
* gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
* gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
* gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
* gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
* gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
* gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
* gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
* gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
* gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
* gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
* gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
* gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
* gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
* gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
* gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
* gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
* gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
* gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
* gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
* gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
* gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
* gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
* gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
* gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
* gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
* gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
* gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
* gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
* gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
* gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
* gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
* gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
* gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
* gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
* gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
* gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
* gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
|
| |
|
|
|
|
|
| |
* java/lang/management/MemoryUsage.java:
(toString()): Fix missing MB for maximum memory usage.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* NEWS:
Updated to include VMCompilationMXBeanImpl.
* doc/vmintegration.texinfo:
Likewise, along with update to VMMemoryMXBeanImpl
as below.
* examples/gnu/classpath/examples/management/TestCompilation.java,
* gnu/java/lang/management/CompilationMXBeanImpl.java,
* java/lang/management/CompilationMXBeanImpl.java:
New files.
* java/lang/management/ManagementFactory.java:
(getCompilationMXBean()): Implemented.
* vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
New file.
* vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
(getHeapMemoryUsage()): Added default implementation.
|
| |
|
| |
|