Dongbo Wang
12002e7f2d
Use stricter rule to unwrap a PSObject that wraps a COM object ( #4614 )
...
GetMember/SetMember/InvokeMember operations on a COM object will generate code to unwrap the COM object if it's wrapped in PSObject. Due to a loose restriction, if you have a string wrapped to a PSObject with an ETS member of the same name, then the string PSObject will be unwrapped too and the ETS member will be lost. The fix is to use a more restricted rule by checking if the base object is a COM object.
2017-08-28 13:19:02 -07:00
Travis Plunk
6a68838730
For reliability, start using pester PassThru object to verify tests passed ( #4644 )
...
* Add ability to verify a test run using the `-passthru` object from pester
* update travis-ci to use `-passthru` object to verify test results
* Address PR feedback
* call show-pspestererror with a named parameter
2017-08-26 08:26:06 -07:00
Mike Richmond
c21906667f
Disable 'VC++ Redist' test and run 'Windows Installer' test only on Windows ( #4673 )
2017-08-25 13:36:13 -07:00
Steve Lee
1e0acfac5e
removed appending WindowsPowerShell PSModulePath ( #4656 )
2017-08-25 11:05:23 -07:00
Stellios W
7f79eadbdd
Correct linux.md macOS brew reinstall command ( #4627 )
...
Correct linux.md macOS brew reinstall command
2017-08-25 11:02:48 -07:00
Dongbo Wang
a65d1f743c
Merge beta.6 release branch
2017-08-25 10:22:42 -07:00
Steve Lee
23f91c0236
Update WritingPesterTests.md to reflect recommended use of ShouldBeErrorId
...
* added spelling word
* added sample to inspect details of the errorrecord
2017-08-25 07:24:49 +04:00
Mike Richmond
d5521beb18
Remove VCRedist check because it ignores the files installed via KB ( #4664 )
2017-08-24 15:42:10 -07:00
Travis Plunk
a21b13222b
Update ChangeLog for beta.6 release ( #4654 )
2017-08-24 13:02:11 -07:00
Dongbo Wang
80e02bda60
Update docs and scripts for beta.6 release ( #4660 )
2017-08-24 12:43:31 -07:00
Dongbo Wang
cfe173ac0e
Replace extension method 'IsComObject(this Type)' with Type.IsCOMObject ( #4646 )
2017-08-22 17:44:48 -07:00
Mark Kraus
5941b894ab
Mark Multiple Response Header Test Pending ( #4640 )
2017-08-22 14:27:47 -07:00
Darwin
ece7b44de3
Update install scripts with minor fixes targeting macOS
...
Fixes #4617
Fixes #4511
Change VS code install to use cask
Change OSX to use curl
Update version number by point release.
2017-08-22 12:10:00 -07:00
Ilya
cdbbb7a4bb
Minor formatting commits for Build.psm1 and csproj files ( #4630 )
2017-08-21 15:23:52 -07:00
Mark Kraus
297bba3fa1
Add support for Content Headers to BasicHtmlWebResponseObject and HtmlWebResponseObject ( #4494 )
2017-08-21 10:48:25 -07:00
Mark Kraus
1b23a62ae1
[Feature] Add Certificate Authentication Support for WebCmdlets ( #4546 )
...
* [Feature] Add Certificate Authentication Support for WebCmdlets
PowerShell/PowerShell#4544
* Add Certificate Comments
* Set Certificate Options
* [feature] Post-rebase White-space correction
* [feature] mark certauth tests pending
2017-08-18 13:56:31 -07:00
bergmeister
54e892ab06
Make MSI installer perform pre-requisite checks ( #4602 )
...
* #4458 MSI installer checks that the Windows C Runtime and VS Studio 2015 C++ redistributables are present and returns error message if not.
Includes tests to check that the Wix file contains the download URLs and those URLs are not dead.
2017-08-18 12:47:43 -07:00
James Truher [MSFT]
f6208f3c42
Add File Coverage to coverage data ( #4556 )
...
It is now possible to see the coverage based on the file and then format
the data so a report generator is not needed. You can map the files from
one location to another, so if you have a copy of the repo, but in a different
location, you can still format the output in a way so it may be studied
2017-08-17 13:39:23 -07:00
Dongbo Wang
befc5f8ae1
Make PowerShell Core enumerate COM collections ( #4553 )
...
Make PowerShell Core enumerate COM collections
2017-08-17 20:23:36 +04:00
Ilya
45d1d20500
Merge pull request #4573 from SteveL-MSFT/console-no
...
* Make invalid arg to -File consistent with -Command
Improve error message if ambiguous arg is passed to -File
* Update powershell console exit codes to match Unix standards
* Enable -WindowStyle to work
2017-08-17 07:34:02 +04:00
Dongbo Wang
c47ebea9ec
Remove workflow related modules ( #4581 )
2017-08-16 17:36:05 -07:00
Dongbo Wang
580fb7baf5
Remove src\Microsoft.PowerShell.Activities ( #4582 )
2017-08-16 17:35:36 -07:00
Dongbo Wang
55fe5263e4
Remove src\Microsoft.PowerShell.Core.Activities ( #4583 )
2017-08-16 17:35:24 -07:00
Dongbo Wang
d75065c874
Remove src\Microsoft.PowerShell.Diagnostics.Activities ( #4584 )
2017-08-16 17:35:10 -07:00
Dongbo Wang
f04f665ac3
Remove src\Microsoft.PowerShell.GraphicalHost ( #4585 )
2017-08-16 17:34:55 -07:00
Dongbo Wang
e687cab952
Remove src\Microsoft.PowerShell.Management.Activities ( #4586 )
2017-08-16 17:34:44 -07:00
Dongbo Wang
ddef0690f2
Remove src\Microsoft.PowerShell.Security.Activities ( #4587 )
2017-08-16 17:34:28 -07:00
Dongbo Wang
176a22ce7f
Remove src\Microsoft.PowerShell.Utility.Activities ( #4588 )
2017-08-16 17:34:14 -07:00
Dongbo Wang
1605a98d75
Remove src\Microsoft.PowerShell.Workflow.ServiceCore ( #4589 )
2017-08-16 17:34:03 -07:00
Dongbo Wang
33adef28f9
Remove src\Microsoft.WSMan.Management.Activities ( #4590 )
2017-08-16 17:33:29 -07:00
Dongbo Wang
b3e7fd374f
Move to the official .NET Core 2.0 ( #4603 )
...
* Migrate to official .NET Core 2.0
* [Feature] Remove chmod code as the issue has been fixed in dotnet
2017-08-16 17:32:46 -07:00
James Truher [MSFT]
0d1e1919f2
Improve test coverage for CDXML cmdlet infrastructure ( #4537 )
...
Create custom CIM classes (via MOF) and CDXML cmdlets against the new CIM class
Create tests for CRUD operations for CDXML cmdlets
Coverage for Microsoft.PowerShell.Cmdletization namespace is nearly 50%
2017-08-16 16:33:53 -07:00
Dan Travison
75a294993c
In Web CmdLets, Use HTML meta charset attribute value, if present ( #4338 )
...
* Use HTML meta charset attribute value, if present, when the Context-Type header does not specify it.
2017-08-16 16:25:16 -07:00
Aditya Patwardhan
c699e73ebe
Fixed typo ( #4600 )
2017-08-16 16:07:18 -07:00
Maria Romero
ea77b57966
Update Format-Hex tests to include -TestCase parameter ( #3800 )
...
* update tests to include -TestCase paramater in It block
* Move test functions to appropriate context blocks
* combine skipTest conditions
* move skipTest to Describe block
* correct typo, change to MatchExactly
2017-08-16 15:50:33 -07:00
Steve Lee [MSFT]
26f7db720c
Enable -WindowStyle to work
2017-08-16 15:04:34 -07:00
Steve Lee [MSFT]
4c22b10a38
Update powershell console exit codes to match Unix standards
2017-08-16 15:04:03 -07:00
Steve Lee [MSFT]
d9c63b7218
Make invalid arg to -File consistent with -Command
...
Improve error message if ambiguous arg is passed to -File
2017-08-16 15:02:43 -07:00
Steve Lee
feed7004c7
added tests for primitive types, dictionary type, and enumerable type for convertto-xml ( #4503 )
...
* added tests for primitive types, dictionary type, and enumerable type
* address PR feedback
2017-08-16 12:13:07 -07:00
Dongbo Wang
feeb8e1d25
[Feature] Clean up FullCLR related scripts/docs ( #4580 )
2017-08-16 12:07:45 -07:00
Travis Plunk
3a8f923e03
Remove test and docs rules as they are too broad ( #4597 )
2017-08-16 12:06:42 -07:00
Kirk Munro
02c4d34380
Add support for converting enums as strings in JSON ( #4318 )
...
* converting enums as strings support
* removed !CORECLR code per @SteveL-MSFT's request
2017-08-16 09:57:30 -07:00
Chunqing Chen
ede3aec52e
Redefine the unicode output condition for nanoserver/IoT for more function ( #4074 )
2017-08-15 17:41:49 -07:00
Travis Plunk
0ca44f147d
Package only from the powershell folder at the root directory ( #4569 )
2017-08-15 16:17:45 -07:00
Travis Plunk
498680a252
Add codeowner files ( #4565 )
2017-08-15 12:04:06 -07:00
Dongbo Wang
a648d4dd9c
Add more tab completion tests ( #4560 )
...
* Add tab completion tests for CompletionAnalysis.cs
* Minor fixes
* Address comment
* Address one more comment
2017-08-15 09:49:48 -07:00
Paul Higinbotham
6b8d86ff60
Fixes KeyFilePath parameter for Linux systems ( #4529 )
2017-08-15 09:42:29 -07:00
Aditya Patwardhan
b953ab126d
Opencover and Code coverage improvements ( #4550 )
2017-08-14 10:40:11 -07:00
Steve Lee
7b8c6e7f54
fix intermittent failures in filesystem tests ( #4566 )
2017-08-14 08:53:04 -07:00
Ilya
813e4a661a
Fix unblock read only file ( #4395 )
...
Adds a new non-terminating error when a file is read-only
2017-08-14 08:49:38 -07:00