| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/util/SimpleTimeZone.java: Reverted patch.
(SimpleTimeZone): Throw exception if startMonth ==
endMonth.
(SimpleTimeZone): Likewise.
(checkRule): Rewritten to properly check all values (more
efficently).
This code is now more stable, at least less buggy than before.
Fixed API documentation.
(setStartRule): Moved checkRule call to end.
(setStartRule): Likewise.
(setEndRule): Likewise.
(setEndRule): Likewise.
|
|
|
|
|
| |
* javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
Initialise to -1.
|
|
|
|
|
|
|
|
|
| |
PR classpath/27595
* javax/swing/text/AbstractDocument.java:
(insertString): Flipped if-expression and its blocks.
(remove): Dito.
(replace): Flipped if-expression and its blocks, added note, invoke
insertString and remove instead of insertStringImpl and removeImpl.
|
|
|
|
| |
* java/nio/ByteBufferImpl.java (compact): Always set position.
|
|
|
|
| |
PrivilegedAction.
|
|
|
|
|
| |
* java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
Fully qualify PathIterator constants
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/27481
* javax/swing/plaf/basic/BasicInternalFrameUI.java
(installDefaults): Set background of content pane to null, if
no custom color has been installed by the application yet.
2006-05-10 Roman Kennke <kennke@aicas.com>
PR classpath/27481
* javax/swing/JRootPane.java
(createContentPane): Don't set background to null.
|
|
|
|
|
|
|
|
|
| |
PR classpath/24216
* javax/swing/text/AbstractDocument.java:
(insertString): Added more documentation, added argument check.
(remove): Added more documentation.
(removeImpl): Added argument check.
(replace): Added more documentation, added argument check.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/net/URLClassLoader.java
(JarURLLoader): Added check to make sure the INDEX.LIST file
exists.
2006-05-08 Roman Kennke <kennke@aicas.com>
PR classpath/27481
* javax/swing/JRootPane.java
(createContentPane): Set background of the content pane to null,
so that the content pane inherits its background from the
root pane.
2006-05-08 Roman Kennke <kennke@aicas.com>
PR classpath/27480
* javax/swing/ButtonGroup.java
(add): Check if new button is selected and if so, deselect other
buttons in the group.
2006-05-08 Lillian Angel <langel@redhat.com>
PR classpath/27444
* java/net/URLClassLoader.java
(JarURLLoader): Added code to go through
META-INF/INDEX.LIST file to load all jars listed.
2006-05-08 Roman Kennke <kennke@aicas.com>
PR classpath/27461
* javax/swing/ImageIcon.java
(ImageIcon(URL)): Set description to URL.toString().
2006-05-08 Roman Kennke <kennke@aicas.com>
PR classpath/27482
* javax/swing/JTable.java
(IconCellRenderer.getTableCellRendererComponent): Set icon to
null when cell value is null.
2006-05-08 Roman Kennke <kennke@aicas.com>
PR classpath/27484
* javax/swing/DefaultDesktopManager.java
(closeFrame): Don't perform default close action on the frame
to prevent endless loop.
2006-05-08 Roman Kennke <kennke@aicas.com>
PR classpath/27485
* javax/swing/table/DefaultTableModel.java
(addExtraRows): New helper method.
(checkSize): New helper method.
(setRowCount): Use addExtraRows helper method.
(addColumn): Use addExtraRows helper method.
(getColumnName): Check and adjust size if necessary using
checkSize().
2006-05-08 Roman Kennke <kennke@aicas.com>
PR classpath/27486
* javax/swing/JTable.java
(setValueAt): Allow setting values even when table is editable.
|
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/27435:
* java/util/zip/DeflaterEngine.java:
(deflateFast(boolean,boolean)): Empty buffer when full.
2006-05-07 Sven de Marothy <sven@physto.se>
Fixed PR27343
* java/util/Calendar.java (setTimeZone): Force recalculation.
|
|
|
|
|
|
| |
Fixed PR27463
* javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
(propertyChange): Handle FRAME_ICON_PROPERTY property.
|
|
|
|
|
|
| |
Fixed PR27454
* gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
Check for zero image sizes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/27311:
* gnu/java/text/StringFormatBuffer.java:
(toString()): Implemented so we can see the contents.
* java/text/DecimalFormat.java:
(formatInternal(double,StringFormatBuffer,FieldPosition)):
Don't calculate the exponent when the number is 0 or less.
Also, use log10 instead of log now it's available.
2006-05-07 Sven de Marothy <sven@physto.se>
Fixed PR27455
* gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
* java/awt/Component.java (processMouseEvent):
Do lightweight cursor handling.
* javax/swing/plaf/basic/BasicTableHeaderUI.java
(endResizing,mouseMoved): Save and reset original cursor, not the
default one.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/java2d/RasterGraphics.java: New file.
2006-05-07 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/java2d/AbstractGraphics2D.java
(fillShape): Determine user space bounds of shape and feed them
into the actual rendering pipeline.
(rawSetPixel): Made non-abstract for now. Maybe remove later.
(rawSetForeground): Likewise.
(getDestinationColorModel): Removed.
(getDeviceBounds): Made non-abstract. Provide useful default impl.
(rawFillShape): Handle paint context.
(fillScanline): Implement painting and compositing.
(fillShapeAntialias): Handle paint context.
(fillScanlineAA): Implemented preliminary antialiasing based on
composite context. Not working yet.
(fillScanlineAlpha): Removed.
(init): Fetch destination raster.
(getDestinationRaster): New abstract method.
(updateRaster): New backend method.
2006-05-07 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/java2d/AlphaCompositeContext.java
(compose): Fixed loops, conditions and logic to make compositing
work correctly.
2006-05-05 Roman Kennke <kennke@aicas.com>
* java/awt/image/ColorModel.java
(getNormalizedComponents): Implemented.
2006-05-05 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicRadioButtonUI.java
(paint): Query the button model for it's state, not the
button itself.
2006-05-05 Roman Kennke <kennke@aicas.com>
* javax/swing/JTable.java
(tableChanged): Sync selection model with table model changes.
2006-05-04 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicButtonListener.java
(mouseEntered): Fixed conditions for changing states.
2006-05-04 Roman Kennke <kennke@aicas.com>
* javax/swing/JOptionPane.java
(AccessibleJOptionPane.getAccessibleRole): Implemented method.
2006-05-04 Roman Kennke <kennke@aicas.com>
* javax/swing/JLabel.java
(AccessibleJLabel.getSelectedText): Return null instead of "".
(AccessibleJLabel.getSelectionStart): Added comment why
return -1 is correct here.
(AccessibleJLabel.getSelectionEnd): Added comment why
return -1 is correct here.
(AccessibleJLabel.getCharacterAttribute): Added comment about
what to do here.
(AccessibleJLabel.getCharCount): Added comment about what
to do here.
(AccessibleJLabel.getCharacterBounds): Tagged as not
implemented.
(AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
(paramString): Return super.paramString() here, this provides
a more meaningful output.
2006-05-04 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(paint): Added null check to avoid NPE when clip == null.
2006-05-04 Roman Kennke <kennke@aicas.com>
* javax/swing/AbstractButton.java
(addImpl): New method. Installs an OverlayLayout if no
other layout has been installed before.
(setLayout): New method. Detect if a client app installs a
custom layout.
2006-05-04 Roman Kennke <kennke@aicas.com>
* javax/swing/table/DefaultTableCellModel.java
(noFocusBorder): Fixed width of empty border to 1.
(getTableCellRendererComponent): Don't change the colors for
focuses cells. Fixed border for focused cells.
2006-05-04 Roman Kennke <kennke@aicas.com>
* javax/swing/JTable.java
(moveToCellBeingEdited): Adjust bounding box
of editing component to exactly cover the grid.
* javax/swing/plaf/basic/BasicTableUI.java
(paint): Paint grid to the bottom and right of
the cells instead of left and top. Adjust bounding
box of cells accordingly.
* javax/swing/plaf/metal/MetalLookAndFeel.java
(initComponentDefaults): Fixed color of JTable
selection border.
* javax/swing/plaf/metal/OceanTheme.java
(addCustomEntriesToTable): Fixed color of JTable
selection border.
|
|
|
|
|
| |
* tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
Use _alias instead of alias.
|
|
|
|
|
|
|
| |
* javax/swing/JLabel.java
(JLabel): Pass in an empty string for the text parameter.
(JLabel): Likewise.
(JLabel): Likewise.
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
if there are no visible nodes to paint.
|
|
|
|
|
| |
* javax/swing/JTable.java
(tableChanged): Sync selection model with table model changes.
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
if there are no visible nodes to paint.
|
|
|
|
|
| |
* javax/swing/JOptionPane.java: API doc updates.
----------------------------------------------------------------------
|
|
|
|
|
|
| |
* javax/swing/JToolBar.java
(paramString): Reimplemented.
----------------------------------------------------------------------
|
|
|
|
|
|
| |
* javax/swing/JScrollBar.java
(paramString): Reimplemented.
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
| |
* java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
(readEntries): Updated.
(getEntries): Likewise.
(getEntry): Likewise.
(getInputStream): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/javax/imageio/jpeg/DCT.java,
gnu/javax/imageio/jpeg/HuffmanTable.java,
gnu/javax/imageio/jpeg/JPEGComponent.java,
gnu/javax/imageio/jpeg/JPEGDecoder.java,
gnu/javax/imageio/jpeg/JPEGException.java,
gnu/javax/imageio/jpeg/JPEGFrame.java,
gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
gnu/javax/imageio/jpeg/JPEGImageReader.java,
gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
gnu/javax/imageio/jpeg/JPEGMarker.java,
gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
gnu/javax/imageio/jpeg/JPEGScan.java,
gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
gnu/javax/imageio/jpeg/ZigZag.java: New files.
|
|
|
|
|
|
|
| |
* javax/swing/JLabel.java
(JLabel): Pass in an empty string for the text parameter.
(JLabel): Likewise.
(JLabel): Likewise.
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicButtonListener.java
(mouseEntered): Fixed conditions for changing states.
|
|
|
|
|
| |
* javax/swing/JOptionPane.java
(AccessibleJOptionPane.getAccessibleRole): Implemented method.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/JLabel.java
(AccessibleJLabel.getSelectedText): Return null instead of "".
(AccessibleJLabel.getSelectionStart): Added comment why
return -1 is correct here.
(AccessibleJLabel.getSelectionEnd): Added comment why
return -1 is correct here.
(AccessibleJLabel.getCharacterAttribute): Added comment about what
to do here.
(AccessibleJLabel.getCharCount): Added comment about what
to do here.
(AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
(AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
(paramString): Return super.paramString() here, this provides
a more meaningful output.
|
|
|
|
|
| |
* javax/swing/JComponent.java
(paint): Added null check to avoid NPE when clip == null.
|
|
|
|
|
|
|
|
| |
* javax/swing/AbstractButton.java
(addImpl): New method. Installs an OverlayLayout if no
other layout has been installed before.
(setLayout): New method. Detect if a client app installs a custom
layout.
|
|
|
|
|
|
|
| |
* javax/swing/table/DefaultTableCellModel.java
(noFocusBorder): Fixed width of empty border to 1.
(getTableCellRendererComponent): Don't change the colors for
focuses cells. Fixed border for focused cells.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/JTable.java
(moveToCellBeingEdited): Adjust bounding box of editing component
to exactly cover the grid.
* javax/swing/plaf/basic/BasicTableUI.java
(paint): Paint grid to the bottom and right of the cells instead
of left and top. Adjust bounding box of cells accordingly.
* javax/swing/plaf/metal/MetalLookAndFeel.java
(initComponentDefaults): Fixed color of JTable selection border.
* javax/swing/plaf/metal/OceanTheme.java
(addCustomEntriesToTable): Fixed color of JTable selection border.
|
|
|
|
|
| |
* tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
Use _alias instead of alias.
|
|
|
|
|
|
|
| |
* configure.ac:
Set version to 0.92-pre.
* NEWS:
Add space for 0.92 entries.
|
|
|
|
|
|
|
| |
* include/Makefile.am:
Added rules for gnu.java.net.local.LocalSocketImpl.h
* include/java_lang_VMSystem.h:
Regenerated correctly.
|
|
|
|
|
|
|
|
| |
PR 24023, 24701
* java/awt/Image.java:
(getScaledInstance): Default to AreaAveraging for "smooth",
don't thrown an error on illegal flag values.
* java/awt/image/AreaAveragingScaleFilter.java: Implement.
|
|
|
|
|
|
|
|
| |
* javax/swing/text/FieldView.java:
(adjustAllocation): Added if-block to return null when shape argument
is null.
* javax/swing/text/PlainView.java:
(updateDamage): Added if-block to return early if a is null.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-05-03 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicTextUI.java:
(changeUpdate): Added note.
(removeUpdate): Dito.
(insertUpdate): Dito.
(damageRange): Added if-block to return early.
(modelToView): Added check of getVisibleEditorRect's return value.
(getVisibleEditorRect): Return null instead of empty rectangle.
* javax/swing/text/DefaultCaret.java:
(clearHighlight): Removed if-clause to create a highlight entry if it
did not exist before.
* javax/swing/text/WrappedPlainView.java:
(WrappedLine.modelToView): Throw exception if allocation area is empty,
removed 2nd part of if-expression.
(WrappedLine.updateDamage): Added more documentation, added check
whether allocation area rectangle is null.
|
|
|
|
|
| |
* javax/swing/JSplitPane.java (setDividerLocation(int)):
Reset to preferred sizes if the argument is negative.
|
|
|
|
| |
* javax/swing/JList.java: Added/updated API docs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/JComponent.java
(getRoot): New private function. Gets the root appropriate
for painting. If an applet exists as a parent, then it is returned.
(paintDoubleBuffered): Changed to use new function.
* javax/swing/RepaintManager.java
(getRoot): New private function. Gets the root appropriate
for painting. If an applet exists as a parent, then it is returned.
(getOffscreenBuffer): Changed to use new function.
* javax/swing/SwingUtilties.java
(getRoot): Reverted last patch to return Window, even if
an Applet exists.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
a pair of one public keyring and one private keyring.
* gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
(containsCertificate): Added logging.
(getCertificate): Likewise.
(putCertificate): Likewsie.
(load): Likewise.
(store): Likewise.
* gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
(containsPrivateKey): Added logging.
(getPrivateKey): Likewise.
(putPrivateKey): Likewise.
(containsPublicKey): Likewise.
(getPublicKey): Likewise.
(putPublicKey): Likewise.
(containsCertPath): Likewise.
(getCertPath): Likewise.
(putCertPath): Likewise.
(load): Likewise.
(store): Likewise.
|
|
|
|
|
|
| |
* gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
* java/awt/AlphaComposite.java
(createContext): Implemented.
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
Set the current color again after drawing the raster.
|
|
|
|
|
| |
* javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
Do not check pos < currLineEnd if currLineStart == currLineEnd.
|
|
|
|
|
|
|
| |
* tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
Assign returned value to field handler.
* tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
Likewise.
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/ScrollPaneLayout.java (layoutContainer):
Return without action if there is no view in the viewport.
* javax/swing/text/WrappedPlainView.java
(WrappedLine.getPreferredSpan): If metrics == null, update
metrics.
* javax/swing/tree/DefaultTreeModel.java (constructors):
Do not call setRoot, assign the root node directly.
|
|
|
|
|
|
|
| |
* javax/swing/SwingUtilities.java
(getRoot): Should return the Applet if it exists.
Only return the Window if an Applet has not been
encountered.
|
|
|
|
|
|
|
| |
* javax/swing/SwingUtilities.java
(getRoot): Should return the Applet if it exists.
Only return the Window if an Applet has not been
encountered.
|
|
|
|
|
|
| |
* gnu/javax/swing/text/html/parser/support/Parser.java
(readAttributes): Reverted Audrius' last patch. There is
a slight difference in code between the NUMTOKEN and SLASH case.
|