Commit Graph

17725 Commits

Author SHA1 Message Date
Alexandre Julliard 348fd746d9 msvfw32: Don't use sizeof in traces to avoid printf format warnings. 2006-06-13 14:10:57 +02:00
Alexandre Julliard 5784ca9bca mciseq: Don't use sizeof in traces to avoid printf format warnings. 2006-06-13 14:10:47 +02:00
Alexandre Julliard 1c66c611a1 kernel32: Don't use sizeof in traces to avoid printf format warnings. 2006-06-13 14:10:39 +02:00
Alexandre Julliard bc99ac09d3 dsound: Don't use sizeof in traces to avoid printf format warnings. 2006-06-13 14:10:32 +02:00
Alexandre Julliard 9f37cd55bc dplayx: Don't use sizeof in traces to avoid printf format warnings. 2006-06-13 14:10:21 +02:00
Alexandre Julliard 1b469c2482 dmstyle: Don't use sizeof in traces to avoid printf format warnings. 2006-06-13 14:10:12 +02:00
Alexandre Julliard 7ad5f9eca0 dinput: Don't use sizeof in traces to avoid printf format warnings. 2006-06-13 14:09:55 +02:00
Alexandre Julliard 4374328271 d3d9: Don't use sizeof in traces to avoid printf format warnings. 2006-06-13 14:09:46 +02:00
Alexandre Julliard 7bf49faf23 d3d8: Don't use sizeof in traces to avoid printf format warnings. 2006-06-13 14:09:36 +02:00
Alexandre Julliard aeae92e9f9 comdlg32: Don't use sizeof in traces to avoid printf format warnings. 2006-06-13 14:09:24 +02:00
Alexandre Julliard 03e2b335c4 comctl32: Don't use sizeof in traces to avoid printf format warnings. 2006-06-13 14:09:16 +02:00
Alexandre Julliard 553bb2591f advapi32: Don't use sizeof in traces to avoid printf format warnings. 2006-06-13 14:09:02 +02:00
Alexandre Julliard 82a404a077 winmm/tests: Don't use sizeof in ok() to avoid printf format warnings. 2006-06-13 14:04:07 +02:00
Alexandre Julliard 55d9045804 version/tests: Don't use sizeof in ok() to avoid printf format warnings. 2006-06-13 14:03:59 +02:00
Alexandre Julliard 744528578d urlmon/tests: Don't use sizeof in ok() to avoid printf format warnings. 2006-06-13 14:03:51 +02:00
Alexandre Julliard d90f68166c rpcrt4/tests: Don't use sizeof in ok() to avoid printf format warnings. 2006-06-13 14:03:44 +02:00
Alexandre Julliard 28e17a75af ole32/tests: Don't use sizeof in ok() to avoid printf format warnings. 2006-06-13 14:03:36 +02:00
Alexandre Julliard cba2c84741 ntdll/tests: Don't use sizeof in ok() to avoid printf format warnings. 2006-06-13 14:03:19 +02:00
Alexandre Julliard 65459cb344 mshtml/tests: Don't use sizeof in ok() to avoid printf format warnings. 2006-06-13 14:03:01 +02:00
Alexandre Julliard be4dccb33f mlang/tests: Don't use sizeof in ok() to avoid printf format warnings. 2006-06-13 14:02:52 +02:00
Alexandre Julliard 4ec2fcc9fd mapi32/tests: Don't use sizeof in ok() to avoid printf format warnings. 2006-06-13 14:02:45 +02:00
Alexandre Julliard c6b342d8ff kernel32/tests: Don't use sizeof in ok() to avoid printf format warnings. 2006-06-13 14:02:31 +02:00
Alexandre Julliard e19f31b682 gdi/tests: Don't use sizeof in ok() to avoid printf format warnings. 2006-06-13 14:02:13 +02:00
Alexandre Julliard 52d6077f8b crypt32/tests: Don't use sizeof in ok() to avoid printf format warnings. 2006-06-13 14:02:03 +02:00
Alexandre Julliard 68e4cf4a0b wininet/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings. 2006-06-13 13:58:30 +02:00
Alexandre Julliard 298d80c2bd version/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings. 2006-06-13 13:58:12 +02:00
Alexandre Julliard 0cbd0a367d shlwapi/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings. 2006-06-13 13:57:59 +02:00
Alexandre Julliard 8e5eaaad1b ntdll/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings. 2006-06-13 13:57:40 +02:00
Alexandre Julliard 1369719d2c mscms/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings. 2006-06-13 13:57:27 +02:00
Alexandre Julliard e2e6115193 kernel32/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings. 2006-06-13 13:57:12 +02:00
Alexandre Julliard 93fd4524e4 crypt32/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings. 2006-06-13 13:56:39 +02:00
Alexandre Julliard 290ddd8e38 advapi32/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings. 2006-06-13 13:56:18 +02:00
Mike McCormack 9985c42150 wingdi: Fix typo in definition of BLTALIGNMENT (spotted by Choe Hwanjin). 2006-06-13 12:56:49 +02:00
Mike McCormack cfe36cc81d msi: Fix loading of long strings. 2006-06-13 12:56:42 +02:00
Mike McCormack 25f521f1b2 winmm: Undefine SW_MAX defined by linux/input.h to avoid a conflict with winuser.h. 2006-06-13 12:56:38 +02:00
Michael Stefaniuc fee72b607a Yet another round of redundant NULL checks before HeapFree. 2006-06-13 11:40:23 +02:00
Alexandre Julliard 24beabfd4e msvcrt: Explicitly specify CDECL calling convention on exported functions. 2006-06-13 11:40:23 +02:00
Alexandre Julliard 28bbdf116c oledlg: Declare varargs functions as WINAPIV instead of cdecl. 2006-06-13 11:40:23 +02:00
Alexandre Julliard 1db7a349c9 avifil32: Declare varargs functions as WINAPIV instead of cdecl. 2006-06-13 11:40:23 +02:00
Mike McCormack 4a2d96077e userenv: Add profinfo.h. 2006-06-13 11:40:23 +02:00
Ivan Gyurdiev 45dbb78d73 wined3d: Fix params for DP2ADD/TEXLDD.
DP2ADD is valid on pshaders 2.0 and above, has 4 parameters.
TEXLDD is valid on pshaders 2.x and above, has 5 parameters.
2006-06-13 11:40:23 +02:00
Ivan Gyurdiev 8c6ee8df0d wined3d: Mark instructions without a destination token.
There are a total of 17 instructions without a destination token. Of
those 9 have num_params != 0, which means that we will not process any
of them correctly, because we assume the first token (if present) is a
destination token.

Those are basically all the flow control instructions, which we plan to
support very soon. They have source tokens, and no destination. Add a
flag that marks them up to the ins table. Use this flag in the trace
pass, and generation pass.
2006-06-13 11:40:22 +02:00
Ivan Gyurdiev 14a52e5c09 wined3d: Keep pshader and vshader constants in GLSL separate.
GLSL uniforms have as scope the entire program.
To prevent conflicts, name pshader and vshader constants differently.
Based on a patch by Jason Green.
2006-06-13 11:40:22 +02:00
Ivan Gyurdiev 0d08316523 wined3d: Improve Sampler support on 2.0 and 3.0 shaders.
- track sampler declarations and store the sampler usage in reg_maps structure
- store a fake sampler usage for 1.X shaders (defined as 2D sampler)
- re-sync glsl TEX implementation with the ARB one (no idea why they diverged..)
- use sampler type in new TEX implementation to support 2D, 3D, and Cube sampling
- change drawprim to bind pixel shader samplers

Additional improvements:
- rename texture limit to texcoord to prevent confusion
- add sampler limit, and use that for samplers - *not* the same as texcoord above
2006-06-13 11:40:22 +02:00
Ivan Gyurdiev e99926ee06 wined3d: Cast more things.
Anything with a swizzle has to be casted to vec4, or it won't work properly.
There's multiple ways to do this, for the moment pick the easiest one.
2006-06-13 11:40:22 +02:00
Ivan Gyurdiev a1f4dfe4e3 wined3d: Add support for shader model 3.0 I/O registers.
SM 3.0 can pack multiple "semantics" into 12 generic input/output registers.

To support that, define temporaries called IN and OUT, and use those as
the output registers. At the end of the vshader, unpack the OUT temps
into the proper GL variables. At the beginning of the pshader, pack the
GL variables back into 12 IN registers.
2006-06-13 11:40:22 +02:00
Ivan Gyurdiev 1a3003338f wined3d: Trivial cleanups
- compiler warnings and errors should be FIXME
- remove obsolete comment, and change variable type.
2006-06-13 11:40:22 +02:00
Ivan Gyurdiev a42925ee09 wined3d: Register map cleanups.
Various cleanups:
- do not use DWORD as a bitmask, that places artificial limit of 32 on
  registers
- track attributes that are used and declare only those
- move declarations function call in pshader/vshader to allow us to
  insert pixel or vertex specific code between the declarations and
  the rest of the code
- remove redundant 0 intializers
- remove useless continue statement
2006-06-13 11:40:22 +02:00
Ivan Gyurdiev 17b0d26c1e wined3d: Share trace pass
Now that the declaration function is out of the way, the tracing pass,
which is very long and 100% the same can be shared between pixel and
vertex shaders.

The new function is called shader_trace_init(), and is responsible for:
- tracing the shader
- initializing the function length
- setting the shader version [needed very early]
2006-06-13 11:40:22 +02:00
Ivan Gyurdiev 9bae7755ab wined3d: Rework dcl processing.
The new function is called in pass 2 (getister counting/maps), and
it's now in baseshader. It operates on all INPUT and OUTPUT registers,
which, in addition to the old vertex shader input declarations covers
Shader Model 3.0 vshader output and pshader input declarations. The
result is stored into the reg_map structure.
2006-06-13 11:40:21 +02:00
Ivan Gyurdiev f144d58ac2 wined3d: The namedArrays code path is dead (always FALSE).
Delete the entire namedArrays code path and all its dependencies (one
of which is quite long - storeOrder in drawprim is always FALSE, for
example). Delete declaredArrays, and make its code path the default.
2006-06-13 11:40:21 +02:00
Saulius Krasuckas 3692219db4 mscms: Eliminate complex test macro to make source navigation easier. 2006-06-13 11:40:21 +02:00
Robert Shearman abc0f385a3 mlang: Return S_OK from fnIMultiLanguage2_SetMimeDBSource.
The source is largely irrelevant since we are not likely to be wanting
to ship updates to the MIME database as registry updates, instead of
just changing the code.
2006-06-13 11:40:20 +02:00
Robert Shearman 0d1456ca30 mlang: Add us-ascii encoding to the list of supported encodings. 2006-06-13 11:40:20 +02:00
Robert Shearman 4b7a5aaca6 advapi32: Fix the parsing of string SIDs with multiple sub-authorities. 2006-06-13 11:40:20 +02:00
Robert Shearman 8a4088d8a3 advapi32: Replace some mixed tabs with spaces. 2006-06-13 11:40:20 +02:00
Robert Shearman 84019596be advapi32: Support well-knowns SIDs in string SIDs. 2006-06-13 11:40:20 +02:00
Robert Shearman ddd84f4f28 advapi32: Nul-terminate the domain string in LookupAccountNameW. 2006-06-13 11:40:20 +02:00
Robert Shearman b5f7e818a1 ole32: Print an error if a DLL's DllGetClassObject fails as this is
usually a good indicator of a bug elsewhere in Wine.
2006-06-13 11:40:20 +02:00
Jan Zerebecki c6449b5a91 wined3d: Move a checkGLcall to it's gl call inside an "if". 2006-06-13 10:51:07 +02:00
Jan Zerebecki 7528fc0de1 wined3d: Fix stencil related render states. 2006-06-13 10:50:55 +02:00
Jan Zerebecki cf8833c467 wined3d: Enable two sided stencil in the caps. 2006-06-13 10:46:29 +02:00
Jan Zerebecki df3e078b20 wined3d: Also print the format like a fourcc if unknown in debug_d3dformat. 2006-06-13 10:35:14 +02:00
Alexandre Julliard 6444876da2 msvcrtd: Explicitly specify CDECL calling convention on exported functions. 2006-06-12 21:35:40 +02:00
Alexandre Julliard f278f534c1 msvcrt20: Explicitly specify CDECL calling convention on exported functions. 2006-06-12 21:35:27 +02:00
Alexandre Julliard 40cbe19e49 crtdll: Explicitly specify CDECL calling convention on exported functions. 2006-06-12 21:35:20 +02:00
Alexandre Julliard 57939d8fa4 ntdll: Explicitly specify CDECL calling convention on exported functions. 2006-06-12 21:35:07 +02:00
Alexandre Julliard 69591d81f9 ole32: Explicitly specify CDECL calling convention on exported functions. 2006-06-12 21:34:59 +02:00
Alexandre Julliard 91e45c62d3 wldap32: Explicitly specify CDECL calling convention on exported functions. 2006-06-12 21:34:46 +02:00
Alexandre Julliard 1053eccb36 include: Added prototype for DllMain. 2006-06-12 16:18:17 +02:00
Alexandre Julliard 9936feef07 include: Make the Dll* entry points hidden. 2006-06-12 16:18:01 +02:00
Alexandre Julliard 72e2dea1f1 ntdll: Added spec entry for NtQueryMultipleValueKey. 2006-06-12 16:10:28 +02:00
Alexandre Julliard fe4c4780eb riched20: Fix an uninitialized variable bug.
Mark todo a test that depended on the bug to succeed.
2006-06-12 16:09:50 +02:00
H. Verbeet 405e11ea62 wined3d: Cleanup GetSrcAndOpFromValue().
- Cleanup GetSrcAndOpFromValue().
- Use naming more consistent with the rest of the file.
2006-06-12 16:07:58 +02:00
Mike McCormack a28ebdf7d4 msi: Add some more test cases for INSERT. 2006-06-12 16:04:31 +02:00
Mike McCormack 7f64332d11 msi: Add some more MsiFormatRecord tests. 2006-06-12 16:04:19 +02:00
Mike McCormack bef879cb24 msi: Add tests for creating packages and formatting records. 2006-06-12 16:04:08 +02:00
Mike McCormack f29ec238e8 msi: Delete any databases we create at the end of each test. 2006-06-12 16:03:57 +02:00
Mike McCormack 53041d8f73 msi: Fix compilation on msvc6. 2006-06-12 16:03:05 +02:00
Mike McCormack 3c81969a55 msi: Remove an inconsistent test. 2006-06-12 16:02:53 +02:00
Mike McCormack a302ec19bd msi: Fix some test cases to pass against win2k. 2006-06-12 15:56:54 +02:00
Robert Shearman be35acf02e atl: Implement AtlModuleGetClassObject. 2006-06-12 15:56:34 +02:00
Robert Shearman 79b2742120 msxml3: Fix domelem_get_tagName to return a string with the namespace prefixed, if it is present. 2006-06-12 15:56:23 +02:00
Robert Shearman 6dd935bc33 msxml3: Initialise output interface pointers to NULL in xmlnodelist_QueryInterface and xmlnodelist_nextNode. 2006-06-12 15:56:16 +02:00
Alexandre Julliard 276e223bcb wineps.drv: Make some variables static. 2006-06-12 13:46:17 +02:00
Alexandre Julliard 11b9d02048 crypt32: Make some variables static and/or const. 2006-06-12 13:45:11 +02:00
Alexandre Julliard 7a0396afd1 shell32: Make some variables static and/or const. 2006-06-12 13:44:21 +02:00
Alexandre Julliard ec6a1653aa kernel32: Make some variables static. 2006-06-12 13:41:45 +02:00
Alexandre Julliard 7bbc1d68c5 advapi32: Make some variables static and/or const. 2006-06-12 13:41:15 +02:00
Alexandre Julliard b5878798fd winemp3.acm: Make some variables static and/or const. 2006-06-12 13:40:34 +02:00
Alexandre Julliard b79a53e959 msi: Make some variables static and/or const. 2006-06-12 13:39:59 +02:00
Alexandre Julliard 654c02017b crtdll: Fixed copy/paste error in definition of _baseminor_dll and _baseversion_dll. 2006-06-12 13:38:29 +02:00
Alexandre Julliard 653fc2c443 x11drv: Get rid of the no longer used desktop_tid variable. 2006-06-12 13:37:36 +02:00
Dmitry Timoshkov 099e23ce49 user32: Remove redundant SetLastError call from MENU_SetMenu. 2006-06-12 13:21:48 +02:00
Christian Gmeiner f14f04dc8a setupapi: Documentation update. 2006-06-12 13:21:48 +02:00
Mike McCormack a8ac8d7f09 user32: Win64 lparam and wparam are longs. 2006-06-12 13:21:47 +02:00
Mike McCormack 87db243f0e user32: Fix a pointer size warning in Win64. 2006-06-12 13:21:47 +02:00
Mike McCormack 3ea306f264 kernel32: Fix a cast for Win64. 2006-06-12 13:21:47 +02:00
Mike McCormack bbbcc2a1be msi: Add some test cases for "SELECT ... WHERE condition". 2006-06-12 13:21:47 +02:00
Mike McCormack a21f9e5587 msi: Freeing the zero handle always succeeds. 2006-06-12 13:21:47 +02:00
Mike McCormack 15d302c313 msi: Always initialize MsiViewFetch's returned record to zero. 2006-06-12 13:21:47 +02:00
H. Verbeet 3a91a4a274 d3d9: Make some test functions static. 2006-06-12 13:21:47 +02:00
H. Verbeet 142a62be74 d3d8: Make some test functions static. 2006-06-12 13:21:47 +02:00
Dmitry Timoshkov a87a153587 msvcrt: Print exception code in hex. 2006-06-12 13:21:47 +02:00
Jason Green d822496dee wined3d: Map D3DSIO_DEF to it's GLSL generating function for vertex shaders. 2006-06-12 13:21:46 +02:00
Robert Shearman 1c04d9ab20 rpcrt4: Add an exception handler for CStdStubBuffer_Invoke.
This is needed because IRpcStubBuffer::Invoke should not allow RPC
exceptions to be passed to the caller.
2006-06-12 13:21:46 +02:00
Robert Shearman 35982d72f5 rpcrt4: Initialise pStubMsg->MemorySize to zero before calling
ComplexStructMemorySize from NdrComplexArrayUnmarshall.
2006-06-12 13:21:46 +02:00
Robert Shearman 539b48bff4 rpcrt4: Use safe_mutiply in conformant array functions. 2006-06-12 13:21:46 +02:00
Robert Shearman 8dea3c2aa8 rpcrt4: Pass in a maximum variance value to ReadVariance to allow us
to validate the conformance values being read from the wire.
2006-06-12 13:21:46 +02:00
Robert Shearman 613ee6d01c rpcrt4: Check that strings are null-terminated on unmarshaling of conformant-varying structs. 2006-06-12 13:21:46 +02:00
Robert Shearman a946eb420b rpcrt4: Use safe_multiply when multiplying anything by pStubMsg->ActualCount or pStubMsg->MaxCount. 2006-06-12 13:21:46 +02:00
Robert Shearman cec6092aa2 rpcrt4: Raise an exception during unmarshaling if a conformant string isn't null-terminated. 2006-06-12 13:21:46 +02:00
Robert Shearman 6e95bfe85a rpcrt4: Introduce a new function, safe_multiply, which will raise an
exception if a multiply overflows a 4-byte integer.

This will protect the unmarshaling code against attacks specifying a 
large variance.
Use this new function in the conformant string functions to harden them 
against attack.
2006-06-12 13:20:30 +02:00
Alexandre Julliard 236fd51020 uuid: Mark all GUID variables as hidden. 2006-06-12 12:01:38 +02:00
Alexandre Julliard d74b280e95 dnsapi: DnsExtractRecordsFromMessage_A is not exported. 2006-06-12 12:01:06 +02:00
Alexandre Julliard ce49817bc5 advapi32: Added spec entry for GetEffectiveRightsFromAclW. 2006-06-12 11:58:41 +02:00
Alexandre Julliard dbfb3739aa wined3d: Make all the local shader functions static. 2006-06-10 13:22:27 +02:00
Alexandre Julliard e9cbc66e93 wined3d: Make the virtual table functions static where possible. 2006-06-10 13:15:32 +02:00
Jason Green 42dd4653e3 wined3d: Change fog output variable name for GLSL shaders. 2006-06-10 12:43:10 +02:00
Jason Green e8c97e9421 wined3d: Fix regression from register maps switch for ARB shaders.
I missed a register mask in the move to share the shader_hw_def()
function between pixel and vertex shaders for ARB shaders.  Fixed
that, and made the GLSL version use the same mask for consistency.
2006-06-10 12:43:02 +02:00
Ivan Gyurdiev a09c941677 wined3d: Enable CND/CMP for SHADER_ARB. 2006-06-10 12:42:09 +02:00
Ivan Gyurdiev 621f075fb9 wined3d: Print out sampler state names. 2006-06-10 12:41:54 +02:00
Ivan Gyurdiev d44d0b5edb wined3d: Downgrade Get*Shader FIXME to TRACE. 2006-06-10 12:41:44 +02:00
Detlef Riekenberg e55b52fdd0 winspool/tests: Tests for GetPrintProcessorDirectory. 2006-06-10 12:41:34 +02:00
Saulius Krasuckas 072c11dc49 advapi32: Test RegSetValueEx[AW] for setting some sequential strings as one. 2006-06-10 12:41:27 +02:00
Alexandre Julliard 9a59ee76e4 msi: Make all the ops structures static and const. 2006-06-10 12:02:39 +02:00
Alexandre Julliard ba5efc6c76 imagehlp: Remove the unused internal.c file. 2006-06-10 12:02:14 +02:00
Alexandre Julliard cfc6c4891d oleaut32: Make the virtual table functions static where possible. 2006-06-10 11:59:33 +02:00
Alexandre Julliard ae525c1441 ole32: Make the virtual table functions static where possible. 2006-06-10 11:59:15 +02:00
Alexandre Julliard c637fa3cc6 itss: Make the virtual table functions static where possible. 2006-06-10 11:58:27 +02:00
Alexandre Julliard fa26809f0a dxdiagn: Make the virtual table functions static where possible. 2006-06-10 11:58:14 +02:00
Alexandre Julliard 9d1d5c2aa2 dswave: Make the virtual table functions static where possible. 2006-06-10 11:58:01 +02:00
Alexandre Julliard bbeeea4b88 dsound: Make the virtual table functions static where possible. 2006-06-10 11:57:48 +02:00
Alexandre Julliard c44fc329f7 dpnet: Make the virtual table functions static where possible. 2006-06-10 11:57:38 +02:00
Alexandre Julliard d37c555a48 dmusic: Make the virtual table functions static where possible. 2006-06-10 11:57:22 +02:00
Alexandre Julliard f6da014c4b dmsynth: Make the virtual table functions static where possible. 2006-06-10 11:57:03 +02:00
Alexandre Julliard 40feb043b1 dmstyle: Make the virtual table functions static where possible. 2006-06-10 11:56:49 +02:00
Alexandre Julliard 06ff754a95 dmscript: Make the virtual table functions static where possible. 2006-06-10 11:56:19 +02:00
Alexandre Julliard 12179978fb dmloader: Make the virtual table functions static where possible. 2006-06-10 11:56:03 +02:00
Alexandre Julliard 4358b4d8e1 dmcompos: Make the virtual table functions static where possible. 2006-06-10 11:55:30 +02:00
Alexandre Julliard c30d4ecd81 d3d9: Make the virtual table functions static where possible. 2006-06-10 11:51:05 +02:00
Alexandre Julliard a34074c5db d3dx8: Make the virtual table functions static where possible. 2006-06-10 11:50:26 +02:00
Alexandre Julliard c3bd09e563 d3d8: Make the virtual table functions static where possible. 2006-06-10 11:48:24 +02:00
Andrew Talbot 02731de430 x11drv: Write-strings warnings fix. 2006-06-09 21:14:05 +02:00
Detlef Riekenberg 94543cb630 winspool: Add GetPrintProcessorDirectoryA. 2006-06-09 21:13:00 +02:00
Robert Shearman 70c34ccc47 oleaut32: We always pass in an IRpcChannelBuffer to IRpcStubBuffer::Invoke now,
so remove the case for it being NULL.
2006-06-09 21:11:32 +02:00
Robert Shearman c60c28cf08 ole32: If IRpcStubBuffer_Invoke fails, we should raise an exception to
tell the RPC runtime that the call failed.
2006-06-09 21:11:20 +02:00
Robert Shearman 3d4e9d6a71 ole32: Register ISequentialStream for marshaling. 2006-06-09 21:11:09 +02:00
Robert Shearman 51e22f42bb ole32: Implement CoQueryClientBlanket, CoImpersonateClient and
CoRevertToSelf on top of CoGetCallContext, which is a stub.
2006-06-09 21:11:02 +02:00
Robert Shearman 42c39675ea ole32: Implement FTMarshalImpl_GetMarshalSizeMax. 2006-06-09 21:10:44 +02:00
Alexandre Julliard b4629addbd shell32: Use the standard DEFINE_GUID macro to define GUIDs. 2006-06-09 21:10:25 +02:00
Alexandre Julliard 49b3837504 riched32: Use the standard DEFINE_GUID macro to define GUIDs. 2006-06-09 21:10:01 +02:00
Alexandre Julliard 32f57b0214 ole32: Use the standard DEFINE_OLEGUID macro to define GUIDs. 2006-06-09 21:09:49 +02:00
Alexandre Julliard 707060913c oleaut32: Use the standard DEFINE_OLEGUID macro to define GUIDs. 2006-06-09 21:09:35 +02:00
Jason Green 08295f4cfc wined3d: GLSL shader cleanup patch.
- Based on comments from H. Verbeet
- Changed the distinction from .rgba & .xyzw masks to only use .xyzw
  in GLSL shaders.  They are interchangeable, and only served to make
  the trace look more intuitive, but they don't always apply as-is, so
  we'll just leave everything to .xyzw.
- Got rid of the "UseProgramObjectARB(0)" call in drawprim.  If there
  is no shader set on the next primitive, then that primitive will
  call UseProgramObjectARB(0) when it begins to draw.
2006-06-09 21:09:03 +02:00
Pierre d'Herbemont deab874424 dbghelp: Implement fetch_thread_info on powerpc. 2006-06-09 21:08:26 +02:00
Pierre d'Herbemont 6d0e51fb66 ntdll: Fix NtQueryInformationThread on non x86. 2006-06-09 21:08:14 +02:00
Robert Shearman d98b73a17a rpcrt4: Clear an object pointer during unmarshaling, otherwise we
could end up using the previously allocated memory even if it isn't
the right size, causing heap corruption.
2006-06-09 21:07:57 +02:00
Robert Shearman 578df90d6d rpcrt4: Initialise pStubMsg->MemorySize to zero before calling ComplexStructMemorySize from NdrComplexArrayUnmarshall. 2006-06-09 21:07:44 +02:00
Robert Shearman e3df112a39 rpcrt4: Don't raise an exception if there is no freer function - not all types have a freer. 2006-06-09 21:07:37 +02:00
Robert Shearman 21673d03f9 rpcrt4: Implement more base types for complex types. 2006-06-09 21:07:22 +02:00
Robert Shearman 0b1e51ca25 rpcrt4: Now that there's a process-wide pool of connections we don't
need to copy the FromConn field when copying bindings.
2006-06-09 21:07:11 +02:00
Robert Shearman 56386bd88c rpcrt4: Return the status received from RPCRT4_Send in I_RpcSend instead of always returning RPC_S_OK. 2006-06-09 21:07:02 +02:00
H. Verbeet 773309a403 d3d9: Add a test for default texture stage state values. 2006-06-09 21:06:54 +02:00
Jeff Latimer 8bdeffa4ef usp10: ScriptTextOut updated to reflect that it must have a hdc passed to it. 2006-06-09 18:13:44 +02:00
Peter Beutner d5d441d790 msvidc: Change short description to MS-CRAM. 2006-06-09 18:13:38 +02:00
Dmitry Timoshkov 2dd2eafd3c user: Neither WS_CAPTION nor WS_EX_APPWINDOW has anything to do how
passed in to CreateWindow menu should be handled.
2006-06-09 18:13:29 +02:00
qingdoa daoo f80db874d4 oleaut32: Fix safearray data destruction. 2006-06-09 18:13:22 +02:00
Alexandre Julliard ad5e02e604 opengl32: Store function pointers in a separate array to avoid a bunch of relocations. 2006-06-09 18:13:09 +02:00
Alexandre Julliard 3e68508ecd opengl32: Only store the glX name if different from the wgl name. 2006-06-09 16:26:44 +02:00
Alexandre Julliard cac3301854 opengl32: Make all the function pointers and thunks static. 2006-06-09 16:11:38 +02:00
Mike McCormack 7500e0feab msi: Update the progress control while installing. 2006-06-09 15:20:25 +02:00
Mike McCormack ea3ab4952b msi: Remove some unnecessary NULL checks. 2006-06-09 15:20:14 +02:00
Jason Green d5d4568450 wined3d: Allow drawPrim to create and use the GLSL program. 2006-06-09 15:20:06 +02:00
Jason Green b67cda248d wined3d: Add GLSL helper functions to Device.
- Add functions to attach & detach shader objects, create and delete programs, and maintain the list of programs.
- Add a list of GLSL shader programs to the device which is initialized on Init3D(), and deleted on Release().
2006-06-09 15:19:52 +02:00
Jason Green ca7976c34f wined3d: Map vertex shader instructions to GLSL generating functions. 2006-06-09 15:19:09 +02:00
Jason Green 5798356d21 wined3d: Map pixel shader instructions to GLSL generating functions. 2006-06-09 15:19:02 +02:00
Jason Green d59714b78c wined3d: Prototype the GLSL functions for use with pixel and vertex shaders. 2006-06-09 15:14:34 +02:00
Jason Green 806aaa1287 wined3d: Added more declarations to GLSL.
- Declare more variable names for GLSL programs.
- Some of these won't need to be declared eventually, but it doesn't hurt to do it for now.
- Correct output name for pixel shaders (gl_FragColor instead of glFragColor).
2006-06-09 15:14:22 +02:00
Jason Green ca70d13af4 wined3d: Unified float constant register mapping between ARB pixel and vertex shaders.
- Got rid of the separate constant maps.
- Side effect of this is that the map is a bit larger for pixel shaders than it needs to be
2006-06-09 14:36:50 +02:00
Jason Green 0c59ca6448 wined3d: Add the bulk of the GLSL string generation functions.
- Add a new file glsl_shader.c which contains almost every GLSL specific function we'll need
- Move print_glsl_info() into glsl_shader.c
- Move the shader_reg_maps struct info into the private header, and make it part of SHADER_OPCODE_ARG.
- Create a new shared ps/vs register map for float constants (future patch will make ARB programs use this, too)
2006-06-09 13:47:55 +02:00
Jason Green 1f1057fc9b wined3d: Move constant loading out of DrawPrimDrawStrided() and enable
loading float constants for GLSL.

- DrawPrim is just too big of a function.  This separates the passing
  of constants to the shader into new functions.
- Fixes an off-by-one error when loading vertex declaration constants
  (should be <, not <=)
- Adds a function for GLSL loading of constants (aka Uniforms)
- Adds a GLSL program variable to the stateblock and sets it to 0 (a
  future patch will actually create this program)
2006-06-09 13:26:51 +02:00
Dmitry Timoshkov 217dae68c5 comctl32: Return FALSE in the WM_CLOSE PROPSHEET_DialogProc handler.
Return FALSE in the WM_CLOSE PROPSHEET_DialogProc handler in order to
allow DefDlgProc to post us WM_COMMAND/IDCANCEL and unblock modal
message loop.
2006-06-09 13:26:31 +02:00
Detlef Riekenberg 249fa5b7a2 comdlg32: Rename finddlg.c to finddlg16.c. 2006-06-09 13:25:52 +02:00
Alexandre Julliard bdc419ed0b hlink: Add spec file entry for HlinkQueryCreateFromData. 2006-06-09 13:17:12 +02:00
Alexandre Julliard c32dc6744c rpcrt4: Make the protseq_ops structure constant. 2006-06-09 13:12:58 +02:00
Alexandre Julliard 9aea3b2d31 kernel: Added support for GlobalMemoryStatus on MacOS. 2006-06-09 11:52:50 +02:00
Alexandre Julliard 12286afc24 mshtml: Changed C syntax that winapi_check doesn't like. 2006-06-09 11:52:41 +02:00
Jeff Latimer 51ac1039db usp10: Update ScriptStringAnalyse and tests for ScriptString functions. 2006-06-08 11:37:35 +02:00
Jeff Latimer 422ca43d14 usp10: Update ScriptGetCMap to conform to Windows. 2006-06-08 11:35:22 +02:00
Jeff Latimer beb097fc93 usp10: Update tests in test_ScriptItemIzeShapePlace to match Windows results. 2006-06-08 11:34:58 +02:00
Jeff Latimer 5f529fe0d8 usp10: Add stubs for ScriptCPtoX, ScriptXtoCP and ScriptBreak and some basic tests. 2006-06-08 11:34:42 +02:00
Alexandre Julliard c0fcba798b rpcrt4: Avoid potential redefinition of uuid_t. 2006-06-08 11:29:26 +02:00
Phil Lodwick 6fc50ff378 shell32/tests: Test to make sure we can create a non-nested directory. 2006-06-08 11:12:02 +02:00
Phil Lodwick 5a13cba8b6 shell32: SHCreateDirectoryEx can create a non-nested directory. 2006-06-08 11:11:43 +02:00
Michael Kaufmann ea5d55bf4c user/tests: Update LoadImage test.
Include a bitmap in the resources and don't depend on Windows'
OBM_CHECK bitmap anymore.
2006-06-08 11:11:30 +02:00
Robert Shearman b5bff92a0c oleaut32: Uncomment a line to implement conversion from VT_DISPATCH to VT_BSTR. 2006-06-08 11:11:01 +02:00
Robert Shearman e452b7a0b4 oleaut32: Handle BSTRs in VARIANT_CopyData. 2006-06-08 11:10:58 +02:00
Phil Lodwick 3575918411 wininet: ftp: Fix crash if input buffer is larger than MAX_PATH. 2006-06-08 10:17:41 +02:00
Phil Lodwick 5ea41cc5fb wininet: ftp: 125 is an acceptable response code for the STORE command. 2006-06-08 10:17:27 +02:00
Robert Shearman 58ec282bfb rpcrt4: Implement a process-wide connection pool for client connections,
rather than relying on the restriction of one connection per
binding. This also avoids the problem of two threads using the same
connection at the same time.
2006-06-08 10:16:00 +02:00
Robert Shearman 1412c47a50 rpcrt4: Fix the retrieval of This for interpreted proxies. 2006-06-08 10:15:36 +02:00
Robert Shearman 7ef5c3c772 rpcrt4: Implement full-pointer support for interpreted stubs.
Move the calls to the full pointer init functions before
NdrClient/ServerInitializeNew, like in MIDL-generated code.
2006-06-08 10:15:22 +02:00
H. Verbeet 5eaf49f895 d3d9: Add a test for GetContainer (Volumes & Surfaces). 2006-06-07 15:37:30 +02:00
H. Verbeet 07a3173bee d3d9: Remove unused vshaderdeclaration.c. 2006-06-07 15:28:25 +02:00
H. Verbeet 34e2e2bd39 d3d9: Fix QueryInterface.
QueryInterface should return S_OK on success and set the object
pointer to NULL on failure. This is similar to the patch Ivan
submitted a while ago for wined3d.
2006-06-07 15:28:12 +02:00
H. Verbeet d06aa8d857 d3d8: Fix QueryInterface.
QueryInterface should return S_OK on success and set the object
pointer to NULL on failure. This is similar to the patch Ivan
submitted a while ago for wined3d.
2006-06-07 15:28:06 +02:00
Andrew Talbot 034fc473ec msvcrt: Write-strings warning fix. 2006-06-07 15:24:18 +02:00
Andrew Talbot 0ba64e58e5 kernel/tests: Write-strings warnings fix. 2006-06-07 15:24:13 +02:00
Andrew Talbot 63efd7f8e6 crypt32: Write-strings warning fix. 2006-06-07 15:24:05 +02:00
Andrew Talbot 8527f91043 dbghelp: Write-strings warning fix. 2006-06-07 15:23:55 +02:00
Ivan Gyurdiev ac46320f57 wined3d: TEXREG2GB is valid on pshaders 1.1. 2006-06-07 15:23:23 +02:00
Ivan Gyurdiev 83a9666f9c wined3d: Fix NULL dereference in generator function. 2006-06-07 15:23:17 +02:00
Ivan Gyurdiev 4d66615bbb wined3d: Fix missing light recording.
Write a light with the default parameters in disabled state if
capturing a missing light.
2006-06-07 15:20:00 +02:00
Ivan Gyurdiev 5bb0eebc95 d3d9: Test missing light recording.
When a light does not exist, and the app attempts to capture it in the
stateblock, a disabled light with the default light parameters is
written instead.
2006-06-07 15:16:25 +02:00
Ivan Gyurdiev 374de452ab d3d9: Mipmaps level test. 2006-06-07 15:16:16 +02:00
Vitaly Lipatov 452169243b msi: Add Russian resource file. 2006-06-07 14:31:31 +02:00
Robert Reif 65dd8741ff netapi32: Add stub for NetServerEnumEx. 2006-06-07 14:31:13 +02:00
Mike McCormack fac494c822 server: open_console's from field should be a handle. 2006-06-07 14:30:28 +02:00
Michael Stefaniuc 56026299d0 Remove more redundant NULL checks before HeapFree (found by Smatch). 2006-06-07 14:20:09 +02:00
EA Durbin 4e66d4791c msi/tests: Fixed a typo. 2006-06-07 14:19:52 +02:00
Mike McCormack b23b4f5d01 hlink: Implement DllRegisterServer. 2006-06-07 14:19:35 +02:00
Mike McCormack 58709d2263 hlink: Add a basic implementation (based on work by Aric Stewart). 2006-06-07 14:18:17 +02:00
Mike McCormack b732e9b4c1 hlink: Add a stub implementation (based on Aric Stewart's code). 2006-06-07 14:15:06 +02:00
Dmitry Timoshkov b4d5dd5efa comctl32: Remove WM_SYSCOMMAND handler from PROPSHEET_DialogProc. 2006-06-07 11:48:21 +02:00
H. Verbeet 26978a4d2d wined3d: Return the result of QueryInterface in GetContainer. 2006-06-07 11:48:00 +02:00
H. Verbeet 7b8bf46f3f wined3d: Remove a redundant break. 2006-06-07 11:47:54 +02:00
H. Verbeet 85ec834f7a wined3d: Don't hardcode type sizes for shader constants. 2006-06-07 11:47:46 +02:00
H. Verbeet 88528a7839 d3d9: Add a test for setting / getting vertex shader constants. 2006-06-07 11:47:38 +02:00
Robert Shearman 1027313e9f shdocvw: Register some more documented classes that native also registers. 2006-06-07 11:47:26 +02:00
Hans Leidekker 5cfe6e9213 dnsapi: Add stub implementations for the remaining documented functions. 2006-06-07 11:47:08 +02:00
Magnus Lundborg 2b5b86fb9c x11drv: Declared two functions as static to avoid compiler warnings. 2006-06-07 11:47:02 +02:00
qingdoa daoo 06fcfda9ff oleaut32: safearray: Convert dimension index at the API boundary. 2006-06-06 12:04:43 +02:00
Ivan Gyurdiev 5f5969b3c5 wined3d: Remove constant type field in stateblock.
It is wrong to maintain a mapping from a constant index to a type
field, because different constant types do not share an index -
boolean constant 0 is supposed to co-exist with floating point
constant 0, not replace it. Drawprim and other code using the type
array to decide whether to look up a constant in bools, floats, or
ints is wrong - you can't make that decision based on the index.
2006-06-06 11:58:54 +02:00
Ivan Gyurdiev 0909df6711 wined3d: Rename vertex shader constants.
From const%lu to C%lu for consistency (to match pshaders).
2006-06-06 11:50:36 +02:00
Ivan Gyurdiev 79029c1099 wined3d: Add limits for ps_2_x. 2006-06-06 11:50:20 +02:00
Ivan Gyurdiev aec2e3e46d wined3d: Trace improvements. 2006-06-06 11:49:03 +02:00
Ivan Gyurdiev 2c232990ee wined3d: pshader defi has 5 parameters. 2006-06-06 11:48:48 +02:00
qingdoa daoo 9de7c3ae78 gdi: Don't treat a NULL rect as an empty rect in ExtTextOutW. 2006-06-06 11:47:19 +02:00
James Hawkins 585763ffa9 oleaut32: Only BYREF DispCallFunc args whose input args are not BYREF should be changed. 2006-06-06 11:46:14 +02:00
James Hawkins 0e5bd51d28 oleaut32: Copy BYREF args directly if they have the same variant type. 2006-06-06 11:46:03 +02:00
Michael Kaufmann 1660c504ca gdi: New tests for GetDIBits.
New tests that check if GetDIBits works with a bitmap that is selected
in a device context (works in Windows, should fail according to the
API documentation)
2006-06-06 11:29:52 +02:00
Andrew Talbot 5ebf4f5b4e msvcrt: Write-strings warnings fix. 2006-06-06 11:29:41 +02:00
Mike McCormack a6ea0f61d9 userenv: Add a stub implementation of userenv.dll. 2006-06-05 21:07:33 +02:00
Detlef Riekenberg a99c9caa39 kernel/tests: Some tests for WideCharToMultiByte. 2006-06-05 21:06:52 +02:00
Mike McCormack 3244a3dfc6 advapi32: Fix comment to match the function (thanks to Dan Kegel). 2006-06-05 21:01:47 +02:00
Ulrich Czekalla 0c468c816c x11drv: Improve handling of the case where the clipboard is opened
with a window from another thread or process.
2006-06-05 21:01:30 +02:00
Huw Davies f5c72fd202 msi: Add some integer condition tests. 2006-06-05 21:00:49 +02:00
Karsten Elfenbein 99fa40e2bf kernel/tests: More tests for FindFirstFile. 2006-06-05 21:00:44 +02:00
Mike McCormack ea2d3f802b dnsapi: Fix the case where we have libresolv headers but no libraries. 2006-06-05 20:59:50 +02:00