Ikko Ashimine
97fd1421a7
Fix typo in OutOfProcTransportManager.cs ( #18766 )
...
accomodate -> accommodate
2022-12-12 10:42:12 -08:00
Dongbo Wang
061947969d
Allow non-default encodings to be used in user's script/code ( #18605 )
2022-12-07 10:16:06 +05:00
Ilya
67a78d3004
Remove one CreateFileW ( #18732 )
2022-12-06 23:36:47 +05:00
Dongbo Wang
bd6edfdd9c
Add testexe.exe -echocmdline to output raw command line received by the process on Windows ( #18591 )
2022-12-06 10:31:54 -08:00
Ilya
07175ae0ff
Replace DllImport with LibraryImport for WNetAddConnection2 ( #18721 )
2022-12-05 23:50:22 +05:00
Ilya
5d9835f46e
Use File.OpenHandle() instead CreateFileW pinvoke ( #18722 )
2022-12-05 22:38:45 +05:00
Ilya
bdea773598
Replace DllImport with LibraryImport for WNetGetConnection ( #18690 )
2022-12-03 17:16:26 +05:00
dependabot[bot]
4c580f7330
Bump decode-uri-component from 0.2.0 to 0.2.2 ( #18712 )
2022-12-02 10:44:29 -08:00
Jordan Borean
6fa7260db9
Fix the process CommandLine on Linux ( #18710 )
2022-12-02 10:23:00 -08:00
dependabot[bot]
11ffaf1e33
Bump Microsoft.CodeAnalysis.CSharp from 4.4.0-4.final to 4.4.0 ( #18562 )
...
Bumps [Microsoft.CodeAnalysis.CSharp](https://github.com/dotnet/roslyn ) from 4.4.0-4.final to 4.4.0.
- [Release notes](https://github.com/dotnet/roslyn/releases )
- [Changelog](https://github.com/dotnet/roslyn/blob/main/docs/Breaking%20API%20Changes.md )
- [Commits](https://github.com/dotnet/roslyn/commits/Visual-Studio-2019-Version-16.0-Preview-4.4 )
---
updated-dependencies:
- dependency-name: Microsoft.CodeAnalysis.CSharp
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-02 17:25:12 +05:00
Dongbo Wang
ae3c3169ee
Fix SuspiciousContentChecker.Match to detect a pre-defined string when the text starts with it ( #18693 )
2022-12-01 22:26:43 -08:00
Steve Lee
8ff6a06f97
Switch $PSNativeCommandUseErrorActionPreference to $true when feature is enabled ( #18695 )
2022-12-01 16:13:42 -08:00
Ilya
3dc95ced87
Replace DllImport with LibraryImport - 1 ( #18603 )
2022-11-30 10:00:12 -08:00
Steve Lee
52ea419662
Add Dim and DimOff to $PSStyle ( #18653 )
2022-11-29 16:13:59 -08:00
Dongbo Wang
d03a5553c2
Fix Start-Job to check the existence of working directory using the PowerShell way ( #18675 )
...
* Fix `Start-Job` to check the existence of working directory using the PowerShell way
* Add a test
* Update
* Fix the test
2022-11-29 08:41:12 -08:00
Ilya
8686612cfe
Replace DllImport with LibraryImport in SMA 3 ( #18564 )
2022-11-29 08:08:02 +05:00
Ilya
019c3b87df
Replace DllImport with LibraryImport in SMA - 7 ( #18594 )
2022-11-28 11:18:04 -08:00
Berkan Diler
ab868781e4
Use static DateTime.UnixEpoch and RandomNumberGenerator.Fill() ( #18621 )
2022-11-28 11:17:22 -08:00
dependabot[bot]
d592ad814d
Bump Newtonsoft.Json from 13.0.1 to 13.0.2 ( #18657 )
2022-11-28 10:11:49 -08:00
Berkan Diler
cba9dacb29
Rewrite Get-FileHash to use static HashData methods ( #18471 )
2022-11-23 17:28:42 +00:00
Ilya
20f0b6e3bd
Replace DllImport with LibraryImport in SMA 8 ( #18599 )
2022-11-23 09:13:05 +05:00
Ilya
5b4a34fcc9
Replace DllImport with LibraryImport in SMA 4 ( #18579 )
2022-11-23 09:11:52 +05:00
Ilya
ea428a6e1f
Remove NativeCultureResolver as dead code ( #18582 )
2022-11-23 09:10:32 +05:00
Aditya Patwardhan
9bad8815e8
Apply expected file permissions to Linux files after Authenticode signing ( #18643 )
...
* Upload linux artifacts as tar.gz to preserve linux file permissions
* Fix conditions
* Fix yaml
* Fix paths for downloaded artifacts
* Rename while downloading
* Fix file names and paths
* Fix tar compress
* Add set-location before tar
* Create dirs before expanding
* Create dir before expanding
* Fix conditions
* Add logging
* Export file permission to json
* Fix for condition
* Apply file permissions before packaging
* Add logging
* Fix issues
* Add comments
2022-11-22 12:32:50 -08:00
Ilya
05e50dfbd7
Replace DllImport with LibraryImport in SMA 6 ( #18581 )
2022-11-22 23:27:45 +05:00
Ilya
8bc9fdb2a1
Replace DllImport with LibraryImport in SMA 2 ( #18543 )
2022-11-22 22:22:14 +05:00
Ilya
0d320ab89a
Use standard SBCS detection ( #18593 )
2022-11-22 09:13:09 -08:00
Ilya
041f4332e5
Remove unused pinvokes in RemoteSessionNamedPipe ( #18583 )
2022-11-22 09:12:41 -08:00
CarloToso
83d3b0e12b
Webcmdlets add 308 to redirect codes and small cleanup ( #18536 )
2022-11-22 22:01:26 +05:00
Ilya
0d4def9037
Replace DllImport with LibraryImport in SMA 5 ( #18580 )
...
Remove unused code.
2022-11-22 10:21:25 +05:00
Rick Anderson
640a8f7571
Remove 'please' and 'Core' from README.md per MS style guide ( #18578 )
2022-11-22 09:02:09 +05:00
Ilya
65176b4df1
Remove SafeRegistryHandle ( #18597 )
2022-11-22 08:33:51 +05:00
github-actions[bot] and TravisEz13
319c93d697
Update to the latest NOTICES file ( #18616 )
...
Co-authored-by: TravisEz13 <TravisEz13@users.noreply.github.com >
2022-11-18 18:20:59 -08:00
Ilya
6aa74c5c3c
Remove ArchitectureSensitiveAttribute from the code base ( #18598 )
2022-11-18 14:15:05 -08:00
Dongbo Wang
c0da3c42f2
Build COM adapter only on Windows ( #18590 )
2022-11-18 13:00:07 +05:00
Sean Wheeler
6be34e6a3d
Change unsupported XML documentation tag ( #18608 )
2022-11-18 11:43:26 +05:00
Steve Lee
9ae18ab0d1
Change exec from alias to function to handle arbitrary arguments ( #18567 )
2022-11-17 12:14:27 -08:00
Travis Plunk
4ce439ebb7
Remove extra quotes after agent moves to pwsh 7.3 ( #18577 )
2022-11-16 09:55:42 -08:00
Steve Lee
4f19c05547
Ensure HelpInfo.Category is consistently a string ( #18254 )
2022-11-15 17:57:03 -08:00
Steve Lee
65b353d9cf
The command prefix should also be in the error color for NormalView ( #18555 )
2022-11-15 17:54:23 -08:00
Dongbo Wang
b3a9ae371c
Remove gcloud from the legacy list because it's resolved to a .ps1 script ( #18575 )
2022-11-15 17:53:01 -08:00
Steve Lee
04de3045e4
Add gcloud and sqlcmd to list to use legacy argument passing ( #18559 )
2022-11-15 14:01:51 -08:00
Travis Plunk
f38369fd79
Don't install based on build-id for RPM ( #18560 )
2022-11-15 13:23:12 -08:00
Rob Green
9c55e1e9ab
Include timer instantiation for legacy telemetry in conditional compiler statements in Get-Help ( #18475 )
2022-11-15 09:40:07 +05:00
Christian Ullrich and Christian Ullrich
8b7023d1a3
Fix native access violation ( #18545 ) ( #18547 )
...
The error occurs only when running x86 pwsh on x64 Windows 11 22H2, the
first Windows version that has WldpCanExecuteFile().
Co-authored-by: Christian Ullrich <christian.ullrich@traditionsa.lu >
2022-11-14 14:09:02 -08:00
dependabot[bot]
d32de82c32
Bump Microsoft.NET.Test.Sdk from 17.3.2 to 17.4.0 ( #18487 )
2022-11-14 11:26:31 -08:00
dependabot[bot]
2494fe881b
Bump minimatch from 3.0.4 to 3.1.2 ( #18514 )
2022-11-14 11:21:33 -08:00
github-actions[bot]
9a01d03746
Update the cgmanifest ( #18521 )
2022-11-14 11:06:22 -08:00
Steve Lee
0ea9c324d0
Convert DllImport to LibraryImport for recyclebin, clipboard, and computerinfo cmdlets ( #18526 )
2022-11-14 12:46:59 -05:00
Steve Lee
c740a07e10
Change public API mention of monad to PowerShell ( #18491 )
...
* Change public API mention of `monad` to PowerShell
* looks like I forgot to save changes in some files
2022-11-14 12:45:23 -05:00