aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Extensions
AgeCommit message (Collapse)Author
2022-12-05Replace == null with is nullBond_009
2022-04-09Optimize GetMD5 functionBond_009
| 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
2022-01-22Always create TaskCompletionSource<T> with ↵Bond_009
TaskCreationOptions.RunContinuationsAsynchronously
2021-08-04Minor improvementsBond_009
2021-06-19Move non-jellyfin extensions to separate projectBond_009
2021-06-05More reviewcvium
2021-05-31reviewcvium
2021-05-16Reduce some allocationscvium
2021-05-06Merge pull request #5982 from Bond-009/nullableBond-009
2021-05-06Use new ReadAllLines extensionsBond_009
2021-05-05Enable nullable reference types for MediaBrowser.CommonBond_009
2021-05-04remove redundant codecvium
2021-05-03rename to SplitEnumerator and fix testcvium
2021-04-30Reduce some allocations with the magic of spans etc.cvium
2021-03-23Remove conversion from IPAddress to string to IPAddressDavid
2021-02-22Merge pull request #5276 from Bond-009/minor12Joshua M. Boniface
2021-02-21Minor improvementsBond_009
2021-02-09Use SubtitleEdit to parse subtitlesBond_009
2021-01-26Remove redundant statementBond_009
2020-09-10Fix the testcvium
2020-09-10Standardize use of IsLocal and RemoteIpcvium
2020-09-03Move HttpListenerHost middleware up the pipelineClaus Vium
2020-09-02Update MediaBrowser.Common/Extensions/HttpContextExtensions.csClaus Vium
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-09-02Don't call tostring twiceClaus Vium
2020-09-02Remove ServiceStack and related stuffClaus Vium
2020-07-19Update HttpContextExtensions.csBaronGreenback
2020-07-19Update MediaBrowser.Common/Extensions/HttpContextExtensions.csBaronGreenback
Co-authored-by: Mark Monteiro <marknr.monteiro@protonmail.com>
2020-07-18Corrected commentBaronGreenback
2020-07-18Changes a suggested.BaronGreenback
2020-04-21Address commentsBond_009
2020-04-20Add some simple testsBond_009
2020-04-05Document exceptionMark Monteiro
2020-04-03Add missing call to ConfigureAwait()Mark Monteiro
2020-03-27Make HasExitedSafe() privateMark Monteiro
2020-03-27Use a TimeSpan instead of ms and support providing a custom CancellationTokenMark Monteiro
2020-03-27Remove unnecessary CommonProcess abstractionMark Monteiro
2020-03-11Merge branch 'master' into warn17Bond-009
2020-03-05Add tests for alpha numeric sortingBond_009
2020-02-23Fix some warningsBond_009
* 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
2019-12-11More warnings (removed)Bond_009
2019-12-06Merge remote-tracking branch 'upstream/master' into randomBond-009
2019-11-01Rewrite hex encoder/decoderBond_009
2019-10-20Don't shuffle some types by defaultBond_009
2019-10-09Enable `TreatWarningsAsErrors` for MediaBrowser.Common and Emby.PhotosBond_009
Adds `#pragma warning disable CS1591` to all files in MediaBrowser.Common containing undocumented members.
2019-09-23Fix multiple mistakes and warningsBond_009
2019-09-17Remove legacy auth code (#1677)Bond-009
* 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
2019-09-02Fix warnings, improve performance (#1665)Bond-009
* Fix warnings, improve performance `QueryResult.Items` is now a `IReadOnlyList` so we don't need to allocate a new `Array` when we have a `List` (and `Items` shouldn't need to be mutable anyway) * Update Providers .csproj to latest C# * Remove extra newline from DtoService.cs * Remove extra newline from UserLibraryService.cs
2019-08-11Check checksum for plugin downloadsBond_009
* Compare the MD5 checksum when downloading plugins * Reduced log spam due to http requests * Removed 'GetTempFileResponse' function from HttpClientManager * Fixed caching for HttpClientManager
2019-04-17Add the proper Class tooJoshua Boniface
2019-03-25Simplify/remove/clean codeBond-009
* Remove useless runtime check (we only support one) * Remove unused args * Remove a global constant And ofc fix some warnings ;)