Commit Graph

78266 Commits

Author SHA1 Message Date
Stefan Dösinger 1e9fe22f4c wined3d: Fix an msvc warning. 2014-01-01 20:45:25 +01:00
Marcus Meissner 88923cd6f3 msxml3: Avoid double free of str (Coverity). 2014-01-01 20:45:21 +01:00
Marcus Meissner 84a51f64ca setupapi: Do not free stack pointers (Coverity). 2014-01-01 20:45:20 +01:00
Marcus Meissner a21c489f0f mmsystem.dll16: Free the correct pointer (Coverity). 2014-01-01 20:45:19 +01:00
Marcus Meissner ba8cacebf3 gdiplus: Free the correct pointer (Coverity). 2014-01-01 19:59:30 +01:00
Nikolay Sivov 1e1084232d ntdll: Fix manifest attribute parsing. 2014-01-01 19:32:56 +01:00
Francois Gouget b6ba53e572 gdi32/tests: Fix a flood of failures on Windows XP SP1 and 2003 pre-SP1. 2014-01-01 11:45:00 +01:00
Dmitry Timoshkov 07e7f40dc9 xmllite: Constify pointers in arrays that hold const data. 2014-01-01 11:44:25 +01:00
Dmitry Timoshkov 1be348ea51 xmllite: Use wine_dbg_sprintf instead of a static buffer. 2014-01-01 11:44:21 +01:00
Alexandre Julliard 1adaad4c89 makefiles: Remove no longer needed dlldata.o and testlist.o extra objects. 2013-12-31 19:05:12 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Dmitry Timoshkov 3b8f4a280c cabinet: Remove a no longer valid comment about seeking and restoring CAB position. 2013-12-31 16:18:48 +01:00
Dmitry Timoshkov 4ddb9f6915 cabinet: Read CAB size from the file header instead of calling FDI seek callback with SEEK_END.
SEEK_END is not supported by some callback implementations.
2013-12-31 16:18:28 +01:00
Dmitry Timoshkov 3cb5b93db9 cabinet/tests: Add an FDICopy test which emulates extracting from a memory block. 2013-12-31 16:18:08 +01:00
Ken Thomases 4f9de6bcdf winemac: More thoroughly discard events which have been obsoleted by subsequent Wine- or program-driven changes.
Among other things, this fixes Syberia 2.  That game shows, hides, and then
shows its window.  Hiding it caused a WINDOW_LOST_FOCUS event to be queued.
By the time it was processed, the window was the foreground window again.
In response to being told it had lost focus, the game minimized its window.

Hiding the window should have prevented or discarded the WINDOW_LOST_FOCUS
event since the change was driven from Wine and the Win32 foreground/active
window state would already be correct.  In addition, when the program
re-showed its window and made it foreground, that should have discarded the
event as being out of date.  Now they do.
2013-12-31 12:31:39 +01:00
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