mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
Correct revision number
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/testplant_1@28490 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
commit
aa55f45614
15 changed files with 166 additions and 196 deletions
9
ANNOUNCE
9
ANNOUNCE
|
@ -1,7 +1,7 @@
|
|||
1 ANNOUNCE
|
||||
**********
|
||||
|
||||
This is version 0.17.1 of the GNUstep GUI Backend (`gnustep-back').
|
||||
This is version 0.16.0 of the GNUstep GUI Backend (`gnustep-back').
|
||||
|
||||
1.1 What is the GNUstep GUI Backend?
|
||||
====================================
|
||||
|
@ -20,15 +20,16 @@ easily ported to other display systems.
|
|||
Window's Systems. It works via a DPS emulation engine to emulate the
|
||||
DPS functions required by the front-end system.
|
||||
|
||||
1.2 Noteworthy changes in version `0.17.1'
|
||||
1.2 Noteworthy changes in version `0.16.0'
|
||||
==========================================
|
||||
|
||||
Use DejaVu as another fallback font.
|
||||
Transparent windows implemented in WIN32 backend, better position and
|
||||
scaling of images. General cleanup of code.
|
||||
|
||||
1.3 Where can you get it? How can you compile it?
|
||||
==================================================
|
||||
|
||||
The gstep-back-0.17.1.tar.gz distribution file has been placed at
|
||||
The gstep-back-0.16.0.tar.gz distribution file has been placed at
|
||||
`ftp://ftp.gnustep.org/pub/gnustep/core'.
|
||||
|
||||
1.4 Where do I send bug reports?
|
||||
|
|
47
ChangeLog
47
ChangeLog
|
@ -1,50 +1,3 @@
|
|||
2009-07-31 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Version 0.17.1
|
||||
|
||||
2009-07-27 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/cairo/CairoFontEnumerator.m,
|
||||
* Source/xlib/GSXftFontInfo.m: Use DejaVu as another fallback
|
||||
font, as Bitstream Vera and FreeSans are no longer supplied
|
||||
directly by Debian.
|
||||
|
||||
2009-07-13 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/winlib/WIN32GState.m (-_paintPath:) Only draw when the
|
||||
fill/stroke colour has a non zero alpha.
|
||||
|
||||
2009-07-10 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/cairo/CairoGState.m
|
||||
(-compositeGState:fromRect:toPoint:op:fraction:): Add hack to
|
||||
avoid scrolling problem for cairo > 1.8.
|
||||
|
||||
2009-05-31 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/x11/XWindowBuffer.m: Protect the XSHM code parts with
|
||||
#ifdef statements.
|
||||
|
||||
2009-05-31 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/gsc/GSContext.m (-DPScomposite:...:, -DPSdissolve:...:) Map
|
||||
onto GScomposite:toPoint:fromRect:operation:fraction:.
|
||||
* Source/gsc/GSGState.m (-compositeGState:fromRect:toPoint:op:,
|
||||
-dissolveGState:fromRect:toPoint:delta:) Map onto
|
||||
compositeGState:fromRect:toPoint:op:fraction:.
|
||||
* Source/winlib/WIN32GState.m (-compositeGState:fromRect:toPoint:op:,
|
||||
-dissolveGState:fromRect:toPoint:delta:),
|
||||
* Source/xlib/XGGState.m (-compositeGState:fromRect:toPoint:op:,
|
||||
-dissolveGState:fromRect:toPoint:delta:),
|
||||
* Source/cairo/CairoGState.m (-compositeGState:fromRect:toPoint:op:,
|
||||
-dissolveGState:fromRect:toPoint:delta:): Remove these methods.
|
||||
* Source/art/composite.m
|
||||
(-compositeGState:fromRect:toPoint:op:fraction:): Added.
|
||||
|
||||
2009-05-10 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Version 0.17.0
|
||||
|
||||
2009-04-04 Riccardo Mottola <rmottola@users.sf.net>
|
||||
|
||||
* Source/x11/XGGLFormat.m,
|
||||
|
|
|
@ -7,23 +7,13 @@
|
|||
@include version.texi
|
||||
@end ifset
|
||||
|
||||
@section Noteworthy changes in version @samp{0.17.1}
|
||||
|
||||
Use DejaVu as another fallback font.
|
||||
|
||||
@ifclear ANNOUNCE-ONLY
|
||||
|
||||
@section Noteworthy changes in version @samp{0.17.0}
|
||||
|
||||
Key repeat support implemented in X11.
|
||||
|
||||
OpenGL fixes and improvements.
|
||||
|
||||
@section Noteworthy changes in version @samp{0.16.0}
|
||||
|
||||
Transparent windows implemented in WIN32 backend, better position and
|
||||
scaling of images. General cleanup of code.
|
||||
|
||||
@ifclear ANNOUNCE-ONLY
|
||||
|
||||
@section Noteworthy changes in version @samp{0.14.0}
|
||||
|
||||
Added code to automatically make any window which uses the
|
||||
|
|
74
NEWS
74
NEWS
|
@ -1,25 +1,13 @@
|
|||
1 NEWS
|
||||
******
|
||||
|
||||
1.1 Noteworthy changes in version `0.17.1'
|
||||
==========================================
|
||||
|
||||
Use DejaVu as another fallback font.
|
||||
|
||||
1.2 Noteworthy changes in version `0.17.0'
|
||||
==========================================
|
||||
|
||||
Key repeat support implemented in X11.
|
||||
|
||||
OpenGL fixes and improvements.
|
||||
|
||||
1.3 Noteworthy changes in version `0.16.0'
|
||||
1.1 Noteworthy changes in version `0.16.0'
|
||||
==========================================
|
||||
|
||||
Transparent windows implemented in WIN32 backend, better position and
|
||||
scaling of images. General cleanup of code.
|
||||
|
||||
1.4 Noteworthy changes in version `0.14.0'
|
||||
1.2 Noteworthy changes in version `0.14.0'
|
||||
==========================================
|
||||
|
||||
Added code to automatically make any window which uses the
|
||||
|
@ -27,7 +15,7 @@ NSDesktopWindowLevel also be omnipresent.
|
|||
|
||||
Many glyph drawing improvements.
|
||||
|
||||
1.5 Noteworthy changes in version `0.13.2'
|
||||
1.3 Noteworthy changes in version `0.13.2'
|
||||
==========================================
|
||||
|
||||
Added basic implementation of window levels on Windows. In general a
|
||||
|
@ -41,24 +29,24 @@ bunch of improvements in the Windows backend.
|
|||
frontend. This version or greater of the backend needs to be used with
|
||||
gui 0.13.2
|
||||
|
||||
1.6 Noteworthy changes in version `0.13.1'
|
||||
1.4 Noteworthy changes in version `0.13.1'
|
||||
==========================================
|
||||
|
||||
Minor improvements.
|
||||
|
||||
1.7 Noteworthy changes in version `0.13.0'
|
||||
1.5 Noteworthy changes in version `0.13.0'
|
||||
==========================================
|
||||
|
||||
Many improvements to the cairo backend. Add DPSshfill for all backends.
|
||||
Better handling of X event times.
|
||||
|
||||
1.8 Noteworthy changes in version `0.12.0'
|
||||
1.6 Noteworthy changes in version `0.12.0'
|
||||
==========================================
|
||||
|
||||
Big improvements to the cairo graphics and Window backend. Also better
|
||||
support for OpenGL.
|
||||
|
||||
1.9 Noteworthy changes in version `0.11.0'
|
||||
1.7 Noteworthy changes in version `0.11.0'
|
||||
==========================================
|
||||
|
||||
Bugfixes to art and xlib.
|
||||
|
@ -66,17 +54,17 @@ Bugfixes to art and xlib.
|
|||
There was some work on the Windows backend for the GDI interface by
|
||||
Christopher Armstrong.
|
||||
|
||||
1.10 Noteworthy changes in version `0.10.3'
|
||||
===========================================
|
||||
1.8 Noteworthy changes in version `0.10.3'
|
||||
==========================================
|
||||
|
||||
Fixes. A lot of Cairo backend work.
|
||||
|
||||
1.11 Noteworthy changes in version `0.10.2'
|
||||
===========================================
|
||||
1.9 Noteworthy changes in version `0.10.2'
|
||||
==========================================
|
||||
|
||||
The Backend can set UTF8 window titles where this is allowed.
|
||||
|
||||
1.12 Noteworthy changes in version `0.10.1'
|
||||
1.10 Noteworthy changes in version `0.10.1'
|
||||
===========================================
|
||||
|
||||
The art graphics module is the default now. As was previously the case,
|
||||
|
@ -92,7 +80,7 @@ Cariro version 1.0, although you need to make some minor changes to the
|
|||
Cairo library before it will work with GNUstep. Due to this, this module
|
||||
is still considered beta. Ask on the mailing lists for help with this.
|
||||
|
||||
1.13 Noteworthy changes in version `0.10.0'
|
||||
1.11 Noteworthy changes in version `0.10.0'
|
||||
===========================================
|
||||
|
||||
The installed name of the backend now includes an interface version
|
||||
|
@ -102,7 +90,7 @@ frontend (GUI) library and the backend.
|
|||
* Alpha blending was implemented for Windows, although it does not
|
||||
seem to work on some machines.
|
||||
|
||||
1.14 Noteworthy changes in version `0.9.5'
|
||||
1.12 Noteworthy changes in version `0.9.5'
|
||||
==========================================
|
||||
|
||||
* Added support for window alpha on X servers.
|
||||
|
@ -111,7 +99,7 @@ frontend (GUI) library and the backend.
|
|||
|
||||
* Some improvements to the Windows backend.
|
||||
|
||||
1.15 Noteworthy changes in version `0.9.4'
|
||||
1.13 Noteworthy changes in version `0.9.4'
|
||||
==========================================
|
||||
|
||||
* Fast drawing on 8 bit displays was added (although it might only
|
||||
|
@ -126,7 +114,7 @@ frontend (GUI) library and the backend.
|
|||
|
||||
* Add internal window decoration handling.
|
||||
|
||||
1.16 Noteworthy changes in version `0.9.3'
|
||||
1.14 Noteworthy changes in version `0.9.3'
|
||||
==========================================
|
||||
|
||||
* A number of W32 window event enhancements
|
||||
|
@ -136,7 +124,7 @@ frontend (GUI) library and the backend.
|
|||
* libwraster is no longer checked for - image functions now in
|
||||
frontend
|
||||
|
||||
1.17 Noteworthy changes in version `0.9.2'
|
||||
1.15 Noteworthy changes in version `0.9.2'
|
||||
==========================================
|
||||
|
||||
* Art backend added support for grayscale, one-isblack colorspaces.
|
||||
|
@ -147,26 +135,26 @@ frontend (GUI) library and the backend.
|
|||
|
||||
* Better font and draw handling on Windows.
|
||||
|
||||
1.18 Noteworthy changes in version `0.9.1'
|
||||
1.16 Noteworthy changes in version `0.9.1'
|
||||
==========================================
|
||||
|
||||
Color on 8 bit displays works correctly now. WindowMaker properties are
|
||||
always set now in case another manager is emulating WindowMaker styles.
|
||||
|
||||
1.19 Noteworthy changes in version `0.9.0'
|
||||
1.17 Noteworthy changes in version `0.9.0'
|
||||
==========================================
|
||||
|
||||
Some more improvements to copy/paste support following ICCCM
|
||||
specifications (like COMPOUND_TEXT support).
|
||||
|
||||
1.20 Noteworthy changes in version `0.8.9'
|
||||
1.18 Noteworthy changes in version `0.8.9'
|
||||
==========================================
|
||||
|
||||
* Much improved pasting support between X apps and GNUstep apps.
|
||||
|
||||
* Backend headers are no longer installed (now private).
|
||||
|
||||
1.21 Noteworthy changes in version `0.8.8'
|
||||
1.19 Noteworthy changes in version `0.8.8'
|
||||
==========================================
|
||||
|
||||
Full multi-byte/unicode support for East Asian languages was added to
|
||||
|
@ -178,57 +166,57 @@ to Kazunobu Kuriyama.
|
|||
|
||||
* Art backend works with more versions of freetype.
|
||||
|
||||
1.22 Noteworthy changes in version `0.8.7'
|
||||
1.20 Noteworthy changes in version `0.8.7'
|
||||
==========================================
|
||||
|
||||
Handle NSBezierPath glyph drawing in art backend. art backend compiles
|
||||
with all freetype except 2.1.3 via ifdefs.
|
||||
|
||||
1.23 Noteworthy changes in version `0.8.6'
|
||||
1.21 Noteworthy changes in version `0.8.6'
|
||||
==========================================
|
||||
|
||||
Bug fixes. See the gnustep-gui NEWS for changes.
|
||||
|
||||
1.24 Noteworthy changes in version `0.8.5'
|
||||
1.22 Noteworthy changes in version `0.8.5'
|
||||
==========================================
|
||||
|
||||
Text system improvements. See the gnustep-gui NEWS for changes.
|
||||
|
||||
1.25 Noteworthy changes in version `0.8.3'
|
||||
1.23 Noteworthy changes in version `0.8.3'
|
||||
==========================================
|
||||
|
||||
See the gnustep-gui NEWS for changes.
|
||||
|
||||
1.26 Noteworthy changes in version `0.8.2'
|
||||
1.24 Noteworthy changes in version `0.8.2'
|
||||
==========================================
|
||||
|
||||
Improved font handling in art backend. Improved compositing with
|
||||
transformations and clipping in art backend.
|
||||
|
||||
1.27 Noteworthy changes in version `0.8.1'
|
||||
1.25 Noteworthy changes in version `0.8.1'
|
||||
==========================================
|
||||
|
||||
art (libart-based) backend added. Use ./configure -enable-graphics=art
|
||||
to choose this backend.
|
||||
|
||||
1.28 Noteworthy changes in version `0.8.0'
|
||||
1.26 Noteworthy changes in version `0.8.0'
|
||||
==========================================
|
||||
|
||||
Bug fixes.
|
||||
|
||||
1.29 Noteworthy changes in version `0.7.9'
|
||||
1.27 Noteworthy changes in version `0.7.9'
|
||||
==========================================
|
||||
|
||||
Bug fixes.
|
||||
|
||||
1.30 Noteworthy changes in version `0.7.8'
|
||||
1.28 Noteworthy changes in version `0.7.8'
|
||||
==========================================
|
||||
|
||||
Simplified backend selection using -enable-server and -enable-graphics.
|
||||
Add -with-library-flags and -with-include-flags for adding additonal
|
||||
flags. Set name with -with-name
|
||||
|
||||
1.31 Noteworthy changes in version `0.7.7'
|
||||
1.29 Noteworthy changes in version `0.7.7'
|
||||
==========================================
|
||||
|
||||
First release. Most components extracted from xgps. The old backends,
|
||||
|
|
2
README
2
README
|
@ -1,7 +1,7 @@
|
|||
1 README
|
||||
********
|
||||
|
||||
This is version 0.17.1 of the GNUstep GUI Backend (`gnustep-back').
|
||||
This is version 0.16.0 of the GNUstep GUI Backend (`gnustep-back').
|
||||
|
||||
Here is some introductory info to get you started:
|
||||
|
||||
|
|
|
@ -1200,27 +1200,6 @@ static BOOL _rect_advance(rect_trace_t *t, int *x0, int *x1)
|
|||
UPDATE_UNBUFFERED
|
||||
}
|
||||
|
||||
- (void) compositeGState: (GSGState *)source
|
||||
fromRect: (NSRect)aRect
|
||||
toPoint: (NSPoint)aPoint
|
||||
op: (NSCompositingOperation)op
|
||||
fraction: (float)delta
|
||||
{
|
||||
if (op == NSCompositeSourceOver)
|
||||
{
|
||||
[self dissolveGState: source
|
||||
fromRect: aRect
|
||||
toPoint: aPoint
|
||||
delta: delta];
|
||||
}
|
||||
else
|
||||
{
|
||||
[self compositeGState: source
|
||||
fromRect: aRect
|
||||
toPoint: aPoint
|
||||
op: op];
|
||||
}
|
||||
}
|
||||
|
||||
- (void) compositerect: (NSRect)aRect
|
||||
op: (NSCompositingOperation)op
|
||||
|
|
|
@ -207,8 +207,6 @@ static NSArray *faFromFc(FcPattern *pat)
|
|||
return @"Bitstream Vera Sans";
|
||||
if ([allFontNames containsObject: @"FreeSans"])
|
||||
return @"FreeSans";
|
||||
if ([allFontNames containsObject: @"DejaVu Sans"])
|
||||
return @"DejaVu Sans";
|
||||
return @"Helvetica";
|
||||
}
|
||||
|
||||
|
@ -218,8 +216,6 @@ static NSArray *faFromFc(FcPattern *pat)
|
|||
return @"Bitstream Vera Sans-Bold";
|
||||
if ([allFontNames containsObject: @"FreeSans-Bold"])
|
||||
return @"FreeSans-Bold";
|
||||
if ([allFontNames containsObject: @"DejaVu Sans-Bold"])
|
||||
return @"DejaVu Sans-Bold";
|
||||
return @"Helvetica-Bold";
|
||||
}
|
||||
|
||||
|
@ -229,8 +225,6 @@ static NSArray *faFromFc(FcPattern *pat)
|
|||
return @"Bitstream Vera Sans Mono";
|
||||
if ([allFontNames containsObject: @"FreeMono"])
|
||||
return @"FreeMono";
|
||||
if ([allFontNames containsObject: @"DejaVu Sans Mono"])
|
||||
return @"DejaVu Sans Mono";
|
||||
return @"Courier";
|
||||
}
|
||||
|
||||
|
|
|
@ -1288,14 +1288,6 @@ _set_op(cairo_t *ct, NSCompositingOperation op)
|
|||
|
||||
[source->ctm boundingRectFor: aRect result: &aRect];
|
||||
|
||||
if ((copyOnSelf) && (cairo_version() >= CAIRO_VERSION_ENCODE(1, 8, 0)))
|
||||
{
|
||||
NSSize size = [_surface size];
|
||||
|
||||
// For cairo > 1.8 we seem to need this adjustment
|
||||
aRect.origin.y -= 2*(offset.y - size.height);
|
||||
}
|
||||
|
||||
x = floorf(aPoint.x);
|
||||
y = floorf(aPoint.y + 0.5);
|
||||
minx = NSMinX(aRect);
|
||||
|
@ -1339,4 +1331,28 @@ _set_op(cairo_t *ct, NSCompositingOperation op)
|
|||
cairo_restore(_ct);
|
||||
}
|
||||
|
||||
- (void) compositeGState: (CairoGState *)source
|
||||
fromRect: (NSRect)aRect
|
||||
toPoint: (NSPoint)aPoint
|
||||
op: (NSCompositingOperation)op
|
||||
{
|
||||
[self compositeGState: source
|
||||
fromRect: aRect
|
||||
toPoint: aPoint
|
||||
op: op
|
||||
fraction: 1.0];
|
||||
}
|
||||
|
||||
- (void) dissolveGState: (CairoGState *)source
|
||||
fromRect: (NSRect)aRect
|
||||
toPoint: (NSPoint)aPoint
|
||||
delta: (float)delta
|
||||
{
|
||||
[self compositeGState: source
|
||||
fromRect: aRect
|
||||
toPoint: aPoint
|
||||
op: NSCompositeSourceOver
|
||||
fraction: delta];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -778,11 +778,20 @@ static NSMapTable *gtable;
|
|||
- (void) DPScomposite: (float)x : (float)y : (float)w : (float)h
|
||||
: (int)gstateNum : (float)dx : (float)dy : (int)op
|
||||
{
|
||||
[self GScomposite: gstateNum
|
||||
toPoint: NSMakePoint(dx, dy)
|
||||
fromRect: NSMakeRect(x, y, w, h)
|
||||
operation: op
|
||||
fraction: 1.0];
|
||||
NSRect rect;
|
||||
NSPoint p;
|
||||
GSGState *g = gstate;
|
||||
|
||||
if (gstateNum)
|
||||
{
|
||||
[self DPSexecuserobject: gstateNum];
|
||||
ctxt_pop(g, opstack, GSGState);
|
||||
}
|
||||
|
||||
rect = NSMakeRect(x, y, w, h);
|
||||
p = NSMakePoint(dx, dy);
|
||||
|
||||
[gstate compositeGState: g fromRect: rect toPoint: p op: op];
|
||||
}
|
||||
|
||||
- (void) DPScompositerect: (float)x : (float)y : (float)w : (float)h : (int)op
|
||||
|
@ -793,11 +802,20 @@ static NSMapTable *gtable;
|
|||
- (void) DPSdissolve: (float)x : (float)y : (float)w : (float)h
|
||||
: (int)gstateNum : (float)dx : (float)dy : (float)delta
|
||||
{
|
||||
[self GScomposite: gstateNum
|
||||
toPoint: NSMakePoint(dx, dy)
|
||||
fromRect: NSMakeRect(x, y, w, h)
|
||||
operation: NSCompositeSourceOver
|
||||
fraction: delta];
|
||||
NSRect rect;
|
||||
NSPoint p;
|
||||
GSGState *g = gstate;
|
||||
|
||||
if (gstateNum)
|
||||
{
|
||||
[self DPSexecuserobject: gstateNum];
|
||||
ctxt_pop(g, opstack, GSGState);
|
||||
}
|
||||
|
||||
rect = NSMakeRect(x, y, w, h);
|
||||
p = NSMakePoint(dx, dy);
|
||||
|
||||
[gstate dissolveGState: g fromRect: rect toPoint: p delta: delta];
|
||||
}
|
||||
|
||||
- (void) GScomposite: (int)gstateNum
|
||||
|
|
|
@ -138,31 +138,20 @@
|
|||
ASSIGN(pattern, image);
|
||||
}
|
||||
|
||||
// This is only a fall back, the method should not be called any more.
|
||||
- (void) compositeGState: (GSGState *)source
|
||||
fromRect: (NSRect)aRect
|
||||
toPoint: (NSPoint)aPoint
|
||||
op: (NSCompositingOperation)op
|
||||
{
|
||||
[self compositeGState: source
|
||||
fromRect: aRect
|
||||
toPoint: aPoint
|
||||
op: op
|
||||
fraction: 1.0];
|
||||
|
||||
[self subclassResponsibility: _cmd];
|
||||
}
|
||||
|
||||
// This is only a fall back, the method should not be called any more.
|
||||
- (void) dissolveGState: (GSGState *)source
|
||||
fromRect: (NSRect)aRect
|
||||
toPoint: (NSPoint)aPoint
|
||||
delta: (float)delta
|
||||
{
|
||||
[self compositeGState: source
|
||||
fromRect: aRect
|
||||
toPoint: aPoint
|
||||
op: NSCompositeSourceOver
|
||||
fraction: delta];
|
||||
[self subclassResponsibility: _cmd];
|
||||
}
|
||||
|
||||
- (void) compositeGState: (GSGState *)source
|
||||
|
@ -171,7 +160,21 @@
|
|||
op: (NSCompositingOperation)op
|
||||
fraction: (float)delta
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
if (op == NSCompositeSourceOver)
|
||||
{
|
||||
[self dissolveGState: source
|
||||
fromRect: aRect
|
||||
toPoint: aPoint
|
||||
delta: delta];
|
||||
}
|
||||
else
|
||||
{
|
||||
[self compositeGState: source
|
||||
fromRect: aRect
|
||||
toPoint: aPoint
|
||||
op: op];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
- (void) compositerect: (NSRect)aRect
|
||||
|
|
|
@ -282,6 +282,30 @@ RECT GSViewRectToWin(WIN32GState *s, NSRect r)
|
|||
[source releaseHDC: sourceDC];
|
||||
}
|
||||
|
||||
- (void) compositeGState: (GSGState *)source
|
||||
fromRect: (NSRect)aRect
|
||||
toPoint: (NSPoint)aPoint
|
||||
op: (NSCompositingOperation)op
|
||||
{
|
||||
[self compositeGState: (WIN32GState *) source
|
||||
fromRect: aRect
|
||||
toPoint: aPoint
|
||||
op: op
|
||||
fraction: 1.0];
|
||||
}
|
||||
|
||||
- (void) dissolveGState: (GSGState *)source
|
||||
fromRect: (NSRect)aRect
|
||||
toPoint: (NSPoint)aPoint
|
||||
delta: (float)delta
|
||||
{
|
||||
[self compositeGState: (WIN32GState *) source
|
||||
fromRect: aRect
|
||||
toPoint: aPoint
|
||||
op: NSCompositeSourceOver
|
||||
fraction: delta];
|
||||
}
|
||||
|
||||
- (void) compositerect: (NSRect)aRect
|
||||
op: (NSCompositingOperation)op
|
||||
{
|
||||
|
@ -723,24 +747,15 @@ HBITMAP GSCreateBitmap(HDC hDC, int pixelsWide, int pixelsHigh,
|
|||
switch (drawType)
|
||||
{
|
||||
case path_stroke:
|
||||
if (strokeColor.field[AINDEX] != 0.0)
|
||||
{
|
||||
StrokePath(hDC);
|
||||
}
|
||||
StrokePath(hDC);
|
||||
break;
|
||||
case path_eofill:
|
||||
if (fillColor.field[AINDEX] != 0.0)
|
||||
{
|
||||
SetPolyFillMode(hDC, ALTERNATE);
|
||||
FillPath(hDC);
|
||||
}
|
||||
SetPolyFillMode(hDC, ALTERNATE);
|
||||
FillPath(hDC);
|
||||
break;
|
||||
case path_fill:
|
||||
if (fillColor.field[AINDEX] != 0.0)
|
||||
{
|
||||
SetPolyFillMode(hDC, WINDING);
|
||||
FillPath(hDC);
|
||||
}
|
||||
SetPolyFillMode(hDC, WINDING);
|
||||
FillPath(hDC);
|
||||
break;
|
||||
case path_eoclip:
|
||||
{
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include <Foundation/NSUserDefaults.h>
|
||||
|
||||
#include "x11/XGServer.h"
|
||||
|
@ -45,7 +43,6 @@ static int num_window_buffers;
|
|||
|
||||
static int use_shape_hack = 0; /* this is an ugly hack : ) */
|
||||
|
||||
#ifdef XSHM
|
||||
|
||||
static int did_test_xshm = 0;
|
||||
static int use_xshm = 1;
|
||||
|
@ -177,7 +174,7 @@ no_xshm:
|
|||
XSetErrorHandler(old_error_handler);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@implementation XWindowBuffer
|
||||
|
||||
|
@ -299,7 +296,6 @@ no_xshm:
|
|||
if (wi->window->xframe.size.width * wi->window->xframe.size.height < 4096)
|
||||
goto no_xshm;
|
||||
|
||||
#ifdef XSHM
|
||||
if (!did_test_xshm)
|
||||
test_xshm(wi->display, visual, drawing_depth);
|
||||
|
||||
|
@ -377,7 +373,6 @@ no_xshm:
|
|||
actually be destroyed, but if we crashed before doing this, it wouldn't
|
||||
be destroyed despite nobody being attached anymore. */
|
||||
shmctl(wi->shminfo.shmid, IPC_RMID, 0);
|
||||
#endif
|
||||
|
||||
if (!wi->ximage)
|
||||
{
|
||||
|
|
|
@ -229,8 +229,6 @@ static NSArray *faFromFc(FcPattern *pat)
|
|||
return @"Bitstream Vera Sans";
|
||||
if ([allFontNames containsObject: @"FreeSans"])
|
||||
return @"FreeSans";
|
||||
if ([allFontNames containsObject: @"DejaVu Sans"])
|
||||
return @"DejaVu Sans";
|
||||
return @"Helvetica";
|
||||
}
|
||||
|
||||
|
@ -240,8 +238,6 @@ static NSArray *faFromFc(FcPattern *pat)
|
|||
return @"Bitstream Vera Sans-Bold";
|
||||
if ([allFontNames containsObject: @"FreeSans-Bold"])
|
||||
return @"FreeSans-Bold";
|
||||
if ([allFontNames containsObject: @"DejaVu Sans-Bold"])
|
||||
return @"DejaVu Sans-Bold";
|
||||
return @"Helvetica-Bold";
|
||||
}
|
||||
|
||||
|
@ -251,8 +247,6 @@ static NSArray *faFromFc(FcPattern *pat)
|
|||
return @"Bitstream Vera Sans Mono";
|
||||
if ([allFontNames containsObject: @"FreeMono"])
|
||||
return @"FreeMono";
|
||||
if ([allFontNames containsObject: @"DejaVu Sans Mono"])
|
||||
return @"DejaVu Sans Mono";
|
||||
return @"Courier";
|
||||
}
|
||||
|
||||
|
|
|
@ -771,6 +771,30 @@ static Region emptyRegion;
|
|||
}
|
||||
}
|
||||
|
||||
- (void) compositeGState: (GSGState *)source
|
||||
fromRect: (NSRect)aRect
|
||||
toPoint: (NSPoint)aPoint
|
||||
op: (NSCompositingOperation)op
|
||||
{
|
||||
[self compositeGState: source
|
||||
fromRect: aRect
|
||||
toPoint: aPoint
|
||||
op: op
|
||||
fraction: 1.0];
|
||||
}
|
||||
|
||||
- (void) dissolveGState: (GSGState *)source
|
||||
fromRect: (NSRect)aRect
|
||||
toPoint: (NSPoint)aPoint
|
||||
delta: (float)delta
|
||||
{
|
||||
[self compositeGState: source
|
||||
fromRect: aRect
|
||||
toPoint: aPoint
|
||||
op: NSCompositeSourceOver
|
||||
fraction: delta];
|
||||
}
|
||||
|
||||
- (void) compositerect: (NSRect)aRect
|
||||
op: (NSCompositingOperation)op
|
||||
{
|
||||
|
|
8
Version
8
Version
|
@ -3,12 +3,12 @@
|
|||
|
||||
# The version number of this release.
|
||||
GNUSTEP_BACK_MAJOR_VERSION=0
|
||||
GNUSTEP_BACK_MINOR_VERSION=17
|
||||
GNUSTEP_BACK_SUBMINOR_VERSION=1
|
||||
GNUSTEP_BACK_MINOR_VERSION=16
|
||||
GNUSTEP_BACK_SUBMINOR_VERSION=0
|
||||
# This numeric value should match above
|
||||
VERSION_NUMBER=017.0
|
||||
VERSION_NUMBER=016.0
|
||||
# This numeric value should match the compatible gui interface version
|
||||
INTERFACE_VERSION_NUMBER=017
|
||||
INTERFACE_VERSION_NUMBER=016
|
||||
|
||||
GNUSTEP_BACK_VERSION=${GNUSTEP_BACK_MAJOR_VERSION}.${GNUSTEP_BACK_MINOR_VERSION}.${GNUSTEP_BACK_SUBMINOR_VERSION}
|
||||
VERSION=${GNUSTEP_BACK_VERSION}
|
||||
|
|
Loading…
Reference in a new issue