George Fleming
c74f68494a
Fixes one of tab-completion problems
2016-02-12 15:23:46 -08:00
George Fleming
1ec5676f25
Fix "handle is invalid" error on AppVeyor
2016-02-12 11:15:57 -08:00
Andrew Schwartzmeyer
cc64b31741
Remove versions from frameworkAssemblies
...
It is odd, but they're unsupported here. If a version is given, it
causes every build/publish to think it needs to be restored again,
because the lock file doesn't end up with a version.
2016-02-12 10:32:59 -08:00
Sergei Vorobev
d3d82175b9
Fix Microsoft.PowerShell.Commands.Management project.json casing
2016-02-12 01:15:21 -08:00
Sergei Vorobev
6ec164bccf
Add WebCmdlets to Microsoft.PowerShell.Commands.Utility
2016-02-11 21:36:05 -08:00
Sergei Vorobev
086bc3dea9
Update src\monad reference to include #if !CORECLR guards
2016-02-11 21:00:55 -08:00
Sergei Vorobev
3322d7af1c
Add missed files to Microsoft.PowerShell.Commands.Management
...
Add almost all files to Microsoft.PowerShell.Commands.Management
One of them is Computer.cs that was listed in known issues.
We start to use a nuget packages generated for assemlbies that
cannot be listed in framework assemlbies, but exist in a GAC
on all windows machine and not a PowerShell assemblies
The first one is Microsoft.WSMan.Management
2016-02-11 20:44:21 -08:00
George Fleming
43d284f6b3
New pester test for Import-LocalizedData
2016-02-11 10:13:56 -08:00
George Fleming
4fe69773d4
Modified Get-ChildItem pester test to check for sorted list of files
2016-02-10 15:52:21 -08:00
Andrew Schwartzmeyer
0ef4e90f9a
Add readme to Linux.Host
2016-02-10 15:29:06 -08:00
Sergei Vorobev
512c37431d
Update appveyor.yml to import pester from the new location
2016-02-10 13:25:35 -08:00
Sergei Vorobev
f3f0886e75
Make appveyor fail if it cannot find test results
2016-02-10 13:16:22 -08:00
Andrew Schwartzmeyer
5916b00261
Fix handling of bin directory
2016-02-10 13:05:46 -08:00
Andrew Schwartzmeyer
dacaebefb8
Move Pester to submodule to Host/Modules
...
This way it can also be deployed automatically, removing the last manual
copy steps from our build scripts.
Travis and AppVeyor configurations updated for new submodule location.
2016-02-10 12:58:56 -08:00
Andrew Schwartzmeyer
79f5db71fe
Add update-content.sh script
2016-02-10 12:52:36 -08:00
Andrew Schwartzmeyer
74a3855602
Add Modules to tree for content
...
Same as ps1xml files: already deployed in the wild, i.e. not source
code. Allows to remove recursive copies from build scripts and rely just
on CLI's behavior.
2016-02-10 12:48:46 -08:00
Andrew Schwartzmeyer
9f95aa3203
Use content
to publish PSL_profile.ps1
2016-02-10 12:44:49 -08:00
Andrew Schwartzmeyer
9a2a8555e3
Copy ps1xml files into tree to use content
...
This allows us to remove the duplicated copying steps from our Windows
and Linux build scripts. These files are already distributed to users of
Windows, and so are not "source code."
2016-02-10 12:38:00 -08:00
Andrew Schwartzmeyer
fcb2ce6d71
Remove registry stub
...
With latest changes to PowerShell source code, and better behaviors of
Get/Set-ExecutionPolicy, the Windows registry API stub can be removed.
2016-02-09 16:10:10 -08:00
Andrew Schwartzmeyer
5442346820
Update Get/Set-ExecutionPolicy tests
...
Test expected behaviors on both Windows and Linux.
2016-02-09 16:10:10 -08:00
Andrew Schwartzmeyer
4d9c7303b9
Bump monad with changes to ExecutionPolicy
2016-02-09 16:10:10 -08:00
Sergei Vorobev
414439d3e4
Merge pull request #524 from PowerShell/vcxproj
...
Build vxcproj file instead of sln file on fullCLR
2016-02-09 15:53:20 -08:00
Sergei Vorobev
50984f7036
Build vxcproj file instead of sln file on fullCLR
...
Building sln file generated by cmake causes troubles on my dev machine.
It contains additional checks for tools version that cannot be satisfied.
2016-02-09 15:40:22 -08:00
Andrew Schwartzmeyer
426e70565a
Clean up .gitignore files
2016-02-09 14:06:39 -08:00
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
George Fleming
8adffbb2e2
Fix HOMEPATH and Wait-Event tests
...
On Windows, HOMEPATH is not necessarily `\Users\username`, so the test
was made to match more loosely.
Wait-Event's timeout varied more than expected, so the test's range was
increased.
2016-02-08 10:59:15 -08:00
George Fleming
6ce53af354
Fix errors on CoreCLR Windows port
2016-02-08 10:59:02 -08:00
George Fleming
bdffd103d9
Remove / and /tmp references
2016-02-08 10:59:02 -08:00
George Fleming
cb6d7011d9
Clean up temp files in pester scripts
2016-02-08 10:59:02 -08:00
Andrew Schwartzmeyer
363c0ccfd1
Modernize our nuget.config
...
Use the V3 api, and use the clear directive instead of
`activePackageSources`.
2016-02-05 16:04:06 -08:00
Sergei Vorobev
de8b99386f
Merge pull request #503 from PowerShell/full-deps
...
Update FullCLR ConsoleHost dependencies
2016-02-05 14:12:46 -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
Andrew Schwartzmeyer
def81cf9cc
Update readme
...
- New links due to rename
- Better formatting
- More details
2016-02-05 10:18:23 -08:00
Sergei Vorobev
8a6d4aef98
Merge pull request #493 from PowerShell/console-freeze
...
Fix for #491 : make powershell.exe work in new window
2016-02-04 13:35:21 -08:00
Andy Schwartzmeyer
889ca3087d
Merge pull request #492 from PowerShell/remove-workaround
...
Remove temporary dotnet-publish workaround
2016-02-04 13:29:56 -08:00
Sergei Vorobev
f8abd74658
Fix for #491 : make powershell.exe work in new window
...
FullCLR windows host doesn't read keys when run in separate window.
Fix: don't use Start-Process -Wait $false -NoNewWindow $false
Instead, ommit this parameters. Seems like a bug in Start-Process.
2016-02-04 13:19:24 -08:00
Andrew Schwartzmeyer
5845a56d89
Use $env:CORE_ROOT if set, otherwise AppContext.BaseDirectory
...
Otherwise the Json.NET DLL cannot be found when Pester tests are run
over PSRP.
2016-02-04 12:58:00 -08:00
Sergei Vorobev
1d53e655f4
Merge pull request #487 from PowerShell/on_finish
...
Publish AppVeyor artifacts on PRs
2016-02-04 10:39:52 -08:00
Sergei Vorobev
caea515a93
Publish AppVeyor artifacts on PRs
...
I originally used `deploy_script:` section for publishing artifacts.
This section is not invoked on Pull Requests.
Hence, use `on_finish` section instead, so we can consume artifacts from PRs as well.
2016-02-04 10:30:19 -08:00
Sergei Vorobev
6d5194057e
Add FullCLR section to README.md
...
* Setup environment
* Building
* Running
* Running from CI server
2016-02-03 19:07:36 -08:00
Sergei Vorobev
4435699516
Fix quotes in appveyor.yml
2016-02-03 17:42:54 -08:00
Sergei Vorobev
2096bca2b8
Run FullCLR sanitary tests in AppVeyor
...
This change brings a very minimal set of tests and make
build fail, if we cannot load some PS assamblies on FullCLR
We should increase test coverage for FullCLR in future.
2016-02-03 17:29:27 -08:00
Sergei Vorobev
1268b76dcd
Teach PowerShellGithubDev.psm1 -NoNewWindow Mode
...
We need it to run tests in CI
2016-02-03 17:25:51 -08:00
Sergei Vorobev
a3c149196c
Make build.FullCLR.ps1 build RELEASE by default
...
Since we start include CRT runtime inside powershell.exe,
the size of executable jumped from 32kb to 1Mb in DEBUG.
Release produces about 20kb, so we keep size managable.
2016-02-03 17:23:38 -08:00
Sergei Vorobev
706e6d7239
Make CMakeLists correctly build RELEASE
2016-02-03 17:22:18 -08:00
Sergei Vorobev
d2834bd8e9
Add binFull/ and build/ folders to .gitignore
2016-02-03 15:46:34 -08:00