Bond_009
8528e9bddb
Improve platform checks
3 years ago
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
3 years ago
cvium
42a2cc1747
Remove some unnecessary allocations
3 years ago
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
3 years ago
Bond_009
c608d5104d
Fix scanning
3 years ago
Bond_009
33327aa1a9
Improve fast path of ManagedFileSystem.GetValidFilename
...
| Method | Data | Mean | Error | StdDev | Median | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---------------------------- |-------------- |------------:|----------:|----------:|------------:|-------:|------:|------:|----------:|
| GetValidFilenameBench | AC/DCKD/A | 52.29 ns | 0.537 ns | 0.448 ns | 52.35 ns | 0.0255 | - | - | 80 B |
| GetValidFilenameOldBench | AC/DCKD/A | 86.68 ns | 1.205 ns | 1.127 ns | 86.33 ns | 0.0587 | - | - | 184 B |
| GetValidFilenameWinBench | AC/DCKD/A | 448.55 ns | 1.228 ns | 1.088 ns | 448.33 ns | 0.0505 | - | - | 160 B |
| GetValidFilenameOldWinBench | AC/DCKD/A | 865.21 ns | 5.734 ns | 5.083 ns | 866.60 ns | 0.0839 | - | - | 264 B |
| GetValidFilenameBench | ValidFileName | 16.00 ns | 0.234 ns | 0.207 ns | 16.02 ns | 0.0102 | - | - | 32 B |
| GetValidFilenameOldBench | ValidFileName | 100.66 ns | 1.255 ns | 1.174 ns | 101.21 ns | 0.0587 | - | - | 184 B |
| GetValidFilenameWinBench | ValidFileName | 116.60 ns | 1.624 ns | 1.519 ns | 116.88 ns | 0.0356 | - | - | 112 B |
| GetValidFilenameOldWinBench | ValidFileName | 1,052.66 ns | 18.077 ns | 33.056 ns | 1,037.25 ns | 0.0839 | - | - | 264 B |
3 years ago
Bond_009
81209258ab
ManagedFileSystem: Rewrite GetValidFilename and more improvements
3 years ago
Claus Vium
f99237cf9b
Update Emby.Server.Implementations/IO/ManagedFileSystem.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
3 years ago
cvium
1a3352003d
don't die on dangling symlinks
3 years ago
Bond_009
c533b20496
Remove ManagedFileSystem.IsRootPath
...
`Path.IsPathRooted` should be used instead
3 years ago
crobibero
8d902478a0
Don't skip hidden files
4 years ago
Gary Wilber
1fdeac0a7d
Ignore inaccessible files during library scans
4 years ago
crobibero
ca5c20c988
Remove IIsoMounter and IsoMounter
4 years ago
Bond_009
e653eef44f
Fix some warnings
4 years ago
Bond_009
ab2147751f
Make MediaBrowser.MediaEncoding warnings free
4 years ago
Bond_009
01e781035f
Fix warnings
4 years ago
Ken
eea142cad1
FullName property instead of ToString in Emby.Server.Implementations/IO/ManagedFileSystem.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
Ken
d719ca78b4
Spacing standard on Emby.Server.Implementations/IO/ManagedFileSystem.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
Ken Brazier
6a39b1a4ca
Merge 'master' updates into 2354-soft-link-sizes
4 years ago
telans
247f9c61e6
fix SA1513/SA1516
4 years ago
telans
3d9049ef08
fix SA1508
4 years ago
telans
acd4389653
fix SA1005
4 years ago
crobibero
44957c5a9a
Use typed logger where possible
4 years ago
Ken Brazier
36312c92f5
2354 open soft-links to read size
4 years ago
Erik Rigtorp
f144acdc96
Use glob patterns to ignore files
4 years ago
Mark Monteiro
c2b21ce553
Register and construct ILibraryMonitor correctly
4 years ago
Bond_009
e9d1eabd53
Remove unused usings
4 years ago
Bond-009
94fe9b8f6d
Merge branch 'master' into warn17
5 years ago
Bond_009
07cc4be6a7
Fix some warnings
...
* Add analyzers to MediaBrowser.XbmcMetadata
* Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata
* Add analyzers to MediaBrowser.WebDashboard
* Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard
* Disable SA1600 in favor of CS1591
5 years ago
Bond_009
7060934792
Fix some warnings in Emby.Server.Implementations
5 years ago
Bond-009
c8409d2ea1
Remove FileSystem.GetStream
5 years ago
dkanada
9eac19c75a
change invariant culture to ordinal
5 years ago
dkanada
65e9a705d3
check operating system for absolute path test
5 years ago
dkanada
a8cd963d46
fix tests for absolute paths
5 years ago
Bond_009
bb236b9591
Merge branch 'master' into warn12
5 years ago
Anthony Lavado
75f19a762c
Re-order the path statement to avoid file issues
...
Fixes #31874 .
5 years ago
Bond_009
2ef4ffd698
More warnings (removed)
5 years ago
Bond_009
42ffddc269
Fix more warnings
5 years ago
Bond_009
dc662beefe
Add analysers to Emby.IsoMounting and enable TreatWarningsAsErrors
5 years ago
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
5 years ago
Bond_009
aa30227545
Improve main code flow
...
Improved the way how some parts of the code depend on eachother
Fixed some style issues
5 years ago
dkanada
b768ad978e
split the new command to more than one line
5 years ago
dkanada
4a9b349c04
only return useful drives
5 years ago
Bond_009
f911fda34f
Merge ifs
5 years ago
Bond_009
41df562419
Improve IO code
...
* Style changes
* Remove remnants of SMB support
* Use `GetInvalidFileNameChars` instead of rolling our own
* Remove possible unexpected behaviour with async file streams
* Remove some dead code
5 years ago
Bond-009
e64aaebbac
Improvements around streams
...
* Use ArrayPool instead of allocating new buffers each time
* Remove NetworkStream copy
* Remove some dead code
6 years ago
Bond-009
decaffed86
Remove EnvironmentInfo
...
This moved the last bit of usefulness of EnvironmentInfo into a static
class.
6 years ago
Bond-009
c5fce647de
Cleanup/simplification
...
* Removed useless copies/allocations
* Reduced unneeded complexity
6 years ago
Vasily
13f2783a8e
Merge pull request #887 from wtayl0r/replace-primitives-with-iconfiguration
...
Replace primitive injection with IConfiguration
6 years ago
William Taylor
18ae107ce4
Removed unnecessary configuration options and reduced primitive dependencies
6 years ago