Stefan Dösinger
bc07ad0579
d3d8, d3d9: Don't rely on the wined3d buffer type.
2009-04-08 11:35:29 +02:00
Alexandre Julliard
55fc90220f
gdi32: Fix SetEnhMetaFileBits last error handling.
2009-04-07 20:55:59 +02:00
Alexandre Julliard
eceed527f6
gdi32: Completely implement RestoreDC in the driver, having it call restore_dc_state if necessary.
2009-04-07 20:55:56 +02:00
Alexandre Julliard
e2f888a617
gdi32: Allow the visible region to be zero since this is the case for metafiles.
2009-04-07 20:55:42 +02:00
Alexandre Julliard
bbb1626bf8
gdi32: Completely implement SaveDC in the driver, having it call save_dc_state if necessary.
2009-04-07 20:55:28 +02:00
Alexandre Julliard
d4c54be272
gdi32: Move the whole DC restoring functionality into set_dc_state, and rename it to restore_dc_state.
2009-04-07 20:28:08 +02:00
Alexandre Julliard
a23725785e
gdi32: Move the whole DC saving functionality into get_dc_state, and rename it to save_dc_state.
2009-04-07 20:18:58 +02:00
Alexandre Julliard
1380f0ac40
gdi32: Remove Get/SetDCState16 implementation, it should not be used by apps.
2009-04-07 20:13:45 +02:00
Alexandre Julliard
88e01969c2
gdi32: Move freeing of the DC path and regions into free_dc_ptr.
2009-04-07 20:13:08 +02:00
Nicolas Le Cam
4ea0b38265
shell32/tests: Fix wrong comment and update test accordingly.
2009-04-07 15:20:36 +02:00
Nicolas Le Cam
a295308c3f
shell32/tests: Fix a test on WinNT and some Win95.
2009-04-07 15:20:23 +02:00
Alexandre Julliard
1f1d157237
gdi32/tests: Add some metafile tests. Fix typos.
2009-04-07 15:20:13 +02:00
Ge van Geldorp
f4795d5997
urlmon/tests: Handle certificate verification error.
2009-04-07 14:53:58 +02:00
Rob Shearman
47ae95ccce
oleaut32: Fix the SAFEARRAY marshalling on 64-bit platforms.
...
The pointers should be written as NDR 4-byte fields instead of a
platform-dependent size.
2009-04-07 14:53:43 +02:00
Rob Shearman
ce747f3fac
rpcrt4: Compile in RPC over HTTP support even if HAVE_SOCKETPAIR is not defined.
2009-04-07 14:53:34 +02:00
Rob Shearman
b2a5bfdfc9
rpcrt4: Fix context handle test on Vista upwards.
...
Don't run tests that results in an ERROR_INVALID_HANDLE exception being raised.
Check for the context handle function pointers being non-NULL to
prevent exceptions being raised on platforms without these functions.
2009-04-07 14:22:35 +02:00
Henri Verbeet
a4c942f606
wined3d: Simplify shader_glsl_cmp() and shader_glsl_cnd().
2009-04-07 14:22:00 +02:00
Henri Verbeet
a374ba54e5
wined3d: Simplify shader_glsl_color_correction().
2009-04-07 14:21:54 +02:00
Henri Verbeet
0f92bbc6bc
wined3d: Store the register type in struct wined3d_shader_dst_param.
2009-04-07 14:21:49 +02:00
Henri Verbeet
f7f61a58f4
wined3d: Explicitly pass register type and index to shader_is_scalar().
2009-04-07 14:21:44 +02:00
Henri Verbeet
6f66c1ddbd
wined3d: Store the write mask in struct wined3d_shader_dst_param.
2009-04-07 14:21:37 +02:00
Ge van Geldorp
215fd0b813
msi/tests: Handle running the tests as a domain user.
2009-04-07 14:21:25 +02:00
Ge van Geldorp
c98513f9c8
secur32/tests: Add simple tests for GetUserNameExA/W().
2009-04-07 14:21:08 +02:00
Ge van Geldorp
dcb3e52e2d
secur32: Implement GetUserNameEx(NameSamCompatible).
2009-04-07 14:21:01 +02:00
Ken Thomases
905ab99815
dbghelp/stabs: For Mach-O, line offset is relative to original function address.
2009-04-07 11:21:40 +02:00
Jacek Caban
9988cbce0c
urlmon: Remove unneeded includes.
2009-04-07 11:21:31 +02:00
Jacek Caban
c41bcd89f3
urlmon: Added IInternetProtocolSink interface stub implementation to MimeFilter object.
2009-04-07 11:21:26 +02:00
Jacek Caban
11a6f3539f
urlmon: Added DeCompMimeFilter stub implementation.
2009-04-07 11:21:18 +02:00
Nikolay Sivov
5ebc7ba72d
comctl32/tab: Fix filled rectangle calculation for selected button on TCS_BUTTONS.
2009-04-07 11:21:13 +02:00
Nikolay Sivov
59ae274ac3
comctl32/tab: Fix hottracked button size.
2009-04-07 11:21:03 +02:00
Mikołaj Zalewski
666c0a57cc
psapi: Implement GetProcessImageNameW.
2009-04-07 11:20:58 +02:00
Alexandre Julliard
3a195139c2
msvcrt: Fix scanf to correctly parse pointers on 64-bit.
2009-04-06 20:58:10 +02:00
Alexandre Julliard
4b9bba163e
kernel32/tests: Use the appropriate processor architecture in generated manifests.
2009-04-06 20:57:47 +02:00
Marcus Meissner
a9c0c247ed
oleaut32: IPropertyBag_Read_Proxy return on unknown type (Coverity 892).
2009-04-06 15:35:57 +02:00
Paul Vriens
7c8d07bc10
urlmon/tests: Fix a test by using a better default registry key.
2009-04-06 15:30:27 +02:00
Stefano Guidoni
697a64595a
winemp3: Rounding block count up in mpeg3_streamsize.
2009-04-06 15:30:22 +02:00
Aric Stewart
cac6b96de4
gdi32/tests: Demonstrate issues in wine with SaveDC and RestoreDC in metafiles and enhmetafiles.
2009-04-06 13:52:14 +02:00
Alexandre Julliard
b4a962bbb2
ntdll/tests: Add a missing \n.
2009-04-06 13:52:08 +02:00
Alexandre Julliard
f702885e63
shlwapi/tests: Don't test uninitialized parts of the variant.
2009-04-06 13:52:01 +02:00
Henri Verbeet
f0de1622d0
wined3d: Store the destination modifiers in struct wined3d_shader_dst_param.
2009-04-06 12:57:52 +02:00
Henri Verbeet
decc1cec9d
wined3d: Pass a pointer to struct wined3d_shader_dst_param to shader_glsl_add_dst_param().
2009-04-06 12:57:44 +02:00
Henri Verbeet
72aff27e0e
wined3d: Pass a pointer to struct wined3d_shader_dst_param to shader_glsl_append_dst_ext().
2009-04-06 12:57:37 +02:00
Henri Verbeet
91305b1f49
wined3d: Use a more appropriate mask for masking out the write mask.
2009-04-06 12:57:32 +02:00
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