Commit graph

84 commits

Author SHA1 Message Date
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
Hongtao Zhang
83553244d7 use memorypack instead of binaryformatter 2023-11-11 18:10:06 -06:00
VictoriousRaptor
306ad7931b
Merge branch 'dev' into RemoveUnusedNuget 2023-05-04 21:14:13 +08:00
Vic
00e6e5b30d Remove unused using 2023-04-25 21:02:34 +08:00
Vic
07c1a0b5a3 Init ImageCache from disk 2023-04-24 23:11:21 +08:00
VictoriousRaptor
dbfa72a95e
Fix image cache and hash correspondence 2023-04-07 11:00:44 +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
Vic
b5c48058cb Fix ImageCache when loading full image
No need to append ImageType to path. loadfullimage==true already indicates that it's a full image.
2022-12-28 15:10:12 +08:00
DB p
075a1a3cce Adjust Preview area Size / Add Source Resize Logic 2022-12-06 23:04:18 +09:00
DB p
3aa3cf3cff Fix List Icon Blurry 2022-11-27 02:17:13 +09:00
DB p
6be5680a23 Merge Image Loading 2022-11-27 01:28:57 +09:00
Hongtao Zhang
ca6c6cb62a
Use loading.png for loading time image placeholder 2022-11-26 10:16:04 -06:00
Hongtao Zhang
250627a27a
Load large Thumbnail when load full image 2022-11-25 13:51:07 -06:00
DB p
14bb856639 Merge Dev 2022-11-25 21:30:17 +09:00
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
DB p
80db9b8592 Merge Dev 2022-11-14 02:02:49 +09: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
c2d2fc0092 Fix caching 2022-09-02 08:36:07 -04:00
Garulf
5aaaf37f0c Fix not loading full image 2022-09-02 08:10:52 -04:00
Garulf
29e5b4fcf7 Add logic for detecting if full image exists in cache 2022-09-02 07:40:00 -04:00
Garulf
a9d11816f5 Try to load full image from cache first 2022-09-02 07:39:32 -04:00
Garulf
a76304ac51 Load full image from cache 2022-09-02 07:38:49 -04:00
Garulf
a53b961406 Append full image type to path if we're caching a full imagefile 2022-09-02 07:38:25 -04:00
Garulf
832c41f3dd Override type if we load the full image 2022-09-02 07:37:25 -04:00
Garulf
f5a511a4f1 Add FullImageFIle type 2022-09-02 07:36:57 -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