Marek Safar [Fri, 10 Jan 2014 13:38:35 +0000 (14:38 +0100)]
[corlib] Hunting down rare Task.WaitAll race
Atsushi Eno [Fri, 10 Jan 2014 11:42:25 +0000 (20:42 +0900)]
fix build.
Marek Safar [Fri, 10 Jan 2014 10:24:45 +0000 (11:24 +0100)]
[mdoc] Update expected result xml templates
Atsushi Eno [Fri, 10 Jan 2014 10:04:58 +0000 (19:04 +0900)]
fix bug #11335.
Atsushi Eno [Fri, 10 Jan 2014 10:03:33 +0000 (19:03 +0900)]
Fix bug #11336.
Marek Safar [Fri, 10 Jan 2014 09:45:51 +0000 (10:45 +0100)]
[System.Core] Update MonoTouch System.Linq.Expression to be 4.5 compatible
Marek Safar [Fri, 10 Jan 2014 09:29:05 +0000 (10:29 +0100)]
[mcs] Add missing object to dynamic conversion for imported types
Michael Hutchinson [Fri, 10 Jan 2014 00:12:55 +0000 (19:12 -0500)]
[xbuild] Do not allow running tests or installing exe w/4.0 profile
It's not a usable MSBuild 4.0 toolset, that's in the 4.5 profile directory.
Michael Hutchinson [Thu, 9 Jan 2014 23:27:40 +0000 (18:27 -0500)]
[xbuild] The 4.0 toolset is in the 4.5 directory
Michael Hutchinson [Thu, 9 Jan 2014 02:46:09 +0000 (21:46 -0500)]
[xbuild] Reorganize xbuild targets/frameworks/bin data
They had been squashed into one single source directory
despite being installed into very different locations.
Made it easier to follow what's what by separating them
into:
* data: targets and data files for xbuild bin directory
* targets: misc pcl/web targets for extension directory
* frameworks: framework definitions
Rodrigo Kumpera [Thu, 9 Jan 2014 21:22:41 +0000 (16:22 -0500)]
Revert "[runtime] Make mono_class_is_assignable_from lazy resolve its arguments." This broke WCF.
This reverts commit
decc91e8dae894cc57a43acce0293f5b05f67be2.
Rodrigo Kumpera [Thu, 9 Jan 2014 21:20:56 +0000 (16:20 -0500)]
[runtime] Change MonoImage::field_cache lock from the loader lock to the image lock.
Marek Safar [Thu, 9 Jan 2014 19:39:18 +0000 (20:39 +0100)]
[System.Core] Add dynamic interpreter
Marek Safar [Thu, 9 Jan 2014 10:31:23 +0000 (11:31 +0100)]
[dlr] Better FEATURE_REFEMIT checks
Rodrigo Kumpera [Thu, 9 Jan 2014 01:46:14 +0000 (20:46 -0500)]
[corlib] Add an exhaustive regression test for file sharing and File.Move.
Rodrigo Kumpera [Thu, 9 Jan 2014 01:43:51 +0000 (20:43 -0500)]
[io-layer] Correctly implement permission checking for File.Move. Fixes #17009.
The old check was simply for open sharing status, which is incorrect. The right
thing to do is to check for FileShare.Delete and not FileAccess.
Marek Safar [Wed, 8 Jan 2014 19:48:21 +0000 (20:48 +0100)]
[mcs] Suport recursive references of non-FX assemblies
Zoltan Varga [Wed, 8 Jan 2014 15:58:33 +0000 (16:58 +0100)]
[jit] Use the mono_restore_context () helper function in one place.
Zoltan Varga [Wed, 8 Jan 2014 15:56:03 +0000 (16:56 +0100)]
[jit] Align the stack in mono_arch_restore_context () on x86 since it might be unaligned if it was captured asynchronously.
Zoltan Varga [Wed, 8 Jan 2014 03:33:47 +0000 (04:33 +0100)]
[jit] Fix some checks in the arm dyn call code. Fixes #17101.
Michael Hutchinson [Wed, 8 Jan 2014 03:23:13 +0000 (22:23 -0500)]
[xbuild] Suppress new window for child processes
BXC14584 - Console windows pop up during build with mono runtime
Michael Hutchinson [Wed, 8 Jan 2014 03:22:32 +0000 (22:22 -0500)]
[xbuild] Add pkgconfig file for xbuild 12
Michael Hutchinson [Tue, 7 Jan 2014 22:09:51 +0000 (17:09 -0500)]
[xbuild] Fix the xbuild 12 tests
Michael Hutchinson [Mon, 6 Jan 2014 19:46:28 +0000 (14:46 -0500)]
[xbuild] Add binding redirects so old tasks work w/ new xbuild
Michael Hutchinson [Mon, 6 Jan 2014 19:45:27 +0000 (14:45 -0500)]
[xbuild] Remove Silverlight targets, they don't work w/o framework
Michael Hutchinson [Fri, 3 Jan 2014 00:15:29 +0000 (19:15 -0500)]
[xbuild] Set correct DefaultToolsVersion for xbuild 12
Michael Hutchinson [Sun, 22 Dec 2013 06:08:47 +0000 (01:08 -0500)]
[xbuild] Fix 12.0 toolset location and public API
Michael Hutchinson [Sun, 22 Dec 2013 06:07:50 +0000 (01:07 -0500)]
[xbuild] Fix 12.0 tasks
Michael Hutchinson [Sun, 22 Dec 2013 01:37:25 +0000 (20:37 -0500)]
[xbuild] MSBuild 12 toolset should be available for XBUILD_12
Michael Hutchinson [Fri, 20 Dec 2013 09:14:28 +0000 (04:14 -0500)]
[xbuild] Update printed version/copyright
Michael Hutchinson [Fri, 20 Dec 2013 08:55:57 +0000 (03:55 -0500)]
[xbuild] Make xbuild script point to xbuild 12
Michael Hutchinson [Fri, 20 Dec 2013 08:55:07 +0000 (03:55 -0500)]
[xbuild] Install data files for xbuild 12
Michael Hutchinson [Fri, 20 Dec 2013 00:10:32 +0000 (19:10 -0500)]
[xbuild] Build & install MSBuild 12.0 assemblies
Rodrigo Kumpera [Tue, 7 Jan 2014 22:47:02 +0000 (17:47 -0500)]
[runtime] ves_icall_type_is_assignable_from should not init its arguments as this is done properly by its callees.
Rodrigo Kumpera [Tue, 7 Jan 2014 22:41:26 +0000 (17:41 -0500)]
[runtime] Make mono_class_is_assignable_from lazy resolve its arguments.
Drop the requirement to call mono_class_init in mono_class_is_assignable_from.
The solution is not ideal as it relies on mono_class_implement_interface_slow which
is significantly slower than the regular checks and is less tested / complete.
The right approach here would be to promote setup_offsets to have proper laziness and
not be hidden behind vtable initialization. Until this happen we can't drop the
usage of the slow variant here.
Rodrigo Kumpera [Tue, 7 Jan 2014 22:32:13 +0000 (17:32 -0500)]
[runtime] Make mono_class_is_assignable_from_slow handle arrays.
Zoltan Varga [Tue, 7 Jan 2014 17:47:54 +0000 (18:47 +0100)]
[jit] Fix the loading of arguments received on the stack on arm.
Zoltan Varga [Tue, 7 Jan 2014 15:17:57 +0000 (16:17 +0100)]
[aot] Disable aot for methods with tail calls in non full-aot mode, instead of compiling them without tail calls.
Zoltan Varga [Tue, 7 Jan 2014 15:14:25 +0000 (16:14 +0100)]
[jit] Pass flags to mini_method_compile () as an enum.
Martin Baulig [Tue, 7 Jan 2014 15:06:16 +0000 (16:06 +0100)]
[PCL]: Add ReadOnlyDictionary type-forwarder for XI. Fixes #16951.
Zoltan Varga [Tue, 7 Jan 2014 14:46:14 +0000 (15:46 +0100)]
[jit] Disable tail calls in AOT mode so methods using tail calls can be AOT-ed.
Zoltan Varga [Tue, 7 Jan 2014 14:43:29 +0000 (15:43 +0100)]
[aot] Don't pass -W option to the clang assembler, it causes a warning.
Atsushi Eno [Tue, 7 Jan 2014 13:32:26 +0000 (22:32 +0900)]
Fix mobile builds.
Zoltan Varga [Tue, 7 Jan 2014 12:32:40 +0000 (13:32 +0100)]
[jit] Allocate MonoJumpInfo structures using alloc0.
Zoltan Varga [Tue, 7 Jan 2014 10:54:36 +0000 (11:54 +0100)]
[runtime] Update copyright date in --version.
Alex Rønne Petersen [Mon, 6 Jan 2014 20:41:48 +0000 (21:41 +0100)]
Allow creating MemoryMappedFiles with an in-memory and on-disk capacity of zero on Unix.
This is necessary to map special files such as /dev/mem.
Zoltan Varga [Mon, 6 Jan 2014 19:02:34 +0000 (11:02 -0800)]
Merge pull request #865 from madewokherd/icallinit
Initialize icalls before exceptions.
Vincent Povirk [Mon, 6 Jan 2014 18:48:51 +0000 (12:48 -0600)]
Initialize icalls before exceptions.
This commit licensed as MIT/X11.
Marek Safar [Mon, 6 Jan 2014 16:42:05 +0000 (17:42 +0100)]
[corlib] Mark all promise-style task exceptions observed. Fixes #17015
Atsushi Eno [Mon, 6 Jan 2014 15:55:14 +0000 (00:55 +0900)]
[rx][iOS] Do not try to generate doc comments with build properties, they don't work so far.
Marek Safar [Mon, 6 Jan 2014 14:24:33 +0000 (15:24 +0100)]
[mcs] Emit Debuggable attribute. Fixes #16924
Marek Safar [Mon, 6 Jan 2014 11:05:42 +0000 (12:05 +0100)]
[System.Web] Clean up assembly level attributes.
Marek Safar [Mon, 6 Jan 2014 10:07:35 +0000 (11:07 +0100)]
[mcs] Method group caching needs to consider type arguments as well. Fixes #17059
Marek Safar [Mon, 6 Jan 2014 10:07:04 +0000 (11:07 +0100)]
New test
Zoltan Varga [Mon, 6 Jan 2014 00:20:00 +0000 (01:20 +0100)]
[jit] Save/restore all-callee saved registers in methods using some atomic opcodes on x86, since the opcode implementations use these registers, and the push/pop code used by these opcodes is not async safe, since the unwind code doesn't know about it. Fixes part of #16808.
Zoltan Varga [Sun, 5 Jan 2014 15:47:03 +0000 (16:47 +0100)]
[runtime] Fix yet another metadata problem with dynamically created types. Fixes #14977.
Zoltan Varga [Sun, 5 Jan 2014 10:58:57 +0000 (11:58 +0100)]
[jit] Fix the handling of OP_ISUB_IMM in abcrem.
Zoltan Varga [Sun, 5 Jan 2014 10:57:37 +0000 (02:57 -0800)]
Merge pull request #852 from ranma42/abc-64bits
Improve ABCREM
Zoltan Varga [Sun, 5 Jan 2014 10:32:35 +0000 (11:32 +0100)]
[sdb] Add async variants to the InvokeMethod methods.
Zoltan Varga [Sun, 5 Jan 2014 01:03:30 +0000 (02:03 +0100)]
[jit] Emit calls to class init trampolines for fields accesses inside inline methods in AOT mode. Fixes #16461.
Zoltan Varga [Sat, 4 Jan 2014 23:58:47 +0000 (00:58 +0100)]
[runtime] Avoid RuntimeHelpers.EnsureSufficientExecutionStack () failing on windows. Works around #16776.
Zoltan Varga [Sat, 4 Jan 2014 23:50:49 +0000 (00:50 +0100)]
[runtime] Call mono_class_setup_methods () before accessing klass->method.count. Fixes #16883.
Marek Safar [Sat, 4 Jan 2014 14:32:26 +0000 (15:32 +0100)]
[corlib] Update datetime patters. Fixes #17044
Marek Safar [Sat, 4 Jan 2014 12:24:35 +0000 (13:24 +0100)]
[mcs] Type arguments resolve failure needs to be reported after probing mode
Marek Safar [Sat, 4 Jan 2014 09:20:47 +0000 (10:20 +0100)]
[mcs] Better check for value type base call. Fixes #16806
Marek Safar [Fri, 3 Jan 2014 16:52:03 +0000 (17:52 +0100)]
[mcs] Await flow analysis uses resolved expression. Fixes #16840
Zoltan Varga [Sat, 4 Jan 2014 12:18:46 +0000 (13:18 +0100)]
[gsharedvt] Avoid using the variable size code paths for non-variable size types with some array opcodes. Fixes #17023.
Marek Safar [Sat, 4 Jan 2014 10:05:03 +0000 (02:05 -0800)]
Merge pull request #858 from madewokherd/datavis
System.Windows.Forms.DataVisualization fixes
Marek Safar [Sat, 4 Jan 2014 08:51:42 +0000 (00:51 -0800)]
Merge pull request #859 from antoniusriha/groupDescription
Implement GroupDescription based on moonlight implementation
Zoltan Varga [Sat, 4 Jan 2014 00:15:06 +0000 (01:15 +0100)]
[jit] Avoid nullifying class init trampolines for recursive calls to class initializers. Fixes #16489
Rodrigo Kumpera [Fri, 3 Jan 2014 20:27:19 +0000 (15:27 -0500)]
[sdb] The sdb library depends on Process.Start returning a Process object, so force UseShellExecute to false.
This fixes a massive breakage on wrench.
Antonius Riha [Fri, 3 Jan 2014 20:10:34 +0000 (21:10 +0100)]
Implement GroupDescription based on moonlight implementation
Vincent Povirk [Fri, 3 Jan 2014 18:45:22 +0000 (12:45 -0600)]
Avoid infinite loop in property getter.
This commit licensed as MIT/X11.
Vincent Povirk [Fri, 3 Jan 2014 18:44:46 +0000 (12:44 -0600)]
Change System.Windows.Forms.DataVisualization PKT to match Windows.
This commit licensed as MIT/X11.
Zoltan Varga [Fri, 3 Jan 2014 13:49:08 +0000 (14:49 +0100)]
Remove usage of mini_replace_type () from mono_jit_runtime_invoke (), runtime invokes care about the precise types of parameters. Fixes #16830.
Zoltan Varga [Fri, 3 Jan 2014 12:17:49 +0000 (13:17 +0100)]
[aot] Sanitize utf8 characters in symbol names. Fixes #16851.
Michael Hutchinson [Fri, 3 Jan 2014 01:19:57 +0000 (17:19 -0800)]
Merge pull request #822 from carlosmn/asp-pc
Use full path for aspnetwebstack pkg-config file
Michael Hutchinson [Fri, 3 Jan 2014 00:58:37 +0000 (16:58 -0800)]
Merge pull request #849 from antoniusriha/pcCacheBug
Fix for PkgConfig cache orphaned entries bug (xam bug #11133)
Rodrigo Kumpera [Thu, 2 Jan 2014 23:49:51 +0000 (15:49 -0800)]
Merge pull request #838 from desdesdes/master
Implementation of System.Reflection.ParameterInfo.HasDefaultValue
Bart Vries [Thu, 2 Jan 2014 23:15:52 +0000 (00:15 +0100)]
Implementation of System.Reflection.ParameterInfo.HasDefaultValue
Antonius Riha [Mon, 30 Dec 2013 20:27:37 +0000 (21:27 +0100)]
Remove obsolete pc infos from pc cache on Update()
The pc info file cache (~/.config/xbuild/pkgconfig-cache-2.xml) stored data
for files which don't exist anymore on the system which causes
https://bugzilla.xamarin.com/show_bug.cgi?id=11133.
This patch removes obsolete entries from the cache when
PcFileCache.Update() is called.
Antonius Riha [Mon, 30 Dec 2013 12:44:47 +0000 (13:44 +0100)]
Remove redundant pc info store.
* PcFileCache.filesByFolders held copies of the package infos in
PcFileCache.infos grouped by the resp. pkg config directories the pc files
resided in.
* Rewrite GetPackages:
- Returns a snapshot-in-time IEnumerable<PackageInfo> ordered by pkg config
folder.
- Noramilzes paths of pkgConfigDirs parameter
* Remove now superfluous method PcFileCache.Add(,,)
Antonius Riha [Mon, 30 Dec 2013 12:03:31 +0000 (13:03 +0100)]
Add a test for PcFileCache.GetPackages()
Antonius Riha [Sun, 29 Dec 2013 23:23:35 +0000 (00:23 +0100)]
Setup PcFileCache stubs and ctor tests
Antonius Riha [Mon, 30 Dec 2013 20:41:32 +0000 (21:41 +0100)]
Move internals from Microsoft.Build.Tasks to new dll Mono.XBuild.Tasks
All internal members (such as PcFileCache) have been made public to make them unit-testable.
* mcs/class/Makefile: Add Mono.XBuild.Tasks as build target
* mcs/class/Microsoft.Build.Tasks/Makefile: Add Mono.XBuild.Tasks.dll as build
reference of Microsoft.Build.Tasks.dll
* mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_2_0.csproj:
* mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_3_5.csproj:
* mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_4_0.csproj:
* mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_4_5.csproj: Remove
source files, which have been moved to Mono.XBuild.Tasks.dll and add a
project reference to Mono.XBuild.Tasks.dll
* mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks.dll.sources: Remove
files that have been moved to Mono.XBuild.Tasks.dll from
Microsoft.Build.Tasks.dll
* mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/PcFileCache.cs:
* mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/LibraryPcFileCache.cs:
This file was moved to Mono.XBuild.Tasks.dll
* mcs/class/Mono.XBuild.Tasks/Assembly/AssemblyInfo.cs: Moved from
Microsoft.Build.Tasks.dll. Signing key is mono.pub.
* mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks/PcFileCache.cs:
* mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks/LibraryPcFileCache.cs:
Moved from Microsoft.Build.Tasks.dll. All internal members have been made
public.
* mcs/class/Mono.XBuild.Tasks/Test/Mono.XBuild.Tasks/PcFileCacheTest.cs: Create
test file stub.
Marek Safar [Thu, 2 Jan 2014 17:52:13 +0000 (18:52 +0100)]
[mcs] Don't wrap reference type values in explicit nullable conversion. Fixes #16900
Marek Safar [Thu, 2 Jan 2014 17:37:47 +0000 (09:37 -0800)]
Merge pull request #855 from echampet/spec
Fix a small typo in mono-core.spec.in breaking the build
Marek Safar [Thu, 2 Jan 2014 16:47:42 +0000 (08:47 -0800)]
Merge pull request #854 from antoniusriha/sortDescription
Make SortDescriptionCollection returned by SortDescriptionCollection.Empty read-only
Marek Safar [Thu, 2 Jan 2014 16:40:10 +0000 (17:40 +0100)]
[eval] Consider base type members in tab completion
Antonius Riha [Thu, 2 Jan 2014 16:27:31 +0000 (17:27 +0100)]
Make empty SortDescriptionCollection read-only.
This is in accordance with the behavior of SortDescriptionCollection in .NET.
Antonius Riha [Thu, 2 Jan 2014 16:24:28 +0000 (17:24 +0100)]
Add tests for empty, non-modifiable SortDesriptionCollection
Etienne CHAMPETIER [Thu, 2 Jan 2014 16:02:26 +0000 (17:02 +0100)]
Fix a small typo in mono-core.spec.in breaking the build
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Marek Safar [Thu, 2 Jan 2014 13:18:42 +0000 (14:18 +0100)]
[mcs] Restore async modifiers context after nested enums declaration. Fixes #16997
Marek Safar [Thu, 2 Jan 2014 13:13:00 +0000 (14:13 +0100)]
[corlib] Promise style tasks cannot be started manually. Fixes #16857
Andrea Canciani [Wed, 1 Jan 2014 16:50:34 +0000 (17:50 +0100)]
Improve ABCREM on 64-bits architectures
Array indexes can be 32-bits integers even on 64-bits
architectures. This causes most loops to fail Array Bounds Checking
REMoval because the index is sign-extended before the check (see
mini_emit_ldelema_1_ins).
Sign-extending an I4 to I8 preserves its value, hence it is possible
to propagate the relation between the variables.
Marek Safar [Wed, 1 Jan 2014 14:30:06 +0000 (15:30 +0100)]
[system] Make ICommand 4.5 profile only
Marek Safar [Wed, 1 Jan 2014 14:28:40 +0000 (15:28 +0100)]
[corlib] Thread.GetNamedDataSlot allocates slot on failure. Fixes #16788
Marek Safar [Wed, 1 Jan 2014 10:01:09 +0000 (02:01 -0800)]
Merge pull request #851 from ranma42/fix_16992v2
Fix bug #16992
Andrea Canciani [Tue, 31 Dec 2013 14:59:22 +0000 (15:59 +0100)]
Use LIFO policy for CancellationTokenSource
The .NET implementation of CancellationTokenSource invokes the
callbacks in the opposite order from that of the registration.
In order to mixamize compatibility, use the same order.
Fixes ReEntrantRegistrationTest, Cancel_Order, Cancel_ExceptionOrder
(in CancellationTokenSourceTest) and
https://bugzilla.xamarin.com/show_bug.cgi?id=16992
Andrea Canciani [Tue, 31 Dec 2013 20:39:18 +0000 (21:39 +0100)]
Add testcases for callback and exception ordering
Translated from the F# testcases available here
https://github.com/fsharp/fsharp/blob/
19507b98bc6a7995e9c19c40f044fdfeb578ef77/src/fsharp/FSharp.Core.Unittests/FSharp.Core/Microsoft.FSharp.Control/Cancellation.fs#L100