Commit Graph

245 Commits

Author SHA1 Message Date
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
Lauri Kenttä 118b53a7bd mscoree: Print the correct values in a TRACE. 2012-03-26 18:15:35 +02:00
Vincent Povirk c110a55f12 mscoree: Search for an arch-specific mono dll first. 2012-03-26 12:41:28 +02:00
Alistair Leslie-Hughes f67d34f7af mscoree: Better support RUNTIME_INFO_UPGRADE_VERSION in GetRequestedRuntimeInfo. 2012-03-16 13:02:53 +01:00
Alistair Leslie-Hughes e3ab993647 mscoree: Add CoEEShutDownCOM stub. 2012-03-12 10:44:54 +01:00
Thomas Faber d3918683e6 mscoree: Fix build with MSVC. 2012-01-26 17:42:33 +01:00
Alistair Leslie-Hughes 3f1c63c5bd mscoree: Implement DllGetClassObject. 2012-01-23 17:05:10 +01:00
Nikolay Sivov 6302ba5dd6 mscoree: Correct VARIANT type. 2012-01-23 15:59:54 +01:00
Michael Stefaniuc bf5e5a981e mscoree: Remove superfluous NULL pointer checks before free (Smatch). 2012-01-16 12:45:34 +01:00
Alistair Leslie-Hughes 091f31744a mscoree: Don't pass the string as a reference type. 2012-01-09 15:27:04 +01:00
Alistair Leslie-Hughes acaa258054 mscoree: Implement CLRRuntimeHost_ExecuteInDefaultAppDomain. 2012-01-03 18:04:36 +01:00
Francois Gouget 49447ad1d5 include: Fix the metahost.idl import directives. 2011-12-30 12:53:42 +01:00
Francois Gouget 47fdee6e92 mscoree: Make CorDebugProcess_Create() static. 2011-12-06 17:54:44 +01:00
Alistair Leslie-Hughes 3d6708a194 mscoree: Implement ICorDebug CreateProcess. 2011-11-15 19:37:33 +01:00
Alistair Leslie-Hughes 7ea2e93107 mscoree: Move clearing of processes to Terminate. 2011-11-07 14:06:24 +01:00
Alistair Leslie-Hughes 5dcd363f5a mscoree: Return S_OK from CanLaunchOrAttach. 2011-11-02 12:36:39 +01:00
Alistair Leslie-Hughes 7ee1250e46 mscoree: Implement ICorDebug EnumerateProcesses. 2011-11-01 16:43:08 +01:00
Alistair Leslie-Hughes b2ef9218ec mscoree: Register interfaces. 2011-10-13 19:57:20 +02:00
Alistair Leslie-Hughes 44c39a85ae mscoree: Add WARN when ICorDebugManagedCallback2 cannot be found. 2011-10-12 20:52:46 +02:00
Alistair Leslie-Hughes 5682743245 mscoree: Implement ICorDebug SetManagedHandler. 2011-10-10 13:46:36 +02:00
Marcus Meissner e2c5a0c23e mscoree: Mark cordebug_init as hidden. 2011-10-03 15:50:58 -05:00
Alistair Leslie-Hughes c2ac2a0573 mscoree: Return S_OK from ICorDebug Initialize. 2011-09-30 10:28:30 -05:00
Alistair Leslie-Hughes bef72c4884 mscoree: Add ICorDebug interface support. 2011-09-28 12:37:47 +02:00
Andrew Talbot ee9c027986 mscoree: Fix a zero-sized array. 2011-08-31 19:43:05 +02:00
Andrew Talbot fe29ad99a7 mscoree: Remove extern from function definitions. 2011-08-29 12:08:20 +02:00
Michael Stefaniuc c8fcf420c2 mscoree: COM cleanup for the ICLRRuntimeInfo iface. 2011-08-22 16:14:35 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Michael Stefaniuc e79e6e30f4 mscoree: COM cleanup in corruntimehost.c. 2011-06-22 12:58:56 +02:00
André Hentschel 53218eb50b mscoree/tests: Mark a weird w2k3 result as broken. 2011-06-08 14:12:41 +02:00
André Hentschel 2061c61c4e mscoree/tests: Test more IStream Functions on a ConfigStream. 2011-06-06 21:49:20 +02:00
André Hentschel 79a5153366 mscoree/tests: Broken return value is a HRESULT_FROM_WIN32. 2011-06-06 21:49:20 +02:00
André Hentschel b426a9a084 mscoree/tests: Fix for the results in CreateConfigStream tests. 2011-05-24 12:19:09 +02:00
Marcus Meissner ba9f4e807a mscoree: Mark internal symbols with hidden visibility and some vtables as static. 2011-05-20 10:32:32 +02:00
Vincent Povirk 6bd0887225 mscoree: Implement ICorRuntimeHost_GetDefaultDomain. 2011-05-20 10:31:28 +02:00
Vincent Povirk 692a7593cf mscoree: Return success from ICorRuntimeHost_Start stub.
We don't really have the ability to "Start" and "Stop" Mono, though we can create a default domain.
2011-05-20 10:31:10 +02:00
Vincent Povirk d434b33695 mscoree: Accept a NULL version in CorBindToRuntimeEx. 2011-05-20 10:31:01 +02:00
André Hentschel 1aacc5fc40 mscoree/tests: Add tests for CreateConfigStream. 2011-05-17 11:48:14 +02:00
Vincent Povirk 92563de3ea mscoree: State the .NET and Mono versions when a runtime is missing. 2011-05-11 19:49:51 +02:00
Alistair Leslie-Hughes 01c4adf477 mscoree: Implemented GetRequestedRuntimeVersion. 2011-04-28 18:33:01 +02:00
Alistair Leslie-Hughes 7c0cfc964b mscoree: Add stub CreateDebuggingInterfaceFromVersion. 2011-04-28 18:32:30 +02:00
Hans Leidekker 22953b84f3 mscoree: Add a stub implementation of GetRealProcAddress. 2011-04-19 13:30:01 +02:00
Francois Gouget 2bce427392 mscoree/tests: Make init_pointers() static. 2011-03-30 18:23:37 +02:00
André Hentschel 87429c72f6 mscoree: Add stub implementation for CreateConfigStream. 2011-03-28 18:35:24 +02:00
Francois Gouget d007d9feea mscoree: Force_get_runtime_info() is not used so remove it. 2011-03-16 16:31:52 +01:00
Francois Gouget 3b69102011 mscoree/tests: Make the test and cleanup functions static. 2011-03-16 14:14:24 +01:00
Michael Stefaniuc c3afbcfd60 mscoree: COM cleanup in metahost.c. 2011-03-14 12:39:28 +01:00
Francois Gouget e0b2307f9c mscoree: Add a '\n' to an ERR() trace. 2011-03-07 11:08:50 +01:00
Vincent Povirk b92d834d36 mscoree: Always return S_FALSE from DllCanUnloadNow.
We can't really unload after Mono is loaded unless we're exiting the process.
We could before that, but it's probably not worth the effort.
2011-02-24 15:49:27 +01:00
Vincent Povirk d6582ae8bd mscoree: Overhaul of mono runtime shutdown process.
It turns out that we can't free individual domains because that tears down
important data structures. Instead we must shut down the entire runtime, but
only if Mono doesn't shut itself down first. And we need to do it before
DLL_PROCESS_DETACH because important libraries might be gone by then.
2011-02-24 15:49:15 +01:00
Vincent Povirk 8a8808984e mscoree: Implement GetFileVersion. 2011-01-28 11:59:21 +01:00
Austin English cccc36e25a mscoree/tests: Fix a broken test (LLVM/Clang). 2010-12-23 13:47:25 +01:00
Alexandre Julliard f6b6c7bade include: Correctly define the msxml typelib by directly including xmldom.idl and xmldso.idl. 2010-12-21 12:17:11 +01:00
Michael Stefaniuc ac0826d51e mscoree: Use ifaces instead of vtbl pointers in ConfigFileHandler. 2010-12-10 13:03:31 +01:00
Michael Stefaniuc bcf15c7b16 mscoree: Use an iface instead of a vtbl pointer in MetaDataDispenser. 2010-12-10 13:03:28 +01:00
Jacek Caban 90ed396b03 mscoree: Explicitly specify CDECL on imported functions. 2010-11-29 11:23:24 +01:00
Paul Vriens d360b6f913 mscoree/tests: Remove an unneeded test. 2010-11-23 14:18:44 +01:00
Paul Vriens 759f12c187 mscoree/tests: Use more A-functions to fix test failures on Win9x. 2010-11-23 14:18:33 +01:00
Paul Vriens 167ab75f4e mscoree/tests: Use StrStrIW from shlwapi. 2010-11-23 14:18:22 +01:00
Paul Vriens dff72b0c66 mscoree/tests: Use the correct wide string compare to cope with Win9x. 2010-11-23 14:18:01 +01:00
Vincent Povirk 9c238d181d mscoree: Add a trace to _CorExeMain. 2010-11-12 17:00:18 +01:00
Vincent Povirk 3b76a0bed1 mscoree: Implement ClrCreateManagedInstance. 2010-11-12 17:00:09 +01:00
Vincent Povirk d2d743efbb mscoree: Search the Global Assembly Cache for required assemblies. 2010-11-12 16:59:41 +01:00
Vincent Povirk 9e20c21dbd mscoree: Add stub implementation of IMetaDataDispenserEx. 2010-11-11 16:41:54 +01:00
Vincent Povirk 4ce33c6960 mscoree: Implement config file parsing. 2010-11-11 16:25:10 +01:00
Vincent Povirk 4b3f302193 mscoree: Search for mono installs with the 2.0 abi. 2010-11-11 16:24:15 +01:00
Vincent Povirk 1309731b4a mscoree: Add a proper implementation of DllCanUnloadNow. 2010-11-10 17:19:42 +01:00
Vincent Povirk e5d3294b83 mscoree: Use the new architecture to implement _CorExeMain. 2010-11-10 17:19:22 +01:00
Vincent Povirk cda37e4447 mscoree: Load mono when creating a runtime host interface. 2010-11-10 17:19:12 +01:00
Vincent Povirk 1b68a243f5 mscoree: Add stub implementation of ICLRRuntimeHost. 2010-11-10 17:18:50 +01:00
Vincent Povirk d5fa2ceaca mscoree: Support searching for .NET runtimes by exe file. 2010-11-09 17:33:42 +01:00
Vincent Povirk 0985e02969 mscoree: Use the .NET 4 interfaces to implement CorBindToRuntimeHost. 2010-11-09 17:33:39 +01:00
Vincent Povirk 601b240f1e mscoree: Use the .NET 4 interfaces to implement CorBindToRuntimeEx. 2010-11-09 17:33:36 +01:00
Vincent Povirk 84ef0fca57 mscoree: Use the new search methods for GetCORVersion/GetCORSystemDirectory. 2010-11-09 17:33:32 +01:00
Vincent Povirk add7454df7 mscoree: Report that all .NET versions are installed if Mono is missing. 2010-11-09 17:33:21 +01:00
Vincent Povirk 1682a92dd5 mscoree: Implement LoadLibraryShim. 2010-10-28 18:18:11 +02:00
Vincent Povirk a96941a3bf mscoree: Add tests for LoadLibraryShim. 2010-10-28 18:18:09 +02:00
Vincent Povirk 2c2d53024f mscoree: Use the new Mono runtime search code in GetRequestedRuntimeInfo. 2010-10-13 11:20:42 +02:00
Vincent Povirk 9d770349df mscoree: Implement ICLRRuntimeInfo_GetRuntimeDirectory. 2010-10-13 11:20:28 +02:00
Vincent Povirk a7bda5c2b5 mscoree: Implement ICLRMetaHost_GetRuntime. 2010-10-13 11:20:25 +02:00
Vincent Povirk f9db772317 mscoree: Add test for ICLRMetaHost_GetRuntime. 2010-10-05 12:07:37 +02:00
Vincent Povirk d54b800793 mscoree: Implement ICLRRuntimeInfo_GetInterface. 2010-10-05 12:07:37 +02:00
Vincent Povirk 0d1c687563 mscoree: Implement ICLRMetaHost_EnumerateInstalledRuntimes. 2010-10-05 12:07:37 +02:00
Vincent Povirk 3f211a5126 mscoree: Implement ICLRMetaHost_GetVersionFromFile. 2010-10-05 12:07:37 +02:00
Vincent Povirk fce6f93b48 mscoree: Add stub implementation of ICLRMetaHost. 2010-10-05 12:07:37 +02:00
Vincent Povirk 79ed842931 mscoree: Add a test that enumerates .NET runtimes. 2010-10-04 16:27:18 +02:00
Vincent Povirk ddda173064 mscoree: Add test for creating CLRMetaHost. 2010-10-04 16:27:13 +02:00
Vincent Povirk 1fbb214248 mscoree: Stub CLRCreateInstance. 2010-10-04 16:27:03 +02:00
Francois Gouget 5c046d13d5 mscoree: Make find_mono_dll() static. 2010-09-29 10:04:55 +02:00
Vincent Povirk d0f7edd2c1 mscoree: Search for Mono in some predefined paths before using the registry.
This makes it possible for distributions to install Mono in a shared location.
2010-09-24 11:34:14 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard 755b385d57 mscoree: Use int64 in the spec file for 64-bit integers. 2010-08-31 14:23:48 +02:00
Francois Gouget 394b08972f mscoree/tests: Remove spaces before '\n's in traces. 2010-08-31 14:23:47 +02:00
Alexandre Julliard 67d0195fd9 mscoree/tests: Comment out a couple of tests that crash on Windows. 2010-08-27 15:36:12 +02:00
Louis Lenders 9ea1d13d14 mscoree: Improve GetRequestedRuntimeInfo. 2010-08-26 13:45:05 +02:00
Louis Lenders 830867a121 mscoree/tests: Add some tests for GetRequestedRuntimeInfo. 2010-08-26 13:44:57 +02:00
Louis Lenders 127af150e0 mscoree: Improve GetCORSytemDirectory. 2010-08-25 17:39:11 +02:00
Louis Lenders f317d6b32d mscoree/tests: Add a few tests for GetCORSytemDirectory. 2010-08-25 17:38:42 +02:00
Louis Lenders 042f23cacc mscoree: Improve GetCORVersion. 2010-08-24 17:57:41 +02:00
Louis Lenders a8528706ac mscoree/tests: Added some simple tests for GetCORVersion. 2010-08-24 17:57:41 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Vincent Povirk f8ecefe6bf mscoree: Use the mono embedding api instead of invoking mono.exe. 2010-04-06 11:50:28 +02:00
Vincent Povirk 949730736b mscoree: Stub ClrCreateManagedInstance. 2010-03-29 11:35:15 +02:00
Vincent Povirk bc1acbf3c9 mscoree: Show the names of requested GUIDs in stub fixmes. 2010-03-26 10:29:02 +01:00
Vincent Povirk b8c7dec6b8 mscoree: Add a setting to access mono's tracing functionality. 2010-03-24 21:14:45 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Hans Leidekker aa15fb8524 mscoree: Add stub implementations of DllRegisterServer and DllUnregisterServer. 2010-02-08 17:14:44 +01:00
Reece Dunn a2c41b72f8 Don't generate FIXME warnings for DllCanUnloadNow. 2010-01-06 10:59:51 +01:00
Paul Chitescu 1e48e160f5 mscoree: Stubs for StrongNameSignatureVerification(Ex). 2009-04-29 13:08:57 +02:00
Chris Wulff 5b5b199d9a mscoree: Add a stub for LockClrVersion. 2008-12-20 12:16:35 +01:00
Francois Gouget e59ef5658b mscoree: Fix the ND_WI8() prototype. 2008-07-28 11:34:31 +02:00
Louis Lenders c57688ee25 mscoree: Add stub for CorBindToCurrentRuntime. 2008-06-10 11:33:29 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
Alistair Leslie-Hughes c15cdad10d mscoree: Added ICorRuntimeHost support. 2008-04-01 12:44:18 +02:00
Alexandre Julliard 6e5bc73b8d mscoree: Implement a number of interop helpers. 2008-03-25 15:21:18 +01:00
Alistair Leslie-Hughes 69272d1f52 mscoree: Added stub CorBindToRuntimeEx. 2008-03-14 13:00:16 +01:00
Paul Chitescu 961f5fa67a mscoree: Semi-stub for LoadStringRCEx and LoadStringRC. 2008-01-22 12:04:17 +01:00
Alistair Leslie-Hughes 74a468d01b mscoree: Fix memory leak. 2008-01-16 12:15:57 +01:00
Alistair Leslie-Hughes 8325392370 mscoree: Add stubs for DllCanUnloadNow and DllGetClassObject. 2008-01-10 12:17:49 +01:00
Rob Shearman 1421c1a447 mscoree: Add a stub for GetVersionFromProcess. 2007-12-18 19:48:16 +01:00
Bryan DeGrendel b76efcb61f mscoree: Return S_OK if mono runtime is found. 2007-08-24 10:57:16 +02:00
Francois Gouget 402b8f0d59 mscoree: Add cor.h and mscoree.idl and fix some semi-stub prototypes. 2007-08-06 12:33:41 +02:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Francois Gouget 21540b7591 mscoree: _CorValidateImage() is a WINAPI function.
This fixes a winapi_check warning.
2007-01-25 11:05:31 +01:00
James Hawkins 077b4024be mscoree: Add a stub for GetCORSystemDirectory. 2006-12-22 11:22:02 +01:00
Hans Leidekker 8c34da2297 mscoree: Add a stub implementation for CorExitProcess and GetRequestedRuntimeInfo. 2006-12-12 12:12:48 +01:00
Hans Leidekker 50f4edae54 mscoree: Take advantage of an installed Mono for Windows to run .NET applications. 2006-12-12 12:12:22 +01:00
Paul Chitescu 9c377f0ed7 mscoree: String returned by GetCORVersion starts with letter 'v'. 2006-11-06 13:47:56 +01:00
Louis Lenders 37df23db6a mscoree: Add a few more stubs. 2006-11-03 13:51:16 +01:00
James Hawkins eb676fff06 mscoree: Add stub implementations of CorBindToRuntimeHost and GetCORVersion. 2006-10-16 11:27:05 +02:00
James Hawkins b2f21fa071 mscoree: Add missing stubs to the spec file. 2006-10-16 11:26:09 +02:00
Paul Chitescu 4fe6c3fa45 mscoree: Initial stub implementation. 2006-10-06 17:39:43 +02:00