Wes Haggard [Fri, 20 Feb 2015 03:12:06 +0000 (19:12 -0800)]
Update README.md
Fixed broken contributing guide link.
AlexGhiondea [Fri, 20 Feb 2015 01:27:59 +0000 (17:27 -0800)]
Merge pull request #294 from AlexGhiondea/localPublish
Setup the CoreCLR repo to use the LocalPackagePublish mechanism.
Alex Ghiondea [Thu, 19 Feb 2015 00:26:30 +0000 (16:26 -0800)]
Setup the CoreCLR repo to use the LocalPackagePublish mechanism.
This will enable the 'local publish' of the CoreCLR package to a location where
it can be picked up by the CoreFx build. What this means is that you will be able
to build the CoreCLR package and use that to run the CoreFx tests on top of it.
Changes required to make this happen:
- Refactor the managed build to make sure the buildtools gets restored before
we attempt to use the targets it provides.
- Take a dependency to the Microsoft.DotNet.BuildTools to bring in the packages.targets
- Update the $(PackagesDir) to point to the <repo root>\packages to make it consistent with CoreFx
- Hook-up the LocalPackagePublish targets to the build of the CoreCLR NuGet packages
Jan Kotas [Thu, 19 Feb 2015 03:38:20 +0000 (19:38 -0800)]
Merge pull request #271 from kangaroo/more-va_list-safety
Remove PAL_printf_arg_remover
Jan Vorlicek [Thu, 19 Feb 2015 01:08:34 +0000 (02:08 +0100)]
Merge branch 'unix_issue177'
Jan Vorlicek [Wed, 18 Feb 2015 10:36:37 +0000 (11:36 +0100)]
Reflect CR feedback
Rename VirtualUnwind in PAL to PAL_VirtualUnwind
Move .cfi annotation inside macros and update PROLOG_WITH_TRANSITION_BLOCK
to use these macros. I've verified that the annotation is correct by
stepping through the asm code and verifying that the stack trace is
correct at every instruction.
Matt Ellis [Wed, 18 Feb 2015 05:34:28 +0000 (21:34 -0800)]
Merge pull request #292 from ellismg/remove-unix-specific-encoding-workaround
Remove Unix specific hack in Encoding.GetEncoding
Sergiy Kuryata [Wed, 18 Feb 2015 04:18:09 +0000 (20:18 -0800)]
Merge pull request #289 from kangaroo/master
Fix redefine of HAVE_FTRUNCATE_LARGE_LENGTH_SUPPORT
Matt Ellis [Wed, 18 Feb 2015 03:53:41 +0000 (19:53 -0800)]
Remove Unix specific hack in Encoding.GetEncoding
During Hello World bring-up for Unix, we ran into a crash which at the
time I thought was incorrectly due to some missing support in
globalization leading to a first chance exception being thrown.
Instead the problem was that due to a JIT bug, a hashtable that the
Encodings code tried to construct was getting bad data passed to the
constructor which caused an exception to try to be thrown. The change
I provided caused the hashtable codepath to not be taken and hence
masked the issue.
Now that the JIT bug is fixed, we can remove this workaround. I
verified that HelloWorld still runs on Unix with these changes.
Jan Vorlicek [Wed, 18 Feb 2015 00:54:15 +0000 (01:54 +0100)]
Merge pull request #284 from kangaroo/unix_issue177
Refactor libunwind to work on osx
Geoff Norton [Tue, 17 Feb 2015 23:51:53 +0000 (15:51 -0800)]
Fix redefint of HAVE_FTRUNCATE_LARGE_LENGTH_SUPPORT
Geoff Norton [Tue, 17 Feb 2015 21:02:44 +0000 (13:02 -0800)]
Move the UNWIND_CONTEXT_IS_UCONTEXT_T check into cmake as well
Geoff Norton [Tue, 17 Feb 2015 20:50:09 +0000 (12:50 -0800)]
Merge branch 'master' into unix_issue177
Conflicts:
src/pal/src/config.h.linux
src/pal/src/config.h.osx
src/pal/src/exception/seh-unwind.cpp
Geoff Norton [Tue, 17 Feb 2015 02:02:17 +0000 (18:02 -0800)]
Refactor linux libunwind to work on osx
libunwind on linux exposes the unw_context_t directly as a
ucontext_t, but on OSX its an opaque data structure. Additionally
UNW_REG_SP is read/write on OSX, but read-only on Linux. As such
we need to diverge the libunwind code a bit depending on what flavor
we are running on. There is one OSXTODO around the context pointers,
since we do not have unw_get_save_loc on OSX.
Sergiy Kuryata [Tue, 17 Feb 2015 17:18:15 +0000 (09:18 -0800)]
Merge pull request #283 from kangaroo/issue-281
The ftruncate tests eat up a lot of disk space, and build time -- disabl...
Geoff Norton [Tue, 17 Feb 2015 00:52:55 +0000 (16:52 -0800)]
The ftruncate tests eat up a lot of disk space, and build time -- disable them
Rich Lander [Mon, 16 Feb 2015 20:50:15 +0000 (12:50 -0800)]
Merge pull request #278 from richlander/richlander-ecma
Add type loader doc
Sergiy Kuryata [Mon, 16 Feb 2015 18:42:07 +0000 (10:42 -0800)]
Merge pull request #272 from kangaroo/pal-cleanup
PAL cleanup
Matt Mitchell [Mon, 16 Feb 2015 16:51:45 +0000 (08:51 -0800)]
Merge pull request #279 from richlander/richlander-ecma6
Update ECMA links to 6 ed
Jan Vorlicek [Mon, 16 Feb 2015 14:43:50 +0000 (15:43 +0100)]
Implement native stack unwinding for Linux
This change implements native stack unwinding using the libunwind on
Linux. I have also fixed bunch of issues / details in the related code:
1) 0x in front of %p inside format string
2) Subtraction of -1 from dl_info.dli_sname
3) Added .cfi_xxxx annotation to the CallDescrWorkerInternal and the
LEAF_ENTRY / LEAF_END macros.
4) Changed local labels in the CallDescrWorkerInternal to be prefixed by
.L to see the CallDescrWorkerInternal in the stack trace
5) Changed moveOWord to use movdqu - it was being called with one of the
parameters unaligned
Rich Lander [Mon, 16 Feb 2015 06:31:39 +0000 (22:31 -0800)]
Update ECMA links to 6 ed
dotnet-bot [Mon, 16 Feb 2015 06:14:13 +0000 (22:14 -0800)]
Add type loader doc
Rich Lander [Mon, 16 Feb 2015 05:27:56 +0000 (21:27 -0800)]
Merge pull request #277 from jonorossi/patch-1
Fixed syntax error in example code in mscorlib.md
Jonathon Rossi [Mon, 16 Feb 2015 05:17:17 +0000 (15:17 +1000)]
Fixed syntax error in example code in mscorlib.md
Jan Kotas [Sun, 15 Feb 2015 06:57:34 +0000 (22:57 -0800)]
Merge pull request #274 from richlander/master
Add authors to code guide
Rich Lander [Sun, 15 Feb 2015 05:46:48 +0000 (21:46 -0800)]
Add authors to code guide
Geoff Norton [Sat, 14 Feb 2015 21:12:03 +0000 (13:12 -0800)]
Remove PowerPC
Geoff Norton [Sat, 14 Feb 2015 21:10:15 +0000 (13:10 -0800)]
Remove solaris support
Geoff Norton [Sat, 14 Feb 2015 21:07:35 +0000 (13:07 -0800)]
Clean up pal configure stage
This commit removes a bunch of dead checks in the configure stage, as well
as fixing inconsistencies in HAVE_FTRUNCATE_LENGTH_ISSUE/HAVE_FTRUNCATE_LENGTH_BUG
off_t in file.cpp was declared after the goto, making it a protected scope, so it
needed to be moved up.
Geoff Norton [Sat, 14 Feb 2015 19:07:24 +0000 (11:07 -0800)]
Remove PAL_printf_arg_remover - what its doing is against the standards, and breaks on some platforms
Jan Kotas [Sat, 14 Feb 2015 07:35:17 +0000 (23:35 -0800)]
Merge pull request #269 from dotnet-bot/from-tfs
Merge changes from TFS
Jan Kotas [Sat, 14 Feb 2015 07:11:31 +0000 (23:11 -0800)]
Merge pull request #268 from kangaroo/master
di can be built, but still cannot be linked.
Jan Kotas [Sat, 14 Feb 2015 07:10:22 +0000 (23:10 -0800)]
Fix x86 build break
[tfs-changeset: 1415626]
Geoff Norton [Sat, 14 Feb 2015 06:01:19 +0000 (22:01 -0800)]
di can be built, but still cannot be linked.
Jan Kotas [Sat, 14 Feb 2015 03:09:36 +0000 (19:09 -0800)]
Merge pull request #266 from jkotas/simplify-ifdefs
Simplify platform ifdefs
Sergiy Kuryata [Sat, 14 Feb 2015 03:02:28 +0000 (19:02 -0800)]
Merge pull request #255 from kangaroo/pal-config-with-cmake
Refactor the PAL build configuration to detect at configure time
Jan Kotas [Sat, 14 Feb 2015 02:18:27 +0000 (18:18 -0800)]
Fixed comments, replaced references to Evanesco with ARM
Jan Kotas [Sat, 14 Feb 2015 01:02:03 +0000 (17:02 -0800)]
Merge pull request #267 from dotnet-bot/from-tfs
Merge changes from TFS
Geoff Norton [Fri, 13 Feb 2015 23:48:22 +0000 (15:48 -0800)]
Correct the return values for the ungetc check
Eugene Zemtsov [Fri, 13 Feb 2015 23:40:00 +0000 (15:40 -0800)]
Improve workaround description and limit it to just MS compiler
[tfs-changeset: 1415470]
Matt Mitchell [Fri, 13 Feb 2015 22:45:19 +0000 (14:45 -0800)]
Merge pull request #265 from mmitche/debug-dev-package
When building debug, author the development package with an appropriate name
Jan Kotas [Fri, 13 Feb 2015 22:14:10 +0000 (14:14 -0800)]
Simplify platform ifdefs
Simplify platform ifdefs like #if defined(_WIN64) || defined(_TARGET_ARM_) to #if !defined(_TARGET_X86_) based on @BruceForstall suggestion
Stephen Toub [Fri, 13 Feb 2015 21:22:47 +0000 (16:22 -0500)]
Merge pull request #261 from stephentoub/fix_semaphore
Implement CreateSemaphoreExA/W via CreateSemaphoreA/W
Geoff Norton [Fri, 13 Feb 2015 05:00:22 +0000 (21:00 -0800)]
Refactor the PAL build configuration to detect at configure time
The current PAL has binary check-ins of the config.h for Linux and MAC, long
term this is not sustainable. This is a first pass at cleaning this up.
Please note, there are some static platform independent defines as I tried to
keep consistency with the current outputs of the not-checked-in configure.in.
As we clean up the PAL the CMakeLists should be revisited and redundant pieces
removed.
Stephen Toub [Fri, 13 Feb 2015 20:36:51 +0000 (15:36 -0500)]
Implement CreateSemaphoreExA/W
Any managed code that touches the ThreadPool is currently crashing when the ThreadPool tries to initialize. This is due to it creating a semaphore via CreateSemaphoreExA/W in the pal, and those functions not being implemented.
This commit just implements those functions by delegating to their non-Ex counterparts. With this change, ThreadPool.QueueUserWorkItem, Task.Run, etc. are able to successfully schedule work and have it executed.
Matt Mitchell [Fri, 13 Feb 2015 20:26:31 +0000 (12:26 -0800)]
When building debug, author the development package with an appropriate name
AlexGhiondea [Fri, 13 Feb 2015 19:27:20 +0000 (11:27 -0800)]
Merge pull request #262 from AlexGhiondea/produceDevPackage
Update the CoreCLR nuspec to deploy the files under the aspnetcore5 folder
Alex Ghiondea [Fri, 13 Feb 2015 18:56:56 +0000 (10:56 -0800)]
Update the CoreCLR nuspec to deploy the files under the aspnetcore5 folder.
Matt Mitchell [Fri, 13 Feb 2015 18:47:53 +0000 (10:47 -0800)]
Merge pull request #245 from poizan42/fix-rm-intermediates
Fix wrong flag to rm when deleting intermediates folder.
Matt Mitchell [Fri, 13 Feb 2015 18:46:57 +0000 (10:46 -0800)]
Merge pull request #251 from shahid-pk/issue-243
Correctly locate Clang [Fixes 250]
Matt Mitchell [Fri, 13 Feb 2015 18:46:08 +0000 (10:46 -0800)]
Merge pull request #260 from henrybw/henrybw-define-complus
Add definition of "COMPLUS" to the glossary
Henry Baba-Weiss [Fri, 13 Feb 2015 17:08:05 +0000 (09:08 -0800)]
Add definition of "COMPLUS" to the glossary
In the same vein as "COR" and "URT", the terms "COM+"/"COMPLUS" appear frequently throughout the codebase, most notably in config settings (e.g. "COMPLUS_DefaultVersion"). I couldn't find any other explanation for what this means, and since I remember learning about it myself by asking older members of the team, I thought it would be helpful to have this documented for newcomers to the codebase.
Jan Vorlicek [Fri, 13 Feb 2015 15:31:38 +0000 (16:31 +0100)]
Merge pull request #259 from janvorli/linux-issue177
Modify the windows amd64 unwinder to work as jitted code unwinder on Uni...
Jan Vorlicek [Fri, 13 Feb 2015 10:33:23 +0000 (11:33 +0100)]
Modify the windows amd64 unwinder to work as jitted code unwinder on Unix
Update the windows amd64 unwinder from its source to the latest version
and add context pointers updating that was excluded before.
Change methods of the OOPStackUnwinder and OOPStackUnwinderAMD64 to be
static, since the base class has no data members and the unwinding is
always using the processor specific subclass.
Modify the code so that it is built in two flavors. The first one
is the DAC flavor which is used by the debugger. The second one will be
used for jitted code stack frames unwinding on non-Windows systems.
Jan Vorlicek [Fri, 13 Feb 2015 09:53:38 +0000 (10:53 +0100)]
Merge pull request #258 from sergiy-k/fix-sscanf-parsing
Fix sscanf implementation in PAL
Sergiy Kuryata [Fri, 13 Feb 2015 08:29:53 +0000 (00:29 -0800)]
Fix sscanf implementation in PAL
Implementation of sscanf was incorrectly handling cases where the input format was in the form of \93%2c\94, \93%2s\94, or \93%[\93 which could result in an access violation. The problem was that sscanf was calling sscanf_s with incorrect set of arguments. Implementation of sscanf_s expects to find the size of the target buffer in the list of its parameters but that parameter was not present in some cases. This change fixes this issue and re-enables previously disabled sscanf tests.
Matt Ellis [Fri, 13 Feb 2015 05:52:13 +0000 (21:52 -0800)]
Merge pull request #254 from ellismg/remove-locale-cpp
Remove locale.cpp from the PAL on OSX
Rich Lander [Fri, 13 Feb 2015 05:33:29 +0000 (21:33 -0800)]
Merge pull request #246 from akoeplinger/fix-botr
Improvements to docs
shahid-pk [Fri, 13 Feb 2015 00:00:11 +0000 (05:00 +0500)]
Correctly locate Clang [Fixes 243]
Addressing comments
Matt Ellis [Fri, 13 Feb 2015 02:23:02 +0000 (18:23 -0800)]
Remove locale.cpp from the PAL on OSX
The globalization plans no longer require these methods to be
implemented in the PAL, since we no longer call into the VM for
globalization support except on Windows.
It's possible that more stuff can be cleaned up here, and not just for
OSX, but I need to take a careful look at the use of codepages across the
runtime to understand if it's still needed.
Matt Ellis [Fri, 13 Feb 2015 02:01:18 +0000 (18:01 -0800)]
Merge pull request #252 from dotnet-bot/from-tfs
Merge changes from TFS
Eugene Zemtsov [Fri, 13 Feb 2015 01:12:40 +0000 (17:12 -0800)]
Workaround for an ARM specific MS C++ compiler bug
Due to a bug #1123874 in arm codegen, critical code path in mscordbi.dll became unusable making any managed debugging impossible on ARM.
[tfs-changeset: 1414914]
Bengu Li [Fri, 13 Feb 2015 00:50:18 +0000 (16:50 -0800)]
Merge pull request #249 from libengu/msilchookup_1
Expand the availability of MSILC JIT to all tests
Jan Vorlicek [Fri, 13 Feb 2015 00:16:38 +0000 (01:16 +0100)]
Merge pull request #244 from benpye/file-size-ex
Add GetFileSizeEx implementation to pal
Matt Mitchell [Fri, 13 Feb 2015 00:13:58 +0000 (16:13 -0800)]
Merge pull request #248 from mmitche/xunit-xml-output
Xunit xml output
Bengu Li [Fri, 13 Feb 2015 00:03:39 +0000 (16:03 -0800)]
Expand the availability of MSILC JIT to all tests
Matt Mitchell [Thu, 12 Feb 2015 21:49:53 +0000 (13:49 -0800)]
Spit out Xunit xml result files
Spit out the xunit result files, as well as make the directory for the xunit html result files consistent with the result of the logs. We should also be passing the include and exclude attributes to the xunit task
Ben Pye [Thu, 12 Feb 2015 22:42:43 +0000 (22:42 +0000)]
Cleanup GetFileSize test to reduce duplicated code
Ben Pye [Thu, 12 Feb 2015 22:26:25 +0000 (22:26 +0000)]
Pal tests should pass on windows
Ben Pye [Thu, 12 Feb 2015 21:12:39 +0000 (21:12 +0000)]
Error if the filesize pointer is null, improve GetFileSizeEx test.
Alexander Köplinger [Thu, 12 Feb 2015 21:08:04 +0000 (22:08 +0100)]
[docs] Replace smart quotes and ellipses with their ASCII equivalent
Bengu Li [Thu, 12 Feb 2015 20:41:21 +0000 (12:41 -0800)]
Merge pull request #242 from libengu/msilchookup
Hook up initial JIT tests for MSILC JIT
Kasper F. Brandt [Thu, 12 Feb 2015 20:38:39 +0000 (21:38 +0100)]
Fix wrong flag to rm when deleting intermediates folder. Fixes #243
Pat Gavlin [Thu, 12 Feb 2015 20:29:11 +0000 (12:29 -0800)]
Merge pull request #241 from pgavlin/AltJitFixes
Small fixes to enable AltJit support on UNIX.
Ben Pye [Thu, 12 Feb 2015 20:16:31 +0000 (20:16 +0000)]
Add GetFileSizeEx implementation to pal
AlexGhiondea [Thu, 12 Feb 2015 19:35:50 +0000 (11:35 -0800)]
Merge pull request #228 from shahid-pk/issue-225
Disable the 'trim_trailing_whitespace' fixes issue 225
Stephen Toub [Thu, 12 Feb 2015 19:30:26 +0000 (14:30 -0500)]
Merge pull request #188 from stephentoub/disable_etw_unix
Update FEATURE_MANAGED_ETW and disable it on Unix
Bengu Li [Thu, 12 Feb 2015 19:26:45 +0000 (11:26 -0800)]
Hook up initial JIT tests for MSILC JIT
Pat Gavlin [Thu, 12 Feb 2015 19:03:50 +0000 (11:03 -0800)]
Small fixes to enable AltJit support on UNIX.
- Load libcoreclr.so with the RTLD_GLOBAL flag set in unixxorerun s.t.
its exports are available for subsequently loaded libraries.
- Demangle PAL_TryExcept
- Replace a non-portable path separator character with the corresponding
portable definition from the PAL.
shahid-pk [Thu, 12 Feb 2015 07:19:32 +0000 (12:19 +0500)]
Disable the 'trim_trailing_whitespace' fixes issue 225
Matt Mitchell [Thu, 12 Feb 2015 17:51:15 +0000 (17:51 +0000)]
Merge pull request #136 from poizan42/cmake-locate
Make build.cmd lookup the install directory of cmake in the registry if ...
Matt Mitchell [Thu, 12 Feb 2015 17:45:19 +0000 (17:45 +0000)]
Merge pull request #220 from mmitche/issue-208
Fix rebuild issue with development package
Matt Mitchell [Thu, 12 Feb 2015 17:33:58 +0000 (17:33 +0000)]
Merge pull request #238 from poizan42/fix-spaces-linux-build
Fix build on paths with spaces and with llvm path with spaces.
Kasper F. Brandt [Sat, 7 Feb 2015 18:26:24 +0000 (19:26 +0100)]
Make build.cmd lookup the install directory of cmake in the registry if it's not on the path.
Jan Kotas [Thu, 12 Feb 2015 17:12:03 +0000 (09:12 -0800)]
Merge pull request #239 from kangaroo/master
[issue #232] Rename dispatchexceptionwrapper on the filesystem as well
Matt Mitchell [Thu, 12 Feb 2015 16:56:00 +0000 (16:56 +0000)]
Merge pull request #183 from poizan42/build-space-fix
Correct handling of paths with spaces and ampersands when building on windows
Geoff Norton [Thu, 12 Feb 2015 16:36:09 +0000 (08:36 -0800)]
Add missing license header
Geoff Norton [Thu, 12 Feb 2015 16:14:59 +0000 (08:14 -0800)]
[issue #232] Rename dispatchexceptionwrapper on the filesystem as well
Kasper F. Brandt [Thu, 12 Feb 2015 15:59:43 +0000 (16:59 +0100)]
Fix build on paths with spaces and with llvm path with spaces. Fixes #216
Rich Lander [Thu, 12 Feb 2015 15:50:24 +0000 (07:50 -0800)]
Merge pull request #237 from richlander/master
Add Rudi's GH handle to stackwalking doc
Richard Lander [Thu, 12 Feb 2015 15:38:08 +0000 (07:38 -0800)]
Add Rudi's GH handle
Rich Lander [Thu, 12 Feb 2015 15:12:57 +0000 (07:12 -0800)]
Merge pull request #236 from richlander/master
Update document links
Richard Lander [Thu, 12 Feb 2015 15:08:49 +0000 (07:08 -0800)]
Merge branch 'master' of https://github.com/dotnet/coreclr
Richard Lander [Thu, 12 Feb 2015 15:08:16 +0000 (07:08 -0800)]
Fix documentation links
Rich Lander [Thu, 12 Feb 2015 15:06:16 +0000 (07:06 -0800)]
Merge pull request #235 from richlander/master
Update documents
Richard Lander [Thu, 12 Feb 2015 14:59:03 +0000 (06:59 -0800)]
Make gittr link more visible
Richard Lander [Thu, 12 Feb 2015 14:56:50 +0000 (06:56 -0800)]
Update readme links to index page
Richard Lander [Thu, 12 Feb 2015 14:51:11 +0000 (06:51 -0800)]
Add documents index
Richard Lander [Thu, 12 Feb 2015 14:43:04 +0000 (06:43 -0800)]
Attribute stack walking doc to Rudi
Jan Kotas [Thu, 12 Feb 2015 14:30:55 +0000 (06:30 -0800)]
Merge pull request #223 from kangaroo/warning-clean
Clean up compiler warnings on the OSX build