wine
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.

15 years agowinapi_test: Updated so the generated tests work.
Francois Gouget [Wed, 7 Jan 2009 23:18:27 +0000 (00:18 +0100)] 
winapi_test: Updated so the generated tests work.

15 years agoquartz: OutputPin_DeliverNewSegment() is unused so remove it.
Francois Gouget [Wed, 7 Jan 2009 23:04:55 +0000 (00:04 +0100)] 
quartz: OutputPin_DeliverNewSegment() is unused so remove it.

15 years agomsacm32: Declare a function static.
Andrew Talbot [Wed, 7 Jan 2009 20:26:15 +0000 (20:26 +0000)] 
msacm32: Declare a function static.

15 years agoshell32/tests: Fix test failures on Win9x, NT4 and Vista (FO_RENAME).
Paul Vriens [Thu, 8 Jan 2009 10:28:35 +0000 (11:28 +0100)] 
shell32/tests: Fix test failures on Win9x, NT4 and Vista (FO_RENAME).

15 years agomsi/tests: Skip some tests if we don't have enough rights.
Paul Vriens [Wed, 7 Jan 2009 14:53:19 +0000 (15:53 +0100)] 
msi/tests: Skip some tests if we don't have enough rights.

15 years agoopengl32: Automatically download the GL spec files in make_opengl. Add a default...
Alexandre Julliard [Thu, 8 Jan 2009 11:29:39 +0000 (12:29 +0100)] 
opengl32: Automatically download the GL spec files in make_opengl. Add a default value for the OpenGL version.

15 years agoopengl32: Use INT_PTR instead of ptrdiff_t in generated code to avoid printf warnings.
Alexandre Julliard [Thu, 8 Jan 2009 11:15:47 +0000 (12:15 +0100)] 
opengl32: Use INT_PTR instead of ptrdiff_t in generated code to avoid printf warnings.

15 years agouser32/tests: Fix most of the macro abuse in the menu test.
Alexandre Julliard [Thu, 8 Jan 2009 11:15:25 +0000 (12:15 +0100)] 
user32/tests: Fix most of the macro abuse in the menu test.

15 years agosetupapi: Add some tests for StringTableLookUpStringEx. Make them pass.
Hans Leidekker [Wed, 7 Jan 2009 12:22:49 +0000 (13:22 +0100)] 
setupapi: Add some tests for StringTableLookUpStringEx. Make them pass.

15 years agoqmgr: Improve a couple of stubs.
Hans Leidekker [Wed, 7 Jan 2009 12:22:19 +0000 (13:22 +0100)] 
qmgr: Improve a couple of stubs.

15 years agowidl: Make the case of messages output by warning and error functions consistent.
Rob Shearman [Wed, 7 Jan 2009 11:43:47 +0000 (11:43 +0000)] 
widl: Make the case of messages output by warning and error functions consistent.

Standardise on lower case "warning" and "error", since they match the
case of what gcc prints.

15 years agoAssorted spelling fixes.
Francois Gouget [Wed, 7 Jan 2009 11:22:02 +0000 (12:22 +0100)] 
Assorted spelling fixes.

15 years agodnsapi: Reorder a couple of functions to avoid forward declarations.
Francois Gouget [Wed, 7 Jan 2009 11:45:00 +0000 (12:45 +0100)] 
dnsapi: Reorder a couple of functions to avoid forward declarations.

15 years agodnsapi: dns_ns_name_pton() is unused so remove it.
Francois Gouget [Wed, 7 Jan 2009 11:41:44 +0000 (12:41 +0100)] 
dnsapi: dns_ns_name_pton() is unused so remove it.

15 years agow32skrnl: _GetThunkBuff() is unused so remove it.
Francois Gouget [Wed, 7 Jan 2009 11:40:13 +0000 (12:40 +0100)] 
w32skrnl: _GetThunkBuff() is unused so remove it.

15 years agoquartz: Reorder some functions to avoid forward declarations.
Francois Gouget [Wed, 7 Jan 2009 11:35:31 +0000 (12:35 +0100)] 
quartz: Reorder some functions to avoid forward declarations.

15 years agoview: Make FileIsPlaceable() and GetPlaceableMetaFile() static.
Francois Gouget [Wed, 7 Jan 2009 11:35:16 +0000 (12:35 +0100)] 
view: Make FileIsPlaceable() and GetPlaceableMetaFile() static.

15 years agod3dxof: Reorder some functions to avoid forward declarations.
Francois Gouget [Wed, 7 Jan 2009 11:35:08 +0000 (12:35 +0100)] 
d3dxof: Reorder some functions to avoid forward declarations.

15 years agowinedos: VGA_SetQuadPalette() is unused so remove it.
Francois Gouget [Wed, 7 Jan 2009 11:34:45 +0000 (12:34 +0100)] 
winedos: VGA_SetQuadPalette() is unused so remove it.

15 years agowinedos: VGA_SetTextAttribute() is unused so remove it.
Francois Gouget [Wed, 7 Jan 2009 11:32:59 +0000 (12:32 +0100)] 
winedos: VGA_SetTextAttribute() is unused so remove it.

15 years agowinedos: Remove unused functions from devices.c.
Francois Gouget [Wed, 7 Jan 2009 11:29:47 +0000 (12:29 +0100)] 
winedos: Remove unused functions from devices.c.

15 years agogdi32: Remove some dead code.
Francois Gouget [Wed, 7 Jan 2009 11:25:40 +0000 (12:25 +0100)] 
gdi32: Remove some dead code.