summaryrefslogtreecommitdiff
path: root/gnu
Commit message (Collapse)AuthorAgeFilesLines
* * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctypeMark Wielaard2006-05-141-0/+3
| | | | nodes to be preserved during cloneNode.
* 2006-05-06 Sven de Marothy <sven@physto.se>Andrew John Hughes2006-05-071-0/+6
| | | | | | Fixed PR27454 * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled): Check for zero image sizes.
* 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-05-072-8/+7
| | | | | | | | | | | | | | | | | | | | 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.
* 2006-05-07 Roman Kennke <kennke@aicas.com>Andrew John Hughes2006-05-073-132/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2006-05-0414-0/+3221
| | | | | | | | | | | | | | | | | * 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.
* 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-05-033-471/+574
| | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2006-05-03 Roman Kennke <kennke@aicas.com>Roman Kennke2006-05-031-0/+356
| | | | | | * gnu/java/awt/java2d/AlphaCompositeContext.java: New class. * java/awt/AlphaComposite.java (createContext): Implemented.
* 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-05-031-1/+4
| | | | | * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster): Set the current color again after drawing the raster.
* 2006-05-02 Lillian Angel <langel@redhat.com>Lillian Angel2006-05-021-0/+29
| | | | | | * 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.
* 2006-05-02 Roman Kennke <kennke@aicas.com>Roman Kennke2006-05-021-69/+400
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/java2d/AbstractGraphics2D.java (AA_SAMPLING): New constant. (alpha): New field. Used in the antialiasing renderer. (edgeTable): New field. Used in the antialiasing renderer. (AbstractGraphics2D): Initialize rendering hints wrt anti-aliasing. (draw): Clip after stroking. Commented out clipping for now, it seems to be buggy. (fill): Commented out clipping for now, it seems to be buggy. (setComposite): Don't create composite context. (setPaint): Only change paint when parameter is not null. (translate): Call setClip() so subclasses can update their clip too. (clip): Call setClip() so subclasses can update their clip too. (drawGlyphVector): Added clipping, but left it commented out because it's buggy. (getClipBounds): Returns null when clip is null. (drawLine): Call rawDrawLine with translation applied. (filLRect): Call rawFillRect with translation applied. (fillShape): Added support for anti-aliasing. (rawSetForeground(int,int,int)): New method. (rawFillShape): A couple of painting fixes. (fillScanline): Implemented to call rawDrawLine. (fillShapeAntialias): New method. Implements an anti-aliasing shape filler. (fillScanlineAA): New method. Used for the anti-aliasing shape filler. (fillScanlineAlpha): New method. Used for the anti-aliasing shape filler. (init): Initialize clip with the device bounds. (updateOptimization): Fixed the optimization condition.
* 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-05-021-29/+0
| | | | | | * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes): Merge case NUMTOKEN: and case SLASH: sections.
* * java/nio/ByteBufferImpl.java (compact): Don't reset positionTom Tromey2006-05-012-100/+296
| | | | | | | | | | | | | | in empty case. * gnu/java/nio/ChannelReader.java (read): Synchronize. (close): Synchronize. * java/nio/ShortBufferImpl.java (compact): Rewrote. * java/nio/LongBufferImpl.java (compact): Rewrote. * java/nio/IntBufferImpl.java (compact): Rewrote. * java/nio/FloatBufferImpl.java (compact): Rewrote. * java/nio/DoubleBufferImpl.java (compact): Rewrote. * java/nio/CharBufferImpl.java (compact): Rewrote. * gnu/java/nio/ChannelWriter.java: New file. * java/nio/channels/Channels.java (newWriter): Implemented.
* 2006-05-01 Lillian Angel <langel@redhat.com>Lillian Angel2006-05-011-54/+82
| | | | | | | | * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes): Formatted function. Added handling for SLASH token. The value of an attribute may start with a slash (i.e. a path). I added handling similar to to the NUMTOKEN code. We should not be skipping over these type of attributes.
* 2006-04-30 Sascha Brawer <sascha@brawer.ch>Roman Kennke2006-04-3020-0/+9065
| | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/font/FontDelegate.java, * gnu/java/awt/font/FontFactory.java, * gnu/java/awt/font/GNUGlyphVector.java, * gnu/java/awt/font/opentype/CharGlyphMap.java, * gnu/java/awt/font/opentype/GlyphNamer.java, * gnu/java/awt/font/opentype/MacResourceFork.java, * gnu/java/awt/font/opentype/NameDecoder.java, * gnu/java/awt/font/opentype/OpenTypeFont.java, * gnu/java/awt/font/opentype/OpenTypeFontFactory.java, * gnu/java/awt/font/opentype/Scaler.java, * gnu/java/awt/font/opentype/truetype/Fixed.java, * gnu/java/awt/font/opentype/truetype/GlyphLoader.java, * gnu/java/awt/font/opentype/truetype/GlyphLocator.java, * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java, * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java, * gnu/java/awt/font/opentype/truetype/VirtualMachine.java, * gnu/java/awt/font/opentype/truetype/Zone.java, * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java, * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia, * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png: New files. Imported font framework from: http://www.brawer.ch/software/fonts/
* 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-04-291-12/+22
| | | | | | | | * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java (handleConfirmation): Use print instead of println. (handleConfirmation): When case is YES_NO_OPTION, print default option if one was set. (handleLanguage): Use print instead of println.
* 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-04-291-3/+11
| | | | | | | * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright. (putComponent): Handle O and OU components. (getDer): Use correct (it2) iterator. (readAttributeValue): Read next character and break if end-of-stream.
* 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-04-299-11/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/security/provider/Gnu.java (run): Add "RSA" as an alias to MD5withRSA. * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey): Always encode a NULL as the value of an algorithm parameters field. * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field. (encodePrivateKey): Added trace/log statements. (decodePrivateKey): Likewise. * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field. (setup): Added trace/log statements. (generate): Likewise. * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field. (toString): New method. * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant. (str): New field. (toString): New method. * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field. (getEncoded): Use defaultFormat. (toString): New method. * gnu/java/security/key/dss/DSSKey.java (toString): Include defaultFormat in string. * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic): Break if successfully decoded public key. (engineGeneratePrivate): Break if successfully decoded private key.
* 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-04-251-1/+16
| | | | | * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes): Allow slashes (/) in the unquoted parameter value.
* 2006-04-25 Roman Kennke <kennke@aicas.com>Roman Kennke2006-04-253-39/+439
| | | | | | | | | | | | | | | | | | | | * gnu/java/awt/java2d/AbstractGraphics2D.java (drawString(String,int,int)): Implemented. (drawString(String,float,float)): Implemented. (drawString(AttributedCharacterIterator,int,int)): Implemented. (drawString(AttributedCharacterIterator,float,float)): Implemented. (getFontRenderContext): Implemented. (drawGlyphVector): Implemented. (getFont): Implemented. (setFont): Don't change font setting when null. (getFontMetrics): Implemented. (fillShape): Re-written to fill call rawFillShape() with a list of the edges instead of double arrays. (rawFillShape): Implemented using a polygon scanline conversion. (fillScanline): New helper method. (init): Initialize foreground black. Set font. * gnu/java/awt/java2d/PolyEdge.java: New file. * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
* 2006-04-24 Chris Burdess <dog@gnu.org>Chris Burdess2006-04-241-12/+12
| | | | | | Fixes PR 27262 * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID attributes when no doctype exists.
* 2006-04-24 Sven de Marothy <sven@physto.se>Roman Kennke2006-04-244-0/+575
| | | | | | | | | | | | | | | | | | | * gnu/java/awt/java2d/Segment.java: New file. * gnu/java/awt/java2d/CubicSegment.java: New file. * gnu/java/awt/java2d/QuadSegment.java: New file. * gnu/java/awt/java2d/LineSegment.java: New file. * java/awt/BasicStroke.java (start): New field. (end): New field. (createStrokedShape): Implemented. (solidStroke): New method. (dashedStroke): New method. (capEnds): New method. (convertPath): New method. (addSegments): New method. (capEnd): New method. (lineIntersection): New method. (joinSegments): New method.
* 2006-04-24 Roman Kennke <kennke@aicas.com>Roman Kennke2006-04-241-62/+519
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements Cloneable. (font): New field. (clip): Changed clip to be in user space not in target space. (isOptimized): Added flag to allow optimized drawing for primitive operations (e.g. for Swing). (AbstractGraphics2D()): Set foreground in init() to avoid trouble with the paint context etc. (draw): Clip the shape before drawing it. (fill): Clip the shape before drawing it. (setComposite): Update isOptimized flag. (setPaint): Likewise. (setStroke): Likewise. (translate): Update the clip. (rotate): Likewise. (scale): Likewise. (shear): Likewise. (transform): Likewise. (setTransform): Likewise. (clip): Added optimization for rectangle clips. (create): Implemented. (clone): New method. (setFont): Basic implementation. (setClip): Update opimization flag. (drawLine): Added possible optimization. (fillRect): Added possible optimization. (fillShape): Implemented shape-filling by filling the flattended shape using polygon fill. (drawPixel): Added basic painting. (rawSetPixel): Changed signature to only take coordinates. (rawSetForeground): New abstract method. (getUserBounds): Implemented default for this method. (rawDrawLine): New method. (rawFillRect): New method. (rawFillPolygon): New method. (init): New method. (updateOptimization): New method. (computeIntersection): New method. (updateClip): New method. (clipShape): New method.
* 2006-04-22 Casey Marshall <csm@gnu.org>Casey Marshall2006-04-222-4/+21
| | | | | | | | | | Fixes PR classpath/27228. * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java (initialize): also accept `DHParameterSpec.' * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup): handle a passed-in `DHParameterSpec' properly. (generate): don't check if the random exponent is less than `q - 1' if no `q' was specified.
* PR classpath/27163:Tom Tromey2006-04-211-0/+3
| | | | | * gnu/java/net/protocol/ftp/FTPConnection.java (changeWorkingDirectory): Do nothing if path is empty.
* 2006-04-21 Roman Kennke <kennke@aicas.com>Roman Kennke2006-04-211-0/+914
| | | | * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
* PR libgcj/27231:Tom Tromey2006-04-211-0/+4
| | | | | * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle case where no '/' appears in 'location'.
* 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2006-04-2110-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | * gnu/javax/crypto/cipher/Anubis.java: (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean instance, * gnu/javax/crypto/cipher/Blowfish.java: (selfTest): Likewise, * gnu/javax/crypto/cipher/Cast5.java: (selfTest): Likewise, * gnu/javax/crypto/cipher/Khazad.java: (selfTest): Likewise, * gnu/javax/crypto/cipher/Rijndael.java: (selfTest): Likewise, * gnu/javax/crypto/cipher/Serpent.java: (selfTest): Likewise, * gnu/javax/crypto/cipher/Square.java: (selfTest): Likewise, * gnu/javax/crypto/cipher/Twofish.java: (selfTest): Likewise, * gnu/javax/crypto/mac/UMac32.java: (selfTest): Likewise, * gnu/javax/crypto/prng/CSPRNG.java: (getSystemInstance): Likewise. ----------------------------------------------------------------------
* 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2006-04-2112-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/security/hash/Haval.java: (selfTest): Use Boolean.valueOf() to avoid creating new Boolean instance, * gnu/java/security/hash/MD2.java: (selfTest): Likewise, * gnu/java/security/hash/MD4.java: (selfTest): Likewise, * gnu/java/security/hash/MD5.java: (selfTest): Likewise, * gnu/java/security/hash/RipeMD128.java: (selfTest): Likewise, * gnu/java/security/hash/RipeMD160.java: (selfTest): Likewise, * gnu/java/security/hash/Sha160.java: (selfTest): Likewise, * gnu/java/security/hash/Sha256.java: (selfTest): Likewise, * gnu/java/security/hash/Sha384.java: (selfTest): Likewise, * gnu/java/security/hash/Sha512.java: (selfTest): Likewise, * gnu/java/security/hash/Tiger.java: (selfTest): Likewise, * gnu/java/security/hash/Whirlpool.java: (selfTest): Likewise. ----------------------------------------------------------------------
* 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2006-04-211-3/+3
| | | | | | * gnu/java/security/Properties.java (init): Use Boolean.valueOf() to avoid creating new Boolean instances. ----------------------------------------------------------------------
* 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2006-04-211-2/+2
| | | | | | | * gnu/classpath/jdwp/util/Value.java (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid creating new Boolean instances. ----------------------------------------------------------------------
* 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-04-192-14/+39
| | | | | | | | | | | | Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk> * gnu/javax/crypto/prng/IPBE.java: Updated documentation. (ITERATION_COUNT): Removed modifiers. (PASSWORD): Likewise. (SALT): Likewise. (PASSWORD_ENCODING): New property. (DEFAULT_PASSWORD_ENCODING): New constant. * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key material (bytes) before a password (chars).
* 2006-04-18 Lillian Angel <langel@redhat.com>Lillian Angel2006-04-182-0/+9
| | | | | | | | | * gnu/xml/dom/DomDocument.java (setCheckingCharacters): New function used to set checkingCharacters flag. * gnu/xml/dom/html2/DomHTMLParser.java (parseDocument): Added call to set checkingCharacters flag to false.
* 2006-04-18 Lillian Angel <langel@redhat.com>Lillian Angel2006-04-181-3/+2
| | | | | | * gnu/xml/dom/DomDocument.java (checkNCName): Reverted last patch. Added check for colon at last position back in.
* 2006-04-18 Roman Kennke <kennke@aicas.com>Roman Kennke2006-04-182-18/+18
| | | | | | | | | | | * gnu/java/awt/peer/swing/SwingComponentPeer.java (setBounds): Call reshape(). * gnu/java/awt/peer/swing/SwingContainerPeer.java (SwingContainerPeer): Changed argument to be a Component instead a Container. (getInsets): Call insets(). (handleMouseEvent): Added null check to avoid NPE. (handleMouseMotionEvent): Added null check to avoid NPE.
* 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-04-171-0/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/lang/InstrumentationImpl.java: Moved from java.lang. * java/lang/InstrumentationImpl.java: Removed. * vm/reference/gnu/java/lang/VMInstrumentationImpl.java: Moved from java.lang. * vm/reference/java/lang/VMClassLoader.java: Corrected reference to InstrumentationImpl. * vm/reference/java/lang/VMInstrumentationImpl.java: Removed. 2005-12-14 Nicolas Geoffray <nicolas.geoffray@menlina.com> * vm/reference/java/lang/VMClassLoader (defineClassWithTransformers): New method. (instrumenter): New Field. 2005-12-04 Nicolas Geoffray <nicolas.geoffray@menlina.com> * vm/reference/java/lang/VMInstrumentationImpl.java (redefineClasses): Added an extra parameter of type java.lang.instrument.Instrument. * java/lang/InstrumentationImpl.java (redefineClasses): Added the Instrumentation object to the arguments of VMInstrumentationImpl.redefineClasses call. 2005-12-03 Nicolas Geoffray <nicolas.geoffray@menlina.com> * java/lang/InstrumentationImpl.java: New file. * vm/reference/java/lang/VMInstrumentationImpl.java: New file.
* 2005-04-16 Casey Marshall <csm@gnu.org>Casey Marshall2006-04-164-0/+906
| | | | | | | | | | | | | | | * configure.ac (--enable-local-sockets): new enable argument. (ENABLE_LOCAL_SOCKETS): new define. * native/jni/java-net/Makefile.am (local_sources): new variable. (lib_javanet_la_SOURCES): append `local_sources.' * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c, * native/jni/java-net/local.c, * native/jni/java-net/local.h, * include/gnu_java_net_local_LocalSocketImpl.h, * gnu/java/net/local/LocalServerSocket.java, * gnu/java/net/local/LocalSocket.java, * gnu/java/net/local/LocalSocketAddress.java, * gnu/java/net/local/LocalSocketImpl.java: new files.
* 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>generics-merge-20060413Andrew John Hughes2006-04-1353-141/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/javax/crypto/assembly/Assembly.java, * gnu/javax/crypto/assembly/Cascade.java, * gnu/javax/crypto/assembly/CascadeStage.java, * gnu/javax/crypto/assembly/CascadeTransformer.java, * gnu/javax/crypto/assembly/Direction.java, * gnu/javax/crypto/assembly/LoopbackTransformer.java, * gnu/javax/crypto/assembly/ModeStage.java, * gnu/javax/crypto/assembly/Operation.java, * gnu/javax/crypto/assembly/PaddingTransformer.java, * gnu/javax/crypto/assembly/Stage.java, * gnu/javax/crypto/assembly/Transformer.java, * gnu/javax/crypto/cipher/Square.java, * gnu/javax/crypto/jce/cipher/AESSpi.java, * gnu/javax/crypto/jce/cipher/ARCFourSpi.java, * gnu/javax/crypto/jce/cipher/AnubisSpi.java, * gnu/javax/crypto/jce/cipher/BlowfishSpi.java, * gnu/javax/crypto/jce/cipher/CipherAdapter.java, * gnu/javax/crypto/jce/cipher/DESSpi.java, * gnu/javax/crypto/jce/cipher/KhazadSpi.java, * gnu/javax/crypto/jce/cipher/NullCipherSpi.java, * gnu/javax/crypto/jce/cipher/PBES2.java, * gnu/javax/crypto/jce/cipher/RijndaelSpi.java, * gnu/javax/crypto/jce/cipher/SerpentSpi.java, * gnu/javax/crypto/jce/cipher/SquareSpi.java, * gnu/javax/crypto/jce/cipher/TripleDESSpi.java, * gnu/javax/crypto/jce/cipher/TwofishSpi.java, * gnu/javax/crypto/jce/mac/HMacMD2Spi.java, * gnu/javax/crypto/jce/mac/HMacMD4Spi.java, * gnu/javax/crypto/jce/mac/HMacMD5Spi.java, * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java, * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java, * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java, * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java, * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java, * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java, * gnu/javax/crypto/jce/mac/HMacTigerSpi.java, * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java, * gnu/javax/crypto/jce/mac/MacAdapter.java, * gnu/javax/crypto/jce/mac/TMMH16Spi.java, * gnu/javax/crypto/jce/mac/UHash32Spi.java, * gnu/javax/crypto/jce/mac/UMac32Spi.java, * gnu/javax/crypto/key/dh/DiffieHellmanSender.java, * gnu/javax/crypto/key/srp6/SRP6TLSServer.java, * gnu/javax/crypto/keyring/PrivateKeyEntry.java, * gnu/javax/crypto/mode/IAuthenticatedMode.java, * gnu/javax/crypto/pad/WrongPaddingException.java, * gnu/javax/crypto/prng/ICMGenerator.java, * gnu/javax/crypto/prng/IPBE.java, * gnu/javax/crypto/prng/PBKDF2.java, * gnu/javax/crypto/sasl/ConfidentialityException.java, * gnu/javax/crypto/sasl/IllegalMechanismStateException.java, * gnu/javax/crypto/sasl/srp/IALG.java, * gnu/javax/crypto/sasl/srp/SRPServer.java: Remove CVS revision tags.
* 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-04-131-0/+65
| | | | | | | | | | | | | * javax/swing/JTree.java (getPreferredSize): Return the cloned instance. * javax/swing/ViewportLayout.java (layoutContainer): Do not manage the view size and location if the view is in the scroll pane. Also manage size and location for Scrollable, if it is not in the scroll pane. * javax/swing/plaf/basic/BasicTreeUI.java, * javax/swing/tree/FixedHeightLayoutCache.java, * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten. * gnu/javax/swing/tree/GnuPath.java: New file.
* 2006-04-09 Ito Kazumitsu <kaz@maczuka.gcd.org>Ito Kazumitsu2006-04-126-20/+108
| | | | | | | | | | | | | | | | | * gnu/regexp/REToken.java(unicodeAware): New field, (toLowerCase, toUpperCase): New methods. * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java, gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java: Use toLowerCase and toUpperCase defined in REToken instead of those defined in java.lang.Character. * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag. (initialize): Sets unicodeAware of the generated REToken to false if REG_ICASE_USASCII is set. * gnu/regexp/RETokenChar.java(constructor): Don't convert the character to lower case and keep the original value. (matchOneString): Use the new method charEquals to compare characters. (charEquals): New method to compare characters. * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
* 2006-04-12 Casey Marshall <csm@gnu.org>Casey Marshall2006-04-121-0/+9
| | | | | * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.' (Generator.setup): call `fillBlock.'
* 2006-04-12 Casey Marshall <csm@gnu.org>Casey Marshall2006-04-122-5/+17
| | | | | | | | | Fixes PR classpath/24481. * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>): initialize the adaptee. (setSeed): call `addRandomBytes;' don't re-initialize the adaptee. * gnu/java/security/prng/MDGenerator.java (addRandomByte, addRandomBytes): new methods.
* 2006-04-12 Lillian Angel <langel@redhat.com>Lillian Angel2006-04-123-14/+17
| | | | | | | | | | | | * gnu/xml/dom/DomDocument.java (checkNCName): Removed unneeded part of check. * gnu/xml/dom/DomNode.java (dispatchEvent): Added code to grow ancestors array if needed. Changed checks to use depth of node instead. Fixes an infinite loop and segmentation fault. * gnu/xml/dom/html2/DomHTMLParser.java (handleEndTag): No need to use/make a copy of the node. Causes an infinite loop.
* 2006-04-11 Lillian Angel <langel@redhat.com>Lillian Angel2006-04-116-4/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/xml/dom/DomNodeIterator.java (nextNode): Moved line of code to avoid an infinite loop. * gnu/xml/dom/html2/DomHTMLAppletElement.java (getCls): New function. (setCls): Likewise. (getSrc): Likewise. (setSrc): Likewise. * gnu/xml/dom/html2/DomHTMLDocument.java: Added DomHTMLEmbedElement to map. (getApplets): Added node name, 'embed'. * gnu/xml/dom/html2/DomHTMLEmbedElement.java: New class. * gnu/xml/dom/html2/DomHTMLObjectElement.java (getJavaCode): New function. (setJavaCode): Likewise. (getObject): Likewise. (setObject): Likewise. (getJavaObject): Likewise. (setJavaObject): Likewise. (getJavaArchive): Likewise. (setJavaArchive): Likewise. (getJavaCodeBase): Likewise. (setJavaCodeBase): Likewise. (getJavaType): Likewise. (setJavaType): Likewise. (setMayscript): Likewise. (getMayscript): Likewise. (setScriptable): Likewise. (getScriptable): Likewise. * gnu/xml/dom/html2/DomHTMLParser.java (parseDocument): Should not check for well formedness when parsing an html document. * java/awt/Window.java (dispatchEvent): Added check to avoid NPE.
* 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.orgAudrius Meskauskas2006-04-091-19/+8
| | | | | * gnu/CORBA/gnuRequest.java (submit): Do not read any response after one way message and retry after any IOException.
* 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-04-091-0/+1
| | | | | * gnu/CORBA/CDR/EncapsulationStream.java (constructor): Set the byte order.
* 2006-04-09 Wolfgang Baer <WBaer@gmx.de>Wolfgang Baer2006-04-092-2/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * org/omg/PortableServer/ServantLocatorPOA.java: (preinvoke, postinvoke): Remove default implementation. * org/omg/PortableServer/ServantActivatorPOA.java: (incarnate, etherealize): Remove default implementation. * org/omg/PortableInterceptor/ObjectReferenceFactory.java: Extends from ValueBase and not from ObjectReferenceFactoryOperations. (make_object): Moved method from ObjectReferenceFactoryOperations. * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java: Removed unspecified interface. * org/omg/DynamicAny/_DynAnyStub.java: (_DynAnyStub(Delegate)): Removed constructor. * org/omg/DynamicAny/_DynArrayStub.java, * org/omg/DynamicAny/_DynAnyFactoryStub.java, * org/omg/DynamicAny/_DynEnumStub.java, * org/omg/DynamicAny/_DynFixedStub.java, * org/omg/DynamicAny/_DynSequenceStub.java, * org/omg/DynamicAny/_DynStructStub.java, * org/omg/DynamicAny/_DynUnionStub.java, * org/omg/DynamicAny/_DynValueStub.java: Extend from ObjectImpl and not from _DynAnyStub. (type, next, destroy, copy, rewind, assign, component_count, current_component, equal, from_any, get_any, get_boolean, get_char, get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet, get_reference, get_short, get_string, get_typecode, get_ulong, get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any, insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float, insert_long, insert_longlong, insert_octet, insert_reference, insert_short, insert_string, insert_typecode, insert_ulong, insert_ulonglong, insert_ushort, insert_val, insert_wchar, insert_wstring, seek, to_any): New methods copied from _DynAnyStub. * org/omg/CosNaming/_BindingIteratorStub.java: (_BindingIteratorStub(Delegate)): Made package private. * org/omg/CosNaming/_NamingContextExtStub.java: (_NamingContextExtStub(Delegate)): Made package private. * org/omg/CosNaming/_NamingContextStub.java: (_NamingContextStub(Delegate)): Made package private. (throw4, throw5): Likewise. * gnu/CORBA/NamingService/NameParser.java (resolve): Adapt to package private constructor. Use _set_delegate instead. * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity. * org/omg/CORBA/ORB.java: (create_recursive_sequence_tc): Made abstract. (get_default_context): Likewise. * gnu/CORBA/OrbRestricted.java: (create_recursive_sequence_tc): New moved method. (get_default_context): Likewise. * org/omg/CORBA/ParameterMode.java: (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
* 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-04-093-18/+2
| | | | | | | | * gnu/CORBA/GIOP/MessageHeader.java (write): More informative exception. * gnu/CORBA/IorDelegate.java (release): Do not close the socket. * gnu/CORBA/SocketRepository.java (get_socket): Removed debugging code.
* 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-04-092-11/+28
| | | | | | | * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the one way message, but ignore if EOF was received. * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to Minor.EOF if the end of file is received instead of the header.
* 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-04-082-7/+23
| | | | | * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read response for the one way messages.
* 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-04-071-280/+303
| | | | | | | | | | | | | PR classpath/27071 * gnu/java/security/hash/Whirlpool.java: Updated documentation. (DIGEST0): Use version 3 test vector. (Sd): Removed. (S_box): New field: Version 3 S-box values. (<clinit>): Use Version 3 circulant matrix to construct lookup tables. (transform): Formating. (padBuffer): Likewise. (getResult): Likewise. (selfTest): Likewise.