Commit Graph

119 Commits

Author SHA1 Message Date
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
Ken Thomases
fb5794a764 winemac: Extract new function from macdrv_EnumClipboardFormats() parameterized by the target pasteboard. 2013-03-14 12:02:49 +01:00
Ken Thomases
caf6db7bf9 winemac: Extract new function from macdrv_IsClipboardFormatAvailable() parameterized by the target pasteboard. 2013-03-14 12:02:45 +01:00
Ken Thomases
c8e6bad153 winemac: Extract new function from macdrv_GetClipboardData() parameterized by the target pasteboard. 2013-03-14 12:02:41 +01:00
Ken Thomases
4ae5b106f8 winemac: Enable pasteboard functions to operate on arbitrary pasteboards.
... not just the general pasteboard (although the general pasteboard is
still the default).
2013-03-14 12:02:36 +01:00
Ken Thomases
761ad810d9 winemac: Allow for processing Cocoa events while waiting for query results. 2013-03-14 12:02:28 +01:00
Ken Thomases
bff19b1739 winemac: Add support for CF_HDROP clipboard format, mapped to/from Cocoa's NSFilenamesPboardType. 2013-03-14 12:02:23 +01:00
Ken Thomases
95d5270a0d winemac: Synthesize additional bitmap pasteboard types from any that Cocoa can convert.
Mac apps generally put TIFF on the pasteboard, but Windows programs are
more likely to handle CF_DIB or CF_BITMAP which map to BMP.
2013-03-14 12:02:17 +01:00
Ken Thomases
6528619494 winemac: Add support for CF_DIB and CF_BITMAP clipboard formats. 2013-03-14 12:02:10 +01:00
Ken Thomases
a8d55288de winemac: Add clipboard formats which can or must be put on Mac pasteboard without transformation. 2013-03-14 12:02:05 +01:00
Ken Thomases
449e2655c2 winemac: Add support for delay-rendered (a.k.a. promised) clipboard data. 2013-03-11 10:53:38 +01:00
Ken Thomases
69e631e04e winemac: Add support for "query" events which wait for synchronous responses. 2013-03-11 10:53:32 +01:00
Ken Thomases
bf824ed38c winemac: Implement setting of clipboard data with support for text formats. 2013-03-11 10:53:26 +01:00
Ken Thomases
764a8edb09 winemac: Implement GetClipboardData() with support for text formats. 2013-03-11 10:53:21 +01:00
Ken Thomases
7cf3e0596f winemac: Implement EnumClipboardFormats() with support for text formats. 2013-03-11 10:53:15 +01:00
Ken Thomases
af10783e18 winemac: Implement IsClipboardFormatAvailable() with support for text formats. 2013-03-11 10:53:05 +01:00
Ken Thomases
6b2b3e69f7 winemac: Implement CountClipboardFormats() with support for text formats. 2013-03-11 10:52:59 +01:00
Ken Thomases
4d51a688e3 winemac: Override -[NSOpenGLContext clearDrawable] to not hide the GL surface.
This fixes a problem with flickering when repeatedly attaching and detaching
a GL context from a window, such as for each WM_PAINT.
2013-03-11 10:44:26 +01:00
Ken Thomases
89a4e5a6d1 winemac: Don't defer attaching OpenGL context to view if it is backed by a window device.
This fixes a problem with certain OpenGL programs which create a context very
briefly before destroying it, like while handling WM_PAINT.
2013-03-11 10:44:13 +01:00
Ken Thomases
37b33a9de8 winemac: Improve handling of "invert" pixels in monochrome cursors. 2013-03-08 11:01:48 +01:00
C.W. Betts
c333c6ea6c winemac: Fix compilation on Lion and later. 2013-03-08 11:00:30 +01:00
Ken Thomases
3f807e7a1a winemac: Implement WGL_EXT_swap_control. 2013-03-06 12:57:26 +01:00
Ken Thomases
9c29be680c winemac: Implement WGL_NV_render_texture_rectangle. 2013-03-06 12:57:21 +01:00
Ken Thomases
8bbf09b412 winemac: Implement WGL_ARB_render_texture. 2013-03-06 12:57:17 +01:00
Ken Thomases
be7231bea3 winemac: Implement WGL_ARB_pbuffer. 2013-03-06 12:57:11 +01:00
Ken Thomases
0ce3761655 winemac: Implement WGL_ARB_pixel_format and enable dependent extensions. 2013-03-06 12:57:04 +01:00
Ken Thomases
8d0d95c033 winemac: Implement WGL_ARB_make_current_read. 2013-03-06 12:56:43 +01:00
Ken Thomases
3f3ee6393d winemac: Implement OpenGL support. 2013-03-06 12:56:12 +01:00
Ken Thomases
c76f0beeab winemac: Fail gracefully and early when run from a non-GUI session. 2013-03-05 09:50:02 +01:00
Ken Thomases
9b0fdc645f winemac: Implement ClipCursor(). 2013-02-25 10:40:39 +01:00
Ken Thomases
5c933c89ad winemac: Implement SetCursorPos(). 2013-02-25 10:40:39 +01:00