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
2021-03-23Suppress CredScan checking (#20965)Fan Yang
2021-03-11Replaced passwords with placeholder. (#20913)Nathan Ricci
2021-02-27Remove .csproj files from mcs/ build, they were never used (#20883)Alexander Köplinger
This allows us to remove a lot of cruft and simplifies our CI build.
2020-02-19[bcl] Default XmlSerializer stream serialize to UTF8 Encoding (#18836)Mitchell Hwang
* [mcs] Default XmlSerializer stream serialize to UTF8 Encoding * [bcl] Add XmlSerialize Test to preserve UTF chars in stream
2019-09-24[System.Xml] Fix deserialization issue (#16965)Maxim Lipnin
[This ](https://github.com/mono/mono/pull/11194/files#diff-ae54d9565e735005686191de0f19ed50R431-R435)change in `XmlTypeMapElementInfo.GetElement` introduced the logic for handling the case of derived types deserialization. For some cases (like https://github.com/mono/mono/issues/16918) it breaks existing functionality because it returns wrong element for given element name after searching withing derived types collection. ![image](https://user-images.githubusercontent.com/3258267/65416085-bedc0500-ddff-11e9-941c-f24045c64121.png) Unfortunately, what I can do here is just reverting the related changes. Fixes https://github.com/mono/mono/issues/16918
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-21Removing some remoting and multi-appdomain APIs on wasm and the AOT test ↵Martin Baulig
profiles. Build / profile changes: ------------------------ * `build/profiles/testing_aot_common.make`: define `DISABLE_REMOTING = yes` and `NO_MULTIPLE_APPDOMAINS = yes`. * `mcs/class/corlib/Makefile`: check `DISABLE_REMOTING` when setting `REFERENCE_SOURCES_FLAGS` (and don't define `FEATURE_REMOTING`, `MONO_COM` and `FEATURE_COMINTEROP`). * added new `testing_aot_common_corlib.dll.exclude.sources`. Several types in the `System.Runtime.Remoting.Messaging` namespace are used by the runtime in non-remoting scenarios, so those need to be preserved. For all other remoting namespaces, we only need a few stripped down stub versions of the some of the types; those have been added to a new `legacy` directory, so we can wildcard-exclude all the files here. * added new `testing_aot_common_corlib.dll.sources`; this currently only contains `legacy/*.cs` to list above mentioned stub versions. * added new `testing_aot_common_corlib_test.dll.exclude.sources` as a common test excludes file. API Changes (conditional to `DISABLE_REMOTING`): ------------------------------------------------ * `mcs/class/corlib/legacy/`: add stub-versions for some of the remoting-related classes that are used by the runtime (so we can't completely remove those types): - `System.MarshalByRefObject`. - `System.Runtime.Remoting.IRemotingTypeInfo`. - `System.Runtime.Remoting.ObjectHandle`. - `System.Runtime.Remoting.RemotingServices`. - `System.Runtime.Remoting.Activation.ActivationServices`. - `System.Runtime.Remoting.Contexts.Context`. - `System.Runtime.Remoting.Messaging.ILogicalThreadAffinative`. - `System.Runtime.Remoting.Messaging.LogicalCallContext`. - `System.Runtime.Remoting.Proxies.TransparentProxy`. - `System.Runtime.Remoting.Proxies.RealProxy`. some of these have fields that need to be preserved; these are marked with appropriate `#region` pragmas. All changes below are conditional to `DISABLE_REMOTING`. * `System.Runtime.Remoting.Messaging.AsyncResult`: this class is used by some of the async code, so we can't completely remove it. However, we can remove the `MonoMethodMessage call_message` field when `DISABLE_REMOTING`. * `System.Runtime.Remoting.Messaging.MonoMethodMessage`: this class is also used by some runtime code and thus needs to be preserved. However, when `DISABLE_REMOTING` is defined, then we make some changes to it: - remove all iterfaces (`IMethodCallMessage`, `IMethodReturnMessage`, and `IInternalMessage`). - `Properties` throws `PlatformNotSupportedException`. * `System.Runtime.InteropServices.Marshal`: disable some COM-related code. * `System.Threading.Thread`: remove `CurrentContext` property. * `System.Threading.ExecutionContext`: adjust conditional logic; don't define `FEATURE_REMOTING` if `DISABLE_REMOTING`. * `System.Activator`: add `DISABLE_REMOTING` to the existing `#if FEATURE_REMOTING || MOBILE_LEGACY` conditional in this class. * `System.AppDomain`: since we only have one domain, `DefaultDomain` will always return the root domain; comment out the call to `RemotingServices.GetDomainProxy` as well as some internal methods. * `System.__ComObject`: stub out on `DISABLE_REMOTING` as well as `!FULL_AOT_RUNTIME`. * `System.Runtime.Serialization.Formatters.Binary.BinaryFormatter`: adjust `IFormatter` versus `IRemotingFormatter` interface logic to use the former when `DISABLE_REMOTING`. * `System.Runtime.Serialization.Formatters.Binary.BinaryObjectReader`: adjust existing `#if FEATURE_REMOTING || MOBILE_LEGACY` conditional to add `DISABLE_REMOTING` to it. * `System.Diagnostics.CorrelationManager`: comment out some `CallContext.LogicalGetData()` and `CallContext.LogicalSetData`. * `System.Diagnostics.TraceEventCache`: likewise. Test changes: ------------- * `mono/tests/Makefile.am`: conditionally disable some remoting tests. * `corlib/Test/System.Runtime.Serialization/SerializationTest.cs`: conditionally disable all tests requiring remoting. * `corlib/Test/System/ActivatorTest.cs`: same; trying to preserve as much as possible in this test. * added some `DISABLE_REMOTING` and `DISABLE_SECURITY` conditionals to some of the tests.
2019-05-10Add a few `DISABLE_SECURITY` conditionals. (#14300)Martin Baulig
* Add a few `DISABLE_SECURITY` conditionals. * [csproj] Update project files * Fix tests.
2019-04-30[csproj] Update project filesmonojenkins
2019-04-29Define `DISABLE_SECURITY` and `DISABLE_REMOTING` on wasm and testing_aot.Martin Baulig
2019-04-25[csproj] Update project filesmonojenkins
2019-03-27[tests] Remove MONOMAC ifdef from BCL tests (#13694)Alexander Köplinger
It was set by xamarin-macios when they were still taking the raw .cs source files but since we switched to prebuilt binaries we need to replace it with some define we're actually setting in Mono. Most cases can be replaced by just XAMMAC_4_5 since MOBILE is defined on the xammac profile.
2019-03-27[System.Xml] Don't hardcode nunit-lite-console in GeneratedCodeAttributeAlexander Köplinger
Instead determine it at runtime.
2019-03-12Move drawing types for XI/XM/wasm/orbis/unreal to System.Drawing.Common (#13414)Alexander Köplinger
* Move drawing types for XI/XM/wasm/orbis/unreal to System.Drawing.Common For XI/XM they were in Xamarin.iOS.dll/OpenTK-1.0.dll before. For wasm/orbis/unreal we remove System.Drawing.dll from the profiles and add the types to System.Drawing.Common.dll instead to align with the other mobile profiles (only "net_4_x" and "build" still have System.Drawing.dll). * Bump API snapshot submodule * [csproj] Update project files
2019-03-06NS2.1 Sync new changes, mobile profiles (#13198)Egor Bogatov
* Add RuntimeHelpers.GetSubArray. Add missing types to NS's TypeForwarders.cs * more NS2.1 changes * ios changes * Update Decimal (it's now readonly struct) * fix mcs * add ROMC.cs * Fix tests, finish monodroid profile * Make SRE-not-supported NS2.1 compatible * Make monotouch_tv and watch NS2.1 compatible * make some SRE types more NS21 compatible (non-abstract now) * bump corefx * More NS21 fixes * bump coreclr acceptance tests * Bump API snapshot submodule * [csproj] Update project files
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-02-13[sdks] Add mac-{mac32,mac64} targets (#12959)Ludovic Henry
* [sdks] Add mac-{mac32,mac64} targets * [sdks] Add configure-* and build-* for CI
2019-01-02[csproj] Update project filesmonojenkins
2018-11-28[interp] Enable System.Xml tests (#11791)Vlad Brezae
* [tests] Change timezone so it doesn't fail on UTC+2 systems Change to remote UTC-1 * [interp] Enable System.XML tests
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-15[bcl] Remove unused DISABLE_CAS_USE and AGCLR define (#11695)Alexander Köplinger
* [bcl] Disable unused DISABLE_CAS_USE and AGCLR define * [csproj] Update project files
2018-10-31Modification to allow deserialization of derrived types (#11194)majellin24
* Modification to allow deserialization of derrived types * white space correction * second attempt * third attempt * fourth * whitespace * maybe fix null ref exception * missed same condition in other method * fixing condition * hopefully correcting the test failure in AOT * Modification to allow deserialization of derrived types white space correction second attempt third attempt fourth whitespace maybe fix null ref exception missed same condition in other method fixing condition hopefully correcting the test failure in AOT formatting missed some formatting * adding a test for PR #11194 * fixing a few exceptions * adding ref
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-10-23[corlib] DateTime, TimeSpan and TimeZone from CoreFX (#11232)Egor Bogatov
* DateTime from corefx * TimeZone and TimeSpan from corefx * bump corefx * remove some reflection tests temporarily (due to corefx bump) * ignore "Obsolete" warrning-error in System.XML (because of TimeZone) * undo submodules * remove TimeZone.cs * Add tests * clean up * fix failing TZ tests * Add HebrewCalendar as optional to "he" culture * ignore failing tests * Bump API snapshot submodule * [csproj] Update project files
2018-10-17[bcl] Build all XUnit and NUnit tests for monodroid, monotouch, ↵Ludovic Henry
monotouch_tv, monotouch_watch and wasm BCL profiles (#11201)
2018-10-16[sdks] Build tests for BCL targets (#11141)Ludovic Henry
* [sdks] Build BCL profiles without configure flags * [sdks] Add BclTemplate to build BCL profiles This is to avoid building all the profiles in a single `sdks/out/bcl` directory which will be shared between android, ios and wasm. * [sdks] Simplify call to BclTemplate * [mcs] Make directory dependency as order-only We would otherwise always rebuild the target since the directory is updated whenever something is added to the directory. This is a common Makefile technique. * [sdks] Build tests for BCL targets
2018-09-27[System.XML] 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-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-30[bcl] Include all .sources files in the tarball (#9803)Alexander Köplinger
https://github.com/mono/mono/commit/0f0e31842f1f394c4e95d3726c20af547e706278 added a new pipes_pns.sources file but we forgot to add it to EXTRA_DISTFILES so it gets included in the tarball. Given that this happens almost all the time when we add a new .sources file we should just always include all *.sources
2018-07-20[System.XML] Include common.sources in the tarballJo Shields
2018-07-20[System.XML] xunit tests and trivial types from CoreFX (#9351)Egor Bogatov
Adds 1192 xunit tests for System.XML from CoreFX Also, moves common lines from `mobile_System.Xml.sources` and `System.Xml.sources` to `common.sources` Part of #8132
2018-07-12[corlib] Default to fast Span<T> (#9204)Marek Safar
Part of #7249
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[csproj] Update project filesmonojenkins
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-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-13[System.Xml] Update source file location from commit ↵Marek Safar
d4816ef1abcfc5b3dea41a87fe5a7a4c4a3781ed
2018-03-08[msvc] Update csproj files (#7497)monojenkins
2018-02-23[msvc] Update csproj files (#7238)monojenkins
2018-02-22[msvc] Update csproj filesmonojenkins
2018-02-22[System.Xml] Remove reflection calls for value has to be setMarek Safar
2018-02-09[msvc] Update csproj filesmonojenkins
2018-02-09[build] Narrow recursive dependenciesMarek Safar
2017-11-26[msvc] Update csproj files (#6100)monojenkins