Zebediah Figura
ef54a8c318
ws2_32: Move the setsockopt(IPV6_ADD_MEMBERSHIP) implementation to ntdll.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:05 +02:00
Martin Storsjo
37b896db48
msvcrt: Convert double (numerically) to UINT64 via INT64, fixing pow() on arm.
...
If converting a negative double to an UINT64, on arm it's clipped
to zero instead of converted to its two's complement form (contrary
to x86).
This fixes cases like pow(2.0, -2.0) on arm/aarch64. Add similar
casts to expf() too which seems to have a similar pattern, even if
it's not known if that case can cause issues or not.
In the original musl source, the converttoint() function returns a
signed int32_t, doing the same double->signed->unsigned conversion,
implicitly.
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:05 +02:00
Martin Storsjo
057ecd41cc
msvcrt: Fix strtof() error reporting for values out of float range.
...
If the values weren't out of range for the internal strtod() call,
we still must mark them as out of range when returning as float.
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:05 +02:00
Martin Storsjo
868c9ee7c9
msvcrt: Add hyperbolic functions NAN tests.
...
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:05 +02:00
Martin Storsjo
07ec052e54
msvcrt: Make the tanh function NAN preserving.
...
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:05 +02:00
Martin Storsjo
11166aa01e
msvcrt: Make the sinh function NAN preserving.
...
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:05 +02:00
Martin Storsjo
60d178b410
msvcrt: Make the cosh function NAN preserving.
...
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:05 +02:00
Martin Storsjo
e93e246719
msvcrt: Make the tanhf function NAN preserving.
...
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:05 +02:00
Martin Storsjo
4fd9daea4a
msvcrt: Make the sinhf function NAN preserving.
...
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:05 +02:00
Martin Storsjo
361143252b
msvcrt: Make the coshf function NAN preserving.
...
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:05 +02:00
Jacek Caban
85e934e4b8
gdi32: Store arc direction in DC_ATTR.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:05 +02:00
Jacek Caban
454b0fcb1e
gdi32: Store text color in DC_ATTR.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:05 +02:00
Jacek Caban
e13e935be3
gdi32: Remove no longer used driver entry points.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:05 +02:00
Jacek Caban
871d14f88b
gdi32: Use get_dc_attr in GetGraphicsMode.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:04 +02:00
Jacek Caban
6a2decc259
gdi32: Move background color to DC_ATTR.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:04 +02:00
Jacek Caban
148a2b60a5
gdi32: Move layout to DC_ATTR.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:04 +02:00
Jacek Caban
c00b231826
gdi32: Use get_dc_attr in SetROP2.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:04 +02:00
Jacek Caban
a0f40f2a3b
gdi32: Move ROP mode to DC_ATTR.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:04 +02:00
Jacek Caban
ed1fbcf75b
gdi32: Move disabled flag to DC_ATTR.
...
And honour it in get_dc_attr.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:04 +02:00
Paul Gofman
bdba5ba5f6
ntdll: Manage TPIO object destruction based on the expected completions.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:04 +02:00
Paul Gofman
4dcc87cfff
ntdll: Clear thread_running flag on exiting ioqueue_thread_proc().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:04 +02:00
Paul Gofman
fa9bbe8a22
ntdll: Only queue IO callback if IO is pending in ioqueue_thread_proc().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:04 +02:00
Paul Gofman
217ae19d03
ntdll: Decrement IO pending count in ioqueue_thread_proc().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:04 +02:00
Alexandre Julliard
90e1907ded
wow64: Add support for file system redirection.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:04 +02:00
Alexandre Julliard
fdd4594554
wow64: Add thunks for some misc file creation syscalls.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:04 +02:00
Alexandre Julliard
011ce0b2ad
wow64: Add thunks for the file async I/O syscalls.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:04 +02:00
Alexandre Julliard
c12abcc2d8
wow64: Add thunks for the file set information syscalls.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 22:07:04 +02:00
Alexandre Julliard
f1d888413f
wow64: Add thunks for the file query information syscalls.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 18:16:50 +02:00
Alexandre Julliard
668b182920
wow64: Add thunks for the file I/O syscalls.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 18:16:50 +02:00
Alexandre Julliard
01ad0993cb
wow64: Add thunks for the file creation syscalls.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 18:16:50 +02:00
Alexandre Julliard
65caa0f2ef
wow64: Implement Wow64AllocateTemp().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-28 15:59:06 +02:00
Hugh McMaster
04d52eb83f
reg: Support use of registry views in the 'copy' operation.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50962
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-27 21:09:49 +02:00
Jacek Caban
99b591582d
gdi32: Use get_dc_attr in SetBkMode.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-27 21:09:49 +02:00
Jacek Caban
4a32a87537
gdi32: Move background mode to DC_ATTR.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-27 21:09:49 +02:00
Jacek Caban
a81d0b97cb
gdi32: Use get_dc_attr in SetTextAlign.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-27 21:09:48 +02:00
Zebediah Figura
e4502cff81
wined3d: Check for failure from wined3d_device_context_require_space() in wined3d_device_context_emit_unmap().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51485
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-27 16:39:55 +02:00
Alexandre Julliard
eb6fcd3cb9
ntdll: Rename the SYSTEM_MODULE and SYSTEM_MODULE_INFORMATION structures.
...
To be consistent with the _EX version.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-27 16:39:55 +02:00
Alexandre Julliard
a9828988e9
ntdll/tests: Add a test for a Wow64-only syscall.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-27 13:48:53 +02:00
Alexandre Julliard
1d457b14a1
wow64: Add thunks for the Wow64-specific virtual memory syscalls.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-27 12:15:07 +02:00
Alexandre Julliard
ee2ee4d1ef
wow64: Add a thunk for the NtQueryVirtualMemory syscall.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-27 12:01:07 +02:00
Alexandre Julliard
e57d500308
wow64: Add thunks for the write watch syscalls.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-27 11:24:33 +02:00
Alexandre Julliard
458b859ddf
wow64: Add thunks for the memory mapping syscalls.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-27 11:21:23 +02:00
Alexandre Julliard
dffe2bf8e2
wow64: Add thunks for the virtual memory syscalls.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-27 11:15:25 +02:00
Zebediah Figura
a06bcd03b9
ws2_32: Move the setsockopt(IP_UNICAST_IF) implementation to ntdll.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-27 10:58:40 +02:00
Zebediah Figura
5819c52f3a
ws2_32: Move the getsockopt(IP_UNICAST_IF) implementation to ntdll.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-27 10:58:38 +02:00
Zebediah Figura
9715bd258c
ws2_32: Move the setsockopt(IP_UNBLOCK_SOURCE) implementation to ntdll.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-27 10:58:34 +02:00
Zebediah Figura
bcf777fd18
ws2_32: Move the setsockopt(IP_TTL) implementation to ntdll.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-27 10:58:30 +02:00
Francois Gouget
a74e2871ab
oleaut32/tests: Add more VarParseNumFromStr() hexadecimal/octal tests.
...
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-27 10:58:24 +02:00
Francois Gouget
fd0a55ce46
oleaut32/tests: Test VarParseNumFromStr()'s handling of LOCALE_SMON*.
...
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-27 10:58:22 +02:00
Hugh McMaster
f1023b4b52
conhost: Popup Attributes should match Character Attributes when creating a new screen buffer.
...
Popup Attributes should match Character Attributes when a new screen
buffer is created. The existing Popup Attributes are copied when
using a pseudo console.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-26 21:44:25 +02:00