Commit Graph

17139 Commits

Author SHA1 Message Date
Labrousse Jean d0862c365b msi: Fix short name and long name mismatch in action.c. 2006-05-23 13:03:57 +02:00
Troy Rollo 1be295fb47 ole32: Fix excessive file sizes for Storage files.
The IStorage (DocFile) implementation was adding empty blocks at the
end of the file every time a caller wrote data that was not a multiple
of 512 bytes.  If the caller made a lot of very small writes the file
size could be huge even though the data in the file was tiny. This was
caused by BlockChainStream_SetSize trying to allocate file blocks for
the new data using a condition that bore no relationship to the
required condition, and it was not necessary to do so at that time
since it is done (the right way) by StorageImpl_GetNextFreeBigBlock
(called via BlockChainStream_Enlarge).
2006-05-23 13:00:13 +02:00
Dmitry Timoshkov 3b95aad505 user/tests: Don't generate a mouse click message in mouse_ll_global_thread_proc.
Windows doesn't like when a thread plays games with the focus, that
leads to all kinds of misbehaviours and failures to activate a
window. So, better don't generate a mouse click message in
mouse_ll_global_thread_proc.
2006-05-23 12:45:54 +02:00
Dmitry Timoshkov c3ba7eecdb user/tests: Add lparam to all HCBT_MINMAX hook messages. 2006-05-23 12:44:50 +02:00
Stefan Dösinger 158691ea3b wined3d: OpengGL accelerated blits.
Implement some basic opengl accelerated blts from and to render
targets. It's not perfect yet, but enought to make some D3D apps
happy. For now the only supported operations are:

- Full screen back -> Front buffer: Just call present
- Offscreen surface -> render target
- Render target -> offscreen surface(slow)
- render target colorfill
2006-05-23 12:41:31 +02:00
Stefan Dösinger 9d75802a21 wined3d: Surface pixel format conversion code. 2006-05-23 12:37:27 +02:00
Robert Shearman 0fd184773a ole32: Release the outer unknown in the proxybuffer test.
Release the outer unknown in the proxybuffer test to show that the
last release of the outer unknown doesn't free the proxy buffer.
2006-05-23 12:05:07 +02:00
Robert Shearman 875390110f ole32: Release the proxy buffer object on the last release of the proxy's outer unknown.
Release the proxy buffer object on the last release of the proxy's outer
unknown, otherwise memory is leaked for the Ndr implementation of
IRpcProxyBuffer.

Fix up the hand-coded proxies to match the behaviour from the Ndr
implementation.
2006-05-23 12:05:01 +02:00
Robert Shearman d4245634ca wininet: Fix a failing test. 2006-05-23 11:36:41 +02:00
Robert Shearman dd362a62a1 rpcrt4: Fix copying too much data from the buffer by not taking into account the fact that auth_pad_len has been included in the fragment length. 2006-05-23 11:36:37 +02:00
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
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