forked from PowerShell/PowerShell
-
Notifications
You must be signed in to change notification settings - Fork 0
Keep uptodate #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This reverts commit beffdcf.
Fedora 25 was EOL on December 12, 2017 https://fedoramagazine.org/fedora-25-end-life/ Signed-off-by: Eli Uriegas eli.uriegas@docker.com
…it for mac (#5843) * Also, fix syntax issues to allow to work with released Pester
…uct. (#6006) Change Microsoft.PowerShell.Commands.SetDateCommand.SystemTime class to struct and resolve the error in Set-Date cmdlet - SetLocalTime function is causing a parameter error (error code 0x00000057).
…rm Parameter (#5972) - Adds -Form Parameter to Invoke-WebRequest and Invoke-RestMethod. - Form Accepts any IDictionary. - Keys are used as multipart/form-data field names (PSObject unwrapped and ConvertTo<String>(Object)). - FileInfo values are added as StreamContent with application/octet-stream content type and the FileInfo.Name as the file name. - Strings are treated as StringContent. - Singe values are converted to string with ConvertTo<String>(Object) and treated as StringContent - Top level collections are enumerated and converted as above. Nested collections are treated as a single value and converted accordingly. - Form is mutually exclusive with -Body and -InFile. - Per PowerShell-Committee decision, -Form makes no assumptions about the HTTP method used. It can theoretically be used with any method. User will need to manually supply -Method POST to post the form. - ContentType and content related headers supplied to -Headers will be ignored/cleared as MultipartFormDataContent requires control of these headers.
…config file. (#5920) Support loading a custom `powershell.config.json` file via the command-line for use in testing. This change supports replacing the default `powershell.config.json` file that's usually loaded from the `PSHome` directory with a custom version file. The primary use-cases for this command-line option are as follows: 1. Allow the CI system to disable settings that impact test run times; such as disabling syslog usage on Linux and MacOS 2. Support testing of syslog and os_log without interfering with normal PowerShell operations during test runs via launching an instance with custom log settings.
Use single '*' in file name /src/TypeCatalogGen/powershell*.inc
# Conflicts: # docker/release/fedora27/Dockerfile # docs/installation/linux.md # docs/installation/macos.md # tools/metadata.json
Changes the Windows start menu folder name from ProductSemanticVersionWithName to ProductSemanticVersionWithNameAndOptionalArchitecture - now the start menu is `PowerShell` for all versions.
…e folder. (#6043) Update the shortcut created by the installer to use %HOMEDRIVE%%HOMEPATH% for the working directory.
Fix "Pull Request Process" anchor links in governance.md
Inspired by dotnet cli, and allows for Telemetry opt-out on packaging systems such as AppImage and Snapcraft where the filesystem is immutable.
…t-WebListener (#6013) - Add verbosity to the WebListener when it fails to assist in troubleshooting - Switch the WebListener initialization timeout to count cycles instead of using fixed dates to work around possible VM CI sleep/ issues.
Change Web Cmdlets Tests to Use 127.0.0.1 instead of localhost due to dotnet/corefx#24104 This provides a decent speed boost to the WebCmdlet tests (Faster in dozens of times).
[breaking change] Remove the unsupported members (various versions of CSharp and `JScript`) from the enum 'Language' in Add-Type. After this change, `Add-Type -Language` only supports `CSharp` and `VisualBasic`.
- Remove previous `UseAlwaysAnalytic` workaround in `SysLogProvider.Log` - Update Script Block logging to always log to the operational channel with `UseAlwaysOperational` - Fix `PSChannel` on Linux to use a bitmask - Handle `UseAlwaysOperational` and `UseAlwaysAnalytic` keywords but adding to `_keywordFilter` if the associated channels were selected in the configuration
The timeout mechanism should be supported by the test framework (Pester here).
* Use UTC datetime in Get-Date -UFormat %s Fix %l output from 0..11 to 1..12 Fix %V using Gregorian calendar * Use a workaround for ISO 8601 week of year (uformat %V)
gem install requires sudo on official macOS build VMs. - make bootstrap use sudo for macOS
…werShell version. (#6519) Create the default PSSession configuration, not tied to a specific PowerShell version. When Enable-PSRemoting command is run, it creates 2 sessions configurations: first, the same as it was before with the name containing the current version expressed as: 'PowerShell.$PSVersionTable.GitCommitId' second with the default name 'PowerShell.6' so that administrators wouldn't have to guess which specific version is installed on the target. PR addresses the issue: #6470
- Remove the calls to `GetTypeInfo()` in the generated `.resx` binding C# binding code (change in the tool `ResGen`). - Remove the unused methods in `SessionState.cs`. - Remove the calls to `GetTypeInfo()` from `Compiler.cs` and other files in `engine\runtime`. - Fix typos in `VariableAnalysis.cs` and `ClassOps.cs`. - Minor perf improvement in `MutableTuple.cs` by using indexing instead of linq extension method `last()`.
…6613) Clean up unneeded `GetTypeInfo()` calls in interpreter code. The `GetTypeInfo()` calls were added back in the early days of .NET Core, when most of the properties and methods of `System.Type` were removed. Now those properties and methods are back in `System.Type`, so there is no need to keep those calls.
Make the `PSISERemoteSessionOpenFile` a support event, so that `Get-EventSubscriber` won't show that subscriber. `Get-EventSubscriber -Force` can still show the support event subscribers. `Unregister-Event -Force` needs to be used to remove a support event subscriber. The event subscriber for `PSInternalRemoteDebuggerStopEvent` and `PSInternalRemoteDebuggerBreakpointUpdatedEvent` are already made support events. And this PR makes it the same for `PSISERemoteSessionOpenFile`.
* Fix formatting. * Capitalize TestDrive and add empty strings.
Place in alphabetical order the options
…#6601) Since a PR added support to opt out of telemetry via an environment variable, we can remove the, always intended to be a temporary, solution of deleting a file to opt out of telemetry since the environment variable can be defined at the system level and exist before even installing PowerShell Core. Because the variable is defined as opt out, a value of true, yes, or 1 means no telemetry is sent.
Fix for the Register-PSSessionConfiguration command, as some tests were failing in: https://ci.appveyor.com/project/PowerShell/powershell-f975h Probably because of changes in #6519
`GetTypeInfo()` were added when porting PowerShell to early version of .NET Core (prior .NET Core 1.0). Most properties and methods in `System.Type` were missing at that time. Now the call is not needed anymore and should be removed.
Add meta properties to mac VSTS YAML - Add a property to clean the build machine - Add a property to set the format of the build name - add a property to set which queue to run the build in
…t' folders (#6633) 'GetTypeInfo()' were added when porting PowerShell to early version of .NET Core (prior .NET Core 1.0). Most properties and methods in 'System.Type' were missing at that time. Now the call is not needed anymore and should be removed.
'GetTypeInfo()' were added when porting PowerShell to early version of .NET Core (prior .NET Core 1.0). Most properties and methods in 'System.Type' were missing at that time. Now the call is not needed anymore and should be removed.
'GetTypeInfo()' were added when porting PowerShell to early version of .NET Core (prior .NET Core 1.0). Most properties and methods in 'System.Type' were missing at that time. Now the call is not needed anymore and should be removed.
* Convert identations to spaces * Remove alias tests and extra lines * Remane extra Describe * Remove extra parentheses and add spaces
…ite listing support (#6133) These changes port Windows PowerShell support for Applocker and DeviceGuard User Mode Code Integrity (UMCI) to PSCore6. Windows PowerShell uses public APIs to determine if a system is in locked down mode via AppLocker or DeviceGuard, and automatically runs in constrained language mode. For more information about PowerShell constrained language, see: https://blogs.msdn.microsoft.com/powershell/2017/11/02/powershell-constrained-language-mode/ This support for application whitelisting has mostly existed in PSCore6, but the primary APIs were stubbed out in CorePSStub.cs because they relied on Windows only DeviceGuard (wldp.dll) and AppLocker (Safer APIs) public APIs. These changes re-implement PowerShell lock down APIs on PSCore6 for Windows platforms only. The AppLocker and DeviceGuard public APIs are currently only implemented in Windows OSes and are not supported on Linux or MacOS platforms. Tests have also been ported to PSCore6 and run only for Windows platforms.
* [Feature] Reduce allocations in TableWriter * Revert iterator ReadOnlySpan is not supported in iterators * Use columnsThresHold with stackalloc
Add `-WorkingDirectory` parameter to `pwsh` to allow starting in right working directory.
Pretty print Export-FormatData XML output by default. Refactor Export-FormatData tests, remove test duplications.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.