mono.git
8 years agoMerge pull request #853 from echampet/onclick
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...

8 years agoAdd new test for Bug 15028, it is fixed by our migration to reference source
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

8 years agoMerge pull request #704 from jgagnon/master
Miguel de Icaza [Wed, 23 Sep 2015 18:42:05 +0000 (14:42 -0400)]
Merge pull request #704 from jgagnon/master

Fix for #4938.

8 years agoMerge pull request #463 from strawd/concurrent-requests
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

8 years agoMerge pull request #1971 from angeloc/master
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

8 years agoMerge pull request #2023 from juergenhoetzel/master
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.

8 years ago[arm] Fix aot support for the alignment check code.
Zoltan Varga [Wed, 23 Sep 2015 18:23:27 +0000 (14:23 -0400)]
[arm] Fix aot support for the alignment check code.

8 years agoObsolete SmtpClient
Miguel de Icaza [Wed, 23 Sep 2015 18:21:42 +0000 (14:21 -0400)]
Obsolete SmtpClient

8 years agoMerge pull request #2020 from tomjepp/master
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.

8 years ago[arm] Add a stack alignment check to the prolog code, disabled by default.
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.

8 years agoMerge pull request #2059 from ermshiperete/Xamarin-33968
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)

8 years agoMerge pull request #2072 from AdamBurgess/master
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

8 years agoMerge pull request #2080 from upsilon/fix-point-constructor
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.

8 years ago[test] Fix dependency on compiler behavior for a couple of tests
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

8 years agoMerge pull request #2082 from akoeplinger/fix-automake
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

8 years agoMerge pull request #2079 from kasthack/system-web-eh-import
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

8 years agoRevert "[llvm] Allow phi instructions where some incoming nodes are not defined becau...
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.

8 years ago[llvm] Allow phi instructions where some incoming nodes are not defined because they...
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.

8 years ago[System.Web] Public event handlers from reference source
kasthack [Tue, 22 Sep 2015 19:56:26 +0000 (22:56 +0300)]
[System.Web] Public event handlers from reference source

8 years ago[System.Drawing] Fix Point constructor with single int parameter to correctly handle...
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.

8 years ago[utils] Fix amd64 version of MONO_CONTEXT_GET_CURRENT.
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.

8 years ago[coop-gc] Make Thread.Sleep interruptable signalless
Ludovic Henry [Thu, 10 Sep 2015 13:03:03 +0000 (14:03 +0100)]
[coop-gc] Make Thread.Sleep interruptable signalless

8 years ago[System.Web] HttpApplicationStateWrapper, HttpBrowserCapabilitiesWrapper, HttpCachePo...
kasthack [Tue, 22 Sep 2015 19:16:36 +0000 (22:16 +0300)]
[System.Web] HttpApplicationStateWrapper, HttpBrowserCapabilitiesWrapper, HttpCachePolicyWrapper and HttpSessionStateWrapper from reference source

8 years ago[aot] Fix a regression introduced by cc946ea5b9e3cbb020c66d8986ecd220ca7ba58c.
Zoltan Varga [Tue, 22 Sep 2015 18:06:38 +0000 (14:06 -0400)]
[aot] Fix a regression introduced by cc946ea5b9e3cbb020c66d8986ecd220ca7ba58c.

8 years ago[jit] Fix the linking of bblocks for switch statements, previously we were linking...
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.

8 years agoMerge pull request #2076 from akoeplinger/fix-bootstrap
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

8 years agoMerge pull request #2075 from kasthack/system-web-import-enums
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

8 years ago[System] Remove C#6 expression bodied property to fix bootstrapping with older mcs
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

8 years ago[System.Web] Public enums from reference source
kasthack [Tue, 22 Sep 2015 15:46:35 +0000 (18:46 +0300)]
[System.Web] Public enums from reference source

8 years ago[socket-io] Cleanup of the code to ease switching to signalless interrupts
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

8 years ago[runtime] Fix color formatting on sublime text
Ludovic Henry [Fri, 14 Aug 2015 18:42:54 +0000 (15:42 -0300)]
[runtime] Fix color formatting on sublime text

8 years ago[thread] Remove parameter as we always pass the current one
Ludovic Henry [Fri, 14 Aug 2015 18:30:04 +0000 (15:30 -0300)]
[thread] Remove parameter as we always pass the current one

8 years ago[thread] Remove duplicate and unused function declaration
Ludovic Henry [Thu, 13 Aug 2015 20:08:59 +0000 (17:08 -0300)]
[thread] Remove duplicate and unused function declaration

8 years ago[unit-tests] Fix "parallel-tests" AUTOMAKE_OPTIONS not recognized by old automake
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.

8 years agoMerge pull request #2071 from DavidKarlas/bug25480
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

8 years ago[MWF] Fix problem pasting text (Xamarin-33968)
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벪".

8 years ago[System] Fix SmtpClient.SendMailAsync never completing
Adam Burgess [Mon, 21 Sep 2015 18:35:39 +0000 (04:35 +1000)]
[System] Fix SmtpClient.SendMailAsync never completing

8 years ago[XBuild] Ignoring paths of .csproj, .targets and .sln file paths so in case of missma...
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

8 years ago[XBuild] Bug 25480 - OutputPath property is not set for this 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.

8 years agoRevert "System.Web.UI.WebControls.SendMailErrorEvent(Args|Handler) from referencesource"
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

8 years agoBump referencesource
Marek Safar [Mon, 21 Sep 2015 09:07:20 +0000 (11:07 +0200)]
Bump referencesource

8 years ago[corlib] Match es-es NumberGroupSeparator with es. Fixes #34047
Marek Safar [Mon, 21 Sep 2015 07:58:47 +0000 (09:58 +0200)]
[corlib] Match es-es NumberGroupSeparator with es. Fixes #34047

8 years agoMerge branch 'pr/2065'
Marek Safar [Mon, 21 Sep 2015 07:07:46 +0000 (09:07 +0200)]
Merge branch 'pr/2065'

8 years ago[System.Net.Http] Set host header directly only
Marek Safar [Mon, 21 Sep 2015 07:04:34 +0000 (09:04 +0200)]
[System.Net.Http] Set host header directly only

8 years agoMerge pull request #2068 from kasthack/System.Web-import
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

8 years agoMerge pull request #2067 from akoeplinger/unit-tests-nunit
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

8 years ago[aot] Remove unused 'autoreg' option.
Zoltan Varga [Mon, 21 Sep 2015 04:41:53 +0000 (00:41 -0400)]
[aot] Remove unused 'autoreg' option.

8 years ago[aot] Remove support for direct object file emission in aot mode, the implementation...
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.

8 years agoAdd an 'rgctx' field to MonoDelegate, not yet used.
Zoltan Varga [Sun, 20 Sep 2015 18:56:37 +0000 (14:56 -0400)]
Add an 'rgctx' field to MonoDelegate, not yet used.

8 years agoSystem.Web.Configuration.(AdapterDictionary,AuthenticationMode,MachineKeyValidation...
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

8 years agoSystem.Web.UI.WebControls.WebParts.IWebPartTable+TableCallback from referencesource
kasthack [Sun, 20 Sep 2015 05:36:48 +0000 (08:36 +0300)]
System.Web.UI.WebControls.WebParts.IWebPartTable+TableCallback from referencesource

8 years agoSystem.Web.UI.WebControls.WebParts.IWebActionable from referencesource
kasthack [Sun, 20 Sep 2015 05:34:21 +0000 (08:34 +0300)]
System.Web.UI.WebControls.WebParts.IWebActionable from referencesource

8 years agoSystem.Web.Configuration.CustomErrorsRedirectMode from referencesource
kasthack [Sun, 20 Sep 2015 05:32:56 +0000 (08:32 +0300)]
System.Web.Configuration.CustomErrorsRedirectMode from referencesource

8 years agoSystem.Web.UI.WebParts.WebPartEvent(Args|Handler) from referencesource
kasthack [Sun, 20 Sep 2015 05:31:45 +0000 (08:31 +0300)]
System.Web.UI.WebParts.WebPartEvent(Args|Handler) from referencesource

8 years agoSystem.Web.Configuration.PagesEnableSessionState referencesource
kasthack [Sun, 20 Sep 2015 05:30:05 +0000 (08:30 +0300)]
System.Web.Configuration.PagesEnableSessionState referencesource

8 years agoSystem.Web.UI.WebParts.PartChromeState from referencesource
kasthack [Sun, 20 Sep 2015 05:28:34 +0000 (08:28 +0300)]
System.Web.UI.WebParts.PartChromeState from referencesource

8 years agoSystem.Web.UI.WebControls.CreateUserErrorEvent(Args|Handler) from referencesource
kasthack [Sun, 20 Sep 2015 05:26:12 +0000 (08:26 +0300)]
System.Web.UI.WebControls.CreateUserErrorEvent(Args|Handler) from referencesource

8 years ago+System.Web.Configuration.TicketCompatibilityMode
kasthack [Sun, 20 Sep 2015 05:24:31 +0000 (08:24 +0300)]
+System.Web.Configuration.TicketCompatibilityMode

8 years agoSystem.Web.UI.WebControls.SendMailErrorEvent(Args|Handler) from referencesource
kasthack [Sun, 20 Sep 2015 05:23:27 +0000 (08:23 +0300)]
System.Web.UI.WebControls.SendMailErrorEvent(Args|Handler) from referencesource

8 years agoSystem.Web.Configuration.ProcessModelLogLevel from referencesource
kasthack [Sun, 20 Sep 2015 05:21:32 +0000 (08:21 +0300)]
System.Web.Configuration.ProcessModelLogLevel from referencesource

8 years ago+System.Web.Configuration.ProfileGuidedOptimizationsFlags.cs
kasthack [Sun, 20 Sep 2015 05:19:40 +0000 (08:19 +0300)]
+System.Web.Configuration.ProfileGuidedOptimizationsFlags.cs

8 years agoSystem.Web.UI.WebControls.AuthenticateEvent(Args|Handler) from referencesource
kasthack [Sun, 20 Sep 2015 05:18:08 +0000 (08:18 +0300)]
System.Web.UI.WebControls.AuthenticateEvent(Args|Handler) from referencesource

8 years ago+System.Web.UI.ValidateRequestMode
kasthack [Sun, 20 Sep 2015 05:16:12 +0000 (08:16 +0300)]
+System.Web.UI.ValidateRequestMode

8 years agoSystem.Web.Configuration.CustomErrorsMode from referencesource
kasthack [Sun, 20 Sep 2015 05:14:52 +0000 (08:14 +0300)]
System.Web.Configuration.CustomErrorsMode from referencesource

8 years agoSystem.Web.UI.WebControls.IPersistedSelector from referencesource
kasthack [Sun, 20 Sep 2015 05:13:31 +0000 (08:13 +0300)]
System.Web.UI.WebControls.IPersistedSelector from referencesource

8 years agoSystem.Web.Configuration.TraceDisplayMode from referencesource
kasthack [Sun, 20 Sep 2015 05:11:52 +0000 (08:11 +0300)]
System.Web.Configuration.TraceDisplayMode from referencesource

8 years agoSystem.Web.Configuration.AuthorizationRuleAction from referencesource
kasthack [Sun, 20 Sep 2015 05:10:32 +0000 (08:10 +0300)]
System.Web.Configuration.AuthorizationRuleAction from referencesource

8 years agoSystem.Web.UI.WebControls.LoginCancelEvent(Handler|Args) from referencesource
kasthack [Sun, 20 Sep 2015 05:08:50 +0000 (08:08 +0300)]
System.Web.UI.WebControls.LoginCancelEvent(Handler|Args) from referencesource

8 years ago+UnobtrusiveValidationMode.cs
kasthack [Sun, 20 Sep 2015 05:06:34 +0000 (08:06 +0300)]
+UnobtrusiveValidationMode.cs

8 years agoSystem.Web.UI.WebControls.WebParts.(IWebPartField|IWebPartFieldCallback) from referen...
kasthack [Sun, 20 Sep 2015 05:05:09 +0000 (08:05 +0300)]
System.Web.UI.WebControls.WebParts.(IWebPartField|IWebPartFieldCallback) from referencesource

8 years agoSystem.Web.UI.WebControls.WebParts.(IWebPartRow|IWebPartRowCallback) from referencesource
kasthack [Sun, 20 Sep 2015 05:00:14 +0000 (08:00 +0300)]
System.Web.UI.WebControls.WebParts.(IWebPartRow|IWebPartRowCallback) from referencesource

8 years agoSystem.Web.TraceContextEvent(Args|Handler) from referencesource
kasthack [Sun, 20 Sep 2015 04:55:49 +0000 (07:55 +0300)]
System.Web.TraceContextEvent(Args|Handler) from referencesource

8 years agoSystem.Web.Routing.IRouteConstraint from referencesource
kasthack [Sun, 20 Sep 2015 04:51:59 +0000 (07:51 +0300)]
System.Web.Routing.IRouteConstraint from referencesource

8 years ago+System.Web.ModelBinding.(ModelError,ModelErrorCollection)
kasthack [Sun, 20 Sep 2015 04:45:49 +0000 (07:45 +0300)]
+System.Web.ModelBinding.(ModelError,ModelErrorCollection)

8 years agoSystem.Web.UI.IThemeResolutionService from referencesource
kasthack [Sun, 20 Sep 2015 04:40:54 +0000 (07:40 +0300)]
System.Web.UI.IThemeResolutionService from referencesource

8 years agoSystem.Web.UI.WebControls.CallingDataMethodsEvent(Handler|Args) from referencesource
kasthack [Sun, 20 Sep 2015 04:37:08 +0000 (07:37 +0300)]
System.Web.UI.WebControls.CallingDataMethodsEvent(Handler|Args) from  referencesource

8 years agoSystem.Web.Routing.IRouteHandler from reference source
kasthack [Sun, 20 Sep 2015 04:33:12 +0000 (07:33 +0300)]
System.Web.Routing.IRouteHandler from reference source

8 years agoSystem.Web.UI.WebControls.IDataBoundItemControl from reference source
kasthack [Sun, 20 Sep 2015 04:31:44 +0000 (07:31 +0300)]
System.Web.UI.WebControls.IDataBoundItemControl from reference source

8 years agoSystem.Web.Routing.RouteDirection from reference source
kasthack [Sun, 20 Sep 2015 04:29:43 +0000 (07:29 +0300)]
System.Web.Routing.RouteDirection from reference source

8 years agoSystem.Web.UI.WebControls.IFieldControl from reference source
kasthack [Sun, 20 Sep 2015 04:26:39 +0000 (07:26 +0300)]
System.Web.UI.WebControls.IFieldControl from reference source

8 years agoSystem.Web.Caching.ResponseElement from reference source
kasthack [Sun, 20 Sep 2015 04:22:14 +0000 (07:22 +0300)]
System.Web.Caching.ResponseElement from reference source

8 years agoSystem.Web.SessionState.SessionStateBehavior from reference source
kasthack [Sun, 20 Sep 2015 04:12:30 +0000 (07:12 +0300)]
System.Web.SessionState.SessionStateBehavior from reference source

8 years agoSystem.Web.Compilation.(ImplicitResourceKey,IImplicitResourceProvider) from reference...
kasthack [Sun, 20 Sep 2015 03:50:25 +0000 (06:50 +0300)]
System.Web.Compilation.(ImplicitResourceKey,IImplicitResourceProvider) from reference source

8 years agoSystem.Web.Compilation.IAssemblyPostProcess from reference source
kasthack [Sun, 20 Sep 2015 03:38:52 +0000 (06:38 +0300)]
System.Web.Compilation.IAssemblyPostProcess from reference source

8 years ago[System] Fix SocketTest.SendAsyncFile test to use dynamic port
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.

8 years ago[unit-tests] Emit NUnit xml report of test result
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.

8 years agoMerge pull request #2029 from madewokherd/winformstests
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.

8 years agoMerge pull request #2064 from akoeplinger/profiler-nunit
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

8 years ago[threading] Apparentlty zero is a valid tls key on some systems.
Rodrigo Kumpera [Fri, 18 Sep 2015 20:51:12 +0000 (16:51 -0400)]
[threading] Apparentlty zero is a valid tls key on some systems.

8 years ago[threadpool] Prevent high CPU usage in certain conditions
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.

8 years ago[jit] Remove some obsolete code from mini_type_is_hfa ().
Zoltan Varga [Fri, 18 Sep 2015 16:56:29 +0000 (12:56 -0400)]
[jit] Remove some obsolete code from mini_type_is_hfa ().

8 years ago[linker-analyzer] enable build of linker-analyzer tool
Radek Doulik [Fri, 18 Sep 2015 11:08:36 +0000 (13:08 +0200)]
[linker-analyzer] enable build of linker-analyzer tool

8 years ago[linker] add linker dependencies dumping
Radek Doulik [Wed, 16 Sep 2015 21:03:43 +0000 (23:03 +0200)]
[linker] add linker dependencies dumping

8 years ago[linker-analyzer] intitial commit of the tool
Radek Doulik [Wed, 16 Sep 2015 12:59:34 +0000 (14:59 +0200)]
[linker-analyzer] intitial commit of the tool

8 years ago[System.Net.Http] Fix custom Host header not being set on requests. Fixes #34044
Adam Burgess [Fri, 18 Sep 2015 05:35:49 +0000 (05:35 +0000)]
[System.Net.Http] Fix custom Host header not being set on requests. Fixes #34044

8 years agoMerge pull request #1899 from saper/resgencond
Atsushi Eno [Fri, 18 Sep 2015 02:12:32 +0000 (10:12 +0800)]
Merge pull request #1899 from saper/resgencond

[resgen] Implement conditional resources (#if/#ifdef)

8 years agoRevert "[jit] Emit the results of the jit regressions tests in nunit format only...
Zoltan Varga [Thu, 17 Sep 2015 21:50:39 +0000 (17:50 -0400)]
Revert "[jit] Emit the results of the jit regressions tests in nunit format only when running under jenkins."

This reverts commit 1ef694ae5272dd08f972e74598ec758cb911be89.

Revert this, JENKINS_URL is not an automake variable.

8 years ago[profiler] Emit NUnit xml report of test result in ptestrunner.pl
Alexander Köplinger [Thu, 17 Sep 2015 21:46:28 +0000 (23:46 +0200)]
[profiler] Emit NUnit xml report of test result in ptestrunner.pl

Currently only emits a single pass/fail testcase as capturing the individual errors
and test counts would be much more invasive.

The bulk of the logic is copied from mono/mini/emitnunit.pl.

8 years ago[bcl] Fix System.Net.HttpWebRequestTest.GetRequestStream hang
Ludovic Henry [Mon, 14 Sep 2015 14:32:21 +0000 (15:32 +0100)]
[bcl] Fix System.Net.HttpWebRequestTest.GetRequestStream hang

This hang would manifest when running the System test suite, with a thread waiting on a `recv'. This syscall would never be interrupted because the socket it would listen on would never close, as there would still be references to its SafeSocketHandle, so that it would never release the native handle.

The issue came from the fact that, when closing the SocketResponder (via the Dispose and the using), the listening thread would never be aborted/stopped, and it would consequently never be collected, thus never releasing the current socket on which _requestHandler is called, thus never aborting the above `recv' syscall.

The issue would arise with the cooperative GC as well as the premptive one.

8 years agoMerge pull request #2047 from esdrubal/socketreuse
Marcos Henrich [Thu, 17 Sep 2015 14:47:31 +0000 (15:47 +0100)]
Merge pull request #2047 from esdrubal/socketreuse

[System] Fix TCP socket reuse.