| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-02-03 Andrew John Hughes <ahughes@redhat.com>
PR classpath/38417:
* gnu/java/security/jce/prng/SecureRandomAdapter.java:
Remove unneeded import.
* gnu/javax/crypto/jce/prng/FortunaImpl.java:
Fix typo.
* java/security/SecureRandom.java:
Remove duplicate use of VMSecureRandom,
call SecureRandomAdapter instead.
* vm/reference/gnu/java/security/jce/prng/VMSecureRandom.java:
Moved from java/security so SecureRandomAdapter can
access it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/38417:
* gnu/java/security/jce/prng/SecureRandomAdapter.java:
(getSeed(int)): New; retrieve seed from source specified
by securerandom.source property or failing that, use
VMSecureRandom.
* gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java:
(engineGenerateSeed(int)): Use SecureRandomAdapter.
(engineNextBytes(byte[])): Initialise using new seed.
* gnu/javax/crypto/jce/prng/CSPRNGSpi.java:
(engineGenerateSeed(int)): Use SecureRandomAdapter.
(engineNextBytes(byte[])): Initialise using new seed.
* gnu/javax/crypto/jce/prng/FortunaImpl.java:
(engineSetSeed(byte[])): Initialise with new seed if unused.
(engineGenerateSeed(int)): Use SecureRandomAdapter.
* gnu/javax/crypto/jce/prng/ICMRandomSpi.java:
(engineGenerateSeed(int)): Use SecureRandomAdapter.
(engineNextBytes(byte[])): Initialise using new seed.
* gnu/javax/crypto/jce/prng/UMacRandomSpi.java:
(engineGenerateSeed(int)): Use SecureRandomAdapter.
(engineNextBytes(byte[])): Initialise using new seed.
* gnu/javax/crypto/prng/ICMGenerator.java:
(setup(Map)): Call fillBlock().
|
|
|
|
|
|
|
| |
2009-01-05 Robert Schuster <robertschuster@fsfe.org>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java:
(drawPolyline): Rewritten.
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java (getKerning):
Return result in a float[], not a Point2D.
(performDefaultLayout): Call getKerning with a float[].
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
(getKerning): Return result in a float[], not a Point2D.
|
|
|
|
|
|
|
| |
* gnu/java/nio/charset/ByteDecodeLoopHelper:
(arrayDecodeLoop): Added new break label, escape to that label.
* gnu/java/nio/charset/ByteEncodeLoopHelper:
(arrayDecodeLoop): Added new break label, escape to that label.
|
|
|
|
|
| |
* gnu/java/awt/peer/x/XImage.java (XImageProducer): remove @Override
annotation to allow compilation on javac < 1.5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/util/regex/BacktrackStack.java,
* gnu/java/util/regex/CharIndexed.java,
* gnu/java/util/regex/CharIndexedCharArray.java,
* gnu/java/util/regex/CharIndexedCharSequence.java,
* gnu/java/util/regex/CharIndexedInputStream.java,
* gnu/java/util/regex/CharIndexedString.java,
* gnu/java/util/regex/CharIndexedStringBuffer.java,
* gnu/java/util/regex/RE.java,
* gnu/java/util/regex/REException.java,
* gnu/java/util/regex/REFilterInputStream.java,
* gnu/java/util/regex/REMatch.java,
* gnu/java/util/regex/REMatchEnumeration.java,
* gnu/java/util/regex/RESyntax.java,
* gnu/java/util/regex/REToken.java,
* gnu/java/util/regex/RETokenAny.java,
* gnu/java/util/regex/RETokenBackRef.java,
* gnu/java/util/regex/RETokenChar.java,
* gnu/java/util/regex/RETokenEnd.java,
* gnu/java/util/regex/RETokenEndOfPreviousMatch.java,
* gnu/java/util/regex/RETokenEndSub.java,
* gnu/java/util/regex/RETokenIndependent.java,
* gnu/java/util/regex/RETokenLookAhead.java,
* gnu/java/util/regex/RETokenLookBehind.java,
* gnu/java/util/regex/RETokenNamedProperty.java,
* gnu/java/util/regex/RETokenOneOf.java,
* gnu/java/util/regex/RETokenPOSIX.java,
* gnu/java/util/regex/RETokenRange.java,
* gnu/java/util/regex/RETokenRepeated.java,
* gnu/java/util/regex/RETokenStart.java,
* gnu/java/util/regex/RETokenWordBoundary.java,
* gnu/java/util/regex/UncheckedRE.java:
Fix indentation.
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/x/XGraphicsDevice.java (getDisplay): fix to support
new Escher API.
* gnu/java/awt/peer/x/XImage.java (getSource): method implemented.
* gnu/java/awt/peer/x/XImage.java (XImageProducer): implement ImageProducer
for getSource.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-09-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/util/regex/RETokenStart.java:
(getMaximumLength()): Add Override annotation.
(matchThis(CharIndexed, REMatch)): Likewise.
(returnsFixedLengthMatches()): Renamed from
returnsFixedLengthmatches and added Override
annotation.
(findFixedLengthMatches(CharIndexed,REMatch,int)):
Add Override annotation.
(dump(CPStringBuilder)): Likewise.
* gnu/javax/print/ipp/IppRequest.java:
(RequestWriter.writeOperationAttributes(AttributeSet)):
Throw exception, don't just create and drop it.
* javax/management/MBeanServerPermission.java:
(MBeanServerPermissionCollection.add(Permission)): Compare
against individual Strings not the entire array, and
store the result of replace.
* javax/swing/text/html/StyleSheet.java:
(setBaseFontSize(size)): Store result of trim().
|
|
|
|
|
| |
white space in entire file.
(handleClose): Remove redundant braces from if statement.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/28664:
* gnu/java/math/GMP.java:
Renamed from VMBigInteger.java and fixed to use
GMP instances directly.
* include/Makefile.am:
Generate GMP.h not VMBigInteger.h.
* java/math/BigInteger.java:
Send instances of GMP in calls to GMP rather than
the wrapping BigInteger class.
* native/jni/java-math/Makefile.am:
Fix filename of source code file.
* native/jni/java-math/gnu_java_math_GMP.c:
Renamed from java_math_VMBigInteger.c.
* native/jni/java-math/java_math_VMBigInteger.c,
* vm/reference/java/math/VMBigInteger.java:
Removed.
|
|
|
|
|
|
| |
PR classpath/36522:
* gnu/java/security/PolicyFile.java:
Correct typo changing seperator to separator.
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/36477:
* gnu/java/lang/CPStringBuilder.java,
(setLength(int)): Don't ensure capacity when
new length is 0.
(ensureCapacity(int)): Allocate double the minimum
capacity rather than double the array length when
allocating a new array after a write.
|
|
|
|
|
| |
* gnu/java/awt/java2d/RasterGraphics.java: remove unused import that cause
compilation to fail when xpeers are not enabled.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/java2d/AbstractGraphics2D.java (setColor): delegate to
setPaint.
(setPaint): fix to set paint context and foreground color.
(imageCache): new field.
(drawImage): new codepath for scaling images.
(prepareImage): new method.
(getPaintContext): set paintContext appropriately.
* gnu/java/awt/java2d/RasterGraphics.java (renderScanline): new method,
override from superclass to detect correct value of y while rendering
the scanline.
* gnu/java/awt/java2d/ScanlineConverter.java (renderShape): revert previous
patch.
* gnu/java/awt/peer/x/XEventPump.java (findMouseEventTarget): new method.
(handleButtonPress): use of findMouseEventTarget to detect the correct
target.
(handleButtonRelease): likewise.
* gnu/java/awt/peer/x/XGraphics2D.java (rawDrawImage): clip the target image
so that it is completely contained in the destination pixmaps, as per X11
specification.
* gnu/java/awt/peer/x/XToolkit.java (createTextField): method implemented.
(createButton): likewise.
(prepareImage): likewise.
(createLabel): likewise.
(checkImage): likewise.
(createTextArea): likewise.
(createCheckbox): likewise.
(checkHeadLess): new method.
* gnu/javax/imageio/bmp/BMPImageWriter.java (write):
don't close the stream.
* gnu/javax/imageio/bmp/BMPImageWriterSpi.java (names): added new names to
the list of known names for BMP.
* java/awt/image/WritableRaster.java (createWritableTranslatedChild):
* javax/imageio/ImageIO.java (write): call dispose on ImageWriter after
writing of the image.
|
|
|
|
| |
import.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/java2d/AbstractGraphics2D.java (setColor): now set directly
the foreground color the application wants to use to draw. On null, behave
like OpenJDK, drawing black.
(renderScanline): fixed NPE, paintContext never initialized. Correctely
retrieve destination raster
(getColor): Return the correct type.
(static initializer): HashMap now typed.
(background): now defaults to black and not null.
(getPaintContext): new method. Initialize lazily the PaintContext.
(foreground): new field.
(isForegroundColorNull): likewise.
(getDeviceBounds): made abstract.
* gnu/java/awt/java2d/RasterGraphics.java (getDeviceBounds): new method.
* gnu/java/awt/java2d/ScanlineConverter.java (renderShape): pass correct
value of Y to doScanline.
* gnu/java/awt/peer/x/GLGraphics.java (getDeviceBounds): new method.
(setBackground): synch with new Escher 2.0 API.
* gnu/java/awt/peer/x/XGraphicsConfiguration.java (getDefaultTransform):
implemented.
(getBounds): new method.
* java/awt/AlphaComposite.java (derive(int) and derive(float)):
new methods.
* java/awt/image/WritableRaster.java (createWritableTranslatedChild):
now call createWritableChild.
(createWritableChild): reformatted.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/x/XEventPump.java (handleExpose): new method.
(handleDestroyNotify): likewise.
(handleClientMessage): likewise.
(handleButtonRelease): likewise.
(handleMotionNotify): likewise.
(handleKeyEvent): likewise.
(handleButtonPress): likewise.
(handleEvent): refactored to use new methods instead of a big switch
block. Fixed resizing of windows.
* gnu/java/awt/peer/x/XWindowPeer.java (standardSelect): update list
of flags for X11 events handling.
(callback): removed now unused flag.
|
|
|
|
|
|
|
| |
* gnu/java/lang/CPStringBuilder.java:
(toString()): Fix comments to reflect copying changes.
* vm/reference/gnu/java/lang/VMCPStringBuilder.java:
(toString()): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/36147
* gnu/java/lang/CPStringBuilder.java:
(allocated): New flag to mark whether or
not the array has been allocated to a String object.
(ensureCapacity(int)): Removed.
(ensureCapacity_unsynchronized(int)): Renamed to
ensureCapacity, and creates an array when allocated
is true.
(allocateArray(int)): Added.
(trimToSize()): Use allocateArray method.
(toString()): Set allocated to true;
(substring(int,int)): Likewise.
|
|
|
|
|
| |
* gnu/java/lang/CPStringBuilder.java:
Make default capacity configurable.
|
|
|
|
|
|
|
|
|
| |
* gnu/java/util/regex/RE.java:
Switch to use generic ArrayLists.
* gnu/java/util/regex/REMatchEnumeration.java:
Make the enumeration implementation generic.
* gnu/java/util/regex/RETokenLookBehind.java:
Remove unused variables.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add generics to these classes.
* gnu/java/util/regex/RETokenOneOf.java:
Use an ArrayList and a Deque instead of
a Vector and a Stack to remove unnecessary
synchronisation.
* gnu/java/util/regex/RETokenRepeated.java:
Replace custom FindMatchControlStack class
with a generic Deque.
* java/util/regex/Pattern.java:
Use a generic ArrayList instance.
|
|
|
|
|
| |
* gnu/java/awt/peer/x/XEventPump.java (handleEvent):
Fixed mouse dragging and movement in XEventPump. Patch from Roman Kennke.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/x/XEventPump.java (handleEvent): xEvent.code is now
masked to identify and react to syntetic events.
Added UnmapNotify, DestroyNotify and ClientMessage to the list of event
handled.
* gnu/java/awt/peer/x/XFramePeer.java (getState): initial implementation.
* gnu/java/awt/peer/x/XGraphics2D.java (setPaint): fix NPE, this is a
workaround, the code have to be fixed in a better way.
* gnu/java/awt/peer/x/XWindowPeer.java (getXwindow): new method to allow
access to the underling xwindow.
(standardSelect): add more events for notification.
(XWindowPeer): call set_wm_delete_window to ask the WM to notify us
when a delete event occur.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/21869
* gnu/java/lang/CPStringBuilder.java:
(substring(int)): Added.
* gnu/javax/naming/giop/CorbalocParser.java,
* gnu/javax/naming/giop/GiopNamingServiceFactory.java,
* gnu/javax/naming/giop/ListBindingsEnumeration.java,
* gnu/javax/naming/giop/ListEnumeration.java,
* gnu/javax/naming/ictxImpl/trans/GnuName.java,
* gnu/javax/net/ssl/PrivateCredentials.java,
* gnu/javax/net/ssl/Session.java,
* gnu/javax/net/ssl/provider/HelloRequest.java,
* gnu/javax/net/ssl/provider/Util.java,
* gnu/javax/print/ipp/attribute/RequestedAttributes.java,
* gnu/javax/rmi/CORBA/RmiUtilities.java,
* gnu/javax/security/auth/callback/AWTCallbackHandler.java,
* gnu/javax/security/auth/login/ConfigFileTokenizer.java,
* gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java:
Swap use of StringBuffer for CPStringBuilder,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/21869
* gnu/java/util/Base64.java,
* gnu/java/util/prefs/NodeWriter.java,
* gnu/java/util/regex/RE.java,
* gnu/java/util/regex/REException.java,
* gnu/java/util/regex/REMatch.java,
* gnu/java/util/regex/REMatchEnumeration.java,
* gnu/java/util/regex/REToken.java,
* gnu/java/util/regex/RETokenAny.java,
* gnu/java/util/regex/RETokenBackRef.java,
* gnu/java/util/regex/RETokenChar.java,
* gnu/java/util/regex/RETokenEnd.java,
* gnu/java/util/regex/RETokenEndOfPreviousMatch.java,
* gnu/java/util/regex/RETokenEndSub.java,
* gnu/java/util/regex/RETokenIndependent.java,
* gnu/java/util/regex/RETokenLookAhead.java,
* gnu/java/util/regex/RETokenLookBehind.java,
* gnu/java/util/regex/RETokenNamedProperty.java,
* gnu/java/util/regex/RETokenOneOf.java,
* gnu/java/util/regex/RETokenPOSIX.java,
* gnu/java/util/regex/RETokenRange.java,
* gnu/java/util/regex/RETokenRepeated.java,
* gnu/java/util/regex/RETokenStart.java,
* gnu/java/util/regex/RETokenWordBoundary.java:
Swap use of StringBuffer for CPStringBuilder,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/21869
* gnu/java/lang/CPStringBuilder.java:
(CPStringBuilder(StringBuffer)): Added.
(CPStringBuulder(StringBuilder)): Likewise.
* gnu/java/text/AttributedFormatBuffer.java:
Swap use of StringBuffer for CPStringBuilder,
and make fields final.
* gnu/java/text/StringFormatBuffer.java:
Make fields final.
* java/text/SimpleDateFormat.java:
Add thread safety warning.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/21869
* gnu/java/security/OID.java,
* gnu/java/security/PolicyFile.java,
* gnu/java/security/der/BitString.java,
* gnu/java/security/der/DERReader.java,
* gnu/java/security/jce/sig/DSSParameters.java,
* gnu/java/security/provider/X509CertificateFactory.java,
* gnu/java/security/util/ByteArray.java,
* gnu/java/security/util/Util.java,
* gnu/java/security/x509/PolicyNodeImpl.java,
* gnu/java/security/x509/Util.java,
* gnu/java/security/x509/X500DistinguishedName.java:
Swap use of StringBuffer for CPStringBuilder.
|
|
|
|
|
|
|
|
|
| |
PR classpath/21869
* gnu/java/net/protocol/ftp/FTPConnection.java,
* gnu/java/net/protocol/jar/Handler.java,
* gnu/java/rmi/server/RMIClassLoaderImpl.java,
* gnu/java/rmi/server/RMIHashes.java:
Swap use of StringBuffer for CPStringBuilder.
|
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/21869
* gnu/classpath/jdwp/util/Signature.java,
* gnu/java/awt/font/opentype/GlyphNamer.java,
* gnu/java/awt/font/opentype/truetype/Fixed.java,
* gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
* gnu/java/awt/peer/gtk/GdkFontPeer.java,
* gnu/java/awt/peer/gtk/GtkClipboard.java:
Swap use of StringBuffer for CPStringBuilder.
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/21869
* gnu/java/lang/CPStringBuilder.java:
(indexOf(String,int)): Use regionMatches from String.
(lastIndexOf(String,int)): Likewise.
(regionMatches(int,String)): Removed broken code.
(substring(int,int)): Rearrange index computation so
it is only computed if valid.
|
|
|
|
|
|
|
|
|
| |
* gnu/java/lang/CPStringBuilder.java:
Replace reflection code with calls to
VMCPStringBuilder.
* vm/reference/gnu/java/lang/VMCPStringBuilder.java:
Default implementation of constructor call
using reflection.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/21869
* gnu/java/security/Engine.java,
* gnu/java/security/hash/Whirlpool.java,
* gnu/java/security/key/dss/DSSKey.java,
* gnu/java/security/key/dss/DSSPrivateKey.java,
* gnu/java/security/key/dss/DSSPublicKey.java,
* gnu/java/security/key/rsa/GnuRSAKey.java,
* gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
* gnu/java/security/key/rsa/GnuRSAPublicKey.java,
* java/awt/datatransfer/MimeType.java,
* java/io/BufferedReader.java,
* java/io/DataInputStream.java,
* java/lang/Double.java,
* java/lang/Float.java,
* java/lang/String.java,
* java/lang/reflect/Proxy.java,
* java/math/BigDecimal.java,
* java/net/URI.java,
* java/net/URLClassLoader.java,
* java/net/URLEncoder.java:
Use CPStringBuilder in preference to StringBuilder.
|
|
|
|
|
|
| |
PR classpath/21869
* gnu/classpath/CPStringBuilder.java:
Make the constructor accessible.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/classpath/CPStringBuilder.java:
Removed.
* gnu/java/awt/font/OpenTypeFontPeer.java,
* gnu/java/awt/font/autofit/Edge.java,
* gnu/java/awt/font/autofit/LatinBlue.java,
* gnu/java/awt/font/autofit/Segment.java,
* gnu/java/awt/font/autofit/Width.java,
* gnu/java/awt/font/opentype/truetype/Point.java,
* gnu/java/awt/java2d/ActiveEdges.java,
* gnu/java/awt/peer/GnomeDesktopPeer.java,
* gnu/java/awt/peer/KDEDesktopPeer.java,
* gnu/java/awt/peer/x/XFontPeer.java:
Use CPStringBuilder.
* gnu/java/lang/CPStringBuilder.java:
Moved from gnu.classpath.
* gnu/java/lang/ClassHelper.java,
* gnu/java/lang/reflect/GenericSignatureParser.java,
* gnu/java/lang/reflect/TypeSignature.java,
* gnu/java/net/protocol/http/ChunkedInputStream.java,
* gnu/java/net/protocol/http/Cookie.java,
* gnu/java/net/protocol/http/HTTPConnection.java,
* gnu/java/net/protocol/http/Headers.java,
* gnu/java/net/protocol/http/Request.java:
Use CPStringBuilder.
* java/lang/reflect/Modifier.java:
Corrected import to point to correct package.
* java/util/Formatter.java:
Use CPStringBuilder.
* vm/reference/java/lang/reflect/Constructor.java,
* vm/reference/java/lang/reflect/Field.java,
* vm/reference/java/lang/reflect/Method.java:
Corrected import to point to correct package.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/util/EmptyEnumeration.java:
Add generic type parameter.
* java/lang/ClassLoader.java:
Use EmptyEnumeration with type parameter.
* java/util/zip/ZipFile.java:
Likewise.
* javax/swing/text/html/StyleSheet.java,
* javax/swing/text/html/ViewAttributeSet.java:
Add generics.
* javax/swing/tree/DefaultMutableTreeNode.java:
Use EmptyEnumeration with type parameter.
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/util/prefs/EventDispatcher.java:
Removed again.
* gnu/java/util/prefs/GConfBasedPreferences.java,
* gnu/java/util/prefs/gconf/GConfNativePeer.java,
* java/util/prefs/AbstractPreferences.java,
* native/jni/gconf-peer/GConfNativePeer.c:
Revert to pre-release versions.
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/util/prefs/EventDispatcher.java:
Re-added.
* gnu/java/util/prefs/GConfBasedPreferences.java,
* gnu/java/util/prefs/gconf/GConfNativePeer.java,
* java/util/prefs/AbstractPreferences.java,
* native/jni/gconf-peer/GConfNativePeer.c:
Regress to 0.96 versions.
|
|
|
|
|
|
|
|
|
| |
* gnu/java/util/regex/REException.java:
(REException(String,Throwable,int,int)): Added
constructor which also includes the cause.
* gnu/java/util/regex/RETokenNamedProperty.java:
(getHandler(String)): Add support for \p{javaX}.
(JavaCategoryHandler): New class.
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/x/XGraphics2D.java
(RENDER_OPAQUE): New constant with system property to
turn on opaque image rendering.
(rawDrawImage): Render images opaque when system property
is set. This is for demonstration and debugging purposes only.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/image/AsyncImage.java: New file. Implements
asynchronous image loading.
* gnu/java/awt/image/ImageConverter.java: New file.
An image consumer that creates a concrete image with
asynchronous behaviour.
* gnu/java/awt/peer/x/ImageConverter.java: Removed.
* gnu/java/awt/peer/x/XToolkit.java:
(createImage(ImageProducer)): Use new ImageConverter.
* gnu/java/awt/peer/x/XGraphics2D.java:
(rawDrawImage): Unwrap AsyncImages before painting.
(unwrap): New helper method.
|
|
|
|
|
|
| |
* gnu/java/awt/peer/x/XGraphics2D.java
(rawDrawImage): Update the rgb variable correctly. Don't
cache translucent images.
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/GtkComponentPeer.java,
* gnu/java/awt/peer/gtk/GtkToolkit.java: Removed mistakenly
committed code.
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/CairoGraphics2D.java,
* gnu/java/awt/peer/gtk/GdkFontPeer.java,
* gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
* gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
* gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
* gnu/java/awt/peer/gtk/GtkComponentPeer.java,
* gnu/java/awt/peer/gtk/GtkToolkit.java: Only call
System.loadLibrary() when configured so.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/lang/reflect/TypeSignature.java
* java/io/BufferedReader.java
* java/io/DataInputStream.java
* java/lang/StackTraceElement.java
* java/lang/Throwable.java
* java/lang/reflect/Proxy.java
* java/net/URI.java
* java/net/URLClassLoader.java
* java/net/URLEncoder.java
* java/text/SimpleDateFormat.java
* java/util/AbstractMap.java
* java/util/Calendar.java
* java/util/Date.java
* java/util/Hashtable.java
Use StringBuilder in preference to StringBuffer
* java/util/Calendar.java
* java/util/Hashtable.java
Make private fields that can be final, final
* java/net/URI.java
Avoid creating Integer objects for the sake of comparison
* java/lang/reflect/Proxy.java
* java/text/SimpleDateFormat.java
Swap use of "new Character/Integer" to use of valueOf methods
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/classpath/jdwp/event/ExceptionEvent.java,
* gnu/java/awt/peer/gtk/GtkMainThread.java:
Use Boolean.TRUE|FALSE instead of new Boolean(true|false)
* gnu/java/rmi/server/ConnectionRunnerPool.java,
* gnu/xml/aelfred2/XmlParser.java,
* gnu/xml/libxmlj/dom/GnomeXPathResult.java,
* gnu/xml/stream/XIncludeFilter.java:
Use Integer|Double|Charater.toString(var) instead of
new Integer|Double|Character(var).toString()
|
|
|
|
|
| |
* gnu/java/awt/peer/x/XWindowPeer.java
(getFontMetrics): Re-enable that for X fonts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/java2d/J2dBenchmark.java,
* gnu/CORBA/OrbFocused.java,
* gnu/CORBA/CDR/HeadlessInput.java,
* gnu/java/awt/peer/gtk/CairoGraphics2D.java,
* gnu/java/awt/peer/gtk/GtkFramePeer.java,
* gnu/java/awt/peer/qt/QtMenuPeer.java,
* gnu/java/nio/FileChannelImpl.java,
* gnu/java/nio/SocketChannelSelectionKeyImpl.java,
* gnu/java/security/Engine.java,
* gnu/javax/imageio/jpeg/JPEGComponent.java,
* gnu/javax/imageio/jpeg/JPEGDecoder.java,
* gnu/javax/imageio/jpeg/JPEGFrame.java,
* gnu/javax/print/PrinterDialog.java,
* gnu/javax/security/auth/Password.java,
* gnu/javax/swing/text/html/parser/support/Parser.java,
* gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
* gnu/xml/pipeline/DomConsumer.java,
* java/awt/AWTKeyStroke.java,
* java/awt/DefaultKeyboardFocusManager.java,
* java/awt/GridBagLayout.java,
* java/awt/dnd/DragGestureRecognizer.java,
* java/awt/geom/Arc2D.java,
* java/awt/geom/CubicCurve2D.java,
* java/awt/geom/QuadCurve2D.java,
* java/awt/im/InputContext.java,
* java/awt/image/AffineTransformOp.java,
* java/beans/Encoder.java,
* java/io/ObjectInputStream.java,
* java/io/ObjectStreamClass.java,
* java/net/ResolverCache.java,
* java/nio/charset/Charset.java,
* java/security/SecureClassLoader.java,
* java/text/MessageFormat.java,
* java/util/jar/Manifest.java,
* javax/accessibility/AccessibleRelationSet.java,
* javax/imageio/ImageReader.java,
* javax/imageio/metadata/IIOMetadataNode.java,
* javax/print/attribute/standard/MediaSize.java,
* javax/print/attribute/standard/PrinterStateReasons.java,
* javax/swing/JTree.java,
* javax/swing/table/DefaultTableColumnModel.java,
* javax/swing/text/html/MinimalHTMLWriter.java,
* javax/swing/text/html/parser/DTD.java,
* javax/swing/tree/DefaultMutableTreeNode.java,
* javax/swing/undo/UndoManager.java,
* org/omg/CosNaming/NamingContextExtPOA.java,
* org/omg/CosNaming/NamingContextPOA.java,
* org/omg/CosNaming/_NamingContextExtImplBase.java,
* org/omg/CosNaming/_NamingContextImplBase.java,
* tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
Remove unneeded casts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/CORBA/BigDecimalHelper.java,
* gnu/CORBA/CDR/AbstractCdrInput.java,
* gnu/CORBA/CDR/AbstractCdrOutput.java,
* gnu/CORBA/CDR/HeadlessInput.java,
* gnu/CORBA/CDR/gnuRuntime.java,
* gnu/CORBA/Connected_objects.java,
* gnu/CORBA/GIOP/CancelHeader.java,
* gnu/CORBA/GIOP/v1_0/CancelHeader.java,
* gnu/CORBA/IOR.java,
* gnu/CORBA/Interceptor/Registrator.java,
* gnu/CORBA/IorDelegate.java,
* gnu/CORBA/NamingService/NameTransformer.java,
* gnu/CORBA/ObjectCreator.java,
* gnu/CORBA/OrbFunctional.java,
* gnu/CORBA/Poa/AOM.java,
* gnu/CORBA/Poa/gnuPOA.java,
* gnu/CORBA/Poa/gnuPOAManager.java,
* gnu/CORBA/Poa/gnuServantObject.java,
* gnu/CORBA/typecodes/FixedTypeCode.java,
* gnu/CORBA/typecodes/RecursiveTypeCode.java,
* gnu/java/awt/AWTUtilities.java,
* gnu/java/awt/peer/gtk/CairoGraphics2D.java,
* gnu/java/awt/peer/gtk/CairoSurface.java,
* gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
* gnu/java/text/AttributedFormatBuffer.java,
* gnu/java/util/regex/REToken.java,
* gnu/javax/imageio/gif/GIFFile.java,
* gnu/javax/imageio/png/PNGDecoder.java,
* gnu/javax/management/Server.java,
* gnu/javax/naming/giop/ContextContinuation.java,
* gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
* gnu/javax/swing/text/html/css/Selector.java,
* gnu/javax/swing/text/html/parser/models/node.java,
* gnu/javax/swing/text/html/parser/support/Parser.java,
* gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java,
* gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
* gnu/xml/util/Resolver.java,
* java/awt/image/AreaAveragingScaleFilter.java,
* java/beans/Beans.java,
* java/beans/XMLDecoder.java,
* java/beans/beancontext/BeanContextServicesSupport.java,
* java/beans/beancontext/BeanContextSupport.java,
* java/io/CharArrayWriter.java,
* java/lang/System.java,
* java/net/ResolverCache.java,
* java/util/Calendar.java,
* java/util/Collections.java,
* java/util/Formatter.java,
* javax/accessibility/AccessibleEditableText.java,
* javax/imageio/ImageReader.java,
* javax/imageio/ImageTypeSpecifier.java,
* javax/imageio/ImageWriter.java,
* javax/imageio/spi/ServiceRegistry.java,
* javax/imageio/stream/ImageInputStream.java,
* javax/management/MBeanPermission.java,
* javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
* javax/rmi/CORBA/Util.java,
* javax/rmi/CORBA/UtilDelegate.java,
* javax/rmi/CORBA/ValueHandler.java,
* javax/rmi/PortableRemoteObject.java,
* org/ietf/jgss/GSSContext.java,
* tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java,
* tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java,
* tools/gnu/classpath/tools/appletviewer/TagParser.java,
* vm/reference/gnu/java/nio/VMChannel.java:
Correct javadoc to match the functions' parameters
* gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
Rename start_pos parameter to startPos to conform to style.
|