Commit Graph

17079 Commits

Author SHA1 Message Date
Robert Shearman e91da1458d rpcrt4: Authentication padding should only be generated if there is authentication data. 2006-05-23 11:36:26 +02:00
Alexandre Julliard 44691723eb user: Added A<->W mapping for WM_GETDLGCODE. 2006-05-22 12:29:02 +02:00
Hans Leidekker 1f35ff591c quartz: Add stub implementation for AMGetErrorText{A,W}. 2006-05-22 11:49:22 +02:00
Ivan Gyurdiev 7b861b3c03 wined3d: Simplify input/output modifier line handling. 2006-05-22 11:41:23 +02:00
Ivan Gyurdiev cb973648ab wined3d: Clean up register use maps. 2006-05-22 11:40:38 +02:00
Ivan Gyurdiev d59eeb3ee5 wined3d: Allow use of pixel shaders with drawStridedSlow. 2006-05-22 11:40:00 +02:00
Ivan Gyurdiev 438d88e1e8 wined3d: Only run parse_decl_usage on vshader INPUT registers. 2006-05-22 11:38:55 +02:00
Saulius Krasuckas 7b156bf170 advapi32: Skip token attribute testing if OpenProcessToken() is not implemented. 2006-05-22 11:38:28 +02:00
Saulius Krasuckas 18af854764 advapi32: Make test loadable on win9x. 2006-05-22 11:36:54 +02:00
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