Commit graph

2993 commits

Author SHA1 Message Date
Jianyun Tao f3b239510a Merge branch 'master' of https://github.com/PowerShell/PowerShell into jianyun/docs 2016-07-12 19:04:35 -07:00
Jianyun Tao bc62e17384 fixed a link 2016-07-12 19:01:03 -07:00
Jianyun Tao 0f096c96a4 Added debugging from PowerShell commandline 2016-07-12 18:56:36 -07:00
Jianyun 006eb1f734 Merge pull request #1339 from PowerShell/jianyun/docs
Created Learning PowerShell
2016-07-12 18:12:10 -07:00
Joey Aiello 76d8b45a93 Merge pull request #1335 from PowerShell/joey/refactor-docs
Joey/refactor docs
2016-07-12 17:12:39 -07:00
Travis Plunk 6ac0e1afdb Merge pull request #1336 from PowerShell/FixExecutionPolicyForWindows2
Fix execution policy for windows
2016-07-12 16:40:16 -07:00
Travis Plunk bf905966de Fixed comments and white space issues 2016-07-12 14:38:19 -07:00
joeyaiello 0eac00ed0b first pass of contributor docs
Rework of contributor docs to reflect actual flow
for both internal and external developers using
the PowerShell/PowerShell repo for the first time.
Includes updates to issue/PR guidelines, repo 101,
and CONTRIBUTING.md.
2016-07-12 13:39:36 -07:00
Jianyun Tao 062335f47a updated link in readme 2016-07-12 13:27:21 -07:00
Jianyun Tao ecb21e9544 Created Learn PowerShell 2016-07-12 13:21:15 -07:00
Travis Plunk dc632bff96 Fixed unreachable code issue 2016-07-12 12:11:07 -07:00
Travis Plunk 9a9ff6f766 Removed language if statement no longer needed due to compiler if statement
Clarified comment
2016-07-12 11:27:31 -07:00
Raghu Shantha [MSFT] ca1780255f Merge pull request #1334 from PowerShell/RaghuS-PackageManagementBranch
Exclude PackageSourceList from building on *nix platforms
2016-07-12 10:02:15 -07:00
Travis Plunk 1daa1073d8 Add Linux part of issue to known issues list 2016-07-11 19:26:29 -07:00
Travis Plunk db0637950f Ignored a per repo profile 2016-07-11 18:57:22 -07:00
Travis Plunk 5669e14dff Ported Execution policy tests
Made a fix to store data on testdrive instead of system drive
Made a note of where the tests where ported from
Skipped entire test file on non-windows machines
2016-07-11 18:54:34 -07:00
Travis Plunk 547d5da804 Made check blocking execution policy, only blocking (always returning true) on linux 2016-07-11 18:54:05 -07:00
Raghu Shantha [MSFT] eb4ddeee01 Update sources instead of project.json 2016-07-11 16:03:59 -07:00
Raghu Shantha [MSFT] 9121a807d5 Add exclude attribute to correct location in project.json 2016-07-11 14:48:50 -07:00
Raghu Shantha [MSFT] 3d1abb0b8c Exclude PackageSourceList from building on *nix platforms 2016-07-11 13:48:17 -07:00
Dongbo Wang bb32a9648b Merge pull request #1332 from PowerShell/dongbo/modules
Update and clean up module files in Core/Full/Shared folders
2016-07-11 13:06:40 -07:00
Dongbo Wang 7a1c81e1f4 Update and clean up module files in Core/Full/Shared folders 2016-07-11 11:26:49 -07:00
Andy Schwartzmeyer 43f07425e9 Merge pull request #1283 from PowerShell/andschwa/readlinesafe
Implement ReadLineSafe for Linux
2016-07-08 17:02:49 -07:00
Andrew Schwartzmeyer 64a5cae4cb Remove char k 2016-07-08 16:46:26 -07:00
Sergei Vorobev cb1c6e1245 Merge pull request #1305 from PowerShell/vors/docs
Update docs, assigned to Sergei
2016-07-08 16:25:24 -07:00
Andrew Schwartzmeyer 152b106375 Use Control-F/B for Right/Left arrow 2016-07-08 16:19:05 -07:00
Andrew Schwartzmeyer 7ae448f0b1 Blacklist control characters rather than whitelist 2016-07-08 16:17:32 -07:00
Andrew Schwartzmeyer 85aa47b489 Use Control-D for delete 2016-07-08 16:16:35 -07:00
Jason Shirk 5e1cbe0e5d Merge pull request #1328 from PowerShell/dongbo/type-completion
Fix issue #682 - [system.manage<Tab>] doesn't work
2016-07-08 16:16:32 -07:00
adityapatwardhan e1017523c1 Merge pull request #1327 from PowerShell/adityap/stackoverflow
Fix stackoverflow issue by using strongly typed resource names
2016-07-08 15:41:46 -07:00
Aditya Patwardhan 46b3a58c35 Fix stackoverflow issue by using strongly typed resource names 2016-07-08 15:01:35 -07:00
Andy Schwartzmeyer fbc74505c4 Merge pull request #1291 from PowerShell/andschwa/useshellexecute
Fix use of UseShellExecute for .NET Core
2016-07-08 14:50:18 -07:00
Andrew Schwartzmeyer 332397e955 Bump expect timeout for slow CI systems 2016-07-08 14:28:49 -07:00
Dongbo Wang 81b92583e1 Fix #682 - [system.manage<Tab>] doesn't work 2016-07-08 14:18:20 -07:00
Dongbo Wang da7f6ba3b2 Move the most recent changes about the ALC from SD to Github 2016-07-08 14:18:20 -07:00
Dongbo Wang 436b5c9f27 Exclude the P/invoke code that is not supposed to be in CoreCLR build 2016-07-08 14:18:20 -07:00
Andrew Schwartzmeyer 50e6627a8e Throw PlatformNotSupported on Windows .NET Core build 2016-07-08 14:08:22 -07:00
Andrew Schwartzmeyer 5dd5aaf007 ReadLineFromConsole improvements
Also more guarding in ReadLineSafe
2016-07-08 13:48:51 -07:00
Andrew Schwartzmeyer 8d23dad0ab Add Read-Host regression test 2016-07-08 13:48:51 -07:00
Andrew Schwartzmeyer 68875f0942 Handle Ctrl-C while prompting 2016-07-08 13:48:51 -07:00
Andrew Schwartzmeyer 3572367c00 Implement ReadLineFromConsole for Linux 2016-07-08 13:48:51 -07:00
Andrew Schwartzmeyer 53a3b760cd Remove ReadLineSafe from known issues 2016-07-08 13:48:51 -07:00
Andrew Schwartzmeyer 50e31e68bb Implement ReadLineSafe for Linux
This uses System.Console instead of ConsoleControl to read keys into a
SecureString in a portable manner. The Windows implementation is left
untouched.
2016-07-08 13:48:51 -07:00
Andrew Schwartzmeyer 6200f084cd Invoke-Item and Get-Help -Online are unsupported on Nano
These currently fail at runtime on Nano, and will continue to do so. But
this implements these much needed cmdlets for Open PowerShell.

If there is a way to determine that PowerShell is being run on the Nano
OS at runtime, then we could instead throw a platform unsupported
exception, but this cannot be based on the target compilation framework,
as .NET Core is shared for both Nano and Windows.
2016-07-08 13:48:36 -07:00
Andrew Schwartzmeyer 9a7199b05b Enable Invoke-Item test for Windows 2016-07-08 13:48:36 -07:00
Andrew Schwartzmeyer 09f20879b8 Guard use of UseShellExecute in PackageManagement
To re-enable elevation, the process will need to fork. For now, don't
fail fatally.
2016-07-08 13:48:36 -07:00
Andrew Schwartzmeyer ef2ba40ca7 Use start in Invoke-Item to open items on Windows
Since `UseShellExecute` cannot be used.
2016-07-08 13:48:36 -07:00
Andrew Schwartzmeyer afc1d8a459 Use start in Get-Help -Online to open URL on Windows 2016-07-08 13:48:36 -07:00
Andrew Schwartzmeyer ce2e5d6492 Set UseShellExecute to false in Get-Help 2016-07-08 13:48:36 -07:00
Andy Schwartzmeyer a746b5d1d2 Merge pull request #1324 from PowerShell/andschwa/fix-osx-travis
Switch to Xcode 8beta image
2016-07-08 13:48:20 -07:00