Commit graph

2810 commits

Author SHA1 Message Date
弘韬 张
c3d5d4c0ce Don't update collection when both newItems and collection is empty 2020-12-04 22:24:25 +08:00
弘韬 张
6267fa9a50 fix typo. 2020-12-04 22:18:51 +08:00
弘韬 张
aa20d505fe Revert creating a new task when adding result. 2020-12-04 21:54:39 +08:00
弘韬 张
01158fdc66 Add error handling for the resultUpdateTask to make sure result update can continue when error throw. 2020-12-04 21:53:34 +08:00
弘韬 张
eb13a18d52 Use task.run in addresult instead of CollectionChange event. 2020-12-03 15:38:00 +08:00
弘韬 张
25bc2a70e3 Add timeout for waiting collectionchange event, although seems the deadlock isn't caused by this. 2020-12-03 10:33:19 +08:00
弘韬 张
e7dd8676ec Change some code and check out what cause those error 2020-12-02 23:38:37 +08:00
弘韬 张
98e6a1ab8a Revert using List instead of observablecollection 2020-12-02 20:57:23 +08:00
弘韬 张
19c7446552 Add Lock to the place we directly update the ResultCollection 2020-12-02 13:56:50 +08:00
弘韬 张
a640eadf1b Use List instead of ObservableCollection as base class for resultcollection for better customized control of event 2020-11-29 14:56:08 +08:00
弘韬 张
6b9622844c Merge ImageCache change 2020-11-28 13:29:55 +08:00
弘韬 张
813e9b5439 fix selected item doesn't always be the first item issue.
Method: Not only update selected index, but also update selected item when adding results.
2020-11-28 13:25:49 +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
1c6769cbcc fix merge 2020-11-27 07:43:03 +11:00
Jeremy Wu
b8b0e8c23a Merge branch 'dev' into RenderImprovement 2020-11-27 07:32:00 +11:00
Jeremy Wu
2608d961d0
Merge pull request #221 from taooceros/fixImageFlickering
Fix image flickering
2020-11-27 07:09:03 +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
弘韬 张
dd8a31ccd8 Add new to Value Property of the LazyAsync clas 2020-11-25 23:26:35 +08: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
弘韬 张
99086e2644 change SetImage to method instead of property to avoid unintended use 2020-11-25 23:21:40 +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
Qian Bao
2c14c2120f Lazy Load Image 2020-11-25 23:20:03 +08:00
弘韬 张
69e11e2861 Use CancellationToken.IsCancellationRequested wherever is possible to use, check equality of query whererever token is unaccessiable.
Dispose CancellationTokenSourse manually
2020-11-24 19:24:49 +08:00
弘韬 张
c110749434 Add more cancellation 2020-11-24 17:41:57 +08:00
弘韬 张
81a02c6e64 Don't add result to queue unless the query match (plugin event driven update)
Remove the Task.Run because updating result metadata and adding result to queue should not be time wasted.
2020-11-24 17:39:29 +08:00
taooceros
c8285aa381
Merge pull request #219 from Flow-Launcher/version_bump_plugins
version bump for Calculator & Program plugins
2020-11-23 10:52:27 +08:00
Jeremy Wu
341275fbbd version bump for Calculator & Program plugins 2020-11-23 13:30:45 +11:00
Ioannis G
638892eb3e
merge PR #216: Update Slovak translation 2020-11-22 13:17:07 +02:00
弘韬 张
8f6f2fbf6f Merge remote-tracking branch 'upstream/dev' into RenderImprovement 2020-11-22 19:09:46 +08:00
弘韬 张
9bc58fe9da Only stop querying for global query 2020-11-22 18:31:04 +08:00
kubalav
81ec3ef3d5 - Flow Launcher Slovak translation polish
- Calculator plugin string shortened
- Program plugin add missing strings
2020-11-22 10:41:13 +01:00
Ioannis G
69a5f29151
merge PR #208: version bump for release 1.5.0 2020-11-21 11:03:20 +02:00
弘韬 张
34dc0d0220 move progressbar task position and change the way of comparison 2020-11-21 16:44:39 +08:00
弘韬 张
f11b302c37 slighly reduce the delay time 2020-11-21 12:01:57 +08:00
Jeremy Wu
11952a4c7d version bump Flow.Launcher.Plugin 2020-11-21 11:49:39 +11:00
弘韬 张
4fb884cf57 Wait 50 ms for query staying same when updating view. 2020-11-20 23:21:04 +08:00
弘韬 张
ea5e9a0fae Use New keyword for customized lazyAsync Value property 2020-11-20 23:05:12 +08:00
弘韬 张
6863b412e3 Use TPL's BufferBlock instead of BlockingCollection, which will block the current Thread.
This should make the Task.Run works better.
2020-11-20 22:45:33 +08:00
弘韬 张
6e87b9237b Merge remote-tracking branch 'upstream/dev' into RenderImprovement 2020-11-20 22:35:35 +08:00
taooceros
df3a9a4c97
Use default system browser (#214) 2020-11-20 16:26:29 +02:00
Jeremy Wu
8e58048a67 Merge branch 'dev' into bump_version_app_plugins 2020-11-20 06:14:05 +11:00
Jeremy Wu
ad234b6084
Merge pull request #210 from taooceros/programPlugnUnauthorizeFix
Fix unauthorize exception lead to the whole directory unable to index.
2020-11-19 21:12:46 +11:00
弘韬 张
898bb06799 bump version 2020-11-17 20:48:07 +08:00
弘韬 张
5cf0f65b02 try to fix the index out of bound for programlogger 2020-11-17 20:47:56 +08:00
弘韬 张
27313cdddc Fix unauthorize exception lead to the whole directory unable to index. 2020-11-17 20:41:11 +08:00
弘韬 张
2b423d9d80 Use single add notify for each element when the new Item is small or the collection hasn't been buffer a lot.
This seems solve the startup stunt and potentially make render faster. (Need Testing)
2020-11-17 16:46:36 +08:00
弘韬 张
23d9e253ba Add some cancellationtoken check 2020-11-16 19:20:52 +08:00