Commit Graph

132311 Commits (5129c4598227f2d9e24abc8565d24d7874cfb27f)
 

Author SHA1 Message Date
Alexandre Julliard 5129c45982 kernel32: Move resource functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 16:28:17 +02:00
Alexandre Julliard 1f6808f494 kernelbase: Forward functions directly to ntdll where possible.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 16:28:17 +02:00
Alexandre Julliard 918723186b wpp: Get rid of the no longer needed callbacks.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 14:59:40 +02:00
Alexandre Julliard c8d34ef088 d3dcompiler: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 14:59:40 +02:00
Alexandre Julliard 011b2eca46 d3dcompiler: Copy the C preprocessor source into d3dcompiler_43.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 13:33:08 +02:00
Alexandre Julliard 21d91ef04b ntdll: Initialize filesystem redirects before kernel32 is loaded.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 12:36:05 +02:00
Alexandre Julliard 0d48c2e796 ddraw: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 10:00:29 +02:00
Alexandre Julliard d216374962 d3d11: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 10:00:29 +02:00
Alexandre Julliard 19f177360e d3d9: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 10:00:29 +02:00
Alexandre Julliard d2521ce33f d3d8: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 10:00:29 +02:00
Alexandre Julliard 629f2709f1 include: Avoid depending on wine/port.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 10:00:29 +02:00
Dmitry Timoshkov c28af247e9 msvcrt: Add '-norelay' flag for _vsnprintf().
Otherwise for instance +relay,+msi log has msi: traces completely messed up.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 10:00:29 +02:00
Nikolay Sivov 5a33f86ec9 dwrite: Remove unused functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 10:00:29 +02:00
Nikolay Sivov 86c7f17f96 strmbase: Remove unused function.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 10:00:29 +02:00
Zebediah Figura 881f938067 strmbase: Split RenderEvent into separate events for advising and flushing.
While it's certainly possible to use one event for both purposes, it's a
little less clear, and it makes it a little more difficult to do other waits
that need to be interrupted by flushing. For example, the video renderer
should block in Receive() after rendering the sample until the filter is run.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 10:00:29 +02:00
Zebediah Figura f834e4a459 strmbase: Do not set RenderEvent in IBaseFilter::Run().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 10:00:29 +02:00
Zebediah Figura c0712a97a6 strmbase: Wait for the presentation time in BaseRendererImpl_Receive().
Try to make the quality control object more clearly responsible for
calculating quality after the fact, and only that.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 10:00:29 +02:00
Zebediah Figura 659b93c7da strmbase: Rename "evComplete" to "state_event" for clarity.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 10:00:29 +02:00
Zebediah Figura ac10f3de1f strmbase: Remove unused "ThreadSignal" event.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 10:00:29 +02:00
Zebediah Figura bf891f34af ntdll: Correctly fill DataTransferLength in SCSI_PASS_THROUGH and SCSI_PASS_THROUGH_DIRECT.
DataTransferLength specifies the number of bytes transferred, but
sg_io_hdr_t.resid gives the number of bytes *not* transferred:
https://www.tldp.org/HOWTO/SCSI-Generic-HOWTO/x356.html

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47424
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 08:00:13 +02:00
Henri Verbeet 1ba7247a4f wined3d: Unhook swapchains in swapchain_cleanup().
So that the hook is properly removed on failure in wined3d_swapchain_create().
This is a somewhat theoretical though, since in practice
WINED3D_SWAPCHAIN_HOOK and WINED3D_SWAPCHAIN_IMPLICIT are never used together.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 08:00:03 +02:00
Henri Verbeet 3a2a176a7b wined3d: Pass a wined3d_context_gl structure to shader_glsl_generate_ffp_fragment_shader().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 08:00:01 +02:00
Henri Verbeet 9d7ca718e0 wined3d: Pass a wined3d_context_gl structure to find_glsl_geometry_shader().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 07:59:59 +02:00
Henri Verbeet 32dbfda4d5 wined3d: Pass a wined3d_context_gl structure to find_glsl_domain_shader().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 07:59:57 +02:00
Henri Verbeet 62d6520fa6 wined3d: Pass a wined3d_context_gl structure to find_glsl_hull_shader().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 07:59:55 +02:00
Zhiyi Zhang 95be042be3 user32: Cache monitor information.
Multiple applications call EnumDisplayMonitors very frequently.
Reduce most of the overhead by caching.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47431
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 20:42:42 +02:00
Zhiyi Zhang d4115033ef user32: Specify enumerator when calling SetupDiGetClassDevsW.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 20:42:42 +02:00
Zhiyi Zhang cb350fc979 winex11.drv: Specify enumerator when calling SetupDiGetClassDevsW.
This reduces some search time.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 20:42:42 +02:00
Jacek Caban 3ea7ef4098 mshtml: Include URL pathname and query in test traces.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 20:42:42 +02:00
Jacek Caban 2eb40fab19 mshtml/tests: Improve tests exception handling.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 20:42:42 +02:00
Jacek Caban 9adb62cf8b mshtml/tests: Rename elements.js to dom.js.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 20:42:42 +02:00
Nikolay Sivov c5d3ff58c6 mshtml: Add IHTMLDOMRange stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 20:42:42 +02:00
Jacek Caban daf62df9ec mshtml/tests: Merge text range tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 20:42:42 +02:00
Jacek Caban a91ed60f43 mshtml/tests: Introduce set_body_html helper.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 20:42:42 +02:00
Jacek Caban 866880fb76 mshtml/tests: Fix comment tests on recent IE versions.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 20:42:42 +02:00
Alexandre Julliard aa58676ae0 kernel32: Move wait functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 20:42:42 +02:00
Alexandre Julliard bc28ed4c6c kernel32: Move named pipe functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 20:42:42 +02:00
Alexandre Julliard 1834d9e9fe kernel32: Move I/O completion functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:57:16 +02:00
Alexandre Julliard 9585990a46 kernel32: Move condition variable functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:57:13 +02:00
Alexandre Julliard 628d4450cd kernel32: Move file mapping functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:57:09 +02:00
Alexandre Julliard aa7f8e930d kernel32: Move critical section functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:57:06 +02:00
Alexandre Julliard d33d05ce27 kernel32: Move timer queue functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:57:03 +02:00
Alexandre Julliard 8c63d02d5f kernel32: Move waitable timer functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:56:59 +02:00
Alexandre Julliard 591266881c kernel32: Move semaphore functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:56:56 +02:00
Alexandre Julliard 93a5451152 kernel32: Move mutex functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:56:53 +02:00
Alexandre Julliard 558e48aafd kernel32: Move event functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:56:49 +02:00
Alexandre Julliard 2a455ce049 kernel32: Move lstr* string functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:56:46 +02:00
Alexandre Julliard 31083dbaec kernelbase: Get rid of some string helper functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:56:43 +02:00
Hans Leidekker a8745d1211 ntdll: Support NtQuerySystemInformation(SystemFirmwareTableInformation) on macOS.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 14:41:47 +02:00
Nikolay Sivov a07d6070d5 mfplat: Trace MF_PD_DURATION guid.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 14:41:43 +02:00