99000 Commits

Author SHA1 Message Date
Ken Thomases
94cfa7799b winemac: For WINDOW_DID_UNMINIMIZE events, don't attempt to restore windows which aren't minimized and visible.
The Win32 window state might have changed while the event was in the queue,
making it obsolete.  Sending WM_SYSCOMMAND/SC_RESTORE might re-show a hidden
window, for example.
2013-12-31 12:31:33 +01:00
Ken Thomases
bcde44fb8a winemac: Explicitly unhide the app early when showing windows.
Cocoa would implictly unhide it when we order a window, anyway.  Doing it
early avoids problems from querying -[NSWindow isVisible] while the app is
hidden.  That method returns FALSE even for windows which would be visible
if the app weren't hidden.
2013-12-31 12:31:29 +01:00
Ken Thomases
ae47323604 winemac: Track whether our windows would be visible if the process weren't hidden.
The -[NSWindow isVisible] method returns FALSE when the process is hidden,
but that's not what we need to know in some cases.

This fixes full-screen games which minimize their window when they lose
focus.  Command-Tabbing away hides the process.  Because the window was not
visible, the code didn't actually minimize it.  When switching back to the
process, no event was sent to the Wine back-end telling it the window had
been restored, so it never resumed drawing to it.
2013-12-31 12:31:21 +01:00
Ken Thomases
6447e8e75c winemac: Defer adjusting window levels while the process is hidden.
While the process is hidden, it can't get a list of its windows which would
be visible were it not hidden.
2013-12-31 12:31:15 +01:00
Nikolay Sivov
3cd677958c shell32: Implement SHCreateQueryCancelAutoPlayMoniker() with some tests. 2013-12-31 12:27:23 +01:00
Nikolay Sivov
6fa197f537 include: Added IQueryCancelAutoPlay definition. 2013-12-31 12:27:12 +01:00
Nikolay Sivov
f041c2c554 ole32: Call moniker methods with proper wrappers. 2013-12-31 12:27:05 +01:00
Frédéric Delanoy
0e7e87875c wininet/tests: Constify some character strings. 2013-12-31 12:25:04 +01:00
Frédéric Delanoy
e7f8e9e81d winhttp/tests: Constify a character string. 2013-12-31 12:25:01 +01:00
Frédéric Delanoy
b1fd27eb2d version/tests: Constify some character strings. 2013-12-31 12:24:52 +01:00
Frédéric Delanoy
5e94a5d4c9 user32/tests: Constify some character strings. 2013-12-31 12:24:49 +01:00
Frédéric Delanoy
e4c76bb3ca urlmon/tests: Constify some character strings. 2013-12-31 12:24:37 +01:00
Bruno Jesus
719715c774 ws2_32: Cope with invalid hints in getaddrinfo/GetAddrInfoW. 2013-12-31 12:24:30 +01:00
Bruno Jesus
3eb39dc08e ws2_32: Add extended IPX protocol support. 2013-12-31 12:23:52 +01:00
Bruno Jesus
2d4adfc49e ws2_32: Use a helper function to set the IPX packet type. 2013-12-31 12:23:37 +01:00
Bruno Jesus
b26ffddc8f ws2_32: Add a missing release_sock_fd. 2013-12-31 12:23:21 +01:00
Michael Stefaniuc
7474a37050 dmusic/tests: Don't crash with old dmusic versions. 2013-12-31 12:23:04 +01:00
Jacek Caban
47cc78c454 qcap: Added AVI compressor Start and Stop implementations. 2013-12-31 12:23:00 +01:00
Jacek Caban
0414557ef7 qcap: Added AVICompressorOut_DecideBufferSize implementation. 2013-12-31 12:22:57 +01:00
Jacek Caban
6b30b6fb4e qcap: Added AVICompressorOut_GetMediaType implementation. 2013-12-31 12:22:54 +01:00
Jacek Caban
56fa8f1cc5 qcap: Added AVICompressorIn_ReceiveConnection implementation. 2013-12-31 12:22:51 +01:00
Jacek Caban
1a2c6b9570 qcap: Added AVICompressorIn_CheckMediaType implementation. 2013-12-31 12:22:40 +01:00
Jacek Caban
d45241dd91 qcap: Added IPersistPropertyBag::Load implementation. 2013-12-31 12:22:17 +01:00
Alexandre Julliard
a414681648 oleaut32: Don't create non-existent typelib files. 2013-12-30 20:35:02 +01:00
Alexandre Julliard
6ee09e4d3c makedep: Generate rules for API documentation. 2013-12-30 20:23:16 +01:00
Alexandre Julliard
8bf0f5fe6d makedep: Generate rules for test binaries. 2013-12-30 20:19:33 +01:00
Alexandre Julliard
908dada662 makedep: Generate rules for static libraries. 2013-12-30 20:17:36 +01:00
Alexandre Julliard
a37ef65ea8 makedep: Generate rules for import libraries. 2013-12-30 20:14:45 +01:00
Alexandre Julliard
f6479c0513 makedep: Generate rules for the main module. 2013-12-30 20:08:13 +01:00
Alexandre Julliard
8d6e916168 makedep: Keep track of object files in separate arrays. 2013-12-30 20:07:02 +01:00
Piotr Caban
ed2d53a36a msvcrt: Don't write to buffer in ungetc if _IOSTRG flag is specified. 2013-12-30 19:44:08 +01:00
Piotr Caban
6122c2ba37 msvcrt: Convert data to multibyte encoding in ungetwc if needed. 2013-12-30 19:44:02 +01:00
Jacek Caban
71687bef17 qcap: Added AVI compressor output pin stub implementation. 2013-12-30 19:43:57 +01:00
Jacek Caban
792c53ad25 qcap: Added AVI compressor input pin stub implementation. 2013-12-30 19:43:51 +01:00
Jacek Caban
cd90d8fdd8 qcap: Added IPersistPropertyBag stub implementation to AVI compressor. 2013-12-30 19:43:45 +01:00
Dmitry Timoshkov
2d05a63390 advapi32/tests: Test generic access mapping for a file. 2013-12-30 19:01:58 +01:00
Dmitry Timoshkov
683a1dc943 advapi32/tests: Test generic access mapping for a pipe. 2013-12-30 19:01:57 +01:00
Dmitry Timoshkov
8b91e6e41e advapi32/tests: Test generic access mapping for a semaphore. 2013-12-30 19:01:56 +01:00
Dmitry Timoshkov
3fa43b6b65 advapi32/tests: Test generic access mapping for an event. 2013-12-30 19:01:56 +01:00
Dmitry Timoshkov
8caa9f351d advapi32/tests: Test generic access mapping for a mutex. 2013-12-30 19:01:55 +01:00
Alexandre Julliard
e03bfb482f scrrun: Add missing ITextStream id. 2013-12-30 19:01:54 +01:00
Alexandre Julliard
200eb1d30b gdi32: Trigger the display driver load for CreateCompatibleDC(0). 2013-12-30 19:01:53 +01:00
Alexandre Julliard
7c3bb6070a gdi32: Don't bother returning the driver module from DRIVER_load_driver. 2013-12-30 19:01:52 +01:00
Jacek Caban
754e621613 msrle32/tests: Added tests. 2013-12-30 19:01:51 +01:00
Ken Thomases
66736b4ab3 winemac: Implement support for maximizing windows.
The user is prevented from moving or resizing a maximized window.  The zoom
button is still present and enabled for a maximized window but requests that
it be restored rather than simply resizing it, which is what it does for
normal windows.

If a window is not resizable (lacks WS_THICKFRAME) but has a maximize box
(WS_MAXIMIZEBOX), then the zoom button requests that it be maximized rather
than resizing it.
2013-12-30 19:01:50 +01:00
Ken Thomases
0137b07973 winemac: Allow programmatic changes of the window frame even if a window is disabled (prevented from resizing). 2013-12-30 19:01:49 +01:00
Ken Thomases
8876751e93 winemac: Prevent disabled windows from being moved.
This won't be enforced if AllowImmovableWindows=n is set in the registry.
2013-12-30 19:01:48 +01:00
Ken Thomases
5f7b30aee2 winemac: Move some state-based feature adjustment into the -adjustFeaturesForState method. 2013-12-30 19:01:47 +01:00
Ken Thomases
2d1396af32 winemac: Extract some duplicated code to a new perform_window_command() function.
This also changes to posting rather than sending WM_SYSCOMMAND/SC_MINIMIZE.
2013-12-30 19:01:47 +01:00
Ken Thomases
2c6ad1829d winemac: Don't check the state of the SC_MINIMIZE item of the window menu when asked to minimize.
The window menu items are not updated as the window state changes; they only
update when the menu is shown.  So the item state is not a reliable indicator
of whether minimization is allowed.
2013-12-30 19:01:46 +01:00