Ilya
fbf4f6c11b
Replace ArrayList with List<T> ( #10333 )
2019-09-05 10:54:18 -07:00
Steve Lee
b0a3755b17
Minor fix for recursion into OneDrive - Change FindFirstFileEx() to use SafeFindHandle type ( #10405 )
2019-08-29 14:50:54 -07:00
Steve Lee
5974afaa8d
Add support for AppX reparse points ( #10331 )
2019-08-13 17:45:41 -07:00
Ilya
46dfe863ff
Reduce allocations in MakePath() method ( #10027 )
2019-08-09 10:58:16 -07:00
Ilya
500595b66a
Use nameof() in LocationGlobber and PathInfo ( #10200 )
...
* Use nameof() in LocationGlobber
* Use nameof() in PathInfo
2019-07-24 10:28:44 +05:00
Ilya
260459ccd4
Avoid boxing when passing value type arguments to PSTraceSource.WriteLine ( #10052 )
2019-07-22 09:50:46 -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
Ilya
ad45fb05d2
Reduce allocations in NavigationCmdletProvider.NormalizePath() ( #10038 )
2019-07-03 12:52:27 -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
Ilya
74c87ab20b
Cleanup: Use EndsWith(char) and StartsWith(char) ( #9994 )
2019-06-25 11:02:31 -07:00
Steve Lee
981c990d74
Make UseAbbreviationExpansion and TempDrive official features ( #9872 )
2019-06-13 13:05:37 -07:00
Steve Lee
29e21470d9
Port PowerShell to .NET Core 3.0 ( #9597 )
2019-05-21 13:43:51 +08:00
Ilya
8bd16d13cb
Remove IsSymLink() P/Invoke on Unix ( #9534 )
2019-05-07 13:31:54 -07:00
Steve Lee
1d28144e99
Enable recursion into OneDrive ( #9509 )
2019-05-06 17:28:00 -07:00
Steve Lee
346ab8c9d4
Change MatchType for EnumerationOptions to be Win32 ( #9529 )
2019-05-06 17:20:08 -07:00
Ilya
bd6fdae735
Cleanup: sort usings ( #9490 )
2019-04-30 10:25:11 +05:00
Ilya
ceed73d737
Run Codeformatter for SMA ( #9402 )
2019-04-24 19:27:22 +05:00
Andrew
095be4655e
Return correct casing of filesystem path during normalization ( #9250 )
...
* return correct casing of filesystem path during normalization
* handle UNC case
* handle case to add trailing separator back
* add support for NTFS streams syntax
* add case-sensitive test
* only apply correct casing to directories
* handle 8.3 path syntax
* fix short path processing
2019-04-23 13:31:43 -07:00
Rene Hernandez
75da390d1e
Add ItemSeparator and AltItemSeparator properties in ProviderInfo ( #8587 )
...
Add two properties in `ProviderInfo` class: `ItemSeparator` and `AltItemSeparator`.
On windows, the default values for those two properties are `ItemSeparator = '\'` and `AltItemSeparator = '/'`.
On unix, the default values for those two properties are `ItemSeparator = '/'` and `AltItemSeparator = '\'`.
Registry provider is the only exception, both properties for it have the value `\`.
2019-04-02 09:59:36 -07:00
Steve Lee (POWERSHELL)
586084fb6b
fix short path processing
2019-04-01 12:05:45 -07:00
Steve Lee (POWERSHELL)
11f93c5a2b
handle 8.3 path syntax
2019-04-01 10:41:03 -07:00
Steve Lee (POWERSHELL)
9e7fe9a9d1
only apply correct casing to directories
2019-03-31 12:06:38 -07:00
Steve Lee (POWERSHELL)
f0264d0147
add support for NTFS streams syntax
2019-03-30 08:40:32 -07:00
Steve Lee (POWERSHELL)
a3f80e7e9b
handle case to add trailing separator back
2019-03-30 07:29:18 -07:00
Steve Lee (POWERSHELL)
bc4b1085d9
handle UNC case
2019-03-29 22:48:11 -07:00
Steve Lee
6bc2b55fdf
return correct casing of filesystem path during normalization
2019-03-29 13:22:52 -07:00
Ilya
7dc17a35a9
Enhance the P/Invoke code for LookupAccountSid in Process.cs ( #9197 )
2019-03-26 21:11:25 -07:00
Reece Dunham
df37094092
Minor FileSystemProvider cleanup ( #9182 )
2019-03-24 22:07:25 +05:00
Staffan Gustafsson
9983297254
Removing Hardlink from Mode property in default file system format ( #8789 )
2019-03-12 15:49:16 -07:00
Ilya
759c4abde8
Use Type.EmptyTypes and Array.Empty<T>() to replace our custom code of the same functionality ( #9042 )
2019-03-09 17:53:31 -08:00
Reece Dunham
4cd6a3beb7
Fix CodeFactor brace style issues in FileSystemProvider ( #8992 )
2019-02-28 20:00:23 +05:00
Ilya
11ae24fcad
Cleanup dllimport ( #8847 )
2019-02-27 08:33:46 +05:00
Ilya
ff3edaa2e3
Fix lgtm issues ( #8843 )
...
Add some null checks
Remove unused code
2019-02-13 16:51:05 +05:00
Reece Dunham
0606c27cb0
Fix many instances of CodeFactor style issue A single-line comment must not be followed by a blank line ( #8825 )
2019-02-05 09:47:19 -08:00
Stéphane BARIZIEN
d032cb2c87
Expose file attributes of OneDrive placeholders ( #8745 )
2019-02-04 12:11:46 -08:00
Aditya Patwardhan
6ccbebda27
Improve check for developer mode by checking minimum required build number ( #8749 )
...
* Improve check for developer mode by checking minimum required build number
The test would fail if the developer mode is enabled but the machine has an older build than the minimum required build.
The change adds a check for the build version in the test.
* Update test/powershell/Modules/Microsoft.PowerShell.Management/New-Item.Tests.ps1
2019-01-25 13:14:29 -08:00
xtqqczze
863528881f
Use https in URLs where available ( #8622 )
...
Use https in URLS across the repository where the domain serves content by https.
2019-01-24 12:50:11 -08:00
Steve Lee
7e2cd7954f
Add the experimental feature for creating 'Temp:\' drive when FileSystemProvider initializes ( #8696 )
...
Adds Experimental Feature called `PSTempDrive` that, if enabled, creates a PSDrive called `Temp:` that maps to `[System.IO.Path]::GetTempPath()`.
2019-01-23 13:53:04 -08:00
Steve Lee
f7c25e8f7c
Update code to use single method to check if path is UNC ( #8680 )
...
update all checks if path is unc to one method
2019-01-23 09:37:45 -08:00
Ilya
d80154430d
Style: Change first char to upper in summary comments ( #8597 )
2019-01-09 13:07:40 -08:00
Steve Lee
d6000fdea8
Allow Windows users in developer mode to create symlinks without elevation ( #8534 )
2019-01-08 10:43:24 -08:00
Ilya
f95dae55f7
Style: Use the type aliases 'char' and 'bool' instead of 'Char' and 'Boolean' ( #8572 )
2019-01-07 11:40:07 -08:00
Ilya
b8f9532b41
Style: Use the type alias 'string' instead of 'String' in places that are appropriate ( #8573 )
2019-01-07 10:46:00 -08:00
Ilya
233b54ed65
Style: Add a space after "//" in comments and remove unneeded comments after "}" ( #8576 )
2019-01-05 17:51:20 -08:00
Ilya
1be3f4cc0e
Style: Add the ending period to the XML document texts ( #8577 )
2019-01-05 15:40:24 -08:00
Ilya
dfd2f69369
Style: Change 'String.' to 'string.' ( #8568 )
2018-12-31 20:44:16 +05:00
Ilya
56569b9315
Style: Replace String.IsNullOrEmpty with string.IsNullOrEmpty ( #8557 )
2018-12-31 15:10:15 +05:00
Ilya
7207db6360
Style: Convert to upper first char in <param> and <exception> doc tags ( #8556 )
2018-12-29 08:25:49 +05:00
Ilya
479fc64aff
Style: Add period before </param> and </exception> doc tags ( #8553 )
2018-12-28 16:39:06 +05:00
Ilya
767c13fca1
Style: Remove extra spaces after <para> and before </para> docs tags ( #8547 )
2018-12-28 11:05:14 +05:00