Commit graph

667 commits

Author SHA1 Message Date
fredkiefer
c184564aa0 Create the NSMutableCharacterSet to store the character ranges in.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25448 72102866-910b-0410-8b05-ffd578937521
2007-09-04 08:17:54 +00:00
rio
1b84559518 Fixed the scrolling bug.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25446 72102866-910b-0410-8b05-ffd578937521
2007-09-04 02:12:30 +00:00
rio
8553841490 fix to deal with the presence/absence of Xrender
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25445 72102866-910b-0410-8b05-ffd578937521
2007-09-04 00:37:00 +00:00
rio
178c4deec8 Modified configure.ac to only define XRENDER (and thus check for 32 bit surfaces) if we use it with Cairo, as backart has trouble with it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25444 72102866-910b-0410-8b05-ffd578937521
2007-09-04 00:19:12 +00:00
rio
24abb67668 Changed the configure to check for libXrender directly rather than trusting the headers, and added libXrender to the libs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25443 72102866-910b-0410-8b05-ffd578937521
2007-09-03 23:56:50 +00:00
rio
b7434814bd cleaned the compositeGState:fromRect:toPoint:op:fraction: method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25442 72102866-910b-0410-8b05-ffd578937521
2007-09-03 22:26:29 +00:00
rio
0035ccf210 AlpenStep stuff with Fred Kiefer's help:
- Added support for 32 bit surfaces when it's possible (use of Xrender extension..).
- Modified the Cairo backend to take advantage of that: we can now draw windows with partial transparency.
- Fixed a bug in the Cairo backend (copy of a surface to itself) using the cairo "groups". Scrolling is still wrong, but we're closer to something good ;-)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25441 72102866-910b-0410-8b05-ffd578937521
2007-09-02 14:23:03 +00:00
fredkiefer
278a67d682 Extracted code shared between the two ftfont files into new files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25409 72102866-910b-0410-8b05-ffd578937521
2007-08-22 11:54:13 +00:00
fredkiefer
045104c0c1 Use CurrentTime instead of generic.lastTime.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25405 72102866-910b-0410-8b05-ffd578937521
2007-08-21 13:37:20 +00:00
fredkiefer
5e75161bf3 Made handling of focus in and out more explicit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25403 72102866-910b-0410-8b05-ffd578937521
2007-08-20 22:31:09 +00:00
fredkiefer
86a9213e9f Increase version number of font format, as font mask values have
changed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25397 72102866-910b-0410-8b05-ffd578937521
2007-08-16 14:47:45 +00:00
fredkiefer
d98bd807cf Set lastTime to CurrentTime not 1 to get setinputfocus working for the
first activation of the application.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25395 72102866-910b-0410-8b05-ffd578937521
2007-08-16 14:14:33 +00:00
fredkiefer
399b5e0d47 Removed left over NSLog statements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25394 72102866-910b-0410-8b05-ffd578937521
2007-08-15 14:26:55 +00:00
fredkiefer
4b512fea97 Correct minor bugs in last changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25393 72102866-910b-0410-8b05-ffd578937521
2007-08-15 13:42:36 +00:00
fredkiefer
cda1672a5c Add more EWMH methods and helper methods.
Simplify dragging support code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25389 72102866-910b-0410-8b05-ffd578937521
2007-08-14 22:44:40 +00:00
fredkiefer
57a2036e59 Correct coveredCharacterSet. Patch by Yen-Ju Chen <yjchenx@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25387 72102866-910b-0410-8b05-ffd578937521
2007-08-13 16:08:22 +00:00
fredkiefer
3e2f09cdab Use local FT_Size variable instead of ivar. The ivar is sometimes
invalid.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25381 72102866-910b-0410-8b05-ffd578937521
2007-08-07 16:04:47 +00:00
fredkiefer
1e9445e2fe Handle SIGINT by calling ([NSApp terminate: NSApp]) to shut down
cleanly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25368 72102866-910b-0410-8b05-ffd578937521
2007-08-02 07:31:37 +00:00
stoyan
e0c7875362 * Source/cairo/CairoGState.m
(-_setPoint): Adjust point.
    (-_adjustPath:): Optimize and cleanup.
    (-compositeGState:fromRect:toPoint:op:fraction:): Adjust toPoint.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25301 72102866-910b-0410-8b05-ffd578937521
2007-07-02 23:30:11 +00:00
stoyan
0e0ce9edb1 Log my latest changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25300 72102866-910b-0410-8b05-ffd578937521
2007-07-01 23:03:41 +00:00
stoyan
de22ab0657 * Source/cairo/CairoGState.m
(-DPSsetstrokeadjust:): Implement.
  (-DPSinitgraphics): Set _strokeadjust to 1 by default.
  (-_adjustPath:): Implement new method that place the path to pixel
  boundaries.
  (-_setPath:): Change method definition adding fillOrClip argument.
  Use _adjustPath: method.
  (-DPSclip): Change call of _setPath: to new format.
  (-DPSeoclip): Ditto.
  (-DPSeofill): Ditto.
  (-DPSfill): Ditto.
  (-DPSstroke): Ditto.
  (-compositerect:op:): Ditto.
* Headers/cairo/CairoGState.h: Define _strokeadjust variable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25299 72102866-910b-0410-8b05-ffd578937521
2007-07-01 23:02:29 +00:00
stoyan
ace7413c28 * Source/cairo/CairoGState.m: (-DPSshow:): Apply correct scale
and translate transformation matrix.
* Source/cairo/CairoFontInfo.m: (-widthOfString:): Add sanity check.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25298 72102866-910b-0410-8b05-ffd578937521
2007-07-01 22:17:14 +00:00
fredkiefer
508f9e54ec Printing improvements and handle rotated text.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25296 72102866-910b-0410-8b05-ffd578937521
2007-06-29 11:31:53 +00:00
fredkiefer
98b5c95dcd Replaced appendTransform: with prependTransform:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25223 72102866-910b-0410-8b05-ffd578937521
2007-06-06 12:59:33 +00:00
nicola
91572eea89 Remove generated file on clean
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25114 72102866-910b-0410-8b05-ffd578937521
2007-05-02 01:25:33 +00:00
fredkiefer
4e21dfccfd Use cairo specific code for PS file creation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25088 72102866-910b-0410-8b05-ffd578937521
2007-04-27 12:23:28 +00:00
fredkiefer
66caf72438 XDnD improvements by Matt Rice.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25071 72102866-910b-0410-8b05-ffd578937521
2007-04-25 00:12:46 +00:00
fedor
110c5d2c78 Bump version
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25051 72102866-910b-0410-8b05-ffd578937521
2007-04-15 04:37:34 +00:00
fedor
56531d5d69 Mark location of version 0.12.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25046 72102866-910b-0410-8b05-ffd578937521
2007-04-15 04:26:50 +00:00
fredkiefer
d525cf7b50 Backend part of graphic context rewrite.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24965 72102866-910b-0410-8b05-ffd578937521
2007-04-04 14:33:10 +00:00
fredkiefer
457404eeb2 Add missing transformation change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24952 72102866-910b-0410-8b05-ffd578937521
2007-03-30 20:52:28 +00:00
fredkiefer
ecad307fd7 Replace obsolte NSAffinetransform methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24926 72102866-910b-0410-8b05-ffd578937521
2007-03-23 11:27:28 +00:00
fredkiefer
4c5a41e3a6 Brought art backend closer to the GNUstep coding style.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24923 72102866-910b-0410-8b05-ffd578937521
2007-03-22 16:54:47 +00:00
fredkiefer
12544cb79d Small improvement of cairo composite for rotated case.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24918 72102866-910b-0410-8b05-ffd578937521
2007-03-22 13:39:26 +00:00
fredkiefer
23c7818076 Clean up of CairoGState.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24912 72102866-910b-0410-8b05-ffd578937521
2007-03-21 13:09:19 +00:00
fredkiefer
493b712117 Corrected colour settign for alpha = 0, GSReadRect and compositerect.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24906 72102866-910b-0410-8b05-ffd578937521
2007-03-20 23:24:04 +00:00
fredkiefer
f96b595d5d Don't use cairo transformations, use the super class implementation
instead. 


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24896 72102866-910b-0410-8b05-ffd578937521
2007-03-18 17:50:58 +00:00
fredkiefer
78cecaaf50 Completed and corrected drag type mapping.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24847 72102866-910b-0410-8b05-ffd578937521
2007-03-11 17:42:46 +00:00
fredkiefer
a56f711e36 Added missing ChangeLog by Xavier Glattard <xavier.glattard@online.fr>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24840 72102866-910b-0410-8b05-ffd578937521
2007-03-09 18:52:14 +00:00
xgl
4d72ce207c Many changes :
- Deletion of all non-GNUstep debug stuff (printf...)
- Deletion of all Notification hooks (used for a debugging purpose)
- Deletion of the Application preference Panel that popups (pops up?)
  the 1st time you run _any_ application
- Deletion of the check of GSWINHandlesWindowDecorations and 
  GSWIN32HandlesWindowDecorations options (none worked because of 
  a typo and are now deprecated).
- use of GSBackHandlesWindowDecorations option like X11 backend
  instead of GSUseWMStyles (marked as deprecated)
- use of GSBackUsesNativeTaskbar option instead of GSUseWMTaskbar
  (marked as deprecated)
- all these options are read in -initWithAttribute: (no more in
  +inializeBackend) and set an instance (not class) variable.
- add methods -handlesWindowDecorations/-setHandlesWindowDecorations
- add methods -usesNativeTaskbar/-setUsesNativeTaskbar



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24804 72102866-910b-0410-8b05-ffd578937521
2007-03-07 18:11:17 +00:00
xgl
d90df60282 Fix a bug in OpenGL sub-window placement when handlesWindowDecorations == YES
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24803 72102866-910b-0410-8b05-ffd578937521
2007-03-07 17:40:50 +00:00
rfm
a069984c71 Add auto-stop option
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24789 72102866-910b-0410-8b05-ffd578937521
2007-03-06 21:44:40 +00:00
fredkiefer
f11c2117f3 Corrected handling of flipped state in matrix operations and image
drawing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24754 72102866-910b-0410-8b05-ffd578937521
2007-03-02 12:24:46 +00:00
fredkiefer
60815aa29b Use either mask or fill, but not both.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24734 72102866-910b-0410-8b05-ffd578937521
2007-03-01 12:03:06 +00:00
fredkiefer
84155c3cd1 Get colour from fillColor as only there the alpha value is set.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24733 72102866-910b-0410-8b05-ffd578937521
2007-02-28 23:22:34 +00:00
fredkiefer
a9e7da9d4a Aloow simple PS context to work.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24728 72102866-910b-0410-8b05-ffd578937521
2007-02-28 12:27:10 +00:00
nicola
55a530dfc0 Guess GNUSTEP_MAKEFILES if not set
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24723 72102866-910b-0410-8b05-ffd578937521
2007-02-28 07:18:52 +00:00
nicola
907f34a2f1 Fixed compilation with new mingw/msys packages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24716 72102866-910b-0410-8b05-ffd578937521
2007-02-28 06:48:08 +00:00
fredkiefer
36b3df6d4a Clean up of font attributes and better protection against _ct being null
in cairo backend.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24710 72102866-910b-0410-8b05-ffd578937521
2007-02-27 16:35:31 +00:00
nicola
5548eaf270 Standardized command used to create a local directory
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24703 72102866-910b-0410-8b05-ffd578937521
2007-02-27 12:19:08 +00:00