Commit graph

7332 commits

Author SHA1 Message Date
Aditya Patwardhan 700ee588b8 Revert "Bump System.Data.SqlClient (#10109)" (#10126)
This reverts commit 83d8ec42bb.
2019-07-11 17:30:45 -07:00
Aditya Patwardhan 302d4aa0b9 Revert "Bump System.IO.Packaging (#10108)" (#10125)
This reverts commit 45edbd7ee3.
2019-07-11 17:30:07 -07:00
dependabot-preview[bot] b9501d9ae8 Bump System.Text.Encodings.Web (#10123)
Bumps System.Text.Encodings.Web from 4.6.0-preview6.19303.8 to 4.6.0-preview.19113.10.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-11 14:54:02 -07:00
PRASOON KARUNAN V ffb1549aa9 Add -SecurityDescriptorSddl parameter to Set-Service (#8626) 2019-07-11 13:23:57 -07:00
dependabot-preview[bot] c8fe894bcd Bump System.Configuration.ConfigurationManager (#10111)
Bumps System.Configuration.ConfigurationManager from 4.6.0-preview6.19303.8 to 4.6.0-preview.19113.10.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-11 17:49:32 +05:00
dependabot-preview[bot] 729a29ab15 Bump System.Security.AccessControl (#10102)
Bumps System.Security.AccessControl from 4.6.0-preview6.19303.8 to 4.6.0-preview.19113.10.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-11 16:25:27 +05:00
dependabot-preview[bot] f75c635ce4 Bump System.Security.Principal.Windows (#10101)
Bumps System.Security.Principal.Windows from 4.6.0-preview6.19303.8 to 4.6.0-preview.19113.10.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-11 16:24:38 +05:00
dependabot-preview[bot] 45edbd7ee3 Bump System.IO.Packaging (#10108)
Bumps System.IO.Packaging from 4.6.0-preview6.19303.8 to 4.6.0-preview.19113.10.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-11 16:24:08 +05:00
dependabot-preview[bot] d33c906e58 Bump System.Security.Cryptography.Pkcs (#10107)
Bumps System.Security.Cryptography.Pkcs from 4.6.0-preview6.19303.8 to 4.6.0-preview.19113.10.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-11 16:23:45 +05:00
dependabot-preview[bot] 2852efc395 Bump System.DirectoryServices (#10105)
Bumps System.DirectoryServices from 4.6.0-preview6.19303.8 to 4.6.0-preview.19113.10.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-11 14:00:35 +05:00
dependabot-preview[bot] e5990ed8ba Bump System.Management (#10110)
Bumps System.Management from 4.6.0-preview6.19303.8 to 4.6.0-preview.19113.10.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-11 13:59:31 +05:00
dependabot-preview[bot] 83d8ec42bb Bump System.Data.SqlClient (#10109)
Bumps System.Data.SqlClient from 4.7.0-preview6.19303.8 to 4.7.0-preview.19113.10.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-11 13:53:13 +05:00
dependabot-preview[bot] a7f0c6d2c4 Bump System.Threading.AccessControl (#10106)
Bumps System.Threading.AccessControl from 4.6.0-preview6.19303.8 to 4.6.0-preview.19113.10.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-11 13:52:25 +05:00
dependabot-preview[bot] 8e736d247a Bump System.Security.AccessControl (#10100)
Bumps System.Security.AccessControl from 4.6.0-preview6.19303.8 to 4.6.0-preview.19113.10.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-11 13:51:37 +05:00
dependabot-preview[bot] 958cdda18a Bump System.Text.Encoding.CodePages (#10112)
Bumps System.Text.Encoding.CodePages from 4.6.0-preview6.19303.8 to 4.6.0-preview.19113.10.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-11 13:50:25 +05:00
Travis Plunk 1078caff2b Update change log generation tool to deal with private commits (#10096) 2019-07-10 14:53:02 -07:00
Ilya af71952817 Add another fast path to WildcardPattern.IsMatch for patterns that only have an asterisk in the end (#10054) 2019-07-10 09:15:17 -07:00
Ilya 2ff65c100b Move some of the creations of WildcardPattern in outer loop to avoid unnecessary allocation (#10053) 2019-07-10 09:06:34 -07:00
dependabot-preview[bot] 7485b01b2f Bump PowerShellGet from 2.1.5 to 2.2 in /src/Modules (#10085)
Bumps [PowerShellGet](https://github.com/PowerShell/PowerShellGet) from 2.1.5 to 2.2.
- [Release notes](https://github.com/PowerShell/PowerShellGet/releases)
- [Changelog](https://github.com/PowerShell/PowerShellGet/blob/development/CHANGELOG.md)
- [Commits](https://github.com/PowerShell/PowerShellGet/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-09 17:12:36 -07:00
Travis Plunk 544907eff9
add performance tag to change log command 2019-07-09 16:43:25 -07:00
dependabot-preview[bot] 6cf72e786a Bump PackageManagement from 1.4.2 to 1.4.3 in /src/Modules (#10084)
Bumps PackageManagement from 1.4.2 to 1.4.3.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-09 15:58:25 -07:00
Christoph Bergmeister [MVP] fe56f9d902 Upgrade .Net Core 3 SDK from preview5 to preview6 and related out of band Nuget packages from 2.1 to 3.0-preview6 (#9888) 2019-07-09 14:35:08 -07:00
Christoph Bergmeister [MVP] ffc3af2b5d Create JumpList in STA thread as some COM APIs are strictly STA only to avoid sporadic CLR crashes (#10057) 2019-07-09 13:14:49 -07:00
Christoph Bergmeister [MVP] 3141405159 Update 'Start-PSBuild -Clean' logic of 'git clean' to ignore locked files from VS2019 (#10071) 2019-07-08 17:30:17 -07:00
Dongbo Wang 201d7aa275 Make Foreach-Object 2 times faster by reducing unnecessary allocations and boxing (#10047) 2019-07-08 10:21:47 -07:00
Steve Lee 5bc3d15a30 Check if a reparsepoint is a symlink before trying to get target (#9895) 2019-07-08 11:40:53 +05:00
Tyler James Leonhardt df8e01e95a Add to /etc/shells on macOS (#10066)
Co-Authored-By: Robert Holt <rjmholt@gmail.com>
2019-07-06 16:50:40 -07:00
Ilya 5d98b901be
Cleanup workflow code (#9638)
* Remove WorkFlowInfo type

* Remove condition for UseSharedProcess

* Remove PSWorkflowJob condition

* Remove workflow from ValidateSet

* Remove workflow from CommandTypes enum

* Remove workflow from EventManager

* Remove workflow from Get-Help

* Remove WorkflowFileExtension ".xaml" from ModuleIntrinsics

* Remove WorkflowFileExtension ".xaml" from ModuleCmdletBase

* Remove workflow from PSModuleInfo

* Remove workflow from CustomShellCommands

* Remove workflow from InitialSessionStateProvider

* Remove WriteWorkflowDebugNotSupportedError()

* Remove unneeded resource strings from Module.cs

* Remove xaml from valid extension list
2019-07-07 01:03:03 +05:00
dependabot-preview[bot] 6ad4fb00df Bump Markdig.Signed from 0.17.0 to 0.17.1 (#10062) 2019-07-05 13:33:01 -07:00
Dongbo Wang 0bb122b193 Use a static cache for PSVersionInfo.PSVersion to avoid casting SemanticVersion to Version very time accessing that property (#10028) 2019-07-04 09:13:41 +05:00
Reece Dunham 2a80ed728f Indent fix in markdown-link.tests.ps1 (#10049) 2019-07-04 08:08:52 +05:00
Ilya ad45fb05d2 Reduce allocations in NavigationCmdletProvider.NormalizePath() (#10038) 2019-07-03 12:52:27 -07:00
Ilya 7304ec3239 Use AddOrUpdate() instead of Remove then Add to register runspace (#10007) 2019-07-03 11:16:38 -07:00
xtqqczze 0d55a7249b Suppress PossibleIncorrectUsageOfAssignmentOperator rule violation by adding extra parenthesis (#9460) 2019-07-02 13:23:58 -07:00
Mark Kraus 2285ece613 Set request headers when request body is empty in Web Cmdlets (#10034) 2019-07-02 12:01:06 -07:00
Dongbo Wang 6d8dd92759 Add fast path for wildcard patterns that contains no wildcard characters (#10020) 2019-07-02 11:25:09 -07:00
Ilya dc98b0f5a9
Use AddRange in GetModules() (#9975) 2019-07-02 11:18:24 +05:00
Ilya e7e53b603a Avoid Assembly.GetName() in 'ClrFacade.GetAssemblies(string)' to reduce allocations of 'CultureInfo' objects (#10024) 2019-07-01 08:37:59 -07:00
Joel Sallow (/u/ta11ow) bf71b2c616 Start-PSBuild -Clean doeas not remove all untracked files (#10022) 2019-07-01 08:34:36 +05:00
Joel Sallow (/u/ta11ow) b34e331d63 Consider DBNull.Value and NullString.Value the same as $null when comparing with $null and casting to bool (#9794)
- Adds `LanguagePrimitives.IsNullLike()` method to account for `DBNull.Value` and `NullString.Value` so that they can be considered the same as a null value where sensible in PowerShell.
- Updates `-ne` and `-eq` binders to treat `DBNull.Value` and `NullString.Value` as equal to null/AutomationNull.
- Update code paths for comparing objects in LanguagePrimitives to ensure consistency with how the `-eq` and `-ne` binders work when calling LanguagePrimitives methods to do the comparisons.
- Make `LanguagePrimitives.IsNull()` and `LanguagePrimitives.IsNullLike()` public methods.
- Added tests for null behaviours in `NullRepresentatives.Tests.ps1`
2019-06-28 11:39:34 -07:00
dependabot-preview[bot] f3a3922285 Bump NJsonSchema from 10.0.20 to 10.0.21 (#10017)
Bumps [NJsonSchema](https://github.com/rsuter/NJsonSchema) from 10.0.20 to 10.0.21.
- [Release notes](https://github.com/rsuter/NJsonSchema/releases)
- [Commits](https://github.com/rsuter/NJsonSchema/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-28 09:13:19 +05:00
Dongbo Wang 026a8f1f41 Avoid the int[] and int[,] allocation when tokenizing line comments and matching wildcard pattern (#10009)
- Reusing the same 2-dimensional integer array for processing line comments in the same Tokenizer.
- Use ArrayPool<int> in PatternPositionVisitor to avoid creating transient int[].
2019-06-28 08:14:41 +05:00
Aditya Patwardhan 142f5dcad5
Update copyright symbol for NuGet packages (#9936) 2019-06-27 17:27:19 -07:00
Amit Saraf 7bce46bc5b Download latest version (6.2.0) of PSDesiredStateConfiguration nuget package. (#9932) 2019-06-27 10:22:32 -07:00
Travis Plunk f24428a00c
Add automated RPM signing to release build (#10013) 2019-06-27 10:21:44 -07:00
Ilya dd7e45fe2e
Code cleanup: use IndexOf(char) overload (#9722)
- Use IndexOf(char) overload instead of IndexOf(string) to benefit from Ordinal search
- Replace IndexOf with Contains to get more understandable code
- Use StringComparison.Ordinal for ASCII chars
2019-06-26 11:02:07 +05:00
dependabot-preview[bot] a5e27debc1 Build(deps): Bump ThreadJob from 1.1.2 to 2.0.1 in /src/Modules (#10003) 2019-06-25 16:53:05 -07:00
Ilya d6390461b2 Move consts and methods to single CharExtensions class (#9992) 2019-06-25 15:37:47 -07:00
Joel Sallow (/u/ta11ow) 86a1697da9 Allow methods to be named after keywords (#9812) 2019-06-25 11:04:00 -07:00
robdy aa07eef187 Add test for New-Item -Force (#9971) 2019-06-25 11:03:07 -07:00