Mike Richmond
0d49cb8aa5
Merge pull request #1490 from PowerShell/mirichmo/pwrshplugin-optimization-and-build-fix
...
Fixing bug in pwrshplugin config file reader and wrapping mc.exe call…
2016-07-25 09:00:32 -07:00
Andrew Schwartzmeyer
bcfe498ef4
Guard ProgressPane for pseudo-TTYs
...
Again due to the fact that relying on Console.IsOutputRedirected (as
System.Console does for these APIs) causes bugs when pseudo-TTYs are
used (since the output is not redirected, but the APIs nonetheless can't
be used properly). So we ran into a problem where the value of CursorTop
and Console.BufferHeight were lies, and so we accidentally attempted to
set it numbers below zero. Guard everything.
2016-07-24 17:13:39 -07:00
Andrew Schwartzmeyer
79daea0132
Remove deprecated catch
...
These colors can be set now.
2016-07-24 16:20:46 -07:00
Francisco Gamino
3a898cb888
Addressing code review comments about the mshtml isolation work.
2016-07-24 16:20:46 -07:00
Francisco Gamino
46f8e0d60d
Make Invoke-WebRequest cmdlet work on CoreCLR without mshtml
2016-07-24 16:20:46 -07:00
Francisco Gamino
b7115879c3
Added new file structure for CoreCLR and FullCLR files.
2016-07-24 16:20:46 -07:00
Francisco Gamino
4c748211af
Moved WebCmdlet files to subfile, and added new file structure for CoreCLR and FullCLR files.
2016-07-24 16:20:46 -07:00
Sergei Vorobev
c76651e850
Update .gitignore files
2016-07-24 09:17:22 -07:00
Sergei Vorobev
7f274a356d
Update building/internals.md docs
2016-07-22 16:11:38 -07:00
Sergei Vorobev
3674bacfa8
Copy pwrshplugin into the Full CLR version artifacts
2016-07-22 16:11:37 -07:00
Sergei Vorobev
875402ad53
Create separate Top-level directory per platform
...
- Replace src\powershell top level project by two
new root-level projects:
- src\powershell-unix
- src\powershell-windows
- Break src\Modules into more granular structure:
- Shared
- Windows+Unix-Core
- Windows-Core
- Windows-Core+Full
- Windows-Full
- To be created: Unix-Core. We will do it as a separate PR
- Fix #1122 : Platform-specific set of Modules (and assemblies)
- Fix Start-TypeGen to work with new top level folders layout
2016-07-22 16:11:29 -07:00
Mike Richmond
156418ceab
Fixing bug in pwrshplugin config file reader and wrapping mc.exe calls in vcvarsall.bat.
2016-07-22 15:04:46 -07:00
Andy Schwartzmeyer
5cec5f1b04
Merge pull request #1487 from PowerShell/andschwa/convert-utf
...
Convert UTF-16 files to UTF-8
2016-07-22 14:44:29 -07:00
PowerShell Team
165f2a86c3
Convert UTF-16 files to UTF-8
2016-07-22 13:54:34 -07:00
Sergei Vorobev
f3408da9f0
Merge pull request #1485 from PowerShell/vors/execution-policy-tests
...
Scope ExecutionPolicy tests to current user to allow it run without admin escalation
2016-07-22 13:43:22 -07:00
Jason Shirk
1c3361bf20
Merge pull request #1483 from lzybkr/if_unix
...
Change preprocessor macro LINUX to UNIX
2016-07-22 13:14:28 -07:00
Sergei Vorobev
f78c796175
Update src/powershell-native/.gitignore
2016-07-22 13:00:02 -07:00
Sergei Vorobev
fb34100328
Merge pull request #1474 from PowerShell/vors/remove-cimcmdlets-binary
...
Remove *BinaryMiLog cmdlets
2016-07-22 11:39:33 -07:00
Jason Shirk (POWERSHELL)
673dd2c355
Change preprocessor macro LINUX to UNIX
2016-07-22 10:49:45 -07:00
Manikyam Bavandla
56196c4ad4
Updating an error message
...
Updating an error message
2016-07-21 20:01:03 -07:00
Manikyam Bavandla
8472f27532
Updating Test-RunningAsElevated to return true on *nix and OS X.
...
Permission models on *nix can be very complex, to the point that you
could never possibly guess without simply trying what you need to try;
This is totally different from Windows where you can know what you can
or cannot do with/without admin rights.
2016-07-21 19:35:11 -07:00
Sergei Vorobev
cf821a17a1
Remove *BinaryMiLog cmdlets
2016-07-21 16:55:20 -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
Lee Holmes
105bf9c9ff
Merge pull request #1452 from PowerShell/vors/remove-links
...
Remove unusable links from the source code
2016-07-21 13:12:28 -07:00
Andy Schwartzmeyer
6259c4a4c0
Merge pull request #1462 from PowerShell/johnkord-MMI_full_version
...
Setting MMI dependency in SMA to full version instead of wildcard
2016-07-21 12:16:01 -07:00
John Kordich
6ce8523ad9
Setting MMI dependency in SMA to full version instead of wildcard
2016-07-21 10:41:38 -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
Andrew Schwartzmeyer
c9c3e0b9be
Remove managed CommandLineToArgv
...
It is entirely unused.
2016-07-21 10:39:16 -07:00
Manikyam Bavandla
3dcd621786
Merge branch 'master' into psedition_rename
2016-07-20 18:31:06 -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
Sergei Vorobev
20c4172754
Remove unusable links from the source code
2016-07-20 16:55:00 -07:00
Alex Jordan
17b4bb354c
Changing description of SetBufferContents function
2016-07-19 21:09:54 -07:00
Alex Jordan
d9ac6d6401
Implementing Write-Progress using SetBufferContents
2016-07-19 21:07:06 -07:00
Mike Richmond
f68ec925d0
Fixing comment support for the ConfigFileReader
2016-07-19 16:41:13 -07:00
Mike Richmond
4e7f582d43
Adding ConfigFileReader back into the plugin and fixing it to more efficiently parse the configuration file.
2016-07-19 16:41:13 -07:00
Mike Richmond
d7618d731d
Additional fixes in preparation for review and pull request
2016-07-19 16:41:13 -07:00
Mike Richmond
4e349ddc2c
Resolved link issues to run pwrshplugin.dll on Nano Server and Windows 10
2016-07-19 16:41:13 -07:00
Mike Richmond
c3bf2547e6
Backing up changes where the CoreCLR version runs on Nano Server. It still has the pwrshplugin!WSManPluginStartup call issue.
2016-07-19 16:41:13 -07:00
Mike Richmond
77a26b6b77
Additional code changes and link fixes
2016-07-19 16:41:13 -07:00
Mike Richmond
8948aa7efb
Initial changes to split the CMake project into a hierarchical set of CMakeLists.txt files
2016-07-19 16:41:13 -07:00
Manikyam Bavandla MSFT
a466d4b351
Merge pull request #1429 from PowerShell/psget
...
[PowerShellGet] Enabling Proxy support on Linux.
2016-07-19 12:08:42 -07:00
Manikyam Bavandla
7c32155421
Enable Check-PSGalleryApiAvailability on Linux
...
Updating Enable Check-PSGalleryApiAvailability on Linux to use
[System.Net.NetworkInformation.NetworkInterface]::GetIsNetworkAvailable()
2016-07-18 19:28:02 -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
790a07222e
Disable some XML documentation warnings
...
Some projects have more warnings than I can fix.
2016-07-18 19:07:32 -07:00
Andrew Schwartzmeyer
b6f26ad7cc
Enable XML documentation generation
...
This is enabled for PowerShell projects, but not PackageManagment,
WSMan, Cim, or MMI.
2016-07-18 18:40:42 -07:00
Manikyam Bavandla
258fd792fc
Enabling Proxy support on Linux
...
Enabling Proxy support on Linux
2016-07-18 18:23:22 -07:00
Quoc Truong
28dfca8638
Change variable name to make code more readable
2016-07-18 16:13:22 -07:00
Quoc Truong
e3015e5acf
Improve performance of installing packages with dependencies for nugetprovider and find-package
2016-07-18 14:14:59 -07:00
Jason Shirk
5a1432e234
Merge pull request #1388 from PowerShell/andschwa/default-editmode
...
Use Emacs as DefaultEditMode on Linux / OS X
2016-07-15 15:57:58 -07:00
Andrew Schwartzmeyer
c6758603ae
Set DefaultEditMode to Emacs on Linux / OS X
2016-07-15 13:40:16 -07:00