Commit Graph

78301 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 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
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
Nikolay Sivov aa4ebeb57c ntdll: Fix return value when failed to locate resource. 2013-12-30 19:01:45 +01:00
Nikolay Sivov 031c027262 ntdll: Open source file only when needed during context creation. 2013-12-30 19:01:44 +01:00
Michael Stefaniuc 0c4b3514a5 dmusic/tests: Add some COM tests for IDirectMusic/IDirectMusicCollection. 2013-12-30 19:01:43 +01:00
Michael Stefaniuc 645ca7504e dmusic/tests: Centralize the skip(). 2013-12-30 19:01:42 +01:00
Michael Stefaniuc 5f5c21e55d dmusic: These COM classes don't support COM aggregation. 2013-12-30 19:01:42 +01:00
Frédéric Delanoy 36e8004291 shlwapi/tests: Constify some character strings. 2013-12-30 19:01:41 +01:00
Frédéric Delanoy bdce3b9994 shlwapi/tests: Fix StrChrNW prototype. 2013-12-30 19:01:40 +01:00
Frédéric Delanoy 7b9058c87a shell32/tests: Constify some character strings. 2013-12-30 19:01:39 +01:00
Frédéric Delanoy 844ea00392 shdocvw/tests: Constify some character strings. 2013-12-30 19:01:38 +01:00
Frédéric Delanoy 9ad67a9a8e secur32/tests: Constify a character string. 2013-12-30 19:01:37 +01:00
Frédéric Delanoy fe7f9e5fbb scrrun/tests: Constify a character string. 2013-12-30 19:01:37 +01:00
Frédéric Delanoy 7d8f8dbad9 qedit/tests: Constify some character strings. 2013-12-30 19:01:36 +01:00
Bruno Jesus ae728cfa27 ws2_32: Add support to check if an IPX socket is bound. 2013-12-30 16:05:17 +01:00
Bruno Jesus 38a3a574f3 ws2_32: Add support to print IPX socket address. 2013-12-30 16:05:14 +01:00
Bruno Jesus b8e9bbd4d0 ws2_32/tests: Fix some test message typos. 2013-12-27 20:28:16 +01:00
Bruno Jesus 658c2b5f28 ws2_32: Normalize IPX protocol names using the WS prefix. 2013-12-27 18:21:29 +01:00
Dmitry Timoshkov c0ecc10257 taskschd: Add registration for TaskScheduler interfaces. 2013-12-27 14:31:54 +01:00
Dmitry Timoshkov 58b1b6b77f taskschd: Add Task Scheduler class factory. 2013-12-27 14:31:54 +01:00
Dmitry Timoshkov b060096400 taskschd: Add ITaskService stub implementation. 2013-12-27 14:31:54 +01:00
Frédéric Delanoy 0a51a8203b oledb32/tests: Constify some character strings. 2013-12-27 14:31:53 +01:00
Frédéric Delanoy 43d05cc59e ole32/tests: Constify some character strings. 2013-12-27 14:31:53 +01:00
Frédéric Delanoy dfe6a9b200 oleaut32/tests: Constify some character strings. 2013-12-27 14:31:53 +01:00
Frédéric Delanoy 8a4e5ec68b msxml3/tests: Constify some character strings. 2013-12-27 14:31:53 +01:00
Frédéric Delanoy 1181c850dd ntdll/tests: Constify a character string. 2013-12-27 14:31:53 +01:00
Frédéric Delanoy 1d36b93f7e msi/tests: Constify some character strings. 2013-12-27 14:31:52 +01:00
Bruno Jesus fc5884c232 ws2_32: Do not convert EAI_xxx return in case of success. 2013-12-27 14:31:52 +01:00
Alexandre Julliard 263a1448f9 msvcp: Don't assume that msvcrt is imported. 2013-12-27 14:31:52 +01:00
Alexandre Julliard db0a6fcaa5 msvcp: Don't forward the mbtowc functions to msvcrt. 2013-12-27 14:31:52 +01:00
Alexandre Julliard b2d030a9ca msvcp: Don't forward __uncaught_exception to msvcrt. 2013-12-27 14:31:52 +01:00
Alexandre Julliard 64b21eee94 makedep: Generate rules for TrueType fonts in maintainer mode. 2013-12-27 14:31:51 +01:00
Dmitry Timoshkov bfb4f28dc5 ntdll: Implement NtQuerySemaphore/SemaphoreBasicInformation. 2013-12-26 16:51:07 +01:00
Dmitry Timoshkov c66c14ddda ws2_32: Move the buffer used by inet_ntoa into the per-thread data. 2013-12-26 14:35:14 +01:00
Dmitry Timoshkov 3a56f9b956 ws2_32/tests: Add a test for inet_ntoa called from two threads. 2013-12-26 14:35:13 +01:00
Dmitry Timoshkov 7fd3d9d499 ws2_32: Add more traces. 2013-12-26 14:35:13 +01:00
Dmitry Timoshkov e25853c543 ws2_32: Add translation for AI_V4MAPPED. 2013-12-26 13:46:32 +01:00
Dmitry Timoshkov 83a1789c55 ws2_32: Add a workaround for broken versions of glibc which return EAI_SYSTEM and set errno to 0 instead returning of EAI_NONAME. 2013-12-26 13:44:59 +01:00
André Hentschel a803c496b2 kernel32/tests: Accept more win8 return values. 2013-12-26 13:44:34 +01:00
André Hentschel 5a6d38c2bd kernel32: Adapt input checking in OpenConsoleW to match win8 behaviour. 2013-12-26 13:42:55 +01:00
Alexandre Julliard 566d3418af makedep: Add a separate pragma flag for typelibs that need registration. 2013-12-26 13:32:49 +01:00
Frédéric Delanoy 4962b2f8be localui/tests: Constify some character strings. 2013-12-24 11:23:02 +01:00
Frédéric Delanoy 181004bf92 localspl/tests: Constify some character strings. 2013-12-24 11:22:58 +01:00
Frédéric Delanoy 5f6b0d0027 kernel32/tests: Constify some character strings. 2013-12-24 11:22:52 +01:00
Frédéric Delanoy ab159ead21 infosoft/tests: Constify a character string. 2013-12-24 11:22:44 +01:00
Frédéric Delanoy ff304fb5c7 inetcomm/tests: Constify some character strings. 2013-12-24 11:22:11 +01:00
Frédéric Delanoy 3ad692d483 imagehlp/tests: Constify some character strings. 2013-12-24 11:22:03 +01:00
Alexandre Julliard e54503f708 ntdll: Allocate TLS data in all running threads on module load. 2013-12-23 18:39:58 +01:00
Alexandre Julliard 1a4eca6f16 ntdll: Allocate TLS slots dynamically on module load. 2013-12-23 18:39:58 +01:00
Alexandre Julliard 384d698a9e ntdll: Allocate a separate pointer for each TLS slot. 2013-12-23 18:39:58 +01:00
Zhenbo Li f39c64a85c kernel32/tests: Add some tests for DeleteFileA. 2013-12-23 18:39:58 +01:00
Nikolay Sivov 3740b2bbcf oleacc: Added DllGetClassObject() stub. 2013-12-23 18:39:58 +01:00
Sebastian Lackner 09bb38d12b ntdll/tests: Add test for _snprintf. 2013-12-23 18:39:55 +01:00
Sebastian Lackner 3c2dc4a7b3 ntdll: Allow passing NULL buffer to printf functions. 2013-12-23 12:05:07 +01:00
Dmitry Timoshkov 73edf08041 taskschd: Add new dll. 2013-12-23 12:05:06 +01:00
Andrey Gusev fe57612c1c d3d8: Added missing hyphen in WARN message. 2013-12-23 11:54:31 +01:00
Frédéric Delanoy 4849e57866 hlink/tests: Constify some character strings. 2013-12-23 11:54:31 +01:00
Frédéric Delanoy cc97a2385a gdi32/tests: Constify a character string. 2013-12-23 11:54:31 +01:00
Frédéric Delanoy 9f2ebd7736 faultrep/tests: Constify some character strings. 2013-12-23 11:54:31 +01:00
Frédéric Delanoy ad906531b2 dnsapi/tests: Constify a character string. 2013-12-23 11:54:31 +01:00
Frédéric Delanoy 90d1e9471b crypt32/tests: Constify some character strings. 2013-12-23 11:54:30 +01:00
Frédéric Delanoy 4ef6d4a6ad comcat/tests: Constify some character strings. 2013-12-23 11:54:30 +01:00
Alexandre Julliard 91356c3bed msvcp100: Implement _Locinfo::_Getname. 2013-12-23 11:54:28 +01:00
Alexandre Julliard 6e47b1691b msvcp90: Work around Mingw duplicate encode/decode_pointer definition. 2013-12-21 12:50:32 +01:00
Alexandre Julliard b6e5496da4 msvcp90: Avoid mismatched parentheses inside ifdefs. 2013-12-21 12:43:09 +01:00
Huw Davies 72297ebfbb mshtml: Remove a double-Release. 2013-12-20 17:09:12 +01:00
Andrey Gusev 9970e29589 d3dx9_36: Add one more missing f suffix. 2013-12-20 17:09:12 +01:00
Alexandre Julliard c3f70de66e msvcp: Import the corresponding version of the msvcr library. 2013-12-20 17:09:12 +01:00
Alexandre Julliard ec7d714464 msvcr: Add import libraries for all versions. 2013-12-20 17:09:11 +01:00
Sebastian Lackner 805311f798 ntdll: Don't do further calls to pf_output_stringA if previous call failed. 2013-12-20 17:09:09 +01:00
Sebastian Lackner 29de7dd60b ntdll: Handle error if RtlAllocateHeap fails in printf functions. 2013-12-20 11:13:11 +01:00
Sebastian Lackner 661212b5f5 ntdll: Fix incorrect value added to out->used in pf_output_stringA. 2013-12-20 11:13:11 +01:00
Austin English 2a3932a0a2 ntdll: Export a few more functions. 2013-12-20 10:54:16 +01:00
Austin English 0dac887f48 ntdll: Return success for FSCTL_IS_VOLUME_MOUNTED ioctl. 2013-12-20 10:51:52 +01:00
Frédéric Delanoy 3e9b7b5992 advapi32/tests: Constify some character strings. 2013-12-20 10:51:41 +01:00
Jacek Caban 99c96b0f01 qcap: Added CLSID_AVICo stub implementation. 2013-12-19 17:30:31 +01:00
Stefan Dösinger af3a59cbd0 d3dx9_36: Add missing f suffixes. 2013-12-19 17:30:30 +01:00
Hans Leidekker 2f3c474e41 advapi32: Avoid a crash when storing credentials on MacOS. 2013-12-19 17:10:30 +01:00
Hans Leidekker f222582af6 msi: Don't add text to the scrollable text control twice. 2013-12-19 17:10:26 +01:00
Frédéric Delanoy 78cf65abb1 xmllite: Constify some character strings. 2013-12-19 17:09:19 +01:00
Frédéric Delanoy 43d6a45c4e wininet: Constify some character strings. 2013-12-19 17:09:14 +01:00
Frédéric Delanoy f2e1589b34 winemac.drv: Constify a character string. 2013-12-19 17:09:08 +01:00
Frédéric Delanoy f2b0ed0611 wer: Constify a character string. 2013-12-19 17:08:53 +01:00
Alexandre Julliard 6d30d6be78 msvcp100: Share the source code with msvcp90. 2013-12-19 17:06:09 +01:00
Alexandre Julliard 40a64912ae msvcp90: Set the thiscall parameter count according to the size of the stream size and offset types. 2013-12-19 17:06:07 +01:00
Alexandre Julliard a8202d0e11 msvcp: Add macros to switch the string type used in the locale information structure. 2013-12-19 12:22:14 +01:00
Alexandre Julliard 0a59471c99 msvcp90: Always print stream sizes and offsets as long long to support various sizes. 2013-12-19 12:22:12 +01:00
Frédéric Delanoy 7102459c60 setupapi: Constify a character string. 2013-12-18 11:39:58 +01:00
Frédéric Delanoy 62da5f2604 usp10: Constify a character string. 2013-12-18 11:39:36 +01:00
Frédéric Delanoy a0a1a5fca5 scrrun: Constify a character string. 2013-12-18 11:39:32 +01:00
Frédéric Delanoy 44c1ba9f9e rpcrt4: Constify a character string. 2013-12-18 11:39:29 +01:00
Frédéric Delanoy 1c972c5987 msxml3: Constify a character string. 2013-12-18 11:39:24 +01:00
Frédéric Delanoy 1983448942 msi: Constify a character string. 2013-12-18 11:34:53 +01:00
Stefan Leichter adbc691d20 setupapi/tests: Test signature $Windows NT$ in SetupDiGetINFClassA too. 2013-12-18 11:33:31 +01:00
Stefan Leichter 6aace3014d setupapi: Support signature $Windows NT$ in SetupDiGetINFClassA/W too. 2013-12-18 11:33:26 +01:00
Ken Thomases 77f0a63b4f winemac: When ClipCursor() is called redundantly, don't warp the cursor or discard mouse move events.
Fixes a problem in some games which repeatedly (re)establish the same cursor
clipping rect, making it exceedingly difficult to move the camera with the
mouse.
2013-12-17 16:53:44 +01:00
Ken Thomases b877885400 winemac: When dragging an undecorated window, keep the title bar vertically within the work area.
In particular, keep the title bar from moving behind the menu bar or Dock (when
it's on the bottom).
2013-12-17 16:53:36 +01:00
Ken Thomases b423532f94 user32: In WINPOS_SysCommandSizeMove(), fix constraining a point to a rect's right and bottom edges. 2013-12-17 16:36:45 +01:00
André Hentschel 2692b9d2ca ntdll: Trace NtFlushInstructionCache on x86_64. 2013-12-17 16:36:28 +01:00
Frédéric Delanoy ff9bbe3721 mshtml: Constify a character string. 2013-12-17 08:45:44 +01:00
Frédéric Delanoy 3c6a4fe554 mscoree: Constify a character string. 2013-12-17 08:45:40 +01:00
Frédéric Delanoy 37d1753a5d joy.cpl: Constify some character strings. 2013-12-17 08:45:36 +01:00
Frédéric Delanoy c4ba190ba3 inetcomm: Constify some character strings. 2013-12-17 08:45:32 +01:00
Frédéric Delanoy 5605db6b94 krnl386.exe16: Use BOOL type where appropriate. 2013-12-17 08:43:08 +01:00
Frédéric Delanoy b160c733a8 advapi32: Constify a character string. 2013-12-17 08:42:49 +01:00
Alexandre Julliard 7ef6e00633 msvcp71: Share the locale.c implementation with msvcp90. 2013-12-16 21:56:14 +01:00
Alexandre Julliard a7a149fde1 msvcp71: Share the ios.c implementation with msvcp90. 2013-12-16 21:55:46 +01:00
Alexandre Julliard 40f175f926 msvcp71: Share the string.c implementation with msvcp90. 2013-12-16 21:55:44 +01:00
Alexandre Julliard 0da244851f msvcp90: Add MSVCP_ prefix on more of the string iterator functions. 2013-12-16 21:55:43 +01:00
Alexandre Bique 5af5179313 ntdll: Fixme once for NtFlushInstructionCache(). 2013-12-16 16:11:36 +01:00
Alexandre Bique ffccadd335 winealsa.drv: midiSeq must be protected by a critical section. 2013-12-16 16:10:40 +01:00
Nikolay Sivov 40c8d6aa0a msxml3: Store document url in properties so every instance could see it. 2013-12-16 16:08:39 +01:00
Frédéric Delanoy d066561625 dbghelp: Constify some character strings. 2013-12-16 12:02:49 +01:00
Alexandre Julliard ca41acc1f9 makefiles: Automatically update the IDL_H_SRCS variable. 2013-12-15 10:23:06 +01:00
Alexandre Julliard 4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Stefan Dösinger fb75292875 wined3d: Don't store user memory in allocatedMemory. 2013-12-13 16:55:30 +01:00
Stefan Dösinger a1762ba8a4 wined3d: Don't check for render target usage in wined3d_surface_set_mem.
Ddraw and d3d9 already take care of this.
2013-12-13 16:55:28 +01:00
Dmitry Timoshkov 25a0375432 secur32/tests: Add a test for QueryCredentialsAttributes(SECPKG_CRED_ATTR_NAMES). 2013-12-13 16:21:08 +01:00
Dmitry Timoshkov 476f57fd63 secur32/tests: Make sure that QueryContextAttributes(SECPKG_ATTR_STREAM_SIZES) succeeds. 2013-12-13 14:37:42 +01:00
Dmitry Timoshkov 79511d98b7 secur32/tests: Use LoadLibrary instead of GetModuleHandle to load advapi32.dll APIs. 2013-12-13 14:37:40 +01:00
Henri Verbeet 4e7b62a46d wined3d: Get rid of unused palette flags. 2013-12-13 12:36:11 +01:00
Henri Verbeet f27bb660b3 wined3d: Explicitly pass the palette size to wined3d_palette_create(). 2013-12-13 12:36:11 +01:00
Henri Verbeet 89dedf6408 ddraw: Just set the palette caps in ddraw7_GetCaps(). 2013-12-13 12:36:11 +01:00
Henri Verbeet b9ab54a09a ddraw/tests: Add a test for palettes on primary surfaces. 2013-12-13 12:36:11 +01:00
Henri Verbeet c5a8b933af ddraw: Unset the primary surface's palette when the palette is released. 2013-12-13 12:36:10 +01:00
Frédéric Delanoy e0b68129fa winemac.drv: Use BOOL type where appropriate. 2013-12-13 12:36:10 +01:00
Michael Stefaniuc 4281d19d76 oleaut32: Cast to the correct type instead to void pointer. 2013-12-13 12:36:10 +01:00
Ken Thomases 03f8f85dda user32: Respect monitor work area when sizing or moving a top-level window.
This prevents dragging a window's title bar behind a menu bar across the top
of a screen, for example.
2013-12-13 12:36:08 +01:00
Ken Thomases 304ab65dbf user32: Fix distance calculation for MONITOR_DEFAULTTONEAREST.
If the target rect is outside a monitor rect but is between its extremes in
one dimension, that dimension should contribute 0 to the distance, rather than
some arbitrary amount.
2013-12-13 12:05:27 +01:00
Stefan Dösinger cc978c90d4 ddraw/tests: Use correct ddraw COM macros. 2013-12-12 19:21:37 +01:00
Stefan Dösinger f53d83cf26 ddraw: Sysmem overlays are not allowed. 2013-12-12 19:21:37 +01:00
Stefan Dösinger 0fdb1aaff6 ddraw: SetSurfaceDesc does not work on primaries. 2013-12-12 19:21:36 +01:00
Stefan Dösinger 03fe6f3e07 d3d9/tests: Test user memory and getdc interaction. 2013-12-12 19:21:36 +01:00
Frédéric Delanoy cc6f9c36cd wined3d: Use BOOL type where appropriate. 2013-12-12 19:21:36 +01:00
Frédéric Delanoy 8a10493e6b krnl386.exe16: Use BOOL type where appropriate. 2013-12-12 19:21:35 +01:00
Dmitry Timoshkov ba1b572da2 crypt32: Add support for decoding serial number property in the certificate attributes. 2013-12-12 12:27:29 +01:00
Henri Verbeet d5863f7f40 ddraw: Set DDPCAPS_PRIMARYSURFACE when attaching a palette to the primary surface. 2013-12-12 12:08:25 +01:00
Henri Verbeet bf7f80f4b3 ddraw: Store the palette flags in the ddraw palette. 2013-12-12 12:08:23 +01:00
Henri Verbeet 9651079ff9 ddraw: Don't set the palette on attached backbuffers in ddraw_surface7_SetPalette().
Tests show this is just wrong. This patch fixes a regression introduced by
commit 74e3f516bc.
2013-12-12 12:08:19 +01:00
Henri Verbeet 1f0bb534ec ddraw: Keep a reference to the palette in the surface. 2013-12-12 12:08:16 +01:00
Henri Verbeet 27dc41d0dc wined3d: Fix the source swizzle for WINED3DSIH_LOG and WINED3DSIH_LOGP. 2013-12-12 12:08:09 +01:00
Andrew Eikum 46cb582a71 dinput: Fix logging typos. 2013-12-12 12:07:08 +01:00
Ken Thomases f068e329c1 winemac: Send WM_{ENTER, EXIT}SIZEMOVE before/after window dragging and run an internal event loop during.
This simulates some of what would happen if user32 were managing the drag.  The
click in the caption would cause WM_SYSCOMMAND/SC_MOVE.  The processing of that
message is synchronous and doesn't return until the move is complete.

Some games require that "blocking" in the internal event loop to prevent them
from misbehaving during the drag.
2013-12-12 12:06:47 +01:00
Ken Thomases b3cc34e5b0 winemac: While a window is being dragged, suppress mouse events and disable cursor clipping and warping. 2013-12-12 12:06:39 +01:00
Ken Thomases cd10a0df5e winemac: Consolidate the logic for deciding if cursor clipping should be active. 2013-12-12 12:06:38 +01:00
Ken Thomases e3dd277586 winemac: Don't change window order for SetFocus().
This fixes a problem where some apps move their window to the front after
the user switches away to another app.  OS X prevents the background app
from actually coming in front of the active app's front window, but the
window gets ordered in second place, possibly obscuring other windows of the
active app.
2013-12-12 12:06:35 +01:00
Alexandre Julliard fb4441df73 user32: Don't check for comctl32 class for integer atoms. 2013-12-12 12:05:36 +01:00
Jacek Caban f50ead6358 oleaut32: Check OANOCACHE variable only on process attach. 2013-12-11 19:35:47 +01:00
Stefan Dösinger 78fda5cea0 wined3d: Rename surface_load_pbo to surface_create_pbo. 2013-12-11 18:17:02 +01:00
Stefan Dösinger 4de7249d23 wined3d: Call buffer_get_memory in surface_load_pbo. 2013-12-11 18:17:01 +01:00
Stefan Dösinger 800571c015 wined3d: Use surface_get_memory in surface_download_data. 2013-12-11 18:17:01 +01:00
Stefan Dösinger 5a656dead6 ddraw/tests: Test user memory and getdc interaction.
Some Windows Media Player 9 visualization plugins used ddraw in this way
to get a dc for their custom memory allocations.
2013-12-11 18:17:00 +01:00
Stefan Dösinger 9b67b1b8a1 wined3d: Support getdc with user memory. 2013-12-11 18:17:00 +01:00
Akihiro Sagawa a88a121059 gdi32: Use ANSI character code as glyph index for bitmap fonts. 2013-12-11 18:16:59 +01:00
Akihiro Sagawa 882398b0a9 gdi32: Return ANSI character code as glyph index for bitmap fonts. 2013-12-11 16:30:22 +01:00
Austin English bfafb1ffc5 dinput: Consistently use GetCurrentTime(). 2013-12-11 16:26:01 +01:00
Huw Davies 710e3bc5ec wbemprox: Add a partial implementation of Win32_PhysicalMedia. 2013-12-11 15:15:06 +01:00
Henri Verbeet c8852c3ee3 wined3d: Fix the source swizzle for WINED3DSIH_EXPP. 2013-12-11 15:15:01 +01:00
Henri Verbeet 6e9acca1f4 wined3d: Fix the source swizzle for WINED3DSIH_EXP. 2013-12-11 15:14:58 +01:00