Andrew Schwartzmeyer
9c0ee7072e
Use NuGet instead of aspnetvnext for CodeAnalysis
...
The aspnetvnext MyGet feed was unreliable, and we should prefer NuGet
anyway. This should make automated builds fail less often.
2016-02-09 12:50:24 -08:00
Andrew Schwartzmeyer
65ccb3f49d
Bump monad submodule with ClrFacade.Load refactor
2016-02-08 15:25:10 -08:00
Andrew Schwartzmeyer
a694ab7770
Bump monad with merge from Source Depot
2016-02-08 14:00:55 -08:00
Andrew Schwartzmeyer
e0d81406d1
Update FullCLR ConsoleHost dependencies
...
Such that only one publish command is required.
2016-02-05 12:12:33 -08:00
Andrew Schwartzmeyer
89ad38beae
Guard prompt function
...
Fixes #485 .
2016-02-05 11:51:17 -08:00
Andrew Schwartzmeyer
39183cb4c3
Remove versions from frameworkAssemblies
...
This should fix bug #499 where building complains about a restore not
having been done, even when it has.
2016-02-05 11:13:09 -08:00
Sergei Vorobev
706e6d7239
Make CMakeLists correctly build RELEASE
2016-02-03 17:22:18 -08:00
Sergei Vorobev
f7559991ce
Include msvcr120.dll runtime to powershell.exe
2016-02-03 15:43:16 -08:00
Andrew Schwartzmeyer
f42cf5985f
Fix guard in MMI's AssemblyInfo
2016-02-03 11:03:13 -08:00
Sergei Vorobev
48ae539f8f
Add strong-name signature to Microsoft.Management.Infrastructure
2016-02-03 10:51:37 -08:00
Sergei Vorobev
29349c04c8
Bump monad version to include UsesCodeSignedAssemblies() fix
2016-02-02 17:59:18 -08:00
Andrew Schwartzmeyer
15e2edefba
Bring back BufferWidth and BufferHeight
2016-02-02 17:05:57 -08:00
Andrew Schwartzmeyer
a4fd57298d
Revert "Skip BufferSize when not interactive"
...
This reverts commit 9a5c010f54
.
2016-02-02 17:05:49 -08:00
Andrew Schwartzmeyer
d31647f52c
Bump monad submodule with use of NOETW
2016-02-02 16:48:03 -08:00
Andrew Schwartzmeyer
9cfe821bc2
Add NOETW preprocessor definition to Automation
...
This is necessary to disable Tracing on Core PowerShell until the
reimplementation of the Eventing library is ported to CLI.
2016-02-02 16:46:51 -08:00
Andrew Schwartzmeyer
f1dc37bb37
Bump monad and windows-build submodules
2016-02-02 16:14:13 -08:00
Andrew Schwartzmeyer
75eba6fe88
Remove Computer.cs from Commands.Management
2016-02-02 16:11:36 -08:00
Sergei Vorobev
39153321d4
Add CMake project to build Windows powershell.exe
2016-02-02 16:08:58 -08:00
Andrew Schwartzmeyer
c8351063ef
Add file superset to Utility and Automation
...
To enable building on both Core and Full CLR with the same project.json
files, the superset of file dependencies for both builds must be
included. The set differences are applied by `CORECLR` preprocessor
guards around the files themselves.
The file name cases were corrected for case-sensitive filesystems.
2016-02-02 15:43:54 -08:00
Andrew Schwartzmeyer
bd79884b81
Update AssemblyInfo files for FullCLR build
2016-02-02 15:43:54 -08:00
Andrew Schwartzmeyer
989b59c089
Add Microsoft.PowerShell.ConsoleHost
...
For the Windows console.
2016-02-02 15:43:54 -08:00
Sergei Vorobev
b4f8d5237c
Add dnx451 to project.json files
2016-02-02 15:43:54 -08:00
Andrew Schwartzmeyer
92127e4cfc
Uses spaces instead of tabs in project.json files
2016-02-02 15:43:54 -08:00
Andrew Schwartzmeyer
172ddc6ad1
Refactor project.json dependencies
...
The packages are now dependencies of the `dnxcore50` framework itself,
rather than globally. The `compilationOptions` were pruned, with
`CORECLR` moved to frameworks, `_CORECLR` removed for all but
`Management.Infrastructure`, and `LINUX` moved to a new `Linux`
configuration, used only in `build.sh`. This configuration is
purposefully absent from libraries that do not use `LINUX`, so that it
is not relied upon without strong consideration. The dependencies
were pruned to reduce duplication.
2016-02-02 15:43:54 -08:00
Andrew Schwartzmeyer
c7fb9d2158
Add System.Diagnostics.Process dependency
...
The new packages do not pull this in automatically.
2016-02-02 15:43:54 -08:00
Andrew Schwartzmeyer
a8be633089
Bump packages to rc3-23729
2016-02-02 15:43:54 -08:00
George Fleming
7e2b25e4d0
Use ConsoleReadLine for script debugger
...
Instead of Console.ReadLine() so that arrow keys and tab-completion can
be used.
2016-02-01 17:36:30 -08:00
Andrew Schwartzmeyer
c162c1c19e
Title case ExecuteHelper function
2016-02-01 13:12:29 -08:00
Andrew Schwartzmeyer
bbadc64407
Add --noprofile option to host
...
Disables parsing of all profiles when used.
2016-02-01 13:12:29 -08:00
Andrew Schwartzmeyer
499e5d4142
Remove unsupported --working-dir flag
2016-02-01 12:57:29 -08:00
Andrew Schwartzmeyer
3fcb9ae569
Fix up --help
...
Moved to argument parsing and cleaned up.
2016-02-01 12:57:29 -08:00
Andrew Schwartzmeyer
92b5d40f76
Bump monad submodule
2016-01-29 17:25:00 -08:00
Andrew Schwartzmeyer
6f6239aa60
Bump monad and windows-build submodules
2016-01-26 17:00:13 -08:00
Andrew Schwartzmeyer
71f670f86c
Add packages required for updated sources
...
Commands.Utility now needs Microsoft.CodeAnalysis.CSharp, which doesn't
explicitly target `dnxcore50`, so now Commands.Utility and the packages
which depend on it now much `import` the Portable Windows framework.
This also required adding the aspnetvnext feed.
System.Management.Automation now requires System.Diagnostics.StackTrace.
2016-01-26 16:49:28 -08:00
Andrew Schwartzmeyer
e125650e54
Update mapped compileFiles
...
Removed CorePsPlatform.cs from the build mapping so that I could perform
it before merging.
Note that SMA by default now builds with a bunch of tracing files for
ETW, which cannot be compiled on Linux and must be hand-removed from the
windows-build auto-generated compileFiles output.
2016-01-26 16:43:02 -08:00
Andrew Schwartzmeyer
05205ecac7
Realign project.json files
2016-01-26 15:47:22 -08:00
Andrew Schwartzmeyer
e6a4c45485
Enable Environment.Exit
...
Was not previously available.
Moved so `--command` exits with code too.
2016-01-22 14:12:53 -08:00
Andrew Schwartzmeyer
fe0ca95c22
Enable more UI code that's now available
2016-01-22 14:12:53 -08:00
Andrew Schwartzmeyer
9a5c010f54
Skip BufferSize when not interactive
...
So short of re-implementing an entire new PSHost for non-interactive
sessions, this is a work-around. If a script (file or command) is passed
to the shell, we tunnel that information through to the raw UI so it can
skip calling out to the TTY (which may not exist).
There has to be a better way to do this, but the structure of PSHost >
UI > Raw UI just makes this incredibly difficult.
2016-01-22 12:40:04 -08:00
Paul Allen
49efe636d1
Bump OMI and provider modules
2016-01-22 10:56:29 -08:00
Andrew Schwartzmeyer
0cdbe9a3aa
Bump dsc submodule because of upstream rewrite
2016-01-20 11:47:39 -08:00
Andrew Schwartzmeyer
c61f649e10
Bump libpsl-native and windows-build submodules
...
With new readmes.
2016-01-20 11:34:35 -08:00
Andrew Schwartzmeyer
b451d02c5a
Update profile banner
2016-01-20 10:26:13 -08:00
Andrew Schwartzmeyer
4d8d738dd7
Bump monad submodule for Windows support
2016-01-19 12:56:56 -08:00
Andrew Schwartzmeyer
092feeef9a
Emit powershell executable
...
Instead of Microsoft.PowerShell.Linux.Host
Since this changes the name of the library,
System.Management.Automation's assembly info needed to be updated.
2016-01-19 12:56:56 -08:00
v-alexjo
280951089e
Added help file for the command line
2016-01-19 12:47:45 -08:00
George Fleming
b0e55b9181
Enable PowerShell script debugger
2016-01-19 12:35:13 -08:00
Andrew Schwartzmeyer
e4ad1d6603
Reindent and strip whitespace in host
2016-01-15 16:46:39 -08:00
Andrew Schwartzmeyer
f8ef219186
Clean up PSL_profile.ps1
...
Remove unneeded cruft and use here-string.
2016-01-15 16:41:05 -08:00
v-alexjo
8b12a68981
Additional logic for up-down arrows indexing
...
Also fixes tab completion for paths.
2016-01-15 16:40:43 -08:00
v-alexjo
c53144f0d3
Added banner to profile, removed from main
2016-01-15 15:39:42 -08:00
Andrew Schwartzmeyer
08c7d801f8
Execute profile commands with out-default
...
So functions called in profile can write to the screen without any
workarounds.
2016-01-15 15:39:42 -08:00
Andrew Schwartzmeyer
40946a68f3
Update build for OS X compatibility
...
Shared libraries are .dylib (not .so) so use a wildcard. Recent
dotnet-cli builds will guess the correct runtime when not supplied.
2016-01-15 11:55:09 -08:00
Andrew Schwartzmeyer
bbebf2f76a
Reorganize tests
...
- Pester source code moved to `test/Pester`, deleted `ext-src`.
- Pester tests (.ps1 files) moved to `test/powershell`
- xUnit tests (.cs files) moved to `test/csharp`
- Third-party script test moved to `test/shebang`
2016-01-14 17:00:06 -08:00
Andrew Schwartzmeyer
a36329e355
Bump DSC with fixes
2016-01-14 14:58:18 -08:00
Andrew Schwartzmeyer
953afd841e
Move OMI PSRP provider to GitHub
...
Remove the `monad` prefix from its name.
2016-01-14 14:54:27 -08:00
Andrew Schwartzmeyer
19d8a6a0b2
Move monad-build to windows-build on GitHub
...
Better name since this submodule only has to do with the Windows build
system and generated artifacts.
2016-01-14 12:55:39 -08:00
Andrew Schwartzmeyer
895fbb8d40
Move monad to psl-monad on GitHub
...
- Removed more pre-processor conditionals
- Loads libpsl-native
- Pruned wmi (rewrote history)
The wmi folder was massive, and we did not need 99% of it, so a `git
filter-branch --tree-filter` was performed to remove all but the single
necessary subdirectory before pushing to GitHub.
The psl-monad repository can no longer be updated from the existing
GitSD sync. When the PSW teams have a Git repo for the monad codebase,
we will apply our patches to it and delete this fork.
2016-01-14 10:34:13 -08:00
Andrew Schwartzmeyer
ae033a5846
Move monad-native to libpsl-native on GitHub
2016-01-14 10:32:02 -08:00
Andrew Schwartzmeyer
b89766a2f0
Merge branch 'dev/start-dsc'
2016-01-12 17:38:21 -08:00
Andrew Schwartzmeyer
e732e15ba4
Bump Newtonsoft.Json to 8.0.2
2016-01-12 12:31:17 -08:00
Andrew Schwartzmeyer
ec49e37de6
Add DSC submodule from GitHub
2016-01-12 12:25:25 -08:00
Andrew Schwartzmeyer
ad637c3548
Bump OMI submodule with test fixes
2016-01-12 12:25:25 -08:00
Andrew Schwartzmeyer
e6cfea5b2d
Bump monad-omi-provider submodule with moved host
...
The monad-native submodule no longer owns a native host whatsoever, with it moved to the provider, and the provider's build system refactored to use CMake.
Because CMake is way better, even for dealing with OMI.
2016-01-12 12:25:25 -08:00
Andrew Schwartzmeyer
0c5c33f25e
Bump monad-native submodule with removal of host
2016-01-12 12:25:25 -08:00
Andrew Schwartzmeyer
e26b55c3d9
Use Window(Width|Height) instead of Buffer
...
The former is available, the latter is not. For our simple case of a
readline-esque shell on Linux, they seem equivalent. This removes the
import of libpsnative and the native calls to get terminal width/height.
2016-01-12 12:22:26 -08:00
Andrew Schwartzmeyer
735721e902
Bump .NET packages to build rc2-23712
...
This brings in the previously missing System.Console APIs and the fix for the echo TTY issue, fixing our remaining patches of the runtime.
2016-01-12 12:22:26 -08:00
Andrew Schwartzmeyer
ca4dd87235
Fix indentation and build warning
2016-01-07 17:07:28 -08:00
Andrew Schwartzmeyer
d89b6ade92
Merge branch 'dev/nixreadline'
2016-01-06 16:54:51 -08:00
Andrew Schwartzmeyer
b270c03f50
Fix location of MOFs in DSC tests
2016-01-06 15:44:53 -08:00
Zachary Folwick
a2c7b13405
Fix ConvertTo-Csv tests
...
Assert that this cmdlet uses collections internally, which does not rely
on order.
2016-01-06 12:57:14 -08:00
Andrew Schwartzmeyer
be61a6449b
Merge branch 'dev/cross-platform-pester'
2016-01-06 12:54:57 -08:00
v-alexjo
939d03e03d
Removing Console.Writelines for debugging and modifying bounds chekcing
2016-01-06 10:44:57 -08:00
v-alexjo
1ffaf2d5b7
Fix for tab completion indexing with backspace
2016-01-06 10:44:57 -08:00
v-alexjo
f595b34374
Fixed tabcompletion index issue with buffer ending in whitespace
2016-01-06 10:44:57 -08:00
George Fleming
ed59522056
Add new pester test to clean up created file
2016-01-06 10:14:17 -08:00
George Fleming
6a40891df2
Rename cmdlets
2016-01-05 15:16:10 -08:00
George Fleming
ef6f5d06e5
Adding Get-DscConfiguration, and Get/Set-DscLocalConfiguration cmdlets
2016-01-05 12:03:22 -08:00
George Fleming
b21977bcce
Enumerate WriteObject output
2016-01-04 10:28:18 -08:00
George Fleming
401abdc7e8
New pester test for Start-DscConfiguration
2016-01-04 10:27:43 -08:00
George Fleming
67b53068e1
Clean up code
2015-12-31 11:22:15 -08:00
George Fleming
07c4bec698
Refactor some code
2015-12-31 11:13:15 -08:00
George Fleming
4de201e318
process xml output
2015-12-30 16:14:05 -08:00
Andrew Schwartzmeyer
576884ed0c
Fix third party library loading in JSON tests
...
Since we no longer have CORE_ROOT defined, but do have
AppContext.BaseDirectory from .NET
2015-12-30 10:46:54 -08:00
Zachary Folwick
a6d5b17c73
corrected Split-Path tests
2015-12-29 09:49:46 -08:00
George Fleming
e8eaf86830
New Start-DscConfiguration cmdlet
2015-12-28 16:23:09 -08:00
Zachary Folwick
1a2b29b4d1
fixed cross-platform support
2015-12-28 15:59:55 -08:00
Zachary Folwick
b54a0547b5
Changed platform OS test in Get-PSDrive tests
2015-12-28 15:43:24 -08:00
Zachary Folwick
9813d3d4b3
Removed spurious tests
2015-12-28 11:12:46 -08:00
Zachary Folwick
de2af02ff7
Environment-Variables.Tests.ps1
2015-12-28 11:05:48 -08:00
Zachary Folwick
1b4276f563
Added test to validate that fields are getting populated
2015-12-28 10:39:36 -08:00
Zachary Folwick
05989fe455
moved alias test to its own test case
2015-12-28 10:15:19 -08:00
Zachary Folwick
3eb2f5751b
Merge branch 'master' into dev/cross-platform-pester
2015-12-28 10:01:39 -08:00
Andrew Schwartzmeyer
49fa9f6e43
Bump monad-native submodule with removal of host
2015-12-23 16:53:09 -08:00
Andrew Schwartzmeyer
d5f5645f4d
Eliminate dependency on native host for shell
...
PSRP will of course still require it, but now the managed host sets up
the assembly load context, meaning we can depend on the emitted binary
from dotnet-cli.
2015-12-23 16:53:09 -08:00
Andrew Schwartzmeyer
001bca812e
Don't launch any infinite processes
...
It is too messy to count on being able to stop the infinite processes
that Start-Process tests start. All processes will now stop on their
own, removing the dependency on Stop-Process. The wait test is now not
much of a test however.
2015-12-23 14:00:17 -08:00
Andrew Schwartzmeyer
92368e9cba
Fix another Start-Process test
...
This one would sometimes just fail to stop the process... which is a probably a bug to be fixed.
2015-12-23 13:18:00 -08:00
Andrew Schwartzmeyer
af03950506
Bump monad submodule with RuntimeInformation OS check
2015-12-23 12:57:19 -08:00
Andrew Schwartzmeyer
b73a33e4e5
Fix another Start-Process test
...
This test was not viable as it didn't retain the process object,
instead relying on Get-Process with the process name, which could fail
to get the correct process (since no PID was available).
Since it is pointless to test Start-Process without -PassThru, and that
test was the exact same code as the fixed first test, it was removed.
2015-12-23 12:55:36 -08:00
Andrew Schwartzmeyer
af1343472d
Fix up Get-OmiInstance build and tests
...
Deploying module is a bit funky until dotnet-cli gives us more control
over which libraries to build and where. Theoretically we'll be able to
package System.Management.Automation and depend on the package instead,
so Commands.Omi can be its own project entirely.
Cleaned up the Commands.Omi project.json as it had some unnecessary
cruft from where it was copied. Also removed the AssemblyInfo as it does
not matter for a new module.
Moved the Get-OmiInstance Pester test to the project's test folder so it
doesn't run with our suite of tests (as it takes a dependency on OMI).
2015-12-23 12:29:08 -08:00
George Fleming
f018ea47a4
Added Get-OmiInstance Pester test
2015-12-23 11:16:21 -08:00
George Fleming
d0e2c22e54
Added Get-OmiInstance cmdlet
...
In a separate module importable into PowerShell.
2015-12-23 11:15:38 -08:00
Andrew Schwartzmeyer
b3a92e0ed3
Fix types and format files
...
Link to them instead so they don't get out of date. Explicitly fix the
incorrectly named file with an explicit link name. Also deploy the types
files with fixes to monad to fix shell output for various cmdlets.
Bumps monad submodule.
2015-12-22 17:03:14 -08:00
Andrew Schwartzmeyer
bf8c5e35e7
Bumping monad
2015-12-22 14:29:07 -08:00
Andrew Schwartzmeyer
83e8f0c63c
Bump monad-native submodule
2015-12-22 13:15:55 -08:00
Andrew Schwartzmeyer
489a951c5d
Use System.Environment.NewLine in host
2015-12-22 12:18:51 -08:00
Andrew Schwartzmeyer
7cd8b1f3ee
Use StringBuilder append instead of insert
...
For the special case of having a string to insert on the buffer, switch from calling this.Insert to appending the string directly (and incrementing the count appropriately).
2015-12-22 12:03:44 -08:00
Andrew Schwartzmeyer
a2270ceb2d
Change access-level of Run() from public to internal
2015-12-22 11:51:26 -08:00
v-alexjo
e8dc4d1e78
Bug fix for up arrow with history not indexing correctly
2015-12-22 10:19:14 -08:00
Andrew Schwartzmeyer
335835e20b
Remove BOM from New-TimeSpan file
2015-12-22 10:05:07 -08:00
Zachary Folwick
b1c12450df
Added tests for Write-Debug, Write-Verbose, Write-Error cmdlets
2015-12-22 09:55:20 -08:00
Zachary Folwick
ba7e0e8aa0
Added New-Timespan tests
...
- fixed whitespace and minor typos
- added tests to increase test coverage of function and test the output
- increased failure threshold to one hundredth of a second
2015-12-22 09:50:03 -08:00
v-alexjo
14ab620236
Improved tabcompletion logic for blank prompt and reset line after tab
2015-12-21 19:24:21 -08:00
Andrew Schwartzmeyer
efccc92ea2
Remove Get-TypeData tests
...
Jason Shirk of the PowerShell team removed the dependency on
Types.ps1xml, so it was removed from our produce. Therefore this test is
now deprecated.
2015-12-21 19:20:17 -08:00
Andrew Schwartzmeyer
1de894813c
Fix Start-Process Pester tests
...
These tests attempted to stop the test ping process by name, which was
fragile. Now they stop by PID, which is far less fragile.
2015-12-21 19:14:48 -08:00
Andrew Schwartzmeyer
bc9baddfc1
Fix Wait-Event
...
After reading the docs, the prior test was incorrect as written, as by default, it will wait for any event. So to test the timeout, we needed to make it wait for an event that would enver come.
2015-12-21 17:14:12 -08:00
Andrew Schwartzmeyer
837f40bbee
Fix Newtonsoft.Json Pester tests
...
Look for library in new location.
2015-12-21 13:00:47 -08:00
Andrew Schwartzmeyer
6c7301c22c
Bring up RegOpenKeyExW stub
...
This works around the Get-ExecutionPolicy Pester test failure. It's not a good solution, but it's also (seemingly) not our code that is calling the extern function. This needs to be fixed in CoreFX itself.
2015-12-21 12:46:36 -08:00
Andrew Schwartzmeyer
bbe61cf0b5
Bump monad-native with fixes
2015-12-21 10:25:25 -08:00
Andrew Schwartzmeyer
9738090faf
Patch use of /tmp in Pester tests
...
More work needs to be done here, but this at least gets rid of the dependency on the TEMP environment variable.
2015-12-18 17:22:39 -08:00
Andrew Schwartzmeyer
7f4c755f5d
Whitespace cleanup of readline
...
Sorry...
2015-12-18 16:30:24 -08:00
v-alexjo
785e63eb6f
Up and down arrows now function similiarly to windows
2015-12-18 16:26:03 -08:00
v-alexjo
b3d3245c99
Readline logic added to prevent out of index when history queue is null
2015-12-18 16:13:44 -08:00
v-alexjo
388022e02e
Added downkey logic and improved up key logic for index errors
2015-12-18 16:13:44 -08:00
Andrew Schwartzmeyer
30a562123a
Clean up Host's project.json
2015-12-18 16:11:36 -08:00
Paul Allen
e08a7a0774
Bump OMI and provider submodules
2015-12-18 15:42:05 -08:00
Andrew Schwartzmeyer
ef8e03dfdb
Fix PowerShell remoting with dotnet-cli
2015-12-17 16:10:14 -08:00
Andrew Schwartzmeyer
db49516dec
Fix compiler warning
2015-12-17 16:09:09 -08:00
Andrew Schwartzmeyer
548cbc91b1
Bring back InitialSessionState()
2015-12-17 16:08:24 -08:00
Andrew Schwartzmeyer
3719046eb9
Prune ALC's dependencies
2015-12-17 16:08:12 -08:00
v-alexjo
65b2cb9831
Implemented readline, readkey, special keys
2015-12-16 22:34:32 -08:00
Andrew Schwartzmeyer
4562121ffa
Fix CorePsTypeCatalog for Management dependencies
2015-12-16 16:33:19 -08:00
Andrew Schwartzmeyer
bd3cf39739
Add Commands.Management dependencies
2015-12-16 16:31:30 -08:00
Andrew Schwartzmeyer
8fe9e98c62
Fix CorePsTypeCatalog
...
Runtime facade updated with dependencies copied from
System.Management.Automation.
2015-12-16 16:24:33 -08:00
Andrew Schwartzmeyer
2c7d6dd4da
Prune System.Management.Automation dependencies
...
I thought this seemed too easy earlier... I forget to replace the
frameworks section. This is now the minimum set of packages required.
2015-12-16 16:21:48 -08:00
Andrew Schwartzmeyer
2b78993cf8
Update CorePsTypecatalog for new runtime
2015-12-16 15:08:53 -08:00
Andrew Schwartzmeyer
251a875935
Major refactor of .NET dependencies
...
Much simpler now, thanks to NETStandard.Library.
2015-12-16 15:08:31 -08:00
Andrew Schwartzmeyer
42ea491a94
Update PSRP submodules
...
I am unsure what all needs to be merged in OMI, and what branch it
belongs at. Same goes for the provider.
2015-12-16 13:58:43 -08:00
Andrew Schwartzmeyer
ce8e9a475b
Fix bug with System.Native.so
...
Need the up-to-date version so that exiting the console doesn't totally
mess up the hosting shell (Bash).
Should not depend on this package longterm, as it's
platform-specific. Tracking in https://github.com/dotnet/cli/issues/405
2015-12-16 13:47:04 -08:00
Andrew Schwartzmeyer
5111cf77d0
Bring back registry stub :(
2015-12-16 12:59:07 -08:00
Andrew Schwartzmeyer
7d0b89733e
Remove host's AssemblyInfo file
...
It doesn't need it for anything.
2015-12-16 12:58:45 -08:00
Andrew Schwartzmeyer
1b84e04ccb
Merge branch 'dev/get-filehash-update' into dev/dotnet
2015-12-16 11:50:22 -08:00
Andrew Schwartzmeyer
47e07e8648
Merge branch 'dev/write-verbose' into dev/dotnet
2015-12-16 11:50:07 -08:00
Andrew Schwartzmeyer
76d68ab4bd
Merge branch 'dev/write-output' into dev/dotnet
2015-12-16 11:49:55 -08:00
Andrew Schwartzmeyer
806c236a40
Merge branch 'dev/set-psbreakpoint' into dev/dotnet
2015-12-16 11:49:44 -08:00
Andrew Schwartzmeyer
a86b9a6650
Merge branch 'dev/get-pscallstack' into dev/dotnet
2015-12-16 11:49:30 -08:00
Andrew Schwartzmeyer
e1a3ca005f
Merge branch 'dev/writeprogresscmdlet' into dev/dotnet
2015-12-16 11:48:54 -08:00
Andrew Schwartzmeyer
cbc99c0030
Merge branch 'dev/remove-psbreakpoint' into dev/dotnet
2015-12-16 11:48:19 -08:00
Andrew Schwartzmeyer
3dc22d7f42
Make SMA internals visible to ALC
2015-12-16 11:36:02 -08:00
Andrew Schwartzmeyer
1ef4d923ed
Add AssemblyInfo files for Management and Utility
...
To set their versions to 3.0.0.0
2015-12-16 11:14:58 -08:00
Andrew Schwartzmeyer
9771214556
Fix AssemblyInfo versions
...
Reconciled with PowerShell assemblies on Windows. Thanks ildasm.
2015-12-16 10:43:18 -08:00
Andrew Schwartzmeyer
03b36fb2f7
Rename AssemblyInfo files
2015-12-16 10:39:02 -08:00
Andrew Schwartzmeyer
39170b33ea
Bump submodules for dotnet-cli
2015-12-15 21:18:35 -08:00
Andrew Schwartzmeyer
f6e5164bb0
Update compileFiles and namedResource from makegen
...
These are now auto-generated in monad-build.
2015-12-15 21:16:18 -08:00
Andrew Schwartzmeyer
7cd12b251d
Build SMA with version 0.0.0.0
...
Because the monad code expects this version on Linux for all PowerShell
assemblies. This should be changed back once they all build with 3.0.0.0.
2015-12-15 14:22:41 -08:00
Andrew Schwartzmeyer
1c09c3f738
Remove GenerateTypeCatalog from RunspaceTests
...
This was Garrett's workaround that we no longer use.
2015-12-15 14:21:44 -08:00
Andrew Schwartzmeyer
59c1f1cb80
Define LINUX for AssemblyLoadContext
2015-12-15 14:21:02 -08:00
Andrew Schwartzmeyer
656daf6a80
Update the type catalog
2015-12-14 15:36:22 -08:00
Andrew Schwartzmeyer
741f3474e9
Remove ms-win-core-registry stub
...
We've already removed the dependency on this. At shutdown, something
tries to use it, but let's fix the problem rather than hide it.
2015-12-14 10:32:04 -08:00
Andrew Schwartzmeyer
3db501127e
Move Management.Infrastructure.Native code
2015-12-14 10:31:39 -08:00
Andrew Schwartzmeyer
7118fcfbc5
Remove deprecated host.mk
2015-12-14 10:31:18 -08:00
Andrew Schwartzmeyer
51561b4773
Start fix of ps1xml files
2015-12-10 12:35:06 -08:00
Andrew Schwartzmeyer
eaad815b94
Update CorPsTypeCatalog
2015-12-10 12:34:38 -08:00
Andrew Schwartzmeyer
4052850c42
Update submodules for dotnet-cli
2015-12-09 12:56:21 -08:00
Andrew Schwartzmeyer
2017bb3050
Update source file mapping
2015-12-08 16:24:40 -08:00
Andrew Schwartzmeyer
d923d2e0d0
Add generated CorePsTypeCatalog.cs to AssemblyLoadContext
...
TypeCatalogGen/build.sh generates this using the facade runtime.
2015-12-08 14:33:31 -08:00
Andrew Schwartzmeyer
3d4a855b74
Bump runtime facade's packages
2015-12-08 14:31:58 -08:00
Andrew Schwartzmeyer
6fbb220df3
Brought back PowerShell's AssemblyLoadContext
...
Removes dependency on Microsoft.Extensions.Platform.Abstractions.
Makes use of native executable from `dotnet-cli` impossible; must use
`powershell` from monad-native.
2015-12-08 14:30:24 -08:00
Andrew Schwartzmeyer
96896b5942
Upgrade Microsoft.VisualBasic
...
How could we possibly even need this? I think we can remove it.
2015-12-08 14:22:01 -08:00
Andrew Schwartzmeyer
51b3e6cfc1
Build AssemblyLoadContext
2015-12-08 14:09:52 -08:00
Andrew Schwartzmeyer
13e60bdc22
Move ps1xml files to host so content works
...
https://github.com/dotnet/cli/pull/61
2015-12-08 12:04:55 -08:00
Andrew Schwartzmeyer
8a93287d70
Move assembly-info files
2015-12-08 11:20:01 -08:00
Andrew Schwartzmeyer
5ed21e794f
Wild card and sort dependencies
...
These still need to be pruned.
2015-12-08 11:20:01 -08:00
Andrew Schwartzmeyer
5256c5d0fa
Remove deprecated types files
...
Jason deprecated these with better code upstream.
2015-12-07 14:27:06 -08:00
Andrew Schwartzmeyer
66e24ccf12
Add generated type catalog to System.Management.Automation
2015-12-07 14:27:06 -08:00
Andrew Schwartzmeyer
6c001b6e0f
Add TypeCatalogGen
2015-12-07 14:27:06 -08:00
Andrew Schwartzmeyer
bcc844d678
Add dotnetcore NuGet repo back
2015-12-07 14:27:06 -08:00
Andrew Schwartzmeyer
0b6b1f116e
Update for use with dotnet-cli
...
https://github.com/dotnet/cli
2015-12-07 14:27:06 -08:00
Zachary Folwick
37b4eccb5b
Added Pester tests for Get-FileHash
2015-12-04 10:37:38 -08:00
Andrew Schwartzmeyer
04cc9c99d7
Revert "Add runspace test without InitialSessionState"
...
This reverts commit cc2bdee9ec
.
This is no longer neccesary as we're now able to unit test this.
2015-12-02 10:03:34 -08:00
Andrew Schwartzmeyer
92e96aa1ae
Add failing PowerShell function test
...
This narrowed down the bug in .NET Core.
2015-12-01 15:17:21 -08:00
Andrew Schwartzmeyer
a574d0200b
Temporarily remove InitialSessionState
2015-12-01 13:27:51 -08:00
Andrew Schwartzmeyer
b60ea88ddb
Add Runspace with PSHost test
2015-12-01 12:21:20 -08:00
Andrew Schwartzmeyer
87da04e4cb
Add SecureString stub
...
Project from Garret, code originally from Mono.
2015-12-01 12:10:01 -08:00
Zachary Folwick
39f4d1f4db
added cross-platform support for split-path tests
2015-12-01 12:02:22 -08:00
Andrew Schwartzmeyer
5004839f63
Pin NuGet packages
...
Using new ASP.NET Release feed and pinned package versions.
Thanks Garret!
2015-12-01 10:56:56 -08:00
Andrew Schwartzmeyer
e93932565d
Add more PowerShell runspace tests
2015-12-01 10:45:20 -08:00
Zachary Folwick
c9113c29b5
added cross-platform NewLine Support
2015-12-01 10:44:32 -08:00
Zachary Folwick
11a0953545
Made newline characters cross-platform
2015-12-01 10:40:36 -08:00
Zachary Folwick
0d6b02a751
added -Force parameter to ensure object creation
2015-12-01 10:33:13 -08:00
Zachary Folwick
0c1be1bf12
Modified tests for cross-platform testing
...
1. removed the context block.
2015-12-01 10:30:27 -08:00
Zachary Folwick
de7b244a37
modified tests to make them work on Windows
2015-12-01 10:18:09 -08:00
Zachary Folwick
5d31b0affd
added cross-platform newline support
2015-11-30 15:11:11 -08:00
Zachary Folwick
4319987dd1
removed a very platform-specific and time specific test for new-item
2015-11-30 15:07:13 -08:00
Zachary Folwick
d9b927782b
fixed get-UICulture to work cross-platform
2015-11-30 15:03:39 -08:00
Zachary Folwick
da21e24365
fixed get-psdrive test to work cross-platform
2015-11-30 15:00:11 -08:00
Zachary Folwick
f267c29942
modified check to test environment setting
2015-11-30 14:47:36 -08:00
Zachary Folwick
a809d99ffd
Specified ItemType as it was causing errors in Windows
2015-11-30 14:42:23 -08:00
Zachary Folwick
8b924ad683
used HOME directory since that will always exist on the test machine on windows and linux
2015-11-30 14:39:17 -08:00
Zachary Folwick
720a430e47
added support for global newline characters
2015-11-30 14:35:23 -08:00