Commit Graph

78165 Commits

Author SHA1 Message Date
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