Commit graph

159639 commits

Author SHA1 Message Date
Kevin Puetz
db94448d97 vbscript: Only set EXCEPINFO strings for cases that map_hres translated.
Add test for E_UNEXPECTED.
2022-09-26 11:36:49 +02:00
Jacek Caban
d8a03ae630 vbscript: Fix handling missing description in EXCEPINFO.
Based on patch by Kevin Puetz.
2022-09-26 11:36:49 +02:00
Aurimas Fišeras
b3ec117b1d po: Update Lithuanian translation. 2022-09-26 11:36:49 +02:00
Paul Gofman
fd3574a162 ntdll: Fix processor package mask in SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX structure.
Fixes a regression introduced by commit
6aa437de6a.
2022-09-26 11:36:49 +02:00
Alexandre Julliard
ad26f04f69 Release 7.18. 2022-09-23 21:59:24 +02:00
Jacek Caban
f664af0bca winevulkan: Use DECLSPEC_ALIGN instead of pshpack4.h. 2022-09-23 15:17:38 +02:00
Jacek Caban
df8fc0b33b winevulkan: Introduce VkVariable. 2022-09-23 15:17:36 +02:00
Rémi Bernon
7384591c71 win32u: Broadcast WM_DISPLAYCHANGE message on display settings change. 2022-09-23 15:16:49 +02:00
Rémi Bernon
59a76b3a86 win32u: Lock display devices mutex in find_adapter. 2022-09-23 15:16:49 +02:00
Rémi Bernon
fa32c2efc7 win32u: Use find_adapter_device_by_(name|id) helpers in find_adapter. 2022-09-23 15:16:49 +02:00
Rémi Bernon
aa1e59390f win32u: Factor out display_device lookup in separate helpers. 2022-09-23 15:16:48 +02:00
Rémi Bernon
3e3beee0b4 winemac.drv: Stop using the cached_modes_mutex for get_default_bpp. 2022-09-23 15:16:48 +02:00
Rémi Bernon
981d59264f win32u: Move enumeration of available modes out of graphics drivers. 2022-09-23 15:16:48 +02:00
Rémi Bernon
6d5041744d user32/tests: Cleanup sysparams WM_DISPLAYCHANGE tests. 2022-09-23 15:16:48 +02:00
Jacob Czekalla
377481180e notepad: Show goto dialog box. 2022-09-23 15:16:48 +02:00
Rémi Bernon
54590472a7 winegstreamer: Avoid accessing NULL pointer if transform didn't provide a sample.
This can happen with asynchronous decoding, such as with the VA-API
decodebin plugin for H264.
2022-09-23 15:14:03 +02:00
Rémi Bernon
96acd9dc32 winegstreamer: Use IWMSyncReader2_SetRange in the async reader. 2022-09-23 15:13:56 +02:00
Rémi Bernon
b8aa25fe4e winegstreamer: Use IWMSyncReader2_OpenStream in the async reader. 2022-09-23 15:13:56 +02:00
Rémi Bernon
1b527e8c7f winegstreamer: Use IWMSyncReader2_Open in the async reader. 2022-09-23 15:13:56 +02:00
Rémi Bernon
1fab216a3a winegstreamer: Use IWMSyncReader2_Close in the async reader. 2022-09-23 15:13:56 +02:00
Rémi Bernon
4a3f170c03 winegstreamer: Use IWMSyncReader2_SetReadStreamSamples in the async reader. 2022-09-23 15:13:56 +02:00
Rémi Bernon
b69717e797 winegstreamer: Use IWMSyncReader2_GetReadStreamSamples in the async reader. 2022-09-23 15:13:56 +02:00
Rémi Bernon
cbd7be3f19 winegstreamer: Implement IWMSyncReader2_GetReadStreamSamples. 2022-09-23 15:13:56 +02:00
Rémi Bernon
e961e082ab winegstreamer: Query the IWMSyncReader2 interface in the async reader. 2022-09-23 15:13:56 +02:00
Rémi Bernon
2c7fdd25e0 mf/tests: Dump image samples with a BMP header and RGB data.
Allowing easier preview of NV12 / I420 images as well.
2022-09-23 15:13:46 +02:00
Rémi Bernon
0402d5b5a8 mf/tests: Rename transform frame dumps to BMP. 2022-09-23 15:13:45 +02:00
Rémi Bernon
ec556ff54b mf/tests: Check all produced output IMFSample at the same time.
Keeping them in a IMFCollection.
2022-09-23 15:13:44 +02:00
Rémi Bernon
05d6bfb311 mf/tests: Factor IMFSample attributes checks in check_mf_sample. 2022-09-23 15:13:43 +02:00
Rémi Bernon
62ae3bcfe3 mf/tests: Factor IMFSample checks in a check_mf_sample helper. 2022-09-23 15:13:43 +02:00
Rémi Bernon
d0478f69c3 mf/tests: Introduce a new dump_mf_sample helper. 2022-09-23 15:13:43 +02:00
Rémi Bernon
d27f2db7d5 mf/tests: Introduce a new load_resource helper. 2022-09-23 15:13:43 +02:00
Rémi Bernon
8381bcb580 mf/tests: Factor IMFTransform_ProcessOutput checks together. 2022-09-23 15:13:43 +02:00
Rémi Bernon
27adb7aa28 mf/tests: Use separate variables for input / output samples. 2022-09-23 15:13:41 +02:00
Eric Pouech
52a83ffe4e avifil32: Fix GCC 12.2 warning (-Warray-bounds).
Since struct _IAVIStreamImpl has a pointer to a WAVEFORMATEX,
GCC 12.2 emits warning when dereferencing that pointer when
the block has been allocated with sizeof(PCMWAVEFORMAT).

The warning is fixed by always allocating with sizeof(WAVEFORMATEX).
This will overallocate in case of a PCM stream.

The alternative would have been to store in struct _IAVIStreamImpl
a pointer to PCMWAVEFORMAT instead, and add the casting to a
WAVEFORMATEX when needed. That would clutter the code IMO since most
of the ACM APIs expect a LPWAVEFORMATEX.

/home/eric/work/wine/dlls/avifil32/acmstream.c: In function 'AVIFILE_OpenCompressor':
/home/eric/work/wine/dlls/avifil32/acmstream.c:105:24: warning: array subscript 'struct tWAVEFORMATEX[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds]
  105 |       This->lpOutFormat->wFormatTag = WAVE_FORMAT_PCM;
      |                        ^~
/home/eric/work/wine/dlls/avifil32/acmstream.c:101:27: note: object of size 16 allocated by 'HeapAlloc'
  101 |       This->lpOutFormat = HeapAlloc(GetProcessHeap(), 0, This->cbOutFormat);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-22 21:09:05 +02:00
Santino Mazza
e8390a102a ntdll/tests: Test for NtRegLoadKey roothandle parameter. 2022-09-22 17:58:16 +02:00
Santino Mazza
8230742016 include: Define REG_APP_HIVE and REG_PROCESS_PRIVATE. 2022-09-22 17:58:12 +02:00
Owen Rudge
283cefe242 secur32: Implement basic functionality for LsaGetLogonSessionData. 2022-09-22 17:57:58 +02:00
Owen Rudge
402b8473c9 secur32/tests: Add tests for LsaGetLogonSessionData. 2022-09-22 17:57:58 +02:00
Witold Baryluk
b819b96617 ntdll: Keep pagemap file open after first use of NtQueryVirtualMemory(MemoryWorkingSetExInformation). 2022-09-22 17:57:32 +02:00
Witold Baryluk
ffab9d9747 ntdll: Use pread in NtQueryVirtualMemory(MemoryWorkingSetExInformation).
1 syscall instead of 2 syscalls. Faster and simpler code.
2022-09-22 17:57:30 +02:00
Witold Baryluk
96a4a2b4c4 ntdll: Do not use hardcoded page shift in NtQueryVirtualMemory(MemoryWorkingSetExInformation). 2022-09-22 17:57:28 +02:00
Witold Baryluk
ee706c3e25 ntdll: Speed up NtQueryVirtualMemory(MemoryWorkingSetExInformation) by conditional page check.
Legends game periodically (every 30 seconds) calls this function
with up to 22k virtual addresses. All but 1 of them is valid. Due to
amount of queries addresses, and cost of seek+read, this causes this
function to take up to about 50ms. So framerate drops from ~150 FPS to
20FPS for about a second.

As far as I can see, returning 0 entries from this function, still makes
Apex Legend work.

But keep code correct, and optimise it by only performing pagemap read
when the address is valid.

This change get_working_set_ex reduces peek wall clock runtime from 57ms
to 0.29ms.

Tested on Linux, but similar change done for the BSD part.

Signed-off-by: Witold Baryluk <witold.baryluk@gmail.com>
2022-09-22 17:57:26 +02:00
Etaash Mathamsetty
e2a5bf7540 ntoskrnl: Implement KeGetCurrentProcessorNumberEx. 2022-09-21 21:29:20 +02:00
Hans Leidekker
7de69f49c6 secur32/tests: Fix test failure caused by expired client certificate. 2022-09-21 21:26:50 +02:00
Hans Leidekker
89225483fe winhttp/tests: Fix test failure caused by expired client certificate. 2022-09-21 21:26:50 +02:00
Paul Gofman
1120a1cb29 crypt32: Support CRYPT_STRING_HEX in CryptStringToBinary(). 2022-09-21 21:26:37 +02:00
Paul Gofman
a79ec1c584 crypt32: Support CRYPT_STRING_HEXRAW in CryptBinaryToStringA(). 2022-09-21 21:26:37 +02:00
Zebediah Figura
cd7a9386ec d3d10core/tests: Ignore random WARP failures in test_pipeline_statistics_query.
This is the d3d10core counterpart to d741742e32.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
2022-09-21 21:26:05 +02:00
Zebediah Figura
d89a017056 d3d11/tests: Use a pixel shader that consumes SV_Position in test_pipeline_statistics_query().
Some drivers (AMD Radeon RX 6700 XT, with radeonsi from Mesa 22.2.0-rc3) emit
less than one invocation per pixel, presumably because they detect that the
shader control flow is uniform for all pixels. Having the control flow depend on
SV_Position avoids this test failure.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
2022-09-21 21:26:03 +02:00
Zebediah Figura
34bd0dd070 d3d10core/tests: Use a pixel shader that consumes SV_Position in test_pipeline_statistics_query().
Some drivers (AMD Radeon RX 6700 XT, with radeonsi from Mesa 22.2.0-rc3) emit
less than one invocation per pixel, presumably because they detect that the
shader control flow is uniform for all pixels. Having the control flow depend on
SV_Position avoids this test failure.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
2022-09-21 21:26:01 +02:00