Bond_009
b366dc2e6e
Use ArgumentException.ThrowIfNullOrEmpty
2 years ago
Bond_009
236dd650d0
Update projects to .net7
2 years ago
Bond_009
52194f56b5
Replace != null with is not null
2 years ago
Bond_009
c7d50d640e
Replace == null with is null
2 years ago
Julius Vitkauskas
7d7401bf0f
Fix double assignment
2 years ago
Bond_009
a9a5fcde81
Use ArgumentNullException.ThrowIfNull helper method
...
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);
```
2 years ago
dependabot[bot]
812841d01e
Bump StyleCop.Analyzers from 1.2.0-beta.406 to 1.2.0-beta.435 ( #7726 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
dde984bd0e
Bump StyleCop.Analyzers from 1.2.0-beta.376 to 1.2.0-beta.406
...
Bumps [StyleCop.Analyzers](https://github.com/DotNetAnalyzers/StyleCopAnalyzers ) from 1.2.0-beta.376 to 1.2.0-beta.406.
- [Release notes](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/releases )
- [Commits](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/compare/1.2.0-beta.376...1.2.0-beta.406 )
---
updated-dependencies:
- dependency-name: StyleCop.Analyzers
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Cody Robibero
b6489e73ab
Merge pull request #7241 from Bond-009/async5
3 years ago
Claus Vium
488ce51032
Remove some allocations ( #7246 )
3 years ago
Bond_009
e7be01d7a5
Flush to disk async where possible
3 years ago
Bond_009
2dcb2f8a9f
Ban the usage of Task.Result
...
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
3 years ago
Bond_009
cbfa355e31
Update StyleCop
3 years ago
Cody Robibero
634ce40c2f
Merge branch 'master' into comparisons
3 years ago
Cody Robibero
076a13abeb
Merge pull request #7029 from cvium/allocations_maybe
3 years ago
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
cvium
83a94aa612
Fix extras folders
3 years ago
Claus Vium
e575d815cc
Update MediaBrowser.LocalMetadata/Images/LocalImageProvider.cs
...
Co-authored-by: Joe Rogers <1337joe@users.noreply.github.com>
3 years ago
cvium
3a4e7fb075
semi undo
3 years ago
cvium
fde84a1e00
Refactor extras parsing
3 years ago
cvium
b50c3852ef
Remove unused dependencies
3 years ago
Bond_009
1d19a5be61
Fix some warnings
...
down to 580
3 years ago
Bond_009
5726535a26
Fix some warnings
...
609 left
3 years ago
Cody Robibero
64652b6392
Fix and disable new dotnet6 warnings
3 years ago
Bond_009
924c6682b9
Remove unused IHasScreenshots interface
3 years ago
Bond_009
9af16fcb6c
Remove workaround for dotnet/runtime#42790
3 years ago
Cody Robibero
9234e5bf80
Remove all instances of en-US culture
3 years ago
Bond_009
13fbfe6091
Target net6.0
3 years ago
Bond_009
653df7d8e5
Specify DateTimeStyles when possible
3 years ago
Bond_009
a6d1e542e6
Reduce allocations
3 years ago
Cody Robibero
cba07b1ca6
Remove more and more warnings
3 years ago
Bond_009
f1f72c3060
Minor improvements
3 years ago
Rich Lander
c07e83fdf8
Invert code and style analysis configuration ( #6334 )
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
3 years ago
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
3 years ago
BaronGreenback
6648b7d7da
Merge branch 'master' into comparisons
3 years ago
cvium
42a2cc1747
Remove some unnecessary allocations
4 years ago
cvium
1b49435a0e
Reduce some allocations
4 years ago
BaronGreenback
97c2c523a8
Merge branch 'master' into comparisons
4 years ago
Bond_009
4367b97a54
Fix build
4 years ago
Bond_009
fb090df0b5
Enable nullable reference types for MediaBrowser.Controller
4 years ago
BaronGreenback
e682c230bd
Merge branch 'master' into comparisons
4 years ago
BaronGreenback
f2c10471bf
Code Clean up: Use Pattern Matching ( #5838 )
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
4 years ago
BaronGreenback
80877aa945
Cleaned up "value assigned is not used in any execution path"
4 years ago
Bond_009
a8ed753f6c
FxCop -> Net Analyzers (part 2)
4 years ago
Bond_009
9ed7f429c0
FxCop -> Net Analyzers (part 1)
4 years ago
David
60ffa6f514
Use FileShare.None when creating files
4 years ago
Bond_009
65bab55ca0
Minor improvements
4 years ago
Bond_009
d07eef4f25
Add tests for NFO parsers
4 years ago
crobibero
73d2cb1c2a
Updated based on review feedback
4 years ago
crobibero
95ebb9a55a
Use null coalescing when possible
4 years ago