Commit graph

2437 commits

Author SHA1 Message Date
Andrew Schwartzmeyer 8021247b43 Guard AmsiUtils in SessionState Init 2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer 2f73af53df Remove native host dependency for ConsoleHost
When Open PowerShell is built (as .NET Core project), `OPEN` is defined.
The `Start` function normally used as the entry point from PowerShell's
custom native host is instead the real `Main` entry point of the
program, so it can be launched from the `dotnet` host.

Because Core PowerShell depends on the native host to setup the custom
assembly load context, we do it here in managed code immediately on
start-up.
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer 6f425d0ffd Make ConsoleHost deploy profiles and native libraries 2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer 2d2d58cb23 Make ConsoleHost/AssemblyInfo portable 2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer ad9c4084d8 Make ConsoleHost emit powershell executable 2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer 0c62b9a12d Always build ConsoleHost as top project 2016-05-17 13:28:44 -07:00
Andy Schwartzmeyer 7c0cfb7873 Merge pull request #986 from PowerShell/andschwa/fix-cmdlet-example-packages
Pin cmdlet example packages to RC2
2016-05-17 13:28:17 -07:00
Andrew Schwartzmeyer cefa51b0d2 Pin cmdlet example packages to RC2
Otherwise builds fail because of RC3.
2016-05-17 12:34:50 -07:00
Andy Schwartzmeyer 04c9af65d6 Merge pull request #980 from PowerShell/vors/pkg
Add workaroud for OS X packaging utime bug
2016-05-17 10:49:31 -07:00
JumpingYang001 fb02fd76a6 Update ErrorAction from SilentlyContinue to Ignore for remove-item in Update-TypeData Pester test 2016-05-16 20:17:41 -07:00
JumpingYang001 3d6dae89a1 Update fixes based on lzybkr comments for Update-TypeData Pester Test 2016-05-16 19:52:47 -07:00
TingLiu6 10144d7c55 Fixed the CR issue 2016-05-16 19:52:47 -07:00
TingLiu6 dbd2a8f1b1 Fix the CR issue for Update-TypeData 2016-05-16 19:52:47 -07:00
JumpingYang001 c715e42f0f Update fixes based on comments for Update-TypeData Pester Test 2016-05-16 19:52:47 -07:00
JumpingYang001 97ded9ca80 Add Update-TypeData and Update-FormatData Pester Unit Test 2016-05-16 19:52:47 -07:00
TingLiu6 732b842f8b Fix CR Issues 2016-05-16 19:40:31 -07:00
Andrew Schwartzmeyer 357f38f26d Comment out template guidelines
Thanks @vors! This makes the guidelines not show up in the rendered
issue/pull request, but keeps the text in the source.
2016-05-16 15:04:24 -07:00
Sergei Vorobev 7ab2a51ae4 Add workaroud for OS X packaging utime bug 2016-05-16 14:53:40 -07:00
Andy Schwartzmeyer ad18c631b4 Merge pull request #970 from PowerShell/ConvertFromCsvDRTTests
Add Unit Test for ConvertFrom-Csv
2016-05-16 10:43:11 -07:00
Andy Schwartzmeyer 2b335d8442 Merge pull request #969 from PowerShell/ExportFormatDataCommandTests
Add Unit Test for Export-FormatData
2016-05-16 10:42:27 -07:00
Andy Schwartzmeyer 29ebef64d4 Merge pull request #967 from PowerShell/RemoveTypeDataCommandTest
Add Unit Test for Remove-TypeData
2016-05-16 10:41:12 -07:00
TingLiu6 2080920a64 Add Unit Test for ConvertTo-Csv 2016-05-16 00:36:59 -07:00
Andy Schwartzmeyer 9c6842dc4a Merge pull request #976 from PowerShell/vors/publish
Fix warning message in Start-PSBuild
2016-05-15 16:00:51 -07:00
Sergei Vorobev 9401e4f30f Fix warning message in Strt-PSBuild 2016-05-15 12:51:57 -07:00
Andy Schwartzmeyer 94f6c37a8d Merge pull request #973 from PowerShell/dantra/buildfix
Update location where Start-PSBuild expects to find dotnet.exe
2016-05-13 18:01:21 -07:00
dantraMSFT da0247f304 Update location where Start-PSBuild expects to find dotnet.exe 2016-05-13 16:49:39 -07:00
TingLiu6 c4beeb9f62 Fixed CR issues 2016-05-12 21:51:55 -07:00
TingLiu6 a9f6c90acc Fixed CR issues 2016-05-12 21:46:34 -07:00
TingLiu6 3360035d29 Add Unit Test for ConvertFrom-Csv 2016-05-12 01:42:15 -07:00
TingLiu6 f0de4321c8 Add Unit Test for Export-FormatData 2016-05-11 23:29:15 -07:00
TingLiu6 cd871b97a3 Fixed CR issues for Remove-TypeData 2016-05-11 19:46:56 -07:00
Andy Schwartzmeyer 2b28e1075f Merge pull request #968 from HemantMahawar/master
Added a readme to clarify where internal vs. public documents should go
2016-05-11 18:05:41 -07:00
Hemant Mahawar 2d03c22980 Added a readme to clarify where internal vs. public documents should go. 2016-05-11 15:19:17 -07:00
TingLiu6 0b97247cbf Add Unit Test for Remove-TypeData 2016-05-10 02:57:01 -07:00
Andy Schwartzmeyer 3897635a8a Merge pull request #965 from PowerShell/NewTimeSpanPesterTest
Add Unit Test for New-TimeSpan
2016-05-09 10:57:47 -07:00
Andy Schwartzmeyer 871d7bdc7e Merge pull request #964 from PowerShell/GroupObjectTests
Add Unit Test for Group-Object
2016-05-09 10:57:08 -07:00
Dicey Dai e7092ba393 Add Unit Test for New-TimeSpan 2016-05-08 21:45:04 -07:00
Ting Liu [Wicresoft] 9bf21a7460 Merge branch 'master' into GroupObjectTests 2016-05-07 17:38:16 +08:00
TingLiu6 7aa80eeb55 Add Unit Test for Group-Object 2016-05-07 02:24:08 -07:00
Andy Schwartzmeyer 4017aeb6fb Merge pull request #963 from PowerShell/andschwa/fix-appveyor
Pin AppVeyor to .NET CLI 1.0.0-rc2-002655
2016-05-06 14:29:06 -07:00
Andrew Schwartzmeyer ae24cfe86c Pin AppVeyor to .NET CLI 1.0.0-rc2-002655
The preview channel's latest is no good.
2016-05-06 13:57:19 -07:00
Andy Schwartzmeyer e19a1f0b3d Merge pull request #961 from PowerShell/andschwa/output-switch
Add -Output switch to fix debug story
2016-05-06 12:06:29 -07:00
Andrew Schwartzmeyer 63ab9fe681 Bump MMIN package to rc4
With the correct NETStandard.Library dependency.
2016-05-06 11:49:02 -07:00
Andrew Schwartzmeyer 1411ce2a46 Ignore the debug folder 2016-05-06 10:59:53 -07:00
Andrew Schwartzmeyer 339917a007 Add an FAQ about build failures 2016-05-06 10:59:15 -07:00
Andrew Schwartzmeyer 502cd381ea Note the pre-release VS Code requirements 2016-05-06 10:55:17 -07:00
Andrew Schwartzmeyer 77ffc715dc Make VS Code debug powershell with -NonInteractive 2016-05-06 10:48:01 -07:00
Andrew Schwartzmeyer 403ba4f735 Use -Output switch to fix VS Code debugging story 2016-05-06 10:30:48 -07:00
Andrew Schwartzmeyer eb92b28965 Add Start-PSBuild -Output switch
When specified, it will join the given path relative to the PowerShell
repository. This is useful to choose where the built artifacts will
end-up, which is necessary to fix VS Code tasks.
2016-05-06 10:28:45 -07:00
Andy Schwartzmeyer ce7e96d7fa Merge pull request #955 from PowerShell/ConvertFromStringDataTest
Add Unit Test for ConvertFrom-StringData
2016-05-06 10:02:23 -07:00