Commit graph

2818 commits

Author SHA1 Message Date
Jason Shirk (POWERSHELL)
4269398379 Fix Split-Path -NoQualifier for Unix paths 2016-06-30 12:59:04 -07:00
Jason Shirk (POWERSHELL)
bfc5b7e836 Revert Unix specific Split-Path -Qualifier code
The -Qualifier code for Split-Path made some incorrect assumptions:

* That a path only referred to the file system
* That drives cannot be used on Unix systems

These assumptions were both wrong, so I've reverted the change so we
do not have any Unix specific code in Split-Path now.

Fixes #1176
2016-06-29 14:12:29 -07:00
Andy Schwartzmeyer
9ed5c77df5 Merge pull request #1239 from PowerShell/andschwa/testrestructure
Restructure of Pester test layout
2016-06-29 12:34:52 -07:00
James Truher
1e1c4b7dc0 Restructure of pester test layout
This restructuring moves tests to a directory name which matches the module
in which the cmdlet resides which should improve the discoverability of a
specific test.
For tests which are not about cmdlets in a module, new directories have been
created to make those tests easier to find as well
2016-06-29 12:05:41 -07:00
Andy Schwartzmeyer
ef32e2339e Merge pull request #1235 from PowerShell/andschwa/alc-wip
Converge the AssemblyLoadContext scenario
2016-06-29 12:01:10 -07:00
Andrew Schwartzmeyer
fec2cb8b74 Use publish instead of build on Travis
AppVeyor also does this, and it's the scenario our packages ship, so
it's what we should test.
2016-06-29 09:52:32 -07:00
Dongbo Wang
297eda9721 Filter Assembly.Load requests to let the default context load TPAs 2016-06-29 09:50:41 -07:00
Andrew Schwartzmeyer
2e927d8155 Disable xUnit tests
This is temporary. We need to rewrite the test context to ensure the
AssemblyLoadContext is used properly, since the default can no longer be
initialized.
2016-06-28 20:08:11 -07:00
Andrew Schwartzmeyer
4086644de7 Disable JIT cache tests
This test fails since we've disabled the JIT cache entirely.
2016-06-28 20:08:11 -07:00
Andrew Schwartzmeyer
2360d1ef46 Filter runtime assemblies out of custom context 2016-06-28 19:19:55 -07:00
Andrew Schwartzmeyer
5a29df50f1 Re-enable assembly load handler in CompletionCompleters 2016-06-28 18:31:38 -07:00
Dongbo Wang
03c99586a4 Update ALC to work in publish scenario 2016-06-28 18:31:38 -07:00
Dongbo Wang
ca28391b38 Fix it for 'dotnet build' scenario 2016-06-28 18:31:38 -07:00
Dongbo Wang
66dcd00d93 Make AssemblyLoadContext a singleton and refactor 2016-06-28 18:31:38 -07:00
Andrew Schwartzmeyer
fdfd02ccda Remove TPA list work-around 2016-06-28 18:31:38 -07:00
Andrew Schwartzmeyer
c58c7d3543 Assert basePaths was not null 2016-06-28 18:31:38 -07:00
Andrew Schwartzmeyer
c78732d226 Remove ClrFacade.Load
Instead, rely on intercepting Assembly.Load
2016-06-28 18:31:38 -07:00
Andrew Schwartzmeyer
6356a5a778 Mimic InitializeDefaultLoadContext 2016-06-28 18:31:38 -07:00
Sergei Vorobev
bd21c84ece Merge pull request #1232 from PowerShell/vors/misc
Add misc missed files for modules
2016-06-28 16:58:22 -07:00
PowerShell Team
716459bfbf Copy Maml xsd schema files from [SD:717473]
commit 559488db3
2016-06-28 16:27:03 -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
PowerShell Team
3072b466ac Copy CimCmdlets.psd1 files from [SD:717473]
commit 559488db3
2016-06-28 16:16:00 -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
PowerShell Team
85f53d3d0b Copy PSWorkflow files from [SD:717473]
commit 559488db3
2016-06-28 15:53:19 -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
Sergei Vorobev
055185440d Merge pull request #1226 from PowerShell/vors/build
Add simple test for non-empty workflow, make it work
2016-06-28 14:54:07 -07:00
Andy Schwartzmeyer
b294a46d2e Merge pull request #1210 from PowerShell/andschwa/rtm
Update PowerShell to use .NET Core 1.0
2016-06-28 14:37:20 -07:00
Andy Schwartzmeyer
1b130b20e1 Merge pull request #1231 from PowerShell/vors/start
Exclude Microsoft.WSMan.Management from the list of default snapins
2016-06-28 13:58:09 -07:00
Sergei Vorobev
c4f268f7cd Add simple test for non-empty workflow, make it work 2016-06-28 12:59:25 -07:00
Andrew Schwartzmeyer
5e3150f429 Use Start-TypeGen to generate type catalog dynamically 2016-06-28 12:57:44 -07:00
Sergei Vorobev
e647549d0d Exclude Microsoft.WSMan.Management from the list of default snapins
Fix #1180
2016-06-28 12:14:18 -07:00
Sergei Vorobev
9eda67b00c Remove IsReadOnlyCaretVisible property from HelpWindow.xaml
Reason: msbuild v4 cannot resolve it
2016-06-27 17:01:07 -07:00
Raghu Shantha [MSFT]
718ecdc354 Merge pull request #1222 from PowerShell/RaghuS-MSIInstallerBranch
Added ability to choose install location when using MSI, fixed issue #1135
2016-06-27 16:46:56 -07:00
Raghu Shantha [MSFT]
1c5cd64251 Added ability to choose install location, issue #1135 2016-06-27 16:04:57 -07:00
Andrew Schwartzmeyer
36df477c01 Update type catalog without MMI 2016-06-27 15:30:47 -07:00
Andrew Schwartzmeyer
5744ca7b80 Exclude MMI packages from type catalog parser
Newtonsoft.Json will be excluded at a later date.
2016-06-27 15:30:47 -07:00
Andrew Schwartzmeyer
a3a0bb9a62 Add NETStandard.Library to CoreCLR.Eventing
As a bottom-level dependency, it always needed it. The alternative is
hunting down every particular dependency, but that's what the
meta-package is useful for.
2016-06-27 15:30:47 -07:00
Andrew Schwartzmeyer
2f892e8127 Use Marshal.ZeroFreeCoTaskMemUnicode
This removes the ClrFacade function of the same name as this API is in
.NET Core 1.0 Marhsal class, not SecureStringMarshal.
2016-06-27 15:30:47 -07:00
Andrew Schwartzmeyer
8be714ff68 Update CorePsTypeCatalog for new packages 2016-06-27 15:30:47 -07:00
Andrew Schwartzmeyer
db60a859cf Remove MyGet feeds 2016-06-27 15:30:47 -07:00
Andrew Schwartzmeyer
2f303f3822 Use dotnet-test-xunit package from NuGet 2016-06-27 15:30:47 -07:00
Andrew Schwartzmeyer
bf6b5be10d Use Microsoft.DotNet packages available on NuGet 2016-06-27 15:30:47 -07:00
Andrew Schwartzmeyer
d2aef87029 Depend on SecureString 4.0.0 2016-06-27 15:30:47 -07:00
Andrew Schwartzmeyer
f21618f119 Remove SecureString stub project 2016-06-27 15:30:47 -07:00
Andrew Schwartzmeyer
3f8fecd0dc Port TypeCatalogGen to .NET Core 2016-06-27 15:30:47 -07:00