Commit Graph

43392 Commits

Author SHA1 Message Date
Alexandre Julliard 6f74b45a81 winegcc: Add support for building PE executables using Mingw. 2009-06-01 16:15:53 +02:00
Hans Leidekker 7d837b9f82 msi: The assembly file version field is optional. 2009-05-29 15:35:59 +02:00
Detlef Riekenberg 1fc61f0838 kernel32/nls: Add missing translations for dec.nls. 2009-05-29 15:34:21 +02:00
Detlef Riekenberg 587d6c4e95 kernel32/nls: Add missing translations for del.nls. 2009-05-29 15:34:18 +02:00
Detlef Riekenberg a59c55a568 kernel32/nls: Add missing translations for dea.nls. 2009-05-29 15:34:15 +02:00
Detlef Riekenberg a224ad076e kernel32/nls: Add missing translations for des.nls. 2009-05-29 15:34:12 +02:00
Detlef Riekenberg 508c95f343 kernel32/nls: Translation-fix for deu.nls. 2009-05-29 15:34:08 +02:00
Nikolay Sivov 3cd15e5db5 comctl32/listview: Don't offset subitem rectangles with item padding returned by LVM_GETSUBITEMRECT. 2009-05-29 13:24:42 +02:00
Nikolay Sivov 6101a48089 comctl32/listview: A bunch of LVM_GETSUBITEMRECT tests. 2009-05-29 13:24:36 +02:00
Nikolay Sivov dd24e5de8c comctl32/listview: Fix regression on LVIR_BOUNDS request - y offset still needed. 2009-05-29 13:24:30 +02:00
Nikolay Sivov 4b73240ae4 comctl32/listview: Use NMITEMACTIVATE instead of NMLISTVIEW for NM_*CLICK notifications. 2009-05-29 13:24:22 +02:00
Alexandre Julliard bb2d643f49 dbghelp: Try to avoid crashing on unrecognized attributes. 2009-05-29 12:30:28 +02:00
Stefan Dösinger 7168b62323 wined3d: Use NRM from GL_NV_fragment_program2 if available. 2009-05-29 11:27:51 +02:00
Stefan Dösinger d8e219be75 wined3d: Avoid the TMP_COLOR mov in some cases.
Many 2.0 and 3.0 shaders end with a "mov oC0, rx". If sRGB writing is enabled,
the ARB backend writes to a TMP_COLOR temporary, and at the end of the shader
writes the sRGB corrected color to result.color. If oC0 is not partially
rewritten after the mov, we can ignore the mov, not declare TMP_COLOR at all,
and just use the rx register as input for the sRGB correction code. This saves
a temporary and an instruction.
2009-05-29 11:27:44 +02:00
Stefan Dösinger da7176be2a wined3d: Use DP2A or X2D for dp2add if available. 2009-05-29 11:27:29 +02:00
Stefan Dösinger e2be741bc0 wined3d: Remove a MESA hack. 2009-05-29 11:27:23 +02:00
Stefan Dösinger 5f723bc44a wined3d: Allocate the proper size for the lconst map. 2009-05-29 11:27:14 +02:00
Gerald Pfeifer bb902d6810 user32/tests: Remove unused SAME macro. 2009-05-29 11:27:05 +02:00
Henri Verbeet 7433eb76b5 wined3d: Use the proper OUT swizzle in handle_ps3_input(). 2009-05-29 11:26:54 +02:00
Henri Verbeet 59268f7924 d3d9: Having a NULL rendertarget isn't a failure. 2009-05-29 11:26:50 +02:00
Henri Verbeet 5654544725 wined3d: Add device resources from resource_init().
This is consistent with removing them from resource_cleanup().
2009-05-29 11:26:44 +02:00
Henri Verbeet 5e0f541621 wined3d: Remove ResourceReleased() from the public device interface. 2009-05-29 11:26:38 +02:00
Henri Verbeet d37472f27b wined3d: Add missing ActivateContext calls to shader_destroy() implementations. 2009-05-29 11:26:32 +02:00
Aric Stewart 4ada967d16 msctf: Define compartment guids. 2009-05-29 11:26:26 +02:00
Gerald Pfeifer 96929d151e gphoto2.ds: Only provide GPHOTO2_StrDup() when we have HAVE_GPHOTO2. 2009-05-29 11:26:17 +02:00
Paul Vriens 31bb9219d6 oleaut32/tests: Spelling fixes. 2009-05-29 11:26:08 +02:00
Alexandre Julliard 5c227a9d8a wininet: Add a critical section to protect the read-ahead buffer. 2009-05-28 23:01:28 +02:00
Alexandre Julliard 47d927f704 rpcrt4/tests: Disable some tests that crash on Windows. 2009-05-28 22:27:51 +02:00
Alexandre Julliard 05f57146c8 rpcrt4/tests: Remove tests for v1 memory list, the layout is wrong and we don't care about it anyway. 2009-05-28 20:30:05 +02:00
Alexandre Julliard 03b6dcb4a1 rpcrt4/tests: Mark some stub message tests broken for older Windows versions.
Group the common tests in a function shared between client and server.
2009-05-28 20:29:51 +02:00
Hans Leidekker 22a277cc2e msi: Fix some memory leaks. 2009-05-28 15:29:09 +02:00
Hans Leidekker a4b76ceee7 msi: Consistently use the parser allocator when parsing a query. 2009-05-28 15:29:02 +02:00
Hans Leidekker 5922de46de msi: Don't duplicate the table name in CREATE_CreateView.
The table name is tracked in the list attached to the parent query object,
which is destroyed after the view object.

This plugs a leak since the duplicated table name was never freed.
2009-05-28 15:28:53 +02:00
Hans Leidekker 2018de00e1 msi: Constify some parameters. 2009-05-28 15:28:45 +02:00
Hans Leidekker 7797bc0714 kernel32: Improve the GetSystemPowerStatus stub. 2009-05-28 15:28:24 +02:00
Alexandre Julliard 75ba56f066 msvfw32: Fix a pointer conversion warning on 64-bit. 2009-05-28 15:25:09 +02:00
Alexandre Julliard 1fc2cebf5e msacm32: Fix a pointer conversion warning on 64-bit. 2009-05-28 15:25:04 +02:00
Alexandre Julliard 9008daed92 sane.ds: Fix a pointer conversion warning on 64-bit. 2009-05-28 15:24:58 +02:00
Alexandre Julliard 49159aebf1 gphoto2.ds: Fix a pointer conversion warning on 64-bit. 2009-05-28 15:24:54 +02:00
Alexandre Julliard 83cb24f9b4 user32/tests: Fix some pointer conversion warnings on 64-bit. 2009-05-28 15:24:31 +02:00
Alexandre Julliard fb640601ea ole32: Fix some pointer conversion warnings on 64-bit. 2009-05-28 15:24:25 +02:00
Alexandre Julliard 448d48c3f4 comctl32/tests: Replace a listview macro by an explicit SendMessage. 2009-05-28 15:24:04 +02:00
Alexandre Julliard 926681fead opengl32: Generate the correct trace arguments for UINT64 types. 2009-05-28 15:23:10 +02:00
Louis Lenders 06936f04c0 wined3d: Fix CheckDeviceMultiSampleType when queried with D3DMULTISAMPLE_NONE. 2009-05-28 15:02:08 +02:00
André Hentschel cc688148ac winex11: Fix Ctrl+Tab translation. 2009-05-28 15:02:01 +02:00
Peter Hedlund 7d47feaebe kernel32: Mask out obsolete flags in GlobalAlloc. 2009-05-28 14:11:32 +02:00
Stefan Dösinger e70c80add9 wined3d: Emulate if(bool) in ARB shaders. 2009-05-28 12:46:01 +02:00
Stefan Dösinger e492dd858e wined3d: Add a function around the handler table.
This reduces the number of methods in the shader backend(the instr
modifiers can be handled in that wrapper) and it will help flow
control emulation in the ARB backend.
2009-05-28 12:45:45 +02:00
Stefan Dösinger aad92c0780 wined3d: Manage vs_compile_args in the backends. 2009-05-28 12:45:32 +02:00
Stefan Dösinger 814dd42f25 wined3d: Manage ps_compiled_shader in the backends. 2009-05-28 12:45:21 +02:00
Stefan Dösinger 8763f6eac5 wined3d: Make find_gl_vshader backend specific. 2009-05-28 12:45:10 +02:00
Stefan Dösinger 732a9a15d5 wined3d: Remove the forward declaration added in the last patch. 2009-05-28 12:44:59 +02:00
Stefan Dösinger d0d681c81e wined3d: Make find_gl_pshader backend private. 2009-05-28 12:44:43 +02:00
Stefan Dösinger 5865d9c01b wined3d: Store the compile args in the compile context, not the shader. 2009-05-28 12:44:22 +02:00
Austin English 5f2a3d8467 user32: Downgrade a FIXME to a WARN. 2009-05-28 12:43:29 +02:00
Henri Verbeet 13a05caa97 wined3d: Remove the "declaration" parameter to IWineD3DDeviceImpl_CreateVertexShader().
Once upon a time this was used for creating fake vertex shader
attribute semantics for d3d8 shaders. We don't need this anymore since
device_stream_info_from_declaration() will use the vertex
declaration's output slot to load the data, if present. That also
avoids the potentially expensive matching of attribute semantics
between vertex shader and declaration for d3d8.
2009-05-28 12:42:18 +02:00
Henri Verbeet 71382b5cbb d3d10core: Don't complain as much about setting a NULL geometry shader.
Setting a NULL geometry shader doesn't hurt much, and it reduces console spam
a bit.
2009-05-28 12:42:18 +02:00
Henri Verbeet 057513cf66 d3d10core: Implement ID3D10Device::VSSetShader(). 2009-05-28 12:42:18 +02:00
Henri Verbeet fcf7844653 wined3d: Match the d3d10 name for WINED3DDECLUSAGE_POSITION.
I.e., make sure that if a SM4 shader uses SV_POSITION it ends up as position
data.
2009-05-28 12:42:18 +02:00
Henri Verbeet 3925cd5f15 wined3d: Use the output signature to setup SM4 vertex shader output semantics. 2009-05-28 12:42:18 +02:00
Dmitry Timoshkov 2fdbeefc96 winex11.drv: Avoid a crash if not in a desktop mode. 2009-05-28 12:42:18 +02:00
Andrew Talbot bfe3c6430b comctl32: Constify some variables. 2009-05-28 12:42:18 +02:00
Nikolay Sivov 7d32cfef27 comctl32/tooltips: Fix callback tip text retrieval. 2009-05-28 12:42:18 +02:00
Nikolay Sivov 7fd17023be comctl32/tooltips: Move parameter cast to WinProc. 2009-05-28 12:42:18 +02:00
Aric Stewart a61885d64d advapi: Correct buffer length in LookupAccountNameW. 2009-05-28 12:42:17 +02:00
Vincent Povirk 8219db2d6d gdiplus: Stub GdipCreateHICONFromBitmap. 2009-05-28 12:42:17 +02:00
Piotr Caban f77489acd5 jscript: Added implementation of Math_pow with less then 2 arguments. 2009-05-28 12:42:17 +02:00
Piotr Caban 3327d17109 jscript: Fixed memory leak. 2009-05-28 12:42:17 +02:00
Paul Vriens db355b4903 msi/tests: Remove unused variable. 2009-05-28 12:42:17 +02:00
Alexandre Julliard aded9e4091 rpcrt4: Fix compiler warnings on 64-bit. 2009-05-28 11:56:30 +02:00
Alexandre Julliard feeaf97c81 rpcrt4: Implement NdrPointerMemorySize and enable the corresponding tests. 2009-05-28 11:52:36 +02:00
Alexandre Julliard 49f1433cdc rpcrt4/tests: Enable some tests that no longer crash Wine. 2009-05-28 11:41:12 +02:00
Alexandre Julliard bb18c5ab07 rpcrt4/tests: Comment out a couple of tests that crash on older Windows versions. 2009-05-28 11:38:41 +02:00
Alexandre Julliard 7571c1fd53 rpcrt4: Fix the PSFactoryBuffer proxy refcounting, with tests. 2009-05-27 21:25:10 +02:00
Alexandre Julliard 36965f5726 rpcrt4/tests: Fix a number of 64-bit issues in the ndr_marshall test. 2009-05-27 21:18:35 +02:00
Alexandre Julliard 54ac26b7af ntdll: Try any address in map_image no matter what the failure was for a fixed address. 2009-05-27 21:17:09 +02:00
Paul Vriens 79fcaa7835 mshtml: Match IE8 implementation. 2009-05-27 15:40:36 +02:00
Paul Vriens 45c00da496 msi/tests: Prevent crash when ConvertSidToStringSidA is not available. 2009-05-27 15:40:30 +02:00
Nikolay Sivov 8921b936a8 comctl32/ipaddress: Skip test on Win95 with common controls 4.70. 2009-05-27 15:40:25 +02:00
Michael Stefaniuc 109f83614f msvcrt: Avoid using size_t when not neededed. 2009-05-27 15:40:18 +02:00
Michael Stefaniuc 5f0fb8350f msvcrt: Replace size_t with MSVCRT_size_t. 2009-05-27 15:39:57 +02:00
Michael Stefaniuc 37a62a643e msvcrtd: Use size_t instead of unsigned long. 2009-05-27 15:39:55 +02:00
Alexandre Julliard 23e70e00ed rpcrt4: Internal functions don't need to be WINAPI. 2009-05-27 13:04:33 +02:00
Detlef Riekenberg 6c827fa8c1 mlang/tests: Make the tests more silent. 2009-05-27 12:56:00 +02:00
Detlef Riekenberg 4e9f7899a4 mlang: Use a case independent compare for the RFC1766 name. 2009-05-27 12:55:53 +02:00
Detlef Riekenberg 98435dc7ed mlang/tests: Rfc1766ToLcid must not touch the LCID output on failure. 2009-05-27 12:55:43 +02:00
Detlef Riekenberg f4def21f57 mlang/tests: Return correct result in Rfc1766ToLcidA on failure. 2009-05-27 12:55:16 +02:00
Detlef Riekenberg 7bc167ac15 mlang/tests: Initial tests for Rfc1766ToLcid. 2009-05-27 12:54:58 +02:00
Detlef Riekenberg 7317a96616 mlang/tests: Use a table for testing GetLcidFromRfc1766. 2009-05-27 12:53:01 +02:00
Hib Eris ff5b29e5eb msi: Add support for merging tables that are not in target database. 2009-05-27 12:51:51 +02:00
Hib Eris 97200b0b31 msi/tests: Add test for merging tables that are not in target database. 2009-05-27 12:51:36 +02:00
Hib Eris 987d17dc6f msi: Fix merging tables with string primary keys. 2009-05-27 12:51:31 +02:00
Hib Eris a807e86dd7 msi/tests: Add test for merging tables with string primary keys. 2009-05-27 12:51:22 +02:00
Hib Eris 086fcfc1f4 msi: Initialize a variable. 2009-05-27 12:51:15 +02:00
Hib Eris cad837c999 msi: Add support for importing binary OBJECTS. 2009-05-27 12:51:10 +02:00
Alexandre Julliard 9ccc9bd6a9 kernel32/tests: Run file tests in the temp directory if we don't have access to the drive root. 2009-05-27 12:47:33 +02:00
Stefan Dösinger 0629585c24 wined3d: Work around an ARBFP vs GLSL bug in Mac OS. 2009-05-27 11:57:54 +02:00
Stefan Dösinger 6492622350 wined3d: sincos for vertex shaders.
SCS is unfortunately a fragment program only instruction. If we have the NV
extensions we can use SIN and COS. Otherwise we have to approximate sine and
cosine with a taylor series. Luckily we're provided with the necessary
constants by the application.
2009-05-27 11:56:53 +02:00
Stefan Dösinger 2f3faf4526 wined3d: Put some ARB declarations in the right place.
TMP_POS is only used in vertex shaders, declare it in the vshader
specific code. The sRGB constants are only used by pixel shaders, so
move them to the ps specific code, and avoid reading the stateblock.
2009-05-27 11:56:29 +02:00
Stefan Dösinger f484cbbf91 wined3d: Get rid of Tx hardcoding in texbem. 2009-05-27 11:56:07 +02:00
Stefan Dösinger da1b8d0c8e wined3d: Replace a few hardcoded Tx registers with proper name getters. 2009-05-27 11:56:01 +02:00
Stefan Dösinger 7fc4279cb8 wined3d: Implement DSX in ARB.
DSY is not that easy because we have to deal with the inverted coordinate
system in onscreen(!) rendering - see GLSL dsy.
2009-05-27 11:55:52 +02:00
Louis Lenders f9b9f73991 d3d9/tests: Add simple test to show that QualityLevels is not zero, when we call CheckDeviceMultiSampleType with D3DMULTISAMPLE_NONE. 2009-05-27 11:55:04 +02:00
Piotr Caban 063df731ac jscript: Fix integer/double parsing. 2009-05-27 11:53:44 +02:00
Piotr Caban f2c1095a80 jscript: Added Math_tan implementation. 2009-05-27 11:34:36 +02:00
Piotr Caban 8c609c9f50 jscript: Added implementation of Math_sqrt. 2009-05-27 11:34:31 +02:00
Piotr Caban a67672f9ee jscript: Added Math_sin implementation. 2009-05-27 11:34:25 +02:00
Piotr Caban f57f3aa2f4 jscript: Added implementation of Math_log. 2009-05-27 11:34:21 +02:00
Piotr Caban 6231969476 jscript: Added implementation of Math_exp. 2009-05-27 11:34:11 +02:00
Henri Verbeet 2ee0d47a49 wined3d: Use strings for shader input/output semantics. 2009-05-27 11:12:12 +02:00
Henri Verbeet 19cb4594e3 wined3d: Use a separate structure for vertex shader attributes.
In D3D10 shaders input/output semantics are strings rather than predefined
types. Unfortunately, the code in vshader_get_input() can be performance
critical, depending on application behaviour. Since vshader_get_input() is
only relevant for d3d9 shaders anyway, just store the usage and usage_idx for
these shaders.
2009-05-27 11:12:07 +02:00
Henri Verbeet e6efb797c3 wined3d: Make "packed_output" a bitmap. 2009-05-27 11:11:57 +02:00
Henri Verbeet 10fadadc54 wined3d: Use the "input_registers" bitmap for vertex shader attributes as well. 2009-05-27 11:11:53 +02:00
Henri Verbeet 664b17b9ee wined3d: Make "packed_input" a bitmap. 2009-05-27 11:11:48 +02:00
Chris Robinson 7ba802ac29 quartz: Release enumpins when done with it. 2009-05-27 11:11:42 +02:00
Nikolay Sivov 25dac198c3 user32: Add a stub for DisableProcessWindowsGhosting. 2009-05-27 11:11:36 +02:00
Nikolay Sivov 4d2883c189 comctl32/listview: Move item position calculation out of subitem loop. 2009-05-27 11:11:21 +02:00
Nikolay Sivov 1a84ca42b2 comctl32/listview: LVM_GETITEMRECT: don't offset to item position on LVS_REPORT querying LVIR_BOUNDS. 2009-05-27 11:11:13 +02:00
Nikolay Sivov 79ed5e0fac comctl32/listview: Fix some LVM_GETVIEWRECT test failures on different platforms. 2009-05-27 11:11:05 +02:00
Nikolay Sivov c5c5bcca90 comctl32/listview: Some LVM_GETITEMRECT tests. 2009-05-27 11:11:00 +02:00
Francois Gouget fa7f46e85a winex11: Also define X11DRV_OpenGL_Cleanup() when OpenGL is not supported. 2009-05-27 11:10:53 +02:00
Aric Stewart 374d41d5b0 msctf: Framework for ITfInsertAtSelection in ITfContext. 2009-05-27 11:10:45 +02:00
Aric Stewart acbefe5b9e msctf: Implement ITfRange::Collapse. 2009-05-27 11:10:38 +02:00
Vincent Povirk 5c41156ab0 winex11: Set the fullscreen state of virtual desktops based on size. 2009-05-27 11:10:34 +02:00
Paul Vriens 7750e36be5 kernel32/tests: Fix some test failures on Vista. 2009-05-27 11:10:25 +02:00
Tony Wasserka bf353f180d d3dx9: Add stubs for the D3DXGetImageInfo function group. 2009-05-26 15:37:35 +02:00
Guy Albertelli c1f161a678 kernel32: Fix GetVolumeNameForVolumeMountPointW to match Mountmgr. 2009-05-26 15:36:53 +02:00
Hib Eris e7ebbbe62e msi/tests: Add test for importing binary OBJECTS. 2009-05-26 15:27:27 +02:00
Hib Eris d9568722aa msi: Support transforms with binary OBJECTS. 2009-05-26 15:18:09 +02:00
Hib Eris f6dd90de5e msi: Add support for binary OBJECTS. 2009-05-26 15:18:02 +02:00
Hib Eris 8356484c9f msi/tests: Add tests for binary OBJECTS. 2009-05-26 15:17:52 +02:00
André Hentschel b7fbe1d527 comdlg32: Improve the German Find and FindReplace dialogs. 2009-05-26 14:27:27 +02:00
Alexandre Julliard 2cd36b6b60 kernel32: Remove the file parameter check again in LoadLibraryExW since some broken apps pass garbage here. 2009-05-26 14:26:42 +02:00
Paul Vriens c7f01479c3 mshtml/tests: Fix some test failures on IE8. 2009-05-26 14:25:12 +02:00
Andrew Talbot 9ca199a87d cabinet: Constify a variable. 2009-05-26 14:25:12 +02:00
Francois Gouget c642481305 winex11.drv: Replace an strdup() with HeapAlloc() in the OpenGL code.
Free the corresponding memory when the library is unloaded.
2009-05-26 14:25:12 +02:00
Francois Gouget 19020b9ef5 riched20: Make some functions static. 2009-05-26 14:25:12 +02:00
Francois Gouget e5f5bd1153 riched20: RTFPeekToken(), RTFExpandStyle() and RTFHexToChar() are unused so remove them. 2009-05-26 14:25:06 +02:00
Francois Gouget 1914d256a6 riched20: RTF{G,S}et{In,Out}putName() are unused so remove them as well as the corresponding _RTF_Info fields. 2009-05-26 14:10:46 +02:00
Francois Gouget 3d6c53b972 riched20: Make ME_GetCursorCoordinates() static and remove ME_MustBeWrapped() as it is unused. 2009-05-26 14:10:32 +02:00
Francois Gouget 623dad0963 msi/tests: Tweak the get_user_sid() functions to simplify their use.
Now the function deals with all errors and win_skips() itself.
2009-05-26 14:10:27 +02:00
Francois Gouget 97dea95e41 oleaut32: Tweak a comment to make it more explicit. 2009-05-26 14:09:58 +02:00
Francois Gouget 53f3f441fb rsaenh: Make the mpi functions static, remove mp_signed_bin_size() as it is unused. 2009-05-26 14:09:51 +02:00
Francois Gouget 185b4bf605 dplayx: DPLAYX_SetLocalSession() and DPLAYX_CopyIntoSessionDesc2A() are unused so remove them. 2009-05-26 14:09:31 +02:00
Henri Verbeet 1ccfab171f wined3d: Use SM3 shader limits for SM4.
This isn't completely right, since as far as I'm aware SM4 doesn't have shader
limits in the same sense as previous shader models, but this should do for now.
2009-05-26 13:50:08 +02:00
Henri Verbeet fcee1b709c d3d10core: Implement ID3D10Device::CreateVertexShader(). 2009-05-26 13:50:01 +02:00
Henri Verbeet f0e303b0f2 wined3d: Add the output signature to IWineD3DDevice_CreateVertexShader(). 2009-05-26 13:49:55 +02:00
Henri Verbeet 2153b4d998 wined3d: Split the info log into separate lines. 2009-05-26 13:49:50 +02:00
Henri Verbeet 1d7845dd33 wined3d: Pass a proper format desc to resource_init() in IWineD3DDeviceImpl_CreateBuffer(). 2009-05-26 13:49:37 +02:00
Nikolay Sivov 2a32ce744c comctl32/listview: Improve item position calculating in LVS_REPORT. 2009-05-26 13:49:31 +02:00