Dongbo Wang
c502b31509
Exclude the TimeZone/Computer/FileCatalog cmdlets for Linux. They use windows specific Win32 APIs
2016-07-06 13:04:51 -07:00
Dongbo Wang
b4641986a2
Update project.json files to exclude certain .resx files for each target framework
2016-07-06 13:04:31 -07:00
PowerShell Team
49fea9dac9
Add missing files for OPS [SD:717473]
2016-07-06 13:03:56 -07:00
Dongbo Wang
b4089414de
Add back missing files to OPS -- map.json/project.json udpates
2016-07-05 16:18:24 -07:00
Jason Shirk (POWERSHELL)
efc83bbaa2
Add csproj files and sln for editing but not building
2016-07-05 10:27:41 -07:00
Jason Shirk
9a6655c147
Merge pull request #1246 from PowerShell/andschwa/guard-rawui
...
Guard RawUI when TTY is non-existent
2016-07-01 17:20:03 -07:00
Andrew Schwartzmeyer
f70c0c51c2
Use ConsoleControl on Windows
2016-07-01 17:01:07 -07:00
Andrew Schwartzmeyer
c1168e1a24
Note that CursorSize throws on Windows when output is redirected
2016-07-01 16:46:44 -07:00
Andrew Schwartzmeyer
c5df728176
Import PSReadLine change to throw when redirected
...
A similar change was made to the Source Depot fork of PSReadLine, and
the behavior is depended on in the ConsoleHost. The host always attempts
to load PSReadLine, because a future version of PSReadLine will support
redirected input/output, and until then, PSReadLine must throw so that
the host correctly falls back to Console.ReadLine().
2016-07-01 14:36:15 -07:00
Andrew Schwartzmeyer
75777b42ee
Check that switchKey isn't empty
2016-07-01 14:36:15 -07:00
Andrew Schwartzmeyer
e3fd809d42
Normalize slashes in path given to --file
...
Since we don't yet have a canonical way to normalize paths, here is yet
another use of String.Replace (and this is how it happens).
2016-07-01 14:36:15 -07:00
Andrew Schwartzmeyer
290cc2c2de
Implement FlushInputBuffer
2016-07-01 14:36:15 -07:00
Andrew Schwartzmeyer
80486044d8
Guard use of throwable APIs in System.Console
...
This is reconciled with the .NET Core 1.0 Unix ConsolePal
implementation, with additional error handling for when System.Console
returns unusable values.
2016-07-01 14:36:15 -07:00
Sergei Vorobev
44c98fa946
Remove extra comma in powershell/project.json
2016-07-01 14:04:55 -07:00
Sergei Vorobev
b7186b51f1
Fix typo in README.md
2016-07-01 13:20:04 -07:00
Sergei Vorobev
cef3a9a3c9
Add missed export into Microsoft.WSMan.Management.psd1
2016-07-01 13:17:29 -07:00
PowerShell Team
1c1442f4af
Copy missed format and types files from [SD:717473]
...
commit 559488db3
2016-07-01 13:16:54 -07:00
Sergei Vorobev
afa9aba8f1
Add missed types and format files into src/Modules/map.json
2016-07-01 13:16:53 -07:00
Sergei Vorobev
1a98407ee2
Fix Pester call for FullCLR from appveyor.yml
2016-07-01 13:16:52 -07:00
Sergei Vorobev
1035ed30ec
Move Modules related notes from internals.md into src/Modules/README.md
2016-07-01 12:20:48 -07:00
Sergei Vorobev
afbf9dd2e1
Update project.json files to take Modules only from src/Modules
2016-07-01 12:20:48 -07:00
Sergei Vorobev
0c2ed6f124
Update Modules map.json files
2016-07-01 12:20:48 -07:00
Sergei Vorobev
7e9fcaef29
Move modules for Core in Module/Core
2016-07-01 12:20:48 -07:00
Sergei Vorobev
e4e3206621
Move modules for Full in Module/Full
2016-07-01 12:20:48 -07:00
Sergei Vorobev
12111b0e6f
Move modules shared between frameworks in Module/Shared folder
2016-07-01 12:20:48 -07:00
Sergei Vorobev
916d17e958
Fix Microsoft.PowerShell.ConsoleHost/map.json
2016-07-01 12:20:48 -07:00
Sergei Vorobev
c1d1b52869
Exclude map.json files from copyToOutput and publishOptions
2016-07-01 12:20:48 -07:00
Sergei Vorobev
b755212f5d
Fix GetEventResources problem in Microsoft.PowerShell.Commands.Diagnostics
...
-Move logic about instantiating ResourceManager in one place
-Add CommonUtils.cs to CoreCLR build
-Update resources generation with dotnet cli naming pattern
2016-07-01 12:20:48 -07:00
Sergei Vorobev
8d22c75fe8
GetEventResources.txt into GetEventResources.resx for Microsoft.PowerShell.Commands.Diagnostics resources
2016-07-01 12:20:48 -07:00
Andy Schwartzmeyer
b7f33f6822
Merge pull request #1255 from PowerShell/jasonsh/measure-object-fix
...
Fix Measure-Object -Property w/ wildcards
2016-07-01 10:25:11 -07:00
Jason Shirk (POWERSHELL)
dc1d672a86
Fix Measure-Object -Property w/ wildcards
...
Fixes #1215
2016-06-30 18:16:37 -07:00
Jason Shirk
80be756e2a
Merge pull request #1199 from PowerShell/jasonsh/split-path-qualifier
...
Revert Unix specific Split-Path -Qualifier code
2016-06-30 17:06:18 -07:00
Jason Shirk (POWERSHELL)
4269398379
Fix Split-Path -NoQualifier for Unix paths
2016-06-30 12:59:04 -07:00
Raghu Shantha [MSFT]
8f5d1f885a
Resurect accidentally deleted files for PowerShellGet
...
The remove happened in eea998b4d
2016-06-30 12:08:06 -07:00
Sergei Vorobev
75ee763d32
Merge pull request #1245 from PowerShell/vors/types
...
Make DefineTypes aware of / as a path delimiter on non-windows systems
2016-06-30 10:29:43 -07:00
Andy Schwartzmeyer
c688c4640a
Merge pull request #1242 from PowerShell/andschwa/json-package
...
Downgrade Newtonsoft.Json package to 7.0.1
2016-06-30 09:20:48 -07:00
Raghu Shantha [MSFT]
5bb5c1c4c6
Merge pull request #1237 from PowerShell/quoct/powershellmetaproviderfix
...
Make PowerShellGet loaded for PackageManagement
2016-06-30 08:59:16 -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
Jason Shirk (POWERSHELL)
bfc5b7e836
Revert Unix specific Split-Path -Qualifier code
...
The -Qualifier code for Split-Path made some incorrect assumptions:
* That a path only referred to the file system
* That drives cannot be used on Unix systems
These assumptions were both wrong, so I've reverted the change so we
do not have any Unix specific code in Split-Path now.
Fixes #1176
2016-06-29 14:12:29 -07:00
Quoc Truong
e8fd91c5e6
Fix build break associated with adding PORTABLE to PackageManagementService
2016-06-29 14:09:46 -07:00
Andrew Schwartzmeyer
e08c216c07
Downgrade Newtonsoft.Json package to 7.0.1
...
This is the same as on Nano.
2016-06-29 14:05:09 -07:00
quoctruong
5fcd59db92
use PORTABLE instead of commenting out code
2016-06-29 12:40:25 -07:00
Dongbo Wang
297eda9721
Filter Assembly.Load requests to let the default context load TPAs
2016-06-29 09:50:41 -07:00
quoctruong
eea998b4df
Make PowerShellGet loaded for PackageManagement
2016-06-29 09:33:47 -07:00
Andrew Schwartzmeyer
2360d1ef46
Filter runtime assemblies out of custom context
2016-06-28 19:19:55 -07:00
Andrew Schwartzmeyer
5a29df50f1
Re-enable assembly load handler in CompletionCompleters
2016-06-28 18:31:38 -07:00
Dongbo Wang
03c99586a4
Update ALC to work in publish scenario
2016-06-28 18:31:38 -07:00
Dongbo Wang
ca28391b38
Fix it for 'dotnet build' scenario
2016-06-28 18:31:38 -07:00
Dongbo Wang
66dcd00d93
Make AssemblyLoadContext a singleton and refactor
2016-06-28 18:31:38 -07:00
Andrew Schwartzmeyer
fdfd02ccda
Remove TPA list work-around
2016-06-28 18:31:38 -07:00