Commit Graph

21171 Commits

Author SHA1 Message Date
Jan Zerebecki 9c58bce158 wined3d: Add err for failure case in CheckDepthStencilMatch. 2006-12-04 20:05:09 +01:00
Jan Zerebecki ee44a19966 wined3d: Fix CreateFakeGLContext to work with a foreign context. 2006-12-04 20:00:50 +01:00
Jan Zerebecki 1075367493 wined3d: Avoid XFree on NULL in CheckDeviceType. 2006-12-04 18:53:19 +01:00
Jan Zerebecki 3d6ffee021 wined3d: Rearrange code in CheckDeviceType. 2006-12-04 18:37:59 +01:00
Jan Zerebecki 0d66f794d1 wined3d: Add warn trace for INVALIDCALL case in CheckDeviceType. 2006-12-04 18:37:23 +01:00
Roderick Colenbrander 3e2ed5e4e5 Remove glut32. 2006-12-04 18:14:56 +01:00
Damjan Jovanovic 526e1353e6 ws2_32: Added tests for closesocket cancelling pending I/O operations. 2006-12-04 18:02:17 +01:00
Alexandre Julliard 28c5396436 kernel32: Store the LC_MESSAGES value under the "Locale" value.
Some apps depend on the value. Reported by Karsten Elfenbein.
2006-12-04 18:00:55 +01:00
Eric Pouech 16db2566c6 dbghelp: Fixed value stored for register relative information
(regression spotted by Peter Oberndorfer).
2006-12-04 14:02:42 +01:00
Eric Pouech 753055f93f dbghelp: Now that symbol's value computation depend on instruction
pointer value, be sure to always store it (spotted by Peter
Oberndorfer).
2006-12-04 14:02:18 +01:00
Rob Shearman feee099eec ole32: Add some more traces to the data cache to make debugging easier. 2006-12-04 13:51:15 +01:00
Rob Shearman e99168e1ba ole32: Add tests for invalid clipformat/tymed combinations in IOleCache:Cache and for caching formats with a clipformat of 0. 2006-12-04 13:51:11 +01:00
Rob Shearman ca81b825be ole32: In the data cache, fmtetc->cfFormat and fmtetc->tymed can be 0 which means to match any clipformat/tymed.
Therefore, keep the clipformat of the data in the data_cf field.
Return an error from SetData if a non-zero clipformat hasn't been specified.
Write out stgmedium.tymed instead of fmtetc.tymed, which is guaranteed 
to be non-zero if data has been set.
2006-12-04 13:51:06 +01:00
Rob Shearman d37b669503 ole32: Check that the specified clipboard format and tymed are valid in IOleCache::Cache in the data cache. 2006-12-04 13:44:06 +01:00
Detlef Riekenberg d9d6732170 spoolss: Forward EnumPortsW to winspool.drv. 2006-12-04 13:43:17 +01:00
Kai Blin 2a4df56548 ws2_32: Rewrite getsockopt to make it more readable. 2006-12-04 13:43:10 +01:00
Alexandre Julliard 84fb1e1f3f ntdll: Allow module with extensions in forward specifications. 2006-12-04 13:37:32 +01:00
Mike McCormack 08d1398d97 msi: Double quotes are not valid in queries. 2006-12-04 12:41:08 +01:00
Mike McCormack ef1af6ada7 msi: Add tests for quoting in queries. 2006-12-04 12:40:59 +01:00
Markus Amsler a60d4b2d2f d3d: Pass the superior creating object down to the callback functions. 2006-12-04 12:40:38 +01:00
Clinton Stimpson 3f91e7529a comctl32: Destroy header information on WM_NCDESTROY instead of WM_DESTROY. 2006-12-04 12:39:27 +01:00
Chris Robinson b4f0adbf96 wgl: Don't return prematurely if ConvertPixelFormatWGLtoGLX receives an invalid pixel format. 2006-12-04 12:39:04 +01:00
Charles Blacklock 12e4aa2165 oleaut32: Cleanup of previous VarBstrCmp patch. 2006-12-04 12:38:51 +01:00
Vitaliy Margolen 81c7c00bb2 wined3d/d3d9: Pitch for DXTn textures can not be 0. With tests. 2006-12-04 12:38:16 +01:00
Vitaliy Margolen 429c8ac948 dinput: Implement Poll for keyboard. 2006-12-04 12:34:08 +01:00
Vitaliy Margolen 0da0486cc3 dinput: Move critical section to the base device class. 2006-12-04 12:33:47 +01:00
Vitaliy Margolen f7eacd64d1 dinput: Move acquired flag to the base device class. Add tests. 2006-12-04 12:33:35 +01:00
Dmitry Timoshkov ed954e5461 user32: Add ShowWindow test, make it pass under Wine. 2006-12-04 12:23:37 +01:00
Lei Zhang c05bcabe9f riched20: Fixes and additional conformance tests for EM_EXSETSEL. 2006-12-04 12:23:32 +01:00
Roderick Colenbrander 7466390143 wgl: (W)GL_NV_vertex_array_range. 2006-12-04 12:23:26 +01:00
Peter Beutner 6f88a7b7d4 ntdll: Fix single stepping over popf instruction. 2006-12-04 12:23:20 +01:00
Marcus Meissner 1ce977d672 shell32: Forward SHDeleteKeyA directly to SHDeleteKeyW. 2006-12-04 12:22:57 +01:00
James Hawkins 44b0b462cb shell32: Move a NULL pointer check before the place where we dereference the pointer. 2006-12-04 12:22:46 +01:00
James Hawkins 58bb3571de msi: Add handling for the StartServices action. 2006-12-04 12:22:32 +01:00
Eric Pouech 8ca3ca5a56 imagehlp: MapAndLoad should do some useful stuff now. 2006-12-04 12:22:24 +01:00
Rob Shearman 3b87fe97df ole32: Set the mapping mode to anisotropic in OleMetafilePictFromIconAndLabel. 2006-12-04 12:22:09 +01:00
Rob Shearman d7d3309e0a ole32: The width of the metafile drawn should be 3 times the icon width in OleMetafilePictFromIconAndLabel. 2006-12-04 12:22:03 +01:00
Rob Shearman cdb86c6c90 ole32: Fill in the xExt and yExt fields in OleMetafilePictFromIconAndLabel. 2006-12-04 12:21:55 +01:00
Rob Shearman 2fa7cadf07 ole32: Use the default icon title font when writing the caption text out in OleMetafilePictFromIconAndLabel. 2006-12-04 12:21:48 +01:00
Rob Shearman f0e2ea54e0 ole32: The METAFILEPICT created by OleMetafilePictFromIconAndLabel should have its mapping mode be anisotropic, not isotropic. 2006-12-04 12:21:38 +01:00
Rob Shearman 09376ea1f5 ole32: Call SetWindowOrgEx and SetWindowExtEx in OleMetafilePictFromIconAndLabel so that the created metafile scales correctly.
Centre the icon and the label.
2006-12-04 12:21:31 +01:00
Rob Shearman 587ba29174 ole32: Implement saving of the data cache.
Document a few of the unknown fields in the presentation data header.
2006-12-04 12:21:20 +01:00
Rob Shearman e5c82d3aa4 ole32: Add handling of the dirty state to the data cache and fix InitNew to not call Load. 2006-12-04 12:21:09 +01:00
Rob Shearman e9cc0744cc ole32: Add documentation for CreateDataCache. 2006-12-04 12:20:57 +01:00
Rob Shearman 188fe95091 ole32: Add some tests for the IViewObject, IOleCache2 and IPersistStorage interfaces of the OLE data cache. 2006-12-04 12:20:51 +01:00
Rob Shearman 4b7e8e73a4 ole32: The advise sink for the data cache should be primed with the passed in aspects value, not an arbitrarily selected value. 2006-12-04 12:20:41 +01:00
Rob Shearman 46f70207b2 ole32: Implement the SetData function for the data cache. 2006-12-04 12:20:36 +01:00
Rob Shearman 25d7d95035 ole32: Load cached data in the data cache into a STGMEDIUM type so it can be treated the same as set data. 2006-12-04 12:20:28 +01:00
Rob Shearman 4232d31c57 ole32: Implement Cache and Uncache for the data cache. 2006-12-04 12:20:18 +01:00
Rob Shearman 07e3d538a0 ole32: Create a cache entry for each format in the data cache to allow
for the future possiblity to add entries with IOleCache::Cache and
IOleCache::SetData.
2006-12-04 12:20:07 +01:00
Rob Shearman a2d59ef534 ole32: Implement DataCache_GetClassID. 2006-12-04 12:19:31 +01:00
Pierre d'Herbemont c20afad608 dbghelp: Fix elf_load_module params on non elf system to reflect last change to its definition. 2006-12-04 12:19:22 +01:00
Dmitry Timoshkov f15f06af38 msacm32: Make some data const. 2006-12-04 12:19:15 +01:00
Tomas Carnecky 9d1686c8c5 winex11.drv: Don't update the key state table in mouse related functions. 2006-12-01 13:16:15 +01:00
Markus Amsler dc0afe4242 d3d9: Remove unreachable return. 2006-12-01 13:16:12 +01:00
James Hawkins 8ae81d0620 msi: Set the UserSID property. 2006-12-01 13:12:11 +01:00
James Hawkins 19a49eb51a advapi32: Add tests for LookupAccountName. 2006-12-01 13:12:04 +01:00
Detlef Riekenberg e089659af1 comctl32: Do not crash when the startpage is invalid. 2006-12-01 13:12:00 +01:00
Alexandre Julliard 7cd9400b80 kernel32/tests: Added test case for . and .. directory entries. 2006-12-01 13:11:53 +01:00
Alexandre Julliard df29fd3ab3 ntdll: Always return . and .. as the first two entries in directory searches. 2006-12-01 13:11:38 +01:00
Dmitry Timoshkov a411b85868 kernel32: Skip the PE loader test under a Win9x platform. 2006-12-01 12:28:31 +01:00
Peter Beutner 6c9af2bdcb ntdll: Add more exception tests. 2006-12-01 12:28:24 +01:00
Peter Beutner b7393f29a4 ntdll: Run exception tests from executable memory. 2006-12-01 12:28:05 +01:00
Peter Beutner 94b548fd62 ntdll: Simplify exception tests.
- create helper function to setup exception frame and run the test
- lookup function ptr only once
- make "code data" const
- reuse global exception counter
- change alignment test to use stack address to generate an alignment exception. This avoids
  the need to pass an argument, so it can use the created helper function.
  (as the stack is (at least) 4 byte aligned, this works equally well)
2006-12-01 12:27:25 +01:00
Markus Amsler 44e6c6b67a d3d8: Use correct COM macros. 2006-12-01 12:27:17 +01:00
Markus Amsler 61087377a0 d3d9: Use correct COM macros. 2006-12-01 12:27:15 +01:00
Markus Amsler 3127eac2bd wined3d: Remove duplicated code. 2006-12-01 12:27:13 +01:00
Markus Amsler e2881758a1 ddraw: Call wined3d's SetTextureStageState not the one of d3d7. 2006-12-01 12:27:04 +01:00
Roderick Colenbrander eb0350bb1b wgl: Relax the pixel format attribute conversion code a bit. 2006-12-01 12:26:58 +01:00
Jacek Caban bc71685676 mshtml: Added handling of right and left arrow keys in editing mode. 2006-12-01 12:26:43 +01:00
Paul Vriens 93c909a3ad user32: W2K3 returns ERROR_INVALID_PARAMETER. 2006-12-01 12:26:35 +01:00
Alexandre Julliard 8385f137b5 ntdll: Don't free the DOS area when a broken app passes a NULL pointer to NtFreeVirtualMemory. 2006-12-01 11:38:52 +01:00
Charles Blacklock 2b2ee9c7d1 oleaut32: Add VarBstrCmp binary comparison for LCID==0. 2006-11-30 20:06:37 +01:00
Lei Zhang 6a530aba76 msxml3: Fix compiles for systems with libxml2 version 2.6.14 and below. 2006-11-30 16:35:35 +01:00
Detlef Riekenberg a7481a93c0 winspool: Load the local monitor only once. 2006-11-30 16:35:17 +01:00
Markus Amsler bd072332e1 Revert "d3d: Remove AddRef from IWineD3DDevice_GetDirect3D.".
This reverts commit 167b83c28a.
2006-11-30 16:04:00 +01:00
Markus Amsler f8e7ddd798 Revert "d3d: Remove AddRef from IWineD3DDevice_GetBackBuffer.".
This reverts commit 478a414e58.
2006-11-30 16:04:00 +01:00
Markus Amsler b657cd5f58 Revert "d3d: Remove AddRef from IWineD3DDevice_GetRenderTarget.".
This reverts commit a7518f6f54.
2006-11-30 16:04:00 +01:00
Markus Amsler f5204b8afe Revert "d3d: Remove AddRef from IWineD3DDevice_GetDepthStencilSurface.".
This reverts commit 18546a65e6.
2006-11-30 16:04:00 +01:00
Markus Amsler 5bec2f57a1 Revert "d3d: Remove AddRef from IWineD3DDevice_GetTexture.".
This reverts commit 274df6ef88.
2006-11-30 16:04:00 +01:00
Markus Amsler 3a270375d7 Revert "d3d: Remove AddRef from IWineD3DDevice_GetStreamSource.".
This reverts commit 16b1e046d8.
2006-11-30 16:03:59 +01:00
Markus Amsler 9dd81f64cb Revert "d3d: Remove AddRef from IWineD3DDevice_GetIndices.".
This reverts commit 5c4008719c.
2006-11-30 16:03:59 +01:00
Markus Amsler c40501db50 Revert "d3d: Remove AddRef from IWineD3DDevice_GetSwapChain.".
This reverts commit f84f687e6d.
2006-11-30 16:03:59 +01:00
Markus Amsler 0bff261cfa Revert "d3d: Fix partially applied patch: Remove AddRef from GetDirect3D.".
Removing COM in d3d is not feasible as long as we use inheritance. So
stick to the COM refcount rules.
This reverts commit 3fd8fe089c.
2006-11-30 16:03:59 +01:00
Kai Blin e521ee2cee ws2_32: Implement SO_EXCLUSIVEADDRUSE for setsockopt. 2006-11-30 15:23:16 +01:00
Alexandre Julliard 6367330fe8 comdlg32: Moved prototypes to the header file and fixed declaration of FileOpenDlgInfosStr. 2006-11-30 15:15:46 +01:00
Kai Blin 516a575a86 ws2_32: SO_DONTROUTE is ignored on windows, fix comment and downgrade FIXME to TRACE. 2006-11-30 13:26:45 +01:00
Eric Pouech 8e7b2e0fd7 dbghelp: Get rid of long int issues on 64bit platforms. 2006-11-30 13:26:39 +01:00
Eric Pouech 0bee33e195 mscvpdb.h: Update some definitions (constants, structures) with latest information we have. 2006-11-30 12:55:10 +01:00
Eric Pouech cc65d21f82 dbghelp: Moved mscvpdb.h file to include/wine to allow sharing of the definitions with winedump. 2006-11-30 12:54:54 +01:00
James Hawkins 024237efaa advapi32: Remove redundant NULL checks before CRYPT_Free. 2006-11-30 12:27:03 +01:00
James Hawkins a64945baea msi: Use mi->source if the source is not a full path. 2006-11-30 12:26:08 +01:00
Pierre d'Herbemont d208ad82dd winex11.drv: Fix SetWindowPos parameters in the spec file. 2006-11-30 12:26:03 +01:00
James Hawkins d3bec32500 msi: Add handling for the InstallODBC action. 2006-11-29 14:08:14 +01:00
James Hawkins 7125d3073d msi: Don't fail if we can't remove an existing install file. 2006-11-29 14:06:49 +01:00
Detlef Riekenberg 13892639b4 winspool/tests: Add initial tests for AddPort. 2006-11-29 14:06:43 +01:00
Detlef Riekenberg 1f3c289a30 winspool: Implement AddPortA. 2006-11-29 14:06:31 +01:00
Detlef Riekenberg 03daa6088c winspool: Implement AddPortW. 2006-11-29 14:06:21 +01:00
Detlef Riekenberg df4d29312f winspool/tests: Add initial test for DeletePort. 2006-11-29 14:06:11 +01:00
Detlef Riekenberg bcfa90e182 winspool: Implement DeletePortA. 2006-11-29 14:05:58 +01:00
Detlef Riekenberg c587d1ad0d winspool: Implement DeletePortW. 2006-11-29 14:05:39 +01:00
Pierre d'Herbemont e5e58a6b13 user32: Factorize driver's SetWindowPos in user32. 2006-11-29 14:05:33 +01:00
Christian Gmeiner 3d11b8650c setupapi: Added AssertFail stub. 2006-11-29 14:04:52 +01:00
Dmitry Timoshkov d0db296db0 comdlg32: Make some data const. 2006-11-29 12:44:47 +01:00
Dmitry Timoshkov e5b4b47c16 advapi32: Make some data const. 2006-11-29 12:44:43 +01:00
Dmitry Timoshkov 616b65532b dsound: Make some data const. 2006-11-29 12:44:40 +01:00
Dmitry Timoshkov c9a57ee196 winedos: Make some data const. 2006-11-29 12:44:37 +01:00
Dmitry Timoshkov a5992939d4 riched20: Make some data const. 2006-11-29 12:44:34 +01:00
Dmitry Timoshkov c78621eda4 quartz: Make some data const and static. 2006-11-29 12:44:31 +01:00
Dmitry Timoshkov b2bffdda83 mshtml: Make some data const. 2006-11-29 12:44:27 +01:00
Dmitry Timoshkov bd53138fc8 comctl32: Make some data const. 2006-11-29 12:44:23 +01:00
Dmitry Timoshkov 1804900163 winspool.drv: Make some data const. 2006-11-29 12:44:19 +01:00
Dmitry Timoshkov 8b72102bd7 urlmon: Make some data const. 2006-11-29 12:44:16 +01:00
Dmitry Timoshkov 1d5f0f41f0 shdocvw: Make some data const. 2006-11-29 12:44:13 +01:00
Dmitry Timoshkov 1cdf5cddac msi: Make some data const and static. 2006-11-29 12:44:10 +01:00
Dmitry Timoshkov 0bde8135fc winex11.drv: Make some data const. 2006-11-29 12:37:31 +01:00
Dmitry Timoshkov 1f1d2ddf5b ntdll: Make some data const. 2006-11-29 12:37:27 +01:00
Kai Blin 3dc6390e72 secur32: Improve version detection, move all the version detection to ntlm.c.
Also, as starting with Samba 3.0.24, ntlm_auth will have all the features
we need, require that as minimal version and remove odd old-version
compatibility hacks.
2006-11-29 12:37:20 +01:00
Mike McCormack a3a2eaea93 msi: Update the UI in one place only in ACTION_ProcessComponents. 2006-11-29 12:37:12 +01:00
Mike McCormack 1770c9125d msi: Advertise components of a feature that has the msidbFeatureAttributesFavorAdvertise property. 2006-11-29 12:37:07 +01:00
Andrew Talbot 63246a5396 comctl32: Cast-qual warnings fix. 2006-11-29 12:36:47 +01:00
Kai Blin 7e6b7d21b9 ws2_32: Implement SO_GET_MAX_MSG_SIZE for getsockopt. 2006-11-29 12:36:35 +01:00
Dmitry Timoshkov d4877a32f1 msi: Synchronize msi exports with what PSDK has. 2006-11-29 12:36:22 +01:00
Detlef Riekenberg 603ecd298d localspl: Add initial tests for AddPortW. 2006-11-28 12:45:56 +01:00
Detlef Riekenberg 0e57af887e spoolss: Implement AllocSplStr + DllFreeSplStr. 2006-11-28 12:43:50 +01:00
Dmitry Timoshkov ff90dbc086 mlang: Implement LcidToRfc1766 and GetRfc1766FromLcid. 2006-11-28 12:37:23 +01:00
Dmitry Timoshkov 884e7eed4a shlwapi: Make some data const. 2006-11-28 12:36:23 +01:00
Dmitry Timoshkov 601bf6ea12 oleaut32: Make some data const and static. 2006-11-28 12:36:20 +01:00
Dmitry Timoshkov 09fea0f83e ole32: Make some data const. 2006-11-28 12:36:17 +01:00
Dmitry Timoshkov e4c0748c21 shell32: Make some data static and const. 2006-11-28 12:36:12 +01:00
Dmitry Timoshkov 21bcfd72b0 user32: Make some data const. 2006-11-28 12:36:08 +01:00
Dmitry Timoshkov 924f73b861 kernel32: Make some data const. 2006-11-28 12:36:04 +01:00
Dmitry Timoshkov 720ab29a7f kernel32: Add more obscure PE images that XP is able to load. 2006-11-28 12:35:56 +01:00
H. Verbeet 7e4d3d951e wined3d: Set the initial FBO depth stencil when creating the device. 2006-11-28 12:22:48 +01:00
H. Verbeet 9c1a61b6e6 wined3d: Delete the device's FBO when destroying the device. 2006-11-28 12:22:40 +01:00
H. Verbeet 533dcbf170 wined3d: Use the texture sampling function in a few more instructions (GLSL). 2006-11-28 12:22:32 +01:00
H. Verbeet f035df9ac5 wined3d: Use the texture sampling function in a few more instructions (ARB asm shaders). 2006-11-28 12:22:24 +01:00
H. Verbeet ac651a7058 wined3d: Fix the texm3x3tex instruction to sample properly. 2006-11-28 12:19:48 +01:00
H. Verbeet e7122e9a79 wined3d: Create a separate function for sampling a texture. 2006-11-28 12:19:39 +01:00
H. Verbeet 8a7f427948 wined3d: Select the right shader backend when creating the device. 2006-11-28 12:19:27 +01:00
H. Verbeet df6f482a69 wined3d: Move some code specific to the different shader backends into the respective source files. 2006-11-28 12:19:19 +01:00
Mike McCormack 77b514fe24 msi: Use MSI_IterateRecords in ACTION_AppSearch. 2006-11-28 12:14:58 +01:00
Mike McCormack 63afb3f840 msi: Use MSI_QueryGetRecord in ACTION_AppSearchIni. 2006-11-28 12:14:53 +01:00
Mike McCormack a0d0453501 msi: Use MSI_QueryGetRecord in ACTION_AppSearchDr. 2006-11-28 12:14:46 +01:00
Matt Finnicum e864f2f2c3 riched20: Make EM_SETPARAFORMAT use ME_RewrapRepaint instead of ME_UpdateRepaint. 2006-11-28 12:14:43 +01:00
Matt Finnicum d7aa81bdfb riched20: Make EM_SETCHARFORMAT call ME_RewrapRepaint instead of ME_UpdateRepaint. 2006-11-28 12:14:36 +01:00
Matt Finnicum 26ba1559b0 riched20: Make WM_SETFONT call RewrapRepaint instead of UpdateRepaint. 2006-11-28 12:14:28 +01:00
Matt Finnicum 3e27436003 riched20: EM_EXLIMITTEXT: ignore wParam and properly cast lParam. 2006-11-28 12:14:21 +01:00
Matt Finnicum 807546ee59 riched20: Make ME_StreamIn create undos properly. 2006-11-28 12:14:11 +01:00
Kai Blin 4534145889 ws2_32: Add WS_SIO_ADDRESS_LIST_QUERY stub to make native dplay error output more readable. 2006-11-28 12:13:53 +01:00