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
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
Bond_009
13fbfe6091
Target net6.0
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
95327b842e
Enable NetAnalyzers for more projects
3 years ago
Bond_009
9ed7f429c0
FxCop -> Net Analyzers (part 1)
4 years ago
crobibero
83629ab6f2
Update packages to net5
4 years ago
dkanada
403cd3205f
Merge pull request #3254 from crobibero/ilogger
...
Use typed logger where possible
4 years ago
aled
299e49f39d
Fix a small number of compile warnings
4 years ago
crobibero
44957c5a9a
Use typed logger where possible
4 years ago
Bond-009
d744d7d234
Merge branch 'master' into register-services-correctly
4 years ago
Mark Monteiro
c5f163293f
Add <ProjectGuid> properties to all project files
...
This is required for SonarCloud analysis to run
4 years ago
Mark Monteiro
efe3ebaab8
Eliminate circular dependency between LibraryManager and ImageProcessor
4 years ago
Bond-009
ba1ffbabd3
Merge branch 'master' into nullable2
5 years ago
Bond_009
2186df8ac4
Update deps
5 years ago
Bond_009
bb236b9591
Merge branch 'master' into warn12
5 years ago
Bond_009
5dc3874ebd
Enable nullable reference types for Emby.Photos and Emby.Notifications
...
* Enable TreatWarningsAsErrors for Emby.Notifications
* Add analyzers to Emby.Notifications
5 years ago
Bond-009
5c9e849b85
Enable analyzers
5 years ago
Bond_009
5a8e972952
Enable TreatWarningsAsErrors for some projects
...
Analyzers are only run in debug build, so setting TreatWarningsAsErrors
for release build will catch the compiler warnings until we resolve all
analyzer warnings.
5 years ago
Bond_009
2ef4ffd698
More warnings (removed)
5 years ago
Bond_009
3cf9313c86
Update deps
5 years ago
Bond_009
a245f5a0d4
Rewrite hex encoder/decoder
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
1616f24cee
Fix more warnings
5 years ago
dkanada
bb04545068
Merge pull request #1614 from Bond-009/docs2
...
Document all public/internal members of Emby.Drawing
5 years ago
Bond_009
838e5d05d5
Document all public/internal members of Emby.Drawing
...
Forces all new public/internal members to be documented.
Enables TreatWarningsAsErrors for Emby.Drawing
5 years ago
Bond_009
003238ef5e
Update deps + document startup project
...
* Fixed the release build
* Documented all public/internal members of Jellyfin.Server
* Enable TreatWarningsAsErrors for debug builds for Jellyfin.Server
This will ensure that any new public/internal members of Jellyfin.Server
are documented
5 years ago
Bond-009
35d7e97258
Ignore casing photo extensions
5 years ago
Erwin de Haan
21cc38fcf4
Adjusted AssemblyCopyright attribute values.
6 years ago
Erwin de Haan
ee7bf86e0f
Adjusted the Product Name so the User Agent is correct/better.
6 years ago
Bond_009
a6a4cd5667
Removed some unused fields
6 years ago
Bond-009
e216702bcf
Complete rename ImageSize -> ImageDimensions
6 years ago
Bond_009
883575893b
Change image dimentions from double to int
...
Rename ImageSize -> ImageDimensions
6 years ago
Andrew Rabert
bc8a0eeead
Use TagLibSharp Nuget package
6 years ago
Andrew Rabert
449dd1a6a2
Remove allowSlowMethods from image processing
6 years ago
Erwin de Haan
c5430f86b0
Fixed csproj and xml identation.
6 years ago
Erwin de Haan
e867446437
ReSharper format: conform inline 'out' parameters.
6 years ago
Erwin de Haan
a36658f6f0
ReSharper Reformat: Properties to expression bodied form.
6 years ago
Erwin de Haan
089ad8e7c2
Find+Sed BOM removal *.xml,*.csproj,*,json,*.sln,*.txt
6 years ago
Erwin de Haan
e566d9a231
Find+Sed BOM removal *.cs: BDInfo-Emby.XmlTv
6 years ago
Erwin de Haan
742bef5b5f
EditorConfig reformat: Non-CS files.
6 years ago
Erwin de Haan
dd15c808cb
Visual Studio Reformat: Emby.Photos
6 years ago
Erwin de Haan
e2751d42e8
Merge branch 'dev' into code-cleanup
6 years ago
Erwin de Haan
ec1f5dc317
Mayor code cleanup
...
Add Argument*Exceptions now use proper nameof operators.
Added exception messages to quite a few Argument*Exceptions.
Fixed rethorwing to be proper syntax.
Added a ton of null checkes. (This is only a start, there are about 500 places that need proper null handling)
Added some TODOs to log certain exceptions.
Fix sln again.
Fixed all AssemblyInfo's and added proper copyright (where I could find them)
We live in *current year*.
Fixed the use of braces.
Fixed a ton of properties, and made a fair amount of functions static that should be and can be static.
Made more Methods that should be static static.
You can now use static to find bad functions!
Removed unused variable. And added one more proper XML comment.
6 years ago
hawken
bd169e4fd4
remove trailing whitespace
6 years ago
Anthony Lavado
87812d1e7f
Fix spacing to C#/Visual Studio standards
...
- This is a fix automatically applied by Visual Studio
6 years ago
Bond_009
ea4c914123
Fix exception logging
6 years ago
Bond_009
0f8b3c6347
Use Microsoft.Extensions.Logging abstraction
6 years ago
Bond_009
b4edb24ec3
Change libraries from netcoreapp to netstandard
...
Ref: https://dotnetcoretutorials.com/2017/01/13/net-standard-vs-net-core-whats-difference/
6 years ago