Miguel de Icaza [Thu, 1 Oct 2015 21:44:17 +0000 (17:44 -0400)]
Merge pull request #1921 from mattzink/master
Allow disabling the mono-find-provides/requires RPM processing scripts
Miguel de Icaza [Thu, 1 Oct 2015 21:43:20 +0000 (17:43 -0400)]
Merge pull request #2025 from sawachika-kenji/patch-1
Update FormsAuthentication.cs
Miguel de Icaza [Thu, 1 Oct 2015 21:40:35 +0000 (17:40 -0400)]
Merge pull request #2087 from joelmartinez/mdoc-membername-fixup
[mdoc] Now rewriting incorrect `MemberName`.
Miguel de Icaza [Thu, 1 Oct 2015 21:39:43 +0000 (17:39 -0400)]
Merge pull request #2098 from evincarofautumn/fix-gchandle-assert
Fix assertion in mono_gchandle_get_target.
Miguel de Icaza [Thu, 1 Oct 2015 21:31:02 +0000 (17:31 -0400)]
[System/build] Xamarin.Mac's bare/System.dll does not compile with SECURITY_DEP, like the desktop assemblies
João Matos [Thu, 1 Oct 2015 16:36:00 +0000 (17:36 +0100)]
[runtime] Fixed fast TLS detection on WatchOS.
Jo Shields [Thu, 1 Oct 2015 08:00:58 +0000 (09:00 +0100)]
Merge pull request #2099 from AdamBurgess/master
[Tools] Add user option to cert-sync, fix a few string formatting errors
Adam Burgess [Wed, 30 Sep 2015 15:52:18 +0000 (01:52 +1000)]
[Tools] Add 'user' option to cert-sync
Syncs certificates with the current user's certificate store instead of the local machine's.
To be used when root is not available.
Adam Burgess [Wed, 30 Sep 2015 12:20:39 +0000 (22:20 +1000)]
[Tools] Fix formatting in cert-sync
Miguel de Icaza [Wed, 30 Sep 2015 15:07:11 +0000 (11:07 -0400)]
Move System.IO.Compression and System.IO.Compression.FileSystem from the _parallels directory to the non-parallel ones, hoping that this will fix the issue where Facades that depend on the latter are built only after those are built, currently, we break (see https://wrench.internalx.com/Wrench/WebServices/Download.aspx?workfile_id=
9795720)
Radek Doulik [Wed, 30 Sep 2015 13:07:37 +0000 (15:07 +0200)]
[linker] allow to specify filename for linker dependencies file
- also do not use the timestamp in default filename as it
can be now done by specifying the filename if needed
Marcos Henrich [Wed, 30 Sep 2015 14:00:15 +0000 (15:00 +0100)]
Merge pull request #2045 from BillSeurer/timezone
[ppc] Fix exception when reading from timezone file.
Marcos Henrich [Wed, 30 Sep 2015 09:43:36 +0000 (10:43 +0100)]
[System] Fixes SmtpClientTest.Deliver_Async
Atsushi Eno [Wed, 30 Sep 2015 02:59:09 +0000 (10:59 +0800)]
[CJK] fix bug #34059 - reviewed dead code and added some comments.
Alexis Christoforides [Tue, 29 Sep 2015 21:49:47 +0000 (17:49 -0400)]
[runtime] Make '--arch' more robust and OS X specific.
Also add missing man page entry.
Zoltan Varga [Tue, 29 Sep 2015 22:07:21 +0000 (18:07 -0400)]
[amd64] Fix cross compiling to amd64.
João Matos [Tue, 29 Sep 2015 17:00:05 +0000 (18:00 +0100)]
[arm] Clean up unused ARMv7s / ARMv7k hwcap checks.
Zoltan Varga [Tue, 29 Sep 2015 16:25:32 +0000 (12:25 -0400)]
[arm] Fix the build.
Alex Rønne Petersen [Tue, 29 Sep 2015 16:21:26 +0000 (18:21 +0200)]
Merge pull request #2086 from BillSeurer/testcases
[ppc] Updated ELF ABI v2 test cases to include returning structures f…
Ludovic Henry [Tue, 29 Sep 2015 14:56:41 +0000 (15:56 +0100)]
[corlib] Fix dispose race condition in CancellationTokenSource
The race condition would manifest in the following code:
```
for (int i = 0, total = 100000; i < total; ++i) {
if (i % 50 == 0)
Console.WriteLine ("{0}/{1}", i, total);
var c1 = new CancellationTokenSource ();
var wh = c1.Token.WaitHandle;
c1.CancelAfter (1);
Thread.Sleep (1);
c1.Dispose ();
}
```
And we would observe the following exception:
```
Unhandled Exception: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Threading.ManualResetEvent'.
at System.Threading.WaitHandle.CheckDisposed () [0x00016] in /Users/builder/data/lanes/1196/
33e00ac6/source/mono/mcs/class/corlib/System.Threading/WaitHandle.cs:426
at System.Threading.EventWaitHandle.Set () [0x0000c] in /Users/builder/data/lanes/1196/
33e00ac6/source/mono/mcs/class/corlib/System.Threading/EventWaitHandle.cs:205
at (wrapper remoting-invoke-with-check) System.Threading.EventWaitHandle:Set ()
at System.Threading.CancellationTokenSource.NotifyCancellation (Boolean throwOnFirstException) [0x00051] in /Users/builder/data/lanes/1196/
33e00ac6/source/mono/external/referencesource/mscorlib/system/threading/CancellationTokenSource.cs:723
at System.Threading.CancellationTokenSource.Cancel (Boolean throwOnFirstException) [0x00006] in /Users/builder/data/lanes/1196/
33e00ac6/source/mono/external/referencesource/mscorlib/system/threading/CancellationTokenSource.cs:409
at System.Threading.CancellationTokenSource.Cancel () <0x7d75ada8 + 0x00017> in <filename unknown>:0
at System.Threading.CancellationTokenSource.TimerCallbackLogic (System.Object obj) [0x00012] in /Users/builder/data/lanes/1196/
33e00ac6/source/mono/external/referencesource/mscorlib/system/threading/CancellationTokenSource.cs:538
```
This would be a race condition between the TimerCallbackLogic call to Cancel and the call to Dispose on another thread. You could trigger it more reliably by putting a Thread.Sleep at CancellationTokenSource.cs:599.
Also fixes ConcurrentCancelLinkedTokenSourceWhileDisposing race condition between Cancel and Dispose, by applying the same pattern as CancellationTokenSource.TimerCallbackLogic.
João Matos [Tue, 29 Sep 2015 14:43:37 +0000 (15:43 +0100)]
[runtime] Fixed opcode emulation logic for ARMv7k.
João Matos [Tue, 29 Sep 2015 14:43:21 +0000 (15:43 +0100)]
[runtime] Fixed ARMv7k detection logic.
Marek Safar [Tue, 29 Sep 2015 06:47:27 +0000 (08:47 +0200)]
Merge pull request #2096 from kasthack/system-web-more-replacements
[System.Web] Reference source import
Zoltan Varga [Tue, 29 Sep 2015 01:57:12 +0000 (21:57 -0400)]
[arm] Use 16 byte frame alignment on watchos.
Zoltan Varga [Mon, 28 Sep 2015 23:16:55 +0000 (19:16 -0400)]
[amd64] Fix the msvc build. Fixes #34371.
Zoltan Varga [Mon, 28 Sep 2015 23:12:34 +0000 (19:12 -0400)]
[amd64] Fix the sigctx<->monoctx conversion code to work even if MONO_SIGNAL_USE_SIGACTION is not defined.
kasthack [Mon, 28 Sep 2015 23:09:35 +0000 (02:09 +0300)]
[System.Web] 20 attributes from reference source
Zoltan Varga [Mon, 28 Sep 2015 22:16:00 +0000 (18:16 -0400)]
[amd64] Transition to using trampolines to implement single stepping/breakpoints in JIT mode too.
João Matos [Mon, 28 Sep 2015 21:57:47 +0000 (22:57 +0100)]
Merge pull request #2093 from directhex/fully-qualified-masm-path
Bundle modified masm.props with fully qualified ml.exe call.
Alexis Christoforides [Mon, 28 Sep 2015 19:26:56 +0000 (15:26 -0400)]
[runtime] Attempt to resolve DllImport using the installation lib dir.
Jon Purdy [Mon, 28 Sep 2015 20:18:01 +0000 (13:18 -0700)]
Fix assertion in mono_gchandle_get_target.
Zoltan Varga [Mon, 28 Sep 2015 17:36:43 +0000 (13:36 -0400)]
[arm] Fix another bunch of frame alignment problems.
Marek Habersack [Mon, 28 Sep 2015 14:37:09 +0000 (16:37 +0200)]
[tests] Enable tests for xambug #28777 on Android
The issue was fixed in XA, we can enable the tests now
Zoltan Varga [Mon, 28 Sep 2015 14:21:40 +0000 (10:21 -0400)]
[arm] Fix the unaligned stack check.
Zoltan Varga [Sun, 27 Sep 2015 18:42:56 +0000 (14:42 -0400)]
Revert "[jit] Add a new mono_arch_init_compile () backend function which is used to set various flags in MonoCompile. Use this instead to get rid of some of the #ifdef MONO_ARCH_.. blocks. Add a default implementation which sets the flags based on the MONO_ARCH_.. defines."
This reverts commit
bc50c6630337e2a6b40c653d1a0f73c89b519a82.
Revert this as it seems to break the build.
João Matos [Sun, 27 Sep 2015 13:11:51 +0000 (14:11 +0100)]
Merge pull request #2057 from directhex/monolite-on-jenkins
Move monolite URL to Jenkins, not Boston NAS
Zoltan Varga [Sun, 27 Sep 2015 05:51:26 +0000 (01:51 -0400)]
[jit] Add a new mono_arch_init_compile () backend function which is used to set various flags in MonoCompile. Use this instead to get rid of some of the #ifdef MONO_ARCH_.. blocks. Add a default implementation which sets the flags based on the MONO_ARCH_.. defines.
Zoltan Varga [Sun, 27 Sep 2015 02:12:09 +0000 (22:12 -0400)]
[jit] Remove an unused define.
Zoltan Varga [Sun, 27 Sep 2015 01:17:10 +0000 (21:17 -0400)]
[jit] Add an arch-stubs.c file to collect the stubs for the arch specific functions not implemented by all backends. Use this to avoid #ifdefs at call sites.
Marek Habersack [Fri, 25 Sep 2015 19:18:22 +0000 (21:18 +0200)]
[support] Limit possible values
Value returned from the reader function can be negative and ZStream's
avail_in should not be less than 0 as that value makes no sense and
other parts of code assume it to be equal or higher than 0.
Zoltan Varga [Fri, 25 Sep 2015 17:08:45 +0000 (13:08 -0400)]
[jit] Fix opcode emulation registration when DISABLE_JIT is defined.
Zoltan Varga [Fri, 25 Sep 2015 17:08:15 +0000 (13:08 -0400)]
[arm] Fix compilation on arm.
Zoltan Varga [Fri, 25 Sep 2015 16:45:02 +0000 (12:45 -0400)]
[arm] Allocate a stack frame in the generic trampoline code before making calls. Also avoid assuming that the frame alignment is 8.
Jo Shields [Fri, 25 Sep 2015 08:55:44 +0000 (09:55 +0100)]
Bundle modified masm.props with fully qualified ml.exe call.
In some more esoteric environments (say bash.exe spawned by
jenkins-slave.exe), the _MASM target's attempts to call ml.exe fail
due to ml.exe missing from $PATH (even when it appears to be fine).
The ClCompile target doesn't suffer this issue, since it uses the
full path to CL.exe rather than assuming CL.exe is in $PATH.
Bundle a lightly patched masm.props to duplicate the ClCompile
target behaviour.
This should have no impact on you unless for some reason you're
using a different MASM to the one provided with MSVC.
Marek Safar [Fri, 25 Sep 2015 06:18:19 +0000 (08:18 +0200)]
Merge pull request #2092 from kasthack/system-web-stuff-import
[System.Web] Reference source import
Zoltan Varga [Fri, 25 Sep 2015 01:41:03 +0000 (21:41 -0400)]
[arm64] Fix MONO_CONTEXT_GET_CURRENT support on arm64.
Zoltan Varga [Thu, 24 Sep 2015 23:20:07 +0000 (19:20 -0400)]
Merge pull request #2091 from kumpera/tvos_context_get_current
[tvos] Implement MONO_CONTEXT_GET_CURRENT for tvos
Rodrigo Kumpera [Thu, 24 Sep 2015 21:02:42 +0000 (17:02 -0400)]
[coop] Make coop suspend crashes have names that can be correlated to an Apple crash dump.
Use pthread_setname_np on attach to ensure every thread has a name that Apple's crash dump recognize.
The use pthread_getname_np when doing a thread dump to ensure we get the current thread name.
This cosmetic change will allow us to use Apple crash dumps when troubleshooting suspend issues.
Jonathan Pryor [Thu, 24 Sep 2015 21:15:36 +0000 (17:15 -0400)]
[Mono.Posix] Fix signal tests to run on OS X, Android.
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=33558
Several of the Signal-related tests were disabled when running on OS X
because OS X doesn't provide reliable delivery: it will try to deliver
a signal, but if it's already been delivered it won't continue
delivering them. This results in failures such as:
1) MonoTests.Mono.Unix.UnixSignalTest.TestWaitAny : Expected: 23061
But was: 100000
(Note that "Expected" and "actual" are reversed. Oops.)
Thus, signals are delivered, just "not enough."
As It Happens™, Android is similar: running these tests on
Xamarin.Android results in test failures because not enough signals
are received. (It's not as bad as OS X -- only ~10% off -- but it's
not *all* of the signals either.)
Fix the tests so that they *don't* require that we receive as many
signals as we raise. Instead, assert that all of the UnixSignal
instances actually have a UnixSignal.Count value greater than 0, i.e.
that they've been signaled AT ALL.
Loosening up the tests in this manner allows the tests to pass on
OS X, and should allow things to work as expected on Android.
Rodrigo Kumpera [Thu, 24 Sep 2015 19:11:05 +0000 (15:11 -0400)]
[tvos] Implement MONO_CONTEXT_GET_CURRENT in terms of thread_get_state.
Rodrigo Kumpera [Thu, 24 Sep 2015 19:07:45 +0000 (15:07 -0400)]
[mach] Implement mono_mach_arch_thread_state_to_mono_context.
Rodrigo Kumpera [Thu, 24 Sep 2015 18:41:43 +0000 (14:41 -0400)]
[utils] Split the arm64 code from the arm code for the mach support code.
Now those to conform to the convention used for everything else.
Radek Doulik [Thu, 24 Sep 2015 13:44:20 +0000 (15:44 +0200)]
[linker] add timestamp to the linker deps filename
- and make sure we create a new stack on each dump
Alexis Christoforides [Thu, 24 Sep 2015 18:27:30 +0000 (14:27 -0400)]
[runtime] Add '--arch' argument
Zoltan Varga [Thu, 24 Sep 2015 18:09:45 +0000 (14:09 -0400)]
[arm] Fix the stack alignment in the prolog to work with MONO_ARCH_FRAME_ALIGNMENT values other than 8.
Jonathan Pryor [Thu, 24 Sep 2015 17:15:14 +0000 (13:15 -0400)]
Merge pull request #2084 from joelmartinez/mdoc-deletetestfix
[mdoc] Removed extraneous directory creation.
Jo Shields [Thu, 10 Sep 2015 16:10:09 +0000 (17:10 +0100)]
Move monolite URL to mono-project.com CDN, not Boston NAS
João Matos [Thu, 24 Sep 2015 13:15:54 +0000 (14:15 +0100)]
Fixed Mach abort syscall code to work with Mach targets that do not support it.
Marek Safar [Thu, 24 Sep 2015 12:41:26 +0000 (14:41 +0200)]
[mcs] Further improvements to fixed statement changes from
4ea0fbbd4433d57e41e2327bbfd1ca214ee12f77
Ludovic Henry [Tue, 15 Sep 2015 12:39:27 +0000 (13:39 +0100)]
[coop] Move syscall abort mechanism to dedicated files
Marek Safar [Thu, 24 Sep 2015 09:59:59 +0000 (11:59 +0200)]
[mcs] Emit fixed temp variables as managed references
Marek Safar [Thu, 24 Sep 2015 07:53:25 +0000 (09:53 +0200)]
[mcs] Add link to closest parent async storey only if it hold captured this. Fixes #34168
Marek Safar [Thu, 24 Sep 2015 06:31:37 +0000 (08:31 +0200)]
Merge pull request #2088 from kasthack/system-web-ea-import
[System.Web] Reference source import
kasthack [Thu, 24 Sep 2015 03:36:41 +0000 (06:36 +0300)]
System.Web.Routing: RequestContext, RouteTable, RouteValueDictionary and VirtualPathData from reference source
kasthack [Thu, 24 Sep 2015 02:29:04 +0000 (05:29 +0300)]
[System.Web] Public interfaces from reference source
Mark Probst [Wed, 23 Sep 2015 21:55:09 +0000 (14:55 -0700)]
[sgen] Fix promoted trace output. Fixes #30479.
Mark Probst [Wed, 23 Sep 2015 21:23:26 +0000 (14:23 -0700)]
Merge pull request #2073 from BrzVlad/fix-sgen
Fix sgen
Joel Martinez [Wed, 23 Sep 2015 20:59:55 +0000 (16:59 -0400)]
[mdoc] Now rewriting incorrect `MemberName`.
An error condition in an existing ecma xml doc set was brought to my attention
in which an exception was being raised during an `mdoc update`. The cause of this
error was due to the fact that the `GetTypeParameters` method was getting the
list of type parameters from the `MemberName` string.
This patch fixes the error condition by rewriting `MemberName` if it doesn't
match the value from the reflected member.
Bill Seurer [Wed, 23 Sep 2015 20:44:24 +0000 (15:44 -0500)]
[ppc] Updated ELF ABI v2 test cases to include returning structures from functions
Rodrigo Kumpera [Wed, 23 Sep 2015 20:40:55 +0000 (16:40 -0400)]
[profiler] Add mlpd stats dumping, use --reports=stats.
This add statistical collection of mlpd files. Right now it reports basic statics on number of events
and their overhead, plus general buffer overhead.
This should enable us better understand what a file is made of when figuring out ways to optimize it.
Here's a sample output:
```
Mlpd statistics
Buffer count 13499 overhead 647952 (48 bytes per header)
Event details:
TYPE_GC TYPE_GC_EVENT count 6313 min 4 max 8 bytes 35802
TYPE_GC TYPE_GC_MOVE count 17737 min 12 max 262 bytes
4138055
TYPE_GC TYPE_GC_HANDLE_CREATED count 29833 min 6 max 14 bytes 296379
TYPE_GC TYPE_GC_HANDLE_DESTROYED count 6620 min 5 max 10 bytes 42515
TYPE_METADATA TYPE_END_LOAD count 15926 min 12 max 271 bytes
1112068
TYPE_METHOD TYPE_JIT count 10246 min 26 max 1015 bytes
1043018
TYPE_EXCEPTION TYPE_CLAUSE count 2 min 6 max 6 bytes 12
TYPE_EXCEPTION TYPE_EXCEPTION_BT count 2 min 50 max 50 bytes 100
TYPE_HEAP TYPE_HEAP_START count 1 min 3 max 3 bytes 3
TYPE_HEAP TYPE_HEAP_END count 1 min 4 max 4 bytes 4
TYPE_HEAP TYPE_HEAP_OBJECT count 284536 min 5 max 654 bytes
4823852
TYPE_HEAP TYPE_HEAP_ROOT count
2508919 min 11 max 355 bytes
750970914
TYPE_SAMPLE TYPE_SAMPLE_COUNTERS_DESC count 3 min 256 max 2835 bytes 3712
TYPE_SAMPLE TYPE_SAMPLE_COUNTERS count 1089 min 3 max 402 bytes 66219
TYPE_RUNTIME TYPE_JITHELPER count 21191 min 6 max 29 bytes 252473
```
Rodrigo Kumpera [Sat, 5 Sep 2015 04:39:53 +0000 (00:39 -0400)]
[profiler] Add missing constants for event subtypes.
triton [Wed, 23 Sep 2015 20:20:12 +0000 (21:20 +0100)]
Workaround lack of libunwind in WatchOS.
This is a temporary workaround until get correct fix is properly tested on device.
This makes us be able to compile the runtime with the latest Xcode SDK.
Miguel de Icaza [Wed, 23 Sep 2015 20:09:29 +0000 (16:09 -0400)]
Merge pull request #1843 from info-lvsys/patch-1
Added sha512 and sha256 ; and defaults to SHA512
Miguel de Icaza [Wed, 23 Sep 2015 20:06:59 +0000 (16:06 -0400)]
Merge pull request #1325 from madrang/CryptoToolsCtorCheck
Added null check in constructor of BlockProcessor in CryptoTools.
Miguel de Icaza [Wed, 23 Sep 2015 20:05:09 +0000 (16:05 -0400)]
Merge pull request #757 from mlintner/master
These changes fix 14335. When in getcontractinternal various things can ...
This patch further does not affect mobile.
Miguel de Icaza [Wed, 23 Sep 2015 19:55:08 +0000 (15:55 -0400)]
Merge pull request #2085 from guerrysemones/master
This is a patch to fix bug 34123. System.Drawing.Printing.PrintingSer…
Miguel de Icaza [Wed, 23 Sep 2015 19:36:55 +0000 (15:36 -0400)]
Merge pull request #1218 from AndreyAkinshin/master
Suppression of negative Elapsed in Stopwatch, this is the comment from the Reference Source:
// When measuring small time periods the StopWatch.Elapsed*
// properties can return negative values. This is due to
// bugs in the basic input/output system (BIOS) or the hardware
// abstraction layer (HAL) on machines with variable-speed CPUs
// (e.g. Intel SpeedStep).
Miguel de Icaza [Wed, 23 Sep 2015 19:34:55 +0000 (15:34 -0400)]
Merge pull request #1225 from strawd/bug22307
Fix for bug 22307 - Intermittent IndexOutOfRangeException on closing connection
Miguel de Icaza [Wed, 23 Sep 2015 19:34:00 +0000 (15:34 -0400)]
[mono.data.sqlite] Using sqlite_close_v2 when available
From Matthew Leibowitz (mattleibo)
This is the recommended function for garbage collected languages.
http://sqlite.org/c3ref/close.html
The sqlite3_close_v2() interface is intended for use with host
languages that are garbage collected, and where the order in which
destructors are called is arbitrary.
Falls back to old sqlite3_close if we are on an old system
Useful for ADO.NET where the connection os often closed, but the
commands are re-usable
Mostly visible on Windows operating systems
This snippet should fail with a System.IO.IOException using the
current build of Mono on Windows:
string filename = "test_" + Guid.NewGuid ().ToString ("N") + ".db";
SqliteConnection conn = new SqliteConnection ("Data Source=" + filename);
conn.Open ();
SqliteCommand cmd = conn.CreateCommand ();
cmd.CommandText = "PRAGMA legacy_file_format;";
cmd.ExecuteScalar ();
// close connection before the command
conn.Dispose ();
// then close the command
cmd.Dispose ();
// the locks should be released, and we should be able to delete the database
File.Delete (filename);
Miguel de Icaza [Wed, 23 Sep 2015 19:29:12 +0000 (15:29 -0400)]
[API] Add a couple of .NET 4.5 methods, from pull request 641, had to apply manually
Zoltan Varga [Wed, 23 Sep 2015 19:02:06 +0000 (15:02 -0400)]
[bcl] Stop distributing Mono.C5, there is an updated nuget package for it, keep it for regression testing purposes.
Miguel de Icaza [Wed, 23 Sep 2015 19:00:41 +0000 (15:00 -0400)]
Merge pull request #853 from echampet/onclick
[FIX] correctly handle custom onclick attribute when autopostback = true...
Miguel de Icaza [Wed, 23 Sep 2015 18:56:20 +0000 (14:56 -0400)]
Add new test for Bug 15028, it is fixed by our migration to reference source
Miguel de Icaza [Wed, 23 Sep 2015 18:42:05 +0000 (14:42 -0400)]
Merge pull request #704 from jgagnon/master
Fix for #4938.
Miguel de Icaza [Wed, 23 Sep 2015 18:37:01 +0000 (14:37 -0400)]
Merge pull request #463 from strawd/concurrent-requests
Handle multiple concurrent calls to BeginTryReceiveRequest
guerrysemones [Wed, 23 Sep 2015 18:31:55 +0000 (13:31 -0500)]
This is a patch to fix bug 34123. System.Drawing.Printing.PrintingServicesUnix is failing to print on Mac OSX Yosemite because the CUPS function cupsTempFile now always returns an empty string. This function was deprecated. Now replacing cupsTempFile call with call to cupsTempFd to fix printing. I do not see a clear way to unit test this, and there appear to be no prior unit tests covering this. Essentially we are swapping a function call for another that returns the same type of result. This was tested on my copy of net_4_x The same fix could be applied to mono version 3 also. This change is released under the MIT license.
Miguel de Icaza [Wed, 23 Sep 2015 18:25:57 +0000 (14:25 -0400)]
Merge pull request #1971 from angeloc/master
eglib: checking locale_charset function availability
Miguel de Icaza [Wed, 23 Sep 2015 18:24:06 +0000 (14:24 -0400)]
Merge pull request #2023 from juergenhoetzel/master
[runtime] Fix casting error in InternalCodePage.
Zoltan Varga [Wed, 23 Sep 2015 18:23:27 +0000 (14:23 -0400)]
[arm] Fix aot support for the alignment check code.
Miguel de Icaza [Wed, 23 Sep 2015 18:21:42 +0000 (14:21 -0400)]
Obsolete SmtpClient
Joel Martinez [Wed, 23 Sep 2015 16:29:53 +0000 (12:29 -0400)]
[mdoc] Removed extraneous directory creation.
This was in response to a test failure noticed after this pull request was accepted: https://github.com/mono/mono/pull/2012#commitcomment-
13325966
The solution was two-fold, the code removed was unecessary as this directory is created elsewhere right before the file is written (and with the correct name in the case of a unified type). Also a small change was made to the makefile to clean up some files which was causing some targets to be skipped, along with moving some targets to the `check-doc-tools` target.
Miguel de Icaza [Wed, 23 Sep 2015 18:18:36 +0000 (14:18 -0400)]
Merge pull request #2020 from tomjepp/master
Fix bug #33551 - Use a full FQDN for EHLO and HELO in SmtpClient.
Zoltan Varga [Wed, 23 Sep 2015 16:59:35 +0000 (12:59 -0400)]
[arm] Add a stack alignment check to the prolog code, disabled by default.
Miguel de Icaza [Wed, 23 Sep 2015 15:04:27 +0000 (11:04 -0400)]
Merge pull request #2059 from ermshiperete/Xamarin-33968
[MWF] Fix problem pasting text (Xamarin-33968)
Miguel de Icaza [Wed, 23 Sep 2015 14:59:51 +0000 (10:59 -0400)]
Merge pull request #2072 from AdamBurgess/master
[System] Fix SmtpClient.SendMailAsync never completing
Miguel de Icaza [Wed, 23 Sep 2015 14:59:22 +0000 (10:59 -0400)]
Merge pull request #2080 from upsilon/fix-point-constructor
[System.Drawing] Fix Point constructor with single int parameter to correctly handle negative locations.
kasthack [Wed, 23 Sep 2015 14:58:53 +0000 (17:58 +0300)]
[System.Web] Public *EventArgs from reference source
Marek Habersack [Wed, 23 Sep 2015 14:24:53 +0000 (16:24 +0200)]
[test] Fix dependency on compiler behavior for a couple of tests
A couple of tests for System.Reflection.MethodBody assumed the code generated
by the compiler will be the same as the one generated by Mono's MCS. However,
when the code is built by CSC in release mode (version that comes with VS2015
was tested) the optimizations remove locals required by the old version of the
tests. Also, CSC orders the locals differently to MCS and that breaks one of
the tests which relied on the declaration order.
Another difference is that CSC and MCS type a certain local variable differently.
The variable being a byte* in source code is output in IL as such by MCS, but CSC
outputs an int8& - a by-ref type.
The tests are built by VS but they are executed by Mono on Android and so the
differences come up as errors.
This commit fixes both issues by working around the differences.
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=33370 when it is included in XA
João Matos [Wed, 23 Sep 2015 13:47:50 +0000 (14:47 +0100)]
Merge pull request #2082 from akoeplinger/fix-automake
[unit-tests] Fix "parallel-tests" AUTOMAKE_OPTIONS not recognized by old automake
Marek Safar [Wed, 23 Sep 2015 08:45:28 +0000 (10:45 +0200)]
Merge pull request #2079 from kasthack/system-web-eh-import
[System.Web] Reference source import