Commit graph

3893 commits

Author SHA1 Message Date
Andrew Schwartzmeyer
3f9889d6da Consolidate InternalGetFolderPath
This logic belongs in one place, not split in two.
2016-08-05 15:34:52 -07:00
Andrew Schwartzmeyer
816dac0a55 Do not throw when getting Unix domain or user name
If the attempt to get the name fails, throwing an exception results in
PowerShell crashing. Instead, we should simply return empty data.

"unknown" is specifically not returned because it would be ambiguous; it
is not impossible to have an actual user or domain named "unknown".
2016-08-05 15:34:43 -07:00
Dongbo Wang
908d808967 Merge pull request #1659 from PowerShell/quoct/removepsl
Remove PackageSourceListProvider from build
2016-08-05 15:24:14 -07:00
Andy Schwartzmeyer
9a794165b0 Merge pull request #1667 from PowerShell/hiteshraigandhi-patch-1
Update README.md
2016-08-05 14:40:08 -07:00
Andy Schwartzmeyer
a4e4709040 Merge pull request #1653 from andschwa/changelog
Import Git tags to changelog
2016-08-05 14:14:37 -07:00
hiteshraigandhi
42c8df9c58 Update README.md 2016-08-05 14:10:42 -07:00
Andy Schwartzmeyer
0c7573a71a Merge pull request #1638 from PowerShell/frangom/bugfixes
Fixing path to remove ILs after the ngen binary is generated. This fixes issue ##1636
2016-08-05 13:59:13 -07:00
Francisco Gamino
d82bbeca76 Fixing write-verbose call to let the user have control over it when calling the function 2016-08-05 13:30:04 -07:00
Dongbo Wang
9a0436b856 Merge pull request #1661 from PowerShell/dongbo/get-pssession
Fix if/def guards to allow engine to load WsMan and Diagnostics snapins by default when RunspaceConfiguration is used to create a runspace
2016-08-05 13:00:06 -07:00
Andy Schwartzmeyer
df15a294f7 Merge pull request #1662 from andschwa/ubuntu-16.04
Add Ubuntu 16.04 RID
2016-08-05 11:34:56 -07:00
Dongbo Wang
dc9b326587 Fix issue #1609 - Get-PSSession -computername fails on nano
Root cause: Microsoft.WSMan.Management  and  Microsoft.PowerShell.Commands.Diagnostics  are not put in the default snapin list for win-ops, and thus when a runspace is created using RunspaceConfiguration, those 2 are not loaded as snapins by default, which is a behavior change compared to Nano PS.
Fix: Replace the guard 'PORTABLE' to be 'UNIX' so that they are in the default snapin list when targeting windows platform.
2016-08-05 11:20:14 -07:00
Dongbo Wang
70aea51cb1 Merge pull request #1576 from PowerShell/migreene
PowerShellGet demo and "getting started" doc changes
2016-08-05 10:59:54 -07:00
Andrew Schwartzmeyer
09e1683098 Add Ubuntu 16.04 RID 2016-08-05 10:09:40 -07:00
Dongbo Wang
8b31f2c606 Merge pull request #1657 from alexandair/patch-3
removing OPS and a duplicate line in testing-guidelines.md
2016-08-05 09:53:17 -07:00
Jason Shirk
48cf1b5489 Merge pull request #1565 from PowerShell/ParameterBindingTest
Add Pester Test for ParameterBindingTests2.cs
2016-08-05 08:41:15 -07:00
Aleksandar Nikolić
8fc68cab0d Update testing-guidelines.md 2016-08-05 17:14:51 +02:00
quoctruong
30df705a18 Remove building PSL 2016-08-04 20:47:51 -07:00
TingLiu6
89d24fd8ba Add ParameterBinding Pester Test 2016-08-04 19:50:35 -07:00
Jason Shirk
97aa6a8c5c Merge pull request #1627 from PowerShell/brucepayette/python-demo
Checked in PowerShell python interop demo
2016-08-04 19:20:39 -07:00
Aleksandar Nikolić
0325665033 removing OPS and a duplicate line in testing-guidelines.md
Changing OPS to PowerShell.
Changing "PowerShell in Windows" to "Windows PowerShell".
Removing a duplicate line "test/powershell/Modules/Microsoft.PowerShell.Security".
Fixing a bunch of typos.
2016-08-05 02:39:13 +02:00
Bruce Payette
8a6798fb4f Updated to include Aleksandar's editorial changes; mostly python to Python
in the comments.
2016-08-04 17:39:12 -07:00
Jason Shirk
a01436477e Merge pull request #1655 from PowerShell/mirichmo/fixing-start-pspester
Fixing Start-PSPester for non-Windows environments. Fixes regression caused by PR #1530
2016-08-04 17:10:05 -07:00
Dongbo Wang
3cd55d9386 Merge pull request #1649 from PowerShell/AngelCalvo-patch-5
Update testing-guidelines.md
2016-08-04 17:07:09 -07:00
Bruce Payette
c1ccbc0923 Added README.md to the demo. 2016-08-04 16:56:52 -07:00
Bruce Payette
0593aab35b Checked in PowerShell python interop demo 2016-08-04 16:56:43 -07:00
Mike Richmond
a7f5d28f5f Fixing Start-PSPester for non-Windows environments. 2016-08-04 16:46:44 -07:00
Jason Shirk
5676a44f38 Merge pull request #1650 from PowerShell/raghushantha-msieulabranch
EULA for MSI Installer
2016-08-04 15:47:03 -07:00
Jason Shirk
432ce64589 Merge pull request #1651 from andschwa/andschwa/osx-fpm
Fix FPM on Travis CI OS X
2016-08-04 15:41:30 -07:00
Francisco Gamino
20ce3cca2b Fixing path to remove ILs after the ngen binary is generated. 2016-08-04 15:33:57 -07:00
Andrew Schwartzmeyer
d3e5ff9ba8 Set merge=union for changelog
This will prevent the vast majority of conflicts with this file being
updated concurrently.
2016-08-04 14:57:13 -07:00
Andrew Schwartzmeyer
a3a149ae5d Import Git tags to changelog 2016-08-04 14:41:55 -07:00
Raghu Shantha [MSFT]
963710d641 Merge pull request #1652 from PowerShell/raghushantha-thirdpartynotices
Create ThirdPartyNotices.txt
2016-08-04 14:27:38 -07:00
Raghu Shantha [MSFT]
07ac91510d Create ThirdPartyNotices.txt 2016-08-04 13:59:05 -07:00
Andrew Schwartzmeyer
5f396629f7 Use Ruby 2.2.1 explicitly on Travis CI OS X 2016-08-04 13:52:31 -07:00
Andrew Schwartzmeyer
3143ccf97c Use default Ruby on OS X 2016-08-04 13:52:30 -07:00
Andrew Schwartzmeyer
120cc61a07 Downgrade to Xcode 7.3 2016-08-04 13:52:26 -07:00
Dongbo Wang
e6202a06e5 Merge pull request #1530 from PowerShell/mirichmo/file-based-registry-support
Mirichmo/file based registry support Fixes #1187
2016-08-04 13:43:08 -07:00
Raghu Shantha [MSFT]
b6b95c4d63 EULA for MSI Installer 2016-08-04 13:30:00 -07:00
Mike Richmond
1e4615114c Reducing duplication of Environment variable extraction 2016-08-04 13:15:34 -07:00
Mike Richmond
d3625f7662 Resolving issue with Registry reads where values are not present. 2016-08-04 13:15:34 -07:00
Mike Richmond
6eb0f2d6c7 Addressing reader and writer synchronization to the config file within the process. 2016-08-04 13:15:34 -07:00
Mike Richmond
b291e2006c Fixing implementation of GetModulePath to conform to the requirements of #1184. 2016-08-04 13:15:34 -07:00
Mike Richmond
8ffb717e14 Reducing exception catching within ConfigPropertyAccessor classes to provide greater control to callers regarding the most appropriate way to handle them. 2016-08-04 13:15:34 -07:00
Mike Richmond
419db0e832 Removing dependency on JSON .Net for FullClr 2016-08-04 13:15:34 -07:00
Mike Richmond
33c1f2db23 Fixing execution policy so test automation works 2016-08-04 13:15:34 -07:00
Mike Richmond
f8b9b88986 Bug fixes and cleanup in preparation for push. 2016-08-04 13:15:34 -07:00
Mike Richmond
e6e785ec92 Added module path support. Not plumbed trhough yet. 2016-08-04 13:15:34 -07:00
Mike Richmond
2c365356b6 Adding UpdatableHelp checks. 2016-08-04 13:15:34 -07:00
Mike Richmond
73689d697a ExecutionPolicy is now working from JSON files 2016-08-04 13:15:34 -07:00
Mike Richmond
4b8eff2817 Backing up in-progress changes to work on other stuff 2016-08-04 13:15:34 -07:00