Commit Graph

85087 Commits

Author SHA1 Message Date
Dmitry Timoshkov 1f17334fc2 ole32: Accept STG_E_UNIMPLEMENTEDFUNCTION when ILockBytes implementation doesn't support locking.
Some custom implementations return it instead of STG_E_INVALIDFUNCTION.
2015-07-06 16:34:47 +09:00
Nikolay Sivov 07f8493895 gdiplus: Remove always true condition (Coverity). 2015-07-06 15:13:27 +09:00
Nikolay Sivov 69733d65e8 shell32: Handle string-to-guid conversion errors (Coverity). 2015-07-06 15:13:24 +09:00
Nikolay Sivov b49f9f609a dwrite/tests: Test that pair kerning affects shaping. 2015-07-06 15:13:22 +09:00
Nikolay Sivov 862ac80a0d dwrite: Implement paragraph alignment. 2015-07-06 15:13:20 +09:00
Nikolay Sivov 44c135dd17 dwrite: Implement leading and trailing text alignment modes. 2015-07-06 15:13:18 +09:00
Nikolay Sivov de46f610fe dwrite: Make it possible to set text alignment on created layout. 2015-07-06 15:13:16 +09:00
Nikolay Sivov 7a64715be3 dwrite: Remove separate line count layout field. 2015-07-06 15:13:14 +09:00
Michael Stefaniuc 7b5f318834 dmsynth: Remove a now unused macro. 2015-07-06 14:49:41 +09:00
Michael Stefaniuc f78ed39b98 dmime: Use the generic IPersistStream for DMTempoTrack. 2015-07-06 14:49:41 +09:00
Michael Stefaniuc ee09310345 dmime: Remove the extraneous IUnknown from DMTempoTrack. 2015-07-06 14:49:41 +09:00
Michael Stefaniuc 3ef8e01517 dmime: COM cleanup for IDirectMusicTrack of DMTempoTrack. 2015-07-06 14:49:41 +09:00
Michael Stefaniuc cfd84f1662 dmime: Use the generic IPersistStream for DMSegTriggerTrack. 2015-07-06 14:49:41 +09:00
Michael Stefaniuc 0c0df2f8d2 dmime: Remove the extraneous IUnknown from DMSegTriggerTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-07-06 14:49:41 +09:00
Michael Stefaniuc 360a24670f dmime: COM cleanup for IDirectMusicTrack of DMSegTriggerTrack. 2015-07-06 14:49:40 +09:00
Michael Stefaniuc 3de79096aa dmime/tests: Add some basic IDirectMusicTrack8 tests. 2015-07-06 14:49:40 +09:00
Michael Stefaniuc 8e959e1203 dmime: Implement the remaining E_NOTIMPL methods of IDirectMusicTrack8. 2015-07-06 14:49:40 +09:00
Sebastian Lackner 6c586d5db8 kernel32: Forward threadpool wait functions to ntdll. 2015-07-06 14:49:39 +09:00
Sebastian Lackner 0021569778 ntdll: Try to merge threadpool wait queue buckets if possible.
When the number of elements per bucket is too small, then try to reduce
the number of threads by merging buckets. This is to ensure that the
number of running wait queue threads doesn't get too big.
2015-07-06 14:49:39 +09:00
Sebastian Lackner 634bbed3fb ntdll/tests: Add threadpool wait tests with more than 63 objects. 2015-07-06 14:49:39 +09:00
Sebastian Lackner 553ae488d0 ntdll/tests: Add basic tests for threadpool wait objects. 2015-07-06 14:49:39 +09:00
Sebastian Lackner 185247576b ntdll: Implement TpSetWait and TpWaitForWait. 2015-07-06 14:49:39 +09:00
Sebastian Lackner f1be5dcac0 ntdll: Implement threadpool wait queues.
To implement waiting for an arbitrary number of handles, we group them
in buckets up to (MAXIMUM_WAIT_OBJECTS - 1) objects, and then assign a
dedicated wait queue thread. The last handle is used to notify about
changes.
2015-07-06 14:49:38 +09:00
Sebastian Lackner 4523a54c62 ntdll: Implement TpAllocWait and TpReleaseWait. 2015-07-06 14:34:20 +09:00
Nikolay Sivov 8b566b1da7 dwrite: Reset calculated text height before updating it. 2015-07-03 22:58:07 +09:00
Nikolay Sivov ed54767030 dwrite: Store layout width/height directly in metrics structure. 2015-07-03 22:58:05 +09:00
Michael Stefaniuc 0789ddc322 dmime: Use the generic IPersistStream for DMWaveTrack. 2015-07-03 22:57:58 +09:00
Michael Stefaniuc f70498f121 dmime: Remove the extraneous IUnknown from DMWaveTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-07-03 22:57:53 +09:00
Michael Stefaniuc 861081be65 dmime: COM cleanup for IDirectMusicTrack of DMWaveTrack. 2015-07-03 22:57:49 +09:00
Michael Stefaniuc b905999761 dmime: Implement the E_NOTIMPL methods in DMWaveTrack. 2015-07-03 22:57:44 +09:00
Michael Stefaniuc 4a9eb8bfe0 dmime: Use the generic IPersistStream for DMParamControlTrack. 2015-07-03 22:57:40 +09:00
Michael Stefaniuc 22184e3694 dmime: Remove the extraneous IUnknown from DMParamControlTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-07-03 22:57:36 +09:00
Michael Stefaniuc 243ff86fbf dmime: COM cleanup for IDirectMusicTrack of DMParamControlTrack. 2015-07-03 22:57:32 +09:00
Michael Stefaniuc 10f3d166a9 dmime: Implement the E_NOTIMPL methods in DMParamControlTrack. 2015-07-03 22:57:28 +09:00
Michael Stefaniuc aad75398dd dmime: Use the generic IPersistStream for DMLyricsTrack. 2015-07-03 22:57:23 +09:00
Michael Stefaniuc 696168cc00 dmime: Remove the extraneous IUnknown from DMLyricsTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-07-03 22:57:19 +09:00
Michael Stefaniuc ac277120ba dmime: COM cleanup for IDirectMusicTrack of DMLyricsTrack. 2015-07-03 22:57:14 +09:00
Michael Stefaniuc 1637360fa8 dmime: Implement the E_NOTIMPL methods in DMLyricsTrack. 2015-07-03 22:57:09 +09:00
Michael Stefaniuc 64e8b6c03a dmime: Use the generic IPersistStream for DMSysExTrack. 2015-07-03 22:57:05 +09:00
Michael Stefaniuc b9360bd999 dmime: Remove the extraneous IUnknown from DMSysExTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-07-03 22:57:00 +09:00
Michael Stefaniuc 9a47a46a95 dmime: COM cleanup for IDirectMusicTrack of DMSysExTrack. 2015-07-03 22:56:54 +09:00
Michael Stefaniuc ac18130e76 dmime: Use the generic IPersistStream for DMSeqTrack. 2015-07-03 22:56:50 +09:00
Michael Stefaniuc 7da799a26f dmime: Remove the extraneous IUnknown from DMSeqTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-07-03 22:56:44 +09:00
Michael Stefaniuc 1b1d95e9d6 dmime: COM cleanup for IDirectMusicTrack of DMSeqTrack. 2015-07-03 22:56:39 +09:00
Michael Stefaniuc 9b4ed8858f dmime: Implement the E_NOTIMPL methods of IDMTrack8 for DMSysExTrack. 2015-07-03 22:56:32 +09:00
Michael Stefaniuc 4a7664275f dmime: Implement the E_NOTIMPL methods of IDMTrack8 for DMSeqTrack. 2015-07-03 22:56:26 +09:00
Józef Kucia 399cf7e4b9 d3d9/tests: Add basic tests for vertex blending. 2015-07-03 16:51:39 +09:00
Józef Kucia 4a8e0ec3d6 wined3d: Implement normals transformation for vertex blending. 2015-07-03 16:51:37 +09:00
Józef Kucia 1f680c52fe wined3d: Implement vertex blending in glsl_vertex_pipe. 2015-07-03 16:51:34 +09:00
Józef Kucia 1fc4a17175 wined3d: Show fixme about unimplemented vertex processing once. 2015-07-03 16:51:29 +09:00
Matteo Bruni 13ceb3fddc wined3d: Don't hardcode WINED3DPTEXTURECAPS_NONPOW2CONDITIONAL cap flag. 2015-07-03 16:51:27 +09:00
Matteo Bruni 4f57581310 wined3d: Improve NP2 fixups in GLSL PS texture sampling code. 2015-07-03 16:51:25 +09:00
Matteo Bruni a8fb1eee49 wined3d: Fix NP2 fixups in GLSL fragment FFP replacement. 2015-07-03 16:51:23 +09:00
Matteo Bruni 30031f6da4 wined3d: Replace an open-coded implementation of LIST_FOR_EACH_ENTRY_SAFE. 2015-07-03 16:51:21 +09:00
Matteo Bruni 93c88d34a8 wined3d: Fix GLSL backend with non-GLSL vertex and pixel pipeline combination.
That can only happen by manually modifying
select_vertex_implementation() and select_fragment_implementation(),
which may be useful for testing non-default vertex / fragment pipeline
implementations.
2015-07-03 16:51:17 +09:00
Sebastian Lackner d2a3c9c20e kernel32/tests: Fix leak of threadpool object. 2015-07-03 13:08:28 +09:00
Sebastian Lackner eadd27a38a kernel32: Forward remaining threadpool functions to ntdll. 2015-07-03 13:08:20 +09:00
Sebastian Lackner 56b9af1150 kernel32: Forward threadpool instance functions to ntdll. 2015-07-03 13:08:05 +09:00
Sebastian Lackner 4b0ecd3e22 kernel32: Forward threadpool timer functions to ntdll. 2015-07-03 13:07:47 +09:00
Sebastian Lackner 1165cc0953 kernel32: Forward threadpool work functions to ntdll. 2015-07-03 13:07:37 +09:00
Sebastian Lackner a54d972868 kernel32: Forward threadpool cleanup group functions to ntdll. 2015-07-03 13:07:18 +09:00
Sebastian Lackner 9f71015a99 ntdll/tests: Add tests for threadpool timer merging. 2015-07-03 13:06:50 +09:00
Sebastian Lackner aefb85ddab ntdll/tests: Add basic tests for threadpool timer functions. 2015-07-03 13:06:45 +09:00
Sebastian Lackner cb2aae1af8 ntdll: Implement threadpool timer queues. 2015-07-03 13:06:41 +09:00
Sebastian Lackner bd7cb07358 ntdll: Implement TpAllocTimer and TpReleaseTimer. 2015-07-03 13:06:31 +09:00
Sebastian Lackner 66c46e6960 ntdll/tests: Add tests for TpDisassociateCallback. 2015-07-03 13:06:21 +09:00
Sebastian Lackner 775d3dcecb ntdll: Implement TpDisassociateCallback and add a separate group completion event. 2015-07-03 13:06:15 +09:00
Jacek Caban 7f7e460a75 mshtml: Added nsIIOService::NewChannelFromURI2 semi-stub implementation. 2015-07-03 12:46:44 +09:00
Jacek Caban bca49f1403 secur32: Added SECPKG_ATTR_SUPPORTED_ALGS tests. 2015-07-03 12:46:44 +09:00
Vincent Povirk 3d8353fe18 winex11.drv: Track external changes to _NET_WM_STATE in net_wm_state.
In some cases, WM's will modify the _NET_WM_STATE of our own windows.
Most notably, this can happen when the WM maximizes our window, but
mutter has been known to alter the fullscreen state as well. If we
want to reconfigure our window later, we'll probably have to remove
these states, which means we need to remember that they were set.
2015-07-02 20:38:54 +09:00
Michael Stefaniuc 396dd9d141 dmstyle/tests: Remove skips wrongly copied from the dmime tests. 2015-07-02 19:16:12 +09:00
Michael Stefaniuc 7123c74532 dmime: Use the generic IPersistStream for DMTimeSigTrack. 2015-07-02 19:16:10 +09:00
Michael Stefaniuc ad81735d05 dmime: Remove the extraneous IUnknown from DMTimeSigTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-07-02 19:16:08 +09:00
Michael Stefaniuc dd1dc8cc81 dmime: COM cleanup for IDirectMusicTrack of DMTimeSigTrack. 2015-07-02 19:16:06 +09:00
Michael Stefaniuc 5bf9d04581 dmime: Use the generic IPersistStream for DMMarkerTrack. 2015-07-02 19:16:04 +09:00
Michael Stefaniuc ef6a803592 dmime: Remove the extraneous IUnknown from DMMarkerTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-07-02 19:16:02 +09:00
Michael Stefaniuc d487e5e6ce dmime: COM cleanup for IDirectMusicTrack of DMMarkerTrack. 2015-07-02 19:16:00 +09:00
Michael Stefaniuc 5525f5d0fa dmime/tests: Deal with DMTrack objects without IDirectMusicTrack8. 2015-07-02 19:15:58 +09:00
Michael Stefaniuc edfa74fe45 dmime: DMTimeSigTrack doesn't have IDirectMusicTrack8. 2015-07-02 19:15:56 +09:00
Michael Stefaniuc 724fe43db6 dmime: DMMarkerTrack doesn't have IDirectMusicTrack8. 2015-07-02 19:15:54 +09:00
Huw Davies 2a71d13b6b comctl32: Implement the legacy notifications during restore. 2015-07-02 16:54:01 +09:00
Huw Davies 6c95445559 comctl32: Set the default separator width when notifying a -ve cmd id. 2015-07-02 16:53:58 +09:00
Sebastian Lackner 8965511957 ntdll: Implement TpCallbackUnloadDllOnCompletion. 2015-07-02 14:54:13 +09:00
Sebastian Lackner 15110b1770 ntdll: Implement TpCallbackSetEventOnCompletion. 2015-07-02 14:54:04 +09:00
Sebastian Lackner 3dc1c6442a ntdll/tests: Add tests for TpCallbackReleaseSemaphoreOnCompletion and finalization callback. 2015-07-02 14:53:56 +09:00
Sebastian Lackner eb39cb1323 ntdll: Implement TpCallbackReleaseSemaphoreOnCompletion. 2015-07-02 14:53:50 +09:00
Sebastian Lackner 02ee5bb52d ntdll: Implement TpCallbackReleaseMutexOnCompletion.
Various internal details about the order and error handling of completion
actions are documented in "Concurrent Programming on Windows" by Joe Duffy.
2015-07-02 14:53:41 +09:00
Sebastian Lackner a9dd37be68 ntdll: Implement TpCallbackLeaveCriticalSectionOnCompletion.
An instance can only have one completion of each type, trying to add a
second one leads to an exception on Windows.
2015-07-02 14:53:21 +09:00
Sebastian Lackner eb974bcd7a ntdll: Implement instance objects and the TpCallbackMayRunLong function.
The instance is marked as long-running even if TpCallbackMayRunLong fails,
a second call will lead to an exception on Windows.
2015-07-02 14:53:02 +09:00
Sebastian Lackner 8fc2430c2a ntdll: Implement threadpool RaceDll environment variable. 2015-07-02 14:52:44 +09:00
Sebastian Lackner fa114f122b ntdll: Add support for threadpool finalization callback. 2015-07-02 14:52:38 +09:00
Sebastian Lackner e8d4b40386 ntdll/tests: Add tests for threadpool group cancel callback. 2015-07-02 14:52:32 +09:00
Sebastian Lackner 1839ce8697 ntdll: Add support for threadpool group cancel callback. 2015-07-02 14:52:27 +09:00
Aaryaman Vasishta 388da78edc d3drm: Fix function signature for IDirect3DRM3::CreateDeviceFromSurface. 2015-07-02 13:48:48 +09:00
Nikolay Sivov 2bb581b9b7 uxtheme: Partial implementation of DrawThemeTextEx. 2015-07-02 13:43:43 +09:00
Nikolay Sivov d86f2af3b6 dwrite: Add last cluster width to line width. 2015-07-02 13:43:00 +09:00
Nikolay Sivov a940c9b970 dwrite: Initial layout GetMetrics() implementation. 2015-07-02 13:42:58 +09:00
Jacek Caban 8d85da757a mshtml: Added support for binding XHR events. 2015-07-02 13:42:55 +09:00
Huw Davies 7a3c9889e3 riched20: Free the script cache when updating the default style. 2015-07-01 22:56:40 +09:00
Dmitry Timoshkov bd24842eba winex11: Don't call ExcludeUpdateRgn for a window with WS_CLIPCHILDREN style. 2015-07-01 22:56:40 +09:00
Dmitry Timoshkov 55a78fd19b user32/tests: Add some tests to show that WS_CLIPCHILDREN doesn't exclude children from update region. 2015-07-01 22:56:39 +09:00
Huw Davies eddfefa54f comctl32: Reset the string and lparam fields between notifications. 2015-07-01 19:18:27 +09:00
Huw Davies 96a6184c30 comctl32: All negative entries in the toolbar save state are special cases. 2015-07-01 19:18:27 +09:00
Huw Davies 77ed3733af comctl32: The number of buttons is set by the first TBN_RESTORE notification. 2015-07-01 19:18:27 +09:00
Huw Davies 063c7866f5 comctl32: Implement toolbar saving. 2015-07-01 19:18:26 +09:00
Huw Davies 199f51ff78 comctl32: Don't leak button text. 2015-07-01 19:18:26 +09:00
Huw Davies 01cd45cce1 comctl32: Add a helper to free button text. 2015-07-01 19:18:25 +09:00
Huw Davies a29b6958e1 comctl32: Add helpers to set the button text. 2015-07-01 19:18:25 +09:00
Michael Stefaniuc a2a2ea0311 dmime: Pass objects instead of ifaces to helpers. 2015-07-01 19:18:25 +09:00
Michael Stefaniuc 40769b4fad dmstyle: Mark IPersistStream_Save() as stub. 2015-07-01 19:18:24 +09:00
Michael Stefaniuc 2026a21525 dmstyle: Use the generic IPersistStream for DMStyleTrack. 2015-07-01 19:18:24 +09:00
Michael Stefaniuc f143c16bb8 dmstyle: Remove the extraneous IUnknown from DMStyleTrack. 2015-07-01 19:18:24 +09:00
Michael Stefaniuc 465753e947 dmstyle: COM cleanup for IDirectMusicTrack8 of DMStyleTrack. 2015-07-01 19:18:23 +09:00
Michael Stefaniuc 0248befa25 dmstyle: Use the generic IPersistStream for DMChordTrack. 2015-07-01 19:18:23 +09:00
Michael Stefaniuc 9a653533d3 dmstyle: Remove the extraneous IUnknown from DMChordTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-07-01 19:18:22 +09:00
Michael Stefaniuc 6495c2b658 dmstyle: COM cleanup for IDirectMusicTrack8 of DMChordTrack. 2015-07-01 19:18:22 +09:00
Michael Stefaniuc 819d25a717 dmstyle: Use the generic IPersistStream for DMCommandTrack. 2015-07-01 19:18:22 +09:00
Michael Stefaniuc 28b606b0f3 dmstyle: Remove the extraneous IUnknown from DMCommandTrack.
Also lock/unlock the module only on creation/destruction of the object.
2015-07-01 19:18:21 +09:00
Michael Stefaniuc 29e9988bf0 dmstyle: COM cleanup for IDirectMusicTrack8 of DMCommandTrack. 2015-07-01 19:18:21 +09:00
Michael Stefaniuc 040b398997 dmstyle: Pass objects instead of ifaces to helpers. 2015-07-01 19:18:21 +09:00
Aric Stewart 098efa1edc hid: Implement HidP_GetScaledUsageValue. 2015-07-01 19:18:20 +09:00
Aric Stewart 1174fc63ad hid: Implement HidP_MaxUsageListLength. 2015-07-01 19:18:20 +09:00
Aric Stewart 674080da91 hid: Implement HidD_GetAttributes. 2015-07-01 19:18:19 +09:00
Aric Stewart eac15cae71 hid: Implement HidD_GetInputReport. 2015-07-01 19:18:19 +09:00
Aric Stewart 5b790bde5e hid: Implement HidD_GetPreparsedData and HidD_FreePreparsedData. 2015-07-01 19:18:18 +09:00
Aric Stewart 30480a2369 hid: Implement HidP_InitializeReportForID. 2015-07-01 19:18:18 +09:00
Aric Stewart ecc6196508 hid: Implement HidP_GetUsageValue. 2015-07-01 19:18:18 +09:00
Aric Stewart 8bb231c4ae hid: Implement HidP_GetUsages. 2015-07-01 19:18:17 +09:00
Aric Stewart 0bb216ff35 hid: Implement HidP_GetValueCaps. 2015-07-01 19:18:17 +09:00
Aric Stewart b183dc3d6e hid: Implement HidP_GetButtonCaps. 2015-07-01 19:18:17 +09:00
Aric Stewart 1e1599d961 hid: Implement HidP_GetCaps. 2015-07-01 19:18:16 +09:00
Sebastian Lackner b75d7f064c ntdll/tests: Add threadpool scheduler tests for work items. 2015-07-01 19:18:16 +09:00
Sebastian Lackner 17cd2a8b24 ntdll/tests: Add basic tests for threadpool work items. 2015-07-01 19:18:16 +09:00
Sebastian Lackner e4c38f6bad ntdll: Implement threadpool work item functions. 2015-07-01 19:18:15 +09:00
Sebastian Lackner 3606b47139 ntdll/tests: Add tests for TpAllocCleanupGroup and related functions. 2015-07-01 19:18:15 +09:00
Sebastian Lackner 68d92bceed ntdll: Implement threadpool cleanup group functions. 2015-07-01 19:18:14 +09:00
Sebastian Lackner 7d9ec31e19 ntdll: Implement TpSetPoolMinThreads. 2015-07-01 19:18:14 +09:00
Sebastian Lackner d56984a03d ntdll: Implement TpSetPoolMaxThreads. 2015-07-01 19:18:13 +09:00
Sebastian Lackner db9fc9141e ntdll: Implement TpSimpleTryPost and basic threadpool infrastructure. 2015-07-01 19:18:13 +09:00
Zhenbo Li b6cf265317 mshtml: Add IHTMLXMLHttpRequest::readyState property implementation. 2015-07-01 19:18:13 +09:00
Zhenbo Li d6b92300af mshtml: Add IHTMLXMLHttpRequest:open() method implementation. 2015-07-01 19:18:12 +09:00
Zhenbo Li deb884a6d8 mshtml: Add IHTMLXMLHttpRequestFactory::create() method implementation. 2015-07-01 19:18:12 +09:00
Daniel Lehman bfafef4e2f msvcp110: Add export for facet dtor. 2015-07-01 19:18:12 +09:00
Daniel Lehman 1ee74905bb msvcp90: Make argument to _Locinfo__Getdays/months const. 2015-07-01 19:18:11 +09:00
Bernhard Übelacker b4ded3d774 mpr: Call RegEnumValueA with valid value parameter. 2015-07-01 19:18:11 +09:00
Bernhard Übelacker d1ca4e87c3 mpr/tests: Add tests for WNetCachePassword and friends. 2015-07-01 19:18:10 +09:00
Bernhard Übelacker a1dbf4d78b msi: Remove shortcut which calls RegEnumValueW with value and val_count as NULL. 2015-07-01 15:19:13 +09:00
Bernhard Übelacker db5f235a8b msi/tests: Test MsiSourceListEnumMediaDisks with volumeLabel and diskPrompt as NULL. 2015-07-01 15:19:09 +09:00
Sebastian Lackner e5f57e6342 windowscodecs: Fix build failure on OSX. 2015-07-01 15:12:44 +09:00
Jacek Caban 6b205e41cf msscript.ocx: Added IScriptControl stub implementation. 2015-07-01 00:02:28 +09:00