Marcian Lytwyn
6e1de7df76
Implement dealloc/copyWithZone on Win32CairoGState instance
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@39618 72102866-910b-0410-8b05-ffd578937521
2016-04-04 14:50:09 +00:00
Marcian Lytwyn
05640cbf48
Set clipping region on cairo surface HDC to clean up drawing problems
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@39615 72102866-910b-0410-8b05-ffd578937521
2016-04-03 20:59:32 +00:00
Marcian Lytwyn
332c91319c
Remove extraneous semicolon
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@39614 72102866-910b-0410-8b05-ffd578937521
2016-04-03 20:33:22 +00:00
Marcian Lytwyn
4cfd709225
Add comment regarding the windows bitmap processing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@39482 72102866-910b-0410-8b05-ffd578937521
2016-03-08 16:32:03 +00:00
Aarti Munjal
457ca77b6b
fix for issue #8544
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@39481 72102866-910b-0410-8b05-ffd578937521
2016-03-08 16:27:48 +00:00
Aarti Munjal
916020216b
fix for #8700
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@39477 72102866-910b-0410-8b05-ffd578937521
2016-03-07 21:41:18 +00:00
Doug Simons
0a23ca1c65
fix problem with flipped cursors
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@39333 72102866-910b-0410-8b05-ffd578937521
2016-02-03 03:11:25 +00:00
Doug Simons
bc7143d2d5
Allow Escape key to be processed during a capture mouse sequence.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@39192 72102866-910b-0410-8b05-ffd578937521
2015-11-23 19:32:08 +00:00
Adam Fox
1ebf02d6f9
Fix bug that caused F11 keypresses to become F12.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@38876 72102866-910b-0410-8b05-ffd578937521
2015-08-13 03:37:52 +00:00
Marcian Lytwyn
c43e467784
Merge GNUstep back with main trunk revision 38789
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@38797 72102866-910b-0410-8b05-ffd578937521
2015-07-14 22:36:43 +00:00
Marcian Lytwyn
3e1df4d6ef
Add gui/backend support for checking running service - windows only
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@38436 72102866-910b-0410-8b05-ffd578937521
2015-03-26 19:53:13 +00:00
Doug Simons
6796519eb2
fix keys in NSEvent when Ctrl and Shift are used so key equivalents like Ctrl-Shift-+ will be recognized
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@37987 72102866-910b-0410-8b05-ffd578937521
2014-07-10 04:47:00 +00:00
Marcian Lytwyn
6fe6cb74cc
Lets try to fix the last fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@37855 72102866-910b-0410-8b05-ffd578937521
2014-05-07 21:05:38 +00:00
Marcian Lytwyn
0e941b80a5
Fix 'moldy' application icon image
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@37854 72102866-910b-0410-8b05-ffd578937521
2014-05-07 20:45:54 +00:00
Marcian Lytwyn
e9c150207b
Fix ordering of screen info and handle display change for window(s)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@37783 72102866-910b-0410-8b05-ffd578937521
2014-04-02 22:57:03 +00:00
Marcian Lytwyn
a56731c357
Update for HDC processing and cairo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@37743 72102866-910b-0410-8b05-ffd578937521
2014-03-11 22:24:20 +00:00
Marcian Lytwyn
447f226df0
ALTGR key processing fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@37739 72102866-910b-0410-8b05-ffd578937521
2014-03-10 16:33:49 +00:00
Marcian Lytwyn
aaa0a6e5c2
Autorelease on already autorelease'd object - and return NON-mutable string from description method
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@37719 72102866-910b-0410-8b05-ffd578937521
2014-02-27 22:01:29 +00:00
Jonathan Gillaspie
fd6955f139
Switch monitor logging to Debug level
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@37630 72102866-910b-0410-8b05-ffd578937521
2014-01-23 16:10:45 +00:00
Frank Le Grand
b379b7ff5b
Reset the cursors stack when we are on a non-client area of a window. This is a workaround for an issue where we're not getting enough mouse move events when the mouse is moving very fast, and therefore occasionally find ourselves stuck with a cursor set for a rectangle that we've left.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@37271 72102866-910b-0410-8b05-ffd578937521
2013-10-21 18:00:44 +00:00
Frank Le Grand
128d09da60
Added/fix handling of WM_SETCURSOR so that Windows doesn't override our cursor rectangles and vice-versa. This revision goes in par with Core GUI revision #37189 .
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@37190 72102866-910b-0410-8b05-ffd578937521
2013-10-03 20:28:20 +00:00
Frank Le Grand
b64f7fbd78
Added bi-directional diagonal mouse cursors to standard cursors
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@37011 72102866-910b-0410-8b05-ffd578937521
2013-08-23 16:08:46 +00:00
Frank Le Grand
9308410d88
Commented out last fix on mouse cursors, which was either incomplete or incorrect. Needs to be reworked.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36994 72102866-910b-0410-8b05-ffd578937521
2013-08-20 16:41:21 +00:00
Frank Le Grand
858f1e745e
We're now processing the Windows event WM_SETCURSOR to prevent Windows from resetting the mouse cursor after a mouse move.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36987 72102866-910b-0410-8b05-ffd578937521
2013-08-18 19:24:57 +00:00
Frank Le Grand
45e9f8b8e0
Added files that were mysteriously removed in the last commit after the merge with Trunk.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36954 72102866-910b-0410-8b05-ffd578937521
2013-08-09 16:06:05 +00:00
Frank Le Grand
1b82d912b5
Merged Trunk changes from rev 35217 to TestPlant branch.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36952 72102866-910b-0410-8b05-ffd578937521
2013-08-09 14:21:15 +00:00
Marcian Lytwyn
36d045cf0a
Move win32 header files to enclosed section
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36911 72102866-910b-0410-8b05-ffd578937521
2013-07-21 13:22:59 +00:00
Marcian Lytwyn
afe41336df
Work around fix for non-retained buffered windows not re-displaying correctly with cairo on MSWindows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36907 72102866-910b-0410-8b05-ffd578937521
2013-07-20 16:32:35 +00:00
Marcian Lytwyn
7b6690c718
Fix monitor frame coordinate calculation and reset monitors on WM_DISPLAYCHANGE message, sending screen change notification
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36722 72102866-910b-0410-8b05-ffd578937521
2013-06-11 23:53:28 +00:00
Marcian Lytwyn
95a8e8d68f
Basic changes for clearer code review
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36651 72102866-910b-0410-8b05-ffd578937521
2013-05-19 22:46:35 +00:00
Marcian Lytwyn
09301e648c
Fix GDI leak in window create
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36649 72102866-910b-0410-8b05-ffd578937521
2013-05-19 19:45:05 +00:00
Marcian Lytwyn
5006663d2d
Wrap WIN32 server call to windowEventProc with an autorelease pool to avoid holding window surfaces causing memory issues
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36609 72102866-910b-0410-8b05-ffd578937521
2013-05-10 01:21:18 +00:00
Marcian Lytwyn
16ef33d4c4
Use device parameter rather than GSWINDEVICE macro in case self destroyed
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36604 72102866-910b-0410-8b05-ffd578937521
2013-05-09 01:49:46 +00:00
Marcian Lytwyn
612a141f28
Check for self=nil before processing in init
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36603 72102866-910b-0410-8b05-ffd578937521
2013-05-09 01:32:02 +00:00
Marcian Lytwyn
acf6d13308
Window IME generic updates for handling korean, japanese, etc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36055 72102866-910b-0410-8b05-ffd578937521
2013-02-01 17:41:23 +00:00
Marcian Lytwyn
fbb6f1257d
Fix: restrict keyboard input during global mouse capture
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36050 72102866-910b-0410-8b05-ffd578937521
2013-01-31 16:25:51 +00:00
Marcian Lytwyn
896657c562
Fix: use boolForKey instead of objectForKey
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36049 72102866-910b-0410-8b05-ffd578937521
2013-01-31 14:58:25 +00:00
Marcian Lytwyn
9e3bd1f431
Update for windows system cursor processing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36048 72102866-910b-0410-8b05-ffd578937521
2013-01-31 14:54:37 +00:00
Marcian Lytwyn
3390d6a6b9
Update for handling mouse capture/release and system cursors
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36043 72102866-910b-0410-8b05-ffd578937521
2013-01-30 22:23:32 +00:00
Marcian Lytwyn
46d6bb5fa4
BETA VERSION - NOT FINISHED - SYSTEM MOUSE CURSOR TRACKING
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36036 72102866-910b-0410-8b05-ffd578937521
2013-01-29 23:42:10 +00:00
Marcian Lytwyn
1c5a0d1e0a
Fix cross-hair on magnifier in color panel
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35996 72102866-910b-0410-8b05-ffd578937521
2013-01-18 01:29:06 +00:00
Marcian Lytwyn
a91ebbd8b8
Add cursor and screen capture functionality to windows backend for color panel support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35995 72102866-910b-0410-8b05-ffd578937521
2013-01-17 23:09:35 +00:00
Marcian Lytwyn
809c91a6c1
Allow a non-composing character to terminate the IME composing sequence
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35986 72102866-910b-0410-8b05-ffd578937521
2013-01-16 16:07:42 +00:00
Marcian Lytwyn
9c1c78273c
IME composition fix for mis-handling of last character sequence
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35984 72102866-910b-0410-8b05-ffd578937521
2013-01-15 21:53:54 +00:00
Marcian Lytwyn
57f71dadc3
First pass - in-window IME character composition for MSWindows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35983 72102866-910b-0410-8b05-ffd578937521
2013-01-15 17:02:18 +00:00
Doug Simons
2a6477c928
Fix a bug that could cause a modal run loop to lock up if the modal window is closed by clicking the close button.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35948 72102866-910b-0410-8b05-ffd578937521
2013-01-11 03:12:56 +00:00
Marcian Lytwyn
25d6855dc0
Merge back with main branch
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35814 72102866-910b-0410-8b05-ffd578937521
2012-11-21 20:58:07 +00:00
Marcian Lytwyn
aae0f7748c
Merge back with main branch
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35813 72102866-910b-0410-8b05-ffd578937521
2012-11-21 20:53:22 +00:00
Marcian Lytwyn
f018376f12
Updates for MSWindows IME keyboard processing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35793 72102866-910b-0410-8b05-ffd578937521
2012-11-14 19:06:57 +00:00
Marcian Lytwyn
0ebb1b1411
Don't release DC's for non-retained surfaces
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35743 72102866-910b-0410-8b05-ffd578937521
2012-10-25 21:28:28 +00:00
Marcian Lytwyn
2d72a18f1a
Another stray log
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35741 72102866-910b-0410-8b05-ffd578937521
2012-10-25 19:26:26 +00:00
Marcian Lytwyn
e5e02267f9
Remove debug log
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35740 72102866-910b-0410-8b05-ffd578937521
2012-10-25 19:15:48 +00:00
Marcian Lytwyn
41ebb7a852
HOPEFULLY - final changes for cairo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35739 72102866-910b-0410-8b05-ffd578937521
2012-10-25 18:53:03 +00:00
Doug Simons
9c3739a27a
Fix findWindowAt:windowRef:excluding: to skip windows with the ignoresMouseEvents property set.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35735 72102866-910b-0410-8b05-ffd578937521
2012-10-25 04:07:30 +00:00
Marcian Lytwyn
aa519f55a8
Additional updates for windows backend
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35707 72102866-910b-0410-8b05-ffd578937521
2012-10-17 20:08:34 +00:00
Marcian Lytwyn
30941f5681
TEMPORARY update for cairo - remove logs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35668 72102866-910b-0410-8b05-ffd578937521
2012-10-11 20:53:36 +00:00
Marcian Lytwyn
9b0f83a5d9
TEMPORARY updates for cairo processing on MSWindows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35666 72102866-910b-0410-8b05-ffd578937521
2012-10-11 20:40:21 +00:00
Jonathan Gillaspie
86c6036739
Fix for fatal exceptions when a nil mouse event tried to post
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35665 72102866-910b-0410-8b05-ffd578937521
2012-10-10 21:42:14 +00:00
Marcian Lytwyn
0cfb23088f
Yet another temporary fix for cairo window expose method
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35576 72102866-910b-0410-8b05-ffd578937521
2012-09-19 18:06:44 +00:00
Marcian Lytwyn
a63d526943
TEMPORARY FIX for borderless windows i.e. WS_POPUP types
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35540 72102866-910b-0410-8b05-ffd578937521
2012-09-07 20:04:11 +00:00
Marcian Lytwyn
001e3307ec
attempt to fix WS_POPUP showing up immediately on Windows 7
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35535 72102866-910b-0410-8b05-ffd578937521
2012-09-06 22:43:12 +00:00
Marcian Lytwyn
005f0ee278
Remove unecessary and invalid win32 include
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35479 72102866-910b-0410-8b05-ffd578937521
2012-08-29 22:53:26 +00:00
Marcian Lytwyn
7a892f25ce
Fix outstanding Win32 cairo code and configure issues
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35478 72102866-910b-0410-8b05-ffd578937521
2012-08-29 21:34:21 +00:00
Marcian Lytwyn
c276a5d4d0
Cairo win32 fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35373 72102866-910b-0410-8b05-ffd578937521
2012-08-08 22:27:23 +00:00
Marcian Lytwyn
643bedc834
Cairo win32 fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35372 72102866-910b-0410-8b05-ffd578937521
2012-08-08 22:26:52 +00:00
Marcian Lytwyn
3aeec4ae2e
Fixes compile warnings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35371 72102866-910b-0410-8b05-ffd578937521
2012-08-08 22:25:33 +00:00
Marcian Lytwyn
5f7ea64199
Cairo win32 fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35370 72102866-910b-0410-8b05-ffd578937521
2012-08-08 22:23:43 +00:00
Marcian Lytwyn
110201169d
Cairo win32 fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35369 72102866-910b-0410-8b05-ffd578937521
2012-08-08 22:23:13 +00:00
Marcian Lytwyn
49f971cb28
Cairo win32 fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35368 72102866-910b-0410-8b05-ffd578937521
2012-08-08 22:22:36 +00:00
Marcian Lytwyn
f5c781e78f
Cairo win32 fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35367 72102866-910b-0410-8b05-ffd578937521
2012-08-08 22:22:10 +00:00
Marcian Lytwyn
598be2609a
Cairo win32 implementation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35366 72102866-910b-0410-8b05-ffd578937521
2012-08-08 22:21:19 +00:00
Marcian Lytwyn
999c436296
Added Win32 multi-screen support lookup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35240 72102866-910b-0410-8b05-ffd578937521
2012-06-27 17:59:11 +00:00
Quentin Mathe
51645accac
Protected +initialize from being called multiple times on GSContext because of
...
subclasses.
As a result, this eliminates a gstate table memory leak, and prevents the table
to be reset while still in use (causing various DPS errors such as invalid
param, stack underflow and segfault).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@35153 72102866-910b-0410-8b05-ffd578937521
2012-05-14 15:02:00 +00:00
Eric Wasylishen
a8860a1493
* Source/x11/XIMInputServer.m: Remove the locale setting code.
...
Use the correct #ifdef check for Xutf8LookupString, and use
that function if available; otherwise use XLookupString.
Interpret the return value of XLookupString as Latin-1.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@35152 72102866-910b-0410-8b05-ffd578937521
2012-05-13 02:41:30 +00:00
Eric Wasylishen
091480978b
* Source/x11/XGServerEvent.m: Make the GSModifiersAreKeys
...
default to YES, by renaming the default to GSModifiersAreNotKeys.
This should fix bug 25659; for example, in Ink you can now
open the color panel with <Shift>+<Alt>+c or <Alt>+<Shift>+c.
* Documentation/Back/DefaultsSummary.gsdoc: Update docs for
GSModifiersAreNotKeys.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34984 72102866-910b-0410-8b05-ffd578937521
2012-03-23 00:13:09 +00:00
Fred Kiefer
7c8e4e9821
* Source/cairo/CairoGState.m: Set the filter to BILINEAR for all
...
patterns we use.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34791 72102866-910b-0410-8b05-ffd578937521
2012-02-20 11:30:22 +00:00
Wolfgang Lux
2f611ab26a
Fix potentially uninitialized color space element when setting fill
...
and stroke colors.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34786 72102866-910b-0410-8b05-ffd578937521
2012-02-19 18:30:51 +00:00
Fred Kiefer
996c877868
Use difference operator only for cairo version >= 1.9.4.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34776 72102866-910b-0410-8b05-ffd578937521
2012-02-19 12:19:09 +00:00
Fred Kiefer
234ac0932b
Replace NSCompositeHighlight with GSCompositeHighlight and map NSCompositeHighlight onto
...
NSCompositeSourceOver.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34773 72102866-910b-0410-8b05-ffd578937521
2012-02-18 21:10:07 +00:00
Eric Wasylishen
088912afe1
* Source/cairo/CairoFontInfo.m (-setupAttributes):
...
use CAIRO_HINT_METRICS_ON instead of CAIRO_HINT_METRICS_OFF,
otherwise some text is cut of (e.g. quit Ink with unsaved
changes, the "t" in "Quit" in the dialog is cut off)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34613 72102866-910b-0410-8b05-ffd578937521
2012-01-23 22:53:57 +00:00
Eric Wasylishen
9d52d255cb
* Source/cairo/CairoFontInfo.m (-setupAttributes):
...
We must not leave the hinting settings as their defaults,
because if we did, that would mean using the surface defaults
which might or might not use hinting (xlib does by default.)
Since we make measurements outside of the context of a surface
(-advancementForGlyph:), we need to ensure that the same
hinting settings are used there as when we draw. For now,
just force hinting to be off.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34612 72102866-910b-0410-8b05-ffd578937521
2012-01-23 22:40:29 +00:00
Wolfgang Lux
074b625584
Fix the brain-dead commits I made this morning.
...
Looks like I wasn't awake then ...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34595 72102866-910b-0410-8b05-ffd578937521
2012-01-19 21:37:35 +00:00
Wolfgang Lux
fce27ac4bd
Change order of atoms in client message; at least metacity seems to
...
ignore the _NET_WM_STATE_STICKY_ATOM otherwise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34590 72102866-910b-0410-8b05-ffd578937521
2012-01-19 09:44:50 +00:00
Wolfgang Lux
cc2cffa7e8
Add GS prefix to the names of the new user defaults.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34587 72102866-910b-0410-8b05-ffd578937521
2012-01-19 09:14:57 +00:00
Wolfgang Lux
8edd54c5fb
Introduce new user defaults to respectively make app icons and mini
...
windows sticky (aka omnipresent).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34586 72102866-910b-0410-8b05-ffd578937521
2012-01-19 09:05:09 +00:00
Eric Wasylishen
d84def3af7
Revert mousewheel coalescing (r34553, r34554, r34558)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34582 72102866-910b-0410-8b05-ffd578937521
2012-01-18 21:35:59 +00:00
Eric Wasylishen
6866ad9961
* Source/x11/XGServerEvent.m (-processEvent:): Rewrite coalescing
...
code to only combine an uninterrupted set of scroll events.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34558 72102866-910b-0410-8b05-ffd578937521
2012-01-17 00:43:29 +00:00
Eric Wasylishen
3689ee5c35
* Source/x11/XGServerEvent.m (-processEvent:): Coalesce
...
mousewheel events
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34554 72102866-910b-0410-8b05-ffd578937521
2012-01-16 06:37:18 +00:00
Eric Wasylishen
47c06f7ca2
* Source/x11/XGServer.m: Don't read X events in NSConnectionReplyMode
...
* Source/x11/XGServerEvent.m (-receivedEvent:type:extra:forMode:):
Only read one event from the xlib event queue, instead of all of them.
* Source/x11/XGServerEvent.m (-getEventMatchingMask:beforeDate:inMode:):
Remove call to -receivedEvent:type:extra:forMode:
* Source/x11/XGServerEvent.m (-discardEventsMatchingMask:beforeEvent:):
Remove call to -receivedEvent:type:extra:forMode:
These changes are an attempt to fix a bug where a steady stream
of X events can postpone autodisplay indefinitely. To see it, open
a long document in Ink and scroll with the mousewheel slowly but
continuously. If you scroll steadily enough, the window will not
update until you stop scrolling.
This occurs beacuse autodisplay only occurs when the AppKit event
queue is empty and the runloop runs, and without the above changes,
the AppKit event queue was filling up and not emptying until the
mousewheel events stopped arriving.
In the long run I think we should get rid of the AppKit event queue
and have XGServer override the default implementation of
-[GSDisplayServer getEventMatchingMask:beforeDate:inMode:dequeue:]
and related methods with custom ones that interact
directly with the Xlib event queue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34553 72102866-910b-0410-8b05-ffd578937521
2012-01-16 06:33:45 +00:00
Fred Kiefer
c7080db085
* Source/winlib/WIN32FontEnumerator.m: Add missing include.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34498 72102866-910b-0410-8b05-ffd578937521
2012-01-11 18:34:55 +00:00
Fred Kiefer
ea4772c07e
* Source/winlib/WIN32FontEnumerator.m,
...
* Source/cairo/CairoFontEnumerator.m,
* Source/xlib/GSXftFontInfo.m,
* Source/xlib/XGFont.m: Use NSDebugLLog instead of NSDebugLog to
reduce amount of default output.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34493 72102866-910b-0410-8b05-ffd578937521
2012-01-11 08:47:27 +00:00
Eric Wasylishen
caa986a9d6
* Source/cairo/CairoGState.m (-GSShowGlyphsWithAdvances:):
...
Update the current point after drawing text. Should not affect
anything in gui right now, but will be useful later.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34388 72102866-910b-0410-8b05-ffd578937521
2012-01-02 09:23:05 +00:00
Eric Wasylishen
b6588a43bd
* Source/cairo/CairoContext.m (-beginPrologueBBox:...):
...
Add a hack to get landscape printing working. Comment in the source
reproduced here:
FIXME: This is confusing... When an 8.5x11 page is set to
landscape, NSPrintInfo also swaps the paperSize to be 11x8.5,
but gui also adds a 90 degree rotation as if it will
be drawing on a 8.5x11 page. So, swap 11x8.5 back to 8.5x11 here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34356 72102866-910b-0410-8b05-ffd578937521
2011-12-24 18:44:53 +00:00
Eric Wasylishen
4f613a2a66
* Source/cairo/CairoContext.m (-beginPrologueBBox:...): Use
...
paper size from print info to set the cairo page size, instead
of using the bounding box (which is usually smaller than the
paper size, and was causing cairo print output to be wrong
compared to GNUstep's built-in PostScript writer.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34351 72102866-910b-0410-8b05-ffd578937521
2011-12-23 19:01:45 +00:00
Fred Kiefer
fb1f42cbee
Revert change to use AltGr as Alt key. You may still get the same result
...
by setting a user default.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34225 72102866-910b-0410-8b05-ffd578937521
2011-11-28 17:00:50 +00:00
Fred Kiefer
6e7cc10890
* Source/x11/XGGLFormat.m (-assembleGLXAttributes:): Use
...
GLX_BUFFER_SIZE for NSOpenGLPFAColorSize instead of setting all
the single colour sizes, which was wrong.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34136 72102866-910b-0410-8b05-ffd578937521
2011-11-07 20:53:54 +00:00
Fred Kiefer
5454ce9e20
Use XK_ISO_Level3_Shift as second alternate key and document this change.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34130 72102866-910b-0410-8b05-ffd578937521
2011-11-07 09:41:38 +00:00
Eric Wasylishen
696978c4ab
* Source/x11/context.c: check for NULL from XRenderFindVisualFormat
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34120 72102866-910b-0410-8b05-ffd578937521
2011-11-04 18:04:12 +00:00
Eric Wasylishen
c9c9397b6d
* Source/gsc/GSStreamContext.m:
...
* Source/gsc/GSContext.m:
* Source/gsc/GSGState.m:
* Headers/gsc/GSGStateOps.h: Change type for -GSSetFillColor: and
-GSSetStrokeColor: from float to CGFloat
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34071 72102866-910b-0410-8b05-ffd578937521
2011-10-26 00:24:17 +00:00
Fred Kiefer
b5d10eade8
* Source/cairo/CairoFontEnumerator.m: Define FC_WEIGHT_ULTRABLACK
...
for old versions of fontconfig.
Patch by Richard Frith-Macdonald <rfm@gnu.org>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34035 72102866-910b-0410-8b05-ffd578937521
2011-10-20 09:15:58 +00:00