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

15 years agooleview: Make some functions static.
Francois Gouget [Wed, 7 Jan 2009 11:23:42 +0000 (12:23 +0100)] 
oleview: Make some functions static.

15 years agontdll: Clear IEXTEN when clearing ICANON.
G. Paul Ziemba [Tue, 6 Jan 2009 19:40:09 +0000 (11:40 -0800)] 
ntdll: Clear IEXTEN when clearing ICANON.

15 years agowinex11: Support the startup notification fd.o spec.
Damjan Jovanovic [Tue, 6 Jan 2009 18:59:07 +0000 (20:59 +0200)] 
winex11: Support the startup notification fd.o spec.

15 years agomsvcrt: Correctly walk up the list of trylevels in except_handler3.
Alexandre Julliard [Wed, 7 Jan 2009 13:17:26 +0000 (14:17 +0100)] 
msvcrt: Correctly walk up the list of trylevels in except_handler3.

15 years agosetupapi/tests: Skip some tests if we don't have enough rights.
Paul Vriens [Wed, 7 Jan 2009 10:05:24 +0000 (11:05 +0100)] 
setupapi/tests: Skip some tests if we don't have enough rights.

15 years agooleaut32: Check pointer in IPicture::get_Type.
Nikolay Sivov [Wed, 7 Jan 2009 06:31:00 +0000 (09:31 +0300)] 
oleaut32: Check pointer in IPicture::get_Type.

15 years agooleaut32: Check pointer in IPicture::get_Handle.
Nikolay Sivov [Wed, 7 Jan 2009 06:07:06 +0000 (09:07 +0300)] 
oleaut32: Check pointer in IPicture::get_Handle.

15 years agowintab32: Check for NULL before using context.
Peter Urbanec [Tue, 6 Jan 2009 23:46:04 +0000 (10:46 +1100)] 
wintab32: Check for NULL before using context.

15 years agoloadperf: Add UnloadPerfCounterTextStrings stubs.
Andrey Turkin [Wed, 7 Jan 2009 10:34:45 +0000 (13:34 +0300)] 
loadperf: Add UnloadPerfCounterTextStrings stubs.

15 years agoloadperf: Add stub loadperf.dll.
Andrey Turkin [Wed, 7 Jan 2009 10:34:31 +0000 (13:34 +0300)] 
loadperf: Add stub loadperf.dll.

15 years agoole32: Fix return value for DefaultHandler_GetMiscStatus.
Nikolay Sivov [Wed, 7 Jan 2009 08:58:29 +0000 (11:58 +0300)] 
ole32: Fix return value for DefaultHandler_GetMiscStatus.

15 years agowidl: Determine the type of an array entirely at code generation time instead of...
Rob Shearman [Tue, 6 Jan 2009 23:20:59 +0000 (23:20 +0000)] 
widl: Determine the type of an array entirely at code generation time instead of at parse time.

Previously, this was done partially (for fixed array types only).

15 years agoimm32: Remove superfluous casts.
Michael Stefaniuc [Wed, 7 Jan 2009 09:48:54 +0000 (10:48 +0100)] 
imm32: Remove superfluous casts.

15 years agowined3d: Remove a redundant parameter to drawPrimitive().
Henri Verbeet [Wed, 7 Jan 2009 08:00:55 +0000 (09:00 +0100)] 
wined3d: Remove a redundant parameter to drawPrimitive().

startIdx should be the first index to draw, either from the vertex
array or the index array, depending on if the draw is indexed or
not. Having both at the same time wouldn't make sense.

15 years agowined3d: Don't delete queries from the wrong context.
Henri Verbeet [Wed, 7 Jan 2009 08:00:55 +0000 (09:00 +0100)] 
wined3d: Don't delete queries from the wrong context.

15 years agowined3d: Simplify IWineD3DOcclusionQueryImpl_GetData().
Henri Verbeet [Wed, 7 Jan 2009 08:00:55 +0000 (09:00 +0100)] 
wined3d: Simplify IWineD3DOcclusionQueryImpl_GetData().

15 years agowined3d: Make calling a query from the wrong context a FIXME.
Henri Verbeet [Wed, 7 Jan 2009 08:00:55 +0000 (09:00 +0100)] 
wined3d: Make calling a query from the wrong context a FIXME.

We want to know if this happens a lot. If the query is always called
from a different context than the one that created it, occlusion
culling would effectively be disabled, which could have a significant
performance impact, depending on the type of objects being culled.

15 years agowined3d: Also apply the last sampler state.
Henri Verbeet [Wed, 7 Jan 2009 08:00:55 +0000 (09:00 +0100)] 
wined3d: Also apply the last sampler state.

In practice we don't implement WINED3DSAMP_DMAPOFFSET anyway, so this
is unlikely to make much of a difference.

15 years agourlmon: Skip more tests on old IE and ignore BINDSTATUS_PROXYDETECTING notification.
Jacek Caban [Tue, 6 Jan 2009 23:42:03 +0000 (00:42 +0100)] 
urlmon: Skip more tests on old IE and ignore BINDSTATUS_PROXYDETECTING notification.

15 years agojscript: Declare a function static.
Andrew Talbot [Tue, 6 Jan 2009 22:26:58 +0000 (22:26 +0000)] 
jscript: Declare a function static.

15 years agoshell32/tests: Fix some test failures on NT4 (FO_COPY).
Paul Vriens [Tue, 6 Jan 2009 20:16:20 +0000 (21:16 +0100)] 
shell32/tests: Fix some test failures on NT4 (FO_COPY).

15 years agoshell32/tests: Fix some test failures on NT4 (FO_MOVE).
Paul Vriens [Tue, 6 Jan 2009 17:04:56 +0000 (18:04 +0100)] 
shell32/tests: Fix some test failures on NT4 (FO_MOVE).

15 years agoshell32/tests: Use a different name for the return value.
Paul Vriens [Tue, 6 Jan 2009 16:20:12 +0000 (17:20 +0100)] 
shell32/tests: Use a different name for the return value.

15 years agontdll: Fix buffer overread in RtlNumberOfSetBits.
Aleksey Bragin [Wed, 24 Dec 2008 02:04:25 +0000 (06:04 +0400)] 
ntdll: Fix buffer overread in RtlNumberOfSetBits.

15 years agoxinput1_3: Added tests for XInputGetKeystroke.
Andrew Fenn [Tue, 6 Jan 2009 13:48:19 +0000 (20:48 +0700)] 
xinput1_3: Added tests for XInputGetKeystroke.

15 years agoxinput1_3: Added stub code for XInputGetKeystroke.
Andrew Fenn [Tue, 6 Jan 2009 13:47:23 +0000 (20:47 +0700)] 
xinput1_3: Added stub code for XInputGetKeystroke.

15 years agoinclude/msvcrt: Replace va_list by __ms_va_list for x86_64.
Alexandre Julliard [Tue, 6 Jan 2009 20:09:58 +0000 (21:09 +0100)] 
include/msvcrt: Replace va_list by __ms_va_list for x86_64.

15 years agoregedit: Convert error box display to Unicode.
Alexandre Julliard [Tue, 6 Jan 2009 20:09:43 +0000 (21:09 +0100)] 
regedit: Convert error box display to Unicode.

15 years agoregedit: Fix integer printf formats in resource strings.
Alexandre Julliard [Tue, 6 Jan 2009 20:09:20 +0000 (21:09 +0100)] 
regedit: Fix integer printf formats in resource strings.

15 years agowinefile: Get rid of hack to load vswprintf from msvcrt.
Alexandre Julliard [Tue, 6 Jan 2009 19:52:55 +0000 (20:52 +0100)] 
winefile: Get rid of hack to load vswprintf from msvcrt.