Stephen Toub [Tue, 1 Sep 2015 14:54:41 +0000 (10:54 -0400)]
Merge pull request #1467 from janvorli/fix-curl-pinvoke
Fix PInvokes into libraries using pthread locks
Jan Vorlicek [Tue, 1 Sep 2015 11:25:55 +0000 (13:25 +0200)]
Fix pthread locks initialization issue
This change fixes a problem on Linux when pinvoke loads a shared library and
that library transitively uses pthread locks. In that case, the locks may
not be initialized yet and behave as nops, causing the thread synchronization
to not to work.
Linking corerun / coreconsole with pthreads ensures that the locks are always
properly initialized.
Jan Vorlicek [Fri, 28 Aug 2015 19:28:21 +0000 (21:28 +0200)]
Merge pull request #1455 from janvorli/ready-to-run-tests-2
Ensure ReadyToRun test verifies version resiliency
Jan Vorlicek [Fri, 28 Aug 2015 10:12:28 +0000 (12:12 +0200)]
Ensure ReadyToRun test verifies version resiliency
This change modifies the ReadyToRun test so that it verifies assembly version resiliency.
Jan Kotas [Fri, 28 Aug 2015 04:29:00 +0000 (21:29 -0700)]
Merge pull request #1446 from benpye/arm-regression-fix
Fix build regression for ARM.
Mike McLaughlin [Fri, 28 Aug 2015 01:40:22 +0000 (18:40 -0700)]
Merge pull request #1442 from mikem8361/cmdaliases
Enabled GCInfo, EEHeap, DumpRuntimeTypes and EHInfo SOS commands
Lakshmi Priya [Thu, 27 Aug 2015 23:42:55 +0000 (16:42 -0700)]
Merge pull request #1449 from Priya91/longpath-binder
Replace missed MAX_PATH defines with new defines in vm.
Mike McLaughlin [Thu, 20 Aug 2015 22:43:16 +0000 (15:43 -0700)]
Enabled GCInfo, EEHeap, DumpRuntimeTypes and EHInfo SOS commands.
Added some aliases for the most common commands:
bpmd -> sos bpmd
clrstack -> sos ClrStack
clrthreads -> sos Threads
dumpheap -> sos DumpHeap
dumpobj -> sos DumpObj
dso -> sos DumpStackObjects
eeheap -> sos EEHeap
gcroot -> sos GCRoot
ip2md -> sos IP2MD
printexception -> sos PrintException
Updated the debugging documentation.
Remove the "build.out" file unintentionally added.
Pat Gavlin [Thu, 27 Aug 2015 21:31:43 +0000 (14:31 -0700)]
Merge pull request #1406 from ANDREENKOS/SIMDTests
SIMD tests
Koundinya Veluri [Thu, 27 Aug 2015 20:32:05 +0000 (13:32 -0700)]
Merge pull request #1439 from kouvel/PalErrorOnNamedSyncObject
Return error upon attemping to create named objects in PAL
Lakshmi Priya Sekar [Thu, 27 Aug 2015 18:24:07 +0000 (11:24 -0700)]
Replace missed MAX_PATH defines with new defines in vm.
Lubomir Litchev [Thu, 27 Aug 2015 17:47:05 +0000 (10:47 -0700)]
Merge pull request #1445 from LLITCHEV/master
Fix for ref counting issue introduced in a recent optimization.
Sergey Andreenko [Sat, 22 Aug 2015 04:09:50 +0000 (21:09 -0700)]
New tests were added.
Some new SIMD tests were added, useless were deleted.
Tests, that are affected by issue 1441 are excluded.
mend
Sergey Andreenko [Tue, 18 Aug 2015 00:48:22 +0000 (17:48 -0700)]
SIMD tests
Commit includes SIMD tests of two types:
1) Intrinsic tests, that call functions from RyuJIT SIMD intrinsic list.
2) Bytecode tests, which generate different bytecodes in IL with SIMD
struct.
Matt Mitchell [Thu, 27 Aug 2015 15:39:16 +0000 (08:39 -0700)]
Merge pull request #1205 from benpye/pal-test-junit
runpaltests.sh outputs a XUnit compatible result file for Jenkins.
Ben Pye [Thu, 27 Aug 2015 03:27:46 +0000 (04:27 +0100)]
Fix build regression for ARM.
Allow mscorlib.dll to be built for non x64 platforms on Linux.
Lubomir Litchev [Thu, 27 Aug 2015 07:08:12 +0000 (00:08 -0700)]
Fix for ref counting issue introduced in a recent optimization.
A recent optimization failed to update references to a LclVar when a
bounds check node and index were intruduced. This change is making sure
the ref count is maintained properly.
Koundinya Veluri [Fri, 21 Aug 2015 18:43:34 +0000 (11:43 -0700)]
Return error upon attemping to create named objects in PAL.
Update PAL APIs that create named objects (mutex, semaphore, event, file mapping) to return a not-supported error code. It was decided to not support cross-process synchronization in PAL at present time due to complexities involved in reliably emulating Windows' behavior. @stephentoub has already made changes on the FX side to throw PlatformNotSupportedException in these cases.
Related to issue #1237.
Ben Pye [Wed, 26 Aug 2015 23:06:36 +0000 (00:06 +0100)]
Use printf instead of non standard -e
Ben Pye [Wed, 26 Aug 2015 22:40:33 +0000 (23:40 +0100)]
Try fixing FreeBSD PAL tests
Lakshmi Priya [Wed, 26 Aug 2015 22:03:10 +0000 (15:03 -0700)]
Merge pull request #1435 from Priya91/longpath-binder
Replace MAX_PATH with new defines in clr\src\binder.
Ben Pye [Sat, 4 Jul 2015 15:45:48 +0000 (16:45 +0100)]
runpaltests.sh outputs a XUnit compatible result file for Jenkins.
Jan Vorlicek [Wed, 26 Aug 2015 19:45:35 +0000 (21:45 +0200)]
Merge pull request #1437 from janvorli/ready-to-run-tests
Add ready to run tests
Jan Vorlicek [Mon, 18 May 2015 13:17:53 +0000 (15:17 +0200)]
Add ready to run tests
Add tests to verify ready to run handles versioning correctly.
Jan Vorlicek [Wed, 26 Aug 2015 13:40:01 +0000 (15:40 +0200)]
Merge pull request #1436 from janvorli/fix-gc-during-exception-handling-2
Fix corner case of GC stack walking during exception handling
Jan Vorlicek [Wed, 26 Aug 2015 10:34:25 +0000 (12:34 +0200)]
Fix corner case of GC stack walking during exception handling
This change fixes a corner case of GC stack walking during exception handling
that I have missed in my previous fix. When GC suspends a thread while it is
performing second pass of exception handling, in some cases the previous
exception tracker is already collapsed into the current one and so the
evidence on a frame being a parent of an already executed handler funclet
cannot be extracted from previous trackers and stack walker tries to pass
an outdated reference to GC.
Fortunatelly, the information about the parent from the collapsed tracker
is stored in the tracker into which the collapsed one was merged and
so we can test it using that.
Aditya Mandaleeka [Wed, 26 Aug 2015 01:34:04 +0000 (18:34 -0700)]
Merge pull request #1371 from adityamandaleeka/gcsuspension_2
Implement GC suspension for Linux [WIP]
Lakshmi Priya Sekar [Tue, 25 Aug 2015 23:19:37 +0000 (16:19 -0700)]
Replace MAX_PATH with new defines in vm.
Jan Kotas [Tue, 25 Aug 2015 20:59:38 +0000 (13:59 -0700)]
Merge pull request #1434 from kangaroo/pinvoke-stubs
[amd64] Implement the pinvoke stubs for unix
Lakshmi Priya Sekar [Tue, 25 Aug 2015 20:13:51 +0000 (13:13 -0700)]
Replace MAX_PATH with new defines.
Geoff Norton [Tue, 25 Aug 2015 01:30:12 +0000 (18:30 -0700)]
[amd64] Implement the pinvoke stubs for unix
Aditya Mandaleeka [Tue, 25 Aug 2015 02:24:13 +0000 (19:24 -0700)]
Detect whether we interrupted an epilog properly
Jeremy Kuhne [Tue, 25 Aug 2015 01:18:56 +0000 (18:18 -0700)]
Merge pull request #1381 from JeremyKuhne/maxpath
Run code under long paths on Unix
Jan Kotas [Tue, 25 Aug 2015 01:02:28 +0000 (18:02 -0700)]
Merge pull request #1428 from jkotas/readytorun-doc
Add ReadyToRun overview to documentation
Jan Kotas [Mon, 24 Aug 2015 11:50:43 +0000 (04:50 -0700)]
Add ReadyToRun overview to documentation
Jan Kotas [Tue, 25 Aug 2015 00:47:23 +0000 (17:47 -0700)]
Merge pull request #1432 from jkotas/rollback-1421
Re-enable JIT test
Jan Kotas [Tue, 25 Aug 2015 00:06:38 +0000 (17:06 -0700)]
Re-enable JIT test
Jeremy Kuhne [Wed, 12 Aug 2015 23:36:19 +0000 (16:36 -0700)]
Run code under long paths on Unix
This change allows the happy path for a simple corerun Hello World app.
This is pretty close to the bare minimum needed to run.
Adds a MAX_LONGPATH define for long paths and MAX_PATH_FNAME to use for
places where MAX_PATH is used for something that is trully 260 characters
(usually file names).
Jan Kotas [Mon, 24 Aug 2015 19:49:34 +0000 (12:49 -0700)]
Merge pull request #1431 from dotnet-bot/from-tfs
Merge changes from TFS
Bruce Forstall [Mon, 24 Aug 2015 18:07:39 +0000 (11:07 -0700)]
Fix bug 1213453 (GitHub issue #1421): incorrect EH scopes for optimized loops
(Port changeset 1518001 from CodeGen)
The bug occurs when fgOptWhileLoop() duplicates a condition from one 'try' region into another, and that condition throws an exception, such as for an array bounds check. This was the test case:
try
{
Console.WriteLine("try");
}
catch (IndexOutOfRangeException)
{
Console.WriteLine("bad");
result = FAIL;
}
while (a[42] != 0) {}
Before the fix, the "a[42] != 0" condition was duplicated into the 'try' region, thus causing an IndexOutOfRange exception to be thrown, and caught in the wrong region.
The main fix is to compare the 'try' region of the region where the condition exists and the region we intend to copy it to. The other changes, in optimizer.cpp and flowgraph.cpp, are "defense in depth" -- to be more careful with EH checks in two very similar optimizations.
This bug existed in AMD64 and ARM32.
There are 2 functions with ARM32 asm diffs.
There are 70 functions with AMD64 SuperAsm diffs.
There are many cases where we prohibit the optimization that caused the bug. There are a few cases where we don't do the optimization but could have if we were more careful about checking for precise EH conditions that are allowed, namely, that branching to the first block of a 'try' region is ok.
[tfs-changeset: 1518014]
Aditya Mandaleeka [Sat, 22 Aug 2015 19:27:29 +0000 (12:27 -0700)]
Merge pull request #1230 from jasonwilliams200OK/master
docs: Fixes link in docgen and config knobs
Mike McLaughlin [Sat, 22 Aug 2015 08:00:11 +0000 (01:00 -0700)]
Merge pull request #1423 from mikem8361/gcroot
Enable gcroot and other gc related sos commands.
Mike McLaughlin [Fri, 14 Aug 2015 01:36:31 +0000 (18:36 -0700)]
Enable gcroot and other gc related sos commands.
The "gcroot" command currently doesn't work with lldb 3.6 (our default package), but
works fine with lldb 3.7.0.
lldb 3.6 terminates with
(lldb) sos GCRoot
00007fffcc004ce8
*** Error in `lldb-3.6': munmap_chunk(): invalid pointer: 0x000000000184cde8 ***
PAL_STDCPP_COMPAT is the define that the VS team added to allow the xplat
headers to be used. This is neccessary for the whole SOS directory now
because gcroot and other gc commands need unorderd_map, unorderd_set, etc.
from the stdlib.
Had to change all wchar_t to WCHAR because the xplat stdlib default is UTF32.
Had to rename and provide macros that conflict with the stdlib:
wcslen -> _wcslen
wcsncmp -> _wcsncmp
wcsrchr -> _wcsrchr
wcscmp -> _wcscmp
wcschr -> _wcschr
wcscspn -> _wcscspn
wcscat -> _wcscat
__in -> ___in
__out -> ___out
max(a, b) -> _max(a, b)
min(a, b) -> _min(a, b)
Had to ifdef PAL_STDCPP_COMPAT a lot more of pal.h, palrt.h and some other header files.
Changed a bunch of L"" to W("").
Jan Kotas [Fri, 21 Aug 2015 23:57:18 +0000 (16:57 -0700)]
Merge pull request #1424 from andschwa/tpa-assertion
Remove Binder assertion for BindByWhereRef
Andrew Schwartzmeyer [Fri, 21 Aug 2015 22:51:23 +0000 (15:51 -0700)]
Remove Binder assertion for BindByWhereRef
Some use cases of CoreCLR require overriding the assembly load context,
triggering this assertion. However, this override does not necessarily
break support of BindByWhereRef, and so it should be attempted on a
best-effort basis, instead of bailing out prematurely.
Jan Kotas [Fri, 21 Aug 2015 22:54:49 +0000 (15:54 -0700)]
Merge pull request #1422 from jgalar/master
LTTng supports hardware context
Jérémie Galarneau [Fri, 21 Aug 2015 21:17:27 +0000 (17:17 -0400)]
LTTng supports hardware context
LTTng supports the annotation of events with perf hardware counters via the use of the "add-context" command.
Jan Kotas [Fri, 21 Aug 2015 04:18:57 +0000 (21:18 -0700)]
Merge pull request #1416 from jkotas/vs2015-autodetect
Auto-detect VS2015
Jan Kotas [Fri, 21 Aug 2015 03:36:28 +0000 (20:36 -0700)]
Disable test failing on VS2015
Failure tracked by #1421 RyuJIT generates incorrect exception handling scopes for IL generated by Roslyn
Jan Kotas [Thu, 20 Aug 2015 06:50:32 +0000 (23:50 -0700)]
Use volatile stores for values read by DAC
VS2015 optimizer is smart enough to optimize out stores into globals that are only read by the DAC.
Jan Kotas [Thu, 20 Aug 2015 06:48:50 +0000 (23:48 -0700)]
Turn on C# optimizations on two large tests
The debug IL generated by Roslyn is too complex and causes the test to fail with stack overflow.
Jan Kotas [Thu, 20 Aug 2015 04:12:40 +0000 (21:12 -0700)]
Auto-detect VS2015
Change build and tests scripts to detect VS2015 and use that if available by default
Jan Kotas [Fri, 21 Aug 2015 02:30:11 +0000 (19:30 -0700)]
Merge pull request #1413 from jkotas/atypical-callsite
Add CORINFO_CALLINFO_ATYPICAL_CALLSITE flag to JIT-EE interface
Jan Kotas [Thu, 20 Aug 2015 15:20:11 +0000 (08:20 -0700)]
Merge pull request #1418 from ytechie/patch-1
Fixed stray character typo
Jason Young [Thu, 20 Aug 2015 14:43:46 +0000 (09:43 -0500)]
Fixed stray character typo
Jan Kotas [Thu, 20 Aug 2015 05:48:01 +0000 (22:48 -0700)]
Complete support for atypical callsites
Jan Kotas [Wed, 19 Aug 2015 23:27:19 +0000 (16:27 -0700)]
Merge pull request #1415 from jkotas/acceptable-time-error
Fix timing in more PAL tests for FreeBSD on hypervisors
Jan Kotas [Wed, 19 Aug 2015 23:21:37 +0000 (16:21 -0700)]
Merge pull request #1410 from jkotas/vs2015-buildtools
Update buildtools version to fix VS2015 build
Aditya Mandaleeka [Wed, 19 Aug 2015 21:59:44 +0000 (14:59 -0700)]
Add config switch for thread suspension injection in clrconfigvalues.h
Jan Kotas [Wed, 19 Aug 2015 17:28:14 +0000 (10:28 -0700)]
Fix timing in more PAL tests for FreeBSD on hypervisors
Jan Kotas [Tue, 11 Aug 2015 15:18:32 +0000 (08:18 -0700)]
Rename ResolveNuGetPackageAssets to PrereleaseResolveNuGetPackageAssets
Jan Kotas [Tue, 11 Aug 2015 15:02:54 +0000 (08:02 -0700)]
Update buildtools version to 00079
Required by VS2015
Matt Ellis [Wed, 19 Aug 2015 05:18:12 +0000 (22:18 -0700)]
Merge pull request #1395 from ktos/patch-1
Updated to new syntax of dnx run
Nick Guerrera [Wed, 19 Aug 2015 03:26:16 +0000 (20:26 -0700)]
Merge pull request #1412 from nguerrera/remove-old-corefxpal
Remove PAL code that has been moved to the corefx repo
Jan Kotas [Wed, 19 Aug 2015 00:51:38 +0000 (17:51 -0700)]
Add CORINFO_CALLINFO_ATYPICAL_CALLSITE flag to JIT-EE interface
CORINFO_CALLINFO_ATYPICAL_CALLSITE is meant to be used in situations where the code generator cannot guarantee that the callsite can be disassembled by delay load helper (e.g. it is not call [rel32] on x86/x64)
Nick Guerrera [Tue, 18 Aug 2015 23:09:19 +0000 (16:09 -0700)]
Remove PAL code that has been moved to the corefx repo
Eric Erhardt [Tue, 18 Aug 2015 22:46:55 +0000 (15:46 -0700)]
Merge pull request #1397 from eerhardt/master
Handle newer tzfiles by allowing for the "big bang" transition.
Eric Erhardt [Tue, 18 Aug 2015 22:28:07 +0000 (15:28 -0700)]
Merge pull request #1409 from eerhardt/Fix2821
TimeZoneInfo is finding the wrong AdjustmentRule on Windows.
Eric Erhardt [Fri, 14 Aug 2015 21:23:39 +0000 (16:23 -0500)]
Handle newer tzfiles by allowing for the "big bang" transition.
In the TZ release 2014c, a new "big bang" transition time was added
to the beginning of the tzfiles. This broke the TimeZoneInfo parsing
logic because the transition time was for 13 billion years ago, which
is unrepresentable by DateTime.
To handle these new transitions, check for times really far in the past and future, and use DateTime.Min/Max to represent them. Then skip over any DateTime.MinValue times when generating the AdjustmentRules.
Fix https://github.com/dotnet/corefx/issues/2816.
Eric Erhardt [Tue, 18 Aug 2015 20:00:51 +0000 (13:00 -0700)]
TimeZoneInfo is finding the wrong AdjustmentRule on Windows.
TimeZoneInfo.IsAdjustmentRuleValid is no longer using the "dateOnly/whole-date" portion on Windows to check for the correct AdjustmentRule. This causes problems when converting times and determining if a time is daylight savings or not.
Fix https://github.com/dotnet/corefx/issues/2821
Marcin Badurowicz [Fri, 14 Aug 2015 20:20:42 +0000 (22:20 +0200)]
Updated to new syntax of dnx run and references to beta7
Extended PR#1393 to every documentation file as @jasonwilliams200OK noticed in
comments to bc1ba75. Changed documentation as well to reference more current,
beta7 versions.
Relevant annoucement is https://github.com/aspnet/Announcements/issues/52.
Stephen Toub [Tue, 18 Aug 2015 11:40:24 +0000 (07:40 -0400)]
Merge pull request #1405 from ellismg/build-mscorlib-on-linux
Build mscorlib on linux
Matt Ellis [Tue, 11 Aug 2015 05:36:57 +0000 (22:36 -0700)]
Build mscolrib.dll on Unix
Initial work to get mscorlib.dll building via Roslyn + MSBuild running
on top of Mono on Linux.
- Use a newer version of BclRewriter.exe which works cross-platform,
the major difference here is that now we need to specify the input
assembly as a named argument instead (since fully qualified paths on
Unix look like flags on Windows).
- The ResGen we use comes from Mono, which does not support the -d
flag, so we need to stop passing defines to ResGen. I know the mono
folks recently did some work to address this, but long term we need
to move towards getting our ResGen.exe running on CoreCLR and use
that instead.
- Don't require that mono is installed in order to build coreclr. If
mono is not on the path, skip the build step to enable folks to do
development without Mono. In this case, they will need to continue
to build mscorlib.dll on Windows, targeting Unix.
- Mono stability has been an issue for folks that have buddy tested
this. I've found that recent mono 4.2 builds, when run with the
Boehm GC work well for me. Other folks have other builds they like
instead. The `skipmscorlib` flag can be passed to build.sh if you
want to skip building mscorlib.dll locally.
Matt Ellis [Mon, 10 Aug 2015 23:45:38 +0000 (16:45 -0700)]
Remove unused resource string
StackTrace_Stack was conditional between Unix and Windows, which is
problematic when building on Unix, since the Mono provided ResGen does
not understand our define directives. It turns out this string is
unused (in both CoreCLR and Desktop) so to make things easier, we can
just remove it.
Nick Guerrera [Mon, 17 Aug 2015 23:55:05 +0000 (16:55 -0700)]
Merge pull request #1403 from nguerrera/revert-getfileinfo
Remove GetFileInformation stat wrapper from PAL
Nick Guerrera [Mon, 17 Aug 2015 04:54:49 +0000 (21:54 -0700)]
Remove GetFileInformation stat wrapper from PAL
It has been replaced by stat shims in corefx System.Native.
Reverts commits:
*
79ebe5605a94d559d2996997aec3cbcf8a4504c3.
*
0119283384f1bac80da8bb1736453c87d4f8e689.
Stephen Toub [Sun, 16 Aug 2015 12:19:09 +0000 (08:19 -0400)]
Merge pull request #1391 from AlexGhiondea/fixProject
Remove incorrect msbuild logic for creating relative paths
Stephen Toub [Sun, 16 Aug 2015 12:18:11 +0000 (08:18 -0400)]
Merge pull request #1399 from dotnet-bot/from-tfs
Merge changes from TFS
Peter Jas [Sat, 11 Jul 2015 18:58:34 +0000 (18:58 +0000)]
docs: Fixes link in docgen and config knobs.
Alex Ghiondea [Sat, 15 Aug 2015 05:17:29 +0000 (22:17 -0700)]
The newly introduced method PopulateAllSystemTimeZones was copied from a method that had the SecuritySafeCritical attribute but it does not have the attribute itself.
This change adds the attribute to the new method.
[tfs-changeset: 1514941]
Aditya Mandaleeka [Sat, 15 Aug 2015 02:15:16 +0000 (19:15 -0700)]
Merge pull request #1398 from dotnet-bot/from-tfs
Merge changes from TFS
Aditya Mandaleeka [Fri, 14 Aug 2015 23:52:07 +0000 (16:52 -0700)]
Merge pull request #1394 from dotnet-bot/from-tfs
Merge changes from TFS
Eric Erhardt [Fri, 14 Aug 2015 22:36:08 +0000 (17:36 -0500)]
Merge pull request #1378 from eerhardt/master
Make use of TimeZoneInfo.CachedData on Linux.
Joel Hendrix [Fri, 14 Aug 2015 21:37:25 +0000 (14:37 -0700)]
More xplat binplace clean-up.
Fixed up proj files for CLR and FxCore partitions.
Moved xplat build to phase one coreclr builds.
[tfs-changeset: 1514852]
Aditya Mandaleeka [Tue, 11 Aug 2015 01:32:31 +0000 (18:32 -0700)]
Add build-time check for existence of pthread_sigqueue and fix minor
issues.
Eric Erhardt [Tue, 11 Aug 2015 22:19:55 +0000 (17:19 -0500)]
Make use of TimeZoneInfo.CachedData on Linux.
Fix https://github.com/dotnet/corefx/issues/2497.
Joel Hendrix [Fri, 14 Aug 2015 18:39:35 +0000 (11:39 -0700)]
Consolidate enabling of xplat binary downloads into GetXPlatBinaries.targets.
Disable xplat build for SSV builds.
[tfs-changeset: 1514806]
Aditya Mandaleeka [Fri, 14 Aug 2015 18:35:36 +0000 (11:35 -0700)]
Merge pull request #1393 from ktos/patch-1
Updated to new syntax of dnx run
AlexGhiondea [Fri, 14 Aug 2015 18:31:17 +0000 (11:31 -0700)]
Merge pull request #1390 from AlexGhiondea/fix_1386
Rebuild the resource file when the input file changes
Aditya Mandaleeka [Fri, 14 Aug 2015 18:20:53 +0000 (11:20 -0700)]
Merge pull request #1392 from hackcraft/typo_retrive_retrieve
Fix typo "retrive" and "retrieved" to "retrieve" and "retrieved"
Marcin Badurowicz [Fri, 14 Aug 2015 17:50:35 +0000 (19:50 +0200)]
Updated to new syntax of dnx run
Syntax for running application changed from `dnx . run` into `dnx run` so last step in docs is always resulting in exception `System.InvalidOperationException: Unable to load application or execute command '.'.` thrown by dnx.
Jon Hanna [Fri, 14 Aug 2015 17:28:00 +0000 (18:28 +0100)]
Fix typo "retrive" and "retrieved" to "retrieve" and "retrieved"
Mostly just in comments, test case and trace text, but the exception
thrown if you try to GetInterfaceMap on an array type has it in
the description.
Matt Mitchell [Fri, 14 Aug 2015 15:45:22 +0000 (08:45 -0700)]
Merge pull request #1388 from ellismg/add-skip-mscorlib-to-build-sh
Add skipmscorlib option to build.sh
Alex Ghiondea [Fri, 14 Aug 2015 06:42:08 +0000 (23:42 -0700)]
Remove incorrect msbuild logic for creating relative paths
The logic was using Link to try and show mscorlib sources show up in VS.
Turns out the logic was both incorrect and not needed.
Alex Ghiondea [Fri, 14 Aug 2015 06:34:18 +0000 (23:34 -0700)]
Rebuild the resource file when the input file changes
When building mscorlib resources we are not taking into account the file
that contains the resource strings when deciding if we need to rebuild the
resources file.
Becasue of this, adding/modifying a resource string will not show up in the
build resource file until you delete the intermediate folder.
Jan Kotas [Fri, 14 Aug 2015 02:03:13 +0000 (19:03 -0700)]
Merge pull request #1387 from stephentoub/named_primitives
Throw PlatformNotSupported for named sync primitives on Unix
Matt Ellis [Fri, 14 Aug 2015 00:21:56 +0000 (17:21 -0700)]
Merge pull request #1385 from dotnet-bot/from-tfs
Merge changes from TFS
Matt Ellis [Thu, 13 Aug 2015 21:29:00 +0000 (14:29 -0700)]
Add skipmscorlib option to build.sh
In perperation for supporting mscorlib.dll builds on *NIX, provide a
switch for the CI system to disable building mscorlib as part of the
build, since we pick up the cross compiled Linux version and our mono
seems to crash often in CI.
Once this is checked in we can start having the CI jobs pass this
switch without causing an error, then have a future commit which
enables mscorlib building key off it.
stephentoub [Thu, 13 Aug 2015 23:28:17 +0000 (19:28 -0400)]
Throw PlatformNotSupported for named sync primitives on Unix
libcoreclr's synchronization primitives implementation currently supports names, but those names have process-wide rather than system-wide scope. This is very dangerous for most code that would want names, as they're typically used for cross-process synchronization, and as such the current behavior could lead to bad race conditions difficult to diagnose. Until a better solution is available, we will throw PlatformNotSupportedException when trying to create such named primitives.
Bryan Arant [Thu, 13 Aug 2015 20:21:22 +0000 (13:21 -0700)]
There was a testcase failing (Interop\WinRT\Exception\ManagedClientNativeServer\ExceptionTest.csproj).
The test checks that the HResult 0x8000000e maps to a System.InvalidOperationException.
What was happening: We returned a System.COMException with the message "A method was called at an unexpected time." (we're just constructing an exception based on an HR message).
What should be happening: We return a System.InvalidOperationException (i.e. we check against the exceptionKind maps for a specific HResult to map to an exception).
The point of failure is in the creation of the EEMessageException. When calling GetKindFromHR(...) we were inverting the boolean that uses the WinRT mappings.
Removing that inversion allows us to check the WinRT Exception Maps for exceptions. When I made this change, we correctly return the correct Exception.
Test coverage: I ran a full DDR, and the whole TOF (both against my build and against the newest build). All passed successfully (i.e. no additional failures).
[tfs-changeset: 1514327]