Ken Thomases
1c4d8938ec
winemac: Apply cursor clipping to events that were in Cocoa's queue when clipping started.
2013-05-07 11:19:37 +02:00
Ken Thomases
d9ae2f3e38
winemac: Consolidate scroll wheel handling into -[WineApplicationController handleScrollWheel:].
2013-05-07 11:19:33 +02:00
Ken Thomases
e15b82ad1b
winemac: Consolidate mouse button handling into -[WineApplicationController handleMouseButton:].
2013-05-07 11:19:27 +02:00
Ken Thomases
72e893237c
winemac: Consolidate mouse move handling into -[WineApplicationController handleMouseMove:].
2013-05-07 11:19:21 +02:00
Ken Thomases
76691853f5
winemac: Extract application-level handling of mouse move events to a separate method.
2013-05-07 11:19:00 +02:00
Ken Thomases
3964f805cc
winemac: Change some run-time asserts to compile-time.
2013-05-06 11:37:44 +02:00
Ken Thomases
7c808ddfbc
winemac: Return 0 from ToUnicodeEx() for a key release.
2013-05-03 11:47:47 +02:00
Ken Thomases
51129752bc
winemac: For SetCursorPos(), reset positions of pending mouse button and scroll events.
...
They are effectively deemed to have happened after the SetCursorPos().
2013-04-26 11:48:53 +02:00
Ken Thomases
a6722029e5
winemac: Work around mouse "pausing" after CGWarpMouseCursorPosition().
2013-04-26 11:48:36 +02:00
Ken Thomases
a34168edaa
winemac: Fix an off-by-one error in macdrv_wglChoosePixelFormatARB().
2013-04-25 11:45:11 +02:00
Ken Thomases
dfa2ba390d
winemac: Improve logging from wglChoosePixelFormatARB() and wglGetPixelFormatAttribivARB().
2013-04-25 11:45:07 +02:00
Ken Thomases
1c7a2ba33b
winemac: If an app opens a window shortly after its systray icon is clicked, activate it.
...
The Mac driver doesn't normally steal focus, but a click on the systray icon
counts as the user giving permission.
2013-04-25 11:44:42 +02:00
Ken Thomases
192b8dbf9d
winemac: Implement an IME that uses the OS X input methods.
...
Developed with Aric Stewart.
2013-04-22 12:37:50 +02:00
Ken Thomases
72be23270e
winemac: Set up and drain autorelease pool in LogErrorv() so it's safe to call from background threads.
2013-04-22 12:37:50 +02:00
Alexandre Julliard
04ad06353d
user32: Move the common parts of ScrollDC into user32 and the null driver.
2013-04-19 16:16:16 +02:00
Francois Gouget
2baecad2c5
Assorted spelling fixes.
2013-04-18 19:13:16 +02:00
Ken Thomases
e7d5f329e5
winemac: Refactor WineApplication class to separate most logic into a controller class.
2013-04-16 12:10:36 +02:00
Ken Thomases
2e226b9ad8
winemac: Don't order the window on-screen in -[WineWindow adjustWindowLevel].
2013-04-11 12:06:41 +02:00
Ken Thomases
cba4bcb47f
winemac: Handle failure to get clipboard format name; don't use uninitialized buffer.
2013-04-09 11:25:05 +02:00
Ken Thomases
401b75e3e9
winemac: Scale large system tray icons down to fit status bar.
2013-04-05 11:59:12 +02:00
Ken Thomases
787a937ed8
winemac: Add debug tracing for queried icon size.
2013-04-05 11:59:03 +02:00
Ken Thomases
c2bbdc4b86
winemac: Clip surface drawn region to new visible rect on window resize.
...
This prevents stale drawing from being revealed if the window later grows.
2013-04-05 11:57:32 +02:00
Ken Thomases
f37153ac7d
winemac: Initialize window surface to Mac-standard window background color instead of black.
2013-04-05 11:57:13 +02:00
Ken Thomases
26a74c664d
winemac: Tell Cocoa to preserve our window content during live resizing.
2013-04-05 11:56:32 +02:00
Ken Thomases
fd1e187ac7
winemac: Handle a Cocoa quit request as a single-process session shutdown.
...
This lets programs ask the user to save documents, etc., and possibly cancel
the quit.
2013-04-04 12:16:31 +02:00
Ken Thomases
ca2d7140fb
winemac: Add a delivery limit to events.
...
Some events are application-wide, not specific to a thread. Such an event
needs to be broadcast to all GUI-attached threads because we don't know which
are handling events, but we don't want the event to be processed in each.
Often it should only be processed by the first to pull it from its queue.
2013-04-04 12:14:56 +02:00
Ken Thomases
1ee93853c2
winemac: Make macdrv_event structs heap-allocated and reference-counted.
2013-04-04 12:14:33 +02:00
Ken Thomases
b55d7aae10
winemac: Constify some macdrv_event pointer parameters.
2013-04-04 12:13:45 +02:00
Ken Thomases
5dac8a90cc
winemac: Drain the autorelease pool within loop in OnMainThread().
2013-04-04 12:13:38 +02:00
Ken Thomases
94dc91a45d
winemac: During live resize, force occasional redisplay due to spontaneous redrawing.
2013-04-02 12:47:27 +02:00
C.W. Betts
95daa45dbc
winemac: Implement getting and setting screen saver state on OS X.
2013-03-29 17:52:17 +01:00
Ken Thomases
a767ee99fa
winemac: Track drawn surface region to reduce black flicker for new or resized windows.
2013-03-29 17:17:22 +01:00
Ken Thomases
0e8b305023
winemac: Draw surface region rects separately instead of clipping one big draw.
2013-03-29 17:17:22 +01:00
Ken Thomases
f7406e74ae
winemac: Invalidate window shadow on every draw for transparent windows.
2013-03-29 17:17:22 +01:00
Ken Thomases
7ab76484c4
winemac: Add proper locking in macdrv_surface_set_region().
2013-03-29 17:17:22 +01:00
Ken Thomases
4fba2995b6
winemac: Don't override -[NSOpenGLContext clearDrawable], just use our own method.
2013-03-28 12:19:01 +01:00
Ken Thomases
5c8d6a0b93
winemac: Synthesize 8- and 16-bpp display modes if the system doesn't provide any.
...
macdrv_ChangeDisplaySettingsEx() ignores the requested bpp, anyway, so we
can report any values we think programs will want.
2013-03-28 12:18:51 +01:00
Ken Thomases
81d1bfd65d
winemac: Set the ordering of color modes explicitly to reduce chance of picking an odd one.
2013-03-27 20:12:28 +01:00
Ken Thomases
484cf761fc
winemac: Use kCGLPFANoRecovery for accelerated pixel formats in create_context().
2013-03-27 20:12:28 +01:00
Ken Thomases
4ec2809e73
winemac: Keep stable surface for layered windows using UpdateLayeredWindow().
2013-03-26 16:40:23 +01:00
Ken Thomases
678f086904
winemac: Support CFSTR_SHELLURLW (UniformResourceLocator) clipboard format, mapped to public.url.
2013-03-26 12:12:28 +01:00
Ken Thomases
36343f520b
winemac: Specify import and export functions explicitly in builtin_format_names[].
2013-03-26 12:12:26 +01:00
Ken Thomases
e633f79f61
winemac: Implement GetDeviceGammaRamp() and SetDeviceGammaRamp().
2013-03-26 12:07:03 +01:00
Ken Thomases
3158fd764d
winemac: Don't read an array at index -1 in debugstr_pf().
2013-03-25 14:09:25 +01:00
Ken Thomases
6ee486644a
winemac: Allow Command-[Shift-]Tab to switch apps even when the displays are captured.
2013-03-25 14:03:02 +01:00
Ken Thomases
9714e6ee63
winemac: Implement rudimentary support for system tray icons as Mac status items.
2013-03-25 14:02:56 +01:00
Ken Thomases
b1de532393
winemac: Set application Dock icon from first icon resource in process's .exe file.
2013-03-25 14:01:04 +01:00
Ken Thomases
462721a115
winemac: Move create_cgimage_from_icon_bitmaps() into new module, image.c.
2013-03-25 14:01:01 +01:00
Ken Thomases
322ce433d5
winemac: Rename create_cgimage_from_icon() to create_cgimage_from_icon_bitmaps().
2013-03-25 13:57:20 +01:00
Ken Thomases
7993bd3d90
winemac: Implement support for drag-and-drop.
2013-03-14 12:03:32 +01:00