Manikyam Bavandla
bb4eadba1d
Corrected a typo in $PSVariable
...
Corrected a typo in $PSVariable
2016-07-13 14:13:41 -07:00
Manikyam Bavandla
87db56d17f
Changes for Get-ChildItem, Select-Object, IsWindows, IsCore and IsLinux
...
Changes for Get-ChildItem, Select-Object, IsWindows, IsCore and IsLinux
2016-07-13 14:13:41 -07:00
Manikyam Bavandla
076ad7f8e9
Added mapping for $env:TEMP path in Linux.
...
Added mapping for $env:TEMP path in Linux.
2016-07-13 14:13:41 -07:00
Manikyam Bavandla
df271c48cc
PowerShellGet changes for Linux
2016-07-13 14:13:41 -07:00
Andy Schwartzmeyer
a39beee33d
Merge pull request #1264 from PowerShell/childitem
...
Fixing symlink to use absolute paths instead of relative
2016-07-13 12:57:26 -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
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
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
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
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
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
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
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
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
Alex Jordan
e8386bd4b9
changing logic around realpath in followsymlink
2016-07-07 15:46:58 -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
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
Indhu Sivaramakrishnan
75c0c3cb4d
Merge pull request #1301 from PowerShell/insivara-ps
...
Defining workflows is broken on OPS on FullCLR
2016-07-06 17:11:51 -07:00
Dongbo Wang
2f9be46eac
Merge pull request #1285 from PowerShell/dongbo/miss-files-ops
...
Add back missing files for OPS
2016-07-06 16:54:16 -07:00