Commit Graph

42216 Commits

Author SHA1 Message Date
Henri Verbeet 1120f0f585 wined3d: Unset the current GLSL program when it's destroyed. 2009-04-06 12:57:27 +02:00
Dmitry Timoshkov 95156d1b5f gdi32: Use GdiGetCodePage() instead of duplicating its functionality. 2009-04-06 12:57:21 +02:00
Dmitry Timoshkov 4bb8d9c1c2 gdi32: Cache current font code page in the DC structure. 2009-04-06 12:57:11 +02:00
Dmitry Timoshkov 301b5d2772 gdi32: Add a couple of SetGraphicsMode/SetWorldTransform tests, make them pass under Wine. 2009-04-06 12:56:50 +02:00
Marcus Meissner 5fdf50f76d quartz: Make sure cookie* are not uninitialized (Coverity 760). 2009-04-06 12:56:30 +02:00
Alexandre Julliard 61dcca5dbf ntdll: Don't pretend that the whole address space is reserved on non-i386. 2009-04-06 12:07:33 +02:00
Detlef Riekenberg a558365ac3 wininet/tests: Fix a test with IE8. 2009-04-06 11:16:59 +02:00
Nicolas Le Cam 4955fabbd4 shell32/tests: Fix crash when launched from drive root dir. 2009-04-06 11:16:55 +02:00
Nicolas Le Cam bf7fa5b690 shell32/tests: Fix GetAttributesOf tests on Win2k and below. 2009-04-06 11:16:49 +02:00
Aurimas Fischer 4645cfb9af msacm32: Add Lithuanian translation. 2009-04-06 11:16:36 +02:00
Nikolay Sivov 483083e306 comctl32/tab: Draw hottracked tab button properly. 2009-04-06 11:16:32 +02:00
Roderick Colenbrander a932fdcb2f wined3d: Update NVidia pci ids. 2009-04-06 11:16:24 +02:00
Roderick Colenbrander ef385d2e7a opengl32: Update with the latest OpenGL extensions. 2009-04-06 11:16:20 +02:00
Marcus Meissner cb80692cf8 wininet: Fixed memory corruption in urlcache. 2009-04-06 11:16:11 +02:00
Marcus Meissner e28c28b461 comctl32: Avoid potential overflow in Search Param (Coverity 903). 2009-04-06 11:16:05 +02:00
Marcus Meissner 088790e8e4 mciqtz32: Fixed boolean condition for null string check (Coverity 913). 2009-04-06 11:15:56 +02:00
Nicolas Le Cam b4923a32b8 shell32: Define PT_FOLDERW. 2009-04-06 11:15:48 +02:00
Nicolas Le Cam 69cd386b90 shell32/tests: Fix tests on localized platforms. 2009-04-06 11:15:45 +02:00
Paul Vriens 30041c283a riched20/tests: Remove the todo_wine logic where appropriate. 2009-04-03 17:06:41 +02:00
Alexandre Julliard 7e47d19d9a ntdll: Set the WOW64 flag according to the server supported CPUs. 2009-04-03 17:05:29 +02:00
Alexandre Julliard 279defe66e server: Verify that the client is using a supported CPU type. 2009-04-03 14:59:12 +02:00
Alexandre Julliard 653d2c4a8d server: Store the type of CPU that the client is running on. 2009-04-03 14:49:10 +02:00
Alexandre Julliard b06a919c3c server: Use the thread entry point field to pass the PEB in the initial thread. 2009-04-03 14:30:34 +02:00
Rein Klazes e861d8be43 user32: Fix for the ending of menu tracking in the default handler of WM_CANCELMODE message with test. 2009-04-03 13:25:31 +02:00
Paul Vriens 8955d7c233 advapi32/tests: Fix test failures on W2K. 2009-04-03 13:01:54 +02:00
Henri Verbeet 6660978b44 wined3d: Use register_idx in the ARB shader backend. 2009-04-03 13:01:50 +02:00
Henri Verbeet 7b62165546 wined3d: Store the register index in struct wined3d_shader_dst_param. 2009-04-03 13:01:44 +02:00
Henri Verbeet 7245cd2b81 wined3d: Add a struct wined3d_shader_dst_param for storing destination parameter information. 2009-04-03 13:01:38 +02:00
Henri Verbeet 04b2e0b19b wined3d: Remove the opcode field from struct wined3d_shader_instruction. 2009-04-03 13:01:30 +02:00
Henri Verbeet 29c9dc989d wined3d: Use the source and destination parameter count in the ARB shader backend. 2009-04-03 13:01:20 +02:00
Rein Klazes 8ac8957a36 user32: In COMBO_WindowPosChanging() do not change the height of the the dropped rectangle, if the new height is too small. 2009-04-03 13:01:14 +02:00
Nikolay Sivov d7439c0b75 comctl32/updown: Don't pass VK_[UP|DOWN] to original Up/Don control buddy's winproc. 2009-04-03 13:01:07 +02:00
Piotr Caban 49ce878de7 jscript: Added Math_cos tests. 2009-04-03 13:01:01 +02:00
Piotr Caban fe5785af09 jscript: Added Math_cos implementation. 2009-04-03 13:00:56 +02:00
Piotr Caban 885a9e9c0c jscript: Added Math_LN2 tests. 2009-04-03 13:00:53 +02:00
Piotr Caban d2aed1b752 jscript: Added Math_LN2 implementation. 2009-04-03 13:00:48 +02:00
Paul Chitescu de66f257d6 ntdll: Print desired version of missing dependent assemblies. 2009-04-03 12:58:30 +02:00
Nikolay Sivov 6b6d18d766 comctl32: Additional tests for ListView header creation. 2009-04-02 16:28:42 +02:00
Aric Stewart 7e8e9c41e9 winmm: SND_ALIAS and SND_ALIAS_ID overlap so when checking for SND_ALIAS_ID make sure it is SND_ALIAS_ID and not SND_ALIAS. 2009-04-02 16:28:30 +02:00
Aric Stewart c08b0a0a9d winmm: Properly cleanup in return from proc_PlaySound if system sound is not found.
Prevents hanging in Outlook 2000 on sound cleanup.
2009-04-02 16:28:30 +02:00
Paul Vriens 22a48d6740 shell32/tests: Fix a test failure on Vista and higher. 2009-04-02 16:28:30 +02:00
Paul Vriens 9a10234ef2 kernel32: Fix creation of empty sections in ini files. 2009-04-02 16:28:30 +02:00
Michael Stefaniuc 1513dd2073 comctl32/tests: Use LONG instead of long. 2009-04-02 16:28:30 +02:00
Vincent Povirk 9c02fda4a9 ole32: When renaming a storage element, delete from the current iface. 2009-04-02 16:28:30 +02:00
Rein Klazes ebbf99abce user32/tests: In sysparams fix another case where a test changes a users desktop setting.
Made several tests pass on NT4 (no SP), Vista and Win2k8.
2009-04-02 16:28:30 +02:00
Henri Verbeet 7bde2792c2 wined3d: Store the source and destination parameter count in struct wined3d_shader_instruction. 2009-04-02 16:28:29 +02:00
Henri Verbeet d633b6d47e wined3d: Avoid comparing against WINED3DSIO_* in the ARB shader backend. 2009-04-02 16:28:29 +02:00
Henri Verbeet 44648b2b91 wined3d: Store the instruction handler index in struct wined3d_shader_instruction.
This allows us to avoid comparing against WINED3DSIO_*, which is specific to
the bytecode.
2009-04-02 16:28:29 +02:00
Henri Verbeet fb6547a3e1 wined3d: Compare num_params against 1 in shader_glsl_map2gl().
num_params includes the destination parameter, while we're only interested in
source parameters. This doesn't cause problems for any of the instrctions
currently handled by shader_glsl_map2gl() though, since they all happen to
have at least 1 source parameter.
2009-04-02 16:28:29 +02:00
Henri Verbeet c697bdc3a1 wined3d: Remove some code that doesn't make a whole lot of sense.
The "instr" parameter to shader_glsl_gen_modifier() is actually a source
parameter, so comparing against WINED3DSIO_TEXKILL is just silly.
2009-04-02 16:28:29 +02:00
Nikolay Sivov 4902dd9801 comctl32: Enable selection overwriting in IP Address control. 2009-04-02 15:09:55 +02:00
Nikolay Sivov a2b7aafdae user32: Implemented GetWindowRgnBox with some tests. 2009-04-02 15:09:55 +02:00
Jacek Caban eb32e9ec1a urlmon: Register CLSID_DeCompMimeFilter. 2009-04-02 15:09:55 +02:00
Vincent Povirk 0879b767ae gdiplus: GdipDrawString: Handle either a width or height of 0 sanely.
Based on Aric's recent patch.
2009-04-02 15:09:55 +02:00
Alexandre Julliard fc87182d19 kernel32: Set argv[0] to the full path of the binary when starting from Unix. 2009-04-02 12:59:32 +02:00
Alexandre Julliard 7b7f35aee5 kernel32: Use __wine_main_environ by default, environ is broken on FreeBSD too. 2009-04-02 12:03:35 +02:00
Alexandre Julliard 0ed1041c63 oleaut32: Don't use 16-bit headers. 2009-04-01 18:20:21 +02:00
Alexandre Julliard 129ba5ade0 shell32: Make shell.dll into a stand-alone 16-bit module. 2009-04-01 18:20:13 +02:00
Alexandre Julliard b1d96f6ffa shell32: Add implementation of WOWShellExecute.
The callback is probably not fully compatible, but apps are not
supposed to use that function anyway.
2009-04-01 18:19:42 +02:00
Alexandre Julliard b2d35c3620 winecrt0: Disable the delay import destructor on Mac OS, it cannot be made to work. 2009-04-01 18:13:42 +02:00
Nikolay Sivov 276c7a3bc6 comctl32: listview: Some tests showed delayed header creation in ListView control. 2009-04-01 17:10:21 +02:00
Huw Davies 628332aee1 ole32: Change the global memory duplicator to return HRESULT. 2009-04-01 15:23:20 +02:00
Huw Davies 3cb4ab588d ole32: Rename a few variables and remove a couple of meaningless comments. 2009-04-01 15:23:14 +02:00
Huw Davies f2ba37e5b9 ole32: Move the embed source hack to a separate function. 2009-04-01 15:23:09 +02:00
Huw Davies 126ec0181f ole32/tests: Set tymed in GetData and AddRef the interfaces (ReleaseStgMedium releases them even if pUnkForRelease is non-NULL). 2009-04-01 15:23:03 +02:00
Ge van Geldorp af5ce0d249 mshtml/tests: Fix tests on Windows. 2009-04-01 15:22:54 +02:00
Alexandre Julliard 8edf353bd2 libwine: Export __wine_get_main_environment on Mac OS to make sure it's reevaluated when used. 2009-04-01 15:07:42 +02:00
Henri Verbeet c3a01b315e wined3d: Use a more reasonable name for "SHADER_OPCODE_ARG". 2009-04-01 14:24:19 +02:00
Henri Verbeet de4e8cf0f9 wined3d: Avoid a forward declaration. 2009-04-01 14:24:11 +02:00
Henri Verbeet e44335585e wined3d: Don't use the opcode_token field in the ARB backend. 2009-04-01 14:24:02 +02:00
Henri Verbeet ec43489e10 wined3d: Don't use the opcode_token field in the GLSL backend.
The idea is that we want to prevent backends from parsing the tokens
themselves, which is pretty much a requirement for adding SM4 support.
2009-04-01 14:23:56 +02:00
Henri Verbeet 4194d8040f ddraw: Filter invalid texture stage states passed by the application. 2009-04-01 14:23:38 +02:00
Jacek Caban 19067f1256 urlmon.idl: Use HANDLE_PTR in IInternetProtocolRoot::Start declaration. 2009-04-01 14:23:32 +02:00
Christian Costa 2a9b26862f mciqtz32: Implement MCI_SEEK. 2009-04-01 14:23:31 +02:00
Aric Stewart 9d9a684ef6 advapi32: Handle fully qualified account names for well known sids in LookupAccountName. 2009-04-01 14:23:31 +02:00
Aric Stewart b540d57c39 advapi32: Modify check_well_known_name test to be more robust on more Windows platforms.
Thanks to Paul Vriens for pointing out the need for this.
2009-04-01 14:23:31 +02:00
Alexandre Julliard c5dadf4739 ntdll: Define dvd_struct ourselves since it's not consistent across platforms. 2009-04-01 12:37:32 +02:00
Alexandre Julliard 129d83fffb ntdll: Add separate signal definitions for OpenBSD. 2009-04-01 12:37:05 +02:00
Mikołaj Zalewski 9c9532265d kernel32: Implement QueryFullProcessImageFileNameW. 2009-03-31 18:05:55 +02:00
Massimo Del Fedele da6a94cd96 gdi32: Fix PATH_add_outline when mapping mode != MM_TEXT. 2009-03-31 16:43:05 +02:00
Massimo Del Fedele a11a450e33 gdi32: PATH_ExtTextOut remove incorrect shift to DC origin. 2009-03-31 16:43:04 +02:00
Massimo Del Fedele 23acdb7143 gdi32: Correctly handle space char on Path_ExtTextOut(). 2009-03-31 16:43:04 +02:00
Massimo Del Fedele 97e81bc3bd gdi32/tests: Add test for GetGlyphOutlineW() requesting buffer size for space char. 2009-03-31 16:43:04 +02:00
Alexandre Julliard 2ef9411434 winecrt0: Don't bother passing the environment to the _init function.
We'd have to use the Windows environment anyway, not the Unix one.
2009-03-31 16:06:11 +02:00
Huw Davies 61fa9bb061 ole32/tests: Add some tests for stream data. 2009-03-31 15:00:38 +02:00
Huw Davies d28d731b61 ole32/tests: Add broken return value for win98. 2009-03-31 15:00:33 +02:00
Huw Davies 5492fd2b0d ole32/tests: On win9x GetClipboardData returns a new handle. 2009-03-31 15:00:28 +02:00
Huw Davies 2c6be9521b ole32: Simplify some of the error handling. 2009-03-31 15:00:23 +02:00
Henri Verbeet 7f740f2a51 wined3d: Don't leak the swapchain in IWineD3DDeviceImpl_Reset() if the display mode is unsupported. 2009-03-31 12:42:20 +02:00
Henri Verbeet 4ccbc948a1 d3d10core: Set the initial buffer data, when present. 2009-03-31 12:42:07 +02:00
Henri Verbeet 0591442469 wined3d: Care for things like pitch and blocksize when copying DXT surfaces. 2009-03-31 12:42:00 +02:00
Henri Verbeet 9ef184c168 d3d10core: Implement ID3D10Device::IASetVertexBuffers(). 2009-03-31 12:41:54 +02:00
Henri Verbeet de7749b3fb d3d10core: Implement ID3D10Device::IASetInputLayout(). 2009-03-31 12:41:49 +02:00
Hans Leidekker e3b558887d msi: Build a proper source path in MsiConfigureProductExW.
We were passing uninitialized data which would ultimately end up in the
registry.
2009-03-31 12:41:42 +02:00
Hans Leidekker 965698cd28 msi: Don't publish package name as part of product properties.
This value does not exist directly under the product key on Windows.
2009-03-31 12:41:36 +02:00
Michael Stefaniuc 9f3055e192 credui: Add the Romanian translation. 2009-03-31 12:41:16 +02:00
Nikolay Sivov fd3b57c53a rpcrt4: Implemented RpcEpRegisterW wrapping RpcEpRegisterA. 2009-03-31 12:41:11 +02:00
Igor Tarasov 2d751ee56a comctl32: Correct handling of toolbar separators size. 2009-03-31 12:40:59 +02:00
Igor Tarasov 88b64d486d comctl32: CCS_VERT flips toolbar separators orientation. 2009-03-31 12:40:51 +02:00
Tobias Jakobi 94a7cd42ed wined3d: Simplify sampler_texmatrix using pow2Matrix_identity. 2009-03-31 12:40:30 +02:00
Tobias Jakobi 38239be58c wined3d: GLSL: Implement texrect coord fixup. 2009-03-31 12:40:21 +02:00
Tobias Jakobi 1b335dfaaa wined3d: Add texrect_fixup bitfield to ps_compile_args struct.
Initialization of the bitfield done in find_ps_compile_args
based on the previously introduced pow2Matrix_identity flag.
2009-03-31 12:40:10 +02:00
Tobias Jakobi 31f8cd9621 wined3d: Add pow2Matrix_identity flag to BaseTextureClass struct.
New flag helps to quickly find out whether the pow2Matrix is a
identity matrix (no texcoord fixup needed) or not.
2009-03-31 12:39:27 +02:00
Alexandre Julliard c5bdfdfb2d winedos: Release the 16-bit lock before calling ExitThread.
This avoids deadlocks with the loader lock.
2009-03-31 12:39:10 +02:00
Alexandre Julliard 65e71259df ws2_32/tests: Don't use socklen_t. 2009-03-31 12:13:15 +02:00
Alexandre Julliard 2e8d68d683 inetcomm: Include ws2tcpip.h before anything else. 2009-03-31 12:12:13 +02:00
Rico Schüller 3400c03346 Implement d3dx9_41 and forward the functions to d3dx9_36. 2009-03-30 17:55:15 +02:00
Detlef Riekenberg 03ff6ba641 msi/tests: Fix a copy & paste typo in a test message. 2009-03-30 17:51:03 +02:00
Aric Stewart 4ea704d15a advapi32: Alias some sids in LookupAccountName and make comparison case insensitive. 2009-03-30 17:48:24 +02:00
Joerg-Cyril.Hoehle@t-systems.com 110c287f2f amstream: Log GUID instead of pointer. 2009-03-30 17:39:23 +02:00
Christian Costa 893fc77332 mciqtz32: Add basic play capability. 2009-03-30 17:38:26 +02:00
Christian Costa e0574936dc mciqtz32: Implement driver messages. 2009-03-30 17:38:22 +02:00
Huw Davies 59501e037b ole32/tests: Tests for EnumFormatEtc. 2009-03-30 16:42:46 +02:00
Huw Davies 89dcb968a3 ole32/tests: Fix DVTARGETDEVICE offsets. 2009-03-30 16:42:41 +02:00
Huw Davies 969e5d7ee1 ole32: Reimplement the formatetc enumerator using 'Ole Private Data'. 2009-03-30 16:42:22 +02:00
Huw Davies fc78f552a0 ole32: AddRef does not return an HRESULT. Have the constructor create the object with one reference. 2009-03-30 16:42:12 +02:00
Huw Davies 25f1b058a8 ole32: Change the enum formatetc constructor to return HRESULT. 2009-03-30 16:42:08 +02:00
Huw Davies 1cc023c53a ole32: Don't hold a reference on the parent IDataObject. 2009-03-30 16:42:03 +02:00
Huw Davies 1213964330 ole32: Rename a variable. 2009-03-30 16:41:56 +02:00
Huw Davies d93688a721 ole32: Use a helper function to access the enum format implementation. 2009-03-30 16:41:51 +02:00
Henri Verbeet 5c8985002f bcrypt: Add a mostly empty bcrypt.dll.
This is the "Cryptography API: Next Generation" introduced by Vista.
2009-03-30 15:12:47 +02:00
Henri Verbeet ec0370a2d2 d3d10core: Create a vertex declaration from the input layout. 2009-03-30 15:11:46 +02:00
Henri Verbeet 7c3fa5d76d d3d10core: Add a DXBC parser.
We may want to push this into either wined3d or our future shader compiler
dll. It's not a whole lot of code though.
2009-03-30 15:11:38 +02:00
Henri Verbeet 1205c33c90 wined3d: Use the output slot when we have one. 2009-03-30 15:11:29 +02:00
Henri Verbeet ef2d704183 wined3d: Store the format_desc itself in struct wined3d_stream_info_element. 2009-03-30 15:11:24 +02:00
Ge van Geldorp 8968f5fa09 shdocvw/tests: Fix shdocvw:webbrowser test on some Windows boxes. 2009-03-30 15:10:52 +02:00
Ge van Geldorp 6d238a6f51 urlmon/tests: Fix ftp protocol test on WinXP and higher. 2009-03-30 15:10:44 +02:00
Roderick Colenbrander 5d08f3b705 wined3d: Check for the presence of wglGetExtensionsStringARB. 2009-03-30 15:10:00 +02:00
Jacek Caban 74e0072dfd urlmon: Get rid of ICOM_THIS_MULTI macro. 2009-03-30 15:09:53 +02:00
Jacek Caban 67d2fdc34a urlmon: Added IWinInetHttpInfo support to Binding object. 2009-03-30 15:09:39 +02:00
Jacek Caban c31e6537fb urlmon: Added IWinInetHttpInfo stub implementation to FtpProtocol object. 2009-03-30 15:09:30 +02:00
Jacek Caban b83fd688a2 urlmon: Added IInternetPriority handling tests. 2009-03-30 15:09:24 +02:00
Jacek Caban 3fa595e2a8 urlmon: Added IWinInetHttpInfo stub implementation to HttpProtocol object. 2009-03-30 15:09:17 +02:00
Detlef Riekenberg 36dbb69b66 msi/tests: Verify path names case insensitively. 2009-03-30 15:09:00 +02:00
Nikolay Sivov 4ebf2e4526 comctl32/tab: Fix highlighted tabs painting. 2009-03-30 15:08:20 +02:00
Nikolay Sivov 4b2ea6f4e2 comctl32/tab: Implemented TCS_MULTISELECT for mouse selection. 2009-03-30 15:08:11 +02:00
Nikolay Sivov e2b1604f4a comctl32/tab: Implemented TCM_DESELECTALL. 2009-03-30 15:07:56 +02:00
Nikolay Sivov 48e7428964 comctl32/tab: Remove direct access to items array. 2009-03-30 15:07:47 +02:00
Alexandre Julliard 17c09347c0 loader: Don't bother checking for pthread.h existence, we require it anyway. 2009-03-30 15:05:07 +02:00
Alexandre Julliard 5170b1b456 ntdll: Remove no longer used pthread_functions structure. 2009-03-30 15:04:51 +02:00
Francois Gouget 14d2c98834 wineesd.drv: Improve the accuracy of wodUpdatePlayedTotal().
We do so by querying the EsounD latency and estimating dwPlayedTotal based on the elapsed time since the last write.
This benefits the accuracy of the completion notifications and of wodGetPosition().
2009-03-30 14:24:32 +02:00
Francois Gouget 623586433a wineesd.drv: Simplify wodPlayer_WriteMaxFrags() and wodPlayer_FeedDSP().
We don't know how much free space we have in the EsounD buffer, so
just write until it is full. Sleep for a fraction of the time it will
take for the buffer to drain so we can refill it in time.
2009-03-30 14:24:08 +02:00
Francois Gouget 9e31d23e73 wineesd.drv: Let the EsounD server adjust the volume.
This simplifies our code and avoids data copying.
Also, now wodGetVolume() returns the real EsounD volume, even if it has been modified by an external mixer (e.g. esdctl).
2009-03-30 14:23:56 +02:00
Francois Gouget 45a5968358 wineesd.drv: Build a unique name so we can identify our stream.
Put the windows application name in it to make it user friendly as it is displayed by EsounD mixers.
2009-03-30 14:23:52 +02:00
Francois Gouget d1a7136b6f wineesd.drv: Rename esd_fd to stream_fd.
It is used to send/receive stream data, not to send RPCs to the sound server as esd_fd would imply.
This is a no-op.
2009-03-30 14:22:53 +02:00
Francois Gouget 91d42b37ef wineesd.drv: Move the wodDsXxx() functions around to avoid forward declarations. 2009-03-30 14:22:42 +02:00
Francois Gouget e7c5759af1 wineesd.drv: Remove some unused WINE_WAVExxx fields. 2009-03-30 14:22:30 +02:00
Francois Gouget 8e3a907727 wineesd.drv: Fix a trace and remove an unneeded cast. 2009-03-30 14:22:21 +02:00
Francois Gouget e71cfdc1de winealsa.drv: Remove a few unneeded initialisations and unused variables. 2009-03-30 14:22:14 +02:00
Christian Costa a513d401ac winemp3: Add missing sampling frequencies. 2009-03-30 14:22:11 +02:00