Aaron Bockover [Thu, 16 Jan 2014 19:13:10 +0000 (14:13 -0500)]
build: use MOBILE_DYNAMIC instead of MONODROID
Some conditional compilation shouldn't really
be bound to MONODROID, instead add a new define
that can be reused, MOBILE_DYNAMIC.
Aaron Bockover [Thu, 16 Jan 2014 19:09:55 +0000 (14:09 -0500)]
configure.in: remove --with-mobile
It doesn't actually do anything. Was quite
misleading.
Zoltan Varga [Thu, 16 Jan 2014 14:32:03 +0000 (15:32 +0100)]
[jit] Handle native types in mini_type_get_underlying_type () as well.
Zoltan Varga [Thu, 16 Jan 2014 03:03:36 +0000 (04:03 +0100)]
Fix the --enable-native-types build.
Zoltan Varga [Thu, 16 Jan 2014 02:37:21 +0000 (03:37 +0100)]
Fix the build.
Rodrigo Kumpera [Thu, 16 Jan 2014 01:29:03 +0000 (20:29 -0500)]
[runtime] Make gsharing and explicit configure extension.
Rodrigo Kumpera [Thu, 16 Jan 2014 01:22:46 +0000 (20:22 -0500)]
[runtime]Add native type extension.
Marek Safar [Wed, 15 Jan 2014 22:03:30 +0000 (23:03 +0100)]
New test file
Alan McGovern [Wed, 15 Jan 2014 20:17:10 +0000 (15:17 -0500)]
[Microsoft.Build.Engine] Fix the escaping/unescaping of FullPath metadata
It is incorrect to escape the FullPath metadata for a build item when
we invoke GetEvaluatedMetadata. If we do this we end up completely breaking
every file with a special character in it as things like this would always
fail as we'd pass an escaped path to the filesystem:
File.Exists (item.GetEvaluatedMetadata ("FullPath"))
The iOS designer encountered this issue when we added retina images
called "foo@2x.png" to our solution.
With tests.
Marek Safar [Wed, 15 Jan 2014 19:45:58 +0000 (20:45 +0100)]
[mcs] Add additional l-value checks on member access properties as well. Fixes #9571
Marek Safar [Wed, 15 Jan 2014 19:08:59 +0000 (20:08 +0100)]
[mcs] Import extension methods dynamic generic arguments correctly.
Zoltan Varga [Wed, 15 Jan 2014 17:50:47 +0000 (18:50 +0100)]
[jit] Use the jit lock instead of the loader lock in mono_tramp_info_register ().
Zoltan Varga [Wed, 15 Jan 2014 17:34:34 +0000 (18:34 +0100)]
[runtime] Get rid of SuspendThread()/ResumeThread(), integrate its functionality into mono-thread-info.c.
Zoltan Varga [Wed, 15 Jan 2014 03:22:37 +0000 (04:22 +0100)]
[jit] Fix dwarf line number info generation, make AOT use it again instead of the .loc/.file directives of GAS, since CLANG only supports those with assembly, not with .byte directives. Fixes part of #15202.
Marek Safar [Tue, 14 Jan 2014 18:22:48 +0000 (19:22 +0100)]
Miguel de Icaza [Tue, 14 Jan 2014 17:52:18 +0000 (12:52 -0500)]
Add support for stdout returns
Zoltan Varga [Tue, 14 Jan 2014 17:23:10 +0000 (18:23 +0100)]
Rolf Bjarne Kvinge [Tue, 14 Jan 2014 16:50:23 +0000 (17:50 +0100)]
The monotouch_runtime profile needs the DISABLE_COM flag too.
Zoltan Varga [Tue, 14 Jan 2014 16:51:53 +0000 (17:51 +0100)]
Zoltan Varga [Tue, 14 Jan 2014 16:14:34 +0000 (17:14 +0100)]
Revert "[runtime] Get rid of ResumeThread(), use mono_thread_info_resume () instead."
This reverts commit
e0cff630135268203eea6ec2fa25069363f78d5d.
Revert this as its racy.
Sebastien Pouliot [Tue, 14 Jan 2014 16:51:11 +0000 (11:51 -0500)]
Add missing (new) file for System.Net.Http.dll (monotouch build)
Rolf Bjarne Kvinge [Tue, 14 Jan 2014 16:30:30 +0000 (17:30 +0100)]
The monotouch_runtime profile needs the DISABLE_REMOTING flag.
Since the corresponding mono runtime being used has also disabled remoting.
Marek Safar [Tue, 14 Jan 2014 16:30:02 +0000 (17:30 +0100)]
[mcs] Disable container definition check on platforms which don't support it
Marek Safar [Tue, 14 Jan 2014 16:29:16 +0000 (17:29 +0100)]
[linker] Add missing descriptors
Zoltan Varga [Tue, 14 Jan 2014 15:50:45 +0000 (16:50 +0100)]
[runtime] Fix the windows build.
Sebastien Pouliot [Tue, 14 Jan 2014 15:12:11 +0000 (10:12 -0500)]
The mobile profile can support IBindingRuntimePreferences on WebHttpBinding. Fix one S.SM.W unit test failure for XI
Sebastien Pouliot [Tue, 14 Jan 2014 15:11:21 +0000 (10:11 -0500)]
There's no need for those special NET_2_1 cases (not using NameValueCollection like MS) anymore and it fixes 7 S.SM.W unit tests failures for XI (e.g. case sensitiveness)
Sebastien Pouliot [Tue, 14 Jan 2014 15:10:35 +0000 (10:10 -0500)]
There's no need for those special NET_2_1 cases (excluding System.Char) anymore and it fixes 6 S.SM.W unit tests failures for XI.
Sebastien Pouliot [Tue, 14 Jan 2014 15:09:46 +0000 (10:09 -0500)]
[test] Disable a test for XI (only) as it does not support dynamic proxy code generation
Zoltan Varga [Tue, 14 Jan 2014 13:51:47 +0000 (14:51 +0100)]
Fix a warning.
Zoltan Varga [Tue, 14 Jan 2014 13:50:42 +0000 (14:50 +0100)]
Revert "Fix a warning."
This reverts commit
c5104c091af3ffa65ac5be45f320e993ff833427.
Marek Safar [Tue, 14 Jan 2014 13:45:38 +0000 (14:45 +0100)]
Fixes failing test
Marek Safar [Tue, 14 Jan 2014 13:25:01 +0000 (14:25 +0100)]
[build] Add Microsoft.CSharp to monotouch profile
Marek Safar [Tue, 14 Jan 2014 13:21:55 +0000 (14:21 +0100)]
[System] Use generic equality comparer in Find/FindLast methods. Fixes #5245
Zoltan Varga [Tue, 14 Jan 2014 03:37:43 +0000 (04:37 +0100)]
[arm] Fix an assert caused by large offsets. Fixes #17208.
Zoltan Varga [Tue, 14 Jan 2014 02:47:26 +0000 (03:47 +0100)]
[runtime] Get rid of ResumeThread(), use mono_thread_info_resume () instead.
Zoltan Varga [Tue, 14 Jan 2014 01:51:54 +0000 (02:51 +0100)]
Fix a warning.
Zoltan Varga [Tue, 14 Jan 2014 01:49:03 +0000 (02:49 +0100)]
[runtime] Centralize low-level thread creation in utils/mono-threads.c. Get rid of the CreateThread () function in io-layer.
Michael Hutchinson [Mon, 13 Jan 2014 19:57:52 +0000 (14:57 -0500)]
[xbuild] Add 4.0 client profile
BXC1426 - xbuild should include the ".NET 4.0 client" framework profile
Michael Hutchinson [Sun, 12 Jan 2014 20:49:10 +0000 (15:49 -0500)]
[xbuild] 4.0 test targets go in 4.5 profile
Zoltan Varga [Mon, 13 Jan 2014 18:03:00 +0000 (19:03 +0100)]
[jit] Call mini_replace_type () in one place.
Zoltan Varga [Mon, 13 Jan 2014 17:27:49 +0000 (18:27 +0100)]
Zoltan Varga [Mon, 13 Jan 2014 16:13:30 +0000 (17:13 +0100)]
[sdb] Fix setting of byref variables in registers. Fixes #17185.
Rodrigo Kumpera [Mon, 13 Jan 2014 15:52:49 +0000 (10:52 -0500)]
[io-layer] Add essay on my choices for is_file_writable.
Marek Safar [Mon, 13 Jan 2014 14:24:13 +0000 (06:24 -0800)]
Merge pull request #844 from scottmcarthur/master
Check for null item in BindingList<T>.InsertItem
Marek Safar [Mon, 13 Jan 2014 14:13:40 +0000 (15:13 +0100)]
Tests update
Marek Safar [Mon, 13 Jan 2014 13:46:58 +0000 (14:46 +0100)]
[System.Net.Http] Add parsing of multi-value strings. Fixes #17132
Zoltan Varga [Mon, 13 Jan 2014 13:03:25 +0000 (14:03 +0100)]
Fix the build.
Zoltan Varga [Mon, 13 Jan 2014 12:59:28 +0000 (13:59 +0100)]
[runtime] Fix the --disable-boehm build.
Zoltan Varga [Mon, 13 Jan 2014 12:35:19 +0000 (04:35 -0800)]
Merge pull request #872 from Unity-Technologies/upstreaming/customize-suspend-policy2
allow users to specify a suspension policy when enabling an event
Lucas Meijer [Mon, 13 Jan 2014 07:52:17 +0000 (08:52 +0100)]
allow users to specify a suspension policy when enabling an event
Marek Safar [Mon, 13 Jan 2014 07:19:36 +0000 (23:19 -0800)]
Merge pull request #871 from tumtumtum/master
Fix for transactions hanging and timing out if PreparingEnlistment.Done() is called
Rodrigo Kumpera [Mon, 13 Jan 2014 05:56:04 +0000 (00:56 -0500)]
[io-layer] Properly check write permission of a file. Fixes #3501.
The existing check only verified if owner had write privileges.
Which returns the wrong value when the file is not owned by the user.
And doesn't work when the file is globally writeable or the user
belongs to the user of the file.
We check flags for when euid/egid matches file's. Otherwise we fallback
to access(2), which sucks, but it's the only thing close to working
that exists on unix and has a reasonably portable behavior.
Zoltan Varga [Mon, 13 Jan 2014 03:00:58 +0000 (04:00 +0100)]
Move the mono_thread_create () function into utils/mono-threads.h/c, change/simplify its signature a bit.
Zoltan Varga [Mon, 13 Jan 2014 00:48:33 +0000 (01:48 +0100)]
Clean up the thread startup code by moving common code into a new create_thread () function.
Thong Nguyen [Sun, 12 Jan 2014 21:59:39 +0000 (21:59 +0000)]
Quickfix for transactions timing out and not committing when PreparingEnlistment.Done is called instead of PreparingEnlistment.Prepared
Zoltan Varga [Sun, 12 Jan 2014 13:21:37 +0000 (14:21 +0100)]
Add LOCK_THREAD/UNLOCK_THREAD macros, get rid of ensure_synch_cs_set ().
Zoltan Varga [Tue, 9 Apr 2013 17:25:50 +0000 (19:25 +0200)]
Clean up the setup of thread->synch_cs. Initialize it when the MonoInternalThread object is created, and delete it in the finalizer.
Marek Safar [Sun, 12 Jan 2014 08:34:55 +0000 (00:34 -0800)]
Merge pull request #870 from wayoutmind/master
[system] Add IsIPv6Teredo to System.Net.IpAddress
Michael Hutchinson [Sun, 12 Jan 2014 05:32:35 +0000 (00:32 -0500)]
[xbuild] Properly disable tests on 4.0 framework profile
Michael Hutchinson [Sun, 12 Jan 2014 03:18:46 +0000 (22:18 -0500)]
[xbuild] Tests need older MSBuild targets
Rodrigo Kumpera [Sun, 12 Jan 2014 05:09:15 +0000 (21:09 -0800)]
Merge pull request #869 from alistair/copyfile
Don't raise an exception if we can't find the src assembly on a shadow copy appdomain
Fredrick Galoso [Sun, 12 Jan 2014 03:23:50 +0000 (21:23 -0600)]
[system] Add IsIPv6Teredo to System.Net.IpAddress
Adds support for checking for an IPv6 Teredo address, introduced in
.NET Framework 4.
Alistair Bush [Sat, 11 Jan 2014 11:35:37 +0000 (00:35 +1300)]
Don't raise an exception if we can't find the src assembly.
These changes are released under the MIT license.
Aaron Bockover [Fri, 10 Jan 2014 19:13:02 +0000 (14:13 -0500)]
mono-api-info: avoid NumberOverflow
GetFlaggedEnumValue converts values to Int64 which
can cause a NumberOverflow exception when the value
is too large to fit (e.g. a large UInt64). Special
case UInt64 values for now (duplicates the logic,
which sucks).
Miguel de Icaza [Fri, 10 Jan 2014 17:37:09 +0000 (12:37 -0500)]
[csharp] do not try to read 0 characters for a string
Miguel de Icaza [Fri, 10 Jan 2014 16:35:17 +0000 (11:35 -0500)]
[csharp] Make the stream reader iterate until all data has been read
Miguel de Icaza [Mon, 6 Jan 2014 18:07:51 +0000 (16:07 -0200)]
Add new --client/--server[=server[:port] support for the shell
Miguel de Icaza [Thu, 19 Dec 2013 00:49:29 +0000 (22:49 -0200)]
update copyright
Marek Safar [Fri, 10 Jan 2014 15:47:47 +0000 (16:47 +0100)]
[corlib] Update en-GB first day of week. Fixes #17151
Marek Safar [Fri, 10 Jan 2014 14:56:13 +0000 (15:56 +0100)]
[mcs] Check type of index used in pointer array aritmetic. Fixes #17145
Zoltan Varga [Fri, 10 Jan 2014 00:16:28 +0000 (19:16 -0500)]
[runtime] Fix large file support on android, it doesn't support -D_FILE_OFFSET_BITS=64, so call lseek64 directly. Fixes #17128.
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