Commit Graph

51112 Commits

Author SHA1 Message Date
Eric Pouech c9bac2efd2 dbghelp: Extend the image (ELF/PE) scheme to get the RVA out of a section. 2010-03-19 12:07:45 +01:00
Eric Pouech a2e65f1311 dbghelp: Keep the file map around for every PE module, so that we can access image whenever we like to. 2010-03-19 12:07:27 +01:00
Eric Pouech cbff4f063f dbghelp: Create the notion of image (PE, ELF modules) to uniformize some handlings. 2010-03-19 12:05:59 +01:00
Eric Pouech fb169502a5 dbghelp: Extend the ELF image management to PE modules so we get a rather uniform interface to image manipulation. 2010-03-19 12:04:19 +01:00
Eric Pouech 770f0d834f dbghelp: Make the ELF mapping code easier to use. 2010-03-19 12:03:57 +01:00
Damjan Jovanovic 6e4873691c usbd.sys: Add USB descriptor parsing functions. 2010-03-19 12:00:40 +01:00
Alexandre Julliard be748e0d71 gdiplus/tests: Create a window for graphics tests instead of painting over the desktop. 2010-03-19 11:59:51 +01:00
Alexandre Julliard c83ea46e1a user32: Return fake global information in GetCursorInfo instead of thread-local values. 2010-03-19 11:59:51 +01:00
Alexandre Julliard 0be0211682 user32/tests: Add some tests for GetCursorInfo. 2010-03-19 11:59:33 +01:00
Alexandre Julliard d2ec02e06f user32/tests: Add some tests for ShowCursor. 2010-03-18 19:26:36 +01:00
Nikolay Sivov 93b3ba76f6 shlwapi: Fix StrCpyNW to deal with null inputs better, and don't use lstrcpynW. 2010-03-18 17:06:42 +01:00
Aric Stewart e669ffe6e5 msctf: Add stub for ITfDisplayAttributeMgr. 2010-03-18 17:03:51 +01:00
Aric Stewart 4430ab435d winemp3.acm: Support mp3 decoding on Mac OS/X Leopard systems. 2010-03-18 15:55:30 +01:00
Damjan Jovanovic c177e938ae usbd.sys: Add stub usbd.sys. 2010-03-18 14:02:57 +01:00
Damjan Jovanovic 555d8fe053 ntoskrnl.exe: Implement IoIsWdmVersionAvailable. 2010-03-18 14:00:22 +01:00
Julian Rüger c1660c9a2f windowscodecs: Small spelling fixes. 2010-03-18 13:46:38 +01:00
Maarten Lankhorst b0337ada1a winmm: Allow SND_ALIAS|SND_FILENAME in PlaySound. 2010-03-18 13:46:38 +01:00
Alexandre Julliard 5a18e2a925 user32/tests: Add some tests demonstrating that SetCursor uses the thread input data. 2010-03-18 13:46:38 +01:00
Alexandre Julliard c7bed19c0b kernel32: Don't try to open builtin exe files during CreateProcess, only check the path syntax. 2010-03-18 13:46:22 +01:00
Jacek Caban e7615e004a mshtml: Added IHTMLImgElement::onload tests. 2010-03-18 11:18:11 +01:00
Jacek Caban 21f0c64de4 mshtml: Added IHTMLImgElement::onload property implementation. 2010-03-18 11:18:06 +01:00
Jacek Caban df0a35e3d3 mshtml: Added support for load event on all nodes. 2010-03-18 11:18:01 +01:00
Jacek Caban da01d8acaf mshtml: Moved removing event target to separated function. 2010-03-18 11:17:55 +01:00
Jacek Caban 8629433f5f mshtml: Fire readystatechange event on document nodes. 2010-03-18 11:17:51 +01:00
Jacek Caban 2b94ad5287 mshtml: Make sure that readState is READYSTATE_LOADING in read_stream_data. 2010-03-18 11:17:45 +01:00
Nikolay Sivov d16bf5f9ba shlwapi: Add a forward to DelayLoadFailureHook. 2010-03-18 11:17:18 +01:00
Nikolay Sivov dd50af9464 urlmon: Add CoInternetIsFeatureEnabled stub. 2010-03-18 11:16:55 +01:00
Nikolay Sivov 1ad867467e urlmon: Add stub IUriBuilder interface. 2010-03-18 11:16:50 +01:00
Piotr Caban 926d3a88e7 oleaut32: Improve ITypeInfo2 GetRefTypeOfImplType implementation. 2010-03-18 11:16:43 +01:00
Piotr Caban 15956152e5 oleaut32: Improve ICreateTypeInfo2 AddImplType implementation. 2010-03-18 11:14:36 +01:00
Piotr Caban d2319ae841 oleaut32: Fix ITypeInfo GetImplTypeFlags for dispinterfaces. 2010-03-18 11:14:27 +01:00
Piotr Caban cca98c460d oleaut32/tests: Make tests working on older systems, prevent crash on some wine boxes. 2010-03-18 11:14:23 +01:00
Piotr Caban 45306f8671 oleaut32: Improve ITypeInfo2 GetTypeAttr implementation. 2010-03-18 11:14:17 +01:00
Henri Verbeet 7c930589bc wined3d: Avoid some common invalid context accesses.
Unfortunately there are plenty of other places left. Perhaps we should
consider creating our own window when the context becomes invalid and making
the context current on that instead.
2010-03-18 10:25:09 +01:00
Henri Verbeet 135f364110 wined3d: Kill VTRACE. 2010-03-18 10:25:02 +01:00
Henri Verbeet f2bcd32bff wined3d: Replace some VTRACEs with proper TRACEs. 2010-03-18 10:24:51 +01:00
Henri Verbeet e5673ddbc3 wined3d: Add a quirk to rebind FBOs when one of their attached textures is updated.
Updating a texture while it is attached to the currently bound FBO is
something GL implementations tend to get wrong. NVIDIA fails at
glTexSubImage2D(), fglrx and Mesa with glTexImage2D(). I'm afraid to try what
happens on OS X. Fortunately we never use glTexImage2D() while a texture is
attached to an FBO, so we only need to care about glTexSubImage2D().
2010-03-18 10:24:41 +01:00
Henri Verbeet bd4fb33a52 wined3d: Unify GLINFO_LOCATION in surface.c. 2010-03-18 10:24:33 +01:00
Henri Verbeet 914c8cb8ea ddraw: Acquire/release the focus window from the correct location. 2010-03-18 10:24:15 +01:00
Henri Verbeet 0838d0ab64 wined3d: Make the focus window also the foreground window. 2010-03-18 10:24:05 +01:00
Henri Verbeet a62e5a4678 d3d9/tests: Extend the window proc / focus window tests. 2010-03-18 10:23:58 +01:00
Henri Verbeet 7aa5e90914 d3d8/tests: Extend the window proc / focus window tests. 2010-03-18 10:23:52 +01:00
Henri Verbeet d9381b97aa user32/tests: Add a test for foreground windows on a different thread.
What happens is that we get the WM_WINE_SETACTIVEWINDOW message sent by the
other thread after we already changed the foreground window back to our own
window.
2010-03-18 10:23:46 +01:00
Andrew Eikum 5f8776c8d0 mshtml: Fix return value interpretation when navigating. 2010-03-18 10:23:36 +01:00
Vincent Povirk d719120fc8 windowscodecs: Make component enumerators thread-safe.
This is needed so that ImagingFactory can have a threading model of Both.
2010-03-18 10:23:14 +01:00
Vincent Povirk e4a50e1615 winex11.drv: Use CurrentTime to focus windows if we have no timestamp. 2010-03-18 10:22:59 +01:00
Vincent Povirk 1eff311e8d winex11.drv: ReadSelectionData should fail if the import function fails. 2010-03-18 10:22:55 +01:00
Nikolay Sivov 0498534b6b ole32: Remove useless parameter check. 2010-03-17 16:35:47 +01:00
Christian Costa c090624fbc d3dx9_36: Add stub for D3DXCreateTextureFromFileInMemoryEx. 2010-03-17 16:12:23 +01:00
Stefan Dösinger 48d6167c29 d3d9: Remove old debug messages from the tests. 2010-03-17 16:10:15 +01:00
Stefan Dösinger f5b5f7176a d3d9: Windows 7 rejects invalid rectangles. 2010-03-17 16:09:55 +01:00
Stefan Dösinger 25c6dbfc2a d3d9: Remove the double unlock test. 2010-03-17 16:09:16 +01:00
Stefan Dösinger b5ddd6f0fc ddraw: Use a D24X8 depth buffer. 2010-03-17 16:08:48 +01:00
Jörg Höhle ce96eb7907 msvfw32: MCI Step is like Seek. 2010-03-17 15:56:20 +01:00
Paul Vriens 5f6962c7fc shlwapi/tests: Fix some test failures on Vista+. 2010-03-17 13:38:51 +01:00
Jacek Caban 7723784596 shdocvw: Fixed tests on some Windows. 2010-03-17 13:38:45 +01:00
Maarten Lankhorst 8c88b5115a midimap: Defer initialisation. 2010-03-17 13:38:12 +01:00
Stefan Dösinger d790530df3 wined3d: Make resources 16 byte aligned. 2010-03-17 13:36:39 +01:00
Stefan Dösinger b621fac215 wined3d: Merge two if conditions in buffer.c. 2010-03-17 13:36:17 +01:00
Maciej Borsz 2ca477c831 winhttp: Fix invalid behaviour of WinHttpCrackUrl. 2010-03-17 10:59:59 +01:00
Sandijs Ribaks e385748258 wined3d: Add surface conversion function from WINED3DFMT_YUY2 to WINED3DFMT_B8G8R8X8_UNORM. 2010-03-17 10:59:18 +01:00
Andrew Eikum 94edcc1d88 hlink: Implement IHlinkBrowseContext::GetBrowseWindowInfo. 2010-03-17 10:59:08 +01:00
Andrew Eikum 3e041586a6 hlink: Split target at hash in HlinkCreateFromString. 2010-03-17 10:59:02 +01:00
Andrew Eikum a8183a6317 hlink: Set hlink's location to NULL if the empty string is given. 2010-03-17 10:58:56 +01:00
Michael Stefaniuc 0346eac906 oleaut32: Plug some memleaks on error paths (Smatch). 2010-03-17 10:08:17 +01:00
Michael Stefaniuc c71b82f3c1 oleaut32: Remove superfluous NULL check before HeapFree (Smatch). 2010-03-17 10:08:13 +01:00
Vincent Povirk 5893f3227c oleaut32: Always use DISPID_PROPERTYPUT to fill in the last argument. 2010-03-17 10:07:57 +01:00
Paul Vriens 33b45cf98d shlwapi/tests: Fix some test failures on XP/Vista. 2010-03-17 10:07:27 +01:00
Paul Vriens 3a5c925250 rsaenh/tests: Fix some test failures on XP (pre SP3). 2010-03-17 10:07:22 +01:00
Henri Verbeet 89fef0e669 ddraw: Fix IDirectDraw4Impl_GetSurfaceFromDC().
Perhaps interesting to note is that this returns an IDirectDrawSurface instead
of an IDirectDrawSurface4.
2010-03-17 10:06:29 +01:00
Henri Verbeet 4e48ae2629 ddraw: Implement IDirectDrawImpl_GetSurfaceFromDC().
This is a pretty naive implementation, should that become a performance
problem it's easy enough to speed up with a search tree of some kind.
2010-03-17 10:06:25 +01:00
Henri Verbeet 7b52c2fbed wined3d: Cleanup IWineD3DDeviceImpl_SetFrontBackBuffers(). 2010-03-17 10:06:21 +01:00
Henri Verbeet e9dbd5bff8 wined3d: Don't change the draw buffer in IWineD3DDeviceImpl_SetFrontBackBuffers().
This should be handled by the context's draw buffer management.
2010-03-17 10:06:18 +01:00
Henri Verbeet 509b038cf5 wined3d: Simplify the IWineD3DDeviceImpl_ClearSurface() surface loading code. 2010-03-17 10:06:15 +01:00
Henri Verbeet 2b86950c3b wined3d: Simplify context_apply_attachment_filter_states() flow a bit. 2010-03-17 10:06:12 +01:00
Henri Verbeet ec10c1ed8d wined3d: Add missing checkGLcall's to buffer_Map(). 2010-03-17 10:06:09 +01:00
Henri Verbeet 570f865bad wined3d: Don't use framebuffer blit for backbuffer formats with fixups in swapchain_blit(). 2010-03-17 10:06:06 +01:00
Henri Verbeet 60e98cc3ad wined3d: Don't use filtering on textures that need complex fixups in swapchain_blit().
For example, interpolating palette indices doesn't have the desired result.
Should we really want filtering for these cases we could implement it inside
the relevant shaders, after the fixup, but I doubt it's worth the effort.
2010-03-17 10:06:03 +01:00
Henri Verbeet c48adfe201 wined3d: Use "gl_filter" in the non-FBO path of swapchain_blit() as well. 2010-03-17 10:05:59 +01:00
Ilya Basin 4b5f6ada17 shell32/tests: Add tests for the parser of SHELLEXECUTEINFO.lpFile. 2010-03-16 17:36:18 +01:00
Jörg Höhle a8c252a67d mciseq: MCI Set Port allows to select the MIDI device. 2010-03-16 17:20:47 +01:00
Jörg Höhle 33d1e593aa mciavi: Stubs should return a success code.
Partly reverts my commit 3e5c704e7a.
2010-03-16 17:20:34 +01:00
David Hedberg bbe73787fc shell32: Initial support for the properties command in the IContextMenu for shellview. 2010-03-16 17:20:02 +01:00
David Hedberg 50c7cf5111 shell32: SHCreatePropSheetExtArrayEx should check if the key itself contains the clsid of the shell extension. 2010-03-16 17:19:25 +01:00
Nikolay Sivov 825a635692 ole32: Turn FIXME to TRACE for CoGetTreatAsClass. 2010-03-16 17:04:15 +01:00
Paul Vriens 0513eb506e gdiplus/tests: Fix a test failure on Win98/WinMe. 2010-03-16 17:03:43 +01:00
Paul Vriens b120836bd2 kernel32/tests: Run tests again on Win95. 2010-03-16 17:03:23 +01:00
Paul Vriens e014154fb7 mshtml/tests: Fix some test failures on Win9x/WinMe by using a A-function. 2010-03-16 17:03:20 +01:00
Stefan Dösinger cc6d17ba7c wined3d: Check the alignment of mapped buffer pointers.
Windows returns 32 byte aligned pointers when locking vertex and index
buffers, and some applications(Half Life 2, Alpha Prime, possibly others)
rely on this. Check the alignment and fall back to double buffered
buffers with HeapAlloced and aligned pointers if the alignment doesn't
fit.
2010-03-16 17:03:13 +01:00
Stefan Dösinger 6c53871d30 wined3d: Implement unfenced updates of double buffered buffers. 2010-03-16 17:02:50 +01:00
Stefan Dösinger 1691a6d7d0 wined3d: Use glMapBuffer for 1:1 uploads in PreLoad.
This is needed to take advantage of asynchronous uploads with double buffered buffers
2010-03-16 17:02:43 +01:00
Stefan Dösinger 04752991b1 wined3d: Don't DISCARD or NOOVERWRITE non-dynamic buffers.
Shaiya locks a non-dynamic buffer with the DISCARD flag and expects
the contents to be retained. The SDK says DISCARD requires dynamic
resources, and Windows 7 returns an error in this situation, crashing
Shaiya. This patch sticks to the Windows XP behavior and allows the
lock, but ignores the DISCARD flag to retain the buffer contents.
2010-03-16 17:02:34 +01:00
Stefan Dösinger eb355ece4a d3d9: Fix test failures on Windows 7. 2010-03-16 17:02:23 +01:00
Eric Pouech 8c4f96d232 dbghelp: Store the file map in ELF's module specific data. 2010-03-16 13:31:05 +01:00
Eric Pouech 9d7b6b65ef dbghelp: Added helper to free module's specific data (ELF, MSC...) upon removal. 2010-03-16 13:30:46 +01:00
Eric Pouech 09a7e2d3d0 dbghelp: Added full support for DW_FORM_data8 attributes, as well as primary support for DW_FORM_block* attributes. 2010-03-16 13:30:31 +01:00
Alexandre Julliard fbef7217b9 makefiles: Remove the no longer needed explicit dependencies for bison files. 2010-03-16 13:28:24 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Ričardas Barkauskas 1e754f5e2e d3d9/tests: Test ATI2N pitch and locking offset behaviour. 2010-03-16 13:03:35 +01:00
Ričardas Barkauskas a7aa4a87e2 wined3d: Fix ATI2N pitch and offset calculations. 2010-03-16 13:03:30 +01:00
Justin Chevrier 818420a378 gdiplus: Basic implementation of GdipImageGetFrameCount with updated tests. 2010-03-16 12:29:14 +01:00
Justin Chevrier 94820ff0a4 gdiplus/tests: Expand GdipImageGetFrameCount test coverage. 2010-03-16 12:29:09 +01:00
Michael Stefaniuc 0bbce793c3 iphlpapi: Don't crash when enumerating PtP interfaces. 2010-03-16 11:49:27 +01:00
Piotr Caban 914472ab81 oleaut32: Set parameter to NULL in GetMops stub. 2010-03-16 11:48:55 +01:00
Piotr Caban 2184674779 oleaut32: Improve ICreateTypeInfo_LayOut implementation. 2010-03-16 11:48:51 +01:00
Piotr Caban aecd956b7e oleaut32: Improved ICreateTypeInfo AddFuncDesc implementation. 2010-03-16 11:48:48 +01:00
Piotr Caban d2f24ed885 oleaut32: Use QueryPathOfRegTypeLib in ICreateTypeInfo2_AddRefTypeInfo. 2010-03-16 11:48:38 +01:00
Piotr Caban d62534d199 oleaut32: Remove incorrect memid validation.
This code was trying to block negative values of memid (incorrectly).
I have run more tests and found that it's possible to set some negative
values (e.g. on TKIND_INTERFACE: -1, -4..-8, -500..?). Unless we know
what values are allowed it's probably better to not check memid.
2010-03-16 11:48:32 +01:00
Piotr Caban b7c50c7dbf oleaut32: Fix importinfo flags. 2010-03-16 11:48:26 +01:00
Piotr Caban e119aceb7c oleaut32: Fix some reference leaks. 2010-03-16 11:48:22 +01:00
Piotr Caban 3c747fec50 oleaut32: Added ICreateTypeInfo2_SetFuncHelpContext implementation. 2010-03-16 11:48:16 +01:00
Piotr Caban eb15921ff5 oleaut32: Improve dual interfaces creation in typelib. 2010-03-16 11:48:10 +01:00
Piotr Caban d9fd33e3a9 oleaut32: Improve TypeInfos with changed TypeKind handling. 2010-03-16 11:48:04 +01:00
Piotr Caban 6b035d25a8 oleaut32: Simplify ICreateTypeInfo2_SetTypeFlags implementation. 2010-03-16 11:47:58 +01:00
Henri Verbeet 78166b0b23 wined3d: Implement SetDestWindowOverride() by simply making the context current on a different window. 2010-03-16 11:45:15 +01:00
Henri Verbeet cd9a8b74b9 wined3d: Store the device window in the swapchain.
The swapchain's current window might be changed by SetDestWindowOverride().
2010-03-16 11:45:11 +01:00
Henri Verbeet aa819fe888 wined3d: Simplify a comparison in IWineD3DDeviceImpl_Reset(). 2010-03-16 11:45:06 +01:00
Henri Verbeet d6bbe90b85 wined3d: The swapchain should always have a window handle. 2010-03-16 11:45:01 +01:00
Henri Verbeet 0ae49c35fb wined3d: Use the context's window handle in IWineD3DSurfaceImpl_BltOverride(). 2010-03-16 11:44:55 +01:00
Henri Verbeet 7b0b16fafe wined3d: Use the context's window handle in stretch_rect_fbo(). 2010-03-16 11:44:50 +01:00
Henri Verbeet 18ec2525a4 wined3d: Store the swapchain instead of the surface in the context. 2010-03-16 11:44:44 +01:00
Henri Verbeet b281f23efe wined3d: Add a separate function to set the pixel format in context_create(). 2010-03-16 11:44:38 +01:00
Henri Verbeet 4133a0a4ff wined3d: Use "gl_info" in some more places in context_create(). 2010-03-16 11:44:32 +01:00
Rob Shearman 088c0857c9 rpcrt4: Add support for marshalling/unmarshalling complex arrays of pointers. 2010-03-16 11:42:09 +01:00
Juan Lang 51ab77a90a crypt32: Add support for the anyPolicy certificate policy. 2010-03-16 11:30:12 +01:00
Juan Lang ffba84b161 crypt32: Switch to use the AES provider by default. 2010-03-16 11:29:53 +01:00
Juan Lang a729e10a18 crypt32: Add constants to support SHA-256, SHA-384, and SHA-512. 2010-03-16 11:29:48 +01:00
Juan Lang 89b8adb262 rsaenh: Add signature support for SHA-256, SHA-384, and SHA-512 hashes. 2010-03-16 11:29:40 +01:00
Juan Lang 311d839dec rsaenh: Add support for SHA-256, SHA-384, and SHA-512. 2010-03-16 11:29:32 +01:00
Maarten Lankhorst 693c991626 mmdevapi: Pass a property bag to IBaseFilter in IMMDevice::Activate. 2010-03-15 17:47:01 +01:00
Maarten Lankhorst 55b48ff662 mmdevapi: Implement IMMDeviceEnumerator::GetDevice. 2010-03-15 17:46:54 +01:00
Maarten Lankhorst d53dc08ec5 mmdevapi: Implement MMDeviceCollection methods. 2010-03-15 17:46:50 +01:00
Maarten Lankhorst 9371fd5f95 mmdevapi: Implement some methods in IMMDevice. 2010-03-15 17:46:45 +01:00
Maarten Lankhorst 99f3ee3804 mmdevapi: Add IMMEndpoint to IMMDevice. 2010-03-15 17:46:38 +01:00
Maarten Lankhorst 90c30b3ad1 mmdevapi: Implement property store. 2010-03-15 17:46:25 +01:00
Detlef Riekenberg c8195ebdb9 msvcr90: Add msvcr90.dll with forwards to msvcrt.dll. 2010-03-15 17:25:41 +01:00
Detlef Riekenberg a949a700d2 msvcr80: Add msvcr80.dll with forwards to msvcrt.dll. 2010-03-15 17:24:47 +01:00
Detlef Riekenberg 83178a4fd2 msvcr70: Add msvcr70.dll with forwards to msvcrt.dll. 2010-03-15 17:23:58 +01:00
Henri Verbeet ef058b3030 kernel32: Implement CheckRemoteDebuggerPresent(). 2010-03-15 15:56:56 +01:00
Henri Verbeet f0a5045254 ntdll: Improve support for the ProcessDebugPort info class in NtQueryInformationProcess(). 2010-03-15 15:56:42 +01:00
Henri Verbeet 4ce43cd919 ntdll: Fix the ProcessDebugPort information length in NtQueryInformationProcess(). 2010-03-15 15:56:02 +01:00
Henri Verbeet 4b671f4d54 wined3d: Move device context array functions to device.c. 2010-03-15 15:55:57 +01:00
Henri Verbeet 6ed7906852 wined3d: Don't partially initialize contexts in AddContextToArray().
Just add a context to the device's context array.
2010-03-15 15:55:51 +01:00
Henri Verbeet 8a107bc63a wined3d: Kill pbuffer offscreen rendering support.
Our pbuffer support is broken, nobody cares.
2010-03-15 15:55:38 +01:00
Henri Verbeet a8b76781bf d3dx9_36: Not implementing an interface is not an internal error. 2010-03-15 15:55:26 +01:00
Henri Verbeet d85730c8e3 d3dx9_36: ID3DXBuffer is a base interface for ID3DXConstantTable. 2010-03-15 15:55:19 +01:00
Henri Verbeet ae437ab5b8 ddraw: Print unhandled vertex processing flags in IDirect3DExecuteBufferImpl_Execute(). 2010-03-15 15:55:14 +01:00
Henri Verbeet 6c0ecd0955 server: Debugging our own process is disallowed. 2010-03-15 15:55:08 +01:00
Juan Lang de6a0a86be wininet: Handle proxy entries of the form <proto>=<proxy>, and allow multiple proxies. 2010-03-15 15:54:10 +01:00
Vincent Povirk da409d6a7b oleaut32: Return type mismatch errors in ITypeLibComp_fnBind. 2010-03-15 15:53:59 +01:00