Commit Graph
100 Commits
Author SHA1 Message Date
Sergei Vorobev 25c89310a4 Bump MMI dependency to alpha04
alpha04 has following changes:
- libmi.so is not included in this package. It will be brough
  as a separate nuget package later.
- all unix runtimes are replaced by generic unix runtimes to
  enable easier builds on new unix platforms.
2016-08-02 17:54:07 -07:00
Sergei Vorobev 04c8cdbb20 Be smarter about nuget package names on appveyor 2016-08-02 14:48:46 -07:00
Sergei Vorobev 99249d0ff4 Update building instructions to use correct TOP directories 2016-08-02 13:17:48 -07:00
Sergei Vorobev fb2770392d Remove author tag from all project.json files 2016-08-02 12:39:30 -07:00
Sergei Vorobev 08fda6842a Replace powershell-based resgen by dotnet C# based one 2016-08-02 11:47:53 -07:00
Sergei Vorobev 483166ea60 Update .gitignore about .vscode 2016-08-02 11:45:50 -07:00
Sergei Vorobev db3274f103 Add dotnet-based resgen 2016-08-02 11:45:37 -07:00
Sergei Vorobev 5690b1a0d9 Add tests for Error stream 2016-08-01 18:40:51 -07:00
Sergei Vorobev 161940c9aa Don't apply red color to error stream output 2016-08-01 18:40:50 -07:00
Sergei Vorobev a12eff96c0 Change formatter for ErrorRecord
Fix #1465

On Linux, it's common to use error stream (2) as an information stream.
There is no errors in this case, it's just a way to report info.
When PowerShell redirects error stream, it wraps all output from stream 2
in NativeCommandError ErrorRecord.

That doesn't happen for interactive experience (when there is no
redirection), but it shows up in logs, scripting and non-console
powershell hosts (i.e. PowerShell ISE).

Here we change the formatter, so we are keeping the ErrorRecords
objects, but we are changing their default representation.

If it's a NativeCommandError, we don't use the regular ErrorRecord
formatter. It allows us keep ErrorRecord object,
but in redirection case it will look exectly like on the screen.

Also, we are change NativeCommandErrorMessage to use one line per
ErrorRecord to enable this scenario.
2016-08-01 18:39:57 -07:00
Sergei Vorobev e9606ac793 Change MMI package to alpha02 2016-07-29 12:24:02 -07:00
Sergei Vorobev dcde9bd583 Revert back to old MMI package, until we fix regression 2016-07-29 08:49:33 -07:00
Sergei Vorobev d5f3fd3f83 Fix Microsoft.PowerShell.GraphicalHost/map.json 2016-07-28 23:20:22 -07:00
Sergei Vorobev 3e6179112b Fix Microsoft.PowerShell.Commands.Utility/map.json 2016-07-28 23:15:19 -07:00
Sergei Vorobev dac906db3d Skip $input type test per #1563 2016-07-28 18:02:24 -07:00
Sergei Vorobev 0ac0f1962e Replace Uri.UriSchemeHttps by https in PackageListParser
Uri.UriSchemeHttps is not available on CoreCLR
2016-07-28 18:02:24 -07:00
Sergei Vorobev 2280bea11e Consolidate map.json files under Microsoft.PowerShell.Commands.Utility
Fix #1489
2016-07-28 18:02:24 -07:00
Sergei Vorobev a704a53f08 Make Get-Item env: case-aware on Unix
Fix #1196
2016-07-28 14:19:36 -07:00
Sergei Vorobev 845bc34f5a Update src/Modules/README.md 2016-07-28 12:38:24 -07:00
Sergei Vorobev 8889cada69 Update map.json in src/Modules 2016-07-28 12:36:34 -07:00
Sergei Vorobev 7a010bc407 Move Microsoft.PowerShell.ODataUtils to Full windows only modules
Fix #1548
2016-07-28 12:35:21 -07:00
Sergei Vorobev e7f07688ff Scope Microsoft.PowerShell.Security exported functions for unix 2016-07-28 12:33:25 -07:00
Sergei Vorobev aa0a00b6fb Fix Start-DevPowerShell to use upercase for PSMODULEPATH (unix) 2016-07-28 11:47:36 -07:00
Sergei Vorobev d591871b2c Add CI tag to SemanticVersion.Tests.ps1 2016-07-27 18:54:40 -07:00
Sergei Vorobev 06252836ea Make 'cd' go to the HOME directory 2016-07-27 18:43:19 -07:00
Sergei Vorobev ce5cc3ca37 Fix Start-DevPowerShell for PowerShellCore edition on windows 2016-07-27 12:27:41 -07:00
Sergei Vorobev 70ff0cef19 Fix Start-DevPowerShell call from appveyor.yml 2016-07-27 12:19:17 -07:00
Sergei Vorobev 2fe4764830 Fix Start-DevPowerShell for Unix 2016-07-27 10:55:42 -07:00
Sergei Vorobev 99e4b87cc6 Teach Start-DevPowerShell run CoreCLR version 2016-07-27 10:49:46 -07:00
Sergei Vorobev 6984d654b7 Make Start-PSBuild -SMAOnly Unix-friendly 2016-07-27 09:02:36 -07:00
Sergei Vorobev d8a040ca99 Add test for Add-Type System.Runtime.Serialization.Primitives.dll TPA 2016-07-26 17:53:52 -07:00
Sergei Vorobev 7d866679d0 Address some feedback
- Name fields more descriptive
- Use .AddRange instead of foreach
2016-07-26 17:45:49 -07:00
Sergei Vorobev bcac0ece62 Improve Start-PSBuild -Clean
Always do the clean in the root folder
2016-07-26 17:45:49 -07:00
Sergei Vorobev 3fd885ef2d Add-Type: add mscorlib.dll to the list of default references
Fix #1361
On CoreCLR 1.0.0 RTM the layout changed compare to RC2.
This change accounts for it.
This change also cleans up some left-overs for SecureString ref.
2016-07-26 17:45:49 -07:00
Sergei Vorobev 4450005a52 Fix TypeGen with the new layout 2016-07-26 16:59:45 -07:00
Sergei Vorobev e97af44674 Rename src/powershell-windows to src/powershell-win-core
- Update build.psm1
- Update docs
2016-07-26 16:48:57 -07:00
Sergei Vorobev 6626720e44 Introduce Microsoft.PowerShell.SDK
- introduce SDK project with our dependencies and CoreCLR framework
  for runtime.
- Move dependencies for Full from ConsoleHost to powershell-win-full
- make powershell-win-full Top-level project
- Change build.psm1 to do publish for -FullCLR build
- Update docs
2016-07-26 16:48:57 -07:00
Sergei Vorobev 3240a2d369 Fix ConvertFrom-Json to handle mutlilines
Fix #956

Add Newtonsoft.Json.JsonSerializationException to catch block
that determines which mode to use: single-string or multi-string
2016-07-26 11:11:44 -07:00
Sergei Vorobev 822e386926 Remove docs\README.md 2016-07-25 14:03:23 -07:00
Sergei Vorobev 639e669b7e Move files from docs/workflow to docs/dev-process
Remove branch-structure.md
2016-07-24 22:00:37 -07:00
Sergei Vorobev b1e3cc8276 Remove non-used link references 2016-07-24 09:55:44 -07:00
Sergei Vorobev 1427997898 Fix broken links 2016-07-24 09:55:10 -07:00
Sergei Vorobev c76651e850 Update .gitignore files 2016-07-24 09:17:22 -07:00
Sergei Vorobev ea3e7db598 Simplify Start-PSPester
Pester already handles folder vs file.
There is no need to have custom logic in Start-PSPester.
2016-07-22 17:46:12 -07:00
Sergei Vorobev 7f274a356d Update building/internals.md docs 2016-07-22 16:11:38 -07:00
Sergei Vorobev c4deb5d377 Update .gitignore to ignore dlls and pdbs 2016-07-22 16:11:38 -07:00
Sergei Vorobev 3674bacfa8 Copy pwrshplugin into the Full CLR version artifacts 2016-07-22 16:11:37 -07:00
Sergei Vorobev 875402ad53 Create separate Top-level directory per platform
- Replace src\powershell top level project by two
  new root-level projects:
    - src\powershell-unix
    - src\powershell-windows
- Break src\Modules into more granular structure:
  - Shared
  - Windows+Unix-Core
  - Windows-Core
  - Windows-Core+Full
  - Windows-Full
  - To be created: Unix-Core. We will do it as a separate PR
- Fix #1122 : Platform-specific set of Modules (and assemblies)
- Fix Start-TypeGen to work with new top level folders layout
2016-07-22 16:11:29 -07:00
Sergei Vorobev f78c796175 Update src/powershell-native/.gitignore 2016-07-22 13:00:02 -07:00
Sergei Vorobev 4c78fc5e7f Scope ExecutionPolicy tests to Process
Allow it run without admin escalation
2016-07-22 12:58:50 -07:00
Sergei Vorobev cf821a17a1 Remove *BinaryMiLog cmdlets 2016-07-21 16:55:20 -07:00
Sergei Vorobev 1d8a181f60 Move GITHUB_TOKEN in tools/download.sh 2016-07-21 10:51:59 -07:00
Sergei Vorobev 20c4172754 Remove unusable links from the source code 2016-07-20 16:55:00 -07:00
Sergei Vorobev 738d4ea005 Add Start-PSBuild -StopDevPowerShell switch 2016-07-19 19:55:49 -07:00
Sergei Vorobev 3f1ba7a605 Add Start-PSBuild -SMAOnly option for faster incremental builds 2016-07-19 19:55:49 -07:00
Sergei Vorobev 736eaade3c Add CimCmdlets module in the produced package of core modules 2016-07-15 13:25:38 -07:00
Sergei Vorobev a655c9a27b Add AssemlbyInfo.cs files
- Microsoft.WSMan.Runtime
- Microsoft.WSMan.Management
- Microsoft.Management.Infrastructure.CimCmdlets
2016-07-14 15:40:56 -07:00
Sergei Vorobev 58de8914b1 Downgrade Microsoft.WSMan.Management dependency so we can use the one from sources 2016-07-14 13:46:29 -07:00
Sergei Vorobev eb0d6905ab Fix ResourceManager instantiation in WsManHelper.cs 2016-07-14 13:46:29 -07:00
Sergei Vorobev 2afedf3eea Update documentation about resources 2016-07-14 13:46:29 -07:00
Sergei Vorobev 6c087155a7 Update PowerShellGithubDev.Tests.ps1 2016-07-14 13:46:29 -07:00
Sergei Vorobev 132d98e3c7 Add project.json files
- Microsoft.WSMan.Runtime
- Microsoft.WSMan.Management
- Microsoft.Management.Infrastructure.CimCmdlets
2016-07-14 13:46:29 -07:00
Sergei Vorobev 5802a02786 Add map.json files
- Microsoft.WSMan.Runtime
- Microsoft.WSMan.Management
- Microsoft.Management.Infrastructure.CimCmdlets
2016-07-14 13:46:29 -07:00
Sergei Vorobev 7ea99107ec Add more complex scenarios section to powershell-repository-101 2016-07-07 12:26:36 -07:00
Sergei Vorobev 328f7b9984 Remove stub docs that should be platform specific 2016-07-06 20:42:16 -07:00
Sergei Vorobev 8af07f0d6f Remove out-dated git documentation 2016-07-06 20:42:16 -07:00
Sergei Vorobev cb6ddf5131 Update git-related docs: basics and powershell-repository-101 2016-07-06 20:42:05 -07:00
Sergei Vorobev 680642d073 Update full build instruction, fix typo 2016-07-06 18:22:44 -07:00
Sergei Vorobev 6841a501fa Add missed files for powershell-native in map.json 2016-07-06 11:34:03 -07:00
Sergei Vorobev 44c98fa946 Remove extra comma in powershell/project.json 2016-07-01 14:04:55 -07:00
Sergei Vorobev b29948afbe Update docs\building\windows-full.md + typo fixes 2016-07-01 13:51:14 -07:00
Sergei Vorobev b7186b51f1 Fix typo in README.md 2016-07-01 13:20:04 -07:00
Sergei Vorobev cef3a9a3c9 Add missed export into Microsoft.WSMan.Management.psd1 2016-07-01 13:17:29 -07:00
Sergei Vorobev afa9aba8f1 Add missed types and format files into src/Modules/map.json 2016-07-01 13:16:53 -07:00
Sergei Vorobev df38b7c760 Fix Start-DevPowerShell call from appveyor 2016-07-01 13:16:53 -07:00
Sergei Vorobev ca321b9322 Improve Start-DevPowerShell
- Rename Start-DevPSGithub to Start-DevPowerShell
- Add Configuration parameter to Start-PSBuild
- Add -Command parameter to Start-DevPowerShell
2016-07-01 13:16:53 -07:00
Sergei Vorobev 1a98407ee2 Fix Pester call for FullCLR from appveyor.yml 2016-07-01 13:16:52 -07:00
Sergei Vorobev 4af2815740 don't call specific submodules init in CI: get them all 2016-07-01 13:16:52 -07:00
Sergei Vorobev c01ee38d5e Speed-up CimCmdlets FullCLR test 2016-07-01 12:20:48 -07:00
Sergei Vorobev 1035ed30ec Move Modules related notes from internals.md into src/Modules/README.md 2016-07-01 12:20:48 -07:00
Sergei Vorobev afbf9dd2e1 Update project.json files to take Modules only from src/Modules 2016-07-01 12:20:48 -07:00
Sergei Vorobev 0c2ed6f124 Update Modules map.json files 2016-07-01 12:20:48 -07:00
Sergei Vorobev 7e9fcaef29 Move modules for Core in Module/Core 2016-07-01 12:20:48 -07:00
Sergei Vorobev e4e3206621 Move modules for Full in Module/Full 2016-07-01 12:20:48 -07:00
Sergei Vorobev 12111b0e6f Move modules shared between frameworks in Module/Shared folder 2016-07-01 12:20:48 -07:00
Sergei Vorobev 916d17e958 Fix Microsoft.PowerShell.ConsoleHost/map.json 2016-07-01 12:20:48 -07:00
Sergei Vorobev 777ba09bce Add a simple test for Get-WinEvent on windows (Core + Full) 2016-07-01 12:20:48 -07:00
Sergei Vorobev c1d1b52869 Exclude map.json files from copyToOutput and publishOptions 2016-07-01 12:20:48 -07:00
Sergei Vorobev b755212f5d Fix GetEventResources problem in Microsoft.PowerShell.Commands.Diagnostics
-Move logic about instantiating ResourceManager in one place
-Add CommonUtils.cs to CoreCLR build
-Update resources generation with dotnet cli naming pattern
2016-07-01 12:20:48 -07:00
Sergei Vorobev 8d22c75fe8 GetEventResources.txt into GetEventResources.resx for Microsoft.PowerShell.Commands.Diagnostics resources 2016-07-01 12:20:48 -07:00
Sergei Vorobev ffbdb41fe5 Add Convert-TxtResourceToXml function to build.psm1 2016-07-01 12:20:48 -07:00
Sergei Vorobev db4b3a6083 Make DefineTypes aware of / as a path delimiter on non-windows systems 2016-06-29 14:28:09 -07:00
Sergei Vorobev 97e73d16ba Add map.json for Maml xsd schema files 2016-06-28 16:26:32 -07:00
Sergei Vorobev 934cda2d7d Add test for CimCmdlets module 2016-06-28 16:19:15 -07:00
Sergei Vorobev 96950e1c8e Add CimCmdlets.psd1 into src/Modules/map.json 2016-06-28 16:15:38 -07:00
Sergei Vorobev 56599d3514 Add tests for PSWorkflow and PSWorkflowUtility 2016-06-28 16:08:33 -07:00
Sergei Vorobev ca6bc352b4 Remove extra output from Copy-MappedFiles 2016-06-28 15:52:38 -07:00
Sergei Vorobev a640f69dd5 Add PSWorkflow files into map.json 2016-06-28 15:48:59 -07:00
Sergei Vorobev 5f5cd74f37 Move map.json for Microsoft.PowerShell.ConsoleHost\Modules in subfolder 2016-06-28 15:44:01 -07:00
Sergei Vorobev 05a703f535 gitignore CorePsTypeCatalog.cs 2016-06-28 15:07:46 -07:00