aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Channels
AgeCommit message (Collapse)Author
2022-12-07Use ArgumentException.ThrowIfNullOrEmptyBond_009
2022-12-05Replace != null with is not nullBond_009
2022-12-05Replace == null with is nullBond_009
2022-10-06Use ArgumentNullException.ThrowIfNull helper methodBond_009
Did a simple search/replace on the whole repo (except the RSSDP project) This reduces LOC and should improve performance (methods containing a throw statement don't get inlined) ``` if \((\w+) == null\) \s+\{ \s+throw new ArgumentNullException\((.*)\); \s+\} ``` ``` ArgumentNullException.ThrowIfNull($1); ```
2022-02-21Optimize Guid comparisonsBond_009
* Use Guid.Equals(Guid) instead of the == override * Ban the usage of Guid.Equals(Object) to prevent accidental boxing * Compare to default(Guid) instead of Guid.Empty
2022-02-15Fix some warningsBond_009
2022-01-22Ban the usage of Task.ResultBond_009
If the calling function can't be made async easily you can still use .GetAwaiter().GetResult(), which is way easier to find in the future
2022-01-20Properly populate QueryResultCody Robibero
2021-12-27Remove more warningsCody Robibero
2021-12-20Use our own Contains extensioncvium
2021-12-12Use BaseItemKind where possibleCody Robibero
2021-11-16Fix some warningsBond_009
2021-10-26Enable nullable for more filesBond_009
2021-10-03Fix warnings in ChannelManagerPatrick Barron
2021-09-06Merge pull request #6177 from Bond-009/asyncClaus Vium
Use async FileStreams where it makes sense
2021-09-02Use async FileStreams where it makes senseBond_009
2021-08-28Remove more and more warningsCody Robibero
2021-08-15Minor improvementsBond_009
2021-06-19Move non-jellyfin extensions to separate projectBond_009
2021-05-20Enable nullable reference types for Emby.Server.ImplementationsBond_009
2021-04-17Remove unused using directivesBaronGreenback
2021-03-13FxCop -> Net Analyzers (part 2)Bond_009
2021-01-12JsonSerializer deserialize from bytes where possibleBond_009
This is faster and uses way less memory ``` BenchmarkDotNet=v0.12.1, OS=fedora 32 Intel Core i7-6700HQ CPU 2.60GHz (Skylake), 1 CPU, 8 logical and 4 physical cores .NET Core SDK=5.0.100 [Host] : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT DefaultJob : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT | Method | Mean | Error | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated | |------- |---------:|--------:|--------:|--------:|------:|------:|----------:| | Bytes | 158.4 us | 2.56 us | 2.14 us | 16.8457 | - | - | 52.08 KB | | String | 172.8 us | 0.78 us | 0.70 us | 41.5039 | - | - | 127.82 KB | | Custom | 155.5 us | 2.95 us | 2.76 us | 10.0098 | - | - | 31.27 KB | ```
2020-12-29Use UTF8 encoding and async correctlyDavid
2020-12-24Put json serializer options in private fieldDavid
2020-12-24Use sync string instead of fileDavid
2020-12-23Add missing FileStreamsDavid
2020-12-23Use streams instead of stringsDavid
2020-12-23Remove xml docsDavid
2020-12-23Remove custom Json serializer from Emby.Server.ImplementationsDavid
2020-12-01fix spacingcrobibero
2020-12-01Use Guid as API parameter type where possiblecrobibero
2020-11-16Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids usage.crobibero
2020-11-06Minor perf improvementsBond_009
2020-10-17Use nameof where possibleBond_009
2020-08-31Fix some warningsBond_009
2020-08-21Make some methods asyncBond_009
2020-08-07Fix MemoryCache Usage.Patrick Barron
2020-08-01Merge pull request #3578 from barronpm/displaypreferences-efcoreBond-009
Migrate Display Preferences to EF Core
2020-07-29Use MemoryCache in ChannelManagerPatrick Barron
2020-07-17Migrate Display Preferences to EF CorePatrick Barron
2020-06-15fix SA1005telans
2020-06-13Merge branch 'master' into userdb-efcorePatrick Barron
# Conflicts: # Emby.Server.Implementations/Library/UserManager.cs # Jellyfin.Data/Jellyfin.Data.csproj
2020-06-05Use typed logger where possiblecrobibero
2020-06-04Merge branch 'master' into userdb-efcorePatrick Barron
# Conflicts: # Emby.Server.Implementations/EntryPoints/ServerEventNotifier.cs # Emby.Server.Implementations/Library/UserManager.cs # Emby.Server.Implementations/Sorting/IsFavoriteOrLikeComparer.cs # Emby.Server.Implementations/Sorting/IsPlayedComparer.cs # Emby.Server.Implementations/Sorting/IsUnplayedComparer.cs # Emby.Server.Implementations/TV/TVSeriesManager.cs # Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs
2020-05-29Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release modeBond_009
2020-05-20Remove redundant qualifiersPatrick Barron
2020-05-12Initial migration codePatrick Barron
2020-04-22Merge branch 'master' into warnings-cleanup1Patrick Barron
2020-04-19Apply code review suggestionsPatrick Barron