Alex Henrie
57ce3b9190
include: Annotate WlanAllocateMemory with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC).
2022-12-01 10:24:15 +01:00
Alex Henrie
6136b54757
services: Use standard C functions for memory allocation.
2022-12-01 10:24:10 +01:00
Anton Baskanov
4192ee2657
winegstreamer: Register MPEG layer-3 decoder.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-12-01 10:21:35 +01:00
Anton Baskanov
5d8ef3ffe9
quartz/tests: Add tests for MPEG layer-3 decoder quality control.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-12-01 10:21:35 +01:00
Anton Baskanov
ac83c31e96
quartz/tests: Add tests for MPEG layer-3 decoder streaming events.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-12-01 10:21:35 +01:00
Anton Baskanov
dce5f731a2
quartz/tests: Add tests for MPEG layer-3 decoder sample timestamps.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-12-01 10:21:35 +01:00
Anton Baskanov
54a59330a6
quartz/tests: Add tests for MPEG layer-3 decoder sample processing.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-12-01 10:21:35 +01:00
Anton Baskanov
64359796e9
quartz/tests: Add tests for MPEG layer-3 decoder source connection.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-12-01 10:21:35 +01:00
Ziqing Hui
23b72ad133
wmvcore/tests: Test subtype and formattype for IWMMediaProps.
...
We can see that subtype returned by IWMMediaProps is different from
the one returned by IWMOutputMediaProps.
2022-12-01 10:20:58 +01:00
Rémi Bernon
83f77d02c1
wmvcore/tests: Test changing compressed samples dynamically.
2022-12-01 10:20:28 +01:00
Rémi Bernon
bd747f22c3
wmvcore/tests: Test user time granularity and delivered pts.
2022-12-01 10:20:27 +01:00
Rémi Bernon
35991d9d94
wmvcore/tests: Track and check last and next output pts.
2022-12-01 10:20:27 +01:00
Rémi Bernon
31a08b84ce
wmvcore/tests: Test OnTime callback events synchronously.
2022-12-01 10:20:27 +01:00
Rémi Bernon
ce64755578
wmvcore/tests: Fix OnStreamSample stream number checks.
2022-12-01 10:20:27 +01:00
Rémi Bernon
debe249ae9
wmvcore/tests: Test that a unique read thread is involved.
...
And that it also allocates the samples.
2022-12-01 10:20:25 +01:00
Rémi Bernon
5e70f1cfaf
wmvcore: Move async reader from winegstreamer/wm_asyncreader.c.
2022-12-01 10:20:14 +01:00
Nikolay Sivov
30c33c2f98
d3d10/effect: Add sin/cos instruction support for expressions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-30 23:32:37 +01:00
Nikolay Sivov
8dcadad5c0
d3d10/effect: Add 'mul' instruction support for expressions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-30 23:32:36 +01:00
Nikolay Sivov
eb3e4b79ac
d3d10/effect: Add 'neg' instruction support for expressions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-30 23:32:34 +01:00
Nikolay Sivov
854ecc773c
d3d10/effect: Add min/max instructions support for expressions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-30 23:32:33 +01:00
Nikolay Sivov
9a4f1bb229
d3d10/effect: Remove unused field from property description data.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-30 23:32:31 +01:00
Gabriel Ivăncescu
4376a8c709
include/mshtmhst: Add CGID_ScriptSite and CMDIDs for it.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-30 20:48:20 +01:00
Gabriel Ivăncescu
a431aa42b0
mshtml/tests: Expect UpdateUI, Exec_UPDATECOMMANDS and Exec_SETTITLE in edit mode.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53530
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-30 20:48:20 +01:00
Gabriel Ivăncescu
823a4414f2
mshtml/tests: Allow BINDINFO_OPTIONS_ENABLE_UTF8 in bind options.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52910
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-30 20:48:20 +01:00
Gabriel Ivăncescu
8cb7dc2e40
mshtml: Don't lock document mode when querying IEventTarget.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-30 20:48:20 +01:00
Gabriel Ivăncescu
2e4721ac8f
jscript: Pass correct 'this' to host objects in ES5 mode.
...
For some reason, only pure js objects are passed in mshtml's jscript engine.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-30 20:48:20 +01:00
Gabriel Ivăncescu
144479afa1
mshtml: Send load event synchronously for img elements that loaded instantly in legacy modes.
...
Otherwise, script56.chm's javascript will keep reloading the image and
triggering onload events non-stop. It protects against this using a variable
"noReentry", which is only set temporarily while setting the source, so it
expects it to be triggered synchronously.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53927
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-30 20:48:20 +01:00
Gabriel Ivăncescu
ce54f50feb
mshtml: Keep a ref to the window during the doc nsevent handlers.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53999
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-30 20:48:20 +01:00
Ivo Ivanov
46360dd732
wineusb.sys: Move event handling to a single thread.
...
Also fixes a segmentation fault on exit of winedevice.exe.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52213
2022-11-30 20:48:20 +01:00
Zebediah Figura
f5ce9f6312
wined3d: Use unsigned int for "refcount" variables.
2022-11-30 20:48:20 +01:00
Robert Wilhelm
39058487ec
vbscript: Handle "case" statements without separators.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53678
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-30 20:48:20 +01:00
Rémi Bernon
4979ae5a94
kernelbase: Restore HEAP_REALLOC_IN_PLACE_ONLY usage in LocalReAlloc.
...
This effectively reverts 2be9b0ff4a
, which
incorrectly removed the flag, when the reallocation failures the tests
showed were coming from an underlying LFH in-place reallocation failure.
Thus, it restores todo_wine where appropriate while removing other todos
for sizes outside of the LFH block size range.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53996
2022-11-30 20:38:27 +01:00
Rémi Bernon
a568704c32
kernel32/tests: Add more GlobalReAlloc tests with larger size.
...
In place reallocation is possible, although it depends on the underlying
heap strategy. The LFH heap usually fails as it doesn't blocks to grow
or shrink out of their size class. Larger block (LFH is limited to 16K
blocks), more often allow in-place reallocation, and some native DLLs
depend on this.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53996
2022-11-30 20:38:27 +01:00
Rémi Bernon
b793367c67
kernel32/tests: Make sure the LFH is enabled for some sizes.
...
Making the GlobalReAlloc tests more sensible, as they fail to reallocate
when the block was allocated with the LFH and the new size wouldn't.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54012
2022-11-30 20:38:27 +01:00
Rémi Bernon
a51e2a3f94
ntdll: Move delayed free support out of heap_free.
2022-11-30 20:38:27 +01:00
Rémi Bernon
cbe3fb89d2
ntdll: Move large block free out of heap_free.
2022-11-30 20:38:27 +01:00
Rémi Bernon
523d4cc416
ntdll: Move large block alloc out of heap_allocate.
2022-11-30 20:38:27 +01:00
Rémi Bernon
a7fda2f8cb
ntdll: Make realloc implementation more generic.
...
Either resizing a block in place, or reallocating through RtlHeap calls.
2022-11-30 20:38:27 +01:00
Rémi Bernon
ce450253bd
ntdll: Return the old data size from heap_reallocate.
2022-11-30 20:38:27 +01:00
Rémi Bernon
4334c5b0c1
ntdll: Move large block resize in heap_reallocate.
2022-11-30 20:38:27 +01:00
Rémi Bernon
0c5f9e8d4e
ntdll: Merge next free block before resizing in heap_reallocate.
2022-11-30 20:38:27 +01:00
Connor McAdams
c0360db561
uiautomationcore: Add UiaAddEvent stub.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-11-30 20:38:27 +01:00
Connor McAdams
41736eb554
uiautomationcore: Add UiaEventRemoveWindow stub.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-11-30 20:38:27 +01:00
Connor McAdams
9ea53ec2f6
uiautomationcore: Add UiaEventAddWindow stub.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-11-30 20:38:27 +01:00
Connor McAdams
922706bd1e
uiautomationcore: Add UiaRemoveEvent stub.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-11-30 20:38:27 +01:00
Michael Stefaniuc
b58c88d14d
dmstyle: Move a struct declaration to the file it is used in.
...
And get rid of the typedef for that struct.
2022-11-30 20:38:27 +01:00
Michael Stefaniuc
44400613cb
dmstyle: Get rid of a no longer used function.
2022-11-30 20:38:27 +01:00
Michael Stefaniuc
25de40af07
dmstyle: Simplify parsing of a style reference list.
...
Avoids adding an invalid style reference to the list with subsequent
crash on release.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53941
2022-11-30 20:38:27 +01:00
Michael Stefaniuc
8881ada9c9
dmstyle: Simplify parsing of a style track list.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53941
2022-11-30 20:38:27 +01:00
Matteo Bruni
72597b170e
wined3d: Don't use separate GL contexts for different swapchains.
...
This avoids triggering a Mesa slowpath introduced
by Mesa commit e7f3a8d6959c74f63c877dd8776fe519d54f946f.
Additionally, it helps applications using multiple swapchains and
queries (e.g. the one in bug 43773) by not requiring extra context
switches when polling queries. For the records, the actual issue from
bug 43773 was probably fixed a long time ago, maybe already by
7b62a970e9
or thereabouts.
The downside of this change is that we'll now end up calling
glFinish() when there are multiple threads using the same device when
CSMT is disabled. That's a non-default setting and one that should
only be used for troubleshooting purposes at this point, so it
shouldn't be too bad of an issue. It might also make sense to just get
rid of that glFinish() entirely, it's never going to be a complete
fix.
2022-11-30 20:38:27 +01:00