Zebediah Figura
30fd3019e1
server: Allow opening the Afd device with a file name.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50974
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-25 09:31:28 +02:00
Zebediah Figura
4fe9055499
ws2_32/tests: Add some tests for opening the Afd device.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-25 09:31:16 +02:00
Zebediah Figura
d2259665b4
user32: Blit the right bitmap when stretching monochrome icons in CopyImage().
...
Fixes: beb70a79e1
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-25 09:30:05 +02:00
Zebediah Figura
94eb8d3646
d3d11/tests: Add some tests for UpdateSubresource() on a deferred context.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 22:38:51 +02:00
Zebediah Figura
7f181bba1d
d3d11/tests: Add some tests for Map() on deferred contexts.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 22:38:48 +02:00
Zebediah Figura
57fc75b3ef
wined3d: Check for SRV/RTV binding conflicts per wined3d_state.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 22:38:46 +02:00
Zebediah Figura
1a9400bcc9
d3d11/tests: Add a couple of extra tests for SRV/RTV conflict.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 22:38:43 +02:00
Hans Leidekker
ff5982fcf1
webservices: Properly initialize messages.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 22:03:51 +02:00
Hans Leidekker
be940a00d9
webservices: Buffer whole messages to be sent.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 22:03:51 +02:00
Ziqing Hui
90b6051f4e
windowscodecs/tests: Add more test data for IWICDdsEncoder_SetParameters.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 22:03:51 +02:00
Ziqing Hui
4da05a4f6d
windowscodecs/tests: Introduce create_and_init_encoder.
...
We can't reuse same encoder object for all images. So we should create
a new encoder object for each test.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 22:03:51 +02:00
Alexandre Julliard
0913e43bf9
taskmgr: Fetch the debug channels from the PEB memory block.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 22:03:51 +02:00
Alexandre Julliard
1e5eee0fc3
ntdll: Fetch the debug channels from the PEB memory block on the PE side.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 22:03:44 +02:00
Alexandre Julliard
d389da0953
ntdll: Store debug options in the PEB memory block.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 21:37:49 +02:00
Alexandre Julliard
4e8fcc41ca
ntdll: Replace __wine_make_process_system by a Wine-specific NtSetInformationProcess() class.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 18:31:27 +02:00
Jiangyi Chen
d7b9b306cb
gdi32: Delete the external font reg key when face's name matches but the file path does not.
...
Signed-off-by: Jiangyi Chen <chenjiangyi@uniontech.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 14:10:12 +02:00
Jactry Zeng
3e08cebeee
riched20/tests: Test ITextServices_TxGetText() with OLE obejct.
...
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:42:37 +02:00
Jactry Zeng
db7964bb2c
riched20/tests: Test IRichEditOle_InsertObject() with specified character position.
...
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:42:37 +02:00
Jactry Zeng
919ff18629
riched20/tests: Add INSERT_REOBJECT() for simplifying tests of IRichEditOle_InsertObject().
...
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:42:37 +02:00
Jactry Zeng
99753d0c64
riched20/tests: Simplify tests of IRichEditOle_InsertObject() by improving CHECK_REOBJECT_STRUCT().
...
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:42:37 +02:00
Nikolay Sivov
093d0a85a8
mfplat/allocator: Apply default bindflags only for RGBA formats.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:42:37 +02:00
Rémi Bernon
c27b2461a4
kernelbase: Don't strip leading dots in relative paths.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49315
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:42:37 +02:00
Zebediah Figura
0da35c26a1
user32: Implement InternalGetWindowIcon().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47915
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:42:37 +02:00
Zebediah Figura
5df5972f9a
user32: Reimplement CopyIcon() on top of CopyImage().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:42:37 +02:00
Zebediah Figura
beb70a79e1
user32: Implement stretching of cursor and icon objects in CopyImage().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:42:37 +02:00
Zebediah Figura
db2b266c57
user32: Handle monochrome icons in CreateIcon() and CreateCursor() instead of CreateIconIndirect().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:42:37 +02:00
Daniel Lehman
1bfa845a67
ntdll: Silence clang warning.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:42:37 +02:00
Daniel Lehman
cb6a6bb6cf
ntdll/tests: Clean up temp file.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:42:37 +02:00
Piotr Caban
5e34d17530
msvcrt: Import tanf implementation from musl.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:42:37 +02:00
Piotr Caban
14a8e16a44
msvcrt: Import sinf implementation from musl.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:42:37 +02:00
Piotr Caban
8321ce14ad
msvcrt: Import cosf implementation from musl.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:42:37 +02:00
Piotr Caban
73c0d36aa4
msvcrt: Import tan implementation from musl.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:42:37 +02:00
Piotr Caban
88dc2d0e68
msvcrt: Remove cos from unixlib.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:42:37 +02:00
Zebediah Figura
1ed574a03e
ws2_32/tests: Add some tests for IOCTL_AFD_RECV.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:42:37 +02:00
Zebediah Figura
b8f4061df0
ntdll: Implement IOCTL_AFD_RECV.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50366
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:34:32 +02:00
Zebediah Figura
5d3fde087a
ntdll: Move struct async_fileio to unix_private.h.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:32:59 +02:00
Zebediah Figura
97afac469f
ntdll: Avoid accessing the I/O status block in wait_async().
...
Steam uses WSASend() with completion ports, reusing OVERLAPPED structures as
soon as they are returned from GetQueuedCompletionStatus(). Since completion is
queued during the select request in wait_async(), the I/O status block can be
reused even before the call to NtDeviceIoControl exits.
This works fine with current Wine, because WSASend() doesn't access the I/O
status block after queuing completion. However, a patch that changes it to use
wait_async() like other async requests causes NtDeviceIoControlFile to
consistently return garbage status codes.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:32:28 +02:00
Zebediah Figura
a5b6e90d48
server: Don't change the status of an already terminated async.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 11:32:26 +02:00
Alexandre Julliard
9561af9a7d
Release 6.9.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-21 21:18:08 +02:00
Andrew Eikum
5e3758a70f
windowscodecs: Avoid types deprecated in libtiff 4.3.
...
dlls/windowscodecs/libtiff.c:256:5: warning: ‘uint16’ is deprecated [-Wdeprecated-declarations]
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-21 18:11:22 +02:00
Dmitry Timoshkov
13b1e36de0
msxml3: IVBSAXContentHandler::startElement() should also check *namespaceURI for NULL.
...
Like ISAXContentHandler::startElement() does.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-21 18:11:06 +02:00
Dmitry Timoshkov
bbfa8d17f8
msxml3/tests: Add some tests for IVBSAXContentHandler::startElement() and IVBSAXContentHandler::endElement().
...
These are mostly a copy of ISAXContentHandler::startElement() and
ISAXContentHandler::endElement() tests.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-21 18:11:04 +02:00
Alexandre Julliard
036f1f3b83
kernelbase: Fix process access rights in DebugActiveProcess().
...
PROCESS_QUERY_INFORMATION is needed to check the Wow64 status.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-21 18:10:13 +02:00
Alexandre Julliard
771e9260f8
ntdll/tests: Only load RtlWow64GetCpuAreaInfo() on 64-bit.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-21 18:08:45 +02:00
Zebediah Figura
7fb3e57d8e
ws2_32/tests: Add some tests for SO_RCVTIMEO.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-21 08:58:05 +02:00
Zebediah Figura
40e3e959fd
ws2_32/tests: Extend WSARecvMsg() tests a bit.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-21 08:58:03 +02:00
Francois Gouget
2e6ae16469
mstask/tests: Work around race conditions with the task scheduler process.
...
When a task is created the process scheduler locks and loads it. This
can cause ITaskScheduler_Delete() to fail with a sharing violation if
it is called at the wrong time. Just retry a bit later when that
happens.
This fixes failures mostly in Wine but also in Windows 10 from time
to time in both task and task_scheduler.
Signed-off-by: Francois Gouget <fgouget@icodeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-21 08:57:00 +02:00
Francois Gouget
cf85253a9c
user32/tests: Fix the clipboard format id vs. atom table checks.
...
One cannot assume that a random integer has zero chance of being a valid
atom.
Reenable the GlobalFindAtomA() check in a todo_wine.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-21 08:56:33 +02:00
Francois Gouget
33e2b134fa
schedsvc: Fix the spelling of a comment.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-21 08:56:12 +02:00
Piotr Caban
ef91a7c02c
msvcrt: Import cos implementation from musl.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-21 08:55:38 +02:00