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
Frédéric Delanoy
77c191786a
mscoree/tests: Use BOOL type where appropriate.
2014-02-19 11:37:07 +01:00
Frédéric Delanoy
8cdcf47001
mscoree: Use BOOL type where appropriate.
2014-02-19 11:37:02 +01:00
Vincent Povirk
dad9dc941f
mscoree/tests: Fix failures when .NET 4 but not 1 or 2 is installed.
2014-02-06 17:08:11 +01:00
Frédéric Delanoy
cb71d30c36
mscoree/tests: Use common wine_dbgstr_guid implementation from test.h.
2014-01-29 14:50:50 +01:00
Alexandre Julliard
99ef0d6ff0
makefiles: Get rid of the MAKE_TEST_RULES variable.
2014-01-02 12:13:16 +01:00
Alexandre Julliard
5e7416e5c8
makefiles: Get rid of the MAKE_DLL_RULES variable.
2014-01-02 12:08:18 +01:00
Alexandre Julliard
d08ff3ff19
makefiles: Use a single variable for all types of idl files.
2013-12-31 18:15:17 +01:00
Frédéric Delanoy
3c6a4fe554
mscoree: Constify a character string.
2013-12-17 08:45:40 +01:00
Vincent Povirk
608b1e1414
mscoree: Update Wine Mono to 4.5.2.
2013-12-05 15:59:03 +01:00
Alistair Leslie-Hughes
d8f54b4d49
mscoree: Implement IMetahostPolicy GetRequestedRuntime.
2013-11-22 11:35:57 +01:00
Vincent Povirk
3a2e88534e
mscoree: Fix runtime shutdown code.
2013-11-21 13:31:20 +01:00
Alistair Leslie-Hughes
a3a19518f4
mscoree: Attempt to load the assembly from the application directory.
2013-11-20 19:38:21 +01:00
André Hentschel
dc60ed4596
mscoree/tests: Don't expect a 2.x runtime.
2013-11-13 11:26:09 +01:00
Alexandre Julliard
c7803b885b
makefiles: Add makedep pragmas for registration idl files.
2013-11-05 20:38:18 +01:00
Alistair Leslie-Hughes
2d899505d7
mscoree: Rename function to match its use.
2013-10-30 11:21:31 +01:00
Alistair Leslie-Hughes
45109f45df
mscoree: Display the privatePath when parsing the .config file.
2013-10-30 10:16:10 +01:00
Francois Gouget
fbe912d73b
mscoree: RuntimeHost_Destroy() is not used anymore so remove it.
2013-10-28 10:42:00 +01:00
Frédéric Delanoy
38adec4ac5
mscoree: Use BOOL type where appropriate.
2013-10-25 13:36:01 +02:00
Vincent Povirk
5e81bad239
mscoree: Call Mono's System.Environment.Exit instead of duplicating it.
2013-10-25 13:35:36 +02:00
Vincent Povirk
770918a91b
mscoree: Do a "normal" runtime shutdown from _CorExeMain.
...
This needs to work differently from CorExitProcess because we need to wait for
foreground threads and abort the rest.
2013-10-25 13:34:47 +02:00
Vincent Povirk
6b889fe918
mscoree: Remove support for multiple Mono ABI versions.
...
Having two instances of Mono loaded at once is problematic, and now that we
use the 2.0 runtime to support 1.x there's no need to support old versions.
2013-10-25 13:34:26 +02:00
Alistair Leslie-Hughes
3988ee9465
mscoree: Add support for ICLRMetaHostPolicy interface.
2013-10-17 20:29:41 +02:00
Alistair Leslie-Hughes
73ca9d2d0b
mscoree: Partially implement ICLRMetaHost RequestRuntimeLoadedNotification.
2013-10-11 12:45:06 +02:00
Frédéric Delanoy
1214fb41dd
mscoree: Use BOOL type where appropriate.
2013-10-08 09:09:36 +02:00
Francois Gouget
cd35ac901f
mscoree/tests: Make test_createinstance() static.
2013-10-07 14:44:36 +02:00
Alistair Leslie-Hughes
7028e2bbbc
mscoree: Implement CreateInterface.
2013-10-03 20:08:57 +02:00
Alistair Leslie-Hughes
9dbeaf2586
mscoree: Redirect .NET 1.0 to .NET 2.0.
2013-08-16 13:07:40 +02:00
Daniel Jelinski
1319515173
mscoree: Search for COM classes by assembly name if CodeBase not found.
2013-06-05 20:30:58 +02:00
Daniel Jelinski
0eaa3ec9fb
mscoree: Extract a helper function for getting file name from assembly.
2013-06-05 20:30:58 +02:00
Andrew Talbot
edea85dea6
mscoree: Remove unneeded address-of operator from function name.
2013-03-04 11:15:24 +01:00
Vincent Povirk
276d202e79
mscoree: Keep a reference to mscoree when shutting down.
2013-03-01 18:03:30 +01:00
Vincent Povirk
ad5c4671a5
mscoree: Add WINE_MONO_VERBOSE environment setting.
2013-02-28 21:00:17 +01:00
Andrew Talbot
14afcb8ccd
mscoree: Avoid signed-unsigned integer comparisons.
2013-02-13 10:19:07 +01:00
Michael Stefaniuc
7fdcb092b7
mscoree: Use assignment instead of memcpy to copy a struct.
2013-01-25 11:17:53 +01:00
Andrew Talbot
d2de810df3
mscoree: Remove unneeded address-of operator from function name.
2012-11-20 11:44:43 +01:00
Vincent Povirk
b3c0d3cd63
mscoree: Update Wine Mono to 0.0.8.
2012-10-16 11:54:02 +02:00
Vincent Povirk
b5c663ee1e
mscoree: Preserve %ecx when calling ReallyFixupVTable.
2012-09-06 14:16:45 +02:00
Vincent Povirk
f2437c2b32
mscoree: Add support for tracing the entry point assembly.
2012-09-05 11:47:44 +02:00
Vincent Povirk
d5cec3b08e
mscoree: Avoid calling mono_image_open_from_module_handle for libraries.
2012-08-20 20:18:40 +02:00
Nikolay Sivov
de37c1d57f
mscoree: Call interface methods properly.
2012-08-20 10:59:11 +02:00
Alistair Leslie-Hughes
85d49c5819
mscoree: Correct possible uninitialized variable (clang).
2012-06-07 16:07:07 +02:00
Alistair Leslie-Hughes
c99754ef15
mscoree: Use .NET 2.0 for 1.0 assemblies.
2012-06-07 16:07:04 +02:00
Michael Stefaniuc
b168da7752
mscoree: Remove duplicated include.
2012-06-07 10:33:47 +02:00
Vincent Povirk
1e721a4877
mscoree: Install Wine Mono on prefix update.
2012-05-30 20:25:44 +02:00
Vincent Povirk
56484cc037
mscoree: Add a fallback for mono_image_open_from_module_handle.
2012-05-17 17:44:28 +02:00
Vincent Povirk
a629ba4949
mscoree: Implement vtable fixups.
2012-05-09 17:49:57 +02:00
Francois Gouget
bde73d8dfc
mscoree: Make assembly_rva_to_va() and parse_headers() static.
2012-05-04 18:08:34 +02:00
Vincent Povirk
b15a77463a
mscoree: Change _CorDllMain fixme to a trace.
2012-05-03 11:51:37 +02:00
Vincent Povirk
a824e8f659
mscoree: Use the main HMODULE in _CorExeMain instead of loading a new exe.
2012-05-03 11:51:36 +02:00
Vincent Povirk
d2d1c6d824
mscoree: Detect when a CLR DLL requests vtable fixups.
2012-05-03 11:51:03 +02:00
Vincent Povirk
3b4d278026
mscoree: Always call mono_thread_attach before invoking managed code.
2012-04-24 11:37:34 +02:00
Alistair Leslie-Hughes
d08e89a8d6
mscoree: Allow capital for version number.
2012-03-27 17:56:31 +02:00