Alex Jordan
64496d7bcc
adding check for symlink to followsymlink
2016-07-07 12:12:16 -07:00
Alex Jordan
86299552a1
Absolute filepath resolution for followsymlink
2016-07-07 09:31:08 -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
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
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
Indhu Sivaramakrishnan
2f3138e7bd
Updated AssemblyVersion for Microsoft.PowerShell.Workflow.ServiceCore
2016-07-06 16:17:16 -07:00
Dongbo Wang
c502b31509
Exclude the TimeZone/Computer/FileCatalog cmdlets for Linux. They use windows specific Win32 APIs
2016-07-06 13:04:51 -07:00
Dongbo Wang
b4641986a2
Update project.json files to exclude certain .resx files for each target framework
2016-07-06 13:04:31 -07:00
PowerShell Team
49fea9dac9
Add missing files for OPS [SD:717473]
2016-07-06 13:03:56 -07:00
Sergei Vorobev
423decfbc4
Merge pull request #1292 from PowerShell/vors/powershell-native
...
Missed powershell native sources
2016-07-06 12:22:55 -07:00
Quoc Truong
862b7f4982
Merge pull request #1282 from PowerShell/quoct/fixnugetprovider
...
Expose Platform API from SMA and uses that in NuGetProvider
2016-07-06 12:15:59 -07:00
PowerShell Team
7ff3763a82
Copy missed native-powershell files from [SD:717473]
...
commit 559488db3
2016-07-06 11:34:27 -07:00
Sergei Vorobev
6841a501fa
Add missed files for powershell-native in map.json
2016-07-06 11:34:03 -07:00
Alex Jordan
cc6dd39fa5
Merge pull request #1220 from PowerShell/invokeitem
...
Invoke-Item fix for Linux and OSX.
2016-07-06 10:30:30 -07:00
quoctruong91
35ac5999ac
Rename enum interface; Change location used in NuGetProvider to go up 1 level
2016-07-06 10:28:31 -07:00
Alex Jordan
aefeb80108
Fixed scope issue in invokeitem
2016-07-05 18:20:02 -07:00
Dongbo Wang
b4089414de
Add back missing files to OPS -- map.json/project.json udpates
2016-07-05 16:18:24 -07:00
Alex Jordan
e580941667
UseShellExecute moved to OS guards for Invoke-Item
2016-07-05 16:05:58 -07:00
Andrew Schwartzmeyer
eac57de216
Fix use of Get-Command when more than one exists
2016-07-05 16:02:06 -07:00
quoctruong91
54784cb77a
Expose Platform API from SMA and uses that in NuGetProvider
2016-07-05 14:16:35 -07:00
Jason Shirk (POWERSHELL)
efc83bbaa2
Add csproj files and sln for editing but not building
2016-07-05 10:27:41 -07:00
Jason Shirk
9a6655c147
Merge pull request #1246 from PowerShell/andschwa/guard-rawui
...
Guard RawUI when TTY is non-existent
2016-07-01 17:20:03 -07:00