Commit Graph
1649 Commits
Author SHA1 Message Date
George Chakhidze 7ce34224c2 Remove '.ni' from module help file name (indicating a Ngen binary)
Fixes #2088
2016-09-13 09:40:14 +04:00
George Chakhidze e8190a569b Use prefixed QNames in XPath expressions used by all implementations of ICmdletProviderSupportsHelp interface
Also includes these bugfixes:
  - WSManConfigProvider.GetHelpMaml: Tried to load XML from
    MemoryStream that was created from file name string. Use XmlReader
    instead.
  - WSManConfigProvider.GetHelpMaml: Use Path.Combine instead of
    platform-specific directory separator character.
  - WSManConfigProvider.GetHelpMaml: CmdletHelpPath MAML XML element
    attribute `ID` name casing seems inconsistent with other help.xml
    files. XPath 1.0 does not support case-insensitive expressions,
    use both `id` and `ID` in query.
  - Add Pester test to verify that Get-Help shows provider-specific help.

Fixes #2088
2016-09-13 09:40:14 +04:00
Andrew Schwartzmeyer e7537b7ef4 Improve GetFullyQualfiedName() test 2016-09-12 15:01:18 -07:00
Andrew Schwartzmeyer b86b1f870a Fix memory leak in GetFullyQualifiedName() 2016-09-12 15:01:18 -07:00
Ben Tucker 7071137085 Fix test-locale.cpp to report failing value (#2191)
ASSERT_TRUE("a"=="b") only reports that the strings do not match, hiding
their values.
ASSERT_STREQ("a","b") is a functionally equivalent test, but reports
back the values of the failing strings for easier troubleshooting.
2016-09-08 13:44:13 -07:00
Josh Soref fd1d7a128f grammar: TransactedRegistry stub in System.Management.Automation CoreCLR (#2196)
PowerShell has some stubs to enable code to almost sort of work with things.
Some of the stubs try to say "Do not use me".

This commit corrects the grammar of the message.

Previously the message tried to apply a past tense form to `hit`,
but the past tense of `hit` is `hit`, and while breakpoints can
be hit, it's better to talk to the user about what should be done/
should not be done.
2016-09-07 11:29:42 -07:00
Sergei Vorobev 7a89b33f8b Merge pull request #2154 from jsoref/spelling-locals
Spelling locals
2016-09-06 12:18:33 -07:00
Andrew Schwartzmeyer 683e6fbe36 Remove incorrect logic from GetFullyQualifiedName()
I think this logic was originally added with the assumption that any
hostname with a dot in it was an FQDN. I believe this is incorrect. The
hostname is the hostname regardless of included dots, and getting the
FQDN amounts to always querying for the canonical name.
2016-09-02 10:27:11 -07:00
Dongbo Wang 2bff2443ee Merge pull request #2167 from jsoref/spelling-hangul
spelling: Hangul (unify spelling)
2016-09-02 09:38:40 -07:00
Josh Soref 9e30dc64db spelling: Hangul (unify spelling)
Before this commit there were three spellings, one of which was a typo,
one was a variant spelling, and one was the dominant spelling.

Microsoft generally uses Hangul for its enums:
https://msdn.microsoft.com/en-us/library/cc250412.aspx
And this is the dominant spelling in general and as used in web browsers.
2016-09-02 15:14:45 +00:00
Josh Soref 544aa3fa50 add space to switch-case statement in CommandValidationVisitor.UnresolvedCommandCouldSucceed 2016-09-02 14:48:08 +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
Andrew Schwartzmeyer c695d41c47 Use lowercase name for package folders (#2162)
.NET CLI build 3546 started placing packages in:

    ~/.nuget/packages/microsoft.codeanalysis.common

instead of:

    ~/.nuget/packages/Microsoft.CodeAnalysis.Common

Where the previous (capitalized) version corresponded directly to the
package's name. Now they are all lower-cased.
2016-09-01 16:24:11 -07:00
Josh Soref fbec6eca5a spelling: locals in src/System.Management.Automation/namespaces 2016-09-01 16:03:02 +00:00
Josh Soref c75e01a02f spelling: locals in src/System.Management.Automation/commands 2016-09-01 15:13:34 +00:00
Josh Soref 498800160e spelling: locals in src/System.Management.Automation/CoreCLR 2016-09-06 05:18:02 +00:00
Josh Soref d517f1bafe spelling: locals in src/System.Management.Automation/DscSupport 2016-09-01 14:55:14 +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 aa929a00ce spelling: locals in src/System.Management.Automation/help 2016-09-01 14:03:25 +00:00
Josh Soref b44e91e565 spelling: locals in src/System.Management.Automation/singleshell 2016-09-01 13:55:34 +00:00
Josh Soref 6386d26a8a spelling: locals in src/System.Management.Automation/utils 2016-09-01 13:52:39 +00:00
Josh Soref 67c5cf8b6e spelling: locals in src/powershell-native 2016-09-01 13:51:21 +00:00
Josh Soref 1ad8dec8d2 spelling: display messages (#2135)
spelling: resource strings (display messages and comments)
2016-08-31 14:35:28 -07:00
Jason Shirk cf18010ad5 Fix multi-line input w/ redirected stdin (#2090)
The input loop reading from stdin did not handle multi-line input correctly
because it was adding a newline character where none was expected.

The fix was to not include the final newline character to accept input,
just like Console.ReadLine or PSReadline would.
2016-08-31 13:52:46 -07:00
Dave Wyatt 22aac12c3e Add support for multiple paths to Join-Path
Multiple child paths can be specified via the new positional parameter -AdditionalChildPath.
2016-08-31 13:48:31 -07:00
Dongbo Wang 61255447a0 Merge pull request #2099 from akkatracker/patch-2
its to it's where appropriate in MessageTextBox.Generated.cs
2016-08-30 20:32:49 -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
Dongbo Wang 901af51e3c Merge pull request #2102 from akkatracker/patch-5
its to it's where appropriate in comments in Microsoft.PowerShell.Arc…
2016-08-29 23:18:12 -07:00
Dongbo Wang da8cc47532 Merge pull request #2101 from akkatracker/patch-4
its to it's where appropriate in MshTraceSource.cs
2016-08-29 23:17:02 -07:00
Dongbo Wang 659e2e7bd3 Merge pull request #2100 from akkatracker/patch-3
its to it's where appropriate in ResourceManagerCache.cs
2016-08-29 23:08:18 -07:00
Josh Soref 3cdb922cf0 spelling: locals in src/Microsoft.WSMan.Management 2016-08-30 03:53:12 +00:00
Josh Soref c8dde73d15 spelling: locals in src/Microsoft.PowerShell.Workflow.ServiceCore 2016-09-01 15:43:37 +00:00
Josh Soref ffd64a697e assert 2016-08-30 02:49:17 +00:00
Josh Soref 12e3fc7119 debug/trace 2016-08-29 18:43:48 +00:00
Josh Soref 2f980faac5 spelling: debug, tracer, ... 2016-08-29 18:06:24 +00:00
Josh Soref d3f4eac6c1 correct ArgumentException message in PackageListParser 2016-08-30 20:12:41 +00:00
Josh Soref 4d84d92953 spelling: locals in src/Microsoft.PowerShell.ScheduledJob 2016-08-28 22:12:03 +00:00
Josh Soref 2c2066a0b0 spelling: locals in src/Microsoft.PowerShell.PackageManagement 2016-08-28 22:11:13 +00:00
Josh Soref dbc0956c9f spelling: locals in src/Microsoft.PowerShell.GraphicalHost 2016-09-01 17:42:15 +00:00
Josh Soref 857def02cc spelling: debug, assert... 2016-08-28 21:46:20 +00:00
Josh Soref abb27e417d spelling: locals in src/Microsoft.PowerShell.CoreCLR.Eventing 2016-08-28 07:16:49 +00:00