Sebastien Pouliot [Tue, 19 May 2015 22:12:17 +0000 (18:12 -0400)]
Make NotImplementedException partial to allow XI to add an helper method
Sebastien Pouliot [Tue, 19 May 2015 22:11:13 +0000 (18:11 -0400)]
Sprinkle some DISABLE_CAS_USE for System.ServiceModel.* helpers
Marek Safar [Tue, 19 May 2015 19:56:07 +0000 (21:56 +0200)]
Enable more thread apis
Marek Safar [Tue, 19 May 2015 09:42:13 +0000 (11:42 +0200)]
Initial thread integration
Ludovic Henry [Sat, 16 May 2015 21:13:48 +0000 (23:13 +0200)]
Import System.Threading.WaitHandle
Marek Safar [Fri, 15 May 2015 18:49:01 +0000 (20:49 +0200)]
Disable more cas
Ludovic Henry [Thu, 14 May 2015 15:46:34 +0000 (16:46 +0100)]
Import System.Threading.Timer
Marek Safar [Thu, 14 May 2015 12:58:39 +0000 (14:58 +0200)]
Add more mobile api which fails or crashes but was available in previous versions
Ludovic Henry [Tue, 12 May 2015 22:06:56 +0000 (23:06 +0100)]
Implement System.Double runtime support
Marek Safar [Wed, 13 May 2015 15:33:21 +0000 (17:33 +0200)]
Disable RemoteDebugger
Marek Safar [Wed, 13 May 2015 15:27:08 +0000 (17:27 +0200)]
Add broken mono configuration hack
Marek Safar [Tue, 12 May 2015 14:27:08 +0000 (16:27 +0200)]
Convert null attribute type to Attribute. Fixes #29916
Marek Safar [Tue, 12 May 2015 12:37:37 +0000 (14:37 +0200)]
Add more missing strings
Atsushi Eno [Tue, 12 May 2015 06:01:44 +0000 (14:01 +0800)]
we cannot check MDAC version via registry, so do not try it.
Martin Baulig [Mon, 11 May 2015 22:03:12 +0000 (00:03 +0200)]
Always call SSPIWrapper.CheckRemoteCertificate().
Marek Safar [Mon, 11 May 2015 14:28:36 +0000 (16:28 +0200)]
Hold user token as IntPtr only
Marek Safar [Mon, 11 May 2015 13:26:14 +0000 (15:26 +0200)]
More configuration dependencies
Marek Safar [Fri, 8 May 2015 09:13:43 +0000 (11:13 +0200)]
Add mono dependencies
Marek Safar [Fri, 8 May 2015 08:32:28 +0000 (10:32 +0200)]
Correctly throw on missing encoding
Marek Safar [Thu, 7 May 2015 18:52:01 +0000 (20:52 +0200)]
SqlClient mono friendly bits
Marek Safar [Wed, 6 May 2015 14:56:28 +0000 (16:56 +0200)]
Disable more cas
Marek Safar [Wed, 6 May 2015 14:35:25 +0000 (16:35 +0200)]
Mobile fixes
Marek Safar [Mon, 4 May 2015 14:14:14 +0000 (16:14 +0200)]
PKCS bugfixes
Marek Safar [Thu, 30 Apr 2015 12:55:18 +0000 (14:55 +0200)]
Add more mobile api which fails of crashes but was available in previous versions
Marek Safar [Wed, 29 Apr 2015 19:52:39 +0000 (21:52 +0200)]
More profile apis tweaks
dotnet-bot [Wed, 29 Apr 2015 17:37:19 +0000 (10:37 -0700)]
Adding reference source for System.Configuration
Marek Safar [Wed, 29 Apr 2015 11:39:14 +0000 (13:39 +0200)]
Fix what looks like a buggy RsaOaepDecrypt
Marek Safar [Tue, 28 Apr 2015 17:02:22 +0000 (19:02 +0200)]
More cryptography mono tweaks
Marek Safar [Tue, 28 Apr 2015 11:35:23 +0000 (13:35 +0200)]
Mono tweaks to cryptography
Marek Safar [Tue, 28 Apr 2015 07:18:47 +0000 (09:18 +0200)]
Make WindowsRuntime enum value alway available
Marek Safar [Mon, 27 Apr 2015 18:28:15 +0000 (20:28 +0200)]
Remove more com stuff from Attribute
Atsushi Eno [Fri, 24 Apr 2015 06:04:12 +0000 (15:04 +0900)]
more uses of NO_DYNAMIC_CODEGEN condition were needed.
Sebastien Pouliot [Wed, 22 Apr 2015 01:20:50 +0000 (21:20 -0400)]
Restore Mono compatibility with UnmanagedType enum
Some values, like CustomMarshaler, are used by XI unit tests.
Marek Safar [Mon, 20 Apr 2015 14:29:49 +0000 (16:29 +0200)]
Mono friendly cryptography bits
Marek Safar [Fri, 17 Apr 2015 14:54:56 +0000 (16:54 +0200)]
Mobile teaks to security attributes
Marek Safar [Fri, 17 Apr 2015 14:05:38 +0000 (16:05 +0200)]
Update public api
Marek Safar [Fri, 17 Apr 2015 13:37:08 +0000 (15:37 +0200)]
Mono friendly versioning
Marek Safar [Fri, 17 Apr 2015 12:28:21 +0000 (14:28 +0200)]
Mono friendly safe handles
Marek Safar [Fri, 17 Apr 2015 09:01:31 +0000 (11:01 +0200)]
Marek Safar [Fri, 17 Apr 2015 08:32:55 +0000 (10:32 +0200)]
Tweaks for mobile profiles
Marek Safar [Thu, 16 Apr 2015 15:44:26 +0000 (17:44 +0200)]
Mono friendlly com types
Atsushi Eno [Wed, 1 Apr 2015 15:43:18 +0000 (00:43 +0900)]
more SRE elimination was needed.
Atsushi Eno [Wed, 1 Apr 2015 09:06:47 +0000 (18:06 +0900)]
Add NO_DYNAMIC_CODEGEN condition. We will be based on (non-emit) reflection.
Atsushi Eno [Mon, 30 Mar 2015 18:19:46 +0000 (03:19 +0900)]
Add mobile build support in System.Runtime.Serialization.
Marek Safar [Thu, 16 Apr 2015 09:20:18 +0000 (11:20 +0200)]
Hide ComImportAttribute from MT
Marek Safar [Wed, 15 Apr 2015 15:47:24 +0000 (17:47 +0200)]
Mono friendly runtime attributes
Marek Safar [Mon, 13 Apr 2015 15:42:26 +0000 (17:42 +0200)]
Add mono stacktraces to ExceptionDispatch
Marek Safar [Fri, 10 Apr 2015 13:06:19 +0000 (15:06 +0200)]
Mono friendly TextInfo
Marek Safar [Fri, 10 Apr 2015 08:29:39 +0000 (10:29 +0200)]
Fixes endianess issue in resourcereader
Marek Safar [Fri, 10 Apr 2015 05:55:30 +0000 (07:55 +0200)]
Comparer fix
Marek Safar [Thu, 9 Apr 2015 20:53:45 +0000 (22:53 +0200)]
Equality comparers fixes
Marek Safar [Thu, 9 Apr 2015 18:03:50 +0000 (20:03 +0200)]
More DISABLE_CAS_USE
Marek Safar [Thu, 9 Apr 2015 13:55:27 +0000 (15:55 +0200)]
Mono friendly Buffer
Marek Safar [Thu, 9 Apr 2015 12:22:00 +0000 (14:22 +0200)]
Mono friendly generic comparers
Marek Safar [Thu, 9 Apr 2015 09:34:41 +0000 (11:34 +0200)]
Enable GetGenericArguments
Marek Safar [Wed, 8 Apr 2015 17:30:37 +0000 (19:30 +0200)]
Update timezoneinfo TypeForwardedFrom
Marek Safar [Wed, 8 Apr 2015 15:06:10 +0000 (17:06 +0200)]
Update some TypeForwardedFrom
Marek Safar [Wed, 8 Apr 2015 14:06:29 +0000 (16:06 +0200)]
Add FULL_AOT_RUNTIME to IAppDomain
Marek Safar [Wed, 8 Apr 2015 13:00:38 +0000 (15:00 +0200)]
Mono friendly FileLoadException
Marek Safar [Wed, 8 Apr 2015 11:23:01 +0000 (13:23 +0200)]
Mono friendly TypeLoadException
Marek Safar [Tue, 7 Apr 2015 17:19:45 +0000 (19:19 +0200)]
Fix wrong FEATURE_USE_LCID ifdef
Atsushi Eno [Fri, 27 Mar 2015 16:51:02 +0000 (01:51 +0900)]
Add mobile build conditions for SMDiagnostics.dll.
Ludovic Henry [Sat, 4 Apr 2015 15:24:50 +0000 (17:24 +0200)]
Fix FullAOT build
Marek Safar [Sat, 4 Apr 2015 09:05:32 +0000 (11:05 +0200)]
Remove unused icall
Marek Safar [Thu, 2 Apr 2015 10:50:55 +0000 (12:50 +0200)]
Mono friendly compareinfo
Atsushi Eno [Wed, 1 Apr 2015 14:03:33 +0000 (23:03 +0900)]
Fix mobile_static build.
Marek Safar [Tue, 31 Mar 2015 14:00:29 +0000 (16:00 +0200)]
Remove Mono specific paths from DateTimeFormatInfo
Marek Safar [Mon, 30 Mar 2015 15:56:45 +0000 (17:56 +0200)]
Specialize encoding names translation
Zoltan Varga [Mon, 30 Mar 2015 15:32:16 +0000 (11:32 -0400)]
Add a workaround for #24566 so 3.12 mcs can compile System.Xml.
Martin Baulig [Fri, 27 Mar 2015 22:08:08 +0000 (23:08 +0100)]
Add conditionals to ServicePointManager.cs.
* `ServerCertValidationCallback': Enable this for Mono.
* `ServicePointManager': Use 'MONO_FEATURE_WEB_STACK' here, we'll
eventually bring this together with the web stack.
We want the helper APIs at the top of the file, but not the actual
'ServicePointManager' class.
Zoltan Varga [Thu, 26 Mar 2015 10:02:10 +0000 (06:02 -0400)]
Avoid initializing String.Empty, it is now done from native code.
Martin Baulig [Wed, 25 Mar 2015 21:11:05 +0000 (22:11 +0100)]
Use actual parameter custom attribute type.
This fixes the situation where a parameter has more than one
custom attribute.
Atsushi Eno [Thu, 19 Mar 2015 14:17:27 +0000 (22:17 +0800)]
Add MONO_PARTIAL_DATA_IMPORT.
It is to make it possible to import everything but SqlClient and co.
Atsushi Eno [Wed, 18 Mar 2015 07:58:38 +0000 (15:58 +0800)]
Add #if-s for mobile builds.
Atsushi Eno [Tue, 17 Mar 2015 07:58:52 +0000 (15:58 +0800)]
Avoid some windows-only calls in System.Data.
Marek Safar [Wed, 25 Mar 2015 13:46:08 +0000 (14:46 +0100)]
Mono friendly string
Alexander Köplinger [Thu, 12 Mar 2015 01:41:28 +0000 (02:41 +0100)]
Fix DateTime regression on ARM
This is the same issue as in https://github.com/mono/referencesource/pull/7,
i.e. there's an overflow when casting a too large value from double->long
and the referencesource implementation relies on this being a large negative
value in order for the ArgumentOutOfRangeException to be properly thrown.
As Mono's runtime on ARM in this case returns -1, the exception isn't thrown.
The fix is to introduce an explicit overflow check, catch an eventual
OverflowException and raise the proper exception instead. This can be JIT'd
to better code than checking if the value fits into long every time.
It fixes a couple of DateTime unit tests that currently fail on ARM.
Marek Safar [Tue, 24 Mar 2015 09:00:39 +0000 (10:00 +0100)]
Mono friendly ExceptionDispatchInfo
Marek Safar [Mon, 23 Mar 2015 16:42:05 +0000 (17:42 +0100)]
Don't replace CategoryAttribute value with key when not found.
Marek Safar [Mon, 23 Mar 2015 15:47:56 +0000 (16:47 +0100)]
Mono friendly System.Resources
Marek Safar [Mon, 23 Mar 2015 09:52:15 +0000 (10:52 +0100)]
Mono friendly MethodBase
Marek Safar [Fri, 20 Mar 2015 16:35:38 +0000 (17:35 +0100)]
Mono friendly Type|MemberInfo
Marek Safar [Fri, 20 Mar 2015 16:34:57 +0000 (17:34 +0100)]
Disable unmanaged IsVisible type path, it does not work
Marek Safar [Fri, 20 Mar 2015 11:19:46 +0000 (12:19 +0100)]
Filter out more FrameworkEventSource
Marek Safar [Fri, 20 Mar 2015 09:38:33 +0000 (10:38 +0100)]
Enable more Type code
Marek Safar [Thu, 19 Mar 2015 21:40:44 +0000 (22:40 +0100)]
Return top-level parameter custom attributes when no base methods exists
Marek Safar [Thu, 19 Mar 2015 21:40:12 +0000 (22:40 +0100)]
Throw better exception on not yet implement runtime icall
Marek Safar [Thu, 19 Mar 2015 20:56:52 +0000 (21:56 +0100)]
Mono friendly TypedReference
Marek Safar [Wed, 18 Mar 2015 09:10:55 +0000 (10:10 +0100)]
Disable more CAS
Marek Safar [Wed, 18 Mar 2015 08:57:18 +0000 (09:57 +0100)]
Disable more CAS
Ludovic Henry [Fri, 6 Feb 2015 23:49:06 +0000 (18:49 -0500)]
Restore RegisteredWaitHandle as we now use the Mono one
The Mono one is entirely implemented in managed code, so it does not need any runtime support.
Marek Safar [Mon, 16 Mar 2015 22:30:47 +0000 (23:30 +0100)]
Endian fixes to serialization
Marek Safar [Mon, 16 Mar 2015 22:13:31 +0000 (23:13 +0100)]
Mono friendly serialization
Marek Safar [Mon, 16 Mar 2015 22:02:31 +0000 (23:02 +0100)]
Update timer argument exception check
Alexander Kyte [Mon, 16 Mar 2015 15:35:59 +0000 (11:35 -0400)]
Added serialization annotations to StringBuilder
Marek Safar [Mon, 16 Mar 2015 10:01:01 +0000 (11:01 +0100)]
Add mono specific handling to attribute
Marek Safar [Mon, 16 Mar 2015 07:48:04 +0000 (08:48 +0100)]
Mono friendly Attribute
Marek Safar [Thu, 12 Mar 2015 12:26:05 +0000 (13:26 +0100)]
Few FULL_AOT_RUNTIME tweaks
Marek Safar [Wed, 11 Mar 2015 16:12:05 +0000 (17:12 +0100)]
Mono uses WebAsyncResult instead of reference sources LazyAsyncResult (at least for now)
Alexander Köplinger [Mon, 9 Mar 2015 16:36:44 +0000 (17:36 +0100)]
Fix System.Timers.Timer regression on ARM
When setting Interval = double.MaxValue like in the TimerTest.Interval_TooHigh_ThrowOnEnabled and
TimerTest.Interval_TooHigh_Enabled_Throw Mono unit tests there was a regression on ARM in that
the ArgumentOutOfRangeException wasn't thrown as expected.
Turns out, on ARM the call to (int)Math.Ceiling(double.MaxValue) as used in UpdateTimer() and Enabled setter
doesn't produce -
2147483648 (i.e. Int32.MinValue) like on x86/amd64 but rather
2147483647 (i.e. Int32.MaxValue),
which is perfectly valid as the cast overflows and the result is an undefined value.
This means that the value passed to the underlying System.Threading.Timer is not negative
and no ArgumentOutOfRangeException is thrown there.
The fix is to properly check for interval>Int32.MaxValue like is done already in the constructor.
I pulled that logic out and introduced a separate method CalculateRoundedInterval().
Note: The thrown exception changes from an ArgumentOutOfRangeException inside of System.Threading.Timer
to an ArgumentException inside of CalculateRoundedInterval().
I think this has minimal impact as no-one should rely on this exception anyway and it actually matches
what MSDN (https://msdn.microsoft.com/en-us/library/system.timers.timer.interval(v=vs.110).aspx)
says should happen in this case (even though the MS.NET 4.5 implementation doesn't comply).
Mono's implementation also did the same before: https://github.com/mono/mono/blob/
4cb3f77b4bbf703b1cda59db2f5aee206e35d31a/mcs/class/System/System.Timers/Timer.cs#L95-L96