Commit graph

155 commits

Author SHA1 Message Date
Marcian Lytwyn
ac3e797146 Revert unintentional commit on Source/win32/WIN32Server.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@39823 72102866-910b-0410-8b05-ffd578937521
2016-05-30 19:52:57 +00:00
Marcian Lytwyn
28dfe59d6b Fix compile warnings in gpbs.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@39822 72102866-910b-0410-8b05-ffd578937521
2016-05-30 19:39:08 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Eric Wasylishen
337ce46bba * Source/win32/WIN32Server.m (-resolutionForScreen:):
Scale the result by 0.75 so the Windows default of 96 DPI is
mapped to the GNUstep default of 72 DPI. While this sounds wrong,
72 and 96 are just "virtual" DPI's; both mean 1 point = 1 pixel,
so it's actually the right thing to do.
* Source/x11/XGServerWindow.m (-resolutionForScreen:):
Comment out the implementation and just return 72 for now,
because I'm not sure if we can trust the value the X server
gives us.

NOTE: Currently -gui ignores these methods and only looks at the
GSScaleFactor user default. I'm going to make -gui use the server
values now, because it's safe to do so on Windows (the system
DPI is set by the user, and affects all applications.)

NOTE: We might consider refactoring these methods to be called
scaleFactorForScreen: to make it clearer what they do.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33658 72102866-910b-0410-8b05-ffd578937521
2011-07-30 20:39:10 +00:00
Fred Kiefer
8913452ffc Change the way the image for the cursor gets passed on to the backend.
The old way could only work for 8 bit data.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@32492 72102866-910b-0410-8b05-ffd578937521
2011-03-07 19:45:20 +00:00
Fred Kiefer
5125141980 Implement the ne cursor backend methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@32180 72102866-910b-0410-8b05-ffd578937521
2011-02-15 22:54:51 +00:00
Jonathan Gillaspie
15f3adb397 * Source/win32/WIN32Server.m: Added better logging on Window create and destroy errors.
Added a secondary call to get current mouse position if the first call fails.	
* Source/win32/w32_text_focus.m: Cast parameter to appropriate (HWND) type.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@31718 72102866-910b-0410-8b05-ffd578937521
2010-12-08 22:59:05 +00:00
Eric Wasylishen
d41e797bfd * Source/win32/WIN32Server.m: Only show taskbar buttons for windows
which satisfy both:

- style mask isn't NSBorderlessWindowMask
- style mask don't have NSUtilityWindowMask set

Should fix bug 30911

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@31212 72102866-910b-0410-8b05-ffd578937521
2010-08-30 22:00:09 +00:00