mono.git
9 years agoUpdated UriHelper.FormatFlags.
Marcos Henrich [Thu, 3 Jul 2014 18:17:21 +0000 (19:17 +0100)]
Updated UriHelper.FormatFlags.
Renamed HasCharactersToNormalize to HasUriCharactersToNormalize
Added HasComponentCharactersToNormalize.

9 years agoFixed bad reduce of "ftp://a\.\".
Marcos Henrich [Thu, 3 Jul 2014 17:18:41 +0000 (18:18 +0100)]
Fixed bad reduce of "ftp://a\.\".

9 years agoAdded backslash to reduceLocations. Simplified componentLocations.
Marcos Henrich [Thu, 3 Jul 2014 17:02:55 +0000 (18:02 +0100)]
Added backslash to reduceLocations. Simplified componentLocations.

9 years agoStringTester.Assert parameter message is now optional.
Marcos Henrich [Thu, 3 Jul 2014 16:55:51 +0000 (17:55 +0100)]
StringTester.Assert parameter message is now optional.
Additionaly if no message is provided the assert id is used instead.

9 years agoUpdated Uri.Tostring.
Marcos Henrich [Thu, 3 Jul 2014 16:41:14 +0000 (17:41 +0100)]
Updated Uri.Tostring.
Uri.ToString now use GetComponentsHelpers to get and format an absolute Uri and uses FormatRelative to format a relative Uri.

9 years agoAdded method GetComponentsHelper.
Marcos Henrich [Thu, 3 Jul 2014 16:29:41 +0000 (17:29 +0100)]
Added method GetComponentsHelper.
With GetComponentsHelper components with format UriHelper.ToStringUnescape can be retrieve without the ArgumentOutOfRangeException thrown by GetComponents.

9 years agoUpdated Fragment, Query, AbsoluteUri.
Marcos Henrich [Thu, 3 Jul 2014 13:43:43 +0000 (14:43 +0100)]
Updated Fragment, Query, AbsoluteUri.
Fragment and Query are now processed with UriHelper.FormatAbsolute.
AbsoluteUri is using obtained from GetComponents.

9 years agoUriHelper.Format now reduces paths.
Marcos Henrich [Thu, 3 Jul 2014 11:55:07 +0000 (12:55 +0100)]
UriHelper.Format now reduces paths.

9 years agoImproved reduce tests.
Marcos Henrich [Thu, 3 Jul 2014 11:46:13 +0000 (12:46 +0100)]
Improved reduce tests.
Reduce tests now test sequences of 1 to 3 encoded or decoded dots inside paths with or without trailing character and encoded fowardslash and backslash.

9 years agoImproved unescape testing.
Marcos Henrich [Wed, 2 Jul 2014 20:02:07 +0000 (21:02 +0100)]
Improved unescape testing.
With IriParsing the presencee of encoded alpha numeric, non ASCII, '-', '.', '_' and '~' characters trigger the decoding of some other characters.
Tested permutations now include tests with and tests without those characters.

9 years agoAdded methods FormatAbsolute, FormatRelative, and enum FormatFlags.
Marcos Henrich [Wed, 2 Jul 2014 18:17:03 +0000 (19:17 +0100)]
Added methods FormatAbsolute, FormatRelative, and enum FormatFlags.
Changed Format methods to receive FormatFlags.
Added FormatFlag.HasCharactersToNormalize, which improves character decoding.
The flag is set when Iriparsing is true and the Uri contains an encoded alpha numeric, non ASCII, '-', '.' , '_' and '~'.
When the flag is set some other encoded charcaters need also to be decoded.

10 years agoChanged UriPermutationsTest createMode to false.
Marcos Henrich [Tue, 1 Jul 2014 13:49:09 +0000 (14:49 +0100)]
Changed UriPermutationsTest createMode to false.

10 years agoAdded UriPermutationsTest.
Marcos Henrich [Tue, 1 Jul 2014 11:14:31 +0000 (12:14 +0100)]
Added UriPermutationsTest.
Created a new set of tests that create&store or that load&assert uri permutations.
Uris are created with permutations of schemes, components, characters then methods and properties output is asserted against expected values obtained on .NET.

10 years agoImproved UriHelper.Format '%' handling.
Marcos Henrich [Sun, 29 Jun 2014 14:44:20 +0000 (15:44 +0100)]
Improved UriHelper.Format '%' handling.
When a % was found HexUnescapeMultiByte output was always considered escaped.
Now a % that is not a percentage encoded character will be processed has a not escaped character.

10 years agoChanged Uri.SupportsQuery to use UriHelper.SupportsQuery.
Marcos Henrich [Sun, 29 Jun 2014 10:26:33 +0000 (11:26 +0100)]
Changed Uri.SupportsQuery to use UriHelper.SupportsQuery.

10 years agoChanged ParsePath to only break on '?' if scheme supports queries.
Marcos Henrich [Sun, 29 Jun 2014 10:01:36 +0000 (11:01 +0100)]
Changed ParsePath to only break on '?' if scheme supports queries.

10 years agoReplaced UriParser.Format with UriHelper.Format.
Marcos Henrich [Sun, 29 Jun 2014 09:51:09 +0000 (10:51 +0100)]
Replaced UriParser.Format with UriHelper.Format.
UriParser.Format was deleted and UriParser.GetComponents is now using UriHelper.Format.

10 years agoChanged UriElements query and fragment default values to null.
Marcos Henrich [Sun, 29 Jun 2014 09:31:43 +0000 (10:31 +0100)]
Changed UriElements query and fragment default values to null.
Default values are now null so UriParser.GetComponents can return an empty query or fragment..

10 years agoCreated file UriHelper.cs.
Marcos Henrich [Sun, 29 Jun 2014 09:06:22 +0000 (10:06 +0100)]
Created file UriHelper.cs.
UriHelper has the method Format that escapes or unescapes a string's characters depending on the Scheme, UriKind, UriComponent and UriFormat.

10 years agoChanged method HexUnescapeMultiByte to internal.
Marcos Henrich [Sun, 29 Jun 2014 08:48:48 +0000 (09:48 +0100)]
Changed method HexUnescapeMultiByte to internal.

10 years agoAdded property IriParsing and field s_IriParsing.
Marcos Henrich [Sat, 28 Jun 2014 18:43:39 +0000 (19:43 +0100)]
Added property IriParsing and field s_IriParsing.
The property IriParsing will be used to change between .NET 4.5 and .NET 4.0 default percentage encoding/decoding behavior.
A private field named s_IriParsing same as .NET was also added so it can be changed the same way through reflection in .NET and Mono.

10 years agoAdded UriScheme name.
Marcos Henrich [Sat, 28 Jun 2014 18:15:07 +0000 (19:15 +0100)]
Added UriScheme name.
Added UriSchemeTelnet, UriSchemeLdap, UriSchemeUuid.

10 years ago[corlib] Fix race in unit test
Marek Safar [Mon, 23 Jun 2014 12:30:02 +0000 (14:30 +0200)]
[corlib] Fix race in unit test

10 years ago[mcs] Handle try await nested in multiple finally blocks.
Marek Safar [Mon, 23 Jun 2014 12:16:10 +0000 (14:16 +0200)]
[mcs] Handle try await nested in multiple finally blocks.

10 years ago[corlib] Disable TaskContinuationChainLeak test on non-mobile too.
Alex Rønne Petersen [Mon, 23 Jun 2014 12:10:58 +0000 (14:10 +0200)]
[corlib] Disable TaskContinuationChainLeak test on non-mobile too.

10 years agoMerge pull request #1123 from akoeplinger/fix-webreq-test
Alex Rønne Petersen [Mon, 23 Jun 2014 02:06:46 +0000 (04:06 +0200)]
Merge pull request #1123 from akoeplinger/fix-webreq-test

[System] Use the same port number instead of a random port in HttpWebRequestTest

10 years agoFix a warning.
Zoltan Varga [Sun, 22 Jun 2014 19:38:11 +0000 (21:38 +0200)]
Fix a warning.

10 years ago[System] Use the same port number instead of a random port in HttpWebRequestTest
Alexander Köplinger [Sun, 22 Jun 2014 18:10:17 +0000 (20:10 +0200)]
[System] Use the same port number instead of a random port in HttpWebRequestTest

A random port doesn't add any value and resulted in at least one port conflict on monojenkins:
http://monojenkins.cloudapp.net/job/Mono/243/testReport/MonoTests.System.Net/HttpWebRequestTest/BeginGetRequestStreamCancelIfNotAllBytesWritten/

10 years agoMerge pull request #1121 from inkdev/master
Alex Rønne Petersen [Sun, 22 Jun 2014 14:30:53 +0000 (16:30 +0200)]
Merge pull request #1121 from inkdev/master

Fix MSVC build

10 years agolibmono.vcxproj: Link to libmonoruntimesgen.lib in the Release_SGen mode
i59 [Sun, 22 Jun 2014 14:24:46 +0000 (16:24 +0200)]
libmono.vcxproj: Link to libmonoruntimesgen.lib in the Release_SGen mode
Previously attempted to link to the libmonoruntime library outputted by the boehm configuration

10 years agoAdded file-mmap-windows.c to libmonoruntime.vcxproj
i59 [Sun, 22 Jun 2014 14:23:16 +0000 (16:23 +0200)]
Added file-mmap-windows.c to libmonoruntime.vcxproj

10 years agoMoved _WIN32_WINNT to winconfig.h; dropped support for WinXP SP1 and below
i59 [Sun, 22 Jun 2014 14:21:29 +0000 (16:21 +0200)]
Moved _WIN32_WINNT to winconfig.h; dropped support for WinXP SP1 and below
Win32 compilation was broken due to attempting to use Interlocked* functions introduced with XP SP2.

10 years agolibmonoutils: Removed need for X64 MASM definition
i59 [Sun, 22 Jun 2014 14:19:52 +0000 (16:19 +0200)]
libmonoutils: Removed need for X64 MASM definition
Check for availability of the RAX register, checking if we're running x64

10 years agoMerge pull request #1118 from kitsilanosoftware/udp-client-test-check-ipv6
Alex Rønne Petersen [Sat, 21 Jun 2014 21:45:54 +0000 (23:45 +0200)]
Merge pull request #1118 from kitsilanosoftware/udp-client-test-check-ipv6

[System.Net] Do not assume IPv6 is enabled in UdpClientTest

10 years agoMerge pull request #1119 from akoeplinger/fix-currencymanager
Alex Rønne Petersen [Sat, 21 Jun 2014 21:45:03 +0000 (23:45 +0200)]
Merge pull request #1119 from akoeplinger/fix-currencymanager

 [Managed.Windows.Forms] Revert a revert commit that accidentally changed the wrong code

10 years ago[llvm] Update the LLVM backend to llvm ca4e226df2e13a9e87376a880035efa376639c98.
Zoltan Varga [Sat, 21 Jun 2014 16:40:05 +0000 (18:40 +0200)]
[llvm] Update the LLVM backend to llvm ca4e226df2e13a9e87376a880035efa376639c98.

10 years ago[Managed.Windows.Forms] Added more asserts to the CurrencyManagerTest2 test
Alexander Köplinger [Sat, 21 Jun 2014 14:39:27 +0000 (16:39 +0200)]
[Managed.Windows.Forms] Added more asserts to the CurrencyManagerTest2 test

These were useful while investigating 4b50211fb7f1dd2621673edd100f30eb39098d7d

10 years ago[Managed.Windows.Forms] Revert a revert commit that accidentally changed the wrong...
Alexander Köplinger [Sat, 21 Jun 2014 10:50:28 +0000 (12:50 +0200)]
[Managed.Windows.Forms] Revert a revert commit that accidentally changed the wrong code

When the commit 8334fe3a56c978ffe7f8cb199536f9b3234afdbe was reverted in a791cfc1640bec442757f78fe71e428d643e90ed, accidentally the wrong chunk of code was changed.

This commit reverts the changes correctly.

10 years ago[llvm] Remove a small source workaround which is no longer needed.
Zoltan Varga [Sat, 21 Jun 2014 13:42:11 +0000 (15:42 +0200)]
[llvm] Remove a small source workaround which is no longer needed.

10 years agoMerge pull request #1117 from akoeplinger/fix-databindingsource
Alex Rønne Petersen [Fri, 20 Jun 2014 18:48:21 +0000 (20:48 +0200)]
Merge pull request #1117 from akoeplinger/fix-databindingsource

[Managed.Windows.Forms] Verify that DataMember is valid when setting DataSource

10 years ago[System.Net] Do not assume IPv6 is enabled in UdpClientTest
Damien Diederen [Fri, 20 Jun 2014 16:45:35 +0000 (18:45 +0200)]
[System.Net] Do not assume IPv6 is enabled in UdpClientTest

Without this, three of the tests fail on Linux kernels without IPv6
support.

This is a minimal fix, copy'n'pasting a conditional which was used in
other tests.  It might be nicer to factor out the SupportsIPv6 to its
own utility function.

10 years ago[Managed.Windows.Forms] Verify that DataMember is valid when setting DataSource
Alexander Köplinger [Fri, 20 Jun 2014 14:35:47 +0000 (16:35 +0200)]
[Managed.Windows.Forms] Verify that DataMember is valid when setting DataSource

When DataMember is already set before DataSource we need to verify that it refers to a valid property in the DataSource setter, otherwise we'd get an exception in ResetList ().
This fixes the following failing tests: BindingSourceTest.DataMemberBeforeDataSource and BindingSourceTest.DataSourceAssignToDefaultType.

Commit licensed under MIT/X11.

10 years agoFix the build.
Alex Rønne Petersen [Fri, 20 Jun 2014 02:17:30 +0000 (04:17 +0200)]
Fix the build.

10 years agoSilence a warning in file-mmap-posix.c.
Alex Rønne Petersen [Fri, 20 Jun 2014 02:11:48 +0000 (04:11 +0200)]
Silence a warning in file-mmap-posix.c.

10 years agoMerge pull request #1113 from akoeplinger/fix-cache-test
Alex Rønne Petersen [Fri, 20 Jun 2014 01:26:29 +0000 (03:26 +0200)]
Merge pull request #1113 from akoeplinger/fix-cache-test

[System.Runtime.Caching] Fixed test that failed intermittently on slow systems

10 years ago[MWF] Disable OneIdlePerThread test.
Alex Rønne Petersen [Fri, 20 Jun 2014 01:24:21 +0000 (03:24 +0200)]
[MWF] Disable OneIdlePerThread test.

The code that made this test work was reverted, so this test is
bound to fail randomly.

10 years agoAdded test for bug #20672 (fixed in aeab5b59021f4a712d54357c8bbeaa6fac12dc37)
Alexis Christoforides [Thu, 19 Jun 2014 23:47:01 +0000 (19:47 -0400)]
Added test for bug #20672 (fixed in aeab5b59021f4a712d54357c8bbeaa6fac12dc37)

10 years ago[runtime] Rework named mapping to use an unlinked file to provide correct mapping...
Rodrigo Kumpera [Thu, 19 Jun 2014 23:08:40 +0000 (19:08 -0400)]
[runtime] Rework named mapping to use an unlinked file to provide correct mapping semantics.

Instead of using mono_valloc we create a temp file and unlink it. With this we can have the right
mmap semantics regarding CoW and access rights.

This does simplify the code too by completely removing the mapping kind.

10 years ago[runtime] Fix error handling with named memory regions.
Rodrigo Kumpera [Thu, 19 Jun 2014 22:17:20 +0000 (18:17 -0400)]
[runtime] Fix error handling with named memory regions.

10 years ago[runtime] Make it possible to create views to magic zero size files such as /dev...
Rodrigo Kumpera [Thu, 19 Jun 2014 21:57:02 +0000 (17:57 -0400)]
[runtime] Make it possible to create views to magic zero size files such as /dev/zero. Fixes #19460

10 years ago[runtime] Define DEFFILEMODE to 0666 if not defined.
Rodrigo Kumpera [Thu, 19 Jun 2014 21:03:44 +0000 (17:03 -0400)]
[runtime] Define DEFFILEMODE to 0666 if not defined.

10 years ago[MWF] Disable DataRemainsOnClipboard_Xamarin4959 test.
Alex Rønne Petersen [Thu, 19 Jun 2014 21:58:05 +0000 (23:58 +0200)]
[MWF] Disable DataRemainsOnClipboard_Xamarin4959 test.

It works fine on a regular system but breaks under Xvfb.

http://monojenkins.cloudapp.net/job/Mono/230/testReport/MonoTests.System.Windows.Forms/ClipboardTest/DataRemainsOnClipboard_Xamarin4959/

10 years ago[WCF] Make BasicHttpBinding.AllowCookies work
Miguel de Icaza [Thu, 19 Jun 2014 21:45:05 +0000 (17:45 -0400)]
[WCF] Make BasicHttpBinding.AllowCookies work

This patch is from Brendan Zagaeski and fixes bug 11307

The description of the problem was:

In Mono 2.10.12, the BasicHttpBinding property no longer supports
EnableHttpCookieContainer because it is Depreciated. The replacement
is AllowCookies, but this property does not work. Upon inspection of
the source source, we find that the HttpCookieContainerBindingElement
is added in accordance with EnableHttpCookieContainer, but not
AllowCookies.

The conditional compile logic at [1] is no longer needed for
Xamarin.iOS or Xamarin.Android.

10 years ago[System.Runtime.Caching] Fixed test that failed intermittently on slow systems
Alexander Köplinger [Thu, 19 Jun 2014 15:51:16 +0000 (17:51 +0200)]
[System.Runtime.Caching] Fixed test that failed intermittently on slow systems

Apparently on slow systems the items with 1sec expiration time are already removed from the cache by the time the #CS3 Assert() is hit, which caused the test to fail.
Increasing the expiration time by +2sec should hopefully fix this.

Commit licensed under MIT/X11.

10 years agoAlso disable generic-xdomain.2.exe in gsharing tests.
Alex Rønne Petersen [Thu, 19 Jun 2014 19:51:29 +0000 (21:51 +0200)]
Also disable generic-xdomain.2.exe in gsharing tests.

10 years ago[runtime] Free static bound delegate wrappers of dynamic methods. Fixes #19058.
Zoltan Varga [Thu, 19 Jun 2014 18:58:12 +0000 (20:58 +0200)]
[runtime] Free static bound delegate wrappers of dynamic methods. Fixes #19058.

10 years ago[runtime] Don't perform double accounting of offset for named memory segments. Fixes...
Rodrigo Kumpera [Thu, 19 Jun 2014 18:31:26 +0000 (14:31 -0400)]
[runtime] Don't perform double accounting of offset for named memory segments. Fixes #20591

10 years agoMerge pull request #946 from akoeplinger/fix-mono-parallel
Rodrigo Kumpera [Thu, 19 Jun 2014 15:46:06 +0000 (11:46 -0400)]
Merge pull request #946 from akoeplinger/fix-mono-parallel

[Mono.Parallel] Removed broken Mono.Threading.Tasks code

10 years agoMerge pull request #1074 from esdrubal/bug18421
Rodrigo Kumpera [Thu, 19 Jun 2014 15:45:17 +0000 (11:45 -0400)]
Merge pull request #1074 from esdrubal/bug18421

Changed TryPeek to handle race condition with Dequeue.

10 years ago[xbuild] Parsing conditions with property references. Fixes #20634
Marek Safar [Thu, 19 Jun 2014 15:27:27 +0000 (17:27 +0200)]
[xbuild] Parsing conditions with property references. Fixes #20634

10 years agoRevert change that introduces a new undocumented environment variable
Miguel de Icaza [Thu, 19 Jun 2014 13:34:59 +0000 (09:34 -0400)]
Revert change that introduces a new undocumented environment variable

10 years ago[xbuild] Implements property functions using constructor syntax. Fixes #12999
Marek Safar [Thu, 19 Jun 2014 12:58:22 +0000 (14:58 +0200)]
[xbuild] Implements property functions using constructor syntax. Fixes #12999

10 years ago[System.ComponentModel] BindingList.ListChanged now attempts to provide a PropertyDes...
Alexis Christoforides [Thu, 19 Jun 2014 02:11:43 +0000 (22:11 -0400)]
[System.ComponentModel] BindingList.ListChanged now attempts to provide a PropertyDescriptor when possible.
BindingList subscribes to PropertyChanged events of eligible contained objects. Iff the PropertyName provided is valid,
the list event's ListChangedEventArgs will also contain a PropertyDescriptor.

This is to match MS behavior.

10 years agoMerge pull request #1109 from adbre/iss358
Alex Rønne Petersen [Thu, 19 Jun 2014 00:34:53 +0000 (02:34 +0200)]
Merge pull request #1109 from adbre/iss358

Override registry storage with MONO_CURRENTUSER_REGISTRY_PATH

10 years ago[ppc] Bump instruction sizes after 51c454f6b03b468273bb93db2aa9b76e330a7e57.
Alex Rønne Petersen [Wed, 18 Jun 2014 19:30:07 +0000 (21:30 +0200)]
[ppc] Bump instruction sizes after 51c454f6b03b468273bb93db2aa9b76e330a7e57.

10 years agoMerge pull request #1014 from txdv/master
Jonathan Pryor [Wed, 18 Jun 2014 19:21:05 +0000 (15:21 -0400)]
Merge pull request #1014 from txdv/master

Expose full epoll_ctl functionality.

10 years agoMerge pull request #1110 from tpokorra/FixImageListStreamerGeneratingValidResourcesFo...
Alex Rønne Petersen [Wed, 18 Jun 2014 19:02:38 +0000 (21:02 +0200)]
Merge pull request #1110 from tpokorra/FixImageListStreamerGeneratingValidResourcesForMSNet

Fixing ImageListStreamer generating winform resource files that work on MS.Net

10 years agoOverride registry storage with MONO_CURRENTUSER_REGISTRY_PATH
Iain Lane [Mon, 2 Jul 2012 12:59:51 +0000 (14:59 +0200)]
Override registry storage with MONO_CURRENTUSER_REGISTRY_PATH

https://bugzilla.xamarin.com/show_bug.cgi?id=358

10 years agoMerge pull request #1111 from akoeplinger/add-gtk-dllmap
Alex Rønne Petersen [Wed, 18 Jun 2014 15:21:03 +0000 (17:21 +0200)]
Merge pull request #1111 from akoeplinger/add-gtk-dllmap

Added dllmap for libgtk-x11 and libgdk-x11

10 years agoAdded dllmap for libgtk-x11 and libgdk-x11
Alexander Köplinger [Wed, 18 Jun 2014 15:02:32 +0000 (17:02 +0200)]
Added dllmap for libgtk-x11 and libgdk-x11

Commit licensed under MIT/X11.

10 years agoExpose full epoll_ctl functionality.
Andrius Bentkus [Fri, 2 May 2014 14:18:45 +0000 (16:18 +0200)]
Expose full epoll_ctl functionality.

Now the user has access to all struct elements in EpollEvent when
using epoll_ctl. This is in particular very intersting when the
user wants to access the ptr field.

The user can use GCHandle.ToIntPtr to give the struct a GCHandle
and then handle the pointer later on when using epoll_wait.

10 years agoImageListStreamer generates winform resource files that work on Mono but fail on...
Timotheus Pokorra [Wed, 18 Jun 2014 14:08:04 +0000 (16:08 +0200)]
ImageListStreamer generates winform resource files that work on Mono but fail on Microsoft.net
with exception System.InvalidOperationException: Loading of the ImageList did not succeed.
see bug https://bugzilla.xamarin.com/show_bug.cgi?id=3841 for detailed analysis

10 years ago[ppc] Add missing `sync` instructions to atomic opcodes.
Alex Rønne Petersen [Wed, 18 Jun 2014 14:06:34 +0000 (16:06 +0200)]
[ppc] Add missing `sync` instructions to atomic opcodes.

Note that lwarx and stwcx don't produce the necessary
load/store barrier that's needed to conform to the
`Interlocked` API.

10 years agoFixed another 8080 test port
Alexander Köplinger [Wed, 18 Jun 2014 08:01:36 +0000 (10:01 +0200)]
Fixed another 8080 test port

I missed that one in f396d37c5493455f0b7fe726b408d74ba1c8fb5f.

10 years agoSilence a warning in file-mmap-posix.c.
Alex Rønne Petersen [Wed, 18 Jun 2014 00:38:52 +0000 (02:38 +0200)]
Silence a warning in file-mmap-posix.c.

10 years agoMerge pull request #1108 from akoeplinger/change-test-ports
Alex Rønne Petersen [Tue, 17 Jun 2014 21:05:04 +0000 (23:05 +0200)]
Merge pull request #1108 from akoeplinger/change-test-ports

[System.ServiceModel] Changed test port from 8080 to 30158

10 years ago[System.ServiceModel] Changed test port from 8080 to 30158
Alexander Köplinger [Tue, 17 Jun 2014 21:00:42 +0000 (23:00 +0200)]
[System.ServiceModel] Changed test port from 8080 to 30158

Port 8080 is widely used and resulted in address conflicts on monojenkins, so we use a different port instead.

Commit licensed under MIT/X11.

10 years ago[aot] Add support for overriding the alignment calculations done by the runtime durin...
Zoltan Varga [Tue, 17 Jun 2014 18:43:44 +0000 (20:43 +0200)]
[aot] Add support for overriding the alignment calculations done by the runtime during AOT. This is needed because the alignment of some types, notable i8/double can be different between the host and the target platform.

10 years agoDisable generic-xdomain.2.exe on CI as it occasionally hangs.
Alex Rønne Petersen [Tue, 17 Jun 2014 15:55:29 +0000 (17:55 +0200)]
Disable generic-xdomain.2.exe on CI as it occasionally hangs.

10 years agoMerge pull request #1106 from akoeplinger/fix-winforms-tests
Alex Rønne Petersen [Tue, 17 Jun 2014 15:47:45 +0000 (17:47 +0200)]
Merge pull request #1106 from akoeplinger/fix-winforms-tests

[Managed.Windows.Forms] Fixed System.Resources tests that relied on DummyAssembly

10 years agoMerge pull request #1107 from akoeplinger/fix-numericupdown
Alex Rønne Petersen [Tue, 17 Jun 2014 15:46:56 +0000 (17:46 +0200)]
Merge pull request #1107 from akoeplinger/fix-numericupdown

[Managed.Windows.Forms] Fix 'minimum' default value of NumericUpDown

10 years ago[Managed.Windows.Forms] Fix 'minimum' default value of NumericUpDown
Alexander Köplinger [Tue, 17 Jun 2014 15:35:46 +0000 (17:35 +0200)]
[Managed.Windows.Forms] Fix 'minimum' default value of NumericUpDown

The 'minimum' default value of NumericUpDown was set to 0.0M, which caused the ToString() to format it as "0.0" instead of "0" as it does on .NET.
A similar change was done for the 'maximum' default value already in f6c8d48a3aed377b8a11e38c96c0d4c774664279.

Commit licensed under MIT/X11.

10 years ago[mcs] Implements finally execution for await with try block exit.
Marek Safar [Tue, 17 Jun 2014 14:43:29 +0000 (16:43 +0200)]
[mcs] Implements finally execution for await with try block exit.

10 years ago[Managed.Windows.Forms] Fixed System.Resources tests that relied on DummyAssembly
Alexander Köplinger [Tue, 17 Jun 2014 11:45:45 +0000 (13:45 +0200)]
[Managed.Windows.Forms] Fixed System.Resources tests that relied on DummyAssembly

Several System.Resources tests rely on a DummyAssembly.dll, which was removed in 016b0b5170fca72b977f952ee817fe06e32890a9 (possibly by accident?).
This commit adds the assembly back.

Commit licensed under MIT/X11.

10 years agoRevert "[msbuild] fix some weird local result variable initialization issue."
Atsushi Eno [Tue, 17 Jun 2014 04:59:01 +0000 (13:59 +0900)]
Revert "[msbuild] fix some weird local result variable initialization issue."

This reverts commit 76b08f12ef69c180733a0cad99ea89b2a225ec51.

10 years agoMerge pull request #1103 from nathanaeljones/patch-1
Zoltan Varga [Mon, 16 Jun 2014 21:26:28 +0000 (23:26 +0200)]
Merge pull request #1103 from nathanaeljones/patch-1

Fix AddCacheDependency signature to use params

10 years ago[runtime] Add a workaround to file-mmap-posix.c to fix the android build.
Zoltan Varga [Mon, 16 Jun 2014 21:10:13 +0000 (23:10 +0200)]
[runtime] Add a workaround to file-mmap-posix.c to fix the android build.

10 years ago[aot] Use g_print instead of printf in one place since the former works on android.
Zoltan Varga [Mon, 16 Jun 2014 20:25:54 +0000 (22:25 +0200)]
[aot] Use g_print instead of printf in one place since the former works on android.

10 years ago[arm] Fix alignment problems when AOTing from osx to arm linux.
Zoltan Varga [Mon, 16 Jun 2014 20:25:02 +0000 (22:25 +0200)]
[arm] Fix alignment problems when AOTing from osx to arm linux.

10 years agoMerge pull request #1104 from tpokorra/TarballIncludeMoreDllsInMonoLite
Alex Rønne Petersen [Mon, 16 Jun 2014 19:49:08 +0000 (21:49 +0200)]
Merge pull request #1104 from tpokorra/TarballIncludeMoreDllsInMonoLite

Tarball: include System.Security.dll and System.Configuration.dll in monolite directory

10 years agoTarball: include System.Security.dll and System.Configuration.dll in monolite directory
Timotheus Pokorra [Mon, 16 Jun 2014 19:11:26 +0000 (21:11 +0200)]
Tarball: include System.Security.dll and System.Configuration.dll in monolite directory
this is related to commit https://github.com/mono/mono/commit/993f4773638bcb36abf8b9660ee737d6445c5200

10 years ago[bcl] Fix the mobile build.
Zoltan Varga [Mon, 16 Jun 2014 17:06:41 +0000 (19:06 +0200)]
[bcl] Fix the mobile build.

10 years agoFix AddCacheDependency signature to use params
Nathanael Jones [Mon, 16 Jun 2014 16:43:28 +0000 (18:43 +0200)]
Fix AddCacheDependency signature to use params

The .NET AddCacheDependency method signature is `public void AddCacheDependency(params CacheDependency[] dependencies);` Mono should mirror the signature (even if it isn't implemented) to prevent build errors. Conditional code, of course, will need to be used for an alternative mono path.

10 years agoMerge pull request #1102 from tpokorra/TarballFixAvoidCDataTextReaderTests
Alex Rønne Petersen [Mon, 16 Jun 2014 14:11:43 +0000 (16:11 +0200)]
Merge pull request #1102 from tpokorra/TarballFixAvoidCDataTextReaderTests

Remove a reference to the file AvoidCDataTextReaderTests.cs so that tarballs can be built again

10 years agoRemove a reference to the file AvoidCDataTextReaderTests.cs so that tarballs can...
Timotheus Pokorra [Mon, 16 Jun 2014 14:03:46 +0000 (16:03 +0200)]
Remove a reference to the file AvoidCDataTextReaderTests.cs so that tarballs can be built again.
The file was removed in https://github.com/mono/mono/commit/d8d1b0be6baf6f8881871592b040d85be790926c

10 years agoMerge pull request #1101 from jariq/master
Alex Rønne Petersen [Mon, 16 Jun 2014 12:54:30 +0000 (14:54 +0200)]
Merge pull request #1101 from jariq/master

Support both unencrypted PKCS#12 and PKCS#12 encrypted with an empty pas...

10 years ago[mcs] Run new initializer await checks only in async context. Fixes #20614
Marek Safar [Mon, 16 Jun 2014 12:12:19 +0000 (14:12 +0200)]
[mcs] Run new initializer await checks only in async context. Fixes #20614

10 years agoMerge pull request #1099 from jsportaro/master
Marek Safar [Mon, 16 Jun 2014 10:52:45 +0000 (12:52 +0200)]
Merge pull request #1099 from jsportaro/master

Added fix for Bug 11630

10 years ago[system.data] Parse numeric expressions using invariant culture. Fixes #20582
Marek Safar [Mon, 16 Jun 2014 10:07:25 +0000 (12:07 +0200)]
[system.data] Parse numeric expressions using invariant culture. Fixes #20582

10 years ago[mcs] Reachability analysis should ignore local variables declarations. Fixes #20603
Marek Safar [Mon, 16 Jun 2014 09:56:57 +0000 (11:56 +0200)]
[mcs] Reachability analysis should ignore local variables declarations. Fixes #20603