Commit graph

95 commits

Author SHA1 Message Date
Jack251970
71f1acd9ec Revert com expcetion & Add thumbnail only check 2025-02-17 19:07:01 +08:00
Jack251970
38b285067d Improve documents 2025-02-16 22:50:43 +08:00
Jack251970
cc570274ff Fix get thumbnail exception 2025-02-16 22:47:10 +08:00
Jack251970
8a05c606e4 Fix possible double release 2024-12-11 11:08:57 +08:00
Jack251970
22170ee43a Replace DllImport & flags with CSWin32 2024-12-10 20:44:28 +08:00
Kevin Zhang
5f46ee746f
Merge pull request #3099 from Jack251970/dev3
Fix possible null reference when query is cancelled & Add new image icon for images whose formats are not support & Other improvements
2024-12-07 10:49:54 -08:00
Jack251970
3f413d17ec Update image for format not supported images 2024-12-03 14:07:56 +08:00
NoPlagiarism
0b0ead10dc [Result] return data uri image support 2024-12-02 12:20:21 +05:00
Jack251970
4830988c55 Add image for format not supported images 2024-12-02 13:54:07 +08:00
Jack251970
756e718775 Regard format not support files as error type 2024-11-27 19:46:30 +08:00
Jack251970
a8d69c7dd9 Add support when image format is not support 2024-11-27 19:34:34 +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
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