Commit graph

3754 commits

Author SHA1 Message Date
PowerShell Team
22d2273ce4 Refactoring - use ?? in more places 2016-08-03 12:14:28 -07:00
PowerShell Team
85d6e9f022 Refactoring - adjust modifiers declaration order 2016-08-03 12:14:28 -07:00
PowerShell Team
ae8d2ed794 Refactor - convert to auto-property
Mostly using R# to automatically refactor, with some manual
fixups where it wouldn't work automatically (e.g. xml comments
on fields) or some it seemed to miss.

Some minor code reformatting was also done on properties near
other stuff I was manually inspecting.
2016-08-03 12:14:28 -07:00
PowerShell Team
bc4901bd59 Remove unused using statements 2016-08-03 12:06:06 -07:00
Jason Shirk (POWERSHELL)
38ab0f4d73 update csproj references 2016-08-03 12:06:06 -07:00
Francisco Gamino
92a37b4675 Enable crossgen for PowerShell binaries on Windows 2016-08-03 10:48:27 -07:00
James Truher
1bbdaa7ea8 Change free/used calculation to be consistent across platforms
add a couple of tests to validate return values
2016-08-03 10:38:26 -07:00
James Truher
9597a47689 change linux diskfree calculations from using /bin/df as a source of data to [io.driveinfo] 2016-08-03 10:38:26 -07:00
James Truher
fb953c16b8 fix for Get-PSDrive to get free and used space on Non-Windows systems 2016-08-03 10:38:26 -07:00
Alex Jordan
b1ea06aaef Merge pull request #1593 from PowerShell/ealexjordan/pscolors
Ealexjordan/pscolors
2016-08-03 10:37:20 -07:00
Dongbo Wang
445b3b6ccd Merge pull request #1619 from PowerShell/vors/mmi-alpha4
Bump MMI dependency to alpha04
2016-08-03 09:26:47 -07:00
Jianyun
7a8589a8c5 Merge pull request #1612 from PowerShell/jianyunt/docs
Removed license section, updated file header, fixed broken links.
2016-08-02 18:18:19 -07:00
Sergei Vorobev
25c89310a4 Bump MMI dependency to alpha04
alpha04 has following changes:
- libmi.so is not included in this package. It will be brough
  as a separate nuget package later.
- all unix runtimes are replaced by generic unix runtimes to
  enable easier builds on new unix platforms.
2016-08-02 17:54:07 -07:00
Dongbo Wang
7620415bc1 Merge pull request #1615 from PowerShell/vors/suffixes
Be smarter about nuget package names on appveyor
2016-08-02 17:12:06 -07:00
Jianyun Tao
ab35822441 Removed file header section per comments from Joey. 2016-08-02 16:54:58 -07:00
Jianyun Tao
7eae332346 Merge branch 'master' of https://www.github.com/powershell/powershell into jianyunt/docs 2016-08-02 16:53:23 -07:00
Jason Shirk
a85ca6271a Merge pull request #1581 from PowerShell/AngelCalvo-patch-2
Update README.md
2016-08-02 16:01:39 -07:00
Angel Calvo
b38256aab1 Update README.md
Made some changes on package installation table -  I noticed some inconsistencies some places using How to Install, others Installation Instructions.  So I cleaned up, and removed “How to” in favor of “install” and Installation Instuctions.

Update README.md

Update README.md
2016-08-02 15:31:41 -07:00
Andy Schwartzmeyer
76b0c033fa Merge pull request #1608 from PowerShell/vors/build-docs
Update building instructions to use correct TOP directories
2016-08-02 15:22:57 -07:00
James Truher [MSFT]
cf3519b8eb Merge pull request #1547 from PowerShell/jameswtruher/TestGuidelineUpdate
updates from test-guideline PR to incorporate feedback
2016-08-02 14:49:48 -07:00
Sergei Vorobev
04c8cdbb20 Be smarter about nuget package names on appveyor 2016-08-02 14:48:46 -07:00
Sergei Vorobev
b654b7d4b1 Merge pull request #1501 from PowerShell/jameswtruher/CmdletTestMigration
Jameswtruher/cmdlet test migration
2016-08-02 14:09:10 -07:00
Paul Allen
b529951598 Merge pull request #1604 from PowerShell/split-psrp-shared-library
split the wsman apis into client/server shared libraries
2016-08-02 13:57:07 -07:00
Jianyun Tao
3fffd48125 removed an empty legal-licensing.md file. 2016-08-02 13:51:52 -07:00
Jianyun
7663df3d45 Merge pull request #1607 from alexandair/patch-2
Update installation/linux.md
2016-08-02 13:46:12 -07:00
Jianyun Tao
2116c0118d Removed license section, updated file header, fixed broken links. 2016-08-02 13:41:54 -07:00
Sergei Vorobev
f48bb2fcaa Merge pull request #1606 from PowerShell/vors/author
Remove author tag from all project.json files
2016-08-02 13:29:43 -07:00
Sergei Vorobev
99249d0ff4 Update building instructions to use correct TOP directories 2016-08-02 13:17:48 -07:00
Aleksandar Nikolić
d6b8159e5c Update installation/linux.md
Fixing typo.
2016-08-02 22:12:00 +02:00
Michael Greene
b92791216b remove -PublishLocation 2016-08-02 15:09:32 -05:00
James Truher
6a07b71ba6 update tests to include $IsCoreCLR rather than $IsCore
also fix archive test to be sure it gets the proper archive module (not the one that's somewhere in the filesystem)
2016-08-02 12:50:24 -07:00
Andy Schwartzmeyer
f5502bcddc Merge pull request #1605 from PowerShell/vors/resgen
C#-based resgen
2016-08-02 12:48:39 -07:00
Sergei Vorobev
78c9da25fa Merge pull request #1601 from PowerShell/travisez13/BuildWSManInCore
Compile WSMan binaries when compiling for dot net core
2016-08-02 12:47:31 -07:00
Sergei Vorobev
fb2770392d Remove author tag from all project.json files 2016-08-02 12:39:30 -07:00
Jason Shirk
cfba7537f3 Merge pull request #1599 from PowerShell/error-stream
Error stream
2016-08-02 12:15:13 -07:00
James Truher
0a18a46281 Update json tests to be more cross-plat and handle multiple invocations
only create the enumtest type if it doesn't exist
don't try to compare line endings on json tests which contain arrays,
formatting of the output need not be validated
2016-08-02 12:05:24 -07:00
James Truher
dd0291be09 update encoding on the test files - these are ascii 2016-08-02 12:05:24 -07:00
James Truher
7b836f99f5 create work-around for MacOS in handling wildcards 2016-08-02 12:05:24 -07:00
James Truher
0f60b69af4 Fix Get-Command tests to better handle non-Windows platforms.
set executable bit on Linux/MacOS as that's what determines whether something
is executable. Also simplify partial path creation, only remove up to the first
colon, so those filesystems which have a single root are treated properly
2016-08-02 12:05:24 -07:00
James Truher
96a81c626c rename test files so they match map.json and can be found by invoke-pester 2016-08-02 12:05:24 -07:00
PowerShell Team
1d11f67376 fix two more file copy targets
they weren't being recognized as pester tests because they didn't have the right name
2016-08-02 12:05:24 -07:00
James Truher
d23a5fddc7 fix Archive module to work correctly when the DirectorySeparatorChar is "/"
rather than use either "/" or "\", just use [io.path]::DirectorySeparatorChar
2016-08-02 12:05:24 -07:00
James Truher
176f9fb6bd rename archive test file so it may be found by invoke-pester 2016-08-02 12:05:24 -07:00
PowerShell Team
3575eac7b3 fix typo in archive test name
it needs to have the correct name in order to be executed by invoke-pester
2016-08-02 12:05:24 -07:00
PowerShell Team
ce4303b873 migrated tests run clean on all platforms (locally) 2016-08-02 12:05:24 -07:00
PowerShell Team
0261372bae remove scheduled job tests 2016-08-02 12:05:24 -07:00
PowerShell Team
43eae99276 remove scheduledjob cmdlet tests 2016-08-02 12:05:24 -07:00
PowerShell Team
7305b82b73 Add migrated files 2016-08-02 12:05:24 -07:00
PowerShell Team
721ad34c62 add missing sample archive file 2016-08-02 12:05:24 -07:00
PowerShell Team
28a06155c8 add map.json file for migration of Pester cmdlet tests 2016-08-02 12:05:24 -07:00