Commit graph

1174 commits

Author SHA1 Message Date
Pavel Shlyak
3b7f8f0e84
Fix memory leaks in convert.c 2018-12-31 23:42:17 +04:00
fredkiefer
d9bc28c4ca * Source/gsc/GSGState.m (-setColor:state:): Don't copy values onto themselves. 2018-12-02 12:36:28 +01:00
fredkiefer
442eb2515e * Source/opal/OpalContext.m (-initWithGraphicsPort:flipped:): Implement.
* Source/opal/OpalContext.m (-GSSetDevice:::): Get height form
surface if no y value is given.
* Source/opal/OpalSurface.m: Rewrite to handle the case where
device is not set.
2018-09-16 17:27:48 +02:00
fredkiefer
7ee9b40793 * Source/x11/XGServerWindow.m (_setupRootWindow): Make sure the
root name variable is null terminated.
2018-07-16 08:39:55 +02:00
fredkiefer
6e797c9e6d * Source/x11/XGServerWindow.m: Check for bytes_after_ret in
PropGetCheckProperty. Attempt to improve the window border detection.
Based on idea by Tom MacSween <Tom.MacSween@crins-sinrc.ca>
2018-06-20 07:49:36 +02:00
fredkiefer
b9e9f461ab Restructure Atom handling to get all atoms at once.
Add new method on XGServer to get the name of the window manager.
2018-05-01 23:08:35 +02:00
Riccardo Mottola
75adf6130a Be consistent in prepending flags to existing LDFLAGS and CPPLFLAGS 2018-03-03 19:58:03 +01:00
fredkiefer
f41d8b26fa Commit patch by Yavor Doganov to not build font_cacher when the xlib backend wont use it.
Deprecate art, xlib and xdps.
2018-02-25 18:53:42 +01:00
fredkiefer
969b77a6c1 * Source/x11/XGServer.m (_initXContext): Call XInitThreads to
enable drawing in secondary threads.
2018-02-09 21:56:01 +01:00
fredkiefer
1a15d0393e Replace xlib specific font enumerator with the shared one for fontconfig.
Add glyph cache for GSXftFontInfo.
2018-02-05 20:50:48 +01:00
fredkiefer
738ed900d5 * configure.ac: Add FREETYPE_LIBS to LIBS when building xlib.
* configure: Regenerate
2018-01-21 16:46:40 +01:00
fredkiefer
18440736e1 * configure.ac: Detect freetype with PKG_CHECK_MODULES.
* configure: Regenerate.
2018-01-21 16:40:41 +01:00
fredkiefer
5293511f03 Patch by Yavor Doganov to improve autoreconf.
Add .gitignore file.
2018-01-07 14:33:33 +01:00
Ivan Vučica
023642db54
release-chore: Releasing 0.26.2 to coincide with the -gui release. 2018-01-01 22:53:48 +00:00
Ivan Vučica
a44610371b release-chore: Creating 0.26.1 release to coincide with -gui release. 2017-12-21 23:22:37 +00:00
Ivan Vučica
039150959a
release-chore: Update release notes and regenerate docs. 2017-12-10 16:32:56 +00:00
Ivan Vučica
e6b794a4e9 release-chore: Preparations for 0.26.0. Backfill of ReleaseNotes.
Bumping version to 0.26.0. Adding stub news entries related to the
release into news.texi.
2017-10-02 15:48:20 +00:00
Riccardo Mottola
44205faf34 harmonize required GUI version with latest 2017-10-02 17:22:00 +02:00
fredkiefer
b068da4bef Merge pull request #1 from theiostream/opal-bridge
[WIP] Implement methods for bridge between GUI and Opal
2017-08-07 14:11:07 +02:00
fredkiefer
97011b4952 Merge branch 'master' into opal-bridge 2017-08-07 14:10:42 +02:00
fredkiefer
c379156931 Get DPSshow: to work on scaled windows. 2017-07-31 23:33:34 +02:00
Daniel Ferreira
16a5b54311 Update ChangeLog 2017-07-25 12:00:18 +10:00
Daniel Ferreira
5f62df88d3 opal/bridge: implement bridge between GUI and Opal types
Implement a bridge between NSColor and CGColorRef and a stub for a
bridge between NSImage and CGImageRef. This improves compatibility with
Quartz.
2017-07-25 11:59:52 +10:00
Daniel Ferreira
720a56dcf3 opal/context: allow the client to supply a graphics port
In Quartz, the "graphics port" bound to an NSGraphicsContext (subclassed
by OpalContext) is a CGContext. We currently initialize one in
OpalSurface if it does not exist, however we do not allow the client to
initialize a graphics context with a custom graphics port, which should
be allowed. This commit enables this feature.
2017-07-25 11:59:52 +10:00
Fred Kiefer
3adb72d6e2 Fix some clang static analyser warnings reported by
Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@40485 72102866-910b-0410-8b05-ffd578937521
2017-04-16 11:57:05 +00:00
Ivan Vučica
678f486940 Update changelog for 0.25.1.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@40443 72102866-910b-0410-8b05-ffd578937521
2017-04-03 23:47:48 +00:00
Ivan Vučica
2efab945ea Regenerate top-level documents from texinfo sources.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@40437 72102866-910b-0410-8b05-ffd578937521
2017-04-03 23:29:02 +00:00
Ivan Vučica
913bc9ca01 Bump version to 0.25.1. Update documentation for 0.25.1 release.
- Add previously used announcement text to announce.texi.
- Add 0.25.1 changes in anticipation of the release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@40434 72102866-910b-0410-8b05-ffd578937521
2017-04-03 23:05:10 +00:00
Fred Kiefer
9f84d3e7fc * Headers/x11/XGGeneric.h: Remove obsolte atom.
* Source/x11/XGServerWindow.m: Clean up code.
	* Source/x11/XGServerWindow.m (-setwindowlevel::): Try to set
	better level for tool tip windows.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@40295 72102866-910b-0410-8b05-ffd578937521
2017-01-17 22:01:52 +00:00
Fred Kiefer
168e6f1347 * Source/x11/XGServerWindow.m (-_checkStyle:): Ignore invalid
border information.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@40286 72102866-910b-0410-8b05-ffd578937521
2017-01-08 21:01:01 +00:00
Riccardo Mottola
84db7e1e78 include -> import
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@40169 72102866-910b-0410-8b05-ffd578937521
2016-10-23 20:51:20 +00:00
Fred Kiefer
7befdbcf6b Small opal changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@40047 72102866-910b-0410-8b05-ffd578937521
2016-08-02 20:48:01 +00:00
Riccardo Mottola
41804841f2 add missing header to fix warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@40032 72102866-910b-0410-8b05-ffd578937521
2016-07-26 07:28:27 +00:00
Fred Kiefer
879abf5d3b Output the Postscript font name.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39999 72102866-910b-0410-8b05-ffd578937521
2016-07-15 17:10:21 +00:00
Ivan Vučica
3518d533a8 Releasing gnustep-back 0.25.0.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39866 72102866-910b-0410-8b05-ffd578937521
2016-06-15 23:12:14 +00:00
Ivan Vučica
a4a2d8dcd3 Partially applying r39615 from testplant branch to fix a build error on MinGW.
Patch by Seong-Gu Lee <sgleehd@gmail.com>.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39707 72102866-910b-0410-8b05-ffd578937521
2016-04-28 22:32:38 +00:00
Ivan Vučica
162534acd1 Add return type 'id' to -[GSGState copyWithZone:] method definition.
Cherrypicking gnustep_testplant_branch r39614.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39636 72102866-910b-0410-8b05-ffd578937521
2016-04-06 20:43:32 +00:00
Ivan Vučica
d1d1db4c39 Implement dealloc/copyWithZone on Win32CairoGState instance.
Patch by mlytwyn (cherrypicked from testplant branch, r39618).

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39635 72102866-910b-0410-8b05-ffd578937521
2016-04-06 20:43:29 +00:00
Ivan Vučica
61d519425f Remove extraneous semicolon.
Patch by mlytwyn (cherrypicked from testplant branch, r39614).

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39634 72102866-910b-0410-8b05-ffd578937521
2016-04-06 20:43:25 +00:00
Richard Frith-MacDonald
f1dac4e9b7 tweak for compilation on 64bit by sgleehd@gmail.com
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39431 72102866-910b-0410-8b05-ffd578937521
2016-03-01 08:27:40 +00:00
Fred Kiefer
24be840e39 My final GNUstep commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39237 72102866-910b-0410-8b05-ffd578937521
2015-12-13 17:55:23 +00:00
Riccardo Mottola
cc7fa76c5e Enable Sync only on explicit presence of sync.h, not just Xext.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39198 72102866-910b-0410-8b05-ffd578937521
2015-11-24 23:47:25 +00:00
Riccardo Mottola
8d7e165b47 Specifically check for X11/extensions/sync.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39197 72102866-910b-0410-8b05-ffd578937521
2015-11-24 23:46:20 +00:00
Wolfgang Lux
1e1185abb3 Create an empty app icon window before eventually checking the window
frame offsets when using WindowMaker. This fixes the issue that the
first GNUstep application started under WindowMaker did not get a
proper application menu.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39171 72102866-910b-0410-8b05-ffd578937521
2015-11-13 15:30:15 +00:00
Fred Kiefer
2478d0b17b Revert part of the repeated key handling as requested by Riccardo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39131 72102866-910b-0410-8b05-ffd578937521
2015-11-03 08:42:47 +00:00
Fred Kiefer
5843ba3d4d * Source/cairo/CairoGState.m (-GSReadRect:, -DPSimage:..:):
Drawing speedup for slow machines.
        Patch by Josh Freeman <gnustep_lists@twilightedge.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39097 72102866-910b-0410-8b05-ffd578937521
2015-10-27 22:12:52 +00:00
Fred Kiefer
3d95b4d8b2 * Source/x11/XGServerEvent.m (-processEvent:): Move repeate key
detection from process_key_event() to here to enable filtering
        out keyUp events as Cocoa does.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39078 72102866-910b-0410-8b05-ffd578937521
2015-10-16 22:07:24 +00:00
Fred Kiefer
18fd2b7555 * Source/gsc/GSContext.m: Set some defaults.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39046 72102866-910b-0410-8b05-ffd578937521
2015-10-09 00:13:42 +00:00
Fred Kiefer
0f3d255824 * Headers/gsc/GSGState.h
* Source/gsc/GSContext.m
        * Source/gsc/GSGState.m
        * Source/cairo/CairoGState.m
        Implement per gstate methods for antialias, patternPhase and
        compositingOperation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39026 72102866-910b-0410-8b05-ffd578937521
2015-10-03 21:49:35 +00:00
Fred Kiefer
4552dff9f1 * Source/cairo/CairoGState.m: Preliminary support for anti alias
setting for path drawing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39005 72102866-910b-0410-8b05-ffd578937521
2015-09-20 20:34:37 +00:00