PowerShell Team
0dd425da19
Integrate changes between [SD:717473] and [SD:725290]
2016-07-28 18:02:24 -07:00
Jason Shirk (POWERSHELL)
9a20bf6f97
Change $PSVersionTable.PSVersion to 6.0.0-alpha
2016-07-27 10:53:11 -07:00
Jason Shirk (POWERSHELL)
be8e39782f
Add SemanticVersion type
2016-07-27 10:53:11 -07:00
Andrew Schwartzmeyer
41173a3b65
Rename IsCore to IsCoreCLR
2016-07-26 11:54:08 -07:00
Andrew Schwartzmeyer
9ba6ba359d
Re-enable assembly name comparison
2016-07-26 11:54:08 -07:00
Andrew Schwartzmeyer
b400ba3688
Use CORECLR to guard analysis progress record
2016-07-26 11:53:53 -07:00
Andrew Schwartzmeyer
f0e64c2c6c
Clean up ApplicationBase work-around
2016-07-26 11:49:54 -07:00
Andrew Schwartzmeyer
d40131ae44
Clean up PSMODULEPATH Windows work-around
2016-07-26 11:49:54 -07:00
Jason Shirk (POWERSHELL)
673dd2c355
Change preprocessor macro LINUX to UNIX
2016-07-22 10:49:45 -07:00
Manikyam Bavandla MSFT
042d1e99bb
Merge pull request #1458 from PowerShell/psedition_rename
...
Rename Desktop & Core PSEditions to WindowsPowerShell & PowerShellCore
2016-07-21 15:29:00 -07:00
Andrew Schwartzmeyer
8eda0df29e
Remove CommandLineParameterBinderNativeMethods
...
This was dead code. PreParseCommandLine was called only when tracing was
enabled, which meant that the tracing itself was useless, as it was not
tracing what the actual code was doing.
I believe the intention of this tracing was to "guess" how the native
commands on Windows *might* parse their command-line arguments, but the
traced result was not guaranteed to be accurate. Since we cannot provide
accurate tracing, the tracer was removed in its entirety.
The PreParseCommandLine function was the only place where
CommandLineToArgv was called, so with it removed, the entire native
methods class here can be removed.
2016-07-21 10:39:16 -07:00
Manikyam Bavandla
81e5a7e7aa
Update PSEdition values to Rename Desktop & Core to WindowsPowerShell and PowerShellCore
...
$PSVersionTable.PSEdition currently supports Desktop and Core enums.
Because PowerShell is going to be Open and also available on Linux/Mac
from August, we decided to rename these values so as to make it clear to
the end user.
We decided to use the names WindowsPowerShell,PowerShellCore.
2016-07-20 18:30:21 -07:00
Andrew Schwartzmeyer
0f04de1e96
Fix some documentation warnings
...
Mostly low-hanging fruit and Linux additions/changes.
2016-07-18 19:08:28 -07:00
Andrew Schwartzmeyer
ad94ddb3f1
Guard IsWinPEHost
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
89508ae99d
Revert IsWinPEHost changes
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
662e390902
Remove Platform.HasGroupPolicySupport query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
2249afcd0a
Remove Platform.HasUNCSupport query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
58fe228dc0
Remove Platform.HasFileShares query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
73a1a51f69
Remove Platform.HasRegistry query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
c2cd059aa8
Remove Platform.HasDriveAutoMounting query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
46cfa26812
Remove Platform.HasCom query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
5ef851a170
Port NativeItemExists for Linux
...
Without using .NET
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
3dacf45789
Revert NativeItemExists changes from baseline
2016-07-14 17:34:12 -07:00
Sergei Vorobev
3e105225cf
Merge pull request #1375 from PowerShell/cchen/bugfix
...
msft:8027609 Get-Module -List and Test-ModuleManifest import the the …
2016-07-14 16:08:31 -07:00
Chunqing Chen
080f029d8a
msft:7980238, 7768797 Test-ModuleManifest loads all available modules if a module has the nested module dependencies. Get-Module -List and Test-ModuleManifest import the the nested module dependencies into the current runspace.
2016-07-14 13:21:28 -07:00
Chunqing Chen
bd0ba6771c
msft:8027609 Get-Module -List and Test-ModuleManifest import the the nested module dependencies into the current/global runspace.
2016-07-14 12:42:47 -07:00
Andrew Schwartzmeyer
c17244eed2
Fix IsAdministrator for Unix
2016-07-13 15:46:25 -07:00
Travis Plunk
bf905966de
Fixed comments and white space issues
2016-07-12 14:38:19 -07:00
Travis Plunk
dc632bff96
Fixed unreachable code issue
2016-07-12 12:11:07 -07:00
Travis Plunk
9a9ff6f766
Removed language if statement no longer needed due to compiler if statement
...
Clarified comment
2016-07-12 11:27:31 -07:00
Travis Plunk
547d5da804
Made check blocking execution policy, only blocking (always returning true) on linux
2016-07-11 18:54:05 -07:00
Dongbo Wang
81b92583e1
Fix #682 - [system.manage<Tab>] doesn't work
2016-07-08 14:18:20 -07:00
Dongbo Wang
da7f6ba3b2
Move the most recent changes about the ALC from SD to Github
2016-07-08 14:18:20 -07:00
Quoc Truong
862b7f4982
Merge pull request #1282 from PowerShell/quoct/fixnugetprovider
...
Expose Platform API from SMA and uses that in NuGetProvider
2016-07-06 12:15:59 -07:00
quoctruong91
35ac5999ac
Rename enum interface; Change location used in NuGetProvider to go up 1 level
2016-07-06 10:28:31 -07:00
Andrew Schwartzmeyer
eac57de216
Fix use of Get-Command when more than one exists
2016-07-05 16:02:06 -07:00
Sergei Vorobev
db4b3a6083
Make DefineTypes aware of / as a path delimiter on non-windows systems
2016-06-29 14:28:09 -07:00
Andrew Schwartzmeyer
5a29df50f1
Re-enable assembly load handler in CompletionCompleters
2016-06-28 18:31:38 -07:00
Andrew Schwartzmeyer
c78732d226
Remove ClrFacade.Load
...
Instead, rely on intercepting Assembly.Load
2016-06-28 18:31:38 -07:00
Andrew Schwartzmeyer
2f892e8127
Use Marshal.ZeroFreeCoTaskMemUnicode
...
This removes the ClrFacade function of the same name as this API is in
.NET Core 1.0 Marhsal class, not SecureStringMarshal.
2016-06-27 15:30:47 -07:00
Andrew Schwartzmeyer
97df59f553
Re-enable checking of assemblies with strong names
...
This removes the `UsesCodeSignedAssemblies()` switch in `CorePsPlatform`
and reverts the work-arounds skipping strong name checking.
2016-06-27 14:49:46 -07:00
PowerShell Team
207d2b3195
Integrate changes from SD between [SD:715912] and [SD:717473]
2016-06-22 06:24:08 -07:00
PowerShell Team
8ee6d6ca43
Update files from Source Depot changeset [SD:715912]
...
Corresponds to 77eda782aa78ba8b7a36c51ee619629ce6c990f2 in psl-monad.
2016-06-15 18:02:03 -07:00
Andrew Schwartzmeyer
a8f93c3c64
Fix the alternate path separator for Linux
...
Because normalization of paths occurs through the location globber and
filesystem provider by way of `path.Replace(alternate, default)`,
changing the alternate path separator on Linux to be '\' instead of
.NET's '/' let's PowerShell be "slash agnostic."
2016-06-15 12:16:54 -07:00
Andrew Schwartzmeyer
69ce0e7107
Revert CORECLR guard from FullCLR files
...
This reverts the `if !CORECLR ... #endif` guard surrounding FullCLR
files by applying the original diff from the `source-depot` branch, thus
the accidentally overwritten BOMs were restored as well.
2016-06-14 16:06:48 -07:00
Andrew Schwartzmeyer
d5f6295042
Update ModuleAnalysisCache to use XDGBDS on Linux
2016-06-09 09:50:36 -07:00
Andrew Schwartzmeyer
0e10a51802
Whitespace and formatting cleanups
2016-06-09 09:50:36 -07:00
v-alexjo
caa4c3f163
Changing history to cache, removed redundant code
2016-06-09 09:50:36 -07:00
v-alexjo
c2527199a6
Further code review changes
2016-06-09 09:50:36 -07:00
v-alexjo
29e97bf1aa
Code review changes to XDG support
2016-06-09 09:50:36 -07:00