Rémi Bernon
e11aa21ac2
d3d11/tests: Add more SwapDeviceContextState tests.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 20:53:17 +01:00
Jacek Caban
ffecc7f41b
ieframe: Implement SetQueryNetSessionCount.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 15:41:50 +01:00
Nikolay Sivov
9446458f75
mf/session: Add a stub for IMFTopologyNodeAttributeEditor.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 13:47:16 +01:00
Nikolay Sivov
21ae610d14
mfmediaengine: Use consistent format for traces.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 13:47:14 +01:00
Nikolay Sivov
3556990387
mfmediaengine: Force returned playback position after presentation ends.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 13:47:11 +01:00
Nikolay Sivov
67815c2f62
mfmediaengine: Set "ended" state when session presentation ends.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 13:47:08 +01:00
Nikolay Sivov
85a62b3657
mfmediaengine: Use existing helper to update engine state flags.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 13:47:05 +01:00
Nikolay Sivov
39d177b88b
mfmediaengine: Use presentation clock interface from the session.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 13:47:01 +01:00
Nikolay Sivov
be3bab5efb
mf/tests: Use interface check helper more.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 13:46:36 +01:00
Alexandre Julliard
964772bc8e
ntdll: Support the NtCreateDebugObject() flags.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 12:34:46 +01:00
Alexandre Julliard
a24e330b20
ntdll: Implement DbgUiConnectToDbg().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 10:22:39 +01:00
Alexandre Julliard
f7c48da359
ntdll: Implement DbgUiGet/SetThreadDebugObject().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 10:22:39 +01:00
Zebediah Figura
b629212452
kernel32: Implement SetProcessDEPPolicy().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 10:17:45 +01:00
Zebediah Figura
246e2356e5
kernel32: Implement GetSystemDEPPolicy().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 10:17:43 +01:00
Zebediah Figura
b3d00c3340
wineboot: Set the NXSupportPolicy member of the user shared data to NX_SUPPORT_POLICY_OPTIN.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 10:17:41 +01:00
Zebediah Figura
8c13dde595
winegstreamer: Don't force activate_mode() onto a Wine thread.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 10:17:00 +01:00
Zebediah Figura
1dc7015cdb
winegstreamer: Avoid using Wine debug functions in activate_mode().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 10:16:58 +01:00
Zebediah Figura
8e84f16066
winegstreamer: Don't grab filter_cs in activate_push().
...
There's no good reason to do this; we're not protecting anything that isn't
already protected by GStreamer locks.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 10:16:55 +01:00
Zebediah Figura
5482400a4e
winegstreamer: Do not flush the upstream source pin in activate_push().
...
We don't do this in pull mode (and in general never have; avidemux and wavparse
are two examples of GStreamer elements that don't flush the upstream pad when
deactivating).
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 10:16:52 +01:00
Brendan Shanks
307f5d00f1
loader: On Mac, reserve an area starting at 4GB to force Rosetta's allocations higher.
...
On Apple Silicon, Rosetta allocates memory starting at 0x100000000
(the 4GB line) before the preloader runs.
The .NET 3.5 installer and DirectX Jun2010 redistributable both contain
non-relocatable EXEs with that base address, which fail to run.
The workaround is to create an empty linker section at that address,
which is mapped by the kernel before Rosetta runs and forces Rosetta's
allocations higher in memory.
The linker section runs from 0x100000000-0x114000000.
Rosetta's allocations are ~132MB, and should end below 0x120000000.
This is not an exact science: a non-relocatable EXE with base address
between 0x114000000-0x120000000 will fail to run. If one is discovered,
the section size will need to be changed.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 10:16:48 +01:00
Brendan Shanks
720611e28e
loader: On Mac, move the top-down allocations area down to avoid Rosetta regions.
...
On Apple Silicon, Rosetta's shared cache starts at 0x7ffe00000000 and
the runtime is mapped below that.
Put the top-down allocation area below the runtime with plenty of room
to spare.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 10:16:42 +01:00
Rémi Bernon
4b74eb09a6
include: Add IWMPMedia3 interface to wmp.idl.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 10:16:38 +01:00
Rémi Bernon
90f0542f43
include: Add IWMPMedia2 interface to wmp.idl.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 10:16:36 +01:00
Rémi Bernon
6eb546c12c
include: Add IWmpControls2 interface to wmp.idl.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 10:16:34 +01:00
Rémi Bernon
af1181bbde
include: Add IWMPRemoteMediaServices interface to wmp.idl.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 10:16:28 +01:00
Floris Renaud
f72ef20e88
documentation: Add Dutch README translation.
...
Signed-off-by: Floris Renaud <jkfloris@dds.nl>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 20:40:36 +01:00
Floris Renaud
8c65205d22
documentation: Change obsolete Debian and Red Hat packages.
...
xlib6g-dev on Debian and XFree86-devel on Red Hat no longer exist.
Replaced with: xorg-dev (Debian) and libX11-devel (Red Hat)
Signed-off-by: Floris Renaud <jkfloris@dds.nl>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 20:40:16 +01:00
Damjan Jovanovic
de9238962c
secur32: Implement the SECPKG_ATTR_UNIQUE_BINDINGS context attribute.
...
.NET's System.Data.SqlClient needs this to connect to MSSQL Server.
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 20:39:24 +01:00
Alexandre Julliard
faa9f5be59
server: Store a debug object instead of a debugger thread in the process.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 16:52:25 +01:00
Alexandre Julliard
aec961e529
server: Don't store the debugger thread in debug events.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 10:02:36 +01:00
Alexandre Julliard
3eb95048f4
server: Allocate handles only when returning the debug event to the client.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 09:45:32 +01:00
Brendan Shanks
5fbd40520d
winemac.drv: Handle non-PCI GPUs correctly.
...
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 09:42:58 +01:00
Brendan Shanks
ae319caa3b
winemac.drv: Use Metal to get a display's GPU info if possible.
...
Fixes an Apple Silicon issue where CGDisplayIOServicePort() returns
a fake AMD GPU "compatibility" node rather than the real GPU node.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 09:42:55 +01:00
Zebediah Figura
ac023acce9
ndis.sys: Avoid including ntddndis.h directly.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50426
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 09:42:39 +01:00
Zebediah Figura
d23a474f91
include: Include ntddndis.h in ndis.h.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 09:42:36 +01:00
Zebediah Figura
ed3ed4d8ab
winegstreamer: Make push_data() into a POSIX thread.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 09:42:05 +01:00
Zebediah Figura
f7825f81b6
winegstreamer: Avoid using Wine debug functions in push_data().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 09:42:03 +01:00
Zebediah Figura
b5f0b7901a
winegstreamer: Use request_buffer_src() in push_data().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 09:42:01 +01:00
Zebediah Figura
4a4ac2730e
winegstreamer: Use the "filesize" field in push_data().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 09:41:58 +01:00
Rémi Bernon
1bae17c29e
include: Add VoiceInformation runtimeclass to windows.media.speechsynthesis.idl.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 09:41:51 +01:00
Rémi Bernon
f46c077d5e
widl: Support WinRT runtimeclass type parsing.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 09:41:46 +01:00
Paul Gofman
79d143973b
windowscodecs: Return correct error codes from BmpFrameEncode_GetMetadataQueryWriter().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 09:41:18 +01:00
Paul Gofman
7f88d691ad
windowscodecs: Implement CommonEncoderFrame_GetMetadataQueryWriter().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 09:41:16 +01:00
Paul Gofman
82cab7bb38
windowscodecs: Add IWICMetadataQueryWriter stub interface.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 09:41:09 +01:00
Paul Gofman
c1b10ae3cb
windowscodecs/tests: Add test for metadata writer.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 09:41:06 +01:00
Paul Gofman
85d8cffd30
windowscodecs: Add IWICMetadataBlockWriter stub interface for Gif encoder.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 09:41:03 +01:00
Paul Gofman
77422c4a82
windowscodecs: Add IWICMetadataBlockWriter stub interface.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-28 09:40:59 +01:00
Rémi Bernon
24b9203d35
windowscodecs: Move several helpers to new wincodecs_common.c source.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-27 21:37:26 +01:00
Rémi Bernon
b44fb04759
windowscodecs: Use IWICComponentFactory_CreateQueryReaderFromBlockReader in GetMetadataQueryReader.
...
Instead of MetadataQueryReader_CreateInstance.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-27 21:37:19 +01:00
Zhiyi Zhang
8fad0b146d
gdi32: Report real VREFRESH values for GetDeviceCaps() with display DCs.
...
Even though MSDN says 0 and 1 are both valid and they represent the default refresh rate of display
hardware. Some games rely on the value being the real refresh rate and use it to cap frame rates.
Fix an issue that Sakuna: Of Rice and Ruin reports monitors of 1Hz and cap to 1fps.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-27 21:12:06 +01:00