Eric Wasylishen
a5b5c4f6b8
Use default icon size when reading ico file for windows app icon
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@30170 72102866-910b-0410-8b05-ffd578937521
2010-04-15 19:02:20 +00:00
Jonathan Gillaspie
8c4d1d251e
* Source/win32/WIN32Server.m: Have non-key, non-main windows
...
that order front not become active. Also don't bring windows
that are ordering out to the foreground first.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@30142 72102866-910b-0410-8b05-ffd578937521
2010-04-13 19:11:40 +00:00
Fred Kiefer
3a58a7e30b
Add more missing imports.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@30043 72102866-910b-0410-8b05-ffd578937521
2010-03-26 07:51:34 +00:00
Riccardo Mottola
65c8dbe1fd
added missing imports
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@30042 72102866-910b-0410-8b05-ffd578937521
2010-03-26 00:11:51 +00:00
Riccardo Mottola
6b298f79b6
include -> import
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@30038 72102866-910b-0410-8b05-ffd578937521
2010-03-25 22:19:44 +00:00
Riccardo Mottola
28b5c69f02
import NSValue
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@30037 72102866-910b-0410-8b05-ffd578937521
2010-03-25 21:52:33 +00:00
Doug Simons
c4226a2a14
Include NSDebug.h for definition of NSDebugLLog()
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@30032 72102866-910b-0410-8b05-ffd578937521
2010-03-24 22:18:28 +00:00
Doug Simons
208545437d
Ignore duplicate mouse down events generated by first click in a window.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@30031 72102866-910b-0410-8b05-ffd578937521
2010-03-24 22:12:08 +00:00
Eric Wasylishen
18d408be09
back/win32: update windows while resizing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@30008 72102866-910b-0410-8b05-ffd578937521
2010-03-20 06:42:17 +00:00
Eric Wasylishen
370945d7af
back/win32: record deltaX and deltaY for mouse move/drag events, matching OS X
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@30007 72102866-910b-0410-8b05-ffd578937521
2010-03-20 05:13:28 +00:00
Eric Wasylishen
9894eb2943
back/win32: fix handling of alt key
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@30006 72102866-910b-0410-8b05-ffd578937521
2010-03-20 02:18:18 +00:00
Eric Wasylishen
aa8d797eb6
back/win32: fix for mouse/keyboard events on NSOpenGLView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29957 72102866-910b-0410-8b05-ffd578937521
2010-03-15 07:19:22 +00:00
Eric Wasylishen
1561ba0aec
back/win32: Fix for multiple NSOpenGLView's
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29940 72102866-910b-0410-8b05-ffd578937521
2010-03-14 06:50:31 +00:00
Eric Wasylishen
36260d2295
back/win32: horizontal mousewheel support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29933 72102866-910b-0410-8b05-ffd578937521
2010-03-13 21:38:23 +00:00
Eric Wasylishen
1e8806424e
back/win32: fix mousewheel
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29932 72102866-910b-0410-8b05-ffd578937521
2010-03-13 21:00:02 +00:00
Fred Kiefer
2d801f3700
Small bug fix (mostly to avoid compiler warning) by Anibal Rindisbacher
...
<anibal784@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29922 72102866-910b-0410-8b05-ffd578937521
2010-03-13 13:09:59 +00:00
Doug Simons
c3004129ed
capture the mouse to get mouse moved events outside of window
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29912 72102866-910b-0410-8b05-ffd578937521
2010-03-12 21:29:37 +00:00
Doug Simons
c3cdc8ebba
Prevent generating mouseMoved events when the mouse hasn't moved
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29905 72102866-910b-0410-8b05-ffd578937521
2010-03-11 22:44:53 +00:00
Doug Simons
9978707706
removed extraneous 'u' that got in by mistake
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29884 72102866-910b-0410-8b05-ffd578937521
2010-03-08 19:34:31 +00:00
Doug Simons
908e8b663e
When the shift key is down, charactersIgnoringModifiers should be uppercase
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29883 72102866-910b-0410-8b05-ffd578937521
2010-03-08 17:54:00 +00:00
Fred Kiefer
5253105797
* Source/cairo/CairoGState.m: Only use calls for
...
cairo_pattern_set_extend() on cairo > 1.6.0.
Patch suggested by Eric Wasylishen <ewasylishen@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29868 72102866-910b-0410-8b05-ffd578937521
2010-03-07 21:40:36 +00:00
Richard Frith-MacDonald
18ab944a93
update to avoid obsolete function
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29844 72102866-910b-0410-8b05-ffd578937521
2010-03-05 06:52:53 +00:00
Gregory John Casamento
588ae69c45
Changes to prevent inconsistent main/key state and move alphablend to a separate function call.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29722 72102866-910b-0410-8b05-ffd578937521
2010-02-24 21:50:20 +00:00
Fred Kiefer
92fdccd8d3
Adjust to the CGFloat change for NSFont
...
and NSAffineTransform done in base and gui.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29689 72102866-910b-0410-8b05-ffd578937521
2010-02-20 16:33:30 +00:00
Nicola Pero
959b852c71
Minor tidyups to back makefiles; removed references to GNUmakefile.local (totally obsolete) and minor fix for uninstalling
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29558 72102866-910b-0410-8b05-ffd578937521
2010-02-11 18:28:58 +00:00
Eric Wasylishen
39c9297595
Handle horizontal scrolling in X11
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29532 72102866-910b-0410-8b05-ffd578937521
2010-02-10 07:36:36 +00:00
Gregory John Casamento
77565aaad0
* Headers/win32/WIN32Server.h: Remove HOTKEY method.
...
* Source/win32/w32_general.m: Remove HOTKEY method.
* Source/win32/WIN32Server.m: Remove call to HOTKEY method. Added
function "mask_for_keystate(..)" to implement modifier mappings
on Windows. Also changed process_key_event to use the new function
and changed the call to ToUnicode to use a blank array instead of
modifying the existing keyState array since this was returning the
characters with the modifiers still applied.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29498 72102866-910b-0410-8b05-ffd578937521
2010-02-07 08:37:04 +00:00
Gregory John Casamento
3c9e989f25
* Headers/win32/WIN32Server.h: Added declaration for decodeWM_HOTKEY:...
...
* Source/win32/WIN32Server.m: Added call to method decodeWM_HOTKEY:...
* Source/win32/w32_general.m: Added method decodeWM_HOTKEY:...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29490 72102866-910b-0410-8b05-ffd578937521
2010-02-05 21:32:42 +00:00
Fred Kiefer
2f9772ccde
Solve the window focus bug by no longer activating the window on each
...
resize.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29414 72102866-910b-0410-8b05-ffd578937521
2010-01-26 19:05:35 +00:00
Fred Kiefer
99a4001565
Merge the two checks for xshm in XWindowBuffer.
...
Better check for unicode encoding in art fonts.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29410 72102866-910b-0410-8b05-ffd578937521
2010-01-26 09:21:01 +00:00
Gregory John Casamento
817a5d654f
* Source/win32/w32_create.m: (-decodeWM_CREATEParams:::) add
...
code to load and set the HICON into the window. Currently,
an .ico file with the same name as the image specified in
NSIcon or CFBundleIconName needs to be provided in the
resources.
NOTE: An enhancement to generate this from the app icon will
follow shortly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29396 72102866-910b-0410-8b05-ffd578937521
2010-01-25 09:14:55 +00:00
Fred Kiefer
2a93b165fb
Don't give up on xshm when pixmaps aren't supported.
...
Based on proposal by Derk Fawcus <dfawcus+lists-gnustep-dev@employees.org>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29359 72102866-910b-0410-8b05-ffd578937521
2010-01-22 17:18:55 +00:00
Wolfgang Lux
4311e19de6
Avoid unnecessary runtime check in the fix for #28590 .
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29358 72102866-910b-0410-8b05-ffd578937521
2010-01-22 11:47:06 +00:00
Wolfgang Lux
4ea7b58019
Fix bug #28590 .
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29357 72102866-910b-0410-8b05-ffd578937521
2010-01-22 08:16:50 +00:00
Gregory John Casamento
89e0508bbb
2010-01-21 15:45-EST Riccardo Mottola <rmottola@users.sf.net>
...
Committed by: Gregory John Casamento <greg.casamento@gmail.com>
* Source/win32/w32_text_focus.m: Correction for extra event which
was causing main/key windows to get out of sync in the backend and
gui.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29349 72102866-910b-0410-8b05-ffd578937521
2010-01-21 20:43:46 +00:00
Wolfgang Lux
b4aead1b19
Revise detection of window miniaturization and deminiaturization based
...
on the ICCCM WM_STATE property and use _NET_WM_STATE only to avoid
generating bogus miniaturize events when using an emwh compliant
window manager. This makes the code more portable and allows
generating reliable window deminiaturize events.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29283 72102866-910b-0410-8b05-ffd578937521
2010-01-14 22:27:03 +00:00
Gregory John Casamento
19150c94d0
* Headers/win32/WIN32Server.h: Added decodeWM_MOUSEACTIVATE:..
...
* Source/win32/w32_general.m: Added call to decodeWM_COMMAND:
to -[GSTheme processCommand:] the theme callback which handles
native menus,
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29279 72102866-910b-0410-8b05-ffd578937521
2010-01-14 10:40:29 +00:00
Fred Kiefer
cb376955bc
Add missing comma after name of selection atom.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29270 72102866-910b-0410-8b05-ffd578937521
2010-01-12 21:28:01 +00:00
Riccardo Mottola
a520fd608c
generate the window leave event only for WM_INACTIVE
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29256 72102866-910b-0410-8b05-ffd578937521
2010-01-10 18:34:30 +00:00
Riccardo Mottola
f126c3ced8
generate GSAppKitWindowLeave leave events
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29253 72102866-910b-0410-8b05-ffd578937521
2010-01-10 11:29:36 +00:00
Fred Kiefer
938a6dd65a
Send an event directly to the window on focus in, instead of handling
...
this here ourselves.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29240 72102866-910b-0410-8b05-ffd578937521
2010-01-08 20:46:35 +00:00
Eric Wasylishen
1c46dd6417
Cairo backend:
...
-DPSsetflat: and -DPScurrentflat should not have been transforming
the flatness value with the current transformation matrix.
The effect of this could be seen in the Apple BezierPathLab example;
zooming in on the circle caused it to look more and more like a
polygon.
Also set NSBezierPath default flatness to 0.6 to match OS X
(it was 1.0, which made circles look a bit rough)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29145 72102866-910b-0410-8b05-ffd578937521
2009-12-20 18:47:26 +00:00
Fred Kiefer
9a47060a5a
Patch by Eric Wasylishen to set the pattern extend in the cairo backend.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29122 72102866-910b-0410-8b05-ffd578937521
2009-12-14 14:05:32 +00:00
Richard Frith-MacDonald
fc841e8186
pply fix from Doug Simons
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29062 72102866-910b-0410-8b05-ffd578937521
2009-11-26 11:15:59 +00:00
Riccardo Mottola
50ced01cf2
Remove left-over call to a mouse down event in a mouse-up
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29025 72102866-910b-0410-8b05-ffd578937521
2009-11-16 22:49:29 +00:00
David Chisnall
ed0e764447
Make terminating on signal via NSApp conditional on NSApp actually existing. This allows you to kill applications with ^C if they are using AppKit but not NSApplication.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29016 72102866-910b-0410-8b05-ffd578937521
2009-11-15 13:57:34 +00:00
Richard Frith-MacDonald
43eaa1d512
fix for missing mouse down events
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28989 72102866-910b-0410-8b05-ffd578937521
2009-11-10 14:45:50 +00:00
Richard Frith-MacDonald
76b8a13298
ensure GSTheme is initialialised before determining whether to decorate windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28982 72102866-910b-0410-8b05-ffd578937521
2009-11-09 12:14:31 +00:00
Richard Frith-MacDonald
5286906961
fixup for consistency with X11 backend
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28978 72102866-910b-0410-8b05-ffd578937521
2009-11-09 09:34:09 +00:00
Fred Kiefer
ca51d23b97
Don't return a static variable as the window device.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28975 72102866-910b-0410-8b05-ffd578937521
2009-11-08 16:14:53 +00:00