Commit Graph

17170 Commits

Author SHA1 Message Date
Detlef Riekenberg b60f2b0f5b winspool/test: Disable a test that crashes on win9x. 2006-05-22 11:36:49 +02:00
Detlef Riekenberg 358ce06741 winspool: Remove cross calls W->A for the "Printers" registry path. 2006-05-22 11:36:24 +02:00
Detlef Riekenberg 5de733e4fb winspool: An empty string as server name is valid (EnumPrinterDrivers). 2006-05-22 11:35:11 +02:00
Mike McCormack eb1b39760e advapi32: Implement and test SystemFunction026+027. 2006-05-22 11:34:59 +02:00
Mike McCormack c3a1e8731e advapi32: Implement and test SystemFunction011. 2006-05-22 11:34:47 +02:00
Mike McCormack 500384b0ea advapi32: Test and implement SystemFunction024/025. 2006-05-22 11:34:35 +02:00
Mike McCormack 6fad2cbaff advapi32: Implement and test SystemFunction(012-023). 2006-05-22 11:33:36 +02:00
Mike McCormack b4899f0712 advapi32: Implement and test SystemFunction010. 2006-05-22 11:33:05 +02:00
Mike McCormack 64ae8285cd advapi32: Implement and test SystemFunction009. 2006-05-22 11:32:52 +02:00
Dmitry Timoshkov 80c3a212a0 ntdsapi: Add DsMakeSpnA to the spec file. 2006-05-22 11:32:37 +02:00
Vitaliy Margolen 4054c06e55 directx: Update file versions to dx9c (compared to win2k). 2006-05-22 11:32:17 +02:00
Vitaliy Margolen c5091d9d8d d3d9: Add refcount tests for all objects created by device. 2006-05-22 11:32:03 +02:00
Vitaliy Margolen 6dcae77cc9 d3d9: All objects created by device should keep reference to it. 2006-05-22 11:31:45 +02:00
Vitaliy Margolen 1175a2f3a2 d3d8: Add refcount test. 2006-05-22 11:31:36 +02:00
Vitaliy Margolen 1cc318c5a6 d3d8: All objects created by device should keep reference to it. 2006-05-22 11:29:27 +02:00
Robert Shearman a247e6975f comctl32: Make sure to always have the default pushbutton for wizards as an enabled button. 2006-05-22 11:28:52 +02:00
Robert Shearman 2682ff43d0 comctl32: A PSM_SETWIZBUTTONS message specifying PSWIZB_FINISH or
PSWIZB_DISABLEDFINISH, followed by another one without those flags
should show the next button again and hide the finish button.
2006-05-22 11:28:45 +02:00
Alexandre Julliard fcce047f61 user: Get rid of the WINPROC_Map/UnmapMsg32ATo32W functions. 2006-05-20 20:02:10 +02:00
Alexandre Julliard 3d92de45c4 user: Added fast A->W mapping for the remaining messages. 2006-05-20 19:59:19 +02:00
Alexandre Julliard 0eec70f410 user: Added fast A->W mapping for WM_GETTEXTLENGTH and related messages. 2006-05-20 19:58:38 +02:00
Alexandre Julliard 34610d1150 user: Added fast A->W mapping for WM_CHAR and related messages. 2006-05-20 18:57:36 +02:00
Alexandre Julliard 3f4a2a5bfc user: Added fast A->W mapping for EM_GETLINE. 2006-05-20 18:57:11 +02:00
Alexandre Julliard 19b428755c user: Added fast A->W mapping for LB_GETTEXT and CB_GETLBTEXT. 2006-05-20 18:55:34 +02:00
Alexandre Julliard 4dd1cce203 user: Added fast A->W mapping for WM_SETTEXT and related messages. 2006-05-20 18:54:25 +02:00
Alexandre Julliard 91b278b811 user: Added fast A->W mapping for WM_GETTEXT and WM_ASKCBFORNAME. 2006-05-20 18:53:16 +02:00
Alexandre Julliard 3e195d4382 user: Added fast A->W mapping for WM_MDICREATE. 2006-05-20 18:49:40 +02:00
Alexandre Julliard 899133d7f7 user: Added fast A->W mapping for WM_CREATE and WM_NCCREATE. 2006-05-20 18:48:04 +02:00
Peter Beutner 5c4a1fc8de d3d8: Fix GetDesc and GetLevelDesc for surfaces and textures.
In DX8 the D3DSURFACE_DESC structure has a size field which needs to be set.
2006-05-20 17:47:45 +02:00
Jason Green 4a1375bdd6 wined3d: Simplify generate_base_shader() when checking for USING_GLSL usage. 2006-05-20 17:38:09 +02:00
Jason Green 683e5bfc55 wined3d: Move PARAM C[] program.env[] into baseshader and out of vertex shaders. 2006-05-20 17:37:48 +02:00
Robert Shearman 6e7d06ad34 rpcrt4: Handle pointers to context handles in the stubless code.
Implement check for NULL context handles if requested.
2006-05-20 17:37:36 +02:00
Robert Shearman 9c885c9185 rpcrt4: We don't need to free object pointers if we are told we must allocate. 2006-05-20 17:37:25 +02:00
Robert Shearman a2767e8d71 rpcrt4: Use macros to generate the code for unmarshaling base types. 2006-05-20 17:37:13 +02:00
Robert Shearman 19fad8e710 rpcrt4: Don't set the memory pointer to NULL before calling PointerUnmarshall.
Call it with fMustAlloc set to TRUE instead to achieve the same result
without side-effects.
2006-05-20 17:36:42 +02:00
Robert Shearman 87ecf526b3 rpcrt4: Make more internal functions static. 2006-05-20 17:36:15 +02:00
Robert Shearman 0592210bcd rpcrt4: Add the definition of RpcAuthVerifier to rpc_defs.h from the DCE/RPC spec.
Use it in RPCRT4_SendAuth instead of writing out the data byte-by-byte.
2006-05-20 17:31:16 +02:00
Dmitry Timoshkov 5fd4d3410d Add a stub implementation of ntdsapi.dll. 2006-05-20 17:01:46 +02:00
Paul Chitescu b1cbecbbc6 advapi32: Add stub FileEncryptionStatus and declarations. 2006-05-20 16:56:16 +02:00
Alexandre Julliard b73c5e895f user: Get rid of the MSGPARAMS16 structure. 2006-05-20 16:36:56 +02:00
Alexandre Julliard 917d03bd04 user: Make a lot of winproc functions static. 2006-05-20 16:36:52 +02:00
Alexandre Julliard ca570aade2 user: Call the A version of message functions from 16-bit code.
This avoids having to export too many different message translation
functions.
2006-05-20 16:35:44 +02:00
Alexandre Julliard dc61a4bc65 user: Use winproc callbacks instead of message map/unmap for 16-bit hooks. 2006-05-20 16:34:14 +02:00
Alexandre Julliard 58a03a103d user: Use winproc callbacks instead of message map/unmap in SendMessage16. 2006-05-20 16:32:45 +02:00
Alexandre Julliard 396ff0007c user: Use a winproc callback instead of a message map/unmap in SendMessageTimeoutA. 2006-05-20 16:31:27 +02:00
Alexandre Julliard 521ea482aa user: Store the destination thread id in the send_message_info structure. 2006-05-20 16:30:55 +02:00
Mikołaj Zalewski 4b25b346ee comctl32: header: Make sure no message is sent between PrepareCallbackItems/FreeCallbackItems. 2006-05-20 14:09:03 +02:00
Mikołaj Zalewski c932852bd4 comctl32: header: Don't erase the background in HEADER_Refresh. 2006-05-20 14:08:44 +02:00
Mikołaj Zalewski c054c1fe0e comctl32: header: The border size is 4 not 3. 2006-05-20 14:08:27 +02:00
Stefan Dösinger cfcdb6515b wined3d: Sort of oversized surface support. 2006-05-20 14:06:09 +02:00
Stefan Dösinger 672fa65334 wined3d: Add more device caps. 2006-05-20 14:05:38 +02:00
Stefan Dösinger ebcbda72c4 wined3d: Allow SYSTEMMEM textures and surfaces. 2006-05-20 14:05:23 +02:00
Stefan Dösinger 566cdcf55c wined3d: Implement IWineD3DDevice::SetDisplayMode. 2006-05-20 14:05:06 +02:00
Huw Davies f151ecb0d1 rpcrt4: Use IsClient to determine whether we can use the Buffer memory or not.
Add simple struct tests.
2006-05-20 14:03:56 +02:00
Robert Shearman cfa769fb9f rpcrt4: Warn if CreateNamedPipe fails. 2006-05-20 14:03:31 +02:00
Robert Shearman 5f266c54a1 rpcrt4: Add the correct amount of auth padding to messages. 2006-05-20 14:02:51 +02:00
Robert Shearman 4fb6295528 rpcrt4: Wait for all of the requested bytes to be returned for tcp connections. 2006-05-20 14:02:30 +02:00
Robert Shearman a2d2d4db63 rpcrt4: Update the todo lists and copyrights. 2006-05-20 14:02:24 +02:00
Robert Shearman 9cebbdd80f rpcrt4: Fix for the open functions in the transports being transposed between ncacn_np and ncalrpc. 2006-05-20 14:00:48 +02:00
Robert Shearman c1a31cef3d rpcrt4: Don't release the auth info if it isn't present. 2006-05-20 14:00:43 +02:00
Robert Reif ed62b0150c winmm: Fix wave test handle use after close bug. 2006-05-20 14:00:22 +02:00
Dmitry Timoshkov 94cc17b53c x11drv: Fix the regression caused by the recent ShowWindow fixes. 2006-05-20 14:00:10 +02:00
Mike McCormack 4cd377d49c secur32: Cleanup InitializeSecurityContext (reduce indent and duplication). 2006-05-20 13:59:56 +02:00
Mike McCormack d243b39c94 secur32: Tidy up the initialization code a little. 2006-05-20 13:59:09 +02:00
Jacek Caban ae2c061e8e shdocvw: Return S_OK in OnInPlaceDeactivate. 2006-05-20 13:58:39 +02:00
Phil Costin df3902e6c1 wined3d: Trace output corrections and cleanups. 2006-05-20 13:58:31 +02:00
Juan Lang b564ef5b03 crypt32: Move CertFindCertificateInStore and related functions to cert.c. 2006-05-20 13:58:16 +02:00
Juan Lang d9a027952d crypt32: Move context interface definition to common header. 2006-05-20 13:57:43 +02:00
Alexandre Julliard 4316025294 user: Convert the 16-bit winproc functions to use a callback pointer. 2006-05-18 19:44:30 +02:00
Alexandre Julliard 6456317153 user: Convert the other winproc 32-bit functions to use a callback pointer. 2006-05-18 19:09:32 +02:00
Alexandre Julliard d1a5d5ae98 user: Make WINPROC_CallProc32WTo32A take a callback function pointer.
This way it doesn't need to know about dialog procedures. Also renamed
it to WINPROC_CallProcWtoA.
2006-05-18 18:05:01 +02:00
Phil Costin 1b320431b8 wined3d: Check registry for UseGLSL enabled. 2006-05-18 16:40:32 +02:00
Mike McCormack a45b16a460 rpcrt4: Fix a possible memory leak, cleanup a bit. 2006-05-18 16:36:44 +02:00
Mike McCormack c3a08421a2 rpcrt4: Fix and test RpcNetworkIsProtseqValid. 2006-05-18 16:36:34 +02:00
Mike McCormack 0f8f927aed rpcrt4: Add a stub implementation for RpcMgmtIsServerListening. 2006-05-18 16:36:21 +02:00
Alexandre Julliard c16ca72210 user: Fixed a broken trace in the dialog test. 2006-05-18 16:32:49 +02:00
Alexandre Julliard 2ff505c2cf user: Added helper functions for A<->W conversion of single characters. 2006-05-18 16:31:36 +02:00
Alexandre Julliard 3fe201c308 user: Simplify 16-bit mappings of the WM_GETDLGCODE message. 2006-05-18 16:30:56 +02:00
Alexandre Julliard 6efb68cb0e user: Unify the mapping of listbox and combobox messages. 2006-05-18 12:43:40 +02:00
Alexandre Julliard 7033649c4f user: Get rid of the WINPROC_MapMsg32WTo32A function. 2006-05-18 12:29:19 +02:00
Alexandre Julliard f6ba476d91 user: Added fast W->A mapping for WM_IME_CHAR. 2006-05-18 12:28:07 +02:00
Alexandre Julliard 6c4082df74 user: Added fast W->A mapping for WM_CHAR and related messages. 2006-05-18 12:27:27 +02:00
Alexandre Julliard dd442faa2e user: Added fast W->A mapping for EM_GETLINE. 2006-05-18 12:20:14 +02:00
Alexandre Julliard b34521c43d user: Added fast W->A mapping for LB_GETTEXT and CB_GETLBTEXT. 2006-05-18 12:17:44 +02:00
Alexandre Julliard 96a430f530 user: Added fast W->A mapping for LB_ADDSTRING and related messages. 2006-05-18 11:46:07 +02:00
Alexandre Julliard d415df99bc user: Added fast W->A mapping for WM_MDICREATE. 2006-05-18 11:37:41 +02:00
Alexandre Julliard bba0159910 user: Added fast W->A mapping for WM_SETTEXT and related messages. 2006-05-18 11:29:31 +02:00
Alexandre Julliard f793b818a4 user: Added fast W->A mapping for WM_GETTEXT and WM_ASKCBFORNAME. 2006-05-18 11:22:55 +02:00
Alexandre Julliard cb36cbd0aa user: Added helper functions for buffer management in WINPROC_CallProc32WTo32A.. 2006-05-18 11:03:30 +02:00
Alexandre Julliard de125e656e user: Merged WINPROC_CallProc32WTo32A_fast into WINPROC_CallProc32WTo32A. 2006-05-18 11:02:28 +02:00
Juan Lang 0379d421e0 crypt32: Add stubs for CertDuplicateCRLContext and CertDuplicateCTLContext. 2006-05-18 10:47:35 +02:00
Eric Pouech b980bbec17 user32: Allow interprocess WM_NCPAINT messages when wParam is 0 or 1. 2006-05-18 10:47:23 +02:00
Robert Shearman 63b66b95f9 rpcrt4: Implement RpcBindingSetAuthInfoExW based on the implementation for RpcBindingSetAuthInfoExA. 2006-05-18 10:37:13 +02:00
Robert Shearman 4cd5be2637 rpcrt4: A NULL AuthInfo is allowed.
Pass the server principal name into AcquireCredentialsHandleA.
2006-05-18 10:36:55 +02:00
Robert Shearman 84e42e0165 rpcrt4: Support all available security packages in RpcBindingSetAuthInfoExA, instead of just NTLM. 2006-05-18 10:36:42 +02:00
Robert Shearman 4e89efadf6 rpcrt4: Only use the cached connection if the authentication information is compatible. 2006-05-18 10:36:32 +02:00
Robert Shearman 217ec275b8 rpcrt4: Store non-connection-specific authentication information in a ref-counted structure that is shared between connections and bindings. 2006-05-18 10:36:07 +02:00
Robert Shearman 9b3cecaeb5 rpcrt4: Fix an off-by-one error when checking the size of the buffer in NdrInterfacePointerMarshall. 2006-05-18 10:35:56 +02:00
Robert Shearman 855535af62 rpcrt4: Handle interface pointers in EmbeddedComplexSize. 2006-05-18 10:35:16 +02:00
Robert Shearman 40d80d7c7a rpcrt4: Make secur32 into a delayed import, as most of the time it won't be needed. 2006-05-18 10:35:12 +02:00
Robert Shearman 5067ea70c0 rpcrt4: Increment the call id field of the request header.
This is necessary for compatibility with MS/RPC servers.
2006-05-18 10:34:33 +02:00
Robert Shearman c1d00c547b rpcrt4: Implement NdrNonEncapsulatedUnionMemorySize. 2006-05-18 10:34:21 +02:00
Robert Shearman 62bbaf70b3 rpcrt4: Fix the wire protocol of the user marshal functions to match MS/RPC. 2006-05-18 10:34:09 +02:00
Robert Shearman 2aa52b07d6 rpcrt4: If the authorisation failed during a send then we should return ERROR_ACCESS_DENIED. 2006-05-18 10:33:50 +02:00
Robert Shearman 4fae04b2f5 rpcrt4: Fix NdrConformantArrayMemorySize. 2006-05-18 10:33:39 +02:00
Robert Shearman c4fbad1d11 rpcrt4: Implement NdrUserMarshalMemorySize. 2006-05-18 10:33:00 +02:00
Ivan Gyurdiev 42b89791ff wined3d: Take predication tokens into account.
Each instruction can have a predication token. Account for it in the
trace pass, register count pass, and store it in the SHADER_OPCODE_ARG
structure for generation. MSDN claims the token is at the end of the
instruction, but that's not true - testing a demo, which lets me
manipulate the shader shows the predication token is the first source
token immediately following the destination token.
2006-05-18 10:32:54 +02:00
Ivan Gyurdiev fa62d9d3b4 wined3d: Parameter trace corrections. 2006-05-18 10:32:22 +02:00
Ivan Gyurdiev 3d905baf50 wined3d: SETP takes 3 parameters. 2006-05-18 10:32:08 +02:00
Huw Davies effac656bb rpcrt4: Don't update StubMsg->MemorySize while unmarshaling.
Add a bunch of marshaling tests (based on a program by Rob Shearman).
2006-05-17 21:46:43 +02:00
Andrew Ziem 8bed7bb61a kernel: Fix path test to pass on 95 and 98. 2006-05-17 21:46:27 +02:00
Jacek Caban 21196a084a shdocvw: Code cleanup. 2006-05-17 21:46:18 +02:00
Jacek Caban 7ac9bc4d6e shdocvw: Added IConnectionPointContainer to InternetExplorer::QueryInterface. 2006-05-17 21:45:59 +02:00
Jacek Caban 0b613f291f shdocvw: Move IConnectionPointContainer implementation to separated object. 2006-05-17 21:45:39 +02:00
Jacek Caban 7c7603ca1e shdocvw: Move connection points to the new ConnectionPointContainer struct. 2006-05-17 21:45:15 +02:00
Mikołaj Zalewski 3897015580 comctl32: header: Don't erase the left header egde. 2006-05-17 21:01:54 +02:00
Mikołaj Zalewski 28e3ba552e comctl32: header: Send the width in HDN_BEGINTRACK. 2006-05-17 21:01:39 +02:00
Mikołaj Zalewski 117b8e7927 comctl32: listview: Recompute sizes after a column deletion. 2006-05-17 21:01:30 +02:00
Robert Shearman a8c51a4cd9 rpcrt4: Implement NdrInterfacePointerMemorySize. 2006-05-17 21:01:13 +02:00
Robert Shearman 45ee17899a rpcrt4: Make some functions that aren't used outside of the file static. 2006-05-17 21:01:02 +02:00
Robert Shearman b52ae402ad rpcrt4: Fill out more of the function tables with functions that already exist. 2006-05-17 21:00:42 +02:00
Robert Shearman ecd3780cc0 rpcrt4: Raise an exception if there is no default handler for a union. 2006-05-17 21:00:35 +02:00
Alexandre Julliard c1c5f14839 user: The result for dialog procedures is stored in DWLP_MSGRESULT.
So we have to access it using Get/SetWindowLong when unmapping the
message results (based on a patch by Troy Rollo).
2006-05-17 20:53:51 +02:00
Alexandre Julliard cb3f3afca4 user: Remove unreachable code in DEFDLG_Proc. 2006-05-17 19:30:59 +02:00
Alexandre Julliard 0667292eb5 user: Support storing multiple winprocs in a single winproc handle.
Allows to remove special cases for window classes being Ascii and
Unicode at the same time.
2006-05-17 13:55:36 +02:00
Alexandre Julliard 2a809c195d user: Allocate 16-bit thunks separately from the window proc structure.
Also make sure the thunk memory block has execute permissions.
2006-05-17 13:51:37 +02:00
Alexandre Julliard 354edc476f x11drv: Fixed typo in the clipboard XA_STRING handling. 2006-05-17 12:55:02 +02:00
Michael Kaufmann f6097f5b51 gdi: Fix GetObject for bitmaps.
- GetObject(): Set the bmBits member of the BITMAP structure to NULL
  for device-dependent bitmaps.
- New test case.
2006-05-17 11:45:36 +02:00
Detlef Riekenberg 6c233ef205 winspool: Fix OpenDriverReg on top of validate_envW. 2006-05-17 11:42:38 +02:00
Detlef Riekenberg 461b2a7583 winspool/tests: More tests for OpenPrinter. 2006-05-17 11:41:06 +02:00
Detlef Riekenberg 351106f5ae winspool: Do not fail in OpenPrinter on pDefault / local print server. 2006-05-17 11:40:59 +02:00
Detlef Riekenberg b7a62e56d9 winspool: Show SetPrinter parameters in the FIXME. 2006-05-17 11:33:51 +02:00
Detlef Riekenberg 78a6d53b6e winspool/tests: A truncated dmDeviceName is 0-terminated. 2006-05-17 11:33:43 +02:00
Ivan Gyurdiev c65a86828c wined3d: Use COLOROUT/DEPTHOUT for pixel shaders 2.0+.
As previously mentioned, RASTOUT is invalid on pixel shaders.
On shaders 1.x, r0 is treated as the color output register:
http://www.gamedev.net/columns/hardcore/dxshader3/page2.asp
That's what we currently do in all cases, change it not to do so
for shaders >= 2.0. Support COLOROUT/DEPTHOUT instead.
2006-05-17 10:56:25 +02:00
Ivan Gyurdiev 174734e4a2 wined3d: LRP is not a valid ARBvp code. 2006-05-17 10:56:01 +02:00
Ivan Gyurdiev 8470e54bdf wined3d: Remove detailed traces from map2gl/input_modifiers functions. 2006-05-17 10:55:50 +02:00
Ivan Gyurdiev c05bc5d9c1 wined3d: Write "unrecognized_register" in fallback case for get_register_name(). 2006-05-17 10:55:39 +02:00
Ivan Gyurdiev 746d1b1cd3 wined3d: Modify shader_dump_param() to take into account address token.
Currently we hardcode a0.x, which I think is correct for shaders 1.0.
However, for shaders 2.0, we must look into the address token, and
print the register there. Handle both cases to correct the trace.
2006-05-17 10:55:11 +02:00
Ivan Gyurdiev 03b67e3030 wined3d: Use shader_get_param() in trace pass, reg. count pass, generation pass.
Change the trace pass, the register counting pass, and the hw
generator pass to take into account the new get_params() function. For
hw generation, store the address tokens into the SHADER_OPCODE_ARG
structure, so they're available to generator functions.
2006-05-17 10:54:23 +02:00
Ivan Gyurdiev 404eff792f wined3d: Add shader_get_param() fn, which processes address tokens.
Add a new function to process parameters.
On shaders 1.0, processing parameters amounts to *pToken++.
On shaders 2.0+, we have a relative addressing token to account for.
This function should be used, instead of relying on num_params everywhere.
2006-05-17 10:53:18 +02:00
Ivan Gyurdiev 53d240a3e0 wined3d: Do not rely on num_params to skip unhandled tokens in shaders 2.0. 2006-05-17 10:52:37 +02:00
Ivan Gyurdiev d4dd9869b8 wined3d: Allow multiple output modifiers. 2006-05-17 10:51:47 +02:00
Ivan Gyurdiev c94ecdff61 wined3d: Fix SINCOS parameters.
SINCOS has 4 parameters in shaders 2.0.
It has 2 parameters in shaders 3.0.
It's undefined in shaders 1.0.
2006-05-17 10:50:33 +02:00
Ivan Gyurdiev 6b5d076394 wined3d: DEFI takes 5 parameters.
According the spec and the Painkiller log, DEFI has 5 parameters on
vertex shaders.
2006-05-17 10:50:10 +02:00
Dmitry Timoshkov f839a179a2 user32: Make all the recently added ShowWindow tests pass in Wine. 2006-05-17 10:42:17 +02:00
Paul Vriens c2a2687dd8 ntdll/tests: Don't fail if a process is not available. 2006-05-17 10:42:04 +02:00
Eric Pouech 766530dfe8 usp10: Fix ScriptGetProperties so that first pointer can be NULL. 2006-05-17 10:41:56 +02:00
Juan Lang 06bc59cd53 crypt32: Get rid of CRYPT_CreateCertificateContext, it's not needed anymore. 2006-05-17 10:41:30 +02:00
Marcus Meissner 09f0ea1c76 riched20: Removed useless double casts, just print the DWORD hexmask. 2006-05-17 10:41:17 +02:00
Juan Lang f224b34e60 crypt32: Split the unwieldy encode.c into two files. 2006-05-16 20:28:39 +02:00
Juan Lang 50f9defece crypt32: Support CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID implicit property. 2006-05-16 20:25:17 +02:00
Juan Lang 9b589c3556 crypt32: Use the caller-supplied encoding type when decoding certs. 2006-05-16 20:25:01 +02:00
Juan Lang 73e825fb37 crypt32: Add more tests for adding certs to a store. 2006-05-16 20:24:52 +02:00
Juan Lang d0505de674 crypt32: Implement CertCompare functions, with tests. 2006-05-16 20:24:12 +02:00
Mikołaj Zalewski 36a8e5fba3 comctl32: header: Fix INSERTITEM on a zero mask and GETITEM on a mask with unknown fields.
INSERTITEM should fail on a zero mask. If in GETITEM the mask has an
unknown field it should store only the comctl32 4.0 fields (with test
case).
2006-05-16 20:23:39 +02:00
Mikołaj Zalewski bf346b240d comctl32: header: Copy some fields on INSERTITEM even if they are not in the mask. 2006-05-16 20:22:27 +02:00
Mikołaj Zalewski 3eccdfcca7 comctl32: header: Automatically set some format fields. 2006-05-16 20:22:11 +02:00
Peter Beutner bc83ae9fda msvcrt: Fix handling of 'h' prefix in swprintf.
- '%hs' in widechar string functions is wrongly recognized as
  a widechar string. Fix this by always checking the prefix first.
- add testcase
- remove code duplication in %c/%s handling by moving code into a function.
2006-05-16 20:21:44 +02:00
Mike McCormack 854808d9d4 wininet: Add a standalone http test. 2006-05-16 20:21:34 +02:00
Mike McCormack 8dcb4479f3 wininet: Make sure hIC is valid before trying to use it. (Coverity) 2006-05-16 20:21:28 +02:00
Hans Leidekker c0364ef571 wldap32: Document the modify and modrdn functions. 2006-05-16 20:21:13 +02:00
Andrew Ziem ac73b30f95 kernel: Properly delete a test file. 2006-05-16 20:19:54 +02:00
Dmitry Timoshkov 97c111d0d0 user32: Add more ShowWindow tests.
Move ShowWindow tests for children with an invisible parent into a
separate test, add more ShowWindow tests. The tests show that an
assumption in dlls/x11drv/winpos.c that SetWindowPos should not be
called on a child with an invisible parent is not always true.
2006-05-16 12:53:50 +02:00
Paul Vriens ba438d4f5d wined3d: Correctly define the number of possible parameters. 2006-05-16 12:53:28 +02:00
Robert Shearman 0f7e4a877a rpcrt4: Implement fixed array functions. 2006-05-16 12:51:30 +02:00
Robert Shearman c27db4cde6 rpcrt4: Remove the BUFFER_PARANOIA overestimates for string memory sizes. 2006-05-16 12:51:19 +02:00
Robert Shearman 4c0b0e0069 rpcrt4: Implement computing of conformance from a correlation descriptor for conformant strings. 2006-05-16 12:51:09 +02:00
Robert Shearman 124acc9b67 rpcrt4: Fix conformant varying structs to comply to the DCE/RPC spec. 2006-05-16 12:50:54 +02:00
Robert Shearman e6120f2029 rpcrt4: Don't duplicate the conformance calculating code, just use the
common ComputeConformance function to store the result in
pStubMsg->MaxCount (as this is what callback function store the
conformance value into anyway).
2006-05-16 12:50:42 +02:00
Robert Shearman ecdd09b1b2 rpcrt4: Implement conformant varying struct functions. 2006-05-16 12:50:27 +02:00
Robert Shearman 63aaf8dbd7 rpcrt4: Implement more conformance operations and more types. 2006-05-16 12:50:19 +02:00
Jacek Caban f69328e2df shdocvw: Don't release IOleInPlaceSite in DoVerb. 2006-05-16 12:42:20 +02:00
Stefan Dösinger f7d89201c1 wined3d: Unset the ddraw primary when it is released. 2006-05-16 12:42:12 +02:00
Stefan Dösinger 2a35f769e3 wined3d: Add missing render states to the dumping function. 2006-05-16 12:41:51 +02:00
Stefan Dösinger 7cd41b944b wined3d: Implement IWineD3DDevice::SetFrontBackBuffers. 2006-05-16 12:41:41 +02:00
Matt Finnicum a379ac9ef5 riched20: Implement EM_SETUNDOLIMIT and its conformance tests. 2006-05-16 12:41:21 +02:00
Juan Lang 24157e0f74 crypt32: Test importing public keys from a certificate. 2006-05-16 12:41:04 +02:00
Juan Lang 769a52f831 crypt32: Avoid a use-after-free bug in tests. 2006-05-16 12:40:55 +02:00
Mike McCormack 2eec6b04c0 wininet: Return correct errors in InternetOpenUrlW. 2006-05-16 12:40:31 +02:00
Mike McCormack f57360af52 wininet: Return correct errors in InternetConnectW 2006-05-16 12:40:23 +02:00
Mike McCormack 336e67e2d1 rpcrt4: Implemented NTLM authentication for rpcrt4 connections. 2006-05-16 12:40:13 +02:00
Mike McCormack f20cfdfa84 rpcrt4: Use RPCRT4_Receive rather than accessing the transport directly. 2006-05-16 12:36:37 +02:00
Mike McCormack 9b3d8a3527 advapi32: Implement and test SystemFunction005. 2006-05-16 12:36:28 +02:00
Robert Shearman b96d630022 rpcrt4: Implement NdrSimpleStructMemorySize. 2006-05-15 16:08:45 +02:00
Robert Shearman 2aff761dfd rpcrt4: Fix the conformant struct functions to not call conformant array functions.
The conformance has to be the first thing in the buffer, in accordance 
with the DCE/RPC spec and to be compatible with the pointer layout 
format strings that MIDL generates.
2006-05-15 16:08:36 +02:00
Robert Shearman 4af0a6b805 rpcrt4: In NdrConformantBufferSize, SizeConformance should be called, not SizeVariance. 2006-05-15 16:08:28 +02:00
Robert Shearman 2479aec4af rpcrt4: Save pStubMsg->ActualCount in a local variable in the complex
array functions, before calling a function that could change it and
cause the wrong number of loop iterations.
2006-05-15 16:08:19 +02:00
Robert Shearman 345c92643e rpcrt4: Dereference the memory for pointers in NdrNonEncapsulatedUnionUnmarshall.
Pointers in a non-encapsulated union behave like embedded pointers, so 
don't rely on the NdrPointer* functions doing the right thing in this 
case and call the Pointer* functions directly.
2006-05-15 16:08:04 +02:00
Robert Shearman f0aea2d5ee rpcrt4: Rename ComplexStructSize to ComplexStructMemorySize to reflect the fact that it increments the buffer.
Replace the code in EmbeddedComplexSize that sizes non-encapsulated 
unions without using a memory sizer routine, since this function 
shouldn't touch the buffer.

Add a new function EmbeddedComplexMemorySize and use it in some memory 
sizer routines where EmbeddedComplexSize was previously used.
2006-05-15 16:07:54 +02:00
Robert Shearman 788ce20dea rpcrt4: Fix embedded pointers in arrays by taking into account the iteration when calculating the appropriate memory and buffer pointers. 2006-05-15 16:07:42 +02:00
Ivan Gyurdiev 8b7401c39a wined3d: Shaders: share dump_param function, version functions. 2006-05-15 16:07:31 +02:00
Ivan Gyurdiev 7757d7bc5c wined3d: Fix incorrect sizeof. 2006-05-15 16:04:07 +02:00
qingdoa daoo 4d7655a84e gdi: Duplicate extent value for the second byte of a DBCS char. 2006-05-15 16:03:56 +02:00
Francois Gouget 17689c07bb Fix some winapi_check documentation warnings. 2006-05-15 15:05:15 +02:00
Francois Gouget f7c24f37ad Various trace fixes.
Add trailing '\n's to trace calls.
Remove spaces before '\n'.
2006-05-15 15:05:09 +02:00
Francois Gouget e739ba9551 Assorted spelling fixes. 2006-05-15 15:05:05 +02:00
Mikołaj Zalewski 8266fdd8cb comctl32: header: Check for HDN_GETDISPINFO not being sent during INSERT/SETITEM. 2006-05-15 15:00:40 +02:00
Mikołaj Zalewski 700dd456e9 comctl32: listview: Store the iSubItem in header's lParam in LVM_INSERTCOLUMN. 2006-05-15 14:46:30 +02:00
Mikołaj Zalewski 74c3b366d3 comctl32: header: Correct HDN_GETDISPINFO. Use it during drawing.
Improve HEADER_SendHeaderDispInfoNotify and rename it to
HEADER_PrepareCallbackItems. The new HEADER_FreeCallbackItems frees
the buffers allocated by it. GetItemT and DrawItem calls these
functions.
2006-05-15 14:46:11 +02:00
Mikołaj Zalewski 96190f77b9 comctl32: header: Mark the callback items in a mask.
Mark the callback items in the callbackMask HEADER_ITEM field. The
pszText for callback texts is now NULL what simplifies some
checks. Checks for lpItem->pszText==emptyString are also not needed as
emptyString is not stored in lpItem but used as a parameter to
Str_SetPtr (I haven't noticed it).
2006-05-15 14:45:24 +02:00
Mikołaj Zalewski 25d66de358 comctl32 header: Free the old string also when the new one is LPSTR_TEXTCALLBACK. 2006-05-15 14:44:22 +02:00
Mikołaj Zalewski 16fefcd6d9 comctl32: header: Don't modify the user supplied HDITEM during Set/InsertItem. 2006-05-15 14:43:48 +02:00
Mikołaj Zalewski e3467de964 comctl32: header: Move common code from SetItemT/InsertItemT into a new function. 2006-05-15 14:41:01 +02:00
Mikołaj Zalewski 15e71a0a86 comctl32: header: Don't send HDN_GETDISPINFO during HDM_SET/INSERTITEM. 2006-05-15 14:40:27 +02:00
Mikołaj Zalewski 9865869902 comctl32: header: Don't check lpItem for NULL in GetItemT. 2006-05-15 14:40:08 +02:00
Jacek Caban e718939ebd shdocvw: Wrap Heap* finctions by inline functions. 2006-05-15 14:26:04 +02:00
Huw Davies 3dce323d69 oleaut32: Update the marshal state buffer size when resizing (Doh!). 2006-05-15 14:25:59 +02:00
Vitaliy Margolen 99cfc8bdf8 msvcrt: Fix times tests to pass on windows.
Add more tests for daylight-time savings.
2006-05-15 14:25:52 +02:00
Robert Shearman 3396a66ee7 server: Retrieve the groups for a token from the server. 2006-05-15 14:25:43 +02:00
Robert Shearman 07d032b24b rpcrt4: The arm type mask should be comparing the highest byte against 0x80, as documented on MSDN.
Fix base type arm handling on little-endian machines, as the current
code would always pass in the address to the format char of 0x80
instead of the base type format char.
2006-05-15 14:07:59 +02:00
Robert Shearman 5cdfeeeed3 rpcrt4: Make ComplexStructSize increment the buffer. 2006-05-15 14:07:36 +02:00
Robert Shearman 3e988bfc4f rpcrt4: Pass in the buffer value before incrementing to PointerMarshall in NdrPointerMarshall. 2006-05-15 14:07:25 +02:00
Robert Shearman 22bf15049c rpcrt4: Implement NdrComplexStructMemorySize. 2006-05-15 14:07:13 +02:00
Robert Shearman cedbddbfde rpcrt4: Implement NdrComplexArrayMemorySize. 2006-05-15 14:06:55 +02:00
Robert Shearman 7ea0b860c5 rpcrt4: Fix the fault packet structure to comply with the DCE/RPC specification. 2006-05-15 14:06:52 +02:00
Robert Shearman 628c5e9baf rpcrt4: The NDR memory sizing functions should increment the buffer pointer, so make sure to save it before calling one of these and restore it afterwards. 2006-05-15 14:06:41 +02:00
Robert Shearman dcd0a39d4c rpcrt4: Make NdrBaseTypeMemorySize increment the buffer and memory size fields of MIDL_STUB_MESSAGE. 2006-05-15 14:06:31 +02:00
Robert Shearman 4d65110b90 rpcrt4: Make NdrConformantStringUnmarshall use the new Read{Variance,Conformance}
functions and adapt them to be callable without having a correlation
descriptor.
2006-05-15 14:06:05 +02:00
Robert Shearman a33a63712f advapi32: Add tests for getting the groups, user and privileges of a token. 2006-05-15 14:05:49 +02:00
Mike McCormack dcfb0f44d1 advapi32: Implement and test SystemFunction004. 2006-05-15 14:05:22 +02:00
Mike McCormack 09fc7e046a advapi32: Implement and test SystemFunction003. 2006-05-15 14:03:56 +02:00
Mike McCormack 50ed147db0 advapi32: Implement and test SystemFunction002 (DES decrypt). 2006-05-15 14:03:33 +02:00
Stefan Dösinger eaec7793d5 wined3d: Avoid a NULL dereference in RealizePalette. 2006-05-15 14:03:06 +02:00
Stefan Dösinger 34b1482fdc wined3d: Render state additions and fixes. 2006-05-15 14:02:57 +02:00
Stefan Dösinger 8af7dd5dea wined3d: Nonpow2 repacking support for GetDC. 2006-05-15 14:02:37 +02:00
Stefan Dösinger daa6a3d714 wined3d: Support for single buffering. 2006-05-15 14:02:18 +02:00
Stefan Dösinger 2f724834f8 wined3d: Implement IWineGDISurface. 2006-05-15 14:02:03 +02:00
Stefan Dösinger 9abdac6aaa wined3d: Implement IWineD3DDevice::ProcessVertices. 2006-05-15 13:57:17 +02:00
Mike McCormack a9886585de rpcrt4: Add missing PKT_AUTH3 packet type. 2006-05-15 13:56:58 +02:00
Mike McCormack 7b5e5b65b0 rpcrt4: Add infrastructure for send authentication data. 2006-05-15 13:56:54 +02:00
Mike McCormack 1912fceab6 rpcrt4: Forward RpcBindingSetAuthInfo to RpcBindingSetAuthInfoEx. 2006-05-15 13:56:50 +02:00
Hans Leidekker 6e3223eb38 dnsapi: Add tests for DnsValidateName_A. 2006-05-15 13:56:44 +02:00
Gerald Pfeifer 3394472da8 gphoto2.ds: Fix a typo in a #warning, and slight rewording. Fix grammaro in comment. 2006-05-15 13:56:35 +02:00
Jacek Caban e8f4fff3ea oleaut32: res50 is number of impinfos. Fix its usage. 2006-05-15 11:48:29 +02:00
Jacek Caban 735c434376 urlmon: Fix tests. 2006-05-15 11:48:21 +02:00
Jacek Caban e02d36274b shdocvw: Added support for navigation to application URLs. 2006-05-15 11:48:11 +02:00
Jacek Caban 8bb2513ee9 mshtml: Fix protocol tests on XP. Make Wine match XP implementation. 2006-05-15 11:48:05 +02:00
Stefan Leichter 5996ef7f8e ntdll: Fix endless loop in port test for users without admin rights. 2006-05-15 11:47:32 +02:00
Francois Gouget 9359fd2f9f gphoto2.ds: Spelling fix. 2006-05-15 11:10:15 +02:00
Francois Gouget 325912de98 rpcrt4: Fix some conditional includes.
Check for HAVE_UNISTD_H before including unistd.h.
There is no HAVE_SYS_TYPES to check.
Tweak the indentation of a few #include directives.
2006-05-15 11:09:41 +02:00
Francois Gouget 3b102b39f4 ole32: Fix compilation with gcc 2.95. 2006-05-15 11:09:01 +02:00
Thomas Weidenmueller 05d629264c oleaut32: Fix converting file name to Unicode.
Fix converting the typelib file name to Unicode by using the correct
buffer size.
2006-05-15 11:06:28 +02:00
Juan Lang 7e9ba76da1 crypt32: Use the HRESULT synonyms for converted Win32 error codes. 2006-05-15 11:06:04 +02:00
Mike McCormack 746bf215e0 wininet: Remove broken code for HTTP_QUERY_FLAG_COALESCE, which is unimplemented according to MSDN. 2006-05-15 11:04:50 +02:00
Mike McCormack 35f0965c43 wininet: Check for null parameters in FtpSetCurrentDirectoryW. 2006-05-15 11:04:32 +02:00
Eric Pouech 0ddd1c9e18 ntdll: Fix serial timeout regression. 2006-05-15 11:03:43 +02:00
Stefan Leichter 72a6d97679 kernel: Fix CreateToolhelp32Snapshot tests on win2k. 2006-05-11 12:21:24 +02:00
Eric Pouech a5b1581e48 dbghelp: SymFindFileInPath and PDB
- implemented correct lookup when SymFindFileInPath is called to find
  a PDB file
- added pdb_fetch_file_info to gather relevant information
- when looking for a PDB file (from a .EXE or a .DLL), now using
  SymFindFileInPath to locate the PDB file with the correct
  information
2006-05-11 12:20:12 +02:00
Eric Pouech 2a1d8efde4 dbghelp: Removed call to registered callback when unloading a module.
First, native dbghelp doesn't do it, and it crashed windbg, likely
because we got the undocumented arguments wrong.
2006-05-11 12:19:24 +02:00
Eric Pouech c25d3ac7d5 dbghelp: Implemented SymSearchW. 2006-05-11 12:18:46 +02:00
Eric Pouech 208e701a7b dbghelp: Implemented SymEnumSymbolsW. 2006-05-11 12:18:30 +02:00