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
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.
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
Zoltan Varga [Tue, 22 Sep 2015 21:29:54 +0000 (17:29 -0400)]
Revert "[llvm] Allow phi instructions where some incoming nodes are not defined because they are defined by dead code."
This reverts commit
1a4e073bafdcd9b79ab9f6217730b083d0c52302.
Revert this, it can lead to phi instructions with no nodes.
Zoltan Varga [Tue, 22 Sep 2015 21:08:11 +0000 (17:08 -0400)]
[llvm] Allow phi instructions where some incoming nodes are not defined because they are defined by dead code.
kasthack [Tue, 22 Sep 2015 19:56:26 +0000 (22:56 +0300)]
[System.Web] Public event handlers from reference source
Kimura Youichi [Tue, 22 Sep 2015 18:26:12 +0000 (03:26 +0900)]
[System.Drawing] Fix Point constructor with single int parameter to correctly handle negative locations.
Rodrigo Kumpera [Tue, 22 Sep 2015 19:37:07 +0000 (15:37 -0400)]
[utils] Fix amd64 version of MONO_CONTEXT_GET_CURRENT.
Registers must be saved in MonoContext in the same order as mono_sigctx_to_monoctx.
This caused crashes on linux when unified suspend was enabled.
Ludovic Henry [Thu, 10 Sep 2015 13:03:03 +0000 (14:03 +0100)]
[coop-gc] Make Thread.Sleep interruptable signalless
kasthack [Tue, 22 Sep 2015 19:16:36 +0000 (22:16 +0300)]
[System.Web] HttpApplicationStateWrapper, HttpBrowserCapabilitiesWrapper, HttpCachePolicyWrapper and HttpSessionStateWrapper from reference source
Zoltan Varga [Tue, 22 Sep 2015 18:06:38 +0000 (14:06 -0400)]
Zoltan Varga [Tue, 22 Sep 2015 18:02:17 +0000 (14:02 -0400)]
[jit] Fix the linking of bblocks for switch statements, previously we were linking the bblock containing the range check with the target bblocks as well, causing problems when using llvm. Fixes #34147.
Marek Safar [Tue, 22 Sep 2015 17:32:05 +0000 (19:32 +0200)]
Merge pull request #2076 from akoeplinger/fix-bootstrap
[System] Remove C#6 expression bodied property to fix bootstrapping with older mcs
Marek Safar [Tue, 22 Sep 2015 17:31:15 +0000 (19:31 +0200)]
Merge pull request #2075 from kasthack/system-web-import-enums
[System.Web] Public enums from reference source
Alexander Köplinger [Tue, 22 Sep 2015 17:26:57 +0000 (19:26 +0200)]
[System] Remove C#6 expression bodied property to fix bootstrapping with older mcs
kasthack [Tue, 22 Sep 2015 15:46:35 +0000 (18:46 +0300)]
[System.Web] Public enums from reference source
Ludovic Henry [Tue, 15 Sep 2015 09:46:31 +0000 (10:46 +0100)]
[socket-io] Cleanup of the code to ease switching to signalless interrupts
Also fixes a bunch of missing MONO_(PREPARE|FINISH)_BLOCKING, or remove returns between MONO_(PREPARE|FINISH)_BLOCKING
Ludovic Henry [Fri, 14 Aug 2015 18:42:54 +0000 (15:42 -0300)]
[runtime] Fix color formatting on sublime text
Ludovic Henry [Fri, 14 Aug 2015 18:30:04 +0000 (15:30 -0300)]
[thread] Remove parameter as we always pass the current one
Ludovic Henry [Thu, 13 Aug 2015 20:08:59 +0000 (17:08 -0300)]
[thread] Remove duplicate and unused function declaration
Alexander Köplinger [Mon, 21 Sep 2015 23:28:00 +0000 (01:28 +0200)]
[unit-tests] Fix "parallel-tests" AUTOMAKE_OPTIONS not recognized by old automake
automake 1.13 introduced the flag as default, in
5ad2890c I explicitly set it via AUTOMAKE_OPTIONS
to ensure Jenkins (which is on automake 1.11 on some builders) has the same behavior.
Turns out that the flag isn't recognized by automake versions below 1.11 and so the build fails there.
To fix the problem, remove AUTOMAKE_OPTIONS from the Makefile.am in unit-tests and introduce some clever
code in configure.ac instead to set the flag only on the automake versions that need it.
David Karlaš [Tue, 22 Sep 2015 09:20:39 +0000 (11:20 +0200)]
Merge pull request #2071 from DavidKarlas/bug25480
Bug 25480 - OutputPath property is not set for this project
Eberhard Beilharz [Tue, 22 Sep 2015 08:22:35 +0000 (10:22 +0200)]
[MWF] Fix problem pasting text (Xamarin-33968)
Fix a problem where pasting certain unicode characters from the
clipboard (e.g. "aʼaa") resulted in "a벪".
Adam Burgess [Mon, 21 Sep 2015 18:35:39 +0000 (04:35 +1000)]
[System] Fix SmtpClient.SendMailAsync never completing
David Karlaš [Mon, 21 Sep 2015 18:30:22 +0000 (20:30 +0200)]
[XBuild] Ignoring paths of .csproj, .targets and .sln file paths so in case of missmatch between values in <ProjectReference> or .sln and actual file system continue matching project file path and project
David Karlaš [Mon, 21 Sep 2015 18:28:43 +0000 (20:28 +0200)]
[XBuild] Bug 25480 - OutputPath property is not set for this project
This error was generated when iOS(or any other kind of project, that is referencing other project in solution via <ProjectReference>) wanted to get OutputPath of PCL(or any other referenced project) but it failed in case of IDE because wrong conditions(see .targets files changes). Reason this bug was never discovered before is because PCL project was already loaded before with correct configuration/platform so not having AssignProjectConfiguration target executed had no effect. Reason it appeared in this case(Bug 25480) was that .sln and .csproj<ProjectReference> had folder path defined as XamlSamples but actual file system had xamlsamples(notice different chars casing). So projects.TryGet(filePath, out project) failed, hence project had to be reloaded, and then bug from .targets files showed up...
A bit more details about fix: The AssignProjectConfiguration target assigns configurations to the various @(ProjectReference), and is used from targets like ResolveProjectReferences, which are enabled only while building solution files ( $(BuildingSolutionFile) ) or when invoked from the IDE ( $(BuildingInsideVisualStudio) ). But the AssignProjectConfiguration target ignores the IDE case, which breaks usage of ResolveProjectReferences from the same. Fix up to run for both the cases.
Alexander Köplinger [Mon, 21 Sep 2015 12:19:05 +0000 (14:19 +0200)]
Revert "System.Web.UI.WebControls.SendMailErrorEvent(Args|Handler) from referencesource"
This reverts commit
7f5413a819d56db28202de94fec836fef0bddd96.
It caused a test failure in MonoTests.System.Web.UI.WebControls.PasswordRecoveryTest.GetPasswordTest
Marek Safar [Mon, 21 Sep 2015 09:07:20 +0000 (11:07 +0200)]
Bump referencesource
Marek Safar [Mon, 21 Sep 2015 07:58:47 +0000 (09:58 +0200)]
[corlib] Match es-es NumberGroupSeparator with es. Fixes #34047
Marek Safar [Mon, 21 Sep 2015 07:07:46 +0000 (09:07 +0200)]
Merge branch 'pr/2065'
Marek Safar [Mon, 21 Sep 2015 07:04:34 +0000 (09:04 +0200)]
[System.Net.Http] Set host header directly only
Marek Safar [Mon, 21 Sep 2015 06:28:44 +0000 (08:28 +0200)]
Merge pull request #2068 from kasthack/System.Web-import
System.Web reference source imports
Zoltan Varga [Mon, 21 Sep 2015 04:51:23 +0000 (00:51 -0400)]
Merge pull request #2067 from akoeplinger/unit-tests-nunit
[unit-tests] Emit NUnit xml report of test result
Zoltan Varga [Mon, 21 Sep 2015 04:41:53 +0000 (00:41 -0400)]
[aot] Remove unused 'autoreg' option.
Zoltan Varga [Mon, 21 Sep 2015 04:38:50 +0000 (00:38 -0400)]
[aot] Remove support for direct object file emission in aot mode, the implementation is not complete.
Zoltan Varga [Sun, 20 Sep 2015 18:56:37 +0000 (14:56 -0400)]
Add an 'rgctx' field to MonoDelegate, not yet used.
kasthack [Sun, 20 Sep 2015 06:53:17 +0000 (09:53 +0300)]
System.Web.Configuration.(AdapterDictionary,AuthenticationMode,MachineKeyValidation,ProcessModelComAuthenticationLevel,ProcessModelComImpersonationLevel,SystemWebCachingSectionGroup,WebApplicationLevel,XhtmlConformanceMode) from reference source
Added AsyncPreloadModeFlags + some internal classes used by MS's implementation
kasthack [Sun, 20 Sep 2015 05:36:48 +0000 (08:36 +0300)]
System.Web.UI.WebControls.WebParts.IWebPartTable+TableCallback from referencesource
kasthack [Sun, 20 Sep 2015 05:34:21 +0000 (08:34 +0300)]
System.Web.UI.WebControls.WebParts.IWebActionable from referencesource
kasthack [Sun, 20 Sep 2015 05:32:56 +0000 (08:32 +0300)]
System.Web.Configuration.CustomErrorsRedirectMode from referencesource
kasthack [Sun, 20 Sep 2015 05:31:45 +0000 (08:31 +0300)]
System.Web.UI.WebParts.WebPartEvent(Args|Handler) from referencesource
kasthack [Sun, 20 Sep 2015 05:30:05 +0000 (08:30 +0300)]
System.Web.Configuration.PagesEnableSessionState referencesource
kasthack [Sun, 20 Sep 2015 05:28:34 +0000 (08:28 +0300)]
System.Web.UI.WebParts.PartChromeState from referencesource
kasthack [Sun, 20 Sep 2015 05:26:12 +0000 (08:26 +0300)]
System.Web.UI.WebControls.CreateUserErrorEvent(Args|Handler) from referencesource
kasthack [Sun, 20 Sep 2015 05:24:31 +0000 (08:24 +0300)]
+System.Web.Configuration.TicketCompatibilityMode
kasthack [Sun, 20 Sep 2015 05:23:27 +0000 (08:23 +0300)]
System.Web.UI.WebControls.SendMailErrorEvent(Args|Handler) from referencesource
kasthack [Sun, 20 Sep 2015 05:21:32 +0000 (08:21 +0300)]
System.Web.Configuration.ProcessModelLogLevel from referencesource
kasthack [Sun, 20 Sep 2015 05:19:40 +0000 (08:19 +0300)]
+System.Web.Configuration.ProfileGuidedOptimizationsFlags.cs
kasthack [Sun, 20 Sep 2015 05:18:08 +0000 (08:18 +0300)]
System.Web.UI.WebControls.AuthenticateEvent(Args|Handler) from referencesource
kasthack [Sun, 20 Sep 2015 05:16:12 +0000 (08:16 +0300)]
+System.Web.UI.ValidateRequestMode
kasthack [Sun, 20 Sep 2015 05:14:52 +0000 (08:14 +0300)]
System.Web.Configuration.CustomErrorsMode from referencesource
kasthack [Sun, 20 Sep 2015 05:13:31 +0000 (08:13 +0300)]
System.Web.UI.WebControls.IPersistedSelector from referencesource
kasthack [Sun, 20 Sep 2015 05:11:52 +0000 (08:11 +0300)]
System.Web.Configuration.TraceDisplayMode from referencesource
kasthack [Sun, 20 Sep 2015 05:10:32 +0000 (08:10 +0300)]
System.Web.Configuration.AuthorizationRuleAction from referencesource
kasthack [Sun, 20 Sep 2015 05:08:50 +0000 (08:08 +0300)]
System.Web.UI.WebControls.LoginCancelEvent(Handler|Args) from referencesource
kasthack [Sun, 20 Sep 2015 05:06:34 +0000 (08:06 +0300)]
+UnobtrusiveValidationMode.cs
kasthack [Sun, 20 Sep 2015 05:05:09 +0000 (08:05 +0300)]
System.Web.UI.WebControls.WebParts.(IWebPartField|IWebPartFieldCallback) from referencesource
kasthack [Sun, 20 Sep 2015 05:00:14 +0000 (08:00 +0300)]
System.Web.UI.WebControls.WebParts.(IWebPartRow|IWebPartRowCallback) from referencesource
kasthack [Sun, 20 Sep 2015 04:55:49 +0000 (07:55 +0300)]
System.Web.TraceContextEvent(Args|Handler) from referencesource
kasthack [Sun, 20 Sep 2015 04:51:59 +0000 (07:51 +0300)]
System.Web.Routing.IRouteConstraint from referencesource
kasthack [Sun, 20 Sep 2015 04:45:49 +0000 (07:45 +0300)]
+System.Web.ModelBinding.(ModelError,ModelErrorCollection)
kasthack [Sun, 20 Sep 2015 04:40:54 +0000 (07:40 +0300)]
System.Web.UI.IThemeResolutionService from referencesource
kasthack [Sun, 20 Sep 2015 04:37:08 +0000 (07:37 +0300)]
System.Web.UI.WebControls.CallingDataMethodsEvent(Handler|Args) from referencesource
kasthack [Sun, 20 Sep 2015 04:33:12 +0000 (07:33 +0300)]
System.Web.Routing.IRouteHandler from reference source
kasthack [Sun, 20 Sep 2015 04:31:44 +0000 (07:31 +0300)]
System.Web.UI.WebControls.IDataBoundItemControl from reference source
kasthack [Sun, 20 Sep 2015 04:29:43 +0000 (07:29 +0300)]
System.Web.Routing.RouteDirection from reference source
kasthack [Sun, 20 Sep 2015 04:26:39 +0000 (07:26 +0300)]
System.Web.UI.WebControls.IFieldControl from reference source
kasthack [Sun, 20 Sep 2015 04:22:14 +0000 (07:22 +0300)]
System.Web.Caching.ResponseElement from reference source
kasthack [Sun, 20 Sep 2015 04:12:30 +0000 (07:12 +0300)]
System.Web.SessionState.SessionStateBehavior from reference source
kasthack [Sun, 20 Sep 2015 03:50:25 +0000 (06:50 +0300)]
System.Web.Compilation.(ImplicitResourceKey,IImplicitResourceProvider) from reference source
kasthack [Sun, 20 Sep 2015 03:38:52 +0000 (06:38 +0300)]
System.Web.Compilation.IAssemblyPostProcess from reference source
Alexander Köplinger [Sun, 20 Sep 2015 00:59:19 +0000 (02:59 +0200)]
[System] Fix SocketTest.SendAsyncFile test to use dynamic port
The previous hardcoded port 8001 caused "address already in use" errors on Jenkins.
Alexander Köplinger [Fri, 18 Sep 2015 17:37:10 +0000 (19:37 +0200)]
[unit-tests] Emit NUnit xml report of test result
Overrides check-local to output an NUnit report of the test results.
It currently creates a single pass/fail test case as this is the easiest solution,
but the test log is included in the report which should be enough to diagnose errors.
Parallelism is disabled here since we need to ensure check-local happens after check
so we can parse test-suite.log. The tests are quite fast so it doesn't hurt much.
We need AUTOMAKE_OPTIONS=parallel-tests so the test-suite.log gets created on automake 1.11.
Zoltan Varga [Sat, 19 Sep 2015 16:48:57 +0000 (12:48 -0400)]
Merge pull request #2029 from madewokherd/winformstests
Fix MonoTests.System.Windows.Forms.TrackBarBaseTest on Windows.
Alexander Köplinger [Sat, 19 Sep 2015 01:44:51 +0000 (03:44 +0200)]
Merge pull request #2064 from akoeplinger/profiler-nunit
[profiler] Emit NUnit xml report of test result in ptestrunner.pl
Rodrigo Kumpera [Fri, 18 Sep 2015 20:51:12 +0000 (16:51 -0400)]
[threading] Apparentlty zero is a valid tls key on some systems.
Marek Habersack [Mon, 14 Sep 2015 11:13:46 +0000 (13:13 +0200)]
[threadpool] Prevent high CPU usage in certain conditions
Threadpool uses poll(2) to watch the file descriptors for activity but
it can sometimes miss that an fd went into error. When that happens the
poll call is interrupted with EAGAIN since the erroneous fd's events have
already been read and there's nothing left in the queue for it. That, in turn,
causes mono to run the loop so quickly that it uses 100% of the CPU. It happens,
for instance, with Xamarin Studio which can utilize two CPU cores to the full while
idling on the opening screen.
This commit makes sure to remove the descriptors with errors from the poll set and
thus preventing the syscall from being interrupted and returning EAGAIN.
Zoltan Varga [Fri, 18 Sep 2015 16:56:29 +0000 (12:56 -0400)]
[jit] Remove some obsolete code from mini_type_is_hfa ().