Commit Graph

232 Commits (badcabc18855efac19ad3a08d3b4fae22486bbee)

Author SHA1 Message Date
Vincent Povirk bce8330f99 mscoree: Mono renamed mono_trace_set_assembly.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-05 19:36:15 +02:00
Jacek Caban dd16a49144 mscoree: Use CreateConfigStream in parse_config_file.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-28 00:37:23 +02:00
Jacek Caban 8fff6813b1 mscoree: Added CreateConfigStream implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-28 00:37:20 +02:00
Vincent Povirk bb256b4f21 mscoree: Fix locking in GetRuntimeHost.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-02 20:20:27 +02:00
Vincent Povirk 619b7e07d7 mscoree: Update Wine Mono to 4.7.1.
This has some bug fixes from Mono, and it no longer ships
debug symbols for the whole managed class library, which were
accidentally included in 4.7.0.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-01 23:03:46 +02:00
Vincent Povirk 57cdf8bfa8 mscoree: Implement RequestRuntimeLoadedNotification.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-01 19:21:02 +02:00
Vincent Povirk c5f72a72da mscoree: Update for mono profiler api v2.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 09:11:18 +02:00
Akihiro Sagawa 83aca41eb5 mscoree: Avoid using isdigit() for WCHARs.
Found with Coccinelle.

Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-17 21:57:11 +02:00
Józef Kucia c1d4d82e15 mscoree: Fix compilation on systems that don't support nameless unions.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-12 16:10:38 +02:00
Vincent Povirk 6bf7199878 mscoree: Update Wine Mono to 4.7.0.
This contains upstream updates from the Mono project.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-06 19:49:17 +01:00
André Hentschel aa91a9a3ac mscoree: Fix some spec file entries.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-27 10:14:14 +01:00
Nikolay Sivov cee34cb141 mscoree: Free argument buffer on error (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-23 11:41:42 +01:00
Andrew Eikum 0ea8893e1c mscoree: Leave the last backslash on application base path.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-19 20:31:51 +01:00
Vincent Povirk 2390219555 mscoree: Update Wine Mono to 4.6.4.
This release contains many small bug fixes.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-30 23:19:26 +01:00
Michael Stefaniuc cac5a5996a mscoree: There can be only one QI implementation in a COM object.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-12 11:07:51 +09:00
Michael Stefaniuc 478f3dd67b mscoree: Use the proper COM method wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-12 11:07:39 +09:00
Nikolay Sivov 086a230629 mscoree: Return pointer to interface, not implementation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-26 10:39:50 +09:00
Vincent Povirk 62e253796e mscoree: Update Wine Mono to 4.6.3.
This brings in some build fixes, bugfixes from upstream, and a patch from
Paul Gofman for compatibility with 64-bit Managed C++ code.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-08 11:38:52 +09:00
Sebastian Lackner e5404d4bf6 mscoree: Avoid buffer overflow when mono print handler returns huge string at once.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-03 10:05:09 +09:00
Vincent Povirk 115ad2da7a mscoree: Update Wine Mono to 4.6.2.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-06 13:22:33 +09:00
Vincent Povirk ccac8a455b mscoree: Enable crash chaining in Mono.
This allows winedbg to handle crashes and print native stack traces,
after Mono has attempted to print a managed stack trace.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 10:39:51 +09:00
Vincent Povirk 4dec065e2b mscoree: Restore previous domain whenever we set it.
Unmanaged APIs could be called directly or indirectly by managed code in
any domain, and we could create problems by not restoring the old one.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-09 18:41:05 +09:00
Vincent Povirk 870628fd28 mscoree/tests: Loading the runtime works on x86-64 now.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-29 20:05:01 +09:00
Vincent Povirk f1157511a7 mscoree: Update Wine Mono to 4.6.0.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-29 20:05:01 +09:00
Vincent Povirk b99c35c0e8 mscoree/tests: Check if the runtime is usable before loading it.
Unfortunately, Mono calls exit(1) if it can't load its class libraries,
which is the way Wine fails on x86_64, meaning we have to spawn another
process to check if the runtime works.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 19:38:36 +09:00
Francois Gouget fb863bc8ac mscoree/tests: Add a trailing '\n' to a win_skip() call.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:11 +09:00
Charles Davis fdeaf812e2 mscoree: Implement ICorRuntimeHost::CreateDomain{, Ex}().
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-18 21:05:48 +09:00
Charles Davis c129cdf145 mscoree: Improve RuntimeHost_Invoke()'s error output a bit.
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-17 13:03:13 +09:00
Paul Gofman 98d5c4a90f mscoree: Call native DllEntryPoint when it is defined in COR header.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-04 14:41:00 +09:00
Paul Gofman 5dea748c5b mscoree: Add FixupVTable_Assembly function which takes preloaded assembly headers.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-04 14:40:49 +09:00
Paul Gofman 43c43179cd mscoree: Implement VTable fixup for x86_64 architecture.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 14:50:57 +09:00
Paul Gofman 9236a668e6 mscoree: Make vtable and tokens local declarations arch independent.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 14:49:05 +09:00
Paul Gofman b9a0fe18e3 mscoree: Fix calling convention for mono callback functions.
ms_abi calling convention is required for x86_64 arch.

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-21 17:01:45 +09:00
Vincent Povirk 26c9bd9f15 mscoree: Remove "Install Mono for Windows" message.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-14 03:11:25 +09:00
Vincent Povirk f34be7c690 mscoree: Remove search fallbacks when Wine Mono isn't installed.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-14 03:11:21 +09:00
Andrew Eikum 4d44363e60 mscoree: Set config path for default app domain.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-13 15:48:39 +09:00
Vincent Povirk 2ecd3772e3 mscoree: Send Mono's debug output to Unix stderr. 2015-09-07 15:03:49 +09:00
Vincent Povirk 6df7366e4e mscoree: Don't modify the PATH environment variable.
Wine Mono 4.5.4 eliminated the need for this.
2015-09-04 15:10:12 +09:00
Vincent Povirk 5cd6db0349 mscoree: Remove the runtime version selection logic and just use 4.0.
Mono has removed support for the .NET 2.0 profile, so we'll have to be
using 4.0 for everything next time we want to update.
2015-03-26 14:21:33 +09:00
Michael Stefaniuc 60d54eee93 mscoree: Use SUCCEEDED instead of !FAILED. 2015-03-24 18:16:00 +09:00
Francois Gouget b861aed2c1 mscoree: Mark internal symbols with hidden visibility. 2015-03-20 18:05:17 +09:00
Vincent Povirk 129ff974b4 mscoree: Update Wine Mono to 4.5.6. 2015-03-03 23:50:33 +09:00
Vincent Povirk 35c7ac8a0b mscoree: Update Wine Mono to 4.5.4. 2014-11-18 14:10:53 +09:00
Vincent Povirk 6ef156e656 mscoree: Use mono_runtime_quit in shutdown process. 2014-10-16 12:59:46 +09:00
Nikolay Sivov a99d8cb21b mscoree: Use E_NOT_SUFFICIENT_BUFFER definition. 2014-10-16 12:58:52 +09:00
Vincent Povirk 4aa1af9016 mscoree: Implement CorBindToCurrentRuntime. 2014-09-10 12:29:21 +02:00
Vincent Povirk 1986e496c7 mscoree: Factor out common code for calling .NET methods. 2014-08-18 21:33:05 +02:00
Vincent Povirk 88dfdded62 mscoree: Implement corruntimehost_CreateDomainSetup. 2014-08-18 21:33:02 +02:00
Vincent Povirk fb2f1f2b64 mscoree: Implement corruntimehost_Start. 2014-08-15 17:04:58 +02:00
Vincent Povirk 805da6bf83 mscoree: Accept "v4.0" as a runtime version in config files. 2014-07-15 10:23:46 +02:00