Fabian Maurer
5be2a01ce6
imm32: Prevent deadlock on unload.
...
ole32 is delay loaded, which can cause race conditions against
krnl386.exe when unloading.
This is because imm32 tries to get the loader lock while holding the win16 mutex,
and kernel386 does the opposite.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52511
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
2022-11-23 11:03:55 +01:00
Nikolay Sivov
131aa5135b
vbscript/tests: Fix redim tests.
2022-11-23 11:01:47 +01:00
Ziqing Hui
d596f97250
winegstreamer: Implement media_object_GetInputType for WMV decoder.
2022-11-23 11:01:20 +01:00
Ziqing Hui
8844d42428
mf/tests: Test IMediaObject_GetInputType for WMV decoder.
2022-11-23 11:01:20 +01:00
Ziqing Hui
b173aa7a98
winegstreamer: Implement media_object_GetStreamCount for WMV decoder.
2022-11-23 11:01:20 +01:00
Ziqing Hui
9d1c7692f9
mf/tests: Test IMediaObject_GetStreamCount for WMV decoder.
2022-11-23 11:01:20 +01:00
Ziqing Hui
aad791e9e6
winegstreamer: Implement profile_GetStreamByNumber.
2022-11-23 11:01:20 +01:00
Ziqing Hui
64debc9b1d
wmvcore/tests: Add tests for IWMProfile_GetStreamByNumber.
2022-11-23 11:01:20 +01:00
Anton Baskanov
13059c229e
winegstreamer: Set the discontinuity flag in wg_transform.
...
This is required to avoid glitches when seeking, as some formats (e.g.
MP3) may use data from previous frames.
2022-11-23 11:00:43 +01:00
Anton Baskanov
5a80ace060
include: Add MFSampleExtension_Discontinuity to mfapi.h.
2022-11-23 11:00:43 +01:00
Anton Baskanov
9add23322a
winegstreamer: Allocate at least 3 buffers for MPEG audio in quartz parser.
2022-11-23 11:00:43 +01:00
Anton Baskanov
dfb161624f
winegstreamer: Destroy the sample queue when stopping the quartz transform.
...
This releases the samples wg_transform might have referenced before destruction.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53342
2022-11-23 11:00:41 +01:00
Anton Baskanov
b89a01bff8
winegstreamer: Hold the streaming lock while destroying wg_transform.
...
Otherwise, the streaming thread might try to access it while it's being destroyed.
2022-11-23 11:00:40 +01:00
Eric Pouech
4ae5d81932
wined3d: Change return value for *get_emul_mask() to unsigned int.
...
This will simplify changes when using long types.
(and returned values are defined as int:s anyway).
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-23 11:00:16 +01:00
Eric Pouech
f7deca3ae6
wined3d: Use pointer to non long integral type for some helpers.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-23 11:00:16 +01:00
Eric Pouech
767a715d47
wined3d: Use long type for interlock variables/fields.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-23 11:00:16 +01:00
Gerald Pfeifer
1d0383e2a4
ntdll: Make init_builtin_dll return a value on FreeBSD.
...
With commit 1d1690782b
init_builtin_dll
gained a return value, alas the FreeBSD-specific code (under #ifdef)
was not adjusted and still returned void.
2022-11-23 10:59:58 +01:00
Eric Pouech
fbf2301177
dbghelp: Fix typos in codeview_is_type_forward().
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-22 21:51:26 +01:00
Georg Lehmann
8ef4a31116
winevulkan: Update to VK spec version 1.3.235.
2022-11-22 21:51:25 +01:00
Georg Lehmann
3759dbd645
winevulkan: Convert unions when nessecary.
2022-11-22 21:51:25 +01:00
Nikolay Sivov
9e5825ce81
vbscript: Fix a typo in variable name in LBound().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-22 21:10:30 +01:00
Nikolay Sivov
b544bf188c
kernelbase: Forward GetThreadIdealProcessorEx() to ntdll.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-22 18:41:02 +01:00
Nikolay Sivov
cf6705a8ca
kernelbase: Forward thread priority boost functions to ntdll.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-22 18:40:13 +01:00
Nikolay Sivov
9c09288bf6
kernel32/tests: Remove workarounds for SetThreadIdealProcessor().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-22 18:40:13 +01:00
Nikolay Sivov
421b3867e0
kernelbase: Forward SetThreadIdealProcessor() to ntdll.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-22 18:40:13 +01:00
Gabriel Ivăncescu
dd30d429fa
mshtml: Implement performance.timing.msFirstPaint.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-22 18:27:31 +01:00
Gabriel Ivăncescu
72b13c5ab8
mshtml: Implement performance.timing.loadEventStart & loadEventEnd.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-22 18:27:31 +01:00
Gabriel Ivăncescu
6fa4c42608
mshtml: Get rid of useless window check.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-22 18:27:31 +01:00
Gabriel Ivăncescu
35ee108181
mshtml: Implement performance.timing.domContentLoadedEventStart & End.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-22 18:27:31 +01:00
Gabriel Ivăncescu
e0cda0e147
mshtml: Implement performance.timing.domComplete.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-22 18:27:31 +01:00
Gabriel Ivăncescu
ac7a3de155
mshtml: Implement performance.timing.domInteractive.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-22 18:27:31 +01:00
Gabriel Ivăncescu
d0165504be
mshtml: Implement performance.timing.domLoading.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-22 18:27:31 +01:00
Gabriel Ivăncescu
3de9f679d6
mshtml: Implement performance.timing.responseStart & responseEnd.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-22 18:27:31 +01:00
Gabriel Ivăncescu
0118f3608f
mshtml: Implement the remaining pre-response performance.timing props.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-22 18:27:31 +01:00
Gabriel Ivăncescu
020a020df1
mshtml: Implement performance.timing.unloadEventStart & unloadEventEnd.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-22 18:27:31 +01:00
Gabriel Ivăncescu
5db7d0d0ea
mshtml: Implement performance.timing.redirectStart.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-22 18:27:31 +01:00
Gabriel Ivăncescu
fe66c7240a
mshtml: Implement performance.timing.navigationStart.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-22 18:27:31 +01:00
Gabriel Ivăncescu
1dc507d33c
mshtml: Link the performance.timing from the window at creation.
...
This avoids having to keep refs to the window from the performance timing. The
dispex initialization is deferred until it's actually used, however, so it
has the proper compat mode.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-22 18:27:31 +01:00
Gabriel Ivăncescu
88c3fa62ca
mshtml: Fix performance variant leak.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-22 18:27:31 +01:00
Alex Henrie
16fab1a461
ieframe: Use standard C functions for memory allocation.
2022-11-22 18:27:31 +01:00
Biswapriyo Nath
0d294ad265
include: Add Stg functions declaration in propvarutil.h.
2022-11-22 18:27:31 +01:00
Rémi Bernon
03ad947420
kernelbase: Only discard HLOCAL with LMEM_MOVEABLE and if not locked.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53474
2022-11-22 18:27:31 +01:00
Rémi Bernon
28bc3b0703
kernel32: Return success from GlobalReAlloc with locked HGLOBAL pointer.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53474
2022-11-22 18:27:31 +01:00
Rémi Bernon
f43fc5121b
kernelbase: Avoid moving locked HLOCAL pointer without LMEM_MOVEABLE.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53474
2022-11-22 18:27:31 +01:00
Rémi Bernon
c2c6536926
kernelbase: Handle LMEM_DISCARDABLE flag specifically in LocalReAlloc.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53474
2022-11-22 18:27:31 +01:00
Rémi Bernon
86d09091e6
kernelbase: Handle LMEM_MODIFY flag first in LocalReAlloc.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53474
2022-11-22 18:27:31 +01:00
Rémi Bernon
2be9b0ff4a
kernelbase: Don't try in-place HeapReAlloc in LocalReAlloc.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53474
2022-11-22 18:27:31 +01:00
Rémi Bernon
f051444ff8
user32: Call GlobalReAlloc with GMEM_MOVEABLE flag.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53474
2022-11-22 18:27:31 +01:00
Rémi Bernon
6299e8a54c
winemac.drv: Call GlobalReAlloc with GMEM_MOVEABLE flag.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53474
2022-11-22 18:27:31 +01:00
Rémi Bernon
dfd44bb979
riched20: Call GlobalReAlloc with GMEM_MOVEABLE flag.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53474
2022-11-22 18:27:31 +01:00