1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00
Commit Graph

161387 Commits

Author SHA1 Message Date
Alexandre Julliard
90adeb125f ntdll: Export the Unix call dispatcher function pointer. 2022-12-01 11:38:23 +01:00
Alexandre Julliard
0f67dbb50e opengl32: Fix calling convention of Unix call entry points. 2022-12-01 11:38:23 +01:00
Zebediah Figura
5addec3966 wineusb.sys: Do not close the device handle more than once.
Since multiple interfaces can hold onto it, we need to refcount it. In order to
do this just refcount the parent device, and close the handle only when the
parent device refcount reaches 0.
2022-12-01 10:25:29 +01:00
Brendan Shanks
9ab93415f7 loader: In macOS preloader, manually set 'environ' to work around a bug in macOS 12 and later.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54009
2022-12-01 10:25:19 +01:00
Brendan Shanks
588e555425 loader: In macOS preloader, fix up argc/argv in C rather than asm. 2022-12-01 10:25:19 +01:00
Brendan Shanks
4ec770a139 loader: Add comments to 'start' in macOS preloader. 2022-12-01 10:25:19 +01:00
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