Andrew Schwartzmeyer
50e6627a8e
Throw PlatformNotSupported on Windows .NET Core build
2016-07-08 14:08:22 -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
Sergei Vorobev
8e60baa2b3
Remove branches.md
...
It's not relevant anymore
2016-07-07 15:27:41 -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
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
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
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
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
731797c9e6
Add map.json file under the 'test' folder to track the tests that were moved
2016-07-06 15:56:47 -07:00
PowerShell Team
df15348557
Merge Get-TimeZone.Tests.ps1 and Set-TimeZone.Tests.ps1 to TimeZone.Tests.ps1
2016-07-06 15:52:18 -07:00
Dongbo Wang
c1d9316a3c
Disable 3 FileCatalog tests. They fail in CoreCLR OPS on AppVeyor build VM (Windows Server 2012R2), though they always pass on Windows 10
2016-07-06 15:08:51 -07:00
Andy Schwartzmeyer
12d378330a
Merge pull request #1279 from PowerShell/andschwa/artifacts
...
Build Linux and OS X packages on Travis
2016-07-06 14:41:45 -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
PowerShell Team
45791aa030
Add tests for TimeZone cmdlets and FileCatalog cmdlets [SD:717473]
2016-07-06 13:04:32 -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
Andy Schwartzmeyer
63f2c32765
Merge pull request #1284 from PowerShell/andschwa/fix-get-command-uses
...
Fix use of Get-Command when more than one exists
2016-07-05 19:19:51 -07:00
Alex Jordan
aefeb80108
Fixed scope issue in invokeitem
2016-07-05 18:20:02 -07:00
Alex Jordan
946280b4f3
Removing extra invokeitem test
2016-07-05 18:05:56 -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
Sergei Vorobev
dce4bad9d0
Merge pull request #1281 from PowerShell/dantra/build
...
Comment out mc.exe search logic
2016-07-05 14:26:28 -07:00
quoctruong91
54784cb77a
Expose Platform API from SMA and uses that in NuGetProvider
2016-07-05 14:16:35 -07:00