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
path: root/mcs
AgeCommit message (Collapse)Author
2017-10-25[System.Data] Cleanup after #4893 (PR) (#5841)Egor Bogatov
* [System.Data] cleanup * Remove DataProviderTests
2017-10-24[coop-handles] System.IO.MonoIO.FindFirstFileJon Purdy
2017-10-24[coop-handles] System.IO.MonoIO.SetFileAttributesJon Purdy
2017-10-24[coop-handles] System.IO.MonoIO.SetCurrentDirectoryJon Purdy
2017-10-24[coop-handles] System.IO.MonoIO.ReplaceFileJon Purdy
2017-10-24[coop-handles] System.IO.MonoIO.RemoveDirectoryJon Purdy
2017-10-24[coop-handles] System.IO.MonoIO.OpenJon Purdy
2017-10-24[coop-handles] System.IO.MonoIO.MoveFileJon Purdy
2017-10-24[coop-handles] System.IO.MonoIO.GetFileStatJon Purdy
2017-10-24[coop-handles] System.IO.MonoIO.GetFileAttributesJon Purdy
2017-10-24[coop-handles] System.IO.MonoIO.DeleteFileJon Purdy
2017-10-24[coop-handles] System.IO.MonoIO.CreateDirectoryJon Purdy
2017-10-24[coop-handles] System.IO.MonoIO.CopyFileJon Purdy
2017-10-24[msbuild] Add symlink to csc.exe in msbuild bin dirAnkit Jain
Roslyn looks only inside `$msbuild_bin/Roslyn/` and does not fallback to the framework path. msbuild worked around this by setting `CscToolPath`: https://github.com/mono/msbuild/commit/157a0f4d1a7aadd4e561e3ca8c784cbc2529926f But this kicks in only if the default msbuild target files are imported! If the `Csc` task is being used without importing them, then we fail with `error MSB3082: Task failed because "csc.exe" was not found.` `Microsoft.CodeAnalysis.VisualBasic.dll` is the only file not being symlinked, after this change. So, instead we will symlink all the files. Fixes bxc #60340 .
2017-10-24[corlib] Updated LinkerDescriptorRadek Doulik
Preserve `System.Runtime.Remoting.Activation.ActivationServices.CreateProxyForType`. It is called from `object.c:mono_object_new_specific_checked` when constructing remoting or com objects. I didn't add `feature="remoting"` because it is used also for com objects. Added linker test. Without the LinkerDescriptor addition, it fails like this: Unhandled Exception: System.NotSupportedException: Linked away. at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_object_new_specific(intptr) at C.Main () [0x00001] in /Users/rodo/git/mono/mcs/tools/linker/Tests/mscorlib/test-remoting.cs:11 [ERROR] FATAL UNHANDLED EXCEPTION: System.NotSupportedException: Linked away. at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_object_new_specific(intptr) at C.Main () [0x00001] in /Users/rodo/git/mono/mcs/tools/linker/Tests/mscorlib/test-remoting.cs:11
2017-10-24Fix WCF Windows Linux cross WCF-comunication via NetTcpBinding (without any ↵vinogradniy
security Transport|Message). (#5842) See also: * https://stackoverflow.com/questions/37813752/wcf-and-data-contract-with-template * https://bugzilla.xamarin.com/show_bug.cgi?id=58261
2017-10-24[bcl] Optimize Process.GetCurrentProcess ().MainModule. (#5843)Zoltan Varga
2017-10-21Fix tarball buildAlexander Köplinger
corefx.unix.sources wasn't included in the tarball so it failed.
2017-10-20Fix bug #58400 - incorrect implementation of LocalPath for file URLs (#5779)Katelyn Gadd
2017-10-20[tests.make] Filter out comments from test.dll.sources for TEST_FILESAlexander Köplinger
This broke "make dist" after 61559965a188d03456d6f7840a0cdabdf35c2400 because comments were added to System.Data_test.dll.sources and they weren't stripped when TEST_FILES was computed so it tried to include them in the tarball as files.
2017-10-19Merge pull request #5778 from alexischr/bug-56003Alexis Christoforides
[System.URI] Don't reset host string processing on Unicode paths. Fix…
2017-10-19[System.Data] move to corefx (#4893)Egor Bogatov
* [System.Data] move to corefx * [System.Data] Missing API: SqlTypesSchemaImporters * [System.Data] Missing API: SqlNotification* * [System.Data] Missing API: SqlDataSourceEnumerator * [System.Data] Missing API: SQLDebugging * [System.Data] fix build * [System.Data] remove public API from different assemblies * Apply corefx changes * Hide some PropertiesTest (missing API in corefx) * Missing API: TypedDataSetGenerator*, etc * Missing API: SqlClientMetaDataCollectionNames * Missing API: SqlCredential * SqlMetaDataFactory.cs is actually sqlmetadatafactory.cs (case sensitive) * Missing API: PoolBlockingPeriod * Fix case-sensitive issues * Odbc support (requires changes in corefx) * ODBC support * Re-enable ODBC ProviderTests * Apply corefx changes * temp commit: fix build * Missing API: Microsoft.SqlServer.Server.* * Missing API: DBDataPermission, OdbcPermission, SqlClientPermission * Missing API: DbProviderFactoriesConfigurationHandler, DbProviderConfigurationHandler, DbProviderFactory.CreatePermission * Missing API: DbProviderFactories * Missing API: SqlCommand BeginXXX methods, SqlException.Message, OdbcFactory.CreatePermission * Add System.Data.SqlClient.SqlMetaData.xml (embedded resource) * reorganize *.sources files for win32, macos and linux * bump corefx * [System.Data] API: SqlDataSourceEnumerator, SqlClientFactory, SqlParameter, SqlMetaData * [System.Data] cleanup * [System.Data] mobile profile, cleanup * [System.Data] Fix few odbc tests (changes are in corefx PR) * [System.Data] fix Open_ConnectionString_DatabaseInvalid test * [System.Data] enable all tests * Add AsynchronousProcessing and ConnectionReset to SqlConnectionStringBuilder * [System.Data] fix build * fix all ProvierTests * fix tests (files several issues against the corefx) * system-data code cleanup * system-data code cleanup * add SqlTypesSchemaImporters * remove corefx/RuntimeInformation.cs, add OleDbPermission stub * OleDbPermission should be serializable (fixing tests) * remove ODBC from mobile profile * fix linux build - add 619 (obsolete) to nowarn list. * temp commit * fix a few api diff issues * add OleDbType type (currently exists even in mobile profiles) * add stubs * Add stubs for OleDb * improve oledb stubs * improve oledb stubs * improve oledb stubs * more oledb stubs * add xunit tests from corefx * Add SqlClient corefx tests * use corefx sources for System.Data.DataSetExtensions * Remove [InternalsVisibleTo ("System.Data.DataSetExtensions")] from System.Data * [System.Data] sync with external/corefx * fix linux\macOS builds * Fix xunit tests * System.Data/Makefile cleanup * tabify System.Data * Rollback changes in System.Web & SqlSharpCli * small cleanup * [System.Data] Remove redundant .sources files * [System.Data] update odbc Res.cs * [System.Data] Remove redundant .sources files * fix System.Data.dll.sources (add a blank line) * remove TypeForwarder for DBNull and register xunit tests for System.Data * Bump API snapshot submodule
2017-10-19[System.Core] Remove duplicated test classes (#5829)Alexander Köplinger
These tests classes are already included in the corlib test assembly. Having them duplicated in System.Core causes issues in XA because both test assemblies are in the same process. To solve this we introduce abstract *TestBase classes that we can share between the test assemblies and only mark the concrete test class implementations with [TestFixture]
2017-10-19[runtime] Workaround for verifier bug #59967Marek Safar
2017-10-19[bcl] Remove AssertExtensions helper classes (#5828)Alexander Köplinger
* [bcl] Remove AssertExtensions helper classes Since we're on nunitlite now we can use the proper `Assert.Throws<>()` instead and remove the helper class (which we actually duplicated!)
2017-10-19fix code-style issuesEgorBo
2017-10-19limit max possible threads in ThreadPool (SetMaxThreads). Fixes bug-60027EgorBo
2017-10-19[corlib] Adds ValueTuple testsMarek Safar
2017-10-19[System.URI] Don't reset host string processing on Unicode paths. Fixes #56003Alexis Christoforides
This may not be the final fix; the Mono-only workaround was introduced in b5dc9a4951bd35b61b29faa4df93bca3c31bfa3e to fix a crash with Unicode paths in TryCreate. However the test case for that issue now succeeds without the workaround.
2017-10-18[System.Net] Tweak tests for watchOSBernhard Urban
2017-10-18[msvc] Update csproj files (#5823)monojenkins
2017-10-18[sre] Register a canonical reflected method for a methodspec token. (Fixes ↵Aleksey Kliger (λgeek)
#60233) (#5813) * [test] ILGenerator test for duplicate methodspec tokens Regression test for [Bugzilla #60233](https://bugzilla.xamarin.com/show_bug.cgi?id=60233) * [sre] mono_dynamic_image_register_token: Change asserts to warnings This partly relaxes the changes in 792b5367cd3a6ffa1a192c4d2d7ace3509cbb646 which added the assertions. In practice the assertions introduced a crash in heavy uses of System.Reflection.Emit such as unit testing frameworks and dynamic languages. We still want to know if there are surprising uses of mono_dynamic_image_register_token, but we don't need a crash. SRE used to work before 792b5367cd3a6ffa1a192c4d2d7ace3509cbb646, so no need to break it. * [sre] Register a canonical reflected method for a methodspec token (Fixes #60233) This is like the fix for [bugzilla 59364](https://bugzilla.xamarin.com/show_bug.cgi?id=59364) but this time it's a methodspec token, not a memberref token.
2017-10-18[bcl] Update PlatformDetection helpersMarek Safar
2017-10-18[bcl] Fix test assembly build for monodroid profile (#5808)Alexander Köplinger
* [System.IdentityModel] Add excludes for tests that don't compile on monodroid profile Also add a new test for X509CertificateValidator so the assembly isn't empty on monodroid. * [System.ServiceModel] Add excludes for tests that don't compile on monodroid profile * [System.Security] Add excludes for tests that don't compile on monodroid profile Also reduce duplication between common.sources and System.Security.dll.sources * [System.Web.Services] Add excludes for tests that don't compile on monodroid profile * [System.ComponentModel.DataAnnotations] Make tests compile on monodroid profile
2017-10-17[bcl] Add dependency on .exclude.sources to test assembly (#5804)Alexander Köplinger
Otherwise the assembly won't get rebuilt when you modify .exclude.sources which can be quite confusing.
2017-10-17[mcs/tests] make test harness output more verbose on V=1Bernhard Urban
2017-10-17[mcs/tests] add interp targetBernhard Urban
2017-10-17[linker] update referenced source filesBernhard Urban
2017-10-17[msvc] Update csproj files (#5805)monojenkins
2017-10-17[monodroid] Enable a number of tests (#5799)Marek Habersack
Just over a year ago Xamarin.Android switched to running BCL tests straight from the Mono sources but at the time we decided we didn't want to enable a number of "new" tests (in the sense - never previously ran on XA) to avoid introducing new failures in time which required focusing on more important goals. Currently, Xamarin.Android no longer uses Mono **sources** to build its tests but, rather, it uses test **assemblies** built by Mono. This commit restores the previously excluded tests in preparation for full BCL test coverage in the near future.
2017-10-17[I18N] Add more encoding testsAlexander Köplinger
There was very little test coverage of the I18N encodings before. This adds a bunch of tests based on Latin1EncodingTest.cs since latin1 is quite similar to these encodings. A few of the added tests fail in some encodings due to what looks like bugs in the implementation, disabled those temporarily, see FIXME's. (filed https://bugzilla.xamarin.com/show_bug.cgi?id=60216 for tracking)
2017-10-17[corlib] Add corefx System.Text.Encoding testsAlexander Köplinger
This adds about 9800 Encoding related tests from corefx, all passing after the latest fixes.
2017-10-17[corlib] Add tests for EncoderFallbackAlexander Köplinger
Also remove some debug spew.
2017-10-17[corlib] Use Latin1Encoding from referencesourceAlexander Köplinger
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=53296
2017-10-17[I18N] Remove commented code from ucm2cp.cAlexander Köplinger
This is just confusing in the final output.
2017-10-17[I18N] Fix wrong charIndex in encoder fallbackAlexander Köplinger
We need to modify charIndex/charCount _after_ we called the fallback encoder otherwise it'll get the wrong index. Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=45893
2017-10-17[build] Add code coverage mode (#5789)Marek Safar
2017-10-17[corlib] Fix SRE.SaveTest error during teardown on WindowsAlexander Köplinger
When I added temp dir handling to SaveTest in https://github.com/mono/mono/pull/5727 I copied the Setup/TearDown from TypeBuilderTest. However that class doesn't actually save+load the assemblies so it doesn't run into the issue on Windows where assemblies can't be deleted because they're still loaded in the AppDomain. To fix this follow CustomAttributeBuilderTest and ModuleBuilderTest, i.e. just catch all Exception's in teardown...
2017-10-17[Mono.Posix] Use TestHelper code from monodroid repo (#5793)Alexander Köplinger
We need this because XA is now starting to use the test assemblies we build in the Mono repo instead of using the .cs source directly and this would conflict.
2017-10-16Merge pull request #5782 from YuriyGS/bug60115Alexis Christoforides
[System.Windows.Forms] In MonthCalendar added validation on acceptable date interval. Fixes #60115