David Schmitt [Wed, 16 Apr 2014 07:26:23 +0000 (09:26 +0200)]
[System] handle arguments whose ToString returns null in String.Format
When an argument to String.Format has no formatter, its ToString method
is called. This change takes care that the FormatHelper can handle
arguments whose ToString() method returns null.
Zoltan Varga [Wed, 16 Apr 2014 06:54:37 +0000 (08:54 +0200)]
[jit] Rewrite lookup_method () to reduce contention by not taking the loader lock while doing hashtable lookups.
Zoltan Varga [Wed, 16 Apr 2014 04:47:44 +0000 (06:47 +0200)]
[runtime] Add some low level locks to image sets to reduce contention and the usage of the loader lock.
Rodrigo Kumpera [Tue, 15 Apr 2014 21:54:05 +0000 (17:54 -0400)]
[runtime] Don't g_string_append an empty string when running regression tests.
Rodrigo Kumpera [Tue, 15 Apr 2014 21:53:26 +0000 (17:53 -0400)]
[windows] Win64 requires 16 bytes alignment too.
Rodrigo Kumpera [Tue, 15 Apr 2014 21:51:23 +0000 (17:51 -0400)]
[VS] Change the tools version back to v110 so it works with VS 2012.
Rodrigo Kumpera [Tue, 15 Apr 2014 21:50:36 +0000 (17:50 -0400)]
[windows] Remove sdb symbol from mono.def. Fix the build.
Marek Safar [Tue, 15 Apr 2014 21:31:27 +0000 (23:31 +0200)]
Add ICscHostObject4 skeleton
Miguel de Icaza [Tue, 15 Apr 2014 20:29:06 +0000 (16:29 -0400)]
Merge pull request #987 from StephenMcConnel/bug-18874
Adjust scrollbar display after layout if autosized children
Alexis Christoforides [Tue, 15 Apr 2014 20:10:29 +0000 (16:10 -0400)]
Added contribution guideline links in README
New section has links to guideline wiki page, and the page's Important Rules section that all contributors should be aware of.
Zoltan Varga [Tue, 15 Apr 2014 06:54:05 +0000 (08:54 +0200)]
[llvm] Fix a few problems with longs on 32 bit platforms. Fixes #18925.
Alex Rønne Petersen [Mon, 14 Apr 2014 20:53:36 +0000 (22:53 +0200)]
Ignore scripts/ikdasm.
Rodrigo Kumpera [Mon, 14 Apr 2014 19:53:36 +0000 (15:53 -0400)]
[llvm] Fix llvm loading.
Alex Rønne Petersen [Sat, 12 Apr 2014 01:03:26 +0000 (03:03 +0200)]
Fix handling of the `volatile.` prefix instruction.
* Respect the `volatile.` prefix on all instructions specified in
Ecma 335, Partition III, 2.6.
* Emit release barriers _before_ the instructions they affect.
* Skip certain optimizations when the `volatile.` prefix is used,
since we can't easily emit barriers correctly in those
optimization paths.
* Use `ins_flag` to check for `MONO_INST_VOLATILE` as it doesn't
depend on an instruction having been emitted. This would kind of
not work when we need to emit barriers before other instructions.
* Set `ins_flag` to zero in all cases where it's consumed.
Alex Rønne Petersen [Sat, 12 Apr 2014 00:25:01 +0000 (02:25 +0200)]
Remove pointless #elif branch in mono-membar.h.
Alex Rønne Petersen [Sat, 12 Apr 2014 00:24:02 +0000 (02:24 +0200)]
Clean up the log profiler's use of atomics.
Alexis Christoforides [Mon, 14 Apr 2014 15:28:53 +0000 (11:28 -0400)]
Merge pull request #986 from ninjarobot/patch-1
Update io.c to support NFS mounts when parsing drives.
ninjarobot [Wed, 9 Apr 2014 04:06:33 +0000 (00:06 -0400)]
Update io.c
Support for NFS mounts when parsing drives. Previously ignored since they don't start with '/'.
This change is released under the MIT license.
Rodrigo Kumpera [Mon, 14 Apr 2014 13:12:10 +0000 (09:12 -0400)]
Merge pull request #990 from BrandonLWhite/bw/cqleak
[runtime] Fixed leak of MonoListItems in MonoCQ
Sebastien Pouliot [Sat, 12 Apr 2014 16:41:26 +0000 (12:41 -0400)]
[xammac] Remove the Makefile hack as the extensions instructions will be applied (only) when a PROFILE_*.sources is present (and add that xammac_corlib.dll.sources file)
Alex Rønne Petersen [Sat, 12 Apr 2014 13:40:23 +0000 (15:40 +0200)]
Merge pull request #656 from LogosBible/collection_lock
Take shared file lock before collecting file share_info.
Brandon [Fri, 11 Apr 2014 22:54:29 +0000 (17:54 -0500)]
[runtime] Fixed leak of MonoListItems in MonoCQ
I release this change under the MIT license.
Alex Rønne Petersen [Sat, 12 Apr 2014 08:29:38 +0000 (10:29 +0200)]
Merge pull request #273 from joncham/bug-getpid
Use getpid instead of GetCurrentProcessId as the latter calls into io-la...
Alex Rønne Petersen [Sat, 12 Apr 2014 07:30:07 +0000 (09:30 +0200)]
Merge pull request #991 from ranma42/fix-jay-sh-bashism
Use bash when using $RANDOM bashism
Andrea Canciani [Thu, 10 Apr 2014 16:34:01 +0000 (18:34 +0200)]
Use bash when using $RANDOM bashism
$RANDOM is only supported by bash, not by sh.
Zoltan Varga [Sat, 12 Apr 2014 02:56:03 +0000 (04:56 +0200)]
[runtime] Improve the hashing of MONO_TYPE_VAR/MONO_TYPE_MVAR. Hopefully fixes #18880.
Zoltan Varga [Sat, 12 Apr 2014 00:31:19 +0000 (02:31 +0200)]
Merge pull request #988 from ranma42/fix-lls-test
Fix assertion in test-mono-linked-list-set
Zoltan Varga [Sat, 12 Apr 2014 00:28:59 +0000 (02:28 +0200)]
Merge pull request #989 from rolfbjarne/bundle-tracing-improvements
Improve tracing output for loaded assemblies from bundles.
Rolf Bjarne Kvinge [Fri, 11 Apr 2014 22:56:33 +0000 (00:56 +0200)]
Report bundle tracing using the filename, not the full path.
Rolf Bjarne Kvinge [Fri, 11 Apr 2014 22:20:07 +0000 (00:20 +0200)]
Improve tracing output for loaded assemblies from bundles.
Rodrigo Kumpera [Fri, 11 Apr 2014 22:16:03 +0000 (18:16 -0400)]
Use mono_dl_open_runtime_lib as an additional fallback for loading the profiler. Fixes profiler loading on OSX.
Rodrigo Kumpera [Fri, 11 Apr 2014 22:15:24 +0000 (18:15 -0400)]
Use mono_dl_open_runtime_lib instead of hand crafted load commands.
Rodrigo Kumpera [Fri, 11 Apr 2014 21:50:05 +0000 (17:50 -0400)]
New function mono_dl_open_runtime_lib that loads runtime libraries.
This extracts the code used to load LLVM.
Sebastien Pouliot [Fri, 11 Apr 2014 22:11:30 +0000 (18:11 -0400)]
[Mono.Security] Add .sources file for xammac (same as monotouch)
Sebastien Pouliot [Fri, 11 Apr 2014 20:08:44 +0000 (16:08 -0400)]
[xammac] Ajust corlib and System.Core builds to allow to use of CommonCrypto in Xamarin.Mac
Sebastien Pouliot [Fri, 11 Apr 2014 19:55:47 +0000 (15:55 -0400)]
[Mono.Security] Send all the certificates (except the root) from an SSL/TLS 'Server certificate' message (7.4.2 in RFC2246). Fix contributed by justin@mailinator.com [#16974]
Alexis Christoforides [Fri, 11 Apr 2014 19:16:16 +0000 (15:16 -0400)]
Merge pull request #845 from meyerrj/master
Support for video/mp4, video/ogg, video/webm
Miguel de Icaza [Fri, 11 Apr 2014 16:04:10 +0000 (12:04 -0400)]
Style on the README file, make it more readable for command line users
Alex Rønne Petersen [Thu, 10 Apr 2014 21:24:16 +0000 (23:24 +0200)]
ARM: Fix epilogue instrumentation to handle MONO_TYPE_{GENERICINST,R4,R8} correctly.
Alex Rønne Petersen [Fri, 11 Apr 2014 08:22:08 +0000 (10:22 +0200)]
Revert "ARM: Fix epilogue instrumentation to handle MONO_TYPE_{GENERICINST,R4,R8} correctly."
This reverts commit
1afa622ba446ca7f67f24d446b938826bd568574.
I had a more recent version of this commit locally...
Alex Rønne Petersen [Thu, 10 Apr 2014 21:24:16 +0000 (23:24 +0200)]
ARM: Fix epilogue instrumentation to handle MONO_TYPE_{GENERICINST,R4,R8} correctly.
Alexis Christoforides [Thu, 10 Apr 2014 19:56:48 +0000 (15:56 -0400)]
[System.Net] Fixed intermittent test failures from undisposed UdpClients
Alexis Christoforides [Thu, 10 Apr 2014 19:00:10 +0000 (15:00 -0400)]
[Security] Added check for failed chmod on "keypairs" directory creation
This is to help detect issues where the directory is later found to be not locked down.
Marek Safar [Thu, 10 Apr 2014 11:02:34 +0000 (13:02 +0200)]
[system.net.http] Improve
50879b35cf1e92370d155d26cc85b4430fe17984 to close all connections not only the last one
Marek Safar [Thu, 10 Apr 2014 09:17:22 +0000 (11:17 +0200)]
[mcs] Typo in error message
Marek Safar [Thu, 10 Apr 2014 08:53:53 +0000 (10:53 +0200)]
[mcs] Reference assemblies with same identity cannot have different version number
Andrea Canciani [Wed, 9 Apr 2014 20:55:43 +0000 (22:55 +0200)]
Fix assertion in test-mono-linked-list-set
When running 'make check', test-mono-linked-list-set fails with:
* Assertion at hazard-pointer.c:353, condition `small_id == i' not met
This happens since
71ad74dc11c5fa4bc8c178a5457d2cab732fdb01, because
that commit changes the behaviour of mono_thread_smr_init() so that
invoking it should not be invoked more than once.
Stephen McConnel [Wed, 9 Apr 2014 20:42:28 +0000 (15:42 -0500)]
Adjust scrollbar display after layout if autosized children
ScrollableControl.OnLayout sets the scroll bar display before doing the
actual layout. If any children are autosized, they may change size as
a result of the layout, and that may change whether or not the scrollbar
is needed. (This addresses Xamarin bug 18874.)
Rodrigo Kumpera [Wed, 9 Apr 2014 19:41:53 +0000 (15:41 -0400)]
Revert "[runtime] Improve the hashing of MONO_TYPE_VAR/MONO_TYPE_MVAR. Hopefully fixes #18880."
This reverts commit
078dc0321d53f9e161957656550fd10cc41db618.
It's breaking for everyone.
Marek Safar [Wed, 9 Apr 2014 19:15:33 +0000 (21:15 +0200)]
[System.Core] Don't auto increment when trimming hashset. Fixes #18687
Marek Safar [Wed, 9 Apr 2014 18:35:23 +0000 (20:35 +0200)]
[system.net.http] Close service-point slot on explicit dispose. Fixes #18848
Alexis Christoforides [Wed, 9 Apr 2014 18:26:45 +0000 (14:26 -0400)]
Merge pull request #985 from joelmartinez/master
[docs] Fixed XML syntax issue with CipherSuitesCallback, and ServicePointManager xml files.
Marek Safar [Wed, 9 Apr 2014 15:32:44 +0000 (17:32 +0200)]
[interpreter] Disable fast call invocation using methodinfo delegates due to aot limitation. Fixes #18688
Zoltan Varga [Wed, 9 Apr 2014 01:53:22 +0000 (21:53 -0400)]
[runtime] Improve the hashing of MONO_TYPE_VAR/MONO_TYPE_MVAR. Hopefully fixes #18880.
Zoltan Varga [Tue, 8 Apr 2014 23:43:16 +0000 (19:43 -0400)]
Revert "[llvm] Fix the build."
This reverts commit
8990ab33639d075958428cc38fae5dff861f6fde.
Revert this as it only works with an llvm version which doesn't compile on lion.
Alexis Christoforides [Tue, 8 Apr 2014 22:05:46 +0000 (18:05 -0400)]
[XML] Added unit test for multiple XMLElement attributes on arrays & ArrayLists
Alan McGovern [Tue, 8 Apr 2014 16:21:36 +0000 (12:21 -0400)]
[Microsoft.Build.Tasks] 'Copy' task now returns failure when errors are logged
If we try to copy a file which does not exist, we log the error (as we have
always done) but now we return failure from the Copy task if any errors were
logged.
This means we will correctly fail the build later on instead of having a
successful build which did not complete correctly.
Marek Safar [Tue, 8 Apr 2014 14:31:27 +0000 (16:31 +0200)]
Merge pull request #984 from echampet/trim-column
Fix CreateErrorFromString: match.Result("${column}") may contain a '+', ...
Etienne CHAMPETIER [Tue, 8 Apr 2014 14:26:04 +0000 (16:26 +0200)]
Fix CreateErrorFromString: match.Result("${column}") may contain a '+', trim it
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Marek Safar [Tue, 8 Apr 2014 13:30:40 +0000 (15:30 +0200)]
[corlib] Better checks for release of parent task
BrandonLWhite [Mon, 7 Apr 2014 22:54:33 +0000 (17:54 -0500)]
Fixed memory leak in Task when child tasks are continually created.
This resolves bug # 18398 and other OOM scenarios in long running applications that make use of FromAsync, ContinueWith, etc. to "rearm" asynchronous operations.
Alex Rønne Petersen [Tue, 8 Apr 2014 12:56:37 +0000 (14:56 +0200)]
Merge pull request #983 from xen2/master
Fix MSVC compilation (mini-native-types.c was considered as header) and updated VTune project to use 2013 version.
Joel Martinez [Mon, 7 Apr 2014 00:12:05 +0000 (20:12 -0400)]
[docs] Fixed XML syntax issue with CipherSuitsCallback, and ServicePointManager xml files.
Marek Safar [Tue, 8 Apr 2014 10:43:28 +0000 (12:43 +0200)]
[System.Core] Exclude legacy visitor in new profiles
Martin Baulig [Thu, 3 Apr 2014 23:40:07 +0000 (19:40 -0400)]
[Http]: Disable redirect with body and no buffering.
Martin Baulig [Thu, 3 Apr 2014 20:43:36 +0000 (16:43 -0400)]
[Http]: Clear the 'SendChunked' flag when redirecting.
Martin Baulig [Wed, 5 Mar 2014 14:45:00 +0000 (15:45 +0100)]
[Http]: Remove chunked/etc headers when redirecting a request as GET.
Virgile Bello [Tue, 8 Apr 2014 02:45:08 +0000 (11:45 +0900)]
VTune profiler: update to VTune Amplifier 2013.
Virgile Bello [Tue, 8 Apr 2014 02:44:41 +0000 (11:44 +0900)]
MSVC: In libmono.vcxproj, mini-native-types.c was included as header instead of source file.
Marek Safar [Mon, 7 Apr 2014 17:21:16 +0000 (19:21 +0200)]
[corlib] Add SortVersion. Fixes #18770
Marek Safar [Mon, 7 Apr 2014 15:35:03 +0000 (17:35 +0200)]
[corlib] Set test failure when test hangs
Alexis Christoforides [Mon, 7 Apr 2014 15:55:47 +0000 (11:55 -0400)]
Merge pull request #955 from ermshiperete/bug-xamarin-10537
[MWF] Fix crash from null control in ContainerControl (#10537)
Zoltan Varga [Sun, 6 Apr 2014 01:33:24 +0000 (21:33 -0400)]
[runtime] Refactor mono_marshal_get_delegate_invoke_internal ().
Zoltan Varga [Sat, 5 Apr 2014 17:27:47 +0000 (13:27 -0400)]
Zoltan Varga [Sat, 5 Apr 2014 00:37:26 +0000 (20:37 -0400)]
[bcl] Add an explicit null check to one of the unsafe string cctors instead of relaying on the implicit null check in memcpy () to easy debugging.
Alexis Christoforides [Sat, 5 Apr 2014 00:17:27 +0000 (20:17 -0400)]
Merge pull request #941 from upsilon/fix-layoutsettings-setter
Fix setter of TableLayoutPanel.LayoutSettings throws unwanted exception (Novell bug #497562)
Michael Hutchinson [Thu, 3 Apr 2014 19:37:55 +0000 (15:37 -0400)]
[xbuild] Fix building with 2.0 toolset, take 2
BXC18794 - Error executing task Csc with 2.0 toolset since Mono 3.4.0
Zoltan Varga [Fri, 4 Apr 2014 19:50:54 +0000 (15:50 -0400)]
Fix building the monotouch_runtime profile.
Zoltan Varga [Fri, 4 Apr 2014 18:58:34 +0000 (14:58 -0400)]
Revert "[xbuild] Fix building with 2.0 toolset"
This reverts commit
2086958399f30a8b7a997203c87d92dab2b507ce.
Revert this as it breaks the build:
MCS [net_2_0] Microsoft.Build.Engine.dll
Microsoft.Build.BuildEngine/Engine.cs(114,81): error CS0117: Microsoft.Build.Utilities.TargetDotNetFrameworkVersion' does not contain a definition forVersion30'
/root/my-mono-fork/mcs/class/Microsoft.Build.Engine/./../../class/lib/net_2_0/Microsoft.Build.Utilities.dll (Location of the symbol related to previous error)
Microsoft.Build.BuildEngine/Engine.cs(116,81): error CS0117: Microsoft.Build.Utilities.TargetDotNetFrameworkVersion' does not contain a definition forVersion35'
/root/my-mono-fork/mcs/class/Microsoft.Build.Engine/./../../class/lib/net_2_0/Microsoft.Build.Utilities.dll (Location of the symbol related to previous error)
Compilation failed: 2 error(s), 0 warnings
Zoltan Varga [Mon, 24 Mar 2014 13:13:46 +0000 (09:13 -0400)]
[llvm] Fix the build.
Zoltan Varga [Fri, 4 Apr 2014 03:03:42 +0000 (23:03 -0400)]
Zoltan Varga [Thu, 3 Apr 2014 20:43:07 +0000 (16:43 -0400)]
[jit] Make generic ctor calls made out of gsharedvt methods indirect, since they cannot be patched. Fixes #18634.
Zoltan Varga [Thu, 3 Apr 2014 20:41:04 +0000 (16:41 -0400)]
[runtime] Disable some warnings.
Zoltan Varga [Thu, 3 Apr 2014 20:10:44 +0000 (16:10 -0400)]
[jit] Fix some of the check for support of atomic intrinsics on arm.
Michael Hutchinson [Thu, 3 Apr 2014 19:37:55 +0000 (15:37 -0400)]
[xbuild] Fix building with 2.0 toolset
BXC18794 - Error executing task Csc with 2.0 toolset since Mono 3.4.0
Rodrigo Kumpera [Thu, 3 Apr 2014 16:02:57 +0000 (12:02 -0400)]
Add new public API function mono_set_crash_chaining.
mono_set_crash_chaining tells mono to chain crash signals instead of just
running the next one.
This allows us to get the crash info from both mono and the native system.
Jonathan Pryor [Thu, 3 Apr 2014 15:54:25 +0000 (11:54 -0400)]
[System] Add [MonoTODO] on DefaultTraceListener.AssertUiEnabled.
See the mono-list thread for fun/gory details:
http://lists.ximian.com/pipermail/mono-list/2014-March/050732.html
Marek Safar [Wed, 2 Apr 2014 18:25:34 +0000 (12:25 -0600)]
Merge pull request #978 from echampet/ikdasm-spec
Fix spec file for ikdasm
Etienne CHAMPETIER [Wed, 2 Apr 2014 16:57:29 +0000 (18:57 +0200)]
Fix spec file for ikdasm
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Michael Hutchinson [Tue, 1 Apr 2014 21:21:51 +0000 (17:21 -0400)]
[xbuild] Include PCL common targets in tarball
BXC18690 - Microsoft.Portable.Common.targets is missing in mono 3.4.0 tarball
Zoltan Varga [Tue, 1 Apr 2014 19:32:38 +0000 (15:32 -0400)]
[arm] Remove some unused code.
Zoltan Varga [Tue, 1 Apr 2014 18:39:05 +0000 (18:39 +0000)]
[jit] Implement support for atomic intrinsics on arm.
Zoltan Varga [Tue, 1 Apr 2014 18:32:19 +0000 (18:32 +0000)]
[runtime] Fix a crash if the thread name is set before the thread is started.
Marek Safar [Tue, 1 Apr 2014 18:10:50 +0000 (11:10 -0700)]
[corlib] Fixes CancellationTokenSource dispose race
Marek Safar [Mon, 31 Mar 2014 23:37:24 +0000 (16:37 -0700)]
[corlib] Update test with failure info
Marek Safar [Mon, 31 Mar 2014 18:12:44 +0000 (11:12 -0700)]
[corlib] Make invariant NumberFormatter thread static too as it has internal static state. Fixes #18599
Marek Safar [Mon, 31 Mar 2014 17:07:48 +0000 (10:07 -0700)]
[corlib] Filter out any right-to-left sign characters. Fixes #18522
Rolf Bjarne Kvinge [Mon, 31 Mar 2014 14:49:08 +0000 (16:49 +0200)]
Fix monotouch's repl support to build Mono.CSharp (and its dependencies) as well.
Zoltan Varga [Mon, 31 Mar 2014 08:17:24 +0000 (04:17 -0400)]
Merge pull request #973 from methane/fix-build-on-mac
Add mono_threads_core_set_name() on Mac.
INADA Naoki [Mon, 31 Mar 2014 07:19:04 +0000 (16:19 +0900)]
Add mono_threads_core_set_name() on Mac.