Commit graph

1859 commits

Author SHA1 Message Date
TingLiu6
0802c32562 Merge branch 'master' of https://github.com/PowerShell/PowerShell into PesterTest_Temp 2016-03-24 19:50:03 -07:00
TingLiu6
2d622eedc0 Modify Pester test for New-Object 2016-03-24 19:40:39 -07:00
Andrew Schwartzmeyer
94e3a905bd Add VS Code launch and task files
This enables building PowerShell through VS Code. The build task
launches the installed version of PowerShell and runs
`Start-PSBuild` (after importing the module).

This enables a `launch` debug task to immediately debug the `powershell`
process, without having to attach to an external process.

The defaults of `justMyCode` and `stopAtEntry` have been reversed, so
that all code is debugged, and the process is stopped at entry for
easier debugging.

Note that an interactive PowerShell process requires access to `stdin`,
which the debug console does not provide, so once it requests access,
`System.Console` will throw a (correct) exception.
2016-03-24 16:26:05 -07:00
JumpingYang001
b4ec4bf0d8 Fix travis fail with different Mode format in special machine for FileSytemProvider xunit test 2016-03-24 02:02:50 -07:00
JumpingYang001
81a31ab07e Fix travis fail for FileSytemProvider xunit test 2016-03-24 01:38:35 -07:00
JumpingYang001
7c5a13ec74 Update FileSystemProviderTest to let all test method works for #120 2016-03-24 01:11:11 -07:00
Andy Schwartzmeyer
06ab38e757 Merge pull request #730 from PowerShell/rawui2
MegaPatch that includes all of #717, plus RawUI fixes
2016-03-23 17:56:46 -07:00
Andy Schwartzmeyer
00c2f53c56 Merge pull request #740 from PowerShell/paulcallen/shell-cleanup
Pull in latest PSRP fixes
2016-03-23 17:04:57 -07:00
Paul Allen
d7eb0e1612 Pull in latest psrp fixes 2016-03-23 16:34:29 -07:00
George Fleming
5e9c31107c Changes per Andy comments, and add revert of colors at end of PS 2016-03-23 16:17:06 -07:00
George Fleming
aab00e2ee1 Fixes UI-related bugs, and migrate Console.Write to myHost.UI.Write 2016-03-23 14:11:04 -07:00
George Fleming
d565462286 Reverse TreatControlCAsInput now that CoreFx fix has arrived 2016-03-23 14:11:04 -07:00
George Fleming
5a487f0836 Fix rendering issue with leading spaces, and added support for additional ctrl commands 2016-03-23 14:11:04 -07:00
George Fleming
d234ca2499 Add color to reverse search 2016-03-23 14:11:04 -07:00
George Fleming
2708d2bc08 Add Ctrl-R reverse search 2016-03-23 14:11:04 -07:00
George Fleming
89839b69e7 Render multi-line command as a single-line command 2016-03-23 14:11:04 -07:00
George Fleming
e713af87bb Adding support for Ctrl-K, Ctrl-Y, and Ctrl-L 2016-03-23 14:11:04 -07:00
George Fleming
2deb871ab2 Tested, except for reversed TreatControlCAsInput 2016-03-23 14:11:04 -07:00
George Fleming
cc0b25e515 Pending verification of TreatControlCAsInput 2016-03-23 14:11:04 -07:00
Andy Schwartzmeyer
d8de5d20bf Merge pull request #734 from PowerShell/typecataloggen
Fix type catalog generation
2016-03-23 13:16:50 -07:00
Andrew Schwartzmeyer
ea41c39859 Fix CoreCLR.Eventing dependency versions 2016-03-22 21:49:56 -07:00
Andrew Schwartzmeyer
e88e463315 Add regression test .NET class interop
This bug arose because of a shortcut previously taken when generating
input for the type catalog generator. With a proper parser created, the
input to the generator is now correct, and so this test should succeed.
2016-03-22 21:41:46 -07:00
Andrew Schwartzmeyer
d78852dd13 Update CorePsTypeCatalog with reference assemblies
Resolves #720
2016-03-22 21:17:05 -07:00
Andrew Schwartzmeyer
4f3d778b58 Update type catalog generator build script 2016-03-22 21:16:14 -07:00
Andrew Schwartzmeyer
e3960a832e Add type catalog parser project
Parses PowerShell's `project.lock.json` file and emits the list of
reference assemblies suitable for the type catalog generator.
2016-03-22 20:55:19 -07:00
Andy Schwartzmeyer
0a808f0b2d Merge pull request #686 from PowerShell/FileSystemProviderTest
Add FileSystemProvider xUnit test for issue 120
2016-03-22 20:48:23 -07:00
Andrew Schwartzmeyer
b47cf338a9 Delete Runtime facade
Deprecated with new lockfile parser.
2016-03-22 20:32:50 -07:00
JumpingYang001
31ec32896f Update Fact Skip for not work tests for FileSystemProvider xunit test 2016-03-22 20:23:37 -07:00
JumpingYang001
5c35053350 Update test fix for test_FileSystemProvider.cs 2016-03-22 20:23:37 -07:00
JumpingYang001
920bc1f3f8 Add FileSystemProvider xUnit test for issue 120 2016-03-22 20:23:37 -07:00
TingLiu6
bd51520505 Improve Pester Test for New-object #476 2016-03-22 19:58:34 -07:00
Andy Schwartzmeyer
80a9c10854 Merge pull request #725 from PowerShell/ComparisonOperatorTest
Add comparison operator tests for #219
2016-03-22 19:48:01 -07:00
Sergei Vorobev
cec1f8d4d0 Merge pull request #731 from PowerShell/vors/simplify
Prepare project.json files for mapping from submodule
2016-03-22 16:45:18 -07:00
Sergei Vorobev
f7c7a1a38e Simplify Microsoft.PowerShell.ConsoleHost/project.json 2016-03-22 15:32:29 -07:00
Sergei Vorobev
0db07f8435 Remove ConvertFrom-String cmdlet from build (see #726) 2016-03-22 15:29:19 -07:00
Andy Schwartzmeyer
586e2c0e7d Merge pull request #729 from PowerShell/eventing
Add Microsoft.PowerShell.CoreCLR.Eventing project
2016-03-22 15:10:12 -07:00
Sergei Vorobev
f742cad860 Bump submodule version to include !NOETW guards 2016-03-22 14:20:57 -07:00
Sergei Vorobev
b73e6da8e8 Add Microsoft.PowerShell.CoreCLR.Eventing project 2016-03-22 13:42:22 -07:00
Sergei Vorobev
e0a4363ca3 Bump submodules versions to include ETW changes 2016-03-22 13:37:43 -07:00
Sergei Vorobev
725525a747 Move NOETW define from framework to configuration
In System.Management.Automation we want to build ETW events
for CORECLR on windows
2016-03-22 13:36:41 -07:00
Andy Schwartzmeyer
2666316193 Merge pull request #728 from PowerShell/fix-xunit
Re-enable xUnit on Travis
2016-03-22 13:31:47 -07:00
Andrew Schwartzmeyer
ef91bf76d0 Revert "Disable xUnit tests on Travis"
This reverts commit a7e6a946b7.

Resolves #727.
2016-03-22 12:21:32 -07:00
Andrew Schwartzmeyer
75acfaeb88 Bump .NET Core packages to build 23922 2016-03-22 12:21:15 -07:00
JumpingYang001
8141baaa47 Add comparison operator tests for #219 2016-03-22 01:17:22 -07:00
Sergei Vorobev
ee932fdd24 Merge pull request #723 from PowerShell/vors/guards
Bump submodule version to include fix for #722
2016-03-21 18:19:15 -07:00
Sergei Vorobev
a2e5ea34e1 Bump submodule version to include fix for #722 2016-03-21 17:39:23 -07:00
Andy Schwartzmeyer
20935f6d02 Merge pull request #719 from PowerShell/platform-specific
Upgrade .NET Core packages
2016-03-21 15:54:00 -07:00
Andrew Schwartzmeyer
d5d0d29cf9 Fix use of install.ps1 on AppVeyor
Resolves #718.

The 1.0.0 builds are no longer in the "beta" channel.

Update version to 1888.
2016-03-21 14:31:41 -07:00
Andrew Schwartzmeyer
a7e6a946b7 Disable xUnit tests on Travis
The .NET Core xUnit runner is incompatible with build 23921. We have to
disable running the tests until dotnet/cli#1975 is resolved.
2016-03-21 14:31:41 -07:00
Andrew Schwartzmeyer
78defa739d Update CorePsTypeCatalog 2016-03-21 14:31:40 -07:00