Commit graph

1455 commits

Author SHA1 Message Date
JumpingYang001 c42258cfac Add SessionStateInternal.Drives() xUnit test
Resolves #64
2016-03-17 19:10:23 -07:00
Andy Schwartzmeyer ed14e45b94 Merge pull request #690 from PowerShell/travis-xunit
Run xUnit tests on Travis
2016-03-17 18:32:28 -07:00
Andrew Schwartzmeyer 60ef5cd58d Add xUnit tests readme 2016-03-17 18:20:05 -07:00
Andrew Schwartzmeyer 6d93a1766b Add all classes to AssemblyLoadContext collection
To ensure that the initializer is called before any other code. This is
as close to a global init hook as I can find.
2016-03-17 18:15:39 -07:00
Andrew Schwartzmeyer b820817c84 Fix AssemblyLoadContext fixture
Resolves #676.
2016-03-17 17:36:06 -07:00
Andrew Schwartzmeyer 6ec3dc308e Build Linux configuration for xUnit tests 2016-03-17 17:18:01 -07:00
Andrew Schwartzmeyer 41260dd9c8 Run xUnit tests on Travis 2016-03-17 17:13:16 -07:00
Andrew Schwartzmeyer 79a9294379 Enable exit code from xUnit runner 2016-03-17 17:12:54 -07:00
Andy Schwartzmeyer d7a2ba713e Merge pull request #689 from PowerShell/throw-error-code
Fix powershell -c 'throw error'
2016-03-17 13:55:40 -07:00
Andrew Schwartzmeyer 1457082fd0 Fix powershell -c 'throw error'
When executing a single command block, two bugs existed.

1) Exceptions were not reported, instead it core dumped
2) The error code was not set, instead 0 was returned

Fixing 1) required calling `Execute` instead of `ExecuteHelper` as the
latter handles exception through `ReportException`.

Fixing 2) required setting the listener's error code when an exception
was thrown, and resetting it for each command when an interactive
session is running.
2016-03-17 13:32:10 -07:00
Andy Schwartzmeyer 9f868965af Merge pull request #688 from PowerShell/travis-module
Use Start-PSBuild on Travis
2016-03-17 13:09:29 -07:00
Andrew Schwartzmeyer b89a908e57 Build on Travis using PowerShell build module 2016-03-17 12:47:43 -07:00
Andrew Schwartzmeyer 412709c619 Bump Travis CI version to 1675
The latest in the feed, per the readme.
2016-03-17 12:47:43 -07:00
Andrew Schwartzmeyer 934304c17d Add download script to obtain PowerShell release
This requires that $GITHUB_TOKEN be set. Travis sets this as a secure
environment variable; a user can provider their own.
2016-03-17 12:47:43 -07:00
Andy Schwartzmeyer b579730be6 Merge pull request #681 from PowerShell/vors/readme
Add a note about VC++ in README.md
2016-03-16 23:58:38 -07:00
Andrew Schwartzmeyer 38a53d68b4 Improve readme 2016-03-16 23:49:26 -07:00
Sergei Vorobev b9283d04cc Add a note about VC++ in README.md 2016-03-16 17:23:52 -07:00
Andy Schwartzmeyer cbd1459fc9 Merge pull request #649 from PowerShell/colon-drive
Bump submodule version to include the new behavior for Drive:
2016-03-16 10:34:43 -07:00
James Truher [MSFT] 17d545b1e0 Bump submodule version to include the new behavior for Drive: 2016-03-16 10:27:22 -07:00
Andrew Schwartzmeyer 6e98692827 Revert "Update README.md"
This reverts commit 0908997a8e.

Fixes #675
2016-03-15 21:14:58 -07:00
Sergei Vorobev cd2b0dbb7b Merge pull request #672 from PowerShell/vors/vs2015
Fix #528 : make powershell.exe build with VS 2015
2016-03-15 15:36:43 -07:00
Sergei Vorobev cd3b0a02cb Update README.md to use Visual Studio 2015 2016-03-15 13:24:32 -07:00
Sergei Vorobev 9091d58bb7 Set AppVeyor image to Visual Studio 2015 2016-03-15 13:22:47 -07:00
Sergei Vorobev 99a55b7a72 Fix #528 : make powershell.exe build with VS 2015
Add legacy_stdio_definitions.lib to the list of linked assemblies
2016-03-15 13:06:26 -07:00
Sergei Vorobev 1920243165 Update git-101.md
add link to http://justinhileman.info/article/git-pretty/ [skip ci]
2016-03-15 11:35:51 -07:00
Sergei Vorobev 8878878b3c Update git-101.md
Add info about sync scenario [skip ci]
2016-03-15 11:33:14 -07:00
Sergei Vorobev c4a42a86f1 Update CONTRIBUTING.md
add information about branch names [skip ci]
2016-03-15 11:25:58 -07:00
Sergei Vorobev 781812e263 Update CONTRIBUTING.md
Remove duplicates from docs/git-*.md, add references.
2016-03-15 11:06:52 -07:00
Sergei Vorobev c64e058c40 Create git-101.md
This file contains:

- Install info
- Our favorite tutorials references 
- (Potentially) any general notes about git that we may want to include here
2016-03-15 11:01:09 -07:00
Sergei Vorobev b586f74176 Update and rename OperationalNotes.md to git-commit.md
Use git-* pattern for notes
2016-03-15 10:52:35 -07:00
Sergei Vorobev 29ce5f0633 Update CONTRIBUTING.md
Add reference to git-sd.md [skip ci]
2016-03-14 17:50:23 -07:00
Sergei Vorobev e9e4b6e4c7 Update CONTRIBUTING.md
Add section about Microsoft employees [skip ci]
2016-03-14 17:25:57 -07:00
Andy Schwartzmeyer bd241c04a6 Merge pull request #662 from PowerShell/new-packages
Update .NET packages to build 23914
2016-03-14 17:25:31 -07:00
Sergei Vorobev 5d776a8cdb Update git-sd.md
Add link to MS OSS Hub [skip ci]
2016-03-14 17:15:14 -07:00
Andrew Schwartzmeyer 3eeda101c3 Bump NETStandard.Library to 1.5.0-rc2-23911
The rc3-23914 version does not restore `System.Private.Uri` correctly,
but this version does. Bug reported to dotnet/corefx#6883.
2016-03-14 17:03:58 -07:00
Andrew Schwartzmeyer 9bd361abe1 Bump .NET package builds to 23914 2016-03-14 16:55:25 -07:00
Andrew Schwartzmeyer 447b3ef729 Update xUnit runner to netstandardapp1.5
This was enabled in dotnet/coreclr.xunit#12
2016-03-14 16:51:49 -07:00
Andrew Schwartzmeyer 830c6b50d2 Fix runtime facade package versions
These packages had their semantic versions get updated, but the
corresponding packages in the facade were forgotten.
2016-03-14 16:51:05 -07:00
Sergei Vorobev 107bb8bcb1 Create git-sd.md
Add some information for sd users about starting with git. [skip ci]
2016-03-14 15:06:30 -07:00
Andy Schwartzmeyer c541b2bc21 Merge pull request #659 from PowerShell/appcontext
Fix AppContext.BaseDirectory when remoting
2016-03-14 13:54:50 -07:00
Andrew Schwartzmeyer 5901e70dd0 Revert work-around in Json.Tests.ps1
This resolves #627.
2016-03-14 13:39:32 -07:00
Andrew Schwartzmeyer c87d99bba0 Bump omi-provider with AppContext.BaseDirectory fix 2016-03-14 13:38:25 -07:00
Andy Schwartzmeyer 02184b3c96 Merge pull request #657 from PowerShell/update-readme
Update readme
2016-03-14 12:32:55 -07:00
Zach Folwick 5d81f12b49 Add Experimental .NET Core Debugging in VS Code
[skip ci]
2016-03-14 12:29:15 -07:00
Andrew Schwartzmeyer 2beb92ce43 Add note on writing good commit messages 2016-03-14 12:29:07 -07:00
Andrew Schwartzmeyer 342a7530c7 Update FullCLR detailed build instructions
This was left out of date as of #655. It is also needed to be a
subsection of the detailed build notes section.

Some typos and superfluous information were fixed.
2016-03-14 12:29:07 -07:00
Andrew Schwartzmeyer a2974fa7fe Move Git installation instructions to contributing
The readme is getting quite large, so in an effort to shorten it, the
Git installation instructions (which have nothing to do with PowerShell,
but are helpful for new users), are now in `CONTRIBUTING.md`. Thus, if
someone is totally new to Git, they will be far more likely to review
our contributing guidelines, and so read our rules and best practices.

Cloning the source code was cleaned up so that initializing the
submodules is done in a separate step. This simplifies the first step,
making it more likely to succeed (and narrowing the possible failures).
2016-03-14 12:29:07 -07:00
Sergei Vorobev 0908997a8e Update README.md
Fix one old version of dotnet cli [skip ci]
2016-03-14 11:42:57 -07:00
Andrew Schwartzmeyer 724f9c4d4e Remove PsModulePath step from Windows instructions
This gets automatically set correctly thanks to #646.
2016-03-14 11:21:16 -07:00
Andrew Schwartzmeyer f3f4fa281d Fix PSRP build notes
These got split up. Moved them all to detailed build notes section.
2016-03-14 11:20:46 -07:00