Commit graph

164968 commits

Author SHA1 Message Date
Rémi Bernon 5b11157ecf explorer: Use wide string literals. 2023-06-26 16:47:11 +02:00
Rémi Bernon 43fd81b3a5 explorer: Use unprefixed debug macros. 2023-06-26 16:47:11 +02:00
Rémi Bernon 240bdd5772 explorer: Use CRT allocation functions. 2023-06-26 16:47:11 +02:00
Maarten De Braekeleer 5e2f9996ba cmd: Fix 'if exist' with a directory/ as a parameter.
'if exists' takes a parameter which can be directory, directory/,
directory/. directory\ or directory\. for example, and should equate
to true if the directory exists. The syntax directory\ is explicitly
rejected by FindFirstFile and hence was not working - look for this
specific case, and if found append a '.'.

Follow-up commit of bc9d68bcbe

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55130#add_comment
2023-06-26 16:44:17 +02:00
Jacek Caban dcf0bf1f38 ntdll: Inherit ConsoleHandle only by CUI processes. 2023-06-26 15:04:26 +02:00
Davide Beatrici 5716a20d72 wineoss: Use mmdevapi's AudioClient's Initialize. 2023-06-26 15:04:21 +02:00
Davide Beatrici f5d8920239 winecoreaudio: Use mmdevapi's AudioClient's Initialize. 2023-06-26 15:04:21 +02:00
Davide Beatrici 964356e932 winealsa: Use mmdevapi's AudioClient's Initialize. 2023-06-26 15:04:21 +02:00
Davide Beatrici a15a066a09 winepulse: Move AudioClient's Initialize into mmdevapi. 2023-06-26 15:04:21 +02:00
Davide Beatrici a1cbc47bbc wineoss: Use standard allocator in AudioClient's Initialize. 2023-06-26 15:04:21 +02:00
Davide Beatrici 92a251a9af winecoreaudio: Use standard allocator in AudioClient's Initialize. 2023-06-26 15:04:21 +02:00
Davide Beatrici fbb1e18529 winealsa: Use standard allocator in AudioClient's Initialize. 2023-06-26 15:04:21 +02:00
Rémi Bernon 7cc24be079 mfplat: Use QueryPerformanceCounter in MFGetSystemTime. 2023-06-26 15:04:02 +02:00
Fabian Maurer 0ce5584acc widl: Don't crash on nameless structs.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49772
2023-06-26 15:00:58 +02:00
Alexandre Julliard c13e7ae474 Release 8.11. 2023-06-23 23:17:45 +02:00
Eric Pouech 16f538a1c9 winedump: Tidy up print out in minidumps.
- adjust hex/decimal print out
- use internal helpers

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-06-23 22:48:18 +02:00
Gabriel Ivăncescu 38f6eb34b8 jscript: Properly handle passing undefined value to Number.toString in ES5+ mode.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-23 22:48:18 +02:00
Gabriel Ivăncescu 3d04d052cd jscript: Properly handle passing undefined value to Number.toPrecision.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-23 22:48:18 +02:00
Gabriel Ivăncescu 1f4cdeeeac jscript: Always create detached variable objects with no class.
As it is done in exec_source. This matters as we actually have a check in
exprval_call that relies on this (because scope variable objects must never
be exposed).

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-23 22:48:18 +02:00
Gabriel Ivăncescu 4a78b9914f jscript: Don't use detached arguments buffer in html mode.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-23 22:48:18 +02:00
Gabriel Ivăncescu 963be08bcc jscript: Store ref to scope directly instead of frame in arguments object.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-23 22:48:18 +02:00
Gabriel Ivăncescu 898b705e83 jscript: Don't expose Function.prototype.arguments in non-html mode.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-23 22:48:18 +02:00
Gabriel Ivăncescu a4c2f6ab72 jscript: Throw error when accessing arguments prop of bind functions.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-23 22:48:18 +02:00
Gabriel Ivăncescu 426f4bb3ea jscript: Implement caller for function instances and prototype.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-06-23 22:48:18 +02:00
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