Commit Graph

2737 Commits

Author SHA1 Message Date
Chunqing Chen
d578e5f426 update project.json for consolehost to include microsoft.powershell.diagnostic 2016-06-15 15:27:06 -07:00
Chunqing Chen
7f7ce0617c Fix project.json in diagnostics 2016-06-15 15:27:06 -07:00
PowerShell Team
4e4a07c5e8 Copy files for Microsoft.PowerShell.Commands.Diagnostics [SD:714215]
Commit 2e2daeaff52930d981a31e0030d7161c4b45cc48
2016-06-15 15:27:06 -07:00
Chunqing Chen
61ea879f73 Add AssemblyInfo for Diagnostics 2016-06-15 15:27:06 -07:00
Chunqing Chen
29271ec2d7 Add map.json to src/Microsoft.PowerShell.Commands.Diagnostics 2016-06-15 15:27:06 -07:00
Chunqing Chen
d1015eddb2 Add project.json to src/Microsoft.PowerShell.Commands.Diagnostics/project.json 2016-06-15 15:27:06 -07:00
Andrew Schwartzmeyer
2192c31a64 Fix use of aliases in build.psm1
Also use git-dir to make Copy-MappedFiles location agnostic.
2016-06-15 13:56:29 -07:00
Andy Schwartzmeyer
a3ef5c213b Merge pull request #1081 from PowerShell/andschwa/slash-agnostic
Make PowerShell slash-agnostic on Linux
2016-06-15 12:55:36 -07:00
Andrew Schwartzmeyer
7d1ce65079 Mark tests as pending on Travis's OS X and on Windows
Because redirected `stdin` does not yet work on Windows, and because any
output based test does not yet work on OS X on Travis (where this is no
TTY), we cannot yet run these tests on those platforms.
2016-06-15 12:36:17 -07:00
v-alexjo
acd9249fe2 Added PORTABLE as define for debugging and reidented tests. 2016-06-15 12:33:11 -07:00
v-alexjo
f483429d11 Guarding Diagonstics to fix powershell debugging on Linux 2016-06-15 12:32:10 -07:00
v-alexjo
72cd28c336 Moving debugging tests out of Set-PSBreakpoint tests 2016-06-15 12:32:10 -07:00
Andrew Schwartzmeyer
0232f160ec Add backward slash in filename as known issue 2016-06-15 12:16:54 -07:00
Andrew Schwartzmeyer
af258919b7 Add tests for hierarchical paths 2016-06-15 12:16:54 -07:00
Andrew Schwartzmeyer
b30aabc12b Revert string comparison changes
These comparisons did not need to be changed as the input path is not
modified. The normalized relate path created from the stack (if this
code path is taken) is created with the correct path separators.
2016-06-15 12:16:54 -07:00
Andrew Schwartzmeyer
d162437b7b Remove string literals in registry provider 2016-06-15 12:16:54 -07:00
Andrew Schwartzmeyer
3262a4b3ec Fix GetDriveQualifiedPath for single root filesystems
Reverted to original code and fixed correctly.
2016-06-15 12:16:54 -07:00
Andrew Schwartzmeyer
3464f9aee3 Fix ExpandMshGlobPath for single root filesystems
Reverted to original code and fixed correctly.
2016-06-15 12:16:54 -07:00
Andrew Schwartzmeyer
ee40426fb3 Fix path root comparisons for Linux
Assuming the path may not be normalized, to make PowerShell slash
agnostic in a filesystem whose "drive" is a '/' and a 'C:\', we need to
compare to both '/' and '\' for users of PowerShell's alternate path
separator on Linux ('\').
2016-06-15 12:16:54 -07:00
Andrew Schwartzmeyer
a8f93c3c64 Fix the alternate path separator for Linux
Because normalization of paths occurs through the location globber and
filesystem provider by way of `path.Replace(alternate, default)`,
changing the alternate path separator on Linux to be '\' instead of
.NET's '/' let's PowerShell be "slash agnostic."
2016-06-15 12:16:54 -07:00
Sergei Vorobev
140cb4aece Merge pull request #1114 from PowerShell/andschwa/remove-resgen-artifacts
Remove resgen artifacts
2016-06-15 12:11:39 -07:00
Andrew Schwartzmeyer
4b3b48adec Remove resgen artifacts
This has been deprecated by building these files on the fly using a
template in PowerShell, instead of using the resgen Windows-only binary.
2016-06-15 11:20:19 -07:00
Andy Schwartzmeyer
e8e45914a6 Merge pull request #1113 from PowerShell/vors/resgen
Move resgen artifacts from submodules into src subfolders
2016-06-15 11:11:11 -07:00
Sergei Vorobev
65acf49845 Replace aliases by full names to fix build 2016-06-15 10:34:10 -07:00
Sergei Vorobev
94e3be208a Update resources.md doc, partialy fix #746 2016-06-15 10:34:10 -07:00
Sergei Vorobev
d92620dcf3 Move resgen artifacts from submodules into src subfolders
Submodule adds unnessesary complexity.
This commit removes dependency on pre-generated C# bindings.
Start-PsBuild -ResGen will call Start-ResGen.
It also has auto-detect logic to simplify first time expirience.
2016-06-15 10:34:10 -07:00
James Truher [MSFT]
209a30da00 Merge pull request #1098 from PowerShell/GetMemberCommandTest
Add Get-Member Pester Test and fix merged to master broken
2016-06-15 10:20:55 -07:00
Sergei Vorobev
c7af71ed0e Merge pull request #1107 from PowerShell/andschwa/exclude-files
Remove CORECLR guards
2016-06-14 22:00:27 -07:00
JumpingYang001
719c9fd5f3 Update fix for Get-Member Pester Test 2016-06-14 21:27:48 -07:00
Dongbo Wang
56bd5dea4b Merge pull request #1108 from PowerShell/dongbow/build-localaccounts
Dongbow/build localaccounts
2016-06-14 20:29:08 -07:00
JumpingYang001
bd61c5e88d Add Get-Member Pester Test and fix merged to master broken 2016-06-14 19:51:41 -07:00
Dongbo Wang
cae7b925a1 Bump windows-build submodule version for LocalAccounts 2016-06-14 17:04:58 -07:00
PowerShell Team
802630c261 Add source files for Microsoft.PowerShell.LocalAccounts [SD:709776]
Commit 15b1623
2016-06-14 17:02:50 -07:00
Dongbo Wang
1829beb917 Fix map.json for LocalAccounts 2016-06-14 16:59:38 -07:00
Dongbo Wang
d33cb11439 Update project.json files to build Microsoft.PowerShell.LocalAccounts 2016-06-14 16:56:05 -07:00
Dongbo Wang
e64773d446 Add map.json for LocalAccounts 2016-06-14 16:55:46 -07:00
Dongbo Wang
69769cede7 Fix build.psm1 to account for LocalAccount dll 2016-06-14 16:53:30 -07:00
Andy Schwartzmeyer
76e9b74418 Update unavailable cmdlets
These cmdlets were made available in b9bf32d96.
2016-06-14 16:26:40 -07:00
Andrew Schwartzmeyer
d16cfbd04f Work-around dotnet bug
The include must be duplicated because the root `buildOptions` is not
being applied "whenever compiling the project."
2016-06-14 16:21:36 -07:00
Andrew Schwartzmeyer
01f1c5348d Exclude FullCLR files from CoreCLR build 2016-06-14 16:21:17 -07:00
Andrew Schwartzmeyer
047525aa9d Revert unnecessary changes 2016-06-14 16:21:17 -07:00
Andrew Schwartzmeyer
69ce0e7107 Revert CORECLR guard from FullCLR files
This reverts the `if !CORECLR ... #endif` guard surrounding FullCLR
files by applying the original diff from the `source-depot` branch, thus
the accidentally overwritten BOMs were restored as well.
2016-06-14 16:06:48 -07:00
James Truher [MSFT]
ed590b95e7 Merge pull request #1097 from PowerShell/CompareObjectPesterTest
Fix merge to master broken for Compare-Object Pester Test
2016-06-14 15:06:16 -07:00
Andy Schwartzmeyer
63e13d9686 Merge pull request #1106 from PowerShell/andschwa/pin-dotnet
Pin .NET CLI to LKG version 1.0.0-preview2-003067
2016-06-14 14:03:11 -07:00
Andrew Schwartzmeyer
a184876b0a Pin .NET CLI to LKG version 1.0.0-preview2-003067
Also teach `Start-PSBootstrap` the parameters `Channel` and `Version` to
pass to .NET CLI's obtain scripts.
2016-06-14 13:33:19 -07:00
Sergei Vorobev
a03b8464f5 Change native powershell.exe from x86 to x64 2016-06-14 12:27:28 -07:00
Sergei Vorobev
4b51bbb976 Fix Start-ResGen to produce windows line-ends all the time 2016-06-14 12:18:30 -07:00
Sergei Vorobev
5763ad458d Merge pull request #1102 from PowerShell/vors/map
Add some intelligence to Copy-MappedFiles
2016-06-14 09:57:58 -07:00
Sergei Vorobev
029086e27c Add some intelligence to Copy-MappedFiles 2016-06-13 18:50:15 -07:00
Sergei Vorobev
41ebec2ef1 Merge pull request #1101 from PowerShell/vors/map
Enhance mappings story
2016-06-13 18:14:05 -07:00