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
Zebediah Figura
86e521d5bb
ntdll: Fill the I/O status block with the results of the recv_socket call in sock_recv().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-26 20:14:20 +02:00
Zebediah Figura
4c639d6926
ntdll: Fill the I/O status block with the results of the send_socket call in sock_send().
...
The server might change the status. In particular, if we got a short but nonzero
write on a nonblocking socket, try_send() would return STATUS_DEVICE_NOT_READY
and hence leave the I/O status block unfilled. The server subsequently massages
this into STATUS_SUCECSS, causing a garbage size to be eventually returned from
ws2_32 send().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51439
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-26 20:14:18 +02:00
Zebediah Figura
9bc5bc7c66
server: Remove the socket from the polling loop if it was aborted.
...
Don't use rd_shutdown and wr_shutdown to determine this. On the one hand, it's
possible to have pending asyncs even if rd_shutdown && wr_shutdown, which will
be cheerfully completed upon receiving data. On the other hand, RST doesn't
cause WSAESHUTDOWN, but rather WSAECONNRESET.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-26 20:14:16 +02:00
Zebediah Figura
361435f609
server: Remove the socket from the polling loop if both it and the peer have SHUT_WR.
...
Based on a patch by Torge Matthies.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51319
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-26 20:14:14 +02:00
Zebediah Figura
ec07f285e2
server: Separate SD_RECEIVE and hangup conditions.
...
This patch does result in one functional change: if we are selecting for
AFD_POLL_READ on a socket which has had SD_RECEIVE and there are no asyncs, we
will now respond to POLLIN instead of ignoring it. Neither this nor the previous
behaviour matches Windows, which instead puts the socket into an aborted state
and sends RST to the peer if any data is received after SD_RECEIVE or if
SD_RECEIVE is done while there is pending data.
Apart from this there is no functional change, as the places where rd_shutdown
alone is checked can't be reached if there was a hangup. It is instead for
semantic clarity.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-26 20:14:12 +02:00
Zebediah Figura
a9ddbc0cbc
server: Also return STATUS_PIPE_DISCONNECTED for shutdown nonblocking sockets.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-26 20:14:09 +02:00
Esme Povirk
451a54bc7a
mscoree: Update Wine Mono to 6.3.0.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-26 19:42:25 +02:00
Francois Gouget
6e8586ca1b
oleaut32/tests: Use NUMPRS_HEX_OCT instead of hardcoding its value.
...
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-26 19:42:25 +02:00
Francois Gouget
2197bc9a92
winetest: Fix handling of relative -d directories.
...
Convert them to an absolute path so they result in a command line which
is still valid after changing the current directory in CreateProcess().
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-26 19:42:25 +02:00
Akihiro Sagawa
dbf3b3b6bf
midimap: Introduce XP form and prefer it.
...
Since XP form doesn't support channel mappings, old form is
remained for compatiblity.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51505
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-26 19:42:25 +02:00
Akihiro Sagawa
1e02ef4027
midimap: Switch to the midi debug channel.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-26 19:42:25 +02:00