Commit graph

57 commits

Author SHA1 Message Date
Jeremy Wu
83ec8099a7 remove PluginDirectory, ImageLoader path checking, update IcoPath logic 2022-11-24 17:31:00 +11:00
Garulf
3665bd9efc Wrap non async part in task 2022-11-23 02:03:15 -05:00
Hongtao Zhang
101593a419
edit signature for CacheContainImage 2022-10-30 22:07:04 -05:00
Hongtao Zhang
28256a75bf
Merge remote-tracking branch 'origin/handle-icon-urls' into handle-icon-urls 2022-10-30 17:02:33 -05:00
Hongtao Zhang
e86a2f15dc
slightly refactor 2022-10-30 17:02:00 -05:00
Kevin Zhang
ff2ebc87a8
Merge branch 'dev' into handle-icon-urls 2022-10-30 14:50:31 -05:00
Hongtao Zhang
ffa40b01a4
Respect loadFullImage Option in ImageCache.cs 2022-10-30 14:48:17 -05:00
Hongtao Zhang
cf9dd4addb
Respect loadFullImage Option in ImageCache.cs 2022-10-30 14:39:57 -05:00
Hongtao Zhang
0fd127ab98
Refactor code 2022-10-30 14:24:38 -05:00
Hongtao Zhang
e9bf62ed08
Revert "Merge branch 'handle-icon-urls' of https://github.com/Flow-Launcher/Flow.Launcher into handle-icon-urls"
This reverts commit cae0b7be77, reversing
changes made to ba0aee14ba.
2022-10-30 14:23:04 -05:00
DB p
f7eb99d776 Add Ignore ColorProfile Code 2022-10-19 14:39:27 +09:00
Garulf
301882dcf9 Switch from WebClient to HTTP 2022-09-21 12:02:39 -04:00
Garulf
d62d710878 Use URI class to detect web URL 2022-09-21 12:01:58 -04:00
Garulf
03e319e200 Remove whitespace 2022-08-30 01:50:59 -04:00
Garulf
ffbd8fd650 Add logic for IcoPath's that are web URL's 2022-08-30 01:48:05 -04:00
Oren Nachman
3648126854 Revert JSON Null change + fix more warnings
See comment inline re:JSON null
2022-08-08 17:35:38 -07:00
Oren Nachman
a3197f8ee1 Fix (some) build warnings
CS1572
CS1573
CS0168
CS8073
CA2200
VSTHRD110
VSTHRD200
VSTHRD105
SYSLIB0013
CS8524
2022-08-07 21:31:38 -07:00
oSumAtrIX
4e3d713efe
Remove calling .ToArray() on a ConcurrentDictionary 2022-02-28 02:24:11 +01:00
张弘韬
3623e119d2 add configureAwait(false) in SliceExtra ImageCache 2021-08-08 13:46:31 +08:00
张弘韬
653dc83bd0 fix error thrown in checking cache key when key is null 2021-08-08 13:45:18 +08:00
Kevin Zhang
a0835288e2 Use SemaphoreSlim to ensure cache only remove once 2021-07-31 16:23:58 +08:00
弘韬 张
37f1a64495 avoid duplicate removing 2021-05-23 22:54:52 +08:00
Jeremy Wu
89443bace7 fix formatting 2021-01-20 06:34:26 +11:00
弘韬 张
6b9622844c Merge ImageCache change 2020-11-28 13:29:55 +08:00
Jeremy Wu
f20c721ad1 allow MissingImgIcon and DefaultIcon to be removed from image cache 2020-11-27 13:12:09 +11:00
弘韬 张
05aa7062d7 Change ErrorIcon to MissingImgIcon in ImageCache check since we don't use ErrorIcon anymore 2020-11-27 08:46:59 +08:00
Jeremy Wu
b8b0e8c23a Merge branch 'dev' into RenderImprovement 2020-11-27 07:32:00 +11:00
Jeremy Wu
ac945f4814 revert unneeded condition on Constant.MissingImgIcon 2020-11-27 07:04:39 +11:00
Jeremy Wu
efcb6a7833 add status check when base.Value has faulted 2020-11-26 20:47:04 +11:00
弘韬 张
b3df2fd590 change default image property name 2020-11-25 23:22:27 +08:00
弘韬 张
a7310d5d22 Use Customized LazyAsync class to load image instead of the weird way of updating lazy class async 2020-11-25 23:21:53 +08:00
弘韬 张
1439ee7e9e Use a default image to list when the image hasn't been loaded in cache.
Co-authored-by: Bao-Qian <bao.github@outlook.com>
2020-11-25 23:21:20 +08:00
弘韬 张
71cac9cb23 change the way of checking whether cache exist 2020-11-16 13:04:16 +08:00
弘韬 张
d9ef68272b change default image property name 2020-11-16 12:58:53 +08:00
弘韬 张
0a9bad3ffa Use Customized LazyAsync class to load image instead of the weird way of updating lazy class async 2020-11-16 12:46:39 +08:00
弘韬 张
b1dd7b4181 Move Image Cache filtering earlier 2020-11-15 21:03:39 +08:00
弘韬 张
dc982e277f Use a default image to list when the image hasn't been loaded in cache.
Co-authored-by: Bao-Qian <bao.github@outlook.com>
2020-11-15 21:00:00 +08:00
Jeremy Wu
26285abfd7 fix formatting 2020-11-12 13:34:23 +11:00
弘韬 张
55fb5536bd change struct to class to use reference type 2020-11-11 18:39:02 +08:00
弘韬 张
bf271b9da7 refactor Image Cache to single dictionary 2020-11-11 18:38:49 +08:00
Jeremy Wu
d3d69be9c2 fix merge error 2020-11-11 08:30:34 +11:00
Jeremy Wu
d0cb8021c6 Merge branch 'dev' into address_high_memory_issue 2020-11-11 08:29:53 +11:00
Jeremy Wu
d3fbabe10e add dedicated missing img icon 2020-09-07 06:55:12 +10:00
Arjun Balgovind
4e534b56ac Skip ErrorIcon and DefaultIcon while resizing the dictionary. From arjunbalgovind:user/arbalgov/apperrorFix 2020-08-10 21:47:46 +10:00
Jeremy Wu
ca08e60308 revert-image cache as dictionary, concurrent not serializable 2020-08-10 07:18:03 +10:00
Jeremy Wu
ffa68a5a7b use updated method from ImageCache class to save images to cache 2020-08-05 19:58:48 +10:00
Jeremy Wu
86f6f9921e update to use concurrent dictionary 2020-08-05 19:57:53 +10:00
Jeremy Wu
086c5d05e7 update to Flow 2020-08-05 19:57:23 +10:00
Alekhya Reddy
e37217c878 From alekhyareddy28:memoryIssue on Jun 27, 2020 2020-08-05 19:30:45 +10:00
Jeremy Wu
6f2ff84543 remove Constant.EverythingSDKPath and usage 2020-07-21 14:24:30 +10:00