Commit Graph

82746 Commits

Author SHA1 Message Date
Stefan Dösinger 9b3ab8a6f4 wined3d: Set z = 0.0 via the projection matrix instead of depth clamping.
This works on cards that don't implement ARB_depth_clamp like r500
cards. Note that texturing is influenced by position.w, not position.z.
2015-02-12 22:20:05 +09:00
Stefan Dösinger f460db7c80 d3d8/tests: Test rhw depth clip with z enabled but no depth buffer set. 2015-02-12 22:19:58 +09:00
Stefan Dösinger fd218b93d0 d3d9/tests: Test rhw depth clip with z enabled but no depth buffer set. 2015-02-12 22:19:48 +09:00
Stefan Dösinger 861ade434a ddraw/tests: Test rhw table fog z vs rhw. 2015-02-12 22:19:13 +09:00
Stefan Dösinger 77eb58b54e d3d8/tests: Test rhw table fog z vs rhw. 2015-02-12 22:19:09 +09:00
Stefan Dösinger 3b2c642163 d3d9/tests: Test rhw table fog z vs rhw.
The Z disable part of the test is technically not necessary because the
fog coordinate is written before applying the projection matrix. I've
nevertheless included it because this is not immediately obvious and fog
is the only place where the vertex Z matters if depth test and depth
clipping are disabled.
2015-02-12 22:19:02 +09:00
Austin English 295f194804 kernel32: Add SetVolumeMountPointA/W stubs. 2015-02-12 22:12:22 +09:00
Henri Verbeet 2d18cf57ac dxgi: Implement dxgi_device_GetPrivateData(). 2015-02-12 22:12:20 +09:00
Henri Verbeet 2190f0266f dxgi: Implement dxgi_device_SetPrivateDataInterface(). 2015-02-12 22:12:18 +09:00
Henri Verbeet 4e93a02aaf dxgi: Implement dxgi_device_SetPrivateData(). 2015-02-12 22:12:16 +09:00
Henri Verbeet e7b7d1ef45 d3d10: D3D10CreateStateBlock() is implemented. 2015-02-12 22:12:13 +09:00
Henri Verbeet 471e626052 wined3d: Fix the .spec. 2015-02-12 22:12:11 +09:00
Jacek Caban de5c1fb8e9 wininet: Initialize winsock before creating socket in Windows builds. 2015-02-12 22:12:04 +09:00
Jacek Caban 4fe1be148e wininet: Properly handle EWOULDBLOCK return from connect(). 2015-02-12 17:58:01 +09:00
Jacek Caban f3e02c2fc0 wininet: Properly check for ioctlsocket failure in NETCON_is_alive. 2015-02-12 17:57:57 +09:00
Jacek Caban c815baf899 wininet: Use sock_get_error in a few more places. 2015-02-12 17:57:49 +09:00
Jacek Caban cafbd54457 wininet: Use WSAGetLastError in sock_get_error in Windows builds. 2015-02-12 17:57:25 +09:00
Jacek Caban 8efedaf045 wininet: Use proper argument type for ioctlsocket argument. 2015-02-12 17:56:55 +09:00
Henri Verbeet e4cb3b5081 wined3d: Recognize the SM4 or opcode. 2015-02-11 23:05:17 +09:00
Henri Verbeet 3225fea30c wined3d: Recognize the SM4 ne opcode. 2015-02-11 23:05:13 +09:00
Henri Verbeet 8506da62e0 wined3d: Implement WINED3DSIH_SQRT in the GLSL shader backend. 2015-02-11 23:05:08 +09:00
Henri Verbeet 1dfea3a4ba wined3d: Do not validate format restrictions for buffers.
Buffers don't have a format as such, and are created with either
WINED3DFMT_UNKNOWN or WINED3DFMT_VERTEXDATA.
2015-02-11 23:05:04 +09:00
Henri Verbeet 5045ca639d wined3d: Add some warnings when resource_init() fails due to format restrictions. 2015-02-11 23:04:59 +09:00
Jacek Caban 9e2a446fad mshtml: Call FireBeforeNavigate2 for navigation in frames and iframes. 2015-02-11 23:04:47 +09:00
Jacek Caban f46ee92d90 ieframe: Keep reference to This in all IDocObjectService callback calls. 2015-02-11 23:04:43 +09:00
Alexandre Julliard dc06802a42 msvcp70: Fix calling convention for a non-member function. 2015-02-11 23:02:03 +09:00
Austin English e94fc1db5a connect: Add IsInternetConnected stub. 2015-02-11 22:26:28 +09:00
Matteo Bruni 9e45ae0413 opengl32: Introduce wrappers for glGetIntegerv and glGetStringi. (v3). 2015-02-11 22:22:57 +09:00
Jacek Caban 9b0ebaeb78 vbscript: Added InStrRev implementation. 2015-02-11 22:21:49 +09:00
Matteo Bruni ac3df5e1f1 wined3d: Use the proper pitch in read_from_framebuffer().
This function is only used in the non-default "backbuffer" ORM.
2015-02-11 22:21:36 +09:00
Matteo Bruni 20e61b396e wined3d: Use unsigned short for the bitfields in struct color_fixup_desc. 2015-02-11 22:21:28 +09:00
Austin English a679caedf6 mf: Add stub dll. 2015-02-10 23:33:59 +09:00
Erich E. Hoover c15c7a4925 ws2_32/tests: Add an interactive test for interface change notifications. 2015-02-10 22:57:48 +09:00
Piotr Caban 4659081cd9 msvcp70: Add basic_istream::operator>> exports. 2015-02-10 21:46:04 +09:00
Piotr Caban b02934096d msvcp70: Add basic_{fstream, ifstream, ofstream, filebuf}::open exports. 2015-02-10 21:45:59 +09:00
Austin English be70190c1a connect: Add stub dll. 2015-02-10 16:45:22 +09:00
Austin English ecdaf568b5 rpcrt4: Add a stub for I_RpcBindingInqLocalClientPID. 2015-02-10 16:41:37 +09:00
Matteo Bruni b875a4a44a wined3d: Use GL_CLAMP_TO_EDGE instead of GL_CLAMP.
GL_CLAMP was removed from core profile and probably GL_CLAMP_TO_EDGE was
intended to be used here anyway.
2015-02-10 16:21:55 +09:00
Matteo Bruni f4da723151 wined3d: Call glReadBuffer() through the appropriate function pointer. 2015-02-10 16:21:41 +09:00
Piotr Caban 7ac8ad4492 msvcp70: Export basic_ostream::operator<< functions family. 2015-02-10 00:26:53 +09:00
Piotr Caban a8bac22561 msvcp: Fix basic_ostream<short>::operator<<(const short*) function export. 2015-02-10 00:26:37 +09:00
Matteo Bruni 30f4d91906 d3d9/tests: Add a test for POSITIONi shader input/outputs. 2015-02-09 22:05:53 +09:00
Matteo Bruni 1612dc4dc9 wined3d: Refuse pixel shaders declaring POSITION0 inputs. 2015-02-09 22:05:43 +09:00
Matteo Bruni 74b4516bfa wined3d: Only consider POSITION0 PS inputs as vpos. 2015-02-09 22:05:41 +09:00
Matteo Bruni 96b48191c0 wined3d: Only copy POSITION0 output semantics into gl_Position. 2015-02-09 22:05:35 +09:00
Matteo Bruni 1aa5015467 wined3d: Directly use the core version of glTex[Sub]Image3D. 2015-02-09 22:05:32 +09:00
Alex Henrie 6bcf9e4bd8 kernel32: Support UTF-7 in MultiByteToWideChar.
Portions of utf7_mbstowcs were written by Sebastian Lackner.
2015-02-09 20:41:42 +09:00
Alex Henrie 054fa77de0 kernel32: Support UTF-7 in WideCharToMultiByte.
Portions of utf7_wcstombs were written by Sebastian Lackner.
2015-02-09 20:37:27 +09:00
Mark Harmstone 26896f1bd5 comctl32: Fix clipping error with themed groupboxes. 2015-02-09 19:02:03 +09:00
Pierre Schweitzer fe41140664 setupapi: Fix string conversion in SetupGetInfInformationA(). 2015-02-09 17:44:06 +09:00
Marcus Meissner e5a653a594 mshtml: Initialize use_new_window (Coverity). 2015-02-09 17:42:23 +09:00
Piotr Caban 03f645a76b server: Filter WM_QUIT message in PeekMessage call if PM_QS_POSTMESSAGE was not specified. 2015-02-09 17:40:40 +09:00
Austin English b39efd9ed7 ntoskrnl.exe: Add ExfInterlockedRemoveHeadList stub. 2015-02-06 23:37:06 +09:00
Austin English 3f9a4ac10c apphelp: Add a stub for SdbCloseDatabase. 2015-02-06 23:36:51 +09:00
Austin English c997367911 apphelp: Add a stub for SdbGetFirstChild. 2015-02-06 23:36:45 +09:00
Austin English 5e8b613397 ktmw32: Add a stub for RollbackTransaction. 2015-02-06 23:35:40 +09:00
Charles Davis b3232e7c9d dbghelp: Support 64-bit dyld_all_image_infos structures, too. 2015-02-06 22:35:23 +09:00
Charles Davis 97bda9a05f ntdll: Support 64-bit Mac OS. 2015-02-06 22:35:17 +09:00
Austin English 5ed719d590 cryptui: Add CryptUIDlgSelectCertificateFromStore stub. 2015-02-06 22:20:44 +09:00
Jacek Caban a1543a3f7b jscript: Fixed handling VT_VARIANT|VY_BYREF types. 2015-02-06 22:20:39 +09:00
Jacek Caban 1316403770 jscript: Pass 'this' as jsdisp_t to setters. 2015-02-06 22:20:36 +09:00
Jacek Caban d541b525e4 jscript: Pass 'this' as jsdisp_t to getters. 2015-02-06 22:20:34 +09:00
Stefan Dösinger da5041eb4b wined3d: Check the d3d buffer to find converted attributes.
This fixes some tests with ARB shaders that were broken since
1360af6adc. When buffer_internal_preload
is called by context_update_stream_info, si->elements[i].data is not yet
set.
2015-02-06 22:20:26 +09:00
Henri Verbeet 2f2e1b98fd d2d1: Implement d2d_d3d_render_target_DrawBitmap(). 2015-02-06 22:20:24 +09:00
Henri Verbeet 287f751ae2 d2d1: Implement bitmap brush support for d2d_d3d_render_target_FillRectangle(). 2015-02-06 22:20:22 +09:00
Henri Verbeet 7df055f17f d2d1: Implement d2d_bitmap_GetSize(). 2015-02-06 22:20:19 +09:00
Henri Verbeet 4b0f47cdbc d2d1: Implement d2d_bitmap_GetDpi(). 2015-02-06 22:20:17 +09:00
Henri Verbeet b270384dfb d2d1: Implement d2d_bitmap_GetPixelSize(). 2015-02-06 22:20:13 +09:00
Jacek Caban b7fae52964 jscript: Use separated functions for implementing builtin call, get and set operation. 2015-02-06 00:28:35 +09:00
Jacek Caban 90d3569c62 jscript: Don't use builtin property for *Error constructors. 2015-02-06 00:28:35 +09:00
Jacek Caban b7a27333e3 jscript: Don't use builtin property for a few more constructors. 2015-02-06 00:28:34 +09:00
Piotr Caban 6c5d4cb07e user32: Only use DIALOGINFO->hwndFocus to store last focus of inactive windows. 2015-02-06 00:28:34 +09:00
Austin English 58cbdf26c9 apphelp: Add a stub for SdbOpenDatabase. 2015-02-05 23:05:42 +09:00
Austin English a71fb845cd shdocvw: Add DoFileDownload stub. 2015-02-05 23:02:57 +09:00
Austin English a2f864cac8 ntoskrnl.exe: Add a stub for ExInterlockedRemoveHeadList. 2015-02-05 23:02:02 +09:00
Austin English 08f420d2de oleaut32: Add a stub for OleSavePictureFile. 2015-02-05 23:01:50 +09:00
Austin English b331c4f931 kernel32: Add CreateHardLinkTransactedA/W stubs. 2015-02-05 22:42:22 +09:00
Nikolay Sivov c949ff5d24 dwrite: Implement GetGlyphCount(). 2015-02-05 22:19:06 +09:00
Stefan Dösinger 9d93af793d d3d11: Switch to d3d-style formatting. 2015-02-05 19:59:06 +09:00
Stefan Dösinger e25a115b72 d3d11: Print UINT sdk_version with %u. 2015-02-05 19:58:55 +09:00
Ken Thomases 71b9e02265 winemac: Raise full-screen windows in front of the status items in the Mac menu bar.
Status items are the things on the right end of the Mac menu bar, like the
clock and volume widget.  It turns out that they are displayed at a higher
window level than everything else in the menu bar.  For the case where the
displays are not captured for a full-screen window, the window ends up at the
same window level as the status items, and they would sometimes end up on top.
They would draw over the full-screen window and could be clicked.
2015-02-05 19:57:56 +09:00
Jacek Caban 6eb49669aa jscript: Don't use builtin property for exposing Boolean constructor. 2015-02-05 00:23:14 +09:00
Stefan Dösinger e178b7ec9a wined3d: Don't use TXP for rectangle P8 textures.
This was probably taken from the YUV shaders, incorrectly and in reverse
logic. It did happen to work though because fragment.texcoord[0].w is 1.0.
2015-02-04 23:15:03 +09:00
Stefan Dösinger 3d49060fdf wined3d: Fix the color keyed P8 alpha ref value. 2015-02-04 23:14:59 +09:00
Nikolay Sivov 34a5cd2086 dwrite/tests: Fix couple of leaks when creating test font instance. 2015-02-04 21:42:39 +09:00
Nikolay Sivov afd1911cd7 dwrite: Improve error handling during font collection creation. 2015-02-04 21:42:35 +09:00
Nikolay Sivov 77189de8b7 dwrite: Simplify collection_find_family(). 2015-02-04 21:42:11 +09:00
Piotr Caban 008a2b46f5 user32/tests: Added GetMessagePos tests. 2015-02-04 21:32:50 +09:00
Austin English 63c087f1c3 evr: Add stub dll. 2015-02-04 21:32:50 +09:00
Austin English f8089da4b3 msi: Add stubs for MsiEnumClientsExA/W. 2015-02-04 21:32:50 +09:00
Jacek Caban b0632af980 jscript: Added support for VT_UI4 variants. 2015-02-04 21:32:50 +09:00
Jacek Caban 7a89732f73 mshtml: Added IHTMLDocument2::ondblclick property implementation. 2015-02-04 20:32:08 +09:00
Nikolay Sivov 8f9bca9103 dwrite: Implement GetCaretMetrics(). 2015-02-03 20:53:07 +09:00
Nikolay Sivov fbeb829584 dwrite: Forward GetGdiCompatibleMetrics() to newer call. 2015-02-03 20:52:58 +09:00
Nikolay Sivov d1243bcc85 kernel32/tests: Remove a couple of duplicated constants. 2015-02-03 20:52:51 +09:00
Mark Harmstone e20307099f mmdevapi: Do nothing on property store Commit. 2015-02-03 16:30:57 +09:00
Akihiro Sagawa 7b0d86514a mciqtz32: "status mode" returns resource strings. 2015-02-03 16:30:57 +09:00
Akihiro Sagawa 8f6650cb00 winmm/tests: Add MPEGVideo driver tests using a wave audio file. 2015-02-03 16:30:56 +09:00
YongHao Hu 0d3e739710 msvcp90/tests: Add more tests to ostream_print_complex_float. 2015-02-03 16:30:56 +09:00
Austin English 64ec12df8e prntvpt: Add a stub for PTQuerySchemaVersionSupport. 2015-02-03 16:30:56 +09:00
Mark Harmstone 1c73ce1ee7 dsound: Fix 3D positioning bug with head-relative buffers. 2015-02-03 16:30:55 +09:00
Ken Thomases 530a039dac winemac: Prevent interpolation of the window surface image when it's blitted to the actual window.
On high-resolution Retina displays, the OS X window backing store has twice the
pixels as Wine's window backing store.  So, our images get scaled up.  Core
Graphics had been interpolating/smoothing the image, which resulted in
fuzziness.  This tells it not to do that.

I had assumed this wouldn't be necessary since we pass FALSE for the
shouldInterpolate parameter of CGImageCreate() when we create the images.
Apparently, that's not sufficient.
2015-02-03 16:30:55 +09:00
Sebastian Lackner 15e609ba5b slc/tests: Add tests for SLGetWindowsInformationDWORD. 2015-02-03 16:30:49 +09:00
Sebastian Lackner c6fcb427a2 dbghelp: Don't fill KdHelp structure for usermode applications. 2015-02-03 14:40:50 +09:00
Orion Poplawski 8bf1732962 msvcrt: Bump MSVCRT_MB_LEN_MAX to 5 and use it in MSVCRT__wctomb_l for default buffer lengthSet MB_LEN_MAX to 5 to match MSVCRT_MB_LEN_MAX. 2015-02-03 14:38:40 +09:00
Jacek Caban f0fc2ba27d mshtml: Use our submit implementation for all windows, but only for POST method. 2015-02-03 12:45:51 +09:00
Ken Thomases 4a6743e913 opengl32: Fix get_current_context_type() to not shift the type bits down.
The result is compared directly with handle type values like HANDLE_CONTEXT
whose meaningful values are in the high nibble.
2015-02-03 12:45:35 +09:00
Matteo Bruni 9defaa53a1 wined3d: Use the core version of the asynchronous queries functions. 2015-02-02 22:39:05 +09:00
Matteo Bruni 1e48bbb7ac opengl32: Don't use deprecated functions for extension checking purposes on core profile contexts. 2015-02-02 22:37:11 +09:00
Piotr Caban ae372f53f7 msvcp71: Added basic_string<char>::insert(iterator, char*, char*) implementation. 2015-02-02 22:30:33 +09:00
Piotr Caban 6dac2f7a77 shell32: Add partial support for Mac trash enumeration. 2015-02-02 22:29:46 +09:00
Piotr Caban 8aba9366ed shell32: Pass trash path to TRASH_EnumItems. 2015-02-02 22:29:32 +09:00
Piotr Caban d46862b487 shell32: Handle TRASH_EnumItems failures correctly. 2015-02-02 22:29:25 +09:00
Piotr Caban 814ab9ee46 shell32: Create trash test file in temp directory. 2015-02-02 22:29:18 +09:00
Charles Davis a872c21a48 winemac.drv: Always initialize a closure-captured object pointer. 2015-02-02 22:27:42 +09:00
Ken Thomases 8ec1b4f010 winemac: Tell Wine that Cocoa brought a window forward even if a window is being dragged.
When a window is being dragged, we prevent delivery of clicks to Wine.  We were
also preventing telling Wine that a window had been brought forward, but this
was incorrect.  It prevented clicks in the title bar from activating the window.
2015-02-02 22:27:35 +09:00
Ken Thomases 5fe3c4b89e winemac: Track which window was brought forward by Cocoa separately from the window receiving the click event.
If the mouse is captured, we change which window receives the click event, but
that shouldn't change which window we tell Wine was brought forward by Cocoa.
2015-02-02 22:27:30 +09:00
Ken Thomases 2b97f8c1d1 winemac: When Cocoa brings a window forward, tell Wine even if it's disabled or no-activate.
We can't prevent Cocoa from bringing disabled/no-activate windows forward.  So,
we need to tell Wine about the z-order change.

We still do avoid telling Wine to activate disabled/no-activate windows, though.
2015-02-02 22:27:19 +09:00
Henri Verbeet 81c51768a5 d2d1: Implement d2d_solid_color_brush_SetTransform(). 2015-02-02 22:26:16 +09:00
Henri Verbeet ecca626948 d2d1: Implement d2d_linear_gradient_brush_SetTransform(). 2015-02-02 22:26:14 +09:00
Henri Verbeet fce8603a39 d2d1: Implement d2d_bitmap_brush_SetTransform(). 2015-02-02 22:26:12 +09:00
Henri Verbeet 88edc866ea d2d1: Implement d2d_solid_color_brush_GetTransform(). 2015-02-02 22:26:10 +09:00
Henri Verbeet bbba52dc34 d2d1: Implement d2d_linear_gradient_brush_GetTransform(). 2015-02-02 22:26:07 +09:00
Henri Verbeet d41ee6e574 d2d1: Implement d2d_bitmap_brush_GetTransform(). 2015-02-02 22:26:04 +09:00
Jacek Caban 3873c93891 vbscript: Allow omitting optional function parameters in call expressions. 2015-01-28 21:30:10 +01:00
Jacek Caban 679ddf24d4 mshtml: Added support for _self target in IHTMLWindow2::open. 2015-01-28 21:30:07 +01:00
Nikolay Sivov fdda480df5 kernel32: Fix writing resource section as a last section in UpdateResource(). 2015-01-28 21:30:01 +01:00
Nikolay Sivov 8f2b5653a7 kernel32/tests: Remove todo_wine that doesn't work anymore. 2015-01-28 21:29:57 +01:00
Nikolay Sivov f670be8ec8 kernel32/tests: Make loader tests independent from each other. 2015-01-28 21:29:53 +01:00
Austin English ae98c9a42b kernel32: Sync spec file with windowss 7. 2015-01-28 11:08:21 +01:00
Stefan Dösinger 63d52c7317 d3d/tests: Show that WM_SYSCOMMAND(SC_RESTORE) is delivered only once. 2015-01-28 11:06:56 +01:00
Stefan Dösinger 3ef1d6bcd9 wined3d: Pass WM_SYSCOMMAND(SC_RESTORE) to DefWindowProc. 2015-01-28 11:06:48 +01:00
Daniel Scharrer 4d05cfe577 kernel32: Add stub implementation for EnumResourceLanguagesEx. 2015-01-27 22:03:17 +01:00
Andrew Eikum bbc5244c0b winmm: Allow HMIXEROBJ handles in place of device IDs in mixerGetDevCaps. 2015-01-27 21:30:21 +01:00
Mark Harmstone 7b8dbc4776 mmdevapi: Allow PKEY_AudioEndpoint_PhysicalSpeakers to be overridden. 2015-01-27 21:30:15 +01:00
Jacek Caban e62612b2c3 mshtml: Added URI_ flags declaration and improved debug traces. 2015-01-26 19:37:04 +01:00
Nikolay Sivov 40d9a2b6d2 dwrite: Make sure we don't have duplicates in locale/value pairs for font names. 2015-01-26 12:06:20 +01:00
Nikolay Sivov 6b0623fb2f dwrite: Initial implementation of GetTypographicFeatures(). 2015-01-26 12:06:18 +01:00
Austin English fa80425242 kernel32: Add GetSystemFirmwareTable stub. 2015-01-26 12:06:04 +01:00
Piotr Caban ccaf87b2ea msvcrt: Add _iswpunct_l implementation. 2015-01-26 11:23:12 +01:00
Piotr Caban ef69ad9f97 msvcrt: Add _iswspace_l implementation. 2015-01-26 11:23:08 +01:00
Piotr Caban 90b68f9964 msvcrt: Reset write direction after flush on read/write stream. 2015-01-26 11:22:58 +01:00
Piotr Caban 7880525f44 msvcrt: Handle read buffer flushing in msvcrt_flush_buffer helper. 2015-01-26 11:22:54 +01:00
Andrew Eikum 7b45103c4a wined3d: Fix spec file entry for wined3d_texture_create. 2015-01-23 17:28:40 +01:00
Jacek Caban 13d899ec0f mshtml: Added Exec(OLECMDID_OPTICAL_ZOOM) implementation. 2015-01-23 15:33:19 +01:00
Michael Stefaniuc 971cf70014 wintrust/tests: Remove an unused assignment (PVS-Studio). 2015-01-23 15:33:06 +01:00
Michael Stefaniuc b32d93a10b wininet: Remove an unused assignment (PVS-Studio). 2015-01-23 15:33:03 +01:00
Michael Stefaniuc f256e1476c winex11.drv: Remove an unused assignment (PVS-Studio). 2015-01-23 15:32:59 +01:00
Matteo Bruni d360a51f3c wined3d: Use the core version of the shader object functions. 2015-01-23 12:02:37 +01:00
Matteo Bruni e192939652 wined3d: Use the core version of GL vertex attribute functions where possible. 2015-01-23 12:02:33 +01:00