wine
15 years agoshell32/tests: Skip a test on Vista.
Paul Vriens [Fri, 9 Jan 2009 06:46:11 +0000 (07:46 +0100)] 
shell32/tests: Skip a test on Vista.

15 years agoshell32/tests: Fix test failures on Vista.
Paul Vriens [Thu, 8 Jan 2009 20:44:44 +0000 (21:44 +0100)] 
shell32/tests: Fix test failures on Vista.

15 years agoshell32/tests: Fix remaining test failures on NT4.
Paul Vriens [Thu, 8 Jan 2009 20:34:21 +0000 (21:34 +0100)] 
shell32/tests: Fix remaining test failures on NT4.

15 years agoshell32/tests: Fix some test failures on Vista.
Paul Vriens [Thu, 8 Jan 2009 16:48:07 +0000 (17:48 +0100)] 
shell32/tests: Fix some test failures on Vista.

15 years agoshell32/tests: Fix some errors on NT4 (FO_DELETE).
Paul Vriens [Thu, 8 Jan 2009 16:38:56 +0000 (17:38 +0100)] 
shell32/tests: Fix some errors on NT4 (FO_DELETE).

15 years agoshell32/tests: Fix the last test failure on Win9x.
Paul Vriens [Thu, 8 Jan 2009 16:09:44 +0000 (17:09 +0100)] 
shell32/tests: Fix the last test failure on Win9x.

15 years agoinclude: Fix packing of the setupapi structures.
Alexandre Julliard [Fri, 9 Jan 2009 13:03:57 +0000 (14:03 +0100)] 
include: Fix packing of the setupapi structures.

15 years agooleaut32/tests: Only compare the initialized part of DECIMAL variants.
Alexandre Julliard [Fri, 9 Jan 2009 13:03:30 +0000 (14:03 +0100)] 
oleaut32/tests: Only compare the initialized part of DECIMAL variants.

15 years agowined3d: Remove stray tabs.
Henri Verbeet [Fri, 9 Jan 2009 09:23:43 +0000 (10:23 +0100)] 
wined3d: Remove stray tabs.

15 years agowined3d: Rewrite BeginStateBlock() to use CreateStateBlock() instead of duplicating...
Henri Verbeet [Fri, 9 Jan 2009 09:23:43 +0000 (10:23 +0100)] 
wined3d: Rewrite BeginStateBlock() to use CreateStateBlock() instead of duplicating the code.

15 years agowined3d: Remove a silly check in drawStridedInstanced().
Henri Verbeet [Fri, 9 Jan 2009 09:23:42 +0000 (10:23 +0100)] 
wined3d: Remove a silly check in drawStridedInstanced().

15 years agowined3d: Simplify checking if an attribute is used in loadNumberedArrays().
Henri Verbeet [Fri, 9 Jan 2009 09:23:42 +0000 (10:23 +0100)] 
wined3d: Simplify checking if an attribute is used in loadNumberedArrays().

15 years agowined3d: Failing HeapAlloc() should be an ERR.
Henri Verbeet [Fri, 9 Jan 2009 09:23:42 +0000 (10:23 +0100)] 
wined3d: Failing HeapAlloc() should be an ERR.

15 years agowined3d: Use GL_ALIASED_POINT_SIZE_RANGE to retrieve the max point size.
Henri Verbeet [Fri, 9 Jan 2009 09:23:42 +0000 (10:23 +0100)] 
wined3d: Use GL_ALIASED_POINT_SIZE_RANGE to retrieve the max point size.

15 years agokernel32: Fix the sysctl() usage and the CPU detection on NetBSD.
Francois Gouget [Fri, 9 Jan 2009 08:34:55 +0000 (09:34 +0100)] 
kernel32: Fix the sysctl() usage and the CPU detection on NetBSD.

15 years agoxinput1_3/tests: Add a trailing '\n' to an ok() call.
Francois Gouget [Thu, 8 Jan 2009 18:23:16 +0000 (19:23 +0100)] 
xinput1_3/tests: Add a trailing '\n' to an ok() call.

15 years agosetupapi: Fix the StringTableLookUpStringEx() prototype.
Francois Gouget [Thu, 8 Jan 2009 18:23:08 +0000 (19:23 +0100)] 
setupapi: Fix the StringTableLookUpStringEx() prototype.

15 years agowordpad: Use unicode version of CBEM_GETITEM message.
Dylan Smith [Thu, 8 Jan 2009 19:17:55 +0000 (14:17 -0500)] 
wordpad: Use unicode version of CBEM_GETITEM message.

15 years agowordpad: Use winelib's sprintfW for floating point formatting.
Dylan Smith [Thu, 8 Jan 2009 18:15:33 +0000 (13:15 -0500)] 
wordpad: Use winelib's sprintfW for floating point formatting.

This fixes a regression introduced by commit
ef23ef93357689335749310957f68a3ad9179d4a.

15 years agoole32: Some tests for IMoniker::IsRunning with NULL args.
Nikolay Sivov [Thu, 8 Jan 2009 16:39:04 +0000 (19:39 +0300)] 
ole32: Some tests for IMoniker::IsRunning with NULL args.

15 years agoole32: Fix some comment typos.
Nikolay Sivov [Thu, 8 Jan 2009 15:14:55 +0000 (18:14 +0300)] 
ole32: Fix some comment typos.

15 years agorichedit: Missing condition for inserting newline before table.
Dylan Smith [Thu, 8 Jan 2009 14:14:10 +0000 (09:14 -0500)] 
richedit: Missing condition for inserting newline before table.

This case occurs when the cursor is at the start of the table, the
table is at the start of the text, and there is no selection.

15 years agowinhlp32: Make some functions static in macro.c.
Francois Gouget [Thu, 8 Jan 2009 13:16:50 +0000 (14:16 +0100)] 
winhlp32: Make some functions static in macro.c.

15 years agowinhlp32: Reorder some functions to avoid forward declarations in macro.c.
Francois Gouget [Thu, 8 Jan 2009 13:16:40 +0000 (14:16 +0100)] 
winhlp32: Reorder some functions to avoid forward declarations in macro.c.

15 years agowinedbg: Fix pointer cast warnings on 64-bit.
Alexandre Julliard [Thu, 8 Jan 2009 16:34:26 +0000 (17:34 +0100)] 
winedbg: Fix pointer cast warnings on 64-bit.

15 years agowinhlp32: Use GetWindowLongPtr to retrieve a pointer, and make sure there is enough...
Alexandre Julliard [Thu, 8 Jan 2009 16:34:08 +0000 (17:34 +0100)] 
winhlp32: Use GetWindowLongPtr to retrieve a pointer, and make sure there is enough space for it.

15 years agowinhlp32: Use LONG instead of long for data loaded from a file.
Alexandre Julliard [Thu, 8 Jan 2009 16:33:44 +0000 (17:33 +0100)] 
winhlp32: Use LONG instead of long for data loaded from a file.

15 years agowineconsole: Replace a couple of handle casts by the appropriate server function.
Alexandre Julliard [Thu, 8 Jan 2009 16:33:07 +0000 (17:33 +0100)] 
wineconsole: Replace a couple of handle casts by the appropriate server function.

15 years agoquartz: Use SetWindowLongPtr to store a pointer value.
Alexandre Julliard [Thu, 8 Jan 2009 16:30:57 +0000 (17:30 +0100)] 
quartz: Use SetWindowLongPtr to store a pointer value.

15 years agoddraw: Fix an uninitialized variable warning on non-i386.
Alexandre Julliard [Thu, 8 Jan 2009 16:30:22 +0000 (17:30 +0100)] 
ddraw: Fix an uninitialized variable warning on non-i386.

15 years agorpcrt4: Fix an unused value warning on non-i386.
Alexandre Julliard [Thu, 8 Jan 2009 16:30:09 +0000 (17:30 +0100)] 
rpcrt4: Fix an unused value warning on non-i386.

15 years agomsvcrt: Fix an unused function warning on non-i386.
Alexandre Julliard [Thu, 8 Jan 2009 16:29:59 +0000 (17:29 +0100)] 
msvcrt: Fix an unused function warning on non-i386.

15 years agows2_32: Fix an error return value in bind().
Alexandre Julliard [Thu, 8 Jan 2009 16:29:27 +0000 (17:29 +0100)] 
ws2_32: Fix an error return value in bind().

15 years agowineps.drv: Use INT_MAX instead of LONG_MAX to initialize a LONG value.
Alexandre Julliard [Thu, 8 Jan 2009 16:29:14 +0000 (17:29 +0100)] 
wineps.drv: Use INT_MAX instead of LONG_MAX to initialize a LONG value.

15 years agontdll: Fix pointer cast warnings on 64-bit.
Alexandre Julliard [Thu, 8 Jan 2009 16:28:45 +0000 (17:28 +0100)] 
ntdll: Fix pointer cast warnings on 64-bit.

15 years agowininet: Fix handle cast warnings on 64-bit.
Alexandre Julliard [Thu, 8 Jan 2009 16:28:21 +0000 (17:28 +0100)] 
wininet: Fix handle cast warnings on 64-bit.

15 years agouser32: Fix pointer cast warnings on 64-bit.
Alexandre Julliard [Thu, 8 Jan 2009 16:28:04 +0000 (17:28 +0100)] 
user32: Fix pointer cast warnings on 64-bit.

15 years agourlmon: Fix pointer cast warnings on 64-bit.
Alexandre Julliard [Thu, 8 Jan 2009 16:27:58 +0000 (17:27 +0100)] 
urlmon: Fix pointer cast warnings on 64-bit.

15 years agoshdocvw: Fix a pointer cast warning on 64-bit.
Alexandre Julliard [Thu, 8 Jan 2009 16:27:49 +0000 (17:27 +0100)] 
shdocvw: Fix a pointer cast warning on 64-bit.

15 years agoshell32: Fix a pointer cast warning on 64-bit.
Alexandre Julliard [Thu, 8 Jan 2009 16:27:41 +0000 (17:27 +0100)] 
shell32: Fix a pointer cast warning on 64-bit.

15 years agosetupapi: Fix pointer cast warnings on 64-bit.
Alexandre Julliard [Thu, 8 Jan 2009 16:27:27 +0000 (17:27 +0100)] 
setupapi: Fix pointer cast warnings on 64-bit.

15 years agooleaut32: Fix handle cast warnings on 64-bit.
Alexandre Julliard [Thu, 8 Jan 2009 16:27:14 +0000 (17:27 +0100)] 
oleaut32: Fix handle cast warnings on 64-bit.

15 years agontoskrnl.exe: Fix handle cast warnings on 64-bit.
Alexandre Julliard [Thu, 8 Jan 2009 16:26:56 +0000 (17:26 +0100)] 
ntoskrnl.exe: Fix handle cast warnings on 64-bit.

15 years agomsi: Fix pointer cast warnings on 64-bit.
Alexandre Julliard [Thu, 8 Jan 2009 16:26:44 +0000 (17:26 +0100)] 
msi: Fix pointer cast warnings on 64-bit.

15 years agomshtml: Fix pointer cast warnings on 64-bit.
Alexandre Julliard [Thu, 8 Jan 2009 16:26:38 +0000 (17:26 +0100)] 
mshtml: Fix pointer cast warnings on 64-bit.

15 years agoadvapi32: Fix pointer cast warnings on 64-bit.
Alexandre Julliard [Thu, 8 Jan 2009 16:26:18 +0000 (17:26 +0100)] 
advapi32: Fix pointer cast warnings on 64-bit.

15 years agoole32: Don't use the default debug channel before it has been defined.
Francois Gouget [Thu, 8 Jan 2009 13:15:32 +0000 (14:15 +0100)] 
ole32: Don't use the default debug channel before it has been defined.

15 years agowinhlp32: Make some functions static in winhelp.c.
Francois Gouget [Thu, 8 Jan 2009 13:13:30 +0000 (14:13 +0100)] 
winhlp32: Make some functions static in winhelp.c.

15 years agowinhlp32: Reorder some functions to avoid forward declarations in winhelp.c.
Francois Gouget [Thu, 8 Jan 2009 13:13:17 +0000 (14:13 +0100)] 
winhlp32: Reorder some functions to avoid forward declarations in winhelp.c.

15 years agowintrust: Fix removing a catalog file.
Paul Vriens [Thu, 8 Jan 2009 12:36:42 +0000 (13:36 +0100)] 
wintrust: Fix removing a catalog file.

15 years agowintrust/tests: Add a few tests.
Paul Vriens [Wed, 7 Jan 2009 21:25:28 +0000 (22:25 +0100)] 
wintrust/tests: Add a few tests.

15 years agowidl: Write struct fields as signed fields.
Michael Karcher [Wed, 7 Jan 2009 23:21:42 +0000 (00:21 +0100)] 
widl: Write struct fields as signed fields.

15 years agowidl: Make write_base_type take a format char instead of a type desc ptr.
Michael Karcher [Wed, 7 Jan 2009 23:21:18 +0000 (00:21 +0100)] 
widl: Make write_base_type take a format char instead of a type desc ptr.

15 years agoxinput1_3: Added test for XInputGetBatteryInformation.
Andrew Fenn [Wed, 7 Jan 2009 18:48:25 +0000 (01:48 +0700)] 
xinput1_3: Added test for XInputGetBatteryInformation.

15 years agoxinput1_3: Added stub code for XInputGetBatteryInformation.
Andrew Fenn [Wed, 7 Jan 2009 18:47:44 +0000 (01:47 +0700)] 
xinput1_3: Added stub code for XInputGetBatteryInformation.

15 years agoxinput1_3: Added test for XInputGetDSoundAudioDeviceGuids.
Andrew Fenn [Wed, 7 Jan 2009 18:46:30 +0000 (01:46 +0700)] 
xinput1_3: Added test for XInputGetDSoundAudioDeviceGuids.

15 years agoxinput1_3: Added stub for XInputGetDSoundAudioDeviceGuids.
Andrew Fenn [Wed, 7 Jan 2009 18:45:57 +0000 (01:45 +0700)] 
xinput1_3: Added stub for XInputGetDSoundAudioDeviceGuids.

15 years agorichedit: Fixed implementation of WM_GETDLGCODE message.
Dylan Smith [Thu, 8 Jan 2009 05:44:11 +0000 (00:44 -0500)] 
richedit: Fixed implementation of WM_GETDLGCODE message.

This fixes inconsistencies shown in the tests I added for the
WM_GETDLGCODE.  The tests covered different cases handled by the
current implementation in order to show that the native implementation
is simpler for all these cases.

15 years agorichedit: Added tests for WM_GETDLGCODE message.
Dylan Smith [Thu, 8 Jan 2009 05:44:05 +0000 (00:44 -0500)] 
richedit: Added tests for WM_GETDLGCODE message.

15 years agowined3d: Enable GL_HALF_FLOAT_NV when NV_HALF_FLOAT is supported.
Henri Verbeet [Thu, 8 Jan 2009 09:19:17 +0000 (10:19 +0100)] 
wined3d: Enable GL_HALF_FLOAT_NV when NV_HALF_FLOAT is supported.

This makes more sense than the other way around.

15 years agowined3d: Add support for EXT_vertex_array_bgra.
Henri Verbeet [Thu, 8 Jan 2009 09:19:17 +0000 (10:19 +0100)] 
wined3d: Add support for EXT_vertex_array_bgra.

This allows us to skip BGRA->RGBA color conversion for vertex attributes if
this extension is present.

15 years agowined3d: Simplify handling of swizzled attributes.
Henri Verbeet [Thu, 8 Jan 2009 09:19:17 +0000 (10:19 +0100)] 
wined3d: Simplify handling of swizzled attributes.

This should also be a little bit faster.

15 years agowined3d: Move position_transformed out of u.s in struct WineDirect3DVertexStridedData.
Henri Verbeet [Thu, 8 Jan 2009 09:19:16 +0000 (10:19 +0100)] 
wined3d: Move position_transformed out of u.s in struct WineDirect3DVertexStridedData.

15 years agowined3d: Cleanup drawStridedFast().
Henri Verbeet [Thu, 8 Jan 2009 09:19:16 +0000 (10:19 +0100)] 
wined3d: Cleanup drawStridedFast().

Remove some uncessary code and use more descriptive parameter names. Note that
max_vertex_idx isn't the same as "minIndex + calculatedNumberOfindices - 1"
but rather "minIndex + numberOfVertices - 1". calculatedNumberOfindices just
specifies the number of vertices that's drawn, while numberOfVertices
specifies the range of vertices that's drawn.

15 years agouser32/tests: Fix some integer to pointer conversion warnings.
Alexandre Julliard [Thu, 8 Jan 2009 12:18:01 +0000 (13:18 +0100)] 
user32/tests: Fix some integer to pointer conversion warnings.

15 years agokernel32/tests: Fix some integer to pointer conversion warnings.
Alexandre Julliard [Thu, 8 Jan 2009 12:17:53 +0000 (13:17 +0100)] 
kernel32/tests: Fix some integer to pointer conversion warnings.

15 years agoquartz: Avoid a pointer cast in a trace.
Alexandre Julliard [Thu, 8 Jan 2009 12:17:49 +0000 (13:17 +0100)] 
quartz: Avoid a pointer cast in a trace.

15 years agowininet: Avoid pointer casts in traces.
Alexandre Julliard [Thu, 8 Jan 2009 12:13:22 +0000 (13:13 +0100)] 
wininet: Avoid pointer casts in traces.

15 years agoversion: Avoid pointer casts in a trace.
Alexandre Julliard [Thu, 8 Jan 2009 12:13:15 +0000 (13:13 +0100)] 
version: Avoid pointer casts in a trace.

15 years agouser32: Avoid a pointer cast in a trace.
Alexandre Julliard [Thu, 8 Jan 2009 12:13:05 +0000 (13:13 +0100)] 
user32: Avoid a pointer cast in a trace.

15 years agoshell32: Avoid a pointer cast in a trace.
Alexandre Julliard [Thu, 8 Jan 2009 12:13:01 +0000 (13:13 +0100)] 
shell32: Avoid a pointer cast in a trace.

15 years agoimm32: Avoid pointer casts in traces.
Alexandre Julliard [Thu, 8 Jan 2009 12:12:55 +0000 (13:12 +0100)] 
imm32: Avoid pointer casts in traces.

15 years agodsound: Avoid a pointer cast in a trace.
Alexandre Julliard [Thu, 8 Jan 2009 12:12:46 +0000 (13:12 +0100)] 
dsound: Avoid a pointer cast in a trace.

15 years agomsvcrt: Avoid size_t in printf format.
Alexandre Julliard [Thu, 8 Jan 2009 12:12:24 +0000 (13:12 +0100)] 
msvcrt: Avoid size_t in printf format.

15 years agodinput: Avoid size_t in traces.
Alexandre Julliard [Thu, 8 Jan 2009 12:12:08 +0000 (13:12 +0100)] 
dinput: Avoid size_t in traces.

15 years agouser32/tests: Fix some integer to pointer conversion warnings.
Alexandre Julliard [Thu, 8 Jan 2009 12:11:49 +0000 (13:11 +0100)] 
user32/tests: Fix some integer to pointer conversion warnings.

15 years agontdll/tests: Fix a long long format in a trace.
Alexandre Julliard [Thu, 8 Jan 2009 12:05:38 +0000 (13:05 +0100)] 
ntdll/tests: Fix a long long format in a trace.

15 years agomsi/tests: Use CreateFile instead of OpenFile to avoid handle casts.
Alexandre Julliard [Thu, 8 Jan 2009 12:05:27 +0000 (13:05 +0100)] 
msi/tests: Use CreateFile instead of OpenFile to avoid handle casts.

15 years agokernel32/tests: Use _lclose instead of CloseHandle to avoid handle casts.
Alexandre Julliard [Thu, 8 Jan 2009 12:05:16 +0000 (13:05 +0100)] 
kernel32/tests: Use _lclose instead of CloseHandle to avoid handle casts.

15 years agocrypt32: Avoid printing pointer differences in traces.
Alexandre Julliard [Thu, 8 Jan 2009 12:03:01 +0000 (13:03 +0100)] 
crypt32: Avoid printing pointer differences in traces.

15 years agows2_32/tests: Avoid printing pointer differences in traces.
Alexandre Julliard [Thu, 8 Jan 2009 12:02:54 +0000 (13:02 +0100)] 
ws2_32/tests: Avoid printing pointer differences in traces.

15 years agoshlwapi/tests: Avoid printing pointer differences in traces.
Alexandre Julliard [Thu, 8 Jan 2009 12:02:46 +0000 (13:02 +0100)] 
shlwapi/tests: Avoid printing pointer differences in traces.

15 years agorpcrt4/tests: Avoid printing pointer differences in traces.
Alexandre Julliard [Thu, 8 Jan 2009 12:02:40 +0000 (13:02 +0100)] 
rpcrt4/tests: Avoid printing pointer differences in traces.

15 years agooleaut32/tests: Avoid printing pointer differences in traces.
Alexandre Julliard [Thu, 8 Jan 2009 12:02:32 +0000 (13:02 +0100)] 
oleaut32/tests: Avoid printing pointer differences in traces.

15 years agontdll/tests: Avoid printing pointer differences in traces.
Alexandre Julliard [Thu, 8 Jan 2009 12:02:23 +0000 (13:02 +0100)] 
ntdll/tests: Avoid printing pointer differences in traces.

15 years agomsvcrt/tests: Avoid printing pointer differences in traces.
Alexandre Julliard [Thu, 8 Jan 2009 12:02:17 +0000 (13:02 +0100)] 
msvcrt/tests: Avoid printing pointer differences in traces.

15 years agooleaut32/tests: Fix copy/paste typo in test output.
Nikolay Sivov [Thu, 8 Jan 2009 09:00:00 +0000 (12:00 +0300)] 
oleaut32/tests: Fix copy/paste typo in test output.

15 years agodinput: Copy device data up to maximum available bytes.
Vitaliy Margolen [Thu, 8 Jan 2009 05:43:27 +0000 (22:43 -0700)] 
dinput: Copy device data up to maximum available bytes.

15 years agomapi32: Remove superfluous casts.
Michael Stefaniuc [Wed, 7 Jan 2009 23:36:51 +0000 (00:36 +0100)] 
mapi32: Remove superfluous casts.

15 years agowinecfg: Remove superfluous casts.
Michael Stefaniuc [Wed, 7 Jan 2009 23:37:36 +0000 (00:37 +0100)] 
winecfg: Remove superfluous casts.

15 years agodmcompos: Remove superfluous casts.
Michael Stefaniuc [Wed, 7 Jan 2009 23:38:54 +0000 (00:38 +0100)] 
dmcompos: Remove superfluous casts.

15 years agodmband: Remove superfluous casts.
Michael Stefaniuc [Wed, 7 Jan 2009 23:38:34 +0000 (00:38 +0100)] 
dmband: Remove superfluous casts.

15 years agoamstream: Remove superfluous casts.
Michael Stefaniuc [Wed, 7 Jan 2009 23:38:16 +0000 (00:38 +0100)] 
amstream: Remove superfluous casts.

15 years agocmdlgtst: Remove superfluous casts.
Michael Stefaniuc [Wed, 7 Jan 2009 23:37:23 +0000 (00:37 +0100)] 
cmdlgtst: Remove superfluous casts.

15 years agoqcap: Remove superfluous casts.
Michael Stefaniuc [Wed, 7 Jan 2009 23:37:09 +0000 (00:37 +0100)] 
qcap: Remove superfluous casts.

15 years agofusion: Remove superfluous casts.
Michael Stefaniuc [Wed, 7 Jan 2009 23:36:35 +0000 (00:36 +0100)] 
fusion: Remove superfluous casts.

15 years agowinapi_test: The tests don't support WIN64 yet so disable them there.
Francois Gouget [Wed, 7 Jan 2009 23:24:16 +0000 (00:24 +0100)] 
winapi_test: The tests don't support WIN64 yet so disable them there.

15 years agowinapi_test: The real tests are done at compile time so use C_ASSERT() instead of...
Francois Gouget [Wed, 7 Jan 2009 23:26:10 +0000 (00:26 +0100)] 
winapi_test: The real tests are done at compile time so use C_ASSERT() instead of ok(). Do only one test per line so one can know exactly what went wrong.

15 years agowinapi_test: Fix TEST_FIELD() so it correctly tests the field size.
Francois Gouget [Wed, 7 Jan 2009 23:23:22 +0000 (00:23 +0100)] 
winapi_test: Fix TEST_FIELD() so it correctly tests the field size.

15 years agowinapi_test: FIELD_ALIGNMENT() is redundant so remove it.
Francois Gouget [Wed, 7 Jan 2009 23:18:48 +0000 (00:18 +0100)] 
winapi_test: FIELD_ALIGNMENT() is redundant so remove it.