summaryrefslogtreecommitdiff
path: root/resource/gnu/java/awt
Commit message (Collapse)AuthorAgeFilesLines
* 2007-09-20 Roman Kennke <roman.kennke@aicas.com>Roman Kennke2007-09-202-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/font/GNUGlyphVector.java (cleanOutline): New field, caches the untransformed outline. (getOutline()): No need to validate here. Already done in getOutline(float,float). (getOutline(float,float)): Cache untransformed outlines. Protect returned shape from modification by wrapping in ShapeWrapper object. * gnu/java/awt/font/OpenTypeFontPeer.java: New class. Implements ClasspathFontPeer for OpenType fonts. * gnu/java/awt/java2d/AbstractGraphics2D.java (DEFAULT_TEXT_AA): New constant/property for controlling default anti-aliasing for text. (GC_CACHE_SIZE): New constant for the size of the glyph vector cache. (shapeCache): Don't make shapeCache thread local. This wouldn't gain much, because the event dispatch thread is restarted quite often. (scanlineConverters): Don't make scanlineConverters thread local, but instead pool them into a list. (gvCache): New cache for glyph vectors. (searchTextKey): New static field, a shared key used for GV caching. (drawString): Cache glyph vectors. (getFontRenderContext): Protect the current transform from beeing changed. (clone): Check clip for null when cloning. (drawLine): Use shared shape cache. No need for calling a method here. (drawRect): Likewise. Add translation to rectangle coordinates. (fillRect): Use shared shape cache. No need for calling a method here. (drawRoundRect): Likewise. (fillRoundRect): Likewise. (drawOval): Likewise. (fillOval): Likewise. (drawArc): Likewise. (fillArc): Likewise. (drawPolyline): Likewise. (drawPolygon): Likewise. (fillPolygon): Likewise. (fillShape): Check property for default text AA. Set Y resolution. (rawDrawLine): Use shared shape cache. No need for calling a method here. (rawDrawRect): Likewise. (rawFillRect): Likewise. (rawDrawString): Removed. Subclasses override drawString() instead. (getShapeCache): Removed. No longer needed. (getScanlineConverter): New helper method for pooling scanline converters. (freeScanlineConverter): New helper method for pooling scanline converters. * gnu/java/awt/java2d/PixelCoverage.java: New class. Used by the reworked scanline converter. * gnu/java/awt/java2d/ScanlineConverter.java (Y_RESOLUTION): Removed. The Y resolution is now specified by the caller. (yResolution): New field. Stores the Y resolution. (renderShape): Take y resolution as argument. (setResolution): Take y resolution as argument. * gnu/java/awt/java2d/ShapeWrapper.java: New class. Protects shape objects from modification by application code. * gnu/java/awt/java2d/TextCacheKey.java: New class. Used for caching GlyphVectors. * gnu/java/awt/peer/x/XFontPeer2.java: Removed. This is now implemented in OpenTypeFontPeer now. * gnu/java/awt/peer/x/XEventPump.java (handleEvent): Check insets. * gnu/java/awt/peer/x/XFontPeer.java Changed class and method names for changed Escher API. (clinit): Use font properties from xfonts.properties. (canDisplay): Changed to take int argument. * gnu/java/awt/peer/x/XFramePeer.java (XFramePeer): Set the title of the frame on creation time. (setTitle): Implemented. * gnu/java/awt/peer/x/XGraphics2D.java (imageCache): New field. Caches native representations for images. (drawString): New method. Optimized version for X fonts. (fillScanline): Removed. (fillScanlineAA): Removed. (rawDrawImage): Optimized drawing for ZPixmap-backed images. (rawDrawRect): Optimized rectangle drawing. (renderScanline): Added compositing code. (setFont): Overridden for X font support. (setPaint): Added TODO. * gnu/java/awt/peer/x/XGraphicsConfiguration.java (getSize): New helper method for XToolkit. (getResolution): New helper method for XToolkit. * gnu/java/awt/peer/x/XGraphicsEnvironment.java (getAvailableFontFamilyNames): Implemented. * gnu/java/awt/peer/x/XToolkit.java (fontCache): New field for caching fonts. (getClasspathFontPeer): Cache fonts. (getScreenSize): Implemented. (getScreenResolution): Implemented. (getFontList): Implemented. (isModalExclusionTypeSupported): New method. (isModalityTypeSupported): New method. * gnu/java/awt/peer/x/XWindowPeer.java (insets): New field for storing the insets of the frame. (XWindowPeer): Set correct decoration. (getGraphics): Set foreground, background and font. (show): Determine the correct frame extents. (reshape): Only resize when not inside callback. (insets): Implemented correctly. (getFontMetrics): Use OpenTypeFontPeer. * gnu/java/awt/peer/x/ZPixmapDataBuffer.java (getZPixmap): New method. This is used in XGraphics2D for drawing the buffer. * gnu/java/util/LRUCache.java: New class. Implements an LRU cache.
* 2006-07-18 Roman Kennke <kennke@aicas.com>Roman Kennke2006-07-181-20/+56
| | | | | | | | | | | | | | | | * gnu/java/awt/peer/x/XFontPeer.java (encodeFont): Be more flexible with font sizes. (validSize): New helper method. * gnu/java/awt/peer/x/XGraphics.java (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)): Implemented. (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)): Implemented. * gnu/java/awt/peer/x/XImage.java (properties): New field. (getProperty): Implemented. * resource/gnu/java/awt/peer/x/fonts.properties: Added copyright header. Fixed font size field.
* 2006-07-18 Roman Kennke <kennke@aicas.com>Roman Kennke2006-07-181-0/+25
| | | | | | * lib/copy-vmresources.sh.in: Reverted. * gnu/java/awt/peer/x/fonts.properties: Moved to resource/ * resource/gnu/java/awt/peer/x/fonts.properties: New file.
* * all files: Update for new FSF address.Mark Wielaard2005-07-021-2/+2
|
* 2004-12-19 Michael Koch <konqueror@gmx.de>Michael Koch2004-12-193-6/+0
| | | | | | | | | | | | | | | | | * resource/Makfile.am: Don't call make for subdirs. * resource/gnu/.cvsignore, resource/gnu/java/.cvsignore, resource/gnu/java/awt/.cvsignore, resource/gnu/java/awt/peer/.cvsignore, resource/gnu/java/awt/peer/gtk/.cvsignore, resource/gnu/regexp/.cvsignore, resource/java/.cvsignore, resource/java/security/.cvsignore, resource/java/util/.cvsignore, resource/java/util/logging/.cvsignore, resource/org/.cvsignore, resource/org/ietf/.cvsignore, resource/org/ietf/jgss/.cvsignore: Removed.
* 2004-12-19 Michael Koch <konqueror@gmx.de>Michael Koch2004-12-193-20/+0
| | | | | | | | | | | | | | | * gnu/java/locale/iso3166-a3.properties, gnu/java/locale/iso3166_de.properties, gnu/java/locale/iso3166.properties, gnu/java/locale/iso639-a2-old.properties, gnu/java/locale/iso639-a3.properties, gnu/java/locale/iso639_de.properties, gnu/java/locale/iso639_fr.properties, gnu/java/locale/iso639_ga.properties, gnu/java/locale/iso639.properties: Removed. * lib/Makefile.am: Install resource files into dist tarball * resource/java/util/iso4217.properties: New file.
* * INSTALL: updated link to bugs, tool version numbersBrian Jones2002-12-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * TODO: removed easy HTML API generation todo item, it's done now; mention that CNI code won't be included in Classpath CVS for now since only gcj is using it * README: remove special mention of ORP * NEWS: add blurb about infrastructure improvements * HACKING: update automake, autoconf version numbers; remove mention of gcjh for compiling JNI libraries; updated gcj/jikes version numbers * lib/Makefile.am: distribute glibj.zip; uninstall no-zip case; separate resources target; avoid extra gen-classlist.sh calls; support DESTDIR * doc/api/Makefile.am: distribute HTML API documentation; install documentation in pkgdatadir/api; uninstall appropriately; support DESTDIR * resource/gnu/java/awt/peer/gtk/Makefile.am: add uninstall-local target; support DESTDIR * resource/java/security/Makefile.am: add uninstall-local target; support DESTDIR * javax/swing/Makefile.am: BoundedRangeModel missing .java extension * javax/transaction/xa/Makefile.am: Removed xa/ from filenames * java/awt/dnd/Makefile.am: added missing .java files to dist * java/net/Makefile.am: added missing .java files to dist * java/nio/channels/Makefile.am: added missing .java files to dist * javax/naming/Makefile.am: added missing .java files to dist * javax/naming/directory/Makefile.am: added missing .java files to dist * javax/naming/event/Makefile.am: new file * javax/naming/event/.cvsignore: new file * javax/naming/ldap/Makefile.am: new file * javax/naming/ldap/.cvsignore: new file * javax/naming/spi/Makefile.am: added missing .java files to dist * javax/sql/Makefile.am: added missing .java files to dist * javax/sql/.cvsignore: new file * javax/swing/plaf/Makefile.am: added missing .java files to dist * javax/swing/Makefile.am: added missing .java files to dist * Makefile.am: ignore errors during dist-hook * configure.in: add missing directory Makefiles to output; add check for 'date', 'cp', and 'mkdir' * acinclude.m4: remove check for 'find' and 'cp'
* Added missing copyright statement.Etienne M. Gagnon2002-08-111-0/+38
|
* * configure.in: fixed broken make dist by moving some of the checksBrian Jones2002-02-086-0/+22
| | | | | | | | | | | | | | | | | | | | | | | out of an if statement wrapping functionality needed only for compiling JNI libraries, so unfortunately yes you probably must have a C compiler even if just compiling the Java source * Makefile.am: dist-hook to use $(distdir) instead of $(top_distdir) * native/gnu.java.awt.image: removed directory, needed file was already part of native/jni/gtk-peer/ directory and library. * resource/java/util/Makefile.am: updated properties files to include in distribution * resource/Makefile.am: include gnu in SUBDIRS * resource/gnu/Makefile.am: new file * resource/gnu/.cvsignore: ditto * resource/gnu/java/Makefile.am: ditto * resource/gnu/java/.cvsignore: ditto * resource/gnu/java/awt/Makefile.am: ditto * resource/gnu/java/awt/.cvsignore: ditto * resource/gnu/java/awt/peer/Makefile.am: ditto * resource/gnu/java/awt/peer/.cvsignore: ditto * resource/gnu/java/awt/peer/gtk/Makefile.am: ditto * resource/gnu/java/awt/peer/gtk/.cvsignore: ditto * configure.in: added above Makefiles to output
* Change suffixes to integers (style value).Paul Fisher1999-10-121-20/+26
|
* Initial commit for iso8859-1 fonts.Paul Fisher1999-10-071-0/+28