Marcus Meissner
46d94653f1
oleau32: Fix one entry overflow (Coverity).
2007-05-23 12:51:33 +02:00
Peter Oberndorfer
eab168cf9e
ntdll: Fix up instruction pointer in context inside raise_exception.
2007-05-23 12:50:57 +02:00
Rob Shearman
30cc21196e
ole32: Remove spurious AddRef of returned object on retrieval of an interface from the global interface table.
2007-05-23 12:49:50 +02:00
Rob Shearman
7d90b6ce29
ole32: Allow the getting of different interfaces from the global interface table than that with what the object was registered with.
2007-05-23 12:49:45 +02:00
Rob Shearman
05230781b0
ole32: Add more tests for global interface table functions.
2007-05-23 12:49:39 +02:00
Rob Shearman
eebf8df601
ole32: Fix some races in the global interface table implementation.
...
Fix a race between RevokeInterfaceFromGlobal and GetInterfaceFromGlobal
by only using the entry inside the critical section.
Fix a race between two GetInterfaceFromGlobal by cloning the stream,
instead of using it and setting the current position back to zero.
2007-05-23 12:49:28 +02:00
Rob Shearman
71a5b2d943
ole32: Add spec entry for CoRegisterSurrogateEx.
2007-05-23 12:49:23 +02:00
Misha Koshelev
864a7df10e
msi: automation: Append copyright notice.
2007-05-23 12:49:16 +02:00
Kolbjoern Fredheim
cb8a8182d1
wined3d: Implemented converting X1R5G5B5 format to R5G5B5A1 to emulate color-keying.
2007-05-22 12:26:49 +02:00
Rob Shearman
071ea06af8
ole32: Remove a useless trace.
...
Remove an incorrect comment.
2007-05-22 12:19:07 +02:00
Rob Shearman
dd8a736c3f
ole32: The identity functions can be used from apartments other than the one the proxy was unmarshaled into.
...
In this case, don't use the cached This->remunk and don't cache the
unmarshaled object in This->remunk.
2007-05-22 12:18:55 +02:00
Rob Shearman
bf2b49b4e0
ole32: Make proxy_manager_get_remunknown AddRef the return IRemUnknown object.
...
Fix up the callers to release the returned IRemUnknown object.
2007-05-22 12:18:50 +02:00
Rob Shearman
5369d4dffd
ole32: Handle MSHLFLAGS_TABLEWEAK and MSHLFLAGS_TABLESTRONG when marshaling a proxy.
...
Add tests for this behaviour.
2007-05-22 12:18:31 +02:00
Andrew Talbot
bf76e754e5
winealsa.drv: Exclude unused headers.
2007-05-22 12:02:50 +02:00
Detlef Riekenberg
b89e36eb59
serialui/tests: Remove unused string.
2007-05-22 12:02:45 +02:00
Detlef Riekenberg
3124e1c3b7
localui/tests: Add tests for ConfigurePortUI.
2007-05-22 12:02:33 +02:00
Francois Gouget
cf218621fd
msvcrt: When operating on a closed pipe, read() should return 0, not -1.
...
Add tests to make sure read() and fread() work right on closed pipes.
2007-05-22 12:01:35 +02:00
Francois Gouget
784693bb5a
msvcrt: Remove the S_ISXXX() macros as they are not present in the Visual C++ headers.
2007-05-22 12:01:28 +02:00
Francois Gouget
f793221f0f
msvcrt/tests: When compiling with Visual C++ 2005, one must define _CRT_NON_CONFORMING_SWPRINTFS otherwise swprintf() takes an extra parameter.
2007-05-22 11:59:56 +02:00
Alexandre Julliard
be59e2bb53
Fix a couple of overflowing heap allocations revealed by the previous change.
2007-05-22 11:59:36 +02:00
Alexandre Julliard
cc54b7d9bd
ntdll: Avoid overflows in heap allocations. Based on a patch by Rob Shearman.
2007-05-22 11:59:18 +02:00
Stefan Dösinger
83ba2c762d
ddraw: Hold the dll lock in IDirectDraw methods.
2007-05-21 19:12:19 +02:00
Stefan Dösinger
bfe631dfb9
ddraw: Hold the lock in creation functions.
2007-05-21 19:11:34 +02:00
Stefan Dösinger
5307dd2029
ddraw: Make the ddraw list lock a global dll lock.
2007-05-21 19:11:22 +02:00
Rolf Kalbermatter
2e67fa32b1
advapi32: Return error on NULL service name to GetServiceDisplayNameA/W.
2007-05-21 19:11:08 +02:00
Dmitry Timoshkov
5f1a234731
kernel32: Fix the size of ThreadAffinityMask to match PSDK.
2007-05-21 19:11:01 +02:00
Vitaliy Margolen
311c001654
ntdll: Implement RtlWriteRegistryValue and forward ntoskrnl to it.
2007-05-21 17:03:00 +02:00
Rob Shearman
847cc51d3b
wininet: Implement basic non-proxy authentication.
2007-05-21 16:52:21 +02:00
Rob Shearman
4b507685e8
wininet: Add support for SSPI authentication for HTTP.
2007-05-21 16:52:10 +02:00
David Adam
7eaf1fe2f5
d3drm: Implement D3DRMCreateColorRGB.
2007-05-21 15:58:51 +02:00
David Adam
21b7413dee
d3drm: Implement D3DRMCreateColorRGBA.
2007-05-21 15:58:35 +02:00
David Adam
d3e8c930e3
d3drm: Implement D3DRMColorGetAlpha.
2007-05-21 15:57:09 +02:00
David Adam
d400728521
d3drm: Implement D3DRMColorGetBlue.
2007-05-21 15:56:53 +02:00
David Adam
fba5b11bea
d3drm: Implement D3DRMColorGetGreen.
2007-05-21 15:56:32 +02:00
David Adam
e1d3e65381
d3drm: Implement D3DRMColorGetRed.
2007-05-21 15:56:14 +02:00
Dmitry Timoshkov
130278f34a
winex11.drv: Synchronize debug output between X11DRV_KeyEvent and X11DRV_ToUnicodeEx.
2007-05-21 15:55:51 +02:00
Andrew Talbot
7e989655fa
uxtheme: Exclude unused headers.
2007-05-21 13:36:34 +02:00
Andrew Talbot
dd9af77062
version: Exclude unused headers.
2007-05-21 13:36:29 +02:00
Andrew Talbot
fc6a7148df
vmm.vxd: Exclude unused headers.
2007-05-21 13:36:24 +02:00
Andrew Talbot
93c5779458
user32: Exclude unused headers.
2007-05-21 13:36:18 +02:00
Andrew Talbot
6030e4d549
user32: Exclude unused headers.
2007-05-21 13:36:13 +02:00
Andrew Talbot
eafdcd11f1
user32: Exclude unused headers.
2007-05-21 13:36:08 +02:00
Andrew Talbot
01e93cc2d1
user32: Exclude unused headers.
2007-05-21 13:36:02 +02:00
Dan Hipschman
c5aaadc4c8
widl: Lay framework for unions with simple unions working.
2007-05-21 12:40:58 +02:00
Mounir IDRASSI
e5256d9840
crypt32: Fix CertAddCertificateContextToStore when called with CERT_STORE_ADD_USE_EXISTING.
2007-05-21 12:38:56 +02:00
Marcus Meissner
b45367347a
kernel32: Skip modem status tests if GetModemStatus failed.
2007-05-21 12:38:56 +02:00
Misha Koshelev
74de3e1754
msi: Make MsiEnumProducts enumerate products, not features.
2007-05-21 12:38:55 +02:00
Misha Koshelev
ea899e1d6f
msi/tests: automation: Test Installer::Products before and after InstallProduct, check product is not/is installed.
2007-05-21 12:38:55 +02:00
Misha Koshelev
74b2c18bae
msi/tests: automation: Installer::InstallProduct, remove a registry key set by Wine but not native.
2007-05-21 12:38:55 +02:00
Francois Gouget
a3c0d9a643
user32/tests: Fix compilation with gcc 2.95.
2007-05-21 12:38:55 +02:00
Francois Gouget
d476313a49
direct3d: Remove misspelled constants as they exist correctly spelled.
2007-05-21 12:38:54 +02:00
Francois Gouget
820d954095
ntdll: Fix compilation on systems that don't support nameless unions.
2007-05-21 12:38:54 +02:00
Paul Vriens
437a3aab9d
advpack/tests: Don't hardcode the system directory.
2007-05-21 12:38:54 +02:00
Rob Shearman
be55a4bbe2
ole32: Fix hosting in main apartments.
...
The recently introduced code had a bug where it passed the wrong
values into apartment_findfromtype to find the main apartment. Since
this is now the only way the function is used, fix this bug by
changing apartment_findfromtype to apartment_findmain, which only
finds the main apartment.
2007-05-21 12:38:54 +02:00
Andrew Talbot
02a36afda2
shell32: Exclude unused headers.
2007-05-21 12:31:36 +02:00
Andrew Talbot
a77715c23b
shell32: Exclude unused headers.
2007-05-21 12:31:29 +02:00
Andrew Talbot
0ad8ef0772
shell32: Exclude unused headers.
2007-05-21 12:31:23 +02:00
Andrew Talbot
9f2a62ed0a
setupapi: Exclude unused headers.
2007-05-21 12:31:11 +02:00
Andrew Talbot
d64165fcd7
secur32: Exclude unused headers.
2007-05-21 12:31:04 +02:00
Rolf Kalbermatter
ac5dca86ff
advapi32: Fix return value to indicate error when NULL string is passed in.
2007-05-21 12:30:44 +02:00
Hans Leidekker
3cfb018ea6
setupapi: Don't require a valid version section for INF_STYLE_OLDNT files.
2007-05-21 12:30:34 +02:00
Michael Karcher
5058fabf1e
user32: Reduce the PeekMessage timeout to zero for USER16_AlertableWait.
2007-05-18 20:04:53 +02:00
Misha Koshelev
01460f6753
msi: automation: Implement StringList::_NewEnum.
2007-05-18 20:01:55 +02:00
Misha Koshelev
4ccdbc5845
msi: automation: Generalize list implementation.
...
Same structures and functions can be used for both StringList and RecordList.
2007-05-18 20:01:39 +02:00
Misha Koshelev
2521111bc7
msi/tests: automation: Add tests for StringList::_NewEnum.
2007-05-18 20:00:30 +02:00
Misha Koshelev
5ee995d90a
msi/tests: automation: Fix Installer_ProductInfo ok message to correctly state function.
2007-05-18 20:00:13 +02:00
Mikołaj Zalewski
08fc650869
msxml3: Implement IXMLDOMElement::getElementsByTagName.
2007-05-18 20:00:03 +02:00
Mikołaj Zalewski
37ea00731a
msxml3: Add tests for XPath queries with namespaces.
2007-05-18 19:59:52 +02:00
Mikołaj Zalewski
b5c1d274c5
msxml3: For queries the get_item should change the current position.
2007-05-18 19:59:45 +02:00
Huw Davies
c1e89400aa
oleaut32: Recurse through the impltype list so that dispinterfaces get the correct parents.
2007-05-18 19:59:35 +02:00
Huw Davies
b698b2909b
oleaut32: Fix CreateDispTypeInfo to store the correct number of functions.
2007-05-18 19:59:29 +02:00
Huw Davies
c24a53dc28
oleaut32: non-dual dispinterfaces should be marshaled via IDispatch.
2007-05-18 19:59:21 +02:00
Huw Davies
f1da672df3
oleaut32: Move the proxy thunk creation code to a separate function.
2007-05-18 19:59:12 +02:00
Huw Davies
117f21de45
oleaut32: Test for interface that derives from IUnknown.
2007-05-18 19:57:53 +02:00
Huw Davies
04a76cf561
oleaut32: Tests for more 'syntax 2' dispinterfaces.
2007-05-18 19:57:46 +02:00
Huw Davies
78bf6946ba
oleaut32: GetRefTypeOfImplType(0) on TKIND_DISPATCH typeinfos should always return an href to IDispatch.
2007-05-18 19:57:34 +02:00
Huw Davies
356970e529
oleaut32: Fix return value in the element not found case.
2007-05-18 19:57:25 +02:00
Huw Davies
a3b8be05b7
oleaut32: Typelib inheritance tests.
2007-05-18 19:57:18 +02:00
Alexandre Julliard
5aa70b3d80
ntdll: Setup the shared user data structure at 0x7ffe0000.
2007-05-18 18:09:03 +02:00
Alexandre Julliard
bd3a08b355
ntoskrnl.exe: Implemented a couple of time-related APIs.
2007-05-18 16:48:54 +02:00
Alexandre Julliard
73cc00f9a5
ntoskrnl.exe: Reuse the kernel32 instruction emulation support for kernel-mode drivers.
2007-05-18 16:37:23 +02:00
Mikołaj Zalewski
e1cbec75c1
msxml3: Improve the XPath queries handling.
2007-05-18 14:50:21 +02:00
Misha Koshelev
ee33e40542
msi/tests: automation: Change SUCCEEDED(hr) to more specific hr == S_OK.
2007-05-18 14:43:40 +02:00
Misha Koshelev
04505f7107
msi: script: Change all tabs to spaces to conform to msi formatting.
2007-05-18 14:43:28 +02:00
Misha Koshelev
937b643092
msi: automation: Change all tabs to spaces to conform to msi formatting.
2007-05-18 14:43:19 +02:00
Misha Koshelev
63ed9117c3
msi/tests: automation: Check for NULL source string before calling lstrcpyW.
2007-05-18 14:43:05 +02:00
Misha Koshelev
f1f687e646
msi/tests: automation: Change non-const LPCWSTR parameters to LPWSTR.
2007-05-18 14:42:57 +02:00
Rob Shearman
82cfed96a7
ole32: Fix reading from an HGLOBALStreamImpl with an invalid HGLOBAL.
...
Add tests that show the strange behaviour of IStream_Read returning S_OK
instead of an error code.
2007-05-18 14:42:53 +02:00
Rob Shearman
600143d4fa
ole32: Create host apartments to enable isolation of objects of incompatible threading models.
...
There should be one host apartment per apartment. Existing apartments
should not be re-used, except in the case of the main apartment.
2007-05-18 14:42:37 +02:00
Aric Stewart
df0d77b007
comctl32: Trying to blend an image without a mask causes problem, especially if the background is white.
2007-05-18 14:42:30 +02:00
Hans Leidekker
6cc0b4e88e
setupapi: Add a partial implementation for SetupScanFileQueue{A, W}.
2007-05-18 14:18:49 +02:00
Hans Leidekker
108288ec3a
setupapi: Correctly handle an empty filename in SetupGetSourceFileLocationA.
2007-05-18 14:13:53 +02:00
Hans Leidekker
d060160b7a
setupapi: Implement pSetup{Get, Set}QueueFlags.
2007-05-18 14:12:28 +02:00
Dmitry Timoshkov
e690916f68
kernel32: Add an overflow test for MultiByteToWideChar.
2007-05-18 14:12:20 +02:00
Dmitry Timoshkov
90bafb3cc1
kernel32: Print last error value as unsigned, printing error in hex is useless.
2007-05-18 14:12:16 +02:00
Andrew Talbot
5588233957
riched20: Exclude unused headers.
2007-05-18 14:11:33 +02:00
Andrew Talbot
42fd48f38e
rsaenh: Exclude unused header.
2007-05-18 14:11:29 +02:00
Andrew Talbot
d5d056ef75
rpcrt4: Exclude unused headers.
2007-05-18 14:11:22 +02:00
Juan Lang
37386dba7a
oleaut32: Don't mix allocation routines.
2007-05-18 14:11:17 +02:00
Alexandre Julliard
020bd631ed
advapi32: Launch winedevice.exe when asked to start a kernel driver service.
2007-05-17 16:52:18 +02:00
Marcus Meissner
29700766ea
shell32: Avoid potential 1 byte overflow.
2007-05-17 13:20:25 +02:00
Misha Koshelev
8136bd4117
msi: automation: Implement Installer::ProductInfo.
2007-05-17 12:47:39 +02:00
Misha Koshelev
d800a082a8
msi: Return appropriate values for empty MsiProductInfo parameters.
2007-05-17 12:47:20 +02:00
Misha Koshelev
68bfb39767
msi/tests: Add test for empty MsiGetProductInfo parameters not referencing default registry values.
2007-05-17 12:45:16 +02:00
Andrew Talbot
b3d32c8a0d
qcap: Exclude unused headers.
2007-05-17 12:45:07 +02:00
Andrew Talbot
5ded3a9e88
quartz: Exclude unused headers.
2007-05-17 12:45:03 +02:00
Andrew Talbot
a894ab6bd0
quartz: Exclude unused headers.
2007-05-17 12:44:57 +02:00
Peter Oberndorfer
b19fa1d282
dbghelp: Minor cleanup.
2007-05-17 12:44:50 +02:00
Huw Davies
9afcaf2ae1
oleaut32: Type references are global to the typelib.
2007-05-17 12:44:44 +02:00
Alexandre Julliard
e0d5dbaeb8
ntoskrnl.exe: Implemented PsGetVersion and added stubs for a couple of other Ps functions.
2007-05-17 09:49:28 +02:00
Alexandre Julliard
4cbe5b78d3
ntoskrnl.exe: Export a Wine-internal function to run the device request handling loop.
2007-05-16 21:13:34 +02:00
Alexandre Julliard
982d6ccbe4
ntoskrnl.exe: Implemented a number of memory allocation functions.
2007-05-16 17:39:32 +02:00
Alexandre Julliard
8530cb0aec
kernel32: Check for already loaded module also for LOAD_LIBRARY_AS_DATAFILE.
2007-05-16 16:58:51 +02:00
Alexandre Julliard
306d71c3fe
kernel32: Support incrementing the module refcount in GetModuleHandleEx.
2007-05-16 16:47:11 +02:00
Alexandre Julliard
447fda5206
ntdll: Implemented LdrAddRefDll.
2007-05-16 16:39:29 +02:00
Alexandre Julliard
b64530eee4
ntdll: Reimplement LdrGetDllHandle to use the same search algorithm as LdrLoadDll.
2007-05-16 16:35:43 +02:00
Dmitry Timoshkov
4de936e181
user32: Remove duplicated code.
2007-05-16 15:51:31 +02:00
Anatoly Lyutin
86aa0491d6
user32: mdi: Fix switch with wParam in WM_SYSCOMMAND processing.
2007-05-16 15:47:55 +02:00
Misha Koshelev
2177e492e6
msi/tests: automation: Add tests for Installer::ProductInfo.
2007-05-16 14:58:19 +02:00
Misha Koshelev
0eaf8bc164
msi/tests: automation: Remove unnecessary if (SUCCEEDED(hr)) statements.
2007-05-16 14:58:07 +02:00
Misha Koshelev
187f856e46
msi: automation: Condense a few loops.
2007-05-16 14:58:00 +02:00
Rolf Kalbermatter
fef82e74b6
advapi32: Add access flags to service handle data.
2007-05-16 14:27:46 +02:00
Andrew Riedi
a9c2e15cf6
wined3d: Add hardware cursor support.
2007-05-16 14:27:39 +02:00
Dan Hipschman
52ca3ebada
widl: Write some structures to the type format string on the fly.
2007-05-16 13:33:17 +02:00
Andrew Talbot
cde845fec5
opengl32: Exclude unused header.
2007-05-16 11:56:01 +02:00
Andrew Talbot
048a5d6fc5
oleaut32: Exclude unused headers.
2007-05-16 11:55:58 +02:00
Andrew Talbot
ddb0a188be
oledlg: Exclude unused header.
2007-05-16 11:55:55 +02:00
Andrew Talbot
4ea954df42
ole32: Exclude unused headers.
2007-05-16 11:55:51 +02:00
Erez Volk
14a3275436
ntdll: Added IDT Timezone (Israel daylight savings time).
2007-05-16 11:55:47 +02:00
Mikołaj Zalewski
7b8241b1ee
comctl32: toolbar: TB_SETIMAGELIST should try to preserve button width.
2007-05-16 11:55:38 +02:00
Dmitry Timoshkov
59a2686ae4
kernel32: Add a test for LoadLibraryEx(LOAD_LIBRARY_AS_DATAFILE).
2007-05-16 11:55:32 +02:00
Alexandre Julliard
e2d94ec001
ntoskrnl.exe: Added IofCompleteRequest.
2007-05-15 21:56:05 +02:00
Alexandre Julliard
72f2ba6fc4
ntoskrnl.exe: Export KeServiceDescriptorTable and KeTickCount.
2007-05-15 21:49:26 +02:00
Alexandre Julliard
7330edd25d
ntoskrnl.exe: Implemented IoCreateSymbolicLink.
2007-05-15 21:45:51 +02:00
Alexandre Julliard
a2adc88815
ntoskrnl.exe: Implemented IoCreateDevice and IoDeleteDevice.
2007-05-15 21:41:50 +02:00
Markus Amsler
6f8a67f018
dbghelp: Late init hash_table.
2007-05-15 20:20:07 +02:00
Markus Amsler
8bc839a816
dbghelp: Speed up vector iteration by directly using for().
2007-05-15 20:19:53 +02:00
Markus Amsler
a2968c8fab
dbghelp: Speed up pool_alloc. Patch by Eric Pouech.
2007-05-15 20:19:36 +02:00
Markus Amsler
f94127f2ca
dbghelp: Speed up vector_add by avoiding pool_realloc calls. Remove no longer needed pool_realloc.
2007-05-15 20:19:28 +02:00
Francois Gouget
0acb5810bf
Assorted spelling fixes.
2007-05-15 18:09:16 +02:00
Francois Gouget
51b81a60a0
mshtml: Fix '\n' typo.
2007-05-15 18:09:04 +02:00
Vitaliy Margolen
4659f98314
dinput: Prevent race between destroying the hook window and unloading the dll.
2007-05-15 15:53:44 +02:00
Juan Lang
1af94dbf3b
wintrust: Implement WintrustGetRegPolicyFlags and WintrustSetRegPolicyFlags.
2007-05-15 15:53:37 +02:00
Juan Lang
d132d1944c
crypt32: Remove last error checks on success.
2007-05-15 15:20:02 +02:00
Juan Lang
79cd672c3d
crypt32: Use public functions to get store access state.
2007-05-15 15:19:33 +02:00
Juan Lang
4c6988e8f0
crypt32: Implement CertGetStoreProperty and CertSetStoreProperty.
2007-05-15 15:19:13 +02:00
Juan Lang
0170a41e69
crypt32: Don't set ret to TRUE when it already is.
...
Set it to FALSE when it needs to be.
2007-05-15 15:18:50 +02:00
Misha Koshelev
23cfbe2ec8
msi: automation: Simplify counting products/related products.
2007-05-15 14:12:20 +02:00
Misha Koshelev
5f2e81e2a5
msi: automation: Installer::Products, verify HeapAlloc return value.
2007-05-15 14:11:45 +02:00
Misha Koshelev
536b49905b
msi: Make MsiEnumRelatedProducts enumerate registry value names, not subkeys.
2007-05-15 14:11:37 +02:00