Gabriel Ivăncescu
e748ead5cf
jscript: Use jsstr_empty instead of allocating empty string.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-23 22:48:18 +02:00
Alexandre Julliard
1c13f0e694
wow64: Don't load the 32-bit ntdll as an image to avoid debugger notifications.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55109
2023-06-23 22:48:18 +02:00
Davide Beatrici
58b545fb60
winepulse: Refactor AudioClient's Initialize to match other drivers.
2023-06-23 11:43:49 +02:00
Davide Beatrici
5a79e98046
wineoss: Use create_stream's channel count in AudioClient's Initialize.
2023-06-23 11:43:49 +02:00
Davide Beatrici
546a62087d
winecoreaudio: Use create_stream's channel count in AudioClient's Initialize.
2023-06-23 11:43:48 +02:00
Davide Beatrici
b115d90b9a
winealsa: Use create_stream's channel count in AudioClient's Initialize.
2023-06-23 11:43:48 +02:00
Davide Beatrici
176d6a8be9
winepulse: Use mmdevapi's set_stream_volumes.
2023-06-23 11:43:48 +02:00
Davide Beatrici
694d713d1b
wineoss: Use mmdevapi's set_stream_volumes.
2023-06-23 11:43:48 +02:00
Davide Beatrici
9bd7d848a6
winecoreaudio: Use mmdevapi's set_stream_volumes.
2023-06-23 11:43:48 +02:00
Davide Beatrici
f008d9a964
winealsa: Use mmdevapi's set_stream_volumes.
2023-06-23 11:43:48 +02:00
Eric Pouech
eb1f62bb31
dbghelp: Fix reading Wine loader's base address.
...
Note: the 32bit tests in new wow mode are still marked
todo as the ELF debug header is located above the 4G limit
and "default" module management in dbghelp compiled in 32bit
is (mostly) done with 32 bit addresses.
The correct fix should be to always consider ELF (and macho-O)
modules with 64bit addresses (which means likely to move all
modules handling to 64bit even in 32bit compilations).
But that goes far beyond this patch.
This limitation will only impact debuggers compiled in 32bit,
using 32bit builtin dbghelp on a 32bit debuggee.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55058
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55096
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-06-23 11:28:19 +02:00
Eric Pouech
1ed646ebf6
dbghelp/tests: Add explicit tests about loading ELF modules.
...
Perhaps next time ELF loader is modified, it'll be noticed if it breaks
things.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55058
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55096
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-06-23 11:28:08 +02:00
David Kahurani
60e4f8a261
msi: Convert newlines to alternate representation when exporting.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54532
Signed-off-by: David Kahurani <k.kahurani@gmail.com>
2023-06-23 11:20:32 +02:00
David Kahurani
e1ddc58a25
msi: Reject shorter/longer lines in MsiDatabaseImportA.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54532
Signed-off-by: David Kahurani <k.kahurani@gmail.com>
2023-06-23 11:20:30 +02:00
Alistair Leslie-Hughes
0c5107afe2
wbemdisp: Support DISPATCH_PROPERTYGET in Object Invoke.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55053
2023-06-23 11:20:20 +02:00
Shaun Ren
02081ed6ff
sapi: Implement ISpVoice::Set/GetVolume.
2023-06-23 11:20:14 +02:00
Shaun Ren
5793c57cbc
sapi: Implement ISpVoice::Set/GetRate.
2023-06-23 11:20:14 +02:00
Shaun Ren
1763542393
sapi: Implement ISpVoice::Set/GetVoice.
2023-06-23 11:20:14 +02:00
Shaun Ren
8c6bb3caee
sapi: Implement ISpVoice::SetOutput.
2023-06-23 11:20:12 +02:00
Jacek Caban
9285aa5bb1
configure: Use -fvisibility=hidden when building with msvcrt and cross compiler is not available.
2023-06-22 15:35:35 +02:00
Hans Leidekker
11afc2da02
secur32: Add support for sending TLS alerts.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55086
2023-06-22 15:34:07 +02:00
Gabriel Ivăncescu
aaf051ffff
mshtml/tests: Fix CurrentStyle leak in test_style_filters.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-22 15:33:44 +02:00
Gabriel Ivăncescu
6412d86bda
mshtml: Fix text node leak in OptionElement text setter.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-22 15:33:44 +02:00
Gabriel Ivăncescu
1012b9ba64
mshtml: Fix text node leak in Element innerText setter.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-22 15:33:43 +02:00
Gabriel Ivăncescu
0755a581fd
mshtml: Fix element leaks in get_elem_source_index.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-22 15:33:43 +02:00
Gabriel Ivăncescu
ffb56bf700
mshtml: Fix leaks in create_all_list.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-22 15:33:43 +02:00
Gabriel Ivăncescu
7d8fd7df8f
mshtml: Handle failure and cleanup properly when enumerating nodes.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-22 15:33:43 +02:00
Gabriel Ivăncescu
1bce7be3e1
mshtml: Fix node leak when enumerating nodes.
...
get_node already adds a ref.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-22 15:33:41 +02:00
Gabriel Ivăncescu
21df8bd5aa
mshtml: Fix nsIDOMNode leak when retrieving an item in the node list.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-22 15:33:41 +02:00
Gabriel Ivăncescu
f428c1feb5
mshtml: Fix style declaration leak in HTMLStyle_Create.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-22 15:33:41 +02:00
Gabriel Ivăncescu
77fe549d3e
mshtml: Traverse and unlink AreaElements properly.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-22 15:33:41 +02:00
Tim Clem
1b310a5aba
ntdll: Treat read faults on readable pages as write faults on macOS.
...
Working around a Rosetta bug on Apple Silicon - faults for certain
instructions (e.g. lock cmpxchg8b) are misreported, which can break
VPROT_WRITEWATCH handling.
2023-06-22 10:10:55 +02:00
Tatsuyuki Ishi
9d255d6d0c
win32u: Avoid SEGV in QueryDisplayConfig when run as service.
...
The virtual_monitor used for non-interactive service executions do not have
an adapter set. Avoid segfaulting and poisoning the mutex in such cases.
2023-06-22 10:10:45 +02:00
Rémi Bernon
81859c9af7
configure: Build x86_64 PE code with mcmodel=small.
...
Saving a huge number of .refptr indirections for all extern symbols.
2023-06-21 22:33:30 +02:00
Gabriel Ivăncescu
88903fa674
jscript: Get rid of the function instance in arguments obj.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-21 18:54:51 +02:00
Gabriel Ivăncescu
59372aa98c
jscript: Start from the last argument when adding them to named locals.
...
This is needed for duplicated argument names, as the last arg will shadow
all the prior ones when it comes to name lookup.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-21 18:54:49 +02:00
Gabriel Ivăncescu
1b385fa37c
jscript: Store detached args into a scope's specialized buffer.
...
Rather than using the variable obj for it. Since it's an implementation
detail, the scope's dispex object accesses them using index props (using
same indices as the buffer's).
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-21 18:54:45 +02:00
Gabriel Ivăncescu
e72e8f3ab4
jscript: Don't use iface_to_jsdisp where it's not necessary to grab it.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-21 18:54:45 +02:00
Gabriel Ivăncescu
0e9d221582
jscript: Get rid of jsobj in scope_chain_t.
...
It was confusing and aliased to obj when it was a jsdisp (and shared ref), but
we can obtain that already with helpers as needed (as_jsdisp and to_jsdisp),
no reason to keep it so confusing and a separate field.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-21 18:54:41 +02:00
Gabriel Ivăncescu
08e0ebee49
jscript: Fix function leak in scope_init_locals.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-21 18:54:41 +02:00
Gabriel Ivăncescu
2173cac68e
jscript: Fix addressing invalid memory if ref is an argument.
...
`ref` can be negative in case it refers to an argument. Even though scope !=
frame->base_scope would rule this out (because only base scopes have args),
it was checked *after* the memory access, which would read out of bounds
memory first. This didn't appear as an issue in practice since it's using the
heap pool, so there's probably valid memory before it, but it's still wrong.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-21 18:54:39 +02:00
Gabriel Ivăncescu
a184ace43d
jscript: Correctly implement context for indirect eval calls in ES5+ modes.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-21 18:54:39 +02:00
Rémi Bernon
9b7669592d
win32u: Move virtual desktop display settings logic from winex11.
2023-06-21 18:26:33 +02:00
Rémi Bernon
08fd8ad0b6
win32u: Split default UpdateDisplayDevices implementation to a helper.
2023-06-21 18:26:32 +02:00
Liam Middlebrook
0911d462f9
cmd: Fix empty strings between PATH separators.
...
Previously if an empty string was encountered while parsing out PATH,
cmd.exe would ignore the rest of the PATH entirely.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55097
Signed-off-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
2023-06-21 18:25:48 +02:00
Liam Middlebrook
9aee47f7f6
cmd/tests: Add tests for PATH separator.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55097
Signed-off-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
2023-06-21 18:25:38 +02:00
Paul Gofman
a19c871291
crypt32: Do not create persistent container in CRYPT_CreateKeyProv().
2023-06-21 18:15:43 +02:00
Giovanni Mascellani
e0ce5e331a
dxgi: Rename and split d3d12_swapchain_destroy_buffers().
2023-06-21 18:15:43 +02:00
Giovanni Mascellani
2e556c3245
dxgi: Only create D3D12 resources when necessary.
2023-06-21 18:15:43 +02:00
Giovanni Mascellani
c10e272152
dxgi: Do not destroy D3D12 resources unless requested.
...
This is probably a leftover of when Vulkan swapchain images were
used directly.
2023-06-21 18:15:43 +02:00