Commit Graph

153 Commits

Author SHA1 Message Date
Bond_009
a709cbdc64 Fix more analyzer warnings 2019-01-27 12:12:44 +01:00
Bond_009
883575893b Change image dimentions from double to int
Rename ImageSize -> ImageDimensions
2019-01-26 13:16:47 +01:00
Andrew Rabert
6a5488c651 Formatting 2019-01-20 20:47:02 -05:00
Andrew Rabert
1cf1e9bfa1 Update appPaths position 2019-01-20 20:46:40 -05:00
Andrew Rabert
7469ed4e6e Update logger position 2019-01-20 20:46:00 -05:00
Andrew Rabert
c7f648f86a Merge branch 'dev' into imagesize 2019-01-20 20:45:06 -05:00
William Taylor
65cd3ed597 Replaced injections of ILogger with ILoggerFactory
This makes resolving dependencies from the container much easier as
you cannot resolve with primitives parameters in a way that is any
more readable.

The aim of this commit is to change as little as possible with the end
result, loggers that were newed up for the parent object were given the same
name. Objects that used the base or app loggers, were given a new logger with
an appropriate name.

Also removed some unused dependencies.
2019-01-20 21:05:12 +00:00
Bond_009
7e4cc9f513 Touchup 2019-01-20 14:39:05 +01:00
Bond_009
8fc8fc0622 Cleanup ImageProcessor 2019-01-20 14:18:37 +01:00
Andrew Rabert
449dd1a6a2 Remove allowSlowMethods from image processing 2019-01-19 22:33:55 -05:00
Andrew Rabert
9a7a5ef50e Replace custom image parser with Skia 2019-01-19 22:30:16 -05:00
Erwin de Haan
321c440739 Reformat JustAMan review pt1 changes
Refs #575
2019-01-17 20:24:01 +01:00
Erwin de Haan
e867446437 ReSharper format: conform inline 'out' parameters. 2019-01-13 21:46:33 +01:00
Erwin de Haan
65bd052f3e ReSharper conform to 'var' settings 2019-01-13 21:37:13 +01:00
Erwin de Haan
a36658f6f0 ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +01:00
Erwin de Haan
e566d9a231 Find+Sed BOM removal *.cs: BDInfo-Emby.XmlTv 2019-01-13 20:54:44 +01:00
Erwin de Haan
009c95d972 Visual Studio Reformat: Emby.Drawing 2019-01-13 20:17:02 +01:00
Erwin de Haan
e2751d42e8 Merge branch 'dev' into code-cleanup 2019-01-11 12:50:36 +01:00
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.
2019-01-10 20:38:53 +01:00
hawken
bd169e4fd4 remove trailing whitespace 2019-01-07 23:27:46 +00:00
Bond_009
79d18cf5a5 Clean up some catch statements 2018-12-30 22:44:39 +01:00
Bond_009
ea4c914123 Fix exception logging 2018-12-30 22:44:39 +01:00
Bond_009
0f8b3c6347 Use Microsoft.Extensions.Logging abstraction 2018-12-30 22:44:38 +01:00
Bond_009
6e5d2aadaa Remove custom ToArray extension 2018-12-28 16:48:26 +01:00
stefan
48facb797e Update to 3.5.2 and .net core 2.1 2018-09-12 19:26:21 +02:00
Luke Pulverenti
dec3b1bbb0 improve image processing performance 2017-12-01 12:04:32 -05:00
Luke Pulverenti
a59ff27605 fix image analysis 2017-10-22 20:43:52 -04:00
Luke Pulverenti
ac09136a3d restore GetImageSize method 2017-10-22 17:38:03 -04:00
Luke Pulverenti
7e5036a587 update image aspect ratio detection 2017-10-22 02:22:43 -04:00
Luke Pulverenti
31b01cbb56 add fixes for dng images 2017-09-22 16:33:01 -04:00
Luke Pulverenti
467f440501 3.2.30.26 2017-09-19 16:08:34 -04:00
Luke Pulverenti
983c249d39 3.2.30.25 2017-09-18 13:07:50 -04:00
Luke Pulverenti
b8834be83c update naming project to target .net standard 2017-09-10 16:40:31 -04:00
Luke Pulverenti
eb63e0d264 update image processor 2017-09-07 14:17:18 -04:00
Luke Pulverenti
49b799adbe 3.2.30.8 2017-09-05 15:49:02 -04:00
Luke Pulverenti
dd9404ebc6 update skiasharp to 1.58.1 2017-08-30 23:49:38 -04:00
Luke Pulverenti
edfae37331 fixes #2335 - Raw image not showing in webbrowser 2017-08-26 02:18:52 -04:00
Luke Pulverenti
e441e2f53d update active recordings 2017-08-24 15:52:19 -04:00
Luke Pulverenti
40442f887b consolidate emby.server.core into emby.server.implementations 2017-08-09 15:56:38 -04:00
Luke Pulverenti
52aeb3c40b consolidate interfaces 2017-08-07 17:06:13 -04:00
Luke Pulverenti
a46840534f 3.2.26.3 2017-07-25 14:32:03 -04:00
Luke Pulverenti
bcaf9bd19c add skia error handling 2017-06-24 14:29:23 -04:00
Luke Pulverenti
d76bcd8473 fix photo orientation 2017-06-09 15:24:31 -04:00
Luke Pulverenti
33014f77aa update GetItems method 2017-05-26 02:48:54 -04:00
Luke Pulverenti
da77b05817 update data queries 2017-05-21 03:25:49 -04:00
Luke Pulverenti
799494af0b update image methods 2017-05-19 13:09:37 -04:00
Luke Pulverenti
9cd2d793be update image encoding 2017-05-17 14:18:18 -04:00
Luke Pulverenti
2f4f8c105e update image processing 2017-05-14 22:27:58 -04:00
Luke Pulverenti
4acaeecca4 update GetImageSize 2017-05-14 14:55:40 -04:00
Luke Pulverenti
2e3d1780e4 update dlna profiles 2017-05-12 14:09:42 -04:00
Luke Pulverenti
6fd86f61cb update image processor 2017-05-12 01:00:45 -04:00
Luke Pulverenti
0f198dc818 fix image resizing 2017-05-10 22:57:25 -04:00
Luke Pulverenti
f49d20033d move crop whitespace directly to encode image 2017-05-10 00:49:11 -04:00
Luke Pulverenti
696a6b34ea improve smb support 2017-05-04 14:14:45 -04:00
Luke Pulverenti
4154fdf9c6 update omdb info parsing 2017-04-12 13:09:12 -04:00
Luke Pulverenti
a9b61af154 3.2.7.4 2017-03-13 15:01:20 -04:00
Luke Pulverenti
68772e7d9b update details 2016-12-03 02:58:48 -05:00
Luke Pulverenti
aef79a796d update xml parsing 2016-12-02 15:10:35 -05:00
Luke Pulverenti
5655787c1a update portable projects 2016-11-11 12:33:10 -05:00
Luke Pulverenti
8b7a8ab396 make photos project portable 2016-10-31 03:47:34 -04:00
Luke Pulverenti
3bf72b71b3 consolidate internal interfaces 2016-10-31 00:28:23 -04:00
Luke Pulverenti
ef6b90b8e6 make controller project portable 2016-10-25 15:02:04 -04:00
Luke Pulverenti
50e6686987 update live stream management 2016-10-07 11:08:13 -04:00
Luke Pulverenti
bd4c99b01a update cache file cleanup 2016-07-23 01:03:16 -04:00
Luke Pulverenti
b6979fa28a pass along date modified 2016-07-17 12:59:40 -04:00
Sven Van den brande
168587b2a0 Remove unused code... 2016-03-27 23:11:27 +02:00
Luke Pulverenti
94fa4dce4d fix GetCacheFilePath 2016-02-23 22:58:25 -05:00
Luke Pulverenti
c7fe8587cb stub out ForegroundLayer param 2016-02-23 14:48:58 -05:00
Luke Pulverenti
f380ddc558 use image magick for auto-orientation 2016-01-21 11:53:03 -05:00
Luke Pulverenti
faa9127a20 support photo orientation 2016-01-21 03:23:02 -05:00
Luke Pulverenti
cc19ce0daf added new parent methods 2015-11-11 09:56:31 -05:00
Luke Pulverenti
81bb469fe1 reduce image processing 2015-11-09 13:18:37 -05:00
Luke
ed0e1399fc Merge pull request #1229 from MediaBrowser/master
handle GetImageSize failure
2015-10-27 22:32:42 -04:00
Luke Pulverenti
06efa32e8f handle GetImageSize failure 2015-10-27 22:30:19 -04:00
Luke Pulverenti
60ac2e8712 rework shutdown 2015-10-27 10:02:30 -04:00
Luke Pulverenti
3bca39bb68 update image size 2015-10-26 12:40:35 -04:00
Luke Pulverenti
c80e1df1ca support null image encoder 2015-10-26 01:29:32 -04:00
Luke Pulverenti
32babe2b94 update images 2015-10-25 13:13:30 -04:00
Luke Pulverenti
d1195257aa fix for cover art 2015-10-16 15:25:19 -04:00
Luke Pulverenti
bb5c5297c5 fixes #1212 - Visual bug for some movies 2015-10-16 15:20:59 -04:00
Luke Pulverenti
d577e1c7b0 support image stubbing 2015-10-16 13:06:31 -04:00
Luke Pulverenti
6271ca99c8 update polymer 2015-10-05 22:50:20 -04:00
Luke Pulverenti
4ad96e4ff5 update logging levels 2015-10-04 18:04:56 -04:00
Luke Pulverenti
078277ebc2 continue file system rework 2015-10-04 00:23:11 -04:00
Luke Pulverenti
959ac9d727 restore changes 2015-09-20 13:56:26 -04:00
Luke Pulverenti
4492dcc592 update merge 2015-09-20 13:34:05 -04:00
Luke Pulverenti
e8010955dc fix merge conflicts 2015-09-20 13:22:34 -04:00
Luke Pulverenti
6d3fda8693 more client sync stubs 2015-09-15 00:31:12 -04:00
Luke Pulverenti
11d7585aa3 use taglibsharp to read image sizes 2015-09-14 13:39:35 -04:00
Luke
14de062681 update file system methods 2015-09-13 17:32:02 -04:00
Luke Pulverenti
0f743205c4 update external subs 2015-09-12 12:39:24 -04:00
Luke Pulverenti
ec5619e0f9 restore polymer changes 2015-08-14 13:24:07 -04:00
Luke Pulverenti
ec64da2a3b rename live tv page 2015-08-02 19:56:21 -04:00
Luke Pulverenti
47b1a4cafd update image processing 2015-08-02 15:08:55 -04:00
Luke Pulverenti
edecae6ed5 improve guide loading performance 2015-08-02 13:02:23 -04:00
Luke Pulverenti
5492e34c6d update indexedDb 2015-05-11 12:32:15 -04:00
Luke Pulverenti
a75ce4197d 3.0.5597.1 2015-04-29 13:39:23 -04:00
Luke Pulverenti
d274d1d807 update library menu 2015-04-27 13:55:57 -04:00
Luke Pulverenti
6f01652520 control the number of simultaneous image operations 2015-04-23 12:50:54 -04:00
Luke Pulverenti
9e0c73ef19 live tv fixes 2015-04-19 15:17:17 -04:00