Commit Graph

3021 Commits

Author SHA1 Message Date
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
Andrew Schwartzmeyer
70ffa798a0 Switch to Xcode 8beta image
The 7.3 image is failing.
2016-07-08 13:09:35 -07:00
Andy Schwartzmeyer
4f98ee7418 Merge pull request #1316 from PowerShell/jasonsh/psreadline_windows_fixes
Fix UNIX/Windows/CORE story for PSReadLine
2016-07-08 09:48:49 -07:00
Sergei Vorobev
70e1872095 Merge pull request #1314 from PowerShell/vors/resgen-docs
Update docs about ResGen
2016-07-07 20:23:20 -07:00
Sergei Vorobev
298857023a Merge pull request #1318 from PowerShell/vors/branches
Remove branches.md
2016-07-07 20:22:51 -07:00
Alex Jordan
e8386bd4b9 changing logic around realpath in followsymlink 2016-07-07 15:46:58 -07:00
Sergei Vorobev
8e60baa2b3 Remove branches.md
It's not relevant anymore
2016-07-07 15:27:41 -07:00
Alex Jordan
0dc248b6f9 changes to logic in followsymlink 2016-07-07 15:02:23 -07:00
Alex Jordan
2a6b32ce5b Refactored followsymlink 2016-07-07 14:54:47 -07:00
Sergei Vorobev
aa7013ddeb Merge pull request #1302 from PowerShell/eslesar-contributing-docs
updating contributing.md with contributing to docs section
2016-07-07 13:15:57 -07:00
Dongbo Wang
d1fe951333 Merge pull request #1311 from PowerShell/dongbo/exclude-unneed-gen
Exclude the unneeded gen/*.cs for each target framework
2016-07-07 13:14:11 -07:00
Sergei Vorobev
e98a8a64f7 Update docs about ResGen
You don't need to alternate build.psm1 anymore, when you add resx files..
2016-07-07 12:49:30 -07:00
Sergei Vorobev
7ea99107ec Add more complex scenarios section to powershell-repository-101 2016-07-07 12:26:36 -07:00
Alex Jordan
64496d7bcc adding check for symlink to followsymlink 2016-07-07 12:12:16 -07:00
Jason Shirk (POWERSHELL)
c0b16d7bf5 Skip tone/duration on beep on LINUX 2016-07-07 12:07:52 -07:00
Jason Shirk (POWERSHELL)
372d69583f Only use CHAR_INFO on Windows
CHAR_INFO has 4 bits for ConsoleColor.  On Linux, ConsoleColor is sometimes -1 (unknown),
which is a 17th possible value for ConsoleColor, which can't be represented in CHAR_INFO.

To fix this, I've introduced a bigger type that gets converted to CHAR_INFO when necessary.
2016-07-07 12:07:52 -07:00
Jason Shirk (POWERSHELL)
e79c62f9ec Introduce TTYConsole for UNIX 2016-07-07 12:07:52 -07:00
Jason Shirk (POWERSHELL)
8e234322c4 First stab addressing CORECLR vs. LINUX in PSReadLine 2016-07-07 12:07:52 -07:00
Dongbo Wang
704f320eff Add 'TraceCommandStrings.resx' back to CoreCLR build. TraceCommand cmdlets have been ported in Github. 2016-07-07 09:54:30 -07:00
Dongbo Wang
15fbd76df8 Exclude the unneeded gen/*.cs files from the build for each target framework 2016-07-07 09:32:21 -07:00
Alex Jordan
86299552a1 Absolute filepath resolution for followsymlink 2016-07-07 09:31:08 -07:00
Andy Schwartzmeyer
6ced75352d Merge pull request #1304 from PowerShell/vors/pr-template
Simplify PR template
2016-07-06 23:45:07 -07:00
Sergei Vorobev
328f7b9984 Remove stub docs that should be platform specific 2016-07-06 20:42:16 -07:00
Sergei Vorobev
8af07f0d6f Remove out-dated git documentation 2016-07-06 20:42:16 -07:00
Sergei Vorobev
cb6ddf5131 Update git-related docs: basics and powershell-repository-101 2016-07-06 20:42:05 -07:00
Sergei Vorobev
680642d073 Update full build instruction, fix typo 2016-07-06 18:22:44 -07:00
Sergei Vorobev
91c77ccd08 Simplify PR template 2016-07-06 18:05:18 -07:00
Eric Slesar
4e7cf9e32f updating contributing.md with contributing to docs section 2016-07-06 17:35:32 -07:00