mono.git
9 years agoMerge pull request #995 from yjoly/master
Jeffrey Stedfast [Tue, 24 Jun 2014 15:07:35 +0000 (11:07 -0400)]
Merge pull request #995 from yjoly/master

Fix the date time set in file by removing the ':'.

9 years ago[corlib] Fix racy test
Marek Safar [Tue, 24 Jun 2014 12:19:54 +0000 (14:19 +0200)]
[corlib] Fix racy test

9 years ago[System.Net.Http] Fix disposing of DelegatingHandler. Fixes #20818
Marek Safar [Tue, 24 Jun 2014 11:57:53 +0000 (13:57 +0200)]
[System.Net.Http] Fix disposing of DelegatingHandler. Fixes #20818

9 years ago[mcs] Emit side effects of reduced probing expression
Marek Safar [Tue, 24 Jun 2014 11:52:31 +0000 (13:52 +0200)]
[mcs] Emit side effects of reduced probing expression

9 years ago[mcs] Fix emit of array access with awaited indexer expression and result field write.
Marek Safar [Tue, 24 Jun 2014 11:20:40 +0000 (13:20 +0200)]
[mcs] Fix emit of array access with awaited indexer expression and result field write.

9 years ago[mcs] Fix scope initialization for exception filters using hoisted lambdas with await...
Marek Safar [Mon, 23 Jun 2014 15:39:54 +0000 (17:39 +0200)]
[mcs] Fix scope initialization for exception filters using hoisted lambdas with awaited catch clause

9 years ago[mcs] Recognize await as simple name in type context
Marek Safar [Mon, 23 Jun 2014 13:29:16 +0000 (15:29 +0200)]
[mcs] Recognize await as simple name in type context

9 years agoAdd a section to CONTRIBUTING.md on inactivity.
Alex Rønne Petersen [Tue, 24 Jun 2014 09:11:46 +0000 (11:11 +0200)]
Add a section to CONTRIBUTING.md on inactivity.

9 years ago[sgen] Don't crash for describe_ptr() when there's no bridge processor.
Mark Probst [Mon, 23 Jun 2014 20:16:51 +0000 (13:16 -0700)]
[sgen] Don't crash for describe_ptr() when there's no bridge processor.

9 years agoFix Mono.Linker.csproj so it can build
Chris Hamons [Mon, 23 Jun 2014 15:32:39 +0000 (10:32 -0500)]
Fix Mono.Linker.csproj so it can build

Mono.Linker.csproj has drifted from its associated Makefile was was not buildable.
This change applies changes from the last few Makefile changes.

9 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

9 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.

9 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.

9 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

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

9 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/

9 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

9 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

9 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

9 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.

9 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

9 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

9 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

9 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.

9 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

9 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.

9 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.

9 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

9 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.

9 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.

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

9 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.

9 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

9 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.

9 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)

9 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.

9 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.

9 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

9 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.

9 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/

9 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.

9 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.

9 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.

9 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.

9 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

9 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

9 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.

9 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

9 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

9 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

9 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.

9 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

9 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.

9 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.

9 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

9 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

9 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

9 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.

9 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.

9 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

9 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.

9 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.

9 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.

9 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

9 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.

9 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.

9 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.

9 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

9 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

9 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.

9 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.

9 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.

9 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.

9 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

9 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.

9 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.

9 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.

9 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

9 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

9 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.

9 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.

9 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

9 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

9 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...

9 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

9 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

9 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

9 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

9 years agoMerge pull request #1100 from BrzVlad/master
Zoltan Varga [Sun, 15 Jun 2014 10:34:45 +0000 (12:34 +0200)]
Merge pull request #1100 from BrzVlad/master

[x86] Fix initialization of stackalloc-ed memory in no pushes mode.

9 years ago[runtime] Enable support for arm64-darwin in dolt.
Zoltan Varga [Sat, 14 Jun 2014 22:41:28 +0000 (00:41 +0200)]
[runtime] Enable support for arm64-darwin in dolt.

9 years agoSupport both unencrypted PKCS#12 and PKCS#12 encrypted with an empty password in...
Jaroslav Imrich [Sat, 14 Jun 2014 22:32:15 +0000 (00:32 +0200)]
Support both unencrypted PKCS#12 and PKCS#12 encrypted with an empty password in X509Certificate2 constructor

9 years ago[x86] Align stackalloc-ed memory in no pushes mode.
Brezae Vlad [Sat, 14 Jun 2014 21:05:42 +0000 (00:05 +0300)]
[x86] Align stackalloc-ed memory in no pushes mode.

9 years ago[arm] Add an enum for gsharedvt argument marshalling conventions.
Zoltan Varga [Sat, 14 Jun 2014 20:40:16 +0000 (22:40 +0200)]
[arm] Add an enum for gsharedvt argument marshalling conventions.

9 years ago[x86] Fix initialization of stackalloc-ed memory in no pushes mode.
Brezae Vlad [Fri, 13 Jun 2014 21:43:12 +0000 (00:43 +0300)]
[x86] Fix initialization of stackalloc-ed memory in no pushes mode.

9 years agoMonodoc: Fix for CDATA bug (https://bugzilla.xamarin.com/show_bug.cgi?id=17850)....
Larry O'Brien [Thu, 12 Jun 2014 23:25:44 +0000 (13:25 -1000)]
Monodoc: Fix for CDATA bug (https://bugzilla.xamarin.com/show_bug.cgi?id=17850). Reverts 3f361e1a263fc23680beab62eadde0cd3e4ac64d

Removed code that stripped CDATA statements (but not blocks) from input when showing a namespace page:

The function Ecma2Html.WrapStream(TextReader,Dictionary<String,String>) very explicitly returns a new `AvoidCDataTextReader` when the system is showing a namespace. The `AvoidCDataTextReader` strips the CDATA statement, but not it's internal contents. The intent, according to AvoidCDataTextReaderTests, is to allow class summaries of this form:

"<elements><summary>Addressbook APIs.</summary><remarks /><class name=""ABAddressBook"" fullname=""MonoTouch.AddressBook.ABAddressBook"" assembly=""monotouch""><summary><![CDATA[
      Provides access to the system Address Book.]]>
    </summary></class></elements>"

But that form is not desired.

The bug arose because the input to `WrapStream` is very large (it actually includes the entire *description* for each class and member in the namespace!). If any CDATA-block contained entities such as, e.g., < or >, the resulting XML would (obviously) be ill-formed:

"<xml>This should be valid <![CDATA[<T>]]> </xml>"

would throw because the <T> would be attempted to be parsed as XML. Obviously, samples that contain generics or lambda or XAML would cause this problem.

Although an XMLException was thrown, Macdoc swallows the exception in DocTools.GetHTML(). That is why this caused a silent failure on macdoc and was visible on Webdoc.

9 years ago[System.Core] Add new tests for MemoryMappedFile.
Rodrigo Kumpera [Fri, 13 Jun 2014 18:47:54 +0000 (14:47 -0400)]
[System.Core] Add new tests for MemoryMappedFile.

9 years ago[runtime] Fix share/private flags when doing file mmap.
Rodrigo Kumpera [Fri, 13 Jun 2014 18:35:55 +0000 (14:35 -0400)]
[runtime] Fix share/private flags when doing file mmap.

9 years ago[runtime] Rewrite MemoryMappedFile to support named mappings.
Rodrigo Kumpera [Fri, 13 Jun 2014 16:16:31 +0000 (12:16 -0400)]
[runtime] Rewrite MemoryMappedFile to support named mappings.

9 years agoAdded fix for Bug 11630
Joseph Portaro [Fri, 13 Jun 2014 15:55:37 +0000 (11:55 -0400)]
Added fix for Bug 11630

9 years ago[mcs] Always store hidden catch variable when clause contains await
Marek Safar [Fri, 13 Jun 2014 15:34:43 +0000 (17:34 +0200)]
[mcs] Always store hidden catch variable when clause contains await