Commit Graph
188 Commits
Author SHA1 Message Date
Dongbo Wang 5fbde6eb40 Fix bytewise operators to work on enum types with 'System.Byte' as the underlying type (#2411) 2016-10-03 15:24:39 -07:00
Dongbo Wang 124a59b8a8 Merge pull request #2363 from lzybkr/maxvars
Remove most Maximum* capacity variables
2016-09-28 17:28:16 -07:00
Jason Shirk (POWERSHELL) f252683e90 Remove SessionStateOverflowException
This exception is no longer used by PowerShell, so it has been removed.

It is a public api, so removing it risks breaking somebody. Nobody has any reason
to catch or throw this exception, so it seems safe to remove, but I decided to
be conservative and keep it for Windows PowerShell.  It seems safe enough to remove
in Nano.
2016-09-28 15:47:08 -07:00
Mike Richmond 9f9add03f6 Fixing PowerShellProperties.json reads to do a basic validity check prior to processing the JSON 2016-09-28 10:55:48 -07:00
Charu Bassi 5cbf1b43de Fix 'Get-ChildItem -Hidden' to work on system hidden files like c:\hiberfil.sys c:\pagefile.sys and c:\swapfile.sys 2016-09-27 16:13:03 -07:00
Jason Shirk (POWERSHELL) c7951e13c0 Remove most Maximum* capacity variables
MaximumErrorCount is fixed at 256 (we may want to consider an environment variable to make this bigger)

MaximumAliasCount, MaximumDriveCount, MaximumFunctionCount, and MaximumVariableCount have been removed.
2016-09-26 15:16:35 -07:00
Dongbo Wang 89b5ae5de1 Fix $? assignment to not crash powershell 2016-09-26 11:56:12 -07:00
Dongbo Wang bf59194c6e Fix binary operator tab completion (#2338) 2016-09-22 11:56:38 -07:00
Sergei Vorobev 6992a6479a Merge pull request #2260 from jsoref/spelling-public
Fix spelling in public APIs
2016-09-19 17:33:46 -07:00
Sergei Vorobev a266f11b00 Merge pull request #2182 from douglaswth/fix-passing-escaped-double-quoted-spaces-to-native.exe
Fix passing escaped double quoted spaces to native executables
2016-09-14 19:07:56 -07:00
Sergei Vorobev 4ee52fe3d2 Merge pull request #2259 from jsoref/spelling-debug
Spelling debug
2016-09-14 19:04:34 -07:00
Dongbo Wang fdd514108c Improve the logic to detect PSHome module path derived from a different powershell core instance. 2016-09-14 15:19:12 -07:00
Dongbo Wang 9179cecd01 Refactor method names related to 'PSHomeModulePath' and 'SharedModulePath' 2016-09-14 15:19:12 -07:00
Paul Higinbotham 0ba1e2d9d1 Minor improvements to SSH remoting cmdlets (#2249)
* Fix for relative paths for KeyFilePath cmdlet parameter, renamed cmdlet KeyPath parameter to KeyFilePath parameter, and added tests.

* Code review comment update

* Added missing KeyFilePath check

* Test fix from review comment
2016-09-14 15:13:10 -07:00
Josh Soref fb467d497d spelling: error ids in ErrorRecord (#2258) 2016-09-14 12:51:07 -07:00
Sergei Vorobev 81a598f242 Merge pull request #2089 from 0xfeeddeadbeef/master
Use prefixed QNames in XPath expressions used by all implementations of ICmdletProviderSupportsHelp interface
2016-09-13 15:14:46 -07:00
Douglas Thrift 8bca1f50c5 Fix passing escaped double quoted spaces to native executables 2016-09-13 13:37:42 -07:00
Paul Higinbotham 79ddafcc85 Fix for Linux remote script debugging hang (#2213)
* Fix for Linux remote debugging hang bug.

* Removing dependency in PSReadLine on new engine helper API since it needs to be compatible with V3.
2016-09-13 11:31:48 -07:00
George Chakhidze 7ce34224c2 Remove '.ni' from module help file name (indicating a Ngen binary)
Fixes #2088
2016-09-13 09:40:14 +04:00
Josh Soref 9d5b14ee5f spelling: debug src/System.Management.Automation/engine/runtime 2016-09-01 16:02:13 +00:00
Josh Soref 71f38c0796 spelling: debug src/System.Management.Automation/engine 2016-09-07 21:27:57 +00:00
Josh Soref 3f992cd263 spelling: locals in src/System.Management.Automation/engine 2016-09-01 14:54:41 +00:00
Josh Soref b79355b7f0 spelling: locals in src/System.Management.Automation/engine/ComInterop 2016-09-01 14:50:07 +00:00
Josh Soref 7ec70ee30d spelling: locals in src/System.Management.Automation/engine/CommandCompletion 2016-09-01 14:49:29 +00:00
Josh Soref 49fc2e96ef spelling: locals in src/System.Management.Automation/engine/hostifaces 2016-09-01 14:48:16 +00:00
Josh Soref c724220af1 spelling: locals in src/System.Management.Automation/engine/Modules 2016-09-01 14:47:07 +00:00
Josh Soref ca440b92e5 spelling: locals in src/System.Management.Automation/engine/parser 2016-09-01 14:45:40 +00:00
Josh Soref a398315a87 spelling: locals in src/System.Management.Automation/engine/remoting 2016-09-02 16:21:20 +00:00
Josh Soref e9d4582aec spelling: locals in src/System.Management.Automation/engine/runtime 2016-09-01 14:30:25 +00:00
Josh Soref ab7b5008e3 spelling: public identifiers in src/System.Management.Automation 2016-09-02 16:21:35 +00:00
Dongbo Wang 58a2ba730d Merge pull request #2046 from xiaoyinl/use-https-links
Use HTTPS links for go.microsoft.com
2016-09-01 17:23:09 -07:00
Paul Higinbotham fe1f035d44 Merge TFS 2064268: ConstrainedLanguage PowerShell should not block nested cmdlet invocation via runspace (#2159)
* Merge TFS 2064268: Under UMCI PowerShell should not block nested cmdlet invocation via runspace

* Update SessionState.cs

Fixed ExecutionContext property name error.
2016-09-01 17:21:54 -07:00
Paul Higinbotham 1d1c8b770a Merge TFS 8193011: Constrained language mode doesn't allow CIM cmdlets (#2158)
* Merge TFS 8193011: Constrained language mode doesn't allow argument transformation

* Update CommandProcessorBase.cs

Added comment per review comment.
2016-09-01 17:20:57 -07:00
Sergei Vorobev f12c936803 Merge pull request #2106 from jsoref/spelling-debug
spelling: debug

- Fix spelling in debug asserts and tracing
- Fix telemetry event name for PackageManagement
2016-08-30 15:45:46 -07:00
Josh Soref 2f980faac5 spelling: debug, tracer, ... 2016-08-29 18:06:24 +00:00
Josh Soref 857def02cc spelling: debug, assert... 2016-08-28 21:46:20 +00:00
Josh Soref ceda3cfac4 spelling: debug... 2016-08-28 06:47:18 +00:00
Josh Soref c59e992c25 spelling: comments in src/System.Management.Automation/engine 2016-08-28 05:44:55 +00:00
Josh Soref bf5d15d891 spelling: comments in src/System.Management.Automation/engine/remoting/server 2016-08-28 05:34:28 +00:00
Josh Soref ef44569f9d spelling: comments in src/System.Management.Automation/engine/remoting/fanin 2016-08-28 05:33:16 +00:00
Josh Soref 435c4e3474 spelling: comments in src/System.Management.Automation/engine/remoting/common 2016-08-28 05:29:21 +00:00
Josh Soref 64bd97801a spelling: comments in src/System.Management.Automation/engine/remoting/commands 2016-08-28 05:27:36 +00:00
Josh Soref 836101c1de spelling: comments in src/System.Management.Automation/engine/remoting/client 2016-08-28 05:25:01 +00:00
Josh Soref 721abf09dc spelling: comments in src/System.Management.Automation/engine/parser 2016-08-28 05:22:02 +00:00
Josh Soref 1e1a69a291 spelling: comments in src/System.Management.Automation/engine/lang 2016-08-28 05:18:25 +00:00
Josh Soref 8d58abcc5f spelling: comments in src/System.Management.Automation/engine/interpreter 2016-08-28 05:17:13 +00:00
Josh Soref 4d64abd01d spelling: comments in src/System.Management.Automation/engine/hostifaces 2016-08-28 05:16:16 +00:00
Josh Soref 781be88323 spelling: comments in src/System.Management.Automation/engine/debugger 2016-08-28 06:12:41 +00:00
Josh Soref 9fb40a2d15 spelling: comments in src/System.Management.Automation/engine/COM 2016-08-28 06:13:41 +00:00
Josh Soref eb3fd7ae6c Spelling comments (#2066)
* spelling: comments in src/Microsoft.Management.Infrastructure.CimCmdlets

* spelling: comments in src/Microsoft.PackageManagement.ArchiverProviders

* spelling: comments in src/Microsoft.PackageManagement.CoreProviders

* spelling: comments in src/Microsoft.PackageManagement.MetaProvider.PowerShell

* spelling: comments in src/Microsoft.PackageManagement.MsiProvider

* spelling: comments in src/Microsoft.PackageManagement.MsuProvider

* spelling: comments in src/Microsoft.PackageManagement.NuGetProvider

* spelling: comments in src/Microsoft.PackageManagement.PackageSourceListProvider

* spelling: comments in src/Microsoft.PackageManagement

* spelling: comments in src/Microsoft.PowerShell.Activities

* spelling: comments in src/Microsoft.PowerShell.Commands.Diagnostics

* spelling: comments in src/Microsoft.PowerShell.Commands.Management

* spelling: comments in src/Microsoft.PowerShell.Commands.Utility

* spelling: comments in src/Microsoft.PowerShell.ConsoleHost

* spelling: comments in src/Microsoft.PowerShell.Core.Activities

* spelling: comments in src/Microsoft.PowerShell.CoreCLR.AssemblyLoadContext

* spelling: comments in src/Microsoft.PowerShell.CoreCLR.Eventing

* spelling: comments in src/Microsoft.PowerShell.Diagnostics.Activities

* spelling: comments in src/Microsoft.PowerShell.GraphicalHost

* spelling: comments in src/Microsoft.PowerShell.LocalAccounts

* spelling: comments in src/Microsoft.PowerShell.Management.Activities

* spelling: comments in src/Microsoft.PowerShell.PSReadLine

* spelling: comments in src/Microsoft.PowerShell.PackageManagement

* spelling: comments in src/Microsoft.PowerShell.ScheduledJob

* spelling: comments in src/Microsoft.PowerShell.Security.Activities

* spelling: comments in src/Microsoft.PowerShell.Security

* spelling: comments in src/Microsoft.PowerShell.Utility.Activities

* spelling: comments in src/Microsoft.PowerShell.Workflow.ServiceCore

* spelling: comments in src/Microsoft.WSMan.Management.Activities

* spelling: comments in src/Modules

* spelling: comments in src/Schemas

* spelling: comments in src/libpsl-native

* spelling: comments in src/powershell-native

* spelling: comments in build.psm1

* spelling: comments in src/System.Management.Automation/CoreCLR

* spelling: comments in src/System.Management.Automation/DscSupport

* spelling: comments in src/System.Management.Automation/cimSupport

* spelling: comments in src/System.Management.Automation/commands

* spelling: comments in src/System.Management.Automation/engine/Modules
2016-08-26 13:46:03 -07:00