Nikolay Sivov
6839d8cba3
d3d10/effect: Implement default values handling.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 11:36:43 +02:00
Nikolay Sivov
3a975ebcd7
d3d10/tests: Extend default values test.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 11:36:40 +02:00
Nikolay Sivov
cfd93716ef
d3d10/effect: Remove interface vs implementation pointer comparsion in buffer variable's IsValid().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 11:36:38 +02:00
Nikolay Sivov
48759a68bb
d3d10/effect: Implement GetConstantBuffer().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 11:36:36 +02:00
Matteo Bruni
5b9407db48
d3d10/effect: Create variable buffer before parsing buffer members.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 11:36:33 +02:00
Nikolay Sivov
74e007175f
d3d10/effect: Use data_size of the variable as buffer size.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 11:36:30 +02:00
Nikolay Sivov
59b01089a2
d3d10/effect: Fix buffer offsets for members and array elements.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 11:36:28 +02:00
Nikolay Sivov
c702e19903
d3d10/effect: Return when effect creation fails.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 11:36:25 +02:00
Nikolay Sivov
db1361ebb0
d3dx9/tests: Add some tests for constant descriptions in texture shaders.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 11:36:10 +02:00
Ziqing Hui
1a35f589c3
d3dx10/tests: Add tests for D3DX10CreateTextureFromResource{A, W}.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 11:35:45 +02:00
Ziqing Hui
133fa91a81
d3dx10/tests: Add tests for D3DX10CreateTextureFromFile{A, W}.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 11:35:43 +02:00
Matteo Bruni
ba149e1296
d3dx10/tests: Only accept D3DX10_IFF_WMP tests failure on Windows.
...
Since eb0180e7b4
we're guaranteed to
have support for the format in Wine.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 11:35:38 +02:00
Paul Gofman
e73bb07ff5
ntdll: Fix alignment mask size in RtlInitializeExtendedContext2().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 22:52:00 +02:00
Nikolay Sivov
cd36dd3105
mfplay: Trace normalized rectangle arguments.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 22:52:00 +02:00
Andrew Eikum
7980d049e8
evr/presenter: Invalidate media type on destination rectangle change.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 22:52:00 +02:00
Nikolay Sivov
a1c057c9a7
evr/presenter: Remove scaling by zoom rectangle.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 22:52:00 +02:00
Piotr Caban
c2297eb4f3
vcomp: Add _vcomp_for_static_simple_init_i8 implementation.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43546
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48377
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 22:52:00 +02:00
Piotr Caban
750ef2a5fb
vcomp: Add _vcomp_for_static_init_i8 implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 22:52:00 +02:00
Huw Davies
a75c1aa78e
winspool: Move the default page size query to cups.c.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 18:31:13 +02:00
Huw Davies
f519535879
winspool: Move ppd retrieval to cups.c.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 18:31:07 +02:00
Huw Davies
5a163d5537
winspool: Move CUPS printer enumeration to cups.c.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 18:30:57 +02:00
Huw Davies
9d8bf3bf96
winspool: Call the ppd retrieval function from add_printer_driver().
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 18:30:50 +02:00
Huw Davies
e432c1cd30
winspool: Remove support for parsing /etc/printcap.
...
This is extremely obsolete and doesn't provide the location
of the ppd file anyway.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 18:30:31 +02:00
Huw Davies
4bb4d90c70
winspool: Move loading of libcups to cups.c.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 18:30:10 +02:00
Alexandre Julliard
1b9ada6cab
ntdll: Remove math functions from the unixlib interface.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Alexandre Julliard
2e4c090c5e
ntdll: Copy sqrt() implementation from msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Alexandre Julliard
140cd3553c
ntdll: Copy pow() implementation from msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Alexandre Julliard
0c0915e985
ntdll: Copy log() implementation from msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Alexandre Julliard
90bd048786
ntdll: Copy tan() implementation from msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Alexandre Julliard
e4737d285b
ntdll: Copy sin() and cos() implementation from msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Alexandre Julliard
9eb3adbc85
ntdll: Copy fabs() implementation from msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Alexandre Julliard
f0d3a7d33b
ntdll: Copy floor() implementation from msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Alexandre Julliard
fca34420f6
ntdll: Copy ceil() implementation from msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Alexandre Julliard
bb9e068bab
ntdll: Copy atan() implementation from msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Alexandre Julliard
c7454eef0b
ntdll: Move math functions to a separate file.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Rémi Bernon
bbff12381e
dinput: Call hid_joystick_enum_device directly in JoyConfig8Impl_GetConfig.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Rémi Bernon
5726c77faa
dinput: Call hid_joystick_enum_device directly in EnumDevicesBySemantics.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Rémi Bernon
a83e6db353
dinput: Call *_create_device directly in IDirectInput7WImpl_CreateDeviceEx.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Rémi Bernon
8932f53947
dinput: Canonicalize code style of IDirectInput7WImpl_CreateDeviceEx.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Rémi Bernon
591be9d456
dinput: Call *_enum_device directly in IDirectInputWImpl_EnumDevices.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Rémi Bernon
8c257d0ca8
dinput: Canonicalize code style of IDirectInputWImpl_EnumDevices.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Rémi Bernon
2c95bb3704
dinput8/tests: Relax test results for 3 buttons mouse.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51913
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Huw Davies
be59553410
wmc: Remove struct and enum typedefs.
...
This has the side effect of fixing the build on macOS after
commit 2c1b815363
.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Zebediah Figura
87e4c289e4
winegstreamer: Implement IWMProfile::GetStreamCount().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Zebediah Figura
51b6d45503
winegstreamer: Create a winegstreamer parser object in wm_reader_open_stream().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Zebediah Figura
c76418fbfd
winegstreamer: Add a basic implementation of IWMSyncReader::OpenStream().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Zebediah Figura
b51bfccd89
wmvcore/tests: Add tests for synchronous reader media types.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-26 10:39:34 +02:00
Dmitry Timoshkov
ababea0fd7
user32: DragDetect() should enter its message loop only if the left mouse button is pressed.
...
There's an application that calls DragDetect() on every WM_MOUSEMOVE
message, and this breaks handling of mouse events. A simple test app
shows that on Windows DragDetect() starts its message loop when left
mouse button is pressed.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 23:05:47 +02:00
Alistair Leslie-Hughes
35532015cb
msdasql/tests: Initial tests.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 23:05:47 +02:00
Alistair Leslie-Hughes
6e351769f8
msdasql: Add IDBInitialize support.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 23:05:17 +02:00