Commit graph

769 commits

Author SHA1 Message Date
Nicolas Roard
017cb1d365 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
Nicolas Roard
8b3809936e 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
Nicolas Roard
28f92090ff 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
Nicolas Roard
09ce663feb 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
Fred Kiefer
0848c69b72 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
Fred Kiefer
4bd371d64a 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
Fred Kiefer
d164d499c2 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
Fred Kiefer
85576dbae2 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
Fred Kiefer
79b9caf27f 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
Fred Kiefer
b7b431cd43 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
Fred Kiefer
05a23a6aae 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
Fred Kiefer
32d116c7b2 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
Fred Kiefer
0dd2da6751 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
Fred Kiefer
87c48de8b4 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
Fred Kiefer
efb48fbccb 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
Sergii Stoian
07a077f3e7 * 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
Sergii Stoian
d9d8d2b482 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
Sergii Stoian
ed77ebb967 * 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
Sergii Stoian
5cb04d880e * 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
Fred Kiefer
c1d1c74891 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
Fred Kiefer
70c32e5675 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 Pero
a1cea73cd8 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
Fred Kiefer
89c1ce993a 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
Fred Kiefer
8b9b2102f3 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
Adam Fedor
0d3d089718 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
Adam Fedor
b1135b5045 Stable 0_12_0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/stable@25049 72102866-910b-0410-8b05-ffd578937521
2007-04-15 04:30:03 +00:00
Adam Fedor
e5e11bfe3e Version 0.12.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_stable_20070311@25047 72102866-910b-0410-8b05-ffd578937521
2007-04-15 04:28:21 +00:00
Adam Fedor
930b60a0e2 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
Adam Fedor
b443442b32 Update change from 03-30 from trunk
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_stable_20070311@25045 72102866-910b-0410-8b05-ffd578937521
2007-04-15 04:24:27 +00:00
Fred Kiefer
ff21318a0a 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
Fred Kiefer
7f68c2ef43 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
Richard Frith-MacDonald
45406a670c merge in changes from trunk
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_stable_20070311@24944 72102866-910b-0410-8b05-ffd578937521
2007-03-30 03:31:03 +00:00
Fred Kiefer
1c702a4308 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
Fred Kiefer
680ea7befd 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
Fred Kiefer
3ab2c8bd91 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
Fred Kiefer
4fadeaf154 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
Fred Kiefer
ea06dfbf73 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
Fred Kiefer
b2d624ad91 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
Gregory John Casamento
26fcfc53ec Stable branch for back.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_stable_20070311@24851 72102866-910b-0410-8b05-ffd578937521
2007-03-11 21:25:42 +00:00
Fred Kiefer
452d7fb89f 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
Fred Kiefer
47f8123740 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
Xavier Glattard
41208bb38d 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
Xavier Glattard
bbd4ebe7d8 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
Richard Frith-MacDonald
4ab4f101a5 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
Fred Kiefer
ac06785665 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
Fred Kiefer
b534dad58a 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
Fred Kiefer
d9595a9f43 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
Fred Kiefer
6e1af0cfc0 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 Pero
8c5cd78de1 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 Pero
de05f167ad 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