Commit graph

31 commits

Author SHA1 Message Date
Jack251970
f854cd3f76 Code quality 2025-04-09 15:22:41 +08:00
DB p
9ff81adcc3 Fix MaxCahced count 2024-05-30 14:48:56 +09:00
Hongtao Zhang
3574dba046 Change Cache to LFU 2024-05-29 17:57:26 -05:00
Hongtao Zhang
fd0591281b Use FastCache.Cached as new image cache instead of implement it ourselves 2024-01-22 12:06:14 -06:00
Vic
07c1a0b5a3 Init ImageCache from disk 2023-04-24 23:11:21 +08:00
Garulf
25ec84325a
Merge branch 'dev' into FixImageCache 2022-12-29 11:32:53 -05:00
Vic
e83e21dddb Add TryGetValue for ImageLoader 2022-12-29 11:44:49 +08:00
Vic
a40e15f727 Remove duplicate null check
null check is done in ContainsKey()
2022-12-29 11:18:51 +08:00
Hongtao Zhang
cf9dd4addb
Respect loadFullImage Option in ImageCache.cs 2022-10-30 14:39:57 -05: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
弘韬 张
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
弘韬 张
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
弘韬 张
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
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
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
3c7f067770 rename all project file name 2020-04-21 21:27:02 +10:00
Renamed from Wox.Infrastructure/Image/ImageCache.cs (Browse further)