Bond_009
4757ce105b
Use Process.WaitForExitAsync added in .NET 5
1 year ago
Bond-009
b95fa294c9
Merge pull request #9799 from Bond-009/genregex
1 year ago
Bond_009
b5f0760db8
Use RegexGenerator where possible
1 year ago
Shadowghost
20fd05b050
Consistently write IP in upercase
2 years ago
Bond_009
c7d50d640e
Replace == null with is null
2 years ago
Bond_009
5012c09368
Optimize GetMD5 function
...
| Method | Mean | Error | StdDev | Gen 0 | Allocated |
|----------------------------- |---------:|--------:|--------:|-------:|----------:|
| Old | 795.1 ns | 5.90 ns | 4.61 ns | 0.0029 | 312 B |
| HashDataInsteadOfComputeHash | 396.1 ns | 1.36 ns | 1.13 ns | 0.0014 | 152 B |
| StackallocedDestination | 395.8 ns | 1.80 ns | 1.60 ns | 0.0014 | 152 B |
| RentBuffer | 498.8 ns | 3.35 ns | 2.97 ns | - | 40 B |
Tested multiple possible speedups, in the end the simplest of them all won
3 years ago
Bond_009
832da133d8
Always create TaskCompletionSource<T> with TaskCreationOptions.RunContinuationsAsynchronously
3 years ago
Bond_009
f1f72c3060
Minor improvements
3 years ago
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
3 years ago
cvium
9111730a0a
More review
3 years ago
cvium
0835b26889
review
3 years ago
cvium
1b49435a0e
Reduce some allocations
4 years ago
Bond-009
a4a3f598af
Merge pull request #5982 from Bond-009/nullable
4 years ago
Bond_009
ddb04dc12b
Use new ReadAllLines extensions
4 years ago
Bond_009
91c2a57b28
Enable nullable reference types for MediaBrowser.Common
4 years ago
cvium
ad3e835bcf
remove redundant code
4 years ago
cvium
c0feb3694b
rename to SplitEnumerator and fix test
4 years ago
cvium
608cba817c
Reduce some allocations with the magic of spans etc.
4 years ago
David
19e4ef82dd
Remove conversion from IPAddress to string to IPAddress
4 years ago
Joshua M. Boniface
c0c4aff8a6
Merge pull request #5276 from Bond-009/minor12
4 years ago
Bond_009
eba859e33e
Minor improvements
4 years ago
Bond_009
ed8fce2dce
Use SubtitleEdit to parse subtitles
4 years ago
Bond_009
bf4829a38c
Remove redundant statement
4 years ago
cvium
cb173d79e6
Fix the test
4 years ago
cvium
7576824cee
Standardize use of IsLocal and RemoteIp
4 years ago
Claus Vium
5813f8073c
Move HttpListenerHost middleware up the pipeline
4 years ago
Claus Vium
b9cd6a125b
Update MediaBrowser.Common/Extensions/HttpContextExtensions.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
Claus Vium
bde8c00306
Don't call tostring twice
4 years ago
Claus Vium
e337756428
Remove ServiceStack and related stuff
4 years ago
BaronGreenback
301ddc1dac
Update HttpContextExtensions.cs
4 years ago
BaronGreenback
7becef73df
Update MediaBrowser.Common/Extensions/HttpContextExtensions.cs
...
Co-authored-by: Mark Monteiro <marknr.monteiro@protonmail.com>
4 years ago
BaronGreenback
69ba385782
Corrected comment
4 years ago
BaronGreenback
f9b0816b80
Changes a suggested.
4 years ago
Bond_009
c430a7ed8f
Address comments
5 years ago
Bond_009
7f4a229cd2
Add some simple tests
5 years ago
Mark Monteiro
3d8501e462
Document exception
5 years ago
Mark Monteiro
4efdc63337
Add missing call to ConfigureAwait()
5 years ago
Mark Monteiro
1c13be085f
Make HasExitedSafe() private
5 years ago
Mark Monteiro
97c36d11d4
Use a TimeSpan instead of ms and support providing a custom CancellationToken
5 years ago
Mark Monteiro
ee2f911a2b
Remove unnecessary CommonProcess abstraction
5 years ago
Bond-009
94fe9b8f6d
Merge branch 'master' into warn17
5 years ago
Bond_009
ada3f96668
Add tests for alpha numeric sorting
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
2ef4ffd698
More warnings (removed)
5 years ago
Bond-009
a2c35e6dba
Merge remote-tracking branch 'upstream/master' into random
5 years ago
Bond_009
a245f5a0d4
Rewrite hex encoder/decoder
5 years ago
Bond_009
bbc0875387
Don't shuffle some types by default
5 years ago
Bond_009
9d4ce82ab9
Enable `TreatWarningsAsErrors` for MediaBrowser.Common and Emby.Photos
...
Adds `#pragma warning disable CS1591` to all files in
MediaBrowser.Common containing undocumented members.
5 years ago
Bond_009
c9820d30ed
Fix multiple mistakes and warnings
5 years ago
Bond-009
6f17a0b7af
Remove legacy auth code ( #1677 )
...
* Remove legacy auth code
* Adds tests so we don't break PasswordHash (again)
* Clean up interfaces
* Remove duplicate code
* Use auto properties
* static using
* Don't use 'this'
* Fix build
5 years ago