Marius Ungureanu [Tue, 25 Nov 2014 14:03:34 +0000 (16:03 +0200)]
Update ProcessStartInfo to fix some inconsistency
Ungureanu Marius [Wed, 26 Nov 2014 10:59:32 +0000 (12:59 +0200)]
Introduce failing ProcessStartInfo tests.
Marcos Henrich [Wed, 26 Nov 2014 09:44:25 +0000 (09:44 +0000)]
ConsoleUi no longer breaks when the test runner returns null.
In case the test runner returns null we will no longer suffer a NullArgumentException and the collector exceptions will be printed.
The test runner was returning null because of an IOException "Too many open files" on NUnit side.
Zoltan Varga [Wed, 26 Nov 2014 05:39:58 +0000 (06:39 +0100)]
[jit] Resurrect the precise stack marking code.
Rodrigo Kumpera [Tue, 25 Nov 2014 23:31:05 +0000 (18:31 -0500)]
[corlib] Improve a test failure to be more actionable.
Rolf Bjarne Kvinge [Tue, 25 Nov 2014 14:46:07 +0000 (15:46 +0100)]
[mono-api-html] Colorize html output.
* Add support for colorizing the HTML output. This can be turned off if desired.
* Some changes are now reported inline (using colors/underline/strikeout)
instead of generating an removed/added pair. This makes the diff
a lot easier to read.
Marek Safar [Tue, 25 Nov 2014 13:44:04 +0000 (14:44 +0100)]
[corlib] Replace few threading types from reference sources
Jo Shields [Tue, 25 Nov 2014 12:49:26 +0000 (12:49 +0000)]
[msvc] Allow cygwin "make" to be called after winsetup.bat
As-is, winsetup.bat replaces config.h with winconfig.h, which is needed for the MSVC compilation - but breaks all further use of cygwin's make (e.g. to build the class library, or run "make install").
This patch introduces a new cygconfig.h as a backup prior to squashing config.h (if it exists, so the runtime can still be built without cygwin ever being used), and makes winconfig.h use it on non-MSVC compilers (i.e. cygwin)
Jo Shields [Tue, 25 Nov 2014 12:23:20 +0000 (12:23 +0000)]
[msvc] Fix MONO_INTERNAL undefined in Boehm
Jo Shields [Tue, 25 Nov 2014 10:13:03 +0000 (10:13 +0000)]
Fix "make dist" issue from MS.NET regex switchover
Marek Safar [Tue, 25 Nov 2014 09:25:02 +0000 (10:25 +0100)]
[corlib] Add check for collection modification during ForEach. Fixes #24775
Rolf Bjarne Kvinge [Tue, 25 Nov 2014 08:38:06 +0000 (09:38 +0100)]
Revert "[System] Ignore two tests which are failing due to external factors changing."
This reverts commit
597183658e04260ba493495bcff2da28222b48b8.
According to the comments on the commit [1], this has already been fixed.
[1] https://github.com/mono/mono/commit/
597183658e04260ba493495bcff2da28222b48b8
Rodrigo Kumpera [Mon, 24 Nov 2014 22:10:21 +0000 (17:10 -0500)]
Revert my last change to a submodule. ALL MY LOVE TO THOSE THAT INVENTED GIT SUBMODULES. <3
Rodrigo Kumpera [Mon, 24 Nov 2014 22:08:02 +0000 (17:08 -0500)]
[System.Core] Make one test much less likely to fail.
Zoltan Varga [Mon, 24 Nov 2014 21:40:01 +0000 (16:40 -0500)]
[Microsoft.Build.Tasks] Fix a net 2.0 failure.
Marek Safar [Mon, 24 Nov 2014 19:34:18 +0000 (20:34 +0100)]
[System.ComponentModel.DataAnnotations] Replace with .net implementation
Marek Safar [Mon, 24 Nov 2014 17:25:06 +0000 (18:25 +0100)]
Fixes build
irodriguez [Mon, 24 Nov 2014 17:07:51 +0000 (00:07 +0700)]
[Fix] WebClient to delay downloaded file creation
Fixed unwanted spaces, changed for tabs.
irodriguez [Mon, 24 Nov 2014 16:49:13 +0000 (23:49 +0700)]
WebClient delay file creation until a response is obtained
Marcos Henrich [Mon, 24 Nov 2014 16:26:55 +0000 (16:26 +0000)]
Update .csproj files to include .NET System.Text.RegularExpressions
Marek Safar [Mon, 24 Nov 2014 16:20:15 +0000 (17:20 +0100)]
Bring .NET implementation of concurrent collections
Marek Safar [Mon, 24 Nov 2014 15:48:52 +0000 (16:48 +0100)]
[mcs] Add special-cased HostProtectionAttribute handling
Miguel de Icaza [Mon, 24 Nov 2014 15:09:06 +0000 (10:09 -0500)]
Remove Mono's previous System.Text.RegularExpressions
Marek Safar [Mon, 24 Nov 2014 11:14:59 +0000 (12:14 +0100)]
Remove 2.0 profile csproj files
Marek Safar [Mon, 24 Nov 2014 11:13:45 +0000 (12:13 +0100)]
[System.Core] Switch to common SR class
Marek Safar [Mon, 24 Nov 2014 11:13:03 +0000 (12:13 +0100)]
Simplify System.Data makefile
Jo Shields [Mon, 24 Nov 2014 10:59:40 +0000 (10:59 +0000)]
Add SR.cs (for Reference Source regex implementation) to EXTRA_DIST
Jo Shields [Mon, 24 Nov 2014 09:51:35 +0000 (09:51 +0000)]
Fix case error causing build failure on case-sensitive filesystems
Zoltan Varga [Mon, 24 Nov 2014 07:15:28 +0000 (02:15 -0500)]
Remove net_2_0 reference from make dist.
Miguel de Icaza [Mon, 24 Nov 2014 04:16:39 +0000 (23:16 -0500)]
[System] Bring tests for open bugs on RegularExpressions that have now been fixed
Miguel de Icaza [Mon, 24 Nov 2014 02:39:53 +0000 (21:39 -0500)]
Add newline
Miguel de Icaza [Mon, 24 Nov 2014 02:37:26 +0000 (21:37 -0500)]
[System] Bring .NET implementation of System.Text.RegularExpressions
This patch brings .NET's implementation of the RegularExpressions
stack and brings some of the supporting infrastructure required to
build without resource files.
The build commands have been updated with two new defines to assist in
bringing .NET code: MONO (to indicate that the code is being compiled
as part of Mono) and a more granular DISABLE_CAS_USE that is used to
mark regions where Code Access Security is being used in the source
code, as Mono does not actually ship with a working CAS implementation.
Zoltan Varga [Mon, 24 Nov 2014 02:17:49 +0000 (21:17 -0500)]
[jit] Move the SHARED_EXT define to mono-dl.h, rename it to MONO_SOLIB_EXT.
Zoltan Varga [Mon, 24 Nov 2014 01:49:10 +0000 (20:49 -0500)]
[runtime] Remove conditional logic from LL_SO_OPEN() macro.
Zoltan Varga [Thu, 20 Nov 2014 17:53:39 +0000 (12:53 -0500)]
Fix the mcs-compileall test target.
Zoltan Varga [Thu, 20 Nov 2014 09:34:07 +0000 (04:34 -0500)]
Remove net 2.0 dependencies from mcs tests.
Zoltan Varga [Thu, 20 Nov 2014 09:18:02 +0000 (04:18 -0500)]
Remove build system support for the net 2.0/3.5 profiles.
Zoltan Varga [Sun, 23 Nov 2014 07:31:23 +0000 (02:31 -0500)]
Revert "[android] Add a workaround for ndk r10c defining RTLD_DEFAULT as 0 on 64 bit platforms."
This reverts commit
5ee92ecb768b73263f258a0d0fa1c8c676d12f88.
Revert this. There was already some android specific code in LL_SO_OPEN ().
Alexander Köplinger [Sun, 23 Nov 2014 02:14:25 +0000 (03:14 +0100)]
Remove --enable-nunit-tests option from build system
It isn't used anymore as the classlib tests are always enabled now during 'make check'.
Alexander Köplinger [Sat, 22 Nov 2014 14:41:37 +0000 (15:41 +0100)]
Added missing newline to net_4_0_System.Core.dll.sources (fixes Linux build)
Marek Safar [Sat, 22 Nov 2014 14:39:11 +0000 (15:39 +0100)]
Build fix
Marek Safar [Sat, 22 Nov 2014 12:48:38 +0000 (13:48 +0100)]
[system.core] Enable disabled test
Marek Safar [Sat, 22 Nov 2014 12:48:25 +0000 (13:48 +0100)]
Fixes typo
Marek Safar [Sat, 22 Nov 2014 12:35:38 +0000 (13:35 +0100)]
[system.core] Replace PLINQ implementation with .net version
Zoltan Varga [Sat, 22 Nov 2014 05:08:04 +0000 (00:08 -0500)]
[runtime] Add a wrapper around atexit () since it is missing on some android versions.
Zoltan Varga [Sat, 22 Nov 2014 04:16:44 +0000 (23:16 -0500)]
[android] Avoid referencing SYS_fork which is not defined in some ndk versions.
Zoltan Varga [Sat, 22 Nov 2014 04:15:27 +0000 (23:15 -0500)]
[android] Add a workaround for ndk r10c defining RTLD_DEFAULT as 0 on 64 bit platforms.
Zoltan Varga [Sat, 22 Nov 2014 04:14:41 +0000 (23:14 -0500)]
[android] Disable the usage of tkill () on android/arm64, the tkill () function is no longer there.
Zoltan Varga [Sat, 22 Nov 2014 01:39:49 +0000 (20:39 -0500)]
[runtime] Remove another getdtablesize () reference.
Zoltan Varga [Sat, 22 Nov 2014 01:31:30 +0000 (20:31 -0500)]
[runtime] Remove a getdtablesize () reference from eglib too.
Zoltan Varga [Sat, 22 Nov 2014 00:00:29 +0000 (19:00 -0500)]
Merge pull request #1420 from directhex/define_ssize_max_on_windows
[msvc] Define SSIZE_MAX if not already defined (i.e. on Windows)
Zoltan Varga [Fri, 21 Nov 2014 23:45:26 +0000 (18:45 -0500)]
[jit] Fix the AOT part of #24577, the epilog beginning was calculated using the code size, which can be different in AOT mode due to alignment padding between methods.
Rodrigo Kumpera [Fri, 21 Nov 2014 19:49:11 +0000 (14:49 -0500)]
Merge pull request #1423 from directhex/sgen_on_msvc
[msvc] Get sgen building on MSVC
Marek Safar [Fri, 21 Nov 2014 15:51:39 +0000 (16:51 +0100)]
[mcs] Add string type to the list of valid cast tokens
Marek Safar [Fri, 21 Nov 2014 14:20:40 +0000 (15:20 +0100)]
[mcs] Remove 2.0 profile dependency from one test
Marek Safar [Fri, 21 Nov 2014 13:33:11 +0000 (14:33 +0100)]
[system.net.http] Allow use of absolute url paths without scheme in HttpRequestMessage
Jo Shields [Fri, 21 Nov 2014 12:44:37 +0000 (12:44 +0000)]
[msvc] Add _SGen Configurations to {eglib,libgc,genmdesc}.vcxproj
These configurations are needed to build a Debug_SGen version of mono.vcxproj, which is needed to build mono-sgen.exe
Marek Safar [Fri, 21 Nov 2014 11:57:48 +0000 (12:57 +0100)]
[system.net.http] set-up cancellation before any WebRequest method is called. Fixes #24704
Jo Shields [Fri, 21 Nov 2014 10:42:55 +0000 (10:42 +0000)]
[msvc] Add missing sgen source files to libmonoruntime.vcxproj
Jo Shields [Fri, 21 Nov 2014 10:40:39 +0000 (10:40 +0000)]
[msvc] Refreshed .def files (needed for SGen to build)
Marek Safar [Fri, 21 Nov 2014 09:31:24 +0000 (10:31 +0100)]
[xbuild] Change default tools profile to still work with not yet removed 2.0 profile
Marek Safar [Fri, 21 Nov 2014 09:26:32 +0000 (10:26 +0100)]
[linq] optimize Take(0)
Marek Safar [Fri, 21 Nov 2014 09:08:27 +0000 (10:08 +0100)]
[system.data] Fixes DbEnumerator current property to clone read data. Fixes #24452
Jo Shields [Fri, 21 Nov 2014 08:59:49 +0000 (08:59 +0000)]
[msvc] Define SSIZE_MAX if not already defined (i.e. on Windows)
limits.h from MSVC does not include SIZE_MAX or SSIZE_MAX. We need the latter to build sgen, so define it.
Rodrigo Kumpera [Thu, 20 Nov 2014 23:33:33 +0000 (18:33 -0500)]
[profiler] Use the new hidden API to attach the helper thread as a tools thread. This makes JI lookup work more reliably.
Rodrigo Kumpera [Thu, 20 Nov 2014 23:32:53 +0000 (18:32 -0500)]
[jit] Don't sample threads that are not fully attached.
Rodrigo Kumpera [Thu, 20 Nov 2014 22:55:05 +0000 (17:55 -0500)]
[runtime] Introduce the notion of a tools thread.
A tools thread is one that can access core runtime structures but not touch anything managed (code or heap).
It's intended to enable the profiler to resolve missing backtraces from its helper thread.
THIS IS A HACK.
The right solution would be to not perform this on the profiler at all and simply log IPs and let the decoder
resolve them. But then there's reality and we can't simply break the current format without consequences.
We're taking this hack for now until we can fix the profiler to do something sensible.
Rodrigo Kumpera [Thu, 20 Nov 2014 22:44:26 +0000 (17:44 -0500)]
[utils] Add foreach variant that supports filtering the list as you go.
Mark Probst [Thu, 20 Nov 2014 19:12:27 +0000 (11:12 -0800)]
Merge pull request #1421 from BrzVlad/fix-monitor-resurrection
Fix monitor-resurrection test.
Vlad Brezae [Thu, 20 Nov 2014 18:57:00 +0000 (10:57 -0800)]
Fix monitor-resurrection test.
Try to avoid the pinning of the object that needs to be finalized.
Zoltan Varga [Thu, 20 Nov 2014 17:56:41 +0000 (12:56 -0500)]
Merge pull request #1419 from directhex/bump_msvc_VERSION
[msvc] Bump winconfig.h VERSION to match configure.ac
Jo Shields [Thu, 20 Nov 2014 17:11:43 +0000 (17:11 +0000)]
[msvc] Bump winconfig.h VERSION to match configure.ac
Unhelpfully, winconfig.h is used for building eglib, and it includes a hardcoded VERSION definition which needs to match configure.ac - otherwise msvc builds identify themselves as 2.11
Rodrigo Kumpera [Thu, 20 Nov 2014 17:10:23 +0000 (12:10 -0500)]
Merge pull request #1416 from jbevain/token-wrapper-data
[jit] Use the proper function to resolve classes
Marcos Henrich [Thu, 20 Nov 2014 16:15:46 +0000 (16:15 +0000)]
Changed ConcurrentBagTests.Bug24213 () to reuse variable array.
Marek Safar [Thu, 20 Nov 2014 14:43:21 +0000 (15:43 +0100)]
Merge pull request #1418 from esdrubal/concurrentbag
Fixed CyclicDeque array growth.
Marcos Henrich [Thu, 20 Nov 2014 14:22:58 +0000 (14:22 +0000)]
Fixed CyclicDeque array growth. Fixes 24213.
Changed CyclicDeque.PushBottom to resize the array when its size is equal to its length.
Marcos Henrich [Thu, 20 Nov 2014 14:19:42 +0000 (14:19 +0000)]
Test ConcurrentBag growth. Covers #24213.
Miguel de Icaza [Thu, 20 Nov 2014 13:13:57 +0000 (08:13 -0500)]
Merge pull request #1417 from directhex/fix_msvc_build
[msvc] Add a definition for _WIN32_WINNT to MonoPosixHelper
Jo Shields [Thu, 20 Nov 2014 13:05:10 +0000 (13:05 +0000)]
[msvc] Add a definition for _WIN32_WINNT to MonoPosixHelper
MonoPosixHelper fails to build in my testing, due to config.h bailing the
build out if it doesn't think the build platform is XP SP2 or higher.
Adding this define forces that minimum Windows version, allowing mono.sln
to build fully.
Marcos Henrich [Thu, 20 Nov 2014 12:12:49 +0000 (12:12 +0000)]
Added missing projects files to corlib-net_4_5.csproj
Jb Evain [Thu, 20 Nov 2014 10:50:35 +0000 (11:50 +0100)]
Test sizeof, mkrefany & refanyvalue in dynamic methods
They previously resulted in TypeLoadExceptions.
Jb Evain [Thu, 20 Nov 2014 10:39:41 +0000 (11:39 +0100)]
[jit] Use the proper function to get classes
For the opcodes sizeof, mkrefany and refanyval the jit
was resolving the operand tokens directly from the image.
In dynamic scenarios where the tokens are stored in the
wrapper data, this triggered TypeLoadExceptions.
This patch uses mini_get_class, as used everywhere else,
to resolve the operand tokens of those opcodes.
Zoltan Varga [Thu, 20 Nov 2014 09:45:44 +0000 (04:45 -0500)]
Fix #24577 correctly, cfg->code_len is the size of the code, while cfg->code_size is the size of the memory area allocated for code.
Zoltan Varga [Thu, 20 Nov 2014 05:06:03 +0000 (00:06 -0500)]
Fix a warning.
Zoltan Varga [Thu, 20 Nov 2014 05:05:33 +0000 (00:05 -0500)]
Fix a warning.
Miguel de Icaza [Thu, 20 Nov 2014 02:01:39 +0000 (21:01 -0500)]
Add referencesource submodule
Zoltan Varga [Thu, 20 Nov 2014 01:51:34 +0000 (20:51 -0500)]
Merge pull request #1411 from jbevain/sdb-frame-domain
[sdb] Expose the domain of the stack frames
Zoltan Varga [Thu, 20 Nov 2014 00:20:02 +0000 (19:20 -0500)]
[jit] Remove an unused interpeter file.
Zoltan Varga [Thu, 20 Nov 2014 00:12:52 +0000 (19:12 -0500)]
[jit] Remove some unused defines.
Mark Probst [Wed, 19 Nov 2014 20:46:08 +0000 (12:46 -0800)]
[sgen] Remove dead code.
Miguel de Icaza [Wed, 19 Nov 2014 19:05:03 +0000 (14:05 -0500)]
Merge pull request #1415 from ermshiperete/FixTruncatedButton
[MWF] Fix bug that truncates button text
Zoltan Varga [Wed, 19 Nov 2014 18:58:25 +0000 (13:58 -0500)]
Merge pull request #1414 from ExonyLimited/process-vmswap
Process.PagedMemorySize64 now returns value from /proc/PID/status
Eberhard Beilharz [Wed, 19 Nov 2014 18:48:27 +0000 (19:48 +0100)]
[MWF] Fix bug that truncates button text
A previous change (
885b065e) accidentally calculated the text size
in some places without padding. This resulted in a slightly to small
text rectangle, causing the text to be truncated.
Marek Safar [Wed, 19 Nov 2014 17:07:52 +0000 (18:07 +0100)]
Fixes build
Marek Safar [Wed, 19 Nov 2014 16:40:05 +0000 (17:40 +0100)]
[corlib] Capture awaited task exception stack. First part of #18629
Craig Minihan [Wed, 19 Nov 2014 13:56:48 +0000 (05:56 -0800)]
Process.PagedMemorySize64 now returns value from /proc/PID/status
Rolf Bjarne Kvinge [Wed, 19 Nov 2014 09:28:46 +0000 (10:28 +0100)]
Fix typo, there is no profile called 'xammaci'.
Mark Probst [Wed, 19 Nov 2014 01:59:16 +0000 (17:59 -0800)]
Merge pull request #1413 from BrzVlad/bin-prot-io
System calls for binary protocol writing
Vlad Brezae [Tue, 18 Nov 2014 02:12:37 +0000 (18:12 -0800)]
[sgen] Don't use standard C API for binary protocol IO.
This prevents deadlocks from libc locks when interrupting.
Zoltan Varga [Wed, 19 Nov 2014 01:54:12 +0000 (20:54 -0500)]
[sdb] Avoid asserts on shutdown when the appdomain unload callbacks are called on the debugger thread during shutdown. Fixes #24342.