Sebastian Lackner
3caa4e035d
kernel32: Prevent endless loop if NtQuerySystemInformation fails.
2014-01-01 20:45:31 +01:00
Stefan Dösinger
4734771f28
d3dx9_36: Make NUM_ELEM a define.
2014-01-01 20:45:29 +01:00
Stefan Dösinger
dcb101666b
d3dx9_36: Use SIZE_T for some iterators.
2014-01-01 20:45:28 +01:00
Stefan Dösinger
ebfdcc9c9a
d3dx9_36/tests: Use D3DX_PI instead of M_PI.
2014-01-01 20:45:27 +01:00
Stefan Dösinger
f6c90ec59f
d3dx9_36: Use D3DX_PI instead of M_PI.
2014-01-01 20:45:26 +01:00
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