Paolo Molaro [Tue, 12 Aug 2014 13:30:10 +0000 (15:30 +0200)]
[runtime] Fix logic when allocating code region if the first try at a fixed address fails.
Marek Safar [Tue, 12 Aug 2014 08:34:33 +0000 (10:34 +0200)]
Re-enable valid tests
Marek Safar [Tue, 12 Aug 2014 08:31:32 +0000 (10:31 +0200)]
[System.Net.Http] Handle quoted filename value. Fixes #21960
Marek Safar [Tue, 12 Aug 2014 06:49:29 +0000 (08:49 +0200)]
[corlib] Remove heavyweight EndsWith from
1bff9d890f95e72e4145d48980a05908c87b53ce
Marek Safar [Tue, 12 Aug 2014 06:15:55 +0000 (08:15 +0200)]
[mcs] nameof operator
Marek Safar [Fri, 8 Aug 2014 11:05:57 +0000 (13:05 +0200)]
[mcs] Any type parameter is allowed for null propagating operator
Marek Safar [Fri, 8 Aug 2014 11:05:15 +0000 (13:05 +0200)]
[mcs] auto-property initializer can be array initializer
Miguel de Icaza [Tue, 12 Aug 2014 03:27:48 +0000 (23:27 -0400)]
Merge pull request #1192 from LogosBible/regex-fixes-21803
Regex substring fix
Atsushi Eno [Mon, 11 Aug 2014 07:54:30 +0000 (16:54 +0900)]
[ms.build] add some cyclic dependency related tests (some are not working).
Atsushi Eno [Mon, 11 Aug 2014 07:51:34 +0000 (16:51 +0900)]
[ms.build] Fix bug #20961 - add KeepDuplicates etc. to 4.0 as internal.
Since NET_4_0 and NET_4_5 share the same ToolsVersion (4.0) there seems no
way to distinguish the appropriate framework .targets file, so I ended up
to add the missing members as internal for 4.0.
Atsushi Eno [Mon, 11 Aug 2014 07:38:51 +0000 (16:38 +0900)]
[ms.build] Do not try to release threads upon finalization.
Marek Safar [Mon, 11 Aug 2014 08:50:03 +0000 (10:50 +0200)]
Merge pull request #1190 from esdrubal/encoder-convert
System.Text.Encoder convert
Zoltan Varga [Fri, 8 Aug 2014 20:46:36 +0000 (22:46 +0200)]
Merge pull request #1201 from crisdut/fix-win-mono-dependencies
Adding the mutex header file dependency
João Matos [Fri, 8 Aug 2014 17:57:14 +0000 (18:57 +0100)]
Fixed Path.GetFullPath to work correctly when the current path is '/'.
Fixes xambug #833.
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.
Armando C. Dutra [Fri, 8 Aug 2014 07:29:40 +0000 (04:29 -0300)]
adding the mutex header file dependency
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
Marcos Henrich [Mon, 4 Aug 2014 15:15:12 +0000 (16:15 +0100)]
Added classes EncodingEncoder and EncodingDecoder.
EncodingEncoder and EncodingDecoder override Encoder.Convert.
The Convert overrides allow retrieval of chars/bytes buffers with the same size as .NET.
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.
Dave Dunkin [Tue, 5 Aug 2014 15:51:38 +0000 (08:51 -0700)]
Add test for Regex RTL substring matching.
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).
Martin Potter [Fri, 17 Aug 2012 02:24:31 +0000 (19:24 -0700)]
Regex fixes for substring parsing.
Dave Dunkin [Mon, 4 Aug 2014 21:30:15 +0000 (14:30 -0700)]
Add test for Regex.Match with anchors on a substring.
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.
Marcos Henrich [Mon, 4 Aug 2014 14:26:53 +0000 (15:26 +0100)]
Test Encoder.Convert and UTF8Encoder.Convert behaviors.
Added class ExposedEncoder to test the virtual method Encoder.Convert behavior.
Test UTF8Encoder.Convert override.
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.