Commit graph

165181 commits

Author SHA1 Message Date
Davide Beatrici aedd34dd3c winecoreaudio: Use mmdevapi's AudioClient's Release, AddRef. 2023-06-27 11:58:05 +02:00
Davide Beatrici 3c8e2c3276 winealsa: Use mmdevapi's AudioClient's Release, AddRef. 2023-06-27 11:58:05 +02:00
Davide Beatrici f37d21db9d winepulse: Move AudioClient's Release, AddRef into mmdevapi. 2023-06-27 11:58:05 +02:00
Davide Beatrici 33685372dd winepulse: Refactor AudioClient's Release to match other drivers. 2023-06-27 11:58:05 +02:00
Davide Beatrici 5069c2ad90 winecoreaudio: Refactor AudioClient's Release to match other drivers. 2023-06-27 11:58:05 +02:00
Alistair Leslie-Hughes 0f41f29a22 wined3d: Rename shader_extract_from_dxbc to wined3d_shader_extract_from_dxbc.
Stops a linker error of duplicate name when using upstream vkd3d.
2023-06-27 11:51:36 +02:00
Eric Pouech 1d281c620d dbghelp/tests: Don't call SymSetExtendedOption() directly.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55128
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-06-26 20:20:27 +02:00
Jacek Caban a312a8e29a gdi32/uniscribe: Don't use DECLSPEC_HIDDEN. 2023-06-26 20:19:13 +02:00
Jacek Caban a5f62b3ef7 make_unicode: Don't use DECLSPEC_HIDDEN. 2023-06-26 20:19:13 +02:00
Jacek Caban cd56a1c164 gdi32: Don't use DECLSPEC_HIDDEN. 2023-06-26 20:19:13 +02:00
Eric Pouech bbc2a9ab5b dbghelp: Implement SymSrvGetFileIndexInfo for PDB files.
Only done for DS format.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-06-26 16:49:45 +02:00
Eric Pouech f4c1860480 dbghelp: Add tests for SymSrvGetFileIndexInfo() for PDB files.
Add infrastructure to generate fake .PDB files.

Only done in DS format.

I'm not sure we care about JG anymore, DS format has been introduced
by MS in early 2000 to supersede JG, and is still mainstream today).
For the record, LLVM in its PDB handling doesn't support JG format.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-06-26 16:49:45 +02:00
Tim Clem 9874807564 winemac.drv: Don't expect an internal driver message to set last error.
NtUserMessageCall(..., NtUserSendDriverMessage) does not ensure the
validity of the hwnd, so this check will incorrectly fail if the
last error was ERROR_INVALID_WINDOW_HANDLE by coincidence. The
notify_owner call immediately following this code will catch a
destroyed owner hwnd.
2023-06-26 16:47:59 +02:00
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