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-12-13Relax faultcode parsing for Soap11 message errors. (#18154)Steve Pfister
* Relax faultcode parsing for Soap11 message errors. The mono implementation was reading the faultcode content as an XmlQualifiedName, which applied the rule where you could not start a name with a number. This caused interoperability problems with the .net framework because their parsing just looks for <namespace>:<name>, where name can be any string. Example: <faultcode>s:1</faultcode> On mono, a soap response that contains a fault code name of 1 will throw an error. If you run the same code on the .net framework, it will not. Fixes https://github.com/mono/mono/issues/12995 * [csproj] Update project files
2019-07-26[csproj] Update project filesmonojenkins
2019-07-25[System.ServiceModel] Add PUT, DELETE and OPTIONS handling to ↵Cassio de Vargas Oliveira
HttpReplyChannel (#15746) Fixes #15740.
2019-06-20Add Windows x64 Full AOT Interpreter support on CI. (#15127)Johan Lorensson
Add support to run full interpreter test suite on CI for Windows x64 Full AOT. Since Windows x64 Full AOT uses a different full AOT profile WinAOT a separate testing profile was setup for the interpreter testing. NOTE, this profile is pure for testing, inline with the other testing profiles. It is also reusing most of its sources from other sources files (mainly WinAOT) to reduce maintenance of the profile. Commit also includes some smaller adjustments needed in order to get full pass rate for Windows x64 Full AOT + Interpreter on CI.
2019-05-23[bcl] Remove usages of mono-project.com/go-mono.com/google.com in tests (#14586)Alexander Köplinger
Use example.com and example.org instead. Fixes https://github.com/mono/mono/issues/14585 Note that not all of the things I replaced make an actual network request but I thought it'd be nice to be consistent.
2019-05-16[monodroid] Introduce 'win32 host' BCL build (#14424)Alexis Christoforides
* [monodroid] Introduce 'win32 host' BCL build * [sdks] Add _bcl_$(1)_BUILD_FLAGS variable to BclTemplate build step Allows Android SDK on Windows to pass PROFILE_PLATFORM=win32 * [sdks] Pass _bcl_$(1)_BUILD_FLAGS when building the tests, too * Copy test source exclusion files from the general monodroid profile Apparently we don't fall back to the general exclusion sources for tests if the platorm-specific exclusion file does not exist. * Also add win32 copies of the nunit exclude files: files=$(find . -name "monodroid*_test*exclude.sources") for file in $files do name=$(basename $file) pushd $(dirname $file) cp $name win32_$name git add win32_$name popd done * [csproj] Update project files
2019-04-30[csproj] Update project filesmonojenkins
2019-04-29[csproj] Update project filesmonojenkins
2019-04-29Remove ClientRealProxy on wasm and testing_aot.Martin Baulig
2019-04-29Define `DISABLE_SECURITY` and `DISABLE_REMOTING` on wasm and testing_aot.Martin Baulig
2019-04-25[csproj] Update project filesmonojenkins
2019-03-06[gitattributes] Do CRLF normalization on sln/proj filesAlexander Köplinger
They can be used with native line endings. We now have a shared folder with the dotnet repos and they have CRLF normalization enabled. This difference leads to conflicts while applying changes from the dotnet repos to mono.
2019-03-06[System.ServiceModel] Fix a race condition in HttpRequestChannel. (#13304)justremotephone
Concurrent request completions could cause following exception: ``` FATAL UNHANDLED EXCEPTION: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.Collections.Generic.List`1[T].RemoveAt (System.Int32 index) [0x00009] in <4a8a0eaa024f41829d3435c07e5c7edb>:0 at System.Collections.Generic.List`1[T].Remove (T item) [0x0000c] in <4a8a0eaa024f41829d3435c07e5c7edb>:0 at System.ServiceModel.Channels.HttpRequestChannel+HttpChannelRequestAsyncResult.Cleanup () [0x00011] in <28c4695205ef47378f5370502b066592>:0 at System.ServiceModel.Channels.HttpRequestChannel+HttpChannelRequestAsyncResult.set_IsCompleted (System.Boolean value) [0x00034] in <28c4695205ef47378f5370502b066592>:0 at System.ServiceModel.Channels.HttpRequestChannel+HttpChannelRequestAsyncResult.Complete (System.Exception ex) [0x0001a] in <28c4695205ef47378f5370502b066592>:0 at System.ServiceModel.Channels.HttpRequestChannel+<>c__DisplayClass7_1.<BeginProcessRequest>b__0 (System.IAsyncResult r) [0x000bd] in <28c4695205ef47378f5370502b066592>:0 This stack was captured after some changes in AwaitTaskContinuation.RunOrScheduleAction. Unfortunately the current implementation of AwaitTaskContinuation.RunOrScheduleAction re-throws the above exception with a wrong stack: at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction (System.Action action, System.Boolean allowInlining, System.Threading.Tasks.Task& currentTask) [0x00023] in <4a8a0eaa024f41829d3435c07e5c7edb>:0 at System.Threading.Tasks.Task.FinishContinuations () [0x00052] in <4a8a0eaa024f41829d3435c07e5c7edb>:0 at System.Threading.Tasks.Task.FinishStageThree () [0x0003c] in <4a8a0eaa024f41829d3435c07e5c7edb>:0 at System.Threading.Tasks.Task.FinishStageTwo () [0x000a1] in <4a8a0eaa024f41829d3435c07e5c7edb>:0 at System.Threading.Tasks.Task.Finish (System.Boolean bUserDelegateExecuted) [0x00003] in <4a8a0eaa024f41829d3435c07e5c7edb>:0 at System.Threading.Tasks.Task.TrySetException (System.Object exceptionObject) [0x00023] in <4a8a0eaa024f41829d3435c07e5c7edb>:0 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].SetException (System.Exception exception) [0x00029] in <4a8a0eaa024f41829d3435c07e5c7edb>:0 at System.Net.HttpWebRequest+<RunWithTimeoutWorker>d__241`1[T].MoveNext () [0x000e0] in <3e9b3e26c4694baab3f689687ad40612>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [0x00000] in <4a8a0eaa024f41829d3435c07e5c7edb>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <4a8a0eaa024f41829d3435c07e5c7edb>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <4a8a0eaa024f41829d3435c07e5c7edb>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00024] in <4a8a0eaa024f41829d3435c07e5c7edb>:0 at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction (System.Action action, System.Boolean allowInlining, System.Threading.Tasks.Task& currentTask) [0x00023] in <4a8a0eaa024f41829d3435c07e5c7edb>:0 at System.Threading.Tasks.Task.FinishContinuations () [0x00052] in <4a8a0eaa024f41829d3435c07e5c7edb>:0 at System.Threading.Tasks.Task.FinishStageThree () [0x0003c] in <4a8a0eaa024f41829d3435c07e5c7edb>:0 at System.Threading.Tasks.Task`1[TResult].TrySetResult (TResult result) [0x0004f] in <4a8a0eaa024f41829d3435c07e5c7edb>:0 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].SetResult (TResult result) [0x0003d] in <4a8a0eaa024f41829d3435c07e5c7edb>:0 at System.Net.ServicePointScheduler+<WaitAsync>d__45.MoveNext () [0x000f7] in <3e9b3e26c4694baab3f689687ad40612>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [0x00000] in <4a8a0 ``` On an Android Xamarin installation this causes an app crash. Since no user code is active the exception cannot be caught.
2019-01-22[runtime] Remove two missing tests from monodroid+aot excludesAlexander Kyte
2019-01-02[csproj] Update project filesmonojenkins
2018-11-28[interp] Enable System.Data tests on fullaotinterp (#11798)Vlad Brezae
* [interp] Enable System.Data tests on fullaotinterp * [csproj] Update project files
2018-11-16[wcf] do not assume that message body is always Wrapped (#11694)Mads Kruse Johnsen
Currently, setting IsWrapped=false on a MessageContract leads to an error in serialization due to an empty element being present where the wrapper element would have been, instead of it being gone entirely. The serialization then fails because the empty string is not valid localName (which of course is fine).
2018-11-14[wcf] pass on the ContentType of MTOM message response (#11664)Mads Kruse Johnsen
2018-10-30[tests] Add new build profile for testing mixed mode (#11307)Vlad Brezae
We aot only the bcl (--aot=full,interp) while the tests code is interpreted. <!-- Thank you for your Pull Request! If you are new to contributing to Mono, please try to do your best at conforming to our coding guidelines http://www.mono-project.com/community/contributing/coding-guidelines/ but don't worry if you get something wrong. One of the project members will help you to get things landed. Does your pull request fix any of the existing issues? Please use the following format: Fixes #issue-number -->
2018-09-27[System.ServiceModel] Switch tests to use embedded test resourcesAlexander Köplinger
2018-09-02Move the PreBuild dependency property later in the file so targets can't ↵Katelyn Gadd
override it (#10429) * Move the PreBuild dependency property later in the file so targets can't override it * [csproj] Update project files
2018-08-31Kill sln dependencies (#10406)Katelyn Gadd
* Remove use of sln dependencies and use csproj project references instead * Rewrite jay.vcxproj so it builds correctly even without help from the sln file * Force pre-build event to run after references are resolved. Change how culevel.exe path is computed to be more resilient. * [csproj] Update project files
2018-08-10[System.ServiceModel] Replace SynchronizedCollection with referencesource ↵Alexander Köplinger
(#10021) * [System.ServiceModel] Replace SynchronizedCollection with referencesource This fixes a bug in the old implementation where we didn't have proper locking in Add(). Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=43447 Closes https://github.com/mono/mono/pull/10007 * Bump API snapshot submodule * [csproj] Update project files
2018-08-09Move to generating msbuild choose elements to get if-else selection behavior ↵Katelyn Gadd
for sources in projects so that we don't get erroneous duplicate files in cases where there are both profile and host platform criteria (#9952) A recent commit revealed that in cases where we select based on a mix of host platform and profile, genproj csproj files can end up with duplicate sources because the existing <ItemGroup Condition= approach could make multiple groups match for a given compile when we really just want one. This PR changes to generating a cascade of msbuild <Choose> elements, which give if-else selection to ensure that we only ever build a single set of files.
2018-08-02Use msbuild project reference to establish dependency on genconsts instead ↵Katelyn Gadd
of solution dependencies (#9670) Using solution dependencies in ```bcl.sln``` seems flaky and seems like it might not establish the full ordering we need to ensure that ```Consts.cs``` exists before we build things that require it. Let's try using project references (where ```corlib.dll``` 'depends' on ```genconsts.exe```) instead. This should also insert the dependency for any project that includes Consts.cs instead of just corlib. This PR also makes update-solution-files actually fail if ```genconsts.exe``` fails to build because it was driving me mad. Part of #6886
2018-07-07[System.ServiceModel] Remove deleted files from .sourcesAlexander Köplinger
2018-07-05Legacy TLS Removal Preparations (#9301)Martin Baulig
This PR prepares the upcoming removal of the Legacy TLS Provider. - The internal (and soon-to-be-removed) class `MD5SHA1` has been moved and changed namespace. - `Novell.Directory.Ldap.Connection` now uses `SslStream` instead of Legacy TLS, this ports the Novell Ldap library to use TLS 1.2, see #9363. - Removed obsolete Ssl/Spnego authentication from `System.ServiceModel`. - Removed duplicate copy of the Legacy TLS Provider from `System.ServiceModel`. - Ported `System.Web.Mail.SmtpClient` to use `SslStream`. - Removed the `Mono.Security.Protocol.Tls` documentation.
2018-06-29Rework genproj to use gensources to build sources list for each profile and ↵Katelyn Gadd
host platform (#8985) * Update genproj makefile to include gensources Update genproj argument parser to be more generous about displaying help * Checkpoint * Checkpoint * Checkpoint * Checkpoint * Checkpoint * Checkpoint * Checkpoint * Checkpoint * Fix rebase issue * Checkpoint * Checkpoint * Fix built sources only being added to one profile * Fix typo * Checkpoint * Fix indentation * Use csc instead of mcs * Checkpoint * Fix BUILT_SOURCES only being handled for the first profile processed * Checkpoint * Checkpoint * Strip double slashes from paths to fix spurious csproj change * Checkpoint * Checkpoint * Checkpoint * Checkpoint: Fix genproj compilation * Checkpoint * Checkpoint * Checkpoint * Fix crash when no targets were loaded (due to an error) * Checkpoint * Checkpoint * Checkpoint * Fix TryParseTargetInto bug * Checkpoint * Shuffle exclude logic around so that it works correctly during genproj diffing * Remove gensources tracing * Checkpoint * Fix handling of oddball sources paths from executable.make * Fix jay not being set to build * Fix wrong slashes being used for embedded resource paths * [csproj] Update project files
2018-06-25Delete unused files in BCL (#9288)Egor Bogatov
The following files in `mcs/class/*.cs` are not used anywhere (*.csproj/*.source).
2018-06-14[build] Rename darwin platform to macos + Add `unix` host platform (#9022)Ludovic Henry
* [mcs] Rename darwin paltform to macos Darwin is common to both macOS and iOS/tvOS/watchOS, while we use the darwin platform only for macOS. * [mcs] Add Unix platform for other Unixes than Linux * [mcs] Remove PLATFORMS from xammac_net_4_5 since it only make sense on macos * [bcl] Bump corlib version * [csproj] Update project files
2018-06-01[wcf] Fix memory leak processing requestsPaul Fertser
This partially reverts commit 1628f04de5c1026b23ec350486b1b3c45708b771 . Runtime tested and confirmed to fix issue #8970 and allows long-term operation of RapidSCADA.
2018-06-01[csproj] Update project filesmonojenkins
2018-04-27Expose two public types (#8470)Joshua Peterson
* Expose two public types These types are public in the .NET 4.7.1 profile, so they should be public in Mono as well. * Bump API snapshot submodule
2018-04-27[csproj] Fix mixed line endingsAlexander Köplinger
2018-04-26CoreFX: System.Json, System.ServiceModel.Syndication, ↵Egor Bogatov
System.Threading.Tasks.Dataflow (#8246) Use corefx sources and tests for: - System.Json - System.ServiceModel.Syndication - System.Threading.Tasks.Dataflow
2018-04-25[System.ServiceMode] Disable test on mobileAlexander Köplinger
The other BugXXX.cs tests are disabled there too.
2018-04-19* [System.ServiceModel.Discovery] Fix messages validation to fix bug #46917 ↵Andoni Morales Alastruey
(#3772) * [System.ServiceMode] Create unit test for #46917 * [System.ServiceModel.Discovery] Fix messages validation The current validations are not correct and throws an exception calling GetVideoSources API in an ONVIF media client. This API is a combination of a first message with an input parameter and a second message with the reply that is not void. Removing this checks makes the client work correctly. Fixes #46917
2018-04-16Default platform to net_4_x if none is specified, to fix tools that build ↵Katelyn Gadd
without setting a platform (#8223) * Default platform to net_4_x if none is specified, to fix tools that build without setting a platform * [csproj] Update project files
2018-04-06[msvc] Update csproj files (#8067)monojenkins
2018-04-03Fix for #7305 - stack overflow when ServiceHost is initialised with a ↵Tony Di Nucci
ServiceContract which implements an interface
2018-04-03[WCF] fix ChannelDispatcher by accepting InstanceProvider (#7909)hgy59
* WCF: ChannelDispatcher/ListenerLoopManager.Setup validate InstanceProvider, not InstanceContextProvider - the creation of endpoints requires an instance provider or a default constructor - InstanceProvider vs InstanceContextProvider was obviously a typo * include InstanceContextProvider for validation as before - two unittests failed due InstanceProvider is null and ed.DispatchRuntime has not type set - comment for the validation is not useful anyway (It is tested at Open(), but strangely it is not instantiated at this point.)
2018-03-28[msvc] Update csproj files (#7811)monojenkins
* [msvc] Update csproj files * [msvc] Delete old net_4_x.csproj and xbuild_12.csproj files
2018-03-28wcf: fix index of message body parts. Do not use ↵hgy59
MessageBodyMemberAttribute.Order as index.
2018-03-21Uncomment and fix ServiceHost creation via ServiceFactory in ↵pascalhaakmat
SvcHttpHandler.cs (#3465) This commit allows customization of WCF service creation via the Factory attribute in an .svc file: `<%@ ServiceHost Language="C#" Service="CustomService" Factory="CustomServiceHostFactory" %>` All the patch does is uncomment a few lines that were already there and fix a small error. I am not sure why these lines were commented. Possibly the code is not sufficiently robust or it was just never given another look. But this works for me and it seems better than no support at all. For example, a custom ServiceHostFactory appears to be the only way to create a WCF service in a managed host which customizes EndpointDispatcher.AddressFilter and EndpointDispatcher.ContractFilter. This in turn is useful for proxied WCF services. See also http://mono.1490590.n4.nabble.com/Mono-WCF-ServiceHost-Factory-option-td4251992.html (from 2012; never posted on the mailing list for some reason).
2018-03-08[msvc] Update csproj files (#7497)monojenkins
2018-02-26[wcf] use ConcurrentDictionary for wait handles (#7265)Paul Fertser
SvcHttpHandler is supposed to be thread-safe so it shouldn't use plain Dictionary without additional locking. The problem is apparent when running test app from issue #7134 with hyperfastcgi as the following exception sometimes surfaces: ``` [System.NullReferenceException]: Object reference not set to an instance of an object at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x00111] in .../mono/external/corefx/src/Common/src/CoreLib/System/Collections/Generic/Dictionary.cs:441 at System.Collections.Generic.Dictionary`2[TKey,TValue].set_Item (TKey key, TValue value) [0x00000] in .../mono/external/corefx/src/Common/src/CoreLib/System/Collections/Generic/Dictionary.cs:223 at System.ServiceModel.Channels.SvcHttpHandler.ProcessRequest (System.Web.HttpContext context) [0x00048] in .../mono/mcs/class/System.ServiceModel/System.ServiceModel.Channels/SvcHttpHandler.cs:82 at System.Web.HttpApplication+<Pipeline>d__225.MoveNext () [0x008fd] in .../mono/mcs/class/System.Web/System.Web/HttpApplication.cs:1338 at System.Web.HttpApplication.Tick () [0x00000] in .../mono/mcs/class/System.Web/System.Web/HttpApplication.cs:927 ```
2018-02-23[msvc] Update csproj files (#7238)monojenkins
2018-02-20[System.ServiceModel] Prevent crash in Dispatcher.ListenerLoopManager… (#7136)Paul Fertser
In certain cases of having concurrent WCF requests HttpReplyChannel.TryReceiveRequest can return true with the context being null ("at closing phase"). This patch prevents crashing the whole application with a NullReferenceException as reported in issue #7134. Whether this is just covering the issue over or a real fix is yet to be determined. Fixes https://github.com/mono/mono/issues/7134
2018-02-15[System.ServiceModel.Activation] Move ServiceHostFactory.cs where it's used ↵Marek Safar
(#7044)
2018-02-09[msvc] Update csproj filesmonojenkins