Commit graph

2927 commits

Author SHA1 Message Date
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
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
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
Andy Schwartzmeyer
a8ad5aa068 Merge pull request #1272 from PowerShell/vors/gitignore
Update .gitignore
2016-07-05 13:21:19 -07:00
dantraMSFT
767e706645 Fix grammer on comment 2016-07-05 13:13:47 -07:00
dantraMSFT
6fa898a4e8 Comment out mc.exe search logic.
- It's not currently not used
- Search fails on clean systems that are setup exclusively using PowerShell's Full CLR setup instructions.
2016-07-05 13:03:25 -07:00
Andrew Schwartzmeyer
970641e691 Upload Travis CI packages to AWS
We need to cd into tools so that the downloaded PowerShell package isn't
subsequently uploaded to AWS.
2016-07-05 12:45:37 -07:00
Jason Shirk
765b009794 Merge pull request #1277 from PowerShell/jasonsh/vs_solution
Add csproj files and sln for editing but not building
2016-07-05 12:13:14 -07:00
Andrew Schwartzmeyer
985564416d Package PowerShell on Travis CI 2016-07-05 11:37:42 -07:00
Andrew Schwartzmeyer
b1621edbc9 Add packaging dependencies to Start-PSBootstrap 2016-07-05 11:37:42 -07:00
Raghu Shantha [MSFT]
602a82cdbb Merge pull request #1276 from PowerShell/RaghuS-PackagingBranch
Disable verbosity during package creation - now that we are stable
2016-07-05 10:55:22 -07:00
Andrew Schwartzmeyer
17a274b670 Update dependencies list 2016-07-05 10:41:43 -07:00
Jason Shirk (POWERSHELL)
efc83bbaa2 Add csproj files and sln for editing but not building 2016-07-05 10:27:41 -07:00
Raghu Shantha [MSFT]
934c73d4cd Disable verbosity during package creation - now that we are stable 2016-07-05 09:26:16 -07:00
Sergei Vorobev
2f9762bffc Update .gitignore 2016-07-03 23:06:35 -07:00
Jason Shirk (POWERSHELL)
07501f1d3a Add *.csproj.user to .gitignore 2016-07-01 17:37:19 -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
Andrew Schwartzmeyer
f70c0c51c2 Use ConsoleControl on Windows 2016-07-01 17:01:07 -07:00
Andy Schwartzmeyer
f5e2eb294b Add list of files excluded from ConsoleHost 2016-07-01 16:55:44 -07:00
Andrew Schwartzmeyer
c1168e1a24 Note that CursorSize throws on Windows when output is redirected 2016-07-01 16:46:44 -07:00
Sergei Vorobev
b26e58d2a2 Merge pull request #1260 from PowerShell/vors/events
Resources for Events and Modules restructure
2016-07-01 14:52:46 -07:00
Andrew Schwartzmeyer
c5df728176 Import PSReadLine change to throw when redirected
A similar change was made to the Source Depot fork of PSReadLine, and
the behavior is depended on in the ConsoleHost. The host always attempts
to load PSReadLine, because a future version of PSReadLine will support
redirected input/output, and until then, PSReadLine must throw so that
the host correctly falls back to Console.ReadLine().
2016-07-01 14:36:15 -07:00