Esme Povirk
909ff72892
mscoree/tests: Catch expected exception in loadpaths.exe.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54202
2023-08-29 20:47:54 +02:00
Alexandre Julliard
2ba8129ce0
mscoree: Use nameless unions/structs.
2023-07-14 09:24:05 +02:00
Esme Povirk
629d2d09a0
mscoree: Search the Mono GAC before the appdomain paths.
2023-05-18 09:09:14 -05:00
Esme Povirk
ddc9ef10c9
mscoree: Use updated preload hook function.
2023-05-18 09:09:14 -05:00
Esme Povirk
0a3fe99d2b
mscoree: Update Wine Mono to 8.0.0.
2023-05-18 05:30:36 -05:00
Sven Baars
1b36e9b2fa
mscoree/tests: Remove the parent argument from create_new_dir() (Coverity).
2023-05-08 20:01:17 +02:00
Francois Gouget
c11e923422
mscoree/tests: Avoid temporary directory name collisions.
...
test_loadpaths_execute() was sometimes getting ERROR_ALREADY_EXISTS when
creating its temporary directoryi. That was probably because
GetTempFileNameW() only uses the low 16-bits of the 'random' LUID which
goes over a wider range, potentially leading to collisions in the lower
16-bits.
Avoid AllocateLocallyUniqueId() entirely and add a helper function to
create a guaranteed new directory.
Also try to use the current directory first as it is assumed to have
been configured to ward off anti-virus programs (specifically
Microsoft Defender) which is especially important when writing
executables to that location. Only switch to the system's temporary
directory if the current directory is not a writable location.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54560
2023-03-20 21:01:58 +01:00
Francois Gouget
a8de350493
mscoree/tests: Trace the GetExitCodeProcess() error before it gets lost.
2023-02-27 20:17:30 +01:00
Francois Gouget
c898503e94
mscoree/tests: Trace the error when a Windows API fails.
2023-02-24 22:23:12 +01:00
Mohamad Al-Jaf
7e60043fa2
mscoree: Add StrongNameTokenFromAssembly stub.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53296
2022-11-14 13:13:01 +01:00
Alex Henrie
15cbe49798
mscoree: Use standard C functions for memory allocation in assembly.c.
...
The big win here is getting rid of the reimplementation of wcsdup.
2022-11-10 09:46:23 +01:00
Esme Povirk
4493b10d17
mscoree: Update Wine Mono to 7.4.0.
2022-10-25 18:40:49 +02:00
Rémi Bernon
b883553551
mscoree: Avoid using pointer after free.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-15 11:53:29 +02:00
Esme Povirk
aa0186be62
mscoree: Update Wine Mono to 7.3.0.
2022-06-03 21:42:01 +02:00
Esme Povirk
a6f924f3b8
mscoree/tests: Use wait_child_process for csc process.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
2022-05-23 09:48:48 +02:00
Fabian Maurer
2c405c7468
mscoree: Use LocalFree for memory allocated by LocalAlloc.
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-25 11:32:03 +02:00
Esme Povirk
c943f924cb
mscoree/tests: Create csc.exe process as detached.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 10:50:24 +02:00
Esme Povirk
d971600cae
mscoree/tests: Build loadpaths.exe as GUI instead of CUI.
...
This prevents unnecessary console windows from being created for
it if mscoree_test.exe does not have a console.
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 10:50:22 +02:00
Esme Povirk
1f8eb4a9c2
mscoree: Update Wine Mono to 7.2.0.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 18:40:26 +02:00
Eric Pouech
816395e877
mscoree/tests: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-02 20:17:25 +01:00
Esme Povirk
6a0d678abb
mscoree: Add an override option for skipping the AppDomain search path.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-01 22:41:15 +01:00
Eric Pouech
27d9ca5ea1
mscoree: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-16 08:22:13 +01:00
Esme Povirk
14d37f3fb3
mscoree: Add support for unmanaged classes in .NET Framework.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-02 10:30:12 +01:00
Esme Povirk
8184e86a67
mscoree: Fix a misleading parameter name.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-02 10:30:03 +01:00
Esme Povirk
71288ba50a
mscoree: Use wide string syntax in create_monodata.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-31 18:38:54 +01:00
Esme Povirk
17b34ca8ad
mscoree: Update Wine Mono to 7.1.1.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-31 18:38:54 +01:00
Alexandre Julliard
f0cd33c69e
include: Add support for defining Win32 types as 'long' where possible.
...
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Esme Povirk
97d6cfd705
mscoree: Update Wine Mono to 7.0.0.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-10 21:29:45 +01:00
Eric Pouech
7b5e8ef1d8
mscoree/tests: Remove unused parameter in sprintf.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-13 22:52:23 +02:00
Alexandre Julliard
088a787a2c
makefiles: Make -mno-cygwin the default.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Esme Povirk
e6513521ff
mscoree: Update Wine Mono to 6.4.0.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-17 20:27:52 +02:00
Esme Povirk
20dc5f378c
mscoree: Add a buffer for Mono's debug output.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-01 10:03:11 +02:00
Esme Povirk
2586907566
mscoree: Don't trace arguments in CorExeMain.
...
This can overflow the debug buffer. We could print each argument
on an individual line, but command-line arguments can be
obtained other ways and turned out to usually not be useful.
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-31 21:57:19 +02:00
Esme Povirk
052113c0b6
mscoree: Always base the config file path on the main exe.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-30 22:49:58 +02:00
Esme Povirk
78108f7411
mscoree: Only override Microsoft.Xna.Framework version 4.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-09 11:38:37 +02:00
Esme Povirk
451a54bc7a
mscoree: Update Wine Mono to 6.3.0.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-26 19:42:25 +02:00
Esme Povirk
605a912077
mscoree: Update Wine Mono to 6.2.0.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-02 20:16:08 +02:00
Alexandre Julliard
1331a8ea0f
winecrt0: Determine the registration module handle directly in __wine_register_resources().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Alexandre Julliard
bd6b53740c
winecrt0: Add a default implementation for DllCanUnloadNow().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Rémi Bernon
7cc8df67c3
mscoree: Initialize parsed_config_file private_path.
...
In case of error we may free uninitialized pointer otherwise.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-26 21:34:02 +02:00
Esme Povirk
2c94b7a609
mscoree: Update Wine Mono to 6.1.1.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-31 22:16:25 +02:00
Alexandre Julliard
bb065801a6
ntdll: Map the builtin or fake dll from the Wine dirs if it's missing from the prefix.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-30 11:51:25 +02:00
Esme Povirk
e402c8bfcb
mscoree/tests: Increase timeout in expected failure case.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-17 20:38:29 +01:00
Michael Stefaniuc
0edd90daaf
mscoree: Remove redundant NULL check before HeapFree().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-16 20:36:43 +01:00
Esme Povirk
76f87fe30c
mscoree: Add an option to enable the interpreter.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-01 10:05:32 +01:00
Alexandre Julliard
ce90e69eeb
mscoree: Use --prefer-native instead of DLL_WINE_PREATTACH.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-26 11:40:42 +01:00
Esme Povirk
09d573cee8
mscoree: Remove individual vtable fixup traces.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-18 10:10:37 +01:00
Esme Povirk
cae84e2b06
mscoree: Update Wine Mono to 6.0.0.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-09 11:13:37 +01:00
Rémi Bernon
500478cae9
mscoree: Improve non-neutral assembly lookup logic.
...
And neutral logic too, and the combinations with custom privatePath
config.
This fixes a crash with Mafia III launcher, when it tries to load its
localized strings from culture-specific assemblies to display its
warning popup message.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-03 09:23:43 +01:00
Francois Gouget
4c6b675198
mscoree/tests: The comtest registry tests may require elevated privileges.
...
On Windows Vista and 7 run_registry_test() requires having elevated
privileges.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-03 10:25:49 +01:00