Marek Safar [Wed, 6 Aug 2014 10:47:14 +0000 (12:47 +0200)]
Merge pull request #1168 from esdrubal/iriparsing
IriParsing
Marek Safar [Wed, 6 Aug 2014 10:41:39 +0000 (12:41 +0200)]
Merge pull request #1193 from esdrubal/decimal-round
Decimal.Round trailing zeros
Marek Safar [Wed, 6 Aug 2014 10:40:30 +0000 (12:40 +0200)]
Merge pull request #1180 from akoeplinger/no-net40-in-make-check
Don't run net_4_0 tests during "make check"
Marek Safar [Wed, 6 Aug 2014 07:51:52 +0000 (09:51 +0200)]
[mcs] switch statement with constant block at first label. Fixes #21805
Alexis Christoforides [Tue, 5 Aug 2014 23:58:51 +0000 (19:58 -0400)]
Added MonoString<->UTF-32 conversion helper functions.
Zoltan Varga [Tue, 5 Aug 2014 23:33:48 +0000 (01:33 +0200)]
Fix the build.
Zoltan Varga [Tue, 5 Aug 2014 21:52:07 +0000 (23:52 +0200)]
[runtime] Remove unused critical-sections files.
Zoltan Varga [Tue, 5 Aug 2014 21:36:06 +0000 (23:36 +0200)]
[runtime] Use the mono_mutex types/functions instead of CriticalSection's.
Zoltan Varga [Tue, 5 Aug 2014 21:21:14 +0000 (23:21 +0200)]
[jit] Use the mono_mutex types/functions of CriticalSection's.
Marcos Henrich [Tue, 5 Aug 2014 13:00:12 +0000 (14:00 +0100)]
Decimal.Round output no longer keeps trailing zeros.
Marcos Henrich [Tue, 5 Aug 2014 12:58:07 +0000 (13:58 +0100)]
Test Decimal.ToString after rounding with trailing zeros.
Paolo Molaro [Tue, 5 Aug 2014 11:14:11 +0000 (13:14 +0200)]
[profiler] Increase the number of maximum and default frames in backtraces.
Zoltan Varga [Tue, 5 Aug 2014 11:02:45 +0000 (13:02 +0200)]
[jit] Emit OP_FMOVE instead of OP_MOVE for r4 arguments in hard float mode on arm.
Paolo Molaro [Tue, 5 Aug 2014 09:52:35 +0000 (11:52 +0200)]
[runtime] Don't assert when loading a generic methodspec with 0 arity (xambug #19097).
Rodrigo Kumpera [Mon, 4 Aug 2014 16:29:43 +0000 (12:29 -0400)]
Merge pull request #1066 from esdrubal/bug19313
Changed DeflateStream to stop reading base_stream sooner. Fixes #19313.
Rodrigo Kumpera [Mon, 4 Aug 2014 16:28:50 +0000 (12:28 -0400)]
Merge pull request #1063 from esdrubal/bug18482
Resets all private key values on RSAManaged.ImportParameters. Fixes #18482.
Marek Safar [Mon, 4 Aug 2014 15:32:15 +0000 (17:32 +0200)]
[mcs] null propagating operator on index expressions
Zoltan Varga [Thu, 17 Jul 2014 21:34:21 +0000 (23:34 +0200)]
[runtime] Remove unneccesary locking from some metadata functions.
Zoltan Varga [Sun, 3 Aug 2014 20:09:26 +0000 (22:09 +0200)]
[runtime] Initialize klass->supertypes properly for dynamic classes.
Marek Safar [Sun, 3 Aug 2014 17:10:45 +0000 (19:10 +0200)]
[system.xml] Dispose XmlReader using correct value. Fixes #21771
Marek Safar [Sun, 3 Aug 2014 12:07:03 +0000 (14:07 +0200)]
[mcs] decimal constants modulo folding. Fixes #21743
Marek Safar [Fri, 1 Aug 2014 10:10:50 +0000 (12:10 +0200)]
[mcs] null propagating operator cannot work on pointer types
Marek Habersack [Thu, 31 Jul 2014 23:43:15 +0000 (19:43 -0400)]
Turns out some devices can have network interfaces without names.
If we encounter such a device we assign it an empty name followed by index number, so that we can
put any number of such devices in the dictionary and report them to the user.
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=21741
Mark Probst [Tue, 29 Jul 2014 23:31:38 +0000 (16:31 -0700)]
[sgen] File size limit for binary protocols.
We can now pass a file size limit to the `binary-protocol` option. It will
create numbered binary protocol files, and only keep the last two around.
This is useful for cases where the only way to reproduce a bug is through
a long run that would otherwise create a protocol that's much too big.
Mark Probst [Tue, 29 Jul 2014 23:29:39 +0000 (16:29 -0700)]
[sgen] Debug option for `clear-at-tlab-creation` nursery clear policy.
With the debug policy, we do clear at TLAB creation, but at GC time, whenever
we would clear with `clear-at-gc`, instead of not clearing, we fill with 0xff.
Zoltan Varga [Thu, 31 Jul 2014 19:55:27 +0000 (21:55 +0200)]
[jit] Avoid making generic calls from gsharedvt methods normally, go through the rgctx infrastructure instead. Fixes #21677.
Marek Safar [Thu, 31 Jul 2014 16:40:19 +0000 (18:40 +0200)]
[mcs] Update codegen for boolean loads. Fixes #21685
Marek Safar [Thu, 31 Jul 2014 14:43:17 +0000 (16:43 +0200)]
[mcs] null coallescing operator can end up working on value types
Zoltan Varga [Thu, 31 Jul 2014 14:40:36 +0000 (16:40 +0200)]
Merge pull request #1184 from directhex/kfreebsd
Support for GNU/kFreeBSD
Zoltan Varga [Thu, 31 Jul 2014 14:38:23 +0000 (16:38 +0200)]
Merge pull request #1183 from directhex/xinerama
Don't do the soname checking dance for Xinerama.
Marek Safar [Thu, 31 Jul 2014 13:21:46 +0000 (15:21 +0200)]
[xbuild] Fix handling of reference aliases
Jo Shields [Thu, 31 Jul 2014 11:04:59 +0000 (12:04 +0100)]
Define PLATFORM_GNU which covers any OS with GNU userland.
This define covers kFreeBSD, not just Linux. This is required because
the error which
120d194d10ad351dd95450749cc4a62331331d8a works around is
a GNU problem, not a Linux problem, so causes FTBFS on kFreeBSD.
Jo Shields [Thu, 31 Jul 2014 10:58:47 +0000 (11:58 +0100)]
Use host_win32 not platform_win32 in kfreebsd defines
Jo Shields [Thu, 31 Jul 2014 10:40:36 +0000 (11:40 +0100)]
Don't do the soname checking dance for Xinerama.
Xinerama has only ever had a soname of 1.
Checking for 1, 2, and 3 is just weird and pointless. And by not using a
default value, we duplicate the bug which
add24aaa1 fixed.
Jo Shields [Thu, 31 Jul 2014 10:38:00 +0000 (11:38 +0100)]
Fix warning message when libX11.so.* are not found.
We complain that we can't find "X development files", but the reverse
is true - if we had X development files, we'd find libX11.so (which
we aren't looking for). What we look for (and find) are the runtime files.
Jo Shields [Thu, 31 Jul 2014 09:26:34 +0000 (10:26 +0100)]
Support for GNU/kFreeBSD.
GNU/kFreeBSD is an experimental OS provided by the Debian project, consisting
of a FreeBSD kernel and GNU userland/libc. For a small number of cases, this
offers advantages over a more common GNU/Linux combination, such as fast
in-kernel support for ZFS storage.
This patch changes various ifdefs, either using __FreeBSD_kernel__ where a
trait from the kernel is what matters, or __GLIBC__ where a trait from the
C library matters.
This patch set has been carried downstream, in one form or another, since
1.2.3.1-1.
https://bugzilla.novell.com/show_bug.cgi?id=321634
Marek Safar [Thu, 31 Jul 2014 09:53:09 +0000 (11:53 +0200)]
[mcs] Fixes bootsrap with older mcs
Marek Safar [Thu, 31 Jul 2014 09:04:50 +0000 (11:04 +0200)]
[mcs] Member access null propagating operator
Marek Safar [Thu, 24 Jul 2014 12:18:11 +0000 (14:18 +0200)]
[mcs] Finalizers cannot use expression_block syntax
Marek Habersack [Fri, 30 May 2014 14:35:56 +0000 (16:35 +0200)]
Implement the Mono side of Android support for NetworkInterface.GetAllNetworkInterfaces ()
Added code to call Xamarin.Android internal implementation of getifaddrs/freeifaddrs to provide us
with the required information to fulfill the request.
Added a handful of Linux ARP hardware IDs which are considered to be tunnel devices and which may occur
on Android devices.
Part of fix for https://bugzilla.xamarin.com/show_bug.cgi?id=1969
Alexis Christoforides [Wed, 30 Jul 2014 18:52:33 +0000 (14:52 -0400)]
Bump Mono version -> 3.8.1
Alexander Köplinger [Wed, 30 Jul 2014 16:55:06 +0000 (18:55 +0200)]
Don't run net_4_0 tests during "make check"
As @marek-safar noted in mono@
cf4f10e#commitcomment-
7128403, the IL code for the 4.0 profile is never used
for running (the assemblies are just built for having metadata), so it makes no sense to execute 4.0 tests during "make check"
Zoltan Varga [Wed, 30 Jul 2014 15:41:41 +0000 (17:41 +0200)]
[xbuild] Disable some tests which fail on wrench.
Ludovic Henry [Wed, 30 Jul 2014 15:13:24 +0000 (11:13 -0400)]
[PLinq] Avoid cache thrashing of locals array when looping over enumerator
Zoltan Varga [Tue, 29 Jul 2014 21:59:45 +0000 (23:59 +0200)]
[jit] Fix another native-types problem. Hopefully fixes #21670 and #21636.
Zoltan Varga [Tue, 29 Jul 2014 21:42:33 +0000 (23:42 +0200)]
Merge pull request #1181 from directhex/master
Delete assemblies from external/ when building "make dist" tarballs
Marek Habersack [Tue, 29 Jul 2014 19:29:35 +0000 (15:29 -0400)]
Do not assume the GetCurrentTimeZone method exists in Mono.Android
Not checking whether the method exists caused a null reference exception in CreateDelegate.
Fixes bug https://bugzilla.xamarin.com/show_bug.cgi?id=21603
Jo Shields [Tue, 29 Jul 2014 16:01:58 +0000 (12:01 -0400)]
Delete assemblies from external/ when building "make dist" tarballs
Marek Safar [Tue, 29 Jul 2014 11:44:46 +0000 (13:44 +0200)]
Merge pull request #1178 from dougrathbone/master
Bug fix caused by Dispose failing because 'Initialize' method throws exception
Zoltan Varga [Tue, 29 Jul 2014 09:56:27 +0000 (11:56 +0200)]
Zoltan Varga [Tue, 29 Jul 2014 09:47:50 +0000 (11:47 +0200)]
[bcl] Disable some tests which are expected to fail in mt.
Marcos Henrich [Tue, 29 Jul 2014 06:23:35 +0000 (07:23 +0100)]
Uri.ToString now returns registered parser components when possible.
Marcos Henrich [Tue, 29 Jul 2014 06:20:46 +0000 (07:20 +0100)]
ParseNoExceptions is now using registered parsers when possible.
Marcos Henrich [Tue, 29 Jul 2014 06:17:21 +0000 (07:17 +0100)]
TryParseComponent returns when the scheme has a registered parser.
Marcos Henrich [Mon, 28 Jul 2014 17:49:26 +0000 (18:49 +0100)]
Removed parameter parser from UriParseComponents.ParseComponents.
Rodrigo Kumpera [Tue, 29 Jul 2014 04:31:10 +0000 (01:31 -0300)]
[jit] Use alias information to eliminate explicit null checks. Fixes #21645.
Rodrigo Kumpera [Tue, 29 Jul 2014 04:17:37 +0000 (01:17 -0300)]
[jit] Handle second order aliases. Based on patch by Vlad Brezae.
In some cases, usually when dealing with IntPtr <> void* conversions, 2nd order aliases arises.
To handle them, first we consider the lowered load/stores for alias information, second
we iterate over handle globals/dce while aliases can still be eliminated.
Zoltan Varga [Tue, 29 Jul 2014 00:47:26 +0000 (02:47 +0200)]
[runtime] Initialize fields in MonoField:GetFieldOffset () if needed. Fixes part of #21604.
Marcos Henrich [Mon, 28 Jul 2014 11:37:58 +0000 (12:37 +0100)]
Changed some IriParsing behaviors to be platform behaviors.
Marcos Henrich [Mon, 28 Jul 2014 11:36:28 +0000 (12:36 +0100)]
Added UriTestAux that tests non default IriParsing. Fixed Tests.
Rodrigo Kumpera [Sun, 27 Jul 2014 21:58:11 +0000 (18:58 -0300)]
[runtime] Properly handle rethrow outside of catch blocks. Fixes #20412
Fix the verifier to fail a rethrow in a filter block.
Change the JIT to emit an exception instead of asserting.
Doug Rathbone [Sun, 27 Jul 2014 19:21:37 +0000 (12:21 -0700)]
Fixing bug caused by Dispose failing because the `Initialize` method threw a `CryptographicException` before the private variables `m_p, m_G, m_X` could be set.
Marek Safar [Fri, 25 Jul 2014 21:27:07 +0000 (23:27 +0200)]
Merge pull request #1176 from RyanMelenaNoesis/patch-1
Implement missing constructor
RyanMelenaNoesis [Fri, 25 Jul 2014 21:07:55 +0000 (16:07 -0500)]
Implement missing constructor
http://msdn.microsoft.com/en-us/library/hh194482(v=vs.110).aspx
Marcos Henrich [Fri, 25 Jul 2014 13:47:54 +0000 (14:47 +0100)]
Refactored ifs into switches.
Marcos Henrich [Fri, 25 Jul 2014 13:05:23 +0000 (14:05 +0100)]
Removed unnecessary parameter modifier ref.
No need of modifier ref because ParserState is not a value type.
Marcos Henrich [Fri, 25 Jul 2014 12:57:09 +0000 (13:57 +0100)]
Added missing spaces.
Marcos Henrich [Fri, 25 Jul 2014 12:54:29 +0000 (13:54 +0100)]
Call more appropriate string.TrimStart overload.
Marcos Henrich [Fri, 25 Jul 2014 12:52:47 +0000 (13:52 +0100)]
Parse methods are now chained in conjunction.
Marcos Henrich [Fri, 25 Jul 2014 12:31:57 +0000 (13:31 +0100)]
Refactored UriHelper.Reduce to use string.Split.
Marcos Henrich [Fri, 25 Jul 2014 12:29:39 +0000 (13:29 +0100)]
Removed redundant code.
Marcos Henrich [Fri, 25 Jul 2014 12:28:29 +0000 (13:28 +0100)]
Splited if to test % first.
Marcos Henrich [Fri, 25 Jul 2014 12:20:38 +0000 (13:20 +0100)]
UriHelper.HexEscapeMultiByte is now using StringBuilder.
Marcos Henrich [Fri, 25 Jul 2014 12:17:51 +0000 (13:17 +0100)]
Class UriHelper is now static.
Marcos Henrich [Fri, 25 Jul 2014 12:14:16 +0000 (13:14 +0100)]
Changed string operations to use StringComparison.Ordinal.
Marcos Henrich [Fri, 25 Jul 2014 10:57:07 +0000 (11:57 +0100)]
Removed redundant IriParsing init and changed if to else if.
Marcos Henrich [Fri, 25 Jul 2014 08:41:19 +0000 (09:41 +0100)]
Removed redundant initializations.
Marcos Henrich [Fri, 25 Jul 2014 08:08:07 +0000 (09:08 +0100)]
Control chars with invalid escape are no longer unescaped in 2.0.
Marcos Henrich [Fri, 25 Jul 2014 07:42:47 +0000 (08:42 +0100)]
Results location is now set from defines NET_X_X.
Martin Baulig [Thu, 24 Jul 2014 22:37:16 +0000 (00:37 +0200)]
[http]: Correctly handle partial chunk sizes; fixes #20583.
Marcos Henrich [Thu, 24 Jul 2014 17:21:51 +0000 (18:21 +0100)]
Removed bad LocalPath testing.
Marcos Henrich [Thu, 24 Jul 2014 17:12:09 +0000 (18:12 +0100)]
Test invalid utf8 encodings.
Marcos Henrich [Thu, 24 Jul 2014 17:04:40 +0000 (18:04 +0100)]
Added UriPermutationsTest.PercentageEncoding_AbsolutePath.
Marcos Henrich [Thu, 24 Jul 2014 17:02:48 +0000 (18:02 +0100)]
Added UriPermutationsTest.PercentageEncoding_Unescape.
Marcos Henrich [Thu, 24 Jul 2014 16:30:14 +0000 (17:30 +0100)]
Updated UriBuilderTest.IPv6_Host with IriParsing behavior.
Marcos Henrich [Thu, 24 Jul 2014 16:23:05 +0000 (17:23 +0100)]
Custom schemes '\' are now replaced with '/' on windows paths.
Marek Habersack [Wed, 11 Jun 2014 06:42:51 +0000 (08:42 +0200)]
Use Android-specific code to get the current system time zone
Marek Safar [Thu, 24 Jul 2014 11:51:35 +0000 (13:51 +0200)]
[System.ComponentModel.Composition] Remove ReadOnlyDictionary. It's not used in 4.5 profile (it implements different interfaces compare to public ReadOnlyDictionary anyway)
Marcos Henrich [Thu, 24 Jul 2014 11:41:06 +0000 (12:41 +0100)]
Changed Uri.Unescape to use UriHelper.FormatAbsolute.
Marcos Henrich [Thu, 24 Jul 2014 11:34:11 +0000 (12:34 +0100)]
Invalid escapes are left untouched on .NET 4.0 and higher.
Marcos Henrich [Thu, 24 Jul 2014 11:31:53 +0000 (12:31 +0100)]
Added HexUnescapeMultiByte overload with invalidEscape out param.
Invalid escapes are left untouched on .NET 4.0 and higher.
Marcos Henrich [Thu, 24 Jul 2014 11:27:47 +0000 (12:27 +0100)]
Added missing FormatFlag.NoSlashReplace condition.
Marcos Henrich [Thu, 24 Jul 2014 11:26:46 +0000 (12:26 +0100)]
Added FormatFlag.NoReduce.
Marek Safar [Thu, 24 Jul 2014 11:07:59 +0000 (13:07 +0200)]
[mcs] Implements expression bodied members
Zoltan Varga [Wed, 23 Jul 2014 17:00:36 +0000 (13:00 -0400)]
[runtime] Disable runtime unit tests on linux, because it cannot be linked due to circular dependencies between libraries. Fixes #21520.
Marek Safar [Wed, 23 Jul 2014 13:48:00 +0000 (15:48 +0200)]
[mcs] Better betterness for ambiguous lambda expressions
Zoltan Varga [Wed, 23 Jul 2014 10:58:17 +0000 (12:58 +0200)]
Merge pull request #1174 from rhapsodyn/patch-1
fix a typo in comment
Marcos Henrich [Wed, 23 Jul 2014 10:46:51 +0000 (11:46 +0100)]
Uri.Merge ignores on 2.0 base filename when relative has a query.
Marcos Henrich [Wed, 23 Jul 2014 09:53:23 +0000 (10:53 +0100)]
On .NET 4.0 and higher avoid unescaping of user escaped Uri.
Marcos Henrich [Wed, 23 Jul 2014 09:48:30 +0000 (10:48 +0100)]
Format is now setting FormatFlags.HasUriCharactersToNormalize.