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
Stefan Dösinger
2c3adec595
wined3d: Render target locking fixes.
2006-06-05 20:59:41 +02:00
Mike McCormack
473ad39dcb
advapi32: Implement and test SystemFunction031.
2006-06-05 13:51:00 +02:00
Mike McCormack
546b84c0c5
advapi32: Implement and test SystemFunction030.
2006-06-05 13:50:48 +02:00
Hans Leidekker
c077aaf116
msi: Fix some copy/paste bugs in the implementation of condition operators.
2006-06-05 13:50:32 +02:00
Juan Lang
9a974b899b
user: Use SetPropW rather than SetPropA for internal property.
2006-06-05 13:46:02 +02:00
Robert Shearman
d70db020a6
msi: An empty string is equivalent to nil, so handle this in the optimised WHERE_execute path.
2006-06-05 13:45:53 +02:00
Robert Shearman
c9779ca16b
rpcrt4: Implement varying array NDR functions.
2006-06-05 13:25:09 +02:00
Robert Shearman
cd19c99284
rpcrt4: Don't call NdrBaseTypeMemorySize from within NdrBaseTypeUnmarshall.
2006-06-05 13:24:54 +02:00
Juan Lang
dd4bd4ad28
crypt32: Implement X509_NAME_VALUE encoding/decoding.
2006-06-03 11:55:01 +02:00
Jacek Caban
d7043f23ca
shdocvw: Set focus in ui_activate.
2006-06-03 11:54:16 +02:00
Jacek Caban
56bb028611
mshtml: Use mime type reported by moniker if possible.
2006-06-03 11:54:07 +02:00
Jacek Caban
42f96fce67
mshtml: Return S_OK in OnStartBinding and OnStopBinding.
2006-06-03 11:53:53 +02:00
Jacek Caban
93fe34ee68
mshtml: Added beginning OnDataAvailable implementation.
2006-06-03 11:53:43 +02:00
Jacek Caban
ee8c855f77
mshtml: Added begining binding code in IPersistMoniker::Load.
2006-06-03 11:50:59 +02:00
Jacek Caban
f1d2e37655
mshtml: Set binding channel, listener and context in AsyncOpen.
2006-06-03 11:50:45 +02:00
Jacek Caban
e0157ba201
mshtml: Store BSCallback in NSContainer and use it instead of load_call.
2006-06-03 11:48:59 +02:00
Jacek Caban
813e82f253
mshtml: Add create_nscallback function to allow using BSCallback out of navigate.c.
2006-06-03 11:48:40 +02:00
Jacek Caban
beb5366e6f
mshtml: Move some code from before_async_open to AsyncOpen.
2006-06-03 11:47:14 +02:00
Jacek Caban
08ae32e43a
mshtml: Get rid of (currently disabled anyway) nsIWebBrowserStream.
...
We have to handle it in another way.
2006-06-03 11:46:35 +02:00
Kai Blin
be4d1fea4d
secur32: Don't fail on SECURITY_NETWORK_DREP, ntlm_auth handles this just fine.
2006-06-03 11:45:41 +02:00
Jacek Caban
e4211f4358
urlmon: Use task queue to handle OnDataAvailable call.
2006-06-03 11:43:26 +02:00
Jacek Caban
67b51130f5
urlmon: Added OnResponse implementation.
2006-06-03 11:43:18 +02:00
Marcus Meissner
312fa564db
sane.ds: Replace FIXME() by TRACE() on sane_exit.
2006-06-03 11:43:08 +02:00
Robert Shearman
0fad0895d7
rpcrt4: Don't try to resolve the name when constructing a protocol tower.
...
Instead just fill it in with all zeros.
2006-06-03 11:42:54 +02:00
Robert Shearman
ebcd6b6a24
rpcrt4: Change ComputeConformance and ComputeVariance from macros to
...
inline functions. Clear pStubMsg->Offset in ComputeVariance since it
isn't set by ComputeConformanceOrVariance and so could be left filled
with garbage.
2006-06-03 11:42:36 +02:00
Robert Shearman
a48433453b
rpcrt4: The lifetime of the binding handle stored in the context
...
handle is independent of the binding handle used in the call that
unmarshaled it, so we should use RpcBindingCopy to make a copy of it
and then call RpcBindingFree later to free it.
2006-06-03 11:42:25 +02:00
Robert Shearman
a4fff73ba3
rpcrt4: Fix an incorrect format string pointer being passed in to
...
ComputeVariance in NdrConformantVaryingStructBufferSize.
2006-06-03 11:42:13 +02:00
Robert Shearman
6a11aba526
rpcrt4: Skip over the right-hand-side data for the protocol floor so
...
that we can parse the towers received from native rpcrt4.
2006-06-03 11:42:03 +02:00
Robert Shearman
da44126395
rpcrt4: Align the buffer correctly when marshaling and unmarshaling context handles.
2006-06-03 11:41:51 +02:00
Robert Shearman
ec5b3c3ea6
rpcrt4: Freeing a NULL context handle is allowed.
2006-06-03 11:41:42 +02:00
Robert Shearman
1a346a4a13
rpcrt4: NdrClientContextMarshall/Unmarshall should both increment the buffer pointer.
2006-06-03 11:41:33 +02:00
Robert Shearman
dc6c640cd2
rpcrt4: Fix the unmarshaling of pointers in conformant varying arrays,
...
by passing the correct type format string to ReadConformance.
2006-06-03 11:41:22 +02:00
Robert Shearman
972ce2f635
rpcrt4: CContext can be NULL in NDRCContextMarshall, in which case we should marshall all-zeros.
2006-06-03 11:41:07 +02:00
Robert Shearman
678ad6286c
rpcrt4: Fix the pointer count used when handling embedded pointers in varying arrays.
2006-06-03 11:40:45 +02:00
Robert Shearman
423e7e3089
rpcrt4: Print some more informative error messages when getaddrinfo fails.
2006-06-03 11:40:42 +02:00
Mike McCormack
24b886d916
wininet: Simple tests for InternetGetCookie's parameters.
2006-06-02 20:44:11 +02:00
Mike McCormack
68d18612a0
wininet: Fix up and test InternetSetCookie parameter checking.
2006-06-02 20:44:04 +02:00
Mike McCormack
7b3cf21dc1
wininet: Remove some dead code (Coverity).
2006-06-02 20:43:58 +02:00
Saulius Krasuckas
67e6040c2d
advapi32: Enable some tests and extend them to succeed on XP and 2003 SP1.
2006-06-02 20:43:50 +02:00
Saulius Krasuckas
9b2fe9e193
rasenh: Fix a copy&paste bug at passing only one string to RegSetValueExW() at a time.
2006-06-02 20:43:47 +02:00
Mikołaj Zalewski
276bbb9f97
shell32: Remove the now unused SHELL_DeleteFileA and SHELL_DeleteDirectoryA.
2006-06-02 20:43:27 +02:00
Mikołaj Zalewski
b84f3093d5
shell32: Avoid Unicode->ANSI conversion when deleting a file.
2006-06-02 20:43:08 +02:00
Juan Lang
9879a47f9d
crypt32: Add name value tests.
...
Add tests for name values, and move tests for different string
encodings to there.
2006-06-02 20:42:48 +02:00
Juan Lang
a7f6a0128c
crypt32: Remove exception handling from internal decoding functions.
2006-06-02 11:46:44 +02:00
Juan Lang
6d668d9d38
crypt32: Add a couple CRL encoding tests, one that shows a problem.
2006-06-02 11:46:23 +02:00
qingdoa daoo
7c34bfab20
user32: Fix selection handling for listboxes with LBS_EXTENDEDSEL style.
2006-06-02 11:45:43 +02:00
Juris Smotrovs
b8d9f3955a
user32: Send WM_SIZE when window changes state between restored/min/maximized.
2006-06-02 11:42:11 +02:00
Wino Rojo
7b6fbd2898
x11drv: Fix for a BadMatch error.
2006-06-02 11:36:31 +02:00
Detlef Riekenberg
38eb9a71ae
winspool/tests: Remove the check for unimplemented functions.
2006-06-02 11:28:53 +02:00
Detlef Riekenberg
f0a62dd633
winspool.drv: Add GetPrintProcessorDirectoryW.
2006-06-02 11:26:24 +02:00
Robert Shearman
efc974d1f5
rpcrt4: All of the parameters to TowerExplode are optional.
2006-06-02 11:24:29 +02:00
Robert Shearman
e15e60b9f9
rpcrt4: Implement TowerConstruct and TowerExplode.
...
Add some tests for these undocumented functions.
2006-06-02 11:24:20 +02:00
Robert Shearman
37364b836f
rpcrt4: Add functions for generating and parsing the upper floors in endpoint-mapper towers for different transports.
2006-06-02 11:24:03 +02:00
Robert Shearman
84ab2e78a4
rpcrt4: Implement I_RpcAllocate and I_RpcFree.
2006-06-02 11:22:56 +02:00
Robert Shearman
cc9baf364e
rpcrt4: Don't send the unused part of the allocated buffer.
2006-06-02 11:22:44 +02:00
Robert Shearman
11da87d098
rpcrt4: NdrClientInitializeNew shouldn't clear all of the stub message, only selected fields.
2006-06-02 11:22:38 +02:00
Paul Vriens
ddf0049e9c
comctl32/header: Check Null before accessing struct member.
2006-06-02 11:22:26 +02:00
Kai Blin
f21983cf11
secur32: Add EncryptMessage and DecryptMessage stubs.
2006-06-02 11:22:12 +02:00
Michael Kaufmann
6a74137d70
user32: Popup menu position fixes.
...
- Open large popup menus on the other side only if there's enough space
- Open popup menus such that the y position of the first item in the
popup menu is the same as the y position of the focused menu item.
2006-06-02 11:22:04 +02:00
Dmitry Timoshkov
2827e7bbb6
user32: Replace PeekMessage loops in the PeekMessage test by explicit calls.
...
Replace all 'while (PeekMessage()) DispatchMessage();' loops in the
PeekMessage test by explicit calls to PeekMessage(), check queue
status and processed messages after each call to see what is going on
behind the scene.
2006-06-02 11:21:26 +02:00
Juan Lang
3174806f86
crypt32: Make base64 tests loadable on win9x.
2006-06-02 11:20:41 +02:00
Vitaliy Margolen
a3aa7cf033
shell32: Add Fonts to user's shell folders list.
2006-06-02 10:52:33 +02:00
Huw Davies
bae6d23c5c
gdi32: FreeType's idea of metrics has changed for bitmap fonts.
2006-06-02 10:52:03 +02:00
Alexandre Julliard
ea50196447
winecoreaudio: Fixed the FSF address.
2006-06-01 13:15:54 +02:00
Ken Thomases
1612ce8659
winecoreaudio: Don't CFAllocate buffer for port message.
2006-06-01 13:09:44 +02:00
Ken Thomases
fb5a073e46
winecoreaudio: Use unique name for message port.
...
Use a unique port name for the message port to the message thread.
Port names are system-global, so using a non-unique constant name
prevents the CoreAudio driver from being used in multiple processes
simultaneously.
2006-06-01 13:08:21 +02:00
Ken Thomases
a1e6989a9b
winecoreaudio: 8-bit Linear PCM data is unsigned.
2006-06-01 13:05:59 +02:00
Ken Thomases
178f9fecd9
winecoreaudio: Keep processing wavehdrs to satisfy AudioUnit data request.
...
When fulfilling the output AudioUnit's request for audio data, don't
stop when the current wavehdr is exhausted; advance to the next. This
addresses the buzzy quality of the sound.
2006-06-01 13:03:22 +02:00
Ken Thomases
6a6aec72d3
winecoreaudio: Improve state tracking.
...
Improved tracking of device state (stopped, playing, or paused).
Also, tied starting and stopping the AudioUnit more directly to the
state. No need to change the state when preparing or unpreparing
wavehdrs. Pausing overrides both playing and stopped states; if
stopped, pausing prevents output from starting when the program
writes. When, restarting from the paused state, the device starts
playing if there are queued wavehdrs. Otherwise, it goes to stopped
state.
2006-06-01 12:59:50 +02:00
Ken Thomases
fb9f878849
winecoreaudio: Miscellaneous cleanup.
...
Miscellaneous cleanup: release resources when done with them; protect
against null pointers; reduce redundant code; avoid potential integer
underflow; clarify a do-nothing loop.
2006-06-01 12:59:38 +02:00
Ken Thomases
00e9996339
winecoreaudio: Fix race to open.
...
Fixes a race condition (noted in a comment for wodOpen) when multiple
threads try to open the same wave-out device simultaneously.
Addressed by creating the device mutexes when the driver is
initialized, instead of as each device is opened. Then use the mutex
to protect the open operation against races. At the same time, made
the mutexes recursive to avoid self-deadlocks the driver was
encountering when reentered from the callback.
2006-06-01 12:50:46 +02:00
Mike McCormack
7f98594f75
rpcrt4: Implement NDRCContext(Un)marshall and NDRCContextBinding.
2006-06-01 11:48:33 +02:00
Stefan Dösinger
5de8cd3bd6
wined3d: Adjust the video mem when dropping the pow2 size in GDISurface.
2006-06-01 11:44:38 +02:00
Jacek Caban
349b93ae57
urlmon: Remove no longer needed binding value in task_t.
2006-06-01 11:10:48 +02:00
Jacek Caban
e6fc0c5dc2
urlmon: Use task queue for cross thread calls in on_progress.
2006-06-01 11:09:23 +02:00
Jacek Caban
08685417ab
urlmon: Use task queue in Switch implementation.
2006-06-01 11:09:07 +02:00
Jacek Caban
99cb95394a
urlmon: Added task queue architecture and use it for OnProgress calls from Continue call.
2006-06-01 11:08:51 +02:00
Jacek Caban
89d9287af6
urlmon: Make suse that every OnProgress call is in an apartment thread.
2006-06-01 11:08:29 +02:00
Andrew Talbot
9a1e6aae55
crypt32/tests: Write-strings warning fix.
2006-06-01 11:08:21 +02:00
Mikołaj Zalewski
baea6498dd
comctl32: header: Update the rects in HEADER_Refresh if needed.
2006-06-01 11:08:09 +02:00
Hans Leidekker
02ca30e8f9
dnsapi: Fall back to a netbios query when a dns query fails.
2006-06-01 11:08:01 +02:00
Andrew Ziem
0b6dbde473
wsock32: Added GetService{A,W} stubs.
2006-06-01 11:07:51 +02:00
Jacek Caban
db24fff13e
urlmon: Use FindMimeFromData to determine MIME type.
2006-05-31 15:48:16 +02:00
Huw Davies
bb835ae438
rpcrt4: Add ENUM32 support to ComplexStructMemorySize.
2006-05-31 15:48:11 +02:00
Robert Shearman
9c738061e0
oleaut32: Make sure to read the memid and the name offset from the
...
correct offsets, after the function data, so add cFuncs to the offsets
in MSFT_DoVars.
Resolve referenced types for variables.
Fixes initialisation of the dbgrid32 OCX.
2006-05-31 15:48:07 +02:00
Robert Shearman
983ad4accd
oleaut32: Resolve referenced types for return values as well as parameters in MSFT typelibs.
2006-05-31 15:47:55 +02:00
Alexandre Julliard
11fe657466
winecoreaudio: Fixed a bunch of compiler warnings.
2006-05-31 14:52:58 +02:00
Alexandre Julliard
788e30f139
dnsapi: Added check for _msg_ptr vs. _ptr member in ns_msg struct.
2006-05-31 14:43:21 +02:00
Alexandre Julliard
d1a3383d53
dnsapi: Remove a bunch of unused functions that cause naming conflicts.
2006-05-31 14:25:49 +02:00
Alexandre Julliard
826cc602d5
dnsapi: Portability fixes.
2006-05-31 14:17:04 +02:00
Juan Lang
23791c2510
crypt32: Implement CryptBinaryToStringA and CryptStringToBinaryA.
...
Implement CryptBinaryToStringA and CryptStringToBinaryA based on Kai
Blin's base64 encoder/decoder.
2006-05-31 11:58:40 +02:00
Jacek Caban
796cf1713d
urlmon: Added text/html filter.
2006-05-31 11:46:31 +02:00
Jacek Caban
c73c3362c6
urlmon: Use filters mechanism in FindMimeFromData.
2006-05-31 11:45:37 +02:00
Troy Rollo
bdbc482651
ole32: Use STGM_WRITE when opening child storage to delete its children.
2006-05-31 11:45:29 +02:00
Robert Reif
2b3247a424
winmm: Always check for open and close enents in wave test.
...
Always check for open and close events.
Send WM_APP message to thread to terminate it rather than TerminateThread.
Fix CreateThread/waveOutOpen race by waiting for background thread to
run before waveOutOpen is called.
Add more non-hardware supported formats. There is a bug in wave
mapper GetPosition when multiple headers are used and this helps
trigger it.
2006-05-31 11:45:22 +02:00
Michael Stefaniuc
15c0db3623
dnsapi: Fixed missing lock release on error path.
2006-05-31 11:44:59 +02:00
Stefan Dösinger
6311d44488
d3d8: Backport of the d3d9 swapchain test to d3d8.
2006-05-31 11:44:47 +02:00