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
2019-04-12Bump corefx to get unit test fixmono-6.0.0.176Alexander Köplinger
2019-04-12[corlib] Disable FileTest.SymLinkStats() on TVOSAlexander Köplinger
Symlinks on TVOS run into sandboxing restrictions. We've already disabled a similar test. This test was added recently as part of 26e0b1deec095635f6a160eb7875c7fb48d53f5a.
2019-04-12Remove TypedReference.MakeTypedReference readonly restrictionMaxim Lipnin
2019-04-12[w32error] Add ENONET error caseMaxim Lipnin
2019-04-12[jit] Make dlmalloc use mono_valloc so it picks up the MAP_JIT flag on osx.Zoltan Varga
Fixes https://github.com/mono/mono/issues/13878.
2019-04-12[utils] stub mono_setmmapjit on Win32 and WasmAleksey Kliger
2019-04-12Do not use MAP_JIT by default, instead make this something that is toggled ↵Miguel de Icaza
by Xamarin.Mac which needs it
2019-04-11Bump corefx to get System.Linq.Expressions test fixAlexander Köplinger
2019-04-11[nuget] Bump to nuget 5.0.0Ankit Jain
2019-04-11delete redundant try/catch from testsancheolz
2019-04-11Fix NRE when combobox was disposed and Text settedsancheolz
2019-04-11Fix local variable assignsancheolz
Local variable must be assigned before use
2019-04-11Fix Stackoverflow when SplitContainer`s SplitterDistance setted in ↵sancheolz@gmail.com
SplitterMoved event subscription
2019-04-11[SWF] Method OnClosed should pass FormClosedEventArgs type, instead of ↵sancheolz@gmail.com
EventArgs.
2019-04-11[2019-02] [profiler] Add duration=NUM parameter to AOT profiler (#13688) ↵Radek Doulik
(#13967) * [profiler] Do not print that many new lines (#13060) The `mono_profiler_printf` already adds `\n` char, so we don't need to add them in most cases. Before the fix the output of aot profiler with verbose enabled looked like: 02-19 10:50:02.877 22795 22815 I mono-prof: System.OutOfMemoryException:.ctor (string) 2 02-19 10:50:02.877 22795 22815 I mono-prof: 02-19 10:50:02.877 22795 22815 I mono-prof: System.SystemException:.ctor (string) 4 02-19 10:50:02.877 22795 22815 I mono-prof: 02-19 10:50:02.877 22795 22815 I mono-prof: System.Exception:.ctor (string) 6 02-19 10:50:02.877 22795 22815 I mono-prof: 02-19 10:50:02.877 22795 22815 I mono-prof: System.Exception:.cctor () 7 02-19 10:50:02.877 22795 22815 I mono-prof: ... The `usage ()`'s output should now look similar to other profilers usage output. * [profiler] Add duration=NUM parameter to AOT profiler (#13688) * [profiler] Add duration=NUM parameter to AOT profiler It instructs the AOT profiler to write the data after NUM seconds measured from runtime initialization. * [profilers] Added aot:duration=NUM parameter description
2019-04-10[corlib] Disable a ParameterInfoTest test on MONOTOUCHAlexander Köplinger
It needs SRE and even with interpreter config this doesn't work yet.
2019-04-10[corlib] Fix NSLogWriter.Write to take into account the index and count ↵Rolf Bjarne Kvinge
parameters.
2019-04-10[corlib] Simplify newline checking in NSLogWriter.Rolf Bjarne Kvinge
Checking the StringBuilder buffer after writing to it instead of the input string/char[] makes the code somewhat simpler.
2019-04-10[corlib] Make NSLogWriter thread-safe.Rolf Bjarne Kvinge
2019-04-10[configure] Add failsafe for missing submodules (#13957)Alexander Köplinger
GitHub provides a way to download a .zip/.tar.gz of the repository content in their UI, however the archive doesn't contain git submodules. The mono build then fails with confusing "missing file" errors. Since GitHub doesn't let us disable the archive download we should at least add some logic to detect this broken case and bail out. (cherry picked from commit e8caaa1dbd880767bcf07ccfa8b9f695377ddd8d)
2019-04-10[System.Net.Http] Make some tests specific to HttpClientHandlerAlexander Köplinger
Otherwise they throw PNSE on e.g. WatchOS.
2019-04-09Fix reading of undefined NativeType values in old CecilAlexander Köplinger
cil-strip crashed when processing this method: https://github.com/mono/corefx/blob/f54e64b341a7b114c3502e197b46670cacb28639/src/Microsoft.CSharp/tests/DefaultParameterTests.cs#L88 It uses `MarshalAs((UnmanagedType)2000)`, i.e. an undefined value for the native type. The old Cecil embedded in cil-strip tried to read more than one byte which blows up in this case. Upstream Cecil just reads a single byte: https://github.com/jbevain/cecil/blob/1b79b96d29f1e8e9ba832191b1b42ea9cb750d20/Mono.Cecil/AssemblyReader.cs#L3700-L3703 Fixes https://github.com/mono/mono/issues/13639
2019-04-09[debugger-agent] Ignore thread_end event if thread is detached (#13938)monojenkins
The thread_stopped profiler event can be raised by the thread_info_key_dtor tls key destructor when the thread is already doesn't have a domain set. In that case, don't call process_profiler_event since it cannot handle a thread with null TLS values. Addresses https://github.com/xamarin/xamarin-android/issues/2920 with the following stack trace ``` * thread #20, name = 'Filter', stop reason = signal SIGSEGV: invalid address (fault address: 0xbc) * frame #0: libmonosgen-2.0.so`mono_class_vtable_checked(domain=0x0000000000000000, klass=0x0000007200230648, error=0x00000071e92f9178) at object.c:1890 frame #1: libmonosgen-2.0.so`get_current_thread_ptr_for_domain(domain=0x0000000000000000, thread=0x00000071ebfec508) at threads.c:595 frame #2: libmonosgen-2.0.so`mono_thread_current at threads.c:1939 frame #3: libmonosgen-2.0.so`process_event(event=<unavailable>, arg=<unavailable>, il_offset=<unavailable>, ctx=<unavailable>, events=<unavailable>, suspend_policy=<unavailable>) at debugger-agent.c:3715 frame #4: libmonosgen-2.0.so`thread_end [inlined] process_profiler_event(event=EVENT_KIND_THREAD_DEATH, arg=0x00000071ebfec508) at debugger-agent.c:3875 frame #5: libmonosgen-2.0.so`thread_end(prof=<unavailable>, tid=<unavailable>) at debugger-agent.c:3991 frame #6: libmonosgen-2.0.so`mono_profiler_raise_thread_stopped(tid=<unavailable>) at profiler-events.h:105 frame #7: libmonosgen-2.0.so`mono_thread_detach_internal(thread=<unavailable>) at threads.c:979 frame #8: libmonosgen-2.0.so`thread_detach(info=0x00000071e949a000) at threads.c:3215 frame #9: libmonosgen-2.0.so`unregister_thread(arg=<unavailable>) at mono-threads.c:544 frame #10: libmonosgen-2.0.so`thread_info_key_dtor(arg=0x00000071e949a000) at mono-threads.c:774 frame #11: 0x00000072899c58e8 libc.so`pthread_key_clean_all() + 124 frame #12: 0x00000072899c5374 libc.so`pthread_exit + 76 frame #13: 0x00000072899c5264 libc.so`__pthread_start(void*) + 44 frame #14: 0x000000728996617c libc.so`__start_thread + 72 ```
2019-04-09[System.Net.Http] Use LEGACY_HTTPCLIENT on xammac_net_4_5Alexander Köplinger
It inherited the sockets http handler from net_4_x but for now we still want the legacy.
2019-04-09[2019-02] [merp] Restore non-assertion behavior in debugger-engine.c (#13879)monojenkins
In my batch of changes here: https://github.com/mono/mono/commit/c3fe80a0c43be780e35f3a4091d3dc1023b35a00#diff-dca5f20c7ac28a5a4487805c49836fdbL340 I changed ``` if (!seq_points) /* Could be AOT code */ continue; ``` into ``` seq_points = (MonoSeqPointInfo *) ji->seq_points; if (!seq_points) { MonoMethod *jmethod = jinfo_get_method (ji); if (jmethod->is_inflated) { MonoJitInfo *seq_ji; MonoMethod *declaring = mono_method_get_declaring_generic_method (jmethod); mono_jit_search_all_backends_for_jit_info (domain, declaring, &seq_ji); seq_points = (MonoSeqPointInfo *) seq_ji->seq_points; } } ``` which doesn't account for the case when it can't find the seq_points. When seq_points is NULL at the end of that block, we don't `continue;` as we did before. Instead we assert, and crash the runtime. This PR undoes this change, making us continue if `!seq_points`. Backport of #13865.
2019-04-09[System.Data] Remove unnecessary file from xunit tests (#13935)Alexander Köplinger
It contained DllImports to some Windows APIs which causes issues on xamarin-macios which expects all pinvokes to exist. Turns out we don't even need that file. (cherry picked from commit 3903a50e430eaedce1382fe2072197eeff66ea18)
2019-04-08[AOT] remove confusing llcopts flag (#13910)monojenkins
[2019-02] [AOT] remove confusing llcopts flag Introduced by https://github.com/mono/mono/commit/2eeaf888c1d0a681c8705bd609f76196d8fb82ed Backport of #13877. /cc @lewurm
2019-04-08Bump bockbuild to get GTK fix (#13912)Alexander Köplinger
https://github.com/mono/bockbuild/pull/93
2019-04-06[corlib] Fix exception 'replacement' in IsolatedStorageFile.MoveFile()Alexis Christoforides
This was caused by changes in File.Move coming from https://github.com/mono/mono/pull/12000
2019-04-05[mono-dl] Don't do thread state transitions in mono_dl_fallback_registerAleksey Kliger
1. it doesn't touch the managed runtime 2. it may be called (arguably it ought to be called only) before the runtime is initialized (and in particular before the current thread is attached).
2019-04-05[2019-02] [merp] Fix image size reported (#13882)monojenkins
Fixes https://github.com/mono/mono/issues/13834 Backport of #13847.
2019-04-05Add temporary workaround for internal StreamContent constructor.Martin Baulig
(cherry picked from commit 23762efca5225213909f06b6a3e173706b78ef5d)
2019-04-04[corlib] Disable EncodingTest.AllEncodingsAreSerializable() on XM4.5 tooAlexander Köplinger
2019-04-04[MacSDK] Bump bockbuild for fix to #13804Alexander Köplinger
2019-04-04[2019-02] Bump linker to latest master (#13818)Alexander Köplinger
2019-04-02Add regression testMaxim Lipnin
2019-04-02Add reflected class to event methodsMaxim Lipnin
2019-04-02[System] Clear MONO_CFG_DIR before starting mcs in CodeDOM ↵Alexander Köplinger
CSharpCodeGenerator for XM4.5 (#13742) * [System] Clear MONO_CFG_DIR before starting mcs in CodeDOM CSharpCodeGenerator This showed up in the xamarin-macios 2019-02 integration. When you used Xslt with a custom C# script in a Xamarin.Mac Full application we'd try to launch mcs via CodeDOM to compile the script. This started failing in 2019-02 because System.Native (mono-native) wasn't found, the reason is that XM sets MONO_CFG_DIR to point to the Contents/MonoBundle in the app bundle where it packages the global config file with dllmaps. However the started Mono wasn't able to find mono-native since the config there uses a different name for the file. To prevent that we now clear MONO_CFG_DIR so it uses the default value for the mono process we're starting (note that setting it to String.Empty doesn't work) * Make it specific to XM 4.5 (cherry picked from commit 448cf31a8df886ddaccba625d81e8e3a5ae591c2)
2019-04-01[2019-02] [sdks,mac] Remove dependency on MXE in favor of MinGW (#13765)monojenkins
Backport of #12434.
2019-04-01Update API snapshotAlexander Köplinger
2019-03-30Update System.Net.Http for WatchAlexander Köplinger
2019-03-30Bump binary-reference-assembliesAlexander Köplinger
2019-03-30[System.Net.Http] Add IVT to Xamarin.* assemblies and update MacAlexander Köplinger
NSUrlSessionHandler is in Foundation namespace on XM
2019-03-30[2019-02][System.Net.Http] Move Mac/iOS specific HttpMessageHandler's to ↵Alexander Köplinger
Xamarin.*.dll (#13748) * [System.Net.Http] Move Mac/iOS specific HttpMessageHandler's to Xamarin.*.dll Backport of #13746 * Bump API snapshot submodule * [csproj] Update project files
2019-03-29Delete monograph. Closes https://github.com/mono/mono/issues/7845Jo Shields
(cherry picked from commit ac0f7ece3511837a6dd4c8465dbf3a07d783a155)
2019-03-28Merge pull request #13724 from monojenkins/backport-pr-13700-to-2019-02Jo Shields
[2019-02] Switch `make dist` format from BZip2 to XZ.
2019-03-28Switch `make dist` format from BZip2 to XZ.Jo Shields
Closes https://github.com/mono/mono/issues/9267
2019-03-28[llvm] Fix the computation of size of gshared instances in another place.Zoltan Varga
Fixes https://github.com/mono/mono/issues/13610.
2019-03-28[runtime] Revert daf92b9e62a847d521ae314c320d3502fefe217e. (#13696)Zoltan Varga
Fixes https://github.com/mono/mono/issues/13607. (cherry picked from commit 5433bd030ea2d6645c333845408fb5e1b1bd5d5b)
2019-03-27Port 13553 "Fix transition offset logic" to masterMaxim Lipnin