Commit Graph

49750 Commits

Author SHA1 Message Date
Michael Stefaniuc 5cc257e5c2 d3d10: Remove superfluous NULL check before HeapFree (Smatch). 2010-01-18 14:17:07 +01:00
Stefan Leichter 5ef5ead15f user.exe: Forward WNetGetUser16 to WNetGetUserA of mpr.dll, based on a patch from Andrew Nguyen. 2010-01-18 14:16:59 +01:00
André Hentschel a657380612 msvcrt: Forward __C_specific_handler to ntdll. 2010-01-18 14:16:04 +01:00
Dmitry Timoshkov 7639ea3184 winmm: Buffer size must be at least MMIO_DEFAULTBUFFER (8192) bytes.
mmioOpen() with the length of buffer set to 0 expects the buffer to be at least
MMIO_DEFAULTBUFFER (8192) bytes in size, and using buffer of smaller size can
lead to various problems when the buffer actually gets used.
2010-01-18 14:15:43 +01:00
James Hawkins 72158ac286 Revert "advapi32: Free descriptor if it isn't returned from GetSecurityInfo().".
This reverts commit dbd76575ef.

According to MSDN, ppSecurityDescriptor must not be NULL if any of the
SID or ACL parameters are non-NULL.  This is wrong, and native
GetSecurityInfo will happily return those pointers, leaving one unable
to free the original security descriptor.
2010-01-18 14:15:23 +01:00
Alexandre Julliard 539da1b073 winebuild: Output the 16-bit asm relay functions as needed and get rid of --relay16 mode. 2010-01-16 15:58:48 +01:00
Alexandre Julliard 10e4a55b6c winebuild: Output the asm relay functions as needed and get rid of --relay32 mode. 2010-01-16 15:50:27 +01:00
Alexandre Julliard 102dd9e92f winebuild: Rename __wine_call_from_32_regs for consistency with 64-bit. 2010-01-16 15:41:48 +01:00
Erich Hoover c7ccf24020 ntoskrnl: Forward ExSystemTimeToLocalTime and ExLocalTimeToSystemTime to ntdll. 2010-01-14 11:25:34 -06:00
Kusanagi Kouichi 529b183397 user32: Make DefWindowProc handle Shift+F10. 2010-01-14 10:59:33 -06:00
Kusanagi Kouichi 95676b50f8 user32/tests: Add test for Shift+F10. 2010-01-14 10:59:28 -06:00
Jacek Caban 56f26c1e19 mshtml: Silence invalid FIXME. 2010-01-14 10:22:44 -06:00
Jacek Caban b5caee220d mshtml: Added IHTMLIFrameElement IDispatchEx support. 2010-01-14 10:22:39 -06:00
Jacek Caban 91140222b5 mshtml: Added IHTMLIFrameElement stub implementation. 2010-01-14 10:22:35 -06:00
Jason Edmeades 81d8135424 comctl32/listview: Issue LVM_DELETEALLITEMS from WM_DESTROY. 2010-01-14 10:22:23 -06:00
Marcus Meissner 44ab484af8 dplayx: Remove currently unused unicode code (Coverity). 2010-01-14 10:08:34 -06:00
Andrew Nguyen d7557a1926 ntdll/tests: Add a few additional tests for wcsrchr. 2010-01-14 10:05:06 -06:00
Andrew Nguyen dca1bd8633 ntdll/tests: Add a few additional tests for wcschr. 2010-01-14 10:04:58 -06:00
Andrew Nguyen d8ba75473a ntdll/tests: Allow native crashing code to be compiled. 2010-01-14 10:04:37 -06:00
Andrew Nguyen 3ed716f833 ntdll/tests: Make function pointer checks consistent and report skips. 2010-01-14 10:04:32 -06:00
Nikolay Sivov 1cad1646e5 msxml3/xmldoc: Don't leak document and stream on next IXMLDocument::Load(). 2010-01-14 09:42:30 -06:00
Nikolay Sivov 6c1275a57c msxml3/xmldoc: IPersistStreamInit::InitNew() seems to do nothing for IXMLDocument. 2010-01-14 09:42:21 -06:00
Nikolay Sivov a18ee2111a msxml3/xmldoc: Fix IPersistStreamInit::GetClassID() for IXMLDocument. 2010-01-14 09:42:10 -06:00
Nikolay Sivov 1b2f1867c8 msxml3/tests: Add some tests for IPersistStreamInit implementation of IXMLDocument. 2010-01-14 09:42:04 -06:00
Jeff Zaroyko c2459deeff msvcrt: Check if argument passed to _dup2 is positive. 2010-01-14 09:41:43 -06:00
Jeff Zaroyko f4e5ab4892 msvcrt/tests: Test _dup2 for failure when second arg is negative. 2010-01-14 09:41:30 -06:00
Julius Schwartzenberg 6a5e443f3f avifil32: Fix header suggested buffersize. 2010-01-14 09:36:55 -06:00
Julius Schwartzenberg cf73a26c6b avifil32: Overwrite dwRate in the audiostream with the nBlockAlign from the wave header. 2010-01-14 09:36:46 -06:00
Paul Vriens 3cbaaaa564 shell32: Remove some unneeded parameter setting. 2010-01-14 09:14:19 -06:00
Paul Vriens 5f8717d7f6 inetmib1/tests: Free memory after use (Valgrind). 2010-01-14 09:13:59 -06:00
Paul Vriens 16d161bc95 dxdiagn/tests: Fix some test failures on a clean W2K3. 2010-01-14 09:12:31 -06:00
Paul Vriens ff4047a956 dinput: Don't check a parameter twice (Coccinelle). 2010-01-14 09:11:22 -06:00
Paul Vriens 46abd44f0e winealsa.drv: Don't check input parameter twice (Coccinelle). 2010-01-14 09:11:16 -06:00
Paul Vriens 8a737bc1ba rsaenh/tests: Don't check result twice (Coccinelle). 2010-01-14 09:11:07 -06:00
Paul Vriens 0d302bb60c dsound: Fix a typo. 2010-01-14 09:10:57 -06:00
Christian Costa d32ada8fa5 amstream: Simplify declaration of VTable members. 2010-01-14 09:09:20 -06:00
Christian Costa 9dba650921 d3dxof: Simplify declaration of VTable members. 2010-01-14 09:09:11 -06:00
Christian Costa 3ad04c18c0 d3drm: Simplify declaration of VTable members (spotted by Dmitry Timoshkov). 2010-01-14 09:09:06 -06:00
Peter Dons Tychsen d21c131fb5 user32: Do not allow a change of capture if the currently capture window is a menu unless explicitly specified. 2010-01-14 09:04:55 -06:00
Michael Stefaniuc f6a34c4ece dmsynth: Avoid newlines inside FIXME messages. 2010-01-14 09:04:42 -06:00
Michael Stefaniuc 9fb879a313 dmcompos: Avoid newlines inside FIXME messages. 2010-01-14 09:04:31 -06:00
Michael Stefaniuc 08f1036525 dmstyle: Avoid newlines inside FIXME messages. 2010-01-14 09:04:25 -06:00
Michael Stefaniuc b74c043724 dmscript: Avoid newlines inside FIXME messages. 2010-01-14 09:04:18 -06:00
Michael Stefaniuc bf0d0ac215 dmusic: Avoid newlines inside FIXME messages. 2010-01-14 09:04:12 -06:00
Michael Stefaniuc a0789f611d ddraw: Simplify DllCanUnloadNow(). 2010-01-14 09:03:58 -06:00
Michael Stefaniuc c68f2148db objsel: Avoid newlines inside FIXME messages. 2010-01-14 09:03:46 -06:00
Michael Stefaniuc 31ef27ed57 user32: Avoid newlines inside FIXME messages. 2010-01-14 09:03:37 -06:00
Michael Stefaniuc 71d7331932 devenum: Avoid newlines inside FIXME messages. 2010-01-14 09:03:29 -06:00
Michael Stefaniuc bedea431f9 dmime: Avoid newlines inside FIXME messages. 2010-01-14 09:03:21 -06:00
Nikolay Sivov dbd76575ef advapi32: Free descriptor if it isn't returned from GetSecurityInfo(). 2010-01-11 15:46:04 -06:00
Uwe Bonnes 5926277473 msvcrt: In unbuffered text mode reading \r\n with fgetc fails. 2010-01-11 13:39:54 -06:00
Marcus Meissner 54aa61798f shell32: Handle bad menu handle (Coverity). 2010-01-11 13:39:46 -06:00
Julius Schwartzenberg 9bcb143a40 avifil32/tests: Test how avifile deals with audio stream and wave headers. 2010-01-11 13:29:52 -06:00
Julius Schwartzenberg ef19d85229 avifil32/tests: Test corrupt avi list magic. 2010-01-11 13:29:44 -06:00
Julius Schwartzenberg e2944fc2ee avifil32/tests: Initial test data and simple test for avifil32. 2010-01-11 13:29:18 -06:00
Detlef Riekenberg a60204461a avifil32/tests: Add initial tests. 2010-01-11 13:27:58 -06:00
Juan Lang 7c3b9a1551 secur32: Report an error if libgnutls isn't found. 2010-01-11 12:54:23 -06:00
Detlef Riekenberg 93475667a0 commdlg: Fix PrintDlg parameter checks. 2010-01-11 12:53:21 -06:00
Jason Edmeades 97194ec070 msvcrt: Add support for sprintf_s. 2010-01-11 12:19:34 -06:00
Jason Edmeades a2d4e5cb5d msvcrt: Add support for vsprintf_s. 2010-01-11 12:19:30 -06:00
Paul Vriens e0405286bc d3d9/tests: Correct the size of a memcmp. 2010-01-11 11:35:28 -06:00
Paul Vriens b543c40de4 msvidc32: Fix size parameter for memset (Coccinelle). 2010-01-11 11:35:00 -06:00
Paul Vriens 9cf1af7cac comctl32: Fix size parameter for memset (Coccinelle). 2010-01-11 11:34:18 -06:00
Michael Stefaniuc d3bc43b5ed Grammar fixes "is doesn't" => "doesn't". 2010-01-11 11:33:59 -06:00
Nikolay Sivov 1aaf2bd548 msxml3: Get rid of upper case converting helper. 2010-01-11 11:33:46 -06:00
Nikolay Sivov af502d236e msxml3: Implement IXMLDocument::get_doctype(). 2010-01-11 11:33:27 -06:00
Nikolay Sivov 04288208d0 msxml3: Implement IXMLDocument::get_version(). 2010-01-11 11:33:20 -06:00
Rico Schüller 0b4e6c71b5 d3d10: Parse effect shaders as anonymous shaders. 2010-01-11 11:32:36 -06:00
Rico Schüller 0682453d14 d3d10: Reorder struct d3d10_effect_variable to make the initialisation nicer. 2010-01-11 11:32:25 -06:00
Nikolay Sivov 73a955efff msxml3: Fix string leak while parsing with IXMLDOMDocument. 2010-01-11 11:31:36 -06:00
Nikolay Sivov 1c040a38c6 msxml3/tests: Fix some string leaks in tests. 2010-01-11 11:31:30 -06:00
Nikolay Sivov b122cd7a1c msxml3: Don't lose pointer to externaly allocated xmlSAXHandler copy. 2010-01-11 11:31:22 -06:00
Nikolay Sivov e4d895c7ee msxml3: Don't leak externaly allocated xmlSAXHandler. 2010-01-11 11:31:14 -06:00
David Adam 7822494499 d3drm: The input quaternions are not changed when calling D3DRMQuaternionSlerp. 2010-01-11 11:29:59 -06:00
André Hentschel b45d4aa161 kernel32/tests: Simplify string generation. 2010-01-11 11:29:38 -06:00
Alexander Kochetkov 8037de9f02 user32: Fix arithmetic overflow in GetThumbVal. 2010-01-11 11:29:05 -06:00
Gerald Pfeifer a1e134961d krnl386: Move WINE_DECLARE_DEBUG_CHANNEL(module) under #ifdef MZ_SUPPORTED. 2010-01-11 11:28:54 -06:00
Paul Vriens acfada959b ntdll/tests: Fix a test failure on NT4. 2010-01-11 11:28:41 -06:00
Nikolay Sivov f9b41a7983 ntdll: Release buffer when it won't be referenced. 2010-01-08 17:04:20 +01:00
Nikolay Sivov ba51a6c9bc user32/tests: Forward test proc to default dialog procedure instead of window's one. 2010-01-08 17:04:00 +01:00
Nathan Gallaher 0c437f558c msi: Queue dynamically allocated strings in cond.y. 2010-01-08 17:03:15 +01:00
Alexandre Julliard 25bee84030 ntdll: Don't require read access to the root directory for normal opens, similarly to the open by id case. 2010-01-08 15:54:20 +01:00
Alexandre Julliard 574eace36e ntdll: Return a correct name also for file objects in NtQueryObject. 2010-01-08 13:16:57 +01:00
Alexandre Julliard 658dae988d server: Add support for returning the object name in NtQueryObject. 2010-01-08 13:01:50 +01:00
Paul Vriens 2e03013fc0 ntdll: Fix length parameter for NtQueryValueKey (Coccinelle). 2010-01-08 10:14:12 +01:00
Paul Vriens e38e54e3f4 d3d9/tests: Fix size parameter for memcmp (Coccinelle). 2010-01-08 10:14:01 +01:00
Paul Vriens cb5e6f378a shell32: Fix length parameter for ZeroMemory (Coccinelle). 2010-01-08 10:13:56 +01:00
Paul Vriens c8681f885d wined3d: Fix use of memset (Coccinelle). 2010-01-08 10:13:51 +01:00
Marcus Meissner 1b27af164c setupapi: Avoid NULL dereference in error path (Coverity). 2010-01-08 10:13:46 +01:00
Marcus Meissner 6fb5e61afb winex11: Remove more superflous NULL checks (Coverity). 2010-01-08 10:13:18 +01:00
Christian Costa a59922ab55 d3drm: Implement stubbed IDirect3DRM interface. 2010-01-08 10:12:56 +01:00
Marcus Meissner 065fa22adc winex11.drv: physDev cannot be NULL (Coverity). 2010-01-07 19:41:34 +01:00
Nikolay Sivov 9a53cb5263 shell32/shelllink: Fix some string buffers leaks. 2010-01-07 19:41:34 +01:00
Jacek Caban 04cfe6acf7 urlmon: Fixed accept_mimes leak in tests. 2010-01-07 19:41:33 +01:00
Nikolay Sivov 88472df473 oleaut32/tests: Fix some leaks in safearray tests. 2010-01-07 19:41:33 +01:00
James Hawkins b116175d4a setupapi: Refactor freeing the INF file into free_inf_file. Use this new function to free any remnants of the parsing on error. 2010-01-07 17:59:58 +01:00
James Hawkins 5324cb6135 browseui: Fix two memory leaks in the autocomplete tests. 2010-01-07 17:59:58 +01:00
James Hawkins b2d1c3eeec wintrust: Fix a memory leak until our implementation is fixed. 2010-01-07 17:59:58 +01:00
James Hawkins 300cc0fea1 cabinet: Fix several file list leaks in the extract tests. 2010-01-07 17:59:58 +01:00
James Hawkins ced5081eb9 advpack: Free the file list on any error. 2010-01-07 17:59:58 +01:00
James Hawkins 621a772d48 advapi32: Fix a few memory leaks. Use the correct API to free SIDs (FreeSid). 2010-01-07 17:59:58 +01:00
Detlef Riekenberg 69b0b5e096 mlang: Print a FIXME only for unused parameter. 2010-01-07 17:59:57 +01:00
Detlef Riekenberg aa389201e5 comdlg32: Remove unused code for the Button psh1. 2010-01-07 17:59:57 +01:00
Marcin Baczyński 9e951e8d14 comctl32: Remove superfluous void* cast. 2010-01-07 17:59:57 +01:00
Marcin Baczyński 14ed846438 msctf: Remove superfluous void* cast. 2010-01-07 09:27:13 +01:00
Marcin Baczyński 0666c8e4ec rasapi32/tests: Remove superfluous void* cast. 2010-01-07 09:27:07 +01:00
Marcin Baczyński 005b9066f4 advapi32/tests: Remove superfluous void* cast. 2010-01-07 09:27:02 +01:00
Henri Verbeet 46cefd312c wined3d: Recognize the SM4 cut opcode. 2010-01-07 09:26:54 +01:00
Henri Verbeet 449e521984 wined3d: Recognize the SM4 endloop opcode. 2010-01-07 09:26:49 +01:00
Henri Verbeet 0296aaa6a6 wined3d: Recognize the SM4 endif opcode. 2010-01-07 09:26:45 +01:00
Henri Verbeet 58233befb7 wined3d: Recognize the SM4 break opcode. 2010-01-07 09:26:40 +01:00
Henri Verbeet dbeeb07713 wined3d: Recognize the SM4 if opcode. 2010-01-07 09:26:36 +01:00
Henri Verbeet 3687677427 wined3d: Recognize the SM4 lt opcode. 2010-01-07 09:26:30 +01:00
Henri Verbeet 6d5aca61f3 wined3d: Recognize the SM4 iadd opcode. 2010-01-07 09:26:25 +01:00
Henri Verbeet 22939f9d29 wined3d: Recognize the SM4 emit opcode. 2010-01-07 09:26:20 +01:00
Henri Verbeet 6715d495ea wined3d: Recognize the SM4 breakc opcode.
Map this to WINED3DSIH_BREAKP because it's a better fit.
2010-01-07 09:26:14 +01:00
Henri Verbeet c57c76b78e wined3d: Recognize the SM4 ige opcode. 2010-01-07 09:26:08 +01:00
Nikolay Sivov 6ca7654ec7 comctl32/listview: Fix memory leak on subrange deletion. 2010-01-07 09:26:00 +01:00
Andrew Eikum 7fe78c14e9 ole32: Downgrade StgIsStorageFile debug info from WARN to TRACE. 2010-01-07 09:25:51 +01:00
Detlef Riekenberg 220af426b3 krnl386: The 16bit system directory is <windir>\SYSTEM. 2010-01-06 17:50:36 +01:00
Marcus Meissner 69bf18567f user32: EM_REPLACESEL - handle OOM error. 2010-01-06 17:23:08 +01:00
Marcus Meissner 4d96ffb52b user32: Remove useless NULL check (Coverity). 2010-01-06 17:22:31 +01:00
Paul Vriens 051fc3458c mshtml/tests: Fix timeouts on Win9x/WinMe by using more A-functions. 2010-01-06 12:42:39 +01:00
Reece Dunn a2c41b72f8 Don't generate FIXME warnings for DllCanUnloadNow. 2010-01-06 10:59:51 +01:00
David Adam 5e39af2683 dmloader: Fix a possible null dereference. 2010-01-06 10:47:42 +01:00
Alexandre Julliard 993de4d82f user32: Remove a useless comment. 2010-01-06 09:54:35 +01:00
Maarten Lankhorst 7615ec0700 mmdevapi: Fix reference leak in tests.
Reported by Dan Kegel
2010-01-06 09:54:25 +01:00
Maarten Lankhorst ef0a0d8b86 Revert "dsound: Only initialize one guid for capture and renderer."
Reverts b474649e0e. Some games use
pointers to the guid rather than copying the guid even after the
enumeration function returns. Allocating on the stack breaks those
games.
2010-01-06 09:54:18 +01:00
Henri Verbeet d34aba2a1c avifil32: Don't leak the buffer on HeapReAlloc() failure in AVISaveOptionsFmtChoose(). 2010-01-06 09:53:37 +01:00
Henri Verbeet 7ab7103946 avifil32: Don't leak the buffer on HeapReAlloc() failure in AVIFILE_AddFrame().
Perhaps the code should also just double the buffer. I can send another patch
for that if needed.
2010-01-06 09:53:17 +01:00
Henri Verbeet 63aa5418c1 avifil32: Only modify the stream info after a succesful allocation in AVIFILE_AddFrame(). 2010-01-06 09:53:07 +01:00
Henri Verbeet c2051d33d6 avifil32: Properly check the required buffer size in AVIFILE_AddFrame(). 2010-01-06 09:53:02 +01:00
Henri Verbeet 32c3adbbaa avifil32: Always add the format change frame to the buffer in AVIFILE_AddFrame().
It doesn't make sense to only do this when the buffer is resized.
2010-01-06 09:52:57 +01:00
André Hentschel 2e339c471e msi/tests: Remove dead url. 2010-01-06 09:52:52 +01:00
André Hentschel 2f5ba0d8c0 dbghelp: Fix typo in url. 2010-01-06 09:52:48 +01:00
Andrew Eikum d1a916a614 msi: Implement recursive INSTALLSTATE updates for msi treeview selector. 2010-01-06 09:51:17 +01:00
Detlef Riekenberg 2f529c39fd user32: Move a comment about HLOCAL16 to user.exe. 2010-01-05 18:08:19 +01:00
Hans Leidekker e5180c101b wininet: Fix a memory leak.
Found by Valgrind.
2010-01-05 16:28:48 +01:00
Alexandre Julliard 5d8861b084 kernel: Stop exporting some 16-bit functions that are no longer used outside of kernel. 2010-01-05 16:28:43 +01:00
Alexandre Julliard 26a42f8452 winedos: Merge all of winedos back into krnl386. 2010-01-05 16:25:34 +01:00
Alistair Leslie-Hughes 03e31f9b86 gdiplus: Implement GdipIsVisibleClipEmpty. 2010-01-05 12:29:43 +01:00
Paul Vriens 157b1f6902 mshtml/tests: Fix a test failure on NT4. 2010-01-05 12:29:24 +01:00
Paul Vriens a95e070824 kernel32: Add a stubbed GetConsoleProcessList(). 2010-01-05 12:29:18 +01:00
James Hawkins 289047c735 user32: Don't try to free a handle with a value of 1, which is the dde handle value for asynchronous operations. 2010-01-05 12:29:03 +01:00
Maarten Lankhorst f10d56088e mmdevapi: Add test showing collection doesn't keep ref on parent. 2010-01-05 12:27:32 +01:00
Maarten Lankhorst 5e9ec19217 mmdevapi: Add an empty IMMDeviceCollection implementation. 2010-01-05 12:27:27 +01:00
Maarten Lankhorst 056588abbc mmdevapi: Constify IMMDeviceEnumeratorVtbl. 2010-01-05 12:27:19 +01:00
Henri Verbeet c274d6f06e avifil32: Don't leak the buffer on HeapReAlloc() failure in AVIFILE_ReadBlock(). 2010-01-05 12:19:25 +01:00
Henri Verbeet 1fb72a37eb avifil32: Just assign maxSize to This->cbBuffer in AVIFILE_ReadBlock(). 2010-01-05 12:19:22 +01:00
Henri Verbeet 4c36e12be6 avifil32: Properly check the required buffer size in AVIFILE_ReadBlock(). 2010-01-05 12:19:18 +01:00