Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-09-27Assume C99 signbit is always present, and link to it via C like the rest of ↵Jay Krell
mono-math.h. (#10830) MONO_API here was dubious, as all systems have it, except Visual C++ was configured away. In Visual C++, it is in ucrt, so present in 2015 also. More information in nearby comments.
2018-09-26[cxx] Rework C++ linkage to C99 trunc, isnan, isinf, etc. and some cleanup. ↵Jay Krell
(#10764) This PR cleanups C++SDKs support and gets them all passing for the first time, esp. Android (WebAssembly already was, iOS uncertain before, green here). * Current Visual C++ has signbit. * Rework C++ linkage to C99 math-- trunc, isnan, isinf, etc. Go through mono wrappers that are compiled as C. Remove support for Visual C++ pre-2015 and non-C99 Solaris. (Solaris has plenty of other problems compiling.) Cleanup Windows ssize_t support. * Remove trunc and aintl autoconfigury. Use trunc unconditionally. (aintl is a Solaris near equivalent to trunc). * Replace dis_isnan with mono_isnan. * Interpreter already assumes presence of isinf and isfinite, so everywhere else might as well too. A fair amount of cleanup therefore -- autoconf, ifdef, etc. If this changes back, the mono_isinf, etc. wrappers are likely, but not necessarily, where to handle it for everyone, not sprinkling ifdefs and alternate implementations around -- assuming all users want the same fallback. As well, we might want to import some good BSD libc versions of all these if there is any remaining question of portability. *Everyone* except old VAX and Cray have always used the same 32bit float and 64bit double representations since circa 1985 so these are all probably about one line of portable C89/C++98 each, maybe with endian sensitivity.
2018-07-07[runtime] Move utility thread helpers into new headerAlexander Kyte
2018-06-28Modernize Windows random number generation. (#9090)Jay Krell
* Modernize Windows random number generation. - Less code. - Less chance for failure. - Not seedable. - Requires Windows 7 or newer -- er, require Vista or newer until/unless Unity drops it, under ifdef. This might get much further pruned with CoreFX import, which is on hold here, and doesn't really change much, except to indeed drop Vista support. (https://github.com/mono/mono/pull/9249)
2018-03-21Remove dead code (#7738)Ludovic Henry
2018-03-09gboolean g_is_usermode_native_debugger_present (void). (#7488)jaykrell
* gboolean g_is_usermode_native_debugger_present (void). i.e. Win32 IsDebuggerPresent which is just call mov mov ret. Other slower methods on other systems if possible and unintrusive (OSX). This is very useful as in: if (g_is_usermode_native_debugger_present ()) G_BREAKPOINT "native" meaning "not managed" "usermode" meaning "not kernel" Both other kinds exist and are detected differently. * Move new debugging utility from glib to mono/utils. * Redo it with CoreCLR as basis. https://github.com/dotnet/coreclr/blob/master/src/pal/src/init/pal.cpp * Link to a specific stable revision, not master. https://raw.githubusercontent.com/dotnet/coreclr/f1c9dac3e2db2397e01cd2da3e8aaa4f81a80013/src/pal/src/init/pal.cpp * Use a clearer form of boolean normalization. * Update Visual Studio project files. * Fix include path, remove unnecessary boolean canonicalization, spell out words, swap int/boolean. * Header got missed in the move from glib.
2017-10-03Align libmonoutils vcxproj with makefile.lateralusX
2017-10-03Added labels to eglib and libmonoutils.lateralusX
2017-10-03Fix libmonoutils targets and filters.lateralusX