João Matos [Fri, 8 Aug 2014 17:42:29 +0000 (18:42 +0100)]
Merge pull request #1196 from tritao/master
System.IO.Compression.FileSystem implementation
João Matos [Wed, 6 Aug 2014 17:57:54 +0000 (18:57 +0100)]
Implemented System.IO.Compression.FileSystem.
Zoltan Varga [Fri, 8 Aug 2014 00:17:54 +0000 (02:17 +0200)]
[jit] Reorganize the locking in mono_jit_compile_method_inner, the domain lock already makes the code lookup+insert atomic, no need to do more work inside the jit code hash lock. Also lock jit_code_hash in mono_jit_free_method ().
Zoltan Varga [Fri, 8 Aug 2014 00:09:06 +0000 (02:09 +0200)]
[jit] Avoid taking the loader lock in mono_jit_compile_method_inner (), it shouldn't be needed any more.
Zoltan Varga [Thu, 7 Aug 2014 22:36:31 +0000 (00:36 +0200)]
[sdb] Avoid asserting when a cattr cannot be loaded. Fixes #21653.
Marek Safar [Thu, 7 Aug 2014 18:01:46 +0000 (20:01 +0200)]
[System] Disable failing test
Marek Safar [Thu, 7 Aug 2014 14:53:55 +0000 (16:53 +0200)]
[mcs] null propagating operator and expressions which cannot be null
Zoltan Varga [Thu, 7 Aug 2014 12:56:33 +0000 (14:56 +0200)]
[runtime] Fix Process.PrivateMemorySize64 etc. on ios. Fixes #21882.
Marek Safar [Thu, 7 Aug 2014 12:24:40 +0000 (14:24 +0200)]
[mcs] null propagating operator and extension methods
Zoltan Varga [Thu, 7 Aug 2014 11:56:35 +0000 (13:56 +0200)]
[jit] Fix enum->int casts in gsharedvt code. Fixes #21893.
Marek Safar [Thu, 7 Aug 2014 09:03:33 +0000 (11:03 +0200)]
[mcs] null propagating operator with nested receiver
Marek Safar [Thu, 7 Aug 2014 08:25:47 +0000 (10:25 +0200)]
Merge pull request #1199 from esdrubal/packurihelper
PackUriHelper
Marcos Henrich [Thu, 7 Aug 2014 08:10:53 +0000 (09:10 +0100)]
Added argument validations to ComparePackUri an ComparePartUri.
Marcos Henrich [Thu, 7 Aug 2014 08:09:22 +0000 (09:09 +0100)]
Changed Check.PartUriIsValid to throw ArgumentException.
Marcos Henrich [Thu, 7 Aug 2014 08:02:49 +0000 (09:02 +0100)]
Removed [Category("NotWorking")] from PackUriHelperTests.
CompareInvalidTest is still not working because .NET PackUriHelper.ComparePackUri is doing something that uses Uri and throws an exception whereas Mono is not.
Marek Safar [Thu, 7 Aug 2014 06:18:30 +0000 (08:18 +0200)]
Merge pull request #1198 from chriswebb/master
Fixed issue where XmlReflectionImporter unable to handle XmlEnums with colons
Chris Webb [Wed, 6 Aug 2014 09:00:29 +0000 (09:00 +0000)]
Fixed issue related to fully qualified namespaces being used for XmlEnumAttribute values.
Marek Safar [Thu, 7 Aug 2014 05:44:36 +0000 (07:44 +0200)]
Merge pull request #1197 from akoeplinger/remove-csproj
[Cleanup] Removed a bunch of superfluous .csproj and .sln files
Alexander Köplinger [Sun, 4 May 2014 18:34:51 +0000 (20:34 +0200)]
[Cleanup] Removed a bunch of superfluous .csproj and .sln files
Most of these files weren't updated in the last >5 years and serve no purpose today, so they only clutter the repository.
Marek Safar [Wed, 6 Aug 2014 13:11:53 +0000 (15:11 +0200)]
Merge pull request #1195 from akoeplinger/fix-uri-with-digits
[System] Fix parsing of URI schemes with digits
Alexander Köplinger [Wed, 6 Aug 2014 12:52:42 +0000 (14:52 +0200)]
[System] Fix parsing of URI schemes with digits
Initializing an Uri previously throwed an exception when the URI scheme contained a digit (e.g. net.p2p).
The loop was missing a digit check, similar to https://github.com/mono/mono/blob/
1f1dc988ad7b165603a1175bf0a92156c4372c43/mcs/class/System/System/Uri.cs#L767
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.