Commit graph

1116 commits

Author SHA1 Message Date
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
Richard Frith-MacDonald
229aa7212a use config.status if available
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@38315 72102866-910b-0410-8b05-ffd578937521
2015-01-31 20:49:54 +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
a35676ffaf Corrected location of deb.make inclusion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37839 72102866-910b-0410-8b05-ffd578937521
2014-05-05 02:24:23 +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
Gregory John Casamento
8fa4608cba Minor correction to fix compilation error on Windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37268 72102866-910b-0410-8b05-ffd578937521
2013-10-20 22:16:03 +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
af62575bee Compile fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37148 72102866-910b-0410-8b05-ffd578937521
2013-09-23 19:51:59 +00:00
Ivan Vučica
0cba103120 Compile fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37147 72102866-910b-0410-8b05-ffd578937521
2013-09-23 19:45:09 +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
4815f8b518 Fixed images appearing in bottom left corner first.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37144 72102866-910b-0410-8b05-ffd578937521
2013-09-23 18:29: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
a212d292f6 (completing the previous commit)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37097 72102866-910b-0410-8b05-ffd578937521
2013-09-17 21:47:09 +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