summaryrefslogtreecommitdiff
path: root/gnu/java
Commit message (Collapse)AuthorAgeFilesLines
...
* 2006-06-07 Gary Benson <gbenson@redhat.com>Gary Benson2006-06-071-93/+1
| | | | | | | | | | | | PR 24895 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_toCanonicalForm): New method. * configure.ac: Added checks for lstat and readlink. * include/java_io_VMFile.h: Added new method. * vm/reference/java/io/VMFile.java: Use new method. * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed. * NEWS: Documented the above. * java/io/File.java: Javadoc fix.
* 2006-06-05 Sven de Marothy <sven@physto.se>Sven de Marothy2006-06-071-359/+0
| | | | * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
* 2006-06-05 Sven de Marothy <sven@physto.se>Sven de Marothy2006-06-072-9/+395
| | | | | | | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c New files. * gnu/java/awt/peer/gtk/GdkFontPeer.java (getGlyphVector): Removed native method. (createGlyphVector, getStringBounds): Use new GV class. * include/Makefile.am * native/jni/gtk-peer/Makefile.am Add new files. * include/gnu_java_awt_peer_gtk_GdkFontPeer.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (getGlyphVector): Removed native method.
* PR 27917Mark Wielaard2006-06-072-0/+23
| | | | | | | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose. * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to call disposeSurface. (disposeSurface): New native method. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free pattern_pixels. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call cairo_pattern_destroy. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): New function to destroy the surface. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated. * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise. * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
* 2006-06-06 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2006-06-061-1/+1
| | | | | * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: (getScreenDevices): Added explicit cast.
* 2006-06-06 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2006-06-063-43/+329
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated. * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file. * include/Makefile.am: Added gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice. * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java: (GdkGraphicsConfiguration): Rewritten. (getColorModel): Rewritten. (getColorModel(int)): Rewritten. (getBounds): Rewritten. (createCompatibleVolatileImage): Implemented. * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static initializer. (getDefaultScreenDevice): Rewritten. (nativeGetDefaultScreenDevice): New method. (getScreenDevices): Rewritten. (nativeGetScreenDevices): New method. (nativeInitState): New method. * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely rewritten. (X11DisplayMode): New inner class. * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c * native/jni/gtk-peer/gdkdisplay.h: New file. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c: (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState): New function. (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState): New function. (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment _nativeGetScreenDevices): New function. (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment _nativeGetDefaultScreenDevice): New function. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c: New file. * configure.ac: Added check for Xrandr library.
* 2006-06-05 Sven de Marothy <sven@physto.se>Sven de Marothy2006-06-063-74/+57
| | | | | | | | | | | | | * include/gnu_java_awt_peer_gtk_ComponentGraphics.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c * gnu/java/awt/peer/gtk/ComponentGraphics.java (initFromVolatile): New method. * gnu/java/awt/peer/gtk/GtkVolatileImage.java * gnu/java/awt/peer/gtk/VolatileImageGraphics.java Reimplement. * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c (copyArea, drawVolatileImage): New methods.
* 2006-06-05 Francis Kung <fkung@redhat.com>Lillian Angel2006-06-052-2/+8
| | | | | | | | | PR 27507 * gnu/java/awt/peer/gtk/GtkImage.java (getSource): Added check to determine if in errorLoading state. * gnu/java/awt/peer/gtk/GtkToolkit.java (createImage): Added check to prevent NPE.
* 2006-06-05 Sven de Marothy <sven@physto.se>Sven de Marothy2006-06-051-2/+4
| | | | | * gnu/java/awt/peer/gtk/ComponentGraphics.java (ComponentGraphics): Use 0,0 as clip origin.
* 2006-06-04 Sven de Marothy <sven@physto.se>Sven de Marothy2006-06-041-2/+2
| | | | | | | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createVolatileImage): Pass peer to VolatileImage constructor. * java/awt/Component.java (createVolatileImage): Call peer method directly.
* 2006-06-04 Sven de Marothy <sven@physto.se>Sven de Marothy2006-06-043-5/+7
| | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/CairoSurface.java (getFlippedBuffer): New method. (getGtkImage): Renamed method. * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java * gnu/java/awt/peer/gtk/GtkVolatileImage.java Renamed getSharedImage to getGtkImage. * include/gnu_java_awt_peer_gtk_CairoSurface.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c (getFlippedBuffer): New method * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c Avoid window casts.
* 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-06-048-14/+13
| | | | | | | | | | | | | | | | | * gnu/java/security/PolicyFile.java: Updated copyright year. (logger): Increased visibility. * gnu/java/security/x509/Util.java: Updated copyright year. (hexDump): Fix javadoc @link. * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year. Removed unused import. * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link. * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise. * gnu/java/security/util/ExpirableObject.java: Likewise. (destroy): Likewise. * gnu/java/security/util/SimpleList.java (SimpleList): Likewise. * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Updated copyright year. (checkCRL): Fix javadoc @param.
* 2006-06-02 Sven de Marothy <sven@physto.se>Sven de Marothy2006-06-031-33/+25
| | | | | | | | | * gnu/java/awt/peer/gtk/CairoGraphics2D.java (cairoPreserveClip, cairoResetClip): New methods. (setClip, clip): Reimplement. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h (cairoPreserveClip, cairoResetClip): New methods.
* 2006-06-02 Sven de Marothy <sven@physto.se>Sven de Marothy2006-06-033-24/+238
| | | | | | | | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/VolatileImageGraphics.java * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c New files. * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage): Overloads for VolatileImage drawing. (drawVolatile): New method. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c * include/gnu_java_awt_peer_gtk_ComponentGraphics.h (drawVolatile): New method. * gnu/java/awt/peer/gtk/GtkVolatileImage.java Unstub implementation. * include/Makefile.am * native/jni/gtk-peer/Makefile.am Add new files. * native/jni/gtk-peer/gtkpeer.h New prototype.
* 2006-06-02 Sven de Marothy <sven@physto.se>Sven de Marothy2006-06-024-82/+78
| | | | | | | | | | | | | PR 27879 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (copyArea): Implement. (copyAreaImpl, getRealBounds): New methods. * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java * gnu/java/awt/peer/gtk/ComponentGraphics.java * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (copyAreaImpl, getRealBounds): Implement. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c (nativeCopyArea): Reimplement.
* 2006-06-01 Sven de Marothy <sven@physto.se>Sven de Marothy2006-06-024-5/+9
| | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c (nativeCopyArea): Change stride parameter to use # of ints. (setPixels): Add checks. * gnu/java/awt/peer/gtk/ComponentGraphics.java (ComponentGraphics): Set background, clip. * gnu/java/awt/peer/gtk/CairoGraphics2D.java (Cairographics2D): Don't set clip. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c Add flush.
* 2006-06-01 Sven de Marothy <sven@physto.se>Sven de Marothy2006-06-011-6/+3
| | | | | * gnu/java/awt/peer/gtk/CairoGraphics2D.java: (setColor): Update the cairo paint.
* 2006-06-01 Sven de Marothy <sven@physto.se>Sven de Marothy2006-06-011-2/+2
| | | | | * gnu/java/awt/peer/gtk/CairoGraphics2D.java: (setPaint): Scale +1 pixel larger.
* 2006-06-01 Sven de Marothy <sven@physto.se>Sven de Marothy2006-06-012-59/+41
| | | | | | | PR 27854 * gnu/java/awt/Buffers.java (getData): Reimplement. * gnu/java/awt/peer/gtk/CairoSurface.java (getElem, setElem): Call native methods.
* 2006-06-01 Sven de Marothy <sven@physto.se>Sven de Marothy2006-06-012-0/+12
| | | | | | | | | | | * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Check for zero size. * gnu/java/awt/peer/gtk/GdkTextLayout.java: (setFont): Declare new native method. (GdkTextLayout): Read some attributes. * include/gnu_java_awt_peer_gtk_GdkTextLayout.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c (setFont): New native method.
* 2006-06-01 Sven de Marothy <sven@physto.se>Sven de Marothy2006-06-011-11/+11
| | | | | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (updateBufferedImage): Fix some errors.
* 2006-06-01 Sven de Marothy <sven@physto.se>Sven de Marothy2006-06-012-33/+165
| | | | | | | | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (BufferedImageGraphics): Cache surfaces. (updateBufferedImage): Copy directly for certain color models. * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Reimplement.
* 2006-06-01 Sven de Marothy <sven@physto.se>Sven de Marothy2006-06-011-6/+4
| | | | | | | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (updateBufferedImage): Simplify. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c (getPixels): Don't swap.
* 2006-05-30 Sven de Marothy <sven@physto.se>Sven de Marothy2006-05-311-1/+10
| | | | | | Should fix PR 27835 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (updateBufferedImage): Keep within image bounds.
* 2006-05-30 Sven de Marothy <sven@physto.se>Sven de Marothy2006-05-311-20/+19
| | | | | * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Clip scaled image to dest rectangle.
* 2006-05-30 Sven de Marothy <sven@physto.se>Sven de Marothy2006-05-311-4/+14
| | | | | | | * gnu/java/awt/peer/gtk/CairoSurface.java: (CairoSurface): Convert pixels properly. * gnu/java/awt/peer/gtk/ComponentGraphics.java Remove commented-out lines.
* 2006-05-30 Sven de Marothy <sven@physto.se>Sven de Marothy2006-05-312-14/+14
| | | | | | | * gnu/java/awt/peer/gtk/CairoSurface.java: (CairoSurface): Convert pixels properly. * gnu/java/awt/peer/gtk/ComponentGraphics.java Remove commented-out lines.
* 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2006-05-305-16/+7
| | | | | | | | | * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call System.loadLibrary unconditionally. * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise. * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise. * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise. * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
* 2006-05-30 Sven de Marothy <sven@physto.se>Sven de Marothy2006-05-306-69/+88
| | | | | | | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Use Toolkit to convert to BufferedImage. * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface(GtkImage)): New Constructor. (getBufferedImage): New method. * gnu/java/awt/peer/gtk/ComponentGraphics.java Don't fill background - FIXME. * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Remove unused methods. * gnu/java/awt/peer/gtk/GtkImage.java: (pixbuflock): New field. Methods change to use this lock. * gnu/java/awt/peer/gtk/GtkToolkit.java (createImage): Use Cairo-backed surfaces via GtkImage instead of GtkPixbufDecoder. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c (setPixels): Correct length in bytes.
* 2006-05-30 Sven de Marothy <sven@physto.se>Sven de Marothy2006-05-301-2/+36
| | | | | | | | * gnu/java/awt/peer/gtk/ComponentGraphics.java (copyArea): Implemented. * include/gnu_java_awt_peer_gtk_ComponentGraphics.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c: (copyAreaNative): New method.
* 2006-05-30 Roman Kennke <kennke@aicas.com>Roman Kennke2006-05-301-0/+205
| | | | | | * gnu/java/awt/java2d/TexturePaintContext.java: New file. * java/awt/TexturePaint.java (createContext): Implemented.
* 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2006-05-301-2/+4
| | | | * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
* 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-05-301-5/+15
| | | | | | | | * gnu/java/awt/peer/gtk/CairoGraphics2D.java (clearRect): Do not reuse the fd field, call updateColor. (drawRaster): Likewise. (setColor): Call updateColor. (updateColor): New method.
* 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-05-301-9/+38
| | | | | | | | | * gnu/java/awt/peer/gtk/CairoGraphics2D.java (copy): Do not reuse the fd field. (setColor): Do not set the color if the parameter matches fd field. (translate(double, double): Rewritten to use AffineTransform.translate.
* 2006-05-30 Sven de Marothy <sven@physto.se>Sven de Marothy2006-05-305-10/+189
| | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c New files. * include/Makefile.am * native/jni/gtk-peer/Makefile.am Add new files. * gnu/java/awt/peer/gtk/CairoSurface.java (getSharedGtkImage): New method. * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c Fix copyArea. * gnu/java/awt/peer/gtk/ComponentGraphics.java Support a non-xrender context. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c Plug memory leak. * gnu/java/awt/peer/gtk/GtkImage.java * include/gnu_java_awt_peer_gtk_GtkImage.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c (initFromBuffer): New method. * native/jni/gtk-peer/gtkpeer.h: Remove declarations of previouslyremoved methods.
* 2006-05-29 Sven de Marothy <sven@physto.se>Sven de Marothy2006-05-2912-1032/+1445
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/BufferedImageGraphics.java * gnu/java/awt/peer/gtk/CairoGraphics2D.java * gnu/java/awt/peer/gtk/CairoSurface.java * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java * gnu/java/awt/peer/gtk/ComponentGraphics.java * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h * include/gnu_java_awt_peer_gtk_CairoSurface.h * include/gnu_java_awt_peer_gtk_ComponentGraphics.h * native/jni/gtk-peer/cairographics2d.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c New files. * gnu/java/awt/peer/gtk/GdkGraphics2D.java * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h Removed * include/gnu_java_awt_peer_gtk_GdkFontPeer.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c * gnu/java/awt/peer/gtk/GdkFontPeer.java (releasePeerGraphicsResource): Moved to Font peer class. * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java (createGraphics): Use new context classes. * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Use native BufferedImages where possible. * gnu/java/awt/peer/gtk/GdkTextLayout.java * include/gnu_java_awt_peer_gtk_GdkTextLayout.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class, renamed to cairoDrawGdkTextLayout. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (getGraphics): Use ComponentGraphics context. (createImage): Use native BufferedImage. * gnu/java/awt/peer/gtk/GtkImage.java: * include/gnu_java_awt_peer_gtk_GtkImage.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c Remove pixmap support. (GtkImage(int, int) constructor, getGraphics) Remove drawing methods. * gnu/java/awt/print/JavaPrinterGraphics.java: Use CairoSurface instead of GtkImage. * include/Makefile.am * native/jni/gtk-peer/Makefile.am Update for new files. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c Remove superfluous GtkImage code for GdkPixmaps. * native/jni/gtk-peer/gtkpeer.h Remove graphics2d structure.
* 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>generics-merge-20060529Audrius Meskauskas2006-05-291-3/+5
| | | | | * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor): Do not reuse fg in the constructor.
* 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-05-291-0/+3
| | | | | * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor): Take no action if this color is already set.
* 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-05-291-2/+27
| | | | | | | | * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate): Rewritten. * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent): Optionally paint with translation. (createContent): Added option to test painting with translation
* 2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-05-282-0/+119
| | | | | | | | | | | | | * gnu/java/lang/management/OperatingSystemMXBeanImpl.java: New class implementing the OS bean. * gnu/java/lang/management/package.html: New file to document the gnu.java.lang.management package. * java/lang/management/ManagementFactory.java: New class to provide access to the OS bean. * java/lang/management/OperatingSystemMXBean.java: New interface. * java/lang/management/package.html: New file to document the java.lang.management package.
* 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2006-05-259-838/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention Cairo version requirement. Do not mention --enable-gtk-cairo configure option. * NEWS: Add entry for GdkGraphics2D. * configure.ac: Remove --enable-gtk-cairo and explicit checks for Cairo library and headers. * .externalToolBuilders/Configure.launch: Remove --enable-gtk-cairo from configure line. * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove field. * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo. * gnu/java/awt/peer/gtk/GdkFontPeer.java, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove useGraphics2D references. Always assume Graphics2D is enabled. * gnu/java/awt/peer/gtk/GdkGraphics.java, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove. * gnu/java/awt/peer/gtk/GdkGraphics2D.java, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove Unlocked method variants. Remove GTK_CAIRO_ENABLED and useGraphics2D references. Always assume Graphics2D is enabled. * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof Graphics2D check. Always assume Graphics2D is enabled. * gnu/java/awt/peer/gtk/GtkCanvasPeer.java, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c (realize): Remove method. * gnu/java/awt/peer/gtk/GtkComponentPeer.java, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (isRealized): Remove method. (realize): Implement as a native method. Remove useGraphics2D references. Always assume Graphics2D is enabled. * gnu/java/awt/peer/gtk/GtkImage.java, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace GdkGraphics references with GdkGraphics2D references. * gnu/java/awt/peer/gtk/GtkToolkit.java, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove useGraphics2D references. Always assume Graphics2D is enabled. * include/Makefile.am (GTKPEER_H_FILES): Remove gnu_java_awt_peer_gtk_GdkGraphics.h. * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate. * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove. * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate. * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise. * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise. * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS. * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove gnu_java_awt_peer_gtk_GdkGraphics.c. Include gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally. (AM_LDFLAGS): Remove CAIRO_LIBS. (AM_CFLAGS): Remove CAIRO_CFLAGS. * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations to ... * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
* 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-05-211-2/+3
| | | | | * gnu/java/net/loader/JarURLLoader.java: Use Map.Entry instead of LinkedHashMap.Entry
* 2006-05-20 Sven de Marothy <sven@physto.se>Sven de Marothy2006-05-212-50/+79
| | | | | | | | | | | | * gnu/java/awt/font/opentype/NameDecoder.java Made class public. (getName): Use getShort instead of getChar(), fix PS name. (decodeName): New method. * gnu/java/awt/peer/gtk/GdkFontPeer.java (getSubFamilyName): Implement. (getPostScriptName): Use the NameDecoder class instead. (parsePSName): Removed. (getName): Added
* 2006-05-20 Sven de Marothy <sven@physto.se>Sven de Marothy2006-05-201-2/+59
| | | | | | | | | | | | * gnu/java/awt/peer/gtk/GdkFontPeer.java (getTrueTypeTable): New native method. (getPostScriptName): Reimplement. (parsePSName): New method. (getNumGlyphs): Implement. * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable): New function. File is now explicitly dependent on FT2.
* 2006-05-20 Sven de Marothy <sven@physto.se>Sven de Marothy2006-05-202-1/+1350
| | | | | | * gnu/java/awt/print/JavaPrinterJob.java (print): Use PostScriptGraphics2D. * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
* 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-05-203-4/+2
| | | | | | | * gnu/java/security/OID.java: Updated copyright year. (OID): Removed unused Javadoc param tag. * gnu/java/security/prng/PRNGFactory.java: Removed unused import. * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
* 2006-05-19 Roman Kennke <kennke@aicas.com>Roman Kennke2006-05-191-229/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/java2d/AbstractGraphics2D.java Added class docs. (pixel): Removed obsolete field. (draw(Shape)): Removed commented out code. (drawImage): Formatting. (drawString): Added optimization hook. (setPaint): Removed rawSetForeground(). (getFontRenderContext): Return context with correct transform. (drawGlyphVector): Draw complete outline in one go. (copyArea): Added optimization hook. (clearRect): Added optimization hook. (drawImage): Added optimization hook. (fillShape): (Temporarily) Set antialiasing off by default for font rendering. Adjust the shape by some bits to improve rendering. Pass clip bounds to the render methods. (drawPixel): Removed. (rawSetPixel): Removed. (rawSetForeground): Removed. (rawDrawLine): Default impl calls standard pipeline. (rawDrawString): New method, calls standard pipeline for rendering. (rawClearRect): New method, calls standard pipeline for rendering. (rawFillRect): New method, calls standard pipeline for rendering. (rawDrawImage): New method, calls standard pipeline for rendering. (rawCopyArea): New method. (copyAreaImpl): New method. (rawFillShape): Renamed to fillShapeImpl(). Small optimization for rendering. (fillShapeAntialias): Fixed AA rendering. (fillScanlineAA): Fixed AA rendering. (getSegments): Take offset into account.
* PR classpath/27444:Tom Tromey2006-05-193-54/+166
| | | | | | | | | | | | | | | | | | | | * gnu/java/net/loader/URLLoader.java (getClassPath): Documented. Changed return type. * java/net/URLClassLoader.java (urlloaders): Removed. (addURLImpl): Updated. * gnu/java/net/loader/JarURLLoader.java (initialized): New field. (indexSet): Likewise. (classPath): Changed type. (JarURLLoader): New constructor. (initialize): New method. (getResource): Use index set if it exists. (getClassPath): Updated. * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE. (prefixes): New field. (headers): Removed. (IndexListParser): Fill in prefixes. (clearAll): Clear prefixes. (getHeaders): Changed return type.
* 2006-05-18 Roman Kennke <kennke@aicas.com>Roman Kennke2006-05-181-2/+1
| | | | | * gnu/java/awt/peer/gtk/GdkGraphics.java (clipRect): Removed old intersection statement.
* 2006-05-18 Roman Kennke <kennke@aicas.com>Roman Kennke2006-05-181-1/+25
| | | | | | | * gnu/java/awt/peer/gtk/GdkGraphics.java (clipRect): Don't use Rectangle.intersection() to avoid creating 2 unnecessary Rectangle instances and fix a clipping problem. (computeIntersection): New helper method, adapted from SwingUtilities.