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
2017-07-25[Marshal.IsComObject] Make this predicate return false instead of throwing ↵Miguel de Icaza
an exception which is what the calling code expects (#5246)
2017-06-24Require #if WIN_PLATFORM more strictly around some WinRT timezone functionsAndi McClure
This was breaking the hybrid AOT build.
2017-06-19[tests] Don't run SRE saved assembly in current processAleksey Kliger
Windows doesn't like deleting the file, and the original bug was a problem in SRE, not in the AssemblyBuilder.Save ()
2017-06-17[tests] Rework TypeBuilderTest SetUp/TearDownAleksey Kliger
- Create a unique temporary directory for each test in TypeBuilderTest and delete it on TearDown. - Change tests to use tempDir instead of Path.GetTempPath () - Change IsSerializable () test to how it was 11 years ago and have it write to a file with a simple name (but now in a directory where noone else is writing) - Change FieldsWithSameName (), FieldsWithSameNameAndType () and MethodsWithSameNameAndSig () to use the default temp assembly (now in a unique tempDir) instead of using the CreateTempAssembly () - Remove CreateTempAssembly function. It is dead code.
2017-06-09[test] Test SRE of a class with two methods with the same name.Aleksey Kliger
Regression test for https://bugzilla.xamarin.com/show_bug.cgi?id=57222 Although methods aren't affected by this bug, I added a regression test for this case anyway in case the implementation changes. Currently MethodBuilder.RuntimeResolve() goes through a different codepath - it calls RuntimeType.GetMethod (MethodInfo) which calls into an icall which looks for a method with a matching token rather than a matching name.
2017-06-09[sre] FieldBuilder:RuntimeResolve shouldn't lookup by name. (Fixes #57222)Aleksey Kliger
RuntimeType:GetField (FieldInfo) looks up the field by name and attributes, which doesn't work for SRE because it is legal to create multiple fields with the same name and type and attributes. So lookup using the RuntimeFieldHandle (aka MonoClassField*) instead.
2017-06-09[test] Test SRE of a class with two fields with same nameAleksey Kliger
Regression test for https://bugzilla.xamarin.com/show_bug.cgi?id=57222
2017-05-30Merge pull request #4947 from lambdageek/bug-54485-2017-04Aleksey Kliger (λgeek)
[2017-04][metadata] expand uninstantiated generic type definitions used as generic type args (Fixes #54485)
2017-05-30[S.R.I.RuntimeInformation] Fix FrameworkDescription on Android (#4946)Alexander Köplinger
* [S.R.I.RuntimeInformation] Fix FrameworkDescription on Android It turns out using `DllImport ["__Internal"]` doesn't work on XA (and other cases where Mono is embedded) because it searches for the method in the host which embeds Mono and doesn't find it, resulting in an EntryPointNotFoundException. We need to switch to an icall instead. However there's already an existing icall+BCL wrapper: Mono.Runtime.GetDisplayName(). Added IVT from corlib to S.R.I.RuntimeInformation so we can call it. * Update API snapshot (cherry picked from commit 37fe83f6eaf073ae7ecd470bf3d2541af5829652)
2017-05-30[tests] System.Type.MakeGenericType with a GTD as argumentAleksey Kliger
Regression test for https://bugzilla.xamarin.com/show_bug.cgi?id=54485
2017-05-24Bug #56499: unreadable /etc/localtime should not cause an exception (#4881)Marcin Cieślak
* Bug #56499: unreadable /etc/localtime should not cause an exception * Fix build (cherry picked from commit 940944dcdefb56f7952cd35a43bcbd5f70ba78ef)
2017-05-16[runtime] Handle circular references in SRE typesAlexander Kyte
We previously recursed through the entire directed cyclic graph of the type passed to SRE. When given a (legal) circular type reference, we encountered stack overflows. This was particularly easy to trigger with fsharpi and with FAKE. By creating everything about the type before searching for the parent, and by defering all type hierarchy establishment until the type must be surfaced to manage code, we tease out the data dependencies caught up in the cycle. Note the bounded lifetime of the unmanaged object hidden in the SRE module, which acts as a global reference for all types reachable from the TypeBuilder passed to the runtime through the icall.
2017-05-12[Facades] Update with new typeforwarders/APIs (#4838)Alexander Köplinger
(cherry picked from commit 2324773fbb7ffa6e86fafb39c11ac724cc1ccd50)
2017-05-11Specify Encoding.UTF8 when marshaling native runtime string. If not, string ↵Jonathan Chambers
constructor accesses Encoding.Default which causes infinite recursion on Windows for codepages supported via I18N. While trying to load I18N assemblies, assembly names are marshaled in managed code now hitting this code path. Fixes Xamarin bug 43988.
2017-04-28[test] Regression tests for ConstructorBuilder custom attributesAleksey Kliger
Regression tests for https://bugzilla.xamarin.com/show_bug.cgi?id=55681
2017-04-27[Facades] Move more asseblies to Facades to support implicit reference for ↵Marek Safar
_._ like nugets and ignore version mismatch
2017-04-25[bcl] Check the compact switch for whether cancelation token throws when ↵Rodrigo Kumpera
disposed.
2017-04-25[corlib] Change SwitchThrowExceptionIfDisposedCancellationTokenSource to ↵Rodrigo Kumpera
false as this is the default 4.6.0 behavior.
2017-04-25[bcl] Make our AppContextDefaultValues more compatible with RS and make them ↵Rodrigo Kumpera
non toggle-able on mobile. We change AppContextSwitches to hardcode values on mobile and use the full stack on desktop. We still have all strings in AppContextDefaultValues as this reduces the ifdef mess in AppContextSwitches. It's only used on desktop, where an extra kb is not the end of the world.
2017-04-25[corlib] Use AppContextSwitches implementation from RS. Fixes #54448Rodrigo Kumpera
This change makes AppContextSwitches usable which allow backwards incompatible settings to be actually toggled.
2017-04-19[corlib/System.Data] Test fixes for xammac 4.5 and watchosAlexander Köplinger
The TrimSpecial() method and Windows-specific code was removed from xammac 4.5 so reflection can't find it anymore, handle this case. Also add a workaround for SqlParameterCollectionTest.CopyToTest() which fails on watchos since the SqlCommand would throw a PNSE. It's a workaround because it just makes the test ignored since we don't set the env var that ConnectionManager.Instance.Sql reads in XI tests, but it makes the test consistent with the other tests in the suite. We should fix this properly later on. (cherry picked from commit ceabda8a54b2580a1cd1feb7d01996c083ac92c3)
2017-04-18[corlib] Fixes static builds (#4687)Marek Safar
2017-04-04[corlib] Port more of corert arrayMarek Safar
2017-03-29[msvc] Update csproj filesmonojenkins
2017-03-29Merge pull request #4540 from kumpera/android-changes-part1Rodrigo Kumpera
[bcl+runtime] Multiple small cleanups to Android.
2017-03-29Bump corefxMarek Safar
2017-03-28[msvc] Update csproj filesmonojenkins
2017-03-28[corlib] Add back X509 support for watchOS.Rolf Bjarne Kvinge
Otherwise we'd be regressing existing (and working) behavior.
2017-03-28[corlib] Add more Array testsMarek Safar
2017-03-28[corlib] Use array managed parts from corert to fix bugs in sorting and ↵Marek Safar
arguments checking. Fixes #53196 and similar
2017-03-28[corlib] Fix RegistryKeyTest cleanupMarek Safar
2017-03-23[msvc] Update csproj filesmonojenkins
2017-03-23[tests] Additional tests of System.Reflection.MethodInfo.GetBaseDefinitionAleksey Kliger
2017-03-22AppleTls Support (#4470)Chris Hamons
2017-03-20[msvc] Update csproj filesmonojenkins
2017-03-20System.Security.Cryptography.X509Certificates enums from .NET Core.Vladimir Kazakov
TrustStatus and X509SelectionFlag are missing from .NET Core (https://github.com/dotnet/corefx/issues/17194), hence TrustStatus was taken from .NET Framework and X509SelectionFlag was left untouched.
2017-03-16Include Mono version in corlib versionAlexander Köplinger
This makes it possible to version the runtime<->corlib interface for each version branch independently and fixes the problem of monolite getting overwritten by changes in different branches when corlib version is still the same. We're moving definition of the corlib version into configure.ac so we can more easily bake the Mono version into it.
2017-03-16[corlib] Fixes custom formatter with ";" section separator and zero valuesMarek Safar
2017-03-16[corlib] I got a target that can't do satelite assemblies for now. Filed as ↵Rodrigo Kumpera
#53136.
2017-03-16[corlib] Disable GetObject_UrlNull on mobile as it depends on remoting.Rodrigo Kumpera
2017-03-16[corlib] Reenable SafeHandleTest as they now work on Android.Rodrigo Kumpera
2017-03-16[corlib] Multiple small fixes to tests run on mobile.Rodrigo Kumpera
DefineDefaultConstructor_Parent_DefaultCtorInaccessible: On Mobile, due to the Silverlight CoreCLR sandboxing, MethodInvoke doesn't wrap MethodAccessException in TargetInvocationException. Instead of fixing the mobile difference, we adjust the test. LoadWithPartialName: Stop hardcoding the test assembly name otherwise this test will break on every new profile we add. ReflectionOnlyLoadFrom: Don't assume that the test suite was loaded from $CWD. GetRuntimeDirectory: Not all monodroid targets embed assemblies in the same way. So make a reasonable assumption instead.
2017-03-16[corlib] Cleanup tests that depend on SymbolWriter being available for no ↵Rodrigo Kumpera
good reason.
2017-03-16[corlib] Cluster all tests that require large file support under the ↵Rodrigo Kumpera
LargeFileSupport category.
2017-03-13[runtime] Mark array types with more than 32 dimensions as invalid. Move the ↵Zoltan Varga
check for arrays of void into Array.CreateInstance (), since typeof (void).MakeArrayType () is valid. Fixes #53131. (#4514)
2017-03-12[corlib] FileStream::Name needs to include fully qualified normalized name. ↵Marek Safar
Fixes #53231
2017-03-11[bcl] Implement RuntimeHelpers.IsReferenceOrContainsReferences () as an ↵Zoltan Varga
icall, so it works even if the intrinsic is disabled.
2017-03-10[corlib][Mono.Posix] Remove NunitHelpers.cs referenceMarek Safar
2017-03-08[System] Collections from CoreFXMarek Safar
2017-03-05[msvc] Update csproj files (#4474)monojenkins