Sergii Stoian
b492ac87cd
Added support for WindowMaker's WMFHideApplication action.
2019-04-05 14:46:05 +03:00
Sergii Stoian
21f38f8060
Send double-click on appicon to the WindowMaker. Old code sent to WM only single-click.
2019-04-04 01:22:25 +03:00
Sergii Stoian
a6595e320d
Map application icon window without focus switch for applications executed with argument -autolaunch YES
in WindowMaker environment.
2019-04-02 19:38:44 +03:00
Sergii Stoian
f4d01bab0c
Added ChangeLog entry to Source/x11/XGServerWindow.m change.
2019-03-26 23:23:25 +02:00
fredkiefer
9b43c1d568
* Documentation/news.texi: Fill in some details for pending release.
2019-01-03 23:26:21 +01:00
fredkiefer
fd84d377f2
* Source/opal/OpalGState.m: Add colour handling for all the different
...
colour spaces.
2019-01-03 23:06:51 +01:00
Pavel Shlyak
8b41047eae
Update ChangeLog
2019-01-01 17:30:53 +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
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
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
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
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
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
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
Fred Kiefer
75c254d681
* Source/win32/WIN32Server.m (process_char):
...
Fix bug that caused F11 keypresses to become F12.
Patch by Adam Fox <adam.fox@testplant.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@38881 72102866-910b-0410-8b05-ffd578937521
2015-08-13 21:23:35 +00:00
Fred Kiefer
e02d5747cf
* configure.ac: Fix configure for mingw
...
* configure: Regenerated
Patch by Marcian Lytwyn <marcian.lytwyn@advcsi.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@38600 72102866-910b-0410-8b05-ffd578937521
2015-06-04 22:26:55 +00:00
Sebastian Reitenbach
23b53d84c0
* Source/cairo/CairoGState.m
...
abs -> fabs
* Source/x11/XGGLContext.m
format string fix
* Headers/x11/XGOpenGL.h
glxminorversion is int, not long int
Looks good, Ivan Vucica
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@38554 72102866-910b-0410-8b05-ffd578937521
2015-05-26 12:00:49 +00:00
Fred Kiefer
239a4b3286
* Source/cairo/CairoGState.m: Add support for image
...
interpolation setting in context.
Patch by Josh Freeman <gnustep_lists@twilightedge.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@38528 72102866-910b-0410-8b05-ffd578937521
2015-05-22 21:28:20 +00:00
Fred Kiefer
2a3f24197c
* Source/gsc/GSGState.m (_fillRect:withPattern:): Add support
...
for patternPhase.
Patch by Josh Freeman <gnustep_lists@twilightedge.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@38527 72102866-910b-0410-8b05-ffd578937521
2015-05-22 21:14:02 +00:00
Riccardo Mottola
cb6337d721
Correctly run config.status again
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@38508 72102866-910b-0410-8b05-ffd578937521
2015-05-18 15:50:57 +00:00
Richard Frith-MacDonald
68892621e2
bugfix release
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@38504 72102866-910b-0410-8b05-ffd578937521
2015-05-16 08:16:44 +00:00
Riccardo Mottola
533ee951da
Copied from base: only warn if compiler is different from the one configured in make
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@38494 72102866-910b-0410-8b05-ffd578937521
2015-05-13 21:04:52 +00:00
Riccardo Mottola
ff79cb92cf
pick up gnustep make configured CC, CPP, CXX and check they are consistent with how make was configured
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@38489 72102866-910b-0410-8b05-ffd578937521
2015-05-12 20:45:42 +00:00
Germán Arias
0bb695efa7
Improvements for last changes related with cursors on MS Windows.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@38444 72102866-910b-0410-8b05-ffd578937521
2015-04-01 05:52:29 +00:00
Germán Arias
925b52e02e
Improvements to handle the cursor on MS Windows.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@38429 72102866-910b-0410-8b05-ffd578937521
2015-03-23 19:32:36 +00:00
Fred Kiefer
042f6f3761
* Source/x11/XGServerEvent.m (-processEvent:): Reenable
...
Richard's frontend based expose code.
* Source/x11/XGServerWindow.m (-window::::, -_checkStyle:):
Don't use CWBackPixel, as the window background may be different.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@38419 72102866-910b-0410-8b05-ffd578937521
2015-03-22 15:15:20 +00:00
Fred Kiefer
59723d8e42
* Headers/x11/XGGeneric.h
...
* Source/x11/XGServerWindow.m: Correct name for atom
net_wm_state_modal_atom. Use this atom to try to set the sate
for dialog windows to modal.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@38417 72102866-910b-0410-8b05-ffd578937521
2015-03-21 18:53:46 +00:00
Germán Arias
7b89c2c3ba
Workarounds to re-display windows on MS Windows.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@38367 72102866-910b-0410-8b05-ffd578937521
2015-02-28 02:01:28 +00:00
Fred Kiefer
2f804fe716
* Source/cairo/CairoGState.m (-compositeGState:...fraction:):
...
Disable workaround for cairo > 1.8 for cairo > 1.13.
Patch by Edwin Ancaer <eancaer@gmail.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@38135 72102866-910b-0410-8b05-ffd578937521
2014-10-25 18:14:50 +00:00
Fred Kiefer
0267440258
* configure.ac: Fix wrong assumption about Xft's .pc file that
...
leads to build failure with -Wl,--no-undefined.
Patch by Yavor Doganov <yavor@gnu.org>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@38007 72102866-910b-0410-8b05-ffd578937521
2014-07-24 21:36:17 +00:00
Fred Kiefer
8feb7e4701
* Tools/gpbs.m: Revert last change and correct the implementation
...
and usage of gpbs_log.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37852 72102866-910b-0410-8b05-ffd578937521
2014-05-06 22:22:34 +00:00
Ivan Vučica
e4dd0c00e2
In gpbs, removed barely used, overly complex and almost certainly buggy logging code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37842 72102866-910b-0410-8b05-ffd578937521
2014-05-06 02:04:54 +00:00
Ivan Vučica
646d87169a
Fixed changelog. Enabled Debian packaging.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37838 72102866-910b-0410-8b05-ffd578937521
2014-05-05 01:37:45 +00:00
Fred Kiefer
2d247b74fb
* Source/win32/WIN32Server.m (LoadDisplayMonitorInfo):
...
Switch monitor logging to Debug level.
Patch by Jonathan Gillaspie <jonathan.gillaspie@testplant.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37640 72102866-910b-0410-8b05-ffd578937521
2014-01-27 21:59:33 +00:00
Fred Kiefer
03babeb064
* Source/art/blit.m(MPRE): Remove compiler warning.
...
* Source/art/image.m(-DPSimage:::::::::::): Correct parameter
types. Fixes bug #41274 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37615 72102866-910b-0410-8b05-ffd578937521
2014-01-19 10:39:21 +00:00
Fred Kiefer
e3616445b7
* configure: Remove duplicate addition of Xext.
...
* configure.ac: Regenerate.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37560 72102866-910b-0410-8b05-ffd578937521
2014-01-08 22:01:29 +00:00
Niels Grewe
51973502b0
Roll back addition of redundant method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37539 72102866-910b-0410-8b05-ffd578937521
2014-01-05 23:03:35 +00:00
Fred Kiefer
6cf28f1c50
* Source/x11/XGServerWindow.m(-_checkStyle:): Change NSLog into
...
NSDebugLLog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37535 72102866-910b-0410-8b05-ffd578937521
2014-01-05 16:40:32 +00:00
Niels Grewe
d499d53e75
Add a method to GSDisplayServer that allows you to obtain the
...
identifier used by the backend's windowing system instead of
just the GNUstep-internal window number. On X11, the identifier
is useful, among other things, to implement the D-Bus menu
protocol.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37533 72102866-910b-0410-8b05-ffd578937521
2014-01-01 19:45:26 +00:00
Fred Kiefer
4c06213c78
* Source/cairo/CairoGState.m (-GSSetFont:),
...
* Source/cairo/CairoFaceInfo.m (-drawGlyphs:...): Use scaled
font directly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37523 72102866-910b-0410-8b05-ffd578937521
2013-12-29 22:43:15 +00:00
Fred Kiefer
fdb3429ef0
* Source/xlib/GSXftFontInfo.m
...
* Source/xlib/XGFontManager.m
* Source/xlib/XGBitmap.m: Remove some compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37519 72102866-910b-0410-8b05-ffd578937521
2013-12-26 13:02:56 +00:00
Richard Frith-MacDonald
934a70ee80
update version for new release.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37507 72102866-910b-0410-8b05-ffd578937521
2013-12-24 06:53:30 +00:00
Fred Kiefer
430bdbf40a
* Update release notes to prepare for upcoming release.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37493 72102866-910b-0410-8b05-ffd578937521
2013-12-23 16:58:24 +00:00
Fred Kiefer
5932681446
* Source/cairo/CairoFaceInfo.m (-fontFace): Warn about the usage
...
of non-scalable fonts.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37490 72102866-910b-0410-8b05-ffd578937521
2013-12-23 12:36:09 +00:00
Fred Kiefer
91e1e5c8d4
* Source/x11/XGServerWindow.m (-_createBuffer, -windowbacking::,
...
-setWindowdevice:forContext:): Move code from last patch around a bit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37475 72102866-910b-0410-8b05-ffd578937521
2013-12-18 22:34:20 +00:00
Eric Wasylishen
14d77dbfee
* Source/x11/XGServerWindow.m (-_createBuffer): Fix a big
...
memory leak noticed by Riccardo with the cairo backend,
by #ifdef-ing out this method when using cairo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37471 72102866-910b-0410-8b05-ffd578937521
2013-12-18 17:40:21 +00:00
Fred Kiefer
664096b79b
* Source/x11/XGDragView.m (-_xWindowAcceptingDnDDescendentOf:...):
...
Correct to work with kwin window decoration.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37460 72102866-910b-0410-8b05-ffd578937521
2013-12-13 15:03:09 +00:00
Fred Kiefer
b624d4a9a9
* Tools/xpbs.m (-xProvideSelection:): Leave enough space for all
...
possible types.
* Source/x11/XGDragView.m: Simplify D&D window detection code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37457 72102866-910b-0410-8b05-ffd578937521
2013-12-13 12:58:09 +00:00
Fred Kiefer
c5ef196157
* Headers/opal/OpalSurface.h
...
* Source/opal/OpalSurface.m: Make the -device method public.
* Headers/opal/OpalContext.h: Remove method definitions.
* Source/opal/OpalContext.m: Limit the accepted image types.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37172 72102866-910b-0410-8b05-ffd578937521
2013-09-29 20:11:38 +00:00
Fred Kiefer
1c35214821
* Headers/opal/OpalSurface.h
...
* Source/opal/OpalSurface.m: Remove compiler warnings.
* Source/opal/OpalContext.m: Move -flushGraphics method to here.
* Source/opal/OpalGState.m: Simplify -DPSimage. Evaluate CGCTX
only once per method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37170 72102866-910b-0410-8b05-ffd578937521
2013-09-29 17:10:26 +00:00
Fred Kiefer
78b3ef9b31
Started cleanup of opal backend.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37167 72102866-910b-0410-8b05-ffd578937521
2013-09-29 07:30:20 +00:00
Eric Wasylishen
84ad6eabc5
* Source/opal/OpalGState.m: move variable declaration outside of for loop
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37149 72102866-910b-0410-8b05-ffd578937521
2013-09-23 19:53:33 +00:00
Ivan Vučica
171af98132
OpalGState: Fixed a compile error (extra #endif). Added -DPSsetdash:::. Added stub -DPSsetstrokeadjust:.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37146 72102866-910b-0410-8b05-ffd578937521
2013-09-23 18:57:10 +00:00
Ivan Vučica
653eec3473
Cutting down on junk code and unneeded output.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37145 72102866-910b-0410-8b05-ffd578937521
2013-09-23 18:38:40 +00:00
Ivan Vučica
595cc19471
Fixes for doublebuffering. (Nearly?) correct implementation of -compositeGState: and -drawGState:. Temporarily fixed image drawing issues by lying about drawing to screen.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37142 72102866-910b-0410-8b05-ffd578937521
2013-09-23 18:04:06 +00:00
Ivan Vučica
ff80e49fb1
Added OPGStateRef tracking and switching at appropriate times. Added OpalGState's -copyWithZone:.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37119 72102866-910b-0410-8b05-ffd578937521
2013-09-19 22:39:11 +00:00
Ivan Vučica
2e395b6e20
Enabled doublebuffering. Fixed some debug code, disabled some other
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37111 72102866-910b-0410-8b05-ffd578937521
2013-09-18 21:49:32 +00:00
Eric Wasylishen
b259982fab
* Source/opal/OpalFontInfo.m: Use new OPFontGetGlyphWithCharacter to
...
properly look up the glyph for a character.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37099 72102866-910b-0410-8b05-ffd578937521
2013-09-17 21:51:02 +00:00
Ivan Vučica
7bc9e1a05a
Fixed erroneous offset of glyphs by taking -defaultLineHeightForFont, multiplying by 0.66, and adding that to pt.y. No idea why 0.66 is the right number.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37095 72102866-910b-0410-8b05-ffd578937521
2013-09-17 21:23:58 +00:00
Ivan Vučica
d9d14649ae
Partially fixed -GSShowGlyphsWithAdvances::: by removing some temporary debugging code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37093 72102866-910b-0410-8b05-ffd578937521
2013-09-17 19:42:01 +00:00
Eric Wasylishen
7b4690c515
* Source/opal/OpalFontInfo.m: Move font space to user space conversion
...
to a separate method. Implement -glyphIsEncoded:, -advancementForGlyph:,
-glyphForCharacter:, -glyphWithName:.
For -boundingRectForGlyph:, and -widthOfString:, return fake, fixed
values.
* Source/opal/OpalContext.m: Fix -isDrawingToScreen implementation;
it now returns YES. This has the unfortunate side effect of breaking
image drawing... but, on the positive side, causes NSLayoutManager
to make calls to GSShowGlyphsWithAdvances in batches of up to
16 glyphs, instead of one at a time...!
* Source/opal/OpalGState.m: Implement -GSSetFont:, and make
-GSShowGlyphsWithAdvances: call CGContextShowGlyphsWithAdvances
Overall state is glyphs are drawn.. they appear upside down,
and the glyph runs only seem to draw at (0, 0).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37087 72102866-910b-0410-8b05-ffd578937521
2013-09-17 06:53:08 +00:00
Ivan Vučica
0027a8bd8b
Fixed scale of metrics by using unitsPerEm and pointSize.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37084 72102866-910b-0410-8b05-ffd578937521
2013-09-16 23:20:14 +00:00
Ivan Vučica
3f417045cc
Opal backend: Progress on implementing fonts based on Opal's Core Graphics and fontconfig/ classes in gnustep-back.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37082 72102866-910b-0410-8b05-ffd578937521
2013-09-16 22:46:45 +00:00
Ivan Vučica
61cf75b2fc
In preparation for reusing this code in the Opal backend, moved fontconfig code to a dedicated set of classes that are now superclasses of Cairo backend's font classes.
...
Fixed a bug in CairoGState: a NSDebugMLLog() had this obvious mistake in its format (as was printed out by the compiler): @"%self"
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37066 72102866-910b-0410-8b05-ffd578937521
2013-09-10 21:07:03 +00:00
Eric Wasylishen
b56aea123d
* Source/x11/XIMInputServer.m: If the requested XIM style
...
(the GSXIMInputMethodStyle user default) is not available,
fall back to using a stlye that both the X server and
GNUstep support, if any. Also, add support for NoneStyle, which
is for simple input methods that don't have any visualization.
Problem reported and tested by Riccardo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37065 72102866-910b-0410-8b05-ffd578937521
2013-09-10 20:00:11 +00:00
Ivan Vučica
fe626e1e90
Opal: Implemented -defaultLineHeightForFont, the key to getting
...
GNUstep layouting system to use information provided in
-advancementForGlyph:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37058 72102866-910b-0410-8b05-ffd578937521
2013-09-09 21:27:45 +00:00
Fred Kiefer
a5b102b243
* Source/x11/XGGLContext.m,
...
* Source/x11/XGGLFormat.m: Better error reporting by converting
glGetError() to a string.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37047 72102866-910b-0410-8b05-ffd578937521
2013-09-08 18:19:12 +00:00