James Hawkins
d90aca35c4
msi: Add a NULL terminator to file->dest after reallocation.
2009-12-08 12:36:51 +01:00
James Hawkins
b13803ea40
msi: Free the column info data when updating the table column info.
2009-12-08 12:36:36 +01:00
James Hawkins
c20902314b
msi: Make sure to free the extra row data when deleting a row.
2009-12-08 12:36:28 +01:00
Jacek Caban
70592b59e7
mshtml: Added IHTMLDocument2::onreadystatechange property implementation.
2009-12-08 12:36:09 +01:00
Jacek Caban
1045bffcc0
jscript: Fixed String.split for missing regexp separator.
2009-12-08 12:36:05 +01:00
Jacek Caban
c665b86cd0
jscript: Moved set_last_index call to do_regexp_match_next.
2009-12-08 12:36:01 +01:00
Juan Lang
91d62162da
inetmib1: Return SNMP_ERRORSTATUS_NOSUCHNAME for an interface's physical address if it has none.
2009-12-08 12:35:55 +01:00
Juan Lang
632b759ffe
inetmib1: Return error value from MIB copy functions.
2009-12-08 12:35:45 +01:00
Juan Lang
7060f8961a
inetmib1: Don't claim a value is dynamic when it isn't.
2009-12-08 12:35:38 +01:00
Vincent Povirk
62e54bacba
ole32: Use the storage vtable to read streams.
2009-12-08 12:35:33 +01:00
Vincent Povirk
ee39a21d2b
ole32: Add DestroyDirEntry to the storage vtable.
2009-12-08 12:35:17 +01:00
Vincent Povirk
f43e013f73
ole32: Take a StorageBaseImpl in removeFromTree.
2009-12-08 12:35:08 +01:00
Vincent Povirk
0425ed1d38
ole32: Take a StorageBaseImpl in insertIntoTree.
2009-12-08 12:35:00 +01:00
Vincent Povirk
9300a92ccc
ole32: Change the base IStorage filename to a pointer type.
...
The maximum size of the name returned by Stat() on a top-level storage has
nothing to do with DIRENTRY_NAME_BUFFER_LEN. Windows can return longer names
and probably has a limit of MAX_PATH. Also, Stat always returns an absolute
pathname, so we don't need a special case in StgOpenStorage.
2009-12-08 12:34:47 +01:00
Henri Verbeet
efbd38ae84
dxgi: The "unknown0" parameter to DXGID3D10CreateDevice() is a pointer.
...
Fixes stack corruption in the 64-bit tests. Thanks to Paul Vriens for debugging this.
2009-12-08 12:33:43 +01:00
Henri Verbeet
54f3dec8e6
wined3d: Rename the "wineD3D" device field to "wined3d".
2009-12-08 12:33:29 +01:00
Henri Verbeet
a02f93defb
wined3d: Remove the redundant "adapterNo" field from the device.
2009-12-08 12:33:23 +01:00
Henri Verbeet
aed85222b5
wined3d: Rename the wined3d_adapter "num" field to "ordinal".
...
This makes it consistent with dxgi_adapter.
2009-12-08 12:33:17 +01:00
Henri Verbeet
8a833a2d75
wined3d: Pass the correct vertex count in DrawIndexedPrimitiveStrided().
...
This fixes a regression introduced by 2b2fc827ce
.
2009-12-08 12:33:08 +01:00
Aric Stewart
3b93ff71c7
mpr: Initialize handle to NULL on ERROR_NO_NETWORK case in WNetOpenEnum.
2009-12-08 12:33:03 +01:00
Gerald Pfeifer
43d0720335
ntdll: Guard debugging code by #ifdef instead of plain #if.
2009-12-08 12:32:58 +01:00
Alexandre Julliard
538c8bc5e8
ntdll/tests: Add tests for open directories with NtCreateFile and strange options.
2009-12-08 12:19:05 +01:00
Alexandre Julliard
019e404938
ntdll: Get rid of a line break in a trace.
2009-12-07 21:25:20 +01:00
Paul Vriens
8da7a00e67
mshtml/tests: Skip some tests on older IE.
2009-12-07 16:51:36 +01:00
Piotr Caban
2efb829845
mshtml: Added more OleDocumentView_UIActivate tests.
2009-12-07 15:41:34 +01:00
Piotr Caban
8c06ed96ae
mshtml: Improved OleDocumentView_UIActivate implementation.
2009-12-07 15:41:18 +01:00
Piotr Caban
24601ed1db
mshtml: Added Advise handling to OleObject_Close.
2009-12-07 15:41:13 +01:00
Piotr Caban
91dd9bbb71
mshtml: Added OleObject_Advise tests.
2009-12-07 15:41:07 +01:00
Piotr Caban
7372a6dd12
mshtml: Added OleObject_EnumAdvise implementation.
2009-12-07 15:41:01 +01:00
Piotr Caban
0aca61c5c3
mshtml: Added OleObject_Unadvise implementation.
2009-12-07 15:40:57 +01:00
Piotr Caban
bbfa604dc0
mshtml: Added OleObject_Advise implementation.
2009-12-07 15:40:53 +01:00
Piotr Caban
45e0dd9d1f
mshtml: Added PersistStreamInit_InitNew implementation.
2009-12-07 15:40:47 +01:00
Nathan Gallaher
de239d86fd
ole32: Fix invalid memory access in storage32.
2009-12-07 14:53:31 +01:00
Paul Chitescu
7fea0e332f
advapi32: Reduce registry access to MAXIMUM_ALLOWED wherever possible.
2009-12-07 14:50:20 +01:00
Maarten Lankhorst
7326586517
dsound: Move buffer property sets to buffer.c.
2009-12-07 14:46:03 +01:00
Huw Davies
7c1deca74c
xinput1_3: Don't print the contents of [out] parameters.
...
Found by Valgrind.
2009-12-07 14:45:54 +01:00
Nikolay Sivov
fc7d6b39be
windowscodecs/tests: Release decoder after use.
2009-12-07 14:45:49 +01:00
Henri Verbeet
bf1255e2cd
dxgi: Implement IDXGISurface::GetParent().
2009-12-07 14:34:23 +01:00
Henri Verbeet
a6b9a637e2
dxgi: Implement IDXGISurface::GetDevice().
2009-12-07 14:34:19 +01:00
Henri Verbeet
4e29ade658
dxgi: Add a separate function for surface initialization.
2009-12-07 14:34:15 +01:00
Henri Verbeet
89c96ca31e
d3d9: Fix GetDevice() for surfaces that are part of a texture.
...
If the surface is part of a texture it doesn't keep its own reference to the
device, but instead relies on the reference the texture has. This fixes a
regression introduced by ff92e6eb6a
.
2009-12-07 14:34:08 +01:00
Henri Verbeet
179cee08b0
d3d8: Fix GetDevice() for surfaces that are part of a texture.
...
If the surface is part of a texture it doesn't keep its own reference to the
device, but instead relies on the reference the texture has. This fixes a
regression introduced by 3cedef2ffe
.
2009-12-07 14:34:04 +01:00
Stefan Dösinger
740e2d403e
Render to fbo when the size mismatches at creation time.
...
This is needed because the window(and thus the GL drawable) might be
smaller than the D3D backbuffer. If we waited for the FBO switch until
Present is called we'd lose data in the first frame.
2009-12-07 14:33:56 +01:00
Stefan Dösinger
548b0bcda5
wined3d: Render to a FBO if the window size is changed.
2009-12-07 14:33:32 +01:00
Stefan Dösinger
817714912b
wined3d: Infrastructure to render swapchains to a FBO.
2009-12-07 14:33:24 +01:00
Stefan Dösinger
2b0271b185
wined3d: Use GL_COLOR_ATTACHMENT0 as offscreen buffer with FBOs.
...
This is used by the offscreen render target->texture blit code if
FBOs are enabled, but FBO_blit is not supported
2009-12-07 14:33:04 +01:00
Stefan Dösinger
64291c60cb
wined3d: A function for checking if a surface is offscreen.
2009-12-07 14:32:54 +01:00
Stefan Dösinger
54f0d3f785
wined3d: Add a function for initializing surface sysmem.
2009-12-07 14:32:29 +01:00
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
Jacek Caban
efda5561d0
jscript: Correctly handle NaN and Infinity in to_int32 and to_uint32.
2009-12-04 14:34:57 +01:00
Nikolay Sivov
8ea4102a6c
kernel32/lcformat: Add support for genitive month names in GetDateFormat().
2009-12-04 14:34:57 +01:00