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
Alistair Leslie-Hughes
9166906368
msdasql: Support IDBProperties interface.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 23:05:16 +02:00
Alistair Leslie-Hughes
00d2ca25b0
msdasql: Implement MSDASQL provider.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 21:26:40 +02:00
Alistair Leslie-Hughes
a5cee97c7e
msdasql: Register MSDASQL interfaces.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 21:25:44 +02:00
Alistair Leslie-Hughes
48cc6ce421
msdasql: New DLL.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 21:18:42 +02:00
Rémi Bernon
a602bdd326
ntdll: Use the unrolled memset from msvcrt.
...
Although less frequently used, heap allocations are zeroed out with
ntdll memset and they don't benefit from the msvcrt memset optimisation.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 21:16:50 +02:00
Rémi Bernon
7c046c7afd
msvcrt: Write memory forward in memset.
...
Instead of going backward, which breaks the Linux kernel transparent
huge pages allocation assumptions.
This can be reproduced by calling memset on large, newly allocated,
memory regions.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 21:16:29 +02:00
Rémi Bernon
f7ac9f309f
winex11.drv: Accumulate mouse movement to avoid rounding losses.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=38420
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 20:55:00 +02:00
Rémi Bernon
dfa11dc040
winex11.drv: Rename (x|y)_rel_valuator to (x|y)_valuator.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 20:55:00 +02:00
Rémi Bernon
da11387857
winex11.drv: Use XIValuatorClassInfo instead of a custom struct.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 20:55:00 +02:00
Rémi Bernon
7bc5b6800e
winex11.drv: Introduce new map_raw_event_coords helper.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 20:55:00 +02:00
Biswapriyo Nath
f388270b67
include: Add MFVideoAlphaBitmapFlags in evr9.idl.
...
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 18:54:30 +02:00
Alex Henrie
a0f86f4410
dxtrans: Add DllGetClassObject stub.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51917
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 18:54:06 +02:00
Alistair Leslie-Hughes
d09d4d97e0
cng.sys: New dll.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48981
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 18:53:31 +02:00
Piotr Caban
e38f3761f8
msvcrt: Rewrite _popen function.
...
Old implementation was not thread safe, incorrectly copied file
descriptors to child process and was leaking parent pipe fd to child
process.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51719
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 18:53:19 +02:00
Piotr Caban
1420d28cd6
msvcrt: Fix clearing NOINHERIT flag in _dup2.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 18:53:10 +02:00
Zebediah Figura
42d0d8d907
wmvcore/tests: Add some basic tests for streaming with the synchronous reader.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 18:52:49 +02:00
Rémi Bernon
babaf916ab
faudio: Build with -DNDEBUG.
...
Unix version of FAudio uses SDL_assert for its assertions, which is
generally compiled as no-op in release builds. This better matches the
original behavior.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51921
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 18:52:23 +02:00