Hans Leidekker
72e7e399d5
ntdll/tests: Fix a memory leak.
...
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Hans Leidekker
d81f9006de
netapi32/tests: Fix a memory leak.
...
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Hans Leidekker
67963a76b4
fusion: Fix some memory leaks.
...
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Hans Leidekker
952cd1d36a
userenv/tests: Fix some memory leaks.
...
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Hans Leidekker
7d3f37fcbd
usp10: Fix a memory leak.
...
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Hans Leidekker
3840de5b1e
msi/tests: Loosen check on kernel32 language version.
2009-12-07 14:18:29 +01:00
Hans Leidekker
4a22c88b37
wininet: Cleanup any existing cache file before creating a new one.
...
Otherwise we leak the file name and handle when a request is sent again.
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Alexandre Julliard
13608c8b18
gdi32: Avoid use of some 16-bit types.
2009-12-07 14:18:29 +01:00
Alexandre Julliard
1ac23b9b0f
gdi32: Don't include wingdi16.h by default.
2009-12-07 14:18:29 +01:00
Alexandre Julliard
4edcf1caa5
gdi32: Make gdi.exe into a stand-alone 16-bit module.
2009-12-07 14:18:29 +01:00
Alexandre Julliard
fc55cdcd59
gdi32: Stop exporting the 16-bit print job functions.
2009-12-07 14:18:28 +01:00
Alexandre Julliard
cc2d6f330f
wineps.drv: Don't include 16-bit headers in psdrv.h.
2009-12-07 14:18:28 +01:00
Alexandre Julliard
9a05f3143f
wineps.drv: Duplicate the print job support from 16-bit GDI.
2009-12-07 14:18:28 +01:00
Alexandre Julliard
7f6b6eb344
wineps.drv: Add a wrapper function for WriteSpool16.
2009-12-07 14:18:28 +01:00
Vincent Povirk
8b154a590e
gdiplus: Fix cleanup after errors in GdipCloneImage.
2009-12-07 14:18:28 +01:00
Vincent Povirk
bf04d3fa69
gdiplus: Implement GdipCloneBitmapArea.
2009-12-07 14:18:28 +01:00
Marcus Meissner
4c36f79964
rpcrt4: Fixed array_compute_and_size_conformance on strings (Coverity).
2009-12-07 14:18:28 +01:00
Jacek Caban
8d44d63849
jscript: Don't pass EXPR_NEWREF flag to evaluate member expression in array_expression_eval.
2009-12-07 14:18:28 +01:00
Jacek Caban
f1a543d546
mshtml: Added test for setting VT_EMPTY event handler.
2009-12-07 14:18:28 +01:00
Jacek Caban
f3d805862a
mshtml: Don't pass fdexNameEnsure flag to script engines in find_global_prop.
2009-12-07 14:18:28 +01:00
Paul Vriens
19f4c42f99
advapi32/tests: Fix some test failures when the computername is fully qualified.
2009-12-07 14:18:27 +01:00
Huw Davies
63231be804
setupapi: Fix memory leak.
...
Found by Valgrind.
2009-12-07 14:18:27 +01:00
Nikolay Sivov
e5e17ca438
msvcrt/tests: Free temporary file name after test.
2009-12-07 14:18:27 +01:00
Huw Davies
1cc0dd5c57
ntdll: Fix a few memory leaks in tests.
...
Found by Valgrind.
2009-12-07 14:18:27 +01:00
Huw Davies
0099431f08
oleaut32: Fix several memory leaks in tests.
...
Found by Valgrind.
2009-12-07 14:18:27 +01:00
Nikolay Sivov
5b7fae2ea8
gdiplus/tests: Delete Pen object after use.
2009-12-07 14:18:27 +01:00
Nikolay Sivov
f9af62e36d
gdiplus/tests: Free created iterator in tests.
2009-12-07 14:18:27 +01:00
Nikolay Sivov
25260e601c
gdiplus/tests: Additional test to show that custom cap isn't created without stroke path.
2009-12-07 14:18:26 +01:00
Nikolay Sivov
db5e3f4a05
gdiplus/tests: Free brush pointer after test.
2009-12-07 14:18:26 +01:00
Nikolay Sivov
7d6412c82d
comctl32/datetime: Free internal data completely on control destruction.
2009-12-07 14:18:26 +01:00
Nikolay Sivov
bd8fc9c474
comctl32/tests: Don't forget to free array after tests.
2009-12-07 14:18:26 +01:00
Nikolay Sivov
0f003ef48d
comctl32/tests: Free imagelist after use.
2009-12-07 14:18:26 +01:00
Nikolay Sivov
6d989feff9
comctl32/treeview: Free items pointer array and root item on control destruction.
...
Two issues here: item pointers array wasn't freed, root item data wasn't freed.
Found by Valgrind.
2009-12-07 14:18:26 +01:00
Nikolay Sivov
59d250c4a4
kernel32/tests: Fix test failures on NT4.
2009-12-07 14:18:25 +01:00
Piotr Caban
9ede36aa2b
msxml3: Fix VARIANT_from_xmlChar implementation.
2009-12-07 14:18:25 +01:00
Francois Gouget
060934c557
wined3d: Don't define nameless structs or unions.
...
Fixes compilation on systems that don't support nameless unions or structs.
2009-12-07 14:18:25 +01:00
Francois Gouget
6fced4d1c7
mshtml/tests: Fix the get_event_src() macro declaration.
2009-12-07 14:18:24 +01:00
Francois Gouget
0b9a4ae341
winhttp: Fix compilation on systems that don't support nameless unions.
2009-12-07 14:18:24 +01:00
Huw Davies
6f4ad21b9d
oleaut32: Fix a couple of memory leaks in the tests.
...
Found by Valgrind.
2009-12-07 14:18:24 +01:00
Huw Davies
bf93519a39
inetcomm: Fix memory leak.
...
Found by Valgrind.
2009-12-07 14:18:24 +01:00
Huw Davies
55bf97bba7
gdiplus: Fix a couple of memory leaks.
...
Found by Valgrind.
2009-12-07 14:18:24 +01:00
Juan Lang
497b67dbf6
wintrust: Fail to load a certificate from a PE file if the certificate entry isn't a known type.
2009-12-07 09:49:18 +01:00
Juan Lang
d69b00d630
rsaenh/tests: Fix memory leaks.
2009-12-07 09:49:07 +01:00
Juan Lang
bab1c652ae
crypt32/tests: Fix memory leak in test.
2009-12-07 09:49:07 +01:00
Juan Lang
035c323054
rsaenh: Fix memory leak in CPSignHash.
2009-12-07 09:49:07 +01:00
Juan Lang
cdbf6e8614
crypt32/tests: Don't pass as a parameter a variable that could be local.
2009-12-07 09:49:07 +01:00
Juan Lang
a5facc9bda
winhttp: Use sk_ functions rather than accessing an OpenSSL stack type directly.
2009-12-07 09:49:07 +01:00
Huw Davies
24b437942e
winhttp: Load X509_STORE_CTX_get_ex_data from libcrypto not libssl.
2009-12-07 09:49:07 +01:00
James Hawkins
25ab693008
msi: The second parameter to Installer.OpenPackage is optional, so set a default value of 0 if the parameter is not provided.
2009-12-07 09:49:06 +01:00
James Hawkins
1ff6c08621
msi: Verify that the first parameter to Installer.OpenPackage is a VT_BSTR.
...
It seems ugly to open up the parameters in pDispParams, but
DispGetParam will happily convert a VT_EMPTY to a VT_BSTR and not
return an error.
2009-12-07 09:49:06 +01:00
James Hawkins
4687604356
msi: It's possible to send in more than two parameters to Installer.OpenPackage, but sending in zero parameters should return DISP_E_TYPEMISMATCH.
2009-12-07 09:49:06 +01:00
James Hawkins
b614052895
msi: Add more tests for the Installer.OpenPackage method.
...
The following series fixes a few leaks reported by valgrind. We were
leaking exception info caused by Installer.OpenPackage failing when we
didn't expected it.
2009-12-07 09:49:06 +01:00
James Hawkins
89b2cde891
oleaut32: Report the parameter index for any failure in DispGetParam.
2009-12-07 09:49:06 +01:00
James Hawkins
02dcc19854
oleaut32: Add tests for DispGetParam. Fix two issues that crashed the tests.
2009-12-07 09:49:06 +01:00
Vincent Povirk
f3d194b391
ole32: Add ReadDirEntry to the storage vtable.
2009-12-07 09:49:05 +01:00
Vincent Povirk
176cdfc75e
ole32: Add WriteDirEntry to the storage vtable.
2009-12-07 09:49:05 +01:00
Vincent Povirk
8a332db2c5
ole32: Change ReadDirEntry return type to HRESULT.
2009-12-07 09:49:05 +01:00
Vincent Povirk
df13a1d1fe
ole32: Change WriteDirEntry return type to HRESULT.
2009-12-07 09:49:05 +01:00
Vincent Povirk
382ffed003
ole32: Make CreateDirEntry a virtual method.
2009-12-07 09:49:05 +01:00
Vincent Povirk
f1405ca0d2
windowscodecs: Accept GIF files with no trailer.
2009-12-07 09:33:35 +01:00
Owen Rudge
b49cc56614
imagehlp: Recalculate PE checksum after file modification.
2009-12-07 09:33:29 +01:00
Owen Rudge
ba5a86e349
imagehlp: Check for 64-bit PE files in CheckSumMappedFile.
2009-12-07 09:33:07 +01:00
Owen Rudge
b277012765
imagehlp/tests: Add tests for adding/removing multiple certificates.
2009-12-07 09:32:40 +01:00
Owen Rudge
5bcc37a9fd
imagehlp: Implement ImageRemoveCertificate.
2009-12-07 09:32:29 +01:00
Rob Shearman
74e5e0b33f
hlink: Fix more memory leaks in tests.
2009-12-07 09:32:22 +01:00
Rob Shearman
0450235db4
netapi32: Fix off-by-one errors in ACCESS_QueryAdminDisplayInformation and ACCESS_QueryGuestDisplayInformation.
2009-12-07 09:32:17 +01:00
Rob Shearman
2b74e774f9
ole32: Add tests for HGLOBAL stream ignoring the HighPart of the offset for seeks.
2009-12-07 09:32:11 +01:00
Rob Shearman
4ad631286a
ole32: Initialise all of position variables in test_save_load_filemoniker.
...
Initialise all 8-bytes instead of just the lower 4-bytes. This test
isn't designed to be testing whether the Seek method of the object
return by CreateStreamOnHGlobal uses the high part of the positions
passed in.
2009-12-07 09:32:08 +01:00
Huw Davies
6b8c9aee4f
user32: Pad lfFaceName so we don't write uninitialised data to the registry.
...
Found by Valgrind.
2009-12-04 15:49:26 +01:00
Huw Davies
6fc8234300
user32: Pad lfFaceName so we don't write uninitialised data to the registry.
...
Found by Valgrind.
2009-12-04 15:48:19 +01:00
Wolfram Sang
a7326271e0
ntdll: Silence RtlNtStatusToDosErrorNoTeb() a bit.
2009-12-04 15:48:09 +01:00
Paul Vriens
c2f5442f2a
kernel32/tests: Skip some tests if needed (WinXP Home).
2009-12-04 14:44:11 +01:00
Paul Vriens
0c67d1bddb
kernel32/tests: Skip some tests on Win98/WinMe.
2009-12-04 14:44:03 +01:00
Paul Vriens
3b43c4e585
kernel32/tests: Correct some ok() statements.
2009-12-04 14:43:48 +01:00
Hans Leidekker
e018a5e25b
wininet: Add a test for status callbacks on ftp connections.
2009-12-04 14:42:44 +01:00
Hans Leidekker
5f08249831
wininet: Fix some status callbacks to return a string instead of a sockaddr structure.
...
Spotted by Juan Lang.
2009-12-04 14:42:37 +01:00
Alistair Leslie-Hughes
e7906026bb
shdocvw: Implement IWebBrowser2_get_Name.
2009-12-04 14:42:28 +01:00
Dmitry Timoshkov
2536bfd1d8
kernel32: Explicitly treat the current working directory name as a unix one.
2009-12-04 14:42:05 +01:00
Henri Verbeet
2800970d1a
dxgi/tests: Add a small test for IDXGIAdapter::GetDesc().
2009-12-04 14:34:59 +01:00
Henri Verbeet
0491fcce30
dxgi: Implement IDXGIAdapter::GetDesc().
2009-12-04 14:34:59 +01:00
Henri Verbeet
dd5fc79f56
wined3d: The stateblock doesn't really need a parent.
2009-12-04 14:34:59 +01:00
Henri Verbeet
ff92e6eb6a
d3d9: Simplify GetDevice().
2009-12-04 14:34:59 +01:00
Henri Verbeet
3cedef2ffe
d3d8: Simplify GetDevice().
...
We already store "parentDevice", so we might as well use it.
2009-12-04 14:34:59 +01:00
Owen Rudge
1f6d24565c
imagehlp: Implement ImageAddCertificate.
2009-12-04 14:34:59 +01:00
Owen Rudge
f5ebe032b0
imagehlp: Verify magic numbers and pad certificates to 8 byte boundaries.
...
Includes checks for 64-bit file structure and avoids repeating header
checks.
2009-12-04 14:34:59 +01:00
Vincent Povirk
cc98619ca4
ole32: Add an internal vtable to StorageBaseImpl objects.
2009-12-04 14:34:59 +01:00
Vincent Povirk
f434ab1f2a
ole32: Unify the logic for overriding the root storage filename in Stat.
...
This is needed so that the new transacted type will be able to easily support
this logic.
2009-12-04 14:34:59 +01:00
Vincent Povirk
5456724fd7
ole32: Move the create attribute from StorageImpl to StorageBaseImpl.
...
This is to avoid accessing the top-level StorageImpl directly.
2009-12-04 14:34:58 +01:00
Vincent Povirk
b6dc718c44
ole32: Check the current storage for STGM_SIMPLE rather than ancestorStorage.
...
Since simple mode does not support substorages, we know these are the same.
2009-12-04 14:34:58 +01:00
Vincent Povirk
cf5e6c571a
ole32: Forbid substorages of simple mode storages.
2009-12-04 14:34:58 +01:00
Alexandre Julliard
e48f4253a4
rpcrt4/tests: Skip the get_ranged_enum test on old Windows versions.
2009-12-04 14:34:58 +01:00
Francois Gouget
f3b738f63c
wininet: Make FTP_FtpOpenFileW() static.
2009-12-04 14:34:58 +01:00
Francois Gouget
661208f088
mshtml: Make nsACString_{Init,Finish}() static.
2009-12-04 14:34:58 +01:00
Jörg Höhle
ee3c8794ea
mciwave: Abort the play loop in case of audio error.
2009-12-04 14:34:58 +01:00
Marcus Meissner
4da51e087d
msvcrt: Remove unnecessary NULL check (Coverity).
2009-12-04 14:34:58 +01:00
Marcus Meissner
265c959ed9
shell32: handle corrupt entry in iconcache registry entry (Coverity).
2009-12-04 14:34:58 +01:00
Marcus Meissner
478592cd3d
winex11.drv: Handle if cursor not found (Cpverity).
2009-12-04 14:34:57 +01:00
James Hawkins
7d3e664312
msi: MsiSetMode returns a UINT system error code, not a BOOL.
2009-12-04 14:34:57 +01:00
Juan Lang
b967fde0a8
wininet: Correct length of data passed to callback when resolving a name.
2009-12-04 14:34:57 +01:00
Jacek Caban
ec769d2d95
jscript: Correctly handle NaN in to_integer.
2009-12-04 14:34:57 +01:00