Commit graph

4186 commits

Author SHA1 Message Date
Sergei Vorobev
88eb903b71 Merge pull request #2175 from andschwa/osx-openssl
Fix macOS CI build and installation instructions
2016-09-05 21:52:46 -07:00
Andrew Schwartzmeyer
7c10dac20c Update macOS install docs for OpenSSL 2016-09-04 12:40:57 -07:00
Andrew Schwartzmeyer
27530c403c Use direct download URLs instead of API
GitHub's API is throttled to 60 requests per hour per IP address when
for non-authenticated calls, which was causing severe CI flakiness.
While this adds another set of URLs to update for each release, the
alternative was adding an OAuth token and maintaining its ownership.
Moreover, this code is simpler than the previous API parsing.
2016-09-02 17:17:20 -07:00
Andrew Schwartzmeyer
363657717c Handle package download failure 2016-09-02 17:17:20 -07:00
Andrew Schwartzmeyer
fc2e4e0e23 Revert "Temporarily disable OS X on Travis CI"
This reverts commit bbf64d17ad.
2016-09-02 17:17:20 -07:00
Andrew Schwartzmeyer
e337d93720 Install OpenSSL via Homebrew on macOS
Since it is required. Note that we do *not* unsafely link the OpenSSL
libraries into the system folders, as we instead patch .NET Core's
libraries to find OpenSSL in the installed location.
2016-09-02 17:17:20 -07:00
Andrew Schwartzmeyer
6b582851d6 Don't download package silently
Otherwise users think it's slow or hung.
2016-09-02 17:17:20 -07:00
Andrew Schwartzmeyer
25eab9a2e5 Quote all $variables
For paranoia.
2016-09-02 17:17:20 -07:00
Andrew Schwartzmeyer
e3cf257a7d Use hash to check for curl
Our shebang is Bash.
2016-09-02 17:17:20 -07:00
Dongbo Wang
0c4472e889 Merge pull request #2173 from vors/label-abandoned
Add label "Review - Abandoned" description
2016-09-02 17:10:17 -07:00
Sergei Vorobev
95d05d66b6 Add label "Review - Abandoned" description 2016-09-02 16:39:27 -07:00
Yanbing Wang
c5b90ca656 fixed indentation 2016-09-02 13:28:20 -07:00
Dongbo Wang
48d87842b1 Merge pull request #2169 from andschwa/fqdn
Remove incorrect logic from GetFullyQualifiedName()
2016-09-02 11:21:51 -07:00
Yanbing Wang
11e279d688 Update based on PR feedback 2016-09-02 11:07:18 -07:00
Andrew Schwartzmeyer
683e6fbe36 Remove incorrect logic from GetFullyQualifiedName()
I think this logic was originally added with the assumption that any
hostname with a dot in it was an FQDN. I believe this is incorrect. The
hostname is the hostname regardless of included dots, and getting the
FQDN amounts to always querying for the canonical name.
2016-09-02 10:27:11 -07:00
Dongbo Wang
2bff2443ee Merge pull request #2167 from jsoref/spelling-hangul
spelling: Hangul (unify spelling)
2016-09-02 09:38:40 -07:00
Dongbo Wang
a7b563c0db Merge pull request #2168 from jsoref/switch-case-space
add space to switch-case statement in CommandValidationVisitor.Unreso…
2016-09-02 09:37:13 -07:00
Josh Soref
9e30dc64db spelling: Hangul (unify spelling)
Before this commit there were three spellings, one of which was a typo,
one was a variant spelling, and one was the dominant spelling.

Microsoft generally uses Hangul for its enums:
https://msdn.microsoft.com/en-us/library/cc250412.aspx
And this is the dominant spelling in general and as used in web browsers.
2016-09-02 15:14:45 +00:00
Josh Soref
544aa3fa50 add space to switch-case statement in CommandValidationVisitor.UnresolvedCommandCouldSucceed 2016-09-02 14:48:08 +00:00
Dongbo Wang
58a2ba730d Merge pull request #2046 from xiaoyinl/use-https-links
Use HTTPS links for go.microsoft.com
2016-09-01 17:23:09 -07:00
Paul Higinbotham
fe1f035d44 Merge TFS 2064268: ConstrainedLanguage PowerShell should not block nested cmdlet invocation via runspace (#2159)
* Merge TFS 2064268: Under UMCI PowerShell should not block nested cmdlet invocation via runspace

* Update SessionState.cs

Fixed ExecutionContext property name error.
2016-09-01 17:21:54 -07:00
Paul Higinbotham
1d1c8b770a Merge TFS 8193011: Constrained language mode doesn't allow CIM cmdlets (#2158)
* Merge TFS 8193011: Constrained language mode doesn't allow argument transformation

* Update CommandProcessorBase.cs

Added comment per review comment.
2016-09-01 17:20:57 -07:00
Andrew Schwartzmeyer
c695d41c47 Use lowercase name for package folders (#2162)
.NET CLI build 3546 started placing packages in:

    ~/.nuget/packages/microsoft.codeanalysis.common

instead of:

    ~/.nuget/packages/Microsoft.CodeAnalysis.Common

Where the previous (capitalized) version corresponded directly to the
package's name. Now they are all lower-cased.
2016-09-01 16:24:11 -07:00
Jason Shirk
bc8d537884 Merge pull request #2067 from JamesWTruher/jameswtruher/testgapfile-002
Fill more gaps in cmdlet test coverage
2016-09-01 11:16:32 -07:00
Yanbing Wang
b488d7eb35 Update the path to LanguageTestSupport.psm1 -force 2016-09-01 10:31:10 -07:00
Josh Soref
fbec6eca5a spelling: locals in src/System.Management.Automation/namespaces 2016-09-01 16:03:02 +00:00
Josh Soref
c75e01a02f spelling: locals in src/System.Management.Automation/commands 2016-09-01 15:13:34 +00:00
Josh Soref
498800160e spelling: locals in src/System.Management.Automation/CoreCLR 2016-09-06 05:18:02 +00:00
Josh Soref
d517f1bafe spelling: locals in src/System.Management.Automation/DscSupport 2016-09-01 14:55:14 +00:00
Josh Soref
3f992cd263 spelling: locals in src/System.Management.Automation/engine 2016-09-01 14:54:41 +00:00
Josh Soref
b79355b7f0 spelling: locals in src/System.Management.Automation/engine/ComInterop 2016-09-01 14:50:07 +00:00
Josh Soref
7ec70ee30d spelling: locals in src/System.Management.Automation/engine/CommandCompletion 2016-09-01 14:49:29 +00:00
Josh Soref
49fc2e96ef spelling: locals in src/System.Management.Automation/engine/hostifaces 2016-09-01 14:48:16 +00:00
Josh Soref
c724220af1 spelling: locals in src/System.Management.Automation/engine/Modules 2016-09-01 14:47:07 +00:00
Josh Soref
ca440b92e5 spelling: locals in src/System.Management.Automation/engine/parser 2016-09-01 14:45:40 +00:00
Josh Soref
a398315a87 spelling: locals in src/System.Management.Automation/engine/remoting 2016-09-02 16:21:20 +00:00
Josh Soref
e9d4582aec spelling: locals in src/System.Management.Automation/engine/runtime 2016-09-01 14:30:25 +00:00
Josh Soref
aa929a00ce spelling: locals in src/System.Management.Automation/help 2016-09-01 14:03:25 +00:00
Josh Soref
b44e91e565 spelling: locals in src/System.Management.Automation/singleshell 2016-09-01 13:55:34 +00:00
Josh Soref
6386d26a8a spelling: locals in src/System.Management.Automation/utils 2016-09-01 13:52:39 +00:00
Josh Soref
67c5cf8b6e spelling: locals in src/powershell-native 2016-09-01 13:51:21 +00:00
coderdad
c531098f3b Working directory fix for googletest submodule update (#2151)
* Working directory fix for submodule update

The git submodule update for googletest must be run from the script's root directory

* Added try-finally block around Push-Location

Great recommendation from @vors! 

The edit is a best practice incase the user Ctrl-C's out of the script. 

Tested locally by exiting out of: 
try { Push-Location C:\Users\; Start-Sleep -Seconds 60 } finally { Pop-Location }
2016-08-31 19:42:27 -07:00
Yanbing Wang
c06becaadd update map.json 2016-08-31 16:00:06 -07:00
Josh Soref
1ad8dec8d2 spelling: display messages (#2135)
spelling: resource strings (display messages and comments)
2016-08-31 14:35:28 -07:00
Sergei Vorobev
1638bdf3e6 Merge pull request #2063 from jsoref/spelling-test
spelling fixes: tests
2016-08-31 14:13:49 -07:00
Jason Shirk
cf18010ad5 Fix multi-line input w/ redirected stdin (#2090)
The input loop reading from stdin did not handle multi-line input correctly
because it was adding a newline character where none was expected.

The fix was to not include the final newline character to accept input,
just like Console.ReadLine or PSReadline would.
2016-08-31 13:52:46 -07:00
Dave Wyatt
22aac12c3e Add support for multiple paths to Join-Path
Multiple child paths can be specified via the new positional parameter -AdditionalChildPath.
2016-08-31 13:48:31 -07:00
Keith Mosher
77a37f7773 Add powershell to /etc/shells (#1939)
Manages /etc/shells with after (un)install scripts for CentOS and Ubuntu

Fixes #1913
2016-08-31 13:16:11 -07:00
Dongbo Wang
35f046a8df Merge pull request #2139 from TravisEz13/AddDailyBuild
Add support for running all tests on scheduled builds
2016-08-31 13:12:46 -07:00
Travis Plunk
0d5ae4692b Add support for running all tests on scheduled builds
Only produce nuget packages if tests pass
2016-08-31 13:02:35 -07:00